@anhlp/alp-protocol 0.0.1-beta.4 → 0.0.1-beta.6
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/connection.d.ts +9 -0
- package/dist/contract-v1.d.ts +1739 -1025
- package/dist/contract-v1.js +1 -1
- package/dist/dto.d.ts +6 -1
- package/dist/events.d.ts +6 -0
- package/dist/rpc.d.ts +179 -4
- package/dist/schedule.d.ts +5 -0
- package/dist/session.d.ts +2 -1
- package/dist/wire.d.ts +13 -1
- package/dist/wire.js +3 -3
- package/fixtures/v1/cases.json +811 -19
- package/package.json +1 -1
- package/schema/ipc-v1.json +92 -0
- package/schema/methods-v1.json +886 -20
- package/src/connection.ts +6 -0
- package/src/contract-v1.js +1 -1
- package/src/dto.ts +1 -1
- package/src/events.ts +2 -0
- package/src/rpc.ts +43 -7
- package/src/schedule.ts +5 -0
- package/src/session.ts +1 -1
- package/src/wire.js +7 -4
package/package.json
CHANGED
package/schema/ipc-v1.json
CHANGED
|
@@ -343,6 +343,26 @@
|
|
|
343
343
|
},
|
|
344
344
|
"askedAt": {
|
|
345
345
|
"type": "string"
|
|
346
|
+
},
|
|
347
|
+
"gate": {
|
|
348
|
+
"type": "object",
|
|
349
|
+
"properties": {
|
|
350
|
+
"projectRoot": {
|
|
351
|
+
"type": "string"
|
|
352
|
+
},
|
|
353
|
+
"taskId": {
|
|
354
|
+
"type": "string"
|
|
355
|
+
},
|
|
356
|
+
"gateId": {
|
|
357
|
+
"type": "string"
|
|
358
|
+
}
|
|
359
|
+
},
|
|
360
|
+
"required": [
|
|
361
|
+
"projectRoot",
|
|
362
|
+
"taskId",
|
|
363
|
+
"gateId"
|
|
364
|
+
],
|
|
365
|
+
"additionalProperties": true
|
|
346
366
|
}
|
|
347
367
|
},
|
|
348
368
|
"required": [
|
|
@@ -608,6 +628,53 @@
|
|
|
608
628
|
"params"
|
|
609
629
|
],
|
|
610
630
|
"additionalProperties": true
|
|
631
|
+
},
|
|
632
|
+
{
|
|
633
|
+
"type": "object",
|
|
634
|
+
"properties": {
|
|
635
|
+
"jsonrpc": {
|
|
636
|
+
"const": "2.0"
|
|
637
|
+
},
|
|
638
|
+
"method": {
|
|
639
|
+
"const": "terminal.changed"
|
|
640
|
+
},
|
|
641
|
+
"params": {
|
|
642
|
+
"$ref": "#/$defs/terminalChanged"
|
|
643
|
+
}
|
|
644
|
+
},
|
|
645
|
+
"required": [
|
|
646
|
+
"jsonrpc",
|
|
647
|
+
"method",
|
|
648
|
+
"params"
|
|
649
|
+
],
|
|
650
|
+
"additionalProperties": true
|
|
651
|
+
},
|
|
652
|
+
{
|
|
653
|
+
"type": "object",
|
|
654
|
+
"description": "The live model catalog changed (capability catalog.live): re-read catalog.get.",
|
|
655
|
+
"properties": {
|
|
656
|
+
"jsonrpc": {
|
|
657
|
+
"const": "2.0"
|
|
658
|
+
},
|
|
659
|
+
"method": {
|
|
660
|
+
"const": "catalog.updated"
|
|
661
|
+
},
|
|
662
|
+
"params": {
|
|
663
|
+
"type": "object",
|
|
664
|
+
"properties": {
|
|
665
|
+
"fetchedAt": {
|
|
666
|
+
"type": "string"
|
|
667
|
+
}
|
|
668
|
+
},
|
|
669
|
+
"additionalProperties": true
|
|
670
|
+
}
|
|
671
|
+
},
|
|
672
|
+
"required": [
|
|
673
|
+
"jsonrpc",
|
|
674
|
+
"method",
|
|
675
|
+
"params"
|
|
676
|
+
],
|
|
677
|
+
"additionalProperties": true
|
|
611
678
|
}
|
|
612
679
|
]
|
|
613
680
|
},
|
|
@@ -3145,6 +3212,13 @@
|
|
|
3145
3212
|
"disabled",
|
|
3146
3213
|
"shutdown"
|
|
3147
3214
|
]
|
|
3215
|
+
},
|
|
3216
|
+
"protection": {
|
|
3217
|
+
"enum": [
|
|
3218
|
+
"root-only",
|
|
3219
|
+
"none"
|
|
3220
|
+
],
|
|
3221
|
+
"description": "Absent: full native process protection (macOS, supported Linux). root-only: best-effort Linux; closing ends the shell, but processes it started may keep running. none: Windows platform PTY (ConPTY); cleanup is best-effort and not guaranteed. Clients show a non-blocking notice."
|
|
3148
3222
|
}
|
|
3149
3223
|
},
|
|
3150
3224
|
"required": [
|
|
@@ -3266,6 +3340,24 @@
|
|
|
3266
3340
|
"additionalProperties": false
|
|
3267
3341
|
}
|
|
3268
3342
|
]
|
|
3343
|
+
},
|
|
3344
|
+
"terminalChanged": {
|
|
3345
|
+
"type": "object",
|
|
3346
|
+
"properties": {
|
|
3347
|
+
"watchId": {
|
|
3348
|
+
"type": "string",
|
|
3349
|
+
"pattern": "^[0-9a-f]{32}$"
|
|
3350
|
+
},
|
|
3351
|
+
"cursor": {
|
|
3352
|
+
"type": "string",
|
|
3353
|
+
"pattern": "^[0-9a-f]{32}$"
|
|
3354
|
+
}
|
|
3355
|
+
},
|
|
3356
|
+
"required": [
|
|
3357
|
+
"watchId",
|
|
3358
|
+
"cursor"
|
|
3359
|
+
],
|
|
3360
|
+
"additionalProperties": false
|
|
3269
3361
|
}
|
|
3270
3362
|
}
|
|
3271
3363
|
}
|