Skip to content

Added actions for every @command. - #2782

Open
robgruen wants to merge 16 commits into
mainfrom
dev/robgruen/nl_commands
Open

Added actions for every @command.#2782
robgruen wants to merge 16 commits into
mainfrom
dev/robgruen/nl_commands

Conversation

@robgruen

@robgruen robgruen commented Aug 1, 2026

Copy link
Copy Markdown
Collaborator

This pull request implements full natural-language action coverage for every bundled TypeAgent @ command, with a particular focus on the browser agent's automation commands. It introduces new action schemas and handlers for browser automation, integrates them into the browser agent, and documents the plan and status of this coverage milestone. The most important changes are grouped below:

Browser Agent: Automation Actions Integration

  • Added new action schema (BrowserAutomationActions) and handler (executeBrowserAutomationAction) for browser automation commands, supporting launching hidden/standalone automation browsers and closing them. These actions are now fully integrated and invoked via natural-language requests, ensuring parity with their command equivalents. [1] [2] [3] [4] [5] [6]
  • Linked the OpenStandaloneAutomationBrowserHandler command to the new automation action, ensuring that both command and action paths share the same implementation and side effects.

Documentation: Coverage Plan and Status

  • Added a comprehensive plan (PLAN.md) detailing the requirements, implementation rules, and phases for achieving natural-language action coverage for all TypeAgent commands.
  • Added a status tracker (STATUS.md) that reports strict endpoint coverage, current progress, and documents the completion of all agent-host and system command families.

SDK/Helpers: Type and Export Improvements

  • Exported the CommandHandlerTypes type and the getCommandHandler function from the command helpers, improving type safety and reusability across the codebase. [1] [2]

Browser Agent: User Experience Enhancement

  • Enhanced the WebFlow action result: after successfully starting a goal-driven task, the user is prompted with a clear call-to-action to save the trace as a reusable macro, improving discoverability of automation features.

These changes collectively ensure that every executable TypeAgent command is now accessible via a behaviorally equivalent natural-language action, with strict parity and comprehensive test coverage.

Comment thread ts/tools/actionBrowser/test/render.spec.ts Fixed
…egexp'

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Comment thread ts/tools/actionBrowser/test/render.spec.ts Fixed
…egexp'

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
@robgruen
robgruen marked this pull request as ready for review August 1, 2026 01:15
Comment thread ts/tools/actionBrowser/test/render.spec.ts Fixed
robgruen and others added 2 commits July 31, 2026 21:41
…egexp'

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
@robgruen

robgruen commented Aug 2, 2026

Copy link
Copy Markdown
Collaborator Author

@copilot resolve the merge conflicts in this pull request

# Conflicts:
#	ts/docs/plans/agent-command-actions/PLAN.md
#	ts/docs/plans/agent-command-actions/STATUS.md
#	ts/packages/dispatcher/dispatcher/src/context/system/action/describeActionHandler.ts
#	ts/packages/dispatcher/dispatcher/src/context/system/handlers/conversationCommandHandlers.ts
#	ts/packages/dispatcher/dispatcher/src/context/system/schema/conversationActionSchema.agr
#	ts/packages/dispatcher/dispatcher/src/context/system/schema/describeActionSchema.ts
#	ts/packages/dispatcher/dispatcher/src/context/system/systemAgent.ts
#	ts/pnpm-lock.yaml

Copilot AI commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

@copilot resolve the merge conflicts in this pull request

Merge conflicts resolved in d4a75c6. Here's a summary of the resolutions:

  • PLAN.md / STATUS.md (add/add): Kept HEAD versions (comprehensive, all phases completed)
  • conversationActionSchema.agr: Adopted origin/main's new SearchConversation, IndexConversation, SummarizeConversation, and HelpConversation grammar patterns; replaced showConversationHelp with help action name
  • conversationCommandHandlers.ts: Used "help" as the action name (origin/main version)
  • systemAgent.ts: Combined both sides — kept HEAD's new schemas (system.index, system.diagnostics, system.session, system.memory, system.copilot, system.feedback, system.operations, system.construction, system.collision) and added system.help from origin/main; removed system.describe (deleted in origin/main, superseded by system.help)
  • describeActionHandler.ts / describeActionSchema.ts: Accepted deletion from origin/main (replaced by helpActionHandler.ts / helpActionSchema.ts)
  • Updated systemSchemaParse.spec.ts to include all 9 new schema files added by this branch
  • Regenerated pnpm-lock.yaml

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