diff --git a/src/acp-agent.ts b/src/acp-agent.ts index 5b69103b..072281a9 100644 --- a/src/acp-agent.ts +++ b/src/acp-agent.ts @@ -464,6 +464,8 @@ export { MODEL_CONFIG_ID, resolveModelPreference, } from "./session-model.js"; +// Moved to result-end.ts; kept as an export for consumers that deep-import dist/acp-agent.js. +export { isLoginRequiredText } from "./result-end.js"; /** Claude CLI emits this synthetic result when an interrupted cycle ends on * queued user input before producing any assistant content. It is a hand-off diff --git a/src/tests/module-exports.test.ts b/src/tests/module-exports.test.ts index ca5f9232..4f7f5171 100644 --- a/src/tests/module-exports.test.ts +++ b/src/tests/module-exports.test.ts @@ -32,6 +32,7 @@ describe("module runtime exports", () => { it("acp-agent.ts exports the expected names", async () => { expect(Object.keys(await import("../acp-agent.js")).sort()).toEqual([ "AGENT_CONFIG_ID", + "AUTONOMOUS_RESULT_ORIGINS", "BUILTIN_AGENT_NAMES", "ClaudeAcpAgent", "DEFAULT_AGENT_ID", @@ -49,6 +50,8 @@ describe("module runtime exports", () => { "createFastModeConfigOption", "discoverCustomAgents", "fastModeStateEnabled", + "getAvailableSlashCommands", + "isAbortedResult", "isLocalCommandMetadata", "isLoginRequiredText", "isReplayHiddenMetaMessage",