@synkro-sh/cli 1.4.33 → 1.4.35
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/dist/bootstrap.js +7 -9
- package/dist/bootstrap.js.map +1 -1
- package/package.json +1 -1
package/dist/bootstrap.js
CHANGED
|
@@ -3251,18 +3251,16 @@ tmux kill-session -t "$SESSION" 2>/dev/null || true
|
|
|
3251
3251
|
tmux new-session -d -s "$SESSION" \\
|
|
3252
3252
|
"claude --dangerously-load-development-channels server:synkro-local --dangerously-skip-permissions --setting-sources project,local --model claude-sonnet-4-6 2>>$LOG; echo 'claude exited with code '$'?' >> $LOG"
|
|
3253
3253
|
|
|
3254
|
-
# Claude's --dangerously-
|
|
3255
|
-
# prompt
|
|
3256
|
-
#
|
|
3257
|
-
# every launch. Auto-accept it by sending the right key sequence.
|
|
3254
|
+
# Claude's --dangerously-load-development-channels shows a confirmation
|
|
3255
|
+
# prompt: option 1 = "I am using this for local development" (accept),
|
|
3256
|
+
# option 2 = "Exit". Auto-accept by sending '1' + Enter.
|
|
3258
3257
|
sleep 3
|
|
3259
3258
|
if tmux has-session -t "$SESSION" 2>/dev/null; then
|
|
3260
|
-
|
|
3261
|
-
tmux send-keys -t "$SESSION" '2' 2>/dev/null || true
|
|
3259
|
+
tmux send-keys -t "$SESSION" '1' 2>/dev/null || true
|
|
3262
3260
|
sleep 1
|
|
3263
3261
|
tmux send-keys -t "$SESSION" Enter 2>/dev/null || true
|
|
3264
3262
|
sleep 1
|
|
3265
|
-
# Additional Enter for workspace trust
|
|
3263
|
+
# Additional Enter for any follow-up prompts (workspace trust, MCP consent)
|
|
3266
3264
|
tmux send-keys -t "$SESSION" Enter 2>/dev/null || true
|
|
3267
3265
|
log "Sent auto-accept keys to claude session."
|
|
3268
3266
|
fi
|
|
@@ -3421,7 +3419,7 @@ function probePort(host, port, timeoutMs = 500) {
|
|
|
3421
3419
|
});
|
|
3422
3420
|
}
|
|
3423
3421
|
function tmuxDismissPrompts() {
|
|
3424
|
-
spawnSync2("tmux", ["send-keys", "-t", TMUX_SESSION, "
|
|
3422
|
+
spawnSync2("tmux", ["send-keys", "-t", TMUX_SESSION, "1"], { encoding: "utf-8" });
|
|
3425
3423
|
spawnSync2("tmux", ["send-keys", "-t", TMUX_SESSION, "Enter"], { encoding: "utf-8" });
|
|
3426
3424
|
}
|
|
3427
3425
|
async function waitForChannelReady(port, timeoutMs = 6e4, host = "127.0.0.1") {
|
|
@@ -3909,7 +3907,7 @@ function writeConfigEnv(opts) {
|
|
|
3909
3907
|
`SYNKRO_CREDENTIALS_PATH=${shellQuoteSingle(credsPath)}`,
|
|
3910
3908
|
`SYNKRO_TIER=${shellQuoteSingle(safeTier)}`,
|
|
3911
3909
|
`SYNKRO_INFERENCE=${shellQuoteSingle(safeInference)}`,
|
|
3912
|
-
`SYNKRO_VERSION=${shellQuoteSingle("1.4.
|
|
3910
|
+
`SYNKRO_VERSION=${shellQuoteSingle("1.4.35")}`
|
|
3913
3911
|
];
|
|
3914
3912
|
if (safeSynkroBin) lines.push(`SYNKRO_CLI_BIN=${shellQuoteSingle(safeSynkroBin)}`);
|
|
3915
3913
|
if (safeUserId) lines.push(`SYNKRO_USER_ID=${shellQuoteSingle(safeUserId)}`);
|