nolo-cli 0.257.0-alpha.1 → 0.258.0-alpha.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.
@@ -527,15 +527,15 @@ function getSystemInternalCommandEntries(renderHelpText2) {
527
527
  return runWhoamiCommand({ args, env: ctx.env });
528
528
  }),
529
529
  createEntrypointEnvCommand(["connect"], "Hold a connector websocket for this machine", async (args, deps) => {
530
- const { runMachineConnectCommand } = await import("./machineCommands-ECFQMLHA.js");
530
+ const { runMachineConnectCommand } = await import("./machineCommands-4WKJ3TLO.js");
531
531
  return runMachineConnectCommand(args, deps);
532
532
  }),
533
533
  createDaemonShortcutCommand(["daemon"], "Run the connector daemon shortcut", async (args, deps) => {
534
- const { runMachineConnectCommand } = await import("./machineCommands-ECFQMLHA.js");
534
+ const { runMachineConnectCommand } = await import("./machineCommands-4WKJ3TLO.js");
535
535
  return runMachineConnectCommand(args, deps);
536
536
  }),
537
537
  createEnvCommand(["machine", "status"], "List machines registered to the current profile", async (args, deps) => {
538
- const { runMachineStatusCommand } = await import("./machineCommands-ECFQMLHA.js");
538
+ const { runMachineStatusCommand } = await import("./machineCommands-4WKJ3TLO.js");
539
539
  return runMachineStatusCommand(args, deps);
540
540
  }),
541
541
  createEnvCommand(["doctor", "runtime"], "Diagnose local-first agent runtime selection", async (args, deps) => {
package/index.js CHANGED
@@ -169,7 +169,7 @@ async function main() {
169
169
  await superviseCliAuthorityBrokerProcess(args.slice(1));
170
170
  return;
171
171
  }
172
- const { createCliRuntimeContext, looksLikeDaemonShortcut, renderHelpText, resolveCommand, runResolvedCommand } = await import("./commandRegistry-FZMQYVNT.js");
172
+ const { createCliRuntimeContext, looksLikeDaemonShortcut, renderHelpText, resolveCommand, runResolvedCommand } = await import("./commandRegistry-QKOJ5FIC.js");
173
173
  const { buildCliRuntimeEnv, loadProfileConfig } = await import("./profileConfig-KOWK4HOG.js");
174
174
  const { resolveTuiLaunchMode } = await import("./runtimeModeArgs-X7DL7PUN.js");
175
175
  const runtimeEnv = {
@@ -1231,6 +1231,13 @@ ${text}
1231
1231
 
1232
1232
  // packages/cli/machineCommands.ts
1233
1233
  async function handleMachineWsMessageDemux(message, send, handlers, runConnectorMessage) {
1234
+ if (handlers.attachedExecution) {
1235
+ try {
1236
+ const handled = await handlers.attachedExecution.handleWsMessage(message, send);
1237
+ if (handled) return;
1238
+ } catch {
1239
+ }
1240
+ }
1234
1241
  try {
1235
1242
  const toolResult = await handlers.toolInvoke.handleToolInvokeMessage(message, send);
1236
1243
  if (toolResult !== null) return;
@@ -1496,7 +1503,10 @@ async function runMachineConnectCommand(args, deps = {}) {
1496
1503
  onMessage: (message, send) => handleMachineWsMessageDemux(
1497
1504
  message,
1498
1505
  send,
1499
- { toolInvoke: toolInvokeHandlers },
1506
+ {
1507
+ toolInvoke: toolInvokeHandlers,
1508
+ ...deps.attachedExecution ? { attachedExecution: deps.attachedExecution } : {}
1509
+ },
1500
1510
  () => handleConnectorRunMessage(
1501
1511
  message,
1502
1512
  send,
@@ -1546,6 +1556,7 @@ async function runMachineConnectCommand(args, deps = {}) {
1546
1556
  export {
1547
1557
  __resetMalformedMachineToolGrantsWarningsForTests,
1548
1558
  formatMachineStatus,
1559
+ handleMachineWsMessageDemux,
1549
1560
  postMachineHeartbeat,
1550
1561
  readMachineToolGrants,
1551
1562
  resolveConnectorHeartbeatTimeoutMs,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nolo-cli",
3
- "version": "0.257.0-alpha.1",
3
+ "version": "0.258.0-alpha.1",
4
4
  "type": "module",
5
5
  "description": "Agent-first terminal workspace for Nolo",
6
6
  "bin": {