@get-bb/plugin-sdk 0.6.150 → 0.6.164
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/README.md +4 -1
- package/bundled-types/bb-plugin-sdk-app.d.ts +707 -86
- package/bundled-types/bb-plugin-sdk-environment-provider.d.ts +3 -0
- package/bundled-types/bb-plugin-sdk-host.d.ts +4 -1
- package/bundled-types/bb-plugin-sdk-internal-host-policy.d.ts +3 -0
- package/bundled-types/bb-plugin-sdk-internal-plugin-app-collector.d.ts +6 -3
- package/bundled-types/bb-plugin-sdk-internal-thread-event-gate.d.ts +1001 -0
- package/bundled-types/bb-plugin-sdk-provider-bridge-acp-next.d.ts +56 -6
- package/bundled-types/bb-plugin-sdk-provider-bridge-acp.d.ts +56 -6
- package/bundled-types/bb-plugin-sdk-provider-bridge.d.ts +45 -8
- package/bundled-types/bb-plugin-sdk-testing.d.ts +104 -20
- package/bundled-types/bb-plugin-sdk.d.ts +869 -300
- package/dist/app.js +8 -0
- package/dist/host.js +27 -3
- package/dist/index.js +19 -1
- package/dist/internal/host-policy.js +24 -2
- package/dist/internal/plugin-app-collector.js +20 -0
- package/dist/internal/rpc-query-host.js +1 -0
- package/dist/internal/thread-event-gate.js +95 -0
- package/dist/process.js +7 -1
- package/dist/provider-bridge-acp-next.js +503 -144
- package/dist/provider-bridge-acp.js +503 -144
- package/dist/provider-bridge-testing.js +21 -7
- package/dist/provider-bridge-worker-entry.mjs +9 -3
- package/dist/provider-bridge.js +124 -37
- package/dist/replay-provider-child.mjs +158 -31
- package/dist/testing/app.js +627 -347
- package/dist/testing/index.js +432 -77
- package/package.json +9 -1
|
@@ -151,6 +151,7 @@ declare const appSettingsSchema: z$1.ZodObject<{
|
|
|
151
151
|
flat: "flat";
|
|
152
152
|
}>>;
|
|
153
153
|
providerOrder: z$1.ZodArray<z$1.ZodString>;
|
|
154
|
+
resumeThreadsAfterRestart: z$1.ZodBoolean;
|
|
154
155
|
showDiagnosticEvents: z$1.ZodBoolean;
|
|
155
156
|
showKeyboardHints: z$1.ZodBoolean;
|
|
156
157
|
steerActiveThreadOnEnter: z$1.ZodBoolean;
|
|
@@ -177,6 +178,7 @@ declare const appSettingsUpdateSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
|
|
|
177
178
|
flat: "flat";
|
|
178
179
|
}>>;
|
|
179
180
|
providerOrder: z$1.ZodArray<z$1.ZodString>;
|
|
181
|
+
resumeThreadsAfterRestart: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
180
182
|
showDiagnosticEvents: z$1.ZodBoolean;
|
|
181
183
|
showKeyboardHints: z$1.ZodBoolean;
|
|
182
184
|
showUnhandledProviderEvents: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
@@ -202,6 +204,7 @@ declare const appSettingsUpdateSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
|
|
|
202
204
|
flat: "flat";
|
|
203
205
|
}>>;
|
|
204
206
|
providerOrder: z$1.ZodArray<z$1.ZodString>;
|
|
207
|
+
resumeThreadsAfterRestart: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
205
208
|
showKeyboardHints: z$1.ZodBoolean;
|
|
206
209
|
showUnhandledProviderEvents: z$1.ZodBoolean;
|
|
207
210
|
steerActiveThreadOnEnter: z$1.ZodBoolean;
|
|
@@ -212,7 +215,7 @@ declare const appSettingsUpdateSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
|
|
|
212
215
|
}, z$1.core.$strict>]>;
|
|
213
216
|
type AppSettingsUpdate = z$1.infer<typeof appSettingsUpdateSchema>;
|
|
214
217
|
|
|
215
|
-
declare const UI_PREFERENCE_KEYS: readonly ["sidebar.organizationMode", "sidebar.threadGrouping.environment", "sidebar.chronologicalSort", "sidebar.sortDirection", "sidebar.sectionOrder", "sidebar.manualSectionOrder", "sidebar.machineSectionOrder", "sidebar.hiddenGroups", "sidebar.footerOrder", "sidebar.hiddenFooterItems", "sidebar.pluginPanelOrder", "sidebar.visiblePluginPanels", "sidebar.navigationProvider", "sidebar.threadListProvider", "composer.provider", "infoPanel.collapsedSections", "threadContextCard.pinned"];
|
|
218
|
+
declare const UI_PREFERENCE_KEYS: readonly ["sidebar.organizationMode", "sidebar.threadGrouping.environment", "sidebar.chronologicalSort", "sidebar.sortDirection", "sidebar.sectionOrder", "sidebar.manualSectionOrder", "sidebar.machineSectionOrder", "sidebar.hiddenGroups", "sidebar.footerOrder", "sidebar.hiddenFooterItems", "sidebar.pluginPanelOrder", "sidebar.visiblePluginPanels", "sidebar.navigationProvider", "sidebar.threadListProvider", "sidebar.updates.providerCli", "sidebar.updates.skipped", "composer.provider", "infoPanel.collapsedSections", "threadContextCard.pinned"];
|
|
216
219
|
type UiPreferenceKey = (typeof UI_PREFERENCE_KEYS)[number];
|
|
217
220
|
interface UiPreferenceDefinition<Schema extends z$1.ZodTypeAny = z$1.ZodTypeAny> {
|
|
218
221
|
schema: Schema;
|
|
@@ -247,6 +250,8 @@ declare const uiPreferenceDefinitions: {
|
|
|
247
250
|
readonly "sidebar.visiblePluginPanels": UiPreferenceDefinition<z$1.ZodNullable<z$1.ZodArray<z$1.ZodString>>>;
|
|
248
251
|
readonly "sidebar.navigationProvider": UiPreferenceDefinition<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>>;
|
|
249
252
|
readonly "sidebar.threadListProvider": UiPreferenceDefinition<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>>;
|
|
253
|
+
readonly "sidebar.updates.providerCli": UiPreferenceDefinition<z$1.ZodBoolean>;
|
|
254
|
+
readonly "sidebar.updates.skipped": UiPreferenceDefinition<z$1.ZodArray<z$1.ZodString>>;
|
|
250
255
|
readonly "composer.provider": UiPreferenceDefinition<z$1.ZodString>;
|
|
251
256
|
readonly "threadContextCard.pinned": UiPreferenceDefinition<z$1.ZodBoolean>;
|
|
252
257
|
readonly "infoPanel.collapsedSections": UiPreferenceDefinition<z$1.ZodPipe<z$1.ZodArray<z$1.ZodString>, z$1.ZodTransform<string[], string[]>>>;
|
|
@@ -579,6 +584,7 @@ declare const environmentSchema: z$1.ZodObject<{
|
|
|
579
584
|
teardown: z$1.ZodNullable<z$1.ZodObject<{
|
|
580
585
|
attempt: z$1.ZodNumber;
|
|
581
586
|
message: z$1.ZodOptional<z$1.ZodString>;
|
|
587
|
+
needsRecovery: z$1.ZodBoolean;
|
|
582
588
|
status: z$1.ZodEnum<{
|
|
583
589
|
failed: "failed";
|
|
584
590
|
removed: "removed";
|
|
@@ -610,32 +616,26 @@ type Environment = z$1.infer<typeof environmentSchema>;
|
|
|
610
616
|
declare const experimentsSchema: z$1.ZodRecord<z$1.ZodEnum<{
|
|
611
617
|
agentCpuPriority: "agentCpuPriority";
|
|
612
618
|
compactExpiredCache: "compactExpiredCache";
|
|
613
|
-
dismissReadNotifications: "dismissReadNotifications";
|
|
614
619
|
keyedPluginCss: "keyedPluginCss";
|
|
615
620
|
performanceDiagnostics: "performanceDiagnostics";
|
|
616
621
|
pluginUpdates: "pluginUpdates";
|
|
617
|
-
|
|
622
|
+
resumeDaemonSessions: "resumeDaemonSessions";
|
|
618
623
|
serverMove: "serverMove";
|
|
619
624
|
skipFocusedThreadNotifications: "skipFocusedThreadNotifications";
|
|
620
625
|
threadContextCard: "threadContextCard";
|
|
621
|
-
threadRowMetadata: "threadRowMetadata";
|
|
622
|
-
updateWhenIdle: "updateWhenIdle";
|
|
623
626
|
walCheckpointWorker: "walCheckpointWorker";
|
|
624
627
|
}>, z$1.ZodBoolean>;
|
|
625
628
|
type Experiments = z$1.infer<typeof experimentsSchema>;
|
|
626
629
|
declare const experimentUpdatesSchema: z$1.ZodRecord<z$1.ZodEnum<{
|
|
627
630
|
agentCpuPriority: "agentCpuPriority";
|
|
628
631
|
compactExpiredCache: "compactExpiredCache";
|
|
629
|
-
dismissReadNotifications: "dismissReadNotifications";
|
|
630
632
|
keyedPluginCss: "keyedPluginCss";
|
|
631
633
|
performanceDiagnostics: "performanceDiagnostics";
|
|
632
634
|
pluginUpdates: "pluginUpdates";
|
|
633
|
-
|
|
635
|
+
resumeDaemonSessions: "resumeDaemonSessions";
|
|
634
636
|
serverMove: "serverMove";
|
|
635
637
|
skipFocusedThreadNotifications: "skipFocusedThreadNotifications";
|
|
636
638
|
threadContextCard: "threadContextCard";
|
|
637
|
-
threadRowMetadata: "threadRowMetadata";
|
|
638
|
-
updateWhenIdle: "updateWhenIdle";
|
|
639
639
|
walCheckpointWorker: "walCheckpointWorker";
|
|
640
640
|
}> & z$1.core.$partial, z$1.ZodBoolean>;
|
|
641
641
|
type ExperimentUpdates = z$1.infer<typeof experimentUpdatesSchema>;
|
|
@@ -686,6 +686,8 @@ declare const hostSchema: z$1.ZodObject<{
|
|
|
686
686
|
suspendedAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
687
687
|
teardown: z$1.ZodNullable<z$1.ZodObject<{
|
|
688
688
|
attempt: z$1.ZodNumber;
|
|
689
|
+
blockedByEnvironmentId: z$1.ZodNullable<z$1.ZodString>;
|
|
690
|
+
needsRecovery: z$1.ZodBoolean;
|
|
689
691
|
status: z$1.ZodEnum<{
|
|
690
692
|
failed: "failed";
|
|
691
693
|
removed: "removed";
|
|
@@ -4697,6 +4699,15 @@ declare const workspacePathListResponseSchema: z$1.ZodObject<{
|
|
|
4697
4699
|
}, z$1.core.$strip>;
|
|
4698
4700
|
type WorkspacePathListResponse = z$1.infer<typeof workspacePathListResponseSchema>;
|
|
4699
4701
|
|
|
4702
|
+
declare const operationResponseSchema: z$1.ZodObject<{
|
|
4703
|
+
ok: z$1.ZodLiteral<true>;
|
|
4704
|
+
progress: z$1.ZodEnum<{
|
|
4705
|
+
"in-progress": "in-progress";
|
|
4706
|
+
complete: "complete";
|
|
4707
|
+
}>;
|
|
4708
|
+
}, z$1.core.$strict>;
|
|
4709
|
+
type OperationResponse = z$1.infer<typeof operationResponseSchema>;
|
|
4710
|
+
|
|
4700
4711
|
declare const createProjectSourceRequestSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
4701
4712
|
hostId: z$1.ZodString;
|
|
4702
4713
|
path: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>;
|
|
@@ -7044,29 +7055,12 @@ declare const hostDaemonCommandRegistry: {
|
|
|
7044
7055
|
type: z$1.ZodLiteral<"interactive.resolve">;
|
|
7045
7056
|
}, z$1.core.$strict>, z$1.ZodObject<{}, z$1.core.$strip>, "settled", false>;
|
|
7046
7057
|
"environment.attach": HostDaemonCommandDescriptor<"environment.attach", z$1.ZodObject<{
|
|
7047
|
-
contributedEnv: z$1.ZodArray<z$1.ZodObject<{
|
|
7048
|
-
name: z$1.ZodString;
|
|
7049
|
-
reason: z$1.ZodString;
|
|
7050
|
-
source: z$1.ZodUnion<readonly [z$1.ZodObject<{
|
|
7051
|
-
plugin: z$1.ZodString;
|
|
7052
|
-
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
7053
|
-
core: z$1.ZodEnum<{
|
|
7054
|
-
"machine-environment": "machine-environment";
|
|
7055
|
-
"machine-git": "machine-git";
|
|
7056
|
-
"project-environment": "project-environment";
|
|
7057
|
-
}>;
|
|
7058
|
-
}, z$1.core.$strict>]>;
|
|
7059
|
-
value: z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodObject<{
|
|
7060
|
-
serverPath: z$1.ZodString;
|
|
7061
|
-
}, z$1.core.$strict>]>;
|
|
7062
|
-
}, z$1.core.$strict>>;
|
|
7063
7058
|
environmentId: z$1.ZodString;
|
|
7064
7059
|
initiator: z$1.ZodNullable<z$1.ZodObject<{
|
|
7065
7060
|
provisioningId: z$1.ZodString;
|
|
7066
7061
|
threadId: z$1.ZodString;
|
|
7067
7062
|
}, z$1.core.$strict>>;
|
|
7068
7063
|
path: z$1.ZodString;
|
|
7069
|
-
setupScriptTimeoutMs: z$1.ZodNullable<z$1.ZodNumber>;
|
|
7070
7064
|
type: z$1.ZodLiteral<"environment.attach">;
|
|
7071
7065
|
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
7072
7066
|
branchName: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -7657,6 +7651,7 @@ declare const hostDaemonCommandRegistry: {
|
|
|
7657
7651
|
equal: "equal";
|
|
7658
7652
|
unknown: "unknown";
|
|
7659
7653
|
}>>;
|
|
7654
|
+
defaultWorktreeBaseBranch: z$1.ZodNullable<z$1.ZodString>;
|
|
7660
7655
|
hasUncommittedChanges: z$1.ZodBoolean;
|
|
7661
7656
|
isWorktree: z$1.ZodBoolean;
|
|
7662
7657
|
operation: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
@@ -7960,6 +7955,22 @@ declare const hostDaemonCommandRegistry: {
|
|
|
7960
7955
|
kind: z$1.ZodLiteral<"artifact">;
|
|
7961
7956
|
}, z$1.core.$strict>;
|
|
7962
7957
|
}, z$1.core.$strict>;
|
|
7958
|
+
contributedEnv: z$1.ZodArray<z$1.ZodObject<{
|
|
7959
|
+
name: z$1.ZodString;
|
|
7960
|
+
reason: z$1.ZodString;
|
|
7961
|
+
source: z$1.ZodUnion<readonly [z$1.ZodObject<{
|
|
7962
|
+
plugin: z$1.ZodString;
|
|
7963
|
+
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
7964
|
+
core: z$1.ZodEnum<{
|
|
7965
|
+
"machine-environment": "machine-environment";
|
|
7966
|
+
"machine-git": "machine-git";
|
|
7967
|
+
"project-environment": "project-environment";
|
|
7968
|
+
}>;
|
|
7969
|
+
}, z$1.core.$strict>]>;
|
|
7970
|
+
value: z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodObject<{
|
|
7971
|
+
serverPath: z$1.ZodString;
|
|
7972
|
+
}, z$1.core.$strict>]>;
|
|
7973
|
+
}, z$1.core.$strict>>;
|
|
7963
7974
|
cwd: z$1.ZodNullable<z$1.ZodString>;
|
|
7964
7975
|
providerId: z$1.ZodString;
|
|
7965
7976
|
type: z$1.ZodLiteral<"provider.list_commands">;
|
|
@@ -7997,6 +8008,22 @@ declare const hostDaemonCommandRegistry: {
|
|
|
7997
8008
|
kind: z$1.ZodLiteral<"artifact">;
|
|
7998
8009
|
}, z$1.core.$strict>;
|
|
7999
8010
|
}, z$1.core.$strict>;
|
|
8011
|
+
contributedEnv: z$1.ZodArray<z$1.ZodObject<{
|
|
8012
|
+
name: z$1.ZodString;
|
|
8013
|
+
reason: z$1.ZodString;
|
|
8014
|
+
source: z$1.ZodUnion<readonly [z$1.ZodObject<{
|
|
8015
|
+
plugin: z$1.ZodString;
|
|
8016
|
+
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
8017
|
+
core: z$1.ZodEnum<{
|
|
8018
|
+
"machine-environment": "machine-environment";
|
|
8019
|
+
"machine-git": "machine-git";
|
|
8020
|
+
"project-environment": "project-environment";
|
|
8021
|
+
}>;
|
|
8022
|
+
}, z$1.core.$strict>]>;
|
|
8023
|
+
value: z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodObject<{
|
|
8024
|
+
serverPath: z$1.ZodString;
|
|
8025
|
+
}, z$1.core.$strict>]>;
|
|
8026
|
+
}, z$1.core.$strict>>;
|
|
8000
8027
|
cwd: z$1.ZodOptional<z$1.ZodString>;
|
|
8001
8028
|
providerId: z$1.ZodString;
|
|
8002
8029
|
type: z$1.ZodLiteral<"provider.health">;
|
|
@@ -8052,6 +8079,22 @@ declare const hostDaemonCommandRegistry: {
|
|
|
8052
8079
|
kind: z$1.ZodLiteral<"artifact">;
|
|
8053
8080
|
}, z$1.core.$strict>;
|
|
8054
8081
|
}, z$1.core.$strict>;
|
|
8082
|
+
contributedEnv: z$1.ZodArray<z$1.ZodObject<{
|
|
8083
|
+
name: z$1.ZodString;
|
|
8084
|
+
reason: z$1.ZodString;
|
|
8085
|
+
source: z$1.ZodUnion<readonly [z$1.ZodObject<{
|
|
8086
|
+
plugin: z$1.ZodString;
|
|
8087
|
+
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
8088
|
+
core: z$1.ZodEnum<{
|
|
8089
|
+
"machine-environment": "machine-environment";
|
|
8090
|
+
"machine-git": "machine-git";
|
|
8091
|
+
"project-environment": "project-environment";
|
|
8092
|
+
}>;
|
|
8093
|
+
}, z$1.core.$strict>]>;
|
|
8094
|
+
value: z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodObject<{
|
|
8095
|
+
serverPath: z$1.ZodString;
|
|
8096
|
+
}, z$1.core.$strict>]>;
|
|
8097
|
+
}, z$1.core.$strict>>;
|
|
8055
8098
|
providerId: z$1.ZodString;
|
|
8056
8099
|
type: z$1.ZodLiteral<"provider.installation.status">;
|
|
8057
8100
|
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
@@ -8113,6 +8156,22 @@ declare const hostDaemonCommandRegistry: {
|
|
|
8113
8156
|
kind: z$1.ZodLiteral<"artifact">;
|
|
8114
8157
|
}, z$1.core.$strict>;
|
|
8115
8158
|
}, z$1.core.$strict>;
|
|
8159
|
+
contributedEnv: z$1.ZodArray<z$1.ZodObject<{
|
|
8160
|
+
name: z$1.ZodString;
|
|
8161
|
+
reason: z$1.ZodString;
|
|
8162
|
+
source: z$1.ZodUnion<readonly [z$1.ZodObject<{
|
|
8163
|
+
plugin: z$1.ZodString;
|
|
8164
|
+
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
8165
|
+
core: z$1.ZodEnum<{
|
|
8166
|
+
"machine-environment": "machine-environment";
|
|
8167
|
+
"machine-git": "machine-git";
|
|
8168
|
+
"project-environment": "project-environment";
|
|
8169
|
+
}>;
|
|
8170
|
+
}, z$1.core.$strict>]>;
|
|
8171
|
+
value: z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodObject<{
|
|
8172
|
+
serverPath: z$1.ZodString;
|
|
8173
|
+
}, z$1.core.$strict>]>;
|
|
8174
|
+
}, z$1.core.$strict>>;
|
|
8116
8175
|
providerId: z$1.ZodString;
|
|
8117
8176
|
type: z$1.ZodLiteral<"provider.installation.run">;
|
|
8118
8177
|
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
@@ -8693,12 +8752,21 @@ declare const updateHostRequestSchema: z$1.ZodObject<{
|
|
|
8693
8752
|
name: z$1.ZodString;
|
|
8694
8753
|
}, z$1.core.$strict>;
|
|
8695
8754
|
type UpdateHostRequest = z$1.infer<typeof updateHostRequestSchema>;
|
|
8696
|
-
declare const
|
|
8755
|
+
declare const hostRemovalResponseSchema: z$1.ZodObject<{
|
|
8697
8756
|
ok: z$1.ZodLiteral<true>;
|
|
8757
|
+
progress: z$1.ZodEnum<{
|
|
8758
|
+
"in-progress": "in-progress";
|
|
8759
|
+
complete: "complete";
|
|
8760
|
+
}>;
|
|
8761
|
+
warnings: z$1.ZodArray<z$1.ZodString>;
|
|
8698
8762
|
}, z$1.core.$strict>;
|
|
8699
|
-
type
|
|
8763
|
+
type HostRemovalResponse = z$1.infer<typeof hostRemovalResponseSchema>;
|
|
8700
8764
|
declare const hostRetryUpdateResponseSchema: z$1.ZodObject<{
|
|
8701
8765
|
ok: z$1.ZodLiteral<true>;
|
|
8766
|
+
progress: z$1.ZodEnum<{
|
|
8767
|
+
"in-progress": "in-progress";
|
|
8768
|
+
complete: "complete";
|
|
8769
|
+
}>;
|
|
8702
8770
|
}, z$1.core.$strict>;
|
|
8703
8771
|
type HostRetryUpdateResponse = z$1.infer<typeof hostRetryUpdateResponseSchema>;
|
|
8704
8772
|
type HostPathsExistRequest = PathsExistRequest;
|
|
@@ -9695,6 +9763,14 @@ declare const pluginCatalogSearchResponseSchema: z$1.ZodObject<{
|
|
|
9695
9763
|
installed: z$1.ZodBoolean;
|
|
9696
9764
|
installedByDefault: z$1.ZodDefault<z$1.ZodBoolean>;
|
|
9697
9765
|
installs: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodNumber>>;
|
|
9766
|
+
listings: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
|
|
9767
|
+
entryId: z$1.ZodString;
|
|
9768
|
+
marketplace: z$1.ZodString;
|
|
9769
|
+
marketplaceDisplayName: z$1.ZodString;
|
|
9770
|
+
official: z$1.ZodBoolean;
|
|
9771
|
+
publisherLabel: z$1.ZodString;
|
|
9772
|
+
source: z$1.ZodString;
|
|
9773
|
+
}, z$1.core.$strip>>>;
|
|
9698
9774
|
marketplace: z$1.ZodString;
|
|
9699
9775
|
marketplaceDisplayName: z$1.ZodString;
|
|
9700
9776
|
official: z$1.ZodBoolean;
|
|
@@ -10721,16 +10797,13 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
10721
10797
|
experiments: z$1.ZodRecord<z$1.ZodEnum<{
|
|
10722
10798
|
agentCpuPriority: "agentCpuPriority";
|
|
10723
10799
|
compactExpiredCache: "compactExpiredCache";
|
|
10724
|
-
dismissReadNotifications: "dismissReadNotifications";
|
|
10725
10800
|
keyedPluginCss: "keyedPluginCss";
|
|
10726
10801
|
performanceDiagnostics: "performanceDiagnostics";
|
|
10727
10802
|
pluginUpdates: "pluginUpdates";
|
|
10728
|
-
|
|
10803
|
+
resumeDaemonSessions: "resumeDaemonSessions";
|
|
10729
10804
|
serverMove: "serverMove";
|
|
10730
10805
|
skipFocusedThreadNotifications: "skipFocusedThreadNotifications";
|
|
10731
10806
|
threadContextCard: "threadContextCard";
|
|
10732
|
-
threadRowMetadata: "threadRowMetadata";
|
|
10733
|
-
updateWhenIdle: "updateWhenIdle";
|
|
10734
10807
|
walCheckpointWorker: "walCheckpointWorker";
|
|
10735
10808
|
}>, z$1.ZodBoolean>;
|
|
10736
10809
|
featureFlags: z$1.ZodObject<{
|
|
@@ -10755,6 +10828,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
10755
10828
|
flat: "flat";
|
|
10756
10829
|
}>>;
|
|
10757
10830
|
providerOrder: z$1.ZodArray<z$1.ZodString>;
|
|
10831
|
+
resumeThreadsAfterRestart: z$1.ZodBoolean;
|
|
10758
10832
|
showDiagnosticEvents: z$1.ZodBoolean;
|
|
10759
10833
|
showKeyboardHints: z$1.ZodBoolean;
|
|
10760
10834
|
showUnhandledProviderEvents: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
@@ -11208,7 +11282,11 @@ declare const systemAppUpdateAcknowledgeRequestSchema: z$1.ZodObject<{
|
|
|
11208
11282
|
type SystemAppUpdateAcknowledgeRequest = z$1.infer<typeof systemAppUpdateAcknowledgeRequestSchema>;
|
|
11209
11283
|
declare const systemConfigReloadResponseSchema: z$1.ZodObject<{
|
|
11210
11284
|
ok: z$1.ZodLiteral<true>;
|
|
11211
|
-
|
|
11285
|
+
progress: z$1.ZodEnum<{
|
|
11286
|
+
"in-progress": "in-progress";
|
|
11287
|
+
complete: "complete";
|
|
11288
|
+
}>;
|
|
11289
|
+
}, z$1.core.$strict>;
|
|
11212
11290
|
declare const systemCliSkillsStatusResponseSchema: z$1.ZodObject<{
|
|
11213
11291
|
machines: z$1.ZodArray<z$1.ZodObject<{
|
|
11214
11292
|
hostId: z$1.ZodString;
|
|
@@ -14639,6 +14717,7 @@ declare const threadWithIncludesResponseSchema: z$1.ZodObject<{
|
|
|
14639
14717
|
teardown: z$1.ZodNullable<z$1.ZodObject<{
|
|
14640
14718
|
attempt: z$1.ZodNumber;
|
|
14641
14719
|
message: z$1.ZodOptional<z$1.ZodString>;
|
|
14720
|
+
needsRecovery: z$1.ZodBoolean;
|
|
14642
14721
|
status: z$1.ZodEnum<{
|
|
14643
14722
|
failed: "failed";
|
|
14644
14723
|
removed: "removed";
|
|
@@ -14687,6 +14766,8 @@ declare const threadWithIncludesResponseSchema: z$1.ZodObject<{
|
|
|
14687
14766
|
suspendedAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
14688
14767
|
teardown: z$1.ZodNullable<z$1.ZodObject<{
|
|
14689
14768
|
attempt: z$1.ZodNumber;
|
|
14769
|
+
blockedByEnvironmentId: z$1.ZodNullable<z$1.ZodString>;
|
|
14770
|
+
needsRecovery: z$1.ZodBoolean;
|
|
14690
14771
|
status: z$1.ZodEnum<{
|
|
14691
14772
|
failed: "failed";
|
|
14692
14773
|
removed: "removed";
|
|
@@ -16294,6 +16375,170 @@ declare const threadTimelineResponseSchema: z$1.ZodObject<{
|
|
|
16294
16375
|
}>;
|
|
16295
16376
|
sourceSeq: z$1.ZodNumber;
|
|
16296
16377
|
}, z$1.core.$strip>>;
|
|
16378
|
+
pendingSteers: z$1.ZodArray<z$1.ZodObject<{
|
|
16379
|
+
attachments: z$1.ZodNullable<z$1.ZodObject<{
|
|
16380
|
+
imageUrls: z$1.ZodArray<z$1.ZodString>;
|
|
16381
|
+
localFileDetails: z$1.ZodArray<z$1.ZodObject<{
|
|
16382
|
+
name: z$1.ZodString;
|
|
16383
|
+
path: z$1.ZodString;
|
|
16384
|
+
sizeBytes: z$1.ZodNullable<z$1.ZodNumber>;
|
|
16385
|
+
}, z$1.core.$strip>>;
|
|
16386
|
+
localFilePaths: z$1.ZodArray<z$1.ZodString>;
|
|
16387
|
+
localFiles: z$1.ZodNumber;
|
|
16388
|
+
localImagePaths: z$1.ZodArray<z$1.ZodString>;
|
|
16389
|
+
localImages: z$1.ZodNumber;
|
|
16390
|
+
webImages: z$1.ZodNumber;
|
|
16391
|
+
}, z$1.core.$strip>>;
|
|
16392
|
+
createdAt: z$1.ZodNumber;
|
|
16393
|
+
id: z$1.ZodString;
|
|
16394
|
+
initiator: z$1.ZodEnum<{
|
|
16395
|
+
agent: "agent";
|
|
16396
|
+
system: "system";
|
|
16397
|
+
user: "user";
|
|
16398
|
+
}>;
|
|
16399
|
+
kind: z$1.ZodLiteral<"conversation">;
|
|
16400
|
+
mentions: z$1.ZodArray<z$1.ZodObject<{
|
|
16401
|
+
end: z$1.ZodNumber;
|
|
16402
|
+
resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
16403
|
+
kind: z$1.ZodLiteral<"thread">;
|
|
16404
|
+
label: z$1.ZodString;
|
|
16405
|
+
projectId: z$1.ZodOptional<z$1.ZodString>;
|
|
16406
|
+
threadId: z$1.ZodString;
|
|
16407
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
16408
|
+
kind: z$1.ZodLiteral<"project">;
|
|
16409
|
+
label: z$1.ZodString;
|
|
16410
|
+
projectId: z$1.ZodString;
|
|
16411
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
16412
|
+
kind: z$1.ZodLiteral<"section">;
|
|
16413
|
+
label: z$1.ZodString;
|
|
16414
|
+
sectionId: z$1.ZodString;
|
|
16415
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
16416
|
+
entryKind: z$1.ZodEnum<{
|
|
16417
|
+
directory: "directory";
|
|
16418
|
+
file: "file";
|
|
16419
|
+
}>;
|
|
16420
|
+
kind: z$1.ZodLiteral<"path">;
|
|
16421
|
+
label: z$1.ZodString;
|
|
16422
|
+
path: z$1.ZodString;
|
|
16423
|
+
source: z$1.ZodEnum<{
|
|
16424
|
+
"thread-storage": "thread-storage";
|
|
16425
|
+
workspace: "workspace";
|
|
16426
|
+
}>;
|
|
16427
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
16428
|
+
argumentHint: z$1.ZodNullable<z$1.ZodString>;
|
|
16429
|
+
kind: z$1.ZodLiteral<"command">;
|
|
16430
|
+
label: z$1.ZodString;
|
|
16431
|
+
name: z$1.ZodString;
|
|
16432
|
+
origin: z$1.ZodEnum<{
|
|
16433
|
+
builtin: "builtin";
|
|
16434
|
+
project: "project";
|
|
16435
|
+
user: "user";
|
|
16436
|
+
}>;
|
|
16437
|
+
source: z$1.ZodEnum<{
|
|
16438
|
+
command: "command";
|
|
16439
|
+
skill: "skill";
|
|
16440
|
+
}>;
|
|
16441
|
+
trigger: z$1.ZodEnum<{
|
|
16442
|
+
"/": "/";
|
|
16443
|
+
$: "$";
|
|
16444
|
+
}>;
|
|
16445
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
16446
|
+
icon: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
16447
|
+
itemId: z$1.ZodString;
|
|
16448
|
+
kind: z$1.ZodLiteral<"plugin">;
|
|
16449
|
+
label: z$1.ZodString;
|
|
16450
|
+
pluginId: z$1.ZodString;
|
|
16451
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
16452
|
+
kind: z$1.ZodLiteral<"attachment">;
|
|
16453
|
+
label: z$1.ZodString;
|
|
16454
|
+
path: z$1.ZodString;
|
|
16455
|
+
}, z$1.core.$strip>], "kind">, unknown>;
|
|
16456
|
+
start: z$1.ZodNumber;
|
|
16457
|
+
}, z$1.core.$strip>>;
|
|
16458
|
+
messageSeq: z$1.ZodNumber;
|
|
16459
|
+
role: z$1.ZodLiteral<"user">;
|
|
16460
|
+
senderThreadId: z$1.ZodNullable<z$1.ZodString>;
|
|
16461
|
+
sourceSeqEnd: z$1.ZodNumber;
|
|
16462
|
+
sourceSeqStart: z$1.ZodNumber;
|
|
16463
|
+
startedAt: z$1.ZodNumber;
|
|
16464
|
+
systemMessageKind: z$1.ZodEnum<{
|
|
16465
|
+
"child-completed": "child-completed";
|
|
16466
|
+
"child-failed": "child-failed";
|
|
16467
|
+
"child-interrupted": "child-interrupted";
|
|
16468
|
+
"child-needs-attention": "child-needs-attention";
|
|
16469
|
+
"child-outcome-batch": "child-outcome-batch";
|
|
16470
|
+
"environment-directory-updated": "environment-directory-updated";
|
|
16471
|
+
"ownership-assigned": "ownership-assigned";
|
|
16472
|
+
"ownership-batch": "ownership-batch";
|
|
16473
|
+
"ownership-removed": "ownership-removed";
|
|
16474
|
+
"tool-result-delivered": "tool-result-delivered";
|
|
16475
|
+
unlabeled: "unlabeled";
|
|
16476
|
+
}>;
|
|
16477
|
+
systemMessageSubject: z$1.ZodNullable<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
16478
|
+
kind: z$1.ZodLiteral<"thread">;
|
|
16479
|
+
outcomes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
16480
|
+
interruption: z$1.ZodOptional<z$1.ZodObject<{
|
|
16481
|
+
cause: z$1.ZodOptional<z$1.ZodLiteral<"host-connection-lost">>;
|
|
16482
|
+
reason: z$1.ZodEnum<{
|
|
16483
|
+
"host-daemon-restarted": "host-daemon-restarted";
|
|
16484
|
+
"host-removed": "host-removed";
|
|
16485
|
+
"manual-stop": "manual-stop";
|
|
16486
|
+
"provider-turn-idle": "provider-turn-idle";
|
|
16487
|
+
}>;
|
|
16488
|
+
}, z$1.core.$strip>>;
|
|
16489
|
+
status: z$1.ZodEnum<{
|
|
16490
|
+
completed: "completed";
|
|
16491
|
+
failed: "failed";
|
|
16492
|
+
interrupted: "interrupted";
|
|
16493
|
+
}>;
|
|
16494
|
+
threadId: z$1.ZodString;
|
|
16495
|
+
}, z$1.core.$strip>>>;
|
|
16496
|
+
threadId: z$1.ZodString;
|
|
16497
|
+
threadName: z$1.ZodString;
|
|
16498
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
16499
|
+
count: z$1.ZodNumber;
|
|
16500
|
+
kind: z$1.ZodLiteral<"thread-batch">;
|
|
16501
|
+
outcomes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
16502
|
+
interruption: z$1.ZodOptional<z$1.ZodObject<{
|
|
16503
|
+
cause: z$1.ZodOptional<z$1.ZodLiteral<"host-connection-lost">>;
|
|
16504
|
+
reason: z$1.ZodEnum<{
|
|
16505
|
+
"host-daemon-restarted": "host-daemon-restarted";
|
|
16506
|
+
"host-removed": "host-removed";
|
|
16507
|
+
"manual-stop": "manual-stop";
|
|
16508
|
+
"provider-turn-idle": "provider-turn-idle";
|
|
16509
|
+
}>;
|
|
16510
|
+
}, z$1.core.$strip>>;
|
|
16511
|
+
status: z$1.ZodEnum<{
|
|
16512
|
+
completed: "completed";
|
|
16513
|
+
failed: "failed";
|
|
16514
|
+
interrupted: "interrupted";
|
|
16515
|
+
}>;
|
|
16516
|
+
threadId: z$1.ZodString;
|
|
16517
|
+
}, z$1.core.$strip>>>;
|
|
16518
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
16519
|
+
kind: z$1.ZodLiteral<"tool-call">;
|
|
16520
|
+
suppress: z$1.ZodBoolean;
|
|
16521
|
+
toolName: z$1.ZodString;
|
|
16522
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
16523
|
+
kind: z$1.ZodLiteral<"directory">;
|
|
16524
|
+
path: z$1.ZodString;
|
|
16525
|
+
}, z$1.core.$strip>], "kind">>;
|
|
16526
|
+
text: z$1.ZodString;
|
|
16527
|
+
threadId: z$1.ZodString;
|
|
16528
|
+
turnId: z$1.ZodNullable<z$1.ZodString>;
|
|
16529
|
+
turnRequest: z$1.ZodObject<{
|
|
16530
|
+
isGrouped: z$1.ZodBoolean;
|
|
16531
|
+
kind: z$1.ZodEnum<{
|
|
16532
|
+
message: "message";
|
|
16533
|
+
steer: "steer";
|
|
16534
|
+
}>;
|
|
16535
|
+
status: z$1.ZodEnum<{
|
|
16536
|
+
accepted: "accepted";
|
|
16537
|
+
pending: "pending";
|
|
16538
|
+
rejected: "rejected";
|
|
16539
|
+
}>;
|
|
16540
|
+
}, z$1.core.$strip>;
|
|
16541
|
+
}, z$1.core.$strip>>;
|
|
16297
16542
|
pendingTodos: z$1.ZodNullable<z$1.ZodObject<{
|
|
16298
16543
|
items: z$1.ZodArray<z$1.ZodObject<{
|
|
16299
16544
|
id: z$1.ZodString;
|
|
@@ -16626,6 +16871,170 @@ declare const threadTimelineReadResponseSchema: z$1.ZodUnion<readonly [z$1.ZodOb
|
|
|
16626
16871
|
}>;
|
|
16627
16872
|
sourceSeq: z$1.ZodNumber;
|
|
16628
16873
|
}, z$1.core.$strip>>>;
|
|
16874
|
+
pendingSteers: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
16875
|
+
attachments: z$1.ZodNullable<z$1.ZodObject<{
|
|
16876
|
+
imageUrls: z$1.ZodArray<z$1.ZodString>;
|
|
16877
|
+
localFileDetails: z$1.ZodArray<z$1.ZodObject<{
|
|
16878
|
+
name: z$1.ZodString;
|
|
16879
|
+
path: z$1.ZodString;
|
|
16880
|
+
sizeBytes: z$1.ZodNullable<z$1.ZodNumber>;
|
|
16881
|
+
}, z$1.core.$strip>>;
|
|
16882
|
+
localFilePaths: z$1.ZodArray<z$1.ZodString>;
|
|
16883
|
+
localFiles: z$1.ZodNumber;
|
|
16884
|
+
localImagePaths: z$1.ZodArray<z$1.ZodString>;
|
|
16885
|
+
localImages: z$1.ZodNumber;
|
|
16886
|
+
webImages: z$1.ZodNumber;
|
|
16887
|
+
}, z$1.core.$strip>>;
|
|
16888
|
+
createdAt: z$1.ZodNumber;
|
|
16889
|
+
id: z$1.ZodString;
|
|
16890
|
+
initiator: z$1.ZodEnum<{
|
|
16891
|
+
agent: "agent";
|
|
16892
|
+
system: "system";
|
|
16893
|
+
user: "user";
|
|
16894
|
+
}>;
|
|
16895
|
+
kind: z$1.ZodLiteral<"conversation">;
|
|
16896
|
+
mentions: z$1.ZodArray<z$1.ZodObject<{
|
|
16897
|
+
end: z$1.ZodNumber;
|
|
16898
|
+
resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
16899
|
+
kind: z$1.ZodLiteral<"thread">;
|
|
16900
|
+
label: z$1.ZodString;
|
|
16901
|
+
projectId: z$1.ZodOptional<z$1.ZodString>;
|
|
16902
|
+
threadId: z$1.ZodString;
|
|
16903
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
16904
|
+
kind: z$1.ZodLiteral<"project">;
|
|
16905
|
+
label: z$1.ZodString;
|
|
16906
|
+
projectId: z$1.ZodString;
|
|
16907
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
16908
|
+
kind: z$1.ZodLiteral<"section">;
|
|
16909
|
+
label: z$1.ZodString;
|
|
16910
|
+
sectionId: z$1.ZodString;
|
|
16911
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
16912
|
+
entryKind: z$1.ZodEnum<{
|
|
16913
|
+
directory: "directory";
|
|
16914
|
+
file: "file";
|
|
16915
|
+
}>;
|
|
16916
|
+
kind: z$1.ZodLiteral<"path">;
|
|
16917
|
+
label: z$1.ZodString;
|
|
16918
|
+
path: z$1.ZodString;
|
|
16919
|
+
source: z$1.ZodEnum<{
|
|
16920
|
+
"thread-storage": "thread-storage";
|
|
16921
|
+
workspace: "workspace";
|
|
16922
|
+
}>;
|
|
16923
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
16924
|
+
argumentHint: z$1.ZodNullable<z$1.ZodString>;
|
|
16925
|
+
kind: z$1.ZodLiteral<"command">;
|
|
16926
|
+
label: z$1.ZodString;
|
|
16927
|
+
name: z$1.ZodString;
|
|
16928
|
+
origin: z$1.ZodEnum<{
|
|
16929
|
+
builtin: "builtin";
|
|
16930
|
+
project: "project";
|
|
16931
|
+
user: "user";
|
|
16932
|
+
}>;
|
|
16933
|
+
source: z$1.ZodEnum<{
|
|
16934
|
+
command: "command";
|
|
16935
|
+
skill: "skill";
|
|
16936
|
+
}>;
|
|
16937
|
+
trigger: z$1.ZodEnum<{
|
|
16938
|
+
"/": "/";
|
|
16939
|
+
$: "$";
|
|
16940
|
+
}>;
|
|
16941
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
16942
|
+
icon: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
16943
|
+
itemId: z$1.ZodString;
|
|
16944
|
+
kind: z$1.ZodLiteral<"plugin">;
|
|
16945
|
+
label: z$1.ZodString;
|
|
16946
|
+
pluginId: z$1.ZodString;
|
|
16947
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
16948
|
+
kind: z$1.ZodLiteral<"attachment">;
|
|
16949
|
+
label: z$1.ZodString;
|
|
16950
|
+
path: z$1.ZodString;
|
|
16951
|
+
}, z$1.core.$strip>], "kind">, unknown>;
|
|
16952
|
+
start: z$1.ZodNumber;
|
|
16953
|
+
}, z$1.core.$strip>>;
|
|
16954
|
+
messageSeq: z$1.ZodNumber;
|
|
16955
|
+
role: z$1.ZodLiteral<"user">;
|
|
16956
|
+
senderThreadId: z$1.ZodNullable<z$1.ZodString>;
|
|
16957
|
+
sourceSeqEnd: z$1.ZodNumber;
|
|
16958
|
+
sourceSeqStart: z$1.ZodNumber;
|
|
16959
|
+
startedAt: z$1.ZodNumber;
|
|
16960
|
+
systemMessageKind: z$1.ZodEnum<{
|
|
16961
|
+
"child-completed": "child-completed";
|
|
16962
|
+
"child-failed": "child-failed";
|
|
16963
|
+
"child-interrupted": "child-interrupted";
|
|
16964
|
+
"child-needs-attention": "child-needs-attention";
|
|
16965
|
+
"child-outcome-batch": "child-outcome-batch";
|
|
16966
|
+
"environment-directory-updated": "environment-directory-updated";
|
|
16967
|
+
"ownership-assigned": "ownership-assigned";
|
|
16968
|
+
"ownership-batch": "ownership-batch";
|
|
16969
|
+
"ownership-removed": "ownership-removed";
|
|
16970
|
+
"tool-result-delivered": "tool-result-delivered";
|
|
16971
|
+
unlabeled: "unlabeled";
|
|
16972
|
+
}>;
|
|
16973
|
+
systemMessageSubject: z$1.ZodNullable<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
16974
|
+
kind: z$1.ZodLiteral<"thread">;
|
|
16975
|
+
outcomes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
16976
|
+
interruption: z$1.ZodOptional<z$1.ZodObject<{
|
|
16977
|
+
cause: z$1.ZodOptional<z$1.ZodLiteral<"host-connection-lost">>;
|
|
16978
|
+
reason: z$1.ZodEnum<{
|
|
16979
|
+
"host-daemon-restarted": "host-daemon-restarted";
|
|
16980
|
+
"host-removed": "host-removed";
|
|
16981
|
+
"manual-stop": "manual-stop";
|
|
16982
|
+
"provider-turn-idle": "provider-turn-idle";
|
|
16983
|
+
}>;
|
|
16984
|
+
}, z$1.core.$strip>>;
|
|
16985
|
+
status: z$1.ZodEnum<{
|
|
16986
|
+
completed: "completed";
|
|
16987
|
+
failed: "failed";
|
|
16988
|
+
interrupted: "interrupted";
|
|
16989
|
+
}>;
|
|
16990
|
+
threadId: z$1.ZodString;
|
|
16991
|
+
}, z$1.core.$strip>>>;
|
|
16992
|
+
threadId: z$1.ZodString;
|
|
16993
|
+
threadName: z$1.ZodString;
|
|
16994
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
16995
|
+
count: z$1.ZodNumber;
|
|
16996
|
+
kind: z$1.ZodLiteral<"thread-batch">;
|
|
16997
|
+
outcomes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
16998
|
+
interruption: z$1.ZodOptional<z$1.ZodObject<{
|
|
16999
|
+
cause: z$1.ZodOptional<z$1.ZodLiteral<"host-connection-lost">>;
|
|
17000
|
+
reason: z$1.ZodEnum<{
|
|
17001
|
+
"host-daemon-restarted": "host-daemon-restarted";
|
|
17002
|
+
"host-removed": "host-removed";
|
|
17003
|
+
"manual-stop": "manual-stop";
|
|
17004
|
+
"provider-turn-idle": "provider-turn-idle";
|
|
17005
|
+
}>;
|
|
17006
|
+
}, z$1.core.$strip>>;
|
|
17007
|
+
status: z$1.ZodEnum<{
|
|
17008
|
+
completed: "completed";
|
|
17009
|
+
failed: "failed";
|
|
17010
|
+
interrupted: "interrupted";
|
|
17011
|
+
}>;
|
|
17012
|
+
threadId: z$1.ZodString;
|
|
17013
|
+
}, z$1.core.$strip>>>;
|
|
17014
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
17015
|
+
kind: z$1.ZodLiteral<"tool-call">;
|
|
17016
|
+
suppress: z$1.ZodBoolean;
|
|
17017
|
+
toolName: z$1.ZodString;
|
|
17018
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
17019
|
+
kind: z$1.ZodLiteral<"directory">;
|
|
17020
|
+
path: z$1.ZodString;
|
|
17021
|
+
}, z$1.core.$strip>], "kind">>;
|
|
17022
|
+
text: z$1.ZodString;
|
|
17023
|
+
threadId: z$1.ZodString;
|
|
17024
|
+
turnId: z$1.ZodNullable<z$1.ZodString>;
|
|
17025
|
+
turnRequest: z$1.ZodObject<{
|
|
17026
|
+
isGrouped: z$1.ZodBoolean;
|
|
17027
|
+
kind: z$1.ZodEnum<{
|
|
17028
|
+
message: "message";
|
|
17029
|
+
steer: "steer";
|
|
17030
|
+
}>;
|
|
17031
|
+
status: z$1.ZodEnum<{
|
|
17032
|
+
accepted: "accepted";
|
|
17033
|
+
pending: "pending";
|
|
17034
|
+
rejected: "rejected";
|
|
17035
|
+
}>;
|
|
17036
|
+
}, z$1.core.$strip>;
|
|
17037
|
+
}, z$1.core.$strip>>>;
|
|
16629
17038
|
pendingTodos: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
|
|
16630
17039
|
items: z$1.ZodArray<z$1.ZodObject<{
|
|
16631
17040
|
id: z$1.ZodString;
|
|
@@ -16962,6 +17371,170 @@ declare const threadTimelineReadResponseSchema: z$1.ZodUnion<readonly [z$1.ZodOb
|
|
|
16962
17371
|
}>;
|
|
16963
17372
|
sourceSeq: z$1.ZodNumber;
|
|
16964
17373
|
}, z$1.core.$strip>>;
|
|
17374
|
+
pendingSteers: z$1.ZodArray<z$1.ZodObject<{
|
|
17375
|
+
attachments: z$1.ZodNullable<z$1.ZodObject<{
|
|
17376
|
+
imageUrls: z$1.ZodArray<z$1.ZodString>;
|
|
17377
|
+
localFileDetails: z$1.ZodArray<z$1.ZodObject<{
|
|
17378
|
+
name: z$1.ZodString;
|
|
17379
|
+
path: z$1.ZodString;
|
|
17380
|
+
sizeBytes: z$1.ZodNullable<z$1.ZodNumber>;
|
|
17381
|
+
}, z$1.core.$strip>>;
|
|
17382
|
+
localFilePaths: z$1.ZodArray<z$1.ZodString>;
|
|
17383
|
+
localFiles: z$1.ZodNumber;
|
|
17384
|
+
localImagePaths: z$1.ZodArray<z$1.ZodString>;
|
|
17385
|
+
localImages: z$1.ZodNumber;
|
|
17386
|
+
webImages: z$1.ZodNumber;
|
|
17387
|
+
}, z$1.core.$strip>>;
|
|
17388
|
+
createdAt: z$1.ZodNumber;
|
|
17389
|
+
id: z$1.ZodString;
|
|
17390
|
+
initiator: z$1.ZodEnum<{
|
|
17391
|
+
agent: "agent";
|
|
17392
|
+
system: "system";
|
|
17393
|
+
user: "user";
|
|
17394
|
+
}>;
|
|
17395
|
+
kind: z$1.ZodLiteral<"conversation">;
|
|
17396
|
+
mentions: z$1.ZodArray<z$1.ZodObject<{
|
|
17397
|
+
end: z$1.ZodNumber;
|
|
17398
|
+
resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
17399
|
+
kind: z$1.ZodLiteral<"thread">;
|
|
17400
|
+
label: z$1.ZodString;
|
|
17401
|
+
projectId: z$1.ZodOptional<z$1.ZodString>;
|
|
17402
|
+
threadId: z$1.ZodString;
|
|
17403
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
17404
|
+
kind: z$1.ZodLiteral<"project">;
|
|
17405
|
+
label: z$1.ZodString;
|
|
17406
|
+
projectId: z$1.ZodString;
|
|
17407
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
17408
|
+
kind: z$1.ZodLiteral<"section">;
|
|
17409
|
+
label: z$1.ZodString;
|
|
17410
|
+
sectionId: z$1.ZodString;
|
|
17411
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
17412
|
+
entryKind: z$1.ZodEnum<{
|
|
17413
|
+
directory: "directory";
|
|
17414
|
+
file: "file";
|
|
17415
|
+
}>;
|
|
17416
|
+
kind: z$1.ZodLiteral<"path">;
|
|
17417
|
+
label: z$1.ZodString;
|
|
17418
|
+
path: z$1.ZodString;
|
|
17419
|
+
source: z$1.ZodEnum<{
|
|
17420
|
+
"thread-storage": "thread-storage";
|
|
17421
|
+
workspace: "workspace";
|
|
17422
|
+
}>;
|
|
17423
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
17424
|
+
argumentHint: z$1.ZodNullable<z$1.ZodString>;
|
|
17425
|
+
kind: z$1.ZodLiteral<"command">;
|
|
17426
|
+
label: z$1.ZodString;
|
|
17427
|
+
name: z$1.ZodString;
|
|
17428
|
+
origin: z$1.ZodEnum<{
|
|
17429
|
+
builtin: "builtin";
|
|
17430
|
+
project: "project";
|
|
17431
|
+
user: "user";
|
|
17432
|
+
}>;
|
|
17433
|
+
source: z$1.ZodEnum<{
|
|
17434
|
+
command: "command";
|
|
17435
|
+
skill: "skill";
|
|
17436
|
+
}>;
|
|
17437
|
+
trigger: z$1.ZodEnum<{
|
|
17438
|
+
"/": "/";
|
|
17439
|
+
$: "$";
|
|
17440
|
+
}>;
|
|
17441
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
17442
|
+
icon: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
17443
|
+
itemId: z$1.ZodString;
|
|
17444
|
+
kind: z$1.ZodLiteral<"plugin">;
|
|
17445
|
+
label: z$1.ZodString;
|
|
17446
|
+
pluginId: z$1.ZodString;
|
|
17447
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
17448
|
+
kind: z$1.ZodLiteral<"attachment">;
|
|
17449
|
+
label: z$1.ZodString;
|
|
17450
|
+
path: z$1.ZodString;
|
|
17451
|
+
}, z$1.core.$strip>], "kind">, unknown>;
|
|
17452
|
+
start: z$1.ZodNumber;
|
|
17453
|
+
}, z$1.core.$strip>>;
|
|
17454
|
+
messageSeq: z$1.ZodNumber;
|
|
17455
|
+
role: z$1.ZodLiteral<"user">;
|
|
17456
|
+
senderThreadId: z$1.ZodNullable<z$1.ZodString>;
|
|
17457
|
+
sourceSeqEnd: z$1.ZodNumber;
|
|
17458
|
+
sourceSeqStart: z$1.ZodNumber;
|
|
17459
|
+
startedAt: z$1.ZodNumber;
|
|
17460
|
+
systemMessageKind: z$1.ZodEnum<{
|
|
17461
|
+
"child-completed": "child-completed";
|
|
17462
|
+
"child-failed": "child-failed";
|
|
17463
|
+
"child-interrupted": "child-interrupted";
|
|
17464
|
+
"child-needs-attention": "child-needs-attention";
|
|
17465
|
+
"child-outcome-batch": "child-outcome-batch";
|
|
17466
|
+
"environment-directory-updated": "environment-directory-updated";
|
|
17467
|
+
"ownership-assigned": "ownership-assigned";
|
|
17468
|
+
"ownership-batch": "ownership-batch";
|
|
17469
|
+
"ownership-removed": "ownership-removed";
|
|
17470
|
+
"tool-result-delivered": "tool-result-delivered";
|
|
17471
|
+
unlabeled: "unlabeled";
|
|
17472
|
+
}>;
|
|
17473
|
+
systemMessageSubject: z$1.ZodNullable<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
17474
|
+
kind: z$1.ZodLiteral<"thread">;
|
|
17475
|
+
outcomes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
17476
|
+
interruption: z$1.ZodOptional<z$1.ZodObject<{
|
|
17477
|
+
cause: z$1.ZodOptional<z$1.ZodLiteral<"host-connection-lost">>;
|
|
17478
|
+
reason: z$1.ZodEnum<{
|
|
17479
|
+
"host-daemon-restarted": "host-daemon-restarted";
|
|
17480
|
+
"host-removed": "host-removed";
|
|
17481
|
+
"manual-stop": "manual-stop";
|
|
17482
|
+
"provider-turn-idle": "provider-turn-idle";
|
|
17483
|
+
}>;
|
|
17484
|
+
}, z$1.core.$strip>>;
|
|
17485
|
+
status: z$1.ZodEnum<{
|
|
17486
|
+
completed: "completed";
|
|
17487
|
+
failed: "failed";
|
|
17488
|
+
interrupted: "interrupted";
|
|
17489
|
+
}>;
|
|
17490
|
+
threadId: z$1.ZodString;
|
|
17491
|
+
}, z$1.core.$strip>>>;
|
|
17492
|
+
threadId: z$1.ZodString;
|
|
17493
|
+
threadName: z$1.ZodString;
|
|
17494
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
17495
|
+
count: z$1.ZodNumber;
|
|
17496
|
+
kind: z$1.ZodLiteral<"thread-batch">;
|
|
17497
|
+
outcomes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
17498
|
+
interruption: z$1.ZodOptional<z$1.ZodObject<{
|
|
17499
|
+
cause: z$1.ZodOptional<z$1.ZodLiteral<"host-connection-lost">>;
|
|
17500
|
+
reason: z$1.ZodEnum<{
|
|
17501
|
+
"host-daemon-restarted": "host-daemon-restarted";
|
|
17502
|
+
"host-removed": "host-removed";
|
|
17503
|
+
"manual-stop": "manual-stop";
|
|
17504
|
+
"provider-turn-idle": "provider-turn-idle";
|
|
17505
|
+
}>;
|
|
17506
|
+
}, z$1.core.$strip>>;
|
|
17507
|
+
status: z$1.ZodEnum<{
|
|
17508
|
+
completed: "completed";
|
|
17509
|
+
failed: "failed";
|
|
17510
|
+
interrupted: "interrupted";
|
|
17511
|
+
}>;
|
|
17512
|
+
threadId: z$1.ZodString;
|
|
17513
|
+
}, z$1.core.$strip>>>;
|
|
17514
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
17515
|
+
kind: z$1.ZodLiteral<"tool-call">;
|
|
17516
|
+
suppress: z$1.ZodBoolean;
|
|
17517
|
+
toolName: z$1.ZodString;
|
|
17518
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
17519
|
+
kind: z$1.ZodLiteral<"directory">;
|
|
17520
|
+
path: z$1.ZodString;
|
|
17521
|
+
}, z$1.core.$strip>], "kind">>;
|
|
17522
|
+
text: z$1.ZodString;
|
|
17523
|
+
threadId: z$1.ZodString;
|
|
17524
|
+
turnId: z$1.ZodNullable<z$1.ZodString>;
|
|
17525
|
+
turnRequest: z$1.ZodObject<{
|
|
17526
|
+
isGrouped: z$1.ZodBoolean;
|
|
17527
|
+
kind: z$1.ZodEnum<{
|
|
17528
|
+
message: "message";
|
|
17529
|
+
steer: "steer";
|
|
17530
|
+
}>;
|
|
17531
|
+
status: z$1.ZodEnum<{
|
|
17532
|
+
accepted: "accepted";
|
|
17533
|
+
pending: "pending";
|
|
17534
|
+
rejected: "rejected";
|
|
17535
|
+
}>;
|
|
17536
|
+
}, z$1.core.$strip>;
|
|
17537
|
+
}, z$1.core.$strip>>;
|
|
16965
17538
|
pendingTodos: z$1.ZodNullable<z$1.ZodObject<{
|
|
16966
17539
|
items: z$1.ZodArray<z$1.ZodObject<{
|
|
16967
17540
|
id: z$1.ZodString;
|
|
@@ -17441,6 +18014,23 @@ declare const deleteOldServerCopyResponseSchema: z$1.ZodObject<{
|
|
|
17441
18014
|
}, z$1.core.$strict>;
|
|
17442
18015
|
type DeleteOldServerCopyResponse = z$1.infer<typeof deleteOldServerCopyResponseSchema>;
|
|
17443
18016
|
|
|
18017
|
+
declare const serverSweepFailuresResponseSchema: z$1.ZodObject<{
|
|
18018
|
+
failures: z$1.ZodArray<z$1.ZodObject<{
|
|
18019
|
+
attempts: z$1.ZodNumber;
|
|
18020
|
+
firstFailedAt: z$1.ZodNumber;
|
|
18021
|
+
itemKey: z$1.ZodString;
|
|
18022
|
+
lastError: z$1.ZodString;
|
|
18023
|
+
needsRecovery: z$1.ZodBoolean;
|
|
18024
|
+
retryAt: z$1.ZodNumber;
|
|
18025
|
+
sweep: z$1.ZodString;
|
|
18026
|
+
}, z$1.core.$strict>>;
|
|
18027
|
+
}, z$1.core.$strict>;
|
|
18028
|
+
type ServerSweepFailuresResponse = z$1.infer<typeof serverSweepFailuresResponseSchema>;
|
|
18029
|
+
declare const serverSweepRetryResponseSchema: z$1.ZodObject<{
|
|
18030
|
+
retried: z$1.ZodNumber;
|
|
18031
|
+
}, z$1.core.$strict>;
|
|
18032
|
+
type ServerSweepRetryResponse = z$1.infer<typeof serverSweepRetryResponseSchema>;
|
|
18033
|
+
|
|
17444
18034
|
declare const threadTabsResponseSchema: z$1.ZodObject<{
|
|
17445
18035
|
revision: z$1.ZodNumber;
|
|
17446
18036
|
tabs: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
@@ -17866,9 +18456,7 @@ type EnvironmentListResult = Environment[];
|
|
|
17866
18456
|
interface EnvironmentDeleteArgs {
|
|
17867
18457
|
environmentId: string;
|
|
17868
18458
|
}
|
|
17869
|
-
type EnvironmentDeleteResult =
|
|
17870
|
-
ok: true;
|
|
17871
|
-
};
|
|
18459
|
+
type EnvironmentDeleteResult = OperationResponse;
|
|
17872
18460
|
interface EnvironmentListProvidersArgs {
|
|
17873
18461
|
projectId?: string;
|
|
17874
18462
|
hostId?: string;
|
|
@@ -17878,9 +18466,7 @@ type EnvironmentListProvidersResult = SystemEnvironmentProvider[];
|
|
|
17878
18466
|
interface EnvironmentsArea {
|
|
17879
18467
|
experimental_cleanup(args: EnvironmentActionArgs & {
|
|
17880
18468
|
recover?: boolean;
|
|
17881
|
-
}): Promise<
|
|
17882
|
-
ok: true;
|
|
17883
|
-
}>;
|
|
18469
|
+
}): Promise<OperationResponse>;
|
|
17884
18470
|
archiveThreads(args: EnvironmentActionArgs): Promise<EnvironmentArchiveThreadsResult>;
|
|
17885
18471
|
commit(args: EnvironmentCommitArgs): Promise<EnvironmentCommitResult>;
|
|
17886
18472
|
get(args: EnvironmentGetArgs): Promise<EnvironmentGetResult>;
|
|
@@ -18042,9 +18628,7 @@ interface MachineProviderListArgs {
|
|
|
18042
18628
|
signal?: AbortSignal;
|
|
18043
18629
|
}
|
|
18044
18630
|
type HostCreateJoinCodeResult = CreateHostJoinCodeResponse;
|
|
18045
|
-
type HostDeleteResult =
|
|
18046
|
-
ok: true;
|
|
18047
|
-
};
|
|
18631
|
+
type HostDeleteResult = HostRemovalResponse;
|
|
18048
18632
|
type HostDirectoryResult = HostDirectoryListing;
|
|
18049
18633
|
type HostDiscoverReposResult = HostDiscoveredReposResponse;
|
|
18050
18634
|
type HostGetResult = Host & {
|
|
@@ -18060,7 +18644,7 @@ type HostPathsExistResult = HostPathsExistResponse;
|
|
|
18060
18644
|
type HostPickFolderResult = HostPickFolderResponse;
|
|
18061
18645
|
type HostProviderCliStatusResult = HostProviderCliStatusResponse;
|
|
18062
18646
|
type HostRetryUpdateResult = HostRetryUpdateResponse;
|
|
18063
|
-
type
|
|
18647
|
+
type HostRetryCleanupResult = HostRemovalResponse;
|
|
18064
18648
|
type HostUpdateResult = Host;
|
|
18065
18649
|
type MachineProviderListResult = SystemMachineProvider[];
|
|
18066
18650
|
interface HostsArea {
|
|
@@ -18084,7 +18668,7 @@ interface HostsArea {
|
|
|
18084
18668
|
pickFolder(args: HostPickFolderArgs): Promise<HostPickFolderResult>;
|
|
18085
18669
|
providerCliStatus(args: HostProviderCliStatusArgs): Promise<HostProviderCliStatusResult>;
|
|
18086
18670
|
experimental_resume(args: HostActionArgs): Promise<Host>;
|
|
18087
|
-
experimental_retryCleanup(args: HostActionArgs): Promise<
|
|
18671
|
+
experimental_retryCleanup(args: HostActionArgs): Promise<HostRetryCleanupResult>;
|
|
18088
18672
|
retryUpdate(args: HostRetryUpdateArgs): Promise<HostRetryUpdateResult>;
|
|
18089
18673
|
experimental_suspend(args: HostActionArgs): Promise<Host>;
|
|
18090
18674
|
experimental_reconcile(args: HostActionArgs): Promise<Host>;
|
|
@@ -18100,6 +18684,9 @@ interface ServerMoveStatusArgs {
|
|
|
18100
18684
|
interface ServerExportArgs {
|
|
18101
18685
|
signal?: AbortSignal;
|
|
18102
18686
|
}
|
|
18687
|
+
interface ServerSweepFailuresArgs {
|
|
18688
|
+
signal?: AbortSignal;
|
|
18689
|
+
}
|
|
18103
18690
|
interface ServerExportResult {
|
|
18104
18691
|
fileName: string;
|
|
18105
18692
|
body: ReadableStream<Uint8Array>;
|
|
@@ -18111,6 +18698,8 @@ interface ExperimentalServerArea {
|
|
|
18111
18698
|
moveStatus(args?: ServerMoveStatusArgs): Promise<ServerMoveStatusResponse>;
|
|
18112
18699
|
cancelMove(): Promise<ServerMoveStatus>;
|
|
18113
18700
|
export(args?: ServerExportArgs): Promise<ServerExportResult>;
|
|
18701
|
+
sweepFailures(args?: ServerSweepFailuresArgs): Promise<ServerSweepFailuresResponse>;
|
|
18702
|
+
retrySweepFailures(): Promise<ServerSweepRetryResponse>;
|
|
18114
18703
|
}
|
|
18115
18704
|
|
|
18116
18705
|
interface ProjectListArgs {
|
|
@@ -18220,9 +18809,7 @@ type ProjectAttachmentUploadResult = UploadedPromptAttachment;
|
|
|
18220
18809
|
type ProjectCommandsResult = CommandListResponse;
|
|
18221
18810
|
type ProjectCreateResult = ProjectResponse;
|
|
18222
18811
|
type ProjectDefaultExecutionOptionsResult = ProjectExecutionDefaults | null;
|
|
18223
|
-
type ProjectDeleteResult =
|
|
18224
|
-
ok: true;
|
|
18225
|
-
};
|
|
18812
|
+
type ProjectDeleteResult = OperationResponse;
|
|
18226
18813
|
interface ProjectFileContentResult {
|
|
18227
18814
|
content: string;
|
|
18228
18815
|
contentEncoding: "base64" | "utf8";
|
|
@@ -18237,9 +18824,7 @@ type ProjectPromptHistoryResult = PromptHistoryResponse;
|
|
|
18237
18824
|
type ProjectReorderResult = ProjectResponse[];
|
|
18238
18825
|
type ProjectSidebarBootstrapResult = SidebarBootstrapResponse;
|
|
18239
18826
|
type ProjectSourceAddResult = ProjectSource;
|
|
18240
|
-
type ProjectSourceDeleteResult =
|
|
18241
|
-
ok: true;
|
|
18242
|
-
};
|
|
18827
|
+
type ProjectSourceDeleteResult = OperationResponse;
|
|
18243
18828
|
type ProjectSourceUpdateResult = ProjectSource;
|
|
18244
18829
|
type ProjectUpdateResult = ProjectResponse;
|
|
18245
18830
|
interface ProjectSourcesArea {
|
|
@@ -18248,7 +18833,7 @@ interface ProjectSourcesArea {
|
|
|
18248
18833
|
update(args: ProjectSourceUpdateArgs): Promise<ProjectSourceUpdateResult>;
|
|
18249
18834
|
}
|
|
18250
18835
|
interface ProjectAttachmentsArea {
|
|
18251
|
-
copy(args: ProjectAttachmentCopyArgs): Promise<
|
|
18836
|
+
copy(args: ProjectAttachmentCopyArgs): Promise<OperationResponse>;
|
|
18252
18837
|
read(args: ProjectAttachmentReadArgs): Promise<ProjectAttachmentReadResult>;
|
|
18253
18838
|
upload(args: ProjectAttachmentUploadArgs): Promise<ProjectAttachmentUploadResult>;
|
|
18254
18839
|
}
|
|
@@ -19022,24 +19607,16 @@ type ThreadTimelineReadResult = ThreadTimelineReadResponse;
|
|
|
19022
19607
|
type ThreadArchiveResult = ThreadArchiveAllResponse;
|
|
19023
19608
|
type ThreadOpenResult = ThreadOpenResponse;
|
|
19024
19609
|
type ThreadPaneActionResult = ThreadPaneActionResponse;
|
|
19025
|
-
type ThreadDeleteResult =
|
|
19026
|
-
ok: true;
|
|
19027
|
-
};
|
|
19610
|
+
type ThreadDeleteResult = OperationResponse;
|
|
19028
19611
|
type ThreadSendResult = SendMessageResponse;
|
|
19029
19612
|
type ThreadRetryResult = RetryTurnResponse;
|
|
19030
19613
|
type ThreadEditMessageResult = EditMessageResponse;
|
|
19031
|
-
type ThreadStopResult = {
|
|
19032
|
-
|
|
19033
|
-
};
|
|
19034
|
-
type ThreadCompactResult = {
|
|
19035
|
-
ok: true;
|
|
19036
|
-
};
|
|
19037
|
-
type ThreadBannerActionResult = {
|
|
19038
|
-
ok: true;
|
|
19039
|
-
};
|
|
19040
|
-
type ThreadUnarchiveResult = {
|
|
19041
|
-
ok: true;
|
|
19614
|
+
type ThreadStopResult = OperationResponse & {
|
|
19615
|
+
status: ThreadStatus;
|
|
19042
19616
|
};
|
|
19617
|
+
type ThreadCompactResult = OperationResponse;
|
|
19618
|
+
type ThreadBannerActionResult = OperationResponse;
|
|
19619
|
+
type ThreadUnarchiveResult = OperationResponse;
|
|
19043
19620
|
type ThreadArchiveAllResult = ThreadArchiveAllResponse;
|
|
19044
19621
|
type ThreadReadStateResult = ThreadResponse;
|
|
19045
19622
|
type ThreadRestoreEnvironmentResult = ThreadResponse;
|
|
@@ -19048,13 +19625,9 @@ type ThreadPromptHistoryResult = PromptHistoryResponse;
|
|
|
19048
19625
|
type ThreadQueuedMessagesResult = ThreadQueuedMessageListResponse;
|
|
19049
19626
|
type ThreadQueuedMessageCreateResult = ThreadQueuedMessage;
|
|
19050
19627
|
type ThreadQueuedMessageUpdateResult = ThreadQueuedMessage;
|
|
19051
|
-
type ThreadQueuedMessageDeleteResult =
|
|
19052
|
-
ok: true;
|
|
19053
|
-
};
|
|
19628
|
+
type ThreadQueuedMessageDeleteResult = OperationResponse;
|
|
19054
19629
|
type ThreadQueuedMessageEditHoldResult = QueuedMessageEditHoldResponse;
|
|
19055
|
-
type ThreadQueuedMessageEditHoldReleaseResult =
|
|
19056
|
-
ok: true;
|
|
19057
|
-
};
|
|
19630
|
+
type ThreadQueuedMessageEditHoldReleaseResult = OperationResponse;
|
|
19058
19631
|
type ThreadQueuedMessageReorderResult = ThreadQueuedMessageListResponse;
|
|
19059
19632
|
type ThreadQueuedMessageSendResult = SendQueuedMessageResponse;
|
|
19060
19633
|
type ThreadQueuedMessageGroupBoundaryResult = ThreadQueuedMessageListResponse;
|
|
@@ -21119,8 +21692,7 @@ interface ExperimentalThreadRowMetadataDataInput {
|
|
|
21119
21692
|
/**
|
|
21120
21693
|
* A small item on a thread row's metadata line, under the title: a badge, not
|
|
21121
21694
|
* a control. Items share one line, left to right, and the line clips at the
|
|
21122
|
-
* row's edge. bb's sidebar draws the line
|
|
21123
|
-
* experiment is on and the user turns on Organize → Rows → Metadata, and only
|
|
21695
|
+
* row's edge. bb's sidebar draws the line when the user turns on Organize → Rows → Metadata, and only
|
|
21124
21696
|
* on rows where an item shows something.
|
|
21125
21697
|
* Load the line's data in `useData`, a React hook bb calls once for the
|
|
21126
21698
|
* whole app while any list draws a metadata line, never per row; it
|
|
@@ -22672,6 +23244,8 @@ interface ExperimentalMessageMetadataRegistration {
|
|
|
22672
23244
|
placement?: ExperimentalMessageMetadataPlacement;
|
|
22673
23245
|
component: ComponentType<ExperimentalMessageMetadataProps>;
|
|
22674
23246
|
}
|
|
23247
|
+
/** A timeline a `messageAction` can show in; see {@link PluginMessageActionRegistration.experimental_surfaces}. */
|
|
23248
|
+
type ExperimentalMessageActionSurface = "embedded-chat" | "thread-view";
|
|
22675
23249
|
/** Context handed to a `messageAction`'s `run`. */
|
|
22676
23250
|
interface PluginMessageActionContext {
|
|
22677
23251
|
/** The thread whose timeline surfaced the action. */
|
|
@@ -22692,12 +23266,13 @@ interface PluginMessageActionContext {
|
|
|
22692
23266
|
composer: PluginComposerApi | null;
|
|
22693
23267
|
}
|
|
22694
23268
|
/**
|
|
22695
|
-
* An action on chat messages in
|
|
22696
|
-
*
|
|
22697
|
-
* the
|
|
22698
|
-
*
|
|
22699
|
-
* supplies title, icon, and `run` behavior only. Resolved icon
|
|
22700
|
-
* plugin branding; omitted or unknown names fall
|
|
23269
|
+
* An action on chat messages in every thread timeline, including embedded
|
|
23270
|
+
* `ThreadChat` timelines unless `experimental_surfaces` narrows it: an icon
|
|
23271
|
+
* button in the per-message action bar (user and assistant messages) and an
|
|
23272
|
+
* entry in the assistant-message text-selection menu. Host-rendered chrome —
|
|
23273
|
+
* the plugin supplies title, icon, and `run` behavior only. Resolved icon
|
|
23274
|
+
* names take precedence over plugin branding; omitted or unknown names fall
|
|
23275
|
+
* back to branding.
|
|
22701
23276
|
*/
|
|
22702
23277
|
interface PluginMessageActionRegistration {
|
|
22703
23278
|
/** Unique within the plugin; letters, digits, `-`, `_`. */
|
|
@@ -22705,6 +23280,12 @@ interface PluginMessageActionRegistration {
|
|
|
22705
23280
|
/** Tooltip / menu label for the action. */
|
|
22706
23281
|
title: string;
|
|
22707
23282
|
icon?: BbIconName;
|
|
23283
|
+
/**
|
|
23284
|
+
* Timelines that show the action: `"thread-view"` is bb's thread view and
|
|
23285
|
+
* `"embedded-chat"` an embedded `ThreadChat`. Omit for both. Experimental:
|
|
23286
|
+
* see docs/api_to_audit.md.
|
|
23287
|
+
*/
|
|
23288
|
+
experimental_surfaces?: readonly ExperimentalMessageActionSurface[];
|
|
22708
23289
|
/**
|
|
22709
23290
|
* Runs when the user activates the action. Errors (sync or async) are
|
|
22710
23291
|
* contained and logged; they never break the timeline.
|
|
@@ -22737,6 +23318,13 @@ interface PluginCommandShortcut {
|
|
|
22737
23318
|
alt?: boolean;
|
|
22738
23319
|
shift?: boolean;
|
|
22739
23320
|
}
|
|
23321
|
+
/** The fields of a keydown that {@link PluginSdkApp.experimental_matchesShortcutKey} reads; DOM and React keyboard events both fit. */
|
|
23322
|
+
interface ExperimentalShortcutKeyEvent {
|
|
23323
|
+
key: string;
|
|
23324
|
+
code: string;
|
|
23325
|
+
altKey: boolean;
|
|
23326
|
+
shiftKey: boolean;
|
|
23327
|
+
}
|
|
22740
23328
|
/**
|
|
22741
23329
|
* A command registered with `app.commands.register`, listed in bb's quick
|
|
22742
23330
|
* palette (Mod+Shift+P) under the plugin's name
|
|
@@ -23302,6 +23890,13 @@ interface ComposerCustomization {
|
|
|
23302
23890
|
id: string;
|
|
23303
23891
|
/** Composer kinds where this customization is active; omit for all kinds. */
|
|
23304
23892
|
scopes?: readonly PluginComposerScope["kind"][];
|
|
23893
|
+
/**
|
|
23894
|
+
* Controls rendered in the composer's action row, before the voice, stop
|
|
23895
|
+
* and submit controls. The collapsed single-line layout leaves them out,
|
|
23896
|
+
* as it does bb's `+` menu and model picker; they show once the composer
|
|
23897
|
+
* expands. bb shows the first three plugins' actions inline and the rest
|
|
23898
|
+
* behind a "More plugin actions" button.
|
|
23899
|
+
*/
|
|
23305
23900
|
actions?: readonly {
|
|
23306
23901
|
id: string;
|
|
23307
23902
|
component: ComponentType;
|
|
@@ -23724,8 +24319,8 @@ interface ComposerSubmitOptions {
|
|
|
23724
24319
|
/**
|
|
23725
24320
|
* A consumer-supplied action on the messages of one `ThreadChat` instance,
|
|
23726
24321
|
* rendered in the embedded timeline's per-message action bar alongside the
|
|
23727
|
-
* native
|
|
23728
|
-
*
|
|
24322
|
+
* native and slot-registered `messageAction` actions. Unlike the
|
|
24323
|
+
* `messageAction` slot this is scoped to the rendering component, not
|
|
23729
24324
|
* registered globally.
|
|
23730
24325
|
*/
|
|
23731
24326
|
interface ThreadChatMessageAction {
|
|
@@ -23968,9 +24563,10 @@ interface NewThreadRequest {
|
|
|
23968
24563
|
*/
|
|
23969
24564
|
interface NewThreadComposerProps {
|
|
23970
24565
|
/**
|
|
23971
|
-
* Seeds the project picker.
|
|
23972
|
-
*
|
|
23973
|
-
*
|
|
24566
|
+
* Seeds the project picker. Omitted, the picker starts on the project the
|
|
24567
|
+
* user last picked in bb's New thread view. The user can change it,
|
|
24568
|
+
* including choosing "Don't work in a project"; see
|
|
24569
|
+
* {@link NewThreadRequest.projectId} for the submitted projectless shape.
|
|
23974
24570
|
*/
|
|
23975
24571
|
defaultProjectId?: string;
|
|
23976
24572
|
/**
|
|
@@ -24085,6 +24681,13 @@ interface MarkdownProps {
|
|
|
24085
24681
|
kind: "host";
|
|
24086
24682
|
}>;
|
|
24087
24683
|
};
|
|
24684
|
+
/**
|
|
24685
|
+
* The chat message this Markdown shows. With it, the code-fence renderers
|
|
24686
|
+
* and message directives plugins register render here as they do in the
|
|
24687
|
+
* thread timeline, and receive this as their `message`. Without it, fences
|
|
24688
|
+
* render as code and directives as their source text.
|
|
24689
|
+
*/
|
|
24690
|
+
experimental_message?: PluginMessageDirectiveMessage;
|
|
24088
24691
|
}
|
|
24089
24692
|
/**
|
|
24090
24693
|
* Props for BB's semantic URL link. The host owns ordinary activation while
|
|
@@ -25035,6 +25638,22 @@ interface PluginSdkApp {
|
|
|
25035
25638
|
experimental_VoiceRecordingBar: ComponentType<ExperimentalVoiceRecordingBarProps>;
|
|
25036
25639
|
experimental_FailedVoiceRecordings: ComponentType<ExperimentalFailedVoiceRecordingsProps>;
|
|
25037
25640
|
experimental_ShortcutHint: ComponentType<ExperimentalShortcutHintProps>;
|
|
25641
|
+
/**
|
|
25642
|
+
* Whether `event` presses `key` (a `PluginCommandShortcut` key such as
|
|
25643
|
+
* `"k"`, `"["` or `"Enter"`), compared the way bb compares keys for its own
|
|
25644
|
+
* keybindings; the caller checks modifiers. Letter, digit and punctuation
|
|
25645
|
+
* keys match by physical position when the active layout types a non-Latin
|
|
25646
|
+
* character there, so Ctrl+K is found on Cyrillic, Greek, Hebrew or Arabic
|
|
25647
|
+
* layouts, while Latin layouts such as Dvorak keep their own letters.
|
|
25648
|
+
* Experimental: see docs/api_to_audit.md.
|
|
25649
|
+
*/
|
|
25650
|
+
experimental_matchesShortcutKey(event: ExperimentalShortcutKeyEvent, key: string): boolean;
|
|
25651
|
+
/**
|
|
25652
|
+
* Cuts `value` to at most `maxChars` UTF-16 code units without splitting a
|
|
25653
|
+
* surrogate pair, so an emoji at the cut is dropped whole instead of leaving
|
|
25654
|
+
* half of it. Experimental: see docs/api_to_audit.md.
|
|
25655
|
+
*/
|
|
25656
|
+
experimental_sliceUtf16Head(value: string, maxChars: number): string;
|
|
25038
25657
|
experimental_ImageLightbox: ComponentType<ExperimentalImageLightboxProps>;
|
|
25039
25658
|
experimental_PromptMentionIcon: ComponentType<ExperimentalPromptMentionIconProps>;
|
|
25040
25659
|
/**
|
|
@@ -25151,6 +25770,8 @@ declare const experimental_FailedVoiceRecordings: react.ComponentType<Experiment
|
|
|
25151
25770
|
declare const experimental_ShortcutHint: react.ComponentType<ExperimentalShortcutHintProps>;
|
|
25152
25771
|
declare const experimental_ImageLightbox: react.ComponentType<ExperimentalImageLightboxProps>;
|
|
25153
25772
|
declare const experimental_PromptMentionIcon: react.ComponentType<ExperimentalPromptMentionIconProps>;
|
|
25773
|
+
declare const experimental_matchesShortcutKey: (event: ExperimentalShortcutKeyEvent, key: string) => boolean;
|
|
25774
|
+
declare const experimental_sliceUtf16Head: (value: string, maxChars: number) => string;
|
|
25154
25775
|
declare const experimental_describePromptMention: (mention: ExperimentalComposerMentionTarget) => ExperimentalPromptMentionPresentation;
|
|
25155
25776
|
declare const experimental_promptMentionClipboardAttributes: (mention: ExperimentalComposerMentionTarget, text: string) => Readonly<Record<string, string>>;
|
|
25156
25777
|
declare const experimental_readPromptMentionClipboard: (element: Element) => ExperimentalPromptMentionClipboardPill | null;
|
|
@@ -25192,5 +25813,5 @@ declare const experimental_saveFile: (request: ExperimentalSaveFileRequest) => P
|
|
|
25192
25813
|
declare const experimental_getApplicationLinkApprovals: () => Promise<string[]>;
|
|
25193
25814
|
declare const experimental_revokeApplicationLinkApproval: (scheme: string | null) => Promise<string[]>;
|
|
25194
25815
|
|
|
25195
|
-
export { Markdown, ThreadChat, ThreadTitle, UrlLink, definePluginApp, experimental_BranchPicker, experimental_CollapsibleStackCard, experimental_ComposerRoot, experimental_DetailRow, experimental_Diff, experimental_FailedVoiceRecordings, experimental_FileLink, experimental_FilePreview, experimental_Icon, experimental_ImageLightbox, experimental_InfoList, experimental_InfoListRow, experimental_InfoSection, experimental_NewThreadComposer, experimental_PanelTabIcon, experimental_PermissionModePicker, experimental_PluginIcon, experimental_PluginRpcCallError, experimental_PromptMentionIcon, experimental_ProviderIcon, experimental_ProviderModelPicker, experimental_ShortcutHint, experimental_SidebarNavigationIcon, experimental_SourceCode, experimental_THREAD_ACTION_GROUPS, experimental_THREAD_CONTEXT_SEGMENT_GROUPS, experimental_THREAD_INFO_ROW_GROUPS, experimental_THREAD_INFO_SECTION_GROUPS, experimental_ThreadActionsContextMenu, experimental_ThreadActionsMenu, experimental_ThreadContextCardRow, experimental_ThreadRowMetadata, experimental_ThreadStatusGlyph, experimental_ThreadTitleText, experimental_VoiceInputButton, experimental_VoiceInputTextarea, experimental_VoiceRecordingBar, experimental_copyToClipboard, experimental_describePromptMention, experimental_getApplicationLinkApprovals, experimental_promptMentionClipboardAttributes, experimental_readPromptMentionClipboard, experimental_resolveThreadStatus, experimental_revokeApplicationLinkApproval, experimental_saveFile, experimental_useAppPanel, experimental_useArchiveEnvironmentThreads, experimental_useBranches, experimental_useCanOpenFileExternally, experimental_useCheckoutState, experimental_useCodeTheme, experimental_useComposerCommandSearch, experimental_useComposerContributions, experimental_useComposerMentionSearch, experimental_useComposerRenderer, experimental_useExperiment, experimental_useFixedTabTarget, experimental_usePanelTabs, experimental_usePluginId, experimental_useProviders, experimental_useQuestionFormHost, experimental_useRpcKeyedQuery, experimental_useRpcMutation, experimental_useRpcQuery, experimental_useRpcRefresh, experimental_useServers, experimental_useSidebarNavigation, experimental_useSidebarNavigationSplit, experimental_useSidebarThreadSplit, experimental_useSidebarThreads, experimental_useTabVisible, experimental_useThreadActionRegistrations, experimental_useThreadActions, experimental_useThreadContextKind, experimental_useThreadExtensionState, experimental_useThreadTitleDisplayText, useBbContext, useBbNavigate, useComposer, useComposers, useEnvironmentProviders, useRealtime, useRealtimeConnectionState, useRpc, useSdk, useSettings, useSidebarSplitLayout, useSidebarThreadDraft, useSidebarThreadDraftIds, useSidebarThreadRowStatus, useSidebarThreadRowStatuses, useSidebarThreadShortcut };
|
|
25196
|
-
export type { BbContext, BbNavigate, BranchPickerProps, BranchesState, CheckoutState, CodeOverflowMode, ComposerAttachment, ComposerCustomization, ComposerDraft, ComposerDraftReplacement, ComposerDraftSnapshot, ComposerInsertOptions, ComposerInsertPart, ComposerMention, ComposerPlusMenuItem, ComposerRichTextSpec, ComposerSelection, ComposerSendMenuItem, ComposerSubmitOptions, DiffProps, DiffViewMode, ExperimentalAppIcons, ExperimentalAppOverlayProps, ExperimentalAppOverlayRegistration, ExperimentalBadge, ExperimentalBadgeTone, ExperimentalClipboardContent, ExperimentalCodeFenceRendererProps, ExperimentalCodeFenceRendererRegistration, ExperimentalCodeFenceStatus, ExperimentalCollapsibleStackCardDismiss, ExperimentalCollapsibleStackCardProps, ExperimentalComposerAction, ExperimentalComposerAttachments, ExperimentalComposerClipboard, ExperimentalComposerCommandRegistration, ExperimentalComposerCommandSearch, ExperimentalComposerCommandSuggestion, ExperimentalComposerCommandSuggestionGroup, ExperimentalComposerCommandTrigger, ExperimentalComposerContribution, ExperimentalComposerContributions, ExperimentalComposerDecorationSource, ExperimentalComposerEditor, ExperimentalComposerEditorState, ExperimentalComposerEditorVoice, ExperimentalComposerHistory, ExperimentalComposerInput, ExperimentalComposerMentionSearch, ExperimentalComposerMentionSuggestion, ExperimentalComposerMentionSuggestionGroup, ExperimentalComposerMentionTarget, ExperimentalComposerMenuEntryProps, ExperimentalComposerMenuSelection, ExperimentalComposerPendingUpload, ExperimentalComposerPlusMenuContribution, ExperimentalComposerPopupContribution, ExperimentalComposerPopupProps, ExperimentalComposerPopupRegistration, ExperimentalComposerPromptAction, ExperimentalComposerProps, ExperimentalComposerRegistration, ExperimentalComposerRendererApi, ExperimentalComposerRootProps, ExperimentalComposerSearchQuery, ExperimentalComposerSendMenuContribution, ExperimentalComposerSubmission, ExperimentalComposerThreadLink, ExperimentalComposerThreadLinkTarget, ExperimentalComposerThreadLinks, ExperimentalComposerThreadRelation, ExperimentalComposerVoice, ExperimentalDetailRowProps, ExperimentalDiffFileContent, ExperimentalDiffFullFileContents, ExperimentalDroppedThreadMention, ExperimentalFailedVoiceRecording, ExperimentalFailedVoiceRecordingsProps, ExperimentalFileLinkProps, ExperimentalFileLocation, ExperimentalFileOpenOptions, ExperimentalFilePreviewFile, ExperimentalFilePreviewOptions, ExperimentalFilePreviewProps, ExperimentalFixedTabTargetContract, ExperimentalFixedTabTargetState, ExperimentalIconProps, ExperimentalIconRegistration, ExperimentalImageLightboxProps, ExperimentalInfoListProps, ExperimentalInfoListRowProps, ExperimentalInfoSectionProps, ExperimentalLiveFileTarget, ExperimentalMessageClipboardPayload, ExperimentalMessageMetadataContext, ExperimentalMessageMetadataPlacement, ExperimentalMessageMetadataProps, ExperimentalMessageMetadataRegistration, ExperimentalOpenTabOptions, ExperimentalPageBreadcrumb, ExperimentalPageTitle, ExperimentalPanelController, ExperimentalPanelTab, ExperimentalPanelTabDetail, ExperimentalPanelTabIconProps, ExperimentalPanelTabs, ExperimentalPermissionModePickerProps, ExperimentalPluginBrowserPage, ExperimentalPluginBrowserPageEvaluateOptions, ExperimentalPluginBrowserPageWorld, ExperimentalPluginBrowserToolbarActionProps, ExperimentalPluginBrowserToolbarActionRegistration, ExperimentalPluginFixedTabReference, ExperimentalPluginIconProps, ExperimentalPromptMentionClipboardPill, ExperimentalPromptMentionIconProps, ExperimentalPromptMentionPresentation, ExperimentalProviderIconProps, ExperimentalProviderModelPickerProps, ExperimentalProviderModelPickerRouting, ExperimentalProviderModelPickerValue, ExperimentalQuestionFormAction, ExperimentalQuestionFormHost, ExperimentalQuestionShortcut, ExperimentalRpcKeyedMethod, ExperimentalRpcKeyedQueryState, ExperimentalRpcKeyedValue, ExperimentalRpcMutationOptions, ExperimentalRpcMutationState, ExperimentalRpcOptimisticCache, ExperimentalRpcQueryOptions, ExperimentalRpcQueryState, ExperimentalSaveFileOutcome, ExperimentalSaveFileRequest, ExperimentalServer, ExperimentalServers, ExperimentalShortcutHintProps, ExperimentalShortcutPresentation, ExperimentalSidebarFooter, ExperimentalSidebarFooterActionContext, ExperimentalSidebarFooterActionRegistration, ExperimentalSidebarFooterDisclosureController, ExperimentalSidebarFooterDisclosureProps, ExperimentalSidebarFooterDisclosureRegistration, ExperimentalSidebarFooterItemBase, ExperimentalSidebarFooterItemRegistration, ExperimentalSidebarHeaderProps, ExperimentalSidebarNavigationAction, ExperimentalSidebarNavigationActions, ExperimentalSidebarNavigationActivationOptions, ExperimentalSidebarNavigationIcon, ExperimentalSidebarNavigationIconProps, ExperimentalSidebarNavigationItem, ExperimentalSidebarNavigationPlacement, ExperimentalSidebarNavigationProps, ExperimentalSidebarNavigationRegistration, ExperimentalSidebarNavigationShortcut, ExperimentalSidebarNavigationSplit, ExperimentalSidebarNavigationSplitOptions, ExperimentalSidebarNavigationState, ExperimentalSidebarNavigationTarget, ExperimentalTabContext, ExperimentalTabReference, ExperimentalTabRegistration, ExperimentalTabTargetReference, ExperimentalThreadActionTabProps, ExperimentalThreadContextCardProps, ExperimentalThreadContextCardRowProps, ExperimentalThreadContextCardRowRegistration, ExperimentalThreadContextCardSectionRegistration, ExperimentalThreadContextKind, ExperimentalThreadContextSegmentInput, ExperimentalThreadContextSegmentProps, ExperimentalThreadContextSegmentReference, ExperimentalThreadContextSegmentRegistration, ExperimentalThreadEnvironment, ExperimentalThreadHeaderRowProps, ExperimentalThreadHeaderRowRegistration, ExperimentalThreadHeaderTitleProps, ExperimentalThreadHeaderTitleRegistration, ExperimentalThreadInfoProps, ExperimentalThreadInfoRowRegistration, ExperimentalThreadInfoSectionRegistration, ExperimentalThreadRowMetadataDataInput, ExperimentalThreadRowMetadataLineProps, ExperimentalThreadRowMetadataProps, ExperimentalThreadRowMetadataRegistration, ExperimentalThreadTabActionContext, ExperimentalThreadTabProps, ExperimentalThreadTitleTextProps, ExperimentalVoiceDelivery, ExperimentalVoiceInputButtonProps, ExperimentalVoiceInputTextareaProps, ExperimentalVoiceRecordingBarProps, InternalDoNotUseSetupFailureDetail, InternalDoNotUseSetupFailureStage, InternalDoNotUseSetupGuideSectionProps, InternalDoNotUseSetupGuideSectionRegistration, JsonValue$1 as JsonValue, MarkdownProps, NewThreadComposerProps, NewThreadRequest, PluginAppBuilder, PluginAppCommands, PluginAppComposer, PluginAppContentScripts, PluginAppDefinition, PluginAppSetup, PluginAppSlots, PluginBoundThreadAction, PluginBoundThreadsArea, PluginBrowserBbSdk, PluginCodeThemeData, PluginCodeThemeState, PluginCodeThemeTokenRule, PluginCommandContext, PluginCommandRegistration, PluginCommandShortcut, PluginComposerApi, PluginComposerMention, PluginComposerScope, PluginComposerTextEffect, PluginComposerThreadRowStatus, PluginContentScriptContext, PluginContentScriptDisposer, PluginContentScriptRegistration, PluginDiffRendererProps, PluginDiffRendererRegistration, PluginEnvironmentProvider, PluginEnvironmentProviderInputsChange, PluginEnvironmentProviderInputsProps, PluginEnvironmentProviderInputsRegistration, PluginEnvironmentProvidersState, PluginFileOpenerProps, PluginFileOpenerRegistration, PluginFileOpenerSource, PluginHomepageSectionProps, PluginHomepageSectionRegistration, PluginMachineProviderInputsChange, PluginMachineProviderInputsProps, PluginMachineProviderInputsRegistration, PluginMessageActionContext, PluginMessageActionRegistration, PluginMessageDirectiveMessage, PluginMessageDirectiveOpenWorkspaceFile, PluginMessageDirectiveProps, PluginMessageDirectiveRegistration, PluginNavPanelProps, PluginNavPanelRegistration, PluginNewThreadPanelActionContext, PluginNewThreadPanelActionRegistration, PluginNewThreadPanelProps, PluginPendingInteractionProps, PluginPendingInteractionRegistration, PluginPendingInteractionView, PluginProviderIconRegistration, PluginProvidersState, PluginRealtimeConnectionState, PluginRpcCallArgs, PluginRpcClient, PluginRpcContract, PluginRpcError, PluginRpcErrorCode, PluginRpcHandlers, PluginRpcIssuePathSegment, PluginRpcMethodContract, PluginRpcResult, PluginRpcValidationIssue, PluginSdkApp, PluginSettingsSectionProps, PluginSettingsSectionRegistration, PluginSettingsState, PluginSidebarFooterActionContext, PluginSidebarFooterActionProps, PluginSidebarFooterActionRegistration, PluginSidebarProject, PluginSidebarSection, PluginSidebarSplitLayout, PluginSidebarSplitPane, PluginSidebarThread, PluginSidebarThreadActivity, PluginSidebarThreadDraftState, PluginSidebarThreadIndicator, PluginSidebarThreadRowStatus, PluginSidebarThreadShortcut, PluginSidebarThreadSplit, PluginSidebarThreadSplitOptions, PluginSidebarThreadsState, PluginSourceCodeRendererProps, PluginSourceCodeRendererRegistration, PluginThreadAction, PluginThreadActionBulkItemInput, PluginThreadActionChoice, PluginThreadActionChoices, PluginThreadActionDataInput, PluginThreadActionEntry, PluginThreadActionItemInput, PluginThreadActionPlacement, PluginThreadActionRegistration, PluginThreadActionRegistrationInfo, PluginThreadActionRunInput, PluginThreadActionTarget, PluginThreadActionsContextMenuProps, PluginThreadActionsInlineItem, PluginThreadActionsMenuProps, PluginThreadActionsOptions, PluginThreadActionsTriggerProps, PluginThreadListProps, PluginThreadListRegistration, PluginThreadStatus, PluginThreadStatusGlyphProps, PluginThreadStatusInput, PluginThreadStatusThread, PluginThreadTitleProps, PluginTimelineRendererProps, PluginTimelineRendererRegistration, PluginTimelineRendererRow, PluginTimelineRowPresentation, PluginTimelineRowStatus, ReadonlyJsonValue, SourceCodeLineRange, SourceCodeProps, StandardSchemaV1, StandardSchemaV1InferInput, StandardSchemaV1InferOutput, StandardSchemaV1Issue, StandardSchemaV1Result, ThreadChatMessageAction, ThreadChatMessageReference, ThreadChatProps, UrlLinkProps, UseBranchesArgs, UseCheckoutStateArgs };
|
|
25816
|
+
export { Markdown, ThreadChat, ThreadTitle, UrlLink, definePluginApp, experimental_BranchPicker, experimental_CollapsibleStackCard, experimental_ComposerRoot, experimental_DetailRow, experimental_Diff, experimental_FailedVoiceRecordings, experimental_FileLink, experimental_FilePreview, experimental_Icon, experimental_ImageLightbox, experimental_InfoList, experimental_InfoListRow, experimental_InfoSection, experimental_NewThreadComposer, experimental_PanelTabIcon, experimental_PermissionModePicker, experimental_PluginIcon, experimental_PluginRpcCallError, experimental_PromptMentionIcon, experimental_ProviderIcon, experimental_ProviderModelPicker, experimental_ShortcutHint, experimental_SidebarNavigationIcon, experimental_SourceCode, experimental_THREAD_ACTION_GROUPS, experimental_THREAD_CONTEXT_SEGMENT_GROUPS, experimental_THREAD_INFO_ROW_GROUPS, experimental_THREAD_INFO_SECTION_GROUPS, experimental_ThreadActionsContextMenu, experimental_ThreadActionsMenu, experimental_ThreadContextCardRow, experimental_ThreadRowMetadata, experimental_ThreadStatusGlyph, experimental_ThreadTitleText, experimental_VoiceInputButton, experimental_VoiceInputTextarea, experimental_VoiceRecordingBar, experimental_copyToClipboard, experimental_describePromptMention, experimental_getApplicationLinkApprovals, experimental_matchesShortcutKey, experimental_promptMentionClipboardAttributes, experimental_readPromptMentionClipboard, experimental_resolveThreadStatus, experimental_revokeApplicationLinkApproval, experimental_saveFile, experimental_sliceUtf16Head, experimental_useAppPanel, experimental_useArchiveEnvironmentThreads, experimental_useBranches, experimental_useCanOpenFileExternally, experimental_useCheckoutState, experimental_useCodeTheme, experimental_useComposerCommandSearch, experimental_useComposerContributions, experimental_useComposerMentionSearch, experimental_useComposerRenderer, experimental_useExperiment, experimental_useFixedTabTarget, experimental_usePanelTabs, experimental_usePluginId, experimental_useProviders, experimental_useQuestionFormHost, experimental_useRpcKeyedQuery, experimental_useRpcMutation, experimental_useRpcQuery, experimental_useRpcRefresh, experimental_useServers, experimental_useSidebarNavigation, experimental_useSidebarNavigationSplit, experimental_useSidebarThreadSplit, experimental_useSidebarThreads, experimental_useTabVisible, experimental_useThreadActionRegistrations, experimental_useThreadActions, experimental_useThreadContextKind, experimental_useThreadExtensionState, experimental_useThreadTitleDisplayText, useBbContext, useBbNavigate, useComposer, useComposers, useEnvironmentProviders, useRealtime, useRealtimeConnectionState, useRpc, useSdk, useSettings, useSidebarSplitLayout, useSidebarThreadDraft, useSidebarThreadDraftIds, useSidebarThreadRowStatus, useSidebarThreadRowStatuses, useSidebarThreadShortcut };
|
|
25817
|
+
export type { BbContext, BbNavigate, BranchPickerProps, BranchesState, CheckoutState, CodeOverflowMode, ComposerAttachment, ComposerCustomization, ComposerDraft, ComposerDraftReplacement, ComposerDraftSnapshot, ComposerInsertOptions, ComposerInsertPart, ComposerMention, ComposerPlusMenuItem, ComposerRichTextSpec, ComposerSelection, ComposerSendMenuItem, ComposerSubmitOptions, DiffProps, DiffViewMode, ExperimentalAppIcons, ExperimentalAppOverlayProps, ExperimentalAppOverlayRegistration, ExperimentalBadge, ExperimentalBadgeTone, ExperimentalClipboardContent, ExperimentalCodeFenceRendererProps, ExperimentalCodeFenceRendererRegistration, ExperimentalCodeFenceStatus, ExperimentalCollapsibleStackCardDismiss, ExperimentalCollapsibleStackCardProps, ExperimentalComposerAction, ExperimentalComposerAttachments, ExperimentalComposerClipboard, ExperimentalComposerCommandRegistration, ExperimentalComposerCommandSearch, ExperimentalComposerCommandSuggestion, ExperimentalComposerCommandSuggestionGroup, ExperimentalComposerCommandTrigger, ExperimentalComposerContribution, ExperimentalComposerContributions, ExperimentalComposerDecorationSource, ExperimentalComposerEditor, ExperimentalComposerEditorState, ExperimentalComposerEditorVoice, ExperimentalComposerHistory, ExperimentalComposerInput, ExperimentalComposerMentionSearch, ExperimentalComposerMentionSuggestion, ExperimentalComposerMentionSuggestionGroup, ExperimentalComposerMentionTarget, ExperimentalComposerMenuEntryProps, ExperimentalComposerMenuSelection, ExperimentalComposerPendingUpload, ExperimentalComposerPlusMenuContribution, ExperimentalComposerPopupContribution, ExperimentalComposerPopupProps, ExperimentalComposerPopupRegistration, ExperimentalComposerPromptAction, ExperimentalComposerProps, ExperimentalComposerRegistration, ExperimentalComposerRendererApi, ExperimentalComposerRootProps, ExperimentalComposerSearchQuery, ExperimentalComposerSendMenuContribution, ExperimentalComposerSubmission, ExperimentalComposerThreadLink, ExperimentalComposerThreadLinkTarget, ExperimentalComposerThreadLinks, ExperimentalComposerThreadRelation, ExperimentalComposerVoice, ExperimentalDetailRowProps, ExperimentalDiffFileContent, ExperimentalDiffFullFileContents, ExperimentalDroppedThreadMention, ExperimentalFailedVoiceRecording, ExperimentalFailedVoiceRecordingsProps, ExperimentalFileLinkProps, ExperimentalFileLocation, ExperimentalFileOpenOptions, ExperimentalFilePreviewFile, ExperimentalFilePreviewOptions, ExperimentalFilePreviewProps, ExperimentalFixedTabTargetContract, ExperimentalFixedTabTargetState, ExperimentalIconProps, ExperimentalIconRegistration, ExperimentalImageLightboxProps, ExperimentalInfoListProps, ExperimentalInfoListRowProps, ExperimentalInfoSectionProps, ExperimentalLiveFileTarget, ExperimentalMessageActionSurface, ExperimentalMessageClipboardPayload, ExperimentalMessageMetadataContext, ExperimentalMessageMetadataPlacement, ExperimentalMessageMetadataProps, ExperimentalMessageMetadataRegistration, ExperimentalOpenTabOptions, ExperimentalPageBreadcrumb, ExperimentalPageTitle, ExperimentalPanelController, ExperimentalPanelTab, ExperimentalPanelTabDetail, ExperimentalPanelTabIconProps, ExperimentalPanelTabs, ExperimentalPermissionModePickerProps, ExperimentalPluginBrowserPage, ExperimentalPluginBrowserPageEvaluateOptions, ExperimentalPluginBrowserPageWorld, ExperimentalPluginBrowserToolbarActionProps, ExperimentalPluginBrowserToolbarActionRegistration, ExperimentalPluginFixedTabReference, ExperimentalPluginIconProps, ExperimentalPromptMentionClipboardPill, ExperimentalPromptMentionIconProps, ExperimentalPromptMentionPresentation, ExperimentalProviderIconProps, ExperimentalProviderModelPickerProps, ExperimentalProviderModelPickerRouting, ExperimentalProviderModelPickerValue, ExperimentalQuestionFormAction, ExperimentalQuestionFormHost, ExperimentalQuestionShortcut, ExperimentalRpcKeyedMethod, ExperimentalRpcKeyedQueryState, ExperimentalRpcKeyedValue, ExperimentalRpcMutationOptions, ExperimentalRpcMutationState, ExperimentalRpcOptimisticCache, ExperimentalRpcQueryOptions, ExperimentalRpcQueryState, ExperimentalSaveFileOutcome, ExperimentalSaveFileRequest, ExperimentalServer, ExperimentalServers, ExperimentalShortcutHintProps, ExperimentalShortcutKeyEvent, ExperimentalShortcutPresentation, ExperimentalSidebarFooter, ExperimentalSidebarFooterActionContext, ExperimentalSidebarFooterActionRegistration, ExperimentalSidebarFooterDisclosureController, ExperimentalSidebarFooterDisclosureProps, ExperimentalSidebarFooterDisclosureRegistration, ExperimentalSidebarFooterItemBase, ExperimentalSidebarFooterItemRegistration, ExperimentalSidebarHeaderProps, ExperimentalSidebarNavigationAction, ExperimentalSidebarNavigationActions, ExperimentalSidebarNavigationActivationOptions, ExperimentalSidebarNavigationIcon, ExperimentalSidebarNavigationIconProps, ExperimentalSidebarNavigationItem, ExperimentalSidebarNavigationPlacement, ExperimentalSidebarNavigationProps, ExperimentalSidebarNavigationRegistration, ExperimentalSidebarNavigationShortcut, ExperimentalSidebarNavigationSplit, ExperimentalSidebarNavigationSplitOptions, ExperimentalSidebarNavigationState, ExperimentalSidebarNavigationTarget, ExperimentalTabContext, ExperimentalTabReference, ExperimentalTabRegistration, ExperimentalTabTargetReference, ExperimentalThreadActionTabProps, ExperimentalThreadContextCardProps, ExperimentalThreadContextCardRowProps, ExperimentalThreadContextCardRowRegistration, ExperimentalThreadContextCardSectionRegistration, ExperimentalThreadContextKind, ExperimentalThreadContextSegmentInput, ExperimentalThreadContextSegmentProps, ExperimentalThreadContextSegmentReference, ExperimentalThreadContextSegmentRegistration, ExperimentalThreadEnvironment, ExperimentalThreadHeaderRowProps, ExperimentalThreadHeaderRowRegistration, ExperimentalThreadHeaderTitleProps, ExperimentalThreadHeaderTitleRegistration, ExperimentalThreadInfoProps, ExperimentalThreadInfoRowRegistration, ExperimentalThreadInfoSectionRegistration, ExperimentalThreadRowMetadataDataInput, ExperimentalThreadRowMetadataLineProps, ExperimentalThreadRowMetadataProps, ExperimentalThreadRowMetadataRegistration, ExperimentalThreadTabActionContext, ExperimentalThreadTabProps, ExperimentalThreadTitleTextProps, ExperimentalVoiceDelivery, ExperimentalVoiceInputButtonProps, ExperimentalVoiceInputTextareaProps, ExperimentalVoiceRecordingBarProps, InternalDoNotUseSetupFailureDetail, InternalDoNotUseSetupFailureStage, InternalDoNotUseSetupGuideSectionProps, InternalDoNotUseSetupGuideSectionRegistration, JsonValue$1 as JsonValue, MarkdownProps, NewThreadComposerProps, NewThreadRequest, PluginAppBuilder, PluginAppCommands, PluginAppComposer, PluginAppContentScripts, PluginAppDefinition, PluginAppSetup, PluginAppSlots, PluginBoundThreadAction, PluginBoundThreadsArea, PluginBrowserBbSdk, PluginCodeThemeData, PluginCodeThemeState, PluginCodeThemeTokenRule, PluginCommandContext, PluginCommandRegistration, PluginCommandShortcut, PluginComposerApi, PluginComposerMention, PluginComposerScope, PluginComposerTextEffect, PluginComposerThreadRowStatus, PluginContentScriptContext, PluginContentScriptDisposer, PluginContentScriptRegistration, PluginDiffRendererProps, PluginDiffRendererRegistration, PluginEnvironmentProvider, PluginEnvironmentProviderInputsChange, PluginEnvironmentProviderInputsProps, PluginEnvironmentProviderInputsRegistration, PluginEnvironmentProvidersState, PluginFileOpenerProps, PluginFileOpenerRegistration, PluginFileOpenerSource, PluginHomepageSectionProps, PluginHomepageSectionRegistration, PluginMachineProviderInputsChange, PluginMachineProviderInputsProps, PluginMachineProviderInputsRegistration, PluginMessageActionContext, PluginMessageActionRegistration, PluginMessageDirectiveMessage, PluginMessageDirectiveOpenWorkspaceFile, PluginMessageDirectiveProps, PluginMessageDirectiveRegistration, PluginNavPanelProps, PluginNavPanelRegistration, PluginNewThreadPanelActionContext, PluginNewThreadPanelActionRegistration, PluginNewThreadPanelProps, PluginPendingInteractionProps, PluginPendingInteractionRegistration, PluginPendingInteractionView, PluginProviderIconRegistration, PluginProvidersState, PluginRealtimeConnectionState, PluginRpcCallArgs, PluginRpcClient, PluginRpcContract, PluginRpcError, PluginRpcErrorCode, PluginRpcHandlers, PluginRpcIssuePathSegment, PluginRpcMethodContract, PluginRpcResult, PluginRpcValidationIssue, PluginSdkApp, PluginSettingsSectionProps, PluginSettingsSectionRegistration, PluginSettingsState, PluginSidebarFooterActionContext, PluginSidebarFooterActionProps, PluginSidebarFooterActionRegistration, PluginSidebarProject, PluginSidebarSection, PluginSidebarSplitLayout, PluginSidebarSplitPane, PluginSidebarThread, PluginSidebarThreadActivity, PluginSidebarThreadDraftState, PluginSidebarThreadIndicator, PluginSidebarThreadRowStatus, PluginSidebarThreadShortcut, PluginSidebarThreadSplit, PluginSidebarThreadSplitOptions, PluginSidebarThreadsState, PluginSourceCodeRendererProps, PluginSourceCodeRendererRegistration, PluginThreadAction, PluginThreadActionBulkItemInput, PluginThreadActionChoice, PluginThreadActionChoices, PluginThreadActionDataInput, PluginThreadActionEntry, PluginThreadActionItemInput, PluginThreadActionPlacement, PluginThreadActionRegistration, PluginThreadActionRegistrationInfo, PluginThreadActionRunInput, PluginThreadActionTarget, PluginThreadActionsContextMenuProps, PluginThreadActionsInlineItem, PluginThreadActionsMenuProps, PluginThreadActionsOptions, PluginThreadActionsTriggerProps, PluginThreadListProps, PluginThreadListRegistration, PluginThreadStatus, PluginThreadStatusGlyphProps, PluginThreadStatusInput, PluginThreadStatusThread, PluginThreadTitleProps, PluginTimelineRendererProps, PluginTimelineRendererRegistration, PluginTimelineRendererRow, PluginTimelineRowPresentation, PluginTimelineRowStatus, ReadonlyJsonValue, SourceCodeLineRange, SourceCodeProps, StandardSchemaV1, StandardSchemaV1InferInput, StandardSchemaV1InferOutput, StandardSchemaV1Issue, StandardSchemaV1Result, ThreadChatMessageAction, ThreadChatMessageReference, ThreadChatProps, UrlLinkProps, UseBranchesArgs, UseCheckoutStateArgs };
|