@get-bb/plugin-sdk 0.4.97 → 0.4.99
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 +42 -1
- package/bundled-types/bb-plugin-sdk-environment-provider.d.ts +1 -0
- package/bundled-types/bb-plugin-sdk-internal-host-policy.d.ts +3 -0
- package/bundled-types/bb-plugin-sdk-provider-bridge-testing.d.ts +4 -0
- package/bundled-types/bb-plugin-sdk-provider-bridge.d.ts +5 -0
- package/bundled-types/bb-plugin-sdk-testing.d.ts +1 -0
- package/bundled-types/bb-plugin-sdk.d.ts +430 -1
- package/dist/internal/host-policy.js +1 -0
- package/dist/provider-bridge-acp.js +8 -2
- package/dist/provider-bridge-testing.js +70 -3
- package/dist/provider-bridge.js +8 -2
- package/dist/testing/app.js +17 -0
- package/dist/testing/index.js +2 -0
- package/package.json +1 -1
|
@@ -192,6 +192,7 @@ declare const promptInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
192
192
|
}>;
|
|
193
193
|
trigger: z.ZodEnum<{
|
|
194
194
|
"/": "/";
|
|
195
|
+
$: "$";
|
|
195
196
|
}>;
|
|
196
197
|
}, z.core.$strip>, z.ZodObject<{
|
|
197
198
|
icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -258,6 +259,7 @@ declare const providerInfoSchema: z.ZodObject<{
|
|
|
258
259
|
kind: z.ZodLiteral<"skills">;
|
|
259
260
|
trigger: z.ZodEnum<{
|
|
260
261
|
"/": "/";
|
|
262
|
+
$: "$";
|
|
261
263
|
}>;
|
|
262
264
|
}, z.core.$strip>, z.ZodObject<{
|
|
263
265
|
command: z.ZodObject<{
|
|
@@ -265,6 +267,7 @@ declare const providerInfoSchema: z.ZodObject<{
|
|
|
265
267
|
trailingText: z.ZodString;
|
|
266
268
|
trigger: z.ZodEnum<{
|
|
267
269
|
"/": "/";
|
|
270
|
+
$: "$";
|
|
268
271
|
}>;
|
|
269
272
|
}, z.core.$strip>;
|
|
270
273
|
kind: z.ZodLiteral<"plan">;
|
|
@@ -274,6 +277,7 @@ declare const providerInfoSchema: z.ZodObject<{
|
|
|
274
277
|
trailingText: z.ZodString;
|
|
275
278
|
trigger: z.ZodEnum<{
|
|
276
279
|
"/": "/";
|
|
280
|
+
$: "$";
|
|
277
281
|
}>;
|
|
278
282
|
}, z.core.$strip>;
|
|
279
283
|
kind: z.ZodLiteral<"goal">;
|
|
@@ -579,6 +583,34 @@ interface PluginThreadHeaderActionProps {
|
|
|
579
583
|
*/
|
|
580
584
|
isCompactViewport: boolean;
|
|
581
585
|
}
|
|
586
|
+
/** JavaScript world a Browser page expression runs in. */
|
|
587
|
+
type ExperimentalPluginBrowserPageWorld = "isolated" | "main";
|
|
588
|
+
interface ExperimentalPluginBrowserPageEvaluateOptions {
|
|
589
|
+
/**
|
|
590
|
+
* `isolated` (default) runs in a BB-owned world that shares the page DOM but
|
|
591
|
+
* not page globals, and binds `bb.postMessage(data)`. `main` runs beside the
|
|
592
|
+
* page's own scripts, where `bb` is `null`.
|
|
593
|
+
*/
|
|
594
|
+
world?: ExperimentalPluginBrowserPageWorld;
|
|
595
|
+
}
|
|
596
|
+
/**
|
|
597
|
+
* Script access to the top-level document of one Browser tab. Independent of
|
|
598
|
+
* CDP control leases: it never attaches a debugger or shows a control banner.
|
|
599
|
+
*/
|
|
600
|
+
interface ExperimentalPluginBrowserPage {
|
|
601
|
+
/**
|
|
602
|
+
* Evaluate a JavaScript expression and resolve its JSON-serialized value.
|
|
603
|
+
* Promises are awaited and `undefined` resolves to `null`. The expression
|
|
604
|
+
* can reference `bb`. Rejects when the tab is gone or the expression throws.
|
|
605
|
+
* Anything the expression installs is lost when the document navigates.
|
|
606
|
+
*/
|
|
607
|
+
evaluate(expression: string, options?: ExperimentalPluginBrowserPageEvaluateOptions): Promise<JsonValue$1>;
|
|
608
|
+
/**
|
|
609
|
+
* Subscribe to values this plugin's isolated-world scripts in this tab send
|
|
610
|
+
* with `bb.postMessage(data)`. Returns the unsubscribe function.
|
|
611
|
+
*/
|
|
612
|
+
onMessage(listener: (data: JsonValue$1) => void): () => void;
|
|
613
|
+
}
|
|
582
614
|
interface ExperimentalPluginBrowserToolbarActionProps {
|
|
583
615
|
/** Thread that owns the Browser tab. */
|
|
584
616
|
threadId: string;
|
|
@@ -588,6 +620,8 @@ interface ExperimentalPluginBrowserToolbarActionProps {
|
|
|
588
620
|
url: string;
|
|
589
621
|
/** True when the Browser chrome needs compact controls. */
|
|
590
622
|
isCompactViewport: boolean;
|
|
623
|
+
/** Script access to this tab's page; `null` outside the desktop app. */
|
|
624
|
+
experimental_page: ExperimentalPluginBrowserPage | null;
|
|
591
625
|
}
|
|
592
626
|
/**
|
|
593
627
|
* Where a file being opened by a `fileOpener` lives. `path` semantics follow
|
|
@@ -2178,6 +2212,13 @@ interface PluginComposerApi {
|
|
|
2178
2212
|
* content should be fetched fresh when the message is sent.
|
|
2179
2213
|
*/
|
|
2180
2214
|
insertMention(mention: PluginComposerMention): void;
|
|
2215
|
+
/** Remove this plugin's matching mention pills and their text from the current draft. */
|
|
2216
|
+
experimental_removeMention(mention: {
|
|
2217
|
+
provider: string;
|
|
2218
|
+
id: string;
|
|
2219
|
+
}): void;
|
|
2220
|
+
/** Subscribe to successful local submissions in this composer scope, including accepted queued messages. Failed sends and draft clearing do not notify. Dispose on unmount. */
|
|
2221
|
+
experimental_onSubmitted(listener: () => void): () => void;
|
|
2181
2222
|
/** Focus the composer caret at the end of the draft. */
|
|
2182
2223
|
focus(): void;
|
|
2183
2224
|
/**
|
|
@@ -2890,4 +2931,4 @@ declare const experimental_useProviders: () => PluginProvidersState;
|
|
|
2890
2931
|
declare const experimental_useCodeTheme: () => PluginCodeThemeState;
|
|
2891
2932
|
|
|
2892
2933
|
export { Markdown, ThreadChat, UrlLink, definePluginApp, experimental_BranchPicker, experimental_Diff, experimental_FileLink, experimental_Icon, experimental_NewThreadComposer, experimental_PermissionModePicker, experimental_ProviderIcon, experimental_ProviderModelPicker, experimental_SourceCode, experimental_useAppPanel, experimental_useBranches, experimental_useCheckoutState, experimental_useCodeTheme, experimental_useFixedTabTarget, experimental_useProviders, experimental_useSidebarThreadActions, experimental_useSidebarThreadPullRequest, experimental_useSidebarThreadSplit, experimental_useSidebarThreads, useBbContext, useBbNavigate, useComposer, useComposerView, useRealtime, useRealtimeConnectionState, useRpc, useSettings };
|
|
2893
|
-
export type { BbContext, BbNavigate, BranchPickerProps, BranchesState, CheckoutState, CodeOverflowMode, ComposerCustomization, ComposerPlusMenuItem, ComposerRichTextSpec, ComposerStructuredDraft, ComposerView, DiffProps, DiffViewMode, ExperimentalAppIcons, ExperimentalAppOverlayProps, ExperimentalAppOverlayRegistration, ExperimentalAppPanel, ExperimentalAppPanelSurface, ExperimentalComposerSubmitOptions, ExperimentalDiffFileContent, ExperimentalDiffFullFileContents, ExperimentalFileLinkProps, ExperimentalFileLocation, ExperimentalFileOpenOptions, ExperimentalFixedTabTargetContract, ExperimentalFixedTabTargetState, ExperimentalIconProps, ExperimentalIconRegistration, ExperimentalLiveFileTarget, ExperimentalOpenFixedTabOptions, ExperimentalPermissionModePickerProps, ExperimentalPluginBrowserToolbarActionProps, ExperimentalPluginBrowserToolbarActionRegistration, ExperimentalPluginFixedTabReference, ExperimentalProviderIconProps, ExperimentalProviderModelPickerProps, ExperimentalProviderModelPickerRouting, ExperimentalProviderModelPickerValue, ExperimentalSidebarFooter, ExperimentalSidebarFooterActionContext, ExperimentalSidebarFooterActionRegistration, ExperimentalSidebarFooterDisclosureController, ExperimentalSidebarFooterDisclosureProps, ExperimentalSidebarFooterDisclosureRegistration, ExperimentalSidebarFooterItemBase, ExperimentalSidebarFooterItemRegistration, ExperimentalSidebarNavigationAction, ExperimentalSidebarNavigationActivationOptions, ExperimentalSidebarNavigationIcon, ExperimentalSidebarNavigationItem, ExperimentalSidebarNavigationProps, ExperimentalSidebarNavigationRegistration, ExperimentalSidebarNavigationShortcut, JsonValue$1 as JsonValue, MarkdownProps, NewThreadComposerProps, NewThreadRequest, PluginAppBuilder, PluginAppCommands, PluginAppComposer, PluginAppContentScripts, PluginAppDefinition, PluginAppSetup, PluginAppSlots, PluginCodeThemeData, PluginCodeThemeState, PluginCodeThemeTokenRule, PluginCommandContext, PluginCommandPaletteActionContext, PluginCommandPaletteActionRegistration, PluginCommandRegistration, PluginCommandShortcut, PluginComposerApi, PluginComposerMention, PluginComposerScope, PluginComposerTextEffect, PluginComposerThreadRowStatus, PluginContentScriptContext, PluginContentScriptDisposer, PluginContentScriptRegistration, PluginDiffRendererProps, PluginDiffRendererRegistration, PluginEnvironmentProviderInputsChange, PluginEnvironmentProviderInputsProps, PluginEnvironmentProviderInputsRegistration, PluginFileOpenerProps, PluginFileOpenerRegistration, PluginFileOpenerSource, PluginFixedTabDeclaration, PluginFixedTabRegistration, PluginHomepageSectionProps, PluginHomepageSectionRegistration, PluginMachineProviderInputsChange, PluginMachineProviderInputsProps, PluginMachineProviderInputsRegistration, PluginMessageActionContext, PluginMessageActionRegistration, PluginMessageDirectiveMessage, PluginMessageDirectiveOpenWorkspaceFile, PluginMessageDirectiveProps, PluginMessageDirectiveRegistration, PluginNavPanelProps, PluginNavPanelRegistration, PluginNewThreadPanelActionContext, PluginNewThreadPanelActionRegistration, PluginNewThreadPanelProps, PluginPanelActionOpenOptions, PluginPendingInteractionProps, PluginPendingInteractionRegistration, PluginPendingInteractionView, PluginProviderIconRegistration, PluginProvidersState, PluginRealtimeConnectionState, PluginRpcCallArgs, PluginRpcClient, PluginRpcContract, PluginRpcError, PluginRpcErrorCode, PluginRpcHandlers, PluginRpcIssuePathSegment, PluginRpcMethodContract, PluginRpcResult, PluginRpcValidationIssue, PluginSdkApp, PluginSettingsSectionProps, PluginSettingsSectionRegistration, PluginSettingsState, PluginSidebarFooterActionContext, PluginSidebarFooterActionProps, PluginSidebarFooterActionRegistration, PluginSidebarProject, PluginSidebarPullRequest, PluginSidebarSplitPane, PluginSidebarThread, PluginSidebarThreadActions, PluginSidebarThreadActivity, PluginSidebarThreadIndicator, PluginSidebarThreadPullRequestState, PluginSidebarThreadSplit, PluginSidebarThreadsState, PluginSourceCodeRendererProps, PluginSourceCodeRendererRegistration, PluginTargetedPanelActionOpenOptions, PluginThreadHeaderActionProps, PluginThreadHeaderActionRegistration, PluginThreadListProps, PluginThreadListRegistration, PluginThreadPanelActionContext, PluginThreadPanelActionRegistration, PluginThreadPanelProps, PluginTimelineRendererProps, PluginTimelineRendererRegistration, PluginTimelineRendererRow, PluginTimelineRowPresentation, PluginTimelineRowStatus, ReadonlyJsonValue, SourceCodeLineRange, SourceCodeProps, StandardSchemaV1, StandardSchemaV1InferInput, StandardSchemaV1InferOutput, StandardSchemaV1Issue, StandardSchemaV1Result, ThreadChatMessageAction, ThreadChatMessageReference, ThreadChatProps, UrlLinkProps, UseBranchesArgs, UseCheckoutStateArgs };
|
|
2934
|
+
export type { BbContext, BbNavigate, BranchPickerProps, BranchesState, CheckoutState, CodeOverflowMode, ComposerCustomization, ComposerPlusMenuItem, ComposerRichTextSpec, ComposerStructuredDraft, ComposerView, DiffProps, DiffViewMode, ExperimentalAppIcons, ExperimentalAppOverlayProps, ExperimentalAppOverlayRegistration, ExperimentalAppPanel, ExperimentalAppPanelSurface, ExperimentalComposerSubmitOptions, ExperimentalDiffFileContent, ExperimentalDiffFullFileContents, ExperimentalFileLinkProps, ExperimentalFileLocation, ExperimentalFileOpenOptions, ExperimentalFixedTabTargetContract, ExperimentalFixedTabTargetState, ExperimentalIconProps, ExperimentalIconRegistration, ExperimentalLiveFileTarget, ExperimentalOpenFixedTabOptions, ExperimentalPermissionModePickerProps, ExperimentalPluginBrowserPage, ExperimentalPluginBrowserPageEvaluateOptions, ExperimentalPluginBrowserPageWorld, ExperimentalPluginBrowserToolbarActionProps, ExperimentalPluginBrowserToolbarActionRegistration, ExperimentalPluginFixedTabReference, ExperimentalProviderIconProps, ExperimentalProviderModelPickerProps, ExperimentalProviderModelPickerRouting, ExperimentalProviderModelPickerValue, ExperimentalSidebarFooter, ExperimentalSidebarFooterActionContext, ExperimentalSidebarFooterActionRegistration, ExperimentalSidebarFooterDisclosureController, ExperimentalSidebarFooterDisclosureProps, ExperimentalSidebarFooterDisclosureRegistration, ExperimentalSidebarFooterItemBase, ExperimentalSidebarFooterItemRegistration, ExperimentalSidebarNavigationAction, ExperimentalSidebarNavigationActivationOptions, ExperimentalSidebarNavigationIcon, ExperimentalSidebarNavigationItem, ExperimentalSidebarNavigationProps, ExperimentalSidebarNavigationRegistration, ExperimentalSidebarNavigationShortcut, JsonValue$1 as JsonValue, MarkdownProps, NewThreadComposerProps, NewThreadRequest, PluginAppBuilder, PluginAppCommands, PluginAppComposer, PluginAppContentScripts, PluginAppDefinition, PluginAppSetup, PluginAppSlots, PluginCodeThemeData, PluginCodeThemeState, PluginCodeThemeTokenRule, PluginCommandContext, PluginCommandPaletteActionContext, PluginCommandPaletteActionRegistration, PluginCommandRegistration, PluginCommandShortcut, PluginComposerApi, PluginComposerMention, PluginComposerScope, PluginComposerTextEffect, PluginComposerThreadRowStatus, PluginContentScriptContext, PluginContentScriptDisposer, PluginContentScriptRegistration, PluginDiffRendererProps, PluginDiffRendererRegistration, PluginEnvironmentProviderInputsChange, PluginEnvironmentProviderInputsProps, PluginEnvironmentProviderInputsRegistration, PluginFileOpenerProps, PluginFileOpenerRegistration, PluginFileOpenerSource, PluginFixedTabDeclaration, PluginFixedTabRegistration, PluginHomepageSectionProps, PluginHomepageSectionRegistration, PluginMachineProviderInputsChange, PluginMachineProviderInputsProps, PluginMachineProviderInputsRegistration, PluginMessageActionContext, PluginMessageActionRegistration, PluginMessageDirectiveMessage, PluginMessageDirectiveOpenWorkspaceFile, PluginMessageDirectiveProps, PluginMessageDirectiveRegistration, PluginNavPanelProps, PluginNavPanelRegistration, PluginNewThreadPanelActionContext, PluginNewThreadPanelActionRegistration, PluginNewThreadPanelProps, PluginPanelActionOpenOptions, PluginPendingInteractionProps, PluginPendingInteractionRegistration, PluginPendingInteractionView, PluginProviderIconRegistration, PluginProvidersState, PluginRealtimeConnectionState, PluginRpcCallArgs, PluginRpcClient, PluginRpcContract, PluginRpcError, PluginRpcErrorCode, PluginRpcHandlers, PluginRpcIssuePathSegment, PluginRpcMethodContract, PluginRpcResult, PluginRpcValidationIssue, PluginSdkApp, PluginSettingsSectionProps, PluginSettingsSectionRegistration, PluginSettingsState, PluginSidebarFooterActionContext, PluginSidebarFooterActionProps, PluginSidebarFooterActionRegistration, PluginSidebarProject, PluginSidebarPullRequest, PluginSidebarSplitPane, PluginSidebarThread, PluginSidebarThreadActions, PluginSidebarThreadActivity, PluginSidebarThreadIndicator, PluginSidebarThreadPullRequestState, PluginSidebarThreadSplit, PluginSidebarThreadsState, PluginSourceCodeRendererProps, PluginSourceCodeRendererRegistration, PluginTargetedPanelActionOpenOptions, PluginThreadHeaderActionProps, PluginThreadHeaderActionRegistration, PluginThreadListProps, PluginThreadListRegistration, PluginThreadPanelActionContext, PluginThreadPanelActionRegistration, PluginThreadPanelProps, PluginTimelineRendererProps, PluginTimelineRendererRegistration, PluginTimelineRendererRow, PluginTimelineRowPresentation, PluginTimelineRowStatus, ReadonlyJsonValue, SourceCodeLineRange, SourceCodeProps, StandardSchemaV1, StandardSchemaV1InferInput, StandardSchemaV1InferOutput, StandardSchemaV1Issue, StandardSchemaV1Result, ThreadChatMessageAction, ThreadChatMessageReference, ThreadChatProps, UrlLinkProps, UseBranchesArgs, UseCheckoutStateArgs };
|
|
@@ -143,6 +143,7 @@ declare const threadResponseSchema: z.ZodObject<{
|
|
|
143
143
|
id: z.ZodString;
|
|
144
144
|
lastReadAt: z.ZodNullable<z.ZodNumber>;
|
|
145
145
|
latestAttentionAt: z.ZodNumber;
|
|
146
|
+
lifecycleOwnerThreadId: z.ZodNullable<z.ZodString>;
|
|
146
147
|
originKind: z.ZodNullable<z.ZodEnum<{
|
|
147
148
|
fork: "fork";
|
|
148
149
|
}>>;
|
|
@@ -252,6 +252,7 @@ declare const promptInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
252
252
|
}>;
|
|
253
253
|
trigger: z.ZodEnum<{
|
|
254
254
|
"/": "/";
|
|
255
|
+
$: "$";
|
|
255
256
|
}>;
|
|
256
257
|
}, z.core.$strip>, z.ZodObject<{
|
|
257
258
|
icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -344,6 +345,7 @@ declare const threadQueuedMessageSchema: z.ZodObject<{
|
|
|
344
345
|
}>;
|
|
345
346
|
trigger: z.ZodEnum<{
|
|
346
347
|
"/": "/";
|
|
348
|
+
$: "$";
|
|
347
349
|
}>;
|
|
348
350
|
}, z.core.$strip>, z.ZodObject<{
|
|
349
351
|
icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -472,6 +474,7 @@ declare const threadResponseSchema: z.ZodObject<{
|
|
|
472
474
|
id: z.ZodString;
|
|
473
475
|
lastReadAt: z.ZodNullable<z.ZodNumber>;
|
|
474
476
|
latestAttentionAt: z.ZodNumber;
|
|
477
|
+
lifecycleOwnerThreadId: z.ZodNullable<z.ZodString>;
|
|
475
478
|
originKind: z.ZodNullable<z.ZodEnum<{
|
|
476
479
|
fork: "fork";
|
|
477
480
|
}>>;
|
|
@@ -3286,6 +3286,7 @@ declare const threadEventSchema: z.ZodPipe<z.ZodUnknown, z.ZodUnion<readonly [z.
|
|
|
3286
3286
|
core: z.ZodEnum<{
|
|
3287
3287
|
"machine-environment": "machine-environment";
|
|
3288
3288
|
"machine-git": "machine-git";
|
|
3289
|
+
"project-environment": "project-environment";
|
|
3289
3290
|
}>;
|
|
3290
3291
|
}, z.core.$strict>]>;
|
|
3291
3292
|
value: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -3445,6 +3446,7 @@ declare const threadEventSchema: z.ZodPipe<z.ZodUnknown, z.ZodUnion<readonly [z.
|
|
|
3445
3446
|
}>;
|
|
3446
3447
|
trigger: z.ZodEnum<{
|
|
3447
3448
|
"/": "/";
|
|
3449
|
+
$: "$";
|
|
3448
3450
|
}>;
|
|
3449
3451
|
}, z.core.$strip>, z.ZodObject<{
|
|
3450
3452
|
icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -3526,6 +3528,7 @@ declare const threadEventSchema: z.ZodPipe<z.ZodUnknown, z.ZodUnion<readonly [z.
|
|
|
3526
3528
|
}>;
|
|
3527
3529
|
trigger: z.ZodEnum<{
|
|
3528
3530
|
"/": "/";
|
|
3531
|
+
$: "$";
|
|
3529
3532
|
}>;
|
|
3530
3533
|
}, z.core.$strip>, z.ZodObject<{
|
|
3531
3534
|
icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -4065,6 +4068,7 @@ declare const promptInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
4065
4068
|
}>;
|
|
4066
4069
|
trigger: z.ZodEnum<{
|
|
4067
4070
|
"/": "/";
|
|
4071
|
+
$: "$";
|
|
4068
4072
|
}>;
|
|
4069
4073
|
}, z.core.$strip>, z.ZodObject<{
|
|
4070
4074
|
icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1375,6 +1375,7 @@ declare const permissionEscalationSchema: z.ZodEnum<{
|
|
|
1375
1375
|
type PermissionEscalation = z.infer<typeof permissionEscalationSchema>;
|
|
1376
1376
|
declare const promptMentionCommandTriggerSchema: z.ZodEnum<{
|
|
1377
1377
|
"/": "/";
|
|
1378
|
+
$: "$";
|
|
1378
1379
|
}>;
|
|
1379
1380
|
type PromptMentionCommandTrigger = z.infer<typeof promptMentionCommandTriggerSchema>;
|
|
1380
1381
|
declare const promptInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -1421,6 +1422,7 @@ declare const promptInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1421
1422
|
}>;
|
|
1422
1423
|
trigger: z.ZodEnum<{
|
|
1423
1424
|
"/": "/";
|
|
1425
|
+
$: "$";
|
|
1424
1426
|
}>;
|
|
1425
1427
|
}, z.core.$strip>, z.ZodObject<{
|
|
1426
1428
|
icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -4538,6 +4540,7 @@ declare const threadStartParamsSchema: z.ZodObject<{
|
|
|
4538
4540
|
}>;
|
|
4539
4541
|
trigger: z.ZodEnum<{
|
|
4540
4542
|
"/": "/";
|
|
4543
|
+
$: "$";
|
|
4541
4544
|
}>;
|
|
4542
4545
|
}, z.core.$strip>, z.ZodObject<{
|
|
4543
4546
|
icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -4864,6 +4867,7 @@ declare const turnStartParamsSchema: z.ZodObject<{
|
|
|
4864
4867
|
}>;
|
|
4865
4868
|
trigger: z.ZodEnum<{
|
|
4866
4869
|
"/": "/";
|
|
4870
|
+
$: "$";
|
|
4867
4871
|
}>;
|
|
4868
4872
|
}, z.core.$strip>, z.ZodObject<{
|
|
4869
4873
|
icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -4993,6 +4997,7 @@ declare const turnSteerParamsSchema: z.ZodObject<{
|
|
|
4993
4997
|
}>;
|
|
4994
4998
|
trigger: z.ZodEnum<{
|
|
4995
4999
|
"/": "/";
|
|
5000
|
+
$: "$";
|
|
4996
5001
|
}>;
|
|
4997
5002
|
}, z.core.$strip>, z.ZodObject<{
|
|
4998
5003
|
icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -274,6 +274,7 @@ declare const threadResponseSchema: z.ZodObject<{
|
|
|
274
274
|
id: z.ZodString;
|
|
275
275
|
lastReadAt: z.ZodNullable<z.ZodNumber>;
|
|
276
276
|
latestAttentionAt: z.ZodNumber;
|
|
277
|
+
lifecycleOwnerThreadId: z.ZodNullable<z.ZodString>;
|
|
277
278
|
originKind: z.ZodNullable<z.ZodEnum<{
|
|
278
279
|
fork: "fork";
|
|
279
280
|
}>>;
|