Repository navigation
feat(assistant): bring in local agents, with this instance's address in the steps (abilityai/trinity-enterprise#1353) - #4749
Merged
Merged
Conversation
…in the steps (abilityai/trinity-enterprise#1353) The opening's 'I already run agents in Claude Code' now goes to the assistant (it was a 'coming soon' line written on the page). The assistant answers with a local-move card: the page writes every step and command (utils/localMove.js) with window.location.origin, and puts 'turn on External MCP access' first while the instance says it is off or cannot say. The card has no Confirm; it changes nothing here. The opening leaves out an answer already given (status local_agents: 'no' drops the local path, 'offered' asks 'My agents are here'). Enterprise pointer 26ccbb3 -> 1413256 (abilityai/trinity-enterprise feature/1353-local-agents). Co-Authored-By: Claude Opus 5.5 <[email protected]>
Contributor
Author
Validation: REQUEST CHANGES (one item: the submodule pointer)Independent validation, run on fresh clones of this PR and its two companions. Lane C because of the submodule pointer. This PR must not merge until the change below is made:
Checked, all pass:
Warnings (not blocking):
|
…istant status (abilityai/trinity-enterprise#1371) Co-Authored-By: Claude Opus 5.5 <[email protected]>
…abilityai/trinity-enterprise#1353) The opening group was gated on isFirstSession, which ends the moment the person has an agent of their own — exactly when moved agents arrive. With local_agents 'offered' it now stays while the first session runs (until the first result is seen). The new mount spec went red (normal starters shown, no 'My agents are here') before the change. Co-Authored-By: Claude Opus 5.5 <[email protected]>
vybe
approved these changes
Nov 24, 2026
vybe
left a comment
Contributor
There was a problem hiding this comment.
Independent validation asked only for the submodule pointer to sit on a merged commit; it now does, and the one follow-up fix is a two-line change with its own test. All required checks green.
6 of 7 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Assistant half of abilityai/trinity-enterprise#1353, building on the first session from #4736. Companions: abilityai/trinity-enterprise#1371 (status
local_agents) and abilityai/trinity-gateway#30 (the offer, the no, the pick-up).What changes
localHandOffstub ("coming soon") is removed.local-movecard (AssistantLocalMove.vue,utils/localMove.js): every step and command is written by the page, and the card is accepted only bare./settings?tab=mcp-keys. Shown while/api/settings/mcp-external-accesssays off or can't be read.agent-dev,create-agent,trinityfromabilityai/abilities)./trinity:connect, withwindow.location.originfilled in./agent-dev:agent-fleet-analysis: a report they read first; nothing moves yet./agent-dev:agent-fleet-migrate: waits for their yes, then asks again before deploying; the GitHub repo + read-token prerequisite is stated..envfiles stay on their machine and credentials are asked for in the masked field, never in chat. There is no Confirm button: the card changes nothing here. Space is reserved while access is read.openingGroup): statuslocal_agents: 'no'offers only Start from scratch;'offered'offers My agents are here / Start from scratch.externalMcpAccess()returns true / false / null and never throws.26ccbb3→1413256(abilityai/trinity-enterprise#1371's head).Tests
assistantWidget.mount.spec.js(+6 mounted, 1 replaced): the local answer is sent as a first-session turn; the card shows the origin,/trinity:connectand both fleet skills; the access step appears when access is off, is gone when it is on, and is worded as a check when it can't be read; the opening respects a kept no and an earlier offer.localMove.spec.js(8): step order, address, access step, card gate (extra keys refused), opening group.Steps that do not work yet against a self-serve instance (dev c62030c)
Desk-checked, not run live. Nothing here is worked around: the plugin skills are not changed by these PRs.
/trinity:connectis refused (403 external_mcp_access_off) until an admin turns it on under Settings → MCP Keys. The card reads/api/settings/mcp-external-accessand shows this step first, with a link, while access is off or the state can't be read. Not fixed. Still open for the operator: should self-serve spares be built with it on?agent-fleet-migrate1.3 deploys repository-first:ghsigned in on the person's machine, plus a GitHub read token on the instance (Settings → MCP Keys → Personal GitHub Token). The card states both. A person withoutghcannot complete the move. That fix belongs to the marketplace side (trinity-pm)./trinity:connectsigns in by emailed code and needs anoperator+ account. It should work for the setup admin through the gateway relay, but nobody has checked it live./trinity:connectmeets any terms gate on a self-serve instance before/trinity:onboard/deploy_systemcreates agents. The free plan's build limits on agents created over MCP haven't been checked either..envfiles stay behind. The assistant's "Agents moved in" steps handle this: Claude first, thenask_credentialper missing credential, one run, one schedule. It only works if the instance's tools can list an agent's missing credentials. Not run live.No closing keyword (cross-repo issue; closes at release). Ready for review; not merged by me.
🤖 Generated with Claude Code