opensquid 0.5.426 → 0.5.441
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/channels/env-token.js +2 -2
- package/dist/channels/env-token.js.map +1 -1
- package/dist/cli.js +2 -1
- package/dist/cli.js.map +1 -1
- package/dist/functions/event.d.ts.map +1 -1
- package/dist/functions/event.js +18 -2
- package/dist/functions/event.js.map +1 -1
- package/dist/functions/index.d.ts +3 -0
- package/dist/functions/index.d.ts.map +1 -1
- package/dist/functions/index.js +3 -0
- package/dist/functions/index.js.map +1 -1
- package/dist/functions/inject_context.d.ts +18 -0
- package/dist/functions/inject_context.d.ts.map +1 -0
- package/dist/functions/inject_context.js +16 -0
- package/dist/functions/inject_context.js.map +1 -0
- package/dist/functions/procedure_pre_inject.d.ts +23 -0
- package/dist/functions/procedure_pre_inject.d.ts.map +1 -0
- package/dist/functions/procedure_pre_inject.js +49 -0
- package/dist/functions/procedure_pre_inject.js.map +1 -0
- package/dist/functions/registry.d.ts +6 -0
- package/dist/functions/registry.d.ts.map +1 -1
- package/dist/functions/registry.js.map +1 -1
- package/dist/functions/rubric_pre_inject.d.ts.map +1 -1
- package/dist/functions/rubric_pre_inject.js +2 -1
- package/dist/functions/rubric_pre_inject.js.map +1 -1
- package/dist/functions/session_status_manifest.d.ts.map +1 -1
- package/dist/functions/session_status_manifest.js +15 -0
- package/dist/functions/session_status_manifest.js.map +1 -1
- package/dist/functions/set_request_type.d.ts +11 -0
- package/dist/functions/set_request_type.d.ts.map +1 -0
- package/dist/functions/set_request_type.js +34 -0
- package/dist/functions/set_request_type.js.map +1 -0
- package/dist/functions/shell_parse.d.ts +1 -0
- package/dist/functions/shell_parse.d.ts.map +1 -1
- package/dist/functions/shell_parse.js +22 -4
- package/dist/functions/shell_parse.js.map +1 -1
- package/dist/mcp/tools/memorize.d.ts +3 -0
- package/dist/mcp/tools/memorize.d.ts.map +1 -1
- package/dist/mcp/tools/memorize.js +8 -0
- package/dist/mcp/tools/memorize.js.map +1 -1
- package/dist/packs/loader.d.ts.map +1 -1
- package/dist/packs/loader.js +26 -0
- package/dist/packs/loader.js.map +1 -1
- package/dist/rag/backends/libsql_store.d.ts.map +1 -1
- package/dist/rag/backends/libsql_store.js +13 -5
- package/dist/rag/backends/libsql_store.js.map +1 -1
- package/dist/rag/backends/perfile_source.d.ts.map +1 -1
- package/dist/rag/backends/perfile_source.js +6 -0
- package/dist/rag/backends/perfile_source.js.map +1 -1
- package/dist/rag/durability.d.ts +26 -0
- package/dist/rag/durability.d.ts.map +1 -0
- package/dist/rag/durability.js +34 -0
- package/dist/rag/durability.js.map +1 -0
- package/dist/rag/memory/store.d.ts.map +1 -1
- package/dist/rag/memory/store.js +11 -3
- package/dist/rag/memory/store.js.map +1 -1
- package/dist/rag/types.d.ts +3 -0
- package/dist/rag/types.d.ts.map +1 -1
- package/dist/rag/types.js.map +1 -1
- package/dist/runtime/agent_bridge/daemon.d.ts.map +1 -1
- package/dist/runtime/agent_bridge/daemon.js +9 -6
- package/dist/runtime/agent_bridge/daemon.js.map +1 -1
- package/dist/runtime/bootstrap.d.ts.map +1 -1
- package/dist/runtime/bootstrap.js +4 -0
- package/dist/runtime/bootstrap.js.map +1 -1
- package/dist/runtime/fsm_state.d.ts +6 -0
- package/dist/runtime/fsm_state.d.ts.map +1 -1
- package/dist/runtime/fsm_state.js +14 -0
- package/dist/runtime/fsm_state.js.map +1 -1
- package/dist/runtime/handoff/stranded_scoping.d.ts +21 -0
- package/dist/runtime/handoff/stranded_scoping.d.ts.map +1 -0
- package/dist/runtime/handoff/stranded_scoping.js +39 -0
- package/dist/runtime/handoff/stranded_scoping.js.map +1 -0
- package/dist/runtime/hooks/dispatch.d.ts.map +1 -1
- package/dist/runtime/hooks/dispatch.js +3 -0
- package/dist/runtime/hooks/dispatch.js.map +1 -1
- package/dist/runtime/hooks/session-start.js +17 -0
- package/dist/runtime/hooks/session-start.js.map +1 -1
- package/dist/runtime/hooks/user-prompt-submit.d.ts.map +1 -1
- package/dist/runtime/hooks/user-prompt-submit.js +22 -1
- package/dist/runtime/hooks/user-prompt-submit.js.map +1 -1
- package/dist/runtime/ralph/ralph_template.d.ts +1 -1
- package/dist/runtime/ralph/ralph_template.d.ts.map +1 -1
- package/dist/runtime/ralph/ralph_template.js +1 -1
- package/dist/runtime/request_type.d.ts +33 -0
- package/dist/runtime/request_type.d.ts.map +1 -0
- package/dist/runtime/request_type.js +38 -0
- package/dist/runtime/request_type.js.map +1 -0
- package/dist/runtime/session_state.d.ts +11 -0
- package/dist/runtime/session_state.d.ts.map +1 -1
- package/dist/runtime/session_state.js +30 -0
- package/dist/runtime/session_state.js.map +1 -1
- package/dist/runtime/types.d.ts +5 -0
- package/dist/runtime/types.d.ts.map +1 -1
- package/dist/runtime/types.js +3 -0
- package/dist/runtime/types.js.map +1 -1
- package/dist/setup/cli/chat_actions.js +1 -1
- package/dist/setup/cli/chat_actions.js.map +1 -1
- package/dist/setup/cli/chat_actions_prompts_alias.js +4 -1
- package/dist/setup/cli/chat_actions_prompts_alias.js.map +1 -1
- package/dist/setup/cli/chat_actions_test_step.js +2 -2
- package/dist/setup/cli/chat_actions_test_step.js.map +1 -1
- package/dist/setup/cli/chat_state.d.ts.map +1 -1
- package/dist/setup/cli/chat_state.js +3 -2
- package/dist/setup/cli/chat_state.js.map +1 -1
- package/dist/setup/cli/mcp.d.ts +1 -1
- package/dist/setup/cli/mcp.d.ts.map +1 -1
- package/dist/setup/cli/mcp.js +7 -8
- package/dist/setup/cli/mcp.js.map +1 -1
- package/dist/setup/cli/ralph.d.ts.map +1 -1
- package/dist/setup/cli/ralph.js +16 -4
- package/dist/setup/cli/ralph.js.map +1 -1
- package/dist/setup/wizard/mcp-writer.d.ts +3 -3
- package/dist/setup/wizard/mcp-writer.d.ts.map +1 -1
- package/dist/setup/wizard/mcp-writer.js +17 -0
- package/dist/setup/wizard/mcp-writer.js.map +1 -1
- package/docs/pack-runtime.md +26 -10
- package/package.json +2 -2
- package/packs/builtin/coding-flow/procedure.md +43 -0
- package/packs/builtin/coding-flow/skills/entry-and-handoffs/skill.yaml +48 -1
- package/packs/builtin/coding-flow/skills/execute-gate/skill.yaml +10 -2
- package/packs/builtin/coding-flow/skills/pause-stop-guard/skill.yaml +11 -1
- package/packs/builtin/default-discipline/manifest.yaml +15 -6
- package/packs/builtin/pack-architect/skills/skill-yaml-author-walkthrough/skill.yaml +8 -0
- package/schemas/manifest.schema.json +45 -203
- package/schemas/models.schema.json +3 -13
- package/schemas/notifications.schema.json +6 -24
- package/schemas/skill.schema.json +33 -120
- package/schemas/team.schema.json +46 -0
|
@@ -10,10 +10,7 @@
|
|
|
10
10
|
},
|
|
11
11
|
"load": {
|
|
12
12
|
"type": "string",
|
|
13
|
-
"enum": [
|
|
14
|
-
"preload",
|
|
15
|
-
"lazy"
|
|
16
|
-
],
|
|
13
|
+
"enum": ["preload", "lazy"],
|
|
17
14
|
"default": "lazy"
|
|
18
15
|
},
|
|
19
16
|
"when_to_load": {
|
|
@@ -32,10 +29,7 @@
|
|
|
32
29
|
"minLength": 1
|
|
33
30
|
}
|
|
34
31
|
},
|
|
35
|
-
"required": [
|
|
36
|
-
"kind",
|
|
37
|
-
"tool"
|
|
38
|
-
],
|
|
32
|
+
"required": ["kind", "tool"],
|
|
39
33
|
"additionalProperties": false
|
|
40
34
|
},
|
|
41
35
|
{
|
|
@@ -50,10 +44,7 @@
|
|
|
50
44
|
"minLength": 1
|
|
51
45
|
}
|
|
52
46
|
},
|
|
53
|
-
"required": [
|
|
54
|
-
"kind",
|
|
55
|
-
"pattern"
|
|
56
|
-
],
|
|
47
|
+
"required": ["kind", "pattern"],
|
|
57
48
|
"additionalProperties": false
|
|
58
49
|
},
|
|
59
50
|
{
|
|
@@ -68,10 +59,7 @@
|
|
|
68
59
|
"minLength": 1
|
|
69
60
|
}
|
|
70
61
|
},
|
|
71
|
-
"required": [
|
|
72
|
-
"kind",
|
|
73
|
-
"glob"
|
|
74
|
-
],
|
|
62
|
+
"required": ["kind", "glob"],
|
|
75
63
|
"additionalProperties": false
|
|
76
64
|
},
|
|
77
65
|
{
|
|
@@ -97,10 +85,7 @@
|
|
|
97
85
|
]
|
|
98
86
|
}
|
|
99
87
|
},
|
|
100
|
-
"required": [
|
|
101
|
-
"kind",
|
|
102
|
-
"type"
|
|
103
|
-
],
|
|
88
|
+
"required": ["kind", "type"],
|
|
104
89
|
"additionalProperties": false
|
|
105
90
|
}
|
|
106
91
|
]
|
|
@@ -119,9 +104,7 @@
|
|
|
119
104
|
"const": "automation_mode_on"
|
|
120
105
|
}
|
|
121
106
|
},
|
|
122
|
-
"required": [
|
|
123
|
-
"kind"
|
|
124
|
-
],
|
|
107
|
+
"required": ["kind"],
|
|
125
108
|
"additionalProperties": false
|
|
126
109
|
},
|
|
127
110
|
{
|
|
@@ -132,9 +115,7 @@
|
|
|
132
115
|
"const": "active_task_present"
|
|
133
116
|
}
|
|
134
117
|
},
|
|
135
|
-
"required": [
|
|
136
|
-
"kind"
|
|
137
|
-
],
|
|
118
|
+
"required": ["kind"],
|
|
138
119
|
"additionalProperties": false
|
|
139
120
|
}
|
|
140
121
|
]
|
|
@@ -153,9 +134,7 @@
|
|
|
153
134
|
"const": "active_task_completes"
|
|
154
135
|
}
|
|
155
136
|
},
|
|
156
|
-
"required": [
|
|
157
|
-
"kind"
|
|
158
|
-
],
|
|
137
|
+
"required": ["kind"],
|
|
159
138
|
"additionalProperties": false
|
|
160
139
|
},
|
|
161
140
|
{
|
|
@@ -166,9 +145,7 @@
|
|
|
166
145
|
"const": "session_ends"
|
|
167
146
|
}
|
|
168
147
|
},
|
|
169
|
-
"required": [
|
|
170
|
-
"kind"
|
|
171
|
-
],
|
|
148
|
+
"required": ["kind"],
|
|
172
149
|
"additionalProperties": false
|
|
173
150
|
},
|
|
174
151
|
{
|
|
@@ -183,10 +160,7 @@
|
|
|
183
160
|
"exclusiveMinimum": 0
|
|
184
161
|
}
|
|
185
162
|
},
|
|
186
|
-
"required": [
|
|
187
|
-
"kind",
|
|
188
|
-
"n"
|
|
189
|
-
],
|
|
163
|
+
"required": ["kind", "n"],
|
|
190
164
|
"additionalProperties": false
|
|
191
165
|
}
|
|
192
166
|
]
|
|
@@ -205,9 +179,7 @@
|
|
|
205
179
|
"const": "tool_call"
|
|
206
180
|
}
|
|
207
181
|
},
|
|
208
|
-
"required": [
|
|
209
|
-
"kind"
|
|
210
|
-
],
|
|
182
|
+
"required": ["kind"],
|
|
211
183
|
"additionalProperties": false
|
|
212
184
|
},
|
|
213
185
|
{
|
|
@@ -218,9 +190,7 @@
|
|
|
218
190
|
"const": "post_tool_call"
|
|
219
191
|
}
|
|
220
192
|
},
|
|
221
|
-
"required": [
|
|
222
|
-
"kind"
|
|
223
|
-
],
|
|
193
|
+
"required": ["kind"],
|
|
224
194
|
"additionalProperties": false
|
|
225
195
|
},
|
|
226
196
|
{
|
|
@@ -231,9 +201,7 @@
|
|
|
231
201
|
"const": "prompt_submit"
|
|
232
202
|
}
|
|
233
203
|
},
|
|
234
|
-
"required": [
|
|
235
|
-
"kind"
|
|
236
|
-
],
|
|
204
|
+
"required": ["kind"],
|
|
237
205
|
"additionalProperties": false
|
|
238
206
|
},
|
|
239
207
|
{
|
|
@@ -244,9 +212,7 @@
|
|
|
244
212
|
"const": "session_end"
|
|
245
213
|
}
|
|
246
214
|
},
|
|
247
|
-
"required": [
|
|
248
|
-
"kind"
|
|
249
|
-
],
|
|
215
|
+
"required": ["kind"],
|
|
250
216
|
"additionalProperties": false
|
|
251
217
|
},
|
|
252
218
|
{
|
|
@@ -257,9 +223,7 @@
|
|
|
257
223
|
"const": "stop"
|
|
258
224
|
}
|
|
259
225
|
},
|
|
260
|
-
"required": [
|
|
261
|
-
"kind"
|
|
262
|
-
],
|
|
226
|
+
"required": ["kind"],
|
|
263
227
|
"additionalProperties": false
|
|
264
228
|
},
|
|
265
229
|
{
|
|
@@ -270,9 +234,7 @@
|
|
|
270
234
|
"const": "session_start"
|
|
271
235
|
}
|
|
272
236
|
},
|
|
273
|
-
"required": [
|
|
274
|
-
"kind"
|
|
275
|
-
],
|
|
237
|
+
"required": ["kind"],
|
|
276
238
|
"additionalProperties": false
|
|
277
239
|
},
|
|
278
240
|
{
|
|
@@ -287,16 +249,10 @@
|
|
|
287
249
|
},
|
|
288
250
|
"cost_tier": {
|
|
289
251
|
"type": "string",
|
|
290
|
-
"enum": [
|
|
291
|
-
"cheap",
|
|
292
|
-
"balanced",
|
|
293
|
-
"premium"
|
|
294
|
-
]
|
|
252
|
+
"enum": ["cheap", "balanced", "premium"]
|
|
295
253
|
}
|
|
296
254
|
},
|
|
297
|
-
"required": [
|
|
298
|
-
"kind"
|
|
299
|
-
],
|
|
255
|
+
"required": ["kind"],
|
|
300
256
|
"additionalProperties": false
|
|
301
257
|
},
|
|
302
258
|
{
|
|
@@ -311,16 +267,10 @@
|
|
|
311
267
|
},
|
|
312
268
|
"cost_tier": {
|
|
313
269
|
"type": "string",
|
|
314
|
-
"enum": [
|
|
315
|
-
"cheap",
|
|
316
|
-
"balanced",
|
|
317
|
-
"premium"
|
|
318
|
-
]
|
|
270
|
+
"enum": ["cheap", "balanced", "premium"]
|
|
319
271
|
}
|
|
320
272
|
},
|
|
321
|
-
"required": [
|
|
322
|
-
"kind"
|
|
323
|
-
],
|
|
273
|
+
"required": ["kind"],
|
|
324
274
|
"additionalProperties": false
|
|
325
275
|
},
|
|
326
276
|
{
|
|
@@ -338,16 +288,10 @@
|
|
|
338
288
|
},
|
|
339
289
|
"cost_tier": {
|
|
340
290
|
"type": "string",
|
|
341
|
-
"enum": [
|
|
342
|
-
"cheap",
|
|
343
|
-
"balanced",
|
|
344
|
-
"premium"
|
|
345
|
-
]
|
|
291
|
+
"enum": ["cheap", "balanced", "premium"]
|
|
346
292
|
}
|
|
347
293
|
},
|
|
348
|
-
"required": [
|
|
349
|
-
"kind"
|
|
350
|
-
],
|
|
294
|
+
"required": ["kind"],
|
|
351
295
|
"additionalProperties": false
|
|
352
296
|
},
|
|
353
297
|
{
|
|
@@ -371,16 +315,10 @@
|
|
|
371
315
|
},
|
|
372
316
|
"cost_tier": {
|
|
373
317
|
"type": "string",
|
|
374
|
-
"enum": [
|
|
375
|
-
"cheap",
|
|
376
|
-
"balanced",
|
|
377
|
-
"premium"
|
|
378
|
-
]
|
|
318
|
+
"enum": ["cheap", "balanced", "premium"]
|
|
379
319
|
}
|
|
380
320
|
},
|
|
381
|
-
"required": [
|
|
382
|
-
"kind"
|
|
383
|
-
],
|
|
321
|
+
"required": ["kind"],
|
|
384
322
|
"additionalProperties": false
|
|
385
323
|
}
|
|
386
324
|
]
|
|
@@ -420,9 +358,7 @@
|
|
|
420
358
|
"const": "automation_mode_on"
|
|
421
359
|
}
|
|
422
360
|
},
|
|
423
|
-
"required": [
|
|
424
|
-
"kind"
|
|
425
|
-
],
|
|
361
|
+
"required": ["kind"],
|
|
426
362
|
"additionalProperties": false
|
|
427
363
|
},
|
|
428
364
|
{
|
|
@@ -433,9 +369,7 @@
|
|
|
433
369
|
"const": "active_task_present"
|
|
434
370
|
}
|
|
435
371
|
},
|
|
436
|
-
"required": [
|
|
437
|
-
"kind"
|
|
438
|
-
],
|
|
372
|
+
"required": ["kind"],
|
|
439
373
|
"additionalProperties": false
|
|
440
374
|
}
|
|
441
375
|
]
|
|
@@ -463,32 +397,20 @@
|
|
|
463
397
|
},
|
|
464
398
|
"on_empty": {
|
|
465
399
|
"type": "string",
|
|
466
|
-
"enum": [
|
|
467
|
-
"pass",
|
|
468
|
-
"block",
|
|
469
|
-
"continue"
|
|
470
|
-
]
|
|
400
|
+
"enum": ["pass", "block", "continue"]
|
|
471
401
|
},
|
|
472
402
|
"on_error": {
|
|
473
403
|
"type": "string",
|
|
474
|
-
"enum": [
|
|
475
|
-
"abort",
|
|
476
|
-
"continue"
|
|
477
|
-
]
|
|
404
|
+
"enum": ["abort", "continue"]
|
|
478
405
|
}
|
|
479
406
|
},
|
|
480
|
-
"required": [
|
|
481
|
-
"call"
|
|
482
|
-
],
|
|
407
|
+
"required": ["call"],
|
|
483
408
|
"additionalProperties": false
|
|
484
409
|
},
|
|
485
410
|
"minItems": 1
|
|
486
411
|
}
|
|
487
412
|
},
|
|
488
|
-
"required": [
|
|
489
|
-
"id",
|
|
490
|
-
"process"
|
|
491
|
-
],
|
|
413
|
+
"required": ["id", "process"],
|
|
492
414
|
"additionalProperties": false
|
|
493
415
|
},
|
|
494
416
|
{
|
|
@@ -510,9 +432,7 @@
|
|
|
510
432
|
"exclusiveMinimum": 0
|
|
511
433
|
}
|
|
512
434
|
},
|
|
513
|
-
"required": [
|
|
514
|
-
"every_n_tool_calls"
|
|
515
|
-
],
|
|
435
|
+
"required": ["every_n_tool_calls"],
|
|
516
436
|
"additionalProperties": false
|
|
517
437
|
},
|
|
518
438
|
"model_alias": {
|
|
@@ -523,12 +443,7 @@
|
|
|
523
443
|
"type": "string"
|
|
524
444
|
}
|
|
525
445
|
},
|
|
526
|
-
"required": [
|
|
527
|
-
"id",
|
|
528
|
-
"kind",
|
|
529
|
-
"interval",
|
|
530
|
-
"prompt_template"
|
|
531
|
-
],
|
|
446
|
+
"required": ["id", "kind", "interval", "prompt_template"],
|
|
532
447
|
"additionalProperties": false
|
|
533
448
|
}
|
|
534
449
|
]
|
|
@@ -546,9 +461,7 @@
|
|
|
546
461
|
"type": "string"
|
|
547
462
|
}
|
|
548
463
|
},
|
|
549
|
-
"required": [
|
|
550
|
-
"name"
|
|
551
|
-
],
|
|
464
|
+
"required": ["name"],
|
|
552
465
|
"additionalProperties": false
|
|
553
466
|
}
|
|
554
467
|
},
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/team",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"team": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"name": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"minLength": 1
|
|
10
|
+
},
|
|
11
|
+
"roles": {
|
|
12
|
+
"type": "array",
|
|
13
|
+
"items": {
|
|
14
|
+
"type": "object",
|
|
15
|
+
"properties": {
|
|
16
|
+
"name": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"minLength": 1
|
|
19
|
+
},
|
|
20
|
+
"pack": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"minLength": 1
|
|
23
|
+
},
|
|
24
|
+
"model_alias": {
|
|
25
|
+
"type": "string",
|
|
26
|
+
"minLength": 1
|
|
27
|
+
},
|
|
28
|
+
"handoff_signal": {
|
|
29
|
+
"type": "string"
|
|
30
|
+
},
|
|
31
|
+
"instructions": {
|
|
32
|
+
"type": "string"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"required": ["name", "pack", "model_alias"],
|
|
36
|
+
"additionalProperties": false
|
|
37
|
+
},
|
|
38
|
+
"minItems": 1
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"required": ["name", "roles"],
|
|
42
|
+
"additionalProperties": false
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
46
|
+
}
|