@cyanautomation/kaseki-agent 1.62.0 → 1.62.1
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cyanautomation/kaseki-agent",
|
|
3
|
-
"version": "1.62.
|
|
3
|
+
"version": "1.62.1",
|
|
4
4
|
"description": "Admin/helper/doctor toolbox and local API client for Kaseki diagnostics, setup, and API-backed coding-agent task workflows",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -260,7 +260,7 @@ run_checkout_freshness_probe() {
|
|
|
260
260
|
"${probe_command[@]}" >/dev/null 2>"$stderr_file" || true
|
|
261
261
|
elif [ "$(id -u)" -eq 0 ]; then
|
|
262
262
|
# Phase 4: Parallel privilege tool testing
|
|
263
|
-
run_privilege_tools_parallel "$checkout_dir" "$
|
|
263
|
+
run_privilege_tools_parallel "$checkout_dir" "$stderr_file" "$resolved_user_name" "$resolved_group_name" "${probe_command[@]}" || true
|
|
264
264
|
else
|
|
265
265
|
"${probe_command[@]}" >/dev/null 2>"$stderr_file" || true
|
|
266
266
|
fi
|
|
@@ -347,10 +347,11 @@ write_host_state() {
|
|
|
347
347
|
# Runs privilege tools in parallel and returns success on first success
|
|
348
348
|
run_privilege_tools_parallel() {
|
|
349
349
|
local checkout_dir="$1"
|
|
350
|
-
local
|
|
351
|
-
local
|
|
352
|
-
local
|
|
353
|
-
|
|
350
|
+
local stderr_file="$2"
|
|
351
|
+
local resolved_user_name="$3"
|
|
352
|
+
local resolved_group_name="$4"
|
|
353
|
+
shift 4
|
|
354
|
+
local probe_command=("$@")
|
|
354
355
|
|
|
355
356
|
local temp_dir
|
|
356
357
|
temp_dir=$(mktemp -d)
|