@freesyntax/notch-cli 0.5.19 → 0.5.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. package/dist/{apply-patch-EBZ5VLO7.js → apply-patch-D5PDUXUC.js} +0 -1
  2. package/dist/{auth-S3FIB42I.js → auth-JQX6MHJG.js} +0 -1
  3. package/dist/builtins/archimedes.toml +18 -0
  4. package/dist/builtins/awaiter.toml +18 -0
  5. package/dist/builtins/euclid.toml +18 -0
  6. package/dist/builtins/hypatia.toml +18 -0
  7. package/dist/builtins/kepler.toml +18 -0
  8. package/dist/builtins/plato.toml +18 -0
  9. package/dist/builtins/ptolemy.toml +18 -0
  10. package/dist/builtins/pythagoras.toml +18 -0
  11. package/dist/chunk-YBYF7L4A.js +2607 -0
  12. package/dist/{compression-LPFNGAV6.js → compression-UTB2Y4BB.js} +0 -1
  13. package/dist/{edit-FXWXOFAF.js → edit-JEFEK43H.js} +0 -1
  14. package/dist/{git-XVWI2BT7.js → git-5T5TSQTX.js} +0 -1
  15. package/dist/{github-DOZ2MVQE.js → github-DWRGWX6U.js} +0 -1
  16. package/dist/{glob-XSBN4MDB.js → glob-BI3P4C7Q.js} +0 -1
  17. package/dist/{grep-2A42QPWM.js → grep-VZ3I5GNW.js} +0 -1
  18. package/dist/index.js +3080 -668
  19. package/dist/{lsp-WUEGBQ3F.js → lsp-UPY6I3L7.js} +0 -1
  20. package/dist/{notebook-5U6PAF6M.js → notebook-FXJBTSPA.js} +0 -1
  21. package/dist/{plugins-GJIUZCJ5.js → plugins-OG2P75K5.js} +0 -1
  22. package/dist/{read-LY2VGCZY.js → read-OVJG2XKW.js} +0 -1
  23. package/dist/{server-4JRQH3DT.js → server-W7FRCVRZ.js} +15 -17
  24. package/dist/{shell-RGXMLRLH.js → shell-4X545EVN.js} +0 -1
  25. package/dist/{task-VIJ3N5EB.js → task-OS3E5F3X.js} +0 -1
  26. package/dist/{tools-XKVTMNR5.js → tools-Q7CDHB4K.js} +1 -2
  27. package/dist/{web-fetch-XOH5PUCP.js → web-fetch-KNIV3Z3W.js} +0 -1
  28. package/dist/{write-DOLDW7HM.js → write-NNHLOTYK.js} +0 -1
  29. package/package.json +5 -4
  30. package/dist/chunk-3RG5ZIWI.js +0 -10
  31. package/dist/chunk-75K7DQVI.js +0 -630
@@ -1,7 +1,6 @@
1
1
  import {
2
2
  lspTool
3
3
  } from "./chunk-TH6GKC7E.js";
4
- import "./chunk-3RG5ZIWI.js";
5
4
  export {
6
5
  lspTool
7
6
  };
@@ -1,7 +1,6 @@
1
1
  import {
2
2
  notebookTool
3
3
  } from "./chunk-KZAS754V.js";
4
- import "./chunk-3RG5ZIWI.js";
5
4
  export {
6
5
  notebookTool
7
6
  };
@@ -1,7 +1,6 @@
1
1
  import {
2
2
  pluginManager
3
3
  } from "./chunk-3QUV4JEX.js";
4
- import "./chunk-3RG5ZIWI.js";
5
4
  export {
6
5
  pluginManager
7
6
  };
@@ -1,7 +1,6 @@
1
1
  import {
2
2
  readTool
3
3
  } from "./chunk-CQMAVWLJ.js";
4
- import "./chunk-3RG5ZIWI.js";
5
4
  export {
6
5
  readTool
7
6
  };
@@ -1,5 +1,3 @@
1
- import "./chunk-3RG5ZIWI.js";
2
-
3
1
  // src/mcp/server.ts
4
2
  import readline from "readline";
5
3
 
@@ -1317,8 +1315,8 @@ function toolsToMcpList(tools) {
1317
1315
  }));
1318
1316
  }
1319
1317
  async function runMcpServer(opts) {
1320
- const toolsModule = await import("./tools-XKVTMNR5.js");
1321
- const { pluginManager } = await import("./plugins-GJIUZCJ5.js");
1318
+ const toolsModule = await import("./tools-Q7CDHB4K.js");
1319
+ const { pluginManager } = await import("./plugins-OG2P75K5.js");
1322
1320
  if (opts.includePlugins !== false) {
1323
1321
  try {
1324
1322
  await pluginManager.init(opts.cwd, (m) => logStderr(m));
@@ -1327,19 +1325,19 @@ async function runMcpServer(opts) {
1327
1325
  }
1328
1326
  }
1329
1327
  const getTools = () => toolsModule.listToolNames().map((name) => ({ name, desc: toolsModule.describeTools() })).filter(() => true);
1330
- const { readTool } = await import("./read-LY2VGCZY.js");
1331
- const { writeTool } = await import("./write-DOLDW7HM.js");
1332
- const { editTool } = await import("./edit-FXWXOFAF.js");
1333
- const { applyPatchTool } = await import("./apply-patch-EBZ5VLO7.js");
1334
- const { shellTool } = await import("./shell-RGXMLRLH.js");
1335
- const { gitTool } = await import("./git-XVWI2BT7.js");
1336
- const { githubTool } = await import("./github-DOZ2MVQE.js");
1337
- const { grepTool } = await import("./grep-2A42QPWM.js");
1338
- const { globTool } = await import("./glob-XSBN4MDB.js");
1339
- const { webFetchTool } = await import("./web-fetch-XOH5PUCP.js");
1340
- const { lspTool } = await import("./lsp-WUEGBQ3F.js");
1341
- const { notebookTool } = await import("./notebook-5U6PAF6M.js");
1342
- const { taskTool } = await import("./task-VIJ3N5EB.js");
1328
+ const { readTool } = await import("./read-OVJG2XKW.js");
1329
+ const { writeTool } = await import("./write-NNHLOTYK.js");
1330
+ const { editTool } = await import("./edit-JEFEK43H.js");
1331
+ const { applyPatchTool } = await import("./apply-patch-D5PDUXUC.js");
1332
+ const { shellTool } = await import("./shell-4X545EVN.js");
1333
+ const { gitTool } = await import("./git-5T5TSQTX.js");
1334
+ const { githubTool } = await import("./github-DWRGWX6U.js");
1335
+ const { grepTool } = await import("./grep-VZ3I5GNW.js");
1336
+ const { globTool } = await import("./glob-BI3P4C7Q.js");
1337
+ const { webFetchTool } = await import("./web-fetch-KNIV3Z3W.js");
1338
+ const { lspTool } = await import("./lsp-UPY6I3L7.js");
1339
+ const { notebookTool } = await import("./notebook-FXJBTSPA.js");
1340
+ const { taskTool } = await import("./task-OS3E5F3X.js");
1343
1341
  const exposed = [
1344
1342
  readTool,
1345
1343
  writeTool,
@@ -1,7 +1,6 @@
1
1
  import {
2
2
  shellTool
3
3
  } from "./chunk-W4FAGQFL.js";
4
- import "./chunk-3RG5ZIWI.js";
5
4
  export {
6
5
  shellTool
7
6
  };
@@ -3,7 +3,6 @@ import {
3
3
  getAllTasks,
4
4
  taskTool
5
5
  } from "./chunk-UR4XL6OM.js";
6
- import "./chunk-3RG5ZIWI.js";
7
6
  export {
8
7
  formatTasksDisplay,
9
8
  getAllTasks,
@@ -5,7 +5,7 @@ import {
5
5
  initMCPServers,
6
6
  listToolNames,
7
7
  mcpToolCount
8
- } from "./chunk-75K7DQVI.js";
8
+ } from "./chunk-YBYF7L4A.js";
9
9
  import "./chunk-6CZCFY6H.js";
10
10
  import "./chunk-6U3ZAGYA.js";
11
11
  import "./chunk-FFB7GK3Y.js";
@@ -20,7 +20,6 @@ import "./chunk-YAYPQTOU.js";
20
20
  import "./chunk-C4CPDDMN.js";
21
21
  import "./chunk-W4FAGQFL.js";
22
22
  import "./chunk-FAULT7VE.js";
23
- import "./chunk-3RG5ZIWI.js";
24
23
  export {
25
24
  buildToolMap,
26
25
  describeTools,
@@ -1,7 +1,6 @@
1
1
  import {
2
2
  webFetchTool
3
3
  } from "./chunk-FFB7GK3Y.js";
4
- import "./chunk-3RG5ZIWI.js";
5
4
  export {
6
5
  webFetchTool
7
6
  };
@@ -1,7 +1,6 @@
1
1
  import {
2
2
  writeTool
3
3
  } from "./chunk-O3WZW7GS.js";
4
- import "./chunk-3RG5ZIWI.js";
5
4
  export {
6
5
  writeTool
7
6
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@freesyntax/notch-cli",
3
- "version": "0.5.19",
3
+ "version": "0.5.20",
4
4
  "description": "Notch CLI — AI-powered coding assistant by Driftrail",
5
5
  "type": "module",
6
6
  "bin": {
@@ -10,9 +10,9 @@
10
10
  "dist"
11
11
  ],
12
12
  "scripts": {
13
- "build": "tsup src/index.ts --format esm --dts --clean",
14
- "build:publish": "tsup src/index.ts --format esm --clean",
15
- "dev": "tsup src/index.ts --format esm --watch",
13
+ "build": "tsup --dts",
14
+ "build:publish": "tsup",
15
+ "dev": "tsup --watch",
16
16
  "start": "node dist/index.js",
17
17
  "typecheck": "tsc --noEmit",
18
18
  "lint": "eslint src/",
@@ -28,6 +28,7 @@
28
28
  "ignore": "^6.0.2",
29
29
  "ora": "^8.1.1",
30
30
  "simple-git": "^3.27.0",
31
+ "smol-toml": "^1.6.1",
31
32
  "zod": "^3.24.1"
32
33
  },
33
34
  "devDependencies": {
@@ -1,10 +0,0 @@
1
- var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
2
- get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
3
- }) : x)(function(x) {
4
- if (typeof require !== "undefined") return require.apply(this, arguments);
5
- throw Error('Dynamic require of "' + x + '" is not supported');
6
- });
7
-
8
- export {
9
- __require
10
- };