@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.
- package/dist/{apply-patch-EBZ5VLO7.js → apply-patch-D5PDUXUC.js} +0 -1
- package/dist/{auth-S3FIB42I.js → auth-JQX6MHJG.js} +0 -1
- package/dist/builtins/archimedes.toml +18 -0
- package/dist/builtins/awaiter.toml +18 -0
- package/dist/builtins/euclid.toml +18 -0
- package/dist/builtins/hypatia.toml +18 -0
- package/dist/builtins/kepler.toml +18 -0
- package/dist/builtins/plato.toml +18 -0
- package/dist/builtins/ptolemy.toml +18 -0
- package/dist/builtins/pythagoras.toml +18 -0
- package/dist/chunk-YBYF7L4A.js +2607 -0
- package/dist/{compression-LPFNGAV6.js → compression-UTB2Y4BB.js} +0 -1
- package/dist/{edit-FXWXOFAF.js → edit-JEFEK43H.js} +0 -1
- package/dist/{git-XVWI2BT7.js → git-5T5TSQTX.js} +0 -1
- package/dist/{github-DOZ2MVQE.js → github-DWRGWX6U.js} +0 -1
- package/dist/{glob-XSBN4MDB.js → glob-BI3P4C7Q.js} +0 -1
- package/dist/{grep-2A42QPWM.js → grep-VZ3I5GNW.js} +0 -1
- package/dist/index.js +3080 -668
- package/dist/{lsp-WUEGBQ3F.js → lsp-UPY6I3L7.js} +0 -1
- package/dist/{notebook-5U6PAF6M.js → notebook-FXJBTSPA.js} +0 -1
- package/dist/{plugins-GJIUZCJ5.js → plugins-OG2P75K5.js} +0 -1
- package/dist/{read-LY2VGCZY.js → read-OVJG2XKW.js} +0 -1
- package/dist/{server-4JRQH3DT.js → server-W7FRCVRZ.js} +15 -17
- package/dist/{shell-RGXMLRLH.js → shell-4X545EVN.js} +0 -1
- package/dist/{task-VIJ3N5EB.js → task-OS3E5F3X.js} +0 -1
- package/dist/{tools-XKVTMNR5.js → tools-Q7CDHB4K.js} +1 -2
- package/dist/{web-fetch-XOH5PUCP.js → web-fetch-KNIV3Z3W.js} +0 -1
- package/dist/{write-DOLDW7HM.js → write-NNHLOTYK.js} +0 -1
- package/package.json +5 -4
- package/dist/chunk-3RG5ZIWI.js +0 -10
- package/dist/chunk-75K7DQVI.js +0 -630
|
@@ -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-
|
|
1321
|
-
const { pluginManager } = await import("./plugins-
|
|
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-
|
|
1331
|
-
const { writeTool } = await import("./write-
|
|
1332
|
-
const { editTool } = await import("./edit-
|
|
1333
|
-
const { applyPatchTool } = await import("./apply-patch-
|
|
1334
|
-
const { shellTool } = await import("./shell-
|
|
1335
|
-
const { gitTool } = await import("./git-
|
|
1336
|
-
const { githubTool } = await import("./github-
|
|
1337
|
-
const { grepTool } = await import("./grep-
|
|
1338
|
-
const { globTool } = await import("./glob-
|
|
1339
|
-
const { webFetchTool } = await import("./web-fetch-
|
|
1340
|
-
const { lspTool } = await import("./lsp-
|
|
1341
|
-
const { notebookTool } = await import("./notebook-
|
|
1342
|
-
const { taskTool } = await import("./task-
|
|
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,
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
initMCPServers,
|
|
6
6
|
listToolNames,
|
|
7
7
|
mcpToolCount
|
|
8
|
-
} from "./chunk-
|
|
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,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@freesyntax/notch-cli",
|
|
3
|
-
"version": "0.5.
|
|
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
|
|
14
|
-
"build:publish": "tsup
|
|
15
|
-
"dev": "tsup
|
|
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": {
|
package/dist/chunk-3RG5ZIWI.js
DELETED
|
@@ -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
|
-
};
|