@synkro-sh/cli 1.3.38 → 1.3.39
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 +5 -1
- package/dist/bootstrap.js +6 -6
- package/dist/bootstrap.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -41,13 +41,17 @@ synkro disconnect
|
|
|
41
41
|
npm uninstall -g @synkro-sh/cli
|
|
42
42
|
```
|
|
43
43
|
|
|
44
|
+
## How it works
|
|
45
|
+
|
|
46
|
+
Synkro installs Claude Code hooks that intercept every Bash command and file edit your agent proposes. Each one runs through a safety judge before it executes. On a violation, the agent is told what's wrong and how to fix it — so it self-corrects on retry instead of asking you to babysit.
|
|
47
|
+
|
|
44
48
|
## Requirements
|
|
45
49
|
|
|
46
50
|
Node 20+, [Claude Code](https://claude.com/claude-code), `jq`, `python3`.
|
|
47
51
|
|
|
48
52
|
## Help
|
|
49
53
|
|
|
50
|
-
[synkro.sh](https://synkro.sh) · [Issues](https://github.com/synkro-sh/cli/issues)
|
|
54
|
+
[synkro.sh](https://synkro.sh) · [Issues](https://github.com/synkro-sh/synkro-cli/issues)
|
|
51
55
|
|
|
52
56
|
## License
|
|
53
57
|
|
package/dist/bootstrap.js
CHANGED
|
@@ -1955,10 +1955,10 @@ Zero context bloat: 1 grade per process, system prompt via --system-prompt flag
|
|
|
1955
1955
|
Warm steady-state: ~2-3s per grade. Cold fallback: ~5-6s if pre-warm not ready.
|
|
1956
1956
|
|
|
1957
1957
|
Commands:
|
|
1958
|
-
start
|
|
1959
|
-
grade
|
|
1960
|
-
stop
|
|
1961
|
-
status
|
|
1958
|
+
start - bring up daemon if not running (fetches primer from server)
|
|
1959
|
+
grade - read prompt from stdin, write verdict text to stdout
|
|
1960
|
+
stop - terminate daemon
|
|
1961
|
+
status - print "running"/"stopped"
|
|
1962
1962
|
"""
|
|
1963
1963
|
|
|
1964
1964
|
import os, sys, json, socket, time, signal, fcntl, re, select
|
|
@@ -2434,7 +2434,7 @@ def main():
|
|
|
2434
2434
|
args = args[2:]
|
|
2435
2435
|
|
|
2436
2436
|
if len(args) < 1:
|
|
2437
|
-
print("usage: grader_daemon.py [--mode <name>] {start|grade|stop|status}
|
|
2437
|
+
print("usage: grader_daemon.py [--mode <name>] {start|grade|stop|status}", file=sys.stderr)
|
|
2438
2438
|
sys.exit(1)
|
|
2439
2439
|
cmd = args[0]
|
|
2440
2440
|
primer_path = args[1] if len(args) > 1 else None
|
|
@@ -3723,7 +3723,7 @@ function writeConfigEnv(opts) {
|
|
|
3723
3723
|
`SYNKRO_CREDENTIALS_PATH=${shellQuoteSingle(credsPath)}`,
|
|
3724
3724
|
`SYNKRO_TIER=${shellQuoteSingle(safeTier)}`,
|
|
3725
3725
|
`SYNKRO_INFERENCE=${shellQuoteSingle(safeInference)}`,
|
|
3726
|
-
`SYNKRO_VERSION=${shellQuoteSingle("1.3.
|
|
3726
|
+
`SYNKRO_VERSION=${shellQuoteSingle("1.3.39")}`
|
|
3727
3727
|
];
|
|
3728
3728
|
if (safeUserId) lines.push(`SYNKRO_USER_ID=${shellQuoteSingle(safeUserId)}`);
|
|
3729
3729
|
if (safeOrgId) lines.push(`SYNKRO_ORG_ID=${shellQuoteSingle(safeOrgId)}`);
|