@synapsor/runner 0.1.0-alpha.0 → 0.1.0-alpha.1
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/README.md +10 -10
- package/dist/cli.js +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -8,26 +8,26 @@ It exposes semantic tools, creates proposals, records evidence, requires
|
|
|
8
8
|
approval outside the model-facing tool surface, and applies approved writes
|
|
9
9
|
through guarded execution.
|
|
10
10
|
|
|
11
|
-
##
|
|
11
|
+
## Run The Alpha
|
|
12
12
|
|
|
13
13
|
```bash
|
|
14
|
-
|
|
14
|
+
npx -y -p @synapsor/runner@alpha synapsor-runner --help
|
|
15
15
|
```
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
Use it with a local or staging database:
|
|
18
18
|
|
|
19
19
|
```bash
|
|
20
|
-
|
|
20
|
+
export DATABASE_URL="postgresql://readonly_user:password@localhost:5432/app"
|
|
21
|
+
npx -y -p @synapsor/runner@alpha synapsor-runner inspect --engine auto --from-env DATABASE_URL --schema public
|
|
22
|
+
npx -y -p @synapsor/runner@alpha synapsor-runner init --wizard --engine auto --from-env DATABASE_URL --schema public
|
|
23
|
+
npx -y -p @synapsor/runner@alpha synapsor-runner tools preview
|
|
24
|
+
npx -y -p @synapsor/runner@alpha synapsor-runner mcp serve
|
|
21
25
|
```
|
|
22
26
|
|
|
23
|
-
|
|
27
|
+
For a longer local session, you can install the alpha package explicitly:
|
|
24
28
|
|
|
25
29
|
```bash
|
|
26
|
-
|
|
27
|
-
synapsor-runner inspect --engine auto --from-env DATABASE_URL --schema public
|
|
28
|
-
synapsor-runner init --wizard --engine auto --from-env DATABASE_URL --schema public
|
|
29
|
-
synapsor-runner tools preview
|
|
30
|
-
synapsor-runner mcp serve
|
|
30
|
+
npm install -g @synapsor/runner@alpha
|
|
31
31
|
```
|
|
32
32
|
|
|
33
33
|
## What It Does
|
package/dist/cli.js
CHANGED
|
@@ -2142,7 +2142,7 @@ function createMcpRuntime(config, options = {}) {
|
|
|
2142
2142
|
};
|
|
2143
2143
|
}
|
|
2144
2144
|
function createSynapsorMcpServer(runtime) {
|
|
2145
|
-
const server = new McpServer({ name: "synapsor-runner", version: "0.1.0-alpha.
|
|
2145
|
+
const server = new McpServer({ name: "synapsor-runner", version: "0.1.0-alpha.1" }, { capabilities: { tools: {}, resources: {} } });
|
|
2146
2146
|
if (runtime.config.mode === "cloud") {
|
|
2147
2147
|
for (const tool of runtime.listTools()) {
|
|
2148
2148
|
server.registerTool(tool.name, {
|
|
@@ -6874,7 +6874,7 @@ async function cloudConnect(args) {
|
|
|
6874
6874
|
return 1;
|
|
6875
6875
|
}
|
|
6876
6876
|
const runnerId = String(parsed.cloud.runner_id || process2.env.SYNAPSOR_RUNNER_ID || "synapsor_runner_local").trim();
|
|
6877
|
-
const runnerVersion = String(parsed.cloud.runner_version || process2.env.npm_package_version || "0.1.0-alpha.
|
|
6877
|
+
const runnerVersion = String(parsed.cloud.runner_version || process2.env.npm_package_version || "0.1.0-alpha.1").trim();
|
|
6878
6878
|
const engines = normalizeEngines(parsed.cloud.engines);
|
|
6879
6879
|
const capabilities = normalizeCapabilities(parsed.cloud.capabilities);
|
|
6880
6880
|
const client = new ControlPlaneClient({
|
|
@@ -8562,7 +8562,7 @@ function starterCloudConfig() {
|
|
|
8562
8562
|
base_url_env: "SYNAPSOR_CLOUD_BASE_URL",
|
|
8563
8563
|
runner_token_env: "SYNAPSOR_RUNNER_TOKEN",
|
|
8564
8564
|
runner_id: "synapsor_runner_local",
|
|
8565
|
-
runner_version: "0.1.0-alpha.
|
|
8565
|
+
runner_version: "0.1.0-alpha.1",
|
|
8566
8566
|
project_id: "token_scope",
|
|
8567
8567
|
adapter_id: "mcp.your_adapter",
|
|
8568
8568
|
source_id: "src_replace_me",
|