@synaplink/orqlaude 0.3.0 → 0.3.2

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.
@@ -1,13 +1,17 @@
1
1
  import { z } from "zod";
2
+ import { resolveStateDir } from "../lib/state_dir.js";
2
3
  export function registerPing(server) {
3
- server.tool("ping", "Health check — returns pong with server version and the cwd it was launched in. Use this once after installing orqlaude to confirm the MCP wiring works.", {
4
+ server.tool("ping", "Health check — returns pong with server version, cwd, and the resolved state directory. Use this once after installing orqlaude to confirm the MCP wiring works and to verify state is going where you expect.", {
4
5
  echo: z.string().optional().describe("Optional string echoed back in the response"),
5
6
  }, async ({ echo }) => {
7
+ const stateRes = resolveStateDir();
6
8
  const payload = {
7
9
  ok: true,
8
10
  server: "orqlaude",
9
- version: "0.1.0",
11
+ version: "0.3.2",
10
12
  cwd: process.cwd(),
13
+ state_dir: stateRes.path,
14
+ state_dir_source: stateRes.source,
11
15
  node: process.version,
12
16
  pid: process.pid,
13
17
  echo: echo ?? null,
@@ -1 +1 @@
1
- {"version":3,"file":"ping.js","sourceRoot":"","sources":["../../src/tools/ping.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,UAAU,YAAY,CAAC,MAAiB;IAC5C,MAAM,CAAC,IAAI,CACT,MAAM,EACN,0JAA0J,EAC1J;QACE,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,6CAA6C,CAAC;KACpF,EACD,KAAK,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE;QACjB,MAAM,OAAO,GAAG;YACd,EAAE,EAAE,IAAI;YACR,MAAM,EAAE,UAAU;YAClB,OAAO,EAAE,OAAO;YAChB,GAAG,EAAE,OAAO,CAAC,GAAG,EAAE;YAClB,IAAI,EAAE,OAAO,CAAC,OAAO;YACrB,GAAG,EAAE,OAAO,CAAC,GAAG;YAChB,IA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OAAO,EAAE,IAAI,EAAE,CAAC,CAAC;iBACvC;aACF;SACF,CAAC;IACJ,CAAC,CACF,CAAC;AACJ,CAAC"}
package/package.json CHANGED
@@ -1,15 +1,17 @@
1
1
  {
2
2
  "name": "@synaplink/orqlaude",
3
- "version": "0.3.0",
3
+ "version": "0.3.2",
4
4
  "description": "Multi-agent orchestrator for Claude Code. One primary session decomposes a complex task, gets a single budget approval, then dispatches N parallel agents via the Desktop app's native spawn_task. Tracks cost/status via JSONL tails; brokers messages between agents; detects hallucination; manages PRs.",
5
5
  "type": "module",
6
6
  "bin": {
7
- "orqlaude": "./dist/cli.js"
7
+ "orqlaude": "./dist/cli.js",
8
+ "orqlaude-mcp": "./dist/server.js"
8
9
  },
9
10
  "main": "./dist/server.js",
10
11
  "files": [
11
12
  "dist",
12
13
  "README.md",
14
+ "LICENSE",
13
15
  ".mcp.json.template"
14
16
  ],
15
17
  "scripts": {
@@ -17,7 +19,7 @@
17
19
  "dev": "tsc --watch",
18
20
  "start": "node dist/server.js",
19
21
  "typecheck": "tsc --noEmit",
20
- "test": "tsc && chmod +x dist/cli.js dist/server.js && node --test dist/__tests__/*.test.js",
22
+ "test": "npm run build && node --test dist/__tests__/*.test.js",
21
23
  "prepublishOnly": "npm run build"
22
24
  },
23
25
  "keywords": [