@synapsor/runner 0.1.0-alpha.0
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/LICENSE +201 -0
- package/NOTICE +6 -0
- package/README.md +64 -0
- package/dist/bin.cjs +13 -0
- package/dist/cli.d.ts +12 -0
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +8726 -0
- package/dist/local-ui.d.ts +22 -0
- package/dist/local-ui.d.ts.map +1 -0
- package/package.json +51 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { type Server } from "node:http";
|
|
2
|
+
export type LocalUiOptions = {
|
|
3
|
+
configPath?: string;
|
|
4
|
+
storePath?: string;
|
|
5
|
+
host?: string;
|
|
6
|
+
port?: number;
|
|
7
|
+
token?: string;
|
|
8
|
+
csrfToken?: string;
|
|
9
|
+
allowRemoteBind?: boolean;
|
|
10
|
+
tour?: boolean;
|
|
11
|
+
};
|
|
12
|
+
export type LocalUiServer = {
|
|
13
|
+
server: Server;
|
|
14
|
+
url: string;
|
|
15
|
+
host: string;
|
|
16
|
+
port: number;
|
|
17
|
+
token: string;
|
|
18
|
+
csrfToken: string;
|
|
19
|
+
close: () => Promise<void>;
|
|
20
|
+
};
|
|
21
|
+
export declare function startLocalUiServer(options?: LocalUiOptions): Promise<LocalUiServer>;
|
|
22
|
+
//# sourceMappingURL=local-ui.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"local-ui.d.ts","sourceRoot":"","sources":["../src/local-ui.ts"],"names":[],"mappings":"AAEA,OAAO,EAAsC,KAAK,MAAM,EAAuB,MAAM,WAAW,CAAC;AAQjG,MAAM,MAAM,cAAc,GAAG;IAC3B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;CAC5B,CAAC;AAEF,wBAAsB,kBAAkB,CAAC,OAAO,GAAE,cAAmB,GAAG,OAAO,CAAC,aAAa,CAAC,CA8C7F"}
|
package/package.json
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@synapsor/runner",
|
|
3
|
+
"version": "0.1.0-alpha.0",
|
|
4
|
+
"description": "Commit-safe MCP runner for Postgres and MySQL agents",
|
|
5
|
+
"license": "Apache-2.0",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"bin": {
|
|
8
|
+
"synapsor-runner": "dist/bin.cjs"
|
|
9
|
+
},
|
|
10
|
+
"files": [
|
|
11
|
+
"dist/bin.cjs",
|
|
12
|
+
"dist/cli.js",
|
|
13
|
+
"dist/cli.d.ts",
|
|
14
|
+
"dist/cli.d.ts.map",
|
|
15
|
+
"dist/local-ui.d.ts",
|
|
16
|
+
"dist/local-ui.d.ts.map",
|
|
17
|
+
"README.md",
|
|
18
|
+
"LICENSE",
|
|
19
|
+
"NOTICE"
|
|
20
|
+
],
|
|
21
|
+
"engines": {
|
|
22
|
+
"node": ">=22.5.0"
|
|
23
|
+
},
|
|
24
|
+
"scripts": {
|
|
25
|
+
"build": "tsc -b && node ../../scripts/build-runner-package.mjs",
|
|
26
|
+
"prepack": "cd ../.. && corepack pnpm build:runner-package",
|
|
27
|
+
"test": "vitest run"
|
|
28
|
+
},
|
|
29
|
+
"dependencies": {
|
|
30
|
+
"@modelcontextprotocol/sdk": "1.29.0",
|
|
31
|
+
"mysql2": "^3.11.0",
|
|
32
|
+
"pg": "^8.13.0",
|
|
33
|
+
"zod": "^3.25.0"
|
|
34
|
+
},
|
|
35
|
+
"devDependencies": {
|
|
36
|
+
"typescript": "^5.7.0",
|
|
37
|
+
"vitest": "^3.2.0"
|
|
38
|
+
},
|
|
39
|
+
"homepage": "https://synapsor.ai",
|
|
40
|
+
"repository": {
|
|
41
|
+
"type": "git",
|
|
42
|
+
"url": "git+https://github.com/synapsor-ai/synapsor-runner.git"
|
|
43
|
+
},
|
|
44
|
+
"bugs": {
|
|
45
|
+
"url": "https://synapsor.ai/contact"
|
|
46
|
+
},
|
|
47
|
+
"publishConfig": {
|
|
48
|
+
"access": "public",
|
|
49
|
+
"tag": "alpha"
|
|
50
|
+
}
|
|
51
|
+
}
|