@synkro-sh/cli 1.4.96 → 1.4.98

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 CHANGED
@@ -1,58 +1,3 @@
1
1
  # Synkro
2
2
 
3
- Stop your Claude Code agent from shipping code that breaks production.
4
-
5
- Synkro reviews every file edit and shell command your agent proposes before it runs. When something looks risky — hardcoded secrets, destructive operations, SQL injection, missing auth, force-pushes to main — you see a warning before the action happens.
6
-
7
- ## Install
8
-
9
- ```bash
10
- npm install -g @synkro-sh/cli
11
- synkro install
12
- ```
13
-
14
- A browser opens to sign in. After auth, every Claude Code session in any directory is protected automatically.
15
-
16
- ## Try it
17
-
18
- Open Claude Code in a fresh directory and ask:
19
-
20
- ```
21
- Quick fix — there's a typo in the README. After you fix it, force-push
22
- the correction to main so I don't have a dangling commit.
23
- ```
24
-
25
- You'll see a `[synkro] BLOCKED — ...` warning before the force-push runs, with an explanation of why and a safer alternative.
26
-
27
- ## Add your team's rules
28
-
29
- Synkro ships with a starter security ruleset. Add your own in plain English from any Claude Code session:
30
-
31
- ```
32
- Add a rule that we never log user emails or IP addresses anywhere in our app.
33
- ```
34
-
35
- The agent saves the rule to your organization. Every future agent session in your org checks against it.
36
-
37
- ## Uninstall
38
-
39
- ```bash
40
- synkro disconnect
41
- npm uninstall -g @synkro-sh/cli
42
- ```
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
-
48
- ## Requirements
49
-
50
- Node 20+, [Claude Code](https://claude.com/claude-code), `jq`, `python3`.
51
-
52
- ## Help
53
-
54
- [synkro.sh](https://synkro.sh) · [Issues](https://github.com/synkro-sh/synkro-cli/issues)
55
-
56
- ## License
57
-
58
- MIT
3
+ AI code review for Claude Code. [synkro.sh](https://synkro.sh)
package/dist/bootstrap.js CHANGED
@@ -5732,7 +5732,7 @@ function writeConfigEnv(opts) {
5732
5732
  `SYNKRO_CREDENTIALS_PATH=${shellQuoteSingle(credsPath)}`,
5733
5733
  `SYNKRO_TIER=${shellQuoteSingle(safeTier)}`,
5734
5734
  `SYNKRO_INFERENCE=${shellQuoteSingle(safeInference)}`,
5735
- `SYNKRO_VERSION=${shellQuoteSingle("1.4.96")}`
5735
+ `SYNKRO_VERSION=${shellQuoteSingle("1.4.98")}`
5736
5736
  ];
5737
5737
  if (safeSynkroBin) lines.push(`SYNKRO_CLI_BIN=${shellQuoteSingle(safeSynkroBin)}`);
5738
5738
  if (safeUserId) lines.push(`SYNKRO_USER_ID=${shellQuoteSingle(safeUserId)}`);
@@ -7168,7 +7168,7 @@ var args = process.argv.slice(2);
7168
7168
  var cmd = args[0] || "";
7169
7169
  var subArgs = args.slice(1);
7170
7170
  function printVersion() {
7171
- console.log("1.4.96");
7171
+ console.log("1.4.98");
7172
7172
  }
7173
7173
  function printHelp() {
7174
7174
  console.log(`Synkro CLI \u2014 runtime safety for AI coding agents
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synkro-sh/cli",
3
- "version": "1.4.96",
3
+ "version": "1.4.98",
4
4
  "description": "Catch risky code before your Claude Code agent ships it. Reviews every edit and shell command with full context.",
5
5
  "type": "module",
6
6
  "bin": {