@dotobokuri/fleet-console 1.42.0 → 1.44.0

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.
@@ -43611,15 +43611,10 @@ function buildClaudeNativeArgs(context) {
43611
43611
  pluginRoot
43612
43612
  ]),
43613
43613
  ...context.mcpServers.length > 0 ? ["--mcp-config", buildClaudeMcpConfig(context.mcpServers)] : [],
43614
- ...buildDisallowedAgentToolArgs(context.disallowedAgentTools),
43615
43614
  ...buildCustomAgentsArgs(context.customAgents),
43616
43615
  "--dangerously-skip-permissions"
43617
43616
  ];
43618
43617
  }
43619
- function buildDisallowedAgentToolArgs(tools) {
43620
- if (tools === void 0 || tools.length === 0) return [];
43621
- return ["--disallowedTools", ...tools];
43622
- }
43623
43618
  function buildCustomAgentsArgs(agents) {
43624
43619
  if (agents === void 0 || Object.keys(agents).length === 0) return [];
43625
43620
  return ["--agents", JSON.stringify(agents)];
@@ -43746,29 +43741,20 @@ function requireCodexProfileName(context) {
43746
43741
  }
43747
43742
 
43748
43743
  // ../../packages/fleet-admiral/src/agent-cli/gateway-agents.ts
43749
- var GATEWAY_DISABLED_BUILTIN_AGENTS = [
43750
- "claude",
43751
- "Explore",
43752
- "general-purpose",
43753
- "Plan"
43754
- ];
43755
43744
  var GENERAL_PURPOSE_AGENT_PROMPT = [
43756
- "You are an agent for Claude Code, Anthropic's official CLI for Claude. Given the user's message, you should use the tools available to complete the task. Complete the task fully\u2014don't gold-plate, but don't leave it half-done.",
43757
- "When you complete the task, respond with a concise report covering what was done and any key findings \u2014 the caller will relay this to the user, so it only needs the essentials.",
43745
+ "You are a Fleet execution agent. Do the assigned work directly; do not re-delegate the whole assignment.",
43746
+ 'Treat host objective/scope/constraints/references as binding contracts. Do not silently re-plan, expand scope, or substitute a "cleaner" design \u2014 finish as instructed, then optionally suggest alternatives. On ambiguity or conflict, stop and report the blocker instead of guessing.',
43758
43747
  "",
43759
- "Your strengths:",
43760
- "- Searching for code, configurations, and patterns across large codebases",
43761
- "- Analyzing multiple files to understand system architecture",
43762
- "- Investigating complex questions that require exploring many files",
43763
- "- Performing multi-step research tasks",
43748
+ "Pick ONE mode from the task and stay in it:",
43749
+ "- recon: read-only facts; least-invasive evidence path; cite path:line; depth=medium unless the host asks for thorough",
43750
+ "- decide: read-only; one simplest viable recommendation; no implementation checklist",
43751
+ "- implement: edit within scope; verify what you changed; report compliance and any deviations",
43752
+ "- verify: hunt real defects with evidence+impact; PASS/FAIL; fix only if asked",
43764
43753
  "",
43765
- "Guidelines:",
43766
- "- For file searches: search broadly when you don't know where something lives. Use Read when you know the specific file path.",
43767
- "- For analysis: Start broad and narrow down. Use multiple search strategies if the first doesn't yield results.",
43768
- "- Be thorough: Check multiple locations, consider different naming conventions, look for related files.",
43769
- "- NEVER create files unless they're absolutely necessary for achieving your goal. ALWAYS prefer editing an existing file to creating a new one.",
43770
- "- NEVER proactively create documentation files (*.md) or README files. Only create documentation files if explicitly requested.",
43771
- "- You are already the dedicated agent for this task. Do the work directly \u2014 do not re-delegate your entire assignment to another single subagent."
43754
+ "Search only as needed for the chosen mode. Prefer known paths over broad sweeps. Do not default to exhaustive multi-strategy hunting.",
43755
+ "NEVER create files unless they are absolutely necessary. ALWAYS prefer editing an existing file to creating a new one.",
43756
+ "NEVER proactively create documentation files (*.md) or README files. Only create documentation files if explicitly requested.",
43757
+ "Final reply: concise essentials only \u2014 mode, what changed or found, key evidence (path:line when relevant), and blockers/deviations."
43772
43758
  ].join("\n");
43773
43759
  function buildGatewayCustomAgents(exposed) {
43774
43760
  const agents = {};
@@ -43796,12 +43782,6 @@ function buildGatewayCustomAgents(exposed) {
43796
43782
  }
43797
43783
  return agents;
43798
43784
  }
43799
- function buildGatewayDisallowedAgentTools(agentTypes = GATEWAY_DISABLED_BUILTIN_AGENTS) {
43800
- return agentTypes.flatMap((agentType) => [
43801
- `Task(${agentType})`,
43802
- `Agent(${agentType})`
43803
- ]);
43804
- }
43805
43785
  function toGatewayAgentName(modelId, effort) {
43806
43786
  const stripped = modelId.startsWith("claude-gateway--") ? modelId.slice("claude-gateway--".length) : modelId;
43807
43787
  const base = stripped.replace(/\[1m\]/g, "-1m").replace(/[^A-Za-z0-9]+/g, "-").replace(/^-+|-+$/g, "").toLowerCase();
@@ -44907,10 +44887,7 @@ async function injectAgentCliProfile(profile, options) {
44907
44887
  options.dedicatedMcpSession.releaseSessionToken(tokenLabel);
44908
44888
  });
44909
44889
  options.onCleanup?.(cleanup);
44910
- const gatewayAgents = profile.id === "claude-gateway" ? {
44911
- customAgents: buildGatewayCustomAgents(options.gatewayExposedModels ?? []),
44912
- disallowedAgentTools: buildGatewayDisallowedAgentTools()
44913
- } : {};
44890
+ const gatewayAgents = profile.id === "claude-gateway" ? { customAgents: buildGatewayCustomAgents(options.gatewayExposedModels ?? []) } : {};
44914
44891
  const context = {
44915
44892
  cliId: profile.id,
44916
44893
  mcpServers,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dotobokuri/fleet-console",
3
- "version": "1.42.0",
3
+ "version": "1.44.0",
4
4
  "description": "Fleet Console - standalone web surface for observing Fleet CLI workspaces, carrier jobs, live output streams, and terminals.",
5
5
  "repository": {
6
6
  "type": "git",