@compozy/extension-sdk 0.3.0-beta.20 → 0.3.0-beta.22
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/cjs/extension-describe.js +52 -6
- package/dist/cjs/extension-describe.js.map +1 -1
- package/dist/cjs/extension-tool-registration.js +1 -0
- package/dist/cjs/extension-tool-registration.js.map +1 -1
- package/dist/cjs/extension.js +1 -1
- package/dist/cjs/extension.js.map +1 -1
- package/dist/cjs/generated/contracts.js.map +1 -1
- package/dist/cjs/types.js.map +1 -1
- package/dist/cjs/view-provider.js +12 -1
- package/dist/cjs/view-provider.js.map +1 -1
- package/dist/esm/extension-describe.js +52 -6
- package/dist/esm/extension-describe.js.map +1 -1
- package/dist/esm/extension-tool-registration.js +1 -0
- package/dist/esm/extension-tool-registration.js.map +1 -1
- package/dist/esm/extension.js +1 -1
- package/dist/esm/extension.js.map +1 -1
- package/dist/esm/generated/contracts.js.map +1 -1
- package/dist/esm/types.js.map +1 -1
- package/dist/esm/view-provider.js +12 -1
- package/dist/esm/view-provider.js.map +1 -1
- package/dist/types/extension-contract.d.ts +1 -0
- package/dist/types/extension-contract.d.ts.map +1 -1
- package/dist/types/extension-describe.d.ts.map +1 -1
- package/dist/types/extension-tool-registration.d.ts.map +1 -1
- package/dist/types/generated/contracts.d.ts +291 -22
- package/dist/types/generated/contracts.d.ts.map +1 -1
- package/dist/types/types.d.ts +3 -2
- package/dist/types/types.d.ts.map +1 -1
- package/dist/types/view-provider.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ISODateTime, JSONValue } from "../base-types.js";
|
|
2
|
-
export type HostAPIMethod = "agents/heartbeat/delete" | "agents/heartbeat/get" | "agents/heartbeat/history" | "agents/heartbeat/put" | "agents/heartbeat/rollback" | "agents/heartbeat/status" | "agents/heartbeat/validate" | "agents/heartbeat/wake" | "agents/soul/delete" | "agents/soul/get" | "agents/soul/history" | "agents/soul/put" | "agents/soul/rollback" | "agents/soul/validate" | "automation/jobs" | "automation/jobs/create" | "automation/jobs/delete" | "automation/jobs/get" | "automation/jobs/runs" | "automation/jobs/trigger" | "automation/jobs/update" | "automation/runs" | "automation/triggers" | "automation/triggers/create" | "automation/triggers/delete" | "automation/triggers/fire" | "automation/triggers/get" | "automation/triggers/runs" | "automation/triggers/update" | "bridges/instances/get" | "bridges/instances/list" | "bridges/instances/report_state" | "bridges/messages/ingest" | "clarify/ask" | "logs/list" | "memory/forget" | "memory/recall" | "memory/store" | "models/list" | "models/refresh" | "models/status" | "network/channels" | "network/direct/messages" | "network/direct/resolve" | "network/directs" | "network/peers" | "network/send" | "network/status" | "network/thread/get" | "network/thread/messages" | "network/threads" | "network/usage" | "network/work/get" | "observe/health" | "resources/get" | "resources/list" | "resources/snapshot" | "sandbox/exec" | "sandbox/info" | "sandbox/list" | "sessions/archive" | "sessions/create" | "sessions/events" | "sessions/health/get" | "sessions/inputs/cancel" | "sessions/inputs/list" | "sessions/inputs/promote" | "sessions/inputs/replace" | "sessions/list" | "sessions/prompt" | "sessions/runtime/clear" | "sessions/runtime/set" | "sessions/soul/refresh" | "sessions/status" | "sessions/status/get" | "sessions/stop" | "sessions/unarchive" | "skills/list" | "tasks" | "tasks/cancel" | "tasks/create" | "tasks/dashboard" | "tasks/get" | "tasks/inbox" | "tasks/runs" | "tasks/runs/attach_session" | "tasks/runs/cancel" | "tasks/runs/complete" | "tasks/runs/enqueue" | "tasks/runs/fail" | "tasks/runs/get" | "tasks/runs/start" | "tasks/timeline" | "tasks/tree" | "tasks/update" | "view/patch";
|
|
2
|
+
export type HostAPIMethod = "agents/heartbeat/delete" | "agents/heartbeat/get" | "agents/heartbeat/history" | "agents/heartbeat/put" | "agents/heartbeat/rollback" | "agents/heartbeat/status" | "agents/heartbeat/validate" | "agents/heartbeat/wake" | "agents/soul/delete" | "agents/soul/get" | "agents/soul/history" | "agents/soul/put" | "agents/soul/rollback" | "agents/soul/validate" | "automation/jobs" | "automation/jobs/create" | "automation/jobs/delete" | "automation/jobs/get" | "automation/jobs/runs" | "automation/jobs/trigger" | "automation/jobs/update" | "automation/runs" | "automation/triggers" | "automation/triggers/create" | "automation/triggers/delete" | "automation/triggers/fire" | "automation/triggers/get" | "automation/triggers/runs" | "automation/triggers/update" | "bridges/instances/get" | "bridges/instances/list" | "bridges/instances/report_state" | "bridges/messages/ingest" | "clarify/ask" | "logs/list" | "memory/forget" | "memory/recall" | "memory/store" | "models/list" | "models/refresh" | "models/status" | "network/channels" | "network/direct/messages" | "network/direct/resolve" | "network/directs" | "network/peers" | "network/send" | "network/status" | "network/thread/get" | "network/thread/messages" | "network/threads" | "network/usage" | "network/work/get" | "observe/health" | "resources/get" | "resources/list" | "resources/snapshot" | "sandbox/exec" | "sandbox/info" | "sandbox/list" | "sessions/archive" | "sessions/create" | "sessions/events" | "sessions/health/get" | "sessions/inputs/cancel" | "sessions/inputs/list" | "sessions/inputs/promote" | "sessions/inputs/replace" | "sessions/list" | "sessions/prompt" | "sessions/runtime/clear" | "sessions/runtime/set" | "sessions/soul/refresh" | "sessions/status" | "sessions/status/get" | "sessions/stop" | "sessions/unarchive" | "skills/list" | "tasks" | "tasks/cancel" | "tasks/create" | "tasks/dashboard" | "tasks/get" | "tasks/inbox" | "tasks/runs" | "tasks/runs/attach_session" | "tasks/runs/cancel" | "tasks/runs/complete" | "tasks/runs/enqueue" | "tasks/runs/fail" | "tasks/runs/get" | "tasks/runs/result" | "tasks/runs/start" | "tasks/timeline" | "tasks/tree" | "tasks/update" | "view/patch";
|
|
3
3
|
export interface AcceptedCapabilities {
|
|
4
4
|
provides: string[];
|
|
5
5
|
permissions: HostAPIMethod[];
|
|
@@ -11,6 +11,7 @@ export type HookEvent = "session.pre_create" | "session.post_create" | "session.
|
|
|
11
11
|
export interface AgentCrashedPayload {
|
|
12
12
|
event: HookEvent;
|
|
13
13
|
timestamp: ISODateTime;
|
|
14
|
+
profile_id?: string;
|
|
14
15
|
session_id?: string;
|
|
15
16
|
session_name?: string;
|
|
16
17
|
session_type?: string;
|
|
@@ -92,6 +93,7 @@ export interface AgentHeartbeatValidateParams {
|
|
|
92
93
|
export interface AgentHeartbeatWakeAfterPayload {
|
|
93
94
|
event: HookEvent;
|
|
94
95
|
timestamp: ISODateTime;
|
|
96
|
+
profile_id?: string;
|
|
95
97
|
session_id?: string;
|
|
96
98
|
session_name?: string;
|
|
97
99
|
session_type?: string;
|
|
@@ -117,6 +119,7 @@ export interface AgentHeartbeatWakeAfterPayload {
|
|
|
117
119
|
export interface AgentHeartbeatWakeBeforePayload {
|
|
118
120
|
event: HookEvent;
|
|
119
121
|
timestamp: ISODateTime;
|
|
122
|
+
profile_id?: string;
|
|
120
123
|
session_id?: string;
|
|
121
124
|
session_name?: string;
|
|
122
125
|
session_type?: string;
|
|
@@ -151,6 +154,7 @@ export interface AgentLifecyclePatch {
|
|
|
151
154
|
export interface AgentLifecyclePayload {
|
|
152
155
|
event: HookEvent;
|
|
153
156
|
timestamp: ISODateTime;
|
|
157
|
+
profile_id?: string;
|
|
154
158
|
session_id?: string;
|
|
155
159
|
session_name?: string;
|
|
156
160
|
session_type?: string;
|
|
@@ -175,6 +179,7 @@ export interface AgentLifecyclePayload {
|
|
|
175
179
|
export interface AgentPreStartPayload {
|
|
176
180
|
event: HookEvent;
|
|
177
181
|
timestamp: ISODateTime;
|
|
182
|
+
profile_id?: string;
|
|
178
183
|
session_id?: string;
|
|
179
184
|
session_name?: string;
|
|
180
185
|
session_type?: string;
|
|
@@ -396,6 +401,7 @@ export interface AgentSpawnedPatch {
|
|
|
396
401
|
export interface AgentSpawnedPayload {
|
|
397
402
|
event: HookEvent;
|
|
398
403
|
timestamp: ISODateTime;
|
|
404
|
+
profile_id?: string;
|
|
399
405
|
session_id?: string;
|
|
400
406
|
session_name?: string;
|
|
401
407
|
session_type?: string;
|
|
@@ -430,6 +436,7 @@ export interface AgentStoppedPatch {
|
|
|
430
436
|
export interface AgentStoppedPayload {
|
|
431
437
|
event: HookEvent;
|
|
432
438
|
timestamp: ISODateTime;
|
|
439
|
+
profile_id?: string;
|
|
433
440
|
session_id?: string;
|
|
434
441
|
session_name?: string;
|
|
435
442
|
session_type?: string;
|
|
@@ -559,6 +566,7 @@ export interface AutomationJobCreateParams {
|
|
|
559
566
|
fire_limit?: FireLimitConfig;
|
|
560
567
|
}
|
|
561
568
|
export interface AutomationJobPostFirePayload {
|
|
569
|
+
profile_id?: string;
|
|
562
570
|
job_id: string;
|
|
563
571
|
job_name?: string;
|
|
564
572
|
agent_name?: string;
|
|
@@ -573,6 +581,7 @@ export interface AutomationSchedulePayload {
|
|
|
573
581
|
time?: string;
|
|
574
582
|
}
|
|
575
583
|
export interface AutomationJobPreFirePayload {
|
|
584
|
+
profile_id?: string;
|
|
576
585
|
job_id: string;
|
|
577
586
|
job_name?: string;
|
|
578
587
|
agent_name?: string;
|
|
@@ -614,6 +623,7 @@ export interface AutomationJobsParams {
|
|
|
614
623
|
export type JobSource = string;
|
|
615
624
|
export interface Job {
|
|
616
625
|
id: string;
|
|
626
|
+
profile_id: string;
|
|
617
627
|
scope: Scope;
|
|
618
628
|
name: string;
|
|
619
629
|
target_kind: TargetKind;
|
|
@@ -642,6 +652,7 @@ export interface AutomationJobsResult {
|
|
|
642
652
|
}
|
|
643
653
|
export type AutomationObservationPatch = Record<string, never>;
|
|
644
654
|
export interface AutomationRunCompletedPayload {
|
|
655
|
+
profile_id?: string;
|
|
645
656
|
run_id: string;
|
|
646
657
|
job_id?: string;
|
|
647
658
|
trigger_id?: string;
|
|
@@ -652,6 +663,7 @@ export interface AutomationRunCompletedPayload {
|
|
|
652
663
|
duration_ms?: number;
|
|
653
664
|
}
|
|
654
665
|
export interface AutomationRunFailedPayload {
|
|
666
|
+
profile_id?: string;
|
|
655
667
|
run_id: string;
|
|
656
668
|
job_id?: string;
|
|
657
669
|
trigger_id?: string;
|
|
@@ -695,6 +707,7 @@ export interface AutomationTriggerFireParams {
|
|
|
695
707
|
payload?: Record<string, JSONValue>;
|
|
696
708
|
}
|
|
697
709
|
export interface AutomationTriggerPostFirePayload {
|
|
710
|
+
profile_id?: string;
|
|
698
711
|
trigger_id: string;
|
|
699
712
|
trigger_name?: string;
|
|
700
713
|
event?: string;
|
|
@@ -704,6 +717,7 @@ export interface AutomationTriggerPostFirePayload {
|
|
|
704
717
|
session_id?: string;
|
|
705
718
|
}
|
|
706
719
|
export interface AutomationTriggerPreFirePayload {
|
|
720
|
+
profile_id?: string;
|
|
707
721
|
trigger_id: string;
|
|
708
722
|
trigger_name?: string;
|
|
709
723
|
event?: string;
|
|
@@ -755,6 +769,10 @@ export interface GatewayIngressPayload {
|
|
|
755
769
|
}
|
|
756
770
|
export interface Trigger {
|
|
757
771
|
id: string;
|
|
772
|
+
profile_id: string;
|
|
773
|
+
profile_name: string;
|
|
774
|
+
profile_color?: string;
|
|
775
|
+
profile_icon?: string;
|
|
758
776
|
scope: Scope;
|
|
759
777
|
name: string;
|
|
760
778
|
target_kind: TargetKind;
|
|
@@ -826,6 +844,12 @@ export interface BridgeDegradation {
|
|
|
826
844
|
}
|
|
827
845
|
export interface BridgeInstance {
|
|
828
846
|
id: string;
|
|
847
|
+
profile_id: string;
|
|
848
|
+
profile_name?: string;
|
|
849
|
+
profile_color?: string;
|
|
850
|
+
profile_icon?: string;
|
|
851
|
+
profile_emoji?: string;
|
|
852
|
+
profile_archived?: boolean;
|
|
829
853
|
scope: BridgeScope;
|
|
830
854
|
workspace_id?: string;
|
|
831
855
|
platform: string;
|
|
@@ -928,6 +952,7 @@ export interface CmdPaletteCommand {
|
|
|
928
952
|
title: string;
|
|
929
953
|
section?: string;
|
|
930
954
|
icon: string;
|
|
955
|
+
profile?: string;
|
|
931
956
|
keywords?: string[];
|
|
932
957
|
arguments?: CmdPaletteArgument[];
|
|
933
958
|
action: CmdPaletteAction;
|
|
@@ -943,6 +968,7 @@ export interface CmdPaletteView {
|
|
|
943
968
|
id: string;
|
|
944
969
|
title: string;
|
|
945
970
|
kind: string;
|
|
971
|
+
profile?: string;
|
|
946
972
|
source?: CmdPaletteViewSource;
|
|
947
973
|
program?: boolean;
|
|
948
974
|
}
|
|
@@ -1007,6 +1033,7 @@ export interface ContextBlock {
|
|
|
1007
1033
|
export interface ContextCompactPayload {
|
|
1008
1034
|
event: HookEvent;
|
|
1009
1035
|
timestamp: ISODateTime;
|
|
1036
|
+
profile_id?: string;
|
|
1010
1037
|
session_id?: string;
|
|
1011
1038
|
session_name?: string;
|
|
1012
1039
|
session_type?: string;
|
|
@@ -1043,6 +1070,7 @@ export interface ContextPostCompactPatch {
|
|
|
1043
1070
|
export interface ContextPostCompactPayload {
|
|
1044
1071
|
event: HookEvent;
|
|
1045
1072
|
timestamp: ISODateTime;
|
|
1073
|
+
profile_id?: string;
|
|
1046
1074
|
session_id?: string;
|
|
1047
1075
|
session_name?: string;
|
|
1048
1076
|
session_type?: string;
|
|
@@ -1072,6 +1100,7 @@ export interface ContextPreCompactPatch {
|
|
|
1072
1100
|
export interface ContextPreCompactPayload {
|
|
1073
1101
|
event: HookEvent;
|
|
1074
1102
|
timestamp: ISODateTime;
|
|
1103
|
+
profile_id?: string;
|
|
1075
1104
|
session_id?: string;
|
|
1076
1105
|
session_name?: string;
|
|
1077
1106
|
session_type?: string;
|
|
@@ -1114,6 +1143,7 @@ export type NetworkParticipationSpec = {
|
|
|
1114
1143
|
bounds: NetworkParticipationBounds;
|
|
1115
1144
|
};
|
|
1116
1145
|
export interface CoordinatorContext {
|
|
1146
|
+
profile_id?: string;
|
|
1117
1147
|
workspace_id?: string;
|
|
1118
1148
|
workspace?: string;
|
|
1119
1149
|
agent_name?: string;
|
|
@@ -1128,6 +1158,7 @@ export interface CoordinatorContext {
|
|
|
1128
1158
|
export interface CoordinatorDecisionPayload {
|
|
1129
1159
|
event: HookEvent;
|
|
1130
1160
|
timestamp: ISODateTime;
|
|
1161
|
+
profile_id?: string;
|
|
1131
1162
|
workspace_id?: string;
|
|
1132
1163
|
workspace?: string;
|
|
1133
1164
|
agent_name?: string;
|
|
@@ -1146,6 +1177,7 @@ export interface CoordinatorDecisionPayload {
|
|
|
1146
1177
|
export interface CoordinatorFailedPayload {
|
|
1147
1178
|
event: HookEvent;
|
|
1148
1179
|
timestamp: ISODateTime;
|
|
1180
|
+
profile_id?: string;
|
|
1149
1181
|
workspace_id?: string;
|
|
1150
1182
|
workspace?: string;
|
|
1151
1183
|
agent_name?: string;
|
|
@@ -1164,6 +1196,7 @@ export interface CoordinatorFailedPayload {
|
|
|
1164
1196
|
export interface CoordinatorLifecyclePayload {
|
|
1165
1197
|
event: HookEvent;
|
|
1166
1198
|
timestamp: ISODateTime;
|
|
1199
|
+
profile_id?: string;
|
|
1167
1200
|
workspace_id?: string;
|
|
1168
1201
|
workspace?: string;
|
|
1169
1202
|
agent_name?: string;
|
|
@@ -1185,6 +1218,7 @@ export interface CoordinatorObservationPatch {
|
|
|
1185
1218
|
export interface CoordinatorPreSpawnPayload {
|
|
1186
1219
|
event: HookEvent;
|
|
1187
1220
|
timestamp: ISODateTime;
|
|
1221
|
+
profile_id?: string;
|
|
1188
1222
|
workspace_id?: string;
|
|
1189
1223
|
workspace?: string;
|
|
1190
1224
|
agent_name?: string;
|
|
@@ -1209,6 +1243,7 @@ export interface CoordinatorSpawnPatch {
|
|
|
1209
1243
|
export interface CoordinatorSpawnedPayload {
|
|
1210
1244
|
event: HookEvent;
|
|
1211
1245
|
timestamp: ISODateTime;
|
|
1246
|
+
profile_id?: string;
|
|
1212
1247
|
workspace_id?: string;
|
|
1213
1248
|
workspace?: string;
|
|
1214
1249
|
agent_name?: string;
|
|
@@ -1227,6 +1262,7 @@ export interface CoordinatorSpawnedPayload {
|
|
|
1227
1262
|
export interface CoordinatorStoppedPayload {
|
|
1228
1263
|
event: HookEvent;
|
|
1229
1264
|
timestamp: ISODateTime;
|
|
1265
|
+
profile_id?: string;
|
|
1230
1266
|
workspace_id?: string;
|
|
1231
1267
|
workspace?: string;
|
|
1232
1268
|
agent_name?: string;
|
|
@@ -1332,12 +1368,33 @@ export interface DescribeNetworkParticipation {
|
|
|
1332
1368
|
mode: string;
|
|
1333
1369
|
channel_scopes?: string[];
|
|
1334
1370
|
}
|
|
1371
|
+
export interface DescribeProfileDefaults {
|
|
1372
|
+
agent?: string;
|
|
1373
|
+
provider?: string;
|
|
1374
|
+
sandbox?: string;
|
|
1375
|
+
}
|
|
1376
|
+
export interface DescribeProfileCredential {
|
|
1377
|
+
provider: string;
|
|
1378
|
+
slot: string;
|
|
1379
|
+
}
|
|
1380
|
+
export interface DescribeProfile {
|
|
1381
|
+
name: string;
|
|
1382
|
+
color?: string;
|
|
1383
|
+
icon?: string;
|
|
1384
|
+
emoji?: string;
|
|
1385
|
+
defaults?: DescribeProfileDefaults;
|
|
1386
|
+
credentials?: DescribeProfileCredential[];
|
|
1387
|
+
}
|
|
1388
|
+
export interface DescribeResourcePath {
|
|
1389
|
+
path: string;
|
|
1390
|
+
profile?: string;
|
|
1391
|
+
}
|
|
1335
1392
|
export interface DescribeResources {
|
|
1336
|
-
skills?:
|
|
1337
|
-
loops?:
|
|
1338
|
-
agents?:
|
|
1339
|
-
automation?:
|
|
1340
|
-
layouts?:
|
|
1393
|
+
skills?: DescribeResourcePath[];
|
|
1394
|
+
loops?: DescribeResourcePath[];
|
|
1395
|
+
agents?: DescribeResourcePath[];
|
|
1396
|
+
automation?: DescribeResourcePath[];
|
|
1397
|
+
layouts?: DescribeResourcePath[];
|
|
1341
1398
|
cmd_palette?: CmdPaletteConfig;
|
|
1342
1399
|
}
|
|
1343
1400
|
export interface DescribeSubprocess {
|
|
@@ -1354,6 +1411,7 @@ export interface ExtensionCommandSpec {
|
|
|
1354
1411
|
flags?: Record<string, string>;
|
|
1355
1412
|
}
|
|
1356
1413
|
export interface ExtensionToolRuntimeDescriptor {
|
|
1414
|
+
profile?: string;
|
|
1357
1415
|
id: ToolID;
|
|
1358
1416
|
handler: string;
|
|
1359
1417
|
description?: string;
|
|
@@ -1369,9 +1427,14 @@ export interface ExtensionToolRuntimeDescriptor {
|
|
|
1369
1427
|
capabilities?: string[];
|
|
1370
1428
|
command?: ExtensionCommandSpec;
|
|
1371
1429
|
}
|
|
1430
|
+
export interface DescribeHookEvent {
|
|
1431
|
+
event: HookEvent;
|
|
1432
|
+
profile?: string;
|
|
1433
|
+
}
|
|
1372
1434
|
export interface ExtensionCommandGroupSpec {
|
|
1373
1435
|
path: string;
|
|
1374
1436
|
summary: string;
|
|
1437
|
+
profile?: string;
|
|
1375
1438
|
}
|
|
1376
1439
|
export interface DescribeSDKInfo {
|
|
1377
1440
|
name: string;
|
|
@@ -1386,11 +1449,12 @@ export interface DescribePayload {
|
|
|
1386
1449
|
provides: string[];
|
|
1387
1450
|
permissions: string[];
|
|
1388
1451
|
requires_env?: string[];
|
|
1452
|
+
profiles?: DescribeProfile[];
|
|
1389
1453
|
resources: DescribeResources;
|
|
1390
1454
|
subprocess: DescribeSubprocess;
|
|
1391
1455
|
network_participation?: DescribeNetworkParticipation;
|
|
1392
1456
|
tools?: ExtensionToolRuntimeDescriptor[];
|
|
1393
|
-
hook_events?:
|
|
1457
|
+
hook_events?: DescribeHookEvent[];
|
|
1394
1458
|
watch_source_kinds?: string[];
|
|
1395
1459
|
cmd_palette_views?: string[];
|
|
1396
1460
|
command_groups?: ExtensionCommandGroupSpec[];
|
|
@@ -1407,6 +1471,7 @@ export interface EventPostRecordPatch {
|
|
|
1407
1471
|
export interface EventPostRecordPayload {
|
|
1408
1472
|
event: HookEvent;
|
|
1409
1473
|
timestamp: ISODateTime;
|
|
1474
|
+
profile_id?: string;
|
|
1410
1475
|
session_id?: string;
|
|
1411
1476
|
session_name?: string;
|
|
1412
1477
|
session_type?: string;
|
|
@@ -1431,6 +1496,7 @@ export interface EventPreRecordPatch {
|
|
|
1431
1496
|
export interface EventPreRecordPayload {
|
|
1432
1497
|
event: HookEvent;
|
|
1433
1498
|
timestamp: ISODateTime;
|
|
1499
|
+
profile_id?: string;
|
|
1434
1500
|
session_id?: string;
|
|
1435
1501
|
session_name?: string;
|
|
1436
1502
|
session_type?: string;
|
|
@@ -1455,6 +1521,7 @@ export interface EventRecordPatch {
|
|
|
1455
1521
|
export interface EventRecordPayload {
|
|
1456
1522
|
event: HookEvent;
|
|
1457
1523
|
timestamp: ISODateTime;
|
|
1524
|
+
profile_id?: string;
|
|
1458
1525
|
session_id?: string;
|
|
1459
1526
|
session_name?: string;
|
|
1460
1527
|
session_type?: string;
|
|
@@ -1858,6 +1925,7 @@ export type HookExecutorKind = "native" | "subprocess" | "wasm";
|
|
|
1858
1925
|
export type HookSource = "native" | "config" | "extension" | "agent_definition" | "skill";
|
|
1859
1926
|
export interface HookDecl {
|
|
1860
1927
|
name: string;
|
|
1928
|
+
profile_id?: string;
|
|
1861
1929
|
event: HookEvent;
|
|
1862
1930
|
mode?: HookMode;
|
|
1863
1931
|
matcher: HookMatcher;
|
|
@@ -1875,7 +1943,7 @@ export interface HookDecl {
|
|
|
1875
1943
|
}
|
|
1876
1944
|
export type HookEventFamily = "session" | "sandbox" | "input" | "prompt" | "event" | "automation" | "agent" | "turn" | "message" | "tool" | "permission" | "context" | "coordinator" | "task" | "task.run" | "loop" | "spawn" | "network" | "window_manager" | "worktree";
|
|
1877
1945
|
export type HookRunOutcome = "applied" | "denied" | "failed" | "skipped" | "dropped" | "rejected";
|
|
1878
|
-
export type HookSkillSource = "bundled" | "marketplace" | "user" | "additional" | "workspace";
|
|
1946
|
+
export type HookSkillSource = "bundled" | "marketplace" | "user" | "profile" | "additional" | "workspace" | "workspace_profile";
|
|
1879
1947
|
export interface InboundAction {
|
|
1880
1948
|
action_id: string;
|
|
1881
1949
|
message_id?: string;
|
|
@@ -2032,6 +2100,7 @@ export interface InputAttachmentMetadata {
|
|
|
2032
2100
|
export interface InputPreSubmitPayload {
|
|
2033
2101
|
event: HookEvent;
|
|
2034
2102
|
timestamp: ISODateTime;
|
|
2103
|
+
profile_id?: string;
|
|
2035
2104
|
session_id?: string;
|
|
2036
2105
|
session_name?: string;
|
|
2037
2106
|
session_type?: string;
|
|
@@ -2068,6 +2137,7 @@ export interface ListLogsParams {
|
|
|
2068
2137
|
limit?: number;
|
|
2069
2138
|
}
|
|
2070
2139
|
export interface LoopContext {
|
|
2140
|
+
profile_id?: string;
|
|
2071
2141
|
loop_run_id?: string;
|
|
2072
2142
|
parent_loop_run_id?: string;
|
|
2073
2143
|
workspace_id?: string;
|
|
@@ -2093,6 +2163,7 @@ export interface LoopControlPatch {
|
|
|
2093
2163
|
export interface LoopGatePostPayload {
|
|
2094
2164
|
event: HookEvent;
|
|
2095
2165
|
timestamp: ISODateTime;
|
|
2166
|
+
profile_id?: string;
|
|
2096
2167
|
loop_run_id?: string;
|
|
2097
2168
|
parent_loop_run_id?: string;
|
|
2098
2169
|
workspace_id?: string;
|
|
@@ -2127,6 +2198,7 @@ export interface LoopGatePrePatch {
|
|
|
2127
2198
|
export interface LoopGatePrePayload {
|
|
2128
2199
|
event: HookEvent;
|
|
2129
2200
|
timestamp: ISODateTime;
|
|
2201
|
+
profile_id?: string;
|
|
2130
2202
|
loop_run_id?: string;
|
|
2131
2203
|
parent_loop_run_id?: string;
|
|
2132
2204
|
workspace_id?: string;
|
|
@@ -2158,6 +2230,7 @@ export type LoopGenerationOrigin = "initial" | "stop_when" | "reattempt" | "gate
|
|
|
2158
2230
|
export interface LoopGenerationPostPayload {
|
|
2159
2231
|
event: HookEvent;
|
|
2160
2232
|
timestamp: ISODateTime;
|
|
2233
|
+
profile_id?: string;
|
|
2161
2234
|
loop_run_id?: string;
|
|
2162
2235
|
parent_loop_run_id?: string;
|
|
2163
2236
|
workspace_id?: string;
|
|
@@ -2190,6 +2263,7 @@ export interface LoopGenerationPrePatch {
|
|
|
2190
2263
|
export interface LoopGenerationPrePayload {
|
|
2191
2264
|
event: HookEvent;
|
|
2192
2265
|
timestamp: ISODateTime;
|
|
2266
|
+
profile_id?: string;
|
|
2193
2267
|
loop_run_id?: string;
|
|
2194
2268
|
parent_loop_run_id?: string;
|
|
2195
2269
|
workspace_id?: string;
|
|
@@ -2218,6 +2292,7 @@ export interface LoopGenerationPrePayload {
|
|
|
2218
2292
|
export interface LoopLifecyclePayload {
|
|
2219
2293
|
event: HookEvent;
|
|
2220
2294
|
timestamp: ISODateTime;
|
|
2295
|
+
profile_id?: string;
|
|
2221
2296
|
loop_run_id?: string;
|
|
2222
2297
|
parent_loop_run_id?: string;
|
|
2223
2298
|
workspace_id?: string;
|
|
@@ -2243,6 +2318,7 @@ export interface LoopLifecyclePayload {
|
|
|
2243
2318
|
export interface LoopNodeTerminalPayload {
|
|
2244
2319
|
event: HookEvent;
|
|
2245
2320
|
timestamp: ISODateTime;
|
|
2321
|
+
profile_id?: string;
|
|
2246
2322
|
loop_run_id?: string;
|
|
2247
2323
|
parent_loop_run_id?: string;
|
|
2248
2324
|
workspace_id?: string;
|
|
@@ -2275,6 +2351,7 @@ export interface LoopObservationPatch {
|
|
|
2275
2351
|
export interface LoopStartedPayload {
|
|
2276
2352
|
event: HookEvent;
|
|
2277
2353
|
timestamp: ISODateTime;
|
|
2354
|
+
profile_id?: string;
|
|
2278
2355
|
loop_run_id?: string;
|
|
2279
2356
|
parent_loop_run_id?: string;
|
|
2280
2357
|
workspace_id?: string;
|
|
@@ -2300,6 +2377,7 @@ export interface LoopStartedPayload {
|
|
|
2300
2377
|
export interface LoopTerminalPayload {
|
|
2301
2378
|
event: HookEvent;
|
|
2302
2379
|
timestamp: ISODateTime;
|
|
2380
|
+
profile_id?: string;
|
|
2303
2381
|
loop_run_id?: string;
|
|
2304
2382
|
parent_loop_run_id?: string;
|
|
2305
2383
|
workspace_id?: string;
|
|
@@ -2322,7 +2400,7 @@ export interface LoopTerminalPayload {
|
|
|
2322
2400
|
reason_code?: string;
|
|
2323
2401
|
details?: JSONValue;
|
|
2324
2402
|
}
|
|
2325
|
-
export type MemoryScope = "
|
|
2403
|
+
export type MemoryScope = "profile" | "workspace" | "agent";
|
|
2326
2404
|
export interface MemoryForgetParams {
|
|
2327
2405
|
key: string;
|
|
2328
2406
|
scope?: MemoryScope;
|
|
@@ -2356,6 +2434,7 @@ export interface MessageDeltaPatch {
|
|
|
2356
2434
|
export interface MessageDeltaPayload {
|
|
2357
2435
|
event: HookEvent;
|
|
2358
2436
|
timestamp: ISODateTime;
|
|
2437
|
+
profile_id?: string;
|
|
2359
2438
|
session_id?: string;
|
|
2360
2439
|
session_name?: string;
|
|
2361
2440
|
session_type?: string;
|
|
@@ -2386,6 +2465,7 @@ export interface MessageEndPatch {
|
|
|
2386
2465
|
export interface MessageEndPayload {
|
|
2387
2466
|
event: HookEvent;
|
|
2388
2467
|
timestamp: ISODateTime;
|
|
2468
|
+
profile_id?: string;
|
|
2389
2469
|
session_id?: string;
|
|
2390
2470
|
session_name?: string;
|
|
2391
2471
|
session_type?: string;
|
|
@@ -2416,6 +2496,7 @@ export interface MessagePatch {
|
|
|
2416
2496
|
export interface MessagePayload {
|
|
2417
2497
|
event: HookEvent;
|
|
2418
2498
|
timestamp: ISODateTime;
|
|
2499
|
+
profile_id?: string;
|
|
2419
2500
|
session_id?: string;
|
|
2420
2501
|
session_name?: string;
|
|
2421
2502
|
session_type?: string;
|
|
@@ -2446,6 +2527,7 @@ export interface MessageStartPatch {
|
|
|
2446
2527
|
export interface MessageStartPayload {
|
|
2447
2528
|
event: HookEvent;
|
|
2448
2529
|
timestamp: ISODateTime;
|
|
2530
|
+
profile_id?: string;
|
|
2449
2531
|
session_id?: string;
|
|
2450
2532
|
session_name?: string;
|
|
2451
2533
|
session_type?: string;
|
|
@@ -2472,6 +2554,38 @@ export interface ModelSourceListParams {
|
|
|
2472
2554
|
include_stale?: boolean;
|
|
2473
2555
|
}
|
|
2474
2556
|
export type ReasoningEffort = "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max";
|
|
2557
|
+
export type ModelSourceOptionKind = string;
|
|
2558
|
+
export interface ModelSourceOptionValue {
|
|
2559
|
+
value_id: string;
|
|
2560
|
+
label?: string;
|
|
2561
|
+
description?: string;
|
|
2562
|
+
group_id?: string;
|
|
2563
|
+
group_label?: string;
|
|
2564
|
+
order?: number;
|
|
2565
|
+
}
|
|
2566
|
+
export interface ModelSourceOptionDescriptor {
|
|
2567
|
+
id: string;
|
|
2568
|
+
label?: string;
|
|
2569
|
+
description?: string;
|
|
2570
|
+
category?: string;
|
|
2571
|
+
kind: ModelSourceOptionKind;
|
|
2572
|
+
current_value_id?: string;
|
|
2573
|
+
current_bool?: boolean;
|
|
2574
|
+
values?: ModelSourceOptionValue[];
|
|
2575
|
+
}
|
|
2576
|
+
export interface ModelSourceOptionSelection {
|
|
2577
|
+
id: string;
|
|
2578
|
+
value_id?: string;
|
|
2579
|
+
bool_value?: boolean;
|
|
2580
|
+
}
|
|
2581
|
+
export interface ModelSourceTransportBinding {
|
|
2582
|
+
transport_model_id: string;
|
|
2583
|
+
label?: string;
|
|
2584
|
+
reasoning_effort?: ReasoningEffort;
|
|
2585
|
+
fast?: boolean;
|
|
2586
|
+
thinking?: boolean;
|
|
2587
|
+
option_selections?: ModelSourceOptionSelection[];
|
|
2588
|
+
}
|
|
2475
2589
|
export interface ModelCatalogCostPayload {
|
|
2476
2590
|
input_per_million?: number;
|
|
2477
2591
|
output_per_million?: number;
|
|
@@ -2496,6 +2610,8 @@ export interface ModelSourceRow {
|
|
|
2496
2610
|
supports_reasoning?: boolean;
|
|
2497
2611
|
reasoning_efforts?: ReasoningEffort[];
|
|
2498
2612
|
default_reasoning_effort?: ReasoningEffort;
|
|
2613
|
+
config_options?: ModelSourceOptionDescriptor[];
|
|
2614
|
+
transport_bindings?: ModelSourceTransportBinding[];
|
|
2499
2615
|
cost?: ModelCatalogCostPayload;
|
|
2500
2616
|
deprecated?: boolean;
|
|
2501
2617
|
hidden?: boolean;
|
|
@@ -2522,6 +2638,12 @@ export interface ModelsStatusParams {
|
|
|
2522
2638
|
provider_id?: string;
|
|
2523
2639
|
}
|
|
2524
2640
|
export interface NetworkChannelPayload {
|
|
2641
|
+
profile_id: string;
|
|
2642
|
+
profile_name: string;
|
|
2643
|
+
profile_color?: string;
|
|
2644
|
+
profile_icon?: string;
|
|
2645
|
+
profile_emoji?: string;
|
|
2646
|
+
profile_archived?: boolean;
|
|
2525
2647
|
channel: string;
|
|
2526
2648
|
workspace_id?: string;
|
|
2527
2649
|
purpose?: string;
|
|
@@ -2559,6 +2681,12 @@ export interface NetworkDirectResolveParams {
|
|
|
2559
2681
|
peer_id: string;
|
|
2560
2682
|
}
|
|
2561
2683
|
export interface NetworkConversationMessagePayload {
|
|
2684
|
+
profile_id: string;
|
|
2685
|
+
profile_name: string;
|
|
2686
|
+
profile_color?: string;
|
|
2687
|
+
profile_icon?: string;
|
|
2688
|
+
profile_emoji?: string;
|
|
2689
|
+
profile_archived?: boolean;
|
|
2562
2690
|
message_id: string;
|
|
2563
2691
|
workspace_id?: string;
|
|
2564
2692
|
channel: string;
|
|
@@ -2615,6 +2743,12 @@ export interface NetworkDirectRoomOpenedPayload {
|
|
|
2615
2743
|
causation_id?: string;
|
|
2616
2744
|
}
|
|
2617
2745
|
export interface NetworkDirectRoomPayload {
|
|
2746
|
+
profile_id: string;
|
|
2747
|
+
profile_name: string;
|
|
2748
|
+
profile_color?: string;
|
|
2749
|
+
profile_icon?: string;
|
|
2750
|
+
profile_emoji?: string;
|
|
2751
|
+
profile_archived?: boolean;
|
|
2618
2752
|
workspace_id?: string;
|
|
2619
2753
|
channel: string;
|
|
2620
2754
|
direct_id: string;
|
|
@@ -2914,6 +3048,12 @@ export interface NetworkCoordinationCostPayload {
|
|
|
2914
3048
|
estimated_prompt_tokens?: number;
|
|
2915
3049
|
}
|
|
2916
3050
|
export interface NetworkThreadSummaryPayload {
|
|
3051
|
+
profile_id: string;
|
|
3052
|
+
profile_name: string;
|
|
3053
|
+
profile_color?: string;
|
|
3054
|
+
profile_icon?: string;
|
|
3055
|
+
profile_emoji?: string;
|
|
3056
|
+
profile_archived?: boolean;
|
|
2917
3057
|
workspace_id?: string;
|
|
2918
3058
|
channel: string;
|
|
2919
3059
|
thread_id: string;
|
|
@@ -3052,6 +3192,12 @@ export interface NetworkWorkOpenedPayload {
|
|
|
3052
3192
|
causation_id?: string;
|
|
3053
3193
|
}
|
|
3054
3194
|
export interface NetworkWorkPayload {
|
|
3195
|
+
profile_id: string;
|
|
3196
|
+
profile_name: string;
|
|
3197
|
+
profile_color?: string;
|
|
3198
|
+
profile_icon?: string;
|
|
3199
|
+
profile_emoji?: string;
|
|
3200
|
+
profile_archived?: boolean;
|
|
3055
3201
|
work_id: string;
|
|
3056
3202
|
workspace_id?: string;
|
|
3057
3203
|
channel: string;
|
|
@@ -3259,6 +3405,7 @@ export interface PermissionToolCall {
|
|
|
3259
3405
|
export interface PermissionDeniedPayload {
|
|
3260
3406
|
event: HookEvent;
|
|
3261
3407
|
timestamp: ISODateTime;
|
|
3408
|
+
profile_id?: string;
|
|
3262
3409
|
session_id?: string;
|
|
3263
3410
|
session_name?: string;
|
|
3264
3411
|
session_type?: string;
|
|
@@ -3296,6 +3443,7 @@ export interface PermissionRequestPatch {
|
|
|
3296
3443
|
export interface PermissionRequestPayload {
|
|
3297
3444
|
event: HookEvent;
|
|
3298
3445
|
timestamp: ISODateTime;
|
|
3446
|
+
profile_id?: string;
|
|
3299
3447
|
session_id?: string;
|
|
3300
3448
|
session_name?: string;
|
|
3301
3449
|
session_type?: string;
|
|
@@ -3322,6 +3470,7 @@ export interface PermissionRequestPayload {
|
|
|
3322
3470
|
export interface PermissionResolutionPayload {
|
|
3323
3471
|
event: HookEvent;
|
|
3324
3472
|
timestamp: ISODateTime;
|
|
3473
|
+
profile_id?: string;
|
|
3325
3474
|
session_id?: string;
|
|
3326
3475
|
session_name?: string;
|
|
3327
3476
|
session_type?: string;
|
|
@@ -3348,6 +3497,7 @@ export type PermissionResolvedPatch = Record<string, never>;
|
|
|
3348
3497
|
export interface PermissionResolvedPayload {
|
|
3349
3498
|
event: HookEvent;
|
|
3350
3499
|
timestamp: ISODateTime;
|
|
3500
|
+
profile_id?: string;
|
|
3351
3501
|
session_id?: string;
|
|
3352
3502
|
session_name?: string;
|
|
3353
3503
|
session_type?: string;
|
|
@@ -3387,6 +3537,7 @@ export interface PromptPatch {
|
|
|
3387
3537
|
export interface PromptPayload {
|
|
3388
3538
|
event: HookEvent;
|
|
3389
3539
|
timestamp: ISODateTime;
|
|
3540
|
+
profile_id?: string;
|
|
3390
3541
|
session_id?: string;
|
|
3391
3542
|
session_name?: string;
|
|
3392
3543
|
session_type?: string;
|
|
@@ -3413,6 +3564,28 @@ export interface ModelCatalogSourceRefPayload {
|
|
|
3413
3564
|
stale: boolean;
|
|
3414
3565
|
last_error?: string;
|
|
3415
3566
|
}
|
|
3567
|
+
export interface SessionConfigOptionValuePayload {
|
|
3568
|
+
value: string;
|
|
3569
|
+
label?: string;
|
|
3570
|
+
description?: string;
|
|
3571
|
+
group_id?: string;
|
|
3572
|
+
group_label?: string;
|
|
3573
|
+
}
|
|
3574
|
+
export interface SessionConfigOptionPayload {
|
|
3575
|
+
id: string;
|
|
3576
|
+
label?: string;
|
|
3577
|
+
description?: string;
|
|
3578
|
+
category?: string;
|
|
3579
|
+
kind: string;
|
|
3580
|
+
current_value_id?: string;
|
|
3581
|
+
current_bool?: boolean;
|
|
3582
|
+
values?: SessionConfigOptionValuePayload[];
|
|
3583
|
+
}
|
|
3584
|
+
export interface ProviderModelConfigurationPayload {
|
|
3585
|
+
reasoning_effort?: ReasoningEffort;
|
|
3586
|
+
fast?: boolean;
|
|
3587
|
+
thinking?: boolean;
|
|
3588
|
+
}
|
|
3416
3589
|
export type ReasoningSource = "acp" | "catalog";
|
|
3417
3590
|
export interface ProviderModelPayload {
|
|
3418
3591
|
provider_id: string;
|
|
@@ -3430,6 +3603,8 @@ export interface ProviderModelPayload {
|
|
|
3430
3603
|
supports_reasoning?: boolean;
|
|
3431
3604
|
reasoning_efforts?: ReasoningEffort[];
|
|
3432
3605
|
default_reasoning_effort?: ReasoningEffort;
|
|
3606
|
+
config_options?: SessionConfigOptionPayload[];
|
|
3607
|
+
configurations?: ProviderModelConfigurationPayload[];
|
|
3433
3608
|
cost?: ModelCatalogCostPayload;
|
|
3434
3609
|
curated: boolean;
|
|
3435
3610
|
deprecated: boolean;
|
|
@@ -3510,6 +3685,7 @@ export interface ResourcesSnapshotParams {
|
|
|
3510
3685
|
}
|
|
3511
3686
|
export interface Run {
|
|
3512
3687
|
id: string;
|
|
3688
|
+
profile_id?: string;
|
|
3513
3689
|
job_id?: string;
|
|
3514
3690
|
trigger_id?: string;
|
|
3515
3691
|
session_id?: string;
|
|
@@ -3587,6 +3763,7 @@ export interface SandboxProfilePayload {
|
|
|
3587
3763
|
export interface SandboxPreparePayload {
|
|
3588
3764
|
event: HookEvent;
|
|
3589
3765
|
timestamp: ISODateTime;
|
|
3766
|
+
profile_id?: string;
|
|
3590
3767
|
session_id?: string;
|
|
3591
3768
|
session_name?: string;
|
|
3592
3769
|
session_type?: string;
|
|
@@ -3617,6 +3794,7 @@ export type SandboxReadyPatch = Record<string, never>;
|
|
|
3617
3794
|
export interface SandboxReadyPayload {
|
|
3618
3795
|
event: HookEvent;
|
|
3619
3796
|
timestamp: ISODateTime;
|
|
3797
|
+
profile_id?: string;
|
|
3620
3798
|
session_id?: string;
|
|
3621
3799
|
session_name?: string;
|
|
3622
3800
|
session_type?: string;
|
|
@@ -3644,6 +3822,7 @@ export interface SandboxStopPatch {
|
|
|
3644
3822
|
export interface SandboxStopPayload {
|
|
3645
3823
|
event: HookEvent;
|
|
3646
3824
|
timestamp: ISODateTime;
|
|
3825
|
+
profile_id?: string;
|
|
3647
3826
|
session_id?: string;
|
|
3648
3827
|
session_name?: string;
|
|
3649
3828
|
session_type?: string;
|
|
@@ -3671,6 +3850,7 @@ export type SandboxSyncAfterPatch = Record<string, never>;
|
|
|
3671
3850
|
export interface SandboxSyncAfterPayload {
|
|
3672
3851
|
event: HookEvent;
|
|
3673
3852
|
timestamp: ISODateTime;
|
|
3853
|
+
profile_id?: string;
|
|
3674
3854
|
session_id?: string;
|
|
3675
3855
|
session_name?: string;
|
|
3676
3856
|
session_type?: string;
|
|
@@ -3704,6 +3884,7 @@ export interface SandboxSyncBeforePatch {
|
|
|
3704
3884
|
export interface SandboxSyncBeforePayload {
|
|
3705
3885
|
event: HookEvent;
|
|
3706
3886
|
timestamp: ISODateTime;
|
|
3887
|
+
profile_id?: string;
|
|
3707
3888
|
session_id?: string;
|
|
3708
3889
|
session_name?: string;
|
|
3709
3890
|
session_type?: string;
|
|
@@ -3731,6 +3912,7 @@ export interface SandboxSyncBeforePayload {
|
|
|
3731
3912
|
export interface SessionAttentionChangedPayload {
|
|
3732
3913
|
event: HookEvent;
|
|
3733
3914
|
timestamp: ISODateTime;
|
|
3915
|
+
profile_id?: string;
|
|
3734
3916
|
session_id?: string;
|
|
3735
3917
|
session_name?: string;
|
|
3736
3918
|
session_type?: string;
|
|
@@ -3751,6 +3933,7 @@ export interface SessionAttentionChangedPayload {
|
|
|
3751
3933
|
}
|
|
3752
3934
|
export type SessionAttentionObservationPatch = Record<string, never>;
|
|
3753
3935
|
export interface SessionContext {
|
|
3936
|
+
profile_id?: string;
|
|
3754
3937
|
session_id?: string;
|
|
3755
3938
|
session_name?: string;
|
|
3756
3939
|
session_type?: string;
|
|
@@ -3802,6 +3985,7 @@ export interface SessionHealthResponse {
|
|
|
3802
3985
|
export interface SessionHealthUpdateAfterPayload {
|
|
3803
3986
|
event: HookEvent;
|
|
3804
3987
|
timestamp: ISODateTime;
|
|
3988
|
+
profile_id?: string;
|
|
3805
3989
|
session_id?: string;
|
|
3806
3990
|
session_name?: string;
|
|
3807
3991
|
session_type?: string;
|
|
@@ -3827,11 +4011,17 @@ export interface SessionHealthUpdateAfterPayload {
|
|
|
3827
4011
|
export type PromptMode = string;
|
|
3828
4012
|
export type PromptDelivery = string;
|
|
3829
4013
|
export type Speed = string;
|
|
4014
|
+
export interface AgentACPOptionSelection {
|
|
4015
|
+
id: string;
|
|
4016
|
+
value_id?: string;
|
|
4017
|
+
bool_value?: boolean;
|
|
4018
|
+
}
|
|
3830
4019
|
export interface PromptRuntimeSelectionPayload {
|
|
3831
4020
|
provider: string;
|
|
3832
4021
|
model?: string;
|
|
3833
4022
|
reasoning_effort?: ReasoningEffort;
|
|
3834
4023
|
speed?: Speed;
|
|
4024
|
+
acp_options?: AgentACPOptionSelection[];
|
|
3835
4025
|
}
|
|
3836
4026
|
export interface SessionInput {
|
|
3837
4027
|
id: string;
|
|
@@ -3891,6 +4081,7 @@ export interface SessionInspectResponse {
|
|
|
3891
4081
|
export interface SessionLifecyclePayload {
|
|
3892
4082
|
event: HookEvent;
|
|
3893
4083
|
timestamp: ISODateTime;
|
|
4084
|
+
profile_id?: string;
|
|
3894
4085
|
session_id?: string;
|
|
3895
4086
|
session_name?: string;
|
|
3896
4087
|
session_type?: string;
|
|
@@ -3908,6 +4099,7 @@ export interface SessionLifecyclePayload {
|
|
|
3908
4099
|
export interface SessionMessagePersistedPayload {
|
|
3909
4100
|
event: HookEvent;
|
|
3910
4101
|
timestamp: ISODateTime;
|
|
4102
|
+
profile_id?: string;
|
|
3911
4103
|
session_id?: string;
|
|
3912
4104
|
session_name?: string;
|
|
3913
4105
|
session_type?: string;
|
|
@@ -3945,6 +4137,7 @@ export interface SessionPostCreatePatch {
|
|
|
3945
4137
|
export interface SessionPostCreatePayload {
|
|
3946
4138
|
event: HookEvent;
|
|
3947
4139
|
timestamp: ISODateTime;
|
|
4140
|
+
profile_id?: string;
|
|
3948
4141
|
session_id?: string;
|
|
3949
4142
|
session_name?: string;
|
|
3950
4143
|
session_type?: string;
|
|
@@ -3971,6 +4164,7 @@ export interface SessionPostResumePatch {
|
|
|
3971
4164
|
export interface SessionPostResumePayload {
|
|
3972
4165
|
event: HookEvent;
|
|
3973
4166
|
timestamp: ISODateTime;
|
|
4167
|
+
profile_id?: string;
|
|
3974
4168
|
session_id?: string;
|
|
3975
4169
|
session_name?: string;
|
|
3976
4170
|
session_type?: string;
|
|
@@ -3997,6 +4191,7 @@ export interface SessionPostStopPatch {
|
|
|
3997
4191
|
export interface SessionPostStopPayload {
|
|
3998
4192
|
event: HookEvent;
|
|
3999
4193
|
timestamp: ISODateTime;
|
|
4194
|
+
profile_id?: string;
|
|
4000
4195
|
session_id?: string;
|
|
4001
4196
|
session_name?: string;
|
|
4002
4197
|
session_type?: string;
|
|
@@ -4014,6 +4209,7 @@ export interface SessionPostStopPayload {
|
|
|
4014
4209
|
export interface SessionPreCreatePayload {
|
|
4015
4210
|
event: HookEvent;
|
|
4016
4211
|
timestamp: ISODateTime;
|
|
4212
|
+
profile_id?: string;
|
|
4017
4213
|
session_id?: string;
|
|
4018
4214
|
session_name?: string;
|
|
4019
4215
|
session_type?: string;
|
|
@@ -4040,6 +4236,7 @@ export interface SessionPreResumePatch {
|
|
|
4040
4236
|
export interface SessionPreResumePayload {
|
|
4041
4237
|
event: HookEvent;
|
|
4042
4238
|
timestamp: ISODateTime;
|
|
4239
|
+
profile_id?: string;
|
|
4043
4240
|
session_id?: string;
|
|
4044
4241
|
session_name?: string;
|
|
4045
4242
|
session_type?: string;
|
|
@@ -4066,6 +4263,7 @@ export interface SessionPreStopPatch {
|
|
|
4066
4263
|
export interface SessionPreStopPayload {
|
|
4067
4264
|
event: HookEvent;
|
|
4068
4265
|
timestamp: ISODateTime;
|
|
4266
|
+
profile_id?: string;
|
|
4069
4267
|
session_id?: string;
|
|
4070
4268
|
session_name?: string;
|
|
4071
4269
|
session_type?: string;
|
|
@@ -4103,6 +4301,7 @@ export interface SessionRuntimeClearParams {
|
|
|
4103
4301
|
export interface SessionRuntimeRecoveryExhaustedPayload {
|
|
4104
4302
|
event: HookEvent;
|
|
4105
4303
|
timestamp: ISODateTime;
|
|
4304
|
+
profile_id?: string;
|
|
4106
4305
|
session_id?: string;
|
|
4107
4306
|
session_name?: string;
|
|
4108
4307
|
session_type?: string;
|
|
@@ -4126,6 +4325,7 @@ export interface SessionRuntimeRecoveryExhaustedPayload {
|
|
|
4126
4325
|
export interface SessionRuntimeRecoveryStartedPayload {
|
|
4127
4326
|
event: HookEvent;
|
|
4128
4327
|
timestamp: ISODateTime;
|
|
4328
|
+
profile_id?: string;
|
|
4129
4329
|
session_id?: string;
|
|
4130
4330
|
session_name?: string;
|
|
4131
4331
|
session_type?: string;
|
|
@@ -4149,6 +4349,7 @@ export interface SessionRuntimeRecoveryStartedPayload {
|
|
|
4149
4349
|
export interface SessionRuntimeRecoverySucceededPayload {
|
|
4150
4350
|
event: HookEvent;
|
|
4151
4351
|
timestamp: ISODateTime;
|
|
4352
|
+
profile_id?: string;
|
|
4152
4353
|
session_id?: string;
|
|
4153
4354
|
session_name?: string;
|
|
4154
4355
|
session_type?: string;
|
|
@@ -4174,6 +4375,7 @@ export interface SessionRuntimeSelectionPayload {
|
|
|
4174
4375
|
model?: string;
|
|
4175
4376
|
reasoning_effort?: ReasoningEffort;
|
|
4176
4377
|
speed?: Speed;
|
|
4378
|
+
acp_options?: AgentACPOptionSelection[];
|
|
4177
4379
|
}
|
|
4178
4380
|
export interface SessionRuntimeSetParams {
|
|
4179
4381
|
workspace_id: string;
|
|
@@ -4214,21 +4416,9 @@ export interface RuntimeSelectionPayload {
|
|
|
4214
4416
|
model?: string;
|
|
4215
4417
|
reasoning_effort?: ReasoningEffort;
|
|
4216
4418
|
speed?: Speed;
|
|
4419
|
+
acp_options?: AgentACPOptionSelection[];
|
|
4217
4420
|
speed_resolution?: Resolution;
|
|
4218
4421
|
}
|
|
4219
|
-
export interface SessionConfigOptionValuePayload {
|
|
4220
|
-
value: string;
|
|
4221
|
-
label?: string;
|
|
4222
|
-
description?: string;
|
|
4223
|
-
}
|
|
4224
|
-
export interface SessionConfigOptionPayload {
|
|
4225
|
-
id: string;
|
|
4226
|
-
label?: string;
|
|
4227
|
-
description?: string;
|
|
4228
|
-
kind: string;
|
|
4229
|
-
current?: string;
|
|
4230
|
-
values?: SessionConfigOptionValuePayload[];
|
|
4231
|
-
}
|
|
4232
4422
|
export interface ACPCapsPayload {
|
|
4233
4423
|
supports_load_session: boolean;
|
|
4234
4424
|
prompt_image: boolean;
|
|
@@ -4354,6 +4544,7 @@ export interface SkillSummary {
|
|
|
4354
4544
|
name: string;
|
|
4355
4545
|
description?: string;
|
|
4356
4546
|
source: string;
|
|
4547
|
+
origin: string;
|
|
4357
4548
|
enabled: boolean;
|
|
4358
4549
|
activation: SkillActivationPayload;
|
|
4359
4550
|
}
|
|
@@ -4362,6 +4553,7 @@ export interface SkillsListParams {
|
|
|
4362
4553
|
for_agent?: string;
|
|
4363
4554
|
}
|
|
4364
4555
|
export interface SpawnContext {
|
|
4556
|
+
profile_id?: string;
|
|
4365
4557
|
parent_session_id?: string;
|
|
4366
4558
|
root_session_id?: string;
|
|
4367
4559
|
child_session_id?: string;
|
|
@@ -4391,6 +4583,7 @@ export interface SpawnCreatePatch {
|
|
|
4391
4583
|
export interface SpawnCreatedPayload {
|
|
4392
4584
|
event: HookEvent;
|
|
4393
4585
|
timestamp: ISODateTime;
|
|
4586
|
+
profile_id?: string;
|
|
4394
4587
|
parent_session_id?: string;
|
|
4395
4588
|
root_session_id?: string;
|
|
4396
4589
|
child_session_id?: string;
|
|
@@ -4417,6 +4610,7 @@ export interface SpawnCreatedPayload {
|
|
|
4417
4610
|
export interface SpawnLifecyclePayload {
|
|
4418
4611
|
event: HookEvent;
|
|
4419
4612
|
timestamp: ISODateTime;
|
|
4613
|
+
profile_id?: string;
|
|
4420
4614
|
parent_session_id?: string;
|
|
4421
4615
|
root_session_id?: string;
|
|
4422
4616
|
child_session_id?: string;
|
|
@@ -4446,6 +4640,7 @@ export interface SpawnObservationPatch {
|
|
|
4446
4640
|
export interface SpawnParentStoppedPayload {
|
|
4447
4641
|
event: HookEvent;
|
|
4448
4642
|
timestamp: ISODateTime;
|
|
4643
|
+
profile_id?: string;
|
|
4449
4644
|
parent_session_id?: string;
|
|
4450
4645
|
root_session_id?: string;
|
|
4451
4646
|
child_session_id?: string;
|
|
@@ -4472,6 +4667,7 @@ export interface SpawnParentStoppedPayload {
|
|
|
4472
4667
|
export interface SpawnPreCreatePayload {
|
|
4473
4668
|
event: HookEvent;
|
|
4474
4669
|
timestamp: ISODateTime;
|
|
4670
|
+
profile_id?: string;
|
|
4475
4671
|
parent_session_id?: string;
|
|
4476
4672
|
root_session_id?: string;
|
|
4477
4673
|
child_session_id?: string;
|
|
@@ -4497,6 +4693,7 @@ export interface SpawnPreCreatePayload {
|
|
|
4497
4693
|
export interface SpawnReapedPayload {
|
|
4498
4694
|
event: HookEvent;
|
|
4499
4695
|
timestamp: ISODateTime;
|
|
4696
|
+
profile_id?: string;
|
|
4500
4697
|
parent_session_id?: string;
|
|
4501
4698
|
root_session_id?: string;
|
|
4502
4699
|
child_session_id?: string;
|
|
@@ -4523,6 +4720,7 @@ export interface SpawnReapedPayload {
|
|
|
4523
4720
|
export interface SpawnTTLExpiredPayload {
|
|
4524
4721
|
event: HookEvent;
|
|
4525
4722
|
timestamp: ISODateTime;
|
|
4723
|
+
profile_id?: string;
|
|
4526
4724
|
parent_session_id?: string;
|
|
4527
4725
|
root_session_id?: string;
|
|
4528
4726
|
child_session_id?: string;
|
|
@@ -4578,6 +4776,10 @@ export interface LoopProvenance {
|
|
|
4578
4776
|
}
|
|
4579
4777
|
export interface Task {
|
|
4580
4778
|
id: string;
|
|
4779
|
+
profile_id: string;
|
|
4780
|
+
profile_name: string;
|
|
4781
|
+
profile_color?: string;
|
|
4782
|
+
profile_icon?: string;
|
|
4581
4783
|
identifier?: string;
|
|
4582
4784
|
scope: Scope;
|
|
4583
4785
|
workspace_id?: string;
|
|
@@ -4618,6 +4820,7 @@ export interface Task {
|
|
|
4618
4820
|
export interface TaskBlockedPayload {
|
|
4619
4821
|
event: HookEvent;
|
|
4620
4822
|
timestamp: ISODateTime;
|
|
4823
|
+
profile_id?: string;
|
|
4621
4824
|
task_id?: string;
|
|
4622
4825
|
parent_task_id?: string;
|
|
4623
4826
|
workspace_id?: string;
|
|
@@ -4645,6 +4848,7 @@ export interface TaskCancelParams {
|
|
|
4645
4848
|
metadata?: JSONValue;
|
|
4646
4849
|
}
|
|
4647
4850
|
export interface TaskContext {
|
|
4851
|
+
profile_id?: string;
|
|
4648
4852
|
task_id?: string;
|
|
4649
4853
|
parent_task_id?: string;
|
|
4650
4854
|
workspace_id?: string;
|
|
@@ -4886,6 +5090,10 @@ export interface TaskRunSummaryPayload {
|
|
|
4886
5090
|
}
|
|
4887
5091
|
export interface TaskSummaryPayload {
|
|
4888
5092
|
id: string;
|
|
5093
|
+
profile_id: string;
|
|
5094
|
+
profile_name: string;
|
|
5095
|
+
profile_color?: string;
|
|
5096
|
+
profile_icon?: string;
|
|
4889
5097
|
identifier?: string;
|
|
4890
5098
|
scope: Scope;
|
|
4891
5099
|
workspace_id?: string;
|
|
@@ -4933,6 +5141,10 @@ export interface TaskDependencyPayload {
|
|
|
4933
5141
|
}
|
|
4934
5142
|
export interface TaskRun {
|
|
4935
5143
|
id: string;
|
|
5144
|
+
profile_id?: string;
|
|
5145
|
+
profile_name?: string;
|
|
5146
|
+
profile_color?: string;
|
|
5147
|
+
profile_icon?: string;
|
|
4936
5148
|
task_id: string;
|
|
4937
5149
|
status: RunStatus;
|
|
4938
5150
|
attempt: number;
|
|
@@ -4960,6 +5172,8 @@ export interface TaskRun {
|
|
|
4960
5172
|
error?: string;
|
|
4961
5173
|
metadata?: JSONValue;
|
|
4962
5174
|
result?: JSONValue;
|
|
5175
|
+
result_ref?: string;
|
|
5176
|
+
result_bytes?: number;
|
|
4963
5177
|
}
|
|
4964
5178
|
export interface TaskDesignationRollupPayload {
|
|
4965
5179
|
designation_group_id: string;
|
|
@@ -5084,6 +5298,7 @@ export interface TaskInboxParams {
|
|
|
5084
5298
|
export interface TaskNeedsAttentionPayload {
|
|
5085
5299
|
event: HookEvent;
|
|
5086
5300
|
timestamp: ISODateTime;
|
|
5301
|
+
profile_id?: string;
|
|
5087
5302
|
task_id?: string;
|
|
5088
5303
|
parent_task_id?: string;
|
|
5089
5304
|
workspace_id?: string;
|
|
@@ -5108,6 +5323,7 @@ export interface TaskObservationPatch {
|
|
|
5108
5323
|
export interface TaskRecoveredPayload {
|
|
5109
5324
|
event: HookEvent;
|
|
5110
5325
|
timestamp: ISODateTime;
|
|
5326
|
+
profile_id?: string;
|
|
5111
5327
|
task_id?: string;
|
|
5112
5328
|
parent_task_id?: string;
|
|
5113
5329
|
workspace_id?: string;
|
|
@@ -5153,6 +5369,7 @@ export interface TaskRunCompleteParams {
|
|
|
5153
5369
|
export interface TaskRunCompletedPayload {
|
|
5154
5370
|
event: HookEvent;
|
|
5155
5371
|
timestamp: ISODateTime;
|
|
5372
|
+
profile_id?: string;
|
|
5156
5373
|
task_id?: string;
|
|
5157
5374
|
run_id?: string;
|
|
5158
5375
|
run_kind?: string;
|
|
@@ -5183,6 +5400,7 @@ export interface TaskRunCompletedPayload {
|
|
|
5183
5400
|
recovery_reason?: string;
|
|
5184
5401
|
}
|
|
5185
5402
|
export interface TaskRunContext {
|
|
5403
|
+
profile_id?: string;
|
|
5186
5404
|
task_id?: string;
|
|
5187
5405
|
run_id?: string;
|
|
5188
5406
|
run_kind?: string;
|
|
@@ -5259,6 +5477,7 @@ export interface TaskRunEnqueueParams {
|
|
|
5259
5477
|
export interface TaskRunEnqueuedPayload {
|
|
5260
5478
|
event: HookEvent;
|
|
5261
5479
|
timestamp: ISODateTime;
|
|
5480
|
+
profile_id?: string;
|
|
5262
5481
|
task_id?: string;
|
|
5263
5482
|
run_id?: string;
|
|
5264
5483
|
run_kind?: string;
|
|
@@ -5293,6 +5512,7 @@ export interface TaskRunFailParams {
|
|
|
5293
5512
|
export interface TaskRunFailedPayload {
|
|
5294
5513
|
event: HookEvent;
|
|
5295
5514
|
timestamp: ISODateTime;
|
|
5515
|
+
profile_id?: string;
|
|
5296
5516
|
task_id?: string;
|
|
5297
5517
|
run_id?: string;
|
|
5298
5518
|
run_kind?: string;
|
|
@@ -5328,6 +5548,7 @@ export interface TaskRunGetParams {
|
|
|
5328
5548
|
export interface TaskRunLeaseExpiredPayload {
|
|
5329
5549
|
event: HookEvent;
|
|
5330
5550
|
timestamp: ISODateTime;
|
|
5551
|
+
profile_id?: string;
|
|
5331
5552
|
task_id?: string;
|
|
5332
5553
|
run_id?: string;
|
|
5333
5554
|
run_kind?: string;
|
|
@@ -5360,6 +5581,7 @@ export interface TaskRunLeaseExpiredPayload {
|
|
|
5360
5581
|
export interface TaskRunLeaseExtendedPayload {
|
|
5361
5582
|
event: HookEvent;
|
|
5362
5583
|
timestamp: ISODateTime;
|
|
5584
|
+
profile_id?: string;
|
|
5363
5585
|
task_id?: string;
|
|
5364
5586
|
run_id?: string;
|
|
5365
5587
|
run_kind?: string;
|
|
@@ -5392,6 +5614,7 @@ export interface TaskRunLeaseExtendedPayload {
|
|
|
5392
5614
|
export interface TaskRunLeasePayload {
|
|
5393
5615
|
event: HookEvent;
|
|
5394
5616
|
timestamp: ISODateTime;
|
|
5617
|
+
profile_id?: string;
|
|
5395
5618
|
task_id?: string;
|
|
5396
5619
|
run_id?: string;
|
|
5397
5620
|
run_kind?: string;
|
|
@@ -5424,6 +5647,7 @@ export interface TaskRunLeasePayload {
|
|
|
5424
5647
|
export interface TaskRunLeaseRecoveredPayload {
|
|
5425
5648
|
event: HookEvent;
|
|
5426
5649
|
timestamp: ISODateTime;
|
|
5650
|
+
profile_id?: string;
|
|
5427
5651
|
task_id?: string;
|
|
5428
5652
|
run_id?: string;
|
|
5429
5653
|
run_kind?: string;
|
|
@@ -5459,6 +5683,7 @@ export interface TaskRunObservationPatch {
|
|
|
5459
5683
|
export interface TaskRunPostClaimPayload {
|
|
5460
5684
|
event: HookEvent;
|
|
5461
5685
|
timestamp: ISODateTime;
|
|
5686
|
+
profile_id?: string;
|
|
5462
5687
|
task_id?: string;
|
|
5463
5688
|
run_id?: string;
|
|
5464
5689
|
run_kind?: string;
|
|
@@ -5494,6 +5719,7 @@ export interface TaskRunPreClaimPatch {
|
|
|
5494
5719
|
export interface TaskRunPreClaimPayload {
|
|
5495
5720
|
event: HookEvent;
|
|
5496
5721
|
timestamp: ISODateTime;
|
|
5722
|
+
profile_id?: string;
|
|
5497
5723
|
task_id?: string;
|
|
5498
5724
|
run_id?: string;
|
|
5499
5725
|
run_kind?: string;
|
|
@@ -5525,6 +5751,7 @@ export interface TaskRunPreClaimPayload {
|
|
|
5525
5751
|
export interface TaskRunReleasedPayload {
|
|
5526
5752
|
event: HookEvent;
|
|
5527
5753
|
timestamp: ISODateTime;
|
|
5754
|
+
profile_id?: string;
|
|
5528
5755
|
task_id?: string;
|
|
5529
5756
|
run_id?: string;
|
|
5530
5757
|
run_kind?: string;
|
|
@@ -5554,6 +5781,21 @@ export interface TaskRunReleasedPayload {
|
|
|
5554
5781
|
recovery_action?: string;
|
|
5555
5782
|
recovery_reason?: string;
|
|
5556
5783
|
}
|
|
5784
|
+
export interface TaskRunResultPage {
|
|
5785
|
+
run_id: string;
|
|
5786
|
+
result_ref?: string;
|
|
5787
|
+
offset: number;
|
|
5788
|
+
bytes: number;
|
|
5789
|
+
total_bytes: number;
|
|
5790
|
+
data_base64: string;
|
|
5791
|
+
next_offset?: number;
|
|
5792
|
+
eof: boolean;
|
|
5793
|
+
}
|
|
5794
|
+
export interface TaskRunResultParams {
|
|
5795
|
+
id: string;
|
|
5796
|
+
offset?: number;
|
|
5797
|
+
limit?: number;
|
|
5798
|
+
}
|
|
5557
5799
|
export interface TaskRunStartParams {
|
|
5558
5800
|
id: string;
|
|
5559
5801
|
idempotency_key?: string;
|
|
@@ -5568,6 +5810,7 @@ export interface TaskRunsParams {
|
|
|
5568
5810
|
export interface TaskStatusChangedPayload {
|
|
5569
5811
|
event: HookEvent;
|
|
5570
5812
|
timestamp: ISODateTime;
|
|
5813
|
+
profile_id?: string;
|
|
5571
5814
|
task_id?: string;
|
|
5572
5815
|
parent_task_id?: string;
|
|
5573
5816
|
workspace_id?: string;
|
|
@@ -5623,6 +5866,7 @@ export interface TaskTreeParams {
|
|
|
5623
5866
|
export interface TaskUnblockedPayload {
|
|
5624
5867
|
event: HookEvent;
|
|
5625
5868
|
timestamp: ISODateTime;
|
|
5869
|
+
profile_id?: string;
|
|
5626
5870
|
task_id?: string;
|
|
5627
5871
|
parent_task_id?: string;
|
|
5628
5872
|
workspace_id?: string;
|
|
@@ -5679,6 +5923,10 @@ export interface TasksParams {
|
|
|
5679
5923
|
}
|
|
5680
5924
|
export interface TaskCatalogItemPayload {
|
|
5681
5925
|
id: string;
|
|
5926
|
+
profile_id: string;
|
|
5927
|
+
profile_name: string;
|
|
5928
|
+
profile_color?: string;
|
|
5929
|
+
profile_icon?: string;
|
|
5682
5930
|
identifier?: string;
|
|
5683
5931
|
scope: Scope;
|
|
5684
5932
|
workspace_id?: string;
|
|
@@ -5746,6 +5994,7 @@ export interface SourceRef {
|
|
|
5746
5994
|
raw_tool_name?: string;
|
|
5747
5995
|
resource_id?: string;
|
|
5748
5996
|
resource_version?: string;
|
|
5997
|
+
profile_id?: string;
|
|
5749
5998
|
workspace_id?: string;
|
|
5750
5999
|
scope?: string;
|
|
5751
6000
|
}
|
|
@@ -5790,6 +6039,7 @@ export interface ToolCallRef {
|
|
|
5790
6039
|
export interface ToolPostCallPayload {
|
|
5791
6040
|
event: HookEvent;
|
|
5792
6041
|
timestamp: ISODateTime;
|
|
6042
|
+
profile_id?: string;
|
|
5793
6043
|
session_id?: string;
|
|
5794
6044
|
session_name?: string;
|
|
5795
6045
|
session_type?: string;
|
|
@@ -5821,6 +6071,7 @@ export interface ToolPostErrorPatch {
|
|
|
5821
6071
|
export interface ToolPostErrorPayload {
|
|
5822
6072
|
event: HookEvent;
|
|
5823
6073
|
timestamp: ISODateTime;
|
|
6074
|
+
profile_id?: string;
|
|
5824
6075
|
session_id?: string;
|
|
5825
6076
|
session_name?: string;
|
|
5826
6077
|
session_type?: string;
|
|
@@ -5845,6 +6096,7 @@ export interface ToolPostErrorPayload {
|
|
|
5845
6096
|
export interface ToolPreCallPayload {
|
|
5846
6097
|
event: HookEvent;
|
|
5847
6098
|
timestamp: ISODateTime;
|
|
6099
|
+
profile_id?: string;
|
|
5848
6100
|
session_id?: string;
|
|
5849
6101
|
session_name?: string;
|
|
5850
6102
|
session_type?: string;
|
|
@@ -5886,6 +6138,7 @@ export interface TurnEndPatch {
|
|
|
5886
6138
|
export interface TurnEndPayload {
|
|
5887
6139
|
event: HookEvent;
|
|
5888
6140
|
timestamp: ISODateTime;
|
|
6141
|
+
profile_id?: string;
|
|
5889
6142
|
session_id?: string;
|
|
5890
6143
|
session_name?: string;
|
|
5891
6144
|
session_type?: string;
|
|
@@ -5911,6 +6164,7 @@ export interface TurnPatch {
|
|
|
5911
6164
|
export interface TurnPayload {
|
|
5912
6165
|
event: HookEvent;
|
|
5913
6166
|
timestamp: ISODateTime;
|
|
6167
|
+
profile_id?: string;
|
|
5914
6168
|
session_id?: string;
|
|
5915
6169
|
session_name?: string;
|
|
5916
6170
|
session_type?: string;
|
|
@@ -5936,6 +6190,7 @@ export interface TurnStartPatch {
|
|
|
5936
6190
|
export interface TurnStartPayload {
|
|
5937
6191
|
event: HookEvent;
|
|
5938
6192
|
timestamp: ISODateTime;
|
|
6193
|
+
profile_id?: string;
|
|
5939
6194
|
session_id?: string;
|
|
5940
6195
|
session_name?: string;
|
|
5941
6196
|
session_type?: string;
|
|
@@ -5953,8 +6208,14 @@ export interface TurnStartPayload {
|
|
|
5953
6208
|
input_class?: string;
|
|
5954
6209
|
user_message?: string;
|
|
5955
6210
|
}
|
|
6211
|
+
export type ProfileLensID = string;
|
|
6212
|
+
export interface ProfileLens {
|
|
6213
|
+
profile_lens_id: ProfileLensID;
|
|
6214
|
+
profile_name: string;
|
|
6215
|
+
}
|
|
5956
6216
|
export interface ViewCloseRequest {
|
|
5957
6217
|
view_session: string;
|
|
6218
|
+
profile_lens: ProfileLens;
|
|
5958
6219
|
reason?: string;
|
|
5959
6220
|
}
|
|
5960
6221
|
export interface ViewEvent {
|
|
@@ -6164,6 +6425,7 @@ export type ClientID = string;
|
|
|
6164
6425
|
export interface ViewOpenRequest {
|
|
6165
6426
|
view_session: string;
|
|
6166
6427
|
view: string;
|
|
6428
|
+
profile_lens: ProfileLens;
|
|
6167
6429
|
workspace: WorkspaceID;
|
|
6168
6430
|
client: ClientID;
|
|
6169
6431
|
args?: Record<string, JSONValue>;
|
|
@@ -6280,6 +6542,7 @@ export type WorktreeObservationPatch = Record<string, never>;
|
|
|
6280
6542
|
export interface WorktreeObservationPayload {
|
|
6281
6543
|
event: HookEvent;
|
|
6282
6544
|
timestamp: ISODateTime;
|
|
6545
|
+
profile_id?: string;
|
|
6283
6546
|
worktree_id: string;
|
|
6284
6547
|
workspace_id: string;
|
|
6285
6548
|
workspace_root?: string;
|
|
@@ -6292,6 +6555,7 @@ export interface WorktreeObservationPayload {
|
|
|
6292
6555
|
export interface WorktreePreCreatePayload {
|
|
6293
6556
|
event: HookEvent;
|
|
6294
6557
|
timestamp: ISODateTime;
|
|
6558
|
+
profile_id?: string;
|
|
6295
6559
|
worktree_id: string;
|
|
6296
6560
|
workspace_id: string;
|
|
6297
6561
|
workspace_root?: string;
|
|
@@ -6304,6 +6568,7 @@ export interface WorktreePreCreatePayload {
|
|
|
6304
6568
|
deny_reason?: string;
|
|
6305
6569
|
}
|
|
6306
6570
|
export interface WorktreeContext {
|
|
6571
|
+
profile_id?: string;
|
|
6307
6572
|
worktree_id: string;
|
|
6308
6573
|
workspace_id: string;
|
|
6309
6574
|
workspace_root?: string;
|
|
@@ -6822,6 +7087,10 @@ export interface HostAPIMethodMap {
|
|
|
6822
7087
|
params: TaskRunGetParams;
|
|
6823
7088
|
result: TaskRunDetail;
|
|
6824
7089
|
};
|
|
7090
|
+
"tasks/runs/result": {
|
|
7091
|
+
params: TaskRunResultParams;
|
|
7092
|
+
result: TaskRunResultPage;
|
|
7093
|
+
};
|
|
6825
7094
|
"tasks/runs/enqueue": {
|
|
6826
7095
|
params: TaskRunEnqueueParams;
|
|
6827
7096
|
result: TaskRun;
|