syntaur 0.66.1 → 0.68.0
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/dist/dashboard/server.js +568 -60
- package/dist/dashboard/server.js.map +1 -1
- package/dist/index.js +1267 -699
- package/dist/index.js.map +1 -1
- package/dist/launch/index.d.ts +18 -0
- package/dist/launch/index.js +111 -7
- package/dist/launch/index.js.map +1 -1
- package/package.json +1 -1
- package/platforms/claude-code/.claude-plugin/plugin.json +1 -1
- package/platforms/claude-code/hooks/hooks.json +1 -1
- package/platforms/claude-code/hooks/session-cleanup.sh +21 -0
- package/platforms/codex/.codex-plugin/plugin.json +1 -1
- package/platforms/codex/hooks.json +1 -1
- package/platforms/codex/scripts/session-cleanup.sh +13 -0
- package/platforms/hermes/plugins/syntaur/__pycache__/__init__.cpython-312.pyc +0 -0
- package/platforms/hermes/plugins/syntaur/__pycache__/boundary.cpython-312.pyc +0 -0
package/package.json
CHANGED
|
@@ -30,4 +30,25 @@ syntaur_bounded_stop() {
|
|
|
30
30
|
}
|
|
31
31
|
syntaur_bounded_stop || true
|
|
32
32
|
|
|
33
|
+
# Keep derived status fresh on session end so an assignment doesn't sit stale
|
|
34
|
+
# after the agent walks away. Best-effort, bounded (~3s, no `timeout` on macOS),
|
|
35
|
+
# and migration-gated (`--if-migrated`) so it can't re-derive pre-migration
|
|
36
|
+
# assignments during rollout. Resolves the assignment from the ending session's
|
|
37
|
+
# cwd `.syntaur/context.json`; no-ops silently when none is present.
|
|
38
|
+
HOOK_CWD=$(printf '%s' "$INPUT" | jq -r '.cwd // empty' 2>/dev/null)
|
|
39
|
+
syntaur_bounded_recompute() {
|
|
40
|
+
local cpid kpid rc
|
|
41
|
+
[ -n "$HOOK_CWD" ] && [ -f "$HOOK_CWD/.syntaur/context.json" ] || return 0
|
|
42
|
+
( cd "$HOOK_CWD" 2>/dev/null && syntaur recompute --if-migrated >/dev/null 2>&1 ) &
|
|
43
|
+
cpid=$!
|
|
44
|
+
( sleep 3; kill -KILL "$cpid" 2>/dev/null ) >/dev/null 2>&1 &
|
|
45
|
+
kpid=$!
|
|
46
|
+
wait "$cpid" 2>/dev/null
|
|
47
|
+
rc=$?
|
|
48
|
+
kill -KILL "$kpid" 2>/dev/null
|
|
49
|
+
wait "$kpid" 2>/dev/null
|
|
50
|
+
return "$rc"
|
|
51
|
+
}
|
|
52
|
+
syntaur_bounded_recompute || true
|
|
53
|
+
|
|
33
54
|
exit 0
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "syntaur",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.68.0",
|
|
4
4
|
"description": "Run Syntaur project and assignment workflows from Codex, including claiming work, planning, completing handoffs, session/server tracking, save-session-summary continuity, and write-boundary enforcement.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Brennen"
|
|
@@ -31,6 +31,19 @@ if [ ! -f "$CONTEXT_FILE" ]; then
|
|
|
31
31
|
exit 0
|
|
32
32
|
fi
|
|
33
33
|
|
|
34
|
+
# Keep derived status fresh on session end — CLI-direct (NO dashboard
|
|
35
|
+
# dependency, unlike the session-stop PATCH below), migration-gated, and bounded
|
|
36
|
+
# (~3s; no `timeout` on stock macOS). Best-effort; never blocks teardown.
|
|
37
|
+
if command -v syntaur >/dev/null 2>&1; then
|
|
38
|
+
( cd "$CWD" 2>/dev/null && syntaur recompute --if-migrated >/dev/null 2>&1 ) &
|
|
39
|
+
syntaur_rc_pid=$!
|
|
40
|
+
( sleep 3; kill -KILL "$syntaur_rc_pid" 2>/dev/null ) >/dev/null 2>&1 &
|
|
41
|
+
syntaur_rc_killer=$!
|
|
42
|
+
wait "$syntaur_rc_pid" 2>/dev/null || true
|
|
43
|
+
kill -KILL "$syntaur_rc_killer" 2>/dev/null
|
|
44
|
+
wait "$syntaur_rc_killer" 2>/dev/null || true
|
|
45
|
+
fi
|
|
46
|
+
|
|
34
47
|
RUNTIME_DIR="${SYNTAUR_RUNTIME_SESSIONS_DIR:-$HOME/.syntaur/runtime/sessions}"
|
|
35
48
|
|
|
36
49
|
# Walk the ancestor-pid chain reading runtime markers. Returns the nearest
|
|
Binary file
|
|
Binary file
|