@inf-monkeys-tech/monkeys-cli 0.12.52 → 0.12.54
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 +37 -34
- package/README.zh.md +31 -28
- package/dist/command/metadata.d.ts.map +1 -1
- package/dist/command/metadata.js +2 -0
- package/dist/command/metadata.js.map +1 -1
- package/dist/commands/data/asset/inspect.d.ts.map +1 -1
- package/dist/commands/data/asset/inspect.js +1 -1
- package/dist/commands/data/asset/inspect.js.map +1 -1
- package/dist/commands/navigation/deactivate.js +1 -1
- package/dist/commands/navigation/deactivate.js.map +1 -1
- package/dist/commands/navigation/verify.d.ts +3 -0
- package/dist/commands/navigation/verify.d.ts.map +1 -0
- package/dist/commands/navigation/verify.js +3 -0
- package/dist/commands/navigation/verify.js.map +1 -0
- package/dist/commands/page/deactivate.js +1 -1
- package/dist/commands/page/deactivate.js.map +1 -1
- package/dist/commands/page/verify.d.ts +3 -0
- package/dist/commands/page/verify.d.ts.map +1 -0
- package/dist/commands/page/verify.js +3 -0
- package/dist/commands/page/verify.js.map +1 -0
- package/dist/declarative/client.d.ts +85 -2
- package/dist/declarative/client.d.ts.map +1 -1
- package/dist/declarative/client.js +57 -5
- package/dist/declarative/client.js.map +1 -1
- package/dist/declarative/command.d.ts.map +1 -1
- package/dist/declarative/command.js +39 -7
- package/dist/declarative/command.js.map +1 -1
- package/dist/declarative/deactivate.d.ts.map +1 -1
- package/dist/declarative/deactivate.js +5 -4
- package/dist/declarative/deactivate.js.map +1 -1
- package/dist/declarative/lifecycle.d.ts +6 -1
- package/dist/declarative/lifecycle.d.ts.map +1 -1
- package/dist/declarative/lifecycle.js +92 -77
- package/dist/declarative/lifecycle.js.map +1 -1
- package/dist/declarative/verification.d.ts +85 -0
- package/dist/declarative/verification.d.ts.map +1 -0
- package/dist/declarative/verification.js +59 -0
- package/dist/declarative/verification.js.map +1 -0
- package/dist/transport/agent-data-context.d.ts +1 -1
- package/dist/transport/agent-data-context.d.ts.map +1 -1
- package/dist/transport/agent-data-context.js +18 -2
- package/dist/transport/agent-data-context.js.map +1 -1
- package/dist/transport/http-client.d.ts.map +1 -1
- package/dist/transport/http-client.js +30 -10
- package/dist/transport/http-client.js.map +1 -1
- package/oclif.manifest.json +442 -24
- package/package.json +3 -3
- package/skills/monkeys-data/references/data-read.md +1 -0
- package/skills/monkeys-pages/SKILL.md +5 -4
package/README.md
CHANGED
|
@@ -20,16 +20,16 @@ The CLI is the only execution layer. Eight focused Skills bundled in the npm pac
|
|
|
20
20
|
|
|
21
21
|
## Features
|
|
22
22
|
|
|
23
|
-
| Category
|
|
24
|
-
|
|
|
25
|
-
| 🔗 Deployment & Subscription | Manage multiple endpoints, Tenants, Teams, and Subscriptions across cloud and self-hosted deployments
|
|
26
|
-
| 🔐 Authentication
|
|
27
|
-
| 🔁 Workflow & Execution
|
|
28
|
-
| 🤖 Dev Agent Work
|
|
29
|
-
| 🧠 Ontology & Data
|
|
30
|
-
| ⚙️ System Config
|
|
31
|
-
| 📁 Files & Media
|
|
32
|
-
| 🧩 OpenAPI
|
|
23
|
+
| Category | Capabilities |
|
|
24
|
+
| ---------------------------- | ----------------------------------------------------------------------------------------------------------------------- |
|
|
25
|
+
| 🔗 Deployment & Subscription | Manage multiple endpoints, Tenants, Teams, and Subscriptions across cloud and self-hosted deployments |
|
|
26
|
+
| 🔐 Authentication | Browser Device Code login, API Key login, status checks, identity lookup, and secure-storage diagnostics |
|
|
27
|
+
| 🔁 Workflow & Execution | Workflow CRUD, import, run, and Execution query, wait, and status streaming |
|
|
28
|
+
| 🤖 Dev Agent Work | Manage lifecycle, full conversations and Spec history, Runtime files/logs/terminal, Session Events, and Review Evidence |
|
|
29
|
+
| 🧠 Ontology & Data | Ontology, View, Asset, Field, Feature Value, Tag, Container, and data migration operations |
|
|
30
|
+
| ⚙️ System Config | Overview, discovery, read, validation, history, redacted export, and controlled updates |
|
|
31
|
+
| 📁 Files & Media | Streaming transfer for files, Asset media, and View attachments |
|
|
32
|
+
| 🧩 OpenAPI | Dynamic discovery, caching, Operation descriptions, and evidence-constrained raw API calls |
|
|
33
33
|
|
|
34
34
|
## Installation & Quick Start
|
|
35
35
|
|
|
@@ -121,15 +121,15 @@ monkeys auth login \
|
|
|
121
121
|
|
|
122
122
|
## AI Agent Skill
|
|
123
123
|
|
|
124
|
-
| Skill
|
|
125
|
-
|
|
|
126
|
-
| [`monkeys-shared`](skills/monkeys-shared/SKILL.md)
|
|
127
|
-
| [`monkeys-auth`](skills/monkeys-auth/SKILL.md)
|
|
128
|
-
| [`monkeys-workflow`](skills/monkeys-workflow/SKILL.md)
|
|
129
|
-
| [`monkeys-dev-agent-work`](skills/monkeys-dev-agent-work/SKILL.md) | Dev Agent Work lifecycle
|
|
130
|
-
| [`monkeys-data`](skills/monkeys-data/SKILL.md)
|
|
131
|
-
| [`monkeys-system-config`](skills/monkeys-system-config/SKILL.md)
|
|
132
|
-
| [`monkeys-openapi`](skills/monkeys-openapi/SKILL.md)
|
|
124
|
+
| Skill | Description |
|
|
125
|
+
| ------------------------------------------------------------------ | -------------------------------------------------------------------------------- |
|
|
126
|
+
| [`monkeys-shared`](skills/monkeys-shared/SKILL.md) | Subscription, Context, Team, Identity, output, safety, errors, and version rules |
|
|
127
|
+
| [`monkeys-auth`](skills/monkeys-auth/SKILL.md) | Browser and API Key authentication |
|
|
128
|
+
| [`monkeys-workflow`](skills/monkeys-workflow/SKILL.md) | Workflow, Execution, and file transfer |
|
|
129
|
+
| [`monkeys-dev-agent-work`](skills/monkeys-dev-agent-work/SKILL.md) | Dev Agent Work lifecycle |
|
|
130
|
+
| [`monkeys-data`](skills/monkeys-data/SKILL.md) | Ontology, Data, views, values, governance, and transfer |
|
|
131
|
+
| [`monkeys-system-config`](skills/monkeys-system-config/SKILL.md) | Kernel System Config |
|
|
132
|
+
| [`monkeys-openapi`](skills/monkeys-openapi/SKILL.md) | Schema inspection and controlled OpenAPI fallback |
|
|
133
133
|
|
|
134
134
|
The installer globally installs the exact CLI release that is executing it, removes obsolete official Skills, verifies every actual Agent-discovered Skill path and checksum, and only then records ownership. Inspect or repair drift at any time:
|
|
135
135
|
|
|
@@ -148,7 +148,7 @@ Agents can read the exact embedded version without locating npm files, for examp
|
|
|
148
148
|
| `auth login` | Start browser login for an endpoint URL or import an API Key from secure input |
|
|
149
149
|
| `auth status` | Validate the current Credential and return identity, Team, Surface, and permission information |
|
|
150
150
|
| `auth whoami` | Query the current server-side identity |
|
|
151
|
-
| `auth logout` | Remove the Credential stored for a Subscription
|
|
151
|
+
| `auth logout` | Remove the Credential stored for a Subscription |
|
|
152
152
|
| `auth doctor` | Check secure read/write behavior for the current browser Session Store |
|
|
153
153
|
| `auth api-key import` | Import an API Key from stdin or a named environment variable |
|
|
154
154
|
|
|
@@ -313,16 +313,16 @@ Never infer Subscription, Team, Ontology, or other IDs from resource names. Reso
|
|
|
313
313
|
|
|
314
314
|
### Detailed Documentation
|
|
315
315
|
|
|
316
|
-
| Topic
|
|
317
|
-
|
|
|
318
|
-
| Platform, context, safety
|
|
319
|
-
| Authentication and subscriptions
|
|
320
|
-
| Workflow, Execution, and files
|
|
321
|
-
| Dev Agent Work
|
|
322
|
-
| Data reads and perspectives
|
|
323
|
-
| Data writes and transfer
|
|
324
|
-
| System Config
|
|
325
|
-
| OpenAPI fallback
|
|
316
|
+
| Topic | Documentation |
|
|
317
|
+
| -------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
318
|
+
| Platform, context, safety | [platform-overview.md](skills/monkeys-shared/references/platform-overview.md) · [safety-errors.md](skills/monkeys-shared/references/safety-errors.md) |
|
|
319
|
+
| Authentication and subscriptions | [authentication.md](skills/monkeys-auth/references/authentication.md) |
|
|
320
|
+
| Workflow, Execution, and files | [workflow-execution-files.md](skills/monkeys-workflow/references/workflow-execution-files.md) |
|
|
321
|
+
| Dev Agent Work | [dev-agent-work.md](skills/monkeys-dev-agent-work/references/dev-agent-work.md) |
|
|
322
|
+
| Data reads and perspectives | [data-read.md](skills/monkeys-data/references/data-read.md) · [data-perspective.md](skills/monkeys-data/references/data-perspective.md) |
|
|
323
|
+
| Data writes and transfer | [data-write.md](skills/monkeys-data/references/data-write.md) · [data-transfer.md](skills/monkeys-data/references/data-transfer.md) |
|
|
324
|
+
| System Config | [system-config.md](skills/monkeys-system-config/references/system-config.md) |
|
|
325
|
+
| OpenAPI fallback | [fallback.md](skills/monkeys-openapi/references/fallback.md) |
|
|
326
326
|
|
|
327
327
|
## Security & Risk Warning (Read Before Use)
|
|
328
328
|
|
|
@@ -363,7 +363,6 @@ Every push that adds a commit to the default branch automatically publishes one
|
|
|
363
363
|
|
|
364
364
|
Licensed under the [GNU General Public License v3.0 only](LICENSE) (`GPL-3.0-only`).
|
|
365
365
|
|
|
366
|
-
|
|
367
366
|
## Declarative Pages and Navigation
|
|
368
367
|
|
|
369
368
|
```bash
|
|
@@ -379,21 +378,25 @@ monkeys page history example.page --subscription test --release-slot <slot-id>
|
|
|
379
378
|
monkeys page rollback example.page --subscription test --release-slot <slot-id> --release-version 1 --dry-run
|
|
380
379
|
```
|
|
381
380
|
|
|
382
|
-
`page` and `navigation` expose `list`, `get`, `export`, `import`, `validate`, `publish`, `history`, and `rollback`. They use shared JSON contracts and server-owned control operations. Import saves a draft; publish compiles, activates and
|
|
381
|
+
`page` and `navigation` expose `list`, `get`, `export`, `import`, `validate`, `publish`, `verify`, `history`, and `rollback`. They use shared JSON contracts and server-owned control operations. Import saves a draft; publish compiles, activates and verifies durable release integrity. Audience access is checked only with `--verify-runtime`. Export never overwrites an existing file.
|
|
383
382
|
|
|
384
383
|
File preflight checks document and dependency compatibility without saving or allocating namespaces. First-use Kernel preflight reports initialization as pending; dependencies are checked again before a draft is saved. Publishing a file has separate draft and release stages. Inspect `savedDraftRevisionRef` after a partial failure. Unknown write outcomes are not automatically replayed.
|
|
385
384
|
|
|
386
|
-
|
|
385
|
+
Page management defaults to the current tenant's global publication scope. `--team 0` selects that same scope; another explicit `--team <id>` selects only that authorized business Team. A Subscription default Team does not change the publication target. Global Pages supply definitions to business Teams while data queries and actions retain the caller's business identity. Explicit Team routes precede ordinary global routes; reserved system routes and explicit unavailable routes retain their protections. Use `--surface`, `--environment`, `--placement`, `--route-index` or `--release-slot` to resolve target ambiguity. Foreign live scopes and template references to immutable revisions are rejected; valid target revisions remain unchanged. Dependencies are never installed implicitly. Page and Navigation releases are independently scoped.
|
|
387
386
|
|
|
388
387
|
`page deactivate <id> --release-slot <slot> --dry-run` shows the exact active release to remove and the other release slots to retain. Apply with `--yes` only after checking that selection; the command verifies the deactivation and retained slots. To reuse a deactivated slot, read its current version with `page history`, then pass both `--release-slot <slot>` and `--expected-release-version <version>` to `validate` or `publish`. The server rejects a stale version; do not guess or bypass this check.
|
|
389
388
|
|
|
389
|
+
`page verify <id> --release-slot <slot> --release-version <version>` checks an exact release without publishing, compiling or repairing projections. Navigation supports the same command. Add `--verify-runtime --runtime-team <id> --runtime-path <concrete-path>` to check audience resolution; dynamic routes require actual parameter values. `--wait <seconds>` polls only retryable reads for at most 60 seconds. `publicationVerified` reports durable integrity; `verified` remains false unless audience resolution also succeeds. Neither proves browser interaction or business query success.
|
|
390
|
+
|
|
391
|
+
Verification failures retain `publication: committed`, exact revision references and diagnostics, and exit with the partial-result code. Unknown write responses retain the original idempotency key, release slot and candidate version; pass these to `verify --idempotency-key <key>` before considering another write. An absent record does not prove a write failed. A superseded or deactivated version is reported separately from a failed publication.
|
|
392
|
+
|
|
390
393
|
After an authorized dependency update, `page publish <id> --refresh-dependencies --yes` compiles a new release even when the Page JSON is unchanged. Normal publication keeps its existing no-op behavior for an already active declaration.
|
|
391
394
|
|
|
392
395
|
For Pages that reference an ActionProgram, register its exact artifact before publishing. `page program register --subscription <name> --team <team-id> --file <candidate.json> --receipt <private-receipt.json> --dry-run` validates a `PrepareActionProgramRequest` with the server, including its inspected `expectedVersion`, hashes, permissions, and installed dependencies. Apply with `--yes` instead of `--dry-run`. The CLI durably creates the receipt before sending the write and verifies the complete artifact afterward. Reusing that receipt performs readback only, including after a timeout; retain it even if verification fails. `page program read --subscription <name> --team <team-id> --file <reference.json>` accepts a `ReadActionProgramRequest` containing the exact `revisionRef`. Neither command executes the program, installs its dependencies, or publishes its Page.
|
|
393
396
|
|
|
394
397
|
Catalog commands require a Subscription configured with only `--expected-surface kernel`. Kernel operators can use `page catalog import --file <artifact.json> --expected-hash <active-hash>`, followed by `page catalog synchronize --expected-hash <new-hash>`. Import checks the observed head before sending; synchronization enforces the exact catalog hash and definition revisions on the server. Use `--dry-run` first and `--yes` to apply each stage. These commands do not publish pages. `page catalog design-import --file <intent.json>` accepts an official Design artifact with `expectedCurrentSourceHash` and its exact `idempotencyKey`; the server checks dedicated activation authority and append-only compatibility. Its dry run checks local artifact hashes only. If a write outcome is unknown, inspect current catalog and definition state before retrying.
|
|
395
398
|
|
|
396
|
-
These commands require the
|
|
399
|
+
These commands require the Server publication verification operation and the matching shared SDK contracts. The CLI checks support before sending a write. For coordinated local testing before SDK publication, build and pack the SDK, then run CLI verification with `MONKEYS_TEST_SDK_TARBALL=/absolute/path/to/sdk.tgz bun run verify`. Release the exact SDK artifact before releasing consumers.
|
|
397
400
|
|
|
398
401
|
Agent guidance: [monkeys-pages](skills/monkeys-pages/SKILL.md).
|
|
399
402
|
|
package/README.zh.md
CHANGED
|
@@ -20,16 +20,16 @@ CLI 是唯一执行层;npm 包内的 8 个聚焦领域 Skill 按需指导 Agen
|
|
|
20
20
|
|
|
21
21
|
## 功能
|
|
22
22
|
|
|
23
|
-
| 类别
|
|
24
|
-
|
|
|
25
|
-
| 🔗 Deployment 与 Subscription | 管理多个 Endpoint、Tenant、Team 和 Subscription,支持云端及私有化部署
|
|
26
|
-
| 🔐 认证
|
|
27
|
-
| 🔁 Workflow 与 Execution
|
|
28
|
-
| 🤖 Agent Work
|
|
29
|
-
| 🧠 Ontology 与 Data
|
|
30
|
-
| ⚙️ System Config
|
|
31
|
-
| 📁 文件与媒体
|
|
32
|
-
| 🧩 OpenAPI
|
|
23
|
+
| 类别 | 能力 |
|
|
24
|
+
| ----------------------------- | ----------------------------------------------------------------------- |
|
|
25
|
+
| 🔗 Deployment 与 Subscription | 管理多个 Endpoint、Tenant、Team 和 Subscription,支持云端及私有化部署 |
|
|
26
|
+
| 🔐 认证 | 浏览器 Device Code 登录、API Key 登录、状态验证、身份查询和安全存储诊断 |
|
|
27
|
+
| 🔁 Workflow 与 Execution | Workflow CRUD、导入、运行,以及 Execution 查询、等待和状态流 |
|
|
28
|
+
| 🤖 Agent Work | 创建、查询、分配、对话、Spec 审批、运行控制、Review 与状态观察 |
|
|
29
|
+
| 🧠 Ontology 与 Data | Ontology、View、Asset、Field、Feature Value、Tag、Container 和数据迁移 |
|
|
30
|
+
| ⚙️ System Config | 配置总览、发现、读取、校验、历史、脱敏导出与受控更新 |
|
|
31
|
+
| 📁 文件与媒体 | 文件、Asset 媒体和 View Attachment 的流式上传下载 |
|
|
32
|
+
| 🧩 OpenAPI | 动态发现、缓存、Operation 描述与带证据约束的原始 API 调用 |
|
|
33
33
|
|
|
34
34
|
## 安装与快速开始
|
|
35
35
|
|
|
@@ -121,15 +121,15 @@ monkeys auth login \
|
|
|
121
121
|
|
|
122
122
|
## AI Agent Skill
|
|
123
123
|
|
|
124
|
-
| Skill
|
|
125
|
-
|
|
|
126
|
-
| [`monkeys-shared`](skills/monkeys-shared/SKILL.md)
|
|
127
|
-
| [`monkeys-auth`](skills/monkeys-auth/SKILL.md)
|
|
128
|
-
| [`monkeys-workflow`](skills/monkeys-workflow/SKILL.md)
|
|
129
|
-
| [`monkeys-dev-agent-work`](skills/monkeys-dev-agent-work/SKILL.md) | Dev Agent Work 全生命周期
|
|
130
|
-
| [`monkeys-data`](skills/monkeys-data/SKILL.md)
|
|
131
|
-
| [`monkeys-system-config`](skills/monkeys-system-config/SKILL.md)
|
|
132
|
-
| [`monkeys-openapi`](skills/monkeys-openapi/SKILL.md)
|
|
124
|
+
| Skill | 说明 |
|
|
125
|
+
| ------------------------------------------------------------------ | ----------------------------------------------------------------- |
|
|
126
|
+
| [`monkeys-shared`](skills/monkeys-shared/SKILL.md) | Subscription、Context、Team、Identity、输出、安全、错误与版本规则 |
|
|
127
|
+
| [`monkeys-auth`](skills/monkeys-auth/SKILL.md) | 浏览器登录与 API Key 认证 |
|
|
128
|
+
| [`monkeys-workflow`](skills/monkeys-workflow/SKILL.md) | Workflow、Execution 与文件 |
|
|
129
|
+
| [`monkeys-dev-agent-work`](skills/monkeys-dev-agent-work/SKILL.md) | Dev Agent Work 全生命周期 |
|
|
130
|
+
| [`monkeys-data`](skills/monkeys-data/SKILL.md) | Ontology、Data、治理与迁移 |
|
|
131
|
+
| [`monkeys-system-config`](skills/monkeys-system-config/SKILL.md) | Kernel System Config |
|
|
132
|
+
| [`monkeys-openapi`](skills/monkeys-openapi/SKILL.md) | Schema 与受控 OpenAPI 降级 |
|
|
133
133
|
|
|
134
134
|
安装命令会全局安装正在执行的精确 CLI 版本,删除废弃的官方 Skill,逐个验证 Agent 实际发现路径和内容校验和,全部成功后才记录所有权。可随时查看或修复漂移:
|
|
135
135
|
|
|
@@ -148,7 +148,7 @@ Agent 可直接读取 npm 包内的同版本内容,例如 `monkeys skills read
|
|
|
148
148
|
| `auth login` | 使用 Endpoint URL 发起浏览器登录,或从安全输入导入 API Key |
|
|
149
149
|
| `auth status` | 验证当前 Credential,并返回身份、Team、Surface 和权限 |
|
|
150
150
|
| `auth whoami` | 查询当前服务端身份 |
|
|
151
|
-
| `auth logout` | 移除指定 Subscription 保存的 Credential
|
|
151
|
+
| `auth logout` | 移除指定 Subscription 保存的 Credential |
|
|
152
152
|
| `auth doctor` | 检查当前浏览器 Session Store 的安全读写能力 |
|
|
153
153
|
| `auth api-key import` | 从 stdin 或指定环境变量导入 API Key |
|
|
154
154
|
|
|
@@ -287,16 +287,16 @@ monkeys workflow delete <workflow-id> \
|
|
|
287
287
|
|
|
288
288
|
### 深入文档
|
|
289
289
|
|
|
290
|
-
| 主题 | 文档
|
|
291
|
-
| -------------------------- |
|
|
290
|
+
| 主题 | 文档 |
|
|
291
|
+
| -------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
292
292
|
| 平台、上下文与安全 | [platform-overview.md](skills/monkeys-shared/references/platform-overview.md) · [safety-errors.md](skills/monkeys-shared/references/safety-errors.md) |
|
|
293
293
|
| 认证与多订阅 | [authentication.md](skills/monkeys-auth/references/authentication.md) |
|
|
294
294
|
| Workflow、Execution 与文件 | [workflow-execution-files.md](skills/monkeys-workflow/references/workflow-execution-files.md) |
|
|
295
295
|
| Agent Work | [agent-work.md](skills/monkeys-agent-work/references/agent-work.md) |
|
|
296
296
|
| Data 读取与视角 | [data-read.md](skills/monkeys-data/references/data-read.md) · [data-perspective.md](skills/monkeys-data/references/data-perspective.md) |
|
|
297
297
|
| Data 写入与迁移 | [data-write.md](skills/monkeys-data/references/data-write.md) · [data-transfer.md](skills/monkeys-data/references/data-transfer.md) |
|
|
298
|
-
| System Config | [system-config.md](skills/monkeys-system-config/references/system-config.md)
|
|
299
|
-
| OpenAPI 降级 | [fallback.md](skills/monkeys-openapi/references/fallback.md)
|
|
298
|
+
| System Config | [system-config.md](skills/monkeys-system-config/references/system-config.md) |
|
|
299
|
+
| OpenAPI 降级 | [fallback.md](skills/monkeys-openapi/references/fallback.md) |
|
|
300
300
|
|
|
301
301
|
## 安全与风险提示(使用前必读)
|
|
302
302
|
|
|
@@ -337,7 +337,6 @@ bun run verify
|
|
|
337
337
|
|
|
338
338
|
本项目仅按 [GNU General Public License v3.0](LICENSE)(`GPL-3.0-only`)授权。
|
|
339
339
|
|
|
340
|
-
|
|
341
340
|
## 声明式页面与导航
|
|
342
341
|
|
|
343
342
|
```bash
|
|
@@ -352,12 +351,16 @@ monkeys page history example.page --subscription test --release-slot <slot-id>
|
|
|
352
351
|
monkeys page rollback example.page --subscription test --release-slot <slot-id> --release-version 1 --dry-run
|
|
353
352
|
```
|
|
354
353
|
|
|
355
|
-
`page` 和 `navigation` 都支持 `list`、`get`、`export`、`import`、`validate`、`publish`、`history`、`rollback`。JSON 使用共享契约,归属、权限及发布规则由后端负责。`import` 只保存草稿,`publish`
|
|
354
|
+
`page` 和 `navigation` 都支持 `list`、`get`、`export`、`import`、`validate`、`publish`、`verify`、`history`、`rollback`。JSON 使用共享契约,归属、权限及发布规则由后端负责。`import` 只保存草稿,`publish` 编译并发布,再核对持久化版本与产物;只有指定 `--verify-runtime` 才验证访问上下文。导出不会覆盖现有文件。
|
|
356
355
|
|
|
357
356
|
文件预检查不保存草稿、不分配命名空间。首次使用 Kernel 时会明确提示初始化尚未完成,实际保存前再次检查依赖。文件发布分为保存草稿和发布两个阶段;部分失败时请保留 `savedDraftRevisionRef` 并查看失败阶段。写入结果未知时不会自动重试。
|
|
358
357
|
|
|
359
|
-
|
|
358
|
+
页面管理默认使用当前租户的全局发布空间;`--team 0` 同样表示全局,其他显式 `--team <id>` 只选择该授权团队。订阅默认 Team 不改变发布目标。全局页面共享定义,业务查询与操作保留访问者的团队身份。团队专属路由优先于普通全局路由,保留系统路由与显式禁用规则继续生效。目标不唯一时,使用 `--surface`、`--environment`、`--placement`、`--route-index` 或 `--release-slot` 选择。禁止重写外部租户归属和不可变版本引用,不会隐式安装缺失依赖。页面和导航分别发布,不承诺跨作用域原子提交。
|
|
359
|
+
|
|
360
|
+
需要后端发布核验接口及匹配的 SDK 合同;CLI 在写入前核对支持情况。SDK 尚未发布时,可构建本地 SDK 安装包,并通过 `MONKEYS_TEST_SDK_TARBALL=/absolute/path/to/sdk.tgz bun run verify` 验证 CLI 安装产物。发布顺序为 SDK、后端、CLI。
|
|
361
|
+
|
|
362
|
+
`page verify <id> --release-slot <slot> --release-version <version>` 只读核验精确版本,不发布、不重编译、不修复投影;导航提供同样的命令。`--verify-runtime --runtime-team <id> --runtime-path <实际路径>` 验证访问上下文,动态路径必须填入真实参数。`--wait <秒数>` 最多等待 60 秒,只轮询可重试的读取。`publicationVerified` 表示持久化完整性,`verified` 仅在访问解析也成功时为 true,两者均不代表浏览器交互或业务查询已验收。
|
|
360
363
|
|
|
361
|
-
|
|
364
|
+
核验失败仍保留 `publication: committed`、版本引用和具体诊断,并返回部分成功退出码。写入结果未知时保留原幂等键、发布槽位和候选版本,可传给 `verify --idempotency-key <key>` 对账;查不到记录不能证明写入失败,禁止盲目重发。被替换或停用的版本单独报告。
|
|
362
365
|
|
|
363
366
|
Agent 操作说明:[monkeys-pages](skills/monkeys-pages/SKILL.md)。
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"metadata.d.ts","sourceRoot":"","sources":["../../src/command/metadata.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAEnD,MAAM,WAAW,eAAe;IAC9B,gBAAgB,EAAE,aAAa,GAAG,MAAM,GAAG,UAAU,GAAG,SAAS,CAAC;IAClE,uBAAuB,EAAE,SAAS,GAAG,QAAQ,GAAG,MAAM,CAAC;IACvD,oBAAoB,EAAE,OAAO,CAAC;IAC9B,MAAM,EAAE,QAAQ,GAAG,MAAM,CAAC;IAC1B,IAAI,EAAE,SAAS,CAAC;CACjB;
|
|
1
|
+
{"version":3,"file":"metadata.d.ts","sourceRoot":"","sources":["../../src/command/metadata.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAEnD,MAAM,WAAW,eAAe;IAC9B,gBAAgB,EAAE,aAAa,GAAG,MAAM,GAAG,UAAU,GAAG,SAAS,CAAC;IAClE,uBAAuB,EAAE,SAAS,GAAG,QAAQ,GAAG,MAAM,CAAC;IACvD,oBAAoB,EAAE,OAAO,CAAC;IAC9B,MAAM,EAAE,QAAQ,GAAG,MAAM,CAAC;IAC1B,IAAI,EAAE,SAAS,CAAC;CACjB;AAqLD,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,MAAM,GAAG,eAAe,CAiCnE"}
|
package/dist/command/metadata.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"metadata.js","sourceRoot":"","sources":["../../src/command/metadata.ts"],"names":[],"mappings":"AAUA,MAAM,kBAAkB,GAAG;IACzB,gBAAgB;IAChB,mBAAmB;IACnB,kBAAkB;IAClB,qBAAqB;IACrB,cAAc;IACd,cAAc;IACd,cAAc;IACd,sBAAsB;CACvB,CAAC;AAEF,MAAM,uBAAuB,GAAG,IAAI,GAAG,CAAC;IACtC,uBAAuB;IACvB,4BAA4B;IAC5B,qBAAqB;IACrB,0BAA0B;IAC1B,+BAA+B;IAC/B,+BAA+B;IAC/B,GAAG,kBAAkB;IACrB,aAAa;IACb,cAAc;IACd,eAAe;IACf,iBAAiB;IACjB,mBAAmB;IACnB,oBAAoB;IACpB,qBAAqB;IACrB,uBAAuB;IACvB,cAAc;IACd,YAAY;IACZ,yBAAyB;IACzB,6BAA6B;IAC7B,mBAAmB;IACnB,sBAAsB;IACtB,iBAAiB;IACjB,iBAAiB;IACjB,iBAAiB;IACjB,iBAAiB;IACjB,QAAQ;IACR,SAAS;CACV,CAAC,CAAC;AAEH,MAAM,UAAU,GAAG,IAAI,GAAG,CAAC;IACzB,OAAO;IACP,SAAS;IACT,UAAU;IACV,QAAQ;IACR,QAAQ;IACR,KAAK;IACL,SAAS;IACT,MAAM;IACN,UAAU;IACV,MAAM;IACN,QAAQ;IACR,QAAQ;IACR,MAAM;IACN,QAAQ;IACR,MAAM;IACN,UAAU;IACV,SAAS;IACT,MAAM;IACN,OAAO;IACP,QAAQ;CACT,CAAC,CAAC;AACH,MAAM,aAAa,GAAG,IAAI,GAAG,CAAC;IAC5B,sBAAsB;IACtB,oCAAoC;IACpC,wCAAwC;IACxC,6BAA6B;CAC9B,CAAC,CAAC;AAEH,MAAM,mBAAmB,GAAG,CAAC,YAAY,EAAE,aAAa,EAAE,kBAAkB,EAAE,qBAAqB,CAAC,CAAC;AACrG,MAAM,mBAAmB,GAAG,IAAI,GAAG,CAAC,CAAC,qBAAqB,CAAC,C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CAAC,+BAA+B,CAAC,GAAG,CAAC,UAAU,CAAC;YAC/C,CAAC,CAAC,aAAa;YACf,CAAC,CAAC,4BAA4B,CAAC,GAAG,CAAC,UAAU,CAAC,IAAI,IAAI,KAAK,YAAY,IAAI,IAAI,KAAK,aAAa,IAAI,IAAI,KAAK,YAAY;gBACxH,CAAC,CAAC,UAAU;gBACZ,CAAC,CAAC,MAAM,CAAC;IACjB,MAAM,uBAAuB,GAC3B,4BAA4B,CAAC,GAAG,CAAC,UAAU,CAAC,IAAI,+BAA+B,CAAC,GAAG,CAAC,UAAU,CAAC,IAAI,UAAU,KAAK,UAAU;QAC1H,CAAC,CAAC,QAAQ;QACV,CAAC,CAAC,gBAAgB,KAAK,UAAU;YAC/B,CAAC,CAAC,SAAS;YACX,CAAC,CAAC,MAAM,CAAC;IAEf,OAAO;QACL,uBAAuB;QACvB,gBAAgB;QAChB,oBAAoB,EAAE,gBAAgB,KAAK,UAAU;QACrD,MAAM,EAAE,uBAAuB,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM;QACnE,IAAI;KACL,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inspect.d.ts","sourceRoot":"","sources":["../../../../src/commands/data/asset/inspect.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAmB,MAAM,kCAAkC,CAAC;AAMjF,MAAM,CAAC,OAAO,OAAO,gBAAiB,SAAQ,YAAY;IACxD,OAAgB,WAAW,
|
|
1
|
+
{"version":3,"file":"inspect.d.ts","sourceRoot":"","sources":["../../../../src/commands/data/asset/inspect.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAmB,MAAM,kCAAkC,CAAC;AAMjF,MAAM,CAAC,OAAO,OAAO,gBAAiB,SAAQ,YAAY;IACxD,OAAgB,WAAW,SACmN;IAC9O,OAAgB,KAAK;;;;;;;;;;;;MAiBnB;IACI,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC,CAiBzB;CACF"}
|
|
@@ -5,7 +5,7 @@ import { dataMeta, loadDataRuntime } from '../../../data/command.js';
|
|
|
5
5
|
import { dataResourceTeamFlags, prepareOntologyReadRuntime } from '../../../data/resource-locator.js';
|
|
6
6
|
import { createDataScope, dataScopeFlags, dataScopeInput, requireDataScopeInput } from '../../../data/scope.js';
|
|
7
7
|
export default class DataAssetInspect extends LocalCommand {
|
|
8
|
-
static description = 'Batch-read fields and relations for exact candidate Asset IDs
|
|
8
|
+
static description = 'Batch-read fields and relations for exact candidate Asset IDs. Empty values do not mean missing media: use data asset get for primaryContent/media or data asset media download for the file. Related assets are not recursively fetched.';
|
|
9
9
|
static flags = {
|
|
10
10
|
...dataScopeFlags,
|
|
11
11
|
...dataResourceTeamFlags,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inspect.js","sourceRoot":"","sources":["../../../../src/commands/data/asset/inspect.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACjF,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AACjF,OAAO,EAAE,QAAQ,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AACrE,OAAO,EAAE,qBAAqB,EAAE,0BAA0B,EAAE,MAAM,mCAAmC,CAAC;AACtG,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,cAAc,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AAEhH,MAAM,CAAC,OAAO,OAAO,gBAAiB,SAAQ,YAAY;IACxD,MAAM,CAAU,WAAW,GACzB,
|
|
1
|
+
{"version":3,"file":"inspect.js","sourceRoot":"","sources":["../../../../src/commands/data/asset/inspect.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC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default class NavigationDeactivate extends LocalCommand {
|
|
|
7
7
|
static flags = {
|
|
8
8
|
output: localOutputFlag,
|
|
9
9
|
subscription: Flags.string({ required: true, summary: 'Target Subscription name' }),
|
|
10
|
-
team: Flags.string({ summary: '
|
|
10
|
+
team: Flags.string({ summary: 'Business Team context; Navigation ownership is global' }),
|
|
11
11
|
surface: Flags.string({ options: ['kernel', 'studio'], summary: 'Product surface' }),
|
|
12
12
|
'release-slot': Flags.string({ required: true, summary: 'Exact active release slot to deactivate' }),
|
|
13
13
|
'dry-run': Flags.boolean({ default: false, summary: 'Inspect the exact release without changing it' }),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deactivate.js","sourceRoot":"","sources":["../../../src/commands/navigation/deactivate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAC9E,OAAO,EAAE,2BAA2B,EAAE,MAAM,iCAAiC,CAAC;AAE9E,MAAM,CAAC,OAAO,OAAO,oBAAqB,SAAQ,YAAY;IAC5D,MAAM,CAAU,WAAW,GAAG,sFAAsF,CAAC;IACrH,MAAM,CAAU,IAAI,GAAG,EAAE,EAAE,EAAE,IAAI,CAAC,MAAM,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,WAAW,EAAE,2BAA2B,EAAE,CAAC,EAAE,CAAC;IACzG,MAAM,CAAU,KAAK,GAAG;QACtB,MAAM,EAAE,eAAe;QACvB,YAAY,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,0BAA0B,EAAE,CAAC;QACnF,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"deactivate.js","sourceRoot":"","sources":["../../../src/commands/navigation/deactivate.ts"],"names":[],"mappings":"AAAA,OAAO,EA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IAAI,CAAC,uBAAuB,EAAE,KAAK,CAAC,MAAM,EAAE,GAAG,EAAE,CAC1D,2BAA2B,CAAC;YAC1B,EAAE,EAAE,IAAI,CAAC,EAAE;YACX,YAAY,EAAE,KAAK,CAAC,YAAY;YAChC,WAAW,EAAE,KAAK,CAAC,cAAc,CAAC;YAClC,GAAG,CAAC,KAAK,CAAC,OAAO,KAAK,QAAQ,IAAI,KAAK,CAAC,OAAO,KAAK,QAAQ,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,KAAK,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;YAC/F,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;YAC3C,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;YACjD,MAAM,EAAE,KAAK,CAAC,SAAS,CAAC;YACxB,GAAG,EAAE,KAAK,CAAC,GAAG;SACf,CAAC,CACH,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"verify.d.ts","sourceRoot":"","sources":["../../../src/commands/navigation/verify.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"verify.js","sourceRoot":"","sources":["../../../src/commands/navigation/verify.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AAClE,eAAe,kBAAkB,CAAC,YAAY,EAAE,QAAQ,CAAC,CAAC"}
|
|
@@ -7,7 +7,7 @@ export default class PageDeactivate extends LocalCommand {
|
|
|
7
7
|
static flags = {
|
|
8
8
|
output: localOutputFlag,
|
|
9
9
|
subscription: Flags.string({ required: true, summary: 'Target Subscription name' }),
|
|
10
|
-
team: Flags.string({ summary: '
|
|
10
|
+
team: Flags.string({ summary: 'Publication Team; omitted or 0 selects the global scope' }),
|
|
11
11
|
surface: Flags.string({ options: ['kernel', 'studio'], summary: 'Product surface' }),
|
|
12
12
|
'release-slot': Flags.string({ required: true, summary: 'Exact active release slot to deactivate' }),
|
|
13
13
|
'dry-run': Flags.boolean({ default: false, summary: 'Inspect the exact release without changing it' }),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deactivate.js","sourceRoot":"","sources":["../../../src/commands/page/deactivate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAC9E,OAAO,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AAExE,MAAM,CAAC,OAAO,OAAO,cAAe,SAAQ,YAAY;IACtD,MAAM,CAAU,WAAW,GAAG,uFAAuF,CAAC;IACtH,MAAM,CAAU,IAAI,GAAG,EAAE,EAAE,EAAE,IAAI,CAAC,MAAM,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,WAAW,EAAE,qBAAqB,EAAE,CAAC,EAAE,CAAC;IACnG,MAAM,CAAU,KAAK,GAAG;QACtB,MAAM,EAAE,eAAe;QACvB,YAAY,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,0BAA0B,EAAE,CAAC;QACnF,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"deactivate.js","sourceRoot":"","sources":["../../../src/commands/page/deactivate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAC9E,OAAO,EAAE,qBAA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CAAC,YAAY;YAChC,WAAW,EAAE,KAAK,CAAC,cAAc,CAAC;YAClC,GAAG,CAAC,KAAK,CAAC,OAAO,KAAK,QAAQ,IAAI,KAAK,CAAC,OAAO,KAAK,QAAQ,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,KAAK,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;YAC/F,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;YAC3C,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;YACjD,MAAM,EAAE,KAAK,CAAC,SAAS,CAAC;YACxB,GAAG,EAAE,KAAK,CAAC,GAAG;SACf,CAAC,CACH,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"verify.d.ts","sourceRoot":"","sources":["../../../src/commands/page/verify.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"verify.js","sourceRoot":"","sources":["../../../src/commands/page/verify.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AAClE,eAAe,kBAAkB,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DeclarativeCommandIntentSchema, DeclarativeDocumentImportIntentSchema, DeclarativeDocumentImportRequestSchema, DeclarativePublicationJobManifestSchema, DeclarativeRuntimeBindingQueryIntentSchema } from '@inf-monkeys-tech/monkeys/contracts';
|
|
1
|
+
import { DeclarativePublicationVerificationRequestSchema, type DeclarativePublicationScope, DeclarativeCommandIntentSchema, DeclarativeDocumentImportIntentSchema, DeclarativeDocumentImportRequestSchema, DeclarativePublicationJobManifestSchema, DeclarativeRuntimeBindingQueryIntentSchema } from '@inf-monkeys-tech/monkeys/contracts';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
import { type SemanticRuntime } from '../semantic/runtime.js';
|
|
4
4
|
import type { HttpRequest } from '../transport/types.js';
|
|
@@ -7,7 +7,90 @@ type Query = NonNullable<HttpRequest['query']>;
|
|
|
7
7
|
export declare class DeclarativeClient {
|
|
8
8
|
readonly runtime: SemanticRuntime;
|
|
9
9
|
readonly kind: Kind;
|
|
10
|
-
|
|
10
|
+
readonly scope: DeclarativePublicationScope;
|
|
11
|
+
readonly surface?: 'studio' | 'kernel' | undefined;
|
|
12
|
+
constructor(runtime: SemanticRuntime, kind: Kind, scope?: DeclarativePublicationScope, surface?: 'studio' | 'kernel' | undefined);
|
|
13
|
+
assertPublicationSupport(): void;
|
|
14
|
+
verify(input: z.input<typeof DeclarativePublicationVerificationRequestSchema>, timeoutMs?: number): Promise<{
|
|
15
|
+
contract: "DeclarativePublicationVerification";
|
|
16
|
+
schemaVersion: 1;
|
|
17
|
+
resourceKind: "navigation" | "page" | "workbench";
|
|
18
|
+
resourceId: string;
|
|
19
|
+
scope: {
|
|
20
|
+
kind: "global";
|
|
21
|
+
} | {
|
|
22
|
+
kind: "team";
|
|
23
|
+
teamId: string;
|
|
24
|
+
};
|
|
25
|
+
publication: "committed" | "unknown";
|
|
26
|
+
activation: "active" | "deactivated" | "superseded" | "unavailable";
|
|
27
|
+
integrity: "failed" | "unverified" | "verified";
|
|
28
|
+
runtime: "context-required" | "failed" | "forbidden" | "not-requested" | "verified";
|
|
29
|
+
retryable: boolean;
|
|
30
|
+
releaseRevisionRef?: {
|
|
31
|
+
revision: number;
|
|
32
|
+
schemaVersion: number;
|
|
33
|
+
contentHash: string;
|
|
34
|
+
kind: string;
|
|
35
|
+
id: string;
|
|
36
|
+
ownerRepo: string;
|
|
37
|
+
visibility: "global" | "public" | "tenant";
|
|
38
|
+
tenantScope?: {
|
|
39
|
+
tenantRef: {
|
|
40
|
+
kind: string;
|
|
41
|
+
id: string;
|
|
42
|
+
ownerRepo: string;
|
|
43
|
+
};
|
|
44
|
+
dataSpaceRef: {
|
|
45
|
+
kind: string;
|
|
46
|
+
id: string;
|
|
47
|
+
ownerRepo: string;
|
|
48
|
+
};
|
|
49
|
+
teamRef?: {
|
|
50
|
+
kind: string;
|
|
51
|
+
id: string;
|
|
52
|
+
ownerRepo: string;
|
|
53
|
+
} | undefined;
|
|
54
|
+
} | undefined;
|
|
55
|
+
} | undefined;
|
|
56
|
+
definitionRevisionRef?: {
|
|
57
|
+
revision: number;
|
|
58
|
+
schemaVersion: number;
|
|
59
|
+
contentHash: string;
|
|
60
|
+
kind: string;
|
|
61
|
+
id: string;
|
|
62
|
+
ownerRepo: string;
|
|
63
|
+
visibility: "global" | "public" | "tenant";
|
|
64
|
+
tenantScope?: {
|
|
65
|
+
tenantRef: {
|
|
66
|
+
kind: string;
|
|
67
|
+
id: string;
|
|
68
|
+
ownerRepo: string;
|
|
69
|
+
};
|
|
70
|
+
dataSpaceRef: {
|
|
71
|
+
kind: string;
|
|
72
|
+
id: string;
|
|
73
|
+
ownerRepo: string;
|
|
74
|
+
};
|
|
75
|
+
teamRef?: {
|
|
76
|
+
kind: string;
|
|
77
|
+
id: string;
|
|
78
|
+
ownerRepo: string;
|
|
79
|
+
} | undefined;
|
|
80
|
+
} | undefined;
|
|
81
|
+
} | undefined;
|
|
82
|
+
runtimeContentHash?: string | undefined;
|
|
83
|
+
requestId?: string | undefined;
|
|
84
|
+
diagnostics: {
|
|
85
|
+
code: string;
|
|
86
|
+
stage?: "contract" | "document" | "policy" | "reference" | "runtime" | undefined;
|
|
87
|
+
severity?: "error" | "info" | "warning" | undefined;
|
|
88
|
+
blocking?: boolean | undefined;
|
|
89
|
+
path: string;
|
|
90
|
+
message: string;
|
|
91
|
+
recovery?: string[] | undefined;
|
|
92
|
+
}[];
|
|
93
|
+
}>;
|
|
11
94
|
private call;
|
|
12
95
|
list(query: Query): Promise<{
|
|
13
96
|
items: {
|