kill-switch-mcp 1.1.2 → 1.1.3
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/kill-switch-mcp.js +5 -5
- package/dist/server.js +4947 -0
- package/package.json +4 -2
- package/src/api/index.ts +0 -188
- package/src/sdk/actions-helpers.ts +0 -450
- package/src/sdk/actions.ts +0 -3208
- package/src/sdk/formatter.ts +0 -263
- package/src/sdk/index.ts +0 -1313
- package/src/sdk/pathfinding.ts +0 -57
- package/src/sdk/types.ts +0 -584
- package/src/server.ts +0 -1088
- package/src/wallet/index.ts +0 -369
package/bin/kill-switch-mcp.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
//
|
|
4
|
-
//
|
|
5
|
-
//
|
|
6
|
-
//
|
|
3
|
+
// The package ships pre-compiled JS in dist/.
|
|
4
|
+
// For user action files (bots/<name>/actions/*.ts) which live outside
|
|
5
|
+
// node_modules, we register tsx on Node <22 so they can be dynamically
|
|
6
|
+
// imported. Node 22+ handles .ts natively via --experimental-strip-types.
|
|
7
7
|
const major = parseInt(process.versions.node.split('.')[0]);
|
|
8
8
|
if (major < 22) {
|
|
9
9
|
const { register } = await import('tsx/esm/api');
|
|
10
10
|
register();
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
-
await import('../
|
|
13
|
+
await import('../dist/server.js');
|