@synapsor/runner 0.1.5 → 0.1.6

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 CHANGED
@@ -277,9 +277,16 @@ synapsor-runner dsl compile ./contract.synapsor --out ./synapsor.contract.json
277
277
  synapsor-runner contract validate ./synapsor.contract.json
278
278
  synapsor-runner contract bundle ./synapsor.contract.json --out ./synapsor-runner-bundle
279
279
  synapsor-runner cloud push ./synapsor.contract.json --dry-run
280
+ cd ./synapsor-runner-bundle
281
+ cp .env.example .env # fill in and export your read-only database values
280
282
  synapsor-runner mcp serve --config ./synapsor.runner.json --store ./.synapsor/local.db
281
283
  ```
282
284
 
285
+ The `contract bundle` step generates `synapsor.runner.json` (with env-var
286
+ placeholders) inside the bundle directory, which is why `mcp serve` runs from
287
+ there. The server keeps stdout clean for MCP protocol frames and prints its
288
+ ready line on stderr.
289
+
283
290
  Your `synapsor.runner.json` supplies local wiring: database env var names,
284
291
  SQLite store path, MCP transport settings, and local debug options. The
285
292
  contract supplies the portable meaning: contexts, capabilities, evidence,
package/dist/runner.mjs CHANGED
@@ -3521,6 +3521,7 @@ async function serveStdio(options = {}) {
3521
3521
  const server = createSynapsorMcpServer(runtime, { toolNameStyle: options.toolNameStyle });
3522
3522
  const transport = new StdioServerTransport();
3523
3523
  await server.connect(transport);
3524
+ process.stderr.write("synapsor-runner MCP stdio server ready. Waiting for an MCP client on stdio; logs stay on stderr.\n");
3524
3525
  await new Promise((resolve) => {
3525
3526
  const previousOnClose = transport.onclose;
3526
3527
  const close = () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synapsor/runner",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "Stop giving AI agents execute_sql; expose reviewed Postgres/MySQL MCP actions with proposals, approval, writeback, and replay.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",