@cyanautomation/kaseki-agent 1.36.4 → 1.36.5

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.
Files changed (2) hide show
  1. package/kaseki-agent.sh +17 -0
  2. package/package.json +1 -1
package/kaseki-agent.sh CHANGED
@@ -1967,6 +1967,23 @@ resolve_github_secret_file() {
1967
1967
  printf '[debug-secrets] %s: ✗ Canonical path not found or not readable: %s\n' "$env_name" "$canonical_path" >&2
1968
1968
  fi
1969
1969
 
1970
+ # Try legacy path (backward compatibility with run-kaseki.sh mounts)
1971
+ local_legacy_path="/run/secrets/$default_name"
1972
+ if [ "$debug_mode" = "1" ]; then
1973
+ printf '[debug-secrets] %s: Checking legacy root path: %s\n' "$env_name" "$local_legacy_path" >&2
1974
+ fi
1975
+ if [ -r "$local_legacy_path" ]; then
1976
+ if [ "$debug_mode" = "1" ]; then
1977
+ printf '[debug-secrets] %s: ✓ Found at legacy path: %s\n' "$env_name" "$local_legacy_path" >&2
1978
+ fi
1979
+ printf '%s' "$local_legacy_path"
1980
+ return 0
1981
+ fi
1982
+
1983
+ if [ "$debug_mode" = "1" ]; then
1984
+ printf '[debug-secrets] %s: ✗ Legacy path not found or not readable: %s\n' "$env_name" "$local_legacy_path" >&2
1985
+ fi
1986
+
1970
1987
  # Try local dev fallback if allowed
1971
1988
  if [ "$KASEKI_ALLOW_LOCAL_DEV_SECRET_FALLBACK" = "1" ]; then
1972
1989
  local_dev_path="$HOME/.kaseki/secrets/$default_name"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cyanautomation/kaseki-agent",
3
- "version": "1.36.4",
3
+ "version": "1.36.5",
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",