@sandagent/runner-cli 0.9.18 → 0.9.19-beta.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/dist/bundle.mjs +6 -5
- package/package.json +3 -3
package/dist/bundle.mjs
CHANGED
|
@@ -1301,11 +1301,12 @@ function redactSecrets(text, secrets) {
|
|
|
1301
1301
|
if (Object.keys(secrets).length === 0)
|
|
1302
1302
|
return text;
|
|
1303
1303
|
let result = text;
|
|
1304
|
-
for (const
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1304
|
+
for (const value of Object.values(secrets)) {
|
|
1305
|
+
if (!value)
|
|
1306
|
+
continue;
|
|
1307
|
+
const escaped = value.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
1308
|
+
const valuePattern = new RegExp(escaped, "g");
|
|
1309
|
+
result = result.replace(valuePattern, "[REDACTED]");
|
|
1309
1310
|
}
|
|
1310
1311
|
return result;
|
|
1311
1312
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sandagent/runner-cli",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.19-beta.0",
|
|
4
4
|
"description": "SandAgent Runner CLI - Like gemini-cli or claude-code, runs in your local terminal with AI SDK UI streaming",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -55,10 +55,10 @@
|
|
|
55
55
|
"vitest": "^1.6.1",
|
|
56
56
|
"@sandagent/runner-core": "0.1.1-beta.0",
|
|
57
57
|
"@sandagent/runner-claude": "0.6.2",
|
|
58
|
+
"@sandagent/runner-codex": "0.6.2",
|
|
58
59
|
"@sandagent/runner-gemini": "0.6.2",
|
|
59
|
-
"@sandagent/runner-opencode": "0.6.2",
|
|
60
60
|
"@sandagent/runner-pi": "0.6.4-beta.0",
|
|
61
|
-
"@sandagent/runner-
|
|
61
|
+
"@sandagent/runner-opencode": "0.6.2"
|
|
62
62
|
},
|
|
63
63
|
"scripts": {
|
|
64
64
|
"build": "tsc && pnpm bundle",
|