toolroll 0.9.106 → 0.9.107

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.
@@ -34,10 +34,13 @@ export function welcomeStepLines(model, key) {
34
34
  const lines = [];
35
35
  if (key === "agent") {
36
36
  lines.push(`1. Agent · ${mark(model.agent.done)}`);
37
+ const optionalOnes = model.agent.agents.some(agent => agent.optional);
38
+ if (!model.agent.done && !model.agent.checking && !optionalOnes && model.agent.agents.length > 1)
39
+ lines.push(" You need one of these:");
37
40
  for (const agent of model.agent.agents) {
38
41
  const state = agent.state === "signed-in" ? "signed in" : agent.state === "checking" ? "checking" : agent.state === "not-installed" ? "not installed" : "not signed in";
39
- lines.push(` ${agent.name}: ${state}${agent.inUse ? " (in use)" : ""}`);
40
- if (agent.command !== null)
42
+ lines.push(` ${agent.name}${agent.optional ? " (optional)" : ""}: ${state}${agent.inUse ? " (in use)" : ""}`);
43
+ if (agent.command !== null && !(agent.optional && model.agent.done))
41
44
  lines.push(` To sign in, run: ${agent.command}`);
42
45
  }
43
46
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "toolroll",
3
- "version": "0.9.106",
3
+ "version": "0.9.107",
4
4
  "description": "Your agents build. You decide. A control plane for coding agents — Claude Code, Codex, Gemini: approve the exact scope once, get results back Ready with the diff, the passing check and screenshots. Runs on your machine.",
5
5
  "directories": {
6
6
  "doc": "docs"