@compozy/extension-sdk 0.3.0-beta.20 → 0.3.0-beta.21
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 +203 -8
- 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
|
@@ -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;
|
|
@@ -2522,6 +2604,12 @@ export interface ModelsStatusParams {
|
|
|
2522
2604
|
provider_id?: string;
|
|
2523
2605
|
}
|
|
2524
2606
|
export interface NetworkChannelPayload {
|
|
2607
|
+
profile_id: string;
|
|
2608
|
+
profile_name: string;
|
|
2609
|
+
profile_color?: string;
|
|
2610
|
+
profile_icon?: string;
|
|
2611
|
+
profile_emoji?: string;
|
|
2612
|
+
profile_archived?: boolean;
|
|
2525
2613
|
channel: string;
|
|
2526
2614
|
workspace_id?: string;
|
|
2527
2615
|
purpose?: string;
|
|
@@ -2559,6 +2647,12 @@ export interface NetworkDirectResolveParams {
|
|
|
2559
2647
|
peer_id: string;
|
|
2560
2648
|
}
|
|
2561
2649
|
export interface NetworkConversationMessagePayload {
|
|
2650
|
+
profile_id: string;
|
|
2651
|
+
profile_name: string;
|
|
2652
|
+
profile_color?: string;
|
|
2653
|
+
profile_icon?: string;
|
|
2654
|
+
profile_emoji?: string;
|
|
2655
|
+
profile_archived?: boolean;
|
|
2562
2656
|
message_id: string;
|
|
2563
2657
|
workspace_id?: string;
|
|
2564
2658
|
channel: string;
|
|
@@ -2615,6 +2709,12 @@ export interface NetworkDirectRoomOpenedPayload {
|
|
|
2615
2709
|
causation_id?: string;
|
|
2616
2710
|
}
|
|
2617
2711
|
export interface NetworkDirectRoomPayload {
|
|
2712
|
+
profile_id: string;
|
|
2713
|
+
profile_name: string;
|
|
2714
|
+
profile_color?: string;
|
|
2715
|
+
profile_icon?: string;
|
|
2716
|
+
profile_emoji?: string;
|
|
2717
|
+
profile_archived?: boolean;
|
|
2618
2718
|
workspace_id?: string;
|
|
2619
2719
|
channel: string;
|
|
2620
2720
|
direct_id: string;
|
|
@@ -2914,6 +3014,12 @@ export interface NetworkCoordinationCostPayload {
|
|
|
2914
3014
|
estimated_prompt_tokens?: number;
|
|
2915
3015
|
}
|
|
2916
3016
|
export interface NetworkThreadSummaryPayload {
|
|
3017
|
+
profile_id: string;
|
|
3018
|
+
profile_name: string;
|
|
3019
|
+
profile_color?: string;
|
|
3020
|
+
profile_icon?: string;
|
|
3021
|
+
profile_emoji?: string;
|
|
3022
|
+
profile_archived?: boolean;
|
|
2917
3023
|
workspace_id?: string;
|
|
2918
3024
|
channel: string;
|
|
2919
3025
|
thread_id: string;
|
|
@@ -3052,6 +3158,12 @@ export interface NetworkWorkOpenedPayload {
|
|
|
3052
3158
|
causation_id?: string;
|
|
3053
3159
|
}
|
|
3054
3160
|
export interface NetworkWorkPayload {
|
|
3161
|
+
profile_id: string;
|
|
3162
|
+
profile_name: string;
|
|
3163
|
+
profile_color?: string;
|
|
3164
|
+
profile_icon?: string;
|
|
3165
|
+
profile_emoji?: string;
|
|
3166
|
+
profile_archived?: boolean;
|
|
3055
3167
|
work_id: string;
|
|
3056
3168
|
workspace_id?: string;
|
|
3057
3169
|
channel: string;
|
|
@@ -3259,6 +3371,7 @@ export interface PermissionToolCall {
|
|
|
3259
3371
|
export interface PermissionDeniedPayload {
|
|
3260
3372
|
event: HookEvent;
|
|
3261
3373
|
timestamp: ISODateTime;
|
|
3374
|
+
profile_id?: string;
|
|
3262
3375
|
session_id?: string;
|
|
3263
3376
|
session_name?: string;
|
|
3264
3377
|
session_type?: string;
|
|
@@ -3296,6 +3409,7 @@ export interface PermissionRequestPatch {
|
|
|
3296
3409
|
export interface PermissionRequestPayload {
|
|
3297
3410
|
event: HookEvent;
|
|
3298
3411
|
timestamp: ISODateTime;
|
|
3412
|
+
profile_id?: string;
|
|
3299
3413
|
session_id?: string;
|
|
3300
3414
|
session_name?: string;
|
|
3301
3415
|
session_type?: string;
|
|
@@ -3322,6 +3436,7 @@ export interface PermissionRequestPayload {
|
|
|
3322
3436
|
export interface PermissionResolutionPayload {
|
|
3323
3437
|
event: HookEvent;
|
|
3324
3438
|
timestamp: ISODateTime;
|
|
3439
|
+
profile_id?: string;
|
|
3325
3440
|
session_id?: string;
|
|
3326
3441
|
session_name?: string;
|
|
3327
3442
|
session_type?: string;
|
|
@@ -3348,6 +3463,7 @@ export type PermissionResolvedPatch = Record<string, never>;
|
|
|
3348
3463
|
export interface PermissionResolvedPayload {
|
|
3349
3464
|
event: HookEvent;
|
|
3350
3465
|
timestamp: ISODateTime;
|
|
3466
|
+
profile_id?: string;
|
|
3351
3467
|
session_id?: string;
|
|
3352
3468
|
session_name?: string;
|
|
3353
3469
|
session_type?: string;
|
|
@@ -3387,6 +3503,7 @@ export interface PromptPatch {
|
|
|
3387
3503
|
export interface PromptPayload {
|
|
3388
3504
|
event: HookEvent;
|
|
3389
3505
|
timestamp: ISODateTime;
|
|
3506
|
+
profile_id?: string;
|
|
3390
3507
|
session_id?: string;
|
|
3391
3508
|
session_name?: string;
|
|
3392
3509
|
session_type?: string;
|
|
@@ -3510,6 +3627,7 @@ export interface ResourcesSnapshotParams {
|
|
|
3510
3627
|
}
|
|
3511
3628
|
export interface Run {
|
|
3512
3629
|
id: string;
|
|
3630
|
+
profile_id?: string;
|
|
3513
3631
|
job_id?: string;
|
|
3514
3632
|
trigger_id?: string;
|
|
3515
3633
|
session_id?: string;
|
|
@@ -3587,6 +3705,7 @@ export interface SandboxProfilePayload {
|
|
|
3587
3705
|
export interface SandboxPreparePayload {
|
|
3588
3706
|
event: HookEvent;
|
|
3589
3707
|
timestamp: ISODateTime;
|
|
3708
|
+
profile_id?: string;
|
|
3590
3709
|
session_id?: string;
|
|
3591
3710
|
session_name?: string;
|
|
3592
3711
|
session_type?: string;
|
|
@@ -3617,6 +3736,7 @@ export type SandboxReadyPatch = Record<string, never>;
|
|
|
3617
3736
|
export interface SandboxReadyPayload {
|
|
3618
3737
|
event: HookEvent;
|
|
3619
3738
|
timestamp: ISODateTime;
|
|
3739
|
+
profile_id?: string;
|
|
3620
3740
|
session_id?: string;
|
|
3621
3741
|
session_name?: string;
|
|
3622
3742
|
session_type?: string;
|
|
@@ -3644,6 +3764,7 @@ export interface SandboxStopPatch {
|
|
|
3644
3764
|
export interface SandboxStopPayload {
|
|
3645
3765
|
event: HookEvent;
|
|
3646
3766
|
timestamp: ISODateTime;
|
|
3767
|
+
profile_id?: string;
|
|
3647
3768
|
session_id?: string;
|
|
3648
3769
|
session_name?: string;
|
|
3649
3770
|
session_type?: string;
|
|
@@ -3671,6 +3792,7 @@ export type SandboxSyncAfterPatch = Record<string, never>;
|
|
|
3671
3792
|
export interface SandboxSyncAfterPayload {
|
|
3672
3793
|
event: HookEvent;
|
|
3673
3794
|
timestamp: ISODateTime;
|
|
3795
|
+
profile_id?: string;
|
|
3674
3796
|
session_id?: string;
|
|
3675
3797
|
session_name?: string;
|
|
3676
3798
|
session_type?: string;
|
|
@@ -3704,6 +3826,7 @@ export interface SandboxSyncBeforePatch {
|
|
|
3704
3826
|
export interface SandboxSyncBeforePayload {
|
|
3705
3827
|
event: HookEvent;
|
|
3706
3828
|
timestamp: ISODateTime;
|
|
3829
|
+
profile_id?: string;
|
|
3707
3830
|
session_id?: string;
|
|
3708
3831
|
session_name?: string;
|
|
3709
3832
|
session_type?: string;
|
|
@@ -3731,6 +3854,7 @@ export interface SandboxSyncBeforePayload {
|
|
|
3731
3854
|
export interface SessionAttentionChangedPayload {
|
|
3732
3855
|
event: HookEvent;
|
|
3733
3856
|
timestamp: ISODateTime;
|
|
3857
|
+
profile_id?: string;
|
|
3734
3858
|
session_id?: string;
|
|
3735
3859
|
session_name?: string;
|
|
3736
3860
|
session_type?: string;
|
|
@@ -3751,6 +3875,7 @@ export interface SessionAttentionChangedPayload {
|
|
|
3751
3875
|
}
|
|
3752
3876
|
export type SessionAttentionObservationPatch = Record<string, never>;
|
|
3753
3877
|
export interface SessionContext {
|
|
3878
|
+
profile_id?: string;
|
|
3754
3879
|
session_id?: string;
|
|
3755
3880
|
session_name?: string;
|
|
3756
3881
|
session_type?: string;
|
|
@@ -3802,6 +3927,7 @@ export interface SessionHealthResponse {
|
|
|
3802
3927
|
export interface SessionHealthUpdateAfterPayload {
|
|
3803
3928
|
event: HookEvent;
|
|
3804
3929
|
timestamp: ISODateTime;
|
|
3930
|
+
profile_id?: string;
|
|
3805
3931
|
session_id?: string;
|
|
3806
3932
|
session_name?: string;
|
|
3807
3933
|
session_type?: string;
|
|
@@ -3891,6 +4017,7 @@ export interface SessionInspectResponse {
|
|
|
3891
4017
|
export interface SessionLifecyclePayload {
|
|
3892
4018
|
event: HookEvent;
|
|
3893
4019
|
timestamp: ISODateTime;
|
|
4020
|
+
profile_id?: string;
|
|
3894
4021
|
session_id?: string;
|
|
3895
4022
|
session_name?: string;
|
|
3896
4023
|
session_type?: string;
|
|
@@ -3908,6 +4035,7 @@ export interface SessionLifecyclePayload {
|
|
|
3908
4035
|
export interface SessionMessagePersistedPayload {
|
|
3909
4036
|
event: HookEvent;
|
|
3910
4037
|
timestamp: ISODateTime;
|
|
4038
|
+
profile_id?: string;
|
|
3911
4039
|
session_id?: string;
|
|
3912
4040
|
session_name?: string;
|
|
3913
4041
|
session_type?: string;
|
|
@@ -3945,6 +4073,7 @@ export interface SessionPostCreatePatch {
|
|
|
3945
4073
|
export interface SessionPostCreatePayload {
|
|
3946
4074
|
event: HookEvent;
|
|
3947
4075
|
timestamp: ISODateTime;
|
|
4076
|
+
profile_id?: string;
|
|
3948
4077
|
session_id?: string;
|
|
3949
4078
|
session_name?: string;
|
|
3950
4079
|
session_type?: string;
|
|
@@ -3971,6 +4100,7 @@ export interface SessionPostResumePatch {
|
|
|
3971
4100
|
export interface SessionPostResumePayload {
|
|
3972
4101
|
event: HookEvent;
|
|
3973
4102
|
timestamp: ISODateTime;
|
|
4103
|
+
profile_id?: string;
|
|
3974
4104
|
session_id?: string;
|
|
3975
4105
|
session_name?: string;
|
|
3976
4106
|
session_type?: string;
|
|
@@ -3997,6 +4127,7 @@ export interface SessionPostStopPatch {
|
|
|
3997
4127
|
export interface SessionPostStopPayload {
|
|
3998
4128
|
event: HookEvent;
|
|
3999
4129
|
timestamp: ISODateTime;
|
|
4130
|
+
profile_id?: string;
|
|
4000
4131
|
session_id?: string;
|
|
4001
4132
|
session_name?: string;
|
|
4002
4133
|
session_type?: string;
|
|
@@ -4014,6 +4145,7 @@ export interface SessionPostStopPayload {
|
|
|
4014
4145
|
export interface SessionPreCreatePayload {
|
|
4015
4146
|
event: HookEvent;
|
|
4016
4147
|
timestamp: ISODateTime;
|
|
4148
|
+
profile_id?: string;
|
|
4017
4149
|
session_id?: string;
|
|
4018
4150
|
session_name?: string;
|
|
4019
4151
|
session_type?: string;
|
|
@@ -4040,6 +4172,7 @@ export interface SessionPreResumePatch {
|
|
|
4040
4172
|
export interface SessionPreResumePayload {
|
|
4041
4173
|
event: HookEvent;
|
|
4042
4174
|
timestamp: ISODateTime;
|
|
4175
|
+
profile_id?: string;
|
|
4043
4176
|
session_id?: string;
|
|
4044
4177
|
session_name?: string;
|
|
4045
4178
|
session_type?: string;
|
|
@@ -4066,6 +4199,7 @@ export interface SessionPreStopPatch {
|
|
|
4066
4199
|
export interface SessionPreStopPayload {
|
|
4067
4200
|
event: HookEvent;
|
|
4068
4201
|
timestamp: ISODateTime;
|
|
4202
|
+
profile_id?: string;
|
|
4069
4203
|
session_id?: string;
|
|
4070
4204
|
session_name?: string;
|
|
4071
4205
|
session_type?: string;
|
|
@@ -4103,6 +4237,7 @@ export interface SessionRuntimeClearParams {
|
|
|
4103
4237
|
export interface SessionRuntimeRecoveryExhaustedPayload {
|
|
4104
4238
|
event: HookEvent;
|
|
4105
4239
|
timestamp: ISODateTime;
|
|
4240
|
+
profile_id?: string;
|
|
4106
4241
|
session_id?: string;
|
|
4107
4242
|
session_name?: string;
|
|
4108
4243
|
session_type?: string;
|
|
@@ -4126,6 +4261,7 @@ export interface SessionRuntimeRecoveryExhaustedPayload {
|
|
|
4126
4261
|
export interface SessionRuntimeRecoveryStartedPayload {
|
|
4127
4262
|
event: HookEvent;
|
|
4128
4263
|
timestamp: ISODateTime;
|
|
4264
|
+
profile_id?: string;
|
|
4129
4265
|
session_id?: string;
|
|
4130
4266
|
session_name?: string;
|
|
4131
4267
|
session_type?: string;
|
|
@@ -4149,6 +4285,7 @@ export interface SessionRuntimeRecoveryStartedPayload {
|
|
|
4149
4285
|
export interface SessionRuntimeRecoverySucceededPayload {
|
|
4150
4286
|
event: HookEvent;
|
|
4151
4287
|
timestamp: ISODateTime;
|
|
4288
|
+
profile_id?: string;
|
|
4152
4289
|
session_id?: string;
|
|
4153
4290
|
session_name?: string;
|
|
4154
4291
|
session_type?: string;
|
|
@@ -4354,6 +4491,7 @@ export interface SkillSummary {
|
|
|
4354
4491
|
name: string;
|
|
4355
4492
|
description?: string;
|
|
4356
4493
|
source: string;
|
|
4494
|
+
origin: string;
|
|
4357
4495
|
enabled: boolean;
|
|
4358
4496
|
activation: SkillActivationPayload;
|
|
4359
4497
|
}
|
|
@@ -4362,6 +4500,7 @@ export interface SkillsListParams {
|
|
|
4362
4500
|
for_agent?: string;
|
|
4363
4501
|
}
|
|
4364
4502
|
export interface SpawnContext {
|
|
4503
|
+
profile_id?: string;
|
|
4365
4504
|
parent_session_id?: string;
|
|
4366
4505
|
root_session_id?: string;
|
|
4367
4506
|
child_session_id?: string;
|
|
@@ -4391,6 +4530,7 @@ export interface SpawnCreatePatch {
|
|
|
4391
4530
|
export interface SpawnCreatedPayload {
|
|
4392
4531
|
event: HookEvent;
|
|
4393
4532
|
timestamp: ISODateTime;
|
|
4533
|
+
profile_id?: string;
|
|
4394
4534
|
parent_session_id?: string;
|
|
4395
4535
|
root_session_id?: string;
|
|
4396
4536
|
child_session_id?: string;
|
|
@@ -4417,6 +4557,7 @@ export interface SpawnCreatedPayload {
|
|
|
4417
4557
|
export interface SpawnLifecyclePayload {
|
|
4418
4558
|
event: HookEvent;
|
|
4419
4559
|
timestamp: ISODateTime;
|
|
4560
|
+
profile_id?: string;
|
|
4420
4561
|
parent_session_id?: string;
|
|
4421
4562
|
root_session_id?: string;
|
|
4422
4563
|
child_session_id?: string;
|
|
@@ -4446,6 +4587,7 @@ export interface SpawnObservationPatch {
|
|
|
4446
4587
|
export interface SpawnParentStoppedPayload {
|
|
4447
4588
|
event: HookEvent;
|
|
4448
4589
|
timestamp: ISODateTime;
|
|
4590
|
+
profile_id?: string;
|
|
4449
4591
|
parent_session_id?: string;
|
|
4450
4592
|
root_session_id?: string;
|
|
4451
4593
|
child_session_id?: string;
|
|
@@ -4472,6 +4614,7 @@ export interface SpawnParentStoppedPayload {
|
|
|
4472
4614
|
export interface SpawnPreCreatePayload {
|
|
4473
4615
|
event: HookEvent;
|
|
4474
4616
|
timestamp: ISODateTime;
|
|
4617
|
+
profile_id?: string;
|
|
4475
4618
|
parent_session_id?: string;
|
|
4476
4619
|
root_session_id?: string;
|
|
4477
4620
|
child_session_id?: string;
|
|
@@ -4497,6 +4640,7 @@ export interface SpawnPreCreatePayload {
|
|
|
4497
4640
|
export interface SpawnReapedPayload {
|
|
4498
4641
|
event: HookEvent;
|
|
4499
4642
|
timestamp: ISODateTime;
|
|
4643
|
+
profile_id?: string;
|
|
4500
4644
|
parent_session_id?: string;
|
|
4501
4645
|
root_session_id?: string;
|
|
4502
4646
|
child_session_id?: string;
|
|
@@ -4523,6 +4667,7 @@ export interface SpawnReapedPayload {
|
|
|
4523
4667
|
export interface SpawnTTLExpiredPayload {
|
|
4524
4668
|
event: HookEvent;
|
|
4525
4669
|
timestamp: ISODateTime;
|
|
4670
|
+
profile_id?: string;
|
|
4526
4671
|
parent_session_id?: string;
|
|
4527
4672
|
root_session_id?: string;
|
|
4528
4673
|
child_session_id?: string;
|
|
@@ -4578,6 +4723,10 @@ export interface LoopProvenance {
|
|
|
4578
4723
|
}
|
|
4579
4724
|
export interface Task {
|
|
4580
4725
|
id: string;
|
|
4726
|
+
profile_id: string;
|
|
4727
|
+
profile_name: string;
|
|
4728
|
+
profile_color?: string;
|
|
4729
|
+
profile_icon?: string;
|
|
4581
4730
|
identifier?: string;
|
|
4582
4731
|
scope: Scope;
|
|
4583
4732
|
workspace_id?: string;
|
|
@@ -4618,6 +4767,7 @@ export interface Task {
|
|
|
4618
4767
|
export interface TaskBlockedPayload {
|
|
4619
4768
|
event: HookEvent;
|
|
4620
4769
|
timestamp: ISODateTime;
|
|
4770
|
+
profile_id?: string;
|
|
4621
4771
|
task_id?: string;
|
|
4622
4772
|
parent_task_id?: string;
|
|
4623
4773
|
workspace_id?: string;
|
|
@@ -4645,6 +4795,7 @@ export interface TaskCancelParams {
|
|
|
4645
4795
|
metadata?: JSONValue;
|
|
4646
4796
|
}
|
|
4647
4797
|
export interface TaskContext {
|
|
4798
|
+
profile_id?: string;
|
|
4648
4799
|
task_id?: string;
|
|
4649
4800
|
parent_task_id?: string;
|
|
4650
4801
|
workspace_id?: string;
|
|
@@ -4886,6 +5037,10 @@ export interface TaskRunSummaryPayload {
|
|
|
4886
5037
|
}
|
|
4887
5038
|
export interface TaskSummaryPayload {
|
|
4888
5039
|
id: string;
|
|
5040
|
+
profile_id: string;
|
|
5041
|
+
profile_name: string;
|
|
5042
|
+
profile_color?: string;
|
|
5043
|
+
profile_icon?: string;
|
|
4889
5044
|
identifier?: string;
|
|
4890
5045
|
scope: Scope;
|
|
4891
5046
|
workspace_id?: string;
|
|
@@ -4933,6 +5088,10 @@ export interface TaskDependencyPayload {
|
|
|
4933
5088
|
}
|
|
4934
5089
|
export interface TaskRun {
|
|
4935
5090
|
id: string;
|
|
5091
|
+
profile_id?: string;
|
|
5092
|
+
profile_name?: string;
|
|
5093
|
+
profile_color?: string;
|
|
5094
|
+
profile_icon?: string;
|
|
4936
5095
|
task_id: string;
|
|
4937
5096
|
status: RunStatus;
|
|
4938
5097
|
attempt: number;
|
|
@@ -5084,6 +5243,7 @@ export interface TaskInboxParams {
|
|
|
5084
5243
|
export interface TaskNeedsAttentionPayload {
|
|
5085
5244
|
event: HookEvent;
|
|
5086
5245
|
timestamp: ISODateTime;
|
|
5246
|
+
profile_id?: string;
|
|
5087
5247
|
task_id?: string;
|
|
5088
5248
|
parent_task_id?: string;
|
|
5089
5249
|
workspace_id?: string;
|
|
@@ -5108,6 +5268,7 @@ export interface TaskObservationPatch {
|
|
|
5108
5268
|
export interface TaskRecoveredPayload {
|
|
5109
5269
|
event: HookEvent;
|
|
5110
5270
|
timestamp: ISODateTime;
|
|
5271
|
+
profile_id?: string;
|
|
5111
5272
|
task_id?: string;
|
|
5112
5273
|
parent_task_id?: string;
|
|
5113
5274
|
workspace_id?: string;
|
|
@@ -5153,6 +5314,7 @@ export interface TaskRunCompleteParams {
|
|
|
5153
5314
|
export interface TaskRunCompletedPayload {
|
|
5154
5315
|
event: HookEvent;
|
|
5155
5316
|
timestamp: ISODateTime;
|
|
5317
|
+
profile_id?: string;
|
|
5156
5318
|
task_id?: string;
|
|
5157
5319
|
run_id?: string;
|
|
5158
5320
|
run_kind?: string;
|
|
@@ -5183,6 +5345,7 @@ export interface TaskRunCompletedPayload {
|
|
|
5183
5345
|
recovery_reason?: string;
|
|
5184
5346
|
}
|
|
5185
5347
|
export interface TaskRunContext {
|
|
5348
|
+
profile_id?: string;
|
|
5186
5349
|
task_id?: string;
|
|
5187
5350
|
run_id?: string;
|
|
5188
5351
|
run_kind?: string;
|
|
@@ -5259,6 +5422,7 @@ export interface TaskRunEnqueueParams {
|
|
|
5259
5422
|
export interface TaskRunEnqueuedPayload {
|
|
5260
5423
|
event: HookEvent;
|
|
5261
5424
|
timestamp: ISODateTime;
|
|
5425
|
+
profile_id?: string;
|
|
5262
5426
|
task_id?: string;
|
|
5263
5427
|
run_id?: string;
|
|
5264
5428
|
run_kind?: string;
|
|
@@ -5293,6 +5457,7 @@ export interface TaskRunFailParams {
|
|
|
5293
5457
|
export interface TaskRunFailedPayload {
|
|
5294
5458
|
event: HookEvent;
|
|
5295
5459
|
timestamp: ISODateTime;
|
|
5460
|
+
profile_id?: string;
|
|
5296
5461
|
task_id?: string;
|
|
5297
5462
|
run_id?: string;
|
|
5298
5463
|
run_kind?: string;
|
|
@@ -5328,6 +5493,7 @@ export interface TaskRunGetParams {
|
|
|
5328
5493
|
export interface TaskRunLeaseExpiredPayload {
|
|
5329
5494
|
event: HookEvent;
|
|
5330
5495
|
timestamp: ISODateTime;
|
|
5496
|
+
profile_id?: string;
|
|
5331
5497
|
task_id?: string;
|
|
5332
5498
|
run_id?: string;
|
|
5333
5499
|
run_kind?: string;
|
|
@@ -5360,6 +5526,7 @@ export interface TaskRunLeaseExpiredPayload {
|
|
|
5360
5526
|
export interface TaskRunLeaseExtendedPayload {
|
|
5361
5527
|
event: HookEvent;
|
|
5362
5528
|
timestamp: ISODateTime;
|
|
5529
|
+
profile_id?: string;
|
|
5363
5530
|
task_id?: string;
|
|
5364
5531
|
run_id?: string;
|
|
5365
5532
|
run_kind?: string;
|
|
@@ -5392,6 +5559,7 @@ export interface TaskRunLeaseExtendedPayload {
|
|
|
5392
5559
|
export interface TaskRunLeasePayload {
|
|
5393
5560
|
event: HookEvent;
|
|
5394
5561
|
timestamp: ISODateTime;
|
|
5562
|
+
profile_id?: string;
|
|
5395
5563
|
task_id?: string;
|
|
5396
5564
|
run_id?: string;
|
|
5397
5565
|
run_kind?: string;
|
|
@@ -5424,6 +5592,7 @@ export interface TaskRunLeasePayload {
|
|
|
5424
5592
|
export interface TaskRunLeaseRecoveredPayload {
|
|
5425
5593
|
event: HookEvent;
|
|
5426
5594
|
timestamp: ISODateTime;
|
|
5595
|
+
profile_id?: string;
|
|
5427
5596
|
task_id?: string;
|
|
5428
5597
|
run_id?: string;
|
|
5429
5598
|
run_kind?: string;
|
|
@@ -5459,6 +5628,7 @@ export interface TaskRunObservationPatch {
|
|
|
5459
5628
|
export interface TaskRunPostClaimPayload {
|
|
5460
5629
|
event: HookEvent;
|
|
5461
5630
|
timestamp: ISODateTime;
|
|
5631
|
+
profile_id?: string;
|
|
5462
5632
|
task_id?: string;
|
|
5463
5633
|
run_id?: string;
|
|
5464
5634
|
run_kind?: string;
|
|
@@ -5494,6 +5664,7 @@ export interface TaskRunPreClaimPatch {
|
|
|
5494
5664
|
export interface TaskRunPreClaimPayload {
|
|
5495
5665
|
event: HookEvent;
|
|
5496
5666
|
timestamp: ISODateTime;
|
|
5667
|
+
profile_id?: string;
|
|
5497
5668
|
task_id?: string;
|
|
5498
5669
|
run_id?: string;
|
|
5499
5670
|
run_kind?: string;
|
|
@@ -5525,6 +5696,7 @@ export interface TaskRunPreClaimPayload {
|
|
|
5525
5696
|
export interface TaskRunReleasedPayload {
|
|
5526
5697
|
event: HookEvent;
|
|
5527
5698
|
timestamp: ISODateTime;
|
|
5699
|
+
profile_id?: string;
|
|
5528
5700
|
task_id?: string;
|
|
5529
5701
|
run_id?: string;
|
|
5530
5702
|
run_kind?: string;
|
|
@@ -5568,6 +5740,7 @@ export interface TaskRunsParams {
|
|
|
5568
5740
|
export interface TaskStatusChangedPayload {
|
|
5569
5741
|
event: HookEvent;
|
|
5570
5742
|
timestamp: ISODateTime;
|
|
5743
|
+
profile_id?: string;
|
|
5571
5744
|
task_id?: string;
|
|
5572
5745
|
parent_task_id?: string;
|
|
5573
5746
|
workspace_id?: string;
|
|
@@ -5623,6 +5796,7 @@ export interface TaskTreeParams {
|
|
|
5623
5796
|
export interface TaskUnblockedPayload {
|
|
5624
5797
|
event: HookEvent;
|
|
5625
5798
|
timestamp: ISODateTime;
|
|
5799
|
+
profile_id?: string;
|
|
5626
5800
|
task_id?: string;
|
|
5627
5801
|
parent_task_id?: string;
|
|
5628
5802
|
workspace_id?: string;
|
|
@@ -5679,6 +5853,10 @@ export interface TasksParams {
|
|
|
5679
5853
|
}
|
|
5680
5854
|
export interface TaskCatalogItemPayload {
|
|
5681
5855
|
id: string;
|
|
5856
|
+
profile_id: string;
|
|
5857
|
+
profile_name: string;
|
|
5858
|
+
profile_color?: string;
|
|
5859
|
+
profile_icon?: string;
|
|
5682
5860
|
identifier?: string;
|
|
5683
5861
|
scope: Scope;
|
|
5684
5862
|
workspace_id?: string;
|
|
@@ -5746,6 +5924,7 @@ export interface SourceRef {
|
|
|
5746
5924
|
raw_tool_name?: string;
|
|
5747
5925
|
resource_id?: string;
|
|
5748
5926
|
resource_version?: string;
|
|
5927
|
+
profile_id?: string;
|
|
5749
5928
|
workspace_id?: string;
|
|
5750
5929
|
scope?: string;
|
|
5751
5930
|
}
|
|
@@ -5790,6 +5969,7 @@ export interface ToolCallRef {
|
|
|
5790
5969
|
export interface ToolPostCallPayload {
|
|
5791
5970
|
event: HookEvent;
|
|
5792
5971
|
timestamp: ISODateTime;
|
|
5972
|
+
profile_id?: string;
|
|
5793
5973
|
session_id?: string;
|
|
5794
5974
|
session_name?: string;
|
|
5795
5975
|
session_type?: string;
|
|
@@ -5821,6 +6001,7 @@ export interface ToolPostErrorPatch {
|
|
|
5821
6001
|
export interface ToolPostErrorPayload {
|
|
5822
6002
|
event: HookEvent;
|
|
5823
6003
|
timestamp: ISODateTime;
|
|
6004
|
+
profile_id?: string;
|
|
5824
6005
|
session_id?: string;
|
|
5825
6006
|
session_name?: string;
|
|
5826
6007
|
session_type?: string;
|
|
@@ -5845,6 +6026,7 @@ export interface ToolPostErrorPayload {
|
|
|
5845
6026
|
export interface ToolPreCallPayload {
|
|
5846
6027
|
event: HookEvent;
|
|
5847
6028
|
timestamp: ISODateTime;
|
|
6029
|
+
profile_id?: string;
|
|
5848
6030
|
session_id?: string;
|
|
5849
6031
|
session_name?: string;
|
|
5850
6032
|
session_type?: string;
|
|
@@ -5886,6 +6068,7 @@ export interface TurnEndPatch {
|
|
|
5886
6068
|
export interface TurnEndPayload {
|
|
5887
6069
|
event: HookEvent;
|
|
5888
6070
|
timestamp: ISODateTime;
|
|
6071
|
+
profile_id?: string;
|
|
5889
6072
|
session_id?: string;
|
|
5890
6073
|
session_name?: string;
|
|
5891
6074
|
session_type?: string;
|
|
@@ -5911,6 +6094,7 @@ export interface TurnPatch {
|
|
|
5911
6094
|
export interface TurnPayload {
|
|
5912
6095
|
event: HookEvent;
|
|
5913
6096
|
timestamp: ISODateTime;
|
|
6097
|
+
profile_id?: string;
|
|
5914
6098
|
session_id?: string;
|
|
5915
6099
|
session_name?: string;
|
|
5916
6100
|
session_type?: string;
|
|
@@ -5936,6 +6120,7 @@ export interface TurnStartPatch {
|
|
|
5936
6120
|
export interface TurnStartPayload {
|
|
5937
6121
|
event: HookEvent;
|
|
5938
6122
|
timestamp: ISODateTime;
|
|
6123
|
+
profile_id?: string;
|
|
5939
6124
|
session_id?: string;
|
|
5940
6125
|
session_name?: string;
|
|
5941
6126
|
session_type?: string;
|
|
@@ -5953,8 +6138,14 @@ export interface TurnStartPayload {
|
|
|
5953
6138
|
input_class?: string;
|
|
5954
6139
|
user_message?: string;
|
|
5955
6140
|
}
|
|
6141
|
+
export type ProfileLensID = string;
|
|
6142
|
+
export interface ProfileLens {
|
|
6143
|
+
profile_lens_id: ProfileLensID;
|
|
6144
|
+
profile_name: string;
|
|
6145
|
+
}
|
|
5956
6146
|
export interface ViewCloseRequest {
|
|
5957
6147
|
view_session: string;
|
|
6148
|
+
profile_lens: ProfileLens;
|
|
5958
6149
|
reason?: string;
|
|
5959
6150
|
}
|
|
5960
6151
|
export interface ViewEvent {
|
|
@@ -6164,6 +6355,7 @@ export type ClientID = string;
|
|
|
6164
6355
|
export interface ViewOpenRequest {
|
|
6165
6356
|
view_session: string;
|
|
6166
6357
|
view: string;
|
|
6358
|
+
profile_lens: ProfileLens;
|
|
6167
6359
|
workspace: WorkspaceID;
|
|
6168
6360
|
client: ClientID;
|
|
6169
6361
|
args?: Record<string, JSONValue>;
|
|
@@ -6280,6 +6472,7 @@ export type WorktreeObservationPatch = Record<string, never>;
|
|
|
6280
6472
|
export interface WorktreeObservationPayload {
|
|
6281
6473
|
event: HookEvent;
|
|
6282
6474
|
timestamp: ISODateTime;
|
|
6475
|
+
profile_id?: string;
|
|
6283
6476
|
worktree_id: string;
|
|
6284
6477
|
workspace_id: string;
|
|
6285
6478
|
workspace_root?: string;
|
|
@@ -6292,6 +6485,7 @@ export interface WorktreeObservationPayload {
|
|
|
6292
6485
|
export interface WorktreePreCreatePayload {
|
|
6293
6486
|
event: HookEvent;
|
|
6294
6487
|
timestamp: ISODateTime;
|
|
6488
|
+
profile_id?: string;
|
|
6295
6489
|
worktree_id: string;
|
|
6296
6490
|
workspace_id: string;
|
|
6297
6491
|
workspace_root?: string;
|
|
@@ -6304,6 +6498,7 @@ export interface WorktreePreCreatePayload {
|
|
|
6304
6498
|
deny_reason?: string;
|
|
6305
6499
|
}
|
|
6306
6500
|
export interface WorktreeContext {
|
|
6501
|
+
profile_id?: string;
|
|
6307
6502
|
worktree_id: string;
|
|
6308
6503
|
workspace_id: string;
|
|
6309
6504
|
workspace_root?: string;
|