Repository navigation
Replies: 1 comment
|
Closing: current main already covers this as of 6df241d23a. If you still see it on a build that includes that commit, reply and we'll reopen. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
fx is Vercel's terminal coding agent. It has its own sign-in, a model catalog served through AI Gateway, Codex, or Grok, a permission system, and skills. It ships
fx acp, an Agent Client Protocol server. T3 Code can't run fx today. I'd like maintainer approval of the direction and scope below before I open a PR.Proposal
Add
fxas a built-in provider, shaped like Grok: a thin flavor onmakeAcpAdapterV2andAcpSessionRuntimethat launchesfx acp. The shared ACP runtime andpackages/effect-acpdon't change.Why not the ACP Registry path
fx needs agent-specific handling, and the registry path is designed to stay agent-agnostic:
session/newlists fx's backend optionproviderbeforemodel, and both havecategory: "model". The generic path writes the selected model into the first such option, so T3 has to write config idmodelonly.initializeadvertises no auth methods. Sign-in state comes fromfx status --json.askon a new session but enforces its global default (auto) until the client writes the mode. T3 has to write the mode every time, or Supervised threads run without approvals. I've reported this to the fx team.Scope
fx --version,fx status --json, andfx models --json. It opens no ACP session.askmode, and Auto runs it incodemode. Full access isn't offered, becausefx acphas no way to turn off fx's own permission checks.$and/menus list skills from fx's documented skill folders. A picked skill reaches fx as$name, fx's own syntax.session/load, and Stop uses ACP cancel.docs/user, and fx on the marketing page.Out of scope for the first PR
fx acpsession is saved under~/.fx, and ACP can't delete it, so each helper call would add a session to the user's fx history.Implementation and evidence
main, one commit: main...agadzik:t3code:feat/fx-provider-upstreamsettings.test.ts(160 tests) pass, and typecheck passes for server, contracts, web, mobile, and marketing.$and/, declined a Supervised file write (fx asked first, and no file was written), and stopped a running turn.main:fx-provider-demo.mp4
Questions
If you approve the direction and scope, I'll open the PR from that branch and link your approval.
Built with the fx coding agent.
All reactions