@get-bb/plugin-sdk 0.6.5 → 0.6.9
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 +191 -169
- package/bundled-types/bb-plugin-sdk-internal-host-policy.d.ts +5 -5
- package/bundled-types/bb-plugin-sdk-provider-bridge-acp.d.ts +2 -2
- package/bundled-types/bb-plugin-sdk-provider-bridge-testing.d.ts +9 -12
- package/bundled-types/bb-plugin-sdk-provider-bridge.d.ts +11 -10
- package/bundled-types/bb-plugin-sdk-testing.d.ts +1 -1
- package/bundled-types/bb-plugin-sdk.d.ts +192 -170
- package/dist/internal/host-policy.js +0 -1
- package/dist/internal/plugin-app-collector.js +5 -0
- package/dist/provider-bridge-acp.js +14 -60
- package/dist/provider-bridge-testing.js +12 -61
- package/dist/provider-bridge.js +12 -55
- package/dist/testing/app.js +21 -7
- package/dist/testing/index.js +0 -1
- package/package.json +2 -2
|
@@ -217,7 +217,7 @@ type PermissionMode = z.infer<typeof permissionModeSchema>;
|
|
|
217
217
|
declare const promptInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
218
218
|
mentions: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
219
219
|
end: z.ZodNumber;
|
|
220
|
-
resource: z.
|
|
220
|
+
resource: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
221
221
|
kind: z.ZodLiteral<"thread">;
|
|
222
222
|
label: z.ZodString;
|
|
223
223
|
projectId: z.ZodOptional<z.ZodString>;
|
|
@@ -266,7 +266,7 @@ declare const promptInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
266
266
|
kind: z.ZodLiteral<"plugin">;
|
|
267
267
|
label: z.ZodString;
|
|
268
268
|
pluginId: z.ZodString;
|
|
269
|
-
}, z.core.$strip>], "kind"
|
|
269
|
+
}, z.core.$strip>], "kind">, unknown>;
|
|
270
270
|
start: z.ZodNumber;
|
|
271
271
|
}, z.core.$strip>>>;
|
|
272
272
|
text: z.ZodString;
|
|
@@ -325,7 +325,7 @@ declare const threadQueuedMessageSchema: z.ZodObject<{
|
|
|
325
325
|
content: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
326
326
|
mentions: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
327
327
|
end: z.ZodNumber;
|
|
328
|
-
resource: z.
|
|
328
|
+
resource: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
329
329
|
kind: z.ZodLiteral<"thread">;
|
|
330
330
|
label: z.ZodString;
|
|
331
331
|
projectId: z.ZodOptional<z.ZodString>;
|
|
@@ -374,7 +374,7 @@ declare const threadQueuedMessageSchema: z.ZodObject<{
|
|
|
374
374
|
kind: z.ZodLiteral<"plugin">;
|
|
375
375
|
label: z.ZodString;
|
|
376
376
|
pluginId: z.ZodString;
|
|
377
|
-
}, z.core.$strip>], "kind"
|
|
377
|
+
}, z.core.$strip>], "kind">, unknown>;
|
|
378
378
|
start: z.ZodNumber;
|
|
379
379
|
}, z.core.$strip>>>;
|
|
380
380
|
text: z.ZodString;
|
|
@@ -1353,7 +1353,7 @@ interface PluginProviderCapabilities {
|
|
|
1353
1353
|
* Provider copy core surfaces render from per-provider tables today (usage
|
|
1354
1354
|
* banners, sign-in hints, the mobile picker, the agent guide). Declared once
|
|
1355
1355
|
* here so no core surface keys copy on a provider id. Mirrors
|
|
1356
|
-
* `
|
|
1356
|
+
* `providerStringsSchema` in `@bb/domain`, which is the client projection.
|
|
1357
1357
|
*/
|
|
1358
1358
|
interface PluginProviderStrings {
|
|
1359
1359
|
/** How to sign in on the host ("Run `claude` on the machine to sign in."). */
|
|
@@ -354,7 +354,7 @@ declare const acpToolCallContentSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
354
354
|
type: z.ZodLiteral<"terminal">;
|
|
355
355
|
}, z.core.$loose>]>;
|
|
356
356
|
type AcpToolCallContent = z.infer<typeof acpToolCallContentSchema>;
|
|
357
|
-
declare const acpToolCallUpdateEventSchema: z.
|
|
357
|
+
declare const acpToolCallUpdateEventSchema: z.ZodPreprocess<z.ZodObject<{
|
|
358
358
|
content: z.ZodOptional<z.ZodPipe<z.ZodArray<z.ZodUnknown>, z.ZodTransform<({
|
|
359
359
|
[x: string]: unknown;
|
|
360
360
|
type: "content";
|
|
@@ -410,7 +410,7 @@ declare const acpToolCallUpdateEventSchema: z.ZodPipe<z.ZodTransform<unknown, un
|
|
|
410
410
|
}>>;
|
|
411
411
|
title: z.ZodOptional<z.ZodString>;
|
|
412
412
|
toolCallId: z.ZodString;
|
|
413
|
-
}, z.core.$loose
|
|
413
|
+
}, z.core.$loose>, unknown>;
|
|
414
414
|
type AcpToolCallUpdateEvent = z.infer<typeof acpToolCallUpdateEventSchema>;
|
|
415
415
|
|
|
416
416
|
interface AcpClassifiedToolCall {
|
|
@@ -1189,7 +1189,7 @@ declare const threadEventItemSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1189
1189
|
type: z.ZodLiteral<"extension">;
|
|
1190
1190
|
}, z.core.$strip>], "type">;
|
|
1191
1191
|
type ThreadEventItem = z.infer<typeof threadEventItemSchema>;
|
|
1192
|
-
declare const threadEventSchema: z.
|
|
1192
|
+
declare const threadEventSchema: z.ZodUnion<readonly [z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1193
1193
|
threadId: z.ZodString;
|
|
1194
1194
|
type: z.ZodLiteral<"thread/started">;
|
|
1195
1195
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -3405,7 +3405,7 @@ declare const threadEventSchema: z.ZodPipe<z.ZodUnknown, z.ZodUnion<readonly [z.
|
|
|
3405
3405
|
input: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3406
3406
|
mentions: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3407
3407
|
end: z.ZodNumber;
|
|
3408
|
-
resource: z.
|
|
3408
|
+
resource: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3409
3409
|
kind: z.ZodLiteral<"thread">;
|
|
3410
3410
|
label: z.ZodString;
|
|
3411
3411
|
projectId: z.ZodOptional<z.ZodString>;
|
|
@@ -3454,7 +3454,7 @@ declare const threadEventSchema: z.ZodPipe<z.ZodUnknown, z.ZodUnion<readonly [z.
|
|
|
3454
3454
|
kind: z.ZodLiteral<"plugin">;
|
|
3455
3455
|
label: z.ZodString;
|
|
3456
3456
|
pluginId: z.ZodString;
|
|
3457
|
-
}, z.core.$strip>], "kind"
|
|
3457
|
+
}, z.core.$strip>], "kind">, unknown>;
|
|
3458
3458
|
start: z.ZodNumber;
|
|
3459
3459
|
}, z.core.$strip>>>;
|
|
3460
3460
|
text: z.ZodString;
|
|
@@ -3487,7 +3487,7 @@ declare const threadEventSchema: z.ZodPipe<z.ZodUnknown, z.ZodUnion<readonly [z.
|
|
|
3487
3487
|
inputGroups: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3488
3488
|
mentions: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3489
3489
|
end: z.ZodNumber;
|
|
3490
|
-
resource: z.
|
|
3490
|
+
resource: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3491
3491
|
kind: z.ZodLiteral<"thread">;
|
|
3492
3492
|
label: z.ZodString;
|
|
3493
3493
|
projectId: z.ZodOptional<z.ZodString>;
|
|
@@ -3536,7 +3536,7 @@ declare const threadEventSchema: z.ZodPipe<z.ZodUnknown, z.ZodUnion<readonly [z.
|
|
|
3536
3536
|
kind: z.ZodLiteral<"plugin">;
|
|
3537
3537
|
label: z.ZodString;
|
|
3538
3538
|
pluginId: z.ZodString;
|
|
3539
|
-
}, z.core.$strip>], "kind"
|
|
3539
|
+
}, z.core.$strip>], "kind">, unknown>;
|
|
3540
3540
|
start: z.ZodNumber;
|
|
3541
3541
|
}, z.core.$strip>>>;
|
|
3542
3542
|
text: z.ZodString;
|
|
@@ -3681,8 +3681,6 @@ declare const threadEventSchema: z.ZodPipe<z.ZodUnknown, z.ZodUnion<readonly [z.
|
|
|
3681
3681
|
code: z.ZodOptional<z.ZodString>;
|
|
3682
3682
|
detail: z.ZodOptional<z.ZodString>;
|
|
3683
3683
|
message: z.ZodString;
|
|
3684
|
-
reconnectAttempt: z.ZodOptional<z.ZodNumber>;
|
|
3685
|
-
reconnectTotal: z.ZodOptional<z.ZodNumber>;
|
|
3686
3684
|
threadId: z.ZodString;
|
|
3687
3685
|
type: z.ZodLiteral<"system/error">;
|
|
3688
3686
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -4091,13 +4089,13 @@ declare const threadEventSchema: z.ZodPipe<z.ZodUnknown, z.ZodUnion<readonly [z.
|
|
|
4091
4089
|
kind: z.ZodLiteral<"turn">;
|
|
4092
4090
|
turnId: z.ZodString;
|
|
4093
4091
|
}, z.core.$strip>], "kind">;
|
|
4094
|
-
}, z.core.$strip>>]
|
|
4092
|
+
}, z.core.$strip>>]>;
|
|
4095
4093
|
type ThreadEvent = z.infer<typeof threadEventSchema>;
|
|
4096
4094
|
|
|
4097
4095
|
declare const promptInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4098
4096
|
mentions: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4099
4097
|
end: z.ZodNumber;
|
|
4100
|
-
resource: z.
|
|
4098
|
+
resource: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4101
4099
|
kind: z.ZodLiteral<"thread">;
|
|
4102
4100
|
label: z.ZodString;
|
|
4103
4101
|
projectId: z.ZodOptional<z.ZodString>;
|
|
@@ -4146,7 +4144,7 @@ declare const promptInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
4146
4144
|
kind: z.ZodLiteral<"plugin">;
|
|
4147
4145
|
label: z.ZodString;
|
|
4148
4146
|
pluginId: z.ZodString;
|
|
4149
|
-
}, z.core.$strip>], "kind"
|
|
4147
|
+
}, z.core.$strip>], "kind">, unknown>;
|
|
4150
4148
|
start: z.ZodNumber;
|
|
4151
4149
|
}, z.core.$strip>>>;
|
|
4152
4150
|
text: z.ZodString;
|
|
@@ -5066,7 +5064,6 @@ interface BridgeDeltaEventCollector {
|
|
|
5066
5064
|
}
|
|
5067
5065
|
declare function createBridgeDeltaEventCollector(providerId?: string): BridgeDeltaEventCollector;
|
|
5068
5066
|
declare function assembleCapturedThreadEvents(messages: readonly CapturedBridgeNotification[], providerId?: string): ThreadEvent[];
|
|
5069
|
-
declare function toConformanceMessages(): never;
|
|
5070
5067
|
|
|
5071
5068
|
interface BridgeConformanceTransport {
|
|
5072
5069
|
send(line: string): void;
|
|
@@ -5333,5 +5330,5 @@ interface RerecordCurrentBridgeLaneResult {
|
|
|
5333
5330
|
}
|
|
5334
5331
|
declare function rerecordCurrentBridgeLane(options: RerecordCurrentBridgeLaneOptions): Promise<RerecordCurrentBridgeLaneResult>;
|
|
5335
5332
|
|
|
5336
|
-
export { ASSEMBLER_GRAMMAR_VERSIONS, CONFORMANCE_ASSEMBLED_EVENT_METHOD, CURRENT_BRIDGE_LANE_FILE, DEFAULT_REPLAY_PROFILE, PARITY_INITIALIZE_ID, RECORDED_CONFORMANCE_CELLS, assembleCapturedThreadEvents as experimental_assembleCapturedThreadEvents, assembleRecordedEvents as experimental_assembleRecordedEvents, captureBridgeJsonRpcOutput as experimental_captureBridgeJsonRpcOutput, checkRecordedCellReplay as experimental_checkRecordedCellReplay, compareParity as experimental_compareParity, createBridgeDeltaEventCollector as experimental_createBridgeDeltaEventCollector, createBridgeJsonRpcTestHarness as experimental_createBridgeJsonRpcTestHarness, createDeltaAssembler as experimental_createDeltaAssembler, describeCalibrationEvents as experimental_describeCalibrationEvents, formatConformanceReport as experimental_formatConformanceReport, listRecordedCells as experimental_listRecordedCells, normalizeCalibrationEvents as experimental_normalizeCalibrationEvents, readBridgeRecording as experimental_readBridgeRecording, replayRecording as experimental_replayRecording, rerecordCurrentBridgeLane as experimental_rerecordCurrentBridgeLane, resolveProviderBridgeLaunch as experimental_resolveProviderBridgeLaunch, runBridgeConformance as experimental_runBridgeConformance,
|
|
5333
|
+
export { ASSEMBLER_GRAMMAR_VERSIONS, CONFORMANCE_ASSEMBLED_EVENT_METHOD, CURRENT_BRIDGE_LANE_FILE, DEFAULT_REPLAY_PROFILE, PARITY_INITIALIZE_ID, RECORDED_CONFORMANCE_CELLS, assembleCapturedThreadEvents as experimental_assembleCapturedThreadEvents, assembleRecordedEvents as experimental_assembleRecordedEvents, captureBridgeJsonRpcOutput as experimental_captureBridgeJsonRpcOutput, checkRecordedCellReplay as experimental_checkRecordedCellReplay, compareParity as experimental_compareParity, createBridgeDeltaEventCollector as experimental_createBridgeDeltaEventCollector, createBridgeJsonRpcTestHarness as experimental_createBridgeJsonRpcTestHarness, createDeltaAssembler as experimental_createDeltaAssembler, describeCalibrationEvents as experimental_describeCalibrationEvents, formatConformanceReport as experimental_formatConformanceReport, listRecordedCells as experimental_listRecordedCells, normalizeCalibrationEvents as experimental_normalizeCalibrationEvents, readBridgeRecording as experimental_readBridgeRecording, replayRecording as experimental_replayRecording, rerecordCurrentBridgeLane as experimental_rerecordCurrentBridgeLane, resolveProviderBridgeLaunch as experimental_resolveProviderBridgeLaunch, runBridgeConformance as experimental_runBridgeConformance, withCurrentBridgeLane as experimental_withCurrentBridgeLane };
|
|
5337
5334
|
export type { AssembleDeltasArgs, BridgeConformanceTransport, BridgeDeltaEventCollector, BridgeJsonRpcId, BridgeJsonRpcLineHandler, BridgeJsonRpcObject, BridgeJsonRpcOutputMessage, BridgeJsonRpcTestHarness, BridgeRecording, BridgeRecordingDirection, BridgeRecordingEntry, BridgeRecordingManifest, CapturedBridgeJsonRpcOutput, CapturedBridgeNotification, ConformanceCheckResult, ConformanceReport, ConformanceSessionFixture, CreateDeltaAssemblerOptions, CreateParityAssembler, DeltaAssembler, DiffCumulativeTextArgs, DiffCumulativeTextResult, NormalizeCalibrationEventsOptions, ParityAllowlistEntry, ParityAssembler, ParityComparison, ParityGrammarViolation, ParityInputs, ParityLayerDiff, ParityRowProjector, ParityRun, ProviderBridgeLaunch, RecordedCell, RecordedCellReplay, RecordedConformanceCell, ReplayDialect, ReplayProviderProfile, ReplayRecordedCellsOptions, ReplayRecordingOptions, RerecordCurrentBridgeLaneOptions, RerecordCurrentBridgeLaneResult, ResolveProviderBridgeLaunchOptions, RunBridgeConformanceOptions, ThreadEvent, ThreadEventBackgroundTaskItem, ThreadEventDelegationItem, ThreadEventExtensionItem, ThreadEventFileReadItem, ThreadEventItem, ThreadEventItemPresentation, ThreadEventItemPresentationIcon, ThreadEventItemPresentationLabel, ThreadEventItemPresentationTint, ThreadEventPlanStepsItem, ThreadEventSearchItem, ThreadEventWebFetchItem, ThreadEventWebSearchItem };
|
|
@@ -1411,7 +1411,7 @@ type PromptMentionCommandTrigger = z.infer<typeof promptMentionCommandTriggerSch
|
|
|
1411
1411
|
declare const promptInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1412
1412
|
mentions: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1413
1413
|
end: z.ZodNumber;
|
|
1414
|
-
resource: z.
|
|
1414
|
+
resource: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1415
1415
|
kind: z.ZodLiteral<"thread">;
|
|
1416
1416
|
label: z.ZodString;
|
|
1417
1417
|
projectId: z.ZodOptional<z.ZodString>;
|
|
@@ -1460,7 +1460,7 @@ declare const promptInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1460
1460
|
kind: z.ZodLiteral<"plugin">;
|
|
1461
1461
|
label: z.ZodString;
|
|
1462
1462
|
pluginId: z.ZodString;
|
|
1463
|
-
}, z.core.$strip>], "kind"
|
|
1463
|
+
}, z.core.$strip>], "kind">, unknown>;
|
|
1464
1464
|
start: z.ZodNumber;
|
|
1465
1465
|
}, z.core.$strip>>>;
|
|
1466
1466
|
text: z.ZodString;
|
|
@@ -4057,6 +4057,7 @@ declare const providerInstallationRequirementSchema: z.ZodEnum<{
|
|
|
4057
4057
|
}>;
|
|
4058
4058
|
type ProviderInstallationRequirement = z.infer<typeof providerInstallationRequirementSchema>;
|
|
4059
4059
|
declare const providerInstallationStatusParamsSchema: z.ZodObject<{
|
|
4060
|
+
checkUpdates: z.ZodDefault<z.ZodBoolean>;
|
|
4060
4061
|
cwd: z.ZodOptional<z.ZodString>;
|
|
4061
4062
|
providerId: z.ZodString;
|
|
4062
4063
|
providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -4400,7 +4401,7 @@ declare const initializeParamsSchema: z.ZodObject<{
|
|
|
4400
4401
|
protocolVersion: z.ZodNumber;
|
|
4401
4402
|
}, z.core.$loose>;
|
|
4402
4403
|
declare const initializeResultSchema: z.ZodObject<{
|
|
4403
|
-
capabilities: z.
|
|
4404
|
+
capabilities: z.ZodPreprocess<z.ZodObject<{
|
|
4404
4405
|
approvalEnforcedBy: z.ZodDefault<z.ZodEnum<{
|
|
4405
4406
|
provider: "provider";
|
|
4406
4407
|
runtime: "runtime";
|
|
@@ -4422,7 +4423,7 @@ declare const initializeResultSchema: z.ZodObject<{
|
|
|
4422
4423
|
threadArchive: z.ZodDefault<z.ZodBoolean>;
|
|
4423
4424
|
threadGoalClear: z.ZodDefault<z.ZodBoolean>;
|
|
4424
4425
|
threadRename: z.ZodDefault<z.ZodBoolean>;
|
|
4425
|
-
}, z.core.$loose
|
|
4426
|
+
}, z.core.$loose>, unknown>;
|
|
4426
4427
|
protocolVersion: z.ZodNumber;
|
|
4427
4428
|
}, z.core.$loose>;
|
|
4428
4429
|
type InitializeResult = z.infer<typeof initializeResultSchema>;
|
|
@@ -4530,7 +4531,7 @@ declare const threadStartParamsSchema: z.ZodObject<{
|
|
|
4530
4531
|
input: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4531
4532
|
mentions: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4532
4533
|
end: z.ZodNumber;
|
|
4533
|
-
resource: z.
|
|
4534
|
+
resource: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4534
4535
|
kind: z.ZodLiteral<"thread">;
|
|
4535
4536
|
label: z.ZodString;
|
|
4536
4537
|
projectId: z.ZodOptional<z.ZodString>;
|
|
@@ -4579,7 +4580,7 @@ declare const threadStartParamsSchema: z.ZodObject<{
|
|
|
4579
4580
|
kind: z.ZodLiteral<"plugin">;
|
|
4580
4581
|
label: z.ZodString;
|
|
4581
4582
|
pluginId: z.ZodString;
|
|
4582
|
-
}, z.core.$strip>], "kind"
|
|
4583
|
+
}, z.core.$strip>], "kind">, unknown>;
|
|
4583
4584
|
start: z.ZodNumber;
|
|
4584
4585
|
}, z.core.$strip>>>;
|
|
4585
4586
|
text: z.ZodString;
|
|
@@ -4857,7 +4858,7 @@ declare const turnStartParamsSchema: z.ZodObject<{
|
|
|
4857
4858
|
input: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4858
4859
|
mentions: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4859
4860
|
end: z.ZodNumber;
|
|
4860
|
-
resource: z.
|
|
4861
|
+
resource: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4861
4862
|
kind: z.ZodLiteral<"thread">;
|
|
4862
4863
|
label: z.ZodString;
|
|
4863
4864
|
projectId: z.ZodOptional<z.ZodString>;
|
|
@@ -4906,7 +4907,7 @@ declare const turnStartParamsSchema: z.ZodObject<{
|
|
|
4906
4907
|
kind: z.ZodLiteral<"plugin">;
|
|
4907
4908
|
label: z.ZodString;
|
|
4908
4909
|
pluginId: z.ZodString;
|
|
4909
|
-
}, z.core.$strip>], "kind"
|
|
4910
|
+
}, z.core.$strip>], "kind">, unknown>;
|
|
4910
4911
|
start: z.ZodNumber;
|
|
4911
4912
|
}, z.core.$strip>>>;
|
|
4912
4913
|
text: z.ZodString;
|
|
@@ -4987,7 +4988,7 @@ declare const turnSteerParamsSchema: z.ZodObject<{
|
|
|
4987
4988
|
input: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4988
4989
|
mentions: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4989
4990
|
end: z.ZodNumber;
|
|
4990
|
-
resource: z.
|
|
4991
|
+
resource: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4991
4992
|
kind: z.ZodLiteral<"thread">;
|
|
4992
4993
|
label: z.ZodString;
|
|
4993
4994
|
projectId: z.ZodOptional<z.ZodString>;
|
|
@@ -5036,7 +5037,7 @@ declare const turnSteerParamsSchema: z.ZodObject<{
|
|
|
5036
5037
|
kind: z.ZodLiteral<"plugin">;
|
|
5037
5038
|
label: z.ZodString;
|
|
5038
5039
|
pluginId: z.ZodString;
|
|
5039
|
-
}, z.core.$strip>], "kind"
|
|
5040
|
+
}, z.core.$strip>], "kind">, unknown>;
|
|
5040
5041
|
start: z.ZodNumber;
|
|
5041
5042
|
}, z.core.$strip>>>;
|
|
5042
5043
|
text: z.ZodString;
|
|
@@ -649,7 +649,7 @@ interface PluginProviderCapabilities {
|
|
|
649
649
|
* Provider copy core surfaces render from per-provider tables today (usage
|
|
650
650
|
* banners, sign-in hints, the mobile picker, the agent guide). Declared once
|
|
651
651
|
* here so no core surface keys copy on a provider id. Mirrors
|
|
652
|
-
* `
|
|
652
|
+
* `providerStringsSchema` in `@bb/domain`, which is the client projection.
|
|
653
653
|
*/
|
|
654
654
|
interface PluginProviderStrings {
|
|
655
655
|
/** How to sign in on the host ("Run `claude` on the machine to sign in."). */
|