@mesh-tech/mesh-cli 0.20.0 → 0.20.2
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/README.md +13 -8
- package/dist/bin/mesh.js +272 -52
- package/dist/bin/mesh.js.map +4 -4
- package/dist/build-info.json +2 -2
- package/dist/src/commands/app-check.d.ts +1 -1
- package/dist/src/commands/app-check.d.ts.map +1 -1
- package/dist/src/commands/app-check.js +13 -0
- package/dist/src/commands/app-check.js.map +1 -1
- package/dist/src/commands/create-app.d.ts +14 -0
- package/dist/src/commands/create-app.d.ts.map +1 -1
- package/dist/src/commands/create-app.js +25 -2
- package/dist/src/commands/create-app.js.map +1 -1
- package/dist/src/commands/init/wizard.d.ts +21 -4
- package/dist/src/commands/init/wizard.d.ts.map +1 -1
- package/dist/src/commands/init/wizard.js +51 -10
- package/dist/src/commands/init/wizard.js.map +1 -1
- package/dist/src/commands/local/hub-local.d.ts +35 -0
- package/dist/src/commands/local/hub-local.d.ts.map +1 -1
- package/dist/src/commands/local/hub-local.js +61 -1
- package/dist/src/commands/local/hub-local.js.map +1 -1
- package/dist/src/commands/local/index.d.ts.map +1 -1
- package/dist/src/commands/local/index.js +15 -1
- package/dist/src/commands/local/index.js.map +1 -1
- package/dist/src/commands/local/seed-hub-catalog.d.ts +33 -0
- package/dist/src/commands/local/seed-hub-catalog.d.ts.map +1 -0
- package/dist/src/commands/local/seed-hub-catalog.js +90 -0
- package/dist/src/commands/local/seed-hub-catalog.js.map +1 -0
- package/dist/src/commands/login.d.ts +12 -0
- package/dist/src/commands/login.d.ts.map +1 -1
- package/dist/src/commands/login.js +52 -7
- package/dist/src/commands/login.js.map +1 -1
- package/dist/src/commands/registry.d.ts +22 -3
- package/dist/src/commands/registry.d.ts.map +1 -1
- package/dist/src/commands/registry.js +36 -4
- package/dist/src/commands/registry.js.map +1 -1
- package/dist/src/commands/temporal.js +20 -6
- package/dist/src/commands/temporal.js.map +2 -2
- package/dist/src/utils/aws-auth.d.ts +19 -0
- package/dist/src/utils/aws-auth.d.ts.map +1 -1
- package/dist/src/utils/aws-auth.js +30 -9
- package/dist/src/utils/aws-auth.js.map +1 -1
- package/dist/src/utils/registry-identity.d.ts +35 -0
- package/dist/src/utils/registry-identity.d.ts.map +1 -1
- package/dist/src/utils/registry-identity.js +47 -1
- package/dist/src/utils/registry-identity.js.map +1 -1
- package/package.json +2 -2
- package/skills/core/SKILL.md +2 -2
- package/templates/api-auth/index.ts.hbs +3 -1
- package/templates/api-role-gating/index.ts.hbs +3 -1
package/README.md
CHANGED
|
@@ -64,7 +64,9 @@ trip).
|
|
|
64
64
|
**If your account does not hold the grant yet**, the command tells you so and
|
|
65
65
|
prints the access-request URL the platform returned (or names the admin to
|
|
66
66
|
ask). Contact your Mesh contact to have **registry access granted to your
|
|
67
|
-
user**, then run `mesh registry login` again
|
|
67
|
+
user**, then run `mesh registry login` again — it re-mints your sign-in so the
|
|
68
|
+
new role is in the token the broker sees. If it still says not authorized,
|
|
69
|
+
start a fresh sign-in: `mesh registry logout && mesh registry login`.
|
|
68
70
|
|
|
69
71
|
Everything after this point — installing `@mesh-tech/*` packages, scaffolding
|
|
70
72
|
an app, and the local docs server — depends on this step. `mesh init` (next)
|
|
@@ -76,11 +78,12 @@ runs it for you.
|
|
|
76
78
|
mesh init
|
|
77
79
|
```
|
|
78
80
|
|
|
79
|
-
Run it in your `<tenant>-mesh-apps` clone
|
|
80
|
-
asks which tenant this repo belongs to
|
|
81
|
-
(`mesh start` / `mesh dev`) or *a deployed Mesh
|
|
82
|
-
registry access (signing you in if step 2 was
|
|
83
|
-
layout, installs the agent skills, and prints a
|
|
81
|
+
Run it in your `<tenant>-mesh-apps` clone, or in a brand-new empty folder — the
|
|
82
|
+
wizard runs `git init` there for you. It asks which tenant this repo belongs to
|
|
83
|
+
and where it runs — *local only* (`mesh start` / `mesh dev`) or *a deployed Mesh
|
|
84
|
+
platform* — then checks your registry access (signing you in if step 2 was
|
|
85
|
+
skipped), bootstraps the repo layout, installs the agent skills, and prints a
|
|
86
|
+
summary with the next command.
|
|
84
87
|
Every answer has a flag, so a headless run is one line:
|
|
85
88
|
|
|
86
89
|
```bash
|
|
@@ -241,8 +244,10 @@ everywhere else.
|
|
|
241
244
|
|
|
242
245
|
Your account and session are fine; you don't hold the registry grant yet. The
|
|
243
246
|
message names the request URL (or the admin to ask) — see
|
|
244
|
-
[step 2](#2-get-registry-access). Once granted, `mesh registry login` again
|
|
245
|
-
your sign-in
|
|
247
|
+
[step 2](#2-get-registry-access). Once granted, `mesh registry login` again —
|
|
248
|
+
it re-mints your sign-in so the new role reaches the broker (a role only rides
|
|
249
|
+
in tokens issued after it was granted). Still refused?
|
|
250
|
+
`mesh registry logout && mesh registry login` starts a fresh sign-in.
|
|
246
251
|
|
|
247
252
|
### `No registry access on this machine — @mesh-tech packages cannot be installed.`
|
|
248
253
|
|