@basou/core 0.12.0 → 0.13.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@basou/core",
3
- "version": "0.12.0",
3
+ "version": "0.13.0",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "description": "Core primitives for Basou: sessions, events, approvals, git capability",
@@ -1166,6 +1166,13 @@
1166
1166
  },
1167
1167
  "body": {
1168
1168
  "type": "string"
1169
+ },
1170
+ "kind": {
1171
+ "type": "string",
1172
+ "enum": [
1173
+ "note",
1174
+ "next_step"
1175
+ ]
1169
1176
  }
1170
1177
  },
1171
1178
  "required": [
@@ -34,6 +34,11 @@
34
34
  "type": "string",
35
35
  "format": "date-time",
36
36
  "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)))$"
37
+ },
38
+ "view": {
39
+ "type": "string",
40
+ "minLength": 1,
41
+ "pattern": "^(?![~/\\\\])(?![A-Za-z]:)(?!\\s)[^\\0\\\\]*[^\\0\\\\\\s]$"
37
42
  }
38
43
  },
39
44
  "required": [
@@ -41,7 +46,8 @@
41
46
  "name",
42
47
  "created_at",
43
48
  "updated_at"
44
- ]
49
+ ],
50
+ "additionalProperties": {}
45
51
  },
46
52
  "project": {
47
53
  "type": "object",
@@ -62,7 +68,8 @@
62
68
  }
63
69
  ]
64
70
  }
65
- }
71
+ },
72
+ "additionalProperties": {}
66
73
  },
67
74
  "capabilities": {
68
75
  "type": "object",
@@ -76,7 +83,8 @@
76
83
  },
77
84
  "required": [
78
85
  "enabled"
79
- ]
86
+ ],
87
+ "additionalProperties": {}
80
88
  },
81
89
  "approval": {
82
90
  "type": "object",
@@ -99,7 +107,8 @@
99
107
  },
100
108
  "required": [
101
109
  "default_risk_level"
102
- ]
110
+ ],
111
+ "additionalProperties": {}
103
112
  },
104
113
  "adapters": {
105
114
  "type": "object",
@@ -116,12 +125,14 @@
116
125
  },
117
126
  "required": [
118
127
  "enabled"
119
- ]
128
+ ],
129
+ "additionalProperties": {}
120
130
  }
121
131
  },
122
132
  "required": [
123
133
  "claude-code"
124
- ]
134
+ ],
135
+ "additionalProperties": {}
125
136
  },
126
137
  "git": {
127
138
  "type": "object",
@@ -134,7 +145,8 @@
134
145
  "commit"
135
146
  ]
136
147
  }
137
- }
148
+ },
149
+ "additionalProperties": {}
138
150
  },
139
151
  "import": {
140
152
  "type": "object",
@@ -145,9 +157,79 @@
145
157
  "items": {
146
158
  "type": "string",
147
159
  "minLength": 1,
148
- "pattern": "^(?![~/\\\\])(?![A-Za-z]:)[^\\0\\\\]+$"
160
+ "pattern": "^(?![~/\\\\])(?![A-Za-z]:)(?!\\s)[^\\0\\\\]*[^\\0\\\\\\s]$"
149
161
  }
150
162
  }
163
+ },
164
+ "additionalProperties": {}
165
+ },
166
+ "repos": {
167
+ "minItems": 1,
168
+ "type": "array",
169
+ "items": {
170
+ "type": "object",
171
+ "properties": {
172
+ "path": {
173
+ "type": "string",
174
+ "minLength": 1,
175
+ "pattern": "^(?![~/\\\\])(?![A-Za-z]:)(?!\\s)[^\\0\\\\]*[^\\0\\\\\\s]$"
176
+ },
177
+ "visibility": {
178
+ "type": "string",
179
+ "enum": [
180
+ "public",
181
+ "private",
182
+ "future-public"
183
+ ]
184
+ },
185
+ "language": {
186
+ "type": "string",
187
+ "enum": [
188
+ "en",
189
+ "ja",
190
+ "en+ja"
191
+ ]
192
+ },
193
+ "publishes": {
194
+ "type": "array",
195
+ "items": {
196
+ "type": "object",
197
+ "properties": {
198
+ "kind": {
199
+ "type": "string",
200
+ "enum": [
201
+ "web",
202
+ "npm"
203
+ ]
204
+ },
205
+ "visibility": {
206
+ "type": "string",
207
+ "enum": [
208
+ "public",
209
+ "private",
210
+ "future-public"
211
+ ]
212
+ },
213
+ "language": {
214
+ "type": "string",
215
+ "enum": [
216
+ "en",
217
+ "ja",
218
+ "en+ja"
219
+ ]
220
+ }
221
+ },
222
+ "required": [
223
+ "kind"
224
+ ],
225
+ "additionalProperties": {}
226
+ }
227
+ }
228
+ },
229
+ "required": [
230
+ "path"
231
+ ],
232
+ "additionalProperties": {}
151
233
  }
152
234
  }
153
235
  },
@@ -160,5 +242,6 @@
160
242
  "approval",
161
243
  "adapters",
162
244
  "git"
163
- ]
245
+ ],
246
+ "additionalProperties": {}
164
247
  }
@@ -1407,6 +1407,13 @@
1407
1407
  },
1408
1408
  "body": {
1409
1409
  "type": "string"
1410
+ },
1411
+ "kind": {
1412
+ "type": "string",
1413
+ "enum": [
1414
+ "note",
1415
+ "next_step"
1416
+ ]
1410
1417
  }
1411
1418
  },
1412
1419
  "required": [