tokensafe-ui 0.1.3 → 0.1.4
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/bin/cli.js +1 -1
- package/dist/{chunk-DC5DUO6P.js → chunk-QNP65TV7.js} +1 -7
- package/dist/{chunk-R6O2VMCZ.js → chunk-UESQTIJY.js} +0 -7
- package/dist/{chunk-KAQKTPPN.js → chunk-WZVWZB6L.js} +0 -7
- package/dist/{chunk-CXJYXG22.js → chunk-ZRW74NHE.js} +3 -9
- package/dist/index.cjs +0 -6
- package/dist/index.js +1 -7
- package/dist/mcp.cjs +0 -6
- package/dist/mcp.js +4 -10
- package/dist/observer.cjs +0 -6
- package/dist/observer.js +2 -8
- package/dist/oumv.cjs +0 -6
- package/dist/oumv.js +4 -10
- package/dist/patcher.cjs +0 -6
- package/dist/patcher.js +1 -7
- package/dist/testing.cjs +0 -6
- package/dist/testing.js +1 -7
- package/dist/vite.cjs +0 -6
- package/dist/vite.js +1 -7
- package/package.json +1 -1
package/bin/cli.js
CHANGED
|
@@ -4,5 +4,5 @@ const arg = process.argv[2];
|
|
|
4
4
|
if (arg === 'mcp' || !arg) {
|
|
5
5
|
import('./mcp.js');
|
|
6
6
|
} else {
|
|
7
|
-
console.log(`TokenSafe UI CLI
|
|
7
|
+
console.log(`TokenSafe UI CLI\nUsage:\n tokensafe-ui mcp Start MCP server over stdio\n`);
|
|
8
8
|
}
|
|
@@ -1,12 +1,6 @@
|
|
|
1
|
-
import { createRequire as __createRequire } from 'node:module';
|
|
2
|
-
import { fileURLToPath as __fileURLToPath } from 'node:url';
|
|
3
|
-
import { dirname as __dirnameFunc } from 'node:path';
|
|
4
|
-
const require = __createRequire(import.meta.url);
|
|
5
|
-
const __filename = __fileURLToPath(import.meta.url);
|
|
6
|
-
const __dirname = __dirnameFunc(__filename);
|
|
7
1
|
import {
|
|
8
2
|
activeInstances
|
|
9
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-WZVWZB6L.js";
|
|
10
4
|
|
|
11
5
|
// ../observer/dist/index.js
|
|
12
6
|
import fs from "fs";
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
import { createRequire as __createRequire } from 'node:module';
|
|
2
|
-
import { fileURLToPath as __fileURLToPath } from 'node:url';
|
|
3
|
-
import { dirname as __dirnameFunc } from 'node:path';
|
|
4
|
-
const require = __createRequire(import.meta.url);
|
|
5
|
-
const __filename = __fileURLToPath(import.meta.url);
|
|
6
|
-
const __dirname = __dirnameFunc(__filename);
|
|
7
|
-
|
|
8
1
|
// ../patcher/dist/index.js
|
|
9
2
|
import * as parser from "@babel/parser";
|
|
10
3
|
import _traverse from "@babel/traverse";
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
import { createRequire as __createRequire } from 'node:module';
|
|
2
|
-
import { fileURLToPath as __fileURLToPath } from 'node:url';
|
|
3
|
-
import { dirname as __dirnameFunc } from 'node:path';
|
|
4
|
-
const require = __createRequire(import.meta.url);
|
|
5
|
-
const __filename = __fileURLToPath(import.meta.url);
|
|
6
|
-
const __dirname = __dirnameFunc(__filename);
|
|
7
|
-
|
|
8
1
|
// ../core/dist/index.js
|
|
9
2
|
import { z as z2 } from "zod";
|
|
10
3
|
import { z } from "zod";
|
|
@@ -1,18 +1,12 @@
|
|
|
1
|
-
import { createRequire as __createRequire } from 'node:module';
|
|
2
|
-
import { fileURLToPath as __fileURLToPath } from 'node:url';
|
|
3
|
-
import { dirname as __dirnameFunc } from 'node:path';
|
|
4
|
-
const require = __createRequire(import.meta.url);
|
|
5
|
-
const __filename = __fileURLToPath(import.meta.url);
|
|
6
|
-
const __dirname = __dirnameFunc(__filename);
|
|
7
1
|
import {
|
|
8
2
|
buildDependencyGraph
|
|
9
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-QNP65TV7.js";
|
|
10
4
|
import {
|
|
11
5
|
testAction
|
|
12
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-WZVWZB6L.js";
|
|
13
7
|
import {
|
|
14
8
|
applyPatch
|
|
15
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-UESQTIJY.js";
|
|
16
10
|
|
|
17
11
|
// ../mcp/dist/index.js
|
|
18
12
|
import { Server } from "@modelcontextprotocol/sdk/server/index.js";
|
package/dist/index.cjs
CHANGED
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import { createRequire as __createRequire } from 'node:module';
|
|
2
|
-
import { fileURLToPath as __fileURLToPath } from 'node:url';
|
|
3
|
-
import { dirname as __dirnameFunc } from 'node:path';
|
|
4
|
-
const require = __createRequire(import.meta.url);
|
|
5
|
-
const __filename = __fileURLToPath(import.meta.url);
|
|
6
|
-
const __dirname = __dirnameFunc(__filename);
|
|
7
1
|
"use strict";
|
|
8
2
|
var __defProp = Object.defineProperty;
|
|
9
3
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
package/dist/index.js
CHANGED
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import { createRequire as __createRequire } from 'node:module';
|
|
2
|
-
import { fileURLToPath as __fileURLToPath } from 'node:url';
|
|
3
|
-
import { dirname as __dirnameFunc } from 'node:path';
|
|
4
|
-
const require = __createRequire(import.meta.url);
|
|
5
|
-
const __filename = __fileURLToPath(import.meta.url);
|
|
6
|
-
const __dirname = __dirnameFunc(__filename);
|
|
7
1
|
import {
|
|
8
2
|
ErrorBoundary,
|
|
9
3
|
For,
|
|
@@ -23,7 +17,7 @@ import {
|
|
|
23
17
|
testAction,
|
|
24
18
|
unmount,
|
|
25
19
|
z2
|
|
26
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-WZVWZB6L.js";
|
|
27
21
|
export {
|
|
28
22
|
ErrorBoundary,
|
|
29
23
|
For,
|
package/dist/mcp.cjs
CHANGED
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import { createRequire as __createRequire } from 'node:module';
|
|
2
|
-
import { fileURLToPath as __fileURLToPath } from 'node:url';
|
|
3
|
-
import { dirname as __dirnameFunc } from 'node:path';
|
|
4
|
-
const require = __createRequire(import.meta.url);
|
|
5
|
-
const __filename = __fileURLToPath(import.meta.url);
|
|
6
|
-
const __dirname = __dirnameFunc(__filename);
|
|
7
1
|
"use strict";
|
|
8
2
|
var __create = Object.create;
|
|
9
3
|
var __defProp = Object.defineProperty;
|
package/dist/mcp.js
CHANGED
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import { createRequire as __createRequire } from 'node:module';
|
|
2
|
-
import { fileURLToPath as __fileURLToPath } from 'node:url';
|
|
3
|
-
import { dirname as __dirnameFunc } from 'node:path';
|
|
4
|
-
const require = __createRequire(import.meta.url);
|
|
5
|
-
const __filename = __fileURLToPath(import.meta.url);
|
|
6
|
-
const __dirname = __dirnameFunc(__filename);
|
|
7
1
|
import {
|
|
8
2
|
MCP_SERVER_VERSION,
|
|
9
3
|
atomicApplySourceEdit,
|
|
@@ -12,10 +6,10 @@ import {
|
|
|
12
6
|
inspectComponentContract,
|
|
13
7
|
validateSourceSyntaxAndTypes,
|
|
14
8
|
validateWorkspacePath
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-ZRW74NHE.js";
|
|
10
|
+
import "./chunk-QNP65TV7.js";
|
|
11
|
+
import "./chunk-WZVWZB6L.js";
|
|
12
|
+
import "./chunk-UESQTIJY.js";
|
|
19
13
|
|
|
20
14
|
// src/mcp.ts
|
|
21
15
|
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
|
package/dist/observer.cjs
CHANGED
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import { createRequire as __createRequire } from 'node:module';
|
|
2
|
-
import { fileURLToPath as __fileURLToPath } from 'node:url';
|
|
3
|
-
import { dirname as __dirnameFunc } from 'node:path';
|
|
4
|
-
const require = __createRequire(import.meta.url);
|
|
5
|
-
const __filename = __fileURLToPath(import.meta.url);
|
|
6
|
-
const __dirname = __dirnameFunc(__filename);
|
|
7
1
|
"use strict";
|
|
8
2
|
var __create = Object.create;
|
|
9
3
|
var __defProp = Object.defineProperty;
|
package/dist/observer.js
CHANGED
|
@@ -1,16 +1,10 @@
|
|
|
1
|
-
import { createRequire as __createRequire } from 'node:module';
|
|
2
|
-
import { fileURLToPath as __fileURLToPath } from 'node:url';
|
|
3
|
-
import { dirname as __dirnameFunc } from 'node:path';
|
|
4
|
-
const require = __createRequire(import.meta.url);
|
|
5
|
-
const __filename = __fileURLToPath(import.meta.url);
|
|
6
|
-
const __dirname = __dirnameFunc(__filename);
|
|
7
1
|
import {
|
|
8
2
|
OBSERVER_VERSION,
|
|
9
3
|
buildDependencyGraph,
|
|
10
4
|
getSemanticSnapshot,
|
|
11
5
|
observe
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-QNP65TV7.js";
|
|
7
|
+
import "./chunk-WZVWZB6L.js";
|
|
14
8
|
export {
|
|
15
9
|
OBSERVER_VERSION,
|
|
16
10
|
buildDependencyGraph,
|
package/dist/oumv.cjs
CHANGED
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import { createRequire as __createRequire } from 'node:module';
|
|
2
|
-
import { fileURLToPath as __fileURLToPath } from 'node:url';
|
|
3
|
-
import { dirname as __dirnameFunc } from 'node:path';
|
|
4
|
-
const require = __createRequire(import.meta.url);
|
|
5
|
-
const __filename = __fileURLToPath(import.meta.url);
|
|
6
|
-
const __dirname = __dirnameFunc(__filename);
|
|
7
1
|
"use strict";
|
|
8
2
|
var __create = Object.create;
|
|
9
3
|
var __defProp = Object.defineProperty;
|
package/dist/oumv.js
CHANGED
|
@@ -1,21 +1,15 @@
|
|
|
1
|
-
import { createRequire as __createRequire } from 'node:module';
|
|
2
|
-
import { fileURLToPath as __fileURLToPath } from 'node:url';
|
|
3
|
-
import { dirname as __dirnameFunc } from 'node:path';
|
|
4
|
-
const require = __createRequire(import.meta.url);
|
|
5
|
-
const __filename = __fileURLToPath(import.meta.url);
|
|
6
|
-
const __dirname = __dirnameFunc(__filename);
|
|
7
1
|
import {
|
|
8
2
|
atomicApplySourceEdit,
|
|
9
3
|
validateWorkspacePath
|
|
10
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ZRW74NHE.js";
|
|
11
5
|
import {
|
|
12
6
|
buildDependencyGraph,
|
|
13
7
|
observe
|
|
14
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-QNP65TV7.js";
|
|
15
9
|
import {
|
|
16
10
|
testAction
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-WZVWZB6L.js";
|
|
12
|
+
import "./chunk-UESQTIJY.js";
|
|
19
13
|
|
|
20
14
|
// ../oumv/dist/index.js
|
|
21
15
|
import fs from "fs";
|
package/dist/patcher.cjs
CHANGED
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import { createRequire as __createRequire } from 'node:module';
|
|
2
|
-
import { fileURLToPath as __fileURLToPath } from 'node:url';
|
|
3
|
-
import { dirname as __dirnameFunc } from 'node:path';
|
|
4
|
-
const require = __createRequire(import.meta.url);
|
|
5
|
-
const __filename = __fileURLToPath(import.meta.url);
|
|
6
|
-
const __dirname = __dirnameFunc(__filename);
|
|
7
1
|
"use strict";
|
|
8
2
|
var __create = Object.create;
|
|
9
3
|
var __defProp = Object.defineProperty;
|
package/dist/patcher.js
CHANGED
|
@@ -1,13 +1,7 @@
|
|
|
1
|
-
import { createRequire as __createRequire } from 'node:module';
|
|
2
|
-
import { fileURLToPath as __fileURLToPath } from 'node:url';
|
|
3
|
-
import { dirname as __dirnameFunc } from 'node:path';
|
|
4
|
-
const require = __createRequire(import.meta.url);
|
|
5
|
-
const __filename = __fileURLToPath(import.meta.url);
|
|
6
|
-
const __dirname = __dirnameFunc(__filename);
|
|
7
1
|
import {
|
|
8
2
|
PATCHER_VERSION,
|
|
9
3
|
applyPatch
|
|
10
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-UESQTIJY.js";
|
|
11
5
|
export {
|
|
12
6
|
PATCHER_VERSION,
|
|
13
7
|
applyPatch
|
package/dist/testing.cjs
CHANGED
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import { createRequire as __createRequire } from 'node:module';
|
|
2
|
-
import { fileURLToPath as __fileURLToPath } from 'node:url';
|
|
3
|
-
import { dirname as __dirnameFunc } from 'node:path';
|
|
4
|
-
const require = __createRequire(import.meta.url);
|
|
5
|
-
const __filename = __fileURLToPath(import.meta.url);
|
|
6
|
-
const __dirname = __dirnameFunc(__filename);
|
|
7
1
|
"use strict";
|
|
8
2
|
var __defProp = Object.defineProperty;
|
|
9
3
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
package/dist/testing.js
CHANGED
|
@@ -1,12 +1,6 @@
|
|
|
1
|
-
import { createRequire as __createRequire } from 'node:module';
|
|
2
|
-
import { fileURLToPath as __fileURLToPath } from 'node:url';
|
|
3
|
-
import { dirname as __dirnameFunc } from 'node:path';
|
|
4
|
-
const require = __createRequire(import.meta.url);
|
|
5
|
-
const __filename = __fileURLToPath(import.meta.url);
|
|
6
|
-
const __dirname = __dirnameFunc(__filename);
|
|
7
1
|
import {
|
|
8
2
|
testAction
|
|
9
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-WZVWZB6L.js";
|
|
10
4
|
export {
|
|
11
5
|
testAction
|
|
12
6
|
};
|
package/dist/vite.cjs
CHANGED
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import { createRequire as __createRequire } from 'node:module';
|
|
2
|
-
import { fileURLToPath as __fileURLToPath } from 'node:url';
|
|
3
|
-
import { dirname as __dirnameFunc } from 'node:path';
|
|
4
|
-
const require = __createRequire(import.meta.url);
|
|
5
|
-
const __filename = __fileURLToPath(import.meta.url);
|
|
6
|
-
const __dirname = __dirnameFunc(__filename);
|
|
7
1
|
"use strict";
|
|
8
2
|
var __create = Object.create;
|
|
9
3
|
var __defProp = Object.defineProperty;
|
package/dist/vite.js
CHANGED
|
@@ -1,12 +1,6 @@
|
|
|
1
|
-
import { createRequire as __createRequire } from 'node:module';
|
|
2
|
-
import { fileURLToPath as __fileURLToPath } from 'node:url';
|
|
3
|
-
import { dirname as __dirnameFunc } from 'node:path';
|
|
4
|
-
const require = __createRequire(import.meta.url);
|
|
5
|
-
const __filename = __fileURLToPath(import.meta.url);
|
|
6
|
-
const __dirname = __dirnameFunc(__filename);
|
|
7
1
|
import {
|
|
8
2
|
applyPatch
|
|
9
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-UESQTIJY.js";
|
|
10
4
|
|
|
11
5
|
// ../vite/dist/index.js
|
|
12
6
|
import * as parser from "@babel/parser";
|