@anhlp/alp-protocol 0.0.1-beta.4 → 0.0.1-beta.5
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/schema/methods-v1.json
CHANGED
|
@@ -28,6 +28,8 @@
|
|
|
28
28
|
"session.attention": "question.watch accepts `attention`: its answer holds each watched root's finished or error attention, kept by alpd for every client, and the connection is told when one is set or cleared (an `attention` event); session.attention.clear acknowledges one.",
|
|
29
29
|
"workspace.files": "workspace.files.search: files under a directory whose relative path matches a query; read-only, names only, links never followed.",
|
|
30
30
|
"workspace.files.read": "workspace.files.list and workspace.files.read: the entries of a directory and the content of a UTF-8 text file (at most 1 MiB) under a directory; read-only, links never followed, .git, .env* and key or credential files refused, .gitignore'd paths hidden unless asked.",
|
|
31
|
+
"workspace.files.browse": "workspace.files.find (every file and directory name under a directory, in pages of a snapshot, by its letters in order or by suffix), workspace.files.preview (a text, image or binary file of at most 50 MiB, its bytes in chunks of at most 8 MiB) and workspace.files.list's cursor and internalLinks (pages past 1000 entries; links whose real path is inside the directory, never outside); read-only, the block list and .gitignore as workspace.files.read. For the daemon host's own clients: the gateway exposes none of it.",
|
|
32
|
+
"host.directories": "host.directories.search: directories of the daemon host whose path completes a typed path (absolute or under ~) or whose name matches a word under the home directory; names only, links never listed, bounded. For the daemon host's own clients: never remote.",
|
|
31
33
|
"prompt.images": "session.prompt takes inline image parts { type: \"image\", mimeType, data } (base64, no paths or URLs) within the image limits; a session snapshot says whether its runtime takes them in promptImages.",
|
|
32
34
|
"library.project.write": "library save/delete/duplicate/rename accept policy project-data: only project-only pure-data agents and skills, no executable configuration, sidecars or library/built-in collisions.",
|
|
33
35
|
"schedule": "schedule.create/list/get/cancel: one-shot continuations of a root session. alpd opens the turn by itself when the time comes; a job that comes due late says how late it is, and a job that cannot run says why.",
|
|
@@ -35,14 +37,18 @@
|
|
|
35
37
|
"workspace.registry": "Daemon-owned project/workspace registry, durable pins, revision CAS and requestId replay.",
|
|
36
38
|
"workspace.worktree": "Host-approved managed user worktrees; opt-in workspace.manage and named destination mappings.",
|
|
37
39
|
"workspace.git": "workspace.git.status and workspace.git.diff: a registered workspace's read-only Git status and structured diff hunks by workspaceId; enumerated comparisons only, bounded (1 MiB per file, 2 MiB per page, 200 untracked files) with an opaque snapshot and next cursor; blocked secret paths withheld on both sides of a rename; no Git mutation.",
|
|
40
|
+
"workspace.git.facts": "workspace.git.facts: the read-only Git checkout facts (repository root, branch, HEAD, remote, dirty) of an absolute host directory that need not be a registry workspace: a repository's top level (ok), a folder nested in one (not_repository_root, facts of the enclosing repository), no repository at or above it (unknown) or one alpd will not read (unsupported); owner only, never forwarded by a gateway; no Git mutation.",
|
|
38
41
|
"attachments": "attachment.begin/chunk/commit/abort/get/delete: daemon-owned immutable non-image attachments by opaque id, uploaded in bounded chunks, and session.prompt content parts `{ type: \"attachment\", attachmentId }`; daemon.hello carries `attachmentLimits`. Listed only with a home and a store, on macOS and Linux.",
|
|
39
42
|
"session.fork": "session.fork: a new root whose conversation is a root's up to a completed turn (or a branch a rewind set aside), by native fork of Codex and Claude sessions; files are never copied or changed. Listed with a store and a runtime that forks native conversations, on macOS and Linux (not Windows).",
|
|
40
43
|
"session.rewind": "session.rewind: a root's conversation from before a turn on, under the same session id; the later turns stay a recoverable branch, files are never changed, history generation advances (`history.reset` event). Same condition as session.fork.",
|
|
41
44
|
"session.reload": "session.reload: restarts a live root's native process on its own conversation and configuration at the idle barrier (no turn, child, question, mail or parked work), keeping its session id, history and receipts; through the lifecycle journal. Listed with a store and a runtime that restarts a root on its own conversation, on macOS and Linux (not Windows).",
|
|
42
45
|
"session.resumeCommand": "session.resumeCommand: the ALP CLI command (`alp attach <sessionId>`) that follows a session in a terminal, as argv and POSIX and Windows (cmd.exe) command lines built by alpd; for the clipboard only, never run, never a native runtime's command, credential, env or path.",
|
|
43
46
|
"session.configure.live": "session.configure takes model, thinking and team (with requestId and ifGeneration) besides mode, and session.configure.preview answers the configuration a change would run with: a live root's model, effort or team changes at the idle barrier (no turn, child, question, mail or parked work) through a controlled restart of its native process on the same conversation; the effective configuration is written only after the runtime took it, through the lifecycle journal (§12.9). Never another runtime and never more permissions. Listed with a store and a runtime that restarts a root with a new configuration, on macOS and Linux (not Windows).",
|
|
44
|
-
"terminal": "terminal.create/list/attach/input/resize/close/revoke and terminal.event notifications: a real PTY shell on the daemon host as the daemon's account (a cwd is not a sandbox), served only when the host owner opted in (<ALP_HOME>/terminal.json allowRemoteTerminal) on macOS and
|
|
45
|
-
"session.interrupt.turn": "session.interrupt accepts turnId and atomically cancels only that active turn, including its subtree. Conditional requests answer interrupted:true when canceled, false when the named turn is no longer active; false changes nothing. Without this capability clients must not send turnId or infer targeted cancellation from a legacy interrupt."
|
|
47
|
+
"terminal": "terminal.create/list/attach/input/resize/close/revoke and terminal.event notifications: a real PTY shell on the daemon host as the daemon's account (a cwd is not a sandbox), served only when the host owner opted in (<ALP_HOME>/terminal.json allowRemoteTerminal) on macOS (full protection), Linux and Windows (best-effort).",
|
|
48
|
+
"session.interrupt.turn": "session.interrupt accepts turnId and atomically cancels only that active turn, including its subtree. Conditional requests answer interrupted:true when canceled, false when the named turn is no longer active; false changes nothing. Without this capability clients must not send turnId or infer targeted cancellation from a legacy interrupt.",
|
|
49
|
+
"terminal.capture": "terminal.capture: bounded daemon-owned rendered text, inclusive zero-based/negative line ranges; same terminal principal/host opt-in. Exceeding resource/result limits is an explicit refusal.",
|
|
50
|
+
"terminal.watch": "terminal.watch/unwatch and terminal.changed: atomic scoped snapshot/subscription. Opaque per-subscription cursor, latest snapshot replaces invalidation history on reconnect/reset; older hosts use explicit polling fallback.",
|
|
51
|
+
"catalog.live": "catalog.get answers the live model catalog (provider lists merged over ALP's static rows) with fetchedAt and per-provider status; catalog.refresh asks the providers again; alpd sends catalog.updated to every helloed connection when the catalog changes."
|
|
46
52
|
},
|
|
47
53
|
"methods": {
|
|
48
54
|
"assignment.recall": {
|
|
@@ -181,6 +187,60 @@
|
|
|
181
187
|
"thinkingOptions": {},
|
|
182
188
|
"defaultModel": {
|
|
183
189
|
"type": "string"
|
|
190
|
+
},
|
|
191
|
+
"fetchedAt": {
|
|
192
|
+
"type": "string"
|
|
193
|
+
},
|
|
194
|
+
"providers": {
|
|
195
|
+
"type": "object"
|
|
196
|
+
}
|
|
197
|
+
},
|
|
198
|
+
"required": [
|
|
199
|
+
"models",
|
|
200
|
+
"modes",
|
|
201
|
+
"defaultModel"
|
|
202
|
+
],
|
|
203
|
+
"additionalProperties": true
|
|
204
|
+
}
|
|
205
|
+
},
|
|
206
|
+
"catalog.refresh": {
|
|
207
|
+
"x-alp": {
|
|
208
|
+
"effect": "mutation",
|
|
209
|
+
"scope": {
|
|
210
|
+
"kind": "host"
|
|
211
|
+
},
|
|
212
|
+
"idempotent": true
|
|
213
|
+
},
|
|
214
|
+
"params": {
|
|
215
|
+
"type": "object",
|
|
216
|
+
"properties": {},
|
|
217
|
+
"required": [],
|
|
218
|
+
"additionalProperties": true
|
|
219
|
+
},
|
|
220
|
+
"result": {
|
|
221
|
+
"type": "object",
|
|
222
|
+
"properties": {
|
|
223
|
+
"models": {
|
|
224
|
+
"type": "array",
|
|
225
|
+
"items": {
|
|
226
|
+
"type": "object"
|
|
227
|
+
}
|
|
228
|
+
},
|
|
229
|
+
"modes": {
|
|
230
|
+
"type": "array",
|
|
231
|
+
"items": {
|
|
232
|
+
"type": "object"
|
|
233
|
+
}
|
|
234
|
+
},
|
|
235
|
+
"thinkingOptions": {},
|
|
236
|
+
"defaultModel": {
|
|
237
|
+
"type": "string"
|
|
238
|
+
},
|
|
239
|
+
"fetchedAt": {
|
|
240
|
+
"type": "string"
|
|
241
|
+
},
|
|
242
|
+
"providers": {
|
|
243
|
+
"type": "object"
|
|
184
244
|
}
|
|
185
245
|
},
|
|
186
246
|
"required": [
|
|
@@ -1683,6 +1743,48 @@
|
|
|
1683
1743
|
"additionalProperties": true
|
|
1684
1744
|
}
|
|
1685
1745
|
},
|
|
1746
|
+
"session.compact": {
|
|
1747
|
+
"x-alp": {
|
|
1748
|
+
"effect": "mutation",
|
|
1749
|
+
"scope": {
|
|
1750
|
+
"kind": "session",
|
|
1751
|
+
"param": "sessionId"
|
|
1752
|
+
},
|
|
1753
|
+
"risks": [
|
|
1754
|
+
"main writes a checkpoint in a turn of its own, then its context is compacted natively or replaced by a fresh conversation seeded with the checkpoint"
|
|
1755
|
+
]
|
|
1756
|
+
},
|
|
1757
|
+
"params": {
|
|
1758
|
+
"type": "object",
|
|
1759
|
+
"properties": {
|
|
1760
|
+
"sessionId": {
|
|
1761
|
+
"type": "string",
|
|
1762
|
+
"minLength": 1,
|
|
1763
|
+
"maxLength": 128
|
|
1764
|
+
}
|
|
1765
|
+
},
|
|
1766
|
+
"required": [
|
|
1767
|
+
"sessionId"
|
|
1768
|
+
],
|
|
1769
|
+
"additionalProperties": false
|
|
1770
|
+
},
|
|
1771
|
+
"result": {
|
|
1772
|
+
"type": "object",
|
|
1773
|
+
"properties": {
|
|
1774
|
+
"status": {
|
|
1775
|
+
"enum": [
|
|
1776
|
+
"started",
|
|
1777
|
+
"deferred",
|
|
1778
|
+
"running"
|
|
1779
|
+
]
|
|
1780
|
+
}
|
|
1781
|
+
},
|
|
1782
|
+
"required": [
|
|
1783
|
+
"status"
|
|
1784
|
+
],
|
|
1785
|
+
"additionalProperties": false
|
|
1786
|
+
}
|
|
1787
|
+
},
|
|
1686
1788
|
"session.configure": {
|
|
1687
1789
|
"x-alp": {
|
|
1688
1790
|
"effect": "mutation",
|
|
@@ -2596,6 +2698,21 @@
|
|
|
2596
2698
|
"ifRev": {
|
|
2597
2699
|
"type": "integer",
|
|
2598
2700
|
"minimum": 0
|
|
2701
|
+
},
|
|
2702
|
+
"choice": {
|
|
2703
|
+
"type": "string",
|
|
2704
|
+
"minLength": 1,
|
|
2705
|
+
"maxLength": 200
|
|
2706
|
+
},
|
|
2707
|
+
"reject": {
|
|
2708
|
+
"type": "boolean"
|
|
2709
|
+
},
|
|
2710
|
+
"channel": {
|
|
2711
|
+
"type": "string",
|
|
2712
|
+
"enum": [
|
|
2713
|
+
"paseo",
|
|
2714
|
+
"web"
|
|
2715
|
+
]
|
|
2599
2716
|
}
|
|
2600
2717
|
},
|
|
2601
2718
|
"required": [
|
|
@@ -2904,6 +3021,14 @@
|
|
|
2904
3021
|
},
|
|
2905
3022
|
"includeIgnored": {
|
|
2906
3023
|
"type": "boolean"
|
|
3024
|
+
},
|
|
3025
|
+
"cursor": {
|
|
3026
|
+
"type": "string",
|
|
3027
|
+
"minLength": 1,
|
|
3028
|
+
"maxLength": 1024
|
|
3029
|
+
},
|
|
3030
|
+
"internalLinks": {
|
|
3031
|
+
"type": "boolean"
|
|
2907
3032
|
}
|
|
2908
3033
|
},
|
|
2909
3034
|
"required": [
|
|
@@ -2940,6 +3065,10 @@
|
|
|
2940
3065
|
},
|
|
2941
3066
|
"modifiedAt": {
|
|
2942
3067
|
"type": "string"
|
|
3068
|
+
},
|
|
3069
|
+
"target": {
|
|
3070
|
+
"type": "string",
|
|
3071
|
+
"minLength": 1
|
|
2943
3072
|
}
|
|
2944
3073
|
},
|
|
2945
3074
|
"required": [
|
|
@@ -2952,6 +3081,15 @@
|
|
|
2952
3081
|
},
|
|
2953
3082
|
"truncated": {
|
|
2954
3083
|
"type": "boolean"
|
|
3084
|
+
},
|
|
3085
|
+
"nextCursor": {
|
|
3086
|
+
"type": "string",
|
|
3087
|
+
"minLength": 1,
|
|
3088
|
+
"maxLength": 1024
|
|
3089
|
+
},
|
|
3090
|
+
"target": {
|
|
3091
|
+
"type": "string",
|
|
3092
|
+
"minLength": 1
|
|
2955
3093
|
}
|
|
2956
3094
|
},
|
|
2957
3095
|
"required": [
|
|
@@ -3022,6 +3160,286 @@
|
|
|
3022
3160
|
"additionalProperties": true
|
|
3023
3161
|
}
|
|
3024
3162
|
},
|
|
3163
|
+
"workspace.files.find": {
|
|
3164
|
+
"x-alp": {
|
|
3165
|
+
"effect": "query",
|
|
3166
|
+
"scope": {
|
|
3167
|
+
"kind": "project",
|
|
3168
|
+
"param": "projectRoot",
|
|
3169
|
+
"required": true
|
|
3170
|
+
},
|
|
3171
|
+
"idempotent": true,
|
|
3172
|
+
"capability": "workspace.files.browse",
|
|
3173
|
+
"risks": [
|
|
3174
|
+
"lists every file and directory name of the directory (not contents)"
|
|
3175
|
+
]
|
|
3176
|
+
},
|
|
3177
|
+
"params": {
|
|
3178
|
+
"type": "object",
|
|
3179
|
+
"properties": {
|
|
3180
|
+
"projectRoot": {
|
|
3181
|
+
"type": "string"
|
|
3182
|
+
},
|
|
3183
|
+
"query": {
|
|
3184
|
+
"type": "string",
|
|
3185
|
+
"maxLength": 200
|
|
3186
|
+
},
|
|
3187
|
+
"kinds": {
|
|
3188
|
+
"type": "array",
|
|
3189
|
+
"items": {
|
|
3190
|
+
"enum": [
|
|
3191
|
+
"file",
|
|
3192
|
+
"directory"
|
|
3193
|
+
]
|
|
3194
|
+
},
|
|
3195
|
+
"minItems": 1,
|
|
3196
|
+
"maxItems": 2,
|
|
3197
|
+
"uniqueItems": true
|
|
3198
|
+
},
|
|
3199
|
+
"matchMode": {
|
|
3200
|
+
"enum": [
|
|
3201
|
+
"subsequence",
|
|
3202
|
+
"suffix"
|
|
3203
|
+
]
|
|
3204
|
+
},
|
|
3205
|
+
"limit": {
|
|
3206
|
+
"type": "integer",
|
|
3207
|
+
"minimum": 1,
|
|
3208
|
+
"maximum": 1000
|
|
3209
|
+
},
|
|
3210
|
+
"cursor": {
|
|
3211
|
+
"type": "string",
|
|
3212
|
+
"minLength": 1,
|
|
3213
|
+
"maxLength": 256
|
|
3214
|
+
}
|
|
3215
|
+
},
|
|
3216
|
+
"required": [
|
|
3217
|
+
"projectRoot"
|
|
3218
|
+
],
|
|
3219
|
+
"additionalProperties": true
|
|
3220
|
+
},
|
|
3221
|
+
"result": {
|
|
3222
|
+
"type": "object",
|
|
3223
|
+
"properties": {
|
|
3224
|
+
"entries": {
|
|
3225
|
+
"type": "array",
|
|
3226
|
+
"maxItems": 1000,
|
|
3227
|
+
"items": {
|
|
3228
|
+
"type": "object",
|
|
3229
|
+
"properties": {
|
|
3230
|
+
"path": {
|
|
3231
|
+
"type": "string",
|
|
3232
|
+
"minLength": 1
|
|
3233
|
+
},
|
|
3234
|
+
"kind": {
|
|
3235
|
+
"enum": [
|
|
3236
|
+
"file",
|
|
3237
|
+
"directory"
|
|
3238
|
+
]
|
|
3239
|
+
}
|
|
3240
|
+
},
|
|
3241
|
+
"required": [
|
|
3242
|
+
"path",
|
|
3243
|
+
"kind"
|
|
3244
|
+
],
|
|
3245
|
+
"additionalProperties": true
|
|
3246
|
+
}
|
|
3247
|
+
},
|
|
3248
|
+
"nextCursor": {
|
|
3249
|
+
"type": "string",
|
|
3250
|
+
"minLength": 1,
|
|
3251
|
+
"maxLength": 256
|
|
3252
|
+
},
|
|
3253
|
+
"truncated": {
|
|
3254
|
+
"type": "boolean"
|
|
3255
|
+
}
|
|
3256
|
+
},
|
|
3257
|
+
"required": [
|
|
3258
|
+
"entries"
|
|
3259
|
+
],
|
|
3260
|
+
"additionalProperties": true
|
|
3261
|
+
}
|
|
3262
|
+
},
|
|
3263
|
+
"workspace.files.preview": {
|
|
3264
|
+
"x-alp": {
|
|
3265
|
+
"effect": "query",
|
|
3266
|
+
"scope": {
|
|
3267
|
+
"kind": "project",
|
|
3268
|
+
"param": "projectRoot",
|
|
3269
|
+
"required": true
|
|
3270
|
+
},
|
|
3271
|
+
"idempotent": true,
|
|
3272
|
+
"capability": "workspace.files.browse",
|
|
3273
|
+
"risks": [
|
|
3274
|
+
"returns the bytes of a file under the directory, text, image or binary, up to 50 MiB in chunks"
|
|
3275
|
+
]
|
|
3276
|
+
},
|
|
3277
|
+
"params": {
|
|
3278
|
+
"type": "object",
|
|
3279
|
+
"properties": {
|
|
3280
|
+
"projectRoot": {
|
|
3281
|
+
"type": "string"
|
|
3282
|
+
},
|
|
3283
|
+
"path": {
|
|
3284
|
+
"type": "string",
|
|
3285
|
+
"minLength": 1,
|
|
3286
|
+
"maxLength": 4096
|
|
3287
|
+
},
|
|
3288
|
+
"includeIgnored": {
|
|
3289
|
+
"type": "boolean"
|
|
3290
|
+
},
|
|
3291
|
+
"internalLinks": {
|
|
3292
|
+
"type": "boolean"
|
|
3293
|
+
},
|
|
3294
|
+
"maxBytes": {
|
|
3295
|
+
"type": "integer",
|
|
3296
|
+
"minimum": 1,
|
|
3297
|
+
"maximum": 52428800
|
|
3298
|
+
},
|
|
3299
|
+
"offset": {
|
|
3300
|
+
"type": "integer",
|
|
3301
|
+
"minimum": 0,
|
|
3302
|
+
"maximum": 52428800
|
|
3303
|
+
},
|
|
3304
|
+
"revision": {
|
|
3305
|
+
"type": "string",
|
|
3306
|
+
"minLength": 1,
|
|
3307
|
+
"maxLength": 64
|
|
3308
|
+
}
|
|
3309
|
+
},
|
|
3310
|
+
"required": [
|
|
3311
|
+
"projectRoot",
|
|
3312
|
+
"path"
|
|
3313
|
+
],
|
|
3314
|
+
"additionalProperties": true
|
|
3315
|
+
},
|
|
3316
|
+
"result": {
|
|
3317
|
+
"type": "object",
|
|
3318
|
+
"properties": {
|
|
3319
|
+
"path": {
|
|
3320
|
+
"type": "string",
|
|
3321
|
+
"minLength": 1
|
|
3322
|
+
},
|
|
3323
|
+
"target": {
|
|
3324
|
+
"type": "string",
|
|
3325
|
+
"minLength": 1
|
|
3326
|
+
},
|
|
3327
|
+
"kind": {
|
|
3328
|
+
"enum": [
|
|
3329
|
+
"text",
|
|
3330
|
+
"image",
|
|
3331
|
+
"binary"
|
|
3332
|
+
]
|
|
3333
|
+
},
|
|
3334
|
+
"mimeType": {
|
|
3335
|
+
"type": "string",
|
|
3336
|
+
"minLength": 1,
|
|
3337
|
+
"maxLength": 255
|
|
3338
|
+
},
|
|
3339
|
+
"size": {
|
|
3340
|
+
"type": "integer",
|
|
3341
|
+
"minimum": 0,
|
|
3342
|
+
"maximum": 52428800
|
|
3343
|
+
},
|
|
3344
|
+
"modifiedAt": {
|
|
3345
|
+
"type": "string"
|
|
3346
|
+
},
|
|
3347
|
+
"revision": {
|
|
3348
|
+
"type": "string",
|
|
3349
|
+
"minLength": 1,
|
|
3350
|
+
"maxLength": 64
|
|
3351
|
+
},
|
|
3352
|
+
"encoding": {
|
|
3353
|
+
"enum": [
|
|
3354
|
+
"base64",
|
|
3355
|
+
"none"
|
|
3356
|
+
]
|
|
3357
|
+
},
|
|
3358
|
+
"content": {
|
|
3359
|
+
"type": "string",
|
|
3360
|
+
"maxLength": 11184812
|
|
3361
|
+
},
|
|
3362
|
+
"offset": {
|
|
3363
|
+
"type": "integer",
|
|
3364
|
+
"minimum": 0
|
|
3365
|
+
},
|
|
3366
|
+
"nextOffset": {
|
|
3367
|
+
"type": "integer",
|
|
3368
|
+
"minimum": 1
|
|
3369
|
+
}
|
|
3370
|
+
},
|
|
3371
|
+
"required": [
|
|
3372
|
+
"path",
|
|
3373
|
+
"kind",
|
|
3374
|
+
"mimeType",
|
|
3375
|
+
"size",
|
|
3376
|
+
"modifiedAt",
|
|
3377
|
+
"revision",
|
|
3378
|
+
"encoding"
|
|
3379
|
+
],
|
|
3380
|
+
"additionalProperties": true
|
|
3381
|
+
}
|
|
3382
|
+
},
|
|
3383
|
+
"host.directories.search": {
|
|
3384
|
+
"x-alp": {
|
|
3385
|
+
"effect": "query",
|
|
3386
|
+
"scope": {
|
|
3387
|
+
"kind": "host"
|
|
3388
|
+
},
|
|
3389
|
+
"idempotent": true,
|
|
3390
|
+
"capability": "host.directories",
|
|
3391
|
+
"risks": [
|
|
3392
|
+
"lists names of directories on the daemon host outside any workspace"
|
|
3393
|
+
]
|
|
3394
|
+
},
|
|
3395
|
+
"params": {
|
|
3396
|
+
"type": "object",
|
|
3397
|
+
"properties": {
|
|
3398
|
+
"query": {
|
|
3399
|
+
"type": "string",
|
|
3400
|
+
"maxLength": 4096
|
|
3401
|
+
},
|
|
3402
|
+
"limit": {
|
|
3403
|
+
"type": "integer",
|
|
3404
|
+
"minimum": 1,
|
|
3405
|
+
"maximum": 100
|
|
3406
|
+
}
|
|
3407
|
+
},
|
|
3408
|
+
"required": [
|
|
3409
|
+
"query"
|
|
3410
|
+
],
|
|
3411
|
+
"additionalProperties": true
|
|
3412
|
+
},
|
|
3413
|
+
"result": {
|
|
3414
|
+
"type": "object",
|
|
3415
|
+
"properties": {
|
|
3416
|
+
"entries": {
|
|
3417
|
+
"type": "array",
|
|
3418
|
+
"maxItems": 100,
|
|
3419
|
+
"items": {
|
|
3420
|
+
"type": "object",
|
|
3421
|
+
"properties": {
|
|
3422
|
+
"path": {
|
|
3423
|
+
"type": "string",
|
|
3424
|
+
"minLength": 1
|
|
3425
|
+
}
|
|
3426
|
+
},
|
|
3427
|
+
"required": [
|
|
3428
|
+
"path"
|
|
3429
|
+
],
|
|
3430
|
+
"additionalProperties": true
|
|
3431
|
+
}
|
|
3432
|
+
},
|
|
3433
|
+
"truncated": {
|
|
3434
|
+
"type": "boolean"
|
|
3435
|
+
}
|
|
3436
|
+
},
|
|
3437
|
+
"required": [
|
|
3438
|
+
"entries"
|
|
3439
|
+
],
|
|
3440
|
+
"additionalProperties": true
|
|
3441
|
+
}
|
|
3442
|
+
},
|
|
3025
3443
|
"session.history": {
|
|
3026
3444
|
"x-alp": {
|
|
3027
3445
|
"effect": "query",
|
|
@@ -3944,24 +4362,187 @@
|
|
|
3944
4362
|
"type": "string",
|
|
3945
4363
|
"maxLength": 1024
|
|
3946
4364
|
}
|
|
3947
|
-
},
|
|
3948
|
-
"required": [
|
|
3949
|
-
"state",
|
|
3950
|
-
"branch",
|
|
3951
|
-
"detached",
|
|
3952
|
-
"head",
|
|
3953
|
-
"upstream",
|
|
3954
|
-
"baseRef",
|
|
3955
|
-
"aheadBehind",
|
|
3956
|
-
"hasRemote",
|
|
3957
|
-
"remoteUrl",
|
|
3958
|
-
"dirty",
|
|
3959
|
-
"files",
|
|
3960
|
-
"hiddenCount",
|
|
3961
|
-
"truncated",
|
|
3962
|
-
"snapshot"
|
|
3963
|
-
],
|
|
3964
|
-
"additionalProperties": false
|
|
4365
|
+
},
|
|
4366
|
+
"required": [
|
|
4367
|
+
"state",
|
|
4368
|
+
"branch",
|
|
4369
|
+
"detached",
|
|
4370
|
+
"head",
|
|
4371
|
+
"upstream",
|
|
4372
|
+
"baseRef",
|
|
4373
|
+
"aheadBehind",
|
|
4374
|
+
"hasRemote",
|
|
4375
|
+
"remoteUrl",
|
|
4376
|
+
"dirty",
|
|
4377
|
+
"files",
|
|
4378
|
+
"hiddenCount",
|
|
4379
|
+
"truncated",
|
|
4380
|
+
"snapshot"
|
|
4381
|
+
],
|
|
4382
|
+
"additionalProperties": false
|
|
4383
|
+
}
|
|
4384
|
+
},
|
|
4385
|
+
"workspace.git.facts": {
|
|
4386
|
+
"x-alp": {
|
|
4387
|
+
"effect": "query",
|
|
4388
|
+
"scope": {
|
|
4389
|
+
"kind": "host",
|
|
4390
|
+
"param": "directory"
|
|
4391
|
+
},
|
|
4392
|
+
"capability": "workspace.git.facts",
|
|
4393
|
+
"idempotent": true,
|
|
4394
|
+
"risks": [
|
|
4395
|
+
"names the host path, branch and remote of a directory's enclosing Git checkout (owner only, never remote)"
|
|
4396
|
+
]
|
|
4397
|
+
},
|
|
4398
|
+
"params": {
|
|
4399
|
+
"type": "object",
|
|
4400
|
+
"properties": {
|
|
4401
|
+
"directory": {
|
|
4402
|
+
"type": "string",
|
|
4403
|
+
"minLength": 1,
|
|
4404
|
+
"maxLength": 4096
|
|
4405
|
+
}
|
|
4406
|
+
},
|
|
4407
|
+
"required": [
|
|
4408
|
+
"directory"
|
|
4409
|
+
],
|
|
4410
|
+
"additionalProperties": false
|
|
4411
|
+
},
|
|
4412
|
+
"result": {
|
|
4413
|
+
"oneOf": [
|
|
4414
|
+
{
|
|
4415
|
+
"type": "object",
|
|
4416
|
+
"properties": {
|
|
4417
|
+
"kind": {
|
|
4418
|
+
"const": "ok"
|
|
4419
|
+
},
|
|
4420
|
+
"repoRoot": {
|
|
4421
|
+
"type": "string",
|
|
4422
|
+
"minLength": 1
|
|
4423
|
+
},
|
|
4424
|
+
"branch": {
|
|
4425
|
+
"type": [
|
|
4426
|
+
"string",
|
|
4427
|
+
"null"
|
|
4428
|
+
]
|
|
4429
|
+
},
|
|
4430
|
+
"detached": {
|
|
4431
|
+
"type": "boolean"
|
|
4432
|
+
},
|
|
4433
|
+
"head": {
|
|
4434
|
+
"type": [
|
|
4435
|
+
"string",
|
|
4436
|
+
"null"
|
|
4437
|
+
]
|
|
4438
|
+
},
|
|
4439
|
+
"hasRemote": {
|
|
4440
|
+
"type": "boolean"
|
|
4441
|
+
},
|
|
4442
|
+
"remoteUrl": {
|
|
4443
|
+
"type": [
|
|
4444
|
+
"string",
|
|
4445
|
+
"null"
|
|
4446
|
+
]
|
|
4447
|
+
},
|
|
4448
|
+
"dirty": {
|
|
4449
|
+
"type": "boolean"
|
|
4450
|
+
}
|
|
4451
|
+
},
|
|
4452
|
+
"required": [
|
|
4453
|
+
"kind",
|
|
4454
|
+
"repoRoot",
|
|
4455
|
+
"branch",
|
|
4456
|
+
"detached",
|
|
4457
|
+
"head",
|
|
4458
|
+
"hasRemote",
|
|
4459
|
+
"remoteUrl",
|
|
4460
|
+
"dirty"
|
|
4461
|
+
],
|
|
4462
|
+
"additionalProperties": false
|
|
4463
|
+
},
|
|
4464
|
+
{
|
|
4465
|
+
"type": "object",
|
|
4466
|
+
"properties": {
|
|
4467
|
+
"kind": {
|
|
4468
|
+
"const": "not_repository_root"
|
|
4469
|
+
},
|
|
4470
|
+
"repoRoot": {
|
|
4471
|
+
"type": "string",
|
|
4472
|
+
"minLength": 1
|
|
4473
|
+
},
|
|
4474
|
+
"branch": {
|
|
4475
|
+
"type": [
|
|
4476
|
+
"string",
|
|
4477
|
+
"null"
|
|
4478
|
+
]
|
|
4479
|
+
},
|
|
4480
|
+
"detached": {
|
|
4481
|
+
"type": "boolean"
|
|
4482
|
+
},
|
|
4483
|
+
"head": {
|
|
4484
|
+
"type": [
|
|
4485
|
+
"string",
|
|
4486
|
+
"null"
|
|
4487
|
+
]
|
|
4488
|
+
},
|
|
4489
|
+
"hasRemote": {
|
|
4490
|
+
"type": "boolean"
|
|
4491
|
+
},
|
|
4492
|
+
"remoteUrl": {
|
|
4493
|
+
"type": [
|
|
4494
|
+
"string",
|
|
4495
|
+
"null"
|
|
4496
|
+
]
|
|
4497
|
+
},
|
|
4498
|
+
"dirty": {
|
|
4499
|
+
"type": "boolean"
|
|
4500
|
+
}
|
|
4501
|
+
},
|
|
4502
|
+
"required": [
|
|
4503
|
+
"kind",
|
|
4504
|
+
"repoRoot",
|
|
4505
|
+
"branch",
|
|
4506
|
+
"detached",
|
|
4507
|
+
"head",
|
|
4508
|
+
"hasRemote",
|
|
4509
|
+
"remoteUrl",
|
|
4510
|
+
"dirty"
|
|
4511
|
+
],
|
|
4512
|
+
"additionalProperties": false
|
|
4513
|
+
},
|
|
4514
|
+
{
|
|
4515
|
+
"type": "object",
|
|
4516
|
+
"properties": {
|
|
4517
|
+
"kind": {
|
|
4518
|
+
"const": "unknown"
|
|
4519
|
+
}
|
|
4520
|
+
},
|
|
4521
|
+
"required": [
|
|
4522
|
+
"kind"
|
|
4523
|
+
],
|
|
4524
|
+
"additionalProperties": false
|
|
4525
|
+
},
|
|
4526
|
+
{
|
|
4527
|
+
"type": "object",
|
|
4528
|
+
"properties": {
|
|
4529
|
+
"kind": {
|
|
4530
|
+
"const": "unsupported"
|
|
4531
|
+
},
|
|
4532
|
+
"reason": {
|
|
4533
|
+
"enum": [
|
|
4534
|
+
"worktree_elsewhere",
|
|
4535
|
+
"inside_git_dir"
|
|
4536
|
+
]
|
|
4537
|
+
}
|
|
4538
|
+
},
|
|
4539
|
+
"required": [
|
|
4540
|
+
"kind",
|
|
4541
|
+
"reason"
|
|
4542
|
+
],
|
|
4543
|
+
"additionalProperties": false
|
|
4544
|
+
}
|
|
4545
|
+
]
|
|
3965
4546
|
}
|
|
3966
4547
|
},
|
|
3967
4548
|
"workspace.git.diff": {
|
|
@@ -5006,6 +5587,10 @@
|
|
|
5006
5587
|
"maxLength": 4096
|
|
5007
5588
|
},
|
|
5008
5589
|
"description": "Set by a trusted gateway: the canonical workspaces the principal may use now; the terminal's workspace must be one of them."
|
|
5590
|
+
},
|
|
5591
|
+
"protectionAcknowledgment": {
|
|
5592
|
+
"const": "linux-root-only-v1",
|
|
5593
|
+
"description": "Deprecated and ignored: accepted for compatibility with older clients. Reduced-protection terminals open without it; clients disclose the terminal's protection field instead."
|
|
5009
5594
|
}
|
|
5010
5595
|
},
|
|
5011
5596
|
"required": [
|
|
@@ -5133,6 +5718,10 @@
|
|
|
5133
5718
|
"maxLength": 4096
|
|
5134
5719
|
},
|
|
5135
5720
|
"description": "Set by a trusted gateway: the canonical workspaces the principal may use now; the terminal's workspace must be one of them."
|
|
5721
|
+
},
|
|
5722
|
+
"protectionAcknowledgment": {
|
|
5723
|
+
"const": "linux-root-only-v1",
|
|
5724
|
+
"description": "Deprecated and ignored: accepted for compatibility with older clients. Reduced-protection terminals open without it; clients disclose the terminal's protection field instead."
|
|
5136
5725
|
}
|
|
5137
5726
|
},
|
|
5138
5727
|
"required": [
|
|
@@ -5419,6 +6008,191 @@
|
|
|
5419
6008
|
],
|
|
5420
6009
|
"additionalProperties": false
|
|
5421
6010
|
}
|
|
6011
|
+
},
|
|
6012
|
+
"terminal.capture": {
|
|
6013
|
+
"x-alp": {
|
|
6014
|
+
"effect": "query",
|
|
6015
|
+
"scope": {
|
|
6016
|
+
"kind": "terminal",
|
|
6017
|
+
"param": "terminalId"
|
|
6018
|
+
},
|
|
6019
|
+
"capability": "terminal.capture",
|
|
6020
|
+
"idempotent": true,
|
|
6021
|
+
"risks": [
|
|
6022
|
+
"Reads terminal screen text, which may contain secrets the shell printed"
|
|
6023
|
+
]
|
|
6024
|
+
},
|
|
6025
|
+
"params": {
|
|
6026
|
+
"type": "object",
|
|
6027
|
+
"properties": {
|
|
6028
|
+
"terminalId": {
|
|
6029
|
+
"type": "string",
|
|
6030
|
+
"pattern": "^term_[0-9a-f]{32}$"
|
|
6031
|
+
},
|
|
6032
|
+
"principalId": {
|
|
6033
|
+
"type": "string",
|
|
6034
|
+
"minLength": 1,
|
|
6035
|
+
"maxLength": 200,
|
|
6036
|
+
"description": "Set by a trusted gateway on its own connection: the remote principal the request acts for. Absent: the local owner."
|
|
6037
|
+
},
|
|
6038
|
+
"principalEpoch": {
|
|
6039
|
+
"type": "string",
|
|
6040
|
+
"minLength": 1,
|
|
6041
|
+
"maxLength": 200,
|
|
6042
|
+
"description": "The grant epoch of principalId (a gateway credential scope). Absent: the local owner."
|
|
6043
|
+
},
|
|
6044
|
+
"authorizedRoots": {
|
|
6045
|
+
"type": "array",
|
|
6046
|
+
"maxItems": 1024,
|
|
6047
|
+
"items": {
|
|
6048
|
+
"type": "string",
|
|
6049
|
+
"minLength": 1,
|
|
6050
|
+
"maxLength": 4096
|
|
6051
|
+
},
|
|
6052
|
+
"description": "Set by a trusted gateway: the canonical workspaces the principal may use now; the terminal's workspace must be one of them."
|
|
6053
|
+
},
|
|
6054
|
+
"start": {
|
|
6055
|
+
"type": "integer"
|
|
6056
|
+
},
|
|
6057
|
+
"end": {
|
|
6058
|
+
"type": "integer"
|
|
6059
|
+
},
|
|
6060
|
+
"stripAnsi": {
|
|
6061
|
+
"type": "boolean"
|
|
6062
|
+
}
|
|
6063
|
+
},
|
|
6064
|
+
"required": [
|
|
6065
|
+
"terminalId"
|
|
6066
|
+
],
|
|
6067
|
+
"additionalProperties": false
|
|
6068
|
+
},
|
|
6069
|
+
"result": {
|
|
6070
|
+
"type": "object",
|
|
6071
|
+
"properties": {
|
|
6072
|
+
"lines": {
|
|
6073
|
+
"type": "array",
|
|
6074
|
+
"maxItems": 1200,
|
|
6075
|
+
"items": {
|
|
6076
|
+
"type": "string"
|
|
6077
|
+
}
|
|
6078
|
+
},
|
|
6079
|
+
"totalLines": {
|
|
6080
|
+
"type": "integer",
|
|
6081
|
+
"minimum": 0
|
|
6082
|
+
}
|
|
6083
|
+
},
|
|
6084
|
+
"required": [
|
|
6085
|
+
"lines",
|
|
6086
|
+
"totalLines"
|
|
6087
|
+
],
|
|
6088
|
+
"additionalProperties": false
|
|
6089
|
+
}
|
|
6090
|
+
},
|
|
6091
|
+
"terminal.watch": {
|
|
6092
|
+
"x-alp": {
|
|
6093
|
+
"effect": "query",
|
|
6094
|
+
"scope": {
|
|
6095
|
+
"kind": "project"
|
|
6096
|
+
},
|
|
6097
|
+
"capability": "terminal.watch",
|
|
6098
|
+
"idempotent": true,
|
|
6099
|
+
"description": "Connection-local read subscription management, like question.watch/session.attach; no host or terminal mutation."
|
|
6100
|
+
},
|
|
6101
|
+
"params": {
|
|
6102
|
+
"type": "object",
|
|
6103
|
+
"properties": {
|
|
6104
|
+
"workspaceId": {
|
|
6105
|
+
"type": "string",
|
|
6106
|
+
"minLength": 1,
|
|
6107
|
+
"maxLength": 200
|
|
6108
|
+
},
|
|
6109
|
+
"principalId": {
|
|
6110
|
+
"type": "string",
|
|
6111
|
+
"minLength": 1,
|
|
6112
|
+
"maxLength": 200,
|
|
6113
|
+
"description": "Set by a trusted gateway on its own connection: the remote principal the request acts for. Absent: the local owner."
|
|
6114
|
+
},
|
|
6115
|
+
"principalEpoch": {
|
|
6116
|
+
"type": "string",
|
|
6117
|
+
"minLength": 1,
|
|
6118
|
+
"maxLength": 200,
|
|
6119
|
+
"description": "The grant epoch of principalId (a gateway credential scope). Absent: the local owner."
|
|
6120
|
+
},
|
|
6121
|
+
"authorizedRoots": {
|
|
6122
|
+
"type": "array",
|
|
6123
|
+
"maxItems": 1024,
|
|
6124
|
+
"items": {
|
|
6125
|
+
"type": "string",
|
|
6126
|
+
"minLength": 1,
|
|
6127
|
+
"maxLength": 4096
|
|
6128
|
+
},
|
|
6129
|
+
"description": "Set by a trusted gateway: the canonical workspaces the principal may use now; the terminal's workspace must be one of them."
|
|
6130
|
+
},
|
|
6131
|
+
"after": {
|
|
6132
|
+
"type": "string",
|
|
6133
|
+
"pattern": "^[0-9a-f]{32}$"
|
|
6134
|
+
}
|
|
6135
|
+
},
|
|
6136
|
+
"required": [],
|
|
6137
|
+
"additionalProperties": false
|
|
6138
|
+
},
|
|
6139
|
+
"result": {
|
|
6140
|
+
"type": "object",
|
|
6141
|
+
"properties": {
|
|
6142
|
+
"terminals": {
|
|
6143
|
+
"type": "array",
|
|
6144
|
+
"items": {
|
|
6145
|
+
"$ref": "#/$defs/terminal"
|
|
6146
|
+
}
|
|
6147
|
+
},
|
|
6148
|
+
"watchId": {
|
|
6149
|
+
"type": "string",
|
|
6150
|
+
"pattern": "^[0-9a-f]{32}$"
|
|
6151
|
+
},
|
|
6152
|
+
"cursor": {
|
|
6153
|
+
"type": "string",
|
|
6154
|
+
"pattern": "^[0-9a-f]{32}$"
|
|
6155
|
+
},
|
|
6156
|
+
"reset": {
|
|
6157
|
+
"type": "boolean"
|
|
6158
|
+
}
|
|
6159
|
+
},
|
|
6160
|
+
"required": [
|
|
6161
|
+
"terminals",
|
|
6162
|
+
"watchId",
|
|
6163
|
+
"cursor",
|
|
6164
|
+
"reset"
|
|
6165
|
+
],
|
|
6166
|
+
"additionalProperties": false
|
|
6167
|
+
}
|
|
6168
|
+
},
|
|
6169
|
+
"terminal.unwatch": {
|
|
6170
|
+
"x-alp": {
|
|
6171
|
+
"effect": "query",
|
|
6172
|
+
"scope": {
|
|
6173
|
+
"kind": "connection"
|
|
6174
|
+
},
|
|
6175
|
+
"capability": "terminal.watch",
|
|
6176
|
+
"idempotent": true,
|
|
6177
|
+
"description": "Connection-local read subscription management, like question.watch/session.attach; no host or terminal mutation."
|
|
6178
|
+
},
|
|
6179
|
+
"params": {
|
|
6180
|
+
"type": "object",
|
|
6181
|
+
"properties": {},
|
|
6182
|
+
"additionalProperties": false
|
|
6183
|
+
},
|
|
6184
|
+
"result": {
|
|
6185
|
+
"type": "object",
|
|
6186
|
+
"properties": {
|
|
6187
|
+
"closed": {
|
|
6188
|
+
"const": true
|
|
6189
|
+
}
|
|
6190
|
+
},
|
|
6191
|
+
"required": [
|
|
6192
|
+
"closed"
|
|
6193
|
+
],
|
|
6194
|
+
"additionalProperties": false
|
|
6195
|
+
}
|
|
5422
6196
|
}
|
|
5423
6197
|
},
|
|
5424
6198
|
"$defs": {
|
|
@@ -5750,6 +6524,26 @@
|
|
|
5750
6524
|
},
|
|
5751
6525
|
"askedAt": {
|
|
5752
6526
|
"type": "string"
|
|
6527
|
+
},
|
|
6528
|
+
"gate": {
|
|
6529
|
+
"type": "object",
|
|
6530
|
+
"properties": {
|
|
6531
|
+
"projectRoot": {
|
|
6532
|
+
"type": "string"
|
|
6533
|
+
},
|
|
6534
|
+
"taskId": {
|
|
6535
|
+
"type": "string"
|
|
6536
|
+
},
|
|
6537
|
+
"gateId": {
|
|
6538
|
+
"type": "string"
|
|
6539
|
+
}
|
|
6540
|
+
},
|
|
6541
|
+
"required": [
|
|
6542
|
+
"projectRoot",
|
|
6543
|
+
"taskId",
|
|
6544
|
+
"gateId"
|
|
6545
|
+
],
|
|
6546
|
+
"additionalProperties": true
|
|
5753
6547
|
}
|
|
5754
6548
|
},
|
|
5755
6549
|
"required": [
|
|
@@ -6015,6 +6809,53 @@
|
|
|
6015
6809
|
"params"
|
|
6016
6810
|
],
|
|
6017
6811
|
"additionalProperties": true
|
|
6812
|
+
},
|
|
6813
|
+
{
|
|
6814
|
+
"type": "object",
|
|
6815
|
+
"properties": {
|
|
6816
|
+
"jsonrpc": {
|
|
6817
|
+
"const": "2.0"
|
|
6818
|
+
},
|
|
6819
|
+
"method": {
|
|
6820
|
+
"const": "terminal.changed"
|
|
6821
|
+
},
|
|
6822
|
+
"params": {
|
|
6823
|
+
"$ref": "#/$defs/terminalChanged"
|
|
6824
|
+
}
|
|
6825
|
+
},
|
|
6826
|
+
"required": [
|
|
6827
|
+
"jsonrpc",
|
|
6828
|
+
"method",
|
|
6829
|
+
"params"
|
|
6830
|
+
],
|
|
6831
|
+
"additionalProperties": true
|
|
6832
|
+
},
|
|
6833
|
+
{
|
|
6834
|
+
"type": "object",
|
|
6835
|
+
"description": "The live model catalog changed (capability catalog.live): re-read catalog.get.",
|
|
6836
|
+
"properties": {
|
|
6837
|
+
"jsonrpc": {
|
|
6838
|
+
"const": "2.0"
|
|
6839
|
+
},
|
|
6840
|
+
"method": {
|
|
6841
|
+
"const": "catalog.updated"
|
|
6842
|
+
},
|
|
6843
|
+
"params": {
|
|
6844
|
+
"type": "object",
|
|
6845
|
+
"properties": {
|
|
6846
|
+
"fetchedAt": {
|
|
6847
|
+
"type": "string"
|
|
6848
|
+
}
|
|
6849
|
+
},
|
|
6850
|
+
"additionalProperties": true
|
|
6851
|
+
}
|
|
6852
|
+
},
|
|
6853
|
+
"required": [
|
|
6854
|
+
"jsonrpc",
|
|
6855
|
+
"method",
|
|
6856
|
+
"params"
|
|
6857
|
+
],
|
|
6858
|
+
"additionalProperties": true
|
|
6018
6859
|
}
|
|
6019
6860
|
]
|
|
6020
6861
|
},
|
|
@@ -8552,6 +9393,13 @@
|
|
|
8552
9393
|
"disabled",
|
|
8553
9394
|
"shutdown"
|
|
8554
9395
|
]
|
|
9396
|
+
},
|
|
9397
|
+
"protection": {
|
|
9398
|
+
"enum": [
|
|
9399
|
+
"root-only",
|
|
9400
|
+
"none"
|
|
9401
|
+
],
|
|
9402
|
+
"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."
|
|
8555
9403
|
}
|
|
8556
9404
|
},
|
|
8557
9405
|
"required": [
|
|
@@ -8673,6 +9521,24 @@
|
|
|
8673
9521
|
"additionalProperties": false
|
|
8674
9522
|
}
|
|
8675
9523
|
]
|
|
9524
|
+
},
|
|
9525
|
+
"terminalChanged": {
|
|
9526
|
+
"type": "object",
|
|
9527
|
+
"properties": {
|
|
9528
|
+
"watchId": {
|
|
9529
|
+
"type": "string",
|
|
9530
|
+
"pattern": "^[0-9a-f]{32}$"
|
|
9531
|
+
},
|
|
9532
|
+
"cursor": {
|
|
9533
|
+
"type": "string",
|
|
9534
|
+
"pattern": "^[0-9a-f]{32}$"
|
|
9535
|
+
}
|
|
9536
|
+
},
|
|
9537
|
+
"required": [
|
|
9538
|
+
"watchId",
|
|
9539
|
+
"cursor"
|
|
9540
|
+
],
|
|
9541
|
+
"additionalProperties": false
|
|
8676
9542
|
}
|
|
8677
9543
|
}
|
|
8678
9544
|
}
|