@get-bb/plugin-sdk 0.4.8 → 0.4.10
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 +43 -2
- package/bundled-types/bb-plugin-sdk-app.d.ts +319 -27
- package/bundled-types/bb-plugin-sdk-internal-file-navigation-validation.d.ts +42 -0
- package/bundled-types/bb-plugin-sdk-internal-host-policy.d.ts +45 -8
- package/bundled-types/bb-plugin-sdk-internal-plugin-app-collector.d.ts +3 -1
- package/bundled-types/bb-plugin-sdk-provider-bridge.d.ts +2791 -4936
- package/bundled-types/bb-plugin-sdk-testing-app.d.ts +35 -2
- package/bundled-types/bb-plugin-sdk.d.ts +1341 -429
- package/dist/app.js +12 -0
- package/dist/internal/file-navigation-validation.js +135 -0
- package/dist/internal/host-policy.js +104 -0
- package/dist/internal/plugin-app-collector.js +58 -1
- package/dist/provider-bridge.js +3477 -4881
- package/dist/testing/app.js +403 -1
- package/dist/testing/index.js +104 -1
- package/package.json +11 -4
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
// and read the real source: https://github.com/get-bb/bb
|
|
7
7
|
|
|
8
8
|
import * as react from 'react';
|
|
9
|
-
import { ComponentType, ReactNode } from 'react';
|
|
9
|
+
import { ComponentType, ComponentPropsWithoutRef, ReactNode } from 'react';
|
|
10
10
|
import * as z from 'zod';
|
|
11
11
|
import { z as z$1 } from 'zod';
|
|
12
12
|
import Database from 'better-sqlite3';
|
|
@@ -22,15 +22,16 @@ declare const appSettingsSchema: z$1.ZodObject<{
|
|
|
22
22
|
claudeCodeWorkflowsDisabled: z$1.ZodBoolean;
|
|
23
23
|
codexMemoryEnabled: z$1.ZodBoolean;
|
|
24
24
|
codexSubagentsDisabled: z$1.ZodBoolean;
|
|
25
|
-
onboardingCompletedAt: z$1.ZodNullable<z$1.ZodString>;
|
|
26
25
|
showKeyboardHints: z$1.ZodBoolean;
|
|
27
26
|
showUnhandledProviderEvents: z$1.ZodBoolean;
|
|
28
27
|
steerActiveThreadOnEnter: z$1.ZodBoolean;
|
|
28
|
+
streamerMode: z$1.ZodBoolean;
|
|
29
29
|
}, z$1.core.$strict>;
|
|
30
30
|
type AppSettings = z$1.infer<typeof appSettingsSchema>;
|
|
31
31
|
|
|
32
32
|
declare const appKeybindingOverridesSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
33
33
|
command: z$1.ZodEnum<{
|
|
34
|
+
"browser.find": "browser.find";
|
|
34
35
|
"browser.focusLocation": "browser.focusLocation";
|
|
35
36
|
"browser.reload": "browser.reload";
|
|
36
37
|
"composer.focus": "composer.focus";
|
|
@@ -252,10 +253,11 @@ declare const environmentSchema: z$1.ZodObject<{
|
|
|
252
253
|
type Environment = z$1.infer<typeof environmentSchema>;
|
|
253
254
|
|
|
254
255
|
declare const experimentsSchema: z$1.ZodRecord<z$1.ZodEnum<{
|
|
255
|
-
|
|
256
|
+
changelogPreview: "changelogPreview";
|
|
256
257
|
editMessages: "editMessages";
|
|
257
|
-
|
|
258
|
+
mobileApp: "mobileApp";
|
|
258
259
|
providerSessionReaping: "providerSessionReaping";
|
|
260
|
+
timelineWindowing: "timelineWindowing";
|
|
259
261
|
}>, z$1.ZodBoolean>;
|
|
260
262
|
type Experiments = z$1.infer<typeof experimentsSchema>;
|
|
261
263
|
|
|
@@ -891,6 +893,7 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
|
|
|
891
893
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
892
894
|
description: z$1.ZodString;
|
|
893
895
|
error: z$1.ZodOptional<z$1.ZodString>;
|
|
896
|
+
familyId: z$1.ZodOptional<z$1.ZodString>;
|
|
894
897
|
id: z$1.ZodString;
|
|
895
898
|
outputFile: z$1.ZodOptional<z$1.ZodString>;
|
|
896
899
|
parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -1123,6 +1126,7 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
|
|
|
1123
1126
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
1124
1127
|
description: z$1.ZodString;
|
|
1125
1128
|
error: z$1.ZodOptional<z$1.ZodString>;
|
|
1129
|
+
familyId: z$1.ZodOptional<z$1.ZodString>;
|
|
1126
1130
|
id: z$1.ZodString;
|
|
1127
1131
|
outputFile: z$1.ZodOptional<z$1.ZodString>;
|
|
1128
1132
|
parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -1252,6 +1256,7 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
|
|
|
1252
1256
|
item: z$1.ZodObject<{
|
|
1253
1257
|
description: z$1.ZodString;
|
|
1254
1258
|
error: z$1.ZodOptional<z$1.ZodString>;
|
|
1259
|
+
familyId: z$1.ZodOptional<z$1.ZodString>;
|
|
1255
1260
|
id: z$1.ZodString;
|
|
1256
1261
|
outputFile: z$1.ZodOptional<z$1.ZodString>;
|
|
1257
1262
|
parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -1324,6 +1329,7 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
|
|
|
1324
1329
|
item: z$1.ZodObject<{
|
|
1325
1330
|
description: z$1.ZodString;
|
|
1326
1331
|
error: z$1.ZodOptional<z$1.ZodString>;
|
|
1332
|
+
familyId: z$1.ZodOptional<z$1.ZodString>;
|
|
1327
1333
|
id: z$1.ZodString;
|
|
1328
1334
|
outputFile: z$1.ZodOptional<z$1.ZodString>;
|
|
1329
1335
|
parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -1554,7 +1560,7 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
|
|
|
1554
1560
|
kind: z$1.ZodLiteral<"turn">;
|
|
1555
1561
|
turnId: z$1.ZodString;
|
|
1556
1562
|
}, z$1.core.$strip>], "kind">;
|
|
1557
|
-
}, z$1.core.$strip>>, z$1.ZodIntersection<z$1.
|
|
1563
|
+
}, z$1.core.$strip>>, z$1.ZodIntersection<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
1558
1564
|
direction: z$1.ZodLiteral<"outbound">;
|
|
1559
1565
|
initiator: z$1.ZodEnum<{
|
|
1560
1566
|
agent: "agent";
|
|
@@ -2001,7 +2007,7 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
|
|
|
2001
2007
|
threadId: z$1.ZodString;
|
|
2002
2008
|
thresholdMs: z$1.ZodNumber;
|
|
2003
2009
|
type: z$1.ZodLiteral<"system/provider-turn-watchdog">;
|
|
2004
|
-
}, z$1.core.$strip>]>, z$1.ZodObject<{
|
|
2010
|
+
}, z$1.core.$strip>], "type">, z$1.ZodObject<{
|
|
2005
2011
|
scope: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
2006
2012
|
kind: z$1.ZodLiteral<"thread">;
|
|
2007
2013
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
@@ -2071,6 +2077,9 @@ declare const providerInfoSchema: z$1.ZodObject<{
|
|
|
2071
2077
|
kind: z$1.ZodLiteral<"goal">;
|
|
2072
2078
|
}, z$1.core.$strip>], "kind">>;
|
|
2073
2079
|
displayName: z$1.ZodString;
|
|
2080
|
+
experimental_providerHealth: z$1.ZodBoolean;
|
|
2081
|
+
experimental_providerInstallation: z$1.ZodBoolean;
|
|
2082
|
+
experimental_providerUsage: z$1.ZodBoolean;
|
|
2074
2083
|
id: z$1.ZodString;
|
|
2075
2084
|
logoUrl: z$1.ZodNullable<z$1.ZodString>;
|
|
2076
2085
|
}, z$1.core.$strip>;
|
|
@@ -2735,6 +2744,229 @@ declare const projectWithThreadsResponseSchema: z$1.ZodObject<{
|
|
|
2735
2744
|
updatedAt: z$1.ZodNumber;
|
|
2736
2745
|
}, z$1.core.$strip>;
|
|
2737
2746
|
type ProjectWithThreadsResponse = z$1.infer<typeof projectWithThreadsResponseSchema>;
|
|
2747
|
+
declare const sidebarBootstrapResponseSchema: z$1.ZodObject<{
|
|
2748
|
+
personalProject: z$1.ZodObject<{
|
|
2749
|
+
createdAt: z$1.ZodNumber;
|
|
2750
|
+
defaultExecutionOptions: z$1.ZodNullable<z$1.ZodObject<{
|
|
2751
|
+
model: z$1.ZodString;
|
|
2752
|
+
permissionMode: z$1.ZodEnum<{
|
|
2753
|
+
"accept-edits": "accept-edits";
|
|
2754
|
+
auto: "auto";
|
|
2755
|
+
full: "full";
|
|
2756
|
+
}>;
|
|
2757
|
+
providerId: z$1.ZodString;
|
|
2758
|
+
reasoningLevel: z$1.ZodEnum<{
|
|
2759
|
+
high: "high";
|
|
2760
|
+
low: "low";
|
|
2761
|
+
max: "max";
|
|
2762
|
+
medium: "medium";
|
|
2763
|
+
none: "none";
|
|
2764
|
+
ultra: "ultra";
|
|
2765
|
+
ultracode: "ultracode";
|
|
2766
|
+
xhigh: "xhigh";
|
|
2767
|
+
}>;
|
|
2768
|
+
serviceTier: z$1.ZodEnum<{
|
|
2769
|
+
default: "default";
|
|
2770
|
+
fast: "fast";
|
|
2771
|
+
}>;
|
|
2772
|
+
}, z$1.core.$strip>>;
|
|
2773
|
+
gitRemoteUrl: z$1.ZodNullable<z$1.ZodString>;
|
|
2774
|
+
id: z$1.ZodString;
|
|
2775
|
+
kind: z$1.ZodEnum<{
|
|
2776
|
+
personal: "personal";
|
|
2777
|
+
standard: "standard";
|
|
2778
|
+
}>;
|
|
2779
|
+
name: z$1.ZodString;
|
|
2780
|
+
sources: z$1.ZodArray<z$1.ZodObject<{
|
|
2781
|
+
createdAt: z$1.ZodNumber;
|
|
2782
|
+
hostId: z$1.ZodString;
|
|
2783
|
+
id: z$1.ZodString;
|
|
2784
|
+
isDefault: z$1.ZodBoolean;
|
|
2785
|
+
path: z$1.ZodString;
|
|
2786
|
+
projectId: z$1.ZodString;
|
|
2787
|
+
type: z$1.ZodLiteral<"local_path">;
|
|
2788
|
+
updatedAt: z$1.ZodNumber;
|
|
2789
|
+
}, z$1.core.$strip>>;
|
|
2790
|
+
threads: z$1.ZodArray<z$1.ZodObject<{
|
|
2791
|
+
activity: z$1.ZodObject<{
|
|
2792
|
+
activeBackgroundAgentCount: z$1.ZodNumber;
|
|
2793
|
+
activeBackgroundCommandCount: z$1.ZodNumber;
|
|
2794
|
+
activeGoalCount: z$1.ZodNumber;
|
|
2795
|
+
activePlanModeCount: z$1.ZodNumber;
|
|
2796
|
+
activeWorkflowCount: z$1.ZodNumber;
|
|
2797
|
+
}, z$1.core.$strip>;
|
|
2798
|
+
archivedAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
2799
|
+
createdAt: z$1.ZodNumber;
|
|
2800
|
+
deletedAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
2801
|
+
environmentBranchName: z$1.ZodNullable<z$1.ZodString>;
|
|
2802
|
+
environmentHostId: z$1.ZodNullable<z$1.ZodString>;
|
|
2803
|
+
environmentId: z$1.ZodNullable<z$1.ZodString>;
|
|
2804
|
+
environmentName: z$1.ZodNullable<z$1.ZodString>;
|
|
2805
|
+
environmentWorkspaceDisplayKind: z$1.ZodEnum<{
|
|
2806
|
+
"managed-worktree": "managed-worktree";
|
|
2807
|
+
"unmanaged-worktree": "unmanaged-worktree";
|
|
2808
|
+
other: "other";
|
|
2809
|
+
}>;
|
|
2810
|
+
hasPendingInteraction: z$1.ZodBoolean;
|
|
2811
|
+
id: z$1.ZodString;
|
|
2812
|
+
lastReadAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
2813
|
+
latestAttentionAt: z$1.ZodNumber;
|
|
2814
|
+
originKind: z$1.ZodNullable<z$1.ZodEnum<{
|
|
2815
|
+
fork: "fork";
|
|
2816
|
+
}>>;
|
|
2817
|
+
originPluginId: z$1.ZodNullable<z$1.ZodString>;
|
|
2818
|
+
parentThreadId: z$1.ZodNullable<z$1.ZodString>;
|
|
2819
|
+
pinSortKey: z$1.ZodNullable<z$1.ZodString>;
|
|
2820
|
+
pinnedAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
2821
|
+
projectId: z$1.ZodString;
|
|
2822
|
+
providerId: z$1.ZodString;
|
|
2823
|
+
runtime: z$1.ZodObject<{
|
|
2824
|
+
displayStatus: z$1.ZodEnum<{
|
|
2825
|
+
"host-reconnecting": "host-reconnecting";
|
|
2826
|
+
"waiting-for-host": "waiting-for-host";
|
|
2827
|
+
active: "active";
|
|
2828
|
+
error: "error";
|
|
2829
|
+
idle: "idle";
|
|
2830
|
+
provisioning: "provisioning";
|
|
2831
|
+
starting: "starting";
|
|
2832
|
+
stopping: "stopping";
|
|
2833
|
+
}>;
|
|
2834
|
+
hostReconnectGraceExpiresAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
2835
|
+
}, z$1.core.$strip>;
|
|
2836
|
+
sectionId: z$1.ZodNullable<z$1.ZodString>;
|
|
2837
|
+
sourceThreadId: z$1.ZodNullable<z$1.ZodString>;
|
|
2838
|
+
status: z$1.ZodEnum<{
|
|
2839
|
+
active: "active";
|
|
2840
|
+
error: "error";
|
|
2841
|
+
idle: "idle";
|
|
2842
|
+
starting: "starting";
|
|
2843
|
+
stopping: "stopping";
|
|
2844
|
+
}>;
|
|
2845
|
+
title: z$1.ZodNullable<z$1.ZodString>;
|
|
2846
|
+
titleFallback: z$1.ZodNullable<z$1.ZodString>;
|
|
2847
|
+
updatedAt: z$1.ZodNumber;
|
|
2848
|
+
visibility: z$1.ZodEnum<{
|
|
2849
|
+
hidden: "hidden";
|
|
2850
|
+
visible: "visible";
|
|
2851
|
+
}>;
|
|
2852
|
+
}, z$1.core.$strip>>;
|
|
2853
|
+
updatedAt: z$1.ZodNumber;
|
|
2854
|
+
}, z$1.core.$strip>;
|
|
2855
|
+
projects: z$1.ZodArray<z$1.ZodObject<{
|
|
2856
|
+
createdAt: z$1.ZodNumber;
|
|
2857
|
+
defaultExecutionOptions: z$1.ZodNullable<z$1.ZodObject<{
|
|
2858
|
+
model: z$1.ZodString;
|
|
2859
|
+
permissionMode: z$1.ZodEnum<{
|
|
2860
|
+
"accept-edits": "accept-edits";
|
|
2861
|
+
auto: "auto";
|
|
2862
|
+
full: "full";
|
|
2863
|
+
}>;
|
|
2864
|
+
providerId: z$1.ZodString;
|
|
2865
|
+
reasoningLevel: z$1.ZodEnum<{
|
|
2866
|
+
high: "high";
|
|
2867
|
+
low: "low";
|
|
2868
|
+
max: "max";
|
|
2869
|
+
medium: "medium";
|
|
2870
|
+
none: "none";
|
|
2871
|
+
ultra: "ultra";
|
|
2872
|
+
ultracode: "ultracode";
|
|
2873
|
+
xhigh: "xhigh";
|
|
2874
|
+
}>;
|
|
2875
|
+
serviceTier: z$1.ZodEnum<{
|
|
2876
|
+
default: "default";
|
|
2877
|
+
fast: "fast";
|
|
2878
|
+
}>;
|
|
2879
|
+
}, z$1.core.$strip>>;
|
|
2880
|
+
gitRemoteUrl: z$1.ZodNullable<z$1.ZodString>;
|
|
2881
|
+
id: z$1.ZodString;
|
|
2882
|
+
kind: z$1.ZodEnum<{
|
|
2883
|
+
personal: "personal";
|
|
2884
|
+
standard: "standard";
|
|
2885
|
+
}>;
|
|
2886
|
+
name: z$1.ZodString;
|
|
2887
|
+
sources: z$1.ZodArray<z$1.ZodObject<{
|
|
2888
|
+
createdAt: z$1.ZodNumber;
|
|
2889
|
+
hostId: z$1.ZodString;
|
|
2890
|
+
id: z$1.ZodString;
|
|
2891
|
+
isDefault: z$1.ZodBoolean;
|
|
2892
|
+
path: z$1.ZodString;
|
|
2893
|
+
projectId: z$1.ZodString;
|
|
2894
|
+
type: z$1.ZodLiteral<"local_path">;
|
|
2895
|
+
updatedAt: z$1.ZodNumber;
|
|
2896
|
+
}, z$1.core.$strip>>;
|
|
2897
|
+
threads: z$1.ZodArray<z$1.ZodObject<{
|
|
2898
|
+
activity: z$1.ZodObject<{
|
|
2899
|
+
activeBackgroundAgentCount: z$1.ZodNumber;
|
|
2900
|
+
activeBackgroundCommandCount: z$1.ZodNumber;
|
|
2901
|
+
activeGoalCount: z$1.ZodNumber;
|
|
2902
|
+
activePlanModeCount: z$1.ZodNumber;
|
|
2903
|
+
activeWorkflowCount: z$1.ZodNumber;
|
|
2904
|
+
}, z$1.core.$strip>;
|
|
2905
|
+
archivedAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
2906
|
+
createdAt: z$1.ZodNumber;
|
|
2907
|
+
deletedAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
2908
|
+
environmentBranchName: z$1.ZodNullable<z$1.ZodString>;
|
|
2909
|
+
environmentHostId: z$1.ZodNullable<z$1.ZodString>;
|
|
2910
|
+
environmentId: z$1.ZodNullable<z$1.ZodString>;
|
|
2911
|
+
environmentName: z$1.ZodNullable<z$1.ZodString>;
|
|
2912
|
+
environmentWorkspaceDisplayKind: z$1.ZodEnum<{
|
|
2913
|
+
"managed-worktree": "managed-worktree";
|
|
2914
|
+
"unmanaged-worktree": "unmanaged-worktree";
|
|
2915
|
+
other: "other";
|
|
2916
|
+
}>;
|
|
2917
|
+
hasPendingInteraction: z$1.ZodBoolean;
|
|
2918
|
+
id: z$1.ZodString;
|
|
2919
|
+
lastReadAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
2920
|
+
latestAttentionAt: z$1.ZodNumber;
|
|
2921
|
+
originKind: z$1.ZodNullable<z$1.ZodEnum<{
|
|
2922
|
+
fork: "fork";
|
|
2923
|
+
}>>;
|
|
2924
|
+
originPluginId: z$1.ZodNullable<z$1.ZodString>;
|
|
2925
|
+
parentThreadId: z$1.ZodNullable<z$1.ZodString>;
|
|
2926
|
+
pinSortKey: z$1.ZodNullable<z$1.ZodString>;
|
|
2927
|
+
pinnedAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
2928
|
+
projectId: z$1.ZodString;
|
|
2929
|
+
providerId: z$1.ZodString;
|
|
2930
|
+
runtime: z$1.ZodObject<{
|
|
2931
|
+
displayStatus: z$1.ZodEnum<{
|
|
2932
|
+
"host-reconnecting": "host-reconnecting";
|
|
2933
|
+
"waiting-for-host": "waiting-for-host";
|
|
2934
|
+
active: "active";
|
|
2935
|
+
error: "error";
|
|
2936
|
+
idle: "idle";
|
|
2937
|
+
provisioning: "provisioning";
|
|
2938
|
+
starting: "starting";
|
|
2939
|
+
stopping: "stopping";
|
|
2940
|
+
}>;
|
|
2941
|
+
hostReconnectGraceExpiresAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
2942
|
+
}, z$1.core.$strip>;
|
|
2943
|
+
sectionId: z$1.ZodNullable<z$1.ZodString>;
|
|
2944
|
+
sourceThreadId: z$1.ZodNullable<z$1.ZodString>;
|
|
2945
|
+
status: z$1.ZodEnum<{
|
|
2946
|
+
active: "active";
|
|
2947
|
+
error: "error";
|
|
2948
|
+
idle: "idle";
|
|
2949
|
+
starting: "starting";
|
|
2950
|
+
stopping: "stopping";
|
|
2951
|
+
}>;
|
|
2952
|
+
title: z$1.ZodNullable<z$1.ZodString>;
|
|
2953
|
+
titleFallback: z$1.ZodNullable<z$1.ZodString>;
|
|
2954
|
+
updatedAt: z$1.ZodNumber;
|
|
2955
|
+
visibility: z$1.ZodEnum<{
|
|
2956
|
+
hidden: "hidden";
|
|
2957
|
+
visible: "visible";
|
|
2958
|
+
}>;
|
|
2959
|
+
}, z$1.core.$strip>>;
|
|
2960
|
+
updatedAt: z$1.ZodNumber;
|
|
2961
|
+
}, z$1.core.$strip>>;
|
|
2962
|
+
sections: z$1.ZodArray<z$1.ZodObject<{
|
|
2963
|
+
createdAt: z$1.ZodNumber;
|
|
2964
|
+
id: z$1.ZodString;
|
|
2965
|
+
name: z$1.ZodString;
|
|
2966
|
+
updatedAt: z$1.ZodNumber;
|
|
2967
|
+
}, z$1.core.$strict>>;
|
|
2968
|
+
}, z$1.core.$strip>;
|
|
2969
|
+
type SidebarBootstrapResponse = z$1.infer<typeof sidebarBootstrapResponseSchema>;
|
|
2738
2970
|
declare const uploadedPromptAttachmentSchema: z$1.ZodObject<{
|
|
2739
2971
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
2740
2972
|
name: z$1.ZodString;
|
|
@@ -3338,96 +3570,33 @@ declare const environmentDiffPatchRequestSchema: z$1.ZodObject<{
|
|
|
3338
3570
|
type EnvironmentDiffPatchRequest = z$1.infer<typeof environmentDiffPatchRequestSchema>;
|
|
3339
3571
|
type EnvironmentStatusResponse = z$1.infer<typeof environmentStatusResponseSchema>;
|
|
3340
3572
|
|
|
3341
|
-
|
|
3342
|
-
|
|
3343
|
-
|
|
3344
|
-
|
|
3345
|
-
|
|
3346
|
-
|
|
3347
|
-
|
|
3348
|
-
|
|
3349
|
-
|
|
3350
|
-
}, z$1.core.$strip>>;
|
|
3351
|
-
label: z$1.ZodString;
|
|
3352
|
-
resetsAt: z$1.ZodNullable<z$1.ZodString>;
|
|
3353
|
-
usedPercent: z$1.ZodNumber;
|
|
3354
|
-
}, z$1.core.$strip>>;
|
|
3355
|
-
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
3356
|
-
status: z$1.ZodLiteral<"not_installed">;
|
|
3357
|
-
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
3358
|
-
status: z$1.ZodLiteral<"unauthenticated">;
|
|
3359
|
-
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
3360
|
-
status: z$1.ZodLiteral<"expired">;
|
|
3361
|
-
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
3362
|
-
accountEmail: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodString>>;
|
|
3363
|
-
message: z$1.ZodString;
|
|
3364
|
-
planLabel: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodString>>;
|
|
3365
|
-
status: z$1.ZodLiteral<"error">;
|
|
3366
|
-
}, z$1.core.$strip>], "status">;
|
|
3367
|
-
codex: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
3368
|
-
accountEmail: z$1.ZodNullable<z$1.ZodString>;
|
|
3369
|
-
planLabel: z$1.ZodNullable<z$1.ZodString>;
|
|
3370
|
-
status: z$1.ZodLiteral<"ok">;
|
|
3371
|
-
windows: z$1.ZodArray<z$1.ZodObject<{
|
|
3372
|
-
cost: z$1.ZodOptional<z$1.ZodObject<{
|
|
3373
|
-
limitUsdCents: z$1.ZodNumber;
|
|
3374
|
-
usedUsdCents: z$1.ZodNumber;
|
|
3375
|
-
}, z$1.core.$strip>>;
|
|
3376
|
-
label: z$1.ZodString;
|
|
3377
|
-
resetsAt: z$1.ZodNullable<z$1.ZodString>;
|
|
3378
|
-
usedPercent: z$1.ZodNumber;
|
|
3379
|
-
}, z$1.core.$strip>>;
|
|
3380
|
-
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
3381
|
-
status: z$1.ZodLiteral<"not_installed">;
|
|
3382
|
-
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
3383
|
-
status: z$1.ZodLiteral<"unauthenticated">;
|
|
3384
|
-
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
3385
|
-
status: z$1.ZodLiteral<"expired">;
|
|
3386
|
-
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
3387
|
-
accountEmail: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodString>>;
|
|
3388
|
-
message: z$1.ZodString;
|
|
3389
|
-
planLabel: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodString>>;
|
|
3390
|
-
status: z$1.ZodLiteral<"error">;
|
|
3391
|
-
}, z$1.core.$strip>], "status">;
|
|
3392
|
-
cursor: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
3393
|
-
accountEmail: z$1.ZodNullable<z$1.ZodString>;
|
|
3394
|
-
planLabel: z$1.ZodNullable<z$1.ZodString>;
|
|
3395
|
-
status: z$1.ZodLiteral<"ok">;
|
|
3396
|
-
windows: z$1.ZodArray<z$1.ZodObject<{
|
|
3397
|
-
cost: z$1.ZodOptional<z$1.ZodObject<{
|
|
3398
|
-
limitUsdCents: z$1.ZodNumber;
|
|
3399
|
-
usedUsdCents: z$1.ZodNumber;
|
|
3400
|
-
}, z$1.core.$strip>>;
|
|
3401
|
-
label: z$1.ZodString;
|
|
3402
|
-
resetsAt: z$1.ZodNullable<z$1.ZodString>;
|
|
3403
|
-
usedPercent: z$1.ZodNumber;
|
|
3573
|
+
/** Provider-id keyed usage returned by the public server aggregation route. */
|
|
3574
|
+
declare const providerUsageResponseSchema: z$1.ZodRecord<z$1.ZodString, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
3575
|
+
accountEmail: z$1.ZodNullable<z$1.ZodString>;
|
|
3576
|
+
planLabel: z$1.ZodNullable<z$1.ZodString>;
|
|
3577
|
+
status: z$1.ZodLiteral<"ok">;
|
|
3578
|
+
windows: z$1.ZodArray<z$1.ZodObject<{
|
|
3579
|
+
cost: z$1.ZodOptional<z$1.ZodObject<{
|
|
3580
|
+
limitUsdCents: z$1.ZodNumber;
|
|
3581
|
+
usedUsdCents: z$1.ZodNumber;
|
|
3404
3582
|
}, z$1.core.$strip>>;
|
|
3405
|
-
|
|
3406
|
-
|
|
3407
|
-
|
|
3408
|
-
|
|
3409
|
-
|
|
3410
|
-
|
|
3411
|
-
|
|
3412
|
-
|
|
3413
|
-
|
|
3414
|
-
|
|
3415
|
-
|
|
3416
|
-
|
|
3417
|
-
|
|
3583
|
+
label: z$1.ZodString;
|
|
3584
|
+
resetsAt: z$1.ZodNullable<z$1.ZodString>;
|
|
3585
|
+
usedPercent: z$1.ZodNumber;
|
|
3586
|
+
}, z$1.core.$loose>>;
|
|
3587
|
+
}, z$1.core.$loose>, z$1.ZodObject<{
|
|
3588
|
+
status: z$1.ZodLiteral<"not_installed">;
|
|
3589
|
+
}, z$1.core.$loose>, z$1.ZodObject<{
|
|
3590
|
+
status: z$1.ZodLiteral<"unauthenticated">;
|
|
3591
|
+
}, z$1.core.$loose>, z$1.ZodObject<{
|
|
3592
|
+
status: z$1.ZodLiteral<"expired">;
|
|
3593
|
+
}, z$1.core.$loose>, z$1.ZodObject<{
|
|
3594
|
+
accountEmail: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodString>>;
|
|
3595
|
+
message: z$1.ZodString;
|
|
3596
|
+
planLabel: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodString>>;
|
|
3597
|
+
status: z$1.ZodLiteral<"error">;
|
|
3598
|
+
}, z$1.core.$loose>], "status">>;
|
|
3418
3599
|
type ProviderUsageResponse = z$1.infer<typeof providerUsageResponseSchema>;
|
|
3419
|
-
declare const discoverReposResultSchema: z$1.ZodObject<{
|
|
3420
|
-
repos: z$1.ZodArray<z$1.ZodObject<{
|
|
3421
|
-
agentSeen: z$1.ZodBoolean;
|
|
3422
|
-
agentSeenAt: z$1.ZodNullable<z$1.ZodString>;
|
|
3423
|
-
lastActivityAt: z$1.ZodString;
|
|
3424
|
-
name: z$1.ZodString;
|
|
3425
|
-
originUrl: z$1.ZodNullable<z$1.ZodString>;
|
|
3426
|
-
path: z$1.ZodString;
|
|
3427
|
-
}, z$1.core.$strict>>;
|
|
3428
|
-
truncated: z$1.ZodBoolean;
|
|
3429
|
-
}, z$1.core.$strict>;
|
|
3430
|
-
type DiscoverReposResult = z$1.infer<typeof discoverReposResultSchema>;
|
|
3431
3600
|
type HostDaemonCommandTransport = "onlineRpc" | "settled";
|
|
3432
3601
|
type HostDaemonCommandEnvironmentLane = "read" | "write";
|
|
3433
3602
|
type HostDaemonFlushEventsBeforeResult = boolean | "when-initiated";
|
|
@@ -3546,6 +3715,7 @@ declare const hostDaemonCommandRegistry: {
|
|
|
3546
3715
|
}, z$1.core.$strict>>;
|
|
3547
3716
|
bridgeLaunch: z$1.ZodObject<{
|
|
3548
3717
|
capabilities: z$1.ZodObject<{
|
|
3718
|
+
experimental_providerInstallation: z$1.ZodBoolean;
|
|
3549
3719
|
fork: z$1.ZodEnum<{
|
|
3550
3720
|
checkpoint: "checkpoint";
|
|
3551
3721
|
none: "none";
|
|
@@ -3561,6 +3731,7 @@ declare const hostDaemonCommandRegistry: {
|
|
|
3561
3731
|
supportsThreadRename: z$1.ZodBoolean;
|
|
3562
3732
|
}, z$1.core.$strict>;
|
|
3563
3733
|
pluginId: z$1.ZodString;
|
|
3734
|
+
providerOptions: z$1.ZodType<JsonObject, unknown, z$1.core.$ZodTypeInternals<JsonObject, unknown>>;
|
|
3564
3735
|
source: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
3565
3736
|
byteLength: z$1.ZodNumber;
|
|
3566
3737
|
digest: z$1.ZodString;
|
|
@@ -3612,10 +3783,6 @@ declare const hostDaemonCommandRegistry: {
|
|
|
3612
3783
|
instructions: z$1.ZodString;
|
|
3613
3784
|
leaseId: z$1.ZodString;
|
|
3614
3785
|
options: z$1.ZodIntersection<z$1.ZodObject<{
|
|
3615
|
-
claudeCodeMockCliTraffic: z$1.ZodOptional<z$1.ZodObject<{
|
|
3616
|
-
enabled: z$1.ZodBoolean;
|
|
3617
|
-
endpoint: z$1.ZodString;
|
|
3618
|
-
}, z$1.core.$strict>>;
|
|
3619
3786
|
claudeCodePermissionMode: z$1.ZodOptional<z$1.ZodLiteral<"plan">>;
|
|
3620
3787
|
memoryEnabled: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
3621
3788
|
model: z$1.ZodString;
|
|
@@ -3773,6 +3940,7 @@ declare const hostDaemonCommandRegistry: {
|
|
|
3773
3940
|
}, z$1.core.$strict>>;
|
|
3774
3941
|
bridgeLaunch: z$1.ZodObject<{
|
|
3775
3942
|
capabilities: z$1.ZodObject<{
|
|
3943
|
+
experimental_providerInstallation: z$1.ZodBoolean;
|
|
3776
3944
|
fork: z$1.ZodEnum<{
|
|
3777
3945
|
checkpoint: "checkpoint";
|
|
3778
3946
|
none: "none";
|
|
@@ -3788,6 +3956,7 @@ declare const hostDaemonCommandRegistry: {
|
|
|
3788
3956
|
supportsThreadRename: z$1.ZodBoolean;
|
|
3789
3957
|
}, z$1.core.$strict>;
|
|
3790
3958
|
pluginId: z$1.ZodString;
|
|
3959
|
+
providerOptions: z$1.ZodType<JsonObject, unknown, z$1.core.$ZodTypeInternals<JsonObject, unknown>>;
|
|
3791
3960
|
source: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
3792
3961
|
byteLength: z$1.ZodNumber;
|
|
3793
3962
|
digest: z$1.ZodString;
|
|
@@ -4003,10 +4172,6 @@ declare const hostDaemonCommandRegistry: {
|
|
|
4003
4172
|
}>;
|
|
4004
4173
|
instructions: z$1.ZodString;
|
|
4005
4174
|
options: z$1.ZodIntersection<z$1.ZodObject<{
|
|
4006
|
-
claudeCodeMockCliTraffic: z$1.ZodOptional<z$1.ZodObject<{
|
|
4007
|
-
enabled: z$1.ZodBoolean;
|
|
4008
|
-
endpoint: z$1.ZodString;
|
|
4009
|
-
}, z$1.core.$strict>>;
|
|
4010
4175
|
claudeCodePermissionMode: z$1.ZodOptional<z$1.ZodLiteral<"plan">>;
|
|
4011
4176
|
memoryEnabled: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
4012
4177
|
model: z$1.ZodString;
|
|
@@ -4164,6 +4329,7 @@ declare const hostDaemonCommandRegistry: {
|
|
|
4164
4329
|
}, z$1.core.$strict>>;
|
|
4165
4330
|
bridgeLaunch: z$1.ZodObject<{
|
|
4166
4331
|
capabilities: z$1.ZodObject<{
|
|
4332
|
+
experimental_providerInstallation: z$1.ZodBoolean;
|
|
4167
4333
|
fork: z$1.ZodEnum<{
|
|
4168
4334
|
checkpoint: "checkpoint";
|
|
4169
4335
|
none: "none";
|
|
@@ -4179,6 +4345,7 @@ declare const hostDaemonCommandRegistry: {
|
|
|
4179
4345
|
supportsThreadRename: z$1.ZodBoolean;
|
|
4180
4346
|
}, z$1.core.$strict>;
|
|
4181
4347
|
pluginId: z$1.ZodString;
|
|
4348
|
+
providerOptions: z$1.ZodType<JsonObject, unknown, z$1.core.$ZodTypeInternals<JsonObject, unknown>>;
|
|
4182
4349
|
source: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
4183
4350
|
byteLength: z$1.ZodNumber;
|
|
4184
4351
|
digest: z$1.ZodString;
|
|
@@ -4352,10 +4519,6 @@ declare const hostDaemonCommandRegistry: {
|
|
|
4352
4519
|
}>>;
|
|
4353
4520
|
}, z$1.core.$strip>], "type">>>>;
|
|
4354
4521
|
options: z$1.ZodIntersection<z$1.ZodObject<{
|
|
4355
|
-
claudeCodeMockCliTraffic: z$1.ZodOptional<z$1.ZodObject<{
|
|
4356
|
-
enabled: z$1.ZodBoolean;
|
|
4357
|
-
endpoint: z$1.ZodString;
|
|
4358
|
-
}, z$1.core.$strict>>;
|
|
4359
4522
|
claudeCodePermissionMode: z$1.ZodOptional<z$1.ZodLiteral<"plan">>;
|
|
4360
4523
|
memoryEnabled: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
4361
4524
|
model: z$1.ZodString;
|
|
@@ -4497,6 +4660,7 @@ declare const hostDaemonCommandRegistry: {
|
|
|
4497
4660
|
}, z$1.core.$strict>>;
|
|
4498
4661
|
bridgeLaunch: z$1.ZodObject<{
|
|
4499
4662
|
capabilities: z$1.ZodObject<{
|
|
4663
|
+
experimental_providerInstallation: z$1.ZodBoolean;
|
|
4500
4664
|
fork: z$1.ZodEnum<{
|
|
4501
4665
|
checkpoint: "checkpoint";
|
|
4502
4666
|
none: "none";
|
|
@@ -4512,6 +4676,7 @@ declare const hostDaemonCommandRegistry: {
|
|
|
4512
4676
|
supportsThreadRename: z$1.ZodBoolean;
|
|
4513
4677
|
}, z$1.core.$strict>;
|
|
4514
4678
|
pluginId: z$1.ZodString;
|
|
4679
|
+
providerOptions: z$1.ZodType<JsonObject, unknown, z$1.core.$ZodTypeInternals<JsonObject, unknown>>;
|
|
4515
4680
|
source: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
4516
4681
|
byteLength: z$1.ZodNumber;
|
|
4517
4682
|
digest: z$1.ZodString;
|
|
@@ -4699,6 +4864,7 @@ declare const hostDaemonCommandRegistry: {
|
|
|
4699
4864
|
}, z$1.core.$strict>>;
|
|
4700
4865
|
bridgeLaunch: z$1.ZodObject<{
|
|
4701
4866
|
capabilities: z$1.ZodObject<{
|
|
4867
|
+
experimental_providerInstallation: z$1.ZodBoolean;
|
|
4702
4868
|
fork: z$1.ZodEnum<{
|
|
4703
4869
|
checkpoint: "checkpoint";
|
|
4704
4870
|
none: "none";
|
|
@@ -4714,6 +4880,7 @@ declare const hostDaemonCommandRegistry: {
|
|
|
4714
4880
|
supportsThreadRename: z$1.ZodBoolean;
|
|
4715
4881
|
}, z$1.core.$strict>;
|
|
4716
4882
|
pluginId: z$1.ZodString;
|
|
4883
|
+
providerOptions: z$1.ZodType<JsonObject, unknown, z$1.core.$ZodTypeInternals<JsonObject, unknown>>;
|
|
4717
4884
|
source: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
4718
4885
|
byteLength: z$1.ZodNumber;
|
|
4719
4886
|
digest: z$1.ZodString;
|
|
@@ -4725,10 +4892,6 @@ declare const hostDaemonCommandRegistry: {
|
|
|
4725
4892
|
}, z$1.core.$strict>;
|
|
4726
4893
|
environmentId: z$1.ZodString;
|
|
4727
4894
|
options: z$1.ZodIntersection<z$1.ZodObject<{
|
|
4728
|
-
claudeCodeMockCliTraffic: z$1.ZodOptional<z$1.ZodObject<{
|
|
4729
|
-
enabled: z$1.ZodBoolean;
|
|
4730
|
-
endpoint: z$1.ZodString;
|
|
4731
|
-
}, z$1.core.$strict>>;
|
|
4732
4895
|
claudeCodePermissionMode: z$1.ZodOptional<z$1.ZodLiteral<"plan">>;
|
|
4733
4896
|
memoryEnabled: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
4734
4897
|
model: z$1.ZodString;
|
|
@@ -4869,6 +5032,7 @@ declare const hostDaemonCommandRegistry: {
|
|
|
4869
5032
|
}, z$1.core.$strict>>;
|
|
4870
5033
|
bridgeLaunch: z$1.ZodObject<{
|
|
4871
5034
|
capabilities: z$1.ZodObject<{
|
|
5035
|
+
experimental_providerInstallation: z$1.ZodBoolean;
|
|
4872
5036
|
fork: z$1.ZodEnum<{
|
|
4873
5037
|
checkpoint: "checkpoint";
|
|
4874
5038
|
none: "none";
|
|
@@ -4884,6 +5048,7 @@ declare const hostDaemonCommandRegistry: {
|
|
|
4884
5048
|
supportsThreadRename: z$1.ZodBoolean;
|
|
4885
5049
|
}, z$1.core.$strict>;
|
|
4886
5050
|
pluginId: z$1.ZodString;
|
|
5051
|
+
providerOptions: z$1.ZodType<JsonObject, unknown, z$1.core.$ZodTypeInternals<JsonObject, unknown>>;
|
|
4887
5052
|
source: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
4888
5053
|
byteLength: z$1.ZodNumber;
|
|
4889
5054
|
digest: z$1.ZodString;
|
|
@@ -4966,6 +5131,7 @@ declare const hostDaemonCommandRegistry: {
|
|
|
4966
5131
|
"thread.archive": HostDaemonCommandDescriptor<"thread.archive", z$1.ZodObject<{
|
|
4967
5132
|
bridgeLaunch: z$1.ZodObject<{
|
|
4968
5133
|
capabilities: z$1.ZodObject<{
|
|
5134
|
+
experimental_providerInstallation: z$1.ZodBoolean;
|
|
4969
5135
|
fork: z$1.ZodEnum<{
|
|
4970
5136
|
checkpoint: "checkpoint";
|
|
4971
5137
|
none: "none";
|
|
@@ -4981,6 +5147,7 @@ declare const hostDaemonCommandRegistry: {
|
|
|
4981
5147
|
supportsThreadRename: z$1.ZodBoolean;
|
|
4982
5148
|
}, z$1.core.$strict>;
|
|
4983
5149
|
pluginId: z$1.ZodString;
|
|
5150
|
+
providerOptions: z$1.ZodType<JsonObject, unknown, z$1.core.$ZodTypeInternals<JsonObject, unknown>>;
|
|
4984
5151
|
source: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
4985
5152
|
byteLength: z$1.ZodNumber;
|
|
4986
5153
|
digest: z$1.ZodString;
|
|
@@ -5007,6 +5174,7 @@ declare const hostDaemonCommandRegistry: {
|
|
|
5007
5174
|
"thread.unarchive": HostDaemonCommandDescriptor<"thread.unarchive", z$1.ZodObject<{
|
|
5008
5175
|
bridgeLaunch: z$1.ZodObject<{
|
|
5009
5176
|
capabilities: z$1.ZodObject<{
|
|
5177
|
+
experimental_providerInstallation: z$1.ZodBoolean;
|
|
5010
5178
|
fork: z$1.ZodEnum<{
|
|
5011
5179
|
checkpoint: "checkpoint";
|
|
5012
5180
|
none: "none";
|
|
@@ -5022,6 +5190,7 @@ declare const hostDaemonCommandRegistry: {
|
|
|
5022
5190
|
supportsThreadRename: z$1.ZodBoolean;
|
|
5023
5191
|
}, z$1.core.$strict>;
|
|
5024
5192
|
pluginId: z$1.ZodString;
|
|
5193
|
+
providerOptions: z$1.ZodType<JsonObject, unknown, z$1.core.$ZodTypeInternals<JsonObject, unknown>>;
|
|
5025
5194
|
source: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
5026
5195
|
byteLength: z$1.ZodNumber;
|
|
5027
5196
|
digest: z$1.ZodString;
|
|
@@ -5565,6 +5734,30 @@ declare const hostDaemonCommandRegistry: {
|
|
|
5565
5734
|
name: z$1.ZodString;
|
|
5566
5735
|
}, z$1.core.$strip>>;
|
|
5567
5736
|
}, z$1.core.$strip>, "onlineRpc", true>;
|
|
5737
|
+
"host.list_branch_options": HostDaemonCommandDescriptor<"host.list_branch_options", z$1.ZodObject<{
|
|
5738
|
+
limit: z$1.ZodNumber;
|
|
5739
|
+
path: z$1.ZodString;
|
|
5740
|
+
query: z$1.ZodOptional<z$1.ZodString>;
|
|
5741
|
+
remoteRefresh: z$1.ZodEnum<{
|
|
5742
|
+
background: "background";
|
|
5743
|
+
none: "none";
|
|
5744
|
+
}>;
|
|
5745
|
+
selectedBranch: z$1.ZodOptional<z$1.ZodString>;
|
|
5746
|
+
type: z$1.ZodLiteral<"host.list_branch_options">;
|
|
5747
|
+
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
5748
|
+
branches: z$1.ZodArray<z$1.ZodString>;
|
|
5749
|
+
branchesTruncated: z$1.ZodBoolean;
|
|
5750
|
+
remoteBranches: z$1.ZodArray<z$1.ZodString>;
|
|
5751
|
+
remoteBranchesTruncated: z$1.ZodBoolean;
|
|
5752
|
+
selectedBranch: z$1.ZodNullable<z$1.ZodObject<{
|
|
5753
|
+
kind: z$1.ZodEnum<{
|
|
5754
|
+
local: "local";
|
|
5755
|
+
missing: "missing";
|
|
5756
|
+
remote: "remote";
|
|
5757
|
+
}>;
|
|
5758
|
+
name: z$1.ZodString;
|
|
5759
|
+
}, z$1.core.$strip>>;
|
|
5760
|
+
}, z$1.core.$strip>, "onlineRpc", true>;
|
|
5568
5761
|
"host.file_metadata": HostDaemonCommandDescriptor<"host.file_metadata", z$1.ZodObject<{
|
|
5569
5762
|
path: z$1.ZodString;
|
|
5570
5763
|
rootPath: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -5730,6 +5923,7 @@ declare const hostDaemonCommandRegistry: {
|
|
|
5730
5923
|
}, z$1.core.$strict>>;
|
|
5731
5924
|
bridgeLaunch: z$1.ZodObject<{
|
|
5732
5925
|
capabilities: z$1.ZodObject<{
|
|
5926
|
+
experimental_providerInstallation: z$1.ZodBoolean;
|
|
5733
5927
|
fork: z$1.ZodEnum<{
|
|
5734
5928
|
checkpoint: "checkpoint";
|
|
5735
5929
|
none: "none";
|
|
@@ -5745,6 +5939,7 @@ declare const hostDaemonCommandRegistry: {
|
|
|
5745
5939
|
supportsThreadRename: z$1.ZodBoolean;
|
|
5746
5940
|
}, z$1.core.$strict>;
|
|
5747
5941
|
pluginId: z$1.ZodString;
|
|
5942
|
+
providerOptions: z$1.ZodType<JsonObject, unknown, z$1.core.$ZodTypeInternals<JsonObject, unknown>>;
|
|
5748
5943
|
source: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
5749
5944
|
byteLength: z$1.ZodNumber;
|
|
5750
5945
|
digest: z$1.ZodString;
|
|
@@ -5821,74 +6016,604 @@ declare const hostDaemonCommandRegistry: {
|
|
|
5821
6016
|
}, z$1.core.$strip>>;
|
|
5822
6017
|
}, z$1.core.$strip>>;
|
|
5823
6018
|
}, z$1.core.$strip>, "onlineRpc", true>;
|
|
5824
|
-
"
|
|
5825
|
-
|
|
5826
|
-
|
|
5827
|
-
|
|
5828
|
-
|
|
5829
|
-
|
|
5830
|
-
|
|
5831
|
-
|
|
5832
|
-
|
|
5833
|
-
|
|
5834
|
-
|
|
5835
|
-
|
|
5836
|
-
|
|
5837
|
-
|
|
5838
|
-
|
|
5839
|
-
|
|
5840
|
-
|
|
5841
|
-
|
|
5842
|
-
|
|
5843
|
-
|
|
5844
|
-
|
|
5845
|
-
|
|
5846
|
-
|
|
5847
|
-
|
|
5848
|
-
|
|
5849
|
-
|
|
5850
|
-
|
|
5851
|
-
|
|
5852
|
-
|
|
5853
|
-
|
|
5854
|
-
|
|
5855
|
-
|
|
5856
|
-
|
|
5857
|
-
|
|
5858
|
-
|
|
5859
|
-
|
|
5860
|
-
|
|
5861
|
-
|
|
5862
|
-
|
|
5863
|
-
|
|
5864
|
-
|
|
5865
|
-
|
|
5866
|
-
|
|
5867
|
-
|
|
5868
|
-
|
|
5869
|
-
|
|
5870
|
-
|
|
5871
|
-
|
|
5872
|
-
|
|
5873
|
-
|
|
5874
|
-
|
|
5875
|
-
|
|
5876
|
-
|
|
5877
|
-
|
|
5878
|
-
|
|
5879
|
-
|
|
5880
|
-
|
|
5881
|
-
|
|
5882
|
-
|
|
5883
|
-
|
|
5884
|
-
|
|
5885
|
-
|
|
5886
|
-
|
|
5887
|
-
|
|
5888
|
-
|
|
5889
|
-
|
|
5890
|
-
|
|
5891
|
-
|
|
6019
|
+
"provider.health": HostDaemonCommandDescriptor<"provider.health", z$1.ZodObject<{
|
|
6020
|
+
acpLaunchSpec: z$1.ZodOptional<z$1.ZodObject<{
|
|
6021
|
+
args: z$1.ZodArray<z$1.ZodString>;
|
|
6022
|
+
command: z$1.ZodString;
|
|
6023
|
+
cwd: z$1.ZodOptional<z$1.ZodString>;
|
|
6024
|
+
displayName: z$1.ZodString;
|
|
6025
|
+
env: z$1.ZodRecord<z$1.ZodString, z$1.ZodString>;
|
|
6026
|
+
modelCli: z$1.ZodOptional<z$1.ZodPipe<z$1.ZodObject<{
|
|
6027
|
+
listArgs: z$1.ZodArray<z$1.ZodString>;
|
|
6028
|
+
primaryModels: z$1.ZodArray<z$1.ZodString>;
|
|
6029
|
+
selectFlag: z$1.ZodOptional<z$1.ZodString>;
|
|
6030
|
+
}, z$1.core.$strict>, z$1.ZodTransform<{
|
|
6031
|
+
listArgs: string[];
|
|
6032
|
+
primaryModels: string[];
|
|
6033
|
+
selectFlag?: string | undefined;
|
|
6034
|
+
} | undefined, {
|
|
6035
|
+
listArgs: string[];
|
|
6036
|
+
primaryModels: string[];
|
|
6037
|
+
selectFlag?: string | undefined;
|
|
6038
|
+
}>>>;
|
|
6039
|
+
nativeReasoning: z$1.ZodOptional<z$1.ZodObject<{
|
|
6040
|
+
configId: z$1.ZodString;
|
|
6041
|
+
defaultLevel: z$1.ZodOptional<z$1.ZodEnum<{
|
|
6042
|
+
high: "high";
|
|
6043
|
+
low: "low";
|
|
6044
|
+
max: "max";
|
|
6045
|
+
medium: "medium";
|
|
6046
|
+
none: "none";
|
|
6047
|
+
ultra: "ultra";
|
|
6048
|
+
ultracode: "ultracode";
|
|
6049
|
+
xhigh: "xhigh";
|
|
6050
|
+
}>>;
|
|
6051
|
+
levelValues: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodEnum<{
|
|
6052
|
+
high: "high";
|
|
6053
|
+
low: "low";
|
|
6054
|
+
max: "max";
|
|
6055
|
+
medium: "medium";
|
|
6056
|
+
none: "none";
|
|
6057
|
+
ultra: "ultra";
|
|
6058
|
+
ultracode: "ultracode";
|
|
6059
|
+
xhigh: "xhigh";
|
|
6060
|
+
}> & z$1.core.$partial, z$1.ZodString>>;
|
|
6061
|
+
supportedLevels: z$1.ZodArray<z$1.ZodEnum<{
|
|
6062
|
+
high: "high";
|
|
6063
|
+
low: "low";
|
|
6064
|
+
max: "max";
|
|
6065
|
+
medium: "medium";
|
|
6066
|
+
none: "none";
|
|
6067
|
+
ultra: "ultra";
|
|
6068
|
+
ultracode: "ultracode";
|
|
6069
|
+
xhigh: "xhigh";
|
|
6070
|
+
}>>;
|
|
6071
|
+
}, z$1.core.$strict>>;
|
|
6072
|
+
nativeSkillRoots: z$1.ZodOptional<z$1.ZodObject<{
|
|
6073
|
+
project: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
|
|
6074
|
+
user: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
|
|
6075
|
+
}, z$1.core.$strict>>;
|
|
6076
|
+
permissionCli: z$1.ZodOptional<z$1.ZodObject<{
|
|
6077
|
+
full: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
6078
|
+
insertAfterArgs: z$1.ZodOptional<z$1.ZodNumber>;
|
|
6079
|
+
readonly: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
6080
|
+
workspaceWrite: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
6081
|
+
}, z$1.core.$strict>>;
|
|
6082
|
+
reasoningCli: z$1.ZodOptional<z$1.ZodObject<{
|
|
6083
|
+
defaultLevel: z$1.ZodOptional<z$1.ZodEnum<{
|
|
6084
|
+
high: "high";
|
|
6085
|
+
low: "low";
|
|
6086
|
+
max: "max";
|
|
6087
|
+
medium: "medium";
|
|
6088
|
+
none: "none";
|
|
6089
|
+
ultra: "ultra";
|
|
6090
|
+
ultracode: "ultracode";
|
|
6091
|
+
xhigh: "xhigh";
|
|
6092
|
+
}>>;
|
|
6093
|
+
flag: z$1.ZodString;
|
|
6094
|
+
levelValues: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodEnum<{
|
|
6095
|
+
high: "high";
|
|
6096
|
+
low: "low";
|
|
6097
|
+
max: "max";
|
|
6098
|
+
medium: "medium";
|
|
6099
|
+
none: "none";
|
|
6100
|
+
ultra: "ultra";
|
|
6101
|
+
ultracode: "ultracode";
|
|
6102
|
+
xhigh: "xhigh";
|
|
6103
|
+
}> & z$1.core.$partial, z$1.ZodString>>;
|
|
6104
|
+
supportedLevels: z$1.ZodArray<z$1.ZodEnum<{
|
|
6105
|
+
high: "high";
|
|
6106
|
+
low: "low";
|
|
6107
|
+
max: "max";
|
|
6108
|
+
medium: "medium";
|
|
6109
|
+
none: "none";
|
|
6110
|
+
ultra: "ultra";
|
|
6111
|
+
ultracode: "ultracode";
|
|
6112
|
+
xhigh: "xhigh";
|
|
6113
|
+
}>>;
|
|
6114
|
+
}, z$1.core.$strict>>;
|
|
6115
|
+
}, z$1.core.$strict>>;
|
|
6116
|
+
bridgeLaunch: z$1.ZodObject<{
|
|
6117
|
+
capabilities: z$1.ZodObject<{
|
|
6118
|
+
experimental_providerInstallation: z$1.ZodBoolean;
|
|
6119
|
+
fork: z$1.ZodEnum<{
|
|
6120
|
+
checkpoint: "checkpoint";
|
|
6121
|
+
none: "none";
|
|
6122
|
+
tip: "tip";
|
|
6123
|
+
}>;
|
|
6124
|
+
permissionModes: z$1.ZodArray<z$1.ZodEnum<{
|
|
6125
|
+
"accept-edits": "accept-edits";
|
|
6126
|
+
auto: "auto";
|
|
6127
|
+
full: "full";
|
|
6128
|
+
}>>;
|
|
6129
|
+
supportsServiceTier: z$1.ZodBoolean;
|
|
6130
|
+
supportsThreadArchive: z$1.ZodBoolean;
|
|
6131
|
+
supportsThreadRename: z$1.ZodBoolean;
|
|
6132
|
+
}, z$1.core.$strict>;
|
|
6133
|
+
pluginId: z$1.ZodString;
|
|
6134
|
+
providerOptions: z$1.ZodType<JsonObject, unknown, z$1.core.$ZodTypeInternals<JsonObject, unknown>>;
|
|
6135
|
+
source: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
6136
|
+
byteLength: z$1.ZodNumber;
|
|
6137
|
+
digest: z$1.ZodString;
|
|
6138
|
+
kind: z$1.ZodLiteral<"artifact">;
|
|
6139
|
+
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
6140
|
+
id: z$1.ZodString;
|
|
6141
|
+
kind: z$1.ZodLiteral<"daemon-bundled">;
|
|
6142
|
+
}, z$1.core.$strict>], "kind">;
|
|
6143
|
+
}, z$1.core.$strict>;
|
|
6144
|
+
cwd: z$1.ZodOptional<z$1.ZodString>;
|
|
6145
|
+
providerId: z$1.ZodString;
|
|
6146
|
+
type: z$1.ZodLiteral<"provider.health">;
|
|
6147
|
+
}, z$1.core.$strict>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
6148
|
+
supported: z$1.ZodLiteral<false>;
|
|
6149
|
+
}, z$1.core.$loose>, z$1.ZodObject<{
|
|
6150
|
+
health: z$1.ZodObject<{
|
|
6151
|
+
accountEmail: z$1.ZodNullable<z$1.ZodString>;
|
|
6152
|
+
canInstall: z$1.ZodBoolean;
|
|
6153
|
+
canUpdate: z$1.ZodBoolean;
|
|
6154
|
+
installedVersion: z$1.ZodNullable<z$1.ZodString>;
|
|
6155
|
+
loginCommand: z$1.ZodNullable<z$1.ZodString>;
|
|
6156
|
+
minimumSupportedVersion: z$1.ZodNullable<z$1.ZodString>;
|
|
6157
|
+
planLabel: z$1.ZodNullable<z$1.ZodString>;
|
|
6158
|
+
status: z$1.ZodEnum<{
|
|
6159
|
+
expired: "expired";
|
|
6160
|
+
not_installed: "not_installed";
|
|
6161
|
+
ready: "ready";
|
|
6162
|
+
unauthenticated: "unauthenticated";
|
|
6163
|
+
unknown: "unknown";
|
|
6164
|
+
unsupported_version: "unsupported_version";
|
|
6165
|
+
}>;
|
|
6166
|
+
statusMessage: z$1.ZodNullable<z$1.ZodString>;
|
|
6167
|
+
}, z$1.core.$loose>;
|
|
6168
|
+
supported: z$1.ZodLiteral<true>;
|
|
6169
|
+
}, z$1.core.$loose>], "supported">, "onlineRpc", true>;
|
|
6170
|
+
"provider.installation.status": HostDaemonCommandDescriptor<"provider.installation.status", z$1.ZodObject<{
|
|
6171
|
+
acpLaunchSpec: z$1.ZodOptional<z$1.ZodObject<{
|
|
6172
|
+
args: z$1.ZodArray<z$1.ZodString>;
|
|
6173
|
+
command: z$1.ZodString;
|
|
6174
|
+
cwd: z$1.ZodOptional<z$1.ZodString>;
|
|
6175
|
+
displayName: z$1.ZodString;
|
|
6176
|
+
env: z$1.ZodRecord<z$1.ZodString, z$1.ZodString>;
|
|
6177
|
+
modelCli: z$1.ZodOptional<z$1.ZodPipe<z$1.ZodObject<{
|
|
6178
|
+
listArgs: z$1.ZodArray<z$1.ZodString>;
|
|
6179
|
+
primaryModels: z$1.ZodArray<z$1.ZodString>;
|
|
6180
|
+
selectFlag: z$1.ZodOptional<z$1.ZodString>;
|
|
6181
|
+
}, z$1.core.$strict>, z$1.ZodTransform<{
|
|
6182
|
+
listArgs: string[];
|
|
6183
|
+
primaryModels: string[];
|
|
6184
|
+
selectFlag?: string | undefined;
|
|
6185
|
+
} | undefined, {
|
|
6186
|
+
listArgs: string[];
|
|
6187
|
+
primaryModels: string[];
|
|
6188
|
+
selectFlag?: string | undefined;
|
|
6189
|
+
}>>>;
|
|
6190
|
+
nativeReasoning: z$1.ZodOptional<z$1.ZodObject<{
|
|
6191
|
+
configId: z$1.ZodString;
|
|
6192
|
+
defaultLevel: z$1.ZodOptional<z$1.ZodEnum<{
|
|
6193
|
+
high: "high";
|
|
6194
|
+
low: "low";
|
|
6195
|
+
max: "max";
|
|
6196
|
+
medium: "medium";
|
|
6197
|
+
none: "none";
|
|
6198
|
+
ultra: "ultra";
|
|
6199
|
+
ultracode: "ultracode";
|
|
6200
|
+
xhigh: "xhigh";
|
|
6201
|
+
}>>;
|
|
6202
|
+
levelValues: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodEnum<{
|
|
6203
|
+
high: "high";
|
|
6204
|
+
low: "low";
|
|
6205
|
+
max: "max";
|
|
6206
|
+
medium: "medium";
|
|
6207
|
+
none: "none";
|
|
6208
|
+
ultra: "ultra";
|
|
6209
|
+
ultracode: "ultracode";
|
|
6210
|
+
xhigh: "xhigh";
|
|
6211
|
+
}> & z$1.core.$partial, z$1.ZodString>>;
|
|
6212
|
+
supportedLevels: z$1.ZodArray<z$1.ZodEnum<{
|
|
6213
|
+
high: "high";
|
|
6214
|
+
low: "low";
|
|
6215
|
+
max: "max";
|
|
6216
|
+
medium: "medium";
|
|
6217
|
+
none: "none";
|
|
6218
|
+
ultra: "ultra";
|
|
6219
|
+
ultracode: "ultracode";
|
|
6220
|
+
xhigh: "xhigh";
|
|
6221
|
+
}>>;
|
|
6222
|
+
}, z$1.core.$strict>>;
|
|
6223
|
+
nativeSkillRoots: z$1.ZodOptional<z$1.ZodObject<{
|
|
6224
|
+
project: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
|
|
6225
|
+
user: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
|
|
6226
|
+
}, z$1.core.$strict>>;
|
|
6227
|
+
permissionCli: z$1.ZodOptional<z$1.ZodObject<{
|
|
6228
|
+
full: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
6229
|
+
insertAfterArgs: z$1.ZodOptional<z$1.ZodNumber>;
|
|
6230
|
+
readonly: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
6231
|
+
workspaceWrite: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
6232
|
+
}, z$1.core.$strict>>;
|
|
6233
|
+
reasoningCli: z$1.ZodOptional<z$1.ZodObject<{
|
|
6234
|
+
defaultLevel: z$1.ZodOptional<z$1.ZodEnum<{
|
|
6235
|
+
high: "high";
|
|
6236
|
+
low: "low";
|
|
6237
|
+
max: "max";
|
|
6238
|
+
medium: "medium";
|
|
6239
|
+
none: "none";
|
|
6240
|
+
ultra: "ultra";
|
|
6241
|
+
ultracode: "ultracode";
|
|
6242
|
+
xhigh: "xhigh";
|
|
6243
|
+
}>>;
|
|
6244
|
+
flag: z$1.ZodString;
|
|
6245
|
+
levelValues: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodEnum<{
|
|
6246
|
+
high: "high";
|
|
6247
|
+
low: "low";
|
|
6248
|
+
max: "max";
|
|
6249
|
+
medium: "medium";
|
|
6250
|
+
none: "none";
|
|
6251
|
+
ultra: "ultra";
|
|
6252
|
+
ultracode: "ultracode";
|
|
6253
|
+
xhigh: "xhigh";
|
|
6254
|
+
}> & z$1.core.$partial, z$1.ZodString>>;
|
|
6255
|
+
supportedLevels: z$1.ZodArray<z$1.ZodEnum<{
|
|
6256
|
+
high: "high";
|
|
6257
|
+
low: "low";
|
|
6258
|
+
max: "max";
|
|
6259
|
+
medium: "medium";
|
|
6260
|
+
none: "none";
|
|
6261
|
+
ultra: "ultra";
|
|
6262
|
+
ultracode: "ultracode";
|
|
6263
|
+
xhigh: "xhigh";
|
|
6264
|
+
}>>;
|
|
6265
|
+
}, z$1.core.$strict>>;
|
|
6266
|
+
}, z$1.core.$strict>>;
|
|
6267
|
+
bridgeLaunch: z$1.ZodObject<{
|
|
6268
|
+
capabilities: z$1.ZodObject<{
|
|
6269
|
+
experimental_providerInstallation: z$1.ZodBoolean;
|
|
6270
|
+
fork: z$1.ZodEnum<{
|
|
6271
|
+
checkpoint: "checkpoint";
|
|
6272
|
+
none: "none";
|
|
6273
|
+
tip: "tip";
|
|
6274
|
+
}>;
|
|
6275
|
+
permissionModes: z$1.ZodArray<z$1.ZodEnum<{
|
|
6276
|
+
"accept-edits": "accept-edits";
|
|
6277
|
+
auto: "auto";
|
|
6278
|
+
full: "full";
|
|
6279
|
+
}>>;
|
|
6280
|
+
supportsServiceTier: z$1.ZodBoolean;
|
|
6281
|
+
supportsThreadArchive: z$1.ZodBoolean;
|
|
6282
|
+
supportsThreadRename: z$1.ZodBoolean;
|
|
6283
|
+
}, z$1.core.$strict>;
|
|
6284
|
+
pluginId: z$1.ZodString;
|
|
6285
|
+
providerOptions: z$1.ZodType<JsonObject, unknown, z$1.core.$ZodTypeInternals<JsonObject, unknown>>;
|
|
6286
|
+
source: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
6287
|
+
byteLength: z$1.ZodNumber;
|
|
6288
|
+
digest: z$1.ZodString;
|
|
6289
|
+
kind: z$1.ZodLiteral<"artifact">;
|
|
6290
|
+
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
6291
|
+
id: z$1.ZodString;
|
|
6292
|
+
kind: z$1.ZodLiteral<"daemon-bundled">;
|
|
6293
|
+
}, z$1.core.$strict>], "kind">;
|
|
6294
|
+
}, z$1.core.$strict>;
|
|
6295
|
+
cwd: z$1.ZodOptional<z$1.ZodString>;
|
|
6296
|
+
providerId: z$1.ZodString;
|
|
6297
|
+
requirement: z$1.ZodOptional<z$1.ZodLiteral<"thread_rewind">>;
|
|
6298
|
+
type: z$1.ZodLiteral<"provider.installation.status">;
|
|
6299
|
+
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
6300
|
+
currentVersion: z$1.ZodNullable<z$1.ZodString>;
|
|
6301
|
+
executableName: z$1.ZodString;
|
|
6302
|
+
executablePath: z$1.ZodNullable<z$1.ZodString>;
|
|
6303
|
+
installAction: z$1.ZodNullable<z$1.ZodObject<{
|
|
6304
|
+
command: z$1.ZodString;
|
|
6305
|
+
kind: z$1.ZodEnum<{
|
|
6306
|
+
install: "install";
|
|
6307
|
+
update: "update";
|
|
6308
|
+
}>;
|
|
6309
|
+
label: z$1.ZodEnum<{
|
|
6310
|
+
Install: "Install";
|
|
6311
|
+
Update: "Update";
|
|
6312
|
+
}>;
|
|
6313
|
+
}, z$1.core.$loose>>;
|
|
6314
|
+
installSource: z$1.ZodEnum<{
|
|
6315
|
+
external: "external";
|
|
6316
|
+
notInstalled: "notInstalled";
|
|
6317
|
+
npmGlobal: "npmGlobal";
|
|
6318
|
+
}>;
|
|
6319
|
+
installed: z$1.ZodBoolean;
|
|
6320
|
+
latestVersion: z$1.ZodNullable<z$1.ZodString>;
|
|
6321
|
+
minimumSupportedVersion: z$1.ZodNullable<z$1.ZodString>;
|
|
6322
|
+
needsUpdate: z$1.ZodBoolean;
|
|
6323
|
+
npmGlobalPackageVersion: z$1.ZodNullable<z$1.ZodString>;
|
|
6324
|
+
npmPackageName: z$1.ZodNullable<z$1.ZodString>;
|
|
6325
|
+
versionUnsupported: z$1.ZodBoolean;
|
|
6326
|
+
}, z$1.core.$loose>, "onlineRpc", true>;
|
|
6327
|
+
"provider.installation.run": HostDaemonCommandDescriptor<"provider.installation.run", z$1.ZodObject<{
|
|
6328
|
+
acpLaunchSpec: z$1.ZodOptional<z$1.ZodObject<{
|
|
6329
|
+
args: z$1.ZodArray<z$1.ZodString>;
|
|
6330
|
+
command: z$1.ZodString;
|
|
6331
|
+
cwd: z$1.ZodOptional<z$1.ZodString>;
|
|
6332
|
+
displayName: z$1.ZodString;
|
|
6333
|
+
env: z$1.ZodRecord<z$1.ZodString, z$1.ZodString>;
|
|
6334
|
+
modelCli: z$1.ZodOptional<z$1.ZodPipe<z$1.ZodObject<{
|
|
6335
|
+
listArgs: z$1.ZodArray<z$1.ZodString>;
|
|
6336
|
+
primaryModels: z$1.ZodArray<z$1.ZodString>;
|
|
6337
|
+
selectFlag: z$1.ZodOptional<z$1.ZodString>;
|
|
6338
|
+
}, z$1.core.$strict>, z$1.ZodTransform<{
|
|
6339
|
+
listArgs: string[];
|
|
6340
|
+
primaryModels: string[];
|
|
6341
|
+
selectFlag?: string | undefined;
|
|
6342
|
+
} | undefined, {
|
|
6343
|
+
listArgs: string[];
|
|
6344
|
+
primaryModels: string[];
|
|
6345
|
+
selectFlag?: string | undefined;
|
|
6346
|
+
}>>>;
|
|
6347
|
+
nativeReasoning: z$1.ZodOptional<z$1.ZodObject<{
|
|
6348
|
+
configId: z$1.ZodString;
|
|
6349
|
+
defaultLevel: z$1.ZodOptional<z$1.ZodEnum<{
|
|
6350
|
+
high: "high";
|
|
6351
|
+
low: "low";
|
|
6352
|
+
max: "max";
|
|
6353
|
+
medium: "medium";
|
|
6354
|
+
none: "none";
|
|
6355
|
+
ultra: "ultra";
|
|
6356
|
+
ultracode: "ultracode";
|
|
6357
|
+
xhigh: "xhigh";
|
|
6358
|
+
}>>;
|
|
6359
|
+
levelValues: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodEnum<{
|
|
6360
|
+
high: "high";
|
|
6361
|
+
low: "low";
|
|
6362
|
+
max: "max";
|
|
6363
|
+
medium: "medium";
|
|
6364
|
+
none: "none";
|
|
6365
|
+
ultra: "ultra";
|
|
6366
|
+
ultracode: "ultracode";
|
|
6367
|
+
xhigh: "xhigh";
|
|
6368
|
+
}> & z$1.core.$partial, z$1.ZodString>>;
|
|
6369
|
+
supportedLevels: z$1.ZodArray<z$1.ZodEnum<{
|
|
6370
|
+
high: "high";
|
|
6371
|
+
low: "low";
|
|
6372
|
+
max: "max";
|
|
6373
|
+
medium: "medium";
|
|
6374
|
+
none: "none";
|
|
6375
|
+
ultra: "ultra";
|
|
6376
|
+
ultracode: "ultracode";
|
|
6377
|
+
xhigh: "xhigh";
|
|
6378
|
+
}>>;
|
|
6379
|
+
}, z$1.core.$strict>>;
|
|
6380
|
+
nativeSkillRoots: z$1.ZodOptional<z$1.ZodObject<{
|
|
6381
|
+
project: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
|
|
6382
|
+
user: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
|
|
6383
|
+
}, z$1.core.$strict>>;
|
|
6384
|
+
permissionCli: z$1.ZodOptional<z$1.ZodObject<{
|
|
6385
|
+
full: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
6386
|
+
insertAfterArgs: z$1.ZodOptional<z$1.ZodNumber>;
|
|
6387
|
+
readonly: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
6388
|
+
workspaceWrite: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
6389
|
+
}, z$1.core.$strict>>;
|
|
6390
|
+
reasoningCli: z$1.ZodOptional<z$1.ZodObject<{
|
|
6391
|
+
defaultLevel: z$1.ZodOptional<z$1.ZodEnum<{
|
|
6392
|
+
high: "high";
|
|
6393
|
+
low: "low";
|
|
6394
|
+
max: "max";
|
|
6395
|
+
medium: "medium";
|
|
6396
|
+
none: "none";
|
|
6397
|
+
ultra: "ultra";
|
|
6398
|
+
ultracode: "ultracode";
|
|
6399
|
+
xhigh: "xhigh";
|
|
6400
|
+
}>>;
|
|
6401
|
+
flag: z$1.ZodString;
|
|
6402
|
+
levelValues: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodEnum<{
|
|
6403
|
+
high: "high";
|
|
6404
|
+
low: "low";
|
|
6405
|
+
max: "max";
|
|
6406
|
+
medium: "medium";
|
|
6407
|
+
none: "none";
|
|
6408
|
+
ultra: "ultra";
|
|
6409
|
+
ultracode: "ultracode";
|
|
6410
|
+
xhigh: "xhigh";
|
|
6411
|
+
}> & z$1.core.$partial, z$1.ZodString>>;
|
|
6412
|
+
supportedLevels: z$1.ZodArray<z$1.ZodEnum<{
|
|
6413
|
+
high: "high";
|
|
6414
|
+
low: "low";
|
|
6415
|
+
max: "max";
|
|
6416
|
+
medium: "medium";
|
|
6417
|
+
none: "none";
|
|
6418
|
+
ultra: "ultra";
|
|
6419
|
+
ultracode: "ultracode";
|
|
6420
|
+
xhigh: "xhigh";
|
|
6421
|
+
}>>;
|
|
6422
|
+
}, z$1.core.$strict>>;
|
|
6423
|
+
}, z$1.core.$strict>>;
|
|
6424
|
+
action: z$1.ZodEnum<{
|
|
6425
|
+
install: "install";
|
|
6426
|
+
update: "update";
|
|
6427
|
+
}>;
|
|
6428
|
+
bridgeLaunch: z$1.ZodObject<{
|
|
6429
|
+
capabilities: z$1.ZodObject<{
|
|
6430
|
+
experimental_providerInstallation: z$1.ZodBoolean;
|
|
6431
|
+
fork: z$1.ZodEnum<{
|
|
6432
|
+
checkpoint: "checkpoint";
|
|
6433
|
+
none: "none";
|
|
6434
|
+
tip: "tip";
|
|
6435
|
+
}>;
|
|
6436
|
+
permissionModes: z$1.ZodArray<z$1.ZodEnum<{
|
|
6437
|
+
"accept-edits": "accept-edits";
|
|
6438
|
+
auto: "auto";
|
|
6439
|
+
full: "full";
|
|
6440
|
+
}>>;
|
|
6441
|
+
supportsServiceTier: z$1.ZodBoolean;
|
|
6442
|
+
supportsThreadArchive: z$1.ZodBoolean;
|
|
6443
|
+
supportsThreadRename: z$1.ZodBoolean;
|
|
6444
|
+
}, z$1.core.$strict>;
|
|
6445
|
+
pluginId: z$1.ZodString;
|
|
6446
|
+
providerOptions: z$1.ZodType<JsonObject, unknown, z$1.core.$ZodTypeInternals<JsonObject, unknown>>;
|
|
6447
|
+
source: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
6448
|
+
byteLength: z$1.ZodNumber;
|
|
6449
|
+
digest: z$1.ZodString;
|
|
6450
|
+
kind: z$1.ZodLiteral<"artifact">;
|
|
6451
|
+
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
6452
|
+
id: z$1.ZodString;
|
|
6453
|
+
kind: z$1.ZodLiteral<"daemon-bundled">;
|
|
6454
|
+
}, z$1.core.$strict>], "kind">;
|
|
6455
|
+
}, z$1.core.$strict>;
|
|
6456
|
+
cwd: z$1.ZodOptional<z$1.ZodString>;
|
|
6457
|
+
providerId: z$1.ZodString;
|
|
6458
|
+
type: z$1.ZodLiteral<"provider.installation.run">;
|
|
6459
|
+
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
6460
|
+
events: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
6461
|
+
command: z$1.ZodString;
|
|
6462
|
+
provider: z$1.ZodString;
|
|
6463
|
+
type: z$1.ZodLiteral<"started">;
|
|
6464
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6465
|
+
provider: z$1.ZodString;
|
|
6466
|
+
stream: z$1.ZodEnum<{
|
|
6467
|
+
stderr: "stderr";
|
|
6468
|
+
stdout: "stdout";
|
|
6469
|
+
}>;
|
|
6470
|
+
text: z$1.ZodString;
|
|
6471
|
+
type: z$1.ZodLiteral<"output">;
|
|
6472
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6473
|
+
exitCode: z$1.ZodNullable<z$1.ZodNumber>;
|
|
6474
|
+
provider: z$1.ZodString;
|
|
6475
|
+
signal: z$1.ZodNullable<z$1.ZodString>;
|
|
6476
|
+
success: z$1.ZodBoolean;
|
|
6477
|
+
type: z$1.ZodLiteral<"completed">;
|
|
6478
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6479
|
+
message: z$1.ZodString;
|
|
6480
|
+
provider: z$1.ZodString;
|
|
6481
|
+
type: z$1.ZodLiteral<"error">;
|
|
6482
|
+
}, z$1.core.$strip>], "type">>;
|
|
6483
|
+
}, z$1.core.$strict>, "onlineRpc", false>;
|
|
6484
|
+
"provider.usage": HostDaemonCommandDescriptor<"provider.usage", z$1.ZodObject<{
|
|
6485
|
+
acpLaunchSpec: z$1.ZodOptional<z$1.ZodObject<{
|
|
6486
|
+
args: z$1.ZodArray<z$1.ZodString>;
|
|
6487
|
+
command: z$1.ZodString;
|
|
6488
|
+
cwd: z$1.ZodOptional<z$1.ZodString>;
|
|
6489
|
+
displayName: z$1.ZodString;
|
|
6490
|
+
env: z$1.ZodRecord<z$1.ZodString, z$1.ZodString>;
|
|
6491
|
+
modelCli: z$1.ZodOptional<z$1.ZodPipe<z$1.ZodObject<{
|
|
6492
|
+
listArgs: z$1.ZodArray<z$1.ZodString>;
|
|
6493
|
+
primaryModels: z$1.ZodArray<z$1.ZodString>;
|
|
6494
|
+
selectFlag: z$1.ZodOptional<z$1.ZodString>;
|
|
6495
|
+
}, z$1.core.$strict>, z$1.ZodTransform<{
|
|
6496
|
+
listArgs: string[];
|
|
6497
|
+
primaryModels: string[];
|
|
6498
|
+
selectFlag?: string | undefined;
|
|
6499
|
+
} | undefined, {
|
|
6500
|
+
listArgs: string[];
|
|
6501
|
+
primaryModels: string[];
|
|
6502
|
+
selectFlag?: string | undefined;
|
|
6503
|
+
}>>>;
|
|
6504
|
+
nativeReasoning: z$1.ZodOptional<z$1.ZodObject<{
|
|
6505
|
+
configId: z$1.ZodString;
|
|
6506
|
+
defaultLevel: z$1.ZodOptional<z$1.ZodEnum<{
|
|
6507
|
+
high: "high";
|
|
6508
|
+
low: "low";
|
|
6509
|
+
max: "max";
|
|
6510
|
+
medium: "medium";
|
|
6511
|
+
none: "none";
|
|
6512
|
+
ultra: "ultra";
|
|
6513
|
+
ultracode: "ultracode";
|
|
6514
|
+
xhigh: "xhigh";
|
|
6515
|
+
}>>;
|
|
6516
|
+
levelValues: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodEnum<{
|
|
6517
|
+
high: "high";
|
|
6518
|
+
low: "low";
|
|
6519
|
+
max: "max";
|
|
6520
|
+
medium: "medium";
|
|
6521
|
+
none: "none";
|
|
6522
|
+
ultra: "ultra";
|
|
6523
|
+
ultracode: "ultracode";
|
|
6524
|
+
xhigh: "xhigh";
|
|
6525
|
+
}> & z$1.core.$partial, z$1.ZodString>>;
|
|
6526
|
+
supportedLevels: z$1.ZodArray<z$1.ZodEnum<{
|
|
6527
|
+
high: "high";
|
|
6528
|
+
low: "low";
|
|
6529
|
+
max: "max";
|
|
6530
|
+
medium: "medium";
|
|
6531
|
+
none: "none";
|
|
6532
|
+
ultra: "ultra";
|
|
6533
|
+
ultracode: "ultracode";
|
|
6534
|
+
xhigh: "xhigh";
|
|
6535
|
+
}>>;
|
|
6536
|
+
}, z$1.core.$strict>>;
|
|
6537
|
+
nativeSkillRoots: z$1.ZodOptional<z$1.ZodObject<{
|
|
6538
|
+
project: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
|
|
6539
|
+
user: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
|
|
6540
|
+
}, z$1.core.$strict>>;
|
|
6541
|
+
permissionCli: z$1.ZodOptional<z$1.ZodObject<{
|
|
6542
|
+
full: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
6543
|
+
insertAfterArgs: z$1.ZodOptional<z$1.ZodNumber>;
|
|
6544
|
+
readonly: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
6545
|
+
workspaceWrite: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
6546
|
+
}, z$1.core.$strict>>;
|
|
6547
|
+
reasoningCli: z$1.ZodOptional<z$1.ZodObject<{
|
|
6548
|
+
defaultLevel: z$1.ZodOptional<z$1.ZodEnum<{
|
|
6549
|
+
high: "high";
|
|
6550
|
+
low: "low";
|
|
6551
|
+
max: "max";
|
|
6552
|
+
medium: "medium";
|
|
6553
|
+
none: "none";
|
|
6554
|
+
ultra: "ultra";
|
|
6555
|
+
ultracode: "ultracode";
|
|
6556
|
+
xhigh: "xhigh";
|
|
6557
|
+
}>>;
|
|
6558
|
+
flag: z$1.ZodString;
|
|
6559
|
+
levelValues: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodEnum<{
|
|
6560
|
+
high: "high";
|
|
6561
|
+
low: "low";
|
|
6562
|
+
max: "max";
|
|
6563
|
+
medium: "medium";
|
|
6564
|
+
none: "none";
|
|
6565
|
+
ultra: "ultra";
|
|
6566
|
+
ultracode: "ultracode";
|
|
6567
|
+
xhigh: "xhigh";
|
|
6568
|
+
}> & z$1.core.$partial, z$1.ZodString>>;
|
|
6569
|
+
supportedLevels: z$1.ZodArray<z$1.ZodEnum<{
|
|
6570
|
+
high: "high";
|
|
6571
|
+
low: "low";
|
|
6572
|
+
max: "max";
|
|
6573
|
+
medium: "medium";
|
|
6574
|
+
none: "none";
|
|
6575
|
+
ultra: "ultra";
|
|
6576
|
+
ultracode: "ultracode";
|
|
6577
|
+
xhigh: "xhigh";
|
|
6578
|
+
}>>;
|
|
6579
|
+
}, z$1.core.$strict>>;
|
|
6580
|
+
}, z$1.core.$strict>>;
|
|
6581
|
+
bridgeLaunch: z$1.ZodObject<{
|
|
6582
|
+
capabilities: z$1.ZodObject<{
|
|
6583
|
+
experimental_providerInstallation: z$1.ZodBoolean;
|
|
6584
|
+
fork: z$1.ZodEnum<{
|
|
6585
|
+
checkpoint: "checkpoint";
|
|
6586
|
+
none: "none";
|
|
6587
|
+
tip: "tip";
|
|
6588
|
+
}>;
|
|
6589
|
+
permissionModes: z$1.ZodArray<z$1.ZodEnum<{
|
|
6590
|
+
"accept-edits": "accept-edits";
|
|
6591
|
+
auto: "auto";
|
|
6592
|
+
full: "full";
|
|
6593
|
+
}>>;
|
|
6594
|
+
supportsServiceTier: z$1.ZodBoolean;
|
|
6595
|
+
supportsThreadArchive: z$1.ZodBoolean;
|
|
6596
|
+
supportsThreadRename: z$1.ZodBoolean;
|
|
6597
|
+
}, z$1.core.$strict>;
|
|
6598
|
+
pluginId: z$1.ZodString;
|
|
6599
|
+
providerOptions: z$1.ZodType<JsonObject, unknown, z$1.core.$ZodTypeInternals<JsonObject, unknown>>;
|
|
6600
|
+
source: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
6601
|
+
byteLength: z$1.ZodNumber;
|
|
6602
|
+
digest: z$1.ZodString;
|
|
6603
|
+
kind: z$1.ZodLiteral<"artifact">;
|
|
6604
|
+
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
6605
|
+
id: z$1.ZodString;
|
|
6606
|
+
kind: z$1.ZodLiteral<"daemon-bundled">;
|
|
6607
|
+
}, z$1.core.$strict>], "kind">;
|
|
6608
|
+
}, z$1.core.$strict>;
|
|
6609
|
+
cwd: z$1.ZodOptional<z$1.ZodString>;
|
|
6610
|
+
providerId: z$1.ZodString;
|
|
6611
|
+
type: z$1.ZodLiteral<"provider.usage">;
|
|
6612
|
+
}, z$1.core.$strict>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
6613
|
+
supported: z$1.ZodLiteral<false>;
|
|
6614
|
+
}, z$1.core.$loose>, z$1.ZodObject<{
|
|
6615
|
+
supported: z$1.ZodLiteral<true>;
|
|
6616
|
+
usage: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
5892
6617
|
accountEmail: z$1.ZodNullable<z$1.ZodString>;
|
|
5893
6618
|
planLabel: z$1.ZodNullable<z$1.ZodString>;
|
|
5894
6619
|
status: z$1.ZodLiteral<"ok">;
|
|
@@ -5900,127 +6625,20 @@ declare const hostDaemonCommandRegistry: {
|
|
|
5900
6625
|
label: z$1.ZodString;
|
|
5901
6626
|
resetsAt: z$1.ZodNullable<z$1.ZodString>;
|
|
5902
6627
|
usedPercent: z$1.ZodNumber;
|
|
5903
|
-
}, z$1.core.$
|
|
5904
|
-
}, z$1.core.$
|
|
6628
|
+
}, z$1.core.$loose>>;
|
|
6629
|
+
}, z$1.core.$loose>, z$1.ZodObject<{
|
|
5905
6630
|
status: z$1.ZodLiteral<"not_installed">;
|
|
5906
|
-
}, z$1.core.$
|
|
6631
|
+
}, z$1.core.$loose>, z$1.ZodObject<{
|
|
5907
6632
|
status: z$1.ZodLiteral<"unauthenticated">;
|
|
5908
|
-
}, z$1.core.$
|
|
6633
|
+
}, z$1.core.$loose>, z$1.ZodObject<{
|
|
5909
6634
|
status: z$1.ZodLiteral<"expired">;
|
|
5910
|
-
}, z$1.core.$
|
|
6635
|
+
}, z$1.core.$loose>, z$1.ZodObject<{
|
|
5911
6636
|
accountEmail: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodString>>;
|
|
5912
6637
|
message: z$1.ZodString;
|
|
5913
6638
|
planLabel: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodString>>;
|
|
5914
6639
|
status: z$1.ZodLiteral<"error">;
|
|
5915
|
-
}, z$1.core.$
|
|
5916
|
-
}, z$1.core.$
|
|
5917
|
-
"workspace.discover_repos": HostDaemonCommandDescriptor<"workspace.discover_repos", z$1.ZodObject<{
|
|
5918
|
-
limit: z$1.ZodNumber;
|
|
5919
|
-
maxDepth: z$1.ZodNumber;
|
|
5920
|
-
sinceDays: z$1.ZodNumber;
|
|
5921
|
-
type: z$1.ZodLiteral<"workspace.discover_repos">;
|
|
5922
|
-
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
5923
|
-
repos: z$1.ZodArray<z$1.ZodObject<{
|
|
5924
|
-
agentSeen: z$1.ZodBoolean;
|
|
5925
|
-
agentSeenAt: z$1.ZodNullable<z$1.ZodString>;
|
|
5926
|
-
lastActivityAt: z$1.ZodString;
|
|
5927
|
-
name: z$1.ZodString;
|
|
5928
|
-
originUrl: z$1.ZodNullable<z$1.ZodString>;
|
|
5929
|
-
path: z$1.ZodString;
|
|
5930
|
-
}, z$1.core.$strict>>;
|
|
5931
|
-
truncated: z$1.ZodBoolean;
|
|
5932
|
-
}, z$1.core.$strict>, "onlineRpc", true>;
|
|
5933
|
-
"provider_cli.status": HostDaemonCommandDescriptor<"provider_cli.status", z$1.ZodObject<{
|
|
5934
|
-
type: z$1.ZodLiteral<"provider_cli.status">;
|
|
5935
|
-
}, z$1.core.$strict>, z$1.ZodRecord<z$1.ZodEnum<{
|
|
5936
|
-
claudeCode: "claudeCode";
|
|
5937
|
-
codex: "codex";
|
|
5938
|
-
cursor: "cursor";
|
|
5939
|
-
}>, z$1.ZodObject<{
|
|
5940
|
-
currentVersion: z$1.ZodNullable<z$1.ZodString>;
|
|
5941
|
-
displayName: z$1.ZodString;
|
|
5942
|
-
executableName: z$1.ZodString;
|
|
5943
|
-
executablePath: z$1.ZodNullable<z$1.ZodString>;
|
|
5944
|
-
installAction: z$1.ZodNullable<z$1.ZodObject<{
|
|
5945
|
-
command: z$1.ZodString;
|
|
5946
|
-
commandKind: z$1.ZodEnum<{
|
|
5947
|
-
exec: "exec";
|
|
5948
|
-
shell: "shell";
|
|
5949
|
-
}>;
|
|
5950
|
-
kind: z$1.ZodEnum<{
|
|
5951
|
-
install: "install";
|
|
5952
|
-
update: "update";
|
|
5953
|
-
}>;
|
|
5954
|
-
label: z$1.ZodEnum<{
|
|
5955
|
-
Install: "Install";
|
|
5956
|
-
Update: "Update";
|
|
5957
|
-
}>;
|
|
5958
|
-
}, z$1.core.$strip>>;
|
|
5959
|
-
installSource: z$1.ZodEnum<{
|
|
5960
|
-
external: "external";
|
|
5961
|
-
notInstalled: "notInstalled";
|
|
5962
|
-
npmGlobal: "npmGlobal";
|
|
5963
|
-
}>;
|
|
5964
|
-
installed: z$1.ZodBoolean;
|
|
5965
|
-
latestVersion: z$1.ZodNullable<z$1.ZodString>;
|
|
5966
|
-
minimumSupportedVersion: z$1.ZodNullable<z$1.ZodString>;
|
|
5967
|
-
needsUpdate: z$1.ZodBoolean;
|
|
5968
|
-
npmGlobalPackageVersion: z$1.ZodNullable<z$1.ZodString>;
|
|
5969
|
-
npmPackageName: z$1.ZodNullable<z$1.ZodString>;
|
|
5970
|
-
versionUnsupported: z$1.ZodBoolean;
|
|
5971
|
-
}, z$1.core.$strip>>, "onlineRpc", true>;
|
|
5972
|
-
"provider_cli.install": HostDaemonCommandDescriptor<"provider_cli.install", z$1.ZodObject<{
|
|
5973
|
-
actionKind: z$1.ZodEnum<{
|
|
5974
|
-
install: "install";
|
|
5975
|
-
update: "update";
|
|
5976
|
-
}>;
|
|
5977
|
-
provider: z$1.ZodEnum<{
|
|
5978
|
-
claudeCode: "claudeCode";
|
|
5979
|
-
codex: "codex";
|
|
5980
|
-
cursor: "cursor";
|
|
5981
|
-
}>;
|
|
5982
|
-
type: z$1.ZodLiteral<"provider_cli.install">;
|
|
5983
|
-
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
5984
|
-
events: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
5985
|
-
command: z$1.ZodString;
|
|
5986
|
-
provider: z$1.ZodEnum<{
|
|
5987
|
-
claudeCode: "claudeCode";
|
|
5988
|
-
codex: "codex";
|
|
5989
|
-
cursor: "cursor";
|
|
5990
|
-
}>;
|
|
5991
|
-
type: z$1.ZodLiteral<"started">;
|
|
5992
|
-
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
5993
|
-
provider: z$1.ZodEnum<{
|
|
5994
|
-
claudeCode: "claudeCode";
|
|
5995
|
-
codex: "codex";
|
|
5996
|
-
cursor: "cursor";
|
|
5997
|
-
}>;
|
|
5998
|
-
stream: z$1.ZodEnum<{
|
|
5999
|
-
stderr: "stderr";
|
|
6000
|
-
stdout: "stdout";
|
|
6001
|
-
}>;
|
|
6002
|
-
text: z$1.ZodString;
|
|
6003
|
-
type: z$1.ZodLiteral<"output">;
|
|
6004
|
-
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6005
|
-
exitCode: z$1.ZodNullable<z$1.ZodNumber>;
|
|
6006
|
-
provider: z$1.ZodEnum<{
|
|
6007
|
-
claudeCode: "claudeCode";
|
|
6008
|
-
codex: "codex";
|
|
6009
|
-
cursor: "cursor";
|
|
6010
|
-
}>;
|
|
6011
|
-
signal: z$1.ZodNullable<z$1.ZodString>;
|
|
6012
|
-
success: z$1.ZodBoolean;
|
|
6013
|
-
type: z$1.ZodLiteral<"completed">;
|
|
6014
|
-
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6015
|
-
message: z$1.ZodString;
|
|
6016
|
-
provider: z$1.ZodEnum<{
|
|
6017
|
-
claudeCode: "claudeCode";
|
|
6018
|
-
codex: "codex";
|
|
6019
|
-
cursor: "cursor";
|
|
6020
|
-
}>;
|
|
6021
|
-
type: z$1.ZodLiteral<"error">;
|
|
6022
|
-
}, z$1.core.$strip>], "type">>;
|
|
6023
|
-
}, z$1.core.$strict>, "onlineRpc", false>;
|
|
6640
|
+
}, z$1.core.$loose>], "status">;
|
|
6641
|
+
}, z$1.core.$loose>], "supported">, "onlineRpc", true>;
|
|
6024
6642
|
"workspace.status": HostDaemonCommandDescriptor<"workspace.status", z$1.ZodObject<{
|
|
6025
6643
|
environmentId: z$1.ZodString;
|
|
6026
6644
|
maxUntrackedLineStatBytes: z$1.ZodNumber;
|
|
@@ -6399,21 +7017,13 @@ declare const pathsExistResponseSchema: z$1.ZodObject<{
|
|
|
6399
7017
|
existence: z$1.ZodRecord<z$1.ZodString, z$1.ZodBoolean>;
|
|
6400
7018
|
}, z$1.core.$strip>;
|
|
6401
7019
|
type PathsExistResponse = z$1.infer<typeof pathsExistResponseSchema>;
|
|
6402
|
-
declare const providerCliStatusResponseSchema: z$1.ZodRecord<z$1.
|
|
6403
|
-
claudeCode: "claudeCode";
|
|
6404
|
-
codex: "codex";
|
|
6405
|
-
cursor: "cursor";
|
|
6406
|
-
}>, z$1.ZodObject<{
|
|
7020
|
+
declare const providerCliStatusResponseSchema: z$1.ZodRecord<z$1.ZodString, z$1.ZodObject<{
|
|
6407
7021
|
currentVersion: z$1.ZodNullable<z$1.ZodString>;
|
|
6408
7022
|
displayName: z$1.ZodString;
|
|
6409
7023
|
executableName: z$1.ZodString;
|
|
6410
7024
|
executablePath: z$1.ZodNullable<z$1.ZodString>;
|
|
6411
7025
|
installAction: z$1.ZodNullable<z$1.ZodObject<{
|
|
6412
7026
|
command: z$1.ZodString;
|
|
6413
|
-
commandKind: z$1.ZodEnum<{
|
|
6414
|
-
exec: "exec";
|
|
6415
|
-
shell: "shell";
|
|
6416
|
-
}>;
|
|
6417
7027
|
kind: z$1.ZodEnum<{
|
|
6418
7028
|
install: "install";
|
|
6419
7029
|
update: "update";
|
|
@@ -6442,27 +7052,15 @@ declare const providerCliInstallRequestSchema: z$1.ZodObject<{
|
|
|
6442
7052
|
install: "install";
|
|
6443
7053
|
update: "update";
|
|
6444
7054
|
}>;
|
|
6445
|
-
provider: z$1.
|
|
6446
|
-
claudeCode: "claudeCode";
|
|
6447
|
-
codex: "codex";
|
|
6448
|
-
cursor: "cursor";
|
|
6449
|
-
}>;
|
|
7055
|
+
provider: z$1.ZodString;
|
|
6450
7056
|
}, z$1.core.$strip>;
|
|
6451
7057
|
type ProviderCliInstallRequest = z$1.infer<typeof providerCliInstallRequestSchema>;
|
|
6452
7058
|
declare const providerCliInstallEventSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
6453
7059
|
command: z$1.ZodString;
|
|
6454
|
-
provider: z$1.
|
|
6455
|
-
claudeCode: "claudeCode";
|
|
6456
|
-
codex: "codex";
|
|
6457
|
-
cursor: "cursor";
|
|
6458
|
-
}>;
|
|
7060
|
+
provider: z$1.ZodString;
|
|
6459
7061
|
type: z$1.ZodLiteral<"started">;
|
|
6460
7062
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6461
|
-
provider: z$1.
|
|
6462
|
-
claudeCode: "claudeCode";
|
|
6463
|
-
codex: "codex";
|
|
6464
|
-
cursor: "cursor";
|
|
6465
|
-
}>;
|
|
7063
|
+
provider: z$1.ZodString;
|
|
6466
7064
|
stream: z$1.ZodEnum<{
|
|
6467
7065
|
stderr: "stderr";
|
|
6468
7066
|
stdout: "stdout";
|
|
@@ -6471,21 +7069,13 @@ declare const providerCliInstallEventSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodO
|
|
|
6471
7069
|
type: z$1.ZodLiteral<"output">;
|
|
6472
7070
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6473
7071
|
exitCode: z$1.ZodNullable<z$1.ZodNumber>;
|
|
6474
|
-
provider: z$1.
|
|
6475
|
-
claudeCode: "claudeCode";
|
|
6476
|
-
codex: "codex";
|
|
6477
|
-
cursor: "cursor";
|
|
6478
|
-
}>;
|
|
7072
|
+
provider: z$1.ZodString;
|
|
6479
7073
|
signal: z$1.ZodNullable<z$1.ZodString>;
|
|
6480
7074
|
success: z$1.ZodBoolean;
|
|
6481
7075
|
type: z$1.ZodLiteral<"completed">;
|
|
6482
7076
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6483
7077
|
message: z$1.ZodString;
|
|
6484
|
-
provider: z$1.
|
|
6485
|
-
claudeCode: "claudeCode";
|
|
6486
|
-
codex: "codex";
|
|
6487
|
-
cursor: "cursor";
|
|
6488
|
-
}>;
|
|
7078
|
+
provider: z$1.ZodString;
|
|
6489
7079
|
type: z$1.ZodLiteral<"error">;
|
|
6490
7080
|
}, z$1.core.$strip>], "type">;
|
|
6491
7081
|
type ProviderCliInstallEvent = z$1.infer<typeof providerCliInstallEventSchema>;
|
|
@@ -6628,6 +7218,7 @@ declare const installedPluginSchema: z$1.ZodObject<{
|
|
|
6628
7218
|
compatible: z$1.ZodBoolean;
|
|
6629
7219
|
cssUrl: z$1.ZodNullable<z$1.ZodString>;
|
|
6630
7220
|
hash: z$1.ZodString;
|
|
7221
|
+
jsBytes: z$1.ZodNumber;
|
|
6631
7222
|
jsUrl: z$1.ZodString;
|
|
6632
7223
|
sdkMajor: z$1.ZodNumber;
|
|
6633
7224
|
sdkVersion: z$1.ZodString;
|
|
@@ -6735,6 +7326,7 @@ declare const pluginListResponseSchema: z$1.ZodObject<{
|
|
|
6735
7326
|
compatible: z$1.ZodBoolean;
|
|
6736
7327
|
cssUrl: z$1.ZodNullable<z$1.ZodString>;
|
|
6737
7328
|
hash: z$1.ZodString;
|
|
7329
|
+
jsBytes: z$1.ZodNumber;
|
|
6738
7330
|
jsUrl: z$1.ZodString;
|
|
6739
7331
|
sdkMajor: z$1.ZodNumber;
|
|
6740
7332
|
sdkVersion: z$1.ZodString;
|
|
@@ -6844,6 +7436,7 @@ declare const pluginReloadResponseSchema: z$1.ZodObject<{
|
|
|
6844
7436
|
compatible: z$1.ZodBoolean;
|
|
6845
7437
|
cssUrl: z$1.ZodNullable<z$1.ZodString>;
|
|
6846
7438
|
hash: z$1.ZodString;
|
|
7439
|
+
jsBytes: z$1.ZodNumber;
|
|
6847
7440
|
jsUrl: z$1.ZodString;
|
|
6848
7441
|
sdkMajor: z$1.ZodNumber;
|
|
6849
7442
|
sdkVersion: z$1.ZodString;
|
|
@@ -6999,6 +7592,7 @@ declare const pluginCatalogSearchResultSchema: z$1.ZodObject<{
|
|
|
6999
7592
|
displayName: z$1.ZodString;
|
|
7000
7593
|
entryId: z$1.ZodString;
|
|
7001
7594
|
icon: z$1.ZodNullable<z$1.ZodString>;
|
|
7595
|
+
iconTinted: z$1.ZodDefault<z$1.ZodBoolean>;
|
|
7002
7596
|
iconUrl: z$1.ZodNullable<z$1.ZodString>;
|
|
7003
7597
|
incompatibleReason: z$1.ZodNullable<z$1.ZodString>;
|
|
7004
7598
|
installed: z$1.ZodBoolean;
|
|
@@ -7008,6 +7602,7 @@ declare const pluginCatalogSearchResultSchema: z$1.ZodObject<{
|
|
|
7008
7602
|
pluginId: z$1.ZodString;
|
|
7009
7603
|
publisherKey: z$1.ZodString;
|
|
7010
7604
|
publisherLabel: z$1.ZodString;
|
|
7605
|
+
repositoryUrl: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodString>>;
|
|
7011
7606
|
source: z$1.ZodString;
|
|
7012
7607
|
}, z$1.core.$strip>;
|
|
7013
7608
|
type PluginCatalogSearchResult$1 = z$1.infer<typeof pluginCatalogSearchResultSchema>;
|
|
@@ -7217,6 +7812,9 @@ declare const systemExecutionOptionsResponseSchema: z$1.ZodObject<{
|
|
|
7217
7812
|
kind: z$1.ZodLiteral<"goal">;
|
|
7218
7813
|
}, z$1.core.$strip>], "kind">>;
|
|
7219
7814
|
displayName: z$1.ZodString;
|
|
7815
|
+
experimental_providerHealth: z$1.ZodBoolean;
|
|
7816
|
+
experimental_providerInstallation: z$1.ZodBoolean;
|
|
7817
|
+
experimental_providerUsage: z$1.ZodBoolean;
|
|
7220
7818
|
id: z$1.ZodString;
|
|
7221
7819
|
logoUrl: z$1.ZodNullable<z$1.ZodString>;
|
|
7222
7820
|
}, z$1.core.$strip>>;
|
|
@@ -7255,9 +7853,13 @@ declare const systemExecutionOptionsResponseSchema: z$1.ZodObject<{
|
|
|
7255
7853
|
type SystemExecutionOptionsResponse = z$1.infer<typeof systemExecutionOptionsResponseSchema>;
|
|
7256
7854
|
/**
|
|
7257
7855
|
* Routes provider discovery through an environment's host or an explicit
|
|
7258
|
-
* host. Omitting both preserves the primary-host fallback.
|
|
7856
|
+
* host. Omitting both preserves the primary-host fallback. `capability`
|
|
7857
|
+
* narrows discovery before host probes begin.
|
|
7259
7858
|
*/
|
|
7260
7859
|
declare const systemProvidersQuerySchema: z$1.ZodObject<{
|
|
7860
|
+
capability: z$1.ZodOptional<z$1.ZodEnum<{
|
|
7861
|
+
usage: "usage";
|
|
7862
|
+
}>>;
|
|
7261
7863
|
environmentId: z$1.ZodOptional<z$1.ZodString>;
|
|
7262
7864
|
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
7263
7865
|
}, z$1.core.$strip>;
|
|
@@ -7268,79 +7870,42 @@ declare const systemExecutionOptionsQuerySchema: z$1.ZodObject<{
|
|
|
7268
7870
|
providerId: z$1.ZodOptional<z$1.ZodString>;
|
|
7269
7871
|
}, z$1.core.$strip>;
|
|
7270
7872
|
type SystemExecutionOptionsQuery = z$1.infer<typeof systemExecutionOptionsQuerySchema>;
|
|
7271
|
-
/**
|
|
7873
|
+
/**
|
|
7874
|
+
* Omitting `hostId` reads the primary machine; omitting `providerId` returns
|
|
7875
|
+
* the aggregate used by CLI clients.
|
|
7876
|
+
*/
|
|
7272
7877
|
declare const systemUsageLimitsQuerySchema: z$1.ZodObject<{
|
|
7273
7878
|
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
7879
|
+
providerId: z$1.ZodOptional<z$1.ZodString>;
|
|
7274
7880
|
}, z$1.core.$strip>;
|
|
7275
7881
|
type SystemUsageLimitsQuery = z$1.infer<typeof systemUsageLimitsQuerySchema>;
|
|
7276
7882
|
declare const systemVoiceTranscriptionResponseSchema: z$1.ZodObject<{
|
|
7277
7883
|
text: z$1.ZodString;
|
|
7278
7884
|
}, z$1.core.$strip>;
|
|
7279
7885
|
type SystemVoiceTranscriptionResponse = z$1.infer<typeof systemVoiceTranscriptionResponseSchema>;
|
|
7280
|
-
declare const
|
|
7281
|
-
|
|
7886
|
+
declare const systemProviderStatesResponseSchema: z$1.ZodObject<{
|
|
7887
|
+
providers: z$1.ZodArray<z$1.ZodObject<{
|
|
7282
7888
|
accountEmail: z$1.ZodNullable<z$1.ZodString>;
|
|
7283
7889
|
canInstall: z$1.ZodBoolean;
|
|
7890
|
+
canUpdate: z$1.ZodBoolean;
|
|
7284
7891
|
displayName: z$1.ZodString;
|
|
7892
|
+
installedVersion: z$1.ZodNullable<z$1.ZodString>;
|
|
7285
7893
|
loginCommand: z$1.ZodNullable<z$1.ZodString>;
|
|
7894
|
+
minimumSupportedVersion: z$1.ZodNullable<z$1.ZodString>;
|
|
7286
7895
|
planLabel: z$1.ZodNullable<z$1.ZodString>;
|
|
7287
7896
|
providerId: z$1.ZodString;
|
|
7288
7897
|
status: z$1.ZodEnum<{
|
|
7289
|
-
connected: "connected";
|
|
7290
7898
|
expired: "expired";
|
|
7291
7899
|
not_installed: "not_installed";
|
|
7900
|
+
ready: "ready";
|
|
7292
7901
|
unauthenticated: "unauthenticated";
|
|
7902
|
+
unknown: "unknown";
|
|
7903
|
+
unsupported_version: "unsupported_version";
|
|
7293
7904
|
}>;
|
|
7294
|
-
|
|
7295
|
-
}, z$1.core.$
|
|
7296
|
-
type OnboardingAgentOverview = z$1.infer<typeof onboardingAgentOverviewSchema>;
|
|
7297
|
-
/** Omission reads the primary machine, matching the usage-limits route. */
|
|
7298
|
-
declare const systemOnboardingReposQuerySchema: z$1.ZodObject<{
|
|
7299
|
-
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
7905
|
+
statusMessage: z$1.ZodNullable<z$1.ZodString>;
|
|
7906
|
+
}, z$1.core.$loose>>;
|
|
7300
7907
|
}, z$1.core.$strip>;
|
|
7301
|
-
type
|
|
7302
|
-
/**
|
|
7303
|
-
* Onboarding funnel events, reported by the app and forwarded to the server's
|
|
7304
|
-
* anonymous telemetry. Categorical or counts only — never paths, project names,
|
|
7305
|
-
* or account emails.
|
|
7306
|
-
*/
|
|
7307
|
-
declare const onboardingTelemetryEventSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
7308
|
-
agentState: z$1.ZodEnum<{
|
|
7309
|
-
connected: "connected";
|
|
7310
|
-
none: "none";
|
|
7311
|
-
signed_out: "signed_out";
|
|
7312
|
-
}>;
|
|
7313
|
-
detectedAgentCount: z$1.ZodNumber;
|
|
7314
|
-
name: z$1.ZodLiteral<"onboarding_started">;
|
|
7315
|
-
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
7316
|
-
name: z$1.ZodLiteral<"onboarding_step_completed">;
|
|
7317
|
-
step: z$1.ZodEnum<{
|
|
7318
|
-
agents: "agents";
|
|
7319
|
-
projects: "projects";
|
|
7320
|
-
}>;
|
|
7321
|
-
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
7322
|
-
name: z$1.ZodLiteral<"onboarding_step_skipped">;
|
|
7323
|
-
step: z$1.ZodEnum<{
|
|
7324
|
-
agents: "agents";
|
|
7325
|
-
projects: "projects";
|
|
7326
|
-
}>;
|
|
7327
|
-
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
7328
|
-
agentState: z$1.ZodEnum<{
|
|
7329
|
-
connected: "connected";
|
|
7330
|
-
none: "none";
|
|
7331
|
-
signed_out: "signed_out";
|
|
7332
|
-
}>;
|
|
7333
|
-
durationMs: z$1.ZodNumber;
|
|
7334
|
-
name: z$1.ZodLiteral<"onboarding_completed">;
|
|
7335
|
-
projectsAdded: z$1.ZodNumber;
|
|
7336
|
-
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
7337
|
-
name: z$1.ZodLiteral<"onboarding_dismissed">;
|
|
7338
|
-
step: z$1.ZodEnum<{
|
|
7339
|
-
agents: "agents";
|
|
7340
|
-
projects: "projects";
|
|
7341
|
-
}>;
|
|
7342
|
-
}, z$1.core.$strip>], "name">;
|
|
7343
|
-
type OnboardingTelemetryEvent = z$1.infer<typeof onboardingTelemetryEventSchema>;
|
|
7908
|
+
type SystemProviderStatesResponse = z$1.infer<typeof systemProviderStatesResponseSchema>;
|
|
7344
7909
|
declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
7345
7910
|
appearance: z$1.ZodObject<{
|
|
7346
7911
|
customCss: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -7366,6 +7931,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
7366
7931
|
dataDir: z$1.ZodString;
|
|
7367
7932
|
defaultKeybindings: z$1.ZodArray<z$1.ZodObject<{
|
|
7368
7933
|
command: z$1.ZodEnum<{
|
|
7934
|
+
"browser.find": "browser.find";
|
|
7369
7935
|
"browser.focusLocation": "browser.focusLocation";
|
|
7370
7936
|
"browser.reload": "browser.reload";
|
|
7371
7937
|
"composer.focus": "composer.focus";
|
|
@@ -7463,10 +8029,11 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
7463
8029
|
}, z$1.core.$strict>;
|
|
7464
8030
|
}, z$1.core.$strict>>;
|
|
7465
8031
|
experiments: z$1.ZodRecord<z$1.ZodEnum<{
|
|
7466
|
-
|
|
8032
|
+
changelogPreview: "changelogPreview";
|
|
7467
8033
|
editMessages: "editMessages";
|
|
7468
|
-
|
|
8034
|
+
mobileApp: "mobileApp";
|
|
7469
8035
|
providerSessionReaping: "providerSessionReaping";
|
|
8036
|
+
timelineWindowing: "timelineWindowing";
|
|
7470
8037
|
}>, z$1.ZodBoolean>;
|
|
7471
8038
|
featureFlags: z$1.ZodObject<{
|
|
7472
8039
|
placeholder: z$1.ZodBoolean;
|
|
@@ -7478,14 +8045,15 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
7478
8045
|
claudeCodeWorkflowsDisabled: z$1.ZodBoolean;
|
|
7479
8046
|
codexMemoryEnabled: z$1.ZodBoolean;
|
|
7480
8047
|
codexSubagentsDisabled: z$1.ZodBoolean;
|
|
7481
|
-
onboardingCompletedAt: z$1.ZodNullable<z$1.ZodString>;
|
|
7482
8048
|
showKeyboardHints: z$1.ZodBoolean;
|
|
7483
8049
|
showUnhandledProviderEvents: z$1.ZodBoolean;
|
|
7484
8050
|
steerActiveThreadOnEnter: z$1.ZodBoolean;
|
|
8051
|
+
streamerMode: z$1.ZodBoolean;
|
|
7485
8052
|
}, z$1.core.$strict>;
|
|
7486
8053
|
hostDaemonPort: z$1.ZodNullable<z$1.ZodNumber>;
|
|
7487
8054
|
keybindingOverrides: z$1.ZodArray<z$1.ZodObject<{
|
|
7488
8055
|
command: z$1.ZodEnum<{
|
|
8056
|
+
"browser.find": "browser.find";
|
|
7489
8057
|
"browser.focusLocation": "browser.focusLocation";
|
|
7490
8058
|
"browser.reload": "browser.reload";
|
|
7491
8059
|
"composer.focus": "composer.focus";
|
|
@@ -7555,6 +8123,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
7555
8123
|
}, z$1.core.$strict>>;
|
|
7556
8124
|
keybindings: z$1.ZodArray<z$1.ZodObject<{
|
|
7557
8125
|
command: z$1.ZodEnum<{
|
|
8126
|
+
"browser.find": "browser.find";
|
|
7558
8127
|
"browser.focusLocation": "browser.focusLocation";
|
|
7559
8128
|
"browser.reload": "browser.reload";
|
|
7560
8129
|
"composer.focus": "composer.focus";
|
|
@@ -7651,6 +8220,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
7651
8220
|
}>>;
|
|
7652
8221
|
}, z$1.core.$strict>;
|
|
7653
8222
|
}, z$1.core.$strict>>;
|
|
8223
|
+
localHelperPorts: z$1.ZodArray<z$1.ZodNumber>;
|
|
7654
8224
|
pluginThemes: z$1.ZodArray<z$1.ZodObject<{
|
|
7655
8225
|
description: z$1.ZodNullable<z$1.ZodString>;
|
|
7656
8226
|
id: z$1.ZodString;
|
|
@@ -8142,6 +8712,9 @@ declare const timelineCommandWorkRowSchema: z$1.ZodObject<{
|
|
|
8142
8712
|
id: z$1.ZodString;
|
|
8143
8713
|
kind: z$1.ZodLiteral<"work">;
|
|
8144
8714
|
output: z$1.ZodString;
|
|
8715
|
+
outputPreview: z$1.ZodOptional<z$1.ZodObject<{
|
|
8716
|
+
totalChars: z$1.ZodNumber;
|
|
8717
|
+
}, z$1.core.$strip>>;
|
|
8145
8718
|
source: z$1.ZodNullable<z$1.ZodString>;
|
|
8146
8719
|
sourceSeqEnd: z$1.ZodNumber;
|
|
8147
8720
|
sourceSeqStart: z$1.ZodNumber;
|
|
@@ -8186,6 +8759,9 @@ declare const timelineToolWorkRowSchema: z$1.ZodObject<{
|
|
|
8186
8759
|
id: z$1.ZodString;
|
|
8187
8760
|
kind: z$1.ZodLiteral<"work">;
|
|
8188
8761
|
output: z$1.ZodString;
|
|
8762
|
+
outputPreview: z$1.ZodOptional<z$1.ZodObject<{
|
|
8763
|
+
totalChars: z$1.ZodNumber;
|
|
8764
|
+
}, z$1.core.$strip>>;
|
|
8189
8765
|
sourceSeqEnd: z$1.ZodNumber;
|
|
8190
8766
|
sourceSeqStart: z$1.ZodNumber;
|
|
8191
8767
|
startedAt: z$1.ZodNumber;
|
|
@@ -10340,6 +10916,11 @@ declare const threadStoragePathsQuerySchema: z$1.ZodObject<{
|
|
|
10340
10916
|
query: z$1.ZodOptional<z$1.ZodString>;
|
|
10341
10917
|
}, z$1.core.$strip>;
|
|
10342
10918
|
type ThreadStoragePathsQuery = z$1.infer<typeof threadStoragePathsQuerySchema>;
|
|
10919
|
+
declare const threadStorageLocationResponseSchema: z$1.ZodObject<{
|
|
10920
|
+
hostId: z$1.ZodString;
|
|
10921
|
+
storageRootPath: z$1.ZodString;
|
|
10922
|
+
}, z$1.core.$strict>;
|
|
10923
|
+
type ThreadStorageLocationResponse = z$1.infer<typeof threadStorageLocationResponseSchema>;
|
|
10343
10924
|
declare const timelineTurnSummaryDetailsResponseSchema: z$1.ZodObject<{
|
|
10344
10925
|
rows: z$1.ZodArray<z$1.ZodType<TimelineRow, unknown, z$1.core.$ZodTypeInternals<TimelineRow, unknown>>>;
|
|
10345
10926
|
}, z$1.core.$strip>;
|
|
@@ -10643,7 +11224,8 @@ declare const threadTabsResponseSchema: z$1.ZodObject<{
|
|
|
10643
11224
|
}, z$1.core.$strict>;
|
|
10644
11225
|
threadId: z$1.ZodNullable<z$1.ZodString>;
|
|
10645
11226
|
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
10646
|
-
environmentId: z$1.ZodString
|
|
11227
|
+
environmentId: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodString>>;
|
|
11228
|
+
hostId: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodString>>;
|
|
10647
11229
|
kind: z$1.ZodLiteral<"host-file-preview">;
|
|
10648
11230
|
tab: z$1.ZodObject<{
|
|
10649
11231
|
lineRange: z$1.ZodNullable<z$1.ZodObject<{
|
|
@@ -10652,7 +11234,7 @@ declare const threadTabsResponseSchema: z$1.ZodObject<{
|
|
|
10652
11234
|
}, z$1.core.$strict>>;
|
|
10653
11235
|
path: z$1.ZodString;
|
|
10654
11236
|
}, z$1.core.$strict>;
|
|
10655
|
-
threadId: z$1.ZodString
|
|
11237
|
+
threadId: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodString>>;
|
|
10656
11238
|
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
10657
11239
|
environmentId: z$1.ZodNullable<z$1.ZodString>;
|
|
10658
11240
|
kind: z$1.ZodLiteral<"thread-storage-file-preview">;
|
|
@@ -10691,6 +11273,7 @@ declare const threadTabsResponseSchema: z$1.ZodObject<{
|
|
|
10691
11273
|
statusLabel: z$1.ZodNullable<z$1.ZodLiteral<"deleted">>;
|
|
10692
11274
|
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
10693
11275
|
environmentId: z$1.ZodNullable<z$1.ZodString>;
|
|
11276
|
+
hostId: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodString>>;
|
|
10694
11277
|
id: z$1.ZodString;
|
|
10695
11278
|
kind: z$1.ZodLiteral<"host-file-preview">;
|
|
10696
11279
|
lineRange: z$1.ZodNullable<z$1.ZodObject<{
|
|
@@ -10776,7 +11359,8 @@ declare const updateThreadTabsRequestSchema: z$1.ZodObject<{
|
|
|
10776
11359
|
}, z$1.core.$strict>;
|
|
10777
11360
|
threadId: z$1.ZodNullable<z$1.ZodString>;
|
|
10778
11361
|
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
10779
|
-
environmentId: z$1.ZodString
|
|
11362
|
+
environmentId: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodString>>;
|
|
11363
|
+
hostId: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodString>>;
|
|
10780
11364
|
kind: z$1.ZodLiteral<"host-file-preview">;
|
|
10781
11365
|
tab: z$1.ZodObject<{
|
|
10782
11366
|
lineRange: z$1.ZodNullable<z$1.ZodObject<{
|
|
@@ -10785,7 +11369,7 @@ declare const updateThreadTabsRequestSchema: z$1.ZodObject<{
|
|
|
10785
11369
|
}, z$1.core.$strict>>;
|
|
10786
11370
|
path: z$1.ZodString;
|
|
10787
11371
|
}, z$1.core.$strict>;
|
|
10788
|
-
threadId: z$1.ZodString
|
|
11372
|
+
threadId: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodString>>;
|
|
10789
11373
|
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
10790
11374
|
environmentId: z$1.ZodNullable<z$1.ZodString>;
|
|
10791
11375
|
kind: z$1.ZodLiteral<"thread-storage-file-preview">;
|
|
@@ -10824,6 +11408,7 @@ declare const updateThreadTabsRequestSchema: z$1.ZodObject<{
|
|
|
10824
11408
|
statusLabel: z$1.ZodNullable<z$1.ZodLiteral<"deleted">>;
|
|
10825
11409
|
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
10826
11410
|
environmentId: z$1.ZodNullable<z$1.ZodString>;
|
|
11411
|
+
hostId: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodString>>;
|
|
10827
11412
|
id: z$1.ZodString;
|
|
10828
11413
|
kind: z$1.ZodLiteral<"host-file-preview">;
|
|
10829
11414
|
lineRange: z$1.ZodNullable<z$1.ZodObject<{
|
|
@@ -11086,6 +11671,13 @@ interface PluginFileOpenerSource {
|
|
|
11086
11671
|
threadId: string | null;
|
|
11087
11672
|
environmentId: string | null;
|
|
11088
11673
|
projectId: string | null;
|
|
11674
|
+
/**
|
|
11675
|
+
* Explicit host selected for a project-backed workspace file. Omitted when
|
|
11676
|
+
* the source is resolved by its environment/thread or the primary host.
|
|
11677
|
+
*
|
|
11678
|
+
* @experimental Audit before relying on this as a stable contract.
|
|
11679
|
+
*/
|
|
11680
|
+
experimental_hostId?: string;
|
|
11089
11681
|
}
|
|
11090
11682
|
/** Props passed to a `fileOpener` component (rendered as a panel file tab). */
|
|
11091
11683
|
interface PluginFileOpenerProps {
|
|
@@ -11099,6 +11691,96 @@ interface PluginFileOpenerProps {
|
|
|
11099
11691
|
*/
|
|
11100
11692
|
experimental_Original: ComponentType;
|
|
11101
11693
|
}
|
|
11694
|
+
/** How a code line longer than the viewport is presented. */
|
|
11695
|
+
type CodeOverflowMode = "scroll" | "wrap";
|
|
11696
|
+
/** How a diff presents its two sides. */
|
|
11697
|
+
type DiffViewMode = "split" | "unified";
|
|
11698
|
+
/** A 1-based, inclusive line range. */
|
|
11699
|
+
interface SourceCodeLineRange {
|
|
11700
|
+
start: number;
|
|
11701
|
+
end: number;
|
|
11702
|
+
}
|
|
11703
|
+
/**
|
|
11704
|
+
* Props of the host-owned `experimental_SourceCode` component — BB's source
|
|
11705
|
+
* viewer. The host owns syntax highlighting, gutters, wrapping, line-selection
|
|
11706
|
+
* presentation, and the live BB code theme; the caller owns loading the text
|
|
11707
|
+
* and any surrounding chrome.
|
|
11708
|
+
*/
|
|
11709
|
+
interface SourceCodeProps {
|
|
11710
|
+
/** The complete source text to render. */
|
|
11711
|
+
content: string;
|
|
11712
|
+
/** File path or name. Drives language detection and the a11y label. */
|
|
11713
|
+
path: string;
|
|
11714
|
+
/** Long-line presentation. Defaults to `"scroll"`. */
|
|
11715
|
+
overflow?: CodeOverflowMode;
|
|
11716
|
+
/**
|
|
11717
|
+
* Lines to highlight and scroll into view (1-based, inclusive). Defaults to
|
|
11718
|
+
* `null` — nothing highlighted.
|
|
11719
|
+
*/
|
|
11720
|
+
highlightedLines?: SourceCodeLineRange | null;
|
|
11721
|
+
/** Applied to the renderer's root element. */
|
|
11722
|
+
className?: string;
|
|
11723
|
+
}
|
|
11724
|
+
/**
|
|
11725
|
+
* Props of the host-owned `experimental_Diff` component — BB's diff viewer.
|
|
11726
|
+
* The host owns patch normalization (a patch without a `diff --git` header is
|
|
11727
|
+
* completed from `path`), syntax highlighting, unified/split presentation,
|
|
11728
|
+
* gutters, line-selection presentation, and the live BB code theme. Content
|
|
11729
|
+
* that cannot be parsed as a patch degrades to plain monospace text.
|
|
11730
|
+
*/
|
|
11731
|
+
interface DiffProps {
|
|
11732
|
+
/** Unified patch text for exactly ONE file. */
|
|
11733
|
+
patch: string;
|
|
11734
|
+
/**
|
|
11735
|
+
* The file the patch applies to. Used to complete a patch that arrives
|
|
11736
|
+
* without a `diff --git` header (GitHub's REST patches, single `@@` hunks)
|
|
11737
|
+
* and for language detection.
|
|
11738
|
+
*/
|
|
11739
|
+
path: string;
|
|
11740
|
+
/** Side-by-side or inline. Defaults to `"unified"`. */
|
|
11741
|
+
view?: DiffViewMode;
|
|
11742
|
+
/** Long-line presentation. Defaults to `"scroll"`. */
|
|
11743
|
+
overflow?: CodeOverflowMode;
|
|
11744
|
+
/** Whether the gutter shows line numbers. Defaults to `true`. */
|
|
11745
|
+
showLineNumbers?: boolean;
|
|
11746
|
+
/** Applied to the renderer's root element. */
|
|
11747
|
+
className?: string;
|
|
11748
|
+
}
|
|
11749
|
+
/**
|
|
11750
|
+
* Props passed to an `experimental_sourceCodeRenderer` component. Every value
|
|
11751
|
+
* is already resolved — the replacement never re-applies a host default.
|
|
11752
|
+
*/
|
|
11753
|
+
interface PluginSourceCodeRendererProps {
|
|
11754
|
+
content: string;
|
|
11755
|
+
path: string;
|
|
11756
|
+
overflow: CodeOverflowMode;
|
|
11757
|
+
highlightedLines: SourceCodeLineRange | null;
|
|
11758
|
+
/**
|
|
11759
|
+
* BB's source renderer, bound to this request. Render it to delegate
|
|
11760
|
+
* conditionally without re-entering plugin replacement resolution.
|
|
11761
|
+
*
|
|
11762
|
+
* @experimental Audit before relying on this as a stable contract.
|
|
11763
|
+
*/
|
|
11764
|
+
experimental_Original: ComponentType;
|
|
11765
|
+
}
|
|
11766
|
+
/**
|
|
11767
|
+
* Props passed to an `experimental_diffRenderer` component. `patch` is always
|
|
11768
|
+
* a complete single-file unified patch, whatever shape the caller supplied.
|
|
11769
|
+
*/
|
|
11770
|
+
interface PluginDiffRendererProps {
|
|
11771
|
+
patch: string;
|
|
11772
|
+
path: string;
|
|
11773
|
+
view: DiffViewMode;
|
|
11774
|
+
overflow: CodeOverflowMode;
|
|
11775
|
+
showLineNumbers: boolean;
|
|
11776
|
+
/**
|
|
11777
|
+
* BB's diff renderer, bound to this request. Render it to delegate
|
|
11778
|
+
* conditionally without re-entering plugin replacement resolution.
|
|
11779
|
+
*
|
|
11780
|
+
* @experimental Audit before relying on this as a stable contract.
|
|
11781
|
+
*/
|
|
11782
|
+
experimental_Original: ComponentType;
|
|
11783
|
+
}
|
|
11102
11784
|
/**
|
|
11103
11785
|
* Message context passed to a `messageDirective` component — the assistant
|
|
11104
11786
|
* (or nested agent) message that contained the directive.
|
|
@@ -11149,6 +11831,38 @@ interface PluginSettingsSectionRegistration {
|
|
|
11149
11831
|
description?: string;
|
|
11150
11832
|
component: ComponentType<PluginSettingsSectionProps>;
|
|
11151
11833
|
}
|
|
11834
|
+
/**
|
|
11835
|
+
* Owner-defined validator for a fixed tab's transient target. The host first
|
|
11836
|
+
* verifies that the value is JSON-safe, then calls this validator before
|
|
11837
|
+
* selecting the tab or delivering the target.
|
|
11838
|
+
*/
|
|
11839
|
+
interface ExperimentalFixedTabTargetContract<Target extends JsonValue> {
|
|
11840
|
+
validate(value: JsonValue): value is Target;
|
|
11841
|
+
}
|
|
11842
|
+
/** Stable, owner-scoped reference used by the app-panel controller. */
|
|
11843
|
+
type ExperimentalPluginFixedTabReference<Target extends JsonValue = never> = {
|
|
11844
|
+
/** The owning `navPanel` id; validated against the containing registration. */
|
|
11845
|
+
readonly panelId: string;
|
|
11846
|
+
/** Unique within the owning nav panel; letters, digits, `-`, `_`. */
|
|
11847
|
+
readonly id: string;
|
|
11848
|
+
} & ([Target] extends [never] ? {
|
|
11849
|
+
/** An untargeted tab cannot be opened with a target. */
|
|
11850
|
+
readonly experimental_target?: never;
|
|
11851
|
+
} : {
|
|
11852
|
+
/** Owner validation required before the host delivers a target. */
|
|
11853
|
+
readonly experimental_target: ExperimentalFixedTabTargetContract<Target>;
|
|
11854
|
+
});
|
|
11855
|
+
/** A fixed tab declared by a plugin nav panel. */
|
|
11856
|
+
type ExperimentalPluginFixedTabRegistration<Target extends JsonValue = never> = ExperimentalPluginFixedTabReference<Target> & {
|
|
11857
|
+
title: string;
|
|
11858
|
+
/** Icon hint (BB icon name); unknown names fall back to a generic icon. */
|
|
11859
|
+
icon: string;
|
|
11860
|
+
component: ComponentType<PluginNavPanelProps>;
|
|
11861
|
+
/** `flush` lets the component own padding and scrolling. */
|
|
11862
|
+
layout?: "flush" | "padded";
|
|
11863
|
+
};
|
|
11864
|
+
/** A fixed tab with either no target or an owner-validated JSON target. */
|
|
11865
|
+
type ExperimentalPluginFixedTabDeclaration = ExperimentalPluginFixedTabRegistration | ExperimentalPluginFixedTabRegistration<JsonValue>;
|
|
11152
11866
|
interface PluginNavPanelRegistration {
|
|
11153
11867
|
/** Unique within the plugin; letters, digits, `-`, `_`. */
|
|
11154
11868
|
id: string;
|
|
@@ -11161,22 +11875,14 @@ interface PluginNavPanelRegistration {
|
|
|
11161
11875
|
/**
|
|
11162
11876
|
* Ordered, non-closable tabs shown in this page's host-owned right panel.
|
|
11163
11877
|
* BB owns selection and persistence and always includes its native Browser
|
|
11164
|
-
* and Terminal tools beside them.
|
|
11165
|
-
*
|
|
11166
|
-
* component
|
|
11878
|
+
* and Terminal tools beside them. One tab is active in each visible split
|
|
11879
|
+
* pane, so multiple fixed-tab components can be mounted concurrently. A
|
|
11880
|
+
* component mounts only while its tab is active in a visible pane and the
|
|
11881
|
+
* panel is open, and receives the same `subPath` as the page component.
|
|
11167
11882
|
*
|
|
11168
11883
|
* Experimental: see docs/api_to_audit.md.
|
|
11169
11884
|
*/
|
|
11170
|
-
experimental_fixedTabs?: readonly
|
|
11171
|
-
/** Unique within this nav panel; letters, digits, `-`, `_`. */
|
|
11172
|
-
id: string;
|
|
11173
|
-
title: string;
|
|
11174
|
-
/** Icon hint (BB icon name); unknown names fall back to a generic icon. */
|
|
11175
|
-
icon: string;
|
|
11176
|
-
component: ComponentType<PluginNavPanelProps>;
|
|
11177
|
-
/** `flush` lets the component own padding and scrolling. */
|
|
11178
|
-
layout?: "flush" | "padded";
|
|
11179
|
-
}[];
|
|
11885
|
+
experimental_fixedTabs?: readonly ExperimentalPluginFixedTabDeclaration[];
|
|
11180
11886
|
/**
|
|
11181
11887
|
* Optional presentational component rendered at the trailing edge of this
|
|
11182
11888
|
* panel's sidebar row. It receives no props so it can own a narrow live
|
|
@@ -11595,6 +12301,41 @@ interface PluginFileOpenerRegistration {
|
|
|
11595
12301
|
extensions: readonly string[];
|
|
11596
12302
|
component: ComponentType<PluginFileOpenerProps>;
|
|
11597
12303
|
}
|
|
12304
|
+
/**
|
|
12305
|
+
* Replace BB's source-code renderer everywhere it renders supplied source
|
|
12306
|
+
* text — the native file preview and every plugin that calls
|
|
12307
|
+
* `experimental_SourceCode`. Like `experimental_threadList` this slot is
|
|
12308
|
+
* **exclusive**: one renderer at a time. Registering activates it while the
|
|
12309
|
+
* plugin is enabled; if several are registered the first in deterministic slot
|
|
12310
|
+
* order wins. A missing, disabled, or crashing replacement falls back to BB's
|
|
12311
|
+
* renderer, and a replacement can render `experimental_Original` to delegate
|
|
12312
|
+
* per call (behind its own setting, by language, by size — whatever it needs).
|
|
12313
|
+
*/
|
|
12314
|
+
interface PluginSourceCodeRendererRegistration {
|
|
12315
|
+
/** Unique within the plugin; letters, digits, `-`, `_`. */
|
|
12316
|
+
id: string;
|
|
12317
|
+
/** Label shown in capability details. */
|
|
12318
|
+
title: string;
|
|
12319
|
+
/** Optional one-line description shown with the provider choice. */
|
|
12320
|
+
description?: string;
|
|
12321
|
+
component: ComponentType<PluginSourceCodeRendererProps>;
|
|
12322
|
+
}
|
|
12323
|
+
/**
|
|
12324
|
+
* Replace BB's diff renderer everywhere it renders supplied diff content — the
|
|
12325
|
+
* timeline file diffs, the environment diff panel's text bodies, and every
|
|
12326
|
+
* plugin that calls `experimental_Diff`. Exclusive, with the same activation,
|
|
12327
|
+
* fallback, and `experimental_Original` delegation rules as
|
|
12328
|
+
* {@link PluginSourceCodeRendererRegistration}.
|
|
12329
|
+
*/
|
|
12330
|
+
interface PluginDiffRendererRegistration {
|
|
12331
|
+
/** Unique within the plugin; letters, digits, `-`, `_`. */
|
|
12332
|
+
id: string;
|
|
12333
|
+
/** Label shown in capability details. */
|
|
12334
|
+
title: string;
|
|
12335
|
+
/** Optional one-line description shown with the provider choice. */
|
|
12336
|
+
description?: string;
|
|
12337
|
+
component: ComponentType<PluginDiffRendererProps>;
|
|
12338
|
+
}
|
|
11598
12339
|
/**
|
|
11599
12340
|
* Register a leaf message directive rendered inside assistant (and nested
|
|
11600
12341
|
* agent) message Markdown. `id` is the directive name: `inline-vis` matches
|
|
@@ -11728,6 +12469,18 @@ interface PluginAppSlots {
|
|
|
11728
12469
|
*/
|
|
11729
12470
|
experimental_threadHeaderAction(registration: PluginThreadHeaderActionRegistration): void;
|
|
11730
12471
|
fileOpener(registration: PluginFileOpenerRegistration): void;
|
|
12472
|
+
/**
|
|
12473
|
+
* Replace BB's source-code renderer (see
|
|
12474
|
+
* {@link PluginSourceCodeRendererRegistration}). Experimental: see
|
|
12475
|
+
* docs/api_to_audit.md.
|
|
12476
|
+
*/
|
|
12477
|
+
experimental_sourceCodeRenderer(registration: PluginSourceCodeRendererRegistration): void;
|
|
12478
|
+
/**
|
|
12479
|
+
* Replace BB's diff renderer (see
|
|
12480
|
+
* {@link PluginDiffRendererRegistration}). Experimental: see
|
|
12481
|
+
* docs/api_to_audit.md.
|
|
12482
|
+
*/
|
|
12483
|
+
experimental_diffRenderer(registration: PluginDiffRendererRegistration): void;
|
|
11731
12484
|
messageDirective(registration: PluginMessageDirectiveRegistration): void;
|
|
11732
12485
|
messageAction(registration: PluginMessageActionRegistration): void;
|
|
11733
12486
|
/**
|
|
@@ -11773,7 +12526,10 @@ interface PluginContentScriptRegistration {
|
|
|
11773
12526
|
id: string;
|
|
11774
12527
|
/**
|
|
11775
12528
|
* Install behavior into the bb app shell. The host awaits a returned
|
|
11776
|
-
* promise,
|
|
12529
|
+
* promise, retains the plugin's imported frontend stylesheet for this
|
|
12530
|
+
* generation, contains failures, and calls the returned disposer exactly
|
|
12531
|
+
* once. Styling or decorating existing app-shell DOM belongs here rather
|
|
12532
|
+
* than in an always-on frontend stylesheet.
|
|
11777
12533
|
*/
|
|
11778
12534
|
mount(context: PluginContentScriptContext): void | PluginContentScriptDisposer | Promise<void | PluginContentScriptDisposer>;
|
|
11779
12535
|
}
|
|
@@ -12204,6 +12960,78 @@ interface MarkdownProps {
|
|
|
12204
12960
|
content: string;
|
|
12205
12961
|
className?: string;
|
|
12206
12962
|
}
|
|
12963
|
+
/**
|
|
12964
|
+
* Props for BB's semantic URL link. The host owns ordinary activation while
|
|
12965
|
+
* retaining browser-owned anchor behavior for app routes, modifiers, explicit
|
|
12966
|
+
* targets, copying, and unsupported schemes. New top-level targets preserve
|
|
12967
|
+
* supplied `rel` tokens and receive safe defaults unless `opener` is explicit.
|
|
12968
|
+
* Experimental: see docs/api_to_audit.md.
|
|
12969
|
+
*/
|
|
12970
|
+
interface ExperimentalUrlLinkProps extends Omit<ComponentPropsWithoutRef<"a">, "href"> {
|
|
12971
|
+
href: string;
|
|
12972
|
+
}
|
|
12973
|
+
/** A live file whose identity is complete without ambient route context. */
|
|
12974
|
+
type ExperimentalLiveFileTarget = {
|
|
12975
|
+
kind: "workspace";
|
|
12976
|
+
environmentId: string;
|
|
12977
|
+
path: string;
|
|
12978
|
+
} | {
|
|
12979
|
+
kind: "host";
|
|
12980
|
+
hostId: string;
|
|
12981
|
+
path: string;
|
|
12982
|
+
} | {
|
|
12983
|
+
kind: "thread-storage";
|
|
12984
|
+
threadId: string;
|
|
12985
|
+
path: string;
|
|
12986
|
+
};
|
|
12987
|
+
/** One-based location to reveal after a live file opens. */
|
|
12988
|
+
type ExperimentalFileLocation = {
|
|
12989
|
+
kind: "line";
|
|
12990
|
+
line: number;
|
|
12991
|
+
column: number | null;
|
|
12992
|
+
} | {
|
|
12993
|
+
kind: "range";
|
|
12994
|
+
startLine: number;
|
|
12995
|
+
endLine: number;
|
|
12996
|
+
};
|
|
12997
|
+
/** Options shared by BB's preview and preferred-external file intents. */
|
|
12998
|
+
interface ExperimentalFileOpenOptions {
|
|
12999
|
+
target: ExperimentalLiveFileTarget;
|
|
13000
|
+
location: ExperimentalFileLocation | null;
|
|
13001
|
+
}
|
|
13002
|
+
/**
|
|
13003
|
+
* Props for BB's host-rendered semantic file link. Valid targets receive a
|
|
13004
|
+
* scheme-safe anchor href; traversal paths, ill-formed Unicode, and other
|
|
13005
|
+
* malformed runtime targets remain inert.
|
|
13006
|
+
*/
|
|
13007
|
+
interface ExperimentalFileLinkProps extends Omit<ComponentPropsWithoutRef<"a">, "href" | "target"> {
|
|
13008
|
+
target: ExperimentalLiveFileTarget;
|
|
13009
|
+
location?: ExperimentalFileLocation | null;
|
|
13010
|
+
}
|
|
13011
|
+
/** The panel surface resolved by the component making the request. */
|
|
13012
|
+
type ExperimentalAppPanelSurface = {
|
|
13013
|
+
kind: "current";
|
|
13014
|
+
};
|
|
13015
|
+
/**
|
|
13016
|
+
* The owning fixed tab's current memory-only target. It survives tab, panel,
|
|
13017
|
+
* and route remounts during the current app session, but is never persisted
|
|
13018
|
+
* across a refresh. Call `clear` when the owner returns to its untargeted state.
|
|
13019
|
+
*/
|
|
13020
|
+
interface ExperimentalFixedTabTargetState<Target extends JsonValue> {
|
|
13021
|
+
readonly sequence: number;
|
|
13022
|
+
readonly target: Target;
|
|
13023
|
+
clear(): void;
|
|
13024
|
+
}
|
|
13025
|
+
type ExperimentalOpenFixedTabOptions<Target extends JsonValue> = {
|
|
13026
|
+
surface: ExperimentalAppPanelSurface;
|
|
13027
|
+
tab: ExperimentalPluginFixedTabReference<Target>;
|
|
13028
|
+
/** Omit to select the tab without replacing its current session target. */
|
|
13029
|
+
target?: NoInfer<Target>;
|
|
13030
|
+
};
|
|
13031
|
+
/** Surface-aware controller for selecting owner-scoped fixed tabs. */
|
|
13032
|
+
interface ExperimentalAppPanel {
|
|
13033
|
+
openFixedTab<Target extends JsonValue = never>(options: ExperimentalOpenFixedTabOptions<Target>): boolean;
|
|
13034
|
+
}
|
|
12207
13035
|
/** Current app selection, derived from the route. */
|
|
12208
13036
|
interface BbContext {
|
|
12209
13037
|
projectId: string | null;
|
|
@@ -12238,6 +13066,16 @@ interface BbNavigate {
|
|
|
12238
13066
|
* the action is unavailable.
|
|
12239
13067
|
*/
|
|
12240
13068
|
openThreadPanel(options: PluginTargetedPanelActionOpenOptions): boolean;
|
|
13069
|
+
/**
|
|
13070
|
+
* Open an HTTP(S) URL using this client's BB browser preference. Returns
|
|
13071
|
+
* false for schemes the host does not own. Experimental: see
|
|
13072
|
+
* docs/api_to_audit.md.
|
|
13073
|
+
*/
|
|
13074
|
+
experimental_openUrl(url: string): boolean;
|
|
13075
|
+
/** Open a live file in this surface's shared BB preview panel. */
|
|
13076
|
+
experimental_openFilePreview(options: ExperimentalFileOpenOptions): boolean;
|
|
13077
|
+
/** Open a live file in this client's preferred external file target. */
|
|
13078
|
+
experimental_openFileExternally(options: ExperimentalFileOpenOptions): boolean;
|
|
12241
13079
|
}
|
|
12242
13080
|
/**
|
|
12243
13081
|
* Everything `@get-bb/plugin-sdk/app` resolves to at runtime. The BB app builds
|
|
@@ -12258,11 +13096,22 @@ interface PluginSdkApp {
|
|
|
12258
13096
|
useSettings(): PluginSettingsState;
|
|
12259
13097
|
useBbContext(): BbContext;
|
|
12260
13098
|
useBbNavigate(): BbNavigate;
|
|
13099
|
+
/** Select one of this plugin's eligible fixed tabs on the current surface. */
|
|
13100
|
+
experimental_useAppPanel(): ExperimentalAppPanel;
|
|
13101
|
+
/** Read or clear the owning tab's validated, session-scoped target. */
|
|
13102
|
+
experimental_useFixedTabTarget<Target extends JsonValue>(tab: ExperimentalPluginFixedTabReference<Target>): ExperimentalFixedTabTargetState<Target> | null;
|
|
12261
13103
|
useComposer(): PluginComposerApi;
|
|
12262
13104
|
/**
|
|
12263
13105
|
* The sidebar's live thread view (see {@link PluginSidebarThreadsState}).
|
|
12264
13106
|
* Reads the host's own cache and realtime subscriptions, so it costs no
|
|
12265
13107
|
* extra request and updates exactly when the built-in sidebar does.
|
|
13108
|
+
*
|
|
13109
|
+
* `threads` is one array of every visible thread and is not capped. Thread
|
|
13110
|
+
* objects keep their identity across updates while the underlying entry is
|
|
13111
|
+
* unchanged, so a memoized row re-renders only when its own thread changed;
|
|
13112
|
+
* the array itself is new on every update. Window your rows (render only
|
|
13113
|
+
* what is on screen) as the built-in sidebar does — a list that mounts one
|
|
13114
|
+
* row per thread is slow on phones with many threads.
|
|
12266
13115
|
* Experimental: see docs/api_to_audit.md.
|
|
12267
13116
|
*/
|
|
12268
13117
|
experimental_useSidebarThreads(): PluginSidebarThreadsState;
|
|
@@ -12301,12 +13150,34 @@ interface PluginSdkApp {
|
|
|
12301
13150
|
* {@link MarkdownProps}).
|
|
12302
13151
|
*/
|
|
12303
13152
|
Markdown: ComponentType<MarkdownProps>;
|
|
13153
|
+
/**
|
|
13154
|
+
* A real anchor whose ordinary HTTP(S) activation uses BB's URL preference.
|
|
13155
|
+
* Experimental: see docs/api_to_audit.md.
|
|
13156
|
+
*/
|
|
13157
|
+
experimental_UrlLink: ComponentType<ExperimentalUrlLinkProps>;
|
|
13158
|
+
/** Host-rendered live-file link backed by the shared navigation controller. */
|
|
13159
|
+
experimental_FileLink: ComponentType<ExperimentalFileLinkProps>;
|
|
12304
13160
|
/**
|
|
12305
13161
|
* The host-owned new-thread compose surface (see
|
|
12306
13162
|
* {@link NewThreadComposerProps}). Experimental: see
|
|
12307
13163
|
* docs/api_to_audit.md for what to audit before the prefix drops.
|
|
12308
13164
|
*/
|
|
12309
13165
|
experimental_NewThreadComposer: ComponentType<NewThreadComposerProps>;
|
|
13166
|
+
/**
|
|
13167
|
+
* The host-owned source viewer (see {@link SourceCodeProps}). Renders
|
|
13168
|
+
* supplied source text with BB's syntax highlighting, gutters, and live code
|
|
13169
|
+
* theme, and honours an active `experimental_sourceCodeRenderer`
|
|
13170
|
+
* replacement. Experimental: see docs/api_to_audit.md.
|
|
13171
|
+
*/
|
|
13172
|
+
experimental_SourceCode: ComponentType<SourceCodeProps>;
|
|
13173
|
+
/**
|
|
13174
|
+
* The host-owned diff viewer (see {@link DiffProps}). Renders supplied patch
|
|
13175
|
+
* content with BB's normalization, syntax highlighting, unified/split
|
|
13176
|
+
* presentation, and live code theme, and honours an active
|
|
13177
|
+
* `experimental_diffRenderer` replacement. Experimental: see
|
|
13178
|
+
* docs/api_to_audit.md.
|
|
13179
|
+
*/
|
|
13180
|
+
experimental_Diff: ComponentType<DiffProps>;
|
|
12310
13181
|
useComposerView(): ComposerView;
|
|
12311
13182
|
}
|
|
12312
13183
|
|
|
@@ -12618,6 +13489,9 @@ interface ProjectDefaultExecutionOptionsArgs {
|
|
|
12618
13489
|
projectId: string;
|
|
12619
13490
|
signal?: AbortSignal;
|
|
12620
13491
|
}
|
|
13492
|
+
interface ProjectSidebarBootstrapArgs {
|
|
13493
|
+
signal?: AbortSignal;
|
|
13494
|
+
}
|
|
12621
13495
|
interface ProjectAttachmentFileLike {
|
|
12622
13496
|
arrayBuffer(): Promise<ArrayBuffer>;
|
|
12623
13497
|
readonly name: string;
|
|
@@ -12684,6 +13558,7 @@ type ProjectListResult = ProjectResponse[] | ProjectWithThreadsResponse[];
|
|
|
12684
13558
|
type ProjectPathsResult = WorkspacePathListResponse;
|
|
12685
13559
|
type ProjectPromptHistoryResult = PromptHistoryResponse;
|
|
12686
13560
|
type ProjectReorderResult = ProjectResponse[];
|
|
13561
|
+
type ProjectSidebarBootstrapResult = SidebarBootstrapResponse;
|
|
12687
13562
|
type ProjectSourceAddResult = ProjectSource;
|
|
12688
13563
|
type ProjectSourceDeleteResult = {
|
|
12689
13564
|
ok: true;
|
|
@@ -12714,6 +13589,12 @@ interface ProjectsArea {
|
|
|
12714
13589
|
paths(args: ProjectPathsArgs): Promise<ProjectPathsResult>;
|
|
12715
13590
|
promptHistory(args: ProjectPromptHistoryArgs): Promise<ProjectPromptHistoryResult>;
|
|
12716
13591
|
reorder(args: ProjectReorderArgs): Promise<ProjectReorderResult>;
|
|
13592
|
+
/**
|
|
13593
|
+
* One round-trip navigation snapshot: thread sections, every project with
|
|
13594
|
+
* its live threads and resolved thread-creation defaults, and the personal
|
|
13595
|
+
* project. Backs the sidebar of the web and native apps.
|
|
13596
|
+
*/
|
|
13597
|
+
sidebarBootstrap(args?: ProjectSidebarBootstrapArgs): Promise<ProjectSidebarBootstrapResult>;
|
|
12717
13598
|
sources: ProjectSourcesArea;
|
|
12718
13599
|
update(args: ProjectUpdateArgs): Promise<ProjectUpdateResult>;
|
|
12719
13600
|
}
|
|
@@ -12730,6 +13611,7 @@ type ProviderHostRoutingArgs = {
|
|
|
12730
13611
|
hostId?: never;
|
|
12731
13612
|
};
|
|
12732
13613
|
type ProviderListArgs = ProviderHostRoutingArgs & {
|
|
13614
|
+
capability?: SystemProvidersQuery["capability"];
|
|
12733
13615
|
signal?: AbortSignal;
|
|
12734
13616
|
};
|
|
12735
13617
|
type ProviderModelsArgs = ProviderHostRoutingArgs & {
|
|
@@ -13148,14 +14030,10 @@ type SystemUpdateExperimentsResult = Experiments;
|
|
|
13148
14030
|
type SystemUpdateGeneralSettingsResult = AppSettings;
|
|
13149
14031
|
type SystemUpdateKeyboardSettingsResult = AppKeybindingOverrides;
|
|
13150
14032
|
type SystemUsageLimitsResult = ProviderUsageResponse;
|
|
13151
|
-
interface
|
|
14033
|
+
interface SystemProviderStatesArgs extends SystemProvidersQuery {
|
|
13152
14034
|
signal?: AbortSignal;
|
|
13153
14035
|
}
|
|
13154
|
-
|
|
13155
|
-
signal?: AbortSignal;
|
|
13156
|
-
}
|
|
13157
|
-
type SystemOnboardingAgentsResult = OnboardingAgentOverview;
|
|
13158
|
-
type SystemOnboardingReposResult = DiscoverReposResult;
|
|
14036
|
+
type SystemProviderStatesResult = SystemProviderStatesResponse;
|
|
13159
14037
|
type SystemVersionResult = SystemVersionResponse;
|
|
13160
14038
|
interface SystemArea {
|
|
13161
14039
|
attention(args?: SystemAttentionArgs): Promise<SystemAttentionResult>;
|
|
@@ -13174,14 +14052,8 @@ interface SystemArea {
|
|
|
13174
14052
|
updateExperiments(args: Experiments): Promise<SystemUpdateExperimentsResult>;
|
|
13175
14053
|
updateGeneralSettings(args: AppSettings): Promise<SystemUpdateGeneralSettingsResult>;
|
|
13176
14054
|
updateKeyboardSettings(args: AppKeybindingOverrides): Promise<SystemUpdateKeyboardSettingsResult>;
|
|
13177
|
-
/**
|
|
13178
|
-
|
|
13179
|
-
ok: true;
|
|
13180
|
-
}>;
|
|
13181
|
-
/** Live agent state for onboarding: install, auth, and plan per provider. */
|
|
13182
|
-
onboardingAgents(args?: SystemOnboardingArgs): Promise<SystemOnboardingAgentsResult>;
|
|
13183
|
-
/** Candidate projects discovered on the host, ranked for onboarding. */
|
|
13184
|
-
onboardingRepos(args?: SystemOnboardingReposArgs): Promise<SystemOnboardingReposResult>;
|
|
14055
|
+
/** Live host-local install and authentication state for every provider. */
|
|
14056
|
+
providerStates(args?: SystemProviderStatesArgs): Promise<SystemProviderStatesResult>;
|
|
13185
14057
|
usageLimits(args?: SystemUsageLimitsArgs): Promise<SystemUsageLimitsResult>;
|
|
13186
14058
|
version(args?: SystemVersionArgs): Promise<SystemVersionResult>;
|
|
13187
14059
|
}
|
|
@@ -13365,6 +14237,7 @@ type ThreadQueuedMessageGroupBoundaryResult = ThreadQueuedMessageListResponse;
|
|
|
13365
14237
|
type ThreadTabsResult = ThreadTabsResponse;
|
|
13366
14238
|
type ThreadTabsUpdateResult = ThreadTabsResponse;
|
|
13367
14239
|
type ThreadStorageFilesResult = ThreadStorageFileListResponse;
|
|
14240
|
+
type ThreadStorageLocationResult = ThreadStorageLocationResponse;
|
|
13368
14241
|
type ThreadStoragePathsResult = ThreadStoragePathListResponse;
|
|
13369
14242
|
type ThreadChildSummaryResult = ThreadChildSummaryResponse;
|
|
13370
14243
|
type ThreadDefaultExecutionOptionsResult = ResolvedThreadExecutionOptions | null;
|
|
@@ -13593,6 +14466,7 @@ interface ThreadsArea {
|
|
|
13593
14466
|
timeline(args: ThreadTimelineArgs): Promise<ThreadTimelineResult>;
|
|
13594
14467
|
timelineTurnSummaryDetails(args: ThreadTimelineTurnSummaryDetailsArgs): Promise<ThreadTimelineTurnSummaryDetailsResult>;
|
|
13595
14468
|
storageFiles(args: ThreadStorageFilesArgs): Promise<ThreadStorageFilesResult>;
|
|
14469
|
+
storageLocation(args: ThreadStatusArgs): Promise<ThreadStorageLocationResult>;
|
|
13596
14470
|
storagePaths(args: ThreadStoragePathsArgs): Promise<ThreadStoragePathsResult>;
|
|
13597
14471
|
unarchive(args: ThreadActionArgs): Promise<ThreadUnarchiveResult>;
|
|
13598
14472
|
unpin(args: ThreadActionArgs): Promise<ThreadMutationResult>;
|
|
@@ -13614,10 +14488,14 @@ interface ThreadSectionsArea {
|
|
|
13614
14488
|
update(args: UpdateThreadSectionRequest): Promise<ThreadSectionUpdateResult>;
|
|
13615
14489
|
}
|
|
13616
14490
|
|
|
13617
|
-
|
|
14491
|
+
/**
|
|
14492
|
+
* Every server-backed SDK area. The Node SDK adds the local `guide` area on
|
|
14493
|
+
* top of this; the browser SDK omits it so the generated guide templates
|
|
14494
|
+
* (~112 KB of markdown) stay out of the web app's boot chunk.
|
|
14495
|
+
*/
|
|
14496
|
+
interface BbSdkAreas extends BbRealtime {
|
|
13618
14497
|
environments: EnvironmentsArea;
|
|
13619
14498
|
files: FilesArea;
|
|
13620
|
-
guide: GuideArea;
|
|
13621
14499
|
hosts: HostsArea;
|
|
13622
14500
|
projects: ProjectsArea;
|
|
13623
14501
|
plugins: PluginsArea;
|
|
@@ -13630,6 +14508,9 @@ interface BbSdk extends BbRealtime {
|
|
|
13630
14508
|
threadSections: ThreadSectionsArea;
|
|
13631
14509
|
threads: ThreadsArea;
|
|
13632
14510
|
}
|
|
14511
|
+
interface BbSdk extends BbSdkAreas {
|
|
14512
|
+
guide: GuideArea;
|
|
14513
|
+
}
|
|
13633
14514
|
|
|
13634
14515
|
interface ExperimentalHostSignalContract<PayloadSchema extends StandardSchemaV1 = StandardSchemaV1> {
|
|
13635
14516
|
readonly payload: PayloadSchema;
|
|
@@ -13810,9 +14691,11 @@ interface PluginStorage {
|
|
|
13810
14691
|
/** Namespaced JSON key-value rows in bb.db; values ≤256KB each. */
|
|
13811
14692
|
kv: PluginKvStorage;
|
|
13812
14693
|
/**
|
|
13813
|
-
*
|
|
13814
|
-
*
|
|
13815
|
-
*
|
|
14694
|
+
* The plugin's own SQLite database at <dataDir>/plugins/<id>/data.db — the
|
|
14695
|
+
* server's better-sqlite3, WAL mode, busy_timeout 5000. Returns the same
|
|
14696
|
+
* open handle for the whole plugin load, so calling it per request is
|
|
14697
|
+
* cheap; a new handle is opened only on the first call or after the
|
|
14698
|
+
* plugin closed the previous one. The host closes handles on
|
|
13816
14699
|
* dispose/reload; a closed handle throws on use.
|
|
13817
14700
|
*/
|
|
13818
14701
|
database(): Database.Database;
|
|
@@ -13902,7 +14785,10 @@ interface PluginBackground {
|
|
|
13902
14785
|
* factory completes and should resolve when `signal` aborts
|
|
13903
14786
|
* (dispose/reload/disable/shutdown). A crash restarts it with capped
|
|
13904
14787
|
* exponential backoff; throwing NeedsConfigurationError marks the plugin
|
|
13905
|
-
* `needs-configuration` and stops restarting until the next load.
|
|
14788
|
+
* `needs-configuration` and stops restarting until the next load. An
|
|
14789
|
+
* error raised outside the `start` promise (an unlistened EventEmitter
|
|
14790
|
+
* 'error', a throw in a timer callback, a detached rejection) counts as
|
|
14791
|
+
* a crash too: the run is aborted and restarted the same way.
|
|
13906
14792
|
*/
|
|
13907
14793
|
service(name: string, service: {
|
|
13908
14794
|
start(signal: AbortSignal): void | Promise<void>;
|
|
@@ -14142,10 +15028,23 @@ type PluginProviderComposerAction = "goal" | "plan";
|
|
|
14142
15028
|
* live session (picker rendering, route gating, cross-plugin tool
|
|
14143
15029
|
* composition — including with the host offline). Every boolean is a
|
|
14144
15030
|
* provider-native fact — the provider implements the feature; the flag only
|
|
14145
|
-
* tells external consumers it exists.
|
|
14146
|
-
*
|
|
15031
|
+
* tells external consumers it exists. Session-behavior facts remain handshake
|
|
15032
|
+
* capabilities reported by the running bridge. Sessionless maintenance
|
|
15033
|
+
* methods are declared here so callers can decide whether to probe without
|
|
15034
|
+
* starting the bridge first.
|
|
14147
15035
|
*/
|
|
14148
15036
|
interface PluginProviderCapabilities {
|
|
15037
|
+
/** The provider bridge implements the sessionless `provider/health`
|
|
15038
|
+
* request. This is host-local readiness, not a network health check. */
|
|
15039
|
+
experimental_providerHealth: boolean;
|
|
15040
|
+
/** The provider exposes subscription usage through the sessionless
|
|
15041
|
+
* `provider/usage` request. False means callers skip the request and usage
|
|
15042
|
+
* settings omit the provider. A shared bridge that declares true may still
|
|
15043
|
+
* report usage unavailable for one provider id or return no windows. */
|
|
15044
|
+
experimental_providerUsage: boolean;
|
|
15045
|
+
/** The provider bridge implements `provider/installation/status` and
|
|
15046
|
+
* `provider/installation/run` for host-local installation management. */
|
|
15047
|
+
experimental_providerInstallation: boolean;
|
|
14149
15048
|
/** The provider accepts a fast/priority service-tier choice — shows the
|
|
14150
15049
|
* service-tier toggle in the picker. */
|
|
14151
15050
|
supportsServiceTier: boolean;
|
|
@@ -14189,11 +15088,11 @@ interface PluginProviderCapabilities {
|
|
|
14189
15088
|
* refused. Registrations are replaced wholesale on plugin reload, like every
|
|
14190
15089
|
* other plugin surface.
|
|
14191
15090
|
*
|
|
14192
|
-
* A declaration
|
|
14193
|
-
*
|
|
14194
|
-
*
|
|
14195
|
-
*
|
|
14196
|
-
* run.
|
|
15091
|
+
* A declaration owns the provider's static metadata and bridge options. The
|
|
15092
|
+
* executable implementation is the plugin's own provider bridge, named by
|
|
15093
|
+
* `bb.providerBridge` in the manifest and built into the artifact BB ships to
|
|
15094
|
+
* hosts — declaring a provider without one is refused, because the picker
|
|
15095
|
+
* entry would exist and no turn on it could ever run.
|
|
14197
15096
|
*/
|
|
14198
15097
|
interface PluginProviderDeclaration {
|
|
14199
15098
|
/** Stable provider id: 2–64 characters of lowercase letters, digits, and
|
|
@@ -14209,6 +15108,19 @@ interface PluginProviderDeclaration {
|
|
|
14209
15108
|
* — no leading "/", no ".." segments, no backslashes.
|
|
14210
15109
|
*/
|
|
14211
15110
|
icon?: string;
|
|
15111
|
+
/**
|
|
15112
|
+
* Provider-owned static options passed opaquely to this plugin's bridge on
|
|
15113
|
+
* every sessionless and session request. Core validates that the value is
|
|
15114
|
+
* JSON, but does not interpret its keys. This is intended for immutable
|
|
15115
|
+
* launch metadata shared by every host (for example an ACP command spec),
|
|
15116
|
+
* not user or machine configuration.
|
|
15117
|
+
*/
|
|
15118
|
+
experimental_bridgeOptions?: Readonly<Record<string, JsonValue>>;
|
|
15119
|
+
/**
|
|
15120
|
+
* Whether the provider is always listed or only listed on hosts where its
|
|
15121
|
+
* bridge reports it installed. Defaults to `"always"`.
|
|
15122
|
+
*/
|
|
15123
|
+
experimental_visibility?: "always" | "installed";
|
|
14212
15124
|
/** Pre-session capability facts (see the declaration tests on
|
|
14213
15125
|
* {@link PluginProviderCapabilities}). */
|
|
14214
15126
|
capabilities: PluginProviderCapabilities;
|
|
@@ -14458,4 +15370,4 @@ interface BbPluginApi {
|
|
|
14458
15370
|
}
|
|
14459
15371
|
|
|
14460
15372
|
export { PLUGIN_CLI_OUTPUT_MAX_BYTES, defineRpcContract, experimental_defineHostEntry };
|
|
14461
|
-
export type { BbContext, BbNavigate, BbPluginApi, ComposerCustomization, ComposerPlusMenuItem, ComposerRichTextSpec, ComposerStructuredDraft, ComposerView, ExperimentalHostCallOptions, ExperimentalHostClient, ExperimentalHostEntry, ExperimentalHostPaths, ExperimentalHostRpcContext, ExperimentalHostRpcHandlers, ExperimentalHostSignalContract, ExperimentalHostSignalEvent, ExperimentalHostSignals, ExperimentalHostWatchChange, ExperimentalHostWatchChangeType, ExperimentalHostWatchEvent, ExperimentalHostWatchListener, ExperimentalHostWatchOptions, ExperimentalHostWatchSubscription, ExperimentalHostWorkerLease, JsonValue, MarkdownProps, NewThreadComposerProps, NewThreadRequest, PluginAgentConfiguration, PluginAgentConfigurationContext, PluginAgentToolContentPart, PluginAgentToolContext, PluginAgentToolExperimentalStatusLabels, PluginAgentToolRegistrationBase, PluginAgentToolResult, PluginAgentToolSelection, PluginAgents, PluginAppBuilder, PluginAppComposer, PluginAppContentScripts, PluginAppDefinition, PluginAppSetup, PluginAppSlots, PluginBackground, PluginCli, PluginCliCommandInfo, PluginCliContext, PluginCliExecutionResult, PluginCliOutputLimitError, PluginCliRegistration, PluginCliResult, PluginComposerApi, PluginComposerMention, PluginComposerScope, PluginComposerTextEffect, PluginComposerThreadRowStatus, PluginContentScriptContext, PluginContentScriptDisposer, PluginContentScriptRegistration, PluginEvents, PluginFileOpenerProps, PluginFileOpenerRegistration, PluginFileOpenerSource, PluginHomepageSectionProps, PluginHomepageSectionRegistration, PluginHosts, PluginHttp, PluginHttpAuthMode, PluginHttpHandler, PluginInteractionCancelReason, PluginInteractionRequest, PluginInteractionResult, PluginKvStorage, PluginLogger, PluginMentionItem, PluginMentionProviderRegistration, PluginMentionSearchContext, PluginMentionTrigger, PluginMessageActionContext, PluginMessageActionRegistration, PluginMessageDirectiveMessage, PluginMessageDirectiveOpenWorkspaceFile, PluginMessageDirectiveProps, PluginMessageDirectiveRegistration, PluginNavPanelProps, PluginNavPanelRegistration, PluginNewThreadPanelActionContext, PluginNewThreadPanelActionRegistration, PluginNewThreadPanelProps, PluginPanelActionOpenOptions, PluginPendingInteractionProps, PluginPendingInteractionRegistration, PluginPendingInteractionView, PluginProviderCapabilities, PluginProviderComposerAction, PluginProviderDeclaration, PluginProviderIconRegistration, PluginProviderPermissionMode, PluginProviderReasoningLevel, PluginRealtime, PluginRealtimeConnectionState, PluginRpc, PluginRpcCallArgs, PluginRpcClient, PluginRpcContract, PluginRpcError, PluginRpcErrorCode, PluginRpcHandlers, PluginRpcIssuePathSegment, PluginRpcMethodContract, PluginRpcResult, PluginRpcValidationIssue, PluginSdkApp, PluginServerApi, PluginSettingDescriptor, PluginSettingDescriptors, PluginSettingValue, PluginSettings, PluginSettingsHandle, PluginSettingsSectionProps, PluginSettingsSectionRegistration, PluginSettingsState, PluginSettingsValues, PluginSharedPortTunnelIdentity, PluginSidebarFooterActionContext, PluginSidebarFooterActionProps, PluginSidebarFooterActionRegistration, PluginSidebarProject, PluginSidebarPullRequest, PluginSidebarSplitPane, PluginSidebarThread, PluginSidebarThreadActions, PluginSidebarThreadActivity, PluginSidebarThreadIndicator, PluginSidebarThreadPullRequestState, PluginSidebarThreadSplit, PluginSidebarThreadsState, PluginSidebarWorkspaceKind, PluginStatusApi, PluginStorage, PluginTargetedPanelActionOpenOptions, PluginThreadEventHandler, PluginThreadEventName, PluginThreadEventPayloads, PluginThreadHeaderActionProps, PluginThreadHeaderActionRegistration, PluginThreadListProps, PluginThreadListRegistration, PluginThreadPanelActionContext, PluginThreadPanelActionRegistration, PluginThreadPanelProps, PluginUi, StandardSchemaV1, StandardSchemaV1InferInput, StandardSchemaV1InferOutput, StandardSchemaV1Issue, StandardSchemaV1Result, ThreadChatMessageAction, ThreadChatMessageReference, ThreadChatProps };
|
|
15373
|
+
export type { BbContext, BbNavigate, BbPluginApi, CodeOverflowMode, ComposerCustomization, ComposerPlusMenuItem, ComposerRichTextSpec, ComposerStructuredDraft, ComposerView, DiffProps, DiffViewMode, ExperimentalAppPanel, ExperimentalAppPanelSurface, ExperimentalFileLinkProps, ExperimentalFileLocation, ExperimentalFileOpenOptions, ExperimentalFixedTabTargetContract, ExperimentalFixedTabTargetState, ExperimentalHostCallOptions, ExperimentalHostClient, ExperimentalHostEntry, ExperimentalHostPaths, ExperimentalHostRpcContext, ExperimentalHostRpcHandlers, ExperimentalHostSignalContract, ExperimentalHostSignalEvent, ExperimentalHostSignals, ExperimentalHostWatchChange, ExperimentalHostWatchChangeType, ExperimentalHostWatchEvent, ExperimentalHostWatchListener, ExperimentalHostWatchOptions, ExperimentalHostWatchSubscription, ExperimentalHostWorkerLease, ExperimentalLiveFileTarget, ExperimentalOpenFixedTabOptions, ExperimentalPluginFixedTabDeclaration, ExperimentalPluginFixedTabReference, ExperimentalPluginFixedTabRegistration, ExperimentalUrlLinkProps, JsonValue, MarkdownProps, NewThreadComposerProps, NewThreadRequest, PluginAgentConfiguration, PluginAgentConfigurationContext, PluginAgentToolContentPart, PluginAgentToolContext, PluginAgentToolExperimentalStatusLabels, PluginAgentToolRegistrationBase, PluginAgentToolResult, PluginAgentToolSelection, PluginAgents, PluginAppBuilder, PluginAppComposer, PluginAppContentScripts, PluginAppDefinition, PluginAppSetup, PluginAppSlots, PluginBackground, PluginCli, PluginCliCommandInfo, PluginCliContext, PluginCliExecutionResult, PluginCliOutputLimitError, PluginCliRegistration, PluginCliResult, PluginComposerApi, PluginComposerMention, PluginComposerScope, PluginComposerTextEffect, PluginComposerThreadRowStatus, PluginContentScriptContext, PluginContentScriptDisposer, PluginContentScriptRegistration, PluginDiffRendererProps, PluginDiffRendererRegistration, PluginEvents, PluginFileOpenerProps, PluginFileOpenerRegistration, PluginFileOpenerSource, PluginHomepageSectionProps, PluginHomepageSectionRegistration, PluginHosts, PluginHttp, PluginHttpAuthMode, PluginHttpHandler, PluginInteractionCancelReason, PluginInteractionRequest, PluginInteractionResult, PluginKvStorage, PluginLogger, PluginMentionItem, PluginMentionProviderRegistration, PluginMentionSearchContext, PluginMentionTrigger, PluginMessageActionContext, PluginMessageActionRegistration, PluginMessageDirectiveMessage, PluginMessageDirectiveOpenWorkspaceFile, PluginMessageDirectiveProps, PluginMessageDirectiveRegistration, PluginNavPanelProps, PluginNavPanelRegistration, PluginNewThreadPanelActionContext, PluginNewThreadPanelActionRegistration, PluginNewThreadPanelProps, PluginPanelActionOpenOptions, PluginPendingInteractionProps, PluginPendingInteractionRegistration, PluginPendingInteractionView, PluginProviderCapabilities, PluginProviderComposerAction, PluginProviderDeclaration, PluginProviderIconRegistration, PluginProviderPermissionMode, PluginProviderReasoningLevel, PluginRealtime, PluginRealtimeConnectionState, PluginRpc, PluginRpcCallArgs, PluginRpcClient, PluginRpcContract, PluginRpcError, PluginRpcErrorCode, PluginRpcHandlers, PluginRpcIssuePathSegment, PluginRpcMethodContract, PluginRpcResult, PluginRpcValidationIssue, PluginSdkApp, PluginServerApi, PluginSettingDescriptor, PluginSettingDescriptors, PluginSettingValue, PluginSettings, PluginSettingsHandle, PluginSettingsSectionProps, PluginSettingsSectionRegistration, PluginSettingsState, PluginSettingsValues, PluginSharedPortTunnelIdentity, PluginSidebarFooterActionContext, PluginSidebarFooterActionProps, PluginSidebarFooterActionRegistration, PluginSidebarProject, PluginSidebarPullRequest, PluginSidebarSplitPane, PluginSidebarThread, PluginSidebarThreadActions, PluginSidebarThreadActivity, PluginSidebarThreadIndicator, PluginSidebarThreadPullRequestState, PluginSidebarThreadSplit, PluginSidebarThreadsState, PluginSidebarWorkspaceKind, PluginSourceCodeRendererProps, PluginSourceCodeRendererRegistration, PluginStatusApi, PluginStorage, PluginTargetedPanelActionOpenOptions, PluginThreadEventHandler, PluginThreadEventName, PluginThreadEventPayloads, PluginThreadHeaderActionProps, PluginThreadHeaderActionRegistration, PluginThreadListProps, PluginThreadListRegistration, PluginThreadPanelActionContext, PluginThreadPanelActionRegistration, PluginThreadPanelProps, PluginUi, SourceCodeLineRange, SourceCodeProps, StandardSchemaV1, StandardSchemaV1InferInput, StandardSchemaV1InferOutput, StandardSchemaV1Issue, StandardSchemaV1Result, ThreadChatMessageAction, ThreadChatMessageReference, ThreadChatProps };
|