Skip to content

Enhance UI, add features, and improve readiness and telemetry (more dogfooding)#2691

Merged
robgruen merged 21 commits into
mainfrom
dev/robgruen/dogfooding5
Jul 18, 2026
Merged

Enhance UI, add features, and improve readiness and telemetry (more dogfooding)#2691
robgruen merged 21 commits into
mainfrom
dev/robgruen/dogfooding5

Conversation

@robgruen

Copy link
Copy Markdown
Collaborator

This pull request introduces several improvements to the TypeAgent VS Code integration, focusing on enhancing editor context awareness, expanding the code agent's API, and improving test coverage and documentation. The main themes are: enabling the agent to introspect the user's editor state, updating the documentation and workflow to reflect these changes, and ensuring the code agent's readiness state is accurately tracked.

Enhancements to Editor Context and Agent Capabilities:

  • Added new "read" actions to the codeActionsSchema.ts API, allowing the agent to query the active editor, selection, diagnostics, open editors, file content, and workspace changes. These actions are non-destructive and intended for use by the reasoning agent to inspect the user's current coding context. [1] [2]
  • Implemented a getUserContext method in the shared dispatcher (sharedDispatcher.ts) that prioritizes returning editor context from the client that initiated a request, with fallback to any available editor client. This provides reasoning tools with accurate per-user editor state.

Workflow and Documentation Updates:

  • Updated the documentation build workflow (docs-pr-amend.yml) to automatically regenerate and commit the command reference and action browser (HTML/JSON catalog) for every PR, ensuring up-to-date reviewable documentation. The commit message and file patterns were expanded accordingly.
  • Adjusted .prettierignore and .gitignore to ensure that the generated action browser files are committed and reviewable in PRs, but not subject to code formatting churn. [1] [2]
  • Added a comprehensive Copilot parity and gap assessment planning document, capturing the current state and gaps between TypeAgent's VS Code shell and GitHub Copilot.

Readiness and Testing Improvements:

  • Ensured that the code agent's readiness state is refreshed and accurately tracked when the VS Code extension connects or disconnects, preventing stale "setup required" states and improving reliability of the first code action after enabling the extension.
  • Enhanced test coverage for the new readiness notification logic and added a utility for polling asynchronous events in tests. [1] [2] [3] [4]

These changes collectively improve the agent's ability to reason about and interact with the user's editor environment, streamline documentation review, and lay groundwork for closing key feature gaps with Copilot.

@robgruen
robgruen marked this pull request as ready for review July 17, 2026 18:25
@robgruen
robgruen enabled auto-merge July 17, 2026 18:25
@robgruen

Copy link
Copy Markdown
Collaborator Author

@copilot resolve the merge conflicts in this pull request

# Conflicts:
#	ts/packages/dispatcher/dispatcher/README.AUTOGEN.md
#	ts/pnpm-lock.yaml

Copilot AI commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

@copilot resolve the merge conflicts in this pull request

Resolved and merged origin/main into this branch in commit ddde170f.

@robgruen
robgruen added this pull request to the merge queue Jul 18, 2026
Merged via the queue into main with commit 802878b Jul 18, 2026
31 of 32 checks passed
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.

3 participants