@numa-tech/numa 1.12.10 → 1.12.11

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.
Files changed (41) hide show
  1. package/README.md +13 -12
  2. package/dist/ai-registry/commands.js +33 -33
  3. package/dist/ai-registry/commands.js.map +1 -1
  4. package/dist/app-config.d.ts +0 -1
  5. package/dist/app-config.js +4 -2
  6. package/dist/app-config.js.map +1 -1
  7. package/dist/authorization/access-request-client.d.ts +45 -0
  8. package/dist/authorization/access-request-client.js +93 -0
  9. package/dist/authorization/access-request-client.js.map +1 -0
  10. package/dist/authorization/access-request-commands.d.ts +25 -0
  11. package/dist/authorization/access-request-commands.js +196 -0
  12. package/dist/authorization/access-request-commands.js.map +1 -0
  13. package/dist/authorization/access-request-schemas.d.ts +123 -0
  14. package/dist/authorization/access-request-schemas.js +67 -0
  15. package/dist/authorization/access-request-schemas.js.map +1 -0
  16. package/dist/authorization/client.d.ts +50 -0
  17. package/dist/authorization/client.js +113 -0
  18. package/dist/authorization/client.js.map +1 -0
  19. package/dist/authorization/commands.d.ts +40 -0
  20. package/dist/authorization/commands.js +296 -0
  21. package/dist/authorization/commands.js.map +1 -0
  22. package/dist/authorization/errors.d.ts +13 -0
  23. package/dist/authorization/errors.js +70 -0
  24. package/dist/authorization/errors.js.map +1 -0
  25. package/dist/authorization/schemas.d.ts +187 -0
  26. package/dist/authorization/schemas.js +101 -0
  27. package/dist/authorization/schemas.js.map +1 -0
  28. package/dist/cli.js +30 -8
  29. package/dist/cli.js.map +1 -1
  30. package/dist/command-catalog.js +136 -26
  31. package/dist/command-catalog.js.map +1 -1
  32. package/dist/web-console-page.d.ts +1 -1
  33. package/dist/web-console-page.js +1 -1
  34. package/dist/web-console.js +2 -2
  35. package/dist/web-console.js.map +1 -1
  36. package/examples/ai-registry/README.md +18 -0
  37. package/examples/ai-registry/nacos-instance.username-password.example.json +25 -0
  38. package/package.json +4 -4
  39. package/skills/numa-ai-registry/SKILL.md +5 -5
  40. package/skills/numa-ai-registry/evals/evals.json +1 -1
  41. package/skills/numa-ai-registry/references/command-contract.md +22 -22
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@numa-tech/numa",
3
- "version": "1.12.10",
3
+ "version": "1.12.11",
4
4
  "description": "Cross-platform CLI for the Numa internal developer platform with Keycloak authentication and MCP support.",
5
5
  "author": "numa-tech",
6
6
  "keywords": [
@@ -32,7 +32,7 @@
32
32
  "typecheck": "turbo run typecheck root:typecheck",
33
33
  "root:typecheck": "tsc --noEmit",
34
34
  "test": "turbo run test root:test",
35
- "root:test": "node --import tsx --test src/branding.test.ts src/app-config.test.ts src/platform-profile.test.ts src/identity.test.ts src/backend.test.ts src/oauth.test.ts src/web-console.test.ts src/cli-options.test.ts src/ai-registry/client.test.ts src/ai-registry/workspace.test.ts src/ai-registry/namespace.test.ts src/ai-registry/sync.test.ts src/ai-registry/bridge.test.ts src/ai-registry/skill-installer.test.ts src/ai-registry/mcp-installer.test.ts src/media/client.test.ts src/media/commands.test.ts src/media/transfers.test.ts src/pipeline/client.test.ts src/pipeline/commands.test.ts src/application-candidates/client.test.ts src/application-candidates/commands.test.ts src/application-onboarding/client.test.ts src/application-onboarding/commands.test.ts src/application-onboarding/tui.test.ts src/chatgpt-desktop.test.ts src/codex-integration.test.ts scripts/release-all.test.mjs",
35
+ "root:test": "node --import tsx --test src/branding.test.ts src/app-config.test.ts src/platform-profile.test.ts src/identity.test.ts src/backend.test.ts src/oauth.test.ts src/web-console.test.ts src/cli-options.test.ts src/ai-registry/client.test.ts src/ai-registry/workspace.test.ts src/ai-registry/namespace.test.ts src/ai-registry/sync.test.ts src/ai-registry/bridge.test.ts src/ai-registry/skill-installer.test.ts src/ai-registry/mcp-installer.test.ts src/media/client.test.ts src/media/commands.test.ts src/media/transfers.test.ts src/pipeline/client.test.ts src/pipeline/commands.test.ts src/authorization/client.test.ts src/authorization/commands.test.ts src/authorization/access-request-client.test.ts src/authorization/access-request-commands.test.ts src/application-candidates/client.test.ts src/application-candidates/commands.test.ts src/application-onboarding/client.test.ts src/application-onboarding/commands.test.ts src/application-onboarding/tui.test.ts src/chatgpt-desktop.test.ts src/codex-integration.test.ts scripts/release-all.test.mjs",
36
36
  "pack:check": "turbo run pack:check root:pack:check",
37
37
  "root:pack:check": "node scripts/check-root-package.mjs",
38
38
  "boundaries": "node scripts/check-workspace-boundaries.mjs",
@@ -55,8 +55,8 @@
55
55
  "dependencies": {
56
56
  "@clack/prompts": "^1.7.0",
57
57
  "@modelcontextprotocol/sdk": "^1.29.0",
58
- "@numa-tech/cli-auth": "1.12.10",
59
- "@tokensrc/codex": "1.12.10",
58
+ "@numa-tech/cli-auth": "1.12.11",
59
+ "@tokensrc/codex": "1.12.11",
60
60
  "commander": "^14.0.3",
61
61
  "ink": "^6.8.0",
62
62
  "open": "^10.2.0",
@@ -5,7 +5,7 @@ description: Use Numa to discover, lock, sync, install, review, publish, or trou
5
5
 
6
6
  # Numa AI Registry
7
7
 
8
- Use `numa registry` as the typed control plane. Never request or pass a Nacos access token: Numa authenticates the user with Keycloak, the platform brokers Nacos access, and MCP clients connect only to the authorized enterprise Router.
8
+ Use `numa registry` as the typed control plane, `numa skills` for Skill resources, and `numa mcp` for MCP resources. Never request or pass a Nacos access token: Numa authenticates the user with Keycloak, the platform brokers Nacos access, and MCP clients connect only to the authorized enterprise Router.
9
9
 
10
10
  ## Start safely
11
11
 
@@ -19,16 +19,16 @@ Use `numa registry` as the typed control plane. Never request or pass a Nacos ac
19
19
 
20
20
  For Skills, list and inspect the exact name. For MCP Servers, inspect the exact version, tools, and transport before installing. Summarize the resolved namespace/instance, resource/version, lifecycle state, Router status, and intended client before a write.
21
21
 
22
- Use the command forms in [command-contract.md](references/command-contract.md). Run `numa registry --help` if the installed CLI differs from the reference.
22
+ Use the command forms in [command-contract.md](references/command-contract.md). Run `numa registry --help`, `numa skills --help`, or `numa mcp --help` if the installed CLI differs from the reference.
23
23
 
24
24
  ## Lock and install
25
25
 
26
26
  - Prefer a committed `.numa/registry.json`: run `registry init`, edit resource targets, then `registry lock` and `registry sync`. Commit both manifest and lock when repository policy permits.
27
27
  - Treat `.numa/registry.lock.json` as authoritative during `sync`. Resolve labels only on first install/`lock` or explicit `upgrade`; never turn `sync` into an implicit upgrade.
28
28
  - Verify exact version, Nacos source binding, and SHA-256 before install. Stop on a namespace/instance mismatch or integrity failure.
29
- - Install Skills with `registry skill install` for one-off additions. Default to project scope; use user scope only for capabilities intentionally shared across workspaces.
30
- - Install MCP with `registry mcp install`. Require a `READY` namespace Router and a successful health check. Install the Router endpoint, never a direct Nacos/downstream endpoint.
31
- - Use Remote Streamable HTTP OAuth for ChatGPT and other capable clients. Use `registry mcp bridge` only for stdio clients; it reuses Numa login/refresh and sends the user token only to the Router.
29
+ - Install Skills with `numa skills install` for one-off additions. Default to project scope; use user scope only for capabilities intentionally shared across workspaces.
30
+ - Install MCP with `numa mcp install`. Require a `READY` namespace Router and a successful health check. Install the Router endpoint, never a direct Nacos/downstream endpoint.
31
+ - Use Remote Streamable HTTP OAuth for ChatGPT and other capable clients. Use `numa mcp bridge` only for stdio clients; it reuses Numa login/refresh and sends the user token only to the Router.
32
32
  - Reject literal credentials in Nacos definitions. Sensitive downstream configuration must use secret/environment references and must not enter manifest, lock, logs, or output.
33
33
  - Do not use `--force` automatically. Explain the collision, then use it only after the user authorizes replacement. Numa preserves a backup for JSON/Skill replacements where supported.
34
34
  - ChatGPT Skill installation targets the ChatGPT/Codex coding workspace. ChatGPT MCP uses the Router's remote HTTPS OAuth resource and guided App setup; it cannot launch the local stdio bridge. Do not claim that Numa edited ChatGPT workspace settings.
@@ -28,7 +28,7 @@
28
28
  "expectations": [
29
29
  "Inspects the MCP definition before installation, checks for literal credentials, and verifies Router health.",
30
30
  "Does not expose or install the direct Nacos/downstream endpoint and does not claim ChatGPT settings were changed.",
31
- "Uses the remote HTTPS OAuth Router for ChatGPT and offers registry mcp bridge for the Claude stdio adapter."
31
+ "Uses the remote HTTPS OAuth Router for ChatGPT and offers numa mcp bridge for the Claude stdio adapter."
32
32
  ]
33
33
  }
34
34
  ]
@@ -36,17 +36,17 @@ Instance JSON configures separate `READER` and `MAINTAINER` credentials (OIDC cl
36
36
  ## Skills
37
37
 
38
38
  ```bash
39
- numa registry skill list --namespace NAMESPACE --search TEXT --json
40
- numa registry skill inspect NAME --namespace NAMESPACE --json
41
- numa registry skill draft NAME --from-version 1.0.0 --json
42
- numa registry skill install NAME --namespace NAMESPACE --agent AGENT --scope project --label latest --json
43
- numa registry skill upload ./skill.zip --namespace NAMESPACE --target-version 1.0.0 --json
44
- numa registry skill online NAME --namespace NAMESPACE --json
45
- numa registry skill offline NAME --namespace NAMESPACE --json
46
- numa registry skill scope NAME PRIVATE --namespace NAMESPACE --json
47
- numa registry skill tags NAME deploy java --namespace NAMESPACE --json
48
- numa registry skill labels NAME latest stable --version 1.2.0 --json
49
- numa registry skill delete NAME --namespace NAMESPACE --yes --json
39
+ numa skills list --namespace NAMESPACE --search TEXT --json
40
+ numa skills inspect NAME --namespace NAMESPACE --json
41
+ numa skills draft NAME --from-version 1.0.0 --json
42
+ numa skills install NAME --namespace NAMESPACE --agent AGENT --scope project --label latest --json
43
+ numa skills upload ./skill.zip --namespace NAMESPACE --target-version 1.0.0 --json
44
+ numa skills online NAME --namespace NAMESPACE --json
45
+ numa skills offline NAME --namespace NAMESPACE --json
46
+ numa skills scope NAME PRIVATE --namespace NAMESPACE --json
47
+ numa skills tags NAME deploy java --namespace NAMESPACE --json
48
+ numa skills labels NAME latest stable --version 1.2.0 --json
49
+ numa skills delete NAME --namespace NAMESPACE --yes --json
50
50
  ```
51
51
 
52
52
  Skill agents: `chatgpt`, `codex`, `claude`, `cursor`, `workbuddy`, `openclaw`, `agents`, or `custom`. A custom target also needs `--custom-root`.
@@ -54,17 +54,17 @@ Skill agents: `chatgpt`, `codex`, `claude`, `cursor`, `workbuddy`, `openclaw`, `
54
54
  ## MCP Servers
55
55
 
56
56
  ```bash
57
- numa registry mcp list --namespace NAMESPACE --search TEXT --json
58
- numa registry mcp inspect NAME --namespace NAMESPACE --version 1.0.0 --json
59
- numa registry mcp install NAME --namespace NAMESPACE --agent AGENT --scope project --transport remote --json
60
- numa registry mcp bridge --namespace NAMESPACE
61
- numa registry mcp create ./mcp.json --namespace NAMESPACE --json
62
- numa registry mcp update NAME ./mcp.json --namespace NAMESPACE --json
63
- numa registry mcp online NAME --version 1.0.0 --json
64
- numa registry mcp offline NAME --version 1.0.0 --json
65
- numa registry mcp tags NAME internal search --json
66
- numa registry mcp tool disable NAME TOOL --version 3 --json
67
- numa registry mcp delete NAME --namespace NAMESPACE --version 1.0.0 --yes --json
57
+ numa mcp list --namespace NAMESPACE --search TEXT --json
58
+ numa mcp inspect NAME --namespace NAMESPACE --version 1.0.0 --json
59
+ numa mcp install NAME --namespace NAMESPACE --agent AGENT --scope project --transport remote --json
60
+ numa mcp bridge --namespace NAMESPACE
61
+ numa mcp create ./mcp.json --namespace NAMESPACE --json
62
+ numa mcp update NAME ./mcp.json --namespace NAMESPACE --json
63
+ numa mcp online NAME --version 1.0.0 --json
64
+ numa mcp offline NAME --version 1.0.0 --json
65
+ numa mcp tags NAME internal search --json
66
+ numa mcp tool disable NAME TOOL --version 3 --json
67
+ numa mcp delete NAME --namespace NAMESPACE --version 1.0.0 --yes --json
68
68
  ```
69
69
 
70
70
  MCP agents: `chatgpt`, `codex`, `claude`, `cursor`, `workbuddy`, `openclaw`, or `custom`. A custom target also needs `--custom-config`. All clients receive the enterprise Router, never the Nacos/downstream endpoint. ChatGPT uses remote HTTPS OAuth; stdio clients may use the bridge. Codex and OpenClaw are user-scoped.