Skip to content

Backport fixes to previous version#2289

Merged
robgruen merged 4 commits intomainfrom
dev/robgruen/backport
May 3, 2026
Merged

Backport fixes to previous version#2289
robgruen merged 4 commits intomainfrom
dev/robgruen/backport

Conversation

@robgruen
Copy link
Copy Markdown
Collaborator

@robgruen robgruen commented May 3, 2026

Agent Server: User Identity Resolution

  • Added a new UserIdentity type and DefaultUserIdentity constant to the protocol for communicating the OS/Azure AD user identity to clients, and exposed a getUserIdentity RPC method. The server now resolves the user identity with the following precedence: environment variable override, Azure AD claims, then OS username. This enables better user display in clients that can't do Office SSO. (ts/packages/agentServer/protocol/src/protocol.ts, ts/packages/agentServer/protocol/src/index.ts, ts/packages/agentServer/server/src/server.ts, ts/packages/agentServer/server/package.json) [1] [2] [3] [4] [5] [6] [7]

Dispatcher: Session and Reasoning Improvements

  • Changed the default session config for pathNavigation from "throw" to "fallback-to-name", allowing unresolvable entity paths to fall back to the entity name with a debug log, instead of failing the conversation. (ts/packages/dispatcher/dispatcher/src/context/session.ts, ts/packages/dispatcher/dispatcher/src/execute/pendingActions.ts) [1] [2]
  • Added clearing of Copilot reasoning session state on history clear to prevent topic pollution, and made Copilot model and reasoning effort configurable via environment variables. (ts/packages/dispatcher/dispatcher/src/context/system/handlers/historyCommandHandler.ts, ts/packages/dispatcher/dispatcher/src/reasoning/copilot.ts) [1] [2] [3] [4] [5] [6]

Onboarding Agent Testing: Custom Directory Support

  • Updated onboarding agent test runner and handler to detect and use a custom agent output directory if set by the scaffolder, supporting external repositories and custom layouts. (ts/packages/agents/onboarding/src/testing/runTests.ts, ts/packages/agents/onboarding/src/testing/testingHandler.ts) [1] [2] [3]

Action Schema Translation: Parameter Leakage Handling

  • Added logic to strip known cross-schema parameters (like userRequest) from action translation output to prevent validation errors when LLMs leak parameters between schemas. (ts/packages/dispatcher/dispatcher/src/translation/actionSchemaJsonTranslator.ts) [1] [2] [3]

These changes collectively improve user experience, session reliability, and test infrastructure robustness.

Copilot AI had a problem deploying to development-fork May 3, 2026 05:28 Failure
Copilot AI temporarily deployed to development-fork May 3, 2026 05:28 Inactive
Copy link
Copy Markdown
Contributor

Copilot AI commented May 3, 2026

Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • www.electronjs.org
    • Triggering command: /usr/local/bin/node /usr/local/bin/node /home/REDACTED/work/TypeAgent/TypeAgent/ts/node_modules/.pnpm/@electron+rebuild@4.0.3/node_modules/@electron/rebuild/lib/module-type/node-gyp/worker.js eAgent Agent ctron-builder/cli.js (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

@robgruen robgruen deployed to development-fork May 3, 2026 14:12 — with GitHub Actions Active
@robgruen robgruen had a problem deploying to development-fork May 3, 2026 14:12 — with GitHub Actions Failure
@robgruen robgruen marked this pull request as ready for review May 3, 2026 14:54
@robgruen robgruen added this pull request to the merge queue May 3, 2026
Merged via the queue into main with commit 8fc4046 May 3, 2026
20 of 21 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.

2 participants