trantor 0.18.46 → 0.18.47
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/.claude-plugin/plugin.json +1 -1
- package/bin/cli.mjs +1 -0
- package/hooks/githooks/pre-push +4 -3
- package/hooks/prompt-focus.mjs +3 -0
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "trantor",
|
|
3
|
-
"version": "0.18.
|
|
3
|
+
"version": "0.18.47",
|
|
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": {
|
package/bin/cli.mjs
CHANGED
|
@@ -30,6 +30,7 @@ switch (cmd) {
|
|
|
30
30
|
case "open": runCrew(); break;
|
|
31
31
|
case "herdr": spawn(process.execPath, [join(ROOT, "bin/herdr-agent.mjs"), ...args], { stdio: "inherit", cwd: process.cwd() }).on("exit", c => process.exit(c ?? 0)); break;
|
|
32
32
|
case "autonomy": spawn(process.execPath, [join(ROOT, "bin/autonomy.mjs"), ...args], { stdio: "inherit", cwd: process.cwd() }).on("exit", c => process.exit(c ?? 0)); break;
|
|
33
|
+
case "agent-settings": run("bin/agent-settings.mjs"); break;
|
|
33
34
|
case "adopt": spawn(process.execPath, [join(ROOT, "bin/adopt.mjs"), ...args], { stdio: "inherit", cwd: process.cwd() }).on("exit", c => process.exit(c ?? 0)); break;
|
|
34
35
|
case "integrate": spawn(process.execPath, [join(ROOT, "bin/integrate.mjs"), ...args], { stdio: "inherit", cwd: process.cwd() }).on("exit", c => process.exit(c ?? 0)); break;
|
|
35
36
|
case "down": runCrew(); break;
|
package/hooks/githooks/pre-push
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
#!/bin/bash
|
|
2
2
|
# #6446 (BUILD-DOCTRINE.md rule 2, "red blocks merge"): branch protection gates PR merges, but
|
|
3
3
|
# the orchestrator's merges are LOCAL pushes to main, which a required check cannot gate. This
|
|
4
|
-
# pre-push hook runs the fast subset (slop-gate +
|
|
5
|
-
#
|
|
4
|
+
# pre-push hook runs the fast subset (slop-gate + the hermetic sessionstart drill) and refuses
|
|
5
|
+
# the push on red. The full suite is `npm test` → test/run.mjs (#6447) and runs in CI on every
|
|
6
|
+
# push. Deliberate bypass: git push --no-verify.
|
|
6
7
|
set -u
|
|
7
8
|
ROOT="$(git rev-parse --show-toplevel)" || exit 1
|
|
8
9
|
cd "$ROOT" || exit 1
|
|
@@ -21,7 +22,7 @@ while read -r _ local_ref _ _; do
|
|
|
21
22
|
echo "trantor pre-push: slop-gate RED — push refused. Fix it, or bypass with --no-verify (CI still gates the PR)." >&2
|
|
22
23
|
exit 1
|
|
23
24
|
fi
|
|
24
|
-
if ! node test.mjs; then
|
|
25
|
+
if ! node test/hooks/test.mjs; then
|
|
25
26
|
echo "trantor pre-push: test.mjs RED — push refused. Fix it, or bypass with --no-verify (CI still gates the PR)." >&2
|
|
26
27
|
exit 1
|
|
27
28
|
fi
|
package/hooks/prompt-focus.mjs
CHANGED
|
@@ -69,6 +69,9 @@ try {
|
|
|
69
69
|
const trimmed = prompt.replace(/\s+/g, " ").trim();
|
|
70
70
|
// skip empties, tiny continuations, and pure acks — they're not a new focus
|
|
71
71
|
if (!trimmed || trimmed.length < 12 || ACK.test(trimmed)) { emitAndExit(); }
|
|
72
|
+
// The Accounts ask drill launches a real Claude session, so its scripted prompt traverses this
|
|
73
|
+
// hook just like operator work. It is harness traffic, though, and must never become a focus card.
|
|
74
|
+
if (/\bTRANTOR ASK DRILL\b/.test(trimmed)) { emitAndExit(); }
|
|
72
75
|
// HARNESS-INJECTED prompts are not a human's focus. Task notifications, hook system-reminders and
|
|
73
76
|
// protocol frames arrive through the same UserPromptSubmit channel, and carding one titled a board
|
|
74
77
|
// card "<task-notification> <task-id>bavlqfmzq</task-id>…" — pure noise a human cannot read.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "trantor",
|
|
3
|
-
"version": "0.18.
|
|
3
|
+
"version": "0.18.47",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"trantor": "bin/cli.mjs"
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"zod": "^4.4.3"
|
|
12
12
|
},
|
|
13
13
|
"scripts": {
|
|
14
|
-
"test": "node
|
|
14
|
+
"test": "node test/run.mjs"
|
|
15
15
|
},
|
|
16
16
|
"description": "The hub-world for AI agent crews — orchestrate Claude Code, Codex, GLM, Kimi, DeepSeek & any OpenRouter model as live crews with a plan-aware Advisor, a Kanban/flow command center, a testing gate, and an economics brain (Scrooge).",
|
|
17
17
|
"files": [
|