@poe-platform/safe-bash 0.1.821 → 0.1.823
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/dist/safe-bash/chunks/{chunk-HNT2MR4W.js → chunk-363QOIDR.js} +2 -1
- package/dist/safe-bash/chunks/chunk-AGHV53VF.js +42 -0
- package/dist/safe-bash/chunks/{chunk-VF3Q2V3E.js → chunk-RAFD5ZAH.js} +1 -1
- package/dist/safe-bash/chunks/{chunk-67QE3JLU.js → chunk-TZRVK3NU.js} +1 -1
- package/dist/safe-bash/chunks/{chunk-IRJS54AA.js → chunk-VWLQDZFF.js} +20 -12
- package/dist/safe-bash/chunks/{chunk-NAETSXBW.js → chunk-ZJAXMB5M.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-QX3WKBLI.js → chunk-36FV6BAG.js} +5 -3
- package/dist/safe-bash/command-chunks/{chunk-ZSHXZ3XG.js → chunk-3EAZRKI4.js} +7 -7
- package/dist/safe-bash/command-chunks/chunk-64HIOP7Q.js +993 -0
- package/dist/safe-bash/command-chunks/{chunk-WOT2YXBT.js → chunk-7ZQVMPSB.js} +213 -42
- package/dist/safe-bash/command-chunks/{chunk-GRFJKJFN.js → chunk-AVSINNZ6.js} +233 -3
- package/dist/safe-bash/command-chunks/{chunk-BZLLQWRK.js → chunk-E5CDHXFA.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-RHXV2KG5.js → chunk-EO3RYGUZ.js} +1010 -58
- package/dist/safe-bash/command-chunks/{chunk-MCUDSE4H.js → chunk-EWECMOQ5.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-RTUDDAAY.js → chunk-O3KFOFJM.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-SLD5A7IL.js → chunk-OU5UEUZN.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-RKAL5VFP.js → chunk-PLVFJ6FF.js} +255 -616
- package/dist/safe-bash/command-chunks/{chunk-CJIFJ45R.js → chunk-QBCEAYQT.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-4Q3HP33O.js → chunk-RGKHTSUY.js} +146 -123
- package/dist/safe-bash/command-chunks/{chunk-I7MEH76L.js → chunk-UYNJF5QN.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-IAHYG67O.js → chunk-V5ZBRM5R.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-R4NPYXQX.js → chunk-WDTWJFPK.js} +320 -67
- package/dist/safe-bash/command-chunks/{chunk-GQV5RWMN.js → chunk-ZFXHSFTU.js} +1 -1
- package/dist/safe-bash/command-chunks/{prompt-tool-debug-ERJKK3XZ.js → prompt-tool-debug-3POFNRYP.js} +5 -5
- package/dist/safe-bash/commands/bc/index.browser.js +1 -1
- package/dist/safe-bash/commands/llm/index.browser.js +3 -1
- package/dist/safe-bash/commands/llm/index.js +1 -1
- package/dist/safe-bash/commands/python/executor.browser.js +12 -1
- package/dist/safe-bash/commands/python/executor.js +1 -1
- package/dist/safe-bash/commands/python/index.browser.js +23 -1
- package/dist/safe-bash/commands/python/index.js +1 -1
- package/dist/safe-bash/core.browser.js +2 -2
- package/dist/safe-bash/full-core.browser.js +30 -6
- package/dist/safe-bash/plugins/index.browser.js +3 -3
- package/dist/safe-bash/registry-entry.browser.js +2 -2
- package/dist/safe-bash/search.browser.js +1 -1
- package/dist/safe-bash/shell/runtime.d.ts +2 -2
- package/dist/safe-bash/shell/runtime.js +11 -2
- package/dist/safe-bash/shell/sync-extra-evaluators.js +12 -12
- package/dist/safe-bash/shell-entry.browser.js +2 -2
- package/dist/safe-bash-command-llm/collections.js +24 -65
- package/dist/safe-bash-command-llm/command.js +6 -6
- package/dist/safe-bash-command-llm/fragment-loaders.d.ts +3 -2
- package/dist/safe-bash-command-llm/index.d.ts +3 -2
- package/dist/safe-bash-command-llm/index.js +10 -8
- package/dist/safe-bash-command-llm/loader-provider.d.ts +25 -0
- package/dist/safe-bash-command-llm/openai-sse.js +2 -2
- package/dist/safe-bash-command-llm/openai.js +4 -4
- package/dist/safe-bash-command-llm/providers/index.js +4 -4
- package/dist/safe-bash-command-llm/providers/openai.js +4 -4
- package/dist/safe-bash-command-llm/python-unicode.d.ts +2 -0
- package/dist/safe-bash-command-llm/templates.d.ts +7 -2
- package/dist/safe-bash-command-llm/types.d.ts +7 -1
- package/dist/safe-bash-command-mcp/index.browser.js +3 -0
- package/dist/safe-bash-command-mcp/index.js +3 -0
- package/dist/safe-bash-command-patch/index.js +2 -2
- package/dist/safe-bash-command-patch/patch-publication.js +1 -1
- package/dist/safe-bash-command-patch/patch.js +2 -2
- package/dist/safe-bash-command-python/build-backend.d.ts +51 -0
- package/dist/safe-bash-command-python/build-dependencies.d.ts +12 -0
- package/dist/safe-bash-command-python/build-environment.d.ts +3 -0
- package/dist/safe-bash-command-python/build-wheel.d.ts +8 -0
- package/dist/safe-bash-command-python/executor.d.ts +12 -2
- package/dist/safe-bash-command-python/executor.js +26 -4
- package/dist/safe-bash-command-python/index.js +26 -4
- package/dist/safe-bash-command-python/jspi.js +2 -2
- package/dist/safe-bash-command-python/llm-assets-node.js +1 -1
- package/dist/safe-bash-command-python/llm-fragment-loader.d.ts +6 -0
- package/dist/safe-bash-command-python/llm-functions-loader.d.ts +5 -1
- package/dist/safe-bash-command-python/llm-loader-discovery.d.ts +13 -0
- package/dist/safe-bash-command-python/llm-package-manager.d.ts +7 -0
- package/dist/safe-bash-command-python/llm-template-loader.d.ts +6 -0
- package/dist/safe-bash-command-python/manifest.d.ts +13 -0
- package/dist/safe-bash-command-python/provisioning.d.ts +33 -5
- package/dist/safe-bash-command-python/provisioning.js +1 -1
- package/dist/safe-bash-command-python/source-environment.d.ts +9 -0
- package/dist/safe-bash-command-python/source-snapshot.d.ts +8 -0
- package/dist/safe-bash-command-python/worker.js +3 -185
- package/dist/safe-bash-csv-engine/index.js +1 -1
- package/dist/safe-bash-csv-engine/python-iso2022.d.ts +21 -0
- package/dist/safe-bash-csv-engine/python-utf7.d.ts +18 -0
- package/dist/safe-bash-csv-engine/text-decoder.d.ts +2 -0
- package/dist/safe-bash-csv-engine/text-decoder.js +7 -3
- package/dist/safe-bash-zip-engine/index.js +1 -1
- package/dist/safe-bash-zip-engine/zip/repair.js +1 -1
- package/dist/safe-bash-zip-engine/zip/sfx.js +1 -1
- package/dist/safe-bash-zip-engine/zip-format.d.ts +3 -1
- package/dist/safe-bash-zip-engine/zip-format.js +1 -1
- package/dist/safe-playwright-cloudflare/shell-browser-resource.d.ts +1 -1
- package/dist/safe-playwright-cloudflare/shell-browser-resource.js +35 -20
- package/package.json +3 -3
- package/dist/safe-bash/chunks/chunk-PSD2RSOS.js +0 -31
- package/dist/safe-bash/command-chunks/chunk-5EFNQ6FY.js +0 -458
|
@@ -3,19 +3,19 @@ import {
|
|
|
3
3
|
createLlmCommands,
|
|
4
4
|
llmCommands,
|
|
5
5
|
llmReferenceVersion
|
|
6
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
7
|
-
import "../safe-bash/command-chunks/chunk-
|
|
8
|
-
import "../safe-bash/command-chunks/chunk-
|
|
9
|
-
import "../safe-bash/command-chunks/chunk-
|
|
6
|
+
} from "../safe-bash/command-chunks/chunk-PLVFJ6FF.js";
|
|
7
|
+
import "../safe-bash/command-chunks/chunk-EWECMOQ5.js";
|
|
8
|
+
import "../safe-bash/command-chunks/chunk-7ZQVMPSB.js";
|
|
9
|
+
import "../safe-bash/command-chunks/chunk-E5CDHXFA.js";
|
|
10
10
|
import "../safe-bash/command-chunks/chunk-SENLC5KK.js";
|
|
11
11
|
import "../safe-bash/command-chunks/chunk-3PO534WJ.js";
|
|
12
12
|
import "../safe-bash/command-chunks/chunk-B74LVFAN.js";
|
|
13
13
|
import "../safe-bash/command-chunks/chunk-GDH7OVYK.js";
|
|
14
|
-
import "../safe-bash/command-chunks/chunk-
|
|
14
|
+
import "../safe-bash/command-chunks/chunk-ZFXHSFTU.js";
|
|
15
15
|
import "../safe-bash/command-chunks/chunk-CKQ5SXOO.js";
|
|
16
16
|
import "../safe-bash/command-chunks/chunk-B6NAEWHC.js";
|
|
17
17
|
import "../safe-bash/command-chunks/chunk-E47FFS5M.js";
|
|
18
|
-
import "../safe-bash/command-chunks/chunk-
|
|
18
|
+
import "../safe-bash/command-chunks/chunk-36FV6BAG.js";
|
|
19
19
|
import "../safe-bash/command-chunks/chunk-GNPPPYDF.js";
|
|
20
20
|
import "../safe-bash/command-chunks/chunk-VMA3NJXU.js";
|
|
21
21
|
import "../safe-bash/command-chunks/chunk-65DS4IOB.js";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { CommandContext, FileSystem } from "../safe-bash-contracts/index.js";
|
|
2
2
|
import type { LlmInputSource } from './types.js';
|
|
3
3
|
import type { LlmFragmentInputSource } from './fragments.js';
|
|
4
|
+
import { type LlmLoaderProvider } from './loader-provider.js';
|
|
4
5
|
export type LlmLoadedFragment = {
|
|
5
6
|
readonly type: 'text';
|
|
6
7
|
readonly source: LlmFragmentInputSource;
|
|
@@ -10,7 +11,7 @@ export type LlmLoadedFragment = {
|
|
|
10
11
|
readonly mimeType: string;
|
|
11
12
|
readonly id?: string;
|
|
12
13
|
};
|
|
13
|
-
export interface LlmFragmentLoaderContext {
|
|
14
|
+
export interface LlmFragmentLoaderContext extends Partial<Omit<CommandContext, 'fs' | 'cwd' | 'signal'>> {
|
|
14
15
|
readonly fs: FileSystem;
|
|
15
16
|
readonly cwd: string;
|
|
16
17
|
readonly signal: AbortSignal;
|
|
@@ -26,4 +27,4 @@ export declare function getLlmFragmentPrefix(reference: string): string | undefi
|
|
|
26
27
|
/** Preserve registration order and the reference's collision suffixes. */
|
|
27
28
|
export declare function createLlmFragmentLoaders(entries: Iterable<readonly [string, LlmFragmentLoader]>): ReadonlyMap<string, LlmFragmentLoader>;
|
|
28
29
|
/** Resolve an injected loader without ambient plugin imports or history. */
|
|
29
|
-
export declare function loadLlmPluginFragments(reference: string, loaders: ReadonlyMap<string, LlmFragmentLoader>, context: LlmFragmentLoaderContext, allowAttachments?: boolean): AsyncGenerator<LlmLoadedFragment>;
|
|
30
|
+
export declare function loadLlmPluginFragments(reference: string, loaders: ReadonlyMap<string, LlmFragmentLoader>, context: LlmFragmentLoaderContext, allowAttachments?: boolean, provider?: Pick<LlmLoaderProvider, 'fragments'>): AsyncGenerator<LlmLoadedFragment>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { serializeLlmTokenUsage } from "./usage.js";
|
|
2
|
+
export { LlmLoaderLookupError, type LlmLoaderProvider, type LlmDiscoveredLoaders, type LlmLoaderDiscoveryContext } from './loader-provider.js';
|
|
2
3
|
export { createLlmToolRegistry, selectLlmTools, type LlmRegisteredTool, type LlmToolLoader, type LlmToolboxDescription, type LlmPluginQuery, type LlmPluginInfo } from './tool-registry.js';
|
|
3
4
|
export { executeLlmToolCalls, LlmCancelToolCall, type LlmToolContext, type LlmToolOutput, type LlmExecutableTool, type LlmToolExecutionResult, type LlmToolExecutionOptions } from './tool-execution.js';
|
|
4
5
|
export type { LlmTool, LlmToolCall, LlmMessage } from "./types.js";
|
|
@@ -6,13 +7,13 @@ export { createLlmInputBudget, type LlmInputLimits } from "./input-budget.js";
|
|
|
6
7
|
export * from "./provider-serialization.js";
|
|
7
8
|
export { llmReferenceVersion, createLlmCommand, createLlmCommands, llmCommands } from "./command.js";
|
|
8
9
|
export { createLlmService, type LlmService, type LlmServiceOptions, type LlmServiceModel, type LlmStreamEvent, type LlmServiceRequest, type LlmServiceSourceRequest } from "./service.js";
|
|
9
|
-
export type { LlmInputSource, LlmSourceRequest, LlmAttachment, LlmSourceAttachment, LlmModelOption, LlmOption, LlmCapability, LlmResponseMetadata, LlmEmbeddingRequest, LlmEmbeddingSourceRequest, LlmEmbeddingResponse, LlmLimits, LlmCommandsOptions, LlmProvider, LlmModel, LlmRequest } from "./types.js";
|
|
10
|
+
export type { LlmPackageManager, LlmInputSource, LlmSourceRequest, LlmAttachment, LlmSourceAttachment, LlmModelOption, LlmOption, LlmCapability, LlmResponseMetadata, LlmEmbeddingRequest, LlmEmbeddingSourceRequest, LlmEmbeddingResponse, LlmLimits, LlmCommandsOptions, LlmProvider, LlmModel, LlmRequest } from "./types.js";
|
|
10
11
|
export { serializeOpenAiChatRequest, type OpenAiChatSourceRequest, createOpenAiProvider, type OpenAiModel, type OpenAiProviderOptions } from "./openai.js";
|
|
11
12
|
export { createElevenLabsProvider, type ElevenLabsModel, type ElevenLabsProviderOptions } from "./elevenlabs.js";
|
|
12
13
|
export type { LlmProviderLimits } from "./providers/shared.js";
|
|
13
14
|
export { createLlmConfiguration, type LlmConfiguration } from "./configuration.js";
|
|
14
15
|
export { validateModelOptions } from "./model-options.js";
|
|
15
|
-
export { createLlmTemplateStore, evaluateLlmTemplate, llmTemplateUsesInput, validateLlmTemplateParameters, type LlmTemplate, type LlmTemplateLoader, type TemplateLoaderOptions } from "./templates.js";
|
|
16
|
+
export { createLlmTemplateStore, evaluateLlmTemplate, llmTemplateUsesInput, validateLlmTemplateParameters, type LlmTemplate, type LlmTemplateLoader, type LlmTemplateLoaderContext, type TemplateLoaderOptions } from "./templates.js";
|
|
16
17
|
export { templateYaml } from "./template-yaml.js";
|
|
17
18
|
export { findExtractedRange } from "./extract-range.js";
|
|
18
19
|
export { parseLlmSchemaDsl } from "./schemas.js";
|
|
@@ -10,14 +10,15 @@ import {
|
|
|
10
10
|
chatJson,
|
|
11
11
|
createOpenAiProvider,
|
|
12
12
|
openAiChatOptions
|
|
13
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
13
|
+
} from "../safe-bash/command-chunks/chunk-V5ZBRM5R.js";
|
|
14
14
|
import {
|
|
15
15
|
jsonString
|
|
16
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
16
|
+
} from "../safe-bash/command-chunks/chunk-QBCEAYQT.js";
|
|
17
17
|
import "../safe-bash/command-chunks/chunk-UN2RIRCD.js";
|
|
18
18
|
import "../safe-bash/command-chunks/chunk-HLRLMFMS.js";
|
|
19
19
|
import {
|
|
20
20
|
LlmCancelToolCall,
|
|
21
|
+
LlmLoaderLookupError,
|
|
21
22
|
createLlmCommand,
|
|
22
23
|
createLlmCommands,
|
|
23
24
|
createLlmFragmentLoaders,
|
|
@@ -43,14 +44,14 @@ import {
|
|
|
43
44
|
serializeLlmTokenUsage,
|
|
44
45
|
streamLlmToolChain,
|
|
45
46
|
validateLlmTemplateParameters
|
|
46
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
47
|
-
import "../safe-bash/command-chunks/chunk-
|
|
47
|
+
} from "../safe-bash/command-chunks/chunk-PLVFJ6FF.js";
|
|
48
|
+
import "../safe-bash/command-chunks/chunk-EWECMOQ5.js";
|
|
48
49
|
import {
|
|
49
50
|
createLlmConfiguration
|
|
50
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
51
|
+
} from "../safe-bash/command-chunks/chunk-7ZQVMPSB.js";
|
|
51
52
|
import {
|
|
52
53
|
createLlmSpool
|
|
53
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
54
|
+
} from "../safe-bash/command-chunks/chunk-E5CDHXFA.js";
|
|
54
55
|
import {
|
|
55
56
|
createLlmService,
|
|
56
57
|
validateModelOptions
|
|
@@ -62,13 +63,13 @@ import {
|
|
|
62
63
|
import "../safe-bash/command-chunks/chunk-GDH7OVYK.js";
|
|
63
64
|
import {
|
|
64
65
|
base64Stream
|
|
65
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
66
|
+
} from "../safe-bash/command-chunks/chunk-ZFXHSFTU.js";
|
|
66
67
|
import "../safe-bash/command-chunks/chunk-CKQ5SXOO.js";
|
|
67
68
|
import {
|
|
68
69
|
resolveUrlAttachment
|
|
69
70
|
} from "../safe-bash/command-chunks/chunk-B6NAEWHC.js";
|
|
70
71
|
import "../safe-bash/command-chunks/chunk-E47FFS5M.js";
|
|
71
|
-
import "../safe-bash/command-chunks/chunk-
|
|
72
|
+
import "../safe-bash/command-chunks/chunk-36FV6BAG.js";
|
|
72
73
|
import {
|
|
73
74
|
jsonValue
|
|
74
75
|
} from "../safe-bash/command-chunks/chunk-GNPPPYDF.js";
|
|
@@ -76,6 +77,7 @@ import "../safe-bash/command-chunks/chunk-VMA3NJXU.js";
|
|
|
76
77
|
import "../safe-bash/command-chunks/chunk-65DS4IOB.js";
|
|
77
78
|
export {
|
|
78
79
|
LlmCancelToolCall,
|
|
80
|
+
LlmLoaderLookupError,
|
|
79
81
|
createElevenLabsProvider,
|
|
80
82
|
createLlmCommand,
|
|
81
83
|
createLlmCommands,
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { LlmFragmentLoader, LlmFragmentLoaderContext } from './fragment-loaders.js';
|
|
2
|
+
import type { LlmTemplateLoader } from './templates.js';
|
|
3
|
+
export interface LlmDiscoveredLoaders {
|
|
4
|
+
readonly fragmentLoaders: ReadonlyMap<string, LlmFragmentLoader>;
|
|
5
|
+
readonly templateLoaders: ReadonlyMap<string, LlmTemplateLoader>;
|
|
6
|
+
}
|
|
7
|
+
export interface LlmLoaderDiscoveryContext extends LlmFragmentLoaderContext {
|
|
8
|
+
readonly kind?: 'fragments' | 'templates';
|
|
9
|
+
/** Charge metadata before retention, in addition to maxBytes admission. */
|
|
10
|
+
readonly admitBytes?: ((size: number) => void) | undefined;
|
|
11
|
+
}
|
|
12
|
+
export interface LlmLoaderProvider {
|
|
13
|
+
discover(context: LlmLoaderDiscoveryContext): Promise<LlmDiscoveredLoaders>;
|
|
14
|
+
/** Resolve lazily; discovery must not run again before executing a loader. */
|
|
15
|
+
fragments(prefix: string): LlmFragmentLoader | undefined;
|
|
16
|
+
templates(prefix: string): LlmTemplateLoader | undefined;
|
|
17
|
+
}
|
|
18
|
+
/** Lookup failures precede loader execution and retain their native diagnostic. */
|
|
19
|
+
export declare class LlmLoaderLookupError extends Error {
|
|
20
|
+
}
|
|
21
|
+
export declare function discoverLlmLoaders(loaders: ReadonlyMap<string, {
|
|
22
|
+
readonly description?: string;
|
|
23
|
+
}> | undefined, context: LlmLoaderDiscoveryContext, provider?: LlmLoaderProvider): Promise<ReadonlyMap<string, {
|
|
24
|
+
readonly description?: string;
|
|
25
|
+
}>>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openAiChat
|
|
3
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
3
|
+
} from "../safe-bash/command-chunks/chunk-QBCEAYQT.js";
|
|
4
4
|
import "../safe-bash/command-chunks/chunk-UN2RIRCD.js";
|
|
5
5
|
import "../safe-bash/command-chunks/chunk-E47FFS5M.js";
|
|
6
|
-
import "../safe-bash/command-chunks/chunk-
|
|
6
|
+
import "../safe-bash/command-chunks/chunk-36FV6BAG.js";
|
|
7
7
|
import "../safe-bash/command-chunks/chunk-GNPPPYDF.js";
|
|
8
8
|
import "../safe-bash/command-chunks/chunk-65DS4IOB.js";
|
|
9
9
|
export {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
chatJson,
|
|
3
3
|
createOpenAiProvider
|
|
4
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
5
|
-
import "../safe-bash/command-chunks/chunk-
|
|
4
|
+
} from "../safe-bash/command-chunks/chunk-V5ZBRM5R.js";
|
|
5
|
+
import "../safe-bash/command-chunks/chunk-QBCEAYQT.js";
|
|
6
6
|
import "../safe-bash/command-chunks/chunk-UN2RIRCD.js";
|
|
7
7
|
import "../safe-bash/command-chunks/chunk-HLRLMFMS.js";
|
|
8
8
|
import "../safe-bash/command-chunks/chunk-B74LVFAN.js";
|
|
9
9
|
import "../safe-bash/command-chunks/chunk-GDH7OVYK.js";
|
|
10
|
-
import "../safe-bash/command-chunks/chunk-
|
|
10
|
+
import "../safe-bash/command-chunks/chunk-ZFXHSFTU.js";
|
|
11
11
|
import "../safe-bash/command-chunks/chunk-CKQ5SXOO.js";
|
|
12
12
|
import "../safe-bash/command-chunks/chunk-B6NAEWHC.js";
|
|
13
13
|
import "../safe-bash/command-chunks/chunk-E47FFS5M.js";
|
|
14
|
-
import "../safe-bash/command-chunks/chunk-
|
|
14
|
+
import "../safe-bash/command-chunks/chunk-36FV6BAG.js";
|
|
15
15
|
import "../safe-bash/command-chunks/chunk-GNPPPYDF.js";
|
|
16
16
|
import "../safe-bash/command-chunks/chunk-VMA3NJXU.js";
|
|
17
17
|
import "../safe-bash/command-chunks/chunk-65DS4IOB.js";
|
|
@@ -9,21 +9,21 @@ import {
|
|
|
9
9
|
chatJson,
|
|
10
10
|
createOpenAiProvider,
|
|
11
11
|
openAiChatOptions
|
|
12
|
-
} from "../../safe-bash/command-chunks/chunk-
|
|
12
|
+
} from "../../safe-bash/command-chunks/chunk-V5ZBRM5R.js";
|
|
13
13
|
import {
|
|
14
14
|
jsonString
|
|
15
|
-
} from "../../safe-bash/command-chunks/chunk-
|
|
15
|
+
} from "../../safe-bash/command-chunks/chunk-QBCEAYQT.js";
|
|
16
16
|
import "../../safe-bash/command-chunks/chunk-UN2RIRCD.js";
|
|
17
17
|
import "../../safe-bash/command-chunks/chunk-HLRLMFMS.js";
|
|
18
18
|
import "../../safe-bash/command-chunks/chunk-B74LVFAN.js";
|
|
19
19
|
import "../../safe-bash/command-chunks/chunk-GDH7OVYK.js";
|
|
20
20
|
import {
|
|
21
21
|
base64Stream
|
|
22
|
-
} from "../../safe-bash/command-chunks/chunk-
|
|
22
|
+
} from "../../safe-bash/command-chunks/chunk-ZFXHSFTU.js";
|
|
23
23
|
import "../../safe-bash/command-chunks/chunk-CKQ5SXOO.js";
|
|
24
24
|
import "../../safe-bash/command-chunks/chunk-B6NAEWHC.js";
|
|
25
25
|
import "../../safe-bash/command-chunks/chunk-E47FFS5M.js";
|
|
26
|
-
import "../../safe-bash/command-chunks/chunk-
|
|
26
|
+
import "../../safe-bash/command-chunks/chunk-36FV6BAG.js";
|
|
27
27
|
import {
|
|
28
28
|
jsonValue
|
|
29
29
|
} from "../../safe-bash/command-chunks/chunk-GNPPPYDF.js";
|
|
@@ -2,17 +2,17 @@ import "../../safe-bash/command-chunks/chunk-MUUY3FZC.js";
|
|
|
2
2
|
import {
|
|
3
3
|
chatJson,
|
|
4
4
|
createOpenAiProvider
|
|
5
|
-
} from "../../safe-bash/command-chunks/chunk-
|
|
6
|
-
import "../../safe-bash/command-chunks/chunk-
|
|
5
|
+
} from "../../safe-bash/command-chunks/chunk-V5ZBRM5R.js";
|
|
6
|
+
import "../../safe-bash/command-chunks/chunk-QBCEAYQT.js";
|
|
7
7
|
import "../../safe-bash/command-chunks/chunk-UN2RIRCD.js";
|
|
8
8
|
import "../../safe-bash/command-chunks/chunk-HLRLMFMS.js";
|
|
9
9
|
import "../../safe-bash/command-chunks/chunk-B74LVFAN.js";
|
|
10
10
|
import "../../safe-bash/command-chunks/chunk-GDH7OVYK.js";
|
|
11
|
-
import "../../safe-bash/command-chunks/chunk-
|
|
11
|
+
import "../../safe-bash/command-chunks/chunk-ZFXHSFTU.js";
|
|
12
12
|
import "../../safe-bash/command-chunks/chunk-CKQ5SXOO.js";
|
|
13
13
|
import "../../safe-bash/command-chunks/chunk-B6NAEWHC.js";
|
|
14
14
|
import "../../safe-bash/command-chunks/chunk-E47FFS5M.js";
|
|
15
|
-
import "../../safe-bash/command-chunks/chunk-
|
|
15
|
+
import "../../safe-bash/command-chunks/chunk-36FV6BAG.js";
|
|
16
16
|
import "../../safe-bash/command-chunks/chunk-GNPPPYDF.js";
|
|
17
17
|
import "../../safe-bash/command-chunks/chunk-VMA3NJXU.js";
|
|
18
18
|
import "../../safe-bash/command-chunks/chunk-65DS4IOB.js";
|
|
@@ -2,3 +2,5 @@
|
|
|
2
2
|
export declare function hasUnpairedSurrogate(value: string): boolean;
|
|
3
3
|
/** Internal provenance for Python IDs that cannot be represented by a JS string. */
|
|
4
4
|
export declare const pythonSurrogateId: unique symbol;
|
|
5
|
+
/** Python sorts strings by Unicode code points, including supplementary planes. */
|
|
6
|
+
export declare function unicodeOrder(left: string, right: string): number;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type LlmLoaderProvider } from './loader-provider.js';
|
|
1
2
|
import { type CommandContext } from "../safe-bash-contracts/index.js";
|
|
2
3
|
export interface LlmTemplate {
|
|
3
4
|
name: string;
|
|
@@ -26,14 +27,18 @@ export declare function evaluateLlmTemplate(value: LlmTemplate, input: string, p
|
|
|
26
27
|
prompt: string;
|
|
27
28
|
system?: string;
|
|
28
29
|
};
|
|
29
|
-
export type
|
|
30
|
+
export type LlmTemplateLoaderContext = LlmTemplateStoreContext & {
|
|
31
|
+
readonly maxBytes: number;
|
|
32
|
+
};
|
|
33
|
+
export type LlmTemplateLoader = ((remainder: string, signal: AbortSignal, context?: LlmTemplateLoaderContext) => Promise<LlmTemplate> | LlmTemplate) & {
|
|
30
34
|
readonly description?: string;
|
|
31
35
|
};
|
|
32
36
|
export interface TemplateLoaderOptions {
|
|
37
|
+
readonly provider?: LlmLoaderProvider | undefined;
|
|
33
38
|
readonly maxRemoteBytes: number;
|
|
34
39
|
readonly maxBytes?: number;
|
|
35
40
|
readonly admitBytes?: (size: number) => void;
|
|
36
|
-
readonly loaders?: ReadonlyMap<string, LlmTemplateLoader
|
|
41
|
+
readonly loaders?: ReadonlyMap<string, LlmTemplateLoader> | undefined;
|
|
37
42
|
}
|
|
38
43
|
export type LlmTemplateStoreContext = Pick<CommandContext, "fs" | "cwd" | "env" | "signal"> & Partial<Omit<CommandContext, "fs" | "cwd" | "env" | "signal">> & {
|
|
39
44
|
readonly fetch?: typeof globalThis.fetch | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { LlmFragmentLoader } from "./fragment-loaders.js";
|
|
2
2
|
import type { LlmRegisteredTool, LlmToolLoader } from "./tool-registry.js";
|
|
3
|
-
import type { ByteSource } from "../safe-bash-contracts/index.js";
|
|
3
|
+
import type { ByteSource, CommandContext, CommandResult } from "../safe-bash-contracts/index.js";
|
|
4
4
|
import type { LlmService } from "./service.js";
|
|
5
5
|
import type { LlmTemplateLoader } from "./templates.js";
|
|
6
6
|
import type { LlmCollectionCommands } from './collections-command-types.js';
|
|
@@ -129,7 +129,13 @@ export interface LlmLimits {
|
|
|
129
129
|
readonly maxBufferedInputBytes?: number;
|
|
130
130
|
readonly maxOutputBytes: number;
|
|
131
131
|
}
|
|
132
|
+
export type LlmPackageManager = (request: {
|
|
133
|
+
readonly context: CommandContext;
|
|
134
|
+
readonly args: readonly string[];
|
|
135
|
+
}) => Promise<CommandResult>;
|
|
132
136
|
export interface LlmCommandsOptions {
|
|
137
|
+
readonly loaderProvider?: import('./loader-provider.js').LlmLoaderProvider;
|
|
138
|
+
readonly managePackages?: LlmPackageManager;
|
|
133
139
|
readonly collections?: LlmCollectionCommands;
|
|
134
140
|
readonly limits?: Partial<LlmLimits>;
|
|
135
141
|
readonly service?: LlmService;
|
|
@@ -6198,6 +6198,9 @@ var HttpTransport = class {
|
|
|
6198
6198
|
const modern = isObjectRecord2(metadata) && typeof metadata["io.modelcontextprotocol/protocolVersion"] === "string";
|
|
6199
6199
|
if (modern) this.modernMode = true;
|
|
6200
6200
|
if (parsed.type === "request" && parsed.message.method === "initialize") {
|
|
6201
|
+
const superseded = [...this.modernRequests.values()];
|
|
6202
|
+
this.modernRequests.clear();
|
|
6203
|
+
for (const controller2 of superseded) controller2.abort();
|
|
6201
6204
|
this.modernMode = false;
|
|
6202
6205
|
this.initializationRequestId = parsed.message.id;
|
|
6203
6206
|
this.legacyProtocolVersion = MCP_PROTOCOL_VERSION;
|
|
@@ -13809,6 +13809,9 @@ var HttpTransport = class {
|
|
|
13809
13809
|
const modern = isObjectRecord5(metadata) && typeof metadata["io.modelcontextprotocol/protocolVersion"] === "string";
|
|
13810
13810
|
if (modern) this.modernMode = true;
|
|
13811
13811
|
if (parsed.type === "request" && parsed.message.method === "initialize") {
|
|
13812
|
+
const superseded = [...this.modernRequests.values()];
|
|
13813
|
+
this.modernRequests.clear();
|
|
13814
|
+
for (const controller2 of superseded) controller2.abort();
|
|
13812
13815
|
this.modernMode = false;
|
|
13813
13816
|
this.initializationRequestId = parsed.message.id;
|
|
13814
13817
|
this.legacyProtocolVersion = MCP_PROTOCOL_VERSION;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
patchCommand
|
|
3
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
3
|
+
} from "../safe-bash/command-chunks/chunk-OU5UEUZN.js";
|
|
4
4
|
import "../safe-bash/command-chunks/chunk-6GCK2KSL.js";
|
|
5
5
|
import "../safe-bash/command-chunks/chunk-2C4QMQQD.js";
|
|
6
6
|
import "../safe-bash/command-chunks/chunk-OQNX2OOS.js";
|
|
7
7
|
import "../safe-bash/command-chunks/chunk-5XUWGUGN.js";
|
|
8
8
|
import "../safe-bash/command-chunks/chunk-AJEQUVDN.js";
|
|
9
|
-
import "../safe-bash/command-chunks/chunk-
|
|
9
|
+
import "../safe-bash/command-chunks/chunk-O3KFOFJM.js";
|
|
10
10
|
import "../safe-bash/command-chunks/chunk-KASXIRKD.js";
|
|
11
11
|
import "../safe-bash/command-chunks/chunk-KHUT7BB5.js";
|
|
12
12
|
import {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PatchPublication
|
|
3
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
3
|
+
} from "../safe-bash/command-chunks/chunk-O3KFOFJM.js";
|
|
4
4
|
import "../safe-bash/command-chunks/chunk-KASXIRKD.js";
|
|
5
5
|
import "../safe-bash/command-chunks/chunk-KHUT7BB5.js";
|
|
6
6
|
import "../safe-bash/command-chunks/chunk-65DS4IOB.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
patchCommand
|
|
3
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
3
|
+
} from "../safe-bash/command-chunks/chunk-OU5UEUZN.js";
|
|
4
4
|
import "../safe-bash/command-chunks/chunk-6GCK2KSL.js";
|
|
5
5
|
import "../safe-bash/command-chunks/chunk-2C4QMQQD.js";
|
|
6
6
|
import "../safe-bash/command-chunks/chunk-OQNX2OOS.js";
|
|
7
7
|
import "../safe-bash/command-chunks/chunk-5XUWGUGN.js";
|
|
8
8
|
import "../safe-bash/command-chunks/chunk-AJEQUVDN.js";
|
|
9
|
-
import "../safe-bash/command-chunks/chunk-
|
|
9
|
+
import "../safe-bash/command-chunks/chunk-O3KFOFJM.js";
|
|
10
10
|
import "../safe-bash/command-chunks/chunk-KASXIRKD.js";
|
|
11
11
|
import "../safe-bash/command-chunks/chunk-KHUT7BB5.js";
|
|
12
12
|
import "../safe-bash/command-chunks/chunk-65DS4IOB.js";
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { type CommandContext } from "../safe-bash-contracts/index.js";
|
|
2
|
+
import { type PythonCommandsOptions, type PythonPackageEnvironment } from './executor.js';
|
|
3
|
+
export type PythonBuildHookRequest = {
|
|
4
|
+
readonly source: string;
|
|
5
|
+
readonly backend: string;
|
|
6
|
+
readonly backendPath?: readonly string[];
|
|
7
|
+
readonly configSettings?: Readonly<Record<string, string | readonly string[]>>;
|
|
8
|
+
} & ({
|
|
9
|
+
readonly hook: 'get_requires_for_build_wheel';
|
|
10
|
+
} | {
|
|
11
|
+
readonly hook: 'build_wheel';
|
|
12
|
+
readonly wheelDirectory: string;
|
|
13
|
+
readonly metadataDirectory?: string;
|
|
14
|
+
});
|
|
15
|
+
export interface PythonBuildSystemRequest {
|
|
16
|
+
readonly hook: 'read_build_system';
|
|
17
|
+
readonly source: string;
|
|
18
|
+
readonly name?: string;
|
|
19
|
+
readonly usePep517?: boolean;
|
|
20
|
+
}
|
|
21
|
+
export interface PythonBuildSystemDetails {
|
|
22
|
+
readonly requires: readonly string[];
|
|
23
|
+
readonly backend: string;
|
|
24
|
+
readonly check: readonly string[];
|
|
25
|
+
readonly backendPath: readonly string[];
|
|
26
|
+
}
|
|
27
|
+
export interface PythonBuildRequirementsRequest {
|
|
28
|
+
readonly hook: 'check_build_requirements';
|
|
29
|
+
readonly source: string;
|
|
30
|
+
readonly requirements: readonly string[];
|
|
31
|
+
/** Distribution names from the build environment's installed manifest. */
|
|
32
|
+
readonly installed: readonly string[];
|
|
33
|
+
}
|
|
34
|
+
export interface PythonBuildRequirementsStatus {
|
|
35
|
+
readonly conflicting: readonly (readonly [installed: string, wanted: string])[];
|
|
36
|
+
readonly missing: readonly string[];
|
|
37
|
+
}
|
|
38
|
+
type BuildRequest = PythonBuildHookRequest | PythonBuildSystemRequest | PythonBuildRequirementsRequest;
|
|
39
|
+
type BuildResult<T extends BuildRequest> = T extends PythonBuildSystemRequest ? PythonBuildSystemDetails | null : T extends PythonBuildRequirementsRequest ? PythonBuildRequirementsStatus : T extends {
|
|
40
|
+
readonly hook: 'build_wheel';
|
|
41
|
+
} ? string : string[];
|
|
42
|
+
export interface PythonBuildHookContext extends Pick<CommandContext, 'fs' | 'cwd' | 'env' | 'signal' | 'stdout' | 'stderr'> {
|
|
43
|
+
/** Total UTF-8 result metadata allowance; wheel bytes stay in caller storage. */
|
|
44
|
+
readonly maxBytes: number;
|
|
45
|
+
}
|
|
46
|
+
/** Run PEP 517 hooks against a caller-prepared source tree and package environment. */
|
|
47
|
+
export declare function createPythonBuildBackend(options: PythonCommandsOptions & {
|
|
48
|
+
readonly environment: PythonPackageEnvironment;
|
|
49
|
+
}): <T extends BuildRequest>(input: T, context: PythonBuildHookContext) => Promise<BuildResult<T>>;
|
|
50
|
+
export declare const pythonBuildBackendProgram: string;
|
|
51
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type PythonCommandsOptions, type PythonPackageEnvironment } from './executor.js';
|
|
2
|
+
import { type PythonBuildHookContext, type PythonBuildSystemDetails } from './build-backend.js';
|
|
3
|
+
export interface PythonBuildDependenciesRequest {
|
|
4
|
+
readonly source: string;
|
|
5
|
+
readonly name?: string;
|
|
6
|
+
readonly buildSystem: PythonBuildSystemDetails;
|
|
7
|
+
readonly configSettings?: Readonly<Record<string, string | readonly string[]>>;
|
|
8
|
+
}
|
|
9
|
+
/** Install declared then missing backend requirements in an explicit build environment. */
|
|
10
|
+
export declare function createPythonBuildDependencies(options: Omit<PythonCommandsOptions, 'packages' | 'requirements' | 'packageProfile' | 'provisioning'> & {
|
|
11
|
+
readonly environment: PythonPackageEnvironment;
|
|
12
|
+
}): (input: PythonBuildDependenciesRequest, caller: PythonBuildHookContext) => Promise<void>;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { type PythonPackageEnvironment, type PythonPackageOptions } from './provisioning.js';
|
|
2
|
+
/** Fresh build dependency state with the caller's explicit artifact and network authority. */
|
|
3
|
+
export declare function createPythonBuildEnvironment(options?: PythonPackageOptions): PythonPackageEnvironment;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { PythonPackageContext } from './provisioning.js';
|
|
2
|
+
export interface PythonBuiltWheel {
|
|
3
|
+
readonly url: string;
|
|
4
|
+
readonly digest: string;
|
|
5
|
+
readonly size: number;
|
|
6
|
+
}
|
|
7
|
+
/** Publish a build result in caller-owned storage, independently of build cleanup. */
|
|
8
|
+
export declare function publishPythonBuildWheel(source: string, directory: string, maxBytes: number, context: PythonPackageContext): Promise<PythonBuiltWheel>;
|
|
@@ -4,7 +4,11 @@ import { type PythonDiagnosticObserver } from './diagnostics.js';
|
|
|
4
4
|
import { createPythonHostBridge, type PythonHostCapability, type PythonHostBridgeOptions } from './host-capabilities.js';
|
|
5
5
|
export * from './host-capabilities.js';
|
|
6
6
|
export { createPythonShellCapability } from './shell-capability.js';
|
|
7
|
-
export {
|
|
7
|
+
export { createPythonLlmPackageManager } from './llm-package-manager.js';
|
|
8
|
+
export { createPythonLlmTemplateLoader } from './llm-template-loader.js';
|
|
9
|
+
export { createPythonLlmLoaderDiscovery, createPythonLlmLoaderProvider, type PythonLlmDiscoveredLoaders, type PythonLlmLoaderDiscoveryContext } from './llm-loader-discovery.js';
|
|
10
|
+
export { createPythonLlmFragmentLoader } from './llm-fragment-loader.js';
|
|
11
|
+
export { createPythonLlmToolLoader, type PythonLlmToolLoaderOptions } from './llm-functions-loader.js';
|
|
8
12
|
export { createPythonLlmCapability, type PythonLlmCapabilityOptions } from './llm-capability.js';
|
|
9
13
|
/** A dedicated interpreter worker. The service event loop must never block. */
|
|
10
14
|
export interface PythonWorkerEndpoint {
|
|
@@ -75,7 +79,11 @@ export declare function createPythonExecutorCommands(options: PythonCommandsOpti
|
|
|
75
79
|
/** Explicit executor registration excludes the default artifact renderer. */
|
|
76
80
|
export declare function pythonExecutorCommands(options: PythonCommandsOptions): VirtualShellPlugin;
|
|
77
81
|
export { createPythonPackageEnvironment, pythonDocumentPackages } from './provisioning.js';
|
|
78
|
-
export
|
|
82
|
+
export { createPythonBuildEnvironment } from './build-environment.js';
|
|
83
|
+
export { createPythonBuildDependencies, type PythonBuildDependenciesRequest } from './build-dependencies.js';
|
|
84
|
+
export { createPythonSourceSnapshot, type PythonSourceSnapshot } from './source-snapshot.js';
|
|
85
|
+
export { createPythonBuildBackend, type PythonBuildHookRequest, type PythonBuildHookContext, type PythonBuildSystemRequest, type PythonBuildSystemDetails, type PythonBuildRequirementsRequest, type PythonBuildRequirementsStatus } from './build-backend.js';
|
|
86
|
+
export type { PythonPackageInstallOptions, PythonPackageOptions, PythonPackageCache, PythonPackageProgress, PythonPackageStart, PythonPackageContext, PythonPackageEnvironment, PythonPackagePrepareContext } from './provisioning.js';
|
|
79
87
|
export { PythonPackageConflictError, createPythonPackageManifestStore } from './manifest.js';
|
|
80
88
|
export type { PythonPackageManifest, PythonPackageManifestStore } from './manifest.js';
|
|
81
89
|
export { createPythonPackageCache } from './cache.js';
|
|
@@ -91,3 +99,5 @@ export { PythonFailure, inspectPythonCapabilities } from './diagnostics.js';
|
|
|
91
99
|
export type { PythonFailureCategory, PythonDiagnostic, PythonDiagnosticObserver, PythonFileSystemRequirement, PythonCapabilityOptions, PythonCapabilityReport } from './diagnostics.js';
|
|
92
100
|
export { pythonLlmPackages, installPythonLlmPackages } from './llm-packages.js';
|
|
93
101
|
export type { PythonLlmPackageAsset } from './llm-packages.js';
|
|
102
|
+
export { publishPythonBuildWheel, type PythonBuiltWheel } from './build-wheel.js';
|
|
103
|
+
export { createPythonSourcePackageEnvironment, type PythonSourceBuildOptions } from './source-environment.js';
|
|
@@ -1,17 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
+
createPythonBuildBackend,
|
|
3
|
+
createPythonBuildDependencies,
|
|
4
|
+
createPythonBuildEnvironment,
|
|
2
5
|
createPythonExecutorCommands,
|
|
6
|
+
createPythonLlmFragmentLoader,
|
|
7
|
+
createPythonLlmLoaderDiscovery,
|
|
8
|
+
createPythonLlmLoaderProvider,
|
|
9
|
+
createPythonLlmPackageManager,
|
|
10
|
+
createPythonLlmTemplateLoader,
|
|
3
11
|
createPythonLlmToolLoader,
|
|
12
|
+
createPythonSourcePackageEnvironment,
|
|
13
|
+
createPythonSourceSnapshot,
|
|
4
14
|
installPythonLlmPackages,
|
|
15
|
+
publishPythonBuildWheel,
|
|
5
16
|
pythonExecutorCommands,
|
|
6
17
|
pythonLlmPackages
|
|
7
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
18
|
+
} from "../safe-bash/command-chunks/chunk-EO3RYGUZ.js";
|
|
8
19
|
import {
|
|
9
20
|
PythonPackageConflictError,
|
|
10
21
|
createPythonPackageCache,
|
|
11
22
|
createPythonPackageEnvironment,
|
|
12
23
|
createPythonPackageManifestStore,
|
|
13
24
|
pythonDocumentPackages
|
|
14
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
25
|
+
} from "../safe-bash/command-chunks/chunk-WDTWJFPK.js";
|
|
15
26
|
import {
|
|
16
27
|
createPythonShellCapability
|
|
17
28
|
} from "../safe-bash/command-chunks/chunk-NHAG4DWL.js";
|
|
@@ -20,9 +31,9 @@ import {
|
|
|
20
31
|
} from "../safe-bash/command-chunks/chunk-IOZTDDNT.js";
|
|
21
32
|
import {
|
|
22
33
|
createPythonJspiExecutor
|
|
23
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
34
|
+
} from "../safe-bash/command-chunks/chunk-RGKHTSUY.js";
|
|
24
35
|
import "../safe-bash/command-chunks/chunk-FXWKMNX2.js";
|
|
25
|
-
import "../safe-bash/command-chunks/chunk-
|
|
36
|
+
import "../safe-bash/command-chunks/chunk-64HIOP7Q.js";
|
|
26
37
|
import {
|
|
27
38
|
createPythonJspiNativeCall,
|
|
28
39
|
createPythonJspiStatResult,
|
|
@@ -53,6 +64,9 @@ import "../safe-bash/command-chunks/chunk-65DS4IOB.js";
|
|
|
53
64
|
export {
|
|
54
65
|
PythonFailure,
|
|
55
66
|
PythonPackageConflictError,
|
|
67
|
+
createPythonBuildBackend,
|
|
68
|
+
createPythonBuildDependencies,
|
|
69
|
+
createPythonBuildEnvironment,
|
|
56
70
|
createPythonExecutorCommands,
|
|
57
71
|
createPythonExecutorPool,
|
|
58
72
|
createPythonHostBridge,
|
|
@@ -62,14 +76,22 @@ export {
|
|
|
62
76
|
createPythonJspiStatResult,
|
|
63
77
|
createPythonJspiTrampoline,
|
|
64
78
|
createPythonLlmCapability,
|
|
79
|
+
createPythonLlmFragmentLoader,
|
|
80
|
+
createPythonLlmLoaderDiscovery,
|
|
81
|
+
createPythonLlmLoaderProvider,
|
|
82
|
+
createPythonLlmPackageManager,
|
|
83
|
+
createPythonLlmTemplateLoader,
|
|
65
84
|
createPythonLlmToolLoader,
|
|
66
85
|
createPythonPackageCache,
|
|
67
86
|
createPythonPackageEnvironment,
|
|
68
87
|
createPythonPackageManifestStore,
|
|
69
88
|
createPythonShellCapability,
|
|
89
|
+
createPythonSourcePackageEnvironment,
|
|
90
|
+
createPythonSourceSnapshot,
|
|
70
91
|
inspectPythonCapabilities,
|
|
71
92
|
installPythonLlmDependencies,
|
|
72
93
|
installPythonLlmPackages,
|
|
94
|
+
publishPythonBuildWheel,
|
|
73
95
|
pythonDocumentPackages,
|
|
74
96
|
pythonExecutorCommands,
|
|
75
97
|
pythonHostFailureCode,
|
|
@@ -1,17 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
+
createPythonBuildBackend,
|
|
3
|
+
createPythonBuildDependencies,
|
|
4
|
+
createPythonBuildEnvironment,
|
|
2
5
|
createPythonExecutorCommands,
|
|
6
|
+
createPythonLlmFragmentLoader,
|
|
7
|
+
createPythonLlmLoaderDiscovery,
|
|
8
|
+
createPythonLlmLoaderProvider,
|
|
9
|
+
createPythonLlmPackageManager,
|
|
10
|
+
createPythonLlmTemplateLoader,
|
|
3
11
|
createPythonLlmToolLoader,
|
|
12
|
+
createPythonSourcePackageEnvironment,
|
|
13
|
+
createPythonSourceSnapshot,
|
|
4
14
|
installPythonLlmPackages,
|
|
15
|
+
publishPythonBuildWheel,
|
|
5
16
|
pythonExecutorCommands,
|
|
6
17
|
pythonLlmPackages
|
|
7
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
18
|
+
} from "../safe-bash/command-chunks/chunk-EO3RYGUZ.js";
|
|
8
19
|
import {
|
|
9
20
|
PythonPackageConflictError,
|
|
10
21
|
createPythonPackageCache,
|
|
11
22
|
createPythonPackageEnvironment,
|
|
12
23
|
createPythonPackageManifestStore,
|
|
13
24
|
pythonDocumentPackages
|
|
14
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
25
|
+
} from "../safe-bash/command-chunks/chunk-WDTWJFPK.js";
|
|
15
26
|
import {
|
|
16
27
|
createPythonShellCapability
|
|
17
28
|
} from "../safe-bash/command-chunks/chunk-NHAG4DWL.js";
|
|
@@ -20,9 +31,9 @@ import {
|
|
|
20
31
|
} from "../safe-bash/command-chunks/chunk-IOZTDDNT.js";
|
|
21
32
|
import {
|
|
22
33
|
createPythonJspiExecutor
|
|
23
|
-
} from "../safe-bash/command-chunks/chunk-
|
|
34
|
+
} from "../safe-bash/command-chunks/chunk-RGKHTSUY.js";
|
|
24
35
|
import "../safe-bash/command-chunks/chunk-FXWKMNX2.js";
|
|
25
|
-
import "../safe-bash/command-chunks/chunk-
|
|
36
|
+
import "../safe-bash/command-chunks/chunk-64HIOP7Q.js";
|
|
26
37
|
import {
|
|
27
38
|
createPythonJspiNativeCall,
|
|
28
39
|
createPythonJspiStatResult,
|
|
@@ -422,6 +433,9 @@ function pythonCommands(options) {
|
|
|
422
433
|
export {
|
|
423
434
|
PythonFailure,
|
|
424
435
|
PythonPackageConflictError,
|
|
436
|
+
createPythonBuildBackend,
|
|
437
|
+
createPythonBuildDependencies,
|
|
438
|
+
createPythonBuildEnvironment,
|
|
425
439
|
createPythonCommands,
|
|
426
440
|
createPythonExecutorCommands,
|
|
427
441
|
createPythonExecutorPool,
|
|
@@ -432,14 +446,22 @@ export {
|
|
|
432
446
|
createPythonJspiStatResult,
|
|
433
447
|
createPythonJspiTrampoline,
|
|
434
448
|
createPythonLlmCapability,
|
|
449
|
+
createPythonLlmFragmentLoader,
|
|
450
|
+
createPythonLlmLoaderDiscovery,
|
|
451
|
+
createPythonLlmLoaderProvider,
|
|
452
|
+
createPythonLlmPackageManager,
|
|
453
|
+
createPythonLlmTemplateLoader,
|
|
435
454
|
createPythonLlmToolLoader,
|
|
436
455
|
createPythonPackageCache,
|
|
437
456
|
createPythonPackageEnvironment,
|
|
438
457
|
createPythonPackageManifestStore,
|
|
439
458
|
createPythonShellCapability,
|
|
459
|
+
createPythonSourcePackageEnvironment,
|
|
460
|
+
createPythonSourceSnapshot,
|
|
440
461
|
inspectPythonCapabilities,
|
|
441
462
|
installPythonLlmDependencies,
|
|
442
463
|
installPythonLlmPackages,
|
|
464
|
+
publishPythonBuildWheel,
|
|
443
465
|
pythonCommands,
|
|
444
466
|
pythonDocumentPackages,
|
|
445
467
|
pythonExecutorCommands,
|