@open-agent-toolkit/cli 0.3.4 → 0.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/bundle-metadata.json +1 -1
- package/assets/docs/cli-utilities/tool-packs.md +5 -4
- package/assets/docs/reference/troubleshooting.md +11 -8
- package/assets/public-package-versions.json +4 -4
- package/dist/commands/tools/shared/pack-inventory.d.ts.map +1 -1
- package/dist/commands/tools/shared/pack-inventory.js +11 -6
- package/package.json +2 -2
|
@@ -320,10 +320,11 @@ visibility, and recovery guidance. Human output names the provider on its own
|
|
|
320
320
|
line and on any provider-attributed diagnostic. Reachability is never inferred
|
|
321
321
|
from the presence of a provider directory on disk.
|
|
322
322
|
|
|
323
|
-
The four inventory surfaces agree on
|
|
324
|
-
`info` resolve the same provider surface as `status` and `doctor`, so
|
|
325
|
-
active
|
|
326
|
-
unmaterialized-user-agent report on
|
|
323
|
+
The four inventory surfaces agree on user-scope agent coverage. `list` and
|
|
324
|
+
`info` resolve the same provider surface as `status` and `doctor`, so any
|
|
325
|
+
active adapter that entry-syncs or natively reads user-scope agents — every
|
|
326
|
+
registered adapter does — suppresses the unmaterialized-user-agent report on
|
|
327
|
+
all four rather than only two.
|
|
327
328
|
|
|
328
329
|
Each provider state maps to exactly one row below. Pack evidence status and
|
|
329
330
|
the lifecycle exit code derive from the **severity** column, never from the
|
|
@@ -167,14 +167,17 @@ Both commands report managed pack state with a scoped recovery command:
|
|
|
167
167
|
place and your edits are gone. The finding is informational and carries no
|
|
168
168
|
recovery command for exactly that reason.
|
|
169
169
|
- `user-agent-unmaterialized` — the pack installed canonical agents into
|
|
170
|
-
`~/.agents/agents/`, but active
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
170
|
+
`~/.agents/agents/`, but no active provider projects them at user scope.
|
|
171
|
+
Every registered adapter (Claude, Cursor, Codex, Gemini, Copilot) syncs or
|
|
172
|
+
natively reads user-scope agents, so while any of them is active for user
|
|
173
|
+
sync the finding is suppressed. It appears when no provider is enabled for
|
|
174
|
+
user sync, in which case every installed agent is listed. Provider access to
|
|
175
|
+
canonical instructions through loaded, user, and project reads is a separate
|
|
176
|
+
contract and does not clear this finding. `oat tools update` cannot fix it.
|
|
177
|
+
Enable a provider with `oat providers set --scope user --enabled <provider>`
|
|
178
|
+
and run `oat sync --scope user`; reinstalling at project scope is not
|
|
179
|
+
required. See [Tool packs](../cli-utilities/tool-packs.md) for how
|
|
180
|
+
user-scope agents reach each provider.
|
|
178
181
|
|
|
179
182
|
## `status` or `doctor` reports `packs:inventory`
|
|
180
183
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pack-inventory.d.ts","sourceRoot":"","sources":["../../../../src/commands/tools/shared/pack-inventory.ts"],"names":[],"mappings":"AAaA,OAAO,EAEL,KAAK,aAAa,EACnB,MAAM,eAAe,CAAC;AAIvB,OAAO,EAEL,KAAK,gBAAgB,EAEtB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EACV,mBAAmB,EACnB,eAAe,EACf,gBAAgB,EAChB,QAAQ,EACT,MAAM,SAAS,CAAC;AAEjB,MAAM,WAAW,kBAAkB;IACjC,UAAU,EAAE,mBAAmB,CAAC;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,eAAe,CAAC;IACxB,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;CAC/B;AAED,MAAM,WAAW,cAAc;IAC7B,IAAI,EACA,uBAAuB,GACvB,iBAAiB,GACjB,0BAA0B,GAC1B,2BAA2B,CAAC;IAChC,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,QAAQ,CAAC,EAAE,KAAK,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;CACjC;AAED,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,QAAQ,CAAC;IACf,KAAK,EAAE,aAAa,CAAC;IACrB,MAAM,EAAE,gBAAgB,CAAC;IACzB,YAAY,EAAE,gBAAgB,CAAC;IAC/B,MAAM,EAAE,kBAAkB,EAAE,CAAC;IAC7B,WAAW,EAAE,cAAc,EAAE,CAAC;CAC/B;AAED,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,QAAQ,CAAC;IACf,iFAAiF;IACjF,SAAS,EAAE,SAAS,GAAG,MAAM,GAAG,MAAM,GAAG,aAAa,CAAC;IACvD,MAAM,EAAE,mBAAmB,EAAE,CAAC;IAC9B,WAAW,EAAE,cAAc,EAAE,CAAC;CAC/B;AAED,MAAM,WAAW,wBAAwB;IACvC,IAAI,EAAE,QAAQ,CAAC;IACf,KAAK,EAAE,aAAa,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,0BAA0B,CAAC,EAAE,OAAO,CAAC;CACtC;AAED,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,QAAQ,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,8BAA8B,CAAC,EAAE,OAAO,CAAC;CAC1C;
|
|
1
|
+
{"version":3,"file":"pack-inventory.d.ts","sourceRoot":"","sources":["../../../../src/commands/tools/shared/pack-inventory.ts"],"names":[],"mappings":"AAaA,OAAO,EAEL,KAAK,aAAa,EACnB,MAAM,eAAe,CAAC;AAIvB,OAAO,EAEL,KAAK,gBAAgB,EAEtB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EACV,mBAAmB,EACnB,eAAe,EACf,gBAAgB,EAChB,QAAQ,EACT,MAAM,SAAS,CAAC;AAEjB,MAAM,WAAW,kBAAkB;IACjC,UAAU,EAAE,mBAAmB,CAAC;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,E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,EAAE,wBAAwB,GAC9B,OAAO,CAAC,mBAAmB,CAAC,CAwC9B;AAED,wBAAgB,8BAA8B,CAC5C,SAAS,EAAE,mBAAmB,GAC7B,OAAO,CAUT;AAED;;;;;;GAMG;AACH,wBAAgB,+BAA+B,CAC7C,WAAW,EAAE,aAAa,EAAE,GAC3B,aAAa,EAAE,CAgEjB;AAED,wBAAsB,aAAa,CACjC,KAAK,EAAE,kBAAkB,GACxB,OAAO,CAAC,aAAa,CAAC,CAiDxB"}
|
|
@@ -173,12 +173,15 @@ function intentDiagnostic(diagnostic) {
|
|
|
173
173
|
}
|
|
174
174
|
/**
|
|
175
175
|
* User-scope canonical agents are installed into `~/.agents/agents/`, while
|
|
176
|
-
*
|
|
177
|
-
*
|
|
176
|
+
* provider coverage is caller-resolved from the active config-aware adapter
|
|
177
|
+
* set. Callers suppress this diagnostic when an active provider entry-syncs or
|
|
178
|
+
* natively reads user agents, which every registered adapter does. It remains
|
|
179
|
+
* for two cases: no active provider covers user agents (every present agent is
|
|
180
|
+
* listed), or only extension-backed coverage is active, which supplies the
|
|
178
181
|
* bundled managed role file set plus explicitly user-materializable pack
|
|
179
|
-
* agents. Completeness alone
|
|
180
|
-
*
|
|
181
|
-
*
|
|
182
|
+
* agents. Completeness alone cannot describe either gap, so it is named here
|
|
183
|
+
* instead of staying silent. Canonical instruction-read availability is a
|
|
184
|
+
* separate contract.
|
|
182
185
|
*/
|
|
183
186
|
function userAgentMaterializationDiagnostics(pack, scope, assets, managedRoleMaterialization) {
|
|
184
187
|
if (scope !== 'user')
|
|
@@ -194,7 +197,9 @@ function userAgentMaterializationDiagnostics(pack, scope, assets, managedRoleMat
|
|
|
194
197
|
return [
|
|
195
198
|
{
|
|
196
199
|
code: 'user-agent-unmaterialized',
|
|
197
|
-
message:
|
|
200
|
+
message: managedRoleMaterialization
|
|
201
|
+
? `Pack ${pack} installs user-scope canonical agents that the active provider set does not project; canonical instruction reads are unaffected. The active providers cover user-scope agents only through materialization extensions, which supply built-in managed roles and manifest-declared user-materializable agents. Enable a provider that syncs or reads user-scope agents with \`oat providers set --scope user --enabled <provider>\`, then run \`oat sync --scope user\`.`
|
|
202
|
+
: `Pack ${pack} installs user-scope canonical agents, but no active provider projects user-scope agents; canonical instruction reads are unaffected. Enable a provider for user sync with \`oat providers set --scope user --enabled <provider>\`, then run \`oat sync --scope user\`.`,
|
|
198
203
|
paths: unmaterialized.map(({ path }) => path),
|
|
199
204
|
},
|
|
200
205
|
];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@open-agent-toolkit/cli",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.5",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Open Agent Toolkit CLI",
|
|
6
6
|
"homepage": "https://github.com/voxmedia/open-agent-toolkit/tree/main/packages/cli",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"ora": "^9.0.0",
|
|
35
35
|
"yaml": "2.8.2",
|
|
36
36
|
"zod": "^3.25.76",
|
|
37
|
-
"@open-agent-toolkit/control-plane": "0.3.
|
|
37
|
+
"@open-agent-toolkit/control-plane": "0.3.5"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@types/node": "^22.10.0",
|