chore(vendor): import pi 1.3.0

Imported as a linear vendor commit so forge rebases do not replay the upstream root tree.

git-subtree-dir: third_party/pi

git-subtree-split: 71023aec1546d6d677a65669c5665c0927ce0dd0
This commit is contained in:
alexion committed 2026-10-15 17:58:48 -04:00
1 parent 719370c8f7
commit 6081e3e325
1743 files changed
+205459 -131704

No files matched your search

+65
View File
@@ -0,0 +1,65 @@
export {
DEFAULT_INPUT_SCHEMA_MAX_CHARS,
type RenderDeclarationsOptions,
renderDeclarations,
renderToolOutputType,
renderToolSample,
renderToolSignature,
schemaToType,
} from "./declarations.ts";
export { toCodemodeIdentifier } from "./identifier.ts";
export { CodemodeSandboxBase } from "./runtime/execution.ts";
export { CodemodeSandbox } from "./runtime/host.ts";
export {
DEFAULT_INTERRUPT_BUDGET,
InlineCodemodeSandbox,
type InlineCodemodeSandboxOptions,
} from "./runtime/inline.ts";
export {
MAX_OUTPUT_CHARS,
MAX_OUTPUT_ITEMS,
MAX_STORE_TOTAL_CHARS,
MAX_STORE_VALUE_CHARS,
} from "./runtime/prelude-source.ts";
export {
type CodemodeRemote,
type CodemodeRemoteExchange,
type CodemodeRemoteMessage,
type CodemodeRemoteReply,
type CodemodeRemoteRequest,
type CodemodeServeOptions,
RemoteCodemodeSandbox,
type RemoteCodemodeSandboxOptions,
serveCodemodeRemote,
} from "./runtime/remote.ts";
export {
CODEMODE_OPTIONS_PREFIX,
CODEMODE_SOURCE_GRAMMAR,
CodemodeSourceError,
type CodemodeSourceOptions,
type ParsedCodemodeSource,
parseCodemodeSource,
} from "./source.ts";
export type {
CodemodeCall,
CodemodeCallStatus,
CodemodeDeclaredGlobal,
CodemodeDeclaredTool,
CodemodeDuring,
CodemodeError,
CodemodeErrorKind,
CodemodeExecuteOptions,
CodemodeHostCall,
CodemodeJsonSchema,
CodemodeOutcome,
CodemodeOutputItem,
CodemodeResult,
CodemodeRun,
CodemodeRunOptions,
CodemodeSandboxBaseOptions,
CodemodeSandboxOptions,
CodemodeStoreWrites,
CodemodeTool,
CodemodeToolContext,
} from "./types.ts";
export { type CodemodeWasmModule, loadQuickJSWasm } from "./wasm.ts";