diff --git a/packages/acp/package.json b/packages/acp/package.json index 0a4a890658..ac23174ade 100644 --- a/packages/acp/package.json +++ b/packages/acp/package.json @@ -5,17 +5,18 @@ "private": true, "type": "module", "main": "lib/index.js", - "types": "lib/index.d.ts", + "types": "lib/typings/index.d.ts", "exports": { ".": { - "types": "./lib/index.d.ts", + "types": "./lib/typings/index.d.ts", "default": "./lib/index.js" }, "./src/*": "./src/*", "./package.json": "./package.json" }, "files": [ - "lib", + "lib/index.js", + "lib/typings/**/*.d.ts", "src" ], "license": "BSD-3-Clause", diff --git a/packages/acp/tsconfig.json b/packages/acp/tsconfig.json index 83330256e3..73d850e990 100644 --- a/packages/acp/tsconfig.json +++ b/packages/acp/tsconfig.json @@ -2,7 +2,7 @@ "extends": "../../tsconfig.base.json", "compilerOptions": { "rootDir": "src", - "outDir": "lib" + "outDir": "lib/typings" }, "include": ["src"], "references": [ diff --git a/packages/agent-loop/package.json b/packages/agent-loop/package.json index b9744eab2a..9e54e4de4b 100644 --- a/packages/agent-loop/package.json +++ b/packages/agent-loop/package.json @@ -5,17 +5,18 @@ "private": true, "type": "module", "main": "lib/index.js", - "types": "lib/index.d.ts", + "types": "lib/typings/index.d.ts", "exports": { ".": { - "types": "./lib/index.d.ts", + "types": "./lib/typings/index.d.ts", "default": "./lib/index.js" }, "./src/*": "./src/*", "./package.json": "./package.json" }, "files": [ - "lib", + "lib/index.js", + "lib/typings/**/*.d.ts", "src" ], "license": "BSD-3-Clause", diff --git a/packages/agent-loop/tsconfig.json b/packages/agent-loop/tsconfig.json index 6751664d5c..93a07b2e41 100644 --- a/packages/agent-loop/tsconfig.json +++ b/packages/agent-loop/tsconfig.json @@ -2,7 +2,7 @@ "extends": "../../tsconfig.base.json", "compilerOptions": { "rootDir": "src", - "outDir": "lib" + "outDir": "lib/typings" }, "include": ["src"], "references": [ diff --git a/packages/agent/package.json b/packages/agent/package.json index a215f35fb3..bca0ff7840 100644 --- a/packages/agent/package.json +++ b/packages/agent/package.json @@ -5,17 +5,18 @@ "private": true, "type": "module", "main": "lib/index.js", - "types": "lib/index.d.ts", + "types": "lib/typings/index.d.ts", "exports": { ".": { - "types": "./lib/index.d.ts", + "types": "./lib/typings/index.d.ts", "default": "./lib/index.js" }, "./src/*": "./src/*", "./package.json": "./package.json" }, "files": [ - "lib", + "lib/index.js", + "lib/typings/**/*.d.ts", "src" ], "license": "BSD-3-Clause", diff --git a/packages/agent/tsconfig.json b/packages/agent/tsconfig.json index 0806132292..c2b740741a 100644 --- a/packages/agent/tsconfig.json +++ b/packages/agent/tsconfig.json @@ -2,7 +2,7 @@ "extends": "../../tsconfig.base.json", "compilerOptions": { "rootDir": "src", - "outDir": "lib" + "outDir": "lib/typings" }, "include": ["src"], "references": [ diff --git a/packages/bash-local/package.json b/packages/bash-local/package.json index b786c1bc37..de2f2d6c1a 100644 --- a/packages/bash-local/package.json +++ b/packages/bash-local/package.json @@ -5,17 +5,18 @@ "private": true, "type": "module", "main": "lib/index.js", - "types": "lib/index.d.ts", + "types": "lib/typings/index.d.ts", "exports": { ".": { - "types": "./lib/index.d.ts", + "types": "./lib/typings/index.d.ts", "default": "./lib/index.js" }, "./src/*": "./src/*", "./package.json": "./package.json" }, "files": [ - "lib", + "lib/index.js", + "lib/typings/**/*.d.ts", "src" ], "license": "BSD-3-Clause", diff --git a/packages/bash-local/tsconfig.json b/packages/bash-local/tsconfig.json index a657d8bf8e..576ebe64a8 100644 --- a/packages/bash-local/tsconfig.json +++ b/packages/bash-local/tsconfig.json @@ -2,7 +2,7 @@ "extends": "../../tsconfig.base.json", "compilerOptions": { "rootDir": "src", - "outDir": "lib" + "outDir": "lib/typings" }, "include": ["src"], "references": [ diff --git a/packages/bash/package.json b/packages/bash/package.json index 52bf80282f..f65f5a6a7f 100644 --- a/packages/bash/package.json +++ b/packages/bash/package.json @@ -5,17 +5,18 @@ "private": true, "type": "module", "main": "lib/index.js", - "types": "lib/index.d.ts", + "types": "lib/typings/index.d.ts", "exports": { ".": { - "types": "./lib/index.d.ts", + "types": "./lib/typings/index.d.ts", "default": "./lib/index.js" }, "./src/*": "./src/*", "./package.json": "./package.json" }, "files": [ - "lib", + "lib/index.js", + "lib/typings/**/*.d.ts", "src" ], "license": "BSD-3-Clause", diff --git a/packages/bash/tsconfig.json b/packages/bash/tsconfig.json index 2617271c44..f5803cec7f 100644 --- a/packages/bash/tsconfig.json +++ b/packages/bash/tsconfig.json @@ -2,7 +2,7 @@ "extends": "../../tsconfig.base.json", "compilerOptions": { "rootDir": "src", - "outDir": "lib" + "outDir": "lib/typings" }, "include": ["src"], "references": [ diff --git a/packages/invariants/package.json b/packages/invariants/package.json index 7508d3e7d8..409596871b 100644 --- a/packages/invariants/package.json +++ b/packages/invariants/package.json @@ -5,17 +5,18 @@ "private": true, "type": "module", "main": "lib/index.js", - "types": "lib/index.d.ts", + "types": "lib/typings/index.d.ts", "exports": { ".": { - "types": "./lib/index.d.ts", + "types": "./lib/typings/index.d.ts", "default": "./lib/index.js" }, "./src/*": "./src/*", "./package.json": "./package.json" }, "files": [ - "lib", + "lib/index.js", + "lib/typings/**/*.d.ts", "src" ], "license": "BSD-3-Clause", diff --git a/packages/invariants/tsconfig.json b/packages/invariants/tsconfig.json index 54fbb4adac..e87cca530d 100644 --- a/packages/invariants/tsconfig.json +++ b/packages/invariants/tsconfig.json @@ -2,7 +2,7 @@ "extends": "../../tsconfig.base.json", "compilerOptions": { "rootDir": "src", - "outDir": "lib" + "outDir": "lib/typings" }, "include": ["src"], "references": [ diff --git a/packages/llm-deepseek/package.json b/packages/llm-deepseek/package.json index 077a2db169..0517a0c5a9 100644 --- a/packages/llm-deepseek/package.json +++ b/packages/llm-deepseek/package.json @@ -5,17 +5,18 @@ "private": true, "type": "module", "main": "lib/index.js", - "types": "lib/index.d.ts", + "types": "lib/typings/index.d.ts", "exports": { ".": { - "types": "./lib/index.d.ts", + "types": "./lib/typings/index.d.ts", "default": "./lib/index.js" }, "./src/*": "./src/*", "./package.json": "./package.json" }, "files": [ - "lib", + "lib/index.js", + "lib/typings/**/*.d.ts", "src" ], "license": "BSD-3-Clause", diff --git a/packages/llm-deepseek/tsconfig.json b/packages/llm-deepseek/tsconfig.json index eea89a4aac..ceacbf1ee2 100644 --- a/packages/llm-deepseek/tsconfig.json +++ b/packages/llm-deepseek/tsconfig.json @@ -2,7 +2,7 @@ "extends": "../../tsconfig.base.json", "compilerOptions": { "rootDir": "src", - "outDir": "lib" + "outDir": "lib/typings" }, "include": ["src"], "references": [ diff --git a/packages/llm-pi-ai/package.json b/packages/llm-pi-ai/package.json index 6eb08a4b06..f2e9a34322 100644 --- a/packages/llm-pi-ai/package.json +++ b/packages/llm-pi-ai/package.json @@ -5,17 +5,18 @@ "private": true, "type": "module", "main": "lib/index.js", - "types": "lib/index.d.ts", + "types": "lib/typings/index.d.ts", "exports": { ".": { - "types": "./lib/index.d.ts", + "types": "./lib/typings/index.d.ts", "default": "./lib/index.js" }, "./src/*": "./src/*", "./package.json": "./package.json" }, "files": [ - "lib", + "lib/index.js", + "lib/typings/**/*.d.ts", "src" ], "license": "BSD-3-Clause", diff --git a/packages/llm-pi-ai/tsconfig.json b/packages/llm-pi-ai/tsconfig.json index eea89a4aac..ceacbf1ee2 100644 --- a/packages/llm-pi-ai/tsconfig.json +++ b/packages/llm-pi-ai/tsconfig.json @@ -2,7 +2,7 @@ "extends": "../../tsconfig.base.json", "compilerOptions": { "rootDir": "src", - "outDir": "lib" + "outDir": "lib/typings" }, "include": ["src"], "references": [ diff --git a/packages/llm-replay/package.json b/packages/llm-replay/package.json index 50d469a352..b25fa04f03 100644 --- a/packages/llm-replay/package.json +++ b/packages/llm-replay/package.json @@ -5,17 +5,18 @@ "private": true, "type": "module", "main": "lib/index.js", - "types": "lib/index.d.ts", + "types": "lib/typings/index.d.ts", "exports": { ".": { - "types": "./lib/index.d.ts", + "types": "./lib/typings/index.d.ts", "default": "./lib/index.js" }, "./src/*": "./src/*", "./package.json": "./package.json" }, "files": [ - "lib", + "lib/index.js", + "lib/typings/**/*.d.ts", "src" ], "license": "BSD-3-Clause", diff --git a/packages/llm-replay/tsconfig.json b/packages/llm-replay/tsconfig.json index 0806132292..c2b740741a 100644 --- a/packages/llm-replay/tsconfig.json +++ b/packages/llm-replay/tsconfig.json @@ -2,7 +2,7 @@ "extends": "../../tsconfig.base.json", "compilerOptions": { "rootDir": "src", - "outDir": "lib" + "outDir": "lib/typings" }, "include": ["src"], "references": [ diff --git a/packages/llm/package.json b/packages/llm/package.json index 317edc7ac2..835e89af7f 100644 --- a/packages/llm/package.json +++ b/packages/llm/package.json @@ -5,17 +5,18 @@ "private": true, "type": "module", "main": "lib/index.js", - "types": "lib/index.d.ts", + "types": "lib/typings/index.d.ts", "exports": { ".": { - "types": "./lib/index.d.ts", + "types": "./lib/typings/index.d.ts", "default": "./lib/index.js" }, "./src/*": "./src/*", "./package.json": "./package.json" }, "files": [ - "lib", + "lib/index.js", + "lib/typings/**/*.d.ts", "src" ], "license": "BSD-3-Clause", diff --git a/packages/llm/tsconfig.json b/packages/llm/tsconfig.json index 2617271c44..f5803cec7f 100644 --- a/packages/llm/tsconfig.json +++ b/packages/llm/tsconfig.json @@ -2,7 +2,7 @@ "extends": "../../tsconfig.base.json", "compilerOptions": { "rootDir": "src", - "outDir": "lib" + "outDir": "lib/typings" }, "include": ["src"], "references": [ diff --git a/packages/session-persistence-jsonl/package.json b/packages/session-persistence-jsonl/package.json index 6193af910b..6a1e61c361 100644 --- a/packages/session-persistence-jsonl/package.json +++ b/packages/session-persistence-jsonl/package.json @@ -5,17 +5,18 @@ "private": true, "type": "module", "main": "lib/index.js", - "types": "lib/index.d.ts", + "types": "lib/typings/index.d.ts", "exports": { ".": { - "types": "./lib/index.d.ts", + "types": "./lib/typings/index.d.ts", "default": "./lib/index.js" }, "./src/*": "./src/*", "./package.json": "./package.json" }, "files": [ - "lib", + "lib/index.js", + "lib/typings/**/*.d.ts", "src" ], "license": "BSD-3-Clause", diff --git a/packages/session-persistence-jsonl/tsconfig.json b/packages/session-persistence-jsonl/tsconfig.json index 3595f989bd..23465c380e 100644 --- a/packages/session-persistence-jsonl/tsconfig.json +++ b/packages/session-persistence-jsonl/tsconfig.json @@ -2,7 +2,7 @@ "extends": "../../tsconfig.base.json", "compilerOptions": { "rootDir": "src", - "outDir": "lib" + "outDir": "lib/typings" }, "include": ["src"], "references": [ diff --git a/packages/session-persistence-sqlite/package.json b/packages/session-persistence-sqlite/package.json index 463cf683be..4d6951ebbd 100644 --- a/packages/session-persistence-sqlite/package.json +++ b/packages/session-persistence-sqlite/package.json @@ -5,17 +5,18 @@ "private": true, "type": "module", "main": "lib/index.js", - "types": "lib/index.d.ts", + "types": "lib/typings/index.d.ts", "exports": { ".": { - "types": "./lib/index.d.ts", + "types": "./lib/typings/index.d.ts", "default": "./lib/index.js" }, "./src/*": "./src/*", "./package.json": "./package.json" }, "files": [ - "lib", + "lib/index.js", + "lib/typings/**/*.d.ts", "src" ], "license": "BSD-3-Clause", diff --git a/packages/session-persistence-sqlite/tsconfig.json b/packages/session-persistence-sqlite/tsconfig.json index 3595f989bd..23465c380e 100644 --- a/packages/session-persistence-sqlite/tsconfig.json +++ b/packages/session-persistence-sqlite/tsconfig.json @@ -2,7 +2,7 @@ "extends": "../../tsconfig.base.json", "compilerOptions": { "rootDir": "src", - "outDir": "lib" + "outDir": "lib/typings" }, "include": ["src"], "references": [ diff --git a/packages/session-persistence/package.json b/packages/session-persistence/package.json index bd84fd1826..901381cffc 100644 --- a/packages/session-persistence/package.json +++ b/packages/session-persistence/package.json @@ -5,17 +5,18 @@ "private": true, "type": "module", "main": "lib/index.js", - "types": "lib/index.d.ts", + "types": "lib/typings/index.d.ts", "exports": { ".": { - "types": "./lib/index.d.ts", + "types": "./lib/typings/index.d.ts", "default": "./lib/index.js" }, "./src/*": "./src/*", "./package.json": "./package.json" }, "files": [ - "lib", + "lib/index.js", + "lib/typings/**/*.d.ts", "src" ], "license": "BSD-3-Clause", diff --git a/packages/session-persistence/tsconfig.json b/packages/session-persistence/tsconfig.json index 727294a720..ebfd4b98f3 100644 --- a/packages/session-persistence/tsconfig.json +++ b/packages/session-persistence/tsconfig.json @@ -2,7 +2,7 @@ "extends": "../../tsconfig.base.json", "compilerOptions": { "rootDir": "src", - "outDir": "lib" + "outDir": "lib/typings" }, "include": ["src"], "references": [ diff --git a/packages/session/package.json b/packages/session/package.json index f4aa5839bc..d660624853 100644 --- a/packages/session/package.json +++ b/packages/session/package.json @@ -5,17 +5,18 @@ "private": true, "type": "module", "main": "lib/index.js", - "types": "lib/index.d.ts", + "types": "lib/typings/index.d.ts", "exports": { ".": { - "types": "./lib/index.d.ts", + "types": "./lib/typings/index.d.ts", "default": "./lib/index.js" }, "./src/*": "./src/*", "./package.json": "./package.json" }, "files": [ - "lib", + "lib/index.js", + "lib/typings/**/*.d.ts", "src" ], "license": "BSD-3-Clause", diff --git a/packages/session/tsconfig.json b/packages/session/tsconfig.json index e226412a53..747dd65daa 100644 --- a/packages/session/tsconfig.json +++ b/packages/session/tsconfig.json @@ -2,7 +2,7 @@ "extends": "../../tsconfig.base.json", "compilerOptions": { "rootDir": "src", - "outDir": "lib" + "outDir": "lib/typings" }, "include": ["src"], "references": [ diff --git a/packages/system-prompt/package.json b/packages/system-prompt/package.json index eed76b8907..b5782f2c38 100644 --- a/packages/system-prompt/package.json +++ b/packages/system-prompt/package.json @@ -5,17 +5,18 @@ "private": true, "type": "module", "main": "lib/index.js", - "types": "lib/index.d.ts", + "types": "lib/typings/index.d.ts", "exports": { ".": { - "types": "./lib/index.d.ts", + "types": "./lib/typings/index.d.ts", "default": "./lib/index.js" }, "./src/*": "./src/*", "./package.json": "./package.json" }, "files": [ - "lib", + "lib/index.js", + "lib/typings/**/*.d.ts", "src" ], "license": "BSD-3-Clause", diff --git a/packages/system-prompt/tsconfig.json b/packages/system-prompt/tsconfig.json index e226412a53..747dd65daa 100644 --- a/packages/system-prompt/tsconfig.json +++ b/packages/system-prompt/tsconfig.json @@ -2,7 +2,7 @@ "extends": "../../tsconfig.base.json", "compilerOptions": { "rootDir": "src", - "outDir": "lib" + "outDir": "lib/typings" }, "include": ["src"], "references": [ diff --git a/packages/tool-bash/package.json b/packages/tool-bash/package.json index aaf4fde4cc..e433fad938 100644 --- a/packages/tool-bash/package.json +++ b/packages/tool-bash/package.json @@ -5,17 +5,18 @@ "private": true, "type": "module", "main": "lib/index.js", - "types": "lib/index.d.ts", + "types": "lib/typings/index.d.ts", "exports": { ".": { - "types": "./lib/index.d.ts", + "types": "./lib/typings/index.d.ts", "default": "./lib/index.js" }, "./src/*": "./src/*", "./package.json": "./package.json" }, "files": [ - "lib", + "lib/index.js", + "lib/typings/**/*.d.ts", "src" ], "license": "BSD-3-Clause", diff --git a/packages/tool-bash/tsconfig.json b/packages/tool-bash/tsconfig.json index 4741cb67f3..131f52aca6 100644 --- a/packages/tool-bash/tsconfig.json +++ b/packages/tool-bash/tsconfig.json @@ -2,7 +2,7 @@ "extends": "../../tsconfig.base.json", "compilerOptions": { "rootDir": "src", - "outDir": "lib" + "outDir": "lib/typings" }, "include": ["src"], "references": [ diff --git a/packages/tools/package.json b/packages/tools/package.json index a92015e55c..0a578547f2 100644 --- a/packages/tools/package.json +++ b/packages/tools/package.json @@ -5,17 +5,18 @@ "private": true, "type": "module", "main": "lib/index.js", - "types": "lib/index.d.ts", + "types": "lib/typings/index.d.ts", "exports": { ".": { - "types": "./lib/index.d.ts", + "types": "./lib/typings/index.d.ts", "default": "./lib/index.js" }, "./src/*": "./src/*", "./package.json": "./package.json" }, "files": [ - "lib", + "lib/index.js", + "lib/typings/**/*.d.ts", "src" ], "license": "BSD-3-Clause", diff --git a/packages/tools/tsconfig.json b/packages/tools/tsconfig.json index 8e29228fc8..20d6ab9643 100644 --- a/packages/tools/tsconfig.json +++ b/packages/tools/tsconfig.json @@ -2,7 +2,7 @@ "extends": "../../tsconfig.base.json", "compilerOptions": { "rootDir": "src", - "outDir": "lib" + "outDir": "lib/typings" }, "include": ["src"], "references": [ diff --git a/packages/ui-stdio/package.json b/packages/ui-stdio/package.json index 156984a72e..34216be977 100644 --- a/packages/ui-stdio/package.json +++ b/packages/ui-stdio/package.json @@ -5,17 +5,18 @@ "private": true, "type": "module", "main": "lib/index.js", - "types": "lib/index.d.ts", + "types": "lib/typings/index.d.ts", "exports": { ".": { - "types": "./lib/index.d.ts", + "types": "./lib/typings/index.d.ts", "default": "./lib/index.js" }, "./src/*": "./src/*", "./package.json": "./package.json" }, "files": [ - "lib", + "lib/index.js", + "lib/typings/**/*.d.ts", "src" ], "license": "BSD-3-Clause", diff --git a/packages/ui-stdio/tsconfig.json b/packages/ui-stdio/tsconfig.json index 33fa338e5f..f87b686386 100644 --- a/packages/ui-stdio/tsconfig.json +++ b/packages/ui-stdio/tsconfig.json @@ -2,7 +2,7 @@ "extends": "../../tsconfig.base.json", "compilerOptions": { "rootDir": "src", - "outDir": "lib" + "outDir": "lib/typings" }, "include": ["src"], "references": [