@yansirplus/cli 0.5.17 → 0.5.18
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 +12 -6
- package/agent-catalog/agentOS/SKILL.md +22 -0
- package/agent-catalog/agentOS/references/agent/decision-graph.json +530 -0
- package/agent-catalog/agentOS/references/agent/errors.json +497 -0
- package/agent-catalog/agentOS/references/agent/invariant-matrix.json +337 -0
- package/agent-catalog/agentOS/references/agent/primitives.json +989 -0
- package/agent-catalog/agentOS/references/agent/recipes.json +109 -0
- package/agent-catalog/agentOS/references/agent/start-here.md +25 -0
- package/agent-catalog/agentOS/references/package-map.md +72 -0
- package/agent-catalog/agentOS/references/provenance.json +251 -0
- package/agent-catalog/agentOS/references/public-api/cli.md +20 -0
- package/agent-catalog/agentOS/references/public-api/client.md +88 -0
- package/agent-catalog/agentOS/references/public-api/core.md +1817 -0
- package/agent-catalog/agentOS/references/public-api/runtime.md +794 -0
- package/dist/build/agent-authoring/config.d.ts +20 -5
- package/dist/build/agent-authoring/config.js +132 -32
- package/dist/build/agent-authoring/manifest-compiler.d.ts +131 -2
- package/dist/build/agent-authoring/manifest-compiler.js +630 -8
- package/dist/build/agent-authoring/shared.d.ts +2 -0
- package/dist/build/agent-authoring/shared.js +2 -0
- package/dist/build/agent-authoring/static-target.d.ts +6 -3
- package/dist/build/agent-authoring/static-target.js +1807 -286
- package/dist/build/agent-authoring.d.ts +3 -3
- package/dist/build/agent-authoring.js +1 -1
- package/dist/build/build-cli.d.ts +1 -1
- package/dist/build/build-cli.js +1614 -26
- package/dist/check/algorithmic/client-boundary-checks.mjs +3 -34
- package/dist/check/algorithmic/convergence-smoke-checks.mjs +652 -6
- package/dist/check/algorithmic/distribution-checks.mjs +8 -7
- package/dist/check/algorithmic/package-boundary-checks.mjs +3 -2
- package/dist/check/algorithmic/repo-surface-checks.mjs +55 -1
- package/dist/check/algorithmic/static-target-checks.mjs +83 -5
- package/dist/check/algorithmic-checks.mjs +10 -17
- package/dist/check/default-gate.mjs +3 -3
- package/dist/check/effect-scan-gate.mjs +121 -0
- package/dist/check/package-graph.mjs +2 -32
- package/dist/consumer-overlay.mjs +802 -0
- package/dist/lib/public-api-model.mjs +19 -0
- package/dist/lib/repo-source-files.mjs +26 -0
- package/dist/lib/ts-module-loader.mjs +44 -0
- package/dist/lib/workspace-manifest.mjs +77 -0
- package/dist/main.mjs +151 -21
- package/package.json +8 -4
- package/dist/check/check-coverage.mjs +0 -231
- package/dist/generate/generate-agent-docs.mjs +0 -435
- package/dist/generate/generate-carrier-reference.mjs +0 -514
- package/dist/generate/generate-docs.mjs +0 -345
- package/dist/generate/generate-effect-skill-manifests.mjs +0 -193
- package/dist/generate/project-docs-site.mjs +0 -190
- package/dist/lib/boundary-rules.mjs +0 -63
- package/dist/lib/capability-routes.mjs +0 -354
- package/dist/lib/projection-sink.mjs +0 -113
|
@@ -0,0 +1,989 @@
|
|
|
1
|
+
{
|
|
2
|
+
"generatedBy": "packages/cli/src/generate/generate-agent-docs.mjs",
|
|
3
|
+
"source": [
|
|
4
|
+
"exported TSDoc @agentosPrimitive tags",
|
|
5
|
+
"docs/agent/invariants.source.json",
|
|
6
|
+
"docs/agent/primitive-evidence.source.json"
|
|
7
|
+
],
|
|
8
|
+
"primitives": [
|
|
9
|
+
{
|
|
10
|
+
"id": "primitive.ag-ui.projectLedgerEventToAgUiEnvelope",
|
|
11
|
+
"package": "@agent-os/runtime",
|
|
12
|
+
"packagePath": "packages/runtime",
|
|
13
|
+
"entrypoints": ["./ag-ui"],
|
|
14
|
+
"symbol": "projectLedgerEventToAgUiEnvelope",
|
|
15
|
+
"exportKey": "./ag-ui:projectLedgerEventToAgUiEnvelope",
|
|
16
|
+
"sourceFile": "packages/runtime/src/ag-ui.ts",
|
|
17
|
+
"summary": "Projects one typed ledger event into a browser-safe AG-UI envelope.",
|
|
18
|
+
"aliases": [],
|
|
19
|
+
"invariants": ["invariant.boundary.owner-owned-safe-projection"],
|
|
20
|
+
"docs": "docs/concepts/ag-ui-wire-adapter.md",
|
|
21
|
+
"capabilityKind": "projection",
|
|
22
|
+
"testEvidence": {
|
|
23
|
+
"tests": ["packages/runtime/test/cloudflare/workspace-host-helpers.test.ts"]
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"id": "primitive.ag-ui.projectLedgerSseToAgUiSse",
|
|
28
|
+
"package": "@agent-os/runtime",
|
|
29
|
+
"packagePath": "packages/runtime",
|
|
30
|
+
"entrypoints": ["./ag-ui"],
|
|
31
|
+
"symbol": "projectLedgerSseToAgUiSse",
|
|
32
|
+
"exportKey": "./ag-ui:projectLedgerSseToAgUiSse",
|
|
33
|
+
"sourceFile": "packages/runtime/src/ag-ui.ts",
|
|
34
|
+
"summary": "Transports ledger SSE events as AG-UI SSE envelopes.",
|
|
35
|
+
"aliases": [],
|
|
36
|
+
"invariants": ["invariant.boundary.owner-owned-safe-projection"],
|
|
37
|
+
"docs": "docs/concepts/ag-ui-wire-adapter.md",
|
|
38
|
+
"capabilityKind": "projection",
|
|
39
|
+
"testEvidence": {
|
|
40
|
+
"tests": ["packages/runtime/test/cloudflare/workspace-host-helpers.test.ts"]
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"id": "primitive.agent-authoring.compileAgentTree",
|
|
45
|
+
"package": "@agent-os/cli",
|
|
46
|
+
"packagePath": "packages/cli",
|
|
47
|
+
"entrypoints": ["."],
|
|
48
|
+
"symbol": "compileAgentTree",
|
|
49
|
+
"exportKey": ".:compileAgentTree",
|
|
50
|
+
"sourceFile": "packages/cli/src/index.ts",
|
|
51
|
+
"summary": "Compile an authored `agent/` tree into one normalized manifest plus provenance. Runtime facts and provider material are rejected before they can become manifest truth.",
|
|
52
|
+
"aliases": [],
|
|
53
|
+
"invariants": ["invariant.docs.agent-projection", "invariant.algebra.single-code-source"],
|
|
54
|
+
"docs": "docs/guides/build-natural-language-workspace-agent.md",
|
|
55
|
+
"capabilityKind": "composer",
|
|
56
|
+
"testEvidence": {
|
|
57
|
+
"tests": ["packages/cli/test/build-command.test.mjs"]
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"id": "primitive.agent-authoring.linkWorkspaceStaticTarget",
|
|
62
|
+
"package": "@agent-os/cli",
|
|
63
|
+
"packagePath": "packages/cli",
|
|
64
|
+
"entrypoints": ["."],
|
|
65
|
+
"symbol": "linkWorkspaceStaticTarget",
|
|
66
|
+
"exportKey": ".:linkWorkspaceStaticTarget",
|
|
67
|
+
"sourceFile": "packages/cli/src/index.ts",
|
|
68
|
+
"summary": "Link normalized workspace authoring intent to a closed-target residual program. Implementation wiring is static imports and factory composition; manifest and deployment JSON remain semantic/provenance data only.",
|
|
69
|
+
"aliases": [],
|
|
70
|
+
"invariants": ["invariant.docs.agent-projection", "invariant.algebra.single-code-source"],
|
|
71
|
+
"docs": "docs/guides/build-natural-language-workspace-agent.md",
|
|
72
|
+
"capabilityKind": "composer",
|
|
73
|
+
"testEvidence": {
|
|
74
|
+
"tests": ["packages/cli/test/build-command.test.mjs"]
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"id": "primitive.cloudflare-do.createCloudflareLedgerAgUiHistorySseResponse",
|
|
79
|
+
"package": "@agent-os/runtime",
|
|
80
|
+
"packagePath": "packages/runtime",
|
|
81
|
+
"entrypoints": ["./cloudflare"],
|
|
82
|
+
"symbol": "createCloudflareLedgerAgUiHistorySseResponse",
|
|
83
|
+
"exportKey": "./cloudflare:createCloudflareLedgerAgUiHistorySseResponse",
|
|
84
|
+
"sourceFile": "packages/runtime/src/cloudflare/ag-ui-sse.ts",
|
|
85
|
+
"summary": "Cloudflare host composition for historical ledger rows -> AG-UI SSE. Raw ledger history remains the truth source; this function only materializes a transport response from a supplied snapshot.",
|
|
86
|
+
"aliases": [],
|
|
87
|
+
"invariants": ["invariant.ag-ui.sse-axis"],
|
|
88
|
+
"docs": "docs/packages/runtime.md",
|
|
89
|
+
"capabilityKind": "facade",
|
|
90
|
+
"testEvidence": {
|
|
91
|
+
"tests": ["packages/runtime/test/cloudflare/workspace-host-helpers.test.ts"]
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"id": "primitive.cloudflare-do.createCloudflareLedgerAgUiSseResponse",
|
|
96
|
+
"package": "@agent-os/runtime",
|
|
97
|
+
"packagePath": "packages/runtime",
|
|
98
|
+
"entrypoints": ["./cloudflare"],
|
|
99
|
+
"symbol": "createCloudflareLedgerAgUiSseResponse",
|
|
100
|
+
"exportKey": "./cloudflare:createCloudflareLedgerAgUiSseResponse",
|
|
101
|
+
"sourceFile": "packages/runtime/src/cloudflare/ag-ui-sse.ts",
|
|
102
|
+
"summary": "Cloudflare host composition for live ledger SSE -> AG-UI SSE. This helper is host-agnostic internally: it only composes the AG-UI projection with the Web Fetch SSE response wrapper. It intentionally lives in cloudflare-do for v1 to avoid a one-consumer transport package. If a second host needs the same helper, move the body to `transports/ag-ui-sse` and leave this export as a thin re-export.",
|
|
103
|
+
"aliases": [],
|
|
104
|
+
"invariants": ["invariant.ag-ui.sse-axis"],
|
|
105
|
+
"docs": "docs/packages/runtime.md",
|
|
106
|
+
"capabilityKind": "facade",
|
|
107
|
+
"testEvidence": {
|
|
108
|
+
"tests": ["packages/runtime/test/cloudflare/workspace-host-helpers.test.ts"]
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"id": "primitive.cloudflare-do.createCloudflareWorkspaceJobResponse",
|
|
113
|
+
"package": "@agent-os/runtime",
|
|
114
|
+
"packagePath": "packages/runtime",
|
|
115
|
+
"entrypoints": ["./cloudflare"],
|
|
116
|
+
"symbol": "createCloudflareWorkspaceJobResponse",
|
|
117
|
+
"exportKey": "./cloudflare:createCloudflareWorkspaceJobResponse",
|
|
118
|
+
"sourceFile": "packages/runtime/src/cloudflare/workspace-job-facade.ts",
|
|
119
|
+
"summary": "Cloudflare host response facade for workspace jobs. The helper owns only HTTP timing semantics: `Prefer: respond-async`, quick wait, and JSON response materialization. It never stores results or idempotency state; response bodies are read from the supplied `workspace_job.result` projection reader. The host supplies the quick-wait clock port because this package's shared helper must not own timer runtime.",
|
|
120
|
+
"aliases": [],
|
|
121
|
+
"invariants": ["invariant.workspace-job.verified-terminal"],
|
|
122
|
+
"docs": "docs/packages/runtime.md",
|
|
123
|
+
"capabilityKind": "facade",
|
|
124
|
+
"testEvidence": {
|
|
125
|
+
"tests": ["packages/runtime/test/cloudflare/workspace-host-helpers.test.ts"]
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"id": "primitive.kernel.AgentSchema",
|
|
130
|
+
"package": "@agent-os/core",
|
|
131
|
+
"packagePath": "packages/core",
|
|
132
|
+
"entrypoints": [".", "./agent-schema"],
|
|
133
|
+
"symbol": "AgentSchema",
|
|
134
|
+
"exportKey": ".:AgentSchema",
|
|
135
|
+
"sourceFile": "packages/core/src/agent-schema.ts",
|
|
136
|
+
"summary": "Agent-facing schema wrapper derived from one Effect Schema source.",
|
|
137
|
+
"aliases": [],
|
|
138
|
+
"invariants": ["invariant.algebra.single-code-source"],
|
|
139
|
+
"docs": "docs/concepts/agent-schema.md",
|
|
140
|
+
"capabilityKind": "kernel",
|
|
141
|
+
"testEvidence": {
|
|
142
|
+
"tests": ["packages/core/test/kernel/agent-schema.test.ts"]
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"id": "primitive.kernel.AgentSchemaProjections",
|
|
147
|
+
"package": "@agent-os/core",
|
|
148
|
+
"packagePath": "packages/core",
|
|
149
|
+
"entrypoints": [".", "./agent-schema"],
|
|
150
|
+
"symbol": "AgentSchemaProjections",
|
|
151
|
+
"exportKey": ".:AgentSchemaProjections",
|
|
152
|
+
"sourceFile": "packages/core/src/agent-schema.ts",
|
|
153
|
+
"summary": "Schema projections derived from AgentSchema.",
|
|
154
|
+
"aliases": [],
|
|
155
|
+
"invariants": ["invariant.algebra.single-code-source"],
|
|
156
|
+
"docs": "docs/concepts/agent-schema.md",
|
|
157
|
+
"capabilityKind": "projection",
|
|
158
|
+
"testEvidence": {
|
|
159
|
+
"tests": ["packages/core/test/kernel/agent-schema.test.ts"]
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"id": "primitive.kernel.AuthorityRef",
|
|
164
|
+
"package": "@agent-os/core",
|
|
165
|
+
"packagePath": "packages/core",
|
|
166
|
+
"entrypoints": [".", "./effect-claim"],
|
|
167
|
+
"symbol": "AuthorityRef",
|
|
168
|
+
"exportKey": ".:AuthorityRef",
|
|
169
|
+
"sourceFile": "packages/core/src/effect-claim.ts",
|
|
170
|
+
"summary": "Effect or capability authority participating in ledger truth identity.",
|
|
171
|
+
"aliases": ["effectAuthorityRef"],
|
|
172
|
+
"invariants": ["invariant.d10.truth-identity"],
|
|
173
|
+
"docs": "docs/concepts/durable-truth.md",
|
|
174
|
+
"capabilityKind": "kernel",
|
|
175
|
+
"testEvidence": {
|
|
176
|
+
"tests": ["packages/core/test/kernel/effect-claim.test.ts"]
|
|
177
|
+
}
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"id": "primitive.kernel.BoundaryContract",
|
|
181
|
+
"package": "@agent-os/core",
|
|
182
|
+
"packagePath": "packages/core",
|
|
183
|
+
"entrypoints": [".", "./boundary-contract"],
|
|
184
|
+
"symbol": "BoundaryContract",
|
|
185
|
+
"exportKey": ".:BoundaryContract",
|
|
186
|
+
"sourceFile": "packages/core/src/boundary-contract.ts",
|
|
187
|
+
"summary": "Five-axis boundary declaration for claim-bearing packages: vocabulary, authority, material, settlement, and projection. Event keys are the vocabulary. Claim slots are event-local so non-claim extension facts do not need to lie as terminal claim events.",
|
|
188
|
+
"aliases": [],
|
|
189
|
+
"invariants": ["invariant.d10.namespace-integrity", "invariant.d10.truth-identity"],
|
|
190
|
+
"docs": "docs/boundary-contract.md",
|
|
191
|
+
"capabilityKind": "kernel",
|
|
192
|
+
"testEvidence": {
|
|
193
|
+
"tests": ["packages/core/test/kernel/boundary-contract.test.ts"]
|
|
194
|
+
}
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"id": "primitive.kernel.BoundaryProjectionContract",
|
|
198
|
+
"package": "@agent-os/core",
|
|
199
|
+
"packagePath": "packages/core",
|
|
200
|
+
"entrypoints": [".", "./boundary-contract"],
|
|
201
|
+
"symbol": "BoundaryProjectionContract",
|
|
202
|
+
"exportKey": ".:BoundaryProjectionContract",
|
|
203
|
+
"sourceFile": "packages/core/src/boundary-contract.ts",
|
|
204
|
+
"summary": "Boundary axis declaring that observable state is derived from ledger facts.",
|
|
205
|
+
"aliases": [],
|
|
206
|
+
"invariants": ["invariant.d10.truth-identity"],
|
|
207
|
+
"docs": "docs/concepts/materialized-projections.md",
|
|
208
|
+
"capabilityKind": "projection",
|
|
209
|
+
"testEvidence": {
|
|
210
|
+
"tests": ["packages/core/test/kernel/boundary-contract.test.ts"]
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"id": "primitive.kernel.defineProductTool",
|
|
215
|
+
"package": "@agent-os/core",
|
|
216
|
+
"packagePath": "packages/core",
|
|
217
|
+
"entrypoints": [".", "./tools"],
|
|
218
|
+
"symbol": "defineProductTool",
|
|
219
|
+
"exportKey": ".:defineProductTool",
|
|
220
|
+
"sourceFile": "packages/core/src/tools.ts",
|
|
221
|
+
"summary": "Defines a product-owned tool with the same Effect-native execution contract as `defineTool`, defaulting to deterministic execution when no domain is required.",
|
|
222
|
+
"aliases": [],
|
|
223
|
+
"invariants": ["invariant.algebra.type-or-boot-proof"],
|
|
224
|
+
"docs": "docs/concepts/tool-execution-domain.md",
|
|
225
|
+
"capabilityKind": "kernel",
|
|
226
|
+
"testEvidence": {
|
|
227
|
+
"tests": ["packages/core/test/kernel/tools.test.ts"]
|
|
228
|
+
}
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"id": "primitive.kernel.EffectAuthorityContract",
|
|
232
|
+
"package": "@agent-os/core",
|
|
233
|
+
"packagePath": "packages/core",
|
|
234
|
+
"entrypoints": [".", "./material-ref"],
|
|
235
|
+
"symbol": "EffectAuthorityContract",
|
|
236
|
+
"exportKey": ".:EffectAuthorityContract",
|
|
237
|
+
"sourceFile": "packages/core/src/material-ref.ts",
|
|
238
|
+
"summary": "Effect authority declaration and its required material slots.",
|
|
239
|
+
"aliases": ["effectAuthorityContract"],
|
|
240
|
+
"invariants": ["invariant.d10.truth-identity"],
|
|
241
|
+
"docs": "docs/boundary-contract.md",
|
|
242
|
+
"capabilityKind": "kernel",
|
|
243
|
+
"testEvidence": {
|
|
244
|
+
"tests": ["packages/core/test/kernel/material-ref.test.ts"]
|
|
245
|
+
}
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
"id": "primitive.kernel.EffectClaim",
|
|
249
|
+
"package": "@agent-os/core",
|
|
250
|
+
"packagePath": "packages/core",
|
|
251
|
+
"entrypoints": [".", "./effect-claim"],
|
|
252
|
+
"symbol": "EffectClaim",
|
|
253
|
+
"exportKey": ".:EffectClaim",
|
|
254
|
+
"sourceFile": "packages/core/src/effect-claim.ts",
|
|
255
|
+
"summary": "Type-proof lifecycle union for pre, lived, rejected, and indeterminate effect claims.",
|
|
256
|
+
"aliases": [],
|
|
257
|
+
"invariants": [
|
|
258
|
+
"invariant.algebra.type-or-boot-proof",
|
|
259
|
+
"invariant.boundary.runtime-validation-external-only"
|
|
260
|
+
],
|
|
261
|
+
"docs": "docs/boundary-contract.md",
|
|
262
|
+
"capabilityKind": "kernel",
|
|
263
|
+
"testEvidence": {
|
|
264
|
+
"tests": ["packages/core/test/kernel/effect-claim.test.ts"]
|
|
265
|
+
}
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"id": "primitive.kernel.ExecutionDomain",
|
|
269
|
+
"package": "@agent-os/core",
|
|
270
|
+
"packagePath": "packages/core",
|
|
271
|
+
"entrypoints": [".", "./tools"],
|
|
272
|
+
"symbol": "ExecutionDomain",
|
|
273
|
+
"exportKey": ".:ExecutionDomain",
|
|
274
|
+
"sourceFile": "packages/core/src/tools.ts",
|
|
275
|
+
"summary": "Declared execution locus for an external tool.",
|
|
276
|
+
"aliases": [],
|
|
277
|
+
"invariants": ["invariant.algebra.type-or-boot-proof"],
|
|
278
|
+
"docs": "docs/concepts/tool-execution-domain.md",
|
|
279
|
+
"capabilityKind": "kernel",
|
|
280
|
+
"testEvidence": {
|
|
281
|
+
"tests": ["packages/core/test/kernel/tools.test.ts"]
|
|
282
|
+
}
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
"id": "primitive.kernel.ExecutionDomainDeclaration",
|
|
286
|
+
"package": "@agent-os/core",
|
|
287
|
+
"packagePath": "packages/core",
|
|
288
|
+
"entrypoints": [".", "./tools"],
|
|
289
|
+
"symbol": "ExecutionDomainDeclaration",
|
|
290
|
+
"exportKey": ".:ExecutionDomainDeclaration",
|
|
291
|
+
"sourceFile": "packages/core/src/tools.ts",
|
|
292
|
+
"summary": "Boot-time execution-domain declaration consumed by registry validation.",
|
|
293
|
+
"aliases": [],
|
|
294
|
+
"invariants": ["invariant.algebra.type-or-boot-proof"],
|
|
295
|
+
"docs": "docs/concepts/tool-execution-domain.md",
|
|
296
|
+
"capabilityKind": "kernel",
|
|
297
|
+
"testEvidence": {
|
|
298
|
+
"tests": ["packages/core/test/kernel/tools.test.ts"]
|
|
299
|
+
}
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"id": "primitive.kernel.ExecutionDomainRegistry",
|
|
303
|
+
"package": "@agent-os/core",
|
|
304
|
+
"packagePath": "packages/core",
|
|
305
|
+
"entrypoints": [".", "./tools"],
|
|
306
|
+
"symbol": "ExecutionDomainRegistry",
|
|
307
|
+
"exportKey": ".:ExecutionDomainRegistry",
|
|
308
|
+
"sourceFile": "packages/core/src/tools.ts",
|
|
309
|
+
"summary": "Boot-proof registry for all external tool execution domains.",
|
|
310
|
+
"aliases": [],
|
|
311
|
+
"invariants": ["invariant.algebra.type-or-boot-proof"],
|
|
312
|
+
"docs": "docs/concepts/tool-execution-domain.md",
|
|
313
|
+
"capabilityKind": "kernel",
|
|
314
|
+
"testEvidence": {
|
|
315
|
+
"tests": ["packages/core/test/kernel/tools.test.ts"]
|
|
316
|
+
}
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
"id": "primitive.kernel.ExecutionDomainReplayLaw",
|
|
320
|
+
"package": "@agent-os/core",
|
|
321
|
+
"packagePath": "packages/core",
|
|
322
|
+
"entrypoints": [".", "./tools"],
|
|
323
|
+
"symbol": "ExecutionDomainReplayLaw",
|
|
324
|
+
"exportKey": ".:ExecutionDomainReplayLaw",
|
|
325
|
+
"sourceFile": "packages/core/src/tools.ts",
|
|
326
|
+
"summary": "Replay witness law for one execution-domain access mode.",
|
|
327
|
+
"aliases": [],
|
|
328
|
+
"invariants": ["invariant.algebra.type-or-boot-proof"],
|
|
329
|
+
"docs": "docs/concepts/tool-execution-domain.md",
|
|
330
|
+
"capabilityKind": "kernel",
|
|
331
|
+
"testEvidence": {
|
|
332
|
+
"tests": ["packages/core/test/kernel/tools.test.ts"]
|
|
333
|
+
}
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
"id": "primitive.kernel.FactOwnerRef",
|
|
337
|
+
"package": "@agent-os/core",
|
|
338
|
+
"packagePath": "packages/core",
|
|
339
|
+
"entrypoints": [".", "./effect-claim"],
|
|
340
|
+
"symbol": "FactOwnerRef",
|
|
341
|
+
"exportKey": ".:FactOwnerRef",
|
|
342
|
+
"sourceFile": "packages/core/src/effect-claim.ts",
|
|
343
|
+
"summary": "Package-owned fact namespace injected by commit boundaries.",
|
|
344
|
+
"aliases": [],
|
|
345
|
+
"invariants": ["invariant.d10.namespace-integrity"],
|
|
346
|
+
"docs": "docs/boundary-contract.md",
|
|
347
|
+
"capabilityKind": "kernel",
|
|
348
|
+
"testEvidence": {
|
|
349
|
+
"tests": ["packages/core/test/kernel/effect-claim.test.ts"]
|
|
350
|
+
}
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
"id": "primitive.kernel.IndeterminateClaim",
|
|
354
|
+
"package": "@agent-os/core",
|
|
355
|
+
"packagePath": "packages/core",
|
|
356
|
+
"entrypoints": [".", "./effect-claim"],
|
|
357
|
+
"symbol": "IndeterminateClaim",
|
|
358
|
+
"exportKey": ".:IndeterminateClaim",
|
|
359
|
+
"sourceFile": "packages/core/src/effect-claim.ts",
|
|
360
|
+
"summary": "Effect claim settled to a non-terminal witness state.",
|
|
361
|
+
"aliases": [],
|
|
362
|
+
"invariants": ["invariant.algebra.type-or-boot-proof"],
|
|
363
|
+
"docs": "docs/boundary-contract.md",
|
|
364
|
+
"capabilityKind": "kernel",
|
|
365
|
+
"testEvidence": {
|
|
366
|
+
"tests": [
|
|
367
|
+
"packages/core/test/kernel/effect-claim.test.ts",
|
|
368
|
+
"packages/core/test/kernel/settlement-contract.test.ts"
|
|
369
|
+
]
|
|
370
|
+
}
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
"id": "primitive.kernel.LedgerEvent",
|
|
374
|
+
"package": "@agent-os/core",
|
|
375
|
+
"packagePath": "packages/core",
|
|
376
|
+
"entrypoints": [".", "./types"],
|
|
377
|
+
"symbol": "LedgerEvent",
|
|
378
|
+
"exportKey": ".:LedgerEvent",
|
|
379
|
+
"sourceFile": "packages/core/src/types.ts",
|
|
380
|
+
"summary": "Canonical durable ledger fact row.",
|
|
381
|
+
"aliases": [],
|
|
382
|
+
"invariants": ["invariant.d10.truth-identity", "invariant.d10.namespace-integrity"],
|
|
383
|
+
"docs": "docs/concepts/durable-truth.md",
|
|
384
|
+
"capabilityKind": "kernel",
|
|
385
|
+
"testEvidence": {
|
|
386
|
+
"tests": ["packages/core/test/runtime-protocol/runtime-events.test.ts"]
|
|
387
|
+
}
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
"id": "primitive.kernel.LivedClaim",
|
|
391
|
+
"package": "@agent-os/core",
|
|
392
|
+
"packagePath": "packages/core",
|
|
393
|
+
"entrypoints": [".", "./effect-claim"],
|
|
394
|
+
"symbol": "LivedClaim",
|
|
395
|
+
"exportKey": ".:LivedClaim",
|
|
396
|
+
"sourceFile": "packages/core/src/effect-claim.ts",
|
|
397
|
+
"summary": "Effect claim settled by one terminal anchor.",
|
|
398
|
+
"aliases": [],
|
|
399
|
+
"invariants": ["invariant.algebra.type-or-boot-proof"],
|
|
400
|
+
"docs": "docs/boundary-contract.md",
|
|
401
|
+
"capabilityKind": "kernel",
|
|
402
|
+
"testEvidence": {
|
|
403
|
+
"tests": ["packages/core/test/kernel/effect-claim.test.ts"]
|
|
404
|
+
}
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
"id": "primitive.kernel.MaterialRef",
|
|
408
|
+
"package": "@agent-os/core",
|
|
409
|
+
"packagePath": "packages/core",
|
|
410
|
+
"entrypoints": [".", "./material-ref"],
|
|
411
|
+
"symbol": "MaterialRef",
|
|
412
|
+
"exportKey": ".:MaterialRef",
|
|
413
|
+
"sourceFile": "packages/core/src/material-ref.ts",
|
|
414
|
+
"summary": "Symbolic material reference kept out of durable claims and browser projections.",
|
|
415
|
+
"aliases": [],
|
|
416
|
+
"invariants": ["invariant.d10.truth-identity"],
|
|
417
|
+
"docs": "docs/concepts/carriers-and-material.md",
|
|
418
|
+
"capabilityKind": "kernel",
|
|
419
|
+
"testEvidence": {
|
|
420
|
+
"tests": ["packages/core/test/kernel/material-ref.test.ts"]
|
|
421
|
+
}
|
|
422
|
+
},
|
|
423
|
+
{
|
|
424
|
+
"id": "primitive.kernel.PreClaim",
|
|
425
|
+
"package": "@agent-os/core",
|
|
426
|
+
"packagePath": "packages/core",
|
|
427
|
+
"entrypoints": [".", "./effect-claim"],
|
|
428
|
+
"symbol": "PreClaim",
|
|
429
|
+
"exportKey": ".:PreClaim",
|
|
430
|
+
"sourceFile": "packages/core/src/effect-claim.ts",
|
|
431
|
+
"summary": "Non-terminal effect claim before admission settles it.",
|
|
432
|
+
"aliases": [],
|
|
433
|
+
"invariants": ["invariant.algebra.type-or-boot-proof"],
|
|
434
|
+
"docs": "docs/boundary-contract.md",
|
|
435
|
+
"capabilityKind": "kernel",
|
|
436
|
+
"testEvidence": {
|
|
437
|
+
"tests": ["packages/core/test/kernel/effect-claim.test.ts"]
|
|
438
|
+
}
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
"id": "primitive.kernel.projectAgentSchema",
|
|
442
|
+
"package": "@agent-os/core",
|
|
443
|
+
"packagePath": "packages/core",
|
|
444
|
+
"entrypoints": [".", "./agent-schema"],
|
|
445
|
+
"symbol": "projectAgentSchema",
|
|
446
|
+
"exportKey": ".:projectAgentSchema",
|
|
447
|
+
"sourceFile": "packages/core/src/agent-schema.ts",
|
|
448
|
+
"summary": "Derives schema projections from one canonical schema.",
|
|
449
|
+
"aliases": [],
|
|
450
|
+
"invariants": ["invariant.algebra.single-code-source"],
|
|
451
|
+
"docs": "docs/concepts/agent-schema.md",
|
|
452
|
+
"capabilityKind": "projection",
|
|
453
|
+
"testEvidence": {
|
|
454
|
+
"tests": ["packages/core/test/kernel/agent-schema.test.ts"]
|
|
455
|
+
}
|
|
456
|
+
},
|
|
457
|
+
{
|
|
458
|
+
"id": "primitive.kernel.RejectedClaim",
|
|
459
|
+
"package": "@agent-os/core",
|
|
460
|
+
"packagePath": "packages/core",
|
|
461
|
+
"entrypoints": [".", "./effect-claim"],
|
|
462
|
+
"symbol": "RejectedClaim",
|
|
463
|
+
"exportKey": ".:RejectedClaim",
|
|
464
|
+
"sourceFile": "packages/core/src/effect-claim.ts",
|
|
465
|
+
"summary": "Effect claim settled by one terminal rejection.",
|
|
466
|
+
"aliases": [],
|
|
467
|
+
"invariants": ["invariant.algebra.type-or-boot-proof"],
|
|
468
|
+
"docs": "docs/boundary-contract.md",
|
|
469
|
+
"capabilityKind": "kernel",
|
|
470
|
+
"testEvidence": {
|
|
471
|
+
"tests": ["packages/core/test/kernel/effect-claim.test.ts"]
|
|
472
|
+
}
|
|
473
|
+
},
|
|
474
|
+
{
|
|
475
|
+
"id": "primitive.kernel.SafeLedgerEvent",
|
|
476
|
+
"package": "@agent-os/core",
|
|
477
|
+
"packagePath": "packages/core",
|
|
478
|
+
"entrypoints": ["."],
|
|
479
|
+
"symbol": "SafeLedgerEvent",
|
|
480
|
+
"exportKey": ".:SafeLedgerEvent",
|
|
481
|
+
"sourceFile": "packages/core/src/safe-ledger-event.ts",
|
|
482
|
+
"summary": "Owner-owned browser read projection for one durable ledger event.",
|
|
483
|
+
"aliases": [],
|
|
484
|
+
"invariants": ["invariant.boundary.owner-owned-safe-projection"],
|
|
485
|
+
"docs": "docs/concepts/durable-truth.md",
|
|
486
|
+
"capabilityKind": "kernel",
|
|
487
|
+
"testEvidence": {
|
|
488
|
+
"tests": [
|
|
489
|
+
"packages/core/test/runtime-protocol/runtime-events.test.ts",
|
|
490
|
+
"packages/runtime/test/cloudflare/workspace-host-helpers.test.ts"
|
|
491
|
+
]
|
|
492
|
+
}
|
|
493
|
+
},
|
|
494
|
+
{
|
|
495
|
+
"id": "primitive.kernel.ScopeRef",
|
|
496
|
+
"package": "@agent-os/core",
|
|
497
|
+
"packagePath": "packages/core",
|
|
498
|
+
"entrypoints": [".", "./effect-claim"],
|
|
499
|
+
"symbol": "ScopeRef",
|
|
500
|
+
"exportKey": ".:ScopeRef",
|
|
501
|
+
"sourceFile": "packages/core/src/effect-claim.ts",
|
|
502
|
+
"summary": "Structured ledger scope identity.",
|
|
503
|
+
"aliases": [],
|
|
504
|
+
"invariants": ["invariant.d10.truth-identity"],
|
|
505
|
+
"docs": "docs/concepts/durable-truth.md",
|
|
506
|
+
"capabilityKind": "kernel",
|
|
507
|
+
"testEvidence": {
|
|
508
|
+
"tests": [
|
|
509
|
+
"packages/core/test/kernel/effect-claim.test.ts",
|
|
510
|
+
"packages/core/test/kernel/runtime-scope.test.ts"
|
|
511
|
+
]
|
|
512
|
+
}
|
|
513
|
+
},
|
|
514
|
+
{
|
|
515
|
+
"id": "primitive.kernel.Tool",
|
|
516
|
+
"package": "@agent-os/core",
|
|
517
|
+
"packagePath": "packages/core",
|
|
518
|
+
"entrypoints": [".", "./tools"],
|
|
519
|
+
"symbol": "Tool",
|
|
520
|
+
"exportKey": ".:Tool",
|
|
521
|
+
"sourceFile": "packages/core/src/tools.ts",
|
|
522
|
+
"summary": "Public app-facing tool definition consumed by submit loops.",
|
|
523
|
+
"aliases": [],
|
|
524
|
+
"invariants": ["invariant.algebra.type-or-boot-proof"],
|
|
525
|
+
"docs": "docs/concepts/tool-execution-domain.md",
|
|
526
|
+
"capabilityKind": "kernel",
|
|
527
|
+
"testEvidence": {
|
|
528
|
+
"tests": ["packages/core/test/kernel/tools.test.ts"]
|
|
529
|
+
}
|
|
530
|
+
},
|
|
531
|
+
{
|
|
532
|
+
"id": "primitive.kernel.ToolAdmitInput",
|
|
533
|
+
"package": "@agent-os/core",
|
|
534
|
+
"packagePath": "packages/core",
|
|
535
|
+
"entrypoints": [".", "./tools"],
|
|
536
|
+
"symbol": "ToolAdmitInput",
|
|
537
|
+
"exportKey": ".:ToolAdmitInput",
|
|
538
|
+
"sourceFile": "packages/core/src/tools.ts",
|
|
539
|
+
"summary": "Input passed to non-LLM tool admission with claim, args, contract, and execution metadata.",
|
|
540
|
+
"aliases": [],
|
|
541
|
+
"invariants": ["invariant.algebra.type-or-boot-proof"],
|
|
542
|
+
"docs": "docs/concepts/tool-execution-domain.md",
|
|
543
|
+
"capabilityKind": "kernel",
|
|
544
|
+
"testEvidence": {
|
|
545
|
+
"tests": ["packages/core/test/kernel/tools.test.ts"]
|
|
546
|
+
}
|
|
547
|
+
},
|
|
548
|
+
{
|
|
549
|
+
"id": "primitive.kernel.ToolContract",
|
|
550
|
+
"package": "@agent-os/core",
|
|
551
|
+
"packagePath": "packages/core",
|
|
552
|
+
"entrypoints": [".", "./tools"],
|
|
553
|
+
"symbol": "ToolContract",
|
|
554
|
+
"exportKey": ".:ToolContract",
|
|
555
|
+
"sourceFile": "packages/core/src/tools.ts",
|
|
556
|
+
"summary": "Admission and authority contract for a tool, excluding execution locus.",
|
|
557
|
+
"aliases": [],
|
|
558
|
+
"invariants": ["invariant.d10.truth-identity"],
|
|
559
|
+
"docs": "docs/concepts/tool-execution-domain.md",
|
|
560
|
+
"capabilityKind": "kernel",
|
|
561
|
+
"testEvidence": {
|
|
562
|
+
"tests": ["packages/core/test/kernel/tools.test.ts"]
|
|
563
|
+
}
|
|
564
|
+
},
|
|
565
|
+
{
|
|
566
|
+
"id": "primitive.kernel.ToolExecution",
|
|
567
|
+
"package": "@agent-os/core",
|
|
568
|
+
"packagePath": "packages/core",
|
|
569
|
+
"entrypoints": [".", "./tools"],
|
|
570
|
+
"symbol": "ToolExecution",
|
|
571
|
+
"exportKey": ".:ToolExecution",
|
|
572
|
+
"sourceFile": "packages/core/src/tools.ts",
|
|
573
|
+
"summary": "Tool execution declaration: deterministic tools stay local; external tools name access and domain.",
|
|
574
|
+
"aliases": [],
|
|
575
|
+
"invariants": ["invariant.algebra.type-or-boot-proof"],
|
|
576
|
+
"docs": "docs/concepts/tool-execution-domain.md",
|
|
577
|
+
"capabilityKind": "kernel",
|
|
578
|
+
"testEvidence": {
|
|
579
|
+
"tests": ["packages/core/test/kernel/tools.test.ts"]
|
|
580
|
+
}
|
|
581
|
+
},
|
|
582
|
+
{
|
|
583
|
+
"id": "primitive.kernel.ToolExecutionContext",
|
|
584
|
+
"package": "@agent-os/core",
|
|
585
|
+
"packagePath": "packages/core",
|
|
586
|
+
"entrypoints": [".", "./tools"],
|
|
587
|
+
"symbol": "ToolExecutionContext",
|
|
588
|
+
"exportKey": ".:ToolExecutionContext",
|
|
589
|
+
"sourceFile": "packages/core/src/tools.ts",
|
|
590
|
+
"summary": "Per-call execution context passed to a tool implementation.",
|
|
591
|
+
"aliases": [],
|
|
592
|
+
"invariants": ["invariant.algebra.type-or-boot-proof"],
|
|
593
|
+
"docs": "docs/concepts/tool-execution-domain.md",
|
|
594
|
+
"capabilityKind": "kernel",
|
|
595
|
+
"testEvidence": {
|
|
596
|
+
"tests": ["packages/core/test/kernel/tools.test.ts"]
|
|
597
|
+
}
|
|
598
|
+
},
|
|
599
|
+
{
|
|
600
|
+
"id": "primitive.llm_protocol.LlmTransport",
|
|
601
|
+
"package": "@agent-os/core",
|
|
602
|
+
"packagePath": "packages/core",
|
|
603
|
+
"entrypoints": [".", "./llm-protocol"],
|
|
604
|
+
"symbol": "LlmTransport",
|
|
605
|
+
"exportKey": ".:LlmTransport",
|
|
606
|
+
"sourceFile": "packages/core/src/llm-protocol/index.ts",
|
|
607
|
+
"summary": "Provider-neutral port for resolving and calling an LLM route.",
|
|
608
|
+
"aliases": [],
|
|
609
|
+
"invariants": ["invariant.boundary.runtime-validation-external-only"],
|
|
610
|
+
"docs": "docs/packages/core.md",
|
|
611
|
+
"capabilityKind": "package",
|
|
612
|
+
"testEvidence": {
|
|
613
|
+
"tests": ["packages/core/test/llm-protocol/llm-protocol.test.ts"]
|
|
614
|
+
}
|
|
615
|
+
},
|
|
616
|
+
{
|
|
617
|
+
"id": "primitive.runtime.defineCapability",
|
|
618
|
+
"package": "@agent-os/runtime",
|
|
619
|
+
"packagePath": "packages/runtime",
|
|
620
|
+
"entrypoints": [".", "./capability"],
|
|
621
|
+
"symbol": "defineCapability",
|
|
622
|
+
"exportKey": ".:defineCapability",
|
|
623
|
+
"sourceFile": "packages/runtime/src/capability/contract.ts",
|
|
624
|
+
"summary": "Define a new capability contract",
|
|
625
|
+
"aliases": [],
|
|
626
|
+
"invariants": ["invariant.capability.single-generator"],
|
|
627
|
+
"docs": "docs/advanced/capability-authoring/define-capability.md",
|
|
628
|
+
"capabilityKind": "runtime",
|
|
629
|
+
"testEvidence": {
|
|
630
|
+
"tests": ["packages/runtime/test/capability/capability-contract.test.ts"]
|
|
631
|
+
}
|
|
632
|
+
},
|
|
633
|
+
{
|
|
634
|
+
"id": "primitive.runtime.defineHost",
|
|
635
|
+
"package": "@agent-os/runtime",
|
|
636
|
+
"packagePath": "packages/runtime",
|
|
637
|
+
"entrypoints": [".", "./capability"],
|
|
638
|
+
"symbol": "defineHost",
|
|
639
|
+
"exportKey": ".:defineHost",
|
|
640
|
+
"sourceFile": "packages/runtime/src/capability/host.ts",
|
|
641
|
+
"summary": "Define a new host profile",
|
|
642
|
+
"aliases": [],
|
|
643
|
+
"invariants": ["invariant.host.fact-owner"],
|
|
644
|
+
"docs": "docs/advanced/capability-authoring/define-host.md",
|
|
645
|
+
"capabilityKind": "runtime",
|
|
646
|
+
"testEvidence": {
|
|
647
|
+
"tests": ["packages/runtime/test/capability/capability-contract.test.ts"]
|
|
648
|
+
}
|
|
649
|
+
},
|
|
650
|
+
{
|
|
651
|
+
"id": "primitive.runtime.defineProjection",
|
|
652
|
+
"package": "@agent-os/runtime",
|
|
653
|
+
"packagePath": "packages/runtime",
|
|
654
|
+
"entrypoints": ["."],
|
|
655
|
+
"symbol": "defineProjection",
|
|
656
|
+
"exportKey": ".:defineProjection",
|
|
657
|
+
"sourceFile": "packages/runtime/src/projection.ts",
|
|
658
|
+
"summary": "Defines one materialized projection without adding a second truth source.",
|
|
659
|
+
"aliases": [],
|
|
660
|
+
"invariants": ["invariant.d10.truth-identity"],
|
|
661
|
+
"docs": "docs/concepts/materialized-projections.md",
|
|
662
|
+
"capabilityKind": "projection",
|
|
663
|
+
"testEvidence": {
|
|
664
|
+
"tests": ["packages/runtime/test/projection.test.ts"]
|
|
665
|
+
}
|
|
666
|
+
},
|
|
667
|
+
{
|
|
668
|
+
"id": "primitive.runtime.Ledger",
|
|
669
|
+
"package": "@agent-os/runtime",
|
|
670
|
+
"packagePath": "packages/runtime",
|
|
671
|
+
"entrypoints": ["."],
|
|
672
|
+
"symbol": "Ledger",
|
|
673
|
+
"exportKey": ".:Ledger",
|
|
674
|
+
"sourceFile": "packages/runtime/src/ledger.ts",
|
|
675
|
+
"summary": "Backend-neutral ledger service for atomic fact commits and exact identity reads.",
|
|
676
|
+
"aliases": [],
|
|
677
|
+
"invariants": ["invariant.ledger.single-commit-source", "invariant.d10.truth-identity"],
|
|
678
|
+
"docs": "docs/concepts/durable-truth.md",
|
|
679
|
+
"capabilityKind": "runtime",
|
|
680
|
+
"testEvidence": {
|
|
681
|
+
"tests": ["packages/core/test/backend-protocol/contract/runtime-backend-contract.ts"]
|
|
682
|
+
}
|
|
683
|
+
},
|
|
684
|
+
{
|
|
685
|
+
"id": "primitive.runtime.LedgerCommitEventSpec",
|
|
686
|
+
"package": "@agent-os/core",
|
|
687
|
+
"packagePath": "packages/core",
|
|
688
|
+
"entrypoints": [".", "./runtime-protocol"],
|
|
689
|
+
"symbol": "LedgerCommitEventSpec",
|
|
690
|
+
"exportKey": ".:LedgerCommitEventSpec",
|
|
691
|
+
"sourceFile": "packages/core/src/runtime-protocol/ledger.ts",
|
|
692
|
+
"summary": "Runtime-owned event commit spec; factOwnerRef is injected by the ledger service.",
|
|
693
|
+
"aliases": [],
|
|
694
|
+
"invariants": ["invariant.ledger.single-commit-source"],
|
|
695
|
+
"docs": "docs/concepts/durable-truth.md",
|
|
696
|
+
"capabilityKind": "runtime",
|
|
697
|
+
"testEvidence": {
|
|
698
|
+
"tests": ["packages/core/test/runtime-protocol/runtime-events.test.ts"]
|
|
699
|
+
}
|
|
700
|
+
},
|
|
701
|
+
{
|
|
702
|
+
"id": "primitive.runtime.LedgerTruthIdentity",
|
|
703
|
+
"package": "@agent-os/core",
|
|
704
|
+
"packagePath": "packages/core",
|
|
705
|
+
"entrypoints": [".", "./runtime-protocol"],
|
|
706
|
+
"symbol": "LedgerTruthIdentity",
|
|
707
|
+
"exportKey": ".:LedgerTruthIdentity",
|
|
708
|
+
"sourceFile": "packages/core/src/runtime-protocol/ledger.ts",
|
|
709
|
+
"summary": "Exact runtime ledger identity used by reads and streams.",
|
|
710
|
+
"aliases": [],
|
|
711
|
+
"invariants": ["invariant.d10.truth-identity"],
|
|
712
|
+
"docs": "docs/concepts/durable-truth.md",
|
|
713
|
+
"capabilityKind": "runtime",
|
|
714
|
+
"testEvidence": {
|
|
715
|
+
"tests": ["packages/core/test/backend-protocol/contract/runtime-backend-contract.ts"]
|
|
716
|
+
}
|
|
717
|
+
},
|
|
718
|
+
{
|
|
719
|
+
"id": "primitive.runtime.MaterializedProjectionDefinition",
|
|
720
|
+
"package": "@agent-os/runtime",
|
|
721
|
+
"packagePath": "packages/runtime",
|
|
722
|
+
"entrypoints": ["."],
|
|
723
|
+
"symbol": "MaterializedProjectionDefinition",
|
|
724
|
+
"exportKey": ".:MaterializedProjectionDefinition",
|
|
725
|
+
"sourceFile": "packages/runtime/src/projection.ts",
|
|
726
|
+
"summary": "Pure materialized projection definition over ledger facts.",
|
|
727
|
+
"aliases": [],
|
|
728
|
+
"invariants": ["invariant.d10.truth-identity"],
|
|
729
|
+
"docs": "docs/concepts/materialized-projections.md",
|
|
730
|
+
"capabilityKind": "projection",
|
|
731
|
+
"testEvidence": {
|
|
732
|
+
"tests": ["packages/runtime/test/projection.test.ts"]
|
|
733
|
+
}
|
|
734
|
+
},
|
|
735
|
+
{
|
|
736
|
+
"id": "primitive.runtime.MaterializedProjections",
|
|
737
|
+
"package": "@agent-os/runtime",
|
|
738
|
+
"packagePath": "packages/runtime",
|
|
739
|
+
"entrypoints": ["."],
|
|
740
|
+
"symbol": "MaterializedProjections",
|
|
741
|
+
"exportKey": ".:MaterializedProjections",
|
|
742
|
+
"sourceFile": "packages/runtime/src/projection.ts",
|
|
743
|
+
"summary": "Backend-neutral service for projection reads, status, and rebuild.",
|
|
744
|
+
"aliases": [],
|
|
745
|
+
"invariants": ["invariant.d10.truth-identity"],
|
|
746
|
+
"docs": "docs/concepts/materialized-projections.md",
|
|
747
|
+
"capabilityKind": "projection",
|
|
748
|
+
"testEvidence": {
|
|
749
|
+
"tests": [
|
|
750
|
+
"packages/runtime/test/cloudflare/materialized-projections.runtime.test.ts",
|
|
751
|
+
"packages/runtime/test/projection.test.ts"
|
|
752
|
+
]
|
|
753
|
+
}
|
|
754
|
+
},
|
|
755
|
+
{
|
|
756
|
+
"id": "primitive.runtime.projectFailureDiagnostics",
|
|
757
|
+
"package": "@agent-os/core",
|
|
758
|
+
"packagePath": "packages/core",
|
|
759
|
+
"entrypoints": [".", "./runtime-protocol"],
|
|
760
|
+
"symbol": "FailureDiagnostics",
|
|
761
|
+
"exportKey": ".:FailureDiagnostics",
|
|
762
|
+
"sourceFile": "packages/core/src/runtime-protocol/failure-diagnostics.ts",
|
|
763
|
+
"summary": "Redacted failure diagnostics derived from runtime ledger facts.",
|
|
764
|
+
"aliases": [],
|
|
765
|
+
"invariants": ["invariant.d10.truth-identity"],
|
|
766
|
+
"docs": "docs/concepts/durable-truth.md",
|
|
767
|
+
"capabilityKind": "runtime",
|
|
768
|
+
"testEvidence": {
|
|
769
|
+
"tests": [
|
|
770
|
+
"packages/core/test/runtime-protocol/failure-diagnostics.test.ts",
|
|
771
|
+
"packages/runtime/test/submit-agent-runtime-events.test.ts"
|
|
772
|
+
]
|
|
773
|
+
}
|
|
774
|
+
},
|
|
775
|
+
{
|
|
776
|
+
"id": "primitive.runtime.ProjectionIdentifyResult",
|
|
777
|
+
"package": "@agent-os/runtime",
|
|
778
|
+
"packagePath": "packages/runtime",
|
|
779
|
+
"entrypoints": ["."],
|
|
780
|
+
"symbol": "ProjectionIdentifyResult",
|
|
781
|
+
"exportKey": ".:ProjectionIdentifyResult",
|
|
782
|
+
"sourceFile": "packages/runtime/src/projection.ts",
|
|
783
|
+
"summary": "Event-to-projection identity decision made before reduction.",
|
|
784
|
+
"aliases": [],
|
|
785
|
+
"invariants": ["invariant.d10.truth-identity"],
|
|
786
|
+
"docs": "docs/concepts/materialized-projections.md",
|
|
787
|
+
"capabilityKind": "projection",
|
|
788
|
+
"testEvidence": {
|
|
789
|
+
"tests": ["packages/runtime/test/projection.test.ts"]
|
|
790
|
+
}
|
|
791
|
+
},
|
|
792
|
+
{
|
|
793
|
+
"id": "primitive.runtime.ProjectionReduceContext",
|
|
794
|
+
"package": "@agent-os/runtime",
|
|
795
|
+
"packagePath": "packages/runtime",
|
|
796
|
+
"entrypoints": ["."],
|
|
797
|
+
"symbol": "ProjectionReduceContext",
|
|
798
|
+
"exportKey": ".:ProjectionReduceContext",
|
|
799
|
+
"sourceFile": "packages/runtime/src/projection.ts",
|
|
800
|
+
"summary": "Canonical projection reduction context derived from the consumed ledger event.",
|
|
801
|
+
"aliases": [],
|
|
802
|
+
"invariants": ["invariant.d10.truth-identity"],
|
|
803
|
+
"docs": "docs/concepts/materialized-projections.md",
|
|
804
|
+
"capabilityKind": "projection",
|
|
805
|
+
"testEvidence": {
|
|
806
|
+
"tests": ["packages/runtime/test/projection.test.ts"]
|
|
807
|
+
}
|
|
808
|
+
},
|
|
809
|
+
{
|
|
810
|
+
"id": "primitive.runtime.ProjectionReduceResult",
|
|
811
|
+
"package": "@agent-os/runtime",
|
|
812
|
+
"packagePath": "packages/runtime",
|
|
813
|
+
"entrypoints": ["."],
|
|
814
|
+
"symbol": "ProjectionReduceResult",
|
|
815
|
+
"exportKey": ".:ProjectionReduceResult",
|
|
816
|
+
"sourceFile": "packages/runtime/src/projection.ts",
|
|
817
|
+
"summary": "Synchronous reducer result for one materialized projection row.",
|
|
818
|
+
"aliases": [],
|
|
819
|
+
"invariants": ["invariant.d10.truth-identity"],
|
|
820
|
+
"docs": "docs/concepts/materialized-projections.md",
|
|
821
|
+
"capabilityKind": "projection",
|
|
822
|
+
"testEvidence": {
|
|
823
|
+
"tests": ["packages/runtime/test/projection.test.ts"]
|
|
824
|
+
}
|
|
825
|
+
},
|
|
826
|
+
{
|
|
827
|
+
"id": "primitive.runtime.projectRunStatus",
|
|
828
|
+
"package": "@agent-os/runtime",
|
|
829
|
+
"packagePath": "packages/runtime",
|
|
830
|
+
"entrypoints": [".", "./run-projector"],
|
|
831
|
+
"symbol": "projectRunStatus",
|
|
832
|
+
"exportKey": ".:projectRunStatus",
|
|
833
|
+
"sourceFile": "packages/runtime/src/run-projector.ts",
|
|
834
|
+
"summary": "Projects runtime ledger facts into a single run status.",
|
|
835
|
+
"aliases": [],
|
|
836
|
+
"invariants": ["invariant.d10.truth-identity"],
|
|
837
|
+
"docs": "docs/concepts/durable-truth.md",
|
|
838
|
+
"capabilityKind": "projection",
|
|
839
|
+
"testEvidence": {
|
|
840
|
+
"tests": ["packages/runtime/test/run-projector.test.ts"]
|
|
841
|
+
}
|
|
842
|
+
},
|
|
843
|
+
{
|
|
844
|
+
"id": "primitive.runtime.projectRunTrace",
|
|
845
|
+
"package": "@agent-os/runtime",
|
|
846
|
+
"packagePath": "packages/runtime",
|
|
847
|
+
"entrypoints": [".", "./run-projector"],
|
|
848
|
+
"symbol": "projectRunTrace",
|
|
849
|
+
"exportKey": ".:projectRunTrace",
|
|
850
|
+
"sourceFile": "packages/runtime/src/run-projector.ts",
|
|
851
|
+
"summary": "Projects runtime ledger facts into a run trace view.",
|
|
852
|
+
"aliases": [],
|
|
853
|
+
"invariants": ["invariant.d10.truth-identity"],
|
|
854
|
+
"docs": "docs/concepts/durable-truth.md",
|
|
855
|
+
"capabilityKind": "projection",
|
|
856
|
+
"testEvidence": {
|
|
857
|
+
"tests": ["packages/runtime/test/run-projector.test.ts"]
|
|
858
|
+
}
|
|
859
|
+
},
|
|
860
|
+
{
|
|
861
|
+
"id": "primitive.runtime.projectSubmitResult",
|
|
862
|
+
"package": "@agent-os/runtime",
|
|
863
|
+
"packagePath": "packages/runtime",
|
|
864
|
+
"entrypoints": [".", "./run-projector"],
|
|
865
|
+
"symbol": "projectSubmitResult",
|
|
866
|
+
"exportKey": ".:projectSubmitResult",
|
|
867
|
+
"sourceFile": "packages/runtime/src/run-projector.ts",
|
|
868
|
+
"summary": "Reconstructs SubmitResult from terminal runtime ledger facts.",
|
|
869
|
+
"aliases": [],
|
|
870
|
+
"invariants": ["invariant.d10.truth-identity"],
|
|
871
|
+
"docs": "docs/concepts/durable-truth.md",
|
|
872
|
+
"capabilityKind": "projection",
|
|
873
|
+
"testEvidence": {
|
|
874
|
+
"tests": [
|
|
875
|
+
"packages/runtime/test/run-projector.test.ts",
|
|
876
|
+
"packages/runtime/test/submit-agent-runtime-events.test.ts"
|
|
877
|
+
]
|
|
878
|
+
}
|
|
879
|
+
},
|
|
880
|
+
{
|
|
881
|
+
"id": "primitive.runtime.projectWorkspaceJobObservability",
|
|
882
|
+
"package": "@agent-os/runtime",
|
|
883
|
+
"packagePath": "packages/runtime",
|
|
884
|
+
"entrypoints": ["."],
|
|
885
|
+
"symbol": "projectWorkspaceJobObservability",
|
|
886
|
+
"exportKey": ".:projectWorkspaceJobObservability",
|
|
887
|
+
"sourceFile": "packages/runtime/src/workspace-job-observability.ts",
|
|
888
|
+
"summary": "Projects a consumer-safe workspace job view by joining workspace-job terminal facts with runtime diagnostic projections. The raw carrier projection may expose substrate/debug join keys; this projection never exposes them.",
|
|
889
|
+
"aliases": [],
|
|
890
|
+
"invariants": ["invariant.workspace-job.failure-observability-join"],
|
|
891
|
+
"docs": "docs/packages/runtime.md",
|
|
892
|
+
"capabilityKind": "projection",
|
|
893
|
+
"testEvidence": {
|
|
894
|
+
"tests": ["packages/runtime/test/workspace-job.test.ts"]
|
|
895
|
+
}
|
|
896
|
+
},
|
|
897
|
+
{
|
|
898
|
+
"id": "primitive.runtime.resolveRuntime",
|
|
899
|
+
"package": "@agent-os/runtime",
|
|
900
|
+
"packagePath": "packages/runtime",
|
|
901
|
+
"entrypoints": [".", "./capability"],
|
|
902
|
+
"symbol": "resolveRuntime",
|
|
903
|
+
"exportKey": ".:resolveRuntime",
|
|
904
|
+
"sourceFile": "packages/runtime/src/capability/resolve.ts",
|
|
905
|
+
"summary": "Execute all preflight passes and resolve an in-memory runtime.",
|
|
906
|
+
"aliases": [],
|
|
907
|
+
"invariants": ["invariant.resolve.single-assembly-point"],
|
|
908
|
+
"docs": "docs/guides/capabilities/resolve-runtime.md",
|
|
909
|
+
"capabilityKind": "runtime",
|
|
910
|
+
"testEvidence": {
|
|
911
|
+
"tests": ["packages/runtime/test/capability/resolve.test.ts"]
|
|
912
|
+
}
|
|
913
|
+
},
|
|
914
|
+
{
|
|
915
|
+
"id": "primitive.runtime.runWorkspaceJobEffect",
|
|
916
|
+
"package": "@agent-os/runtime",
|
|
917
|
+
"packagePath": "packages/runtime",
|
|
918
|
+
"entrypoints": ["."],
|
|
919
|
+
"symbol": "runWorkspaceJobEffect",
|
|
920
|
+
"exportKey": ".:runWorkspaceJobEffect",
|
|
921
|
+
"sourceFile": "packages/runtime/src/workspace-job.ts",
|
|
922
|
+
"summary": "Runs a protected workspace job from product declarations to a carrier-owned terminal projection. The verifier receives finalized artifact bytes; candidate bytes are never the verification subject. When recovery is declared, verifier_rejected is an attempt terminal state until the repair budget is exhausted; the job projection is derived from the latest attempt.",
|
|
923
|
+
"aliases": [],
|
|
924
|
+
"invariants": ["invariant.workspace-job.verified-terminal"],
|
|
925
|
+
"docs": "docs/packages/runtime.md",
|
|
926
|
+
"capabilityKind": "runtime",
|
|
927
|
+
"testEvidence": {
|
|
928
|
+
"tests": ["packages/runtime/test/workspace-job.test.ts"]
|
|
929
|
+
}
|
|
930
|
+
},
|
|
931
|
+
{
|
|
932
|
+
"id": "primitive.runtime.SubmitResult",
|
|
933
|
+
"package": "@agent-os/core",
|
|
934
|
+
"packagePath": "packages/core",
|
|
935
|
+
"entrypoints": [".", "./runtime-protocol"],
|
|
936
|
+
"symbol": "SubmitResult",
|
|
937
|
+
"exportKey": ".:SubmitResult",
|
|
938
|
+
"sourceFile": "packages/core/src/runtime-protocol/submit.ts",
|
|
939
|
+
"summary": "Terminal return projection reconstructed from runtime ledger facts.",
|
|
940
|
+
"aliases": [],
|
|
941
|
+
"invariants": ["invariant.d10.truth-identity"],
|
|
942
|
+
"docs": "docs/concepts/durable-truth.md",
|
|
943
|
+
"capabilityKind": "runtime",
|
|
944
|
+
"testEvidence": {
|
|
945
|
+
"tests": [
|
|
946
|
+
"packages/core/test/runtime-protocol/runtime-events.test.ts",
|
|
947
|
+
"packages/runtime/test/submit-agent-runtime-events.test.ts"
|
|
948
|
+
]
|
|
949
|
+
}
|
|
950
|
+
},
|
|
951
|
+
{
|
|
952
|
+
"id": "primitive.runtime.SubmitSpec",
|
|
953
|
+
"package": "@agent-os/core",
|
|
954
|
+
"packagePath": "packages/core",
|
|
955
|
+
"entrypoints": [".", "./runtime-protocol"],
|
|
956
|
+
"symbol": "SubmitSpec",
|
|
957
|
+
"exportKey": ".:SubmitSpec",
|
|
958
|
+
"sourceFile": "packages/core/src/runtime-protocol/submit.ts",
|
|
959
|
+
"summary": "Runtime driver input for one agent run under an effect authority.",
|
|
960
|
+
"aliases": [],
|
|
961
|
+
"invariants": ["invariant.d10.truth-identity"],
|
|
962
|
+
"docs": "docs/tutorials/streaming-chatbot.md",
|
|
963
|
+
"capabilityKind": "runtime",
|
|
964
|
+
"testEvidence": {
|
|
965
|
+
"tests": [
|
|
966
|
+
"packages/runtime/test/submit-agent-runtime-events.test.ts",
|
|
967
|
+
"packages/runtime/test/submit-agent-timeout.test.ts"
|
|
968
|
+
]
|
|
969
|
+
}
|
|
970
|
+
},
|
|
971
|
+
{
|
|
972
|
+
"id": "primitive.runtime.waitForProjection",
|
|
973
|
+
"package": "@agent-os/runtime",
|
|
974
|
+
"packagePath": "packages/runtime",
|
|
975
|
+
"entrypoints": ["."],
|
|
976
|
+
"symbol": "waitForProjection",
|
|
977
|
+
"exportKey": ".:waitForProjection",
|
|
978
|
+
"sourceFile": "packages/runtime/src/projection.ts",
|
|
979
|
+
"summary": "Waits until a ledger-derived projection row exists and satisfies an optional pure readiness predicate.",
|
|
980
|
+
"aliases": [],
|
|
981
|
+
"invariants": ["invariant.d10.truth-identity"],
|
|
982
|
+
"docs": "docs/concepts/materialized-projections.md",
|
|
983
|
+
"capabilityKind": "projection",
|
|
984
|
+
"testEvidence": {
|
|
985
|
+
"tests": ["packages/runtime/test/projection.test.ts"]
|
|
986
|
+
}
|
|
987
|
+
}
|
|
988
|
+
]
|
|
989
|
+
}
|