Skip to content

Commit 2e48572

Browse files
fix: move createSessionFsAdapter to value export block
createSessionFsAdapter is a runtime function, not a type. It was incorrectly placed inside the 'export type { ... }' block which would erase it during compilation. Move it to the value export block alongside defineTool, approveAll, etc. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent abf6a32 commit 2e48572

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

nodejs/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ export {
1414
defineTool,
1515
approveAll,
1616
convertMcpCallToolResult,
17+
createSessionFsAdapter,
1718
SYSTEM_PROMPT_SECTIONS,
1819
} from "./types.js";
1920
export type {
@@ -68,7 +69,6 @@ export type {
6869
SessionFsConfig,
6970
SessionFsProvider,
7071
SessionFsFileInfo,
71-
createSessionFsAdapter,
7272
SystemMessageAppendConfig,
7373
SystemMessageConfig,
7474
SystemMessageCustomizeConfig,

0 commit comments

Comments
 (0)