@get-bb/plugin-sdk 0.5.29 → 0.5.31
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/bundled-types/bb-plugin-sdk-app.d.ts +76 -22
- package/bundled-types/bb-plugin-sdk-environment-provider.d.ts +0 -2
- package/bundled-types/bb-plugin-sdk-internal-host-policy.d.ts +0 -2
- package/bundled-types/bb-plugin-sdk-provider-bridge-testing.d.ts +34 -0
- package/bundled-types/bb-plugin-sdk-testing.d.ts +0 -2
- package/bundled-types/bb-plugin-sdk.d.ts +76 -22
- package/dist/provider-bridge-acp.js +50 -30
- package/dist/provider-bridge-testing.js +18 -11
- package/dist/provider-bridge.js +18 -11
- package/dist/testing/index.js +1 -1
- package/package.json +1 -1
|
@@ -96,6 +96,7 @@ type PluginRpcCallArgs<Method extends PluginRpcMethodContract> = null extends Pl
|
|
|
96
96
|
type PluginRpcResult<Method extends PluginRpcMethodContract> = StandardSchemaV1InferOutput<Method["output"]>;
|
|
97
97
|
|
|
98
98
|
declare const appSettingsSchema: z$1.ZodObject<{
|
|
99
|
+
allowFastServiceTier: z$1.ZodBoolean;
|
|
99
100
|
defaultMachineAccess: z$1.ZodNullable<z$1.ZodString>;
|
|
100
101
|
defaultProviderId: z$1.ZodNullable<z$1.ZodString>;
|
|
101
102
|
machineGitCredentialsEnabled: z$1.ZodBoolean;
|
|
@@ -114,6 +115,7 @@ declare const appSettingsSchema: z$1.ZodObject<{
|
|
|
114
115
|
}, z$1.core.$strict>;
|
|
115
116
|
type AppSettings = z$1.infer<typeof appSettingsSchema>;
|
|
116
117
|
declare const appSettingsUpdateSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
|
|
118
|
+
allowFastServiceTier: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
117
119
|
defaultMachineAccess: z$1.ZodNullable<z$1.ZodString>;
|
|
118
120
|
defaultProviderId: z$1.ZodNullable<z$1.ZodString>;
|
|
119
121
|
machineGitCredentialsEnabled: z$1.ZodBoolean;
|
|
@@ -131,6 +133,7 @@ declare const appSettingsUpdateSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
|
|
|
131
133
|
streamerMode: z$1.ZodBoolean;
|
|
132
134
|
telemetryEnabled: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
133
135
|
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
136
|
+
allowFastServiceTier: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
134
137
|
defaultMachineAccess: z$1.ZodNullable<z$1.ZodString>;
|
|
135
138
|
defaultProviderId: z$1.ZodNullable<z$1.ZodString>;
|
|
136
139
|
machineGitCredentialsEnabled: z$1.ZodBoolean;
|
|
@@ -372,7 +375,6 @@ declare const changedMessageSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
|
372
375
|
latestAttentionAt: z$1.ZodNumber;
|
|
373
376
|
runtime: z$1.ZodObject<{
|
|
374
377
|
displayStatus: z$1.ZodEnum<{
|
|
375
|
-
"host-reconnecting": "host-reconnecting";
|
|
376
378
|
"waiting-for-host": "waiting-for-host";
|
|
377
379
|
active: "active";
|
|
378
380
|
error: "error";
|
|
@@ -382,7 +384,6 @@ declare const changedMessageSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
|
382
384
|
starting: "starting";
|
|
383
385
|
stopping: "stopping";
|
|
384
386
|
}>;
|
|
385
|
-
hostReconnectGraceExpiresAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
386
387
|
}, z$1.core.$strip>;
|
|
387
388
|
status: z$1.ZodEnum<{
|
|
388
389
|
active: "active";
|
|
@@ -3039,11 +3040,45 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
|
|
|
3039
3040
|
}>>;
|
|
3040
3041
|
systemMessageSubject: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
3041
3042
|
kind: z$1.ZodLiteral<"thread">;
|
|
3043
|
+
outcomes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
3044
|
+
interruption: z$1.ZodOptional<z$1.ZodObject<{
|
|
3045
|
+
cause: z$1.ZodOptional<z$1.ZodLiteral<"host-connection-lost">>;
|
|
3046
|
+
reason: z$1.ZodEnum<{
|
|
3047
|
+
"host-daemon-restarted": "host-daemon-restarted";
|
|
3048
|
+
"host-removed": "host-removed";
|
|
3049
|
+
"manual-stop": "manual-stop";
|
|
3050
|
+
"provider-turn-idle": "provider-turn-idle";
|
|
3051
|
+
}>;
|
|
3052
|
+
}, z$1.core.$strip>>;
|
|
3053
|
+
status: z$1.ZodEnum<{
|
|
3054
|
+
completed: "completed";
|
|
3055
|
+
failed: "failed";
|
|
3056
|
+
interrupted: "interrupted";
|
|
3057
|
+
}>;
|
|
3058
|
+
threadId: z$1.ZodString;
|
|
3059
|
+
}, z$1.core.$strip>>>;
|
|
3042
3060
|
threadId: z$1.ZodString;
|
|
3043
3061
|
threadName: z$1.ZodString;
|
|
3044
3062
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
3045
3063
|
count: z$1.ZodNumber;
|
|
3046
3064
|
kind: z$1.ZodLiteral<"thread-batch">;
|
|
3065
|
+
outcomes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
3066
|
+
interruption: z$1.ZodOptional<z$1.ZodObject<{
|
|
3067
|
+
cause: z$1.ZodOptional<z$1.ZodLiteral<"host-connection-lost">>;
|
|
3068
|
+
reason: z$1.ZodEnum<{
|
|
3069
|
+
"host-daemon-restarted": "host-daemon-restarted";
|
|
3070
|
+
"host-removed": "host-removed";
|
|
3071
|
+
"manual-stop": "manual-stop";
|
|
3072
|
+
"provider-turn-idle": "provider-turn-idle";
|
|
3073
|
+
}>;
|
|
3074
|
+
}, z$1.core.$strip>>;
|
|
3075
|
+
status: z$1.ZodEnum<{
|
|
3076
|
+
completed: "completed";
|
|
3077
|
+
failed: "failed";
|
|
3078
|
+
interrupted: "interrupted";
|
|
3079
|
+
}>;
|
|
3080
|
+
threadId: z$1.ZodString;
|
|
3081
|
+
}, z$1.core.$strip>>>;
|
|
3047
3082
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
3048
3083
|
kind: z$1.ZodLiteral<"tool-call">;
|
|
3049
3084
|
suppress: z$1.ZodBoolean;
|
|
@@ -4171,7 +4206,6 @@ declare const threadTimelinePendingTodosSchema: z$1.ZodObject<{
|
|
|
4171
4206
|
type ThreadTimelinePendingTodos = z$1.infer<typeof threadTimelinePendingTodosSchema>;
|
|
4172
4207
|
|
|
4173
4208
|
declare const threadRuntimeDisplayStatusSchema: z$1.ZodEnum<{
|
|
4174
|
-
"host-reconnecting": "host-reconnecting";
|
|
4175
4209
|
"waiting-for-host": "waiting-for-host";
|
|
4176
4210
|
active: "active";
|
|
4177
4211
|
error: "error";
|
|
@@ -4864,7 +4898,6 @@ declare const projectWithThreadsResponseSchema: z$1.ZodObject<{
|
|
|
4864
4898
|
}>;
|
|
4865
4899
|
runtime: z$1.ZodObject<{
|
|
4866
4900
|
displayStatus: z$1.ZodEnum<{
|
|
4867
|
-
"host-reconnecting": "host-reconnecting";
|
|
4868
4901
|
"waiting-for-host": "waiting-for-host";
|
|
4869
4902
|
active: "active";
|
|
4870
4903
|
error: "error";
|
|
@@ -4874,7 +4907,6 @@ declare const projectWithThreadsResponseSchema: z$1.ZodObject<{
|
|
|
4874
4907
|
starting: "starting";
|
|
4875
4908
|
stopping: "stopping";
|
|
4876
4909
|
}>;
|
|
4877
|
-
hostReconnectGraceExpiresAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
4878
4910
|
}, z$1.core.$strip>;
|
|
4879
4911
|
sectionId: z$1.ZodNullable<z$1.ZodString>;
|
|
4880
4912
|
sourceThreadId: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -4984,7 +5016,6 @@ declare const sidebarBootstrapResponseSchema: z$1.ZodObject<{
|
|
|
4984
5016
|
}>;
|
|
4985
5017
|
runtime: z$1.ZodObject<{
|
|
4986
5018
|
displayStatus: z$1.ZodEnum<{
|
|
4987
|
-
"host-reconnecting": "host-reconnecting";
|
|
4988
5019
|
"waiting-for-host": "waiting-for-host";
|
|
4989
5020
|
active: "active";
|
|
4990
5021
|
error: "error";
|
|
@@ -4994,7 +5025,6 @@ declare const sidebarBootstrapResponseSchema: z$1.ZodObject<{
|
|
|
4994
5025
|
starting: "starting";
|
|
4995
5026
|
stopping: "stopping";
|
|
4996
5027
|
}>;
|
|
4997
|
-
hostReconnectGraceExpiresAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
4998
5028
|
}, z$1.core.$strip>;
|
|
4999
5029
|
sectionId: z$1.ZodNullable<z$1.ZodString>;
|
|
5000
5030
|
sourceThreadId: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -5102,7 +5132,6 @@ declare const sidebarBootstrapResponseSchema: z$1.ZodObject<{
|
|
|
5102
5132
|
}>;
|
|
5103
5133
|
runtime: z$1.ZodObject<{
|
|
5104
5134
|
displayStatus: z$1.ZodEnum<{
|
|
5105
|
-
"host-reconnecting": "host-reconnecting";
|
|
5106
5135
|
"waiting-for-host": "waiting-for-host";
|
|
5107
5136
|
active: "active";
|
|
5108
5137
|
error: "error";
|
|
@@ -5112,7 +5141,6 @@ declare const sidebarBootstrapResponseSchema: z$1.ZodObject<{
|
|
|
5112
5141
|
starting: "starting";
|
|
5113
5142
|
stopping: "stopping";
|
|
5114
5143
|
}>;
|
|
5115
|
-
hostReconnectGraceExpiresAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
5116
5144
|
}, z$1.core.$strip>;
|
|
5117
5145
|
sectionId: z$1.ZodNullable<z$1.ZodString>;
|
|
5118
5146
|
sourceThreadId: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -10141,6 +10169,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
10141
10169
|
timelineWindowEventBudget: z$1.ZodNumber;
|
|
10142
10170
|
}, z$1.core.$strip>;
|
|
10143
10171
|
generalSettings: z$1.ZodObject<{
|
|
10172
|
+
allowFastServiceTier: z$1.ZodBoolean;
|
|
10144
10173
|
defaultMachineAccess: z$1.ZodNullable<z$1.ZodString>;
|
|
10145
10174
|
defaultProviderId: z$1.ZodNullable<z$1.ZodString>;
|
|
10146
10175
|
machineGitCredentialsEnabled: z$1.ZodBoolean;
|
|
@@ -10872,11 +10901,45 @@ declare const timelineConversationRowSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodO
|
|
|
10872
10901
|
}>;
|
|
10873
10902
|
systemMessageSubject: z$1.ZodNullable<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
10874
10903
|
kind: z$1.ZodLiteral<"thread">;
|
|
10904
|
+
outcomes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
10905
|
+
interruption: z$1.ZodOptional<z$1.ZodObject<{
|
|
10906
|
+
cause: z$1.ZodOptional<z$1.ZodLiteral<"host-connection-lost">>;
|
|
10907
|
+
reason: z$1.ZodEnum<{
|
|
10908
|
+
"host-daemon-restarted": "host-daemon-restarted";
|
|
10909
|
+
"host-removed": "host-removed";
|
|
10910
|
+
"manual-stop": "manual-stop";
|
|
10911
|
+
"provider-turn-idle": "provider-turn-idle";
|
|
10912
|
+
}>;
|
|
10913
|
+
}, z$1.core.$strip>>;
|
|
10914
|
+
status: z$1.ZodEnum<{
|
|
10915
|
+
completed: "completed";
|
|
10916
|
+
failed: "failed";
|
|
10917
|
+
interrupted: "interrupted";
|
|
10918
|
+
}>;
|
|
10919
|
+
threadId: z$1.ZodString;
|
|
10920
|
+
}, z$1.core.$strip>>>;
|
|
10875
10921
|
threadId: z$1.ZodString;
|
|
10876
10922
|
threadName: z$1.ZodString;
|
|
10877
10923
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
10878
10924
|
count: z$1.ZodNumber;
|
|
10879
10925
|
kind: z$1.ZodLiteral<"thread-batch">;
|
|
10926
|
+
outcomes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
10927
|
+
interruption: z$1.ZodOptional<z$1.ZodObject<{
|
|
10928
|
+
cause: z$1.ZodOptional<z$1.ZodLiteral<"host-connection-lost">>;
|
|
10929
|
+
reason: z$1.ZodEnum<{
|
|
10930
|
+
"host-daemon-restarted": "host-daemon-restarted";
|
|
10931
|
+
"host-removed": "host-removed";
|
|
10932
|
+
"manual-stop": "manual-stop";
|
|
10933
|
+
"provider-turn-idle": "provider-turn-idle";
|
|
10934
|
+
}>;
|
|
10935
|
+
}, z$1.core.$strip>>;
|
|
10936
|
+
status: z$1.ZodEnum<{
|
|
10937
|
+
completed: "completed";
|
|
10938
|
+
failed: "failed";
|
|
10939
|
+
interrupted: "interrupted";
|
|
10940
|
+
}>;
|
|
10941
|
+
threadId: z$1.ZodString;
|
|
10942
|
+
}, z$1.core.$strip>>>;
|
|
10880
10943
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
10881
10944
|
kind: z$1.ZodLiteral<"tool-call">;
|
|
10882
10945
|
suppress: z$1.ZodBoolean;
|
|
@@ -13252,7 +13315,6 @@ declare const threadListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
13252
13315
|
}>;
|
|
13253
13316
|
runtime: z$1.ZodObject<{
|
|
13254
13317
|
displayStatus: z$1.ZodEnum<{
|
|
13255
|
-
"host-reconnecting": "host-reconnecting";
|
|
13256
13318
|
"waiting-for-host": "waiting-for-host";
|
|
13257
13319
|
active: "active";
|
|
13258
13320
|
error: "error";
|
|
@@ -13262,7 +13324,6 @@ declare const threadListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
13262
13324
|
starting: "starting";
|
|
13263
13325
|
stopping: "stopping";
|
|
13264
13326
|
}>;
|
|
13265
|
-
hostReconnectGraceExpiresAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
13266
13327
|
}, z$1.core.$strip>;
|
|
13267
13328
|
sectionId: z$1.ZodNullable<z$1.ZodString>;
|
|
13268
13329
|
sourceThreadId: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -13355,7 +13416,6 @@ declare const threadSearchResponseSchema: z$1.ZodObject<{
|
|
|
13355
13416
|
}>;
|
|
13356
13417
|
runtime: z$1.ZodObject<{
|
|
13357
13418
|
displayStatus: z$1.ZodEnum<{
|
|
13358
|
-
"host-reconnecting": "host-reconnecting";
|
|
13359
13419
|
"waiting-for-host": "waiting-for-host";
|
|
13360
13420
|
active: "active";
|
|
13361
13421
|
error: "error";
|
|
@@ -13365,7 +13425,6 @@ declare const threadSearchResponseSchema: z$1.ZodObject<{
|
|
|
13365
13425
|
starting: "starting";
|
|
13366
13426
|
stopping: "stopping";
|
|
13367
13427
|
}>;
|
|
13368
|
-
hostReconnectGraceExpiresAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
13369
13428
|
}, z$1.core.$strip>;
|
|
13370
13429
|
sectionId: z$1.ZodNullable<z$1.ZodString>;
|
|
13371
13430
|
sourceThreadId: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -13449,7 +13508,6 @@ declare const threadSearchResponseSchema: z$1.ZodObject<{
|
|
|
13449
13508
|
}>;
|
|
13450
13509
|
runtime: z$1.ZodObject<{
|
|
13451
13510
|
displayStatus: z$1.ZodEnum<{
|
|
13452
|
-
"host-reconnecting": "host-reconnecting";
|
|
13453
13511
|
"waiting-for-host": "waiting-for-host";
|
|
13454
13512
|
active: "active";
|
|
13455
13513
|
error: "error";
|
|
@@ -13459,7 +13517,6 @@ declare const threadSearchResponseSchema: z$1.ZodObject<{
|
|
|
13459
13517
|
starting: "starting";
|
|
13460
13518
|
stopping: "stopping";
|
|
13461
13519
|
}>;
|
|
13462
|
-
hostReconnectGraceExpiresAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
13463
13520
|
}, z$1.core.$strip>;
|
|
13464
13521
|
sectionId: z$1.ZodNullable<z$1.ZodString>;
|
|
13465
13522
|
sourceThreadId: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -13507,7 +13564,6 @@ declare const threadResponseSchema: z$1.ZodObject<{
|
|
|
13507
13564
|
queuedMessageCount: z$1.ZodNumber;
|
|
13508
13565
|
runtime: z$1.ZodObject<{
|
|
13509
13566
|
displayStatus: z$1.ZodEnum<{
|
|
13510
|
-
"host-reconnecting": "host-reconnecting";
|
|
13511
13567
|
"waiting-for-host": "waiting-for-host";
|
|
13512
13568
|
active: "active";
|
|
13513
13569
|
error: "error";
|
|
@@ -13517,7 +13573,6 @@ declare const threadResponseSchema: z$1.ZodObject<{
|
|
|
13517
13573
|
starting: "starting";
|
|
13518
13574
|
stopping: "stopping";
|
|
13519
13575
|
}>;
|
|
13520
|
-
hostReconnectGraceExpiresAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
13521
13576
|
}, z$1.core.$strip>;
|
|
13522
13577
|
sectionId: z$1.ZodNullable<z$1.ZodString>;
|
|
13523
13578
|
sourceThreadId: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -13676,7 +13731,6 @@ declare const threadWithIncludesResponseSchema: z$1.ZodObject<{
|
|
|
13676
13731
|
queuedMessageCount: z$1.ZodNumber;
|
|
13677
13732
|
runtime: z$1.ZodObject<{
|
|
13678
13733
|
displayStatus: z$1.ZodEnum<{
|
|
13679
|
-
"host-reconnecting": "host-reconnecting";
|
|
13680
13734
|
"waiting-for-host": "waiting-for-host";
|
|
13681
13735
|
active: "active";
|
|
13682
13736
|
error: "error";
|
|
@@ -13686,7 +13740,6 @@ declare const threadWithIncludesResponseSchema: z$1.ZodObject<{
|
|
|
13686
13740
|
starting: "starting";
|
|
13687
13741
|
stopping: "stopping";
|
|
13688
13742
|
}>;
|
|
13689
|
-
hostReconnectGraceExpiresAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
13690
13743
|
}, z$1.core.$strip>;
|
|
13691
13744
|
sectionId: z$1.ZodNullable<z$1.ZodString>;
|
|
13692
13745
|
sourceThreadId: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -14149,6 +14202,7 @@ declare const threadQueuedMessageListResponseSchema: z$1.ZodArray<z$1.ZodObject<
|
|
|
14149
14202
|
type ThreadQueuedMessageListResponse = z$1.infer<typeof threadQueuedMessageListResponseSchema>;
|
|
14150
14203
|
declare const threadChildSummaryResponseSchema: z$1.ZodObject<{
|
|
14151
14204
|
nonDeletedChildCount: z$1.ZodNumber;
|
|
14205
|
+
unarchivedDescendantCount: z$1.ZodNumber;
|
|
14152
14206
|
}, z$1.core.$strip>;
|
|
14153
14207
|
type ThreadChildSummaryResponse = z$1.infer<typeof threadChildSummaryResponseSchema>;
|
|
14154
14208
|
declare const deleteThreadRequestSchema: z$1.ZodObject<{
|
|
@@ -17755,9 +17809,9 @@ interface PluginSidebarThread {
|
|
|
17755
17809
|
*/
|
|
17756
17810
|
status: ThreadStatus;
|
|
17757
17811
|
/**
|
|
17758
|
-
* `status` refined by host and environment state: adds "provisioning"
|
|
17759
|
-
* "
|
|
17760
|
-
*
|
|
17812
|
+
* `status` refined by host and environment state: adds "provisioning" and
|
|
17813
|
+
* "waiting-for-host" for a thread whose machine is not ready. Treat an
|
|
17814
|
+
* unknown value as `status`.
|
|
17761
17815
|
*/
|
|
17762
17816
|
runtimeStatus: ThreadRuntimeDisplayStatus;
|
|
17763
17817
|
/**
|
|
@@ -162,7 +162,6 @@ declare const threadResponseSchema: z.ZodObject<{
|
|
|
162
162
|
queuedMessageCount: z.ZodNumber;
|
|
163
163
|
runtime: z.ZodObject<{
|
|
164
164
|
displayStatus: z.ZodEnum<{
|
|
165
|
-
"host-reconnecting": "host-reconnecting";
|
|
166
165
|
"waiting-for-host": "waiting-for-host";
|
|
167
166
|
active: "active";
|
|
168
167
|
error: "error";
|
|
@@ -172,7 +171,6 @@ declare const threadResponseSchema: z.ZodObject<{
|
|
|
172
171
|
starting: "starting";
|
|
173
172
|
stopping: "stopping";
|
|
174
173
|
}>;
|
|
175
|
-
hostReconnectGraceExpiresAt: z.ZodNullable<z.ZodNumber>;
|
|
176
174
|
}, z.core.$strip>;
|
|
177
175
|
sectionId: z.ZodNullable<z.ZodString>;
|
|
178
176
|
sourceThreadId: z.ZodNullable<z.ZodString>;
|
|
@@ -500,7 +500,6 @@ declare const threadResponseSchema: z.ZodObject<{
|
|
|
500
500
|
queuedMessageCount: z.ZodNumber;
|
|
501
501
|
runtime: z.ZodObject<{
|
|
502
502
|
displayStatus: z.ZodEnum<{
|
|
503
|
-
"host-reconnecting": "host-reconnecting";
|
|
504
503
|
"waiting-for-host": "waiting-for-host";
|
|
505
504
|
active: "active";
|
|
506
505
|
error: "error";
|
|
@@ -510,7 +509,6 @@ declare const threadResponseSchema: z.ZodObject<{
|
|
|
510
509
|
starting: "starting";
|
|
511
510
|
stopping: "stopping";
|
|
512
511
|
}>;
|
|
513
|
-
hostReconnectGraceExpiresAt: z.ZodNullable<z.ZodNumber>;
|
|
514
512
|
}, z.core.$strip>;
|
|
515
513
|
sectionId: z.ZodNullable<z.ZodString>;
|
|
516
514
|
sourceThreadId: z.ZodNullable<z.ZodString>;
|
|
@@ -3594,11 +3594,45 @@ declare const threadEventSchema: z.ZodPipe<z.ZodUnknown, z.ZodUnion<readonly [z.
|
|
|
3594
3594
|
}>>;
|
|
3595
3595
|
systemMessageSubject: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3596
3596
|
kind: z.ZodLiteral<"thread">;
|
|
3597
|
+
outcomes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3598
|
+
interruption: z.ZodOptional<z.ZodObject<{
|
|
3599
|
+
cause: z.ZodOptional<z.ZodLiteral<"host-connection-lost">>;
|
|
3600
|
+
reason: z.ZodEnum<{
|
|
3601
|
+
"host-daemon-restarted": "host-daemon-restarted";
|
|
3602
|
+
"host-removed": "host-removed";
|
|
3603
|
+
"manual-stop": "manual-stop";
|
|
3604
|
+
"provider-turn-idle": "provider-turn-idle";
|
|
3605
|
+
}>;
|
|
3606
|
+
}, z.core.$strip>>;
|
|
3607
|
+
status: z.ZodEnum<{
|
|
3608
|
+
completed: "completed";
|
|
3609
|
+
failed: "failed";
|
|
3610
|
+
interrupted: "interrupted";
|
|
3611
|
+
}>;
|
|
3612
|
+
threadId: z.ZodString;
|
|
3613
|
+
}, z.core.$strip>>>;
|
|
3597
3614
|
threadId: z.ZodString;
|
|
3598
3615
|
threadName: z.ZodString;
|
|
3599
3616
|
}, z.core.$strip>, z.ZodObject<{
|
|
3600
3617
|
count: z.ZodNumber;
|
|
3601
3618
|
kind: z.ZodLiteral<"thread-batch">;
|
|
3619
|
+
outcomes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3620
|
+
interruption: z.ZodOptional<z.ZodObject<{
|
|
3621
|
+
cause: z.ZodOptional<z.ZodLiteral<"host-connection-lost">>;
|
|
3622
|
+
reason: z.ZodEnum<{
|
|
3623
|
+
"host-daemon-restarted": "host-daemon-restarted";
|
|
3624
|
+
"host-removed": "host-removed";
|
|
3625
|
+
"manual-stop": "manual-stop";
|
|
3626
|
+
"provider-turn-idle": "provider-turn-idle";
|
|
3627
|
+
}>;
|
|
3628
|
+
}, z.core.$strip>>;
|
|
3629
|
+
status: z.ZodEnum<{
|
|
3630
|
+
completed: "completed";
|
|
3631
|
+
failed: "failed";
|
|
3632
|
+
interrupted: "interrupted";
|
|
3633
|
+
}>;
|
|
3634
|
+
threadId: z.ZodString;
|
|
3635
|
+
}, z.core.$strip>>>;
|
|
3602
3636
|
}, z.core.$strip>, z.ZodObject<{
|
|
3603
3637
|
kind: z.ZodLiteral<"tool-call">;
|
|
3604
3638
|
suppress: z.ZodBoolean;
|
|
@@ -293,7 +293,6 @@ declare const threadResponseSchema: z.ZodObject<{
|
|
|
293
293
|
queuedMessageCount: z.ZodNumber;
|
|
294
294
|
runtime: z.ZodObject<{
|
|
295
295
|
displayStatus: z.ZodEnum<{
|
|
296
|
-
"host-reconnecting": "host-reconnecting";
|
|
297
296
|
"waiting-for-host": "waiting-for-host";
|
|
298
297
|
active: "active";
|
|
299
298
|
error: "error";
|
|
@@ -303,7 +302,6 @@ declare const threadResponseSchema: z.ZodObject<{
|
|
|
303
302
|
starting: "starting";
|
|
304
303
|
stopping: "stopping";
|
|
305
304
|
}>;
|
|
306
|
-
hostReconnectGraceExpiresAt: z.ZodNullable<z.ZodNumber>;
|
|
307
305
|
}, z.core.$strip>;
|
|
308
306
|
sectionId: z.ZodNullable<z.ZodString>;
|
|
309
307
|
sourceThreadId: z.ZodNullable<z.ZodString>;
|
|
@@ -45,6 +45,7 @@ interface ProviderNativeRootsInputLike {
|
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
declare const appSettingsSchema: z$1.ZodObject<{
|
|
48
|
+
allowFastServiceTier: z$1.ZodBoolean;
|
|
48
49
|
defaultMachineAccess: z$1.ZodNullable<z$1.ZodString>;
|
|
49
50
|
defaultProviderId: z$1.ZodNullable<z$1.ZodString>;
|
|
50
51
|
machineGitCredentialsEnabled: z$1.ZodBoolean;
|
|
@@ -63,6 +64,7 @@ declare const appSettingsSchema: z$1.ZodObject<{
|
|
|
63
64
|
}, z$1.core.$strict>;
|
|
64
65
|
type AppSettings = z$1.infer<typeof appSettingsSchema>;
|
|
65
66
|
declare const appSettingsUpdateSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
|
|
67
|
+
allowFastServiceTier: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
66
68
|
defaultMachineAccess: z$1.ZodNullable<z$1.ZodString>;
|
|
67
69
|
defaultProviderId: z$1.ZodNullable<z$1.ZodString>;
|
|
68
70
|
machineGitCredentialsEnabled: z$1.ZodBoolean;
|
|
@@ -80,6 +82,7 @@ declare const appSettingsUpdateSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
|
|
|
80
82
|
streamerMode: z$1.ZodBoolean;
|
|
81
83
|
telemetryEnabled: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
82
84
|
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
85
|
+
allowFastServiceTier: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
83
86
|
defaultMachineAccess: z$1.ZodNullable<z$1.ZodString>;
|
|
84
87
|
defaultProviderId: z$1.ZodNullable<z$1.ZodString>;
|
|
85
88
|
machineGitCredentialsEnabled: z$1.ZodBoolean;
|
|
@@ -321,7 +324,6 @@ declare const changedMessageSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
|
321
324
|
latestAttentionAt: z$1.ZodNumber;
|
|
322
325
|
runtime: z$1.ZodObject<{
|
|
323
326
|
displayStatus: z$1.ZodEnum<{
|
|
324
|
-
"host-reconnecting": "host-reconnecting";
|
|
325
327
|
"waiting-for-host": "waiting-for-host";
|
|
326
328
|
active: "active";
|
|
327
329
|
error: "error";
|
|
@@ -331,7 +333,6 @@ declare const changedMessageSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
|
331
333
|
starting: "starting";
|
|
332
334
|
stopping: "stopping";
|
|
333
335
|
}>;
|
|
334
|
-
hostReconnectGraceExpiresAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
335
336
|
}, z$1.core.$strip>;
|
|
336
337
|
status: z$1.ZodEnum<{
|
|
337
338
|
active: "active";
|
|
@@ -3055,11 +3056,45 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
|
|
|
3055
3056
|
}>>;
|
|
3056
3057
|
systemMessageSubject: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
3057
3058
|
kind: z$1.ZodLiteral<"thread">;
|
|
3059
|
+
outcomes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
3060
|
+
interruption: z$1.ZodOptional<z$1.ZodObject<{
|
|
3061
|
+
cause: z$1.ZodOptional<z$1.ZodLiteral<"host-connection-lost">>;
|
|
3062
|
+
reason: z$1.ZodEnum<{
|
|
3063
|
+
"host-daemon-restarted": "host-daemon-restarted";
|
|
3064
|
+
"host-removed": "host-removed";
|
|
3065
|
+
"manual-stop": "manual-stop";
|
|
3066
|
+
"provider-turn-idle": "provider-turn-idle";
|
|
3067
|
+
}>;
|
|
3068
|
+
}, z$1.core.$strip>>;
|
|
3069
|
+
status: z$1.ZodEnum<{
|
|
3070
|
+
completed: "completed";
|
|
3071
|
+
failed: "failed";
|
|
3072
|
+
interrupted: "interrupted";
|
|
3073
|
+
}>;
|
|
3074
|
+
threadId: z$1.ZodString;
|
|
3075
|
+
}, z$1.core.$strip>>>;
|
|
3058
3076
|
threadId: z$1.ZodString;
|
|
3059
3077
|
threadName: z$1.ZodString;
|
|
3060
3078
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
3061
3079
|
count: z$1.ZodNumber;
|
|
3062
3080
|
kind: z$1.ZodLiteral<"thread-batch">;
|
|
3081
|
+
outcomes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
3082
|
+
interruption: z$1.ZodOptional<z$1.ZodObject<{
|
|
3083
|
+
cause: z$1.ZodOptional<z$1.ZodLiteral<"host-connection-lost">>;
|
|
3084
|
+
reason: z$1.ZodEnum<{
|
|
3085
|
+
"host-daemon-restarted": "host-daemon-restarted";
|
|
3086
|
+
"host-removed": "host-removed";
|
|
3087
|
+
"manual-stop": "manual-stop";
|
|
3088
|
+
"provider-turn-idle": "provider-turn-idle";
|
|
3089
|
+
}>;
|
|
3090
|
+
}, z$1.core.$strip>>;
|
|
3091
|
+
status: z$1.ZodEnum<{
|
|
3092
|
+
completed: "completed";
|
|
3093
|
+
failed: "failed";
|
|
3094
|
+
interrupted: "interrupted";
|
|
3095
|
+
}>;
|
|
3096
|
+
threadId: z$1.ZodString;
|
|
3097
|
+
}, z$1.core.$strip>>>;
|
|
3063
3098
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
3064
3099
|
kind: z$1.ZodLiteral<"tool-call">;
|
|
3065
3100
|
suppress: z$1.ZodBoolean;
|
|
@@ -4222,7 +4257,6 @@ declare const threadTimelinePendingTodosSchema: z$1.ZodObject<{
|
|
|
4222
4257
|
type ThreadTimelinePendingTodos = z$1.infer<typeof threadTimelinePendingTodosSchema>;
|
|
4223
4258
|
|
|
4224
4259
|
declare const threadRuntimeDisplayStatusSchema: z$1.ZodEnum<{
|
|
4225
|
-
"host-reconnecting": "host-reconnecting";
|
|
4226
4260
|
"waiting-for-host": "waiting-for-host";
|
|
4227
4261
|
active: "active";
|
|
4228
4262
|
error: "error";
|
|
@@ -4915,7 +4949,6 @@ declare const projectWithThreadsResponseSchema: z$1.ZodObject<{
|
|
|
4915
4949
|
}>;
|
|
4916
4950
|
runtime: z$1.ZodObject<{
|
|
4917
4951
|
displayStatus: z$1.ZodEnum<{
|
|
4918
|
-
"host-reconnecting": "host-reconnecting";
|
|
4919
4952
|
"waiting-for-host": "waiting-for-host";
|
|
4920
4953
|
active: "active";
|
|
4921
4954
|
error: "error";
|
|
@@ -4925,7 +4958,6 @@ declare const projectWithThreadsResponseSchema: z$1.ZodObject<{
|
|
|
4925
4958
|
starting: "starting";
|
|
4926
4959
|
stopping: "stopping";
|
|
4927
4960
|
}>;
|
|
4928
|
-
hostReconnectGraceExpiresAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
4929
4961
|
}, z$1.core.$strip>;
|
|
4930
4962
|
sectionId: z$1.ZodNullable<z$1.ZodString>;
|
|
4931
4963
|
sourceThreadId: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -5035,7 +5067,6 @@ declare const sidebarBootstrapResponseSchema: z$1.ZodObject<{
|
|
|
5035
5067
|
}>;
|
|
5036
5068
|
runtime: z$1.ZodObject<{
|
|
5037
5069
|
displayStatus: z$1.ZodEnum<{
|
|
5038
|
-
"host-reconnecting": "host-reconnecting";
|
|
5039
5070
|
"waiting-for-host": "waiting-for-host";
|
|
5040
5071
|
active: "active";
|
|
5041
5072
|
error: "error";
|
|
@@ -5045,7 +5076,6 @@ declare const sidebarBootstrapResponseSchema: z$1.ZodObject<{
|
|
|
5045
5076
|
starting: "starting";
|
|
5046
5077
|
stopping: "stopping";
|
|
5047
5078
|
}>;
|
|
5048
|
-
hostReconnectGraceExpiresAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
5049
5079
|
}, z$1.core.$strip>;
|
|
5050
5080
|
sectionId: z$1.ZodNullable<z$1.ZodString>;
|
|
5051
5081
|
sourceThreadId: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -5153,7 +5183,6 @@ declare const sidebarBootstrapResponseSchema: z$1.ZodObject<{
|
|
|
5153
5183
|
}>;
|
|
5154
5184
|
runtime: z$1.ZodObject<{
|
|
5155
5185
|
displayStatus: z$1.ZodEnum<{
|
|
5156
|
-
"host-reconnecting": "host-reconnecting";
|
|
5157
5186
|
"waiting-for-host": "waiting-for-host";
|
|
5158
5187
|
active: "active";
|
|
5159
5188
|
error: "error";
|
|
@@ -5163,7 +5192,6 @@ declare const sidebarBootstrapResponseSchema: z$1.ZodObject<{
|
|
|
5163
5192
|
starting: "starting";
|
|
5164
5193
|
stopping: "stopping";
|
|
5165
5194
|
}>;
|
|
5166
|
-
hostReconnectGraceExpiresAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
5167
5195
|
}, z$1.core.$strip>;
|
|
5168
5196
|
sectionId: z$1.ZodNullable<z$1.ZodString>;
|
|
5169
5197
|
sourceThreadId: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -10192,6 +10220,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
10192
10220
|
timelineWindowEventBudget: z$1.ZodNumber;
|
|
10193
10221
|
}, z$1.core.$strip>;
|
|
10194
10222
|
generalSettings: z$1.ZodObject<{
|
|
10223
|
+
allowFastServiceTier: z$1.ZodBoolean;
|
|
10195
10224
|
defaultMachineAccess: z$1.ZodNullable<z$1.ZodString>;
|
|
10196
10225
|
defaultProviderId: z$1.ZodNullable<z$1.ZodString>;
|
|
10197
10226
|
machineGitCredentialsEnabled: z$1.ZodBoolean;
|
|
@@ -10923,11 +10952,45 @@ declare const timelineConversationRowSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodO
|
|
|
10923
10952
|
}>;
|
|
10924
10953
|
systemMessageSubject: z$1.ZodNullable<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
10925
10954
|
kind: z$1.ZodLiteral<"thread">;
|
|
10955
|
+
outcomes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
10956
|
+
interruption: z$1.ZodOptional<z$1.ZodObject<{
|
|
10957
|
+
cause: z$1.ZodOptional<z$1.ZodLiteral<"host-connection-lost">>;
|
|
10958
|
+
reason: z$1.ZodEnum<{
|
|
10959
|
+
"host-daemon-restarted": "host-daemon-restarted";
|
|
10960
|
+
"host-removed": "host-removed";
|
|
10961
|
+
"manual-stop": "manual-stop";
|
|
10962
|
+
"provider-turn-idle": "provider-turn-idle";
|
|
10963
|
+
}>;
|
|
10964
|
+
}, z$1.core.$strip>>;
|
|
10965
|
+
status: z$1.ZodEnum<{
|
|
10966
|
+
completed: "completed";
|
|
10967
|
+
failed: "failed";
|
|
10968
|
+
interrupted: "interrupted";
|
|
10969
|
+
}>;
|
|
10970
|
+
threadId: z$1.ZodString;
|
|
10971
|
+
}, z$1.core.$strip>>>;
|
|
10926
10972
|
threadId: z$1.ZodString;
|
|
10927
10973
|
threadName: z$1.ZodString;
|
|
10928
10974
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
10929
10975
|
count: z$1.ZodNumber;
|
|
10930
10976
|
kind: z$1.ZodLiteral<"thread-batch">;
|
|
10977
|
+
outcomes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
10978
|
+
interruption: z$1.ZodOptional<z$1.ZodObject<{
|
|
10979
|
+
cause: z$1.ZodOptional<z$1.ZodLiteral<"host-connection-lost">>;
|
|
10980
|
+
reason: z$1.ZodEnum<{
|
|
10981
|
+
"host-daemon-restarted": "host-daemon-restarted";
|
|
10982
|
+
"host-removed": "host-removed";
|
|
10983
|
+
"manual-stop": "manual-stop";
|
|
10984
|
+
"provider-turn-idle": "provider-turn-idle";
|
|
10985
|
+
}>;
|
|
10986
|
+
}, z$1.core.$strip>>;
|
|
10987
|
+
status: z$1.ZodEnum<{
|
|
10988
|
+
completed: "completed";
|
|
10989
|
+
failed: "failed";
|
|
10990
|
+
interrupted: "interrupted";
|
|
10991
|
+
}>;
|
|
10992
|
+
threadId: z$1.ZodString;
|
|
10993
|
+
}, z$1.core.$strip>>>;
|
|
10931
10994
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
10932
10995
|
kind: z$1.ZodLiteral<"tool-call">;
|
|
10933
10996
|
suppress: z$1.ZodBoolean;
|
|
@@ -13304,7 +13367,6 @@ declare const threadListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
13304
13367
|
}>;
|
|
13305
13368
|
runtime: z$1.ZodObject<{
|
|
13306
13369
|
displayStatus: z$1.ZodEnum<{
|
|
13307
|
-
"host-reconnecting": "host-reconnecting";
|
|
13308
13370
|
"waiting-for-host": "waiting-for-host";
|
|
13309
13371
|
active: "active";
|
|
13310
13372
|
error: "error";
|
|
@@ -13314,7 +13376,6 @@ declare const threadListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
13314
13376
|
starting: "starting";
|
|
13315
13377
|
stopping: "stopping";
|
|
13316
13378
|
}>;
|
|
13317
|
-
hostReconnectGraceExpiresAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
13318
13379
|
}, z$1.core.$strip>;
|
|
13319
13380
|
sectionId: z$1.ZodNullable<z$1.ZodString>;
|
|
13320
13381
|
sourceThreadId: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -13407,7 +13468,6 @@ declare const threadSearchResponseSchema: z$1.ZodObject<{
|
|
|
13407
13468
|
}>;
|
|
13408
13469
|
runtime: z$1.ZodObject<{
|
|
13409
13470
|
displayStatus: z$1.ZodEnum<{
|
|
13410
|
-
"host-reconnecting": "host-reconnecting";
|
|
13411
13471
|
"waiting-for-host": "waiting-for-host";
|
|
13412
13472
|
active: "active";
|
|
13413
13473
|
error: "error";
|
|
@@ -13417,7 +13477,6 @@ declare const threadSearchResponseSchema: z$1.ZodObject<{
|
|
|
13417
13477
|
starting: "starting";
|
|
13418
13478
|
stopping: "stopping";
|
|
13419
13479
|
}>;
|
|
13420
|
-
hostReconnectGraceExpiresAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
13421
13480
|
}, z$1.core.$strip>;
|
|
13422
13481
|
sectionId: z$1.ZodNullable<z$1.ZodString>;
|
|
13423
13482
|
sourceThreadId: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -13501,7 +13560,6 @@ declare const threadSearchResponseSchema: z$1.ZodObject<{
|
|
|
13501
13560
|
}>;
|
|
13502
13561
|
runtime: z$1.ZodObject<{
|
|
13503
13562
|
displayStatus: z$1.ZodEnum<{
|
|
13504
|
-
"host-reconnecting": "host-reconnecting";
|
|
13505
13563
|
"waiting-for-host": "waiting-for-host";
|
|
13506
13564
|
active: "active";
|
|
13507
13565
|
error: "error";
|
|
@@ -13511,7 +13569,6 @@ declare const threadSearchResponseSchema: z$1.ZodObject<{
|
|
|
13511
13569
|
starting: "starting";
|
|
13512
13570
|
stopping: "stopping";
|
|
13513
13571
|
}>;
|
|
13514
|
-
hostReconnectGraceExpiresAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
13515
13572
|
}, z$1.core.$strip>;
|
|
13516
13573
|
sectionId: z$1.ZodNullable<z$1.ZodString>;
|
|
13517
13574
|
sourceThreadId: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -13559,7 +13616,6 @@ declare const threadResponseSchema: z$1.ZodObject<{
|
|
|
13559
13616
|
queuedMessageCount: z$1.ZodNumber;
|
|
13560
13617
|
runtime: z$1.ZodObject<{
|
|
13561
13618
|
displayStatus: z$1.ZodEnum<{
|
|
13562
|
-
"host-reconnecting": "host-reconnecting";
|
|
13563
13619
|
"waiting-for-host": "waiting-for-host";
|
|
13564
13620
|
active: "active";
|
|
13565
13621
|
error: "error";
|
|
@@ -13569,7 +13625,6 @@ declare const threadResponseSchema: z$1.ZodObject<{
|
|
|
13569
13625
|
starting: "starting";
|
|
13570
13626
|
stopping: "stopping";
|
|
13571
13627
|
}>;
|
|
13572
|
-
hostReconnectGraceExpiresAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
13573
13628
|
}, z$1.core.$strip>;
|
|
13574
13629
|
sectionId: z$1.ZodNullable<z$1.ZodString>;
|
|
13575
13630
|
sourceThreadId: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -13728,7 +13783,6 @@ declare const threadWithIncludesResponseSchema: z$1.ZodObject<{
|
|
|
13728
13783
|
queuedMessageCount: z$1.ZodNumber;
|
|
13729
13784
|
runtime: z$1.ZodObject<{
|
|
13730
13785
|
displayStatus: z$1.ZodEnum<{
|
|
13731
|
-
"host-reconnecting": "host-reconnecting";
|
|
13732
13786
|
"waiting-for-host": "waiting-for-host";
|
|
13733
13787
|
active: "active";
|
|
13734
13788
|
error: "error";
|
|
@@ -13738,7 +13792,6 @@ declare const threadWithIncludesResponseSchema: z$1.ZodObject<{
|
|
|
13738
13792
|
starting: "starting";
|
|
13739
13793
|
stopping: "stopping";
|
|
13740
13794
|
}>;
|
|
13741
|
-
hostReconnectGraceExpiresAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
13742
13795
|
}, z$1.core.$strip>;
|
|
13743
13796
|
sectionId: z$1.ZodNullable<z$1.ZodString>;
|
|
13744
13797
|
sourceThreadId: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -14201,6 +14254,7 @@ declare const threadQueuedMessageListResponseSchema: z$1.ZodArray<z$1.ZodObject<
|
|
|
14201
14254
|
type ThreadQueuedMessageListResponse = z$1.infer<typeof threadQueuedMessageListResponseSchema>;
|
|
14202
14255
|
declare const threadChildSummaryResponseSchema: z$1.ZodObject<{
|
|
14203
14256
|
nonDeletedChildCount: z$1.ZodNumber;
|
|
14257
|
+
unarchivedDescendantCount: z$1.ZodNumber;
|
|
14204
14258
|
}, z$1.core.$strip>;
|
|
14205
14259
|
type ThreadChildSummaryResponse = z$1.infer<typeof threadChildSummaryResponseSchema>;
|
|
14206
14260
|
declare const deleteThreadRequestSchema: z$1.ZodObject<{
|
|
@@ -17907,9 +17961,9 @@ interface PluginSidebarThread {
|
|
|
17907
17961
|
*/
|
|
17908
17962
|
status: ThreadStatus;
|
|
17909
17963
|
/**
|
|
17910
|
-
* `status` refined by host and environment state: adds "provisioning"
|
|
17911
|
-
* "
|
|
17912
|
-
*
|
|
17964
|
+
* `status` refined by host and environment state: adds "provisioning" and
|
|
17965
|
+
* "waiting-for-host" for a thread whose machine is not ready. Treat an
|
|
17966
|
+
* unknown value as `status`.
|
|
17913
17967
|
*/
|
|
17914
17968
|
runtimeStatus: ThreadRuntimeDisplayStatus;
|
|
17915
17969
|
/**
|
|
@@ -1717,15 +1717,31 @@ var systemMessageKindValues = [
|
|
|
1717
1717
|
"unlabeled"
|
|
1718
1718
|
];
|
|
1719
1719
|
var systemMessageKindSchema = z12.enum(systemMessageKindValues);
|
|
1720
|
+
var systemThreadInterruptedReasonSchema = z12.enum([
|
|
1721
|
+
"manual-stop",
|
|
1722
|
+
"host-daemon-restarted",
|
|
1723
|
+
"host-removed",
|
|
1724
|
+
"provider-turn-idle"
|
|
1725
|
+
]);
|
|
1726
|
+
var childThreadOutcomeSchema = z12.object({
|
|
1727
|
+
threadId: z12.string(),
|
|
1728
|
+
status: z12.enum(["completed", "failed", "interrupted"]),
|
|
1729
|
+
interruption: z12.object({
|
|
1730
|
+
reason: systemThreadInterruptedReasonSchema,
|
|
1731
|
+
cause: z12.literal("host-connection-lost").optional()
|
|
1732
|
+
}).optional()
|
|
1733
|
+
});
|
|
1720
1734
|
var systemMessageSubjectSchema = z12.discriminatedUnion("kind", [
|
|
1721
1735
|
z12.object({
|
|
1722
1736
|
kind: z12.literal("thread"),
|
|
1723
1737
|
threadId: z12.string(),
|
|
1724
|
-
threadName: z12.string()
|
|
1738
|
+
threadName: z12.string(),
|
|
1739
|
+
outcomes: z12.array(childThreadOutcomeSchema).optional()
|
|
1725
1740
|
}),
|
|
1726
1741
|
z12.object({
|
|
1727
1742
|
kind: z12.literal("thread-batch"),
|
|
1728
|
-
count: z12.number()
|
|
1743
|
+
count: z12.number(),
|
|
1744
|
+
outcomes: z12.array(childThreadOutcomeSchema).optional()
|
|
1729
1745
|
}),
|
|
1730
1746
|
z12.object({
|
|
1731
1747
|
kind: z12.literal("tool-call"),
|
|
@@ -1873,15 +1889,6 @@ var systemUserQuestionLifecycleEventDataSchema = z13.object({
|
|
|
1873
1889
|
statusReason: z13.string().nullable().default(null),
|
|
1874
1890
|
payload: userQuestionPendingInteractionPayloadSchema
|
|
1875
1891
|
});
|
|
1876
|
-
var systemThreadInterruptedReasonValues = [
|
|
1877
|
-
"manual-stop",
|
|
1878
|
-
"host-daemon-restarted",
|
|
1879
|
-
"host-removed",
|
|
1880
|
-
"provider-turn-idle"
|
|
1881
|
-
];
|
|
1882
|
-
var systemThreadInterruptedReasonSchema = z13.enum(
|
|
1883
|
-
systemThreadInterruptedReasonValues
|
|
1884
|
-
);
|
|
1885
1892
|
var systemThreadInterruptedEventDataSchema = z13.object({
|
|
1886
1893
|
reason: systemThreadInterruptedReasonSchema,
|
|
1887
1894
|
cause: z13.literal("host-connection-lost").optional()
|
|
@@ -9065,7 +9072,10 @@ async function loadSessionDiscoveredModels(agent, reasoningProbePriorityModelIds
|
|
|
9065
9072
|
modelOption,
|
|
9066
9073
|
reasoningProbePriorityModelIds
|
|
9067
9074
|
});
|
|
9068
|
-
const models =
|
|
9075
|
+
const models = buildModelCatalogFromConfigOptions(
|
|
9076
|
+
modelOption,
|
|
9077
|
+
reasoningByModel
|
|
9078
|
+
);
|
|
9069
9079
|
cachedSessionDiscoveredModels = {
|
|
9070
9080
|
key,
|
|
9071
9081
|
models,
|
|
@@ -9088,7 +9098,7 @@ async function loadSessionDiscoveredModels(agent, reasoningProbePriorityModelIds
|
|
|
9088
9098
|
async function discoverAcpNativeReasoningByModel(args) {
|
|
9089
9099
|
const modelOptions = args.modelOption?.options ?? [];
|
|
9090
9100
|
if (!args.modelOption || modelOptions.length === 0) {
|
|
9091
|
-
return
|
|
9101
|
+
return /* @__PURE__ */ new Map();
|
|
9092
9102
|
}
|
|
9093
9103
|
const modelOption = args.modelOption;
|
|
9094
9104
|
const modelByValue = new Map(
|
|
@@ -9109,9 +9119,11 @@ async function discoverAcpNativeReasoningByModel(args) {
|
|
|
9109
9119
|
}
|
|
9110
9120
|
}
|
|
9111
9121
|
const supportByModel = /* @__PURE__ */ new Map();
|
|
9122
|
+
let timedOut = false;
|
|
9112
9123
|
let timeout;
|
|
9113
9124
|
const timeoutReached = new Promise((resolve4) => {
|
|
9114
9125
|
timeout = setTimeout(() => {
|
|
9126
|
+
timedOut = true;
|
|
9115
9127
|
args.connection.kill();
|
|
9116
9128
|
resolve4(supportByModel);
|
|
9117
9129
|
}, ACP_NATIVE_REASONING_DISCOVERY_TIMEOUT_MS);
|
|
@@ -9120,28 +9132,36 @@ async function discoverAcpNativeReasoningByModel(args) {
|
|
|
9120
9132
|
return await Promise.race([
|
|
9121
9133
|
(async () => {
|
|
9122
9134
|
for (const model of modelsToProbe) {
|
|
9123
|
-
|
|
9124
|
-
|
|
9125
|
-
|
|
9126
|
-
|
|
9127
|
-
|
|
9128
|
-
|
|
9129
|
-
|
|
9130
|
-
|
|
9131
|
-
|
|
9132
|
-
|
|
9133
|
-
|
|
9134
|
-
|
|
9135
|
-
|
|
9136
|
-
|
|
9137
|
-
|
|
9135
|
+
try {
|
|
9136
|
+
const configState = await args.connection.request({
|
|
9137
|
+
method: "session/set_config_option",
|
|
9138
|
+
params: {
|
|
9139
|
+
sessionId: args.sessionId,
|
|
9140
|
+
configId: modelOption.id,
|
|
9141
|
+
value: model.value
|
|
9142
|
+
},
|
|
9143
|
+
resultSchema: acpConfigStateResultSchema
|
|
9144
|
+
});
|
|
9145
|
+
supportByModel.set(
|
|
9146
|
+
model.value,
|
|
9147
|
+
buildAcpNativeReasoningSupport(
|
|
9148
|
+
findAcpThoughtLevelConfigOption(configState.configOptions)
|
|
9149
|
+
)
|
|
9150
|
+
);
|
|
9151
|
+
} catch (error) {
|
|
9152
|
+
if (timedOut) {
|
|
9153
|
+
break;
|
|
9154
|
+
}
|
|
9155
|
+
process.stderr.write(
|
|
9156
|
+
`acp bridge: ACP-native reasoning discovery for model "${model.value}" failed: ${error instanceof Error ? error.message : String(error)}
|
|
9157
|
+
`
|
|
9158
|
+
);
|
|
9159
|
+
}
|
|
9138
9160
|
}
|
|
9139
9161
|
return supportByModel;
|
|
9140
9162
|
})(),
|
|
9141
9163
|
timeoutReached
|
|
9142
9164
|
]);
|
|
9143
|
-
} catch {
|
|
9144
|
-
return supportByModel.size > 0 ? supportByModel : null;
|
|
9145
9165
|
} finally {
|
|
9146
9166
|
if (timeout !== void 0) {
|
|
9147
9167
|
clearTimeout(timeout);
|
|
@@ -806,15 +806,31 @@ var systemMessageKindValues = [
|
|
|
806
806
|
"unlabeled"
|
|
807
807
|
];
|
|
808
808
|
var systemMessageKindSchema = z10.enum(systemMessageKindValues);
|
|
809
|
+
var systemThreadInterruptedReasonSchema = z10.enum([
|
|
810
|
+
"manual-stop",
|
|
811
|
+
"host-daemon-restarted",
|
|
812
|
+
"host-removed",
|
|
813
|
+
"provider-turn-idle"
|
|
814
|
+
]);
|
|
815
|
+
var childThreadOutcomeSchema = z10.object({
|
|
816
|
+
threadId: z10.string(),
|
|
817
|
+
status: z10.enum(["completed", "failed", "interrupted"]),
|
|
818
|
+
interruption: z10.object({
|
|
819
|
+
reason: systemThreadInterruptedReasonSchema,
|
|
820
|
+
cause: z10.literal("host-connection-lost").optional()
|
|
821
|
+
}).optional()
|
|
822
|
+
});
|
|
809
823
|
var systemMessageSubjectSchema = z10.discriminatedUnion("kind", [
|
|
810
824
|
z10.object({
|
|
811
825
|
kind: z10.literal("thread"),
|
|
812
826
|
threadId: z10.string(),
|
|
813
|
-
threadName: z10.string()
|
|
827
|
+
threadName: z10.string(),
|
|
828
|
+
outcomes: z10.array(childThreadOutcomeSchema).optional()
|
|
814
829
|
}),
|
|
815
830
|
z10.object({
|
|
816
831
|
kind: z10.literal("thread-batch"),
|
|
817
|
-
count: z10.number()
|
|
832
|
+
count: z10.number(),
|
|
833
|
+
outcomes: z10.array(childThreadOutcomeSchema).optional()
|
|
818
834
|
}),
|
|
819
835
|
z10.object({
|
|
820
836
|
kind: z10.literal("tool-call"),
|
|
@@ -962,15 +978,6 @@ var systemUserQuestionLifecycleEventDataSchema = z11.object({
|
|
|
962
978
|
statusReason: z11.string().nullable().default(null),
|
|
963
979
|
payload: userQuestionPendingInteractionPayloadSchema
|
|
964
980
|
});
|
|
965
|
-
var systemThreadInterruptedReasonValues = [
|
|
966
|
-
"manual-stop",
|
|
967
|
-
"host-daemon-restarted",
|
|
968
|
-
"host-removed",
|
|
969
|
-
"provider-turn-idle"
|
|
970
|
-
];
|
|
971
|
-
var systemThreadInterruptedReasonSchema = z11.enum(
|
|
972
|
-
systemThreadInterruptedReasonValues
|
|
973
|
-
);
|
|
974
981
|
var systemThreadInterruptedEventDataSchema = z11.object({
|
|
975
982
|
reason: systemThreadInterruptedReasonSchema,
|
|
976
983
|
cause: z11.literal("host-connection-lost").optional()
|
package/dist/provider-bridge.js
CHANGED
|
@@ -2244,15 +2244,31 @@ var systemMessageKindValues = [
|
|
|
2244
2244
|
"unlabeled"
|
|
2245
2245
|
];
|
|
2246
2246
|
var systemMessageKindSchema = z14.enum(systemMessageKindValues);
|
|
2247
|
+
var systemThreadInterruptedReasonSchema = z14.enum([
|
|
2248
|
+
"manual-stop",
|
|
2249
|
+
"host-daemon-restarted",
|
|
2250
|
+
"host-removed",
|
|
2251
|
+
"provider-turn-idle"
|
|
2252
|
+
]);
|
|
2253
|
+
var childThreadOutcomeSchema = z14.object({
|
|
2254
|
+
threadId: z14.string(),
|
|
2255
|
+
status: z14.enum(["completed", "failed", "interrupted"]),
|
|
2256
|
+
interruption: z14.object({
|
|
2257
|
+
reason: systemThreadInterruptedReasonSchema,
|
|
2258
|
+
cause: z14.literal("host-connection-lost").optional()
|
|
2259
|
+
}).optional()
|
|
2260
|
+
});
|
|
2247
2261
|
var systemMessageSubjectSchema = z14.discriminatedUnion("kind", [
|
|
2248
2262
|
z14.object({
|
|
2249
2263
|
kind: z14.literal("thread"),
|
|
2250
2264
|
threadId: z14.string(),
|
|
2251
|
-
threadName: z14.string()
|
|
2265
|
+
threadName: z14.string(),
|
|
2266
|
+
outcomes: z14.array(childThreadOutcomeSchema).optional()
|
|
2252
2267
|
}),
|
|
2253
2268
|
z14.object({
|
|
2254
2269
|
kind: z14.literal("thread-batch"),
|
|
2255
|
-
count: z14.number()
|
|
2270
|
+
count: z14.number(),
|
|
2271
|
+
outcomes: z14.array(childThreadOutcomeSchema).optional()
|
|
2256
2272
|
}),
|
|
2257
2273
|
z14.object({
|
|
2258
2274
|
kind: z14.literal("tool-call"),
|
|
@@ -2400,15 +2416,6 @@ var systemUserQuestionLifecycleEventDataSchema = z15.object({
|
|
|
2400
2416
|
statusReason: z15.string().nullable().default(null),
|
|
2401
2417
|
payload: userQuestionPendingInteractionPayloadSchema
|
|
2402
2418
|
});
|
|
2403
|
-
var systemThreadInterruptedReasonValues = [
|
|
2404
|
-
"manual-stop",
|
|
2405
|
-
"host-daemon-restarted",
|
|
2406
|
-
"host-removed",
|
|
2407
|
-
"provider-turn-idle"
|
|
2408
|
-
];
|
|
2409
|
-
var systemThreadInterruptedReasonSchema = z15.enum(
|
|
2410
|
-
systemThreadInterruptedReasonValues
|
|
2411
|
-
);
|
|
2412
2419
|
var systemThreadInterruptedEventDataSchema = z15.object({
|
|
2413
2420
|
reason: systemThreadInterruptedReasonSchema,
|
|
2414
2421
|
cause: z15.literal("host-connection-lost").optional()
|
package/dist/testing/index.js
CHANGED
|
@@ -4258,7 +4258,7 @@ function makeThreadResponse(overrides = {}) {
|
|
|
4258
4258
|
latestAttentionAt: 0,
|
|
4259
4259
|
createdAt: 0,
|
|
4260
4260
|
updatedAt: 0,
|
|
4261
|
-
runtime: { displayStatus: "idle"
|
|
4261
|
+
runtime: { displayStatus: "idle" },
|
|
4262
4262
|
activeBackgroundAgentCount: 0,
|
|
4263
4263
|
canRestoreEnvironment: false,
|
|
4264
4264
|
canSpawnChild: true,
|