@nodii/dev 0.6.175 → 0.6.177

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/dist/starting.js CHANGED
@@ -14,6 +14,7 @@ import { hostBootedAt } from "./host.js";
14
14
  import { cachedGet, laneReadCache } from "./read-cache.js";
15
15
  import { clearCoordinatorMarker, coordinatorMarkerPath } from "./coordinator-items.js";
16
16
  import { accountFlags, listAccounts, profilePath, registerAccount, reportUsage, usageLine } from "./accounts.js";
17
+ import { subagentBudgetLine } from "./lane-supervisor.js";
17
18
 
18
19
  const execFile = promisify(execFileCallback);
19
20
  const via = { via: "nodii-dev" };
@@ -693,7 +694,8 @@ export async function launchLaneCommand(key, flags, {
693
694
  profileHome: body.profile,
694
695
  cwd: repositories[0].worktree,
695
696
  addDirs: repositories.slice(1).map(({ worktree }) => worktree),
696
- prompt: payload.data.brief,
697
+ // NODII-DEV-CLI-191: the brief names the subagent budget.
698
+ prompt: [payload.data.brief, subagentBudgetLine(payload.data.lane?.subagentQuota ?? body.subagentQuota)].filter(Boolean).join("\n\n"),
697
699
  runId: payload.data.run.id,
698
700
  });
699
701
  } catch (error) {
@@ -978,8 +980,8 @@ export async function currentMarker(run = execFile, load = loadJson, env = proce
978
980
  return { ...marker, runId };
979
981
  }
980
982
 
981
- // An amendment, a leeway, a question and its answer or deferral change no brief by themselves.
982
- const GUARD_EXEMPT_LANE_ACTIONS = new Set(["amend", "leeway", "ask", "asks", "answer", "defer"]);
983
+ // An amendment, a leeway, a question and its answer or deferral, and a lane message change no brief by themselves.
984
+ const GUARD_EXEMPT_LANE_ACTIONS = new Set(["amend", "leeway", "ask", "asks", "answer", "defer", "message", "inbox"]);
983
985
 
984
986
  /**
985
987
  * MW1-12.9: what a lane hook tells a long-running session about an amendment
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nodii/dev",
3
- "version": "0.6.175",
3
+ "version": "0.6.177",
4
4
  "description": "Agent CLI for Nodii Dev, reached through the platform edge",
5
5
  "type": "module",
6
6
  "bin": {