orchestrating 0.3.0 → 0.3.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.
Files changed (2) hide show
  1. package/bin/orch +3 -2
  2. package/package.json +1 -1
package/bin/orch CHANGED
@@ -829,6 +829,7 @@ if (commandArgs.length === 0) {
829
829
  }
830
830
 
831
831
  // Resolve claude binary: prefer bundled @anthropic-ai/claude-code, fall back to system PATH
832
+ const commandName = commandArgs[0]; // original name for adapter lookup
832
833
  let command = commandArgs[0];
833
834
  let claudeBundled = false;
834
835
  if (command === "claude") {
@@ -952,7 +953,7 @@ function removePermission(tool) {
952
953
  }
953
954
 
954
955
  // --- Determine mode: structured adapter or PTY ---
955
- const adapter = ADAPTERS[command];
956
+ const adapter = ADAPTERS[commandName];
956
957
 
957
958
  // Check for python3 in PTY mode
958
959
  if (!adapter) {
@@ -1584,7 +1585,7 @@ async function connectWs() {
1584
1585
  token: authToken,
1585
1586
  sessionId,
1586
1587
  label: effectiveLabel,
1587
- command,
1588
+ command: commandName,
1588
1589
  args: spawnArgs,
1589
1590
  cwd: process.cwd(),
1590
1591
  hostname,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "orchestrating",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "Stream terminal sessions to the orchestrat.ing dashboard",
5
5
  "type": "module",
6
6
  "bin": {