@tokenoftrust/cli 2.4.19 → 2.4.21
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tokenoftrust/cli",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.21",
|
|
4
4
|
"description": "Token of Trust developer CLI — clone a tenant store, run it locally with save→reload, and submit it for preview. Installs the `tot` command.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Token of Trust",
|
package/src/admission-hint.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The next step to print when the storefront refuses a call with 401/403.
|
|
3
3
|
*
|
|
4
|
-
* The server's admission rule (apps/storefront lib/pipeline/admission.ts) names exactly what is
|
|
4
|
+
* The server's admission rule (apps/storefront lib/publication/pipeline/admission.ts) names exactly what is
|
|
5
5
|
* missing in `admission.missing[].grant`, and its reason is already in the refusal's `error`.
|
|
6
6
|
* The hint follows that answer instead of restating a policy of its own: a client copy of the
|
|
7
7
|
* rule goes stale — every refusal here used to say "you need a live ship-on-behalf grant", which
|
|
@@ -204,7 +204,7 @@ export const CAPABILITIES = [
|
|
|
204
204
|
implementedBy: [
|
|
205
205
|
'agency-kit/tools/capture-source-baseline.mjs',
|
|
206
206
|
'docs/devkit-staging/tools/validate-page-browser.mjs',
|
|
207
|
-
'apps/storefront/src/lib/diag/evidence.ts',
|
|
207
|
+
'apps/storefront/src/lib/observability/diag/evidence.ts',
|
|
208
208
|
],
|
|
209
209
|
populatedBy: 'Lighthouse agentic-browsing category, captured per page at Step 8',
|
|
210
210
|
verifiedBy: 'tot report go-live (the agent-readiness row)',
|
package/src/commands/login.mjs
CHANGED
|
@@ -56,7 +56,7 @@ const UUID_RE = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/
|
|
|
56
56
|
/**
|
|
57
57
|
* Cache the invite→terminal→problem trace id (storefront mints it when it issues
|
|
58
58
|
* the developer's CLI sign-in code and appends it to the pasted login command as
|
|
59
|
-
* `--trace-id <uuid>` — see apps/storefront/src/lib/dev/cliSignInCode.ts) alongside
|
|
59
|
+
* `--trace-id <uuid>` — see apps/storefront/src/lib/developer-experience/dev/cliSignInCode.ts) alongside
|
|
60
60
|
* the MCP creds `tot login` just wrote, so `tot feedback` can stamp a later problem
|
|
61
61
|
* report with it and triage can join the report to the invite + live heartbeat
|
|
62
62
|
* session. Additive, and mirrors cacheActivityBridge. A no-op when the flag is
|
|
@@ -83,7 +83,7 @@ export function cacheEmailHint(env, emailHint) {
|
|
|
83
83
|
/**
|
|
84
84
|
* Cache the local→hosted activity-bridge credential (storefront's
|
|
85
85
|
* cli-signin-code mint, piggybacked as two extra login flags — see
|
|
86
|
-
* apps/storefront/src/lib/dev/cliSignInCode.ts) alongside the MCP creds
|
|
86
|
+
* apps/storefront/src/lib/developer-experience/dev/cliSignInCode.ts) alongside the MCP creds
|
|
87
87
|
* `tot login` just wrote. `tot dev` reads these two fields to report file
|
|
88
88
|
* saves to the developer's own hosted /dev panel. A no-op when either flag is
|
|
89
89
|
* absent (older invite links, or a bare `tot login`).
|