zora-agent 0.10.6 → 0.10.7

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/bin/zora-agent +17 -4
  2. package/package.json +1 -1
package/bin/zora-agent CHANGED
@@ -1,10 +1,23 @@
1
1
  #!/bin/sh
2
2
  # Strip Claude Code environment variables that cause the claude-agent-sdk to
3
3
  # enter CLI mode (CLAUDE_CODE_ENTRYPOINT=cli) or refuse to run (CLAUDECODE=1).
4
- # These must be unset before Node.js loads any SDK modules, so we exec a fresh
5
- # Node.js process with a clean environment rather than trying to delete them
6
- # inside the JavaScript handler (which runs after static imports fire).
4
+ # These must be unset before Node.js loads any SDK modules.
5
+ #
6
+ # Resolve the real location of this script so the path works whether called
7
+ # directly or through an npm-installed symlink.
8
+ SCRIPT="$0"
9
+ while [ -L "$SCRIPT" ]; do
10
+ DIR="$(cd "$(dirname "$SCRIPT")" && pwd)"
11
+ SCRIPT="$(readlink "$SCRIPT")"
12
+ case "$SCRIPT" in
13
+ /*) ;;
14
+ *) SCRIPT="$DIR/$SCRIPT" ;;
15
+ esac
16
+ done
17
+ SCRIPT_DIR="$(cd "$(dirname "$SCRIPT")" && pwd)"
18
+ ENTRY="$SCRIPT_DIR/../dist/cli/index.js"
19
+
7
20
  exec env -u CLAUDECODE \
8
21
  -u CLAUDE_CODE_ENTRYPOINT \
9
22
  -u CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS \
10
- node "$(dirname "$0")/../dist/cli/index.js" "$@"
23
+ node "$ENTRY" "$@"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zora-agent",
3
- "version": "0.10.6",
3
+ "version": "0.10.7",
4
4
  "description": "Long-running autonomous personal AI agent — multi-provider, capability-routed, memory-enriched",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",