@vibesdotdev/integrations-pi 0.0.0-stage → 1.0.0-rc.1
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/LICENSE +126 -0
- package/REFERENCE.md +284 -0
- package/dist/extension/active-tools.d.ts +17 -0
- package/dist/extension/active-tools.d.ts.map +1 -0
- package/dist/extension/active-tools.js +47 -0
- package/dist/extension/active-tools.js.map +1 -0
- package/dist/extension/approvals.d.ts +26 -0
- package/dist/extension/approvals.d.ts.map +1 -0
- package/dist/extension/approvals.js +124 -0
- package/dist/extension/approvals.js.map +1 -0
- package/dist/extension/boot.d.ts +18 -0
- package/dist/extension/boot.d.ts.map +1 -0
- package/dist/extension/boot.js +129 -0
- package/dist/extension/boot.js.map +1 -0
- package/dist/extension/chrome.d.ts +37 -0
- package/dist/extension/chrome.d.ts.map +1 -0
- package/dist/extension/chrome.js +160 -0
- package/dist/extension/chrome.js.map +1 -0
- package/dist/extension/commands.d.ts +41 -0
- package/dist/extension/commands.d.ts.map +1 -0
- package/dist/extension/commands.js +47 -0
- package/dist/extension/commands.js.map +1 -0
- package/dist/extension/entry.d.ts +9 -0
- package/dist/extension/entry.d.ts.map +1 -0
- package/dist/extension/entry.js +16 -0
- package/dist/extension/entry.js.map +1 -0
- package/dist/extension/events.d.ts +17 -0
- package/dist/extension/events.d.ts.map +1 -0
- package/dist/extension/events.js +42 -0
- package/dist/extension/events.js.map +1 -0
- package/dist/extension/index.d.ts +54 -0
- package/dist/extension/index.d.ts.map +1 -0
- package/dist/extension/index.js +547 -0
- package/dist/extension/index.js.map +1 -0
- package/dist/extension/models.d.ts +30 -0
- package/dist/extension/models.d.ts.map +1 -0
- package/dist/extension/models.js +104 -0
- package/dist/extension/models.js.map +1 -0
- package/dist/extension/render.d.ts +17 -0
- package/dist/extension/render.d.ts.map +1 -0
- package/dist/extension/render.js +107 -0
- package/dist/extension/render.js.map +1 -0
- package/dist/extension/runtime-host.d.ts +6 -0
- package/dist/extension/runtime-host.d.ts.map +1 -0
- package/dist/extension/runtime-host.js +2 -0
- package/dist/extension/runtime-host.js.map +1 -0
- package/dist/external/external.plugin.d.ts +7 -0
- package/dist/external/external.plugin.d.ts.map +1 -0
- package/dist/external/external.plugin.js +44 -0
- package/dist/external/external.plugin.js.map +1 -0
- package/dist/external/index.d.ts +8 -0
- package/dist/external/index.d.ts.map +1 -0
- package/dist/external/index.js +8 -0
- package/dist/external/index.js.map +1 -0
- package/dist/external/pi/bootstrap.d.ts +34 -0
- package/dist/external/pi/bootstrap.d.ts.map +1 -0
- package/dist/external/pi/bootstrap.js +238 -0
- package/dist/external/pi/bootstrap.js.map +1 -0
- package/dist/external/pi/guide.d.ts +3 -0
- package/dist/external/pi/guide.d.ts.map +1 -0
- package/dist/external/pi/guide.js +33 -0
- package/dist/external/pi/guide.js.map +1 -0
- package/dist/external/pi/index.d.ts +162 -0
- package/dist/external/pi/index.d.ts.map +1 -0
- package/dist/external/pi/index.js +7 -0
- package/dist/external/pi/index.js.map +1 -0
- package/dist/external/pi/installer.d.ts +19 -0
- package/dist/external/pi/installer.d.ts.map +1 -0
- package/dist/external/pi/installer.descriptor.d.ts +373 -0
- package/dist/external/pi/installer.descriptor.d.ts.map +1 -0
- package/dist/external/pi/installer.descriptor.js +43 -0
- package/dist/external/pi/installer.descriptor.js.map +1 -0
- package/dist/external/pi/installer.js +82 -0
- package/dist/external/pi/installer.js.map +1 -0
- package/dist/external/pi/installers/errors.d.ts +16 -0
- package/dist/external/pi/installers/errors.d.ts.map +1 -0
- package/dist/external/pi/installers/errors.js +15 -0
- package/dist/external/pi/installers/errors.js.map +1 -0
- package/dist/external/pi/installers/extension.d.ts +16 -0
- package/dist/external/pi/installers/extension.d.ts.map +1 -0
- package/dist/external/pi/installers/extension.js +292 -0
- package/dist/external/pi/installers/extension.js.map +1 -0
- package/dist/external/pi/installers/plan.d.ts +29 -0
- package/dist/external/pi/installers/plan.d.ts.map +1 -0
- package/dist/external/pi/installers/plan.js +391 -0
- package/dist/external/pi/installers/plan.js.map +1 -0
- package/dist/external/pi/installers/transaction.d.ts +5 -0
- package/dist/external/pi/installers/transaction.d.ts.map +1 -0
- package/dist/external/pi/installers/transaction.js +66 -0
- package/dist/external/pi/installers/transaction.js.map +1 -0
- package/dist/external/pi/manifest.d.ts +6 -0
- package/dist/external/pi/manifest.d.ts.map +1 -0
- package/dist/external/pi/manifest.js +91 -0
- package/dist/external/pi/manifest.js.map +1 -0
- package/dist/external/pi-presets.d.ts +817 -0
- package/dist/external/pi-presets.d.ts.map +1 -0
- package/dist/external/pi-presets.js +75 -0
- package/dist/external/pi-presets.js.map +1 -0
- package/dist/harness/constants.d.ts +46 -0
- package/dist/harness/constants.d.ts.map +1 -0
- package/dist/harness/constants.js +52 -0
- package/dist/harness/constants.js.map +1 -0
- package/dist/harness/identity.d.ts +29 -0
- package/dist/harness/identity.d.ts.map +1 -0
- package/dist/harness/identity.js +40 -0
- package/dist/harness/identity.js.map +1 -0
- package/dist/harness/index.d.ts +19 -0
- package/dist/harness/index.d.ts.map +1 -0
- package/dist/harness/index.js +18 -0
- package/dist/harness/index.js.map +1 -0
- package/dist/harness/managed-block.d.ts +20 -0
- package/dist/harness/managed-block.d.ts.map +1 -0
- package/dist/harness/managed-block.js +23 -0
- package/dist/harness/managed-block.js.map +1 -0
- package/dist/harness/pi-naming.d.ts +32 -0
- package/dist/harness/pi-naming.d.ts.map +1 -0
- package/dist/harness/pi-naming.js +110 -0
- package/dist/harness/pi-naming.js.map +1 -0
- package/dist/harness/preflight.d.ts +5 -0
- package/dist/harness/preflight.d.ts.map +1 -0
- package/dist/harness/preflight.js +163 -0
- package/dist/harness/preflight.js.map +1 -0
- package/dist/harness/prompt.d.ts +14 -0
- package/dist/harness/prompt.d.ts.map +1 -0
- package/dist/harness/prompt.js +15 -0
- package/dist/harness/prompt.js.map +1 -0
- package/dist/harness/runtime.d.ts +137 -0
- package/dist/harness/runtime.d.ts.map +1 -0
- package/dist/harness/runtime.js +53 -0
- package/dist/harness/runtime.js.map +1 -0
- package/dist/harness/scope.d.ts +11 -0
- package/dist/harness/scope.d.ts.map +1 -0
- package/dist/harness/scope.js +47 -0
- package/dist/harness/scope.js.map +1 -0
- package/dist/harness/themes.d.ts +30 -0
- package/dist/harness/themes.d.ts.map +1 -0
- package/dist/harness/themes.js +225 -0
- package/dist/harness/themes.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -0
- package/dist/schemas/extension-api.d.ts +102 -0
- package/dist/schemas/extension-api.d.ts.map +1 -0
- package/dist/schemas/extension-api.js +2 -0
- package/dist/schemas/extension-api.js.map +1 -0
- package/dist/schemas/extension-host.d.ts +11 -0
- package/dist/schemas/extension-host.d.ts.map +1 -0
- package/dist/schemas/extension-host.js +12 -0
- package/dist/schemas/extension-host.js.map +1 -0
- package/dist/schemas/extension.d.ts +212 -0
- package/dist/schemas/extension.d.ts.map +1 -0
- package/dist/schemas/extension.js +93 -0
- package/dist/schemas/extension.js.map +1 -0
- package/dist/schemas/installer.d.ts +872 -0
- package/dist/schemas/installer.d.ts.map +1 -0
- package/dist/schemas/installer.js +138 -0
- package/dist/schemas/installer.js.map +1 -0
- package/dist/themes/vibes-dark.json +63 -0
- package/dist/themes/vibes-high-contrast.json +63 -0
- package/dist/themes/vibes-light.json +63 -0
- package/package.json +110 -4
- package/README.md +0 -3
|
@@ -0,0 +1,872 @@
|
|
|
1
|
+
import type { RuntimeRef } from '@vibesdotdev/kernel';
|
|
2
|
+
import * as z from 'zod/v4';
|
|
3
|
+
export declare const PiProfileSchema: z.ZodEnum<{
|
|
4
|
+
isolated: "isolated";
|
|
5
|
+
"safe-hybrid": "safe-hybrid";
|
|
6
|
+
native: "native";
|
|
7
|
+
}>;
|
|
8
|
+
export type PiToolPolicyProfile = z.infer<typeof PiProfileSchema>;
|
|
9
|
+
export declare const PiScopeSchema: z.ZodEnum<{
|
|
10
|
+
global: "global";
|
|
11
|
+
project: "project";
|
|
12
|
+
}>;
|
|
13
|
+
export type PiScope = z.infer<typeof PiScopeSchema>;
|
|
14
|
+
export declare const PiThemeNameSchema: z.ZodEnum<{
|
|
15
|
+
"vibes-dark": "vibes-dark";
|
|
16
|
+
"vibes-light": "vibes-light";
|
|
17
|
+
"vibes-high-contrast": "vibes-high-contrast";
|
|
18
|
+
}>;
|
|
19
|
+
export declare const PiCheckIdSchema: z.ZodEnum<{
|
|
20
|
+
"pi-cli": "pi-cli";
|
|
21
|
+
"vibes-cli": "vibes-cli";
|
|
22
|
+
bun: "bun";
|
|
23
|
+
"package-resolution": "package-resolution";
|
|
24
|
+
writability: "writability";
|
|
25
|
+
"merge-safety": "merge-safety";
|
|
26
|
+
}>;
|
|
27
|
+
export declare const PiSkipChecksSchema: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>, z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodUndefined, z.ZodTransform<never[], undefined>>]>, z.ZodTransform<string[], string[] | never[]>>, z.ZodArray<z.ZodEnum<{
|
|
28
|
+
"pi-cli": "pi-cli";
|
|
29
|
+
"vibes-cli": "vibes-cli";
|
|
30
|
+
bun: "bun";
|
|
31
|
+
"package-resolution": "package-resolution";
|
|
32
|
+
writability: "writability";
|
|
33
|
+
"merge-safety": "merge-safety";
|
|
34
|
+
}>>>;
|
|
35
|
+
export declare const PiOperationOptionsSchema: z.ZodObject<{
|
|
36
|
+
profile: z.ZodOptional<z.ZodEnum<{
|
|
37
|
+
isolated: "isolated";
|
|
38
|
+
"safe-hybrid": "safe-hybrid";
|
|
39
|
+
native: "native";
|
|
40
|
+
}>>;
|
|
41
|
+
skipCheck: z.ZodDefault<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>, z.ZodArray<z.ZodString>, z.ZodPipe<z.ZodUndefined, z.ZodTransform<never[], undefined>>]>, z.ZodTransform<string[], string[] | never[]>>, z.ZodArray<z.ZodEnum<{
|
|
42
|
+
"pi-cli": "pi-cli";
|
|
43
|
+
"vibes-cli": "vibes-cli";
|
|
44
|
+
bun: "bun";
|
|
45
|
+
"package-resolution": "package-resolution";
|
|
46
|
+
writability: "writability";
|
|
47
|
+
"merge-safety": "merge-safety";
|
|
48
|
+
}>>>>;
|
|
49
|
+
}, z.core.$strip>;
|
|
50
|
+
export declare const PiStringListSchema: z.ZodArray<z.ZodString>;
|
|
51
|
+
export declare const PiSettingsSchema: z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>;
|
|
52
|
+
export type PiSettings = z.infer<typeof PiSettingsSchema>;
|
|
53
|
+
export type PiSetting = PiSettings[string];
|
|
54
|
+
export declare const PiManagedSettingsSchema: z.ZodObject<{
|
|
55
|
+
package: z.ZodDefault<z.ZodString>;
|
|
56
|
+
markerVersion: z.ZodDefault<z.ZodNumber>;
|
|
57
|
+
profile: z.ZodDefault<z.ZodEnum<{
|
|
58
|
+
isolated: "isolated";
|
|
59
|
+
"safe-hybrid": "safe-hybrid";
|
|
60
|
+
native: "native";
|
|
61
|
+
}>>;
|
|
62
|
+
extensionRef: z.ZodDefault<z.ZodString>;
|
|
63
|
+
previousDefaultTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
64
|
+
previousTheme: z.ZodOptional<z.ZodString>;
|
|
65
|
+
themeContents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
66
|
+
addedThemeRef: z.ZodOptional<z.ZodBoolean>;
|
|
67
|
+
selectedTheme: z.ZodOptional<z.ZodBoolean>;
|
|
68
|
+
}, z.core.$strip>;
|
|
69
|
+
export type PiManagedSettings = z.infer<typeof PiManagedSettingsSchema>;
|
|
70
|
+
export declare const PiFileChangeKindSchema: z.ZodEnum<{
|
|
71
|
+
settings: "settings";
|
|
72
|
+
extension: "extension";
|
|
73
|
+
"system-prompt": "system-prompt";
|
|
74
|
+
theme: "theme";
|
|
75
|
+
}>;
|
|
76
|
+
export declare const PiPlannedChangeSchema: z.ZodObject<{
|
|
77
|
+
kind: z.ZodEnum<{
|
|
78
|
+
settings: "settings";
|
|
79
|
+
extension: "extension";
|
|
80
|
+
"system-prompt": "system-prompt";
|
|
81
|
+
theme: "theme";
|
|
82
|
+
}>;
|
|
83
|
+
action: z.ZodEnum<{
|
|
84
|
+
created: "created";
|
|
85
|
+
updated: "updated";
|
|
86
|
+
preserved: "preserved";
|
|
87
|
+
removed: "removed";
|
|
88
|
+
}>;
|
|
89
|
+
summary: z.ZodString;
|
|
90
|
+
}, z.core.$strip>;
|
|
91
|
+
export type PiPlannedChange = z.infer<typeof PiPlannedChangeSchema>;
|
|
92
|
+
export type PiFileChangeKind = z.infer<typeof PiFileChangeKindSchema>;
|
|
93
|
+
export declare const PiPlanConflictSchema: z.ZodObject<{
|
|
94
|
+
kind: z.ZodEnum<{
|
|
95
|
+
settings: "settings";
|
|
96
|
+
extension: "extension";
|
|
97
|
+
"system-prompt": "system-prompt";
|
|
98
|
+
theme: "theme";
|
|
99
|
+
}>;
|
|
100
|
+
reason: z.ZodString;
|
|
101
|
+
remedy: z.ZodString;
|
|
102
|
+
}, z.core.$strip>;
|
|
103
|
+
export type PiPlanConflict = z.infer<typeof PiPlanConflictSchema>;
|
|
104
|
+
export declare const PiThemeFileSchema: z.ZodObject<{
|
|
105
|
+
name: z.ZodEnum<{
|
|
106
|
+
"vibes-dark": "vibes-dark";
|
|
107
|
+
"vibes-light": "vibes-light";
|
|
108
|
+
"vibes-high-contrast": "vibes-high-contrast";
|
|
109
|
+
}>;
|
|
110
|
+
filename: z.ZodString;
|
|
111
|
+
content: z.ZodString;
|
|
112
|
+
}, z.core.$strip>;
|
|
113
|
+
export declare const PiPlanInputSchema: z.ZodObject<{
|
|
114
|
+
packageName: z.ZodString;
|
|
115
|
+
profile: z.ZodOptional<z.ZodEnum<{
|
|
116
|
+
isolated: "isolated";
|
|
117
|
+
"safe-hybrid": "safe-hybrid";
|
|
118
|
+
native: "native";
|
|
119
|
+
}>>;
|
|
120
|
+
extensionRef: z.ZodString;
|
|
121
|
+
knownBuiltins: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
122
|
+
extension: z.ZodOptional<z.ZodString>;
|
|
123
|
+
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
124
|
+
settings: z.ZodOptional<z.ZodString>;
|
|
125
|
+
themes: z.ZodOptional<z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodString>>>>;
|
|
126
|
+
}, z.core.$strip>;
|
|
127
|
+
export type PiPlanInput = z.infer<typeof PiPlanInputSchema>;
|
|
128
|
+
export declare const PiPlanSchema: z.ZodObject<{
|
|
129
|
+
extensionContent: z.ZodString;
|
|
130
|
+
systemPromptContent: z.ZodString;
|
|
131
|
+
settingsContent: z.ZodString;
|
|
132
|
+
changes: z.ZodArray<z.ZodObject<{
|
|
133
|
+
kind: z.ZodEnum<{
|
|
134
|
+
settings: "settings";
|
|
135
|
+
extension: "extension";
|
|
136
|
+
"system-prompt": "system-prompt";
|
|
137
|
+
theme: "theme";
|
|
138
|
+
}>;
|
|
139
|
+
action: z.ZodEnum<{
|
|
140
|
+
created: "created";
|
|
141
|
+
updated: "updated";
|
|
142
|
+
preserved: "preserved";
|
|
143
|
+
removed: "removed";
|
|
144
|
+
}>;
|
|
145
|
+
summary: z.ZodString;
|
|
146
|
+
}, z.core.$strip>>;
|
|
147
|
+
migrations: z.ZodArray<z.ZodString>;
|
|
148
|
+
conflicts: z.ZodArray<z.ZodObject<{
|
|
149
|
+
kind: z.ZodEnum<{
|
|
150
|
+
settings: "settings";
|
|
151
|
+
extension: "extension";
|
|
152
|
+
"system-prompt": "system-prompt";
|
|
153
|
+
theme: "theme";
|
|
154
|
+
}>;
|
|
155
|
+
reason: z.ZodString;
|
|
156
|
+
remedy: z.ZodString;
|
|
157
|
+
}, z.core.$strip>>;
|
|
158
|
+
managed: z.ZodObject<{
|
|
159
|
+
package: z.ZodDefault<z.ZodString>;
|
|
160
|
+
markerVersion: z.ZodDefault<z.ZodNumber>;
|
|
161
|
+
profile: z.ZodDefault<z.ZodEnum<{
|
|
162
|
+
isolated: "isolated";
|
|
163
|
+
"safe-hybrid": "safe-hybrid";
|
|
164
|
+
native: "native";
|
|
165
|
+
}>>;
|
|
166
|
+
extensionRef: z.ZodDefault<z.ZodString>;
|
|
167
|
+
previousDefaultTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
168
|
+
previousTheme: z.ZodOptional<z.ZodString>;
|
|
169
|
+
themeContents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
170
|
+
addedThemeRef: z.ZodOptional<z.ZodBoolean>;
|
|
171
|
+
selectedTheme: z.ZodOptional<z.ZodBoolean>;
|
|
172
|
+
}, z.core.$strip>;
|
|
173
|
+
themeFiles: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
174
|
+
name: z.ZodEnum<{
|
|
175
|
+
"vibes-dark": "vibes-dark";
|
|
176
|
+
"vibes-light": "vibes-light";
|
|
177
|
+
"vibes-high-contrast": "vibes-high-contrast";
|
|
178
|
+
}>;
|
|
179
|
+
filename: z.ZodString;
|
|
180
|
+
content: z.ZodString;
|
|
181
|
+
}, z.core.$strip>>>;
|
|
182
|
+
}, z.core.$strip>;
|
|
183
|
+
export type PiPlan = z.infer<typeof PiPlanSchema>;
|
|
184
|
+
export declare const PiRemovalPlanSchema: z.ZodObject<{
|
|
185
|
+
removeExtensionFile: z.ZodBoolean;
|
|
186
|
+
systemPromptContent: z.ZodOptional<z.ZodString>;
|
|
187
|
+
settingsContent: z.ZodOptional<z.ZodString>;
|
|
188
|
+
removeThemeFiles: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
189
|
+
changes: z.ZodArray<z.ZodObject<{
|
|
190
|
+
kind: z.ZodEnum<{
|
|
191
|
+
settings: "settings";
|
|
192
|
+
extension: "extension";
|
|
193
|
+
"system-prompt": "system-prompt";
|
|
194
|
+
theme: "theme";
|
|
195
|
+
}>;
|
|
196
|
+
action: z.ZodEnum<{
|
|
197
|
+
created: "created";
|
|
198
|
+
updated: "updated";
|
|
199
|
+
preserved: "preserved";
|
|
200
|
+
removed: "removed";
|
|
201
|
+
}>;
|
|
202
|
+
summary: z.ZodString;
|
|
203
|
+
}, z.core.$strip>>;
|
|
204
|
+
conflicts: z.ZodArray<z.ZodObject<{
|
|
205
|
+
kind: z.ZodEnum<{
|
|
206
|
+
settings: "settings";
|
|
207
|
+
extension: "extension";
|
|
208
|
+
"system-prompt": "system-prompt";
|
|
209
|
+
theme: "theme";
|
|
210
|
+
}>;
|
|
211
|
+
reason: z.ZodString;
|
|
212
|
+
remedy: z.ZodString;
|
|
213
|
+
}, z.core.$strip>>;
|
|
214
|
+
}, z.core.$strip>;
|
|
215
|
+
export type PiRemovalPlan = z.infer<typeof PiRemovalPlanSchema>;
|
|
216
|
+
export declare const PiInstallOptionsSchema: z.ZodObject<{
|
|
217
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
218
|
+
global: "global";
|
|
219
|
+
project: "project";
|
|
220
|
+
}>>;
|
|
221
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
222
|
+
home: z.ZodOptional<z.ZodString>;
|
|
223
|
+
packageName: z.ZodOptional<z.ZodString>;
|
|
224
|
+
profile: z.ZodOptional<z.ZodEnum<{
|
|
225
|
+
isolated: "isolated";
|
|
226
|
+
"safe-hybrid": "safe-hybrid";
|
|
227
|
+
native: "native";
|
|
228
|
+
}>>;
|
|
229
|
+
dryRun: z.ZodOptional<z.ZodBoolean>;
|
|
230
|
+
skipChecks: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
231
|
+
"pi-cli": "pi-cli";
|
|
232
|
+
"vibes-cli": "vibes-cli";
|
|
233
|
+
bun: "bun";
|
|
234
|
+
"package-resolution": "package-resolution";
|
|
235
|
+
writability: "writability";
|
|
236
|
+
"merge-safety": "merge-safety";
|
|
237
|
+
}>>>>;
|
|
238
|
+
runtime: z.ZodOptional<z.ZodCustom<RuntimeRef, RuntimeRef>>;
|
|
239
|
+
}, z.core.$strip>;
|
|
240
|
+
export declare const PiTextWriteSchema: z.ZodObject<{
|
|
241
|
+
path: z.ZodString;
|
|
242
|
+
content: z.ZodOptional<z.ZodString>;
|
|
243
|
+
mode: z.ZodOptional<z.ZodNumber>;
|
|
244
|
+
}, z.core.$strip>;
|
|
245
|
+
export type PiTextWrite = z.infer<typeof PiTextWriteSchema>;
|
|
246
|
+
export declare const PiCatalogIssueSchema: z.ZodObject<{
|
|
247
|
+
code: z.ZodEnum<{
|
|
248
|
+
"empty-catalog": "empty-catalog";
|
|
249
|
+
"blank-id": "blank-id";
|
|
250
|
+
"invalid-name": "invalid-name";
|
|
251
|
+
"duplicate-id": "duplicate-id";
|
|
252
|
+
"duplicate-name": "duplicate-name";
|
|
253
|
+
"builtin-shadow": "builtin-shadow";
|
|
254
|
+
}>;
|
|
255
|
+
toolId: z.ZodString;
|
|
256
|
+
name: z.ZodString;
|
|
257
|
+
detail: z.ZodString;
|
|
258
|
+
}, z.core.$strip>;
|
|
259
|
+
export type PiCatalogIssue = z.infer<typeof PiCatalogIssueSchema>;
|
|
260
|
+
export type PiCatalogIssueCode = PiCatalogIssue['code'];
|
|
261
|
+
export declare const PiCatalogEntrySchema: z.ZodObject<{
|
|
262
|
+
id: z.ZodString;
|
|
263
|
+
name: z.ZodString;
|
|
264
|
+
}, z.core.$strip>;
|
|
265
|
+
export type PiCatalogEntry = z.infer<typeof PiCatalogEntrySchema>;
|
|
266
|
+
export declare const PiEnvironmentSchema: z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodString>>>;
|
|
267
|
+
export declare const PiScopePathsSchema: z.ZodObject<{
|
|
268
|
+
scope: z.ZodEnum<{
|
|
269
|
+
global: "global";
|
|
270
|
+
project: "project";
|
|
271
|
+
}>;
|
|
272
|
+
root: z.ZodString;
|
|
273
|
+
extensionsDir: z.ZodString;
|
|
274
|
+
extensionPath: z.ZodString;
|
|
275
|
+
systemPromptPath: z.ZodString;
|
|
276
|
+
settingsPath: z.ZodString;
|
|
277
|
+
themesDir: z.ZodString;
|
|
278
|
+
extensionRef: z.ZodString;
|
|
279
|
+
}, z.core.$strip>;
|
|
280
|
+
export type PiScopePaths = z.infer<typeof PiScopePathsSchema>;
|
|
281
|
+
export declare const PiPreflightCheckSchema: z.ZodObject<{
|
|
282
|
+
id: z.ZodEnum<{
|
|
283
|
+
"pi-cli": "pi-cli";
|
|
284
|
+
"vibes-cli": "vibes-cli";
|
|
285
|
+
bun: "bun";
|
|
286
|
+
"package-resolution": "package-resolution";
|
|
287
|
+
writability: "writability";
|
|
288
|
+
"merge-safety": "merge-safety";
|
|
289
|
+
}>;
|
|
290
|
+
status: z.ZodEnum<{
|
|
291
|
+
ok: "ok";
|
|
292
|
+
warn: "warn";
|
|
293
|
+
fail: "fail";
|
|
294
|
+
}>;
|
|
295
|
+
message: z.ZodString;
|
|
296
|
+
remedy: z.ZodOptional<z.ZodString>;
|
|
297
|
+
}, z.core.$strip>;
|
|
298
|
+
export type PreflightCheckId = z.infer<typeof PiCheckIdSchema>;
|
|
299
|
+
export type PreflightCheck = z.infer<typeof PiPreflightCheckSchema>;
|
|
300
|
+
export declare const PiPreflightReportSchema: z.ZodObject<{
|
|
301
|
+
ok: z.ZodBoolean;
|
|
302
|
+
checks: z.ZodArray<z.ZodObject<{
|
|
303
|
+
id: z.ZodEnum<{
|
|
304
|
+
"pi-cli": "pi-cli";
|
|
305
|
+
"vibes-cli": "vibes-cli";
|
|
306
|
+
bun: "bun";
|
|
307
|
+
"package-resolution": "package-resolution";
|
|
308
|
+
writability: "writability";
|
|
309
|
+
"merge-safety": "merge-safety";
|
|
310
|
+
}>;
|
|
311
|
+
status: z.ZodEnum<{
|
|
312
|
+
ok: "ok";
|
|
313
|
+
warn: "warn";
|
|
314
|
+
fail: "fail";
|
|
315
|
+
}>;
|
|
316
|
+
message: z.ZodString;
|
|
317
|
+
remedy: z.ZodOptional<z.ZodString>;
|
|
318
|
+
}, z.core.$strip>>;
|
|
319
|
+
}, z.core.$strip>;
|
|
320
|
+
export type PreflightReport = z.infer<typeof PiPreflightReportSchema>;
|
|
321
|
+
export declare const PiPreflightConflictSchema: z.ZodObject<{
|
|
322
|
+
reason: z.ZodString;
|
|
323
|
+
remedy: z.ZodString;
|
|
324
|
+
}, z.core.$strip>;
|
|
325
|
+
export type PreflightConflict = z.infer<typeof PiPreflightConflictSchema>;
|
|
326
|
+
export declare const PiExtensionApplyOptionsSchema: z.ZodObject<{
|
|
327
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
328
|
+
global: "global";
|
|
329
|
+
project: "project";
|
|
330
|
+
}>>;
|
|
331
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
332
|
+
home: z.ZodOptional<z.ZodString>;
|
|
333
|
+
packageName: z.ZodOptional<z.ZodString>;
|
|
334
|
+
profile: z.ZodOptional<z.ZodEnum<{
|
|
335
|
+
isolated: "isolated";
|
|
336
|
+
"safe-hybrid": "safe-hybrid";
|
|
337
|
+
native: "native";
|
|
338
|
+
}>>;
|
|
339
|
+
dryRun: z.ZodOptional<z.ZodBoolean>;
|
|
340
|
+
skipChecks: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
341
|
+
"pi-cli": "pi-cli";
|
|
342
|
+
"vibes-cli": "vibes-cli";
|
|
343
|
+
bun: "bun";
|
|
344
|
+
"package-resolution": "package-resolution";
|
|
345
|
+
writability: "writability";
|
|
346
|
+
"merge-safety": "merge-safety";
|
|
347
|
+
}>>>>;
|
|
348
|
+
runtime: z.ZodOptional<z.ZodCustom<RuntimeRef, RuntimeRef>>;
|
|
349
|
+
env: z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodString>>>;
|
|
350
|
+
}, z.core.$strip>;
|
|
351
|
+
export type PiExtensionInstallOptions = z.infer<typeof PiInstallOptionsSchema>;
|
|
352
|
+
export type PiExtensionApplyOptions = z.infer<typeof PiExtensionApplyOptionsSchema>;
|
|
353
|
+
export declare const PiFileChangeSchema: z.ZodObject<{
|
|
354
|
+
kind: z.ZodEnum<{
|
|
355
|
+
settings: "settings";
|
|
356
|
+
extension: "extension";
|
|
357
|
+
"system-prompt": "system-prompt";
|
|
358
|
+
theme: "theme";
|
|
359
|
+
}>;
|
|
360
|
+
action: z.ZodEnum<{
|
|
361
|
+
created: "created";
|
|
362
|
+
updated: "updated";
|
|
363
|
+
preserved: "preserved";
|
|
364
|
+
removed: "removed";
|
|
365
|
+
}>;
|
|
366
|
+
summary: z.ZodString;
|
|
367
|
+
path: z.ZodString;
|
|
368
|
+
}, z.core.$strip>;
|
|
369
|
+
export type PiFileChange = z.infer<typeof PiFileChangeSchema>;
|
|
370
|
+
export declare const PiExtensionInstallResultSchema: z.ZodObject<{
|
|
371
|
+
ok: z.ZodLiteral<true>;
|
|
372
|
+
scope: z.ZodEnum<{
|
|
373
|
+
global: "global";
|
|
374
|
+
project: "project";
|
|
375
|
+
}>;
|
|
376
|
+
profile: z.ZodEnum<{
|
|
377
|
+
isolated: "isolated";
|
|
378
|
+
"safe-hybrid": "safe-hybrid";
|
|
379
|
+
native: "native";
|
|
380
|
+
}>;
|
|
381
|
+
dryRun: z.ZodBoolean;
|
|
382
|
+
settingsPath: z.ZodString;
|
|
383
|
+
extensionPath: z.ZodString;
|
|
384
|
+
systemPromptPath: z.ZodString;
|
|
385
|
+
changes: z.ZodArray<z.ZodObject<{
|
|
386
|
+
kind: z.ZodEnum<{
|
|
387
|
+
settings: "settings";
|
|
388
|
+
extension: "extension";
|
|
389
|
+
"system-prompt": "system-prompt";
|
|
390
|
+
theme: "theme";
|
|
391
|
+
}>;
|
|
392
|
+
action: z.ZodEnum<{
|
|
393
|
+
created: "created";
|
|
394
|
+
updated: "updated";
|
|
395
|
+
preserved: "preserved";
|
|
396
|
+
removed: "removed";
|
|
397
|
+
}>;
|
|
398
|
+
summary: z.ZodString;
|
|
399
|
+
path: z.ZodString;
|
|
400
|
+
}, z.core.$strip>>;
|
|
401
|
+
migrations: z.ZodArray<z.ZodString>;
|
|
402
|
+
preflight: z.ZodObject<{
|
|
403
|
+
ok: z.ZodBoolean;
|
|
404
|
+
checks: z.ZodArray<z.ZodObject<{
|
|
405
|
+
id: z.ZodEnum<{
|
|
406
|
+
"pi-cli": "pi-cli";
|
|
407
|
+
"vibes-cli": "vibes-cli";
|
|
408
|
+
bun: "bun";
|
|
409
|
+
"package-resolution": "package-resolution";
|
|
410
|
+
writability: "writability";
|
|
411
|
+
"merge-safety": "merge-safety";
|
|
412
|
+
}>;
|
|
413
|
+
status: z.ZodEnum<{
|
|
414
|
+
ok: "ok";
|
|
415
|
+
warn: "warn";
|
|
416
|
+
fail: "fail";
|
|
417
|
+
}>;
|
|
418
|
+
message: z.ZodString;
|
|
419
|
+
remedy: z.ZodOptional<z.ZodString>;
|
|
420
|
+
}, z.core.$strip>>;
|
|
421
|
+
}, z.core.$strip>;
|
|
422
|
+
verified: z.ZodLiteral<false>;
|
|
423
|
+
message: z.ZodString;
|
|
424
|
+
}, z.core.$strip>;
|
|
425
|
+
export type PiExtensionInstallResult = z.infer<typeof PiExtensionInstallResultSchema>;
|
|
426
|
+
export declare const PiExtensionUninstallResultSchema: z.ZodObject<{
|
|
427
|
+
ok: z.ZodLiteral<true>;
|
|
428
|
+
scope: z.ZodEnum<{
|
|
429
|
+
global: "global";
|
|
430
|
+
project: "project";
|
|
431
|
+
}>;
|
|
432
|
+
changes: z.ZodArray<z.ZodObject<{
|
|
433
|
+
kind: z.ZodEnum<{
|
|
434
|
+
settings: "settings";
|
|
435
|
+
extension: "extension";
|
|
436
|
+
"system-prompt": "system-prompt";
|
|
437
|
+
theme: "theme";
|
|
438
|
+
}>;
|
|
439
|
+
action: z.ZodEnum<{
|
|
440
|
+
created: "created";
|
|
441
|
+
updated: "updated";
|
|
442
|
+
preserved: "preserved";
|
|
443
|
+
removed: "removed";
|
|
444
|
+
}>;
|
|
445
|
+
summary: z.ZodString;
|
|
446
|
+
path: z.ZodString;
|
|
447
|
+
}, z.core.$strip>>;
|
|
448
|
+
deleted: z.ZodArray<z.ZodString>;
|
|
449
|
+
message: z.ZodString;
|
|
450
|
+
}, z.core.$strip>;
|
|
451
|
+
export type PiExtensionUninstallResult = z.infer<typeof PiExtensionUninstallResultSchema>;
|
|
452
|
+
export declare const PiInstallStateSchema: z.ZodEnum<{
|
|
453
|
+
conflict: "conflict";
|
|
454
|
+
"not-installed": "not-installed";
|
|
455
|
+
"installed-current": "installed-current";
|
|
456
|
+
"installed-outdated": "installed-outdated";
|
|
457
|
+
partial: "partial";
|
|
458
|
+
}>;
|
|
459
|
+
export type PiInstallState = z.infer<typeof PiInstallStateSchema>;
|
|
460
|
+
export declare const PiInstallStatusSchema: z.ZodObject<{
|
|
461
|
+
scope: z.ZodEnum<{
|
|
462
|
+
global: "global";
|
|
463
|
+
project: "project";
|
|
464
|
+
}>;
|
|
465
|
+
state: z.ZodEnum<{
|
|
466
|
+
conflict: "conflict";
|
|
467
|
+
"not-installed": "not-installed";
|
|
468
|
+
"installed-current": "installed-current";
|
|
469
|
+
"installed-outdated": "installed-outdated";
|
|
470
|
+
partial: "partial";
|
|
471
|
+
}>;
|
|
472
|
+
profile: z.ZodNullable<z.ZodEnum<{
|
|
473
|
+
isolated: "isolated";
|
|
474
|
+
"safe-hybrid": "safe-hybrid";
|
|
475
|
+
native: "native";
|
|
476
|
+
}>>;
|
|
477
|
+
markerVersion: z.ZodNullable<z.ZodNumber>;
|
|
478
|
+
paths: z.ZodObject<{
|
|
479
|
+
extensionPath: z.ZodString;
|
|
480
|
+
systemPromptPath: z.ZodString;
|
|
481
|
+
settingsPath: z.ZodString;
|
|
482
|
+
}, z.core.$strip>;
|
|
483
|
+
details: z.ZodArray<z.ZodString>;
|
|
484
|
+
remedy: z.ZodString;
|
|
485
|
+
}, z.core.$strip>;
|
|
486
|
+
export type PiInstallStatus = z.infer<typeof PiInstallStatusSchema>;
|
|
487
|
+
export declare const PiBootstrapCommandSchema: z.ZodObject<{
|
|
488
|
+
command: z.ZodString;
|
|
489
|
+
args: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
490
|
+
}, z.core.$strip>;
|
|
491
|
+
export type PiBootstrapCommand = z.infer<typeof PiBootstrapCommandSchema>;
|
|
492
|
+
export declare const PiBootstrapCommandResultSchema: z.ZodObject<{
|
|
493
|
+
exitCode: z.ZodNumber;
|
|
494
|
+
stdout: z.ZodString;
|
|
495
|
+
stderr: z.ZodString;
|
|
496
|
+
}, z.core.$strip>;
|
|
497
|
+
export type PiBootstrapCommandResult = z.infer<typeof PiBootstrapCommandResultSchema>;
|
|
498
|
+
export declare const PiBootstrapCheckStatusSchema: z.ZodEnum<{
|
|
499
|
+
ok: "ok";
|
|
500
|
+
warn: "warn";
|
|
501
|
+
fail: "fail";
|
|
502
|
+
}>;
|
|
503
|
+
export type PiBootstrapCheckStatus = z.infer<typeof PiBootstrapCheckStatusSchema>;
|
|
504
|
+
export declare const PiBootstrapCheckSchema: z.ZodObject<{
|
|
505
|
+
id: z.ZodEnum<{
|
|
506
|
+
integration: "integration";
|
|
507
|
+
binary: "binary";
|
|
508
|
+
}>;
|
|
509
|
+
status: z.ZodEnum<{
|
|
510
|
+
ok: "ok";
|
|
511
|
+
warn: "warn";
|
|
512
|
+
fail: "fail";
|
|
513
|
+
}>;
|
|
514
|
+
message: z.ZodString;
|
|
515
|
+
remedy: z.ZodOptional<z.ZodString>;
|
|
516
|
+
}, z.core.$strip>;
|
|
517
|
+
export type PiBootstrapCheck = z.infer<typeof PiBootstrapCheckSchema>;
|
|
518
|
+
export declare const PiBootstrapResultSchema: z.ZodObject<{
|
|
519
|
+
ok: z.ZodLiteral<true>;
|
|
520
|
+
dryRun: z.ZodBoolean;
|
|
521
|
+
scope: z.ZodEnum<{
|
|
522
|
+
global: "global";
|
|
523
|
+
project: "project";
|
|
524
|
+
}>;
|
|
525
|
+
binaryPath: z.ZodNullable<z.ZodString>;
|
|
526
|
+
installCommand: z.ZodNullable<z.ZodObject<{
|
|
527
|
+
command: z.ZodString;
|
|
528
|
+
args: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
529
|
+
}, z.core.$strip>>;
|
|
530
|
+
checks: z.ZodArray<z.ZodObject<{
|
|
531
|
+
id: z.ZodEnum<{
|
|
532
|
+
integration: "integration";
|
|
533
|
+
binary: "binary";
|
|
534
|
+
}>;
|
|
535
|
+
status: z.ZodEnum<{
|
|
536
|
+
ok: "ok";
|
|
537
|
+
warn: "warn";
|
|
538
|
+
fail: "fail";
|
|
539
|
+
}>;
|
|
540
|
+
message: z.ZodString;
|
|
541
|
+
remedy: z.ZodOptional<z.ZodString>;
|
|
542
|
+
}, z.core.$strip>>;
|
|
543
|
+
integration: z.ZodNullable<z.ZodObject<{
|
|
544
|
+
ok: z.ZodLiteral<true>;
|
|
545
|
+
scope: z.ZodEnum<{
|
|
546
|
+
global: "global";
|
|
547
|
+
project: "project";
|
|
548
|
+
}>;
|
|
549
|
+
profile: z.ZodEnum<{
|
|
550
|
+
isolated: "isolated";
|
|
551
|
+
"safe-hybrid": "safe-hybrid";
|
|
552
|
+
native: "native";
|
|
553
|
+
}>;
|
|
554
|
+
dryRun: z.ZodBoolean;
|
|
555
|
+
settingsPath: z.ZodString;
|
|
556
|
+
extensionPath: z.ZodString;
|
|
557
|
+
systemPromptPath: z.ZodString;
|
|
558
|
+
changes: z.ZodArray<z.ZodObject<{
|
|
559
|
+
kind: z.ZodEnum<{
|
|
560
|
+
settings: "settings";
|
|
561
|
+
extension: "extension";
|
|
562
|
+
"system-prompt": "system-prompt";
|
|
563
|
+
theme: "theme";
|
|
564
|
+
}>;
|
|
565
|
+
action: z.ZodEnum<{
|
|
566
|
+
created: "created";
|
|
567
|
+
updated: "updated";
|
|
568
|
+
preserved: "preserved";
|
|
569
|
+
removed: "removed";
|
|
570
|
+
}>;
|
|
571
|
+
summary: z.ZodString;
|
|
572
|
+
path: z.ZodString;
|
|
573
|
+
}, z.core.$strip>>;
|
|
574
|
+
migrations: z.ZodArray<z.ZodString>;
|
|
575
|
+
preflight: z.ZodObject<{
|
|
576
|
+
ok: z.ZodBoolean;
|
|
577
|
+
checks: z.ZodArray<z.ZodObject<{
|
|
578
|
+
id: z.ZodEnum<{
|
|
579
|
+
"pi-cli": "pi-cli";
|
|
580
|
+
"vibes-cli": "vibes-cli";
|
|
581
|
+
bun: "bun";
|
|
582
|
+
"package-resolution": "package-resolution";
|
|
583
|
+
writability: "writability";
|
|
584
|
+
"merge-safety": "merge-safety";
|
|
585
|
+
}>;
|
|
586
|
+
status: z.ZodEnum<{
|
|
587
|
+
ok: "ok";
|
|
588
|
+
warn: "warn";
|
|
589
|
+
fail: "fail";
|
|
590
|
+
}>;
|
|
591
|
+
message: z.ZodString;
|
|
592
|
+
remedy: z.ZodOptional<z.ZodString>;
|
|
593
|
+
}, z.core.$strip>>;
|
|
594
|
+
}, z.core.$strip>;
|
|
595
|
+
verified: z.ZodLiteral<false>;
|
|
596
|
+
message: z.ZodString;
|
|
597
|
+
}, z.core.$strip>>;
|
|
598
|
+
message: z.ZodString;
|
|
599
|
+
}, z.core.$strip>;
|
|
600
|
+
export type PiBootstrapResult = z.infer<typeof PiBootstrapResultSchema>;
|
|
601
|
+
export declare const PiCatalogCheckSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
602
|
+
ok: z.ZodLiteral<true>;
|
|
603
|
+
issues: z.ZodTuple<[], null>;
|
|
604
|
+
entries: z.ZodArray<z.ZodObject<{
|
|
605
|
+
id: z.ZodString;
|
|
606
|
+
name: z.ZodString;
|
|
607
|
+
}, z.core.$strip>>;
|
|
608
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
609
|
+
ok: z.ZodLiteral<false>;
|
|
610
|
+
issues: z.ZodArray<z.ZodObject<{
|
|
611
|
+
code: z.ZodEnum<{
|
|
612
|
+
"empty-catalog": "empty-catalog";
|
|
613
|
+
"blank-id": "blank-id";
|
|
614
|
+
"invalid-name": "invalid-name";
|
|
615
|
+
"duplicate-id": "duplicate-id";
|
|
616
|
+
"duplicate-name": "duplicate-name";
|
|
617
|
+
"builtin-shadow": "builtin-shadow";
|
|
618
|
+
}>;
|
|
619
|
+
toolId: z.ZodString;
|
|
620
|
+
name: z.ZodString;
|
|
621
|
+
detail: z.ZodString;
|
|
622
|
+
}, z.core.$strip>>;
|
|
623
|
+
entries: z.ZodArray<z.ZodObject<{
|
|
624
|
+
id: z.ZodString;
|
|
625
|
+
name: z.ZodString;
|
|
626
|
+
}, z.core.$strip>>;
|
|
627
|
+
}, z.core.$strip>], "ok">;
|
|
628
|
+
export type PiCatalogCheck = z.infer<typeof PiCatalogCheckSchema>;
|
|
629
|
+
export declare const PiBootstrapProbesSchema: z.ZodObject<{
|
|
630
|
+
findCommand: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodString, z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodString>>>], null>, z.ZodUnion<readonly [z.ZodNullable<z.ZodString>, z.ZodPromise<z.ZodNullable<z.ZodString>>]>>>;
|
|
631
|
+
runCommand: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
|
|
632
|
+
command: z.ZodString;
|
|
633
|
+
args: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
634
|
+
}, z.core.$strip>, z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodString>>>], null>, z.ZodPromise<z.ZodObject<{
|
|
635
|
+
exitCode: z.ZodNumber;
|
|
636
|
+
stdout: z.ZodString;
|
|
637
|
+
stderr: z.ZodString;
|
|
638
|
+
}, z.core.$strip>>>>;
|
|
639
|
+
applyIntegration: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
|
|
640
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
641
|
+
global: "global";
|
|
642
|
+
project: "project";
|
|
643
|
+
}>>;
|
|
644
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
645
|
+
home: z.ZodOptional<z.ZodString>;
|
|
646
|
+
packageName: z.ZodOptional<z.ZodString>;
|
|
647
|
+
profile: z.ZodOptional<z.ZodEnum<{
|
|
648
|
+
isolated: "isolated";
|
|
649
|
+
"safe-hybrid": "safe-hybrid";
|
|
650
|
+
native: "native";
|
|
651
|
+
}>>;
|
|
652
|
+
dryRun: z.ZodOptional<z.ZodBoolean>;
|
|
653
|
+
skipChecks: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
654
|
+
"pi-cli": "pi-cli";
|
|
655
|
+
"vibes-cli": "vibes-cli";
|
|
656
|
+
bun: "bun";
|
|
657
|
+
"package-resolution": "package-resolution";
|
|
658
|
+
writability: "writability";
|
|
659
|
+
"merge-safety": "merge-safety";
|
|
660
|
+
}>>>>;
|
|
661
|
+
runtime: z.ZodOptional<z.ZodCustom<RuntimeRef, RuntimeRef>>;
|
|
662
|
+
env: z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodString>>>;
|
|
663
|
+
}, z.core.$strip>], null>, z.ZodPromise<z.ZodObject<{
|
|
664
|
+
ok: z.ZodLiteral<true>;
|
|
665
|
+
scope: z.ZodEnum<{
|
|
666
|
+
global: "global";
|
|
667
|
+
project: "project";
|
|
668
|
+
}>;
|
|
669
|
+
profile: z.ZodEnum<{
|
|
670
|
+
isolated: "isolated";
|
|
671
|
+
"safe-hybrid": "safe-hybrid";
|
|
672
|
+
native: "native";
|
|
673
|
+
}>;
|
|
674
|
+
dryRun: z.ZodBoolean;
|
|
675
|
+
settingsPath: z.ZodString;
|
|
676
|
+
extensionPath: z.ZodString;
|
|
677
|
+
systemPromptPath: z.ZodString;
|
|
678
|
+
changes: z.ZodArray<z.ZodObject<{
|
|
679
|
+
kind: z.ZodEnum<{
|
|
680
|
+
settings: "settings";
|
|
681
|
+
extension: "extension";
|
|
682
|
+
"system-prompt": "system-prompt";
|
|
683
|
+
theme: "theme";
|
|
684
|
+
}>;
|
|
685
|
+
action: z.ZodEnum<{
|
|
686
|
+
created: "created";
|
|
687
|
+
updated: "updated";
|
|
688
|
+
preserved: "preserved";
|
|
689
|
+
removed: "removed";
|
|
690
|
+
}>;
|
|
691
|
+
summary: z.ZodString;
|
|
692
|
+
path: z.ZodString;
|
|
693
|
+
}, z.core.$strip>>;
|
|
694
|
+
migrations: z.ZodArray<z.ZodString>;
|
|
695
|
+
preflight: z.ZodObject<{
|
|
696
|
+
ok: z.ZodBoolean;
|
|
697
|
+
checks: z.ZodArray<z.ZodObject<{
|
|
698
|
+
id: z.ZodEnum<{
|
|
699
|
+
"pi-cli": "pi-cli";
|
|
700
|
+
"vibes-cli": "vibes-cli";
|
|
701
|
+
bun: "bun";
|
|
702
|
+
"package-resolution": "package-resolution";
|
|
703
|
+
writability: "writability";
|
|
704
|
+
"merge-safety": "merge-safety";
|
|
705
|
+
}>;
|
|
706
|
+
status: z.ZodEnum<{
|
|
707
|
+
ok: "ok";
|
|
708
|
+
warn: "warn";
|
|
709
|
+
fail: "fail";
|
|
710
|
+
}>;
|
|
711
|
+
message: z.ZodString;
|
|
712
|
+
remedy: z.ZodOptional<z.ZodString>;
|
|
713
|
+
}, z.core.$strip>>;
|
|
714
|
+
}, z.core.$strip>;
|
|
715
|
+
verified: z.ZodLiteral<false>;
|
|
716
|
+
message: z.ZodString;
|
|
717
|
+
}, z.core.$strip>>>>;
|
|
718
|
+
}, z.core.$strip>;
|
|
719
|
+
export type PiBootstrapProbes = z.infer<typeof PiBootstrapProbesSchema>;
|
|
720
|
+
export declare const PiBootstrapOptionsSchema: z.ZodObject<{
|
|
721
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
722
|
+
env: z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodString>>>;
|
|
723
|
+
profile: z.ZodOptional<z.ZodEnum<{
|
|
724
|
+
isolated: "isolated";
|
|
725
|
+
"safe-hybrid": "safe-hybrid";
|
|
726
|
+
native: "native";
|
|
727
|
+
}>>;
|
|
728
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
729
|
+
global: "global";
|
|
730
|
+
project: "project";
|
|
731
|
+
}>>;
|
|
732
|
+
home: z.ZodOptional<z.ZodString>;
|
|
733
|
+
dryRun: z.ZodOptional<z.ZodBoolean>;
|
|
734
|
+
skipChecks: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
735
|
+
"pi-cli": "pi-cli";
|
|
736
|
+
"vibes-cli": "vibes-cli";
|
|
737
|
+
bun: "bun";
|
|
738
|
+
"package-resolution": "package-resolution";
|
|
739
|
+
writability: "writability";
|
|
740
|
+
"merge-safety": "merge-safety";
|
|
741
|
+
}>>>>;
|
|
742
|
+
runtime: z.ZodOptional<z.ZodCustom<RuntimeRef, RuntimeRef>>;
|
|
743
|
+
probes: z.ZodOptional<z.ZodObject<{
|
|
744
|
+
findCommand: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodString, z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodString>>>], null>, z.ZodUnion<readonly [z.ZodNullable<z.ZodString>, z.ZodPromise<z.ZodNullable<z.ZodString>>]>>>;
|
|
745
|
+
runCommand: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
|
|
746
|
+
command: z.ZodString;
|
|
747
|
+
args: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
748
|
+
}, z.core.$strip>, z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodString>>>], null>, z.ZodPromise<z.ZodObject<{
|
|
749
|
+
exitCode: z.ZodNumber;
|
|
750
|
+
stdout: z.ZodString;
|
|
751
|
+
stderr: z.ZodString;
|
|
752
|
+
}, z.core.$strip>>>>;
|
|
753
|
+
applyIntegration: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
|
|
754
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
755
|
+
global: "global";
|
|
756
|
+
project: "project";
|
|
757
|
+
}>>;
|
|
758
|
+
cwd: z.ZodOptional<z.ZodString>;
|
|
759
|
+
home: z.ZodOptional<z.ZodString>;
|
|
760
|
+
packageName: z.ZodOptional<z.ZodString>;
|
|
761
|
+
profile: z.ZodOptional<z.ZodEnum<{
|
|
762
|
+
isolated: "isolated";
|
|
763
|
+
"safe-hybrid": "safe-hybrid";
|
|
764
|
+
native: "native";
|
|
765
|
+
}>>;
|
|
766
|
+
dryRun: z.ZodOptional<z.ZodBoolean>;
|
|
767
|
+
skipChecks: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
768
|
+
"pi-cli": "pi-cli";
|
|
769
|
+
"vibes-cli": "vibes-cli";
|
|
770
|
+
bun: "bun";
|
|
771
|
+
"package-resolution": "package-resolution";
|
|
772
|
+
writability: "writability";
|
|
773
|
+
"merge-safety": "merge-safety";
|
|
774
|
+
}>>>>;
|
|
775
|
+
runtime: z.ZodOptional<z.ZodCustom<RuntimeRef, RuntimeRef>>;
|
|
776
|
+
env: z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodString>>>;
|
|
777
|
+
}, z.core.$strip>], null>, z.ZodPromise<z.ZodObject<{
|
|
778
|
+
ok: z.ZodLiteral<true>;
|
|
779
|
+
scope: z.ZodEnum<{
|
|
780
|
+
global: "global";
|
|
781
|
+
project: "project";
|
|
782
|
+
}>;
|
|
783
|
+
profile: z.ZodEnum<{
|
|
784
|
+
isolated: "isolated";
|
|
785
|
+
"safe-hybrid": "safe-hybrid";
|
|
786
|
+
native: "native";
|
|
787
|
+
}>;
|
|
788
|
+
dryRun: z.ZodBoolean;
|
|
789
|
+
settingsPath: z.ZodString;
|
|
790
|
+
extensionPath: z.ZodString;
|
|
791
|
+
systemPromptPath: z.ZodString;
|
|
792
|
+
changes: z.ZodArray<z.ZodObject<{
|
|
793
|
+
kind: z.ZodEnum<{
|
|
794
|
+
settings: "settings";
|
|
795
|
+
extension: "extension";
|
|
796
|
+
"system-prompt": "system-prompt";
|
|
797
|
+
theme: "theme";
|
|
798
|
+
}>;
|
|
799
|
+
action: z.ZodEnum<{
|
|
800
|
+
created: "created";
|
|
801
|
+
updated: "updated";
|
|
802
|
+
preserved: "preserved";
|
|
803
|
+
removed: "removed";
|
|
804
|
+
}>;
|
|
805
|
+
summary: z.ZodString;
|
|
806
|
+
path: z.ZodString;
|
|
807
|
+
}, z.core.$strip>>;
|
|
808
|
+
migrations: z.ZodArray<z.ZodString>;
|
|
809
|
+
preflight: z.ZodObject<{
|
|
810
|
+
ok: z.ZodBoolean;
|
|
811
|
+
checks: z.ZodArray<z.ZodObject<{
|
|
812
|
+
id: z.ZodEnum<{
|
|
813
|
+
"pi-cli": "pi-cli";
|
|
814
|
+
"vibes-cli": "vibes-cli";
|
|
815
|
+
bun: "bun";
|
|
816
|
+
"package-resolution": "package-resolution";
|
|
817
|
+
writability: "writability";
|
|
818
|
+
"merge-safety": "merge-safety";
|
|
819
|
+
}>;
|
|
820
|
+
status: z.ZodEnum<{
|
|
821
|
+
ok: "ok";
|
|
822
|
+
warn: "warn";
|
|
823
|
+
fail: "fail";
|
|
824
|
+
}>;
|
|
825
|
+
message: z.ZodString;
|
|
826
|
+
remedy: z.ZodOptional<z.ZodString>;
|
|
827
|
+
}, z.core.$strip>>;
|
|
828
|
+
}, z.core.$strip>;
|
|
829
|
+
verified: z.ZodLiteral<false>;
|
|
830
|
+
message: z.ZodString;
|
|
831
|
+
}, z.core.$strip>>>>;
|
|
832
|
+
}, z.core.$strip>>;
|
|
833
|
+
}, z.core.$strip>;
|
|
834
|
+
export type PiBootstrapOptions = z.infer<typeof PiBootstrapOptionsSchema>;
|
|
835
|
+
export declare const PiPreflightInputSchema: z.ZodObject<{
|
|
836
|
+
runtime: z.ZodOptional<z.ZodCustom<RuntimeRef, RuntimeRef>>;
|
|
837
|
+
paths: z.ZodObject<{
|
|
838
|
+
scope: z.ZodEnum<{
|
|
839
|
+
global: "global";
|
|
840
|
+
project: "project";
|
|
841
|
+
}>;
|
|
842
|
+
root: z.ZodString;
|
|
843
|
+
extensionsDir: z.ZodString;
|
|
844
|
+
extensionPath: z.ZodString;
|
|
845
|
+
systemPromptPath: z.ZodString;
|
|
846
|
+
settingsPath: z.ZodString;
|
|
847
|
+
themesDir: z.ZodString;
|
|
848
|
+
extensionRef: z.ZodString;
|
|
849
|
+
}, z.core.$strip>;
|
|
850
|
+
packageName: z.ZodString;
|
|
851
|
+
conflicts: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
852
|
+
reason: z.ZodString;
|
|
853
|
+
remedy: z.ZodString;
|
|
854
|
+
}, z.core.$strip>>>>;
|
|
855
|
+
skip: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
856
|
+
"pi-cli": "pi-cli";
|
|
857
|
+
"vibes-cli": "vibes-cli";
|
|
858
|
+
bun: "bun";
|
|
859
|
+
"package-resolution": "package-resolution";
|
|
860
|
+
writability: "writability";
|
|
861
|
+
"merge-safety": "merge-safety";
|
|
862
|
+
}>>>>;
|
|
863
|
+
env: z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodString>>>;
|
|
864
|
+
probes: z.ZodOptional<z.ZodObject<{
|
|
865
|
+
findCommand: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodString, z.ZodReadonly<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodString>>>], null>, z.ZodUnion<readonly [z.ZodNullable<z.ZodString>, z.ZodPromise<z.ZodNullable<z.ZodString>>]>>>;
|
|
866
|
+
resolvePackage: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodString], null>, z.ZodUnion<readonly [z.ZodBoolean, z.ZodPromise<z.ZodBoolean>]>>>;
|
|
867
|
+
}, z.core.$strip>>;
|
|
868
|
+
}, z.core.$strip>;
|
|
869
|
+
export type PreflightInput = z.infer<typeof PiPreflightInputSchema>;
|
|
870
|
+
export type PiThemeFile = z.infer<typeof PiThemeFileSchema>;
|
|
871
|
+
export type PiVibesThemeName = z.infer<typeof PiThemeNameSchema>;
|
|
872
|
+
//# sourceMappingURL=installer.d.ts.map
|