pi2dsh 0.15.2 → 0.16.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/README.md +41 -60
- package/README.zh.md +34 -54
- package/dist/{analyzer-C5FQXB7R.mjs → analyzer-B-b4C_5O.mjs} +2 -2
- package/dist/{analyzer-C5FQXB7R.mjs.map → analyzer-B-b4C_5O.mjs.map} +1 -1
- package/dist/cli.mjs +2 -3
- package/dist/cli.mjs.map +1 -1
- package/dist/compat/pi-ai.d.mts +1 -1
- package/dist/compat/pi-ai.mjs +1 -2
- package/dist/compat/pi-coding-agent.mjs +1 -1
- package/dist/credentials-oauth.d.mts +8 -2
- package/dist/credentials-oauth.d.mts.map +1 -1
- package/dist/credentials-oauth.mjs +134 -1
- package/dist/credentials-oauth.mjs.map +1 -0
- package/dist/{google-generative-ai-2gCFYp-t.mjs → google-generative-ai-Dpb_X-Kt.mjs} +2 -2
- package/dist/{google-generative-ai-2gCFYp-t.mjs.map → google-generative-ai-Dpb_X-Kt.mjs.map} +1 -1
- package/dist/{google-shared-75IdVyrx.mjs → google-shared-CL1Za-ev.mjs} +12 -12
- package/dist/{google-shared-75IdVyrx.mjs.map → google-shared-CL1Za-ev.mjs.map} +1 -1
- package/dist/{google-vertex-Bhyo4z2i.mjs → google-vertex-BXRKa49Y.mjs} +2 -2
- package/dist/{google-vertex-Bhyo4z2i.mjs.map → google-vertex-BXRKa49Y.mjs.map} +1 -1
- package/dist/host.mjs +1 -1
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +3 -4
- package/dist/index.mjs.map +1 -1
- package/dist/{compatibility-DVMqXJux.mjs → mcp-config-BNL_uhE8.mjs} +181 -4
- package/dist/mcp-config-BNL_uhE8.mjs.map +1 -0
- package/dist/{mistral-conversations-DJyeTo8C.mjs → mistral-conversations-D-Kf38nj.mjs} +5491 -407
- package/dist/mistral-conversations-D-Kf38nj.mjs.map +1 -0
- package/dist/{multipart-parser-SRcGkVuX.mjs → multipart-parser-CBAi6PxA.mjs} +2 -2
- package/dist/{multipart-parser-SRcGkVuX.mjs.map → multipart-parser-CBAi6PxA.mjs.map} +1 -1
- package/dist/{credentials-oauth-Didpkkjx.mjs → oauth-bridge-C_MAPMGA.mjs} +11 -88
- package/dist/oauth-bridge-C_MAPMGA.mjs.map +1 -0
- package/dist/oauth-bridge-hOnT3acY.d.mts +34 -0
- package/dist/oauth-bridge-hOnT3acY.d.mts.map +1 -0
- package/dist/{otel-CBhmS-NR.mjs → otel-EL651-JR.mjs} +2 -2
- package/dist/{otel-CBhmS-NR.mjs.map → otel-EL651-JR.mjs.map} +1 -1
- package/dist/{pi-ai-DpqiLdPA.mjs → pi-ai-DQPHUR9S.mjs} +252 -7
- package/dist/pi-ai-DQPHUR9S.mjs.map +1 -0
- package/dist/{pi-ai-ZU5MelXy.d.mts → pi-ai-hGbYES_v.d.mts} +2 -2
- package/dist/{pi-ai-ZU5MelXy.d.mts.map → pi-ai-hGbYES_v.d.mts.map} +1 -1
- package/dist/pi-coding-agent-69yY0ke-.d.mts.map +1 -1
- package/dist/{pi-coding-agent-DK8hbJP5.mjs → pi-coding-agent-DXJ_Jzo0.mjs} +0 -0
- package/dist/{pi-coding-agent-DK8hbJP5.mjs.map → pi-coding-agent-DXJ_Jzo0.mjs.map} +1 -1
- package/dist/{runtime-BlbKWw7W.mjs → runtime-Bjc6ijZg.mjs} +586 -82
- package/dist/runtime-Bjc6ijZg.mjs.map +1 -0
- package/dist/runtime.d.mts +95 -47
- package/dist/runtime.d.mts.map +1 -1
- package/dist/runtime.mjs +1 -1
- package/dist/{from-BCscBQ9P.mjs → src-85HOaW5W.mjs} +1185 -10
- package/dist/src-85HOaW5W.mjs.map +1 -0
- package/package.json +28 -21
- package/dist/compatibility-DVMqXJux.mjs.map +0 -1
- package/dist/completionchunk-Dhk56lZl.mjs +0 -5212
- package/dist/completionchunk-Dhk56lZl.mjs.map +0 -1
- package/dist/credentials-oauth-Didpkkjx.mjs.map +0 -1
- package/dist/from-BCscBQ9P.mjs.map +0 -1
- package/dist/mcp-config-jmzbgdHa.mjs +0 -181
- package/dist/mcp-config-jmzbgdHa.mjs.map +0 -1
- package/dist/mistral-conversations-DJyeTo8C.mjs.map +0 -1
- package/dist/openai-responses-BRdGpBX6.mjs +0 -251
- package/dist/openai-responses-BRdGpBX6.mjs.map +0 -1
- package/dist/pi-ai-DpqiLdPA.mjs.map +0 -1
- package/dist/runtime-BlbKWw7W.mjs.map +0 -1
- package/dist/src-DlTagfW5.mjs +0 -1186
- package/dist/src-DlTagfW5.mjs.map +0 -1
package/dist/runtime.d.mts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
|
|
2
|
-
import { at as AssistantMessageEventStream, d as __createPiAiRuntimeRegistry } from "./pi-ai-
|
|
2
|
+
import { at as AssistantMessageEventStream, d as __createPiAiRuntimeRegistry } from "./pi-ai-hGbYES_v.mjs";
|
|
3
3
|
import { N as Theme, p as ExtensionRunner } from "./pi-coding-agent-69yY0ke-.mjs";
|
|
4
|
+
import { t as FileCredentialStore } from "./oauth-bridge-hOnT3acY.mjs";
|
|
4
5
|
import { i as GeneratedRuntimeManifest } from "./types-B9VBF8le.mjs";
|
|
5
6
|
import { EventEmitter } from "node:events";
|
|
6
7
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
@@ -65,12 +66,12 @@ declare class CapabilityLedger {
|
|
|
65
66
|
}
|
|
66
67
|
//#endregion
|
|
67
68
|
//#region src/session-bridge.d.ts
|
|
68
|
-
type UnknownRecord$
|
|
69
|
+
type UnknownRecord$4 = Record<string, unknown>;
|
|
69
70
|
interface DshSessionLike {
|
|
70
71
|
id: string;
|
|
71
|
-
events: readonly UnknownRecord$
|
|
72
|
+
events: readonly UnknownRecord$4[] | (() => readonly UnknownRecord$4[]);
|
|
72
73
|
append?(type: string, data: unknown, opts?: unknown): unknown;
|
|
73
|
-
header?: UnknownRecord$
|
|
74
|
+
header?: UnknownRecord$4;
|
|
74
75
|
}
|
|
75
76
|
interface PiProjectedEntry {
|
|
76
77
|
type: string;
|
|
@@ -83,6 +84,24 @@ declare class PiSessionBridge {
|
|
|
83
84
|
private readonly records;
|
|
84
85
|
private readonly loaded;
|
|
85
86
|
private sidecarPath;
|
|
87
|
+
/**
|
|
88
|
+
* The Pi-visible archive file for one DSH session — the established
|
|
89
|
+
* `<id>.jsonl` convention (getSessionFile/switchSession use the same one).
|
|
90
|
+
* Guaranteed to EXIST on return: Pi consumers treat the session file as the
|
|
91
|
+
* durable identity a conversation can be reopened by (pi-subagents guards
|
|
92
|
+
* its tombstone resurrect with existsSync, and Pi's SessionManager.open
|
|
93
|
+
* tolerates an empty file), so a merely virtual path would read as "the
|
|
94
|
+
* conversation is gone".
|
|
95
|
+
*/
|
|
96
|
+
archiveFileFor(sessionId: string): string;
|
|
97
|
+
/**
|
|
98
|
+
* The DSH session id an archive-file path names, or undefined for any path
|
|
99
|
+
* this bridge did not mint (a genuine Pi session file, an in-memory
|
|
100
|
+
* manager's undefined). The reverse of {@link archiveFileFor} — ids that
|
|
101
|
+
* survive its sanitization round-trip exactly, which every id this bridge
|
|
102
|
+
* mints does.
|
|
103
|
+
*/
|
|
104
|
+
sessionIdOfArchiveFile(path: unknown): string | undefined;
|
|
86
105
|
load(sessionId: string): void;
|
|
87
106
|
private persist;
|
|
88
107
|
appendCustomEntry(sessionId: string, customType: string, data: unknown): string;
|
|
@@ -120,12 +139,12 @@ declare class PiSessionBridge {
|
|
|
120
139
|
visibleSeqs(session: DshSessionLike): Set<number> | undefined;
|
|
121
140
|
projectEntries(session: DshSessionLike): PiProjectedEntry[];
|
|
122
141
|
/** The exact 14-method surface Pi exposes as ctx.sessionManager. */
|
|
123
|
-
readonlySessionManager(session: DshSessionLike, cwd: string): UnknownRecord$
|
|
142
|
+
readonlySessionManager(session: DshSessionLike, cwd: string): UnknownRecord$4;
|
|
124
143
|
}
|
|
125
144
|
//#endregion
|
|
126
145
|
//#region src/subagent-bridge.d.ts
|
|
127
|
-
type UnknownRecord$
|
|
128
|
-
type PiSessionEventHandler = (event: UnknownRecord$
|
|
146
|
+
type UnknownRecord$3 = Record<string, unknown>;
|
|
147
|
+
type PiSessionEventHandler = (event: UnknownRecord$3) => void;
|
|
129
148
|
interface SubagentHost {
|
|
130
149
|
cordis: Context;
|
|
131
150
|
cwd(): string;
|
|
@@ -133,11 +152,50 @@ interface SubagentHost {
|
|
|
133
152
|
/** The delegating parent's delegation depth (DSH's recursion budget); 0 for a top-level parent. */
|
|
134
153
|
parentDelegationDepth(): number;
|
|
135
154
|
piContentToDsh(content: unknown): Promise<ContentBlock[]>;
|
|
136
|
-
deliver(agent: UnknownRecord$
|
|
137
|
-
messageFromSessionEvent(event: UnknownRecord$
|
|
155
|
+
deliver(agent: UnknownRecord$3, message: unknown, mode: 'inject' | 'steer' | 'followup'): void;
|
|
156
|
+
messageFromSessionEvent(event: UnknownRecord$3): Promise<UnknownRecord$3 | undefined>;
|
|
138
157
|
messageSource: string;
|
|
139
158
|
/** The Pi package that asked for the child, used to label it in DSH's catalog. */
|
|
140
159
|
packageName?: string;
|
|
160
|
+
/** The delegating parent Agent's own ctx (undefined outside an agent scope). */
|
|
161
|
+
parentAgentContext(): unknown;
|
|
162
|
+
/**
|
|
163
|
+
* Translate the child's Pi custom tools into DSH tool definitions and
|
|
164
|
+
* register them THROUGH the unpublished child ctx, so they land in the
|
|
165
|
+
* child Agent's scope and unwind with it.
|
|
166
|
+
*/
|
|
167
|
+
registerChildTools(childCtx: unknown, tools: readonly unknown[]): void;
|
|
168
|
+
/**
|
|
169
|
+
* DSH's official delegation policy capture (dsh-subagent semantics): the
|
|
170
|
+
* parent session's explicit sandbox override, and the approval policy
|
|
171
|
+
* pinned to 'never' when an approval service exists.
|
|
172
|
+
*/
|
|
173
|
+
delegatedPolicyOverrides(): {
|
|
174
|
+
sandboxMode?: unknown;
|
|
175
|
+
approvalPolicy?: string;
|
|
176
|
+
};
|
|
177
|
+
/**
|
|
178
|
+
* Pi-shaped readonly sessionManager projection over one DSH session. Its
|
|
179
|
+
* getSessionFile() returns the durable archive path (`<id>.jsonl`
|
|
180
|
+
* convention) Pi consumers treat as the conversation's reopenable identity
|
|
181
|
+
* — pi-subagents records it per child and resurrects `@handle` mentions by
|
|
182
|
+
* reopening exactly that file.
|
|
183
|
+
*/
|
|
184
|
+
sessionManagerFor?(session: unknown): UnknownRecord$3;
|
|
185
|
+
/**
|
|
186
|
+
* The DSH session id an archive path names, or undefined for any path the
|
|
187
|
+
* bridge did not mint (a genuine Pi session file, an in-memory manager).
|
|
188
|
+
*/
|
|
189
|
+
resumeSessionIdFor?(file: unknown): string | undefined;
|
|
190
|
+
/**
|
|
191
|
+
* The delegating parent's own model route. Pi's default for a child session
|
|
192
|
+
* is the caller's current model; without it the child agent has no model
|
|
193
|
+
* option and prompt sections keyed on {{model}} fail the first assembly.
|
|
194
|
+
*/
|
|
195
|
+
parentModelRoute?(): {
|
|
196
|
+
provider?: string;
|
|
197
|
+
model?: string;
|
|
198
|
+
} | undefined;
|
|
141
199
|
}
|
|
142
200
|
interface BeforeToolCallDecision {
|
|
143
201
|
block?: boolean;
|
|
@@ -152,36 +210,45 @@ interface PiSubagentFacade {
|
|
|
152
210
|
};
|
|
153
211
|
}, signal: AbortSignal | undefined) => Promise<BeforeToolCallDecision | undefined> | BeforeToolCallDecision | undefined;
|
|
154
212
|
/** Pi's AgentState — the same object `session.state` returns. */
|
|
155
|
-
state?: UnknownRecord$
|
|
213
|
+
state?: UnknownRecord$3;
|
|
156
214
|
}
|
|
157
215
|
declare class PiBridgedAgentSession {
|
|
158
216
|
#private;
|
|
159
217
|
readonly agent: PiSubagentFacade;
|
|
160
|
-
readonly messages: UnknownRecord$
|
|
218
|
+
readonly messages: UnknownRecord$3[];
|
|
219
|
+
/**
|
|
220
|
+
* Pi's AgentSession.sessionManager surface, projected over the child's DSH
|
|
221
|
+
* session. getSessionFile() names the durable archive — what pi-subagents
|
|
222
|
+
* stores as the conversation's reopenable identity (tombstone resurrect).
|
|
223
|
+
*/
|
|
224
|
+
readonly sessionManager: UnknownRecord$3 | undefined;
|
|
161
225
|
constructor(host: SubagentHost, handle: {
|
|
162
|
-
agent: UnknownRecord$
|
|
226
|
+
agent: UnknownRecord$3;
|
|
163
227
|
dispose(): Promise<void>;
|
|
164
228
|
}, tools: unknown[]);
|
|
165
229
|
/** Pi's AgentState projection, shared by `session.state` and `session.agent.state`. */
|
|
166
|
-
get state(): UnknownRecord$
|
|
230
|
+
get state(): UnknownRecord$3;
|
|
167
231
|
/**
|
|
168
232
|
* Whether one transcript entry is carried context rather than part of the
|
|
169
233
|
* exchange in this child session.
|
|
170
234
|
* @param message - an entry of {@link messages}.
|
|
171
235
|
* @returns true for a seeded transcript entry or a host runtime snapshot.
|
|
172
236
|
*/
|
|
173
|
-
isCarriedContext(message: UnknownRecord$
|
|
237
|
+
isCarriedContext(message: UnknownRecord$3): boolean;
|
|
174
238
|
subscribe(handler: PiSessionEventHandler): () => void;
|
|
175
239
|
prompt(text: string): Promise<void>;
|
|
176
240
|
steer(text: string): void;
|
|
177
241
|
abort(): void;
|
|
178
242
|
setSessionName(name: string): void;
|
|
179
243
|
getSessionName(): string;
|
|
180
|
-
getSessionStats(): UnknownRecord$
|
|
244
|
+
getSessionStats(): UnknownRecord$3;
|
|
181
245
|
getAllTools(): unknown[];
|
|
182
246
|
getActiveToolNames(): string[];
|
|
247
|
+
/** Hand over the creation-time restriction so a later setActiveToolsByName
|
|
248
|
+
* retires it instead of intersecting with it. */
|
|
249
|
+
adoptRestriction(dispose: (() => void) | undefined): void;
|
|
183
250
|
setActiveToolsByName(names: string[]): void;
|
|
184
|
-
bindExtensions(_bindings?: UnknownRecord$
|
|
251
|
+
bindExtensions(_bindings?: UnknownRecord$3): Promise<void>;
|
|
185
252
|
dispose(): Promise<void>;
|
|
186
253
|
}
|
|
187
254
|
//#endregion
|
|
@@ -379,36 +446,6 @@ type CompletionSource = (trigger: string, query: string) => Promise<CompletionIt
|
|
|
379
446
|
/** A package's renderer, pulled at snapshot time for the session on screen. */
|
|
380
447
|
type EntrySource = (sessionId: string) => RenderedEntry[];
|
|
381
448
|
//#endregion
|
|
382
|
-
//#region src/compat/vendor/pi-ai-credential-store.d.ts
|
|
383
|
-
/**
|
|
384
|
-
* Default in-memory credential store. Apps inject persistent stores.
|
|
385
|
-
* Keyed by `Provider.id`, one credential per provider; see `CredentialStore`.
|
|
386
|
-
* Writes are serialized per provider through a promise chain.
|
|
387
|
-
*/
|
|
388
|
-
declare class InMemoryCredentialStore {
|
|
389
|
-
credentials: Map<any, any>;
|
|
390
|
-
chains: Map<any, any>;
|
|
391
|
-
/** Serialize tasks per provider id without releasing the chain before active work settles. */
|
|
392
|
-
enqueue(providerId: any, task: any, options: any): Promise<unknown>;
|
|
393
|
-
read(providerId: any, options: any): Promise<any>;
|
|
394
|
-
list(options: any): Promise<{
|
|
395
|
-
providerId: any;
|
|
396
|
-
type: any;
|
|
397
|
-
}[]>;
|
|
398
|
-
modify(providerId: any, fn: any, options: any): Promise<unknown>;
|
|
399
|
-
delete(providerId: any, options: any): Promise<unknown>;
|
|
400
|
-
}
|
|
401
|
-
//#endregion
|
|
402
|
-
//#region src/oauth-bridge.d.ts
|
|
403
|
-
type UnknownRecord$3 = Record<string, unknown>;
|
|
404
|
-
declare class FileCredentialStore extends InMemoryCredentialStore {
|
|
405
|
-
#private;
|
|
406
|
-
constructor(path: string);
|
|
407
|
-
get path(): string;
|
|
408
|
-
modify(providerId: string, fn: (current: unknown) => unknown, options?: UnknownRecord$3): Promise<unknown>;
|
|
409
|
-
delete(providerId: string, options?: UnknownRecord$3): Promise<void>;
|
|
410
|
-
}
|
|
411
|
-
//#endregion
|
|
412
449
|
//#region src/model-bridge.d.ts
|
|
413
450
|
type UnknownRecord$2 = Record<string, unknown>;
|
|
414
451
|
interface DshLlmLike {
|
|
@@ -759,6 +796,9 @@ interface SharedHostState {
|
|
|
759
796
|
/** Pi's theme is session-shared UI state, not per-extension. */
|
|
760
797
|
agentThemes?: WeakMap<object, Theme>;
|
|
761
798
|
hostTheme?: Theme;
|
|
799
|
+
/** Provider ids whose DSH authorization-seam projection is armed (an
|
|
800
|
+
* inject scope waiting on — or holding — the authorization service). */
|
|
801
|
+
authorizationArmedIds?: Set<string>;
|
|
762
802
|
modelCatalog?: ModelCatalog;
|
|
763
803
|
catalogSubscribed?: boolean;
|
|
764
804
|
loginRegistered?: WeakSet<object>;
|
|
@@ -833,6 +873,14 @@ declare function resolveOfferedChoice(answer: string, offered: readonly string[]
|
|
|
833
873
|
* @returns the cancelled provider's name, or undefined when nothing was running.
|
|
834
874
|
*/
|
|
835
875
|
declare function supersedeActiveLogin(state: RuntimeState): Promise<string | undefined>;
|
|
876
|
+
/** The dialog surface a login flow talks to — the /login command hands the
|
|
877
|
+
* DSH command UI, the authorization-seam flow hands a session adapter. */
|
|
878
|
+
interface ProviderLoginUi {
|
|
879
|
+
input(title: unknown, placeholder?: unknown, signal?: AbortSignal): Promise<string | undefined>;
|
|
880
|
+
select(title: unknown, options: unknown[], signal?: AbortSignal): Promise<string | undefined>;
|
|
881
|
+
notify(message: unknown): void;
|
|
882
|
+
deviceCode?(title: unknown, detail: unknown, signal?: AbortSignal): Promise<void>;
|
|
883
|
+
}
|
|
836
884
|
declare function splitArguments(input: string): string[];
|
|
837
885
|
declare function expandPrompt(text: string, rawInput: string): string;
|
|
838
886
|
declare function applyPiPackage(ctx: Context, options: RuntimeOptions): Promise<void>;
|
|
@@ -849,5 +897,5 @@ declare const runtimeInternals: {
|
|
|
849
897
|
textBlocks: typeof textBlocks;
|
|
850
898
|
};
|
|
851
899
|
//#endregion
|
|
852
|
-
export { VisionCompanionsConfig, applyPiPackage, mergeProviderRegistration, normalizeToolSchema, overlayProviderConfig, registerVisionCompanions, runtimeInternals };
|
|
900
|
+
export { ProviderLoginUi, VisionCompanionsConfig, applyPiPackage, mergeProviderRegistration, normalizeToolSchema, overlayProviderConfig, registerVisionCompanions, runtimeInternals };
|
|
853
901
|
//# sourceMappingURL=runtime.d.mts.map
|
package/dist/runtime.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runtime.d.mts","names":[],"sources":["../src/capability.ts","../src/session-bridge.ts","../src/subagent-bridge.ts","../src/browser-surfaces.ts","../src/
|
|
1
|
+
{"version":3,"file":"runtime.d.mts","names":[],"sources":["../src/capability.ts","../src/session-bridge.ts","../src/subagent-bridge.ts","../src/browser-surfaces.ts","../src/model-bridge.ts","../src/provider-adapter.ts","../src/tui-surfaces.ts","../src/runtime.ts"],"mappings":";;;;;;;;;;KAkBY;UAEK;EACf,QAAQ;;EAER;;UAGe;;EAEf;;EAEA;;EAEA;;EAEA;;;;;;;cAgCW;mBAIkB;mBAHZ;mBACA;EAEY,YAAA,OAAO;;;;;EAMpC,eAAe,SAAS;;;;;;EAcxB,mBAAmB,SAAS;;;;;;;;EAa5B,uBAAuB,SAAS;;;;;EAYhC,eAAe,SAAS;EASxB,SAAS,sBAAsB;;EAO/B,YAAY,oBAAoB;UAQxB;UAQA;;;;KC5HL,kBAAgB;UAEX;EACR;EACA,iBAAiB,oCAAkC;EACnD,QAAQ,cAAc,eAAe;EACrC,SAAS;;UAgBM;EACf;EACA;EACA;EACA;GACC;;cA0BU;mBACM;mBACA;UAET;;;;;;;;;;EAcR,eAAe;;;;;;;;EAgBf,uBAAuB;EAQvB,KAAK;UAqBG;EASR,kBAAkB,mBAAmB,oBAAoB;;;;;;;;;EAiBzD,cAAc,oBAAoB;IAAQ;IAAY;IAAoB;IAAe;;EAWzF,oBAAoB,mBAAmB,iBAAiB;EAQxD,YAAY,mBAAmB,kBAAkB;EAOjD,QAAQ,mBAAmB;EAK3B,QAAQ;EASR,OAAO,oBAAoB;;;;;;;;;;;;;EAuB3B,YAAY,SAAS,iBAAiB;EAQtC,eAAe,SAAS,iBAAiB;;EAyFzC,uBAAuB,SAAS,gBAAgB,cAAc;;;;KClU3D,kBAAgB;KAChB,yBAAyB,OAAO;UAepB;EACf,QA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iC;;;;;;;;;;;;;;;;;;iBAmB7B,yBAAyB,KAAK,SAAS,QAAQ;;;;;;;iBAkJtD,qBAAqB,gBAAgB;;;;;;;;;;;iBAsB/B,qBAAqB,OAAO,eAAe;;;UAwPzC;EACf,MAAM,gBAAgB,uBAAuB,SAAS,cAAc;EACpE,OAAO,gBAAgB,oBAAoB,SAAS,cAAc;EAClE,OAAO;EACP,YAAY,gBAAgB,iBAAiB,SAAS,cAAc;;iBA4rC7D,eAAe;iBA+Bf,aAAa,cAAc;iBAqKd,eAAe,KAAK,SAAS,SAAS,iBAAiB;cAgZhE"}
|
package/dist/runtime.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
|
|
2
|
-
import { a as registerVisionCompanions, i as overlayProviderConfig, n as mergeProviderRegistration, o as runtimeInternals, r as normalizeToolSchema, t as applyPiPackage } from "./runtime-
|
|
2
|
+
import { a as registerVisionCompanions, i as overlayProviderConfig, n as mergeProviderRegistration, o as runtimeInternals, r as normalizeToolSchema, t as applyPiPackage } from "./runtime-Bjc6ijZg.mjs";
|
|
3
3
|
export { applyPiPackage, mergeProviderRegistration, normalizeToolSchema, overlayProviderConfig, registerVisionCompanions, runtimeInternals };
|