@solar_orb/agent_orb 0.1.5 → 0.1.6

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/README.md CHANGED
@@ -24,6 +24,7 @@ npx --yes ./packages/agent_orb setup --yes
24
24
  ```
25
25
 
26
26
  If `packages/agent_orb/releases` contains a matching native bundle, setup installs that bundle directly with SHA256 verification. Otherwise it falls back to source build. On Windows, setup also adds the runtime bin directory to the user PATH so a new terminal can run `agent_orb-codex`, `agent_orb-claude`, `agent_orb`, `codex-orb`, and `claude-orb` directly. The adapter launchers start the orb UI if needed before running the target CLI.
27
+ When the adapter CLI exits, the launchers stop the session-local `agent_orbd` and `agent-orb-ui` processes so the desktop orb does not linger.
27
28
 
28
29
  Upgrade or repair an existing install:
29
30
 
@@ -63,5 +64,5 @@ For Windows-host testing, prefer either:
63
64
 
64
65
  ```powershell
65
66
  cd $env:TEMP\agent-orb-npx
66
- npx --yes .\solar_orb-agent_orb-0.1.5.tgz --help
67
+ npx --yes .\solar_orb-agent_orb-0.1.6.tgz --help
67
68
  ```
package/dist/config.js CHANGED
@@ -14,7 +14,7 @@ export function writeConfig(configDir, selectedAdapters, runtime = runtimeConfig
14
14
  fs.mkdirSync(configDir, { recursive: true });
15
15
  const configPath = path.join(configDir, 'config.toml');
16
16
  const enabled = new Set(selectedAdapters.map((adapter) => adapter.name));
17
- const content = `# Generated by npx agent_orb\n\n[install]\nmethod = "npx"\nversion = "0.1.5"\n\n[adapters.codex]\nenabled = ${enabled.has('codex')}\nbinary = "codex"\nwrapper = "agent_orb-codex"\n\n[adapters.claude]\nenabled = ${enabled.has('claude')}\nbinary = "claude"\nwrapper = "agent_orb-claude"\n\n[daemon]\nhost = "${runtime.daemonHost}"\nport = ${runtime.daemonPort}\nauto_start = true\n\n[orb]\nposition = "top-right"\nsize = 36\nopacity = 0.88\nalways_on_top = true\nclick_through = false\n\n[colors]\ndisconnected = "#6B7280"\nidle = "#9CA3AF"\nstarting = "#60A5FA"\nactive = "#3B82F6"\nthinking_like = "#8B5CF6"\nwaiting_input = "#FBBF24"\ncompleted = "#22C55E"\nerror = "#EF4444"\nwarning = "#F97316"\n\n[behavior]\nsilent_threshold_seconds = 20\nstuck_threshold_seconds = 180\ncompleted_hold_seconds = 10\nerror_requires_click_to_clear = true\n\n[privacy]\ninclude_output_sample = false\nmax_sample_chars = 512\n`;
17
+ const content = `# Generated by npx agent_orb\n\n[install]\nmethod = "npx"\nversion = "0.1.6"\n\n[adapters.codex]\nenabled = ${enabled.has('codex')}\nbinary = "codex"\nwrapper = "agent_orb-codex"\n\n[adapters.claude]\nenabled = ${enabled.has('claude')}\nbinary = "claude"\nwrapper = "agent_orb-claude"\n\n[daemon]\nhost = "${runtime.daemonHost}"\nport = ${runtime.daemonPort}\nauto_start = true\n\n[orb]\nposition = "top-right"\nsize = 36\nopacity = 0.88\nalways_on_top = true\nclick_through = false\n\n[colors]\ndisconnected = "#6B7280"\nidle = "#9CA3AF"\nstarting = "#60A5FA"\nactive = "#3B82F6"\nthinking_like = "#8B5CF6"\nwaiting_input = "#FBBF24"\ncompleted = "#22C55E"\nerror = "#EF4444"\nwarning = "#F97316"\n\n[behavior]\nsilent_threshold_seconds = 20\nstuck_threshold_seconds = 180\ncompleted_hold_seconds = 10\nerror_requires_click_to_clear = true\n\n[privacy]\ninclude_output_sample = false\nmax_sample_chars = 512\n`;
18
18
  fs.writeFileSync(configPath, content, 'utf8');
19
19
  return configPath;
20
20
  }
package/dist/index.js CHANGED
@@ -34,7 +34,7 @@ async function main() {
34
34
  case 'version':
35
35
  case '--version':
36
36
  case '-v':
37
- console.log('agent_orb bootstrapper 0.1.5');
37
+ console.log('agent_orb bootstrapper 0.1.6');
38
38
  break;
39
39
  case 'help':
40
40
  case '--help':
package/dist/setup.js CHANGED
@@ -215,11 +215,11 @@ function uniqueStrings(values) {
215
215
  }
216
216
  function windowsAdapterShim(adapterName, adapterBinary) {
217
217
  const adapterCommand = escapeWindowsCmdSetValue(adapterBinary ?? adapterName);
218
- return `@echo off\r\nsetlocal\r\nset "AGENT_ORB_EXE=%~dp0agent_orb.exe"\r\nif not exist "%AGENT_ORB_EXE%" (\r\n for %%I in (agent_orb.exe) do set "AGENT_ORB_EXE=%%~$PATH:I"\r\n)\r\nif not exist "%AGENT_ORB_EXE%" (\r\n echo agent_orb runtime is missing: %~dp0agent_orb.exe 1>&2\r\n echo Run: npx --yes @solar_orb/agent_orb upgrade --yes 1>&2\r\n exit /b 1\r\n)\r\nset "ADAPTER_CMD=${adapterCommand}"\r\nset "ORB_UI=%~dp0agent-orb-ui.exe"\r\nif exist "%ORB_UI%" (\r\n tasklist /FI "IMAGENAME eq agent-orb-ui.exe" 2>NUL | find /I "agent-orb-ui.exe" >NUL\r\n if errorlevel 1 start "" "%ORB_UI%"\r\n)\r\n"%AGENT_ORB_EXE%" run -- "%ADAPTER_CMD%" %*\r\nexit /b %ERRORLEVEL%\r\n`;
218
+ return `@echo off\r\nsetlocal\r\nset "AGENT_ORB_EXE=%~dp0agent_orb.exe"\r\nif not exist "%AGENT_ORB_EXE%" (\r\n for %%I in (agent_orb.exe) do set "AGENT_ORB_EXE=%%~$PATH:I"\r\n)\r\nif not exist "%AGENT_ORB_EXE%" (\r\n echo agent_orb runtime is missing: %~dp0agent_orb.exe 1>&2\r\n echo Run: npx --yes @solar_orb/agent_orb upgrade --yes 1>&2\r\n exit /b 1\r\n)\r\nset "ADAPTER_CMD=${adapterCommand}"\r\nset "ORB_UI=%~dp0agent-orb-ui.exe"\r\nif exist "%ORB_UI%" (\r\n tasklist /FI "IMAGENAME eq agent-orb-ui.exe" 2>NUL | find /I "agent-orb-ui.exe" >NUL\r\n if errorlevel 1 start "" "%ORB_UI%"\r\n)\r\n"%AGENT_ORB_EXE%" run -- "%ADAPTER_CMD%" %*\r\nset "AGENT_ORB_EXIT=%ERRORLEVEL%"\r\ntaskkill /F /T /IM agent-orb-ui.exe >NUL 2>NUL\r\ntaskkill /F /T /IM agent_orbd.exe >NUL 2>NUL\r\nexit /b %AGENT_ORB_EXIT%\r\n`;
219
219
  }
220
220
  function unixAdapterShim(adapterName, adapterBinary) {
221
221
  const adapterCommand = shellSingleQuote(adapterBinary ?? adapterName);
222
- return `#!/usr/bin/env sh\nset -eu\nDIR=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)\nAGENT_ORB_EXE="$DIR/agent_orb"\nif [ ! -x "$AGENT_ORB_EXE" ]; then\n AGENT_ORB_EXE=$(command -v agent_orb || true)\nfi\nif [ -z "$AGENT_ORB_EXE" ] || [ ! -x "$AGENT_ORB_EXE" ]; then\n echo "agent_orb runtime is missing: $DIR/agent_orb" >&2\n echo "Run: npx --yes @solar_orb/agent_orb upgrade --yes" >&2\n exit 1\nfi\nADAPTER_CMD=${adapterCommand}\nORB_UI="$DIR/agent-orb-ui"\nif [ -x "$ORB_UI" ] && { [ -n "\${DISPLAY:-}" ] || [ -n "\${WAYLAND_DISPLAY:-}" ]; }; then\n running=0\n if command -v pgrep >/dev/null 2>&1 && pgrep -x agent-orb-ui >/dev/null 2>&1; then\n running=1\n fi\n if [ "$running" = "0" ]; then\n "$ORB_UI" >/dev/null 2>&1 &\n fi\nfi\nexec "$AGENT_ORB_EXE" run -- "$ADAPTER_CMD" "$@"\n`;
222
+ return `#!/usr/bin/env sh\nset -eu\nDIR=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)\nAGENT_ORB_EXE="$DIR/agent_orb"\nif [ ! -x "$AGENT_ORB_EXE" ]; then\n AGENT_ORB_EXE=$(command -v agent_orb || true)\nfi\nif [ -z "$AGENT_ORB_EXE" ] || [ ! -x "$AGENT_ORB_EXE" ]; then\n echo "agent_orb runtime is missing: $DIR/agent_orb" >&2\n echo "Run: npx --yes @solar_orb/agent_orb upgrade --yes" >&2\n exit 1\nfi\nADAPTER_CMD=${adapterCommand}\nORB_UI="$DIR/agent-orb-ui"\nif [ -x "$ORB_UI" ] && { [ -n "\${DISPLAY:-}" ] || [ -n "\${WAYLAND_DISPLAY:-}" ]; }; then\n running=0\n if command -v pgrep >/dev/null 2>&1 && pgrep -x agent-orb-ui >/dev/null 2>&1; then\n running=1\n fi\n if [ "$running" = "0" ]; then\n "$ORB_UI" >/dev/null 2>&1 &\n fi\nfi\nset +e\n"$AGENT_ORB_EXE" run -- "$ADAPTER_CMD" "$@"\nstatus=$?\nset -e\nif command -v pkill >/dev/null 2>&1; then\n pkill -x agent-orb-ui >/dev/null 2>&1 || true\n pkill -x agent_orbd >/dev/null 2>&1 || true\nfi\nexit "$status"\n`;
223
223
  }
224
224
  function escapeWindowsCmdSetValue(value) {
225
225
  return value.replace(/[\^&|<>()%!\"]/g, (char) => `^${char}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solar_orb/agent_orb",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "Agent Orb local bootstrapper",
5
5
  "type": "module",
6
6
  "config": {