The injected config global, the deprecated system-prompt export and the agent-stderr debug switch all still carried an older product name that nothing in the repo explains. Writer and reader of the config global ship in the same response, so both flip together with no compat window: - window.__PIKA__ -> window.__AIRSHIP__ (proxy + shell writers, overlay readers, one prose comment) - PIKA_SYSTEM_PROMPT -> AIRSHIP_SYSTEM_PROMPT (still deprecated) - PIKA_DEBUG -> AIRSHIP_AGENT_DEBUG, now documented in the README; kept separate from AIRSHIP_DEBUG, which would otherwise start streaming raw agent stderr under --debug Breaking: anyone exporting PIKA_DEBUG loses agent stderr until they rename it; PIKA_SYSTEM_PROMPT importers must switch spellings.
36 lines
1.3 KiB
TypeScript
36 lines
1.3 KiB
TypeScript
export type {
|
|
AgentAdapter,
|
|
AgentKind,
|
|
AgentRunContext,
|
|
AgentRunOutcome,
|
|
} from "./agent";
|
|
export { getAdapter } from "./agent";
|
|
export { DiffCapture } from "./diff-capture";
|
|
/** Path identity, shared so containment, diff keys and history keys agree. */
|
|
export type { ModelProbeOptions } from "./models";
|
|
export { listAllModels, listModels } from "./models";
|
|
export { isPathInside, pathKey, toPosixPath } from "./paths";
|
|
export type { EditPromptInput } from "./prompt";
|
|
export { AIRSHIP_SYSTEM_PROMPT, buildEditPrompt, systemPrompt } from "./prompt";
|
|
export type { CodexConfigValue, CodexSettings } from "./providers/codex";
|
|
/** Whether opencode can run a model id, so a caller can refuse one it cannot. */
|
|
export { namesProvider } from "./providers/opencode-events";
|
|
export type { OpencodeSettings } from "./providers/opencode-server";
|
|
/** Stops the shared `opencode serve` child, which otherwise outlives the run. */
|
|
export { shutdownServer as shutdownOpencodeServer } from "./providers/opencode-server";
|
|
export type {
|
|
RunEditEvents,
|
|
RunEditInput,
|
|
RunEditResult,
|
|
} from "./runner";
|
|
export { checkAuth, rewindEdit, runEdit } from "./runner";
|
|
export type { TimelineSink } from "./timeline";
|
|
export { TimelineRecorder } from "./timeline";
|
|
export {
|
|
describeTool,
|
|
shortenPath,
|
|
summarizeToolResult,
|
|
toolArgs,
|
|
toolTitle,
|
|
} from "./tool-summary";
|