@basou/core 0.44.0 → 0.45.0

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.
@@ -0,0 +1,264 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://basou.dev/schemas/0.1.0/manifest.schema.json",
4
+ "title": "Basou Manifest",
5
+ "description": "The `.basou/manifest.yaml` workspace manifest.",
6
+ "type": "object",
7
+ "properties": {
8
+ "schema_version": {
9
+ "type": "string",
10
+ "pattern": "^0\\.\\d+\\.\\d+$"
11
+ },
12
+ "basou_version": {
13
+ "type": "string",
14
+ "pattern": "^0\\.\\d+\\.\\d+$"
15
+ },
16
+ "workspace": {
17
+ "type": "object",
18
+ "properties": {
19
+ "id": {
20
+ "type": "string",
21
+ "pattern": "^ws_[0-7][0-9A-HJKMNP-TV-Z]{25}$",
22
+ "description": "Basou ws id: `ws_` followed by a 26-character Crockford Base32 ULID."
23
+ },
24
+ "name": {
25
+ "type": "string",
26
+ "minLength": 1
27
+ },
28
+ "created_at": {
29
+ "type": "string",
30
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
31
+ "description": "Timestamp with an offset or Z. The pattern is normative under ECMA-262 semantics: RFC 3339 date-time with uppercase designators, no leap second, and optional seconds."
32
+ },
33
+ "updated_at": {
34
+ "type": "string",
35
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
36
+ "description": "Timestamp with an offset or Z. The pattern is normative under ECMA-262 semantics: RFC 3339 date-time with uppercase designators, no leap second, and optional seconds."
37
+ },
38
+ "view": {
39
+ "type": "string",
40
+ "minLength": 1,
41
+ "pattern": "^(?![~/\\\\])(?![A-Za-z]:)(?!\\s)[^\\0\\\\]*[^\\0\\\\\\s]$"
42
+ }
43
+ },
44
+ "required": [
45
+ "id",
46
+ "name",
47
+ "created_at",
48
+ "updated_at"
49
+ ],
50
+ "additionalProperties": {}
51
+ },
52
+ "project": {
53
+ "type": "object",
54
+ "properties": {
55
+ "name": {
56
+ "type": "string"
57
+ },
58
+ "description": {
59
+ "type": "string"
60
+ }
61
+ },
62
+ "additionalProperties": {}
63
+ },
64
+ "capabilities": {
65
+ "type": "object",
66
+ "properties": {
67
+ "enabled": {
68
+ "type": "array",
69
+ "items": {
70
+ "type": "string"
71
+ }
72
+ }
73
+ },
74
+ "required": [
75
+ "enabled"
76
+ ],
77
+ "additionalProperties": {}
78
+ },
79
+ "approval": {
80
+ "type": "object",
81
+ "properties": {
82
+ "required_for": {
83
+ "type": "array",
84
+ "items": {
85
+ "type": "string"
86
+ }
87
+ },
88
+ "default_risk_level": {
89
+ "type": "string",
90
+ "enum": [
91
+ "low",
92
+ "medium",
93
+ "high",
94
+ "critical"
95
+ ]
96
+ }
97
+ },
98
+ "required": [
99
+ "default_risk_level"
100
+ ],
101
+ "additionalProperties": {}
102
+ },
103
+ "adapters": {
104
+ "type": "object",
105
+ "properties": {
106
+ "claude-code": {
107
+ "type": "object",
108
+ "properties": {
109
+ "enabled": {
110
+ "type": "boolean"
111
+ },
112
+ "config_path": {
113
+ "type": "string"
114
+ }
115
+ },
116
+ "required": [
117
+ "enabled"
118
+ ],
119
+ "additionalProperties": {}
120
+ }
121
+ },
122
+ "required": [
123
+ "claude-code"
124
+ ],
125
+ "additionalProperties": {}
126
+ },
127
+ "git": {
128
+ "type": "object",
129
+ "properties": {
130
+ "events_log": {
131
+ "default": "ignore",
132
+ "type": "string",
133
+ "enum": [
134
+ "ignore",
135
+ "commit"
136
+ ]
137
+ }
138
+ },
139
+ "additionalProperties": {}
140
+ },
141
+ "import": {
142
+ "type": "object",
143
+ "properties": {
144
+ "source_roots": {
145
+ "minItems": 1,
146
+ "type": "array",
147
+ "items": {
148
+ "type": "string",
149
+ "minLength": 1,
150
+ "pattern": "^(?![~/\\\\])(?![A-Za-z]:)(?!\\s)[^\\0\\\\]*[^\\0\\\\\\s]$"
151
+ }
152
+ }
153
+ },
154
+ "additionalProperties": {}
155
+ },
156
+ "repos": {
157
+ "minItems": 1,
158
+ "type": "array",
159
+ "items": {
160
+ "type": "object",
161
+ "properties": {
162
+ "path": {
163
+ "type": "string",
164
+ "minLength": 1,
165
+ "pattern": "^(?![~/\\\\])(?![A-Za-z]:)(?!\\s)[^\\0\\\\]*[^\\0\\\\\\s]$"
166
+ },
167
+ "visibility": {
168
+ "type": "string",
169
+ "enum": [
170
+ "public",
171
+ "private",
172
+ "future-public"
173
+ ]
174
+ },
175
+ "language": {
176
+ "type": "string",
177
+ "enum": [
178
+ "en",
179
+ "ja",
180
+ "en+ja"
181
+ ]
182
+ },
183
+ "publishes": {
184
+ "type": "array",
185
+ "items": {
186
+ "type": "object",
187
+ "properties": {
188
+ "kind": {
189
+ "type": "string",
190
+ "enum": [
191
+ "web",
192
+ "npm"
193
+ ]
194
+ },
195
+ "visibility": {
196
+ "type": "string",
197
+ "enum": [
198
+ "public",
199
+ "private",
200
+ "future-public"
201
+ ]
202
+ },
203
+ "language": {
204
+ "type": "string",
205
+ "enum": [
206
+ "en",
207
+ "ja",
208
+ "en+ja"
209
+ ]
210
+ }
211
+ },
212
+ "required": [
213
+ "kind"
214
+ ],
215
+ "additionalProperties": {}
216
+ }
217
+ },
218
+ "instructions": {
219
+ "type": "string",
220
+ "enum": [
221
+ "hub",
222
+ "self"
223
+ ]
224
+ }
225
+ },
226
+ "required": [
227
+ "path"
228
+ ],
229
+ "additionalProperties": {}
230
+ }
231
+ },
232
+ "channels": {
233
+ "type": "object",
234
+ "properties": {
235
+ "codex": {
236
+ "description": "Retired and ignored. It used to opt this workspace into rendering its orientation into the user-global ~/.codex/AGENTS.md; nothing is written there any more — a Codex session receives the workspace's position from the SessionStart hook (`basou hook install codex`).",
237
+ "type": "boolean"
238
+ }
239
+ },
240
+ "additionalProperties": {}
241
+ },
242
+ "policies": {
243
+ "type": "object",
244
+ "properties": {
245
+ "confidential": {
246
+ "description": "Posture: this workspace's provenance must not persist where another workspace's tool reads it. The one writer this used to gate — rendering the orientation into the user-global ~/.codex/AGENTS.md — is retired, so today the key gates nothing; it stays declared so a future writer to a shared surface must consult it. A top-level `confidential` is rejected rather than ignored.",
247
+ "type": "boolean"
248
+ }
249
+ },
250
+ "additionalProperties": {}
251
+ }
252
+ },
253
+ "required": [
254
+ "schema_version",
255
+ "basou_version",
256
+ "workspace",
257
+ "project",
258
+ "capabilities",
259
+ "approval",
260
+ "adapters",
261
+ "git"
262
+ ],
263
+ "additionalProperties": {}
264
+ }