@agentproto/corpus-cli 0.11.1 → 0.11.3
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/dist/specs/resources/aip-11/draft/LESSON.schema.json +2 -2
- package/dist/specs/resources/aip-12/draft/PLAYBOOK.schema.json +2 -1
- package/dist/specs/resources/aip-3/draft/SKILL.schema.json +2 -2
- package/dist/specs/resources/aip-34/draft/EXPORT.schema.json +2 -2
- package/dist/specs/resources/aip-34/draft/LOCK.schema.json +3 -3
- package/dist/specs/resources/aip-34/draft/PRESENCE.schema.json +237 -0
- package/dist/specs/resources/aip-34/draft/TYPES.schema.json +2 -2
- package/dist/specs/resources/aip-34/draft/WORKSPACE.schema.json +26 -0
- package/dist/specs/resources/aip-36/draft/SANDBOX.schema.json +8 -1
- package/dist/specs/resources/aip-38/draft/POLICY.schema.json +14 -3
- package/dist/specs/resources/aip-4/draft/DESIGN.schema.json +2 -2
- package/dist/specs/resources/aip-43/draft/Selector.schema.json +245 -0
- package/dist/specs/resources/aip-45/draft/{AGENT-CLI.schema.json → HARNESS.schema.json} +82 -8
- package/dist/specs/resources/aip-46/draft/SessionConfig.schema.json +293 -0
- package/dist/specs/resources/aip-48/draft/MultiAgentRuntime.schema.json +3 -3
- package/dist/specs/resources/aip-53/draft/APP.schema.json +54 -6
- package/dist/specs/resources/aip-6/draft/COMPANY.schema.json +4 -4
- package/dist/specs/resources/aip-62/draft/ATTESTATION.schema.json +11 -4
- package/dist/specs/resources/aip-63/draft/RECORDING.schema.json +2 -2
- package/dist/specs/resources/aip-69/draft/AuthProfile.schema.json +127 -0
- package/dist/specs/resources/aip-7/draft/GOVERNANCE.schema.json +436 -105
- package/dist/specs/resources/aip-9/draft/OPERATOR.schema.json +2 -2
- package/dist/specs/resources/pending/memory/draft/MEMORY.schema.json +1 -1
- package/dist/specs/resources/pending/services/SERVICES.schema.json +22 -2
- package/package.json +3 -3
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "https://agentproto.sh/schemas/aip-48/MultiAgentRuntime.schema.json",
|
|
4
4
|
"title": "MultiAgentRuntime",
|
|
5
|
-
"description": "Manifest format for
|
|
5
|
+
"description": "Manifest format for runtime/v1 — a composable multi-agent execution kernel. See AIP-48.",
|
|
6
6
|
"type": "object",
|
|
7
7
|
"required": ["schema", "kind", "id", "participants", "substrate", "dispatcher"],
|
|
8
8
|
"additionalProperties": true,
|
|
9
9
|
"properties": {
|
|
10
10
|
"schema": {
|
|
11
|
-
"
|
|
12
|
-
"description": "Schema discriminator. MUST be '
|
|
11
|
+
"enum": ["runtime/v1", "agentruntimes/v1"],
|
|
12
|
+
"description": "Schema discriminator. MUST be 'runtime/v1'. `agentruntimes/v1` is accepted as a legacy alias (AIP-70)."
|
|
13
13
|
},
|
|
14
14
|
"kind": {
|
|
15
15
|
"const": "MultiAgentRuntime",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "https://agentproto.sh/docs/aip-53/APP.schema.json",
|
|
4
4
|
"title": "APP.md frontmatter — app/v1 (agent app bundle + UI surface)",
|
|
5
|
-
"description": "Validates the YAML frontmatter portion of an AIP-53 APP.md manifest
|
|
5
|
+
"description": "Validates the YAML frontmatter portion of an AIP-53 APP.md manifest, the on-disk form of an AppDefinition. Codifies shipped behaviour: `agents` may be empty for a UI-only app when `ui` is present (packages/app/src/define-app.ts:60-64), and `data` / `category` are carried verbatim (packages/app/src/types.ts).",
|
|
6
6
|
"type": "object",
|
|
7
7
|
"required": [
|
|
8
8
|
"schema",
|
|
@@ -328,7 +328,7 @@
|
|
|
328
328
|
}
|
|
329
329
|
}
|
|
330
330
|
},
|
|
331
|
-
"description": "Dev-only launch recipes. Carried verbatim; NEVER executed by app
|
|
331
|
+
"description": "Dev-only launch recipes. Carried verbatim; NEVER executed by `@agentproto/app`; `defineApp` validates the shape only (packages/app/src/define-app.ts:65-67) and no loader/emit path runs it. The production hosting surface is `services` (below), not this."
|
|
332
332
|
}
|
|
333
333
|
},
|
|
334
334
|
"description": "Dev-launch configuration, carried verbatim in frontmatter."
|
|
@@ -340,10 +340,40 @@
|
|
|
340
340
|
"items": {
|
|
341
341
|
"type": "object",
|
|
342
342
|
"required": [
|
|
343
|
-
"name"
|
|
344
|
-
"entry"
|
|
343
|
+
"name"
|
|
345
344
|
],
|
|
346
345
|
"additionalProperties": false,
|
|
346
|
+
"oneOf": [
|
|
347
|
+
{
|
|
348
|
+
"required": [
|
|
349
|
+
"entry"
|
|
350
|
+
],
|
|
351
|
+
"not": {
|
|
352
|
+
"anyOf": [
|
|
353
|
+
{
|
|
354
|
+
"required": [
|
|
355
|
+
"command"
|
|
356
|
+
]
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
"required": [
|
|
360
|
+
"args"
|
|
361
|
+
]
|
|
362
|
+
}
|
|
363
|
+
]
|
|
364
|
+
}
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
"required": [
|
|
368
|
+
"command"
|
|
369
|
+
],
|
|
370
|
+
"not": {
|
|
371
|
+
"required": [
|
|
372
|
+
"entry"
|
|
373
|
+
]
|
|
374
|
+
}
|
|
375
|
+
}
|
|
376
|
+
],
|
|
347
377
|
"properties": {
|
|
348
378
|
"name": {
|
|
349
379
|
"type": "string",
|
|
@@ -353,7 +383,25 @@
|
|
|
353
383
|
"entry": {
|
|
354
384
|
"type": "string",
|
|
355
385
|
"minLength": 1,
|
|
356
|
-
"description": "
|
|
386
|
+
"description": "Legacy shell command line that starts the service (e.g. `pnpm --filter x start`, `node dist/server.js`). Carried verbatim; the loader/`defineApp` never executes it. Exactly one of entry/command."
|
|
387
|
+
},
|
|
388
|
+
"command": {
|
|
389
|
+
"type": "string",
|
|
390
|
+
"minLength": 1,
|
|
391
|
+
"description": "Structured (preferred) command form: the binary/script to run, never shell-interpreted — the runner passes it as argv[0]. Exactly one of entry/command."
|
|
392
|
+
},
|
|
393
|
+
"args": {
|
|
394
|
+
"type": "array",
|
|
395
|
+
"minItems": 1,
|
|
396
|
+
"items": {
|
|
397
|
+
"type": "string"
|
|
398
|
+
},
|
|
399
|
+
"description": "Structured command form: argv after `command`, passed verbatim. Requires `command`."
|
|
400
|
+
},
|
|
401
|
+
"cwd": {
|
|
402
|
+
"type": "string",
|
|
403
|
+
"minLength": 1,
|
|
404
|
+
"description": "Working directory the runner starts the service in; relative paths resolve against the app's installed dir."
|
|
357
405
|
},
|
|
358
406
|
"port": {
|
|
359
407
|
"type": "integer",
|
|
@@ -972,7 +1020,7 @@
|
|
|
972
1020
|
"allOf": [
|
|
973
1021
|
{
|
|
974
1022
|
"title": "UI-only carve-out",
|
|
975
|
-
"description": "An app with an empty or absent `agents` array is conforming ONLY when `ui` is present (codifies packages/app
|
|
1023
|
+
"description": "An app with an empty or absent `agents` array is conforming ONLY when `ui` is present (codifies packages/app/src/define-app.ts:60-64 and the five builtin panels in packages/apps/src/index.ts that ship as agents: []).",
|
|
976
1024
|
"if": {
|
|
977
1025
|
"anyOf": [
|
|
978
1026
|
{
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "https://agentproto.sh/schemas/aip-6/COMPANY.schema.json",
|
|
4
|
-
"title": "
|
|
5
|
-
"description": "Validates the YAML frontmatter portion of any
|
|
4
|
+
"title": "company/v1 doctype frontmatter (AIP-6)",
|
|
5
|
+
"description": "Validates the YAML frontmatter portion of any company/v1 doctype file. The `doctype` field discriminates between company / role / objective; each branch enforces the doctype-specific shape. Operator doctype is sketched here but the normative definition lives in AIP-8 — only company / role / objective are normative under AIP-6.",
|
|
6
6
|
"type": "object",
|
|
7
7
|
"required": ["schema", "doctype", "id"],
|
|
8
8
|
"properties": {
|
|
9
9
|
"schema": {
|
|
10
|
-
"
|
|
11
|
-
"description": "Format identifier. MUST be the
|
|
10
|
+
"enum": ["company/v1", "agentcompanies/v1"],
|
|
11
|
+
"description": "Format identifier. MUST be the canonical string `company/v1`. `agentcompanies/v1` is accepted as a legacy alias (AIP-70)."
|
|
12
12
|
},
|
|
13
13
|
"doctype": {
|
|
14
14
|
"enum": ["company", "role", "objective"],
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "https://agentproto.sh/schemas/aip-62/ATTESTATION.schema.json",
|
|
4
|
-
"title": "
|
|
4
|
+
"title": "review.attestation/v1",
|
|
5
5
|
"description": "A review verdict bound to a manifest and a frozen git range. The `verdict` MUST equal the fold of `lanes` (AIP-62 verdict fold); a verifier recomputes it. `attestor.signature`, when present, covers the canonical JSON of the attestation with `attestor.signature` removed. Mutable annotations (PR status) live outside this document and are never signed.",
|
|
6
6
|
"type": "object",
|
|
7
7
|
"required": [
|
|
@@ -20,7 +20,11 @@
|
|
|
20
20
|
],
|
|
21
21
|
"properties": {
|
|
22
22
|
"schema": {
|
|
23
|
-
"
|
|
23
|
+
"enum": [
|
|
24
|
+
"review.attestation/v1",
|
|
25
|
+
"agentproto.review.attestation/v1"
|
|
26
|
+
],
|
|
27
|
+
"description": "`agentproto.review.attestation/v1` is accepted as a legacy alias (AIP-70)."
|
|
24
28
|
},
|
|
25
29
|
"runId": {
|
|
26
30
|
"type": "string",
|
|
@@ -150,8 +154,11 @@
|
|
|
150
154
|
"type": "string"
|
|
151
155
|
},
|
|
152
156
|
"alg": {
|
|
153
|
-
"
|
|
154
|
-
|
|
157
|
+
"enum": [
|
|
158
|
+
"review.pack-digest/v1",
|
|
159
|
+
"agentproto-pack-digest/v1"
|
|
160
|
+
],
|
|
161
|
+
"description": "The digest recipe tag. A verifier that does not recognize it MUST refuse to compare. `agentproto-pack-digest/v1` is accepted as a legacy alias (AIP-70)."
|
|
155
162
|
},
|
|
156
163
|
"sha256": {
|
|
157
164
|
"$ref": "#/$defs/sha256"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "https://agentproto.sh/docs/aip-63/RECORDING.schema.json",
|
|
4
|
-
"title": "browser
|
|
4
|
+
"title": "browser.recording/v1",
|
|
5
5
|
"description": "Schemas for the files of a browser recording directory (AIP-63 section 6). manifest.json validates against $defs/manifest. Each line of frames.jsonl validates against $defs/frame and each line of actions.jsonl against $defs/action. The property sets are closed on purpose: there is no field in which a typed value of a masked input could be placed (R8, R9).",
|
|
6
6
|
"$ref": "#/$defs/manifest",
|
|
7
7
|
"$defs": {
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"retentionDays"
|
|
48
48
|
],
|
|
49
49
|
"properties": {
|
|
50
|
-
"schema": { "
|
|
50
|
+
"schema": { "enum": ["browser.recording/v1", "browser-recording/v1"], "description": "`browser-recording/v1` is accepted as a legacy alias (AIP-70)." },
|
|
51
51
|
"id": { "$ref": "#/$defs/recordingId" },
|
|
52
52
|
"sessionId": {
|
|
53
53
|
"type": "string",
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://agentproto.sh/schemas/aip-69/AuthProfile.schema.json",
|
|
4
|
+
"title": "AIP-69 AuthProfile, auth-profile/v1",
|
|
5
|
+
"description": "A named reference to the credential a session bills or authenticates through. Never contains credential material. Host-specific keys MUST be prefixed x-.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"required": [
|
|
8
|
+
"id",
|
|
9
|
+
"endpoint",
|
|
10
|
+
"method"
|
|
11
|
+
],
|
|
12
|
+
"additionalProperties": false,
|
|
13
|
+
"patternProperties": {
|
|
14
|
+
"^x-": {}
|
|
15
|
+
},
|
|
16
|
+
"not": {
|
|
17
|
+
"required": [
|
|
18
|
+
"credentialRef",
|
|
19
|
+
"source"
|
|
20
|
+
]
|
|
21
|
+
},
|
|
22
|
+
"properties": {
|
|
23
|
+
"id": {
|
|
24
|
+
"type": "string",
|
|
25
|
+
"minLength": 1
|
|
26
|
+
},
|
|
27
|
+
"label": {
|
|
28
|
+
"type": "string"
|
|
29
|
+
},
|
|
30
|
+
"endpoint": {
|
|
31
|
+
"type": "string",
|
|
32
|
+
"minLength": 1,
|
|
33
|
+
"description": "The billing endpoint (who bills), not the model builder."
|
|
34
|
+
},
|
|
35
|
+
"routes": {
|
|
36
|
+
"type": "array",
|
|
37
|
+
"items": {
|
|
38
|
+
"type": "string",
|
|
39
|
+
"minLength": 1
|
|
40
|
+
},
|
|
41
|
+
"uniqueItems": true
|
|
42
|
+
},
|
|
43
|
+
"method": {
|
|
44
|
+
"type": "string",
|
|
45
|
+
"minLength": 1,
|
|
46
|
+
"description": "api-key | oauth-bearer | host-extensible."
|
|
47
|
+
},
|
|
48
|
+
"credentialRef": {
|
|
49
|
+
"type": "string",
|
|
50
|
+
"minLength": 1,
|
|
51
|
+
"description": "Opaque handle into the host credential store (an AIP-19 slug when available)."
|
|
52
|
+
},
|
|
53
|
+
"source": {
|
|
54
|
+
"type": "string",
|
|
55
|
+
"minLength": 1,
|
|
56
|
+
"description": "A credential source the host resolves at spawn and does not store."
|
|
57
|
+
},
|
|
58
|
+
"subaccount": {
|
|
59
|
+
"type": "object",
|
|
60
|
+
"required": [
|
|
61
|
+
"kind",
|
|
62
|
+
"id"
|
|
63
|
+
],
|
|
64
|
+
"additionalProperties": false,
|
|
65
|
+
"properties": {
|
|
66
|
+
"kind": {
|
|
67
|
+
"type": "string"
|
|
68
|
+
},
|
|
69
|
+
"id": {
|
|
70
|
+
"type": "string"
|
|
71
|
+
},
|
|
72
|
+
"name": {
|
|
73
|
+
"type": "string"
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
"subscription": {
|
|
78
|
+
"$ref": "#/$defs/Subscription"
|
|
79
|
+
},
|
|
80
|
+
"policy": {
|
|
81
|
+
"description": "AIP-38 PolicyRef: the profile as a resource."
|
|
82
|
+
},
|
|
83
|
+
"disabled": {
|
|
84
|
+
"type": "boolean",
|
|
85
|
+
"default": false
|
|
86
|
+
},
|
|
87
|
+
"origin": {
|
|
88
|
+
"type": "string"
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
"$defs": {
|
|
92
|
+
"Subscription": {
|
|
93
|
+
"type": "object",
|
|
94
|
+
"required": [
|
|
95
|
+
"monthlyUsd"
|
|
96
|
+
],
|
|
97
|
+
"additionalProperties": false,
|
|
98
|
+
"properties": {
|
|
99
|
+
"monthlyUsd": {
|
|
100
|
+
"type": "number",
|
|
101
|
+
"minimum": 0
|
|
102
|
+
},
|
|
103
|
+
"windows": {
|
|
104
|
+
"type": "array",
|
|
105
|
+
"items": {
|
|
106
|
+
"type": "object",
|
|
107
|
+
"required": [
|
|
108
|
+
"kind"
|
|
109
|
+
],
|
|
110
|
+
"additionalProperties": false,
|
|
111
|
+
"properties": {
|
|
112
|
+
"kind": {
|
|
113
|
+
"type": "string",
|
|
114
|
+
"minLength": 1,
|
|
115
|
+
"description": "Provider-defined window name (5h, weekly), not a duration."
|
|
116
|
+
},
|
|
117
|
+
"limit": {
|
|
118
|
+
"type": "number",
|
|
119
|
+
"minimum": 0
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
}
|