@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
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
"additionalProperties": false,
|
|
9
9
|
"properties": {
|
|
10
10
|
"schema": {
|
|
11
|
-
"
|
|
12
|
-
"description": "Spec identifier. Must be the
|
|
11
|
+
"enum": ["lesson/v1", "learning/v1"],
|
|
12
|
+
"description": "Spec identifier. Must be the canonical string 'lesson/v1'. `learning/v1` is accepted as a legacy alias (AIP-70)."
|
|
13
13
|
},
|
|
14
14
|
"slug": {
|
|
15
15
|
"type": "string",
|
|
@@ -54,8 +54,8 @@
|
|
|
54
54
|
"description": "AIP-3 extensions to the agentskills.io baseline. Runtimes that don't implement AIP-3 MUST preserve this object verbatim (it lives in agentskills.io's `metadata`).",
|
|
55
55
|
"properties": {
|
|
56
56
|
"schema": {
|
|
57
|
-
"
|
|
58
|
-
"description": "Schema dispatch tag. Required for AIP-3 conformance. Pinned to '
|
|
57
|
+
"enum": ["skill/v1", "skills/v1"],
|
|
58
|
+
"description": "Schema dispatch tag. Required for AIP-3 conformance. Pinned to 'skill/v1' for the current spec version. `skills/v1` is accepted as a legacy alias (AIP-70)."
|
|
59
59
|
},
|
|
60
60
|
"variant": {
|
|
61
61
|
"enum": ["instruction", "executable", "composite"],
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "https://agentproto.sh/schemas/aip-34/EXPORT.schema.json",
|
|
4
|
-
"title": "EXPORT.md frontmatter — workspace
|
|
4
|
+
"title": "EXPORT.md frontmatter — workspace.export/v1 (sealed/hard node digest)",
|
|
5
5
|
"description": "Validates the YAML frontmatter portion of an EXPORT.md manifest. A `wall: sealed` or `wall: hard` node's ONLY readable surface for its ancestors: the body is free-form prose (summaries), never raw files.",
|
|
6
6
|
"type": "object",
|
|
7
7
|
"required": ["schema", "from", "generated_at"],
|
|
8
8
|
"additionalProperties": false,
|
|
9
9
|
"properties": {
|
|
10
|
-
"schema": { "
|
|
10
|
+
"schema": { "enum": ["workspace.export/v1", "workspace-export/v1"], "description": "`workspace-export/v1` is accepted as a legacy alias (AIP-70)." },
|
|
11
11
|
"from": {
|
|
12
12
|
"type": "string",
|
|
13
13
|
"pattern": "^@[a-z0-9][a-z0-9-]*/[a-z0-9][a-z0-9-]*$",
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "https://agentproto.sh/schemas/aip-34/LOCK.schema.json",
|
|
4
|
-
"title": "agentproto.lock —
|
|
4
|
+
"title": "agentproto.lock — workspace.lock/v1 (tree-wide app/pack lockfile)",
|
|
5
5
|
"description": "Validates agentproto.lock, a plain YAML file (NOT frontmatter — no markdown body) at the tree root. Pins every AIP-53 app and AIP-64 pack installed anywhere in the tree to the exact version, source and attach point it resolved to, so `agentproto workspace check` can flag drift between WORKSPACE.md `apps:` version ranges and what is actually installed.",
|
|
6
6
|
"type": "object",
|
|
7
7
|
"required": ["lockfile", "generated"],
|
|
8
8
|
"additionalProperties": false,
|
|
9
9
|
"properties": {
|
|
10
|
-
"lockfile": { "
|
|
10
|
+
"lockfile": { "enum": ["workspace.lock/v1", "agentproto-lock/v1"], "description": "`agentproto-lock/v1` is accepted as a legacy alias (AIP-70)." },
|
|
11
11
|
"generated": { "type": "string", "format": "date-time" },
|
|
12
12
|
"apps": {
|
|
13
13
|
"type": "array",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
},
|
|
65
65
|
"digest": {
|
|
66
66
|
"type": "string",
|
|
67
|
-
"pattern": "^
|
|
67
|
+
"pattern": "^review.pack-digest/v1:.+$"
|
|
68
68
|
},
|
|
69
69
|
"attach": {
|
|
70
70
|
"type": "string",
|
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://agentproto.sh/schemas/aip-34/PRESENCE.schema.json",
|
|
4
|
+
"title": "PRESENCE.md frontmatter (AIP-34, workspace.presence/v1)",
|
|
5
|
+
"description": "Validates the YAML frontmatter of a workspace.presence/v1 document: the editorial and channel policy of one workspace node (who it talks to, about what, where, how often, in which words). The voice itself lives in the AIP-25 PERSONA.md named by `persona`. The body is markdown and is not validated.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"required": ["schema", "name", "title", "description", "version", "status"],
|
|
8
|
+
"additionalProperties": false,
|
|
9
|
+
"$defs": {
|
|
10
|
+
"kebab": { "type": "string", "pattern": "^[a-z][a-z0-9-]*[a-z0-9]$", "minLength": 2, "maxLength": 64 },
|
|
11
|
+
"approvalMode": { "type": "string", "pattern": "^(always|policy:.+)$" },
|
|
12
|
+
"cadence": {
|
|
13
|
+
"type": "object",
|
|
14
|
+
"additionalProperties": false,
|
|
15
|
+
"properties": {
|
|
16
|
+
"posts": {
|
|
17
|
+
"type": "object",
|
|
18
|
+
"additionalProperties": false,
|
|
19
|
+
"properties": {
|
|
20
|
+
"perWeek": { "type": "integer", "minimum": 0, "maximum": 50 },
|
|
21
|
+
"maxPerDay": { "type": "integer", "minimum": 0, "maximum": 10 }
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"comments": {
|
|
25
|
+
"type": "object",
|
|
26
|
+
"additionalProperties": false,
|
|
27
|
+
"properties": {
|
|
28
|
+
"perDay": { "type": "integer", "minimum": 0, "maximum": 50 }
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"window": {
|
|
32
|
+
"type": "object",
|
|
33
|
+
"additionalProperties": false,
|
|
34
|
+
"properties": {
|
|
35
|
+
"days": {
|
|
36
|
+
"type": "array",
|
|
37
|
+
"uniqueItems": true,
|
|
38
|
+
"items": { "enum": ["mon", "tue", "wed", "thu", "fri", "sat", "sun"] }
|
|
39
|
+
},
|
|
40
|
+
"hours": { "type": "string", "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]-([01][0-9]|2[0-3]):[0-5][0-9]$" },
|
|
41
|
+
"timezone": { "type": "string" }
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"channel": {
|
|
47
|
+
"type": "object",
|
|
48
|
+
"required": ["id", "network"],
|
|
49
|
+
"additionalProperties": false,
|
|
50
|
+
"properties": {
|
|
51
|
+
"id": { "$ref": "#/$defs/kebab" },
|
|
52
|
+
"network": { "type": "string", "description": "linkedin, x, instagram, tiktok, youtube, facebook, threads, bluesky, mastodon, or a custom slug." },
|
|
53
|
+
"account": {
|
|
54
|
+
"type": "object",
|
|
55
|
+
"additionalProperties": false,
|
|
56
|
+
"properties": {
|
|
57
|
+
"handle": { "type": "string" },
|
|
58
|
+
"kind": { "enum": ["personal", "brand"] },
|
|
59
|
+
"owner": { "type": "string", "description": "Principal ref, e.g. user:jeremy. Whose account it is." }
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
"connection": {
|
|
63
|
+
"type": "object",
|
|
64
|
+
"additionalProperties": false,
|
|
65
|
+
"properties": {
|
|
66
|
+
"provider": { "type": "string", "description": "How an approved action leaves: postiz, chrome-live, manual, or a custom slug." },
|
|
67
|
+
"credentials": { "type": "string", "pattern": "^[a-z][a-z0-9-]*$", "description": "Slug of an AIP-19 secret in this node's SECRETS.md or granted through uses_secrets. Credentials are never inline." }
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"locale": { "type": "string" },
|
|
71
|
+
"formats": { "type": "array", "uniqueItems": true, "items": { "type": "string" } },
|
|
72
|
+
"cadence": { "$ref": "#/$defs/cadence" },
|
|
73
|
+
"actions": {
|
|
74
|
+
"type": "object",
|
|
75
|
+
"additionalProperties": false,
|
|
76
|
+
"description": "Which kinds of action are allowed on this channel. Absent means post and comment are both allowed.",
|
|
77
|
+
"properties": {
|
|
78
|
+
"post": { "type": "boolean" },
|
|
79
|
+
"comment": { "type": "boolean" }
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
"publish": {
|
|
83
|
+
"type": "object",
|
|
84
|
+
"additionalProperties": false,
|
|
85
|
+
"description": "Provider per action after approval. Overrides connection.provider.",
|
|
86
|
+
"properties": {
|
|
87
|
+
"post": { "type": "string" },
|
|
88
|
+
"comment": { "type": "string" }
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
"approval": { "$ref": "#/$defs/approvalMode" }
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
"properties": {
|
|
96
|
+
"schema": { "enum": ["workspace.presence/v1", "presence/v1"], "description": "`presence/v1` is accepted as a legacy alias (AIP-70)." },
|
|
97
|
+
"name": { "$ref": "#/$defs/kebab" },
|
|
98
|
+
"title": { "type": "string", "minLength": 1, "maxLength": 120 },
|
|
99
|
+
"description": { "type": "string", "minLength": 1, "maxLength": 2000 },
|
|
100
|
+
"version": { "type": "string", "pattern": "^\\d+\\.\\d+\\.\\d+" },
|
|
101
|
+
"status": { "enum": ["draft", "active", "paused"] },
|
|
102
|
+
"extends": { "type": "string", "description": "Relative path to a parent PRESENCE.md (company defaults)." },
|
|
103
|
+
"persona": { "type": "string", "description": "AIP-25 PERSONA.md: a relative path or a ws://personas ref. Required in the effective (merged) document." },
|
|
104
|
+
"audience": {
|
|
105
|
+
"type": "object",
|
|
106
|
+
"additionalProperties": false,
|
|
107
|
+
"properties": {
|
|
108
|
+
"primary": { "type": "string" },
|
|
109
|
+
"pains": { "type": "array", "items": { "type": "string" } },
|
|
110
|
+
"notTargeted": { "type": "array", "items": { "type": "string" } }
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
"topics": {
|
|
114
|
+
"type": "object",
|
|
115
|
+
"additionalProperties": false,
|
|
116
|
+
"properties": {
|
|
117
|
+
"pillars": {
|
|
118
|
+
"type": "array",
|
|
119
|
+
"items": {
|
|
120
|
+
"type": "object",
|
|
121
|
+
"required": ["id", "title"],
|
|
122
|
+
"additionalProperties": false,
|
|
123
|
+
"properties": {
|
|
124
|
+
"id": { "$ref": "#/$defs/kebab" },
|
|
125
|
+
"title": { "type": "string" },
|
|
126
|
+
"angle": { "type": "string" }
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
"exclude": { "type": "array", "items": { "type": "string" } }
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
"lexicon": {
|
|
134
|
+
"type": "object",
|
|
135
|
+
"additionalProperties": false,
|
|
136
|
+
"properties": {
|
|
137
|
+
"forbidden": {
|
|
138
|
+
"type": "array",
|
|
139
|
+
"items": {
|
|
140
|
+
"type": "object",
|
|
141
|
+
"required": ["term"],
|
|
142
|
+
"additionalProperties": false,
|
|
143
|
+
"properties": {
|
|
144
|
+
"term": { "type": "string" },
|
|
145
|
+
"reason": { "type": "string" },
|
|
146
|
+
"instead": { "type": "string" }
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
"required": {
|
|
151
|
+
"type": "array",
|
|
152
|
+
"items": {
|
|
153
|
+
"type": "object",
|
|
154
|
+
"required": ["phrase"],
|
|
155
|
+
"additionalProperties": false,
|
|
156
|
+
"properties": {
|
|
157
|
+
"phrase": { "type": "string" },
|
|
158
|
+
"context": { "type": "string" }
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
"channels": { "type": "array", "items": { "$ref": "#/$defs/channel" } },
|
|
165
|
+
"watch": {
|
|
166
|
+
"type": "object",
|
|
167
|
+
"additionalProperties": false,
|
|
168
|
+
"properties": {
|
|
169
|
+
"keywords": { "type": "array", "items": { "type": "string" } },
|
|
170
|
+
"accounts": { "type": "array", "items": { "type": "string" } },
|
|
171
|
+
"hashtags": { "type": "array", "items": { "type": "string" } },
|
|
172
|
+
"communities": { "type": "array", "items": { "type": "string" } },
|
|
173
|
+
"commentRules": { "type": "array", "items": { "type": "string" } }
|
|
174
|
+
}
|
|
175
|
+
},
|
|
176
|
+
"approval": {
|
|
177
|
+
"type": "object",
|
|
178
|
+
"additionalProperties": false,
|
|
179
|
+
"properties": {
|
|
180
|
+
"mode": { "$ref": "#/$defs/approvalMode" },
|
|
181
|
+
"approver": { "type": "string", "description": "Principal ref, e.g. user:jeremy." }
|
|
182
|
+
}
|
|
183
|
+
},
|
|
184
|
+
"gates": {
|
|
185
|
+
"type": "array",
|
|
186
|
+
"items": {
|
|
187
|
+
"type": "object",
|
|
188
|
+
"required": ["id", "description", "status", "blocks"],
|
|
189
|
+
"additionalProperties": false,
|
|
190
|
+
"properties": {
|
|
191
|
+
"id": { "$ref": "#/$defs/kebab" },
|
|
192
|
+
"description": { "type": "string" },
|
|
193
|
+
"status": { "enum": ["open", "cleared"] },
|
|
194
|
+
"blocks": {
|
|
195
|
+
"type": "array",
|
|
196
|
+
"minItems": 1,
|
|
197
|
+
"items": { "type": "string", "pattern": "^(links|posts|comments|channel:[a-z][a-z0-9-]*)$" }
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
},
|
|
202
|
+
"examples": {
|
|
203
|
+
"type": "object",
|
|
204
|
+
"additionalProperties": false,
|
|
205
|
+
"properties": {
|
|
206
|
+
"good": {
|
|
207
|
+
"type": "array",
|
|
208
|
+
"items": {
|
|
209
|
+
"type": "object",
|
|
210
|
+
"required": ["text"],
|
|
211
|
+
"additionalProperties": false,
|
|
212
|
+
"properties": { "channel": { "type": "string" }, "text": { "type": "string" }, "why": { "type": "string" } }
|
|
213
|
+
}
|
|
214
|
+
},
|
|
215
|
+
"bad": {
|
|
216
|
+
"type": "array",
|
|
217
|
+
"items": {
|
|
218
|
+
"type": "object",
|
|
219
|
+
"required": ["text", "why"],
|
|
220
|
+
"additionalProperties": false,
|
|
221
|
+
"properties": { "channel": { "type": "string" }, "text": { "type": "string" }, "why": { "type": "string" } }
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
},
|
|
226
|
+
"review": {
|
|
227
|
+
"type": "object",
|
|
228
|
+
"additionalProperties": false,
|
|
229
|
+
"properties": {
|
|
230
|
+
"cadence": { "enum": ["weekly", "monthly"] },
|
|
231
|
+
"day": { "enum": ["mon", "tue", "wed", "thu", "fri", "sat", "sun"] },
|
|
232
|
+
"kpis": { "type": "array", "items": { "type": "string" } }
|
|
233
|
+
}
|
|
234
|
+
},
|
|
235
|
+
"metadata": { "type": "object" }
|
|
236
|
+
}
|
|
237
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "https://agentproto.sh/schemas/aip-34/TYPES.schema.json",
|
|
4
|
-
"title": "TYPES.md frontmatter — workspace
|
|
4
|
+
"title": "TYPES.md frontmatter — workspace.types/v1 (tree node-type registry)",
|
|
5
5
|
"description": "Validates the YAML frontmatter portion of a TYPES.md manifest. Exactly one per tree, at the root. Declares the node `type` values a workspace/v2 WORKSPACE.md may use, their allowed parent types, their default wall level, required sibling files, and a 'starter' shape a `ws new` command materializes. Each entry conceptually compiles to an AIP-40 EXTENSION.md; this file is the authoring surface.",
|
|
6
6
|
"type": "object",
|
|
7
7
|
"required": ["schema", "types"],
|
|
8
8
|
"additionalProperties": false,
|
|
9
9
|
"properties": {
|
|
10
|
-
"schema": { "
|
|
10
|
+
"schema": { "enum": ["workspace.types/v1", "workspace-types/v1"], "description": "`workspace-types/v1` is accepted as a legacy alias (AIP-70)." },
|
|
11
11
|
"types": {
|
|
12
12
|
"type": "object",
|
|
13
13
|
"minProperties": 1,
|
|
@@ -49,6 +49,10 @@
|
|
|
49
49
|
"$ref": "#/$defs/workRef",
|
|
50
50
|
"description": "AIP-20 WORK.md block. Optional — when present, this node's status/board is tracked there (items are AIP-18 ITEM.md records under the collection(s) WORK.md declares), not in a flat status file. Same inline/ref/file union shape as `code`."
|
|
51
51
|
},
|
|
52
|
+
"presence": {
|
|
53
|
+
"$ref": "#/$defs/presenceRef",
|
|
54
|
+
"description": "PRESENCE.md block (workspace.presence/v1, see AIP-34 §Presence block). Optional. How this node speaks in public: audience, topics, forbidden words, channels, cadence, approval. Same inline/ref/file union as `work`; a `file` is path-confined."
|
|
55
|
+
},
|
|
52
56
|
"identity": { "$ref": "#/$defs/identityRefBlock" },
|
|
53
57
|
"wall": {
|
|
54
58
|
"enum": ["shared", "isolated", "sealed", "hard"],
|
|
@@ -352,6 +356,28 @@
|
|
|
352
356
|
}
|
|
353
357
|
]
|
|
354
358
|
},
|
|
359
|
+
"presenceRef": {
|
|
360
|
+
"anyOf": [
|
|
361
|
+
{
|
|
362
|
+
"type": "object",
|
|
363
|
+
"required": ["inline"],
|
|
364
|
+
"additionalProperties": false,
|
|
365
|
+
"properties": { "inline": { "type": "object" } }
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
"type": "object",
|
|
369
|
+
"required": ["ref"],
|
|
370
|
+
"additionalProperties": false,
|
|
371
|
+
"properties": { "ref": { "type": "string", "minLength": 1 } }
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
"type": "object",
|
|
375
|
+
"required": ["file"],
|
|
376
|
+
"additionalProperties": false,
|
|
377
|
+
"properties": { "file": { "$ref": "#/$defs/safeRelativePath" } }
|
|
378
|
+
}
|
|
379
|
+
]
|
|
380
|
+
},
|
|
355
381
|
"identityRefBlock": {
|
|
356
382
|
"description": "AIP-23 identity-ref. Single entry or multi-attribution array. Left permissive here; AIP-23 owns the normative shape."
|
|
357
383
|
},
|
|
@@ -44,7 +44,8 @@
|
|
|
44
44
|
"properties": {
|
|
45
45
|
"timeout_ms": { "type": "integer", "minimum": 1 },
|
|
46
46
|
"memory_mb": { "type": "integer", "minimum": 1 },
|
|
47
|
-
"cpu_ms": { "type": "integer", "minimum": 1 }
|
|
47
|
+
"cpu_ms": { "type": "integer", "minimum": 1 },
|
|
48
|
+
"cpus": { "type": "number", "minimum": 0.1, "description": "vCPUs, may be fractional (AIP-36 v1.3). Provider config-level cpus maps onto this." }
|
|
48
49
|
},
|
|
49
50
|
"description": "Resource caps per command."
|
|
50
51
|
},
|
|
@@ -74,6 +75,12 @@
|
|
|
74
75
|
"items": { "type": "string" },
|
|
75
76
|
"default": [],
|
|
76
77
|
"description": "Hostnames the sandbox MAY reach. Empty / missing = no egress."
|
|
78
|
+
},
|
|
79
|
+
"egressIp": {
|
|
80
|
+
"type": "string",
|
|
81
|
+
"pattern": "^(shared|auto|dedicated|[a-z0-9]{1,8})$",
|
|
82
|
+
"default": "shared",
|
|
83
|
+
"description": "Public source address for outbound traffic (AIP-36 v1.3): shared | auto | dedicated | pool slot id. A provider without an address pool MUST refuse any value other than shared with sandbox_egress_pool_unavailable."
|
|
77
84
|
}
|
|
78
85
|
}
|
|
79
86
|
},
|
|
@@ -68,6 +68,11 @@
|
|
|
68
68
|
"$ref": "#/$defs/identityRefEntry",
|
|
69
69
|
"description": "AIP-23 identity-ref. Schemes: operator://, user://, org://, guild://, bot://, group://, role://, *."
|
|
70
70
|
},
|
|
71
|
+
"effect": {
|
|
72
|
+
"enum": ["allow", "deny"],
|
|
73
|
+
"default": "allow",
|
|
74
|
+
"description": "Grant effect. A matching `deny` wins over any allow in any composed policy (added 2026-10-23). Default `allow`."
|
|
75
|
+
},
|
|
71
76
|
"actions": {
|
|
72
77
|
"type": "array",
|
|
73
78
|
"minItems": 1,
|
|
@@ -131,11 +136,12 @@
|
|
|
131
136
|
"type": "object",
|
|
132
137
|
"required": ["kind", "value"],
|
|
133
138
|
"additionalProperties": true,
|
|
139
|
+
"not": { "required": ["per", "window"] },
|
|
134
140
|
"properties": {
|
|
135
141
|
"kind": {
|
|
136
142
|
"type": "string",
|
|
137
143
|
"minLength": 1,
|
|
138
|
-
"description": "Limit kind. Standard: `max-concurrent-sandboxes`, `rate-tool-calls`, `max-egress-bytes-per-day`. Host-extensible."
|
|
144
|
+
"description": "Limit kind. Standard: `max-concurrent-sandboxes`, `rate-tool-calls`, `max-egress-bytes-per-day`, `spend-usd`. Host-extensible. For `spend-usd`, the USD ceiling accumulates the `costUsd` (AIP-46) of each `model:invoke` in the window."
|
|
139
145
|
},
|
|
140
146
|
"value": {
|
|
141
147
|
"type": "number",
|
|
@@ -143,11 +149,16 @@
|
|
|
143
149
|
},
|
|
144
150
|
"scope": {
|
|
145
151
|
"type": "string",
|
|
146
|
-
"description": "Per what? `user`, `workspace`, `org`, host-specific."
|
|
152
|
+
"description": "Per what? `user`, `workspace`, `org`, `session`, `auth-profile`, host-specific. For `spend-usd`, `session` aggregates over the session lineage (successor declared via `succeeds`, or continue-fresh handoff); `auth-profile` is the hard cap across all sessions."
|
|
147
153
|
},
|
|
148
154
|
"per": {
|
|
149
155
|
"enum": ["second", "minute", "hour", "day"],
|
|
150
|
-
"description": "For rate-style limits."
|
|
156
|
+
"description": "For rate-style limits. Mutually exclusive with `window`."
|
|
157
|
+
},
|
|
158
|
+
"window": {
|
|
159
|
+
"type": "string",
|
|
160
|
+
"pattern": "^P(?=.)(\\d+Y)?(\\d+M)?(\\d+W)?(\\d+D)?(T(?=\\d)(\\d+H)?(\\d+M)?(\\d+(?:\\.\\d+)?S)?)?$",
|
|
161
|
+
"description": "Rolling window as an ISO-8601 duration, e.g. `PT5H` or `P7D`. ISO-8601 is canonical; a host MAY accept shorthand input (`5h`, `7d`) but MUST normalize before storing or evaluating. Mutually exclusive with `per` (added 2026-10-23)."
|
|
151
162
|
},
|
|
152
163
|
"applies_to": {
|
|
153
164
|
"type": "array",
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
"additionalProperties": false,
|
|
9
9
|
"properties": {
|
|
10
10
|
"schema": {
|
|
11
|
-
"
|
|
12
|
-
"description": "Pins the registry schema this kit conforms to. Required for registry submission."
|
|
11
|
+
"enum": ["design/v1", "designkit/v1"],
|
|
12
|
+
"description": "Pins the registry schema this kit conforms to. Required for registry submission. `designkit/v1` is accepted as a legacy alias (AIP-70)."
|
|
13
13
|
},
|
|
14
14
|
"kit": {
|
|
15
15
|
"type": "string",
|