Repository navigation
Replies: 3 comments
|
Implemented in #34713 upstream (stacked diff view: panudetjt#1, on top of #33684). T3 now attaches to |
|
Measured answer to the model-enumeration item in the cost list — the daemon exposes both the entitlement ladder and the picker, so T3 Code does not need to reconstruct them from Read-only calls against a live daemon (zcode 3.17.2, provider CLI 0.17.1):
Credential-free negative control. An isolated Three traps worth recording before anyone builds on this:
Cost. Warm daemon calls are 1-2 ms. The Transport, for whoever reads the implementation. Frames are Status: #34713 carried this and is closed unmerged; the branch is kept as tag |
|
Folding this into #33685 so there is one thread to read: the product case, the credential-route comparison, and the measured Closing this thread rather than leaving two: a maintainer browsing Ideas should not have to work out which of two identically-named proposals is the actual ask. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Follow-up to #33685 and PR #33684.
The problem
The ZCode provider drives
zcode app-server --stdio. That protocol splits the CLI into a host and an agent: T3 Code plays the host, and the agent asks it for provider credentials before every account-model request. So the adapter has to read the CLI's encrypted credential store and mint a project access token through Z.AI's business endpoints itself. It is the only provider here that does either.Every other provider integrates where the vendor binary owns credentials end to end: Kiro (
kiro-cli acp --auth-method=cli), Antigravity and Claude (ACP / SDKauthenticate), Codex (account/login/start), and OpenCode, which talks toopencode serve.Proposal
Move the provider onto
zcode serve, the CLI's own long-running server. Its host-side auth service performs the exchange in vendor code, so T3 Code never decrypts a provider credential store or reimplements a vendor endpoint chain.What that costs:
provider/updateAccountConfig) need re-checking against what the server exposes.Until then, the current adapter documents the credential read in
docs/user/providers-zcode.md.All reactions