trantor 0.17.51 → 0.17.52

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.
@@ -6,14 +6,14 @@
6
6
  },
7
7
  "metadata": {
8
8
  "description": "Trantor — the hub-world for AI agent crews: live message bus, presence, project Kanban/flow board + context-handoff for independent AI coding agents (Claude, Codex, Gemini, …)",
9
- "version": "0.17.51"
9
+ "version": "0.17.52"
10
10
  },
11
11
  "plugins": [
12
12
  {
13
13
  "name": "trantor",
14
14
  "source": "./",
15
15
  "description": "The hub-world for AI agent crews. Say \"fire up the crew\" and Claude becomes the architect: a plan-aware Advisor routes the work (solo / cheap inline calls / live crew of Codex, GLM, Kimi & DeepSeek in their own terminal windows), a Kanban/flow command center with a testing gate tracks it, and an economics brain (Scrooge) keeps the receipts. Includes the relay MCP, a SessionStart auto-discovery hook, and a PreCompact context-handoff so a fresh session can take over a full window instead of compacting.",
16
- "version": "0.17.51",
16
+ "version": "0.17.52",
17
17
  "author": {
18
18
  "name": "Sasha Bogojevic"
19
19
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "trantor",
3
- "version": "0.17.51",
3
+ "version": "0.17.52",
4
4
  "description": "Trantor — the hub-world for AI agent crews: live message bus, presence, project Kanban/flow board + crew orchestration for independent AI coding agents (Claude, Codex, Gemini, Kimi, DeepSeek)",
5
5
  "mcpServers": {
6
6
  "relay": {
@@ -79,8 +79,10 @@ const CLI = {
79
79
  next: `codex exec resume --last{M} --skip-git-repo-check --dangerously-bypass-approvals-and-sandbox "$(cat {P})" < /dev/null`, mflag: " -m " },
80
80
  gemini: { first: `gemini --yolo{M} -p "$(cat {P})"`,
81
81
  next: `gemini --yolo{M} -r latest -p "$(cat {P})"`, mflag: " -m " },
82
- kimi: { first: `kimi --print --yolo{M} -p "$(cat {P})" < /dev/null`,
83
- next: `kimi --print --yolo{M} -r {SID} -p "$(cat {P})" < /dev/null`, mflag: " --model ", sid: /To resume this session: kimi -r ([a-f0-9-]+)/ },
82
+ // kimi-code (successor to kimi-cli) has no --print (-p alone is non-interactive), REJECTS
83
+ // --yolo in prompt mode (prompt mode auto-approves tools), and emits session_-prefixed ids.
84
+ kimi: { first: `kimi{M} -p "$(cat {P})" < /dev/null`,
85
+ next: `kimi{M} -r {SID} -p "$(cat {P})" < /dev/null`, mflag: " --model ", sid: /To resume this session: kimi -r (\S+)/ },
84
86
  deepseek: { first: `opencode run{M} "$(cat {P})"`,
85
87
  next: `opencode run -c{M} "$(cat {P})"`, mflag: " -m ", env: join(homedir(), ".token-scrooge", ".env") },
86
88
  opencode: { first: `opencode run{M} "$(cat {P})"`,
@@ -164,8 +166,10 @@ function runTurn(prompt, isFirst, trigger = "kickoff") {
164
166
  // inherit stdio so the window shows the agent working live; also capture for sid-parsing.
165
167
  // Tee stderr to ERRF (still shown live in the window) so a failed turn can be classified.
166
168
  try { appendFileSync(ERRF, "", { flag: "w" }); } catch {}
169
+ // pipefail: without it the sid-capture `| tee` makes a FAILED turn exit 0 (tee's status),
170
+ // so the failure reporter never fires and a dead seat heartbeats green on the bus.
167
171
  const inner = cli.sid ? `${cmd} | tee /dev/stderr` : cmd;
168
- const r = spawnSync("/bin/bash", ["-c", `{ ${inner} ; } 2> >(tee -a ${ERRF} >&2)`], {
172
+ const r = spawnSync("/bin/bash", ["-c", `set -o pipefail; { ${inner} ; } 2> >(tee -a ${ERRF} >&2)`], {
169
173
  cwd: DIR, encoding: "utf8", stdio: cli.sid ? ["ignore", "pipe", "inherit"] : "inherit",
170
174
  env: { ...process.env, RELAY_URL: HUB, RELAY_AGENT: AGENT, RELAY_PROJECT: PROJ },
171
175
  maxBuffer: 16 * 1024 * 1024,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "trantor",
3
- "version": "0.17.51",
3
+ "version": "0.17.52",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "trantor": "bin/cli.mjs"