@get-bb/plugin-sdk 0.6.133 → 0.6.138
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 +278 -9
- package/bundled-types/bb-plugin-sdk.d.ts +278 -9
- package/dist/internal/host-policy.js +39 -37
- package/dist/internal/rpc-query-host.js +2 -1
- package/dist/provider-bridge-acp-next.js +44 -15
- package/dist/provider-bridge-acp.js +44 -15
- package/dist/testing/app.js +2 -1
- package/dist/testing/index.js +39 -37
- package/package.json +3 -2
|
@@ -496,6 +496,7 @@ declare const changedMessageSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
|
496
496
|
changes: z$1.ZodReadonly<z$1.ZodArray<z$1.ZodEnum<{
|
|
497
497
|
"host-connected": "host-connected";
|
|
498
498
|
"host-disconnected": "host-disconnected";
|
|
499
|
+
"provider-cli-install-jobs-changed": "provider-cli-install-jobs-changed";
|
|
499
500
|
"provider-cli-status-changed": "provider-cli-status-changed";
|
|
500
501
|
"provider-commands-changed": "provider-commands-changed";
|
|
501
502
|
"provider-model-catalog-changed": "provider-model-catalog-changed";
|
|
@@ -607,9 +608,9 @@ declare const environmentSchema: z$1.ZodObject<{
|
|
|
607
608
|
type Environment = z$1.infer<typeof environmentSchema>;
|
|
608
609
|
|
|
609
610
|
declare const experimentsSchema: z$1.ZodRecord<z$1.ZodEnum<{
|
|
611
|
+
agentCpuPriority: "agentCpuPriority";
|
|
610
612
|
compactExpiredCache: "compactExpiredCache";
|
|
611
613
|
dismissReadNotifications: "dismissReadNotifications";
|
|
612
|
-
narrowPluginCss: "narrowPluginCss";
|
|
613
614
|
performanceDiagnostics: "performanceDiagnostics";
|
|
614
615
|
pluginUpdates: "pluginUpdates";
|
|
615
616
|
resumeThreadsAfterRestart: "resumeThreadsAfterRestart";
|
|
@@ -618,12 +619,13 @@ declare const experimentsSchema: z$1.ZodRecord<z$1.ZodEnum<{
|
|
|
618
619
|
threadContextCard: "threadContextCard";
|
|
619
620
|
threadRowMetadata: "threadRowMetadata";
|
|
620
621
|
updateWhenIdle: "updateWhenIdle";
|
|
622
|
+
walCheckpointWorker: "walCheckpointWorker";
|
|
621
623
|
}>, z$1.ZodBoolean>;
|
|
622
624
|
type Experiments = z$1.infer<typeof experimentsSchema>;
|
|
623
625
|
declare const experimentUpdatesSchema: z$1.ZodRecord<z$1.ZodEnum<{
|
|
626
|
+
agentCpuPriority: "agentCpuPriority";
|
|
624
627
|
compactExpiredCache: "compactExpiredCache";
|
|
625
628
|
dismissReadNotifications: "dismissReadNotifications";
|
|
626
|
-
narrowPluginCss: "narrowPluginCss";
|
|
627
629
|
performanceDiagnostics: "performanceDiagnostics";
|
|
628
630
|
pluginUpdates: "pluginUpdates";
|
|
629
631
|
resumeThreadsAfterRestart: "resumeThreadsAfterRestart";
|
|
@@ -632,6 +634,7 @@ declare const experimentUpdatesSchema: z$1.ZodRecord<z$1.ZodEnum<{
|
|
|
632
634
|
threadContextCard: "threadContextCard";
|
|
633
635
|
threadRowMetadata: "threadRowMetadata";
|
|
634
636
|
updateWhenIdle: "updateWhenIdle";
|
|
637
|
+
walCheckpointWorker: "walCheckpointWorker";
|
|
635
638
|
}> & z$1.core.$partial, z$1.ZodBoolean>;
|
|
636
639
|
type ExperimentUpdates = z$1.infer<typeof experimentUpdatesSchema>;
|
|
637
640
|
|
|
@@ -8702,6 +8705,64 @@ type HostPickFolderResponse = PickFolderResponse;
|
|
|
8702
8705
|
type HostProviderCliStatusResponse = ProviderCliStatusResponse;
|
|
8703
8706
|
type HostProviderCliInstallRequest = ProviderCliInstallRequest;
|
|
8704
8707
|
type HostProviderCliInstallEvent = ProviderCliInstallEvent;
|
|
8708
|
+
declare const hostProviderCliInstallJobSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
8709
|
+
actionKind: z$1.ZodEnum<{
|
|
8710
|
+
install: "install";
|
|
8711
|
+
update: "update";
|
|
8712
|
+
}>;
|
|
8713
|
+
hostId: z$1.ZodString;
|
|
8714
|
+
id: z$1.ZodString;
|
|
8715
|
+
provider: z$1.ZodString;
|
|
8716
|
+
startedAt: z$1.ZodNumber;
|
|
8717
|
+
state: z$1.ZodLiteral<"running">;
|
|
8718
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
8719
|
+
actionKind: z$1.ZodEnum<{
|
|
8720
|
+
install: "install";
|
|
8721
|
+
update: "update";
|
|
8722
|
+
}>;
|
|
8723
|
+
events: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
8724
|
+
command: z$1.ZodString;
|
|
8725
|
+
provider: z$1.ZodString;
|
|
8726
|
+
type: z$1.ZodLiteral<"started">;
|
|
8727
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
8728
|
+
provider: z$1.ZodString;
|
|
8729
|
+
stream: z$1.ZodEnum<{
|
|
8730
|
+
stderr: "stderr";
|
|
8731
|
+
stdout: "stdout";
|
|
8732
|
+
}>;
|
|
8733
|
+
text: z$1.ZodString;
|
|
8734
|
+
type: z$1.ZodLiteral<"output">;
|
|
8735
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
8736
|
+
exitCode: z$1.ZodNullable<z$1.ZodNumber>;
|
|
8737
|
+
provider: z$1.ZodString;
|
|
8738
|
+
signal: z$1.ZodNullable<z$1.ZodString>;
|
|
8739
|
+
success: z$1.ZodBoolean;
|
|
8740
|
+
type: z$1.ZodLiteral<"completed">;
|
|
8741
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
8742
|
+
message: z$1.ZodString;
|
|
8743
|
+
provider: z$1.ZodString;
|
|
8744
|
+
type: z$1.ZodLiteral<"error">;
|
|
8745
|
+
}, z$1.core.$strip>], "type">>;
|
|
8746
|
+
finishedAt: z$1.ZodNumber;
|
|
8747
|
+
hostId: z$1.ZodString;
|
|
8748
|
+
id: z$1.ZodString;
|
|
8749
|
+
provider: z$1.ZodString;
|
|
8750
|
+
startedAt: z$1.ZodNumber;
|
|
8751
|
+
state: z$1.ZodLiteral<"completed">;
|
|
8752
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
8753
|
+
actionKind: z$1.ZodEnum<{
|
|
8754
|
+
install: "install";
|
|
8755
|
+
update: "update";
|
|
8756
|
+
}>;
|
|
8757
|
+
error: z$1.ZodString;
|
|
8758
|
+
finishedAt: z$1.ZodNumber;
|
|
8759
|
+
hostId: z$1.ZodString;
|
|
8760
|
+
id: z$1.ZodString;
|
|
8761
|
+
provider: z$1.ZodString;
|
|
8762
|
+
startedAt: z$1.ZodNumber;
|
|
8763
|
+
state: z$1.ZodLiteral<"failed">;
|
|
8764
|
+
}, z$1.core.$strip>], "state">;
|
|
8765
|
+
type HostProviderCliInstallJob = z$1.infer<typeof hostProviderCliInstallJobSchema>;
|
|
8705
8766
|
|
|
8706
8767
|
declare const pluginUpdateCheckEntrySchema: z$1.ZodObject<{
|
|
8707
8768
|
blocked: z$1.ZodOptional<z$1.ZodObject<{
|
|
@@ -8729,6 +8790,21 @@ declare const pluginUpdateCheckEntrySchema: z$1.ZodObject<{
|
|
|
8729
8790
|
pinned: "pinned";
|
|
8730
8791
|
unavailable: "unavailable";
|
|
8731
8792
|
}>;
|
|
8793
|
+
rangeUpgrade: z$1.ZodOptional<z$1.ZodObject<{
|
|
8794
|
+
basis: z$1.ZodEnum<{
|
|
8795
|
+
catalog: "catalog";
|
|
8796
|
+
release: "release";
|
|
8797
|
+
}>;
|
|
8798
|
+
breaking: z$1.ZodBoolean;
|
|
8799
|
+
candidate: z$1.ZodObject<{
|
|
8800
|
+
display: z$1.ZodString;
|
|
8801
|
+
label: z$1.ZodString;
|
|
8802
|
+
version: z$1.ZodString;
|
|
8803
|
+
}, z$1.core.$strip>;
|
|
8804
|
+
currentRange: z$1.ZodString;
|
|
8805
|
+
range: z$1.ZodString;
|
|
8806
|
+
reasons: z$1.ZodArray<z$1.ZodString>;
|
|
8807
|
+
}, z$1.core.$strip>>;
|
|
8732
8808
|
}, z$1.core.$strip>;
|
|
8733
8809
|
type PluginUpdateCheckEntry = z$1.infer<typeof pluginUpdateCheckEntrySchema>;
|
|
8734
8810
|
declare const pluginApplyUpdateResultSchema: z$1.ZodObject<{
|
|
@@ -8938,6 +9014,21 @@ declare const installedPluginSchema: z$1.ZodObject<{
|
|
|
8938
9014
|
pinned: "pinned";
|
|
8939
9015
|
unavailable: "unavailable";
|
|
8940
9016
|
}>>;
|
|
9017
|
+
rangeUpgrade: z$1.ZodOptional<z$1.ZodObject<{
|
|
9018
|
+
basis: z$1.ZodEnum<{
|
|
9019
|
+
catalog: "catalog";
|
|
9020
|
+
release: "release";
|
|
9021
|
+
}>;
|
|
9022
|
+
breaking: z$1.ZodBoolean;
|
|
9023
|
+
candidate: z$1.ZodObject<{
|
|
9024
|
+
display: z$1.ZodString;
|
|
9025
|
+
label: z$1.ZodString;
|
|
9026
|
+
version: z$1.ZodString;
|
|
9027
|
+
}, z$1.core.$strip>;
|
|
9028
|
+
currentRange: z$1.ZodString;
|
|
9029
|
+
range: z$1.ZodString;
|
|
9030
|
+
reasons: z$1.ZodArray<z$1.ZodString>;
|
|
9031
|
+
}, z$1.core.$strip>>;
|
|
8941
9032
|
}, z$1.core.$strip>;
|
|
8942
9033
|
updatedAt: z$1.ZodOptional<z$1.ZodISODateTime>;
|
|
8943
9034
|
version: z$1.ZodString;
|
|
@@ -9063,6 +9154,21 @@ declare const pluginListResponseSchema: z$1.ZodObject<{
|
|
|
9063
9154
|
pinned: "pinned";
|
|
9064
9155
|
unavailable: "unavailable";
|
|
9065
9156
|
}>>;
|
|
9157
|
+
rangeUpgrade: z$1.ZodOptional<z$1.ZodObject<{
|
|
9158
|
+
basis: z$1.ZodEnum<{
|
|
9159
|
+
catalog: "catalog";
|
|
9160
|
+
release: "release";
|
|
9161
|
+
}>;
|
|
9162
|
+
breaking: z$1.ZodBoolean;
|
|
9163
|
+
candidate: z$1.ZodObject<{
|
|
9164
|
+
display: z$1.ZodString;
|
|
9165
|
+
label: z$1.ZodString;
|
|
9166
|
+
version: z$1.ZodString;
|
|
9167
|
+
}, z$1.core.$strip>;
|
|
9168
|
+
currentRange: z$1.ZodString;
|
|
9169
|
+
range: z$1.ZodString;
|
|
9170
|
+
reasons: z$1.ZodArray<z$1.ZodString>;
|
|
9171
|
+
}, z$1.core.$strip>>;
|
|
9066
9172
|
}, z$1.core.$strip>;
|
|
9067
9173
|
updatedAt: z$1.ZodOptional<z$1.ZodISODateTime>;
|
|
9068
9174
|
version: z$1.ZodString;
|
|
@@ -9254,6 +9360,21 @@ declare const pluginInstallJobSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
|
9254
9360
|
pinned: "pinned";
|
|
9255
9361
|
unavailable: "unavailable";
|
|
9256
9362
|
}>>;
|
|
9363
|
+
rangeUpgrade: z$1.ZodOptional<z$1.ZodObject<{
|
|
9364
|
+
basis: z$1.ZodEnum<{
|
|
9365
|
+
catalog: "catalog";
|
|
9366
|
+
release: "release";
|
|
9367
|
+
}>;
|
|
9368
|
+
breaking: z$1.ZodBoolean;
|
|
9369
|
+
candidate: z$1.ZodObject<{
|
|
9370
|
+
display: z$1.ZodString;
|
|
9371
|
+
label: z$1.ZodString;
|
|
9372
|
+
version: z$1.ZodString;
|
|
9373
|
+
}, z$1.core.$strip>;
|
|
9374
|
+
currentRange: z$1.ZodString;
|
|
9375
|
+
range: z$1.ZodString;
|
|
9376
|
+
reasons: z$1.ZodArray<z$1.ZodString>;
|
|
9377
|
+
}, z$1.core.$strip>>;
|
|
9257
9378
|
}, z$1.core.$strip>;
|
|
9258
9379
|
updatedAt: z$1.ZodOptional<z$1.ZodISODateTime>;
|
|
9259
9380
|
version: z$1.ZodString;
|
|
@@ -9442,6 +9563,21 @@ declare const pluginReloadResponseSchema: z$1.ZodObject<{
|
|
|
9442
9563
|
pinned: "pinned";
|
|
9443
9564
|
unavailable: "unavailable";
|
|
9444
9565
|
}>>;
|
|
9566
|
+
rangeUpgrade: z$1.ZodOptional<z$1.ZodObject<{
|
|
9567
|
+
basis: z$1.ZodEnum<{
|
|
9568
|
+
catalog: "catalog";
|
|
9569
|
+
release: "release";
|
|
9570
|
+
}>;
|
|
9571
|
+
breaking: z$1.ZodBoolean;
|
|
9572
|
+
candidate: z$1.ZodObject<{
|
|
9573
|
+
display: z$1.ZodString;
|
|
9574
|
+
label: z$1.ZodString;
|
|
9575
|
+
version: z$1.ZodString;
|
|
9576
|
+
}, z$1.core.$strip>;
|
|
9577
|
+
currentRange: z$1.ZodString;
|
|
9578
|
+
range: z$1.ZodString;
|
|
9579
|
+
reasons: z$1.ZodArray<z$1.ZodString>;
|
|
9580
|
+
}, z$1.core.$strip>>;
|
|
9445
9581
|
}, z$1.core.$strip>;
|
|
9446
9582
|
updatedAt: z$1.ZodOptional<z$1.ZodISODateTime>;
|
|
9447
9583
|
version: z$1.ZodString;
|
|
@@ -10515,9 +10651,9 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
10515
10651
|
}, z$1.core.$strict>;
|
|
10516
10652
|
}, z$1.core.$strict>>;
|
|
10517
10653
|
experiments: z$1.ZodRecord<z$1.ZodEnum<{
|
|
10654
|
+
agentCpuPriority: "agentCpuPriority";
|
|
10518
10655
|
compactExpiredCache: "compactExpiredCache";
|
|
10519
10656
|
dismissReadNotifications: "dismissReadNotifications";
|
|
10520
|
-
narrowPluginCss: "narrowPluginCss";
|
|
10521
10657
|
performanceDiagnostics: "performanceDiagnostics";
|
|
10522
10658
|
pluginUpdates: "pluginUpdates";
|
|
10523
10659
|
resumeThreadsAfterRestart: "resumeThreadsAfterRestart";
|
|
@@ -10526,6 +10662,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
10526
10662
|
threadContextCard: "threadContextCard";
|
|
10527
10663
|
threadRowMetadata: "threadRowMetadata";
|
|
10528
10664
|
updateWhenIdle: "updateWhenIdle";
|
|
10665
|
+
walCheckpointWorker: "walCheckpointWorker";
|
|
10529
10666
|
}>, z$1.ZodBoolean>;
|
|
10530
10667
|
featureFlags: z$1.ZodObject<{
|
|
10531
10668
|
initiatorTelemetry: z$1.ZodDefault<z$1.ZodBoolean>;
|
|
@@ -15205,10 +15342,6 @@ declare const threadTimelineQuerySchema: z$1.ZodObject<{
|
|
|
15205
15342
|
true: "true";
|
|
15206
15343
|
}>>;
|
|
15207
15344
|
segmentLimit: z$1.ZodOptional<z$1.ZodString>;
|
|
15208
|
-
summaryOnly: z$1.ZodOptional<z$1.ZodEnum<{
|
|
15209
|
-
false: "false";
|
|
15210
|
-
true: "true";
|
|
15211
|
-
}>>;
|
|
15212
15345
|
}, z$1.core.$strip>;
|
|
15213
15346
|
type ThreadTimelineQuery = z$1.infer<typeof threadTimelineQuerySchema>;
|
|
15214
15347
|
declare const timelineTurnSummaryDetailsQuerySchema: z$1.ZodObject<{
|
|
@@ -16819,6 +16952,112 @@ declare const threadTimelineReadResponseSchema: z$1.ZodUnion<readonly [z$1.ZodOb
|
|
|
16819
16952
|
}, z$1.core.$strict>;
|
|
16820
16953
|
}, z$1.core.$strip>]>;
|
|
16821
16954
|
type ThreadTimelineReadResponse = z$1.infer<typeof threadTimelineReadResponseSchema>;
|
|
16955
|
+
declare const threadHeadStateResponseSchema: z$1.ZodObject<{
|
|
16956
|
+
activePromptMode: z$1.ZodNullable<z$1.ZodObject<{
|
|
16957
|
+
mode: z$1.ZodLiteral<"plan">;
|
|
16958
|
+
prompt: z$1.ZodString;
|
|
16959
|
+
providerId: z$1.ZodString;
|
|
16960
|
+
}, z$1.core.$strict>>;
|
|
16961
|
+
contextWindowUsage: z$1.ZodNullable<z$1.ZodObject<{
|
|
16962
|
+
compactionOfferAt: z$1.ZodOptional<z$1.ZodISODateTime>;
|
|
16963
|
+
cost: z$1.ZodOptional<z$1.ZodObject<{
|
|
16964
|
+
amount: z$1.ZodNumber;
|
|
16965
|
+
currency: z$1.ZodString;
|
|
16966
|
+
}, z$1.core.$strip>>;
|
|
16967
|
+
estimated: z$1.ZodBoolean;
|
|
16968
|
+
modelContextWindow: z$1.ZodNumber;
|
|
16969
|
+
snapshot: z$1.ZodOptional<z$1.ZodObject<{
|
|
16970
|
+
autoCompactAtTokens: z$1.ZodNullable<z$1.ZodNumber>;
|
|
16971
|
+
capturedAt: z$1.ZodISODateTime;
|
|
16972
|
+
categories: z$1.ZodArray<z$1.ZodObject<{
|
|
16973
|
+
entries: z$1.ZodArray<z$1.ZodObject<{
|
|
16974
|
+
id: z$1.ZodString;
|
|
16975
|
+
label: z$1.ZodString;
|
|
16976
|
+
tokens: z$1.ZodNumber;
|
|
16977
|
+
}, z$1.core.$strip>>;
|
|
16978
|
+
id: z$1.ZodString;
|
|
16979
|
+
kind: z$1.ZodEnum<{
|
|
16980
|
+
deferred: "deferred";
|
|
16981
|
+
free: "free";
|
|
16982
|
+
reserved: "reserved";
|
|
16983
|
+
used: "used";
|
|
16984
|
+
}>;
|
|
16985
|
+
label: z$1.ZodString;
|
|
16986
|
+
tokens: z$1.ZodNumber;
|
|
16987
|
+
}, z$1.core.$strip>>;
|
|
16988
|
+
contextWindowTokens: z$1.ZodNumber;
|
|
16989
|
+
estimated: z$1.ZodBoolean;
|
|
16990
|
+
model: z$1.ZodString;
|
|
16991
|
+
providerSessionId: z$1.ZodString;
|
|
16992
|
+
providerTurnId: z$1.ZodNullable<z$1.ZodString>;
|
|
16993
|
+
usedTokens: z$1.ZodNumber;
|
|
16994
|
+
}, z$1.core.$strip>>;
|
|
16995
|
+
usedTokens: z$1.ZodNumber;
|
|
16996
|
+
}, z$1.core.$strip>>;
|
|
16997
|
+
extensionStates: z$1.ZodRecord<z$1.ZodString, z$1.ZodType<JsonValue, unknown, z$1.core.$ZodTypeInternals<JsonValue, unknown>>>;
|
|
16998
|
+
modelFallback: z$1.ZodNullable<z$1.ZodObject<{
|
|
16999
|
+
detectedAt: z$1.ZodNumber;
|
|
17000
|
+
fallbackModel: z$1.ZodString;
|
|
17001
|
+
message: z$1.ZodString;
|
|
17002
|
+
originalModel: z$1.ZodString;
|
|
17003
|
+
reason: z$1.ZodEnum<{
|
|
17004
|
+
provider: "provider";
|
|
17005
|
+
refusal: "refusal";
|
|
17006
|
+
}>;
|
|
17007
|
+
sourceSeq: z$1.ZodNumber;
|
|
17008
|
+
}, z$1.core.$strip>>;
|
|
17009
|
+
pendingTodos: z$1.ZodNullable<z$1.ZodObject<{
|
|
17010
|
+
items: z$1.ZodArray<z$1.ZodObject<{
|
|
17011
|
+
id: z$1.ZodString;
|
|
17012
|
+
status: z$1.ZodEnum<{
|
|
17013
|
+
completed: "completed";
|
|
17014
|
+
in_progress: "in_progress";
|
|
17015
|
+
pending: "pending";
|
|
17016
|
+
}>;
|
|
17017
|
+
text: z$1.ZodString;
|
|
17018
|
+
}, z$1.core.$strip>>;
|
|
17019
|
+
sourceSeq: z$1.ZodNumber;
|
|
17020
|
+
updatedAt: z$1.ZodNumber;
|
|
17021
|
+
}, z$1.core.$strip>>;
|
|
17022
|
+
providerCommands: z$1.ZodNullable<z$1.ZodArray<z$1.ZodObject<{
|
|
17023
|
+
argumentHint: z$1.ZodNullable<z$1.ZodString>;
|
|
17024
|
+
description: z$1.ZodNullable<z$1.ZodString>;
|
|
17025
|
+
name: z$1.ZodString;
|
|
17026
|
+
origin: z$1.ZodEnum<{
|
|
17027
|
+
builtin: "builtin";
|
|
17028
|
+
project: "project";
|
|
17029
|
+
user: "user";
|
|
17030
|
+
}>;
|
|
17031
|
+
source: z$1.ZodEnum<{
|
|
17032
|
+
command: "command";
|
|
17033
|
+
skill: "skill";
|
|
17034
|
+
}>;
|
|
17035
|
+
}, z$1.core.$strip>>>;
|
|
17036
|
+
sessionOptions: z$1.ZodNullable<z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
17037
|
+
category: z$1.ZodNullable<z$1.ZodString>;
|
|
17038
|
+
description: z$1.ZodNullable<z$1.ZodString>;
|
|
17039
|
+
id: z$1.ZodString;
|
|
17040
|
+
label: z$1.ZodString;
|
|
17041
|
+
pendingValue: z$1.ZodNullable<z$1.ZodString>;
|
|
17042
|
+
type: z$1.ZodLiteral<"select">;
|
|
17043
|
+
value: z$1.ZodString;
|
|
17044
|
+
values: z$1.ZodArray<z$1.ZodObject<{
|
|
17045
|
+
description: z$1.ZodNullable<z$1.ZodString>;
|
|
17046
|
+
group: z$1.ZodNullable<z$1.ZodString>;
|
|
17047
|
+
id: z$1.ZodString;
|
|
17048
|
+
label: z$1.ZodString;
|
|
17049
|
+
}, z$1.core.$strip>>;
|
|
17050
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
17051
|
+
category: z$1.ZodNullable<z$1.ZodString>;
|
|
17052
|
+
description: z$1.ZodNullable<z$1.ZodString>;
|
|
17053
|
+
id: z$1.ZodString;
|
|
17054
|
+
label: z$1.ZodString;
|
|
17055
|
+
pendingValue: z$1.ZodNullable<z$1.ZodBoolean>;
|
|
17056
|
+
type: z$1.ZodLiteral<"boolean">;
|
|
17057
|
+
value: z$1.ZodBoolean;
|
|
17058
|
+
}, z$1.core.$strip>], "type">>>;
|
|
17059
|
+
}, z$1.core.$strip>;
|
|
17060
|
+
type ThreadHeadStateResponse = z$1.infer<typeof threadHeadStateResponseSchema>;
|
|
16822
17061
|
declare const threadConversationOutlineQuerySchema: z$1.ZodObject<{
|
|
16823
17062
|
role: z$1.ZodOptional<z$1.ZodEnum<{
|
|
16824
17063
|
assistant: "assistant";
|
|
@@ -17701,6 +17940,20 @@ interface HostPickFolderArgs extends HostPickFolderRequest {
|
|
|
17701
17940
|
}
|
|
17702
17941
|
interface HostProviderCliInstallArgs extends HostProviderCliInstallRequest {
|
|
17703
17942
|
hostId: string;
|
|
17943
|
+
signal?: AbortSignal;
|
|
17944
|
+
}
|
|
17945
|
+
interface HostProviderCliInstallJobArgs {
|
|
17946
|
+
hostId: string;
|
|
17947
|
+
jobId: string;
|
|
17948
|
+
signal?: AbortSignal;
|
|
17949
|
+
}
|
|
17950
|
+
interface HostProviderCliInstallJobWaitArgs extends HostProviderCliInstallJobArgs {
|
|
17951
|
+
onJob?: (job: HostProviderCliInstallJob) => void;
|
|
17952
|
+
}
|
|
17953
|
+
interface HostProviderCliInstallJobsArea {
|
|
17954
|
+
list(args: HostGetArgs): Promise<HostProviderCliInstallJob[]>;
|
|
17955
|
+
get(args: HostProviderCliInstallJobArgs): Promise<HostProviderCliInstallJob>;
|
|
17956
|
+
wait(args: HostProviderCliInstallJobWaitArgs): Promise<HostProviderCliInstallJob>;
|
|
17704
17957
|
}
|
|
17705
17958
|
interface HostListArgs {
|
|
17706
17959
|
includeCreating?: boolean;
|
|
@@ -17749,6 +18002,8 @@ interface HostsArea {
|
|
|
17749
18002
|
get(args: HostGetArgs): Promise<HostGetResult>;
|
|
17750
18003
|
cloneDefaultPath(args: HostCloneDefaultPathArgs): Promise<HostCloneDefaultPathResult>;
|
|
17751
18004
|
installProviderCli(args: HostProviderCliInstallArgs): Promise<HostProviderCliInstallResult>;
|
|
18005
|
+
experimental_startProviderCliInstall(args: HostProviderCliInstallArgs): Promise<HostProviderCliInstallJob>;
|
|
18006
|
+
experimental_providerCliInstallJobs: HostProviderCliInstallJobsArea;
|
|
17752
18007
|
list(args?: HostListArgs): Promise<HostListResult>;
|
|
17753
18008
|
experimental_listProviders(args?: MachineProviderListArgs): Promise<MachineProviderListResult>;
|
|
17754
18009
|
pathsExist(args: HostPathsExistArgs): Promise<HostPathsExistResult>;
|
|
@@ -18001,6 +18256,10 @@ interface ProvidersArea {
|
|
|
18001
18256
|
interface PluginIdArgs {
|
|
18002
18257
|
pluginId: string;
|
|
18003
18258
|
}
|
|
18259
|
+
interface PluginApplyUpdateArgs extends PluginIdArgs {
|
|
18260
|
+
range?: string;
|
|
18261
|
+
expectedVersion?: string;
|
|
18262
|
+
}
|
|
18004
18263
|
interface PluginInstallArgs {
|
|
18005
18264
|
source: string;
|
|
18006
18265
|
subdirectory?: string;
|
|
@@ -18143,8 +18402,8 @@ interface PluginsArea {
|
|
|
18143
18402
|
experimental_getSafeMode(args?: PluginGetSafeModeArgs): Promise<PluginSafeModeResult>;
|
|
18144
18403
|
experimental_setSafeMode(args: PluginSetSafeModeArgs): Promise<PluginSetSafeModeResult>;
|
|
18145
18404
|
experimental_pruneCache(args?: PluginPruneCacheArgs): Promise<PluginPruneCacheResult>;
|
|
18146
|
-
applyUpdate(args:
|
|
18147
|
-
experimental_startUpdate(args:
|
|
18405
|
+
applyUpdate(args: PluginApplyUpdateArgs): Promise<PluginApplyUpdateResult>;
|
|
18406
|
+
experimental_startUpdate(args: PluginApplyUpdateArgs): Promise<PluginUpdateJob>;
|
|
18148
18407
|
experimental_updateJobs: PluginUpdateJobsArea;
|
|
18149
18408
|
callRpc<TOutput>(args: PluginRpcArgs<TOutput>): Promise<TOutput>;
|
|
18150
18409
|
checkUpdates(args?: PluginCheckUpdatesArgs): Promise<PluginCheckUpdatesResult>;
|
|
@@ -18683,6 +18942,7 @@ type ThreadInteractionCancelResult = PendingInteraction;
|
|
|
18683
18942
|
type ThreadEventsListResult = ThreadEventRow[];
|
|
18684
18943
|
type ThreadEventWaitResult = ThreadEventRow | null;
|
|
18685
18944
|
type ThreadContextResult = ThreadContextResponse;
|
|
18945
|
+
type ThreadHeadStateResult = ThreadHeadStateResponse;
|
|
18686
18946
|
type ThreadTimelineResult = ThreadTimelineResponse;
|
|
18687
18947
|
type ThreadTimelineReadResult = ThreadTimelineReadResponse;
|
|
18688
18948
|
type ThreadArchiveResult = ThreadArchiveAllResponse;
|
|
@@ -19103,6 +19363,15 @@ interface ThreadsArea {
|
|
|
19103
19363
|
stop(args: ThreadActionArgs): Promise<ThreadStopResult>;
|
|
19104
19364
|
tabs: ThreadTabsArea;
|
|
19105
19365
|
context(args: ThreadStatusArgs): Promise<ThreadContextResult>;
|
|
19366
|
+
/**
|
|
19367
|
+
* The thread's head state: to-dos, provider slash commands, session options,
|
|
19368
|
+
* extension states, plan prompt mode, model fallback, and context usage, as
|
|
19369
|
+
* of its latest event. Read from the latest stored state events without
|
|
19370
|
+
* building a timeline window; the latest timeline page embeds the same
|
|
19371
|
+
* values. `pendingTodos` and `activePromptMode` are null unless the thread
|
|
19372
|
+
* is active. Experimental: see docs/api_to_audit.md.
|
|
19373
|
+
*/
|
|
19374
|
+
experimental_headState(args: ThreadStatusArgs): Promise<ThreadHeadStateResult>;
|
|
19106
19375
|
timeline(args: ThreadTimelineArgs & {
|
|
19107
19376
|
afterTag?: undefined;
|
|
19108
19377
|
}): Promise<ThreadTimelineResult>;
|