Skip to content

Extract console logging into Devlooped.Extensions.AI.Console (JSON only)#224

Open
Copilot wants to merge 4 commits intomainfrom
copilot/move-console-logging-package
Open

Extract console logging into Devlooped.Extensions.AI.Console (JSON only)#224
Copilot wants to merge 4 commits intomainfrom
copilot/move-console-logging-package

Conversation

Copy link
Contributor

Copilot AI commented Mar 4, 2026

Console logging was bundled in the core package, pulling Spectre.Console into all consumers. The change separates console concerns into a dedicated package while keeping tests in the main test project.

  • New console package: Added Devlooped.Extensions.AI.Console project, moved JSON console logging extensions/options there, and removed Spectre.Console dependencies from the core library.
  • Scope adjustment: Removed previously added YAML console rendering and its dependency to keep the package focused on JSON logging.
  • Solution wiring: Updated solution and tests to reference the new console package (tests remain in the main test project).

Example:

builder
    .UseJsonConsoleLogging();
Original prompt

This section details on the original issue you should resolve

<issue_title>Move console logging to separate package</issue_title>
<issue_description>Moving the JSON console logging to Devlooped.Extensions.AI.Console might make sense to reduce dependencies.

Perhaps we can also bring in the YAML logging we developed elsewhere too.

Back this issue
Back this issue

<agent_instructions>Create a separate packageable project with the console logging stuff, as well as the YAML rendering stuff. Tests (if any) should still live in the same project as today. </agent_instructions>

Comments on the Issue (you are @copilot in this section)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 2 commits March 4, 2026 15:32
Co-authored-by: kzu <169707+kzu@users.noreply.github.com>
Co-authored-by: kzu <169707+kzu@users.noreply.github.com>
Copilot AI changed the title [WIP] Move console logging to separate package Extract console logging into Devlooped.Extensions.AI.Console with JSON/YAML support Mar 4, 2026
Copilot finished work on behalf of kzu March 4, 2026 15:42
@kzu
Copy link
Member

kzu commented Mar 4, 2026

@copilot remove the YAML aspect entirely

@kzu kzu marked this pull request as ready for review March 4, 2026 17:33
Co-authored-by: kzu <169707+kzu@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Mar 4, 2026

@copilot remove the YAML aspect entirely

Removed the YAML console logging additions and their dependencies in ae3701f.

Copilot AI changed the title Extract console logging into Devlooped.Extensions.AI.Console with JSON/YAML support Extract console logging into Devlooped.Extensions.AI.Console (JSON only) Mar 4, 2026
Copilot finished work on behalf of kzu March 4, 2026 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Move console logging to separate package

2 participants