aglio-worker 0.64.0 → 0.70.2

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/agent.js +281 -31
  2. package/package.json +1 -1
package/agent.js CHANGED
@@ -50186,7 +50186,7 @@ var RUN_KINDS = ["planning", "build", "consult", "review", "workspace_consult"];
50186
50186
  var AGENT_DRIVERS = ["pi", "claude", "codex", "gemini", "cursor", "opencode"];
50187
50187
  var QUESTION_TYPES = ["single", "multi", "text"];
50188
50188
  var VERIFICATION_KINDS = ["test_output", "screenshot", "recording", "not_applicable"];
50189
- var ARTIFACT_KINDS = ["image", "log", "file", "recording"];
50189
+ var ARTIFACT_KINDS = ["image", "log", "file", "recording", "canvas"];
50190
50190
  var WORK_LOG_TYPES = [
50191
50191
  "summary",
50192
50192
  "decision",
@@ -70430,10 +70430,35 @@ function poolBootCapCheck(input2) {
70430
70430
  }
70431
70431
 
70432
70432
  // ../../packages/shared/src/build-speed.ts
70433
- var BUILD_SPEEDS = ["ultra_fast", "fast", "standard", "detailed"];
70433
+ var BUILD_SPEEDS = ["yolo", "ultra_fast", "fast", "standard", "detailed"];
70434
70434
  var buildSpeedSchema = external_exports.enum(BUILD_SPEEDS);
70435
70435
  var DEFAULT_BUILD_SPEED = "standard";
70436
70436
 
70437
+ // ../../packages/shared/src/verbosity.ts
70438
+ var VERBOSITIES = ["caveman", "concise", "standard", "verbose"];
70439
+ var verbositySchema = external_exports.enum(VERBOSITIES);
70440
+ var DEFAULT_VERBOSITY = "standard";
70441
+
70442
+ // ../../packages/shared/src/thinking.ts
70443
+ var THINKING_LEVELS = ["off", "minimal", "low", "medium", "high", "xhigh", "max"];
70444
+ var thinkingLevelSchema = external_exports.enum(THINKING_LEVELS);
70445
+ var DEFAULT_THINKING_LEVEL = "medium";
70446
+
70447
+ // ../../packages/shared/src/agent-roles.ts
70448
+ var PROJECT_AGENT_ROLES = ["build", "planning"];
70449
+ var projectAgentRoleSchema = external_exports.enum(PROJECT_AGENT_ROLES);
70450
+ var WORKSPACE_AGENT_ROLE = "workspace_consultant";
70451
+ var AGENT_ROLES = [...PROJECT_AGENT_ROLES, WORKSPACE_AGENT_ROLE];
70452
+ var agentRoleSchema = external_exports.enum(AGENT_ROLES);
70453
+ var agentRoleDialsSchema = external_exports.object({
70454
+ thinking: thinkingLevelSchema.optional(),
70455
+ verbosity: verbositySchema.optional()
70456
+ });
70457
+ var agentRoleDialsMapSchema = external_exports.object({
70458
+ build: agentRoleDialsSchema.optional(),
70459
+ planning: agentRoleDialsSchema.optional()
70460
+ });
70461
+
70437
70462
  // ../../packages/shared/src/auto-mode.ts
70438
70463
  var AUTO_MODE_PAUSE_REASONS = ["manual", "failures", "blocker", "costCap"];
70439
70464
  var autoModePauseReasonSchema = external_exports.enum(AUTO_MODE_PAUSE_REASONS);
@@ -70535,6 +70560,12 @@ var cardRoutingOverrideSchema = external_exports.object({
70535
70560
  requiredWorkerLabels: routingLabelsSchema.nullable().optional(),
70536
70561
  planningRequiredWorkerLabels: routingLabelsSchema.nullable().optional()
70537
70562
  });
70563
+ var cardPlanningOverridesSchema = external_exports.object({
70564
+ planningBuildSpeed: buildSpeedSchema.nullable(),
70565
+ planningVerbosity: verbositySchema.nullable(),
70566
+ planningRunnerTarget: external_exports.enum(JOB_TARGETS).nullable(),
70567
+ planningPoolSize: external_exports.enum(POOL_SIZES).nullable()
70568
+ });
70538
70569
  var projectSettingsSchema = external_exports.object({
70539
70570
  /** Demo projects are sandbox rows: the worker never claims them and no model runs. */
70540
70571
  demoMode: external_exports.boolean().default(false),
@@ -70572,6 +70603,15 @@ var projectSettingsSchema = external_exports.object({
70572
70603
  requireVerificationEvidence: external_exports.boolean().nullable().default(true),
70573
70604
  /** Build verification budget. Defaults to standard. */
70574
70605
  buildSpeed: buildSpeedSchema.default(DEFAULT_BUILD_SPEED),
70606
+ /** Reasoning budget for the agent CLI. Defaults to medium. */
70607
+ thinking: thinkingLevelSchema.default(DEFAULT_THINKING_LEVEL),
70608
+ /** How much the agent says in its replies. Standard adds no prompt text. */
70609
+ verbosity: verbositySchema.default(DEFAULT_VERBOSITY),
70610
+ /**
70611
+ * Per-role thinking and verbosity overrides. A missing role inherits the
70612
+ * project `thinking` and `verbosity` dials, so older settings keep working.
70613
+ */
70614
+ roles: agentRoleDialsMapSchema.default({}),
70575
70615
  /** Slack incoming webhook for question, failure and PR-ready alerts. Null disables Slack. */
70576
70616
  slackWebhookUrl: external_exports.string().trim().max(500).refine(isSlackWebhookUrl, "Slack webhook must be an https URL").nullable().default(null),
70577
70617
  /** Rendered column strip: built-in columns and custom list ids. */
@@ -70584,6 +70624,8 @@ var projectSettingsSchema = external_exports.object({
70584
70624
  planningRequiredWorkerLabels: routingLabelsSchema.default([]),
70585
70625
  /** Post the agent's final build message as a card comment. */
70586
70626
  postBuildReply: external_exports.boolean().default(true),
70627
+ /** Require screenshot evidence, or an explicit N/A reason, before a pull request opens. */
70628
+ requireScreenshots: external_exports.boolean().default(false),
70587
70629
  /** Start a fix run when a human comments on or requests changes in a linked PR. */
70588
70630
  followPrComments: external_exports.boolean().default(true),
70589
70631
  /** Start a fix run when checks fail on the linked PR head. */
@@ -70626,7 +70668,11 @@ var defaultProjectSettings = {
70626
70668
  inAppNotifications: { ...DEFAULT_IN_APP_NOTIFICATION_TYPES },
70627
70669
  requireVerificationEvidence: true,
70628
70670
  buildSpeed: DEFAULT_BUILD_SPEED,
70671
+ thinking: DEFAULT_THINKING_LEVEL,
70672
+ verbosity: DEFAULT_VERBOSITY,
70673
+ roles: {},
70629
70674
  postBuildReply: true,
70675
+ requireScreenshots: false,
70630
70676
  followPrComments: true,
70631
70677
  followPrChecks: true,
70632
70678
  maxCheckFixAttempts: 3,
@@ -70803,6 +70849,29 @@ function isHostLocalSigningArtifact(name2) {
70803
70849
  if (/\.keychain(?:-db)?$/.test(base)) return true;
70804
70850
  return HOST_LOCAL_SIGNING_EXTENSIONS.some((extension) => base.endsWith(extension));
70805
70851
  }
70852
+ var REMOTE_CONSULT_READ_TOOLS = [
70853
+ "project_list",
70854
+ "board_overview",
70855
+ "card_list",
70856
+ "card_get",
70857
+ "card_search",
70858
+ "project_history",
70859
+ "card_history"
70860
+ ];
70861
+ var REMOTE_CONSULT_TOOLS = [
70862
+ ...REMOTE_CONSULT_READ_TOOLS,
70863
+ "card_create",
70864
+ "card_bulk_create",
70865
+ "card_update",
70866
+ "comment_add",
70867
+ "question_answer",
70868
+ "spec_propose",
70869
+ "pr_open",
70870
+ "pr_merge",
70871
+ "run_start",
70872
+ "assign_card",
70873
+ "card_delete"
70874
+ ];
70806
70875
 
70807
70876
  // ../../packages/shared/src/workers.ts
70808
70877
  var WORKER_HEARTBEAT_SECONDS = 15;
@@ -70856,6 +70925,21 @@ function parseWorkerLabels(input2) {
70856
70925
  }
70857
70926
  }
70858
70927
 
70928
+ // ../../packages/shared/src/agent-presets.ts
70929
+ function presetValues(buildSpeed, thinking, verbosity) {
70930
+ const roles = PROJECT_AGENT_ROLES.reduce((all2, role) => {
70931
+ all2[role] = { thinking, verbosity };
70932
+ return all2;
70933
+ }, {});
70934
+ return { buildSpeed, thinking, verbosity, roles };
70935
+ }
70936
+ var AGENT_PRESET_VALUES = {
70937
+ quick: presetValues("fast", "low", "concise"),
70938
+ balanced: presetValues(DEFAULT_BUILD_SPEED, DEFAULT_THINKING_LEVEL, DEFAULT_VERBOSITY),
70939
+ careful: presetValues("detailed", "high", "verbose"),
70940
+ yolo: presetValues("yolo", "off", "caveman")
70941
+ };
70942
+
70859
70943
  // ../../packages/shared/src/events.ts
70860
70944
  var appEventSchema = external_exports.object({
70861
70945
  id: external_exports.number(),
@@ -71369,6 +71453,10 @@ var WORKSPACE_SETTINGS_DEFAULTS = {
71369
71453
  artifactRetentionDays: 0,
71370
71454
  /** The shared workspace consultant is opt-out. Disabled hides every entry point. */
71371
71455
  consultantEnabled: true,
71456
+ /** Workspace consultant reasoning budget. Independent of every project. */
71457
+ consultantThinking: DEFAULT_THINKING_LEVEL,
71458
+ /** Workspace consultant reply length. One value for every consultant thread. */
71459
+ consultantVerbosity: DEFAULT_VERBOSITY,
71372
71460
  /** How long new invite links stay valid. Existing invites keep their own date. */
71373
71461
  inviteExpiryDays: DEFAULT_INVITE_EXPIRY_DAYS
71374
71462
  };
@@ -71377,6 +71465,8 @@ var workspaceSettingsSchema = external_exports.object({
71377
71465
  defaultAgentConfigId: external_exports.string().trim().min(1).nullable().catch(null),
71378
71466
  artifactRetentionDays: external_exports.number().int().min(0).max(3650).catch(WORKSPACE_SETTINGS_DEFAULTS.artifactRetentionDays),
71379
71467
  consultantEnabled: external_exports.boolean().catch(WORKSPACE_SETTINGS_DEFAULTS.consultantEnabled),
71468
+ consultantThinking: thinkingLevelSchema.catch(WORKSPACE_SETTINGS_DEFAULTS.consultantThinking),
71469
+ consultantVerbosity: verbositySchema.catch(WORKSPACE_SETTINGS_DEFAULTS.consultantVerbosity),
71380
71470
  inviteExpiryDays: external_exports.number().int().min(1).max(MAX_INVITE_EXPIRY_DAYS).catch(WORKSPACE_SETTINGS_DEFAULTS.inviteExpiryDays)
71381
71471
  }).passthrough();
71382
71472
 
@@ -72863,6 +72953,23 @@ ${trimmed}
72863
72953
 
72864
72954
  ${prompt}` : prompt;
72865
72955
  }
72956
+ var CLAUDE_EFFORTS = ["low", "medium", "high", "xhigh", "max"];
72957
+ var CODEX_EFFORTS = ["minimal", "low", "medium", "high", "xhigh", "max"];
72958
+ var OPENCODE_VARIANTS = ["minimal", "low", "medium", "high", "max"];
72959
+ function driverThinkingArgs(driver, thinking) {
72960
+ if (!thinking) return [];
72961
+ if (driver === "pi") return ["--thinking", thinking];
72962
+ if (driver === "claude") {
72963
+ return CLAUDE_EFFORTS.includes(thinking) ? ["--effort", thinking] : [];
72964
+ }
72965
+ if (driver === "codex") {
72966
+ return CODEX_EFFORTS.includes(thinking) ? ["-c", `model_reasoning_effort=${thinking}`] : [];
72967
+ }
72968
+ if (driver === "opencode") {
72969
+ return OPENCODE_VARIANTS.includes(thinking) ? ["--variant", thinking] : [];
72970
+ }
72971
+ return [];
72972
+ }
72866
72973
  function buildDriverCommand(input2) {
72867
72974
  const prompt = withSystemPrompt(input2.prompt, input2.systemPromptAppend);
72868
72975
  if (input2.driver === "pi") {
@@ -72877,7 +72984,7 @@ function buildDriverCommand(input2) {
72877
72984
  "--model",
72878
72985
  input2.model
72879
72986
  ];
72880
- if (input2.options.thinking) args2.push("--thinking", input2.options.thinking);
72987
+ args2.push(...driverThinkingArgs("pi", input2.thinking));
72881
72988
  if (input2.tools && input2.tools.length > 0) args2.push("--tools", input2.tools.join(","));
72882
72989
  if (input2.systemPromptAppend) args2.push("--append-system-prompt", input2.systemPromptAppend);
72883
72990
  if (input2.resume && input2.sessionId) {
@@ -72902,6 +73009,7 @@ function buildDriverCommand(input2) {
72902
73009
  input2.mcpConfigPath,
72903
73010
  "--strict-mcp-config"
72904
73011
  ];
73012
+ args2.push(...driverThinkingArgs("claude", input2.thinking));
72905
73013
  if (input2.systemPromptAppend) args2.push("--append-system-prompt", input2.systemPromptAppend);
72906
73014
  if (input2.resume && input2.sessionId) {
72907
73015
  args2.push("--resume", input2.sessionId);
@@ -72915,6 +73023,7 @@ function buildDriverCommand(input2) {
72915
73023
  const args2 = ["codex", "exec"];
72916
73024
  if (input2.resume && input2.sessionId) args2.push("resume", input2.sessionId);
72917
73025
  args2.push("--json", "--dangerously-bypass-approvals-and-sandbox", "--skip-git-repo-check");
73026
+ args2.push(...driverThinkingArgs("codex", input2.thinking));
72918
73027
  if (input2.workingDirectory) args2.push("-C", input2.workingDirectory);
72919
73028
  args2.push("-m", input2.model);
72920
73029
  args2.push(prompt);
@@ -72958,6 +73067,7 @@ function buildDriverCommand(input2) {
72958
73067
  return args2;
72959
73068
  }
72960
73069
  const args = ["opencode", "run", prompt, "--format", "json", "--auto", "-m", input2.model];
73070
+ args.push(...driverThinkingArgs("opencode", input2.thinking));
72961
73071
  if (input2.workingDirectory) args.push("--dir", input2.workingDirectory);
72962
73072
  if (input2.resume && input2.sessionId) args.push("--session", input2.sessionId);
72963
73073
  return args;
@@ -73123,6 +73233,26 @@ function timestampOf(value) {
73123
73233
  }
73124
73234
  return void 0;
73125
73235
  }
73236
+ var MAX_TOOL_OUTPUT_CHARS = 2e4;
73237
+ function capToolOutput(text) {
73238
+ return text.length <= MAX_TOOL_OUTPUT_CHARS ? text : `${text.slice(0, MAX_TOOL_OUTPUT_CHARS)}
73239
+ \u2026 (truncated)`;
73240
+ }
73241
+ function toolCallIdOf(raw) {
73242
+ const value = raw.toolCallId ?? raw.tool_call_id;
73243
+ return typeof value === "string" && value ? value : void 0;
73244
+ }
73245
+ function toolResultText(value) {
73246
+ if (typeof value === "string") return capToolOutput(value) || void 0;
73247
+ if (!value || typeof value !== "object") return void 0;
73248
+ const content = value.content;
73249
+ if (typeof content === "string") return capToolOutput(content) || void 0;
73250
+ if (!Array.isArray(content)) return void 0;
73251
+ const text = content.map(
73252
+ (item) => item && typeof item === "object" && typeof item.text === "string" ? item.text : ""
73253
+ ).filter(Boolean).join("\n");
73254
+ return text ? capToolOutput(text) : void 0;
73255
+ }
73126
73256
  function parsePiLine(raw) {
73127
73257
  const type = String(raw.type ?? "");
73128
73258
  if (type === "session") {
@@ -73180,14 +73310,34 @@ function parsePiLine(raw) {
73180
73310
  return { type, at: timestampOf(raw.timestamp) };
73181
73311
  }
73182
73312
  if (type === "tool_execution_start") {
73183
- return { type, toolName: String(raw.toolName ?? "tool"), toolArgs: raw.args };
73313
+ return {
73314
+ type,
73315
+ toolName: String(raw.toolName ?? "tool"),
73316
+ toolArgs: raw.args,
73317
+ toolCallId: toolCallIdOf(raw),
73318
+ toolPartial: true,
73319
+ toolStart: true
73320
+ };
73321
+ }
73322
+ if (type === "tool_execution_update") {
73323
+ return {
73324
+ type,
73325
+ toolName: String(raw.toolName ?? "tool"),
73326
+ toolResult: raw.partialResult,
73327
+ detail: toolResultText(raw.partialResult),
73328
+ toolCallId: toolCallIdOf(raw),
73329
+ toolPartial: true
73330
+ };
73184
73331
  }
73185
73332
  if (type === "tool_execution_end") {
73333
+ const output2 = toolResultText(raw.result);
73186
73334
  return {
73187
73335
  type,
73188
73336
  toolName: String(raw.toolName ?? "tool"),
73189
73337
  toolResult: raw.result,
73190
- detail: raw.isError ? "error" : "ok"
73338
+ detail: output2 || (raw.isError ? "error" : "ok"),
73339
+ toolCallId: toolCallIdOf(raw),
73340
+ toolPartial: false
73191
73341
  };
73192
73342
  }
73193
73343
  if (type === "agent_end" || type === "agent_settled") {
@@ -73211,7 +73361,8 @@ function parseClaudeLine(raw) {
73211
73361
  thinkingText: thinking || void 0,
73212
73362
  thinkingEnd: Boolean(thinking),
73213
73363
  toolName: tool?.name,
73214
- toolArgs: tool?.input
73364
+ toolArgs: tool?.input,
73365
+ toolCallId: typeof tool?.id === "string" ? tool.id : void 0
73215
73366
  };
73216
73367
  }
73217
73368
  if (type === "result") {
@@ -73286,7 +73437,12 @@ function extractTool(raw) {
73286
73437
  const name2 = typeof raw.tool_name === "string" ? raw.tool_name : typeof raw.toolName === "string" ? raw.toolName : typeof raw.name === "string" && /tool|call/i.test(type) ? raw.name : void 0;
73287
73438
  const item = asRecord(raw.item) ?? asRecord(raw.part);
73288
73439
  const itemName = item && typeof item.name === "string" && /tool|call/i.test(String(item.type ?? "")) ? item.name : void 0;
73289
- return { name: name2 ?? itemName, args: raw.args ?? raw.input ?? item?.input ?? item?.arguments };
73440
+ const callId = toolCallIdOf(raw) ?? toolCallIdOf(item ?? {});
73441
+ return {
73442
+ name: name2 ?? itemName,
73443
+ args: raw.args ?? raw.input ?? item?.input ?? item?.arguments,
73444
+ callId
73445
+ };
73290
73446
  }
73291
73447
  function extractError(raw) {
73292
73448
  const type = String(raw.type ?? "");
@@ -73322,6 +73478,7 @@ function parseStructuredLine(raw) {
73322
73478
  assistantText: extractText(raw),
73323
73479
  toolName: tool.name,
73324
73480
  toolArgs: tool.args,
73481
+ toolCallId: tool.callId,
73325
73482
  error: extractError(raw),
73326
73483
  usage: extractUsage(raw),
73327
73484
  done: /turn\.completed|result|complete|done|finished|session\.idle/i.test(type)
@@ -85273,6 +85430,7 @@ async function runRemoteCardJob(deps) {
85273
85430
  model: context.agent.model,
85274
85431
  provider: context.agent.provider,
85275
85432
  options: context.agent.options,
85433
+ thinking: context.run.thinking,
85276
85434
  sessionId: context.run.sessionId,
85277
85435
  resume: Boolean(context.run.sessionId),
85278
85436
  mcpConfigPath: mcpRelativePath ? containerPath(runRoot, workspace, join5(toolDir, mcpRelativePath)) : "",
@@ -85617,6 +85775,7 @@ async function runRemoteCardJob(deps) {
85617
85775
  let chatMessageId = null;
85618
85776
  let finalMessage = "";
85619
85777
  let toolCalls = 0;
85778
+ const lastToolUpdateAt = /* @__PURE__ */ new Map();
85620
85779
  let consumeQueue = Promise.resolve();
85621
85780
  const isPlanning = context.run.kind === "planning";
85622
85781
  const isConsult = context.run.kind === "workspace_consult";
@@ -85750,7 +85909,8 @@ async function runRemoteCardJob(deps) {
85750
85909
  await flushThinking(true);
85751
85910
  await flushAssistant(true);
85752
85911
  chatMessageId = null;
85753
- if (parsed.detail === void 0) toolCalls += 1;
85912
+ const isToolStart = parsed.toolStart ?? parsed.detail === void 0;
85913
+ if (isToolStart) toolCalls += 1;
85754
85914
  if (isPlanning && toolCalls > 30) {
85755
85915
  error63 = "Planning run exceeded 30 tool calls. Stopped to avoid a loop.";
85756
85916
  agentAbort.abort();
@@ -85761,28 +85921,39 @@ async function runRemoteCardJob(deps) {
85761
85921
  agentAbort.abort();
85762
85922
  return;
85763
85923
  }
85764
- const args = summarizeToolArgs(parsed.toolArgs);
85765
- await emitLive([
85766
- {
85767
- eventType: "tool",
85768
- tool: parsed.toolName.slice(0, 200),
85769
- args,
85770
- detail: parsed.detail ?? null
85771
- }
85772
- ]);
85773
- if (parsed.detail === void 0) {
85774
- await appendChat(parsed.toolName, "tool", parsed.toolName, args);
85775
- }
85776
- captureAiSpan({
85777
- distinctId: aiSessionId,
85778
- traceId,
85779
- sessionId: aiSessionId,
85780
- spanId: randomUUID(),
85781
- parentId: generationSpanId,
85782
- name: parsed.toolName.slice(0, 200),
85783
- inputState: parsed.toolArgs ?? null,
85784
- outputState: parsed.detail ?? null
85785
- });
85924
+ const args = parsed.toolArgs === void 0 ? void 0 : summarizeToolArgs(parsed.toolArgs);
85925
+ const callId = parsed.toolCallId;
85926
+ const streamingUpdate = parsed.toolPartial === true && !isToolStart;
85927
+ const lastUpdate = callId ? lastToolUpdateAt.get(callId) ?? 0 : 0;
85928
+ const throttled = streamingUpdate && Date.now() - lastUpdate < 1e3;
85929
+ if (streamingUpdate && callId) lastToolUpdateAt.set(callId, Date.now());
85930
+ if (!throttled && !(streamingUpdate && parsed.detail === void 0)) {
85931
+ await emitLive([
85932
+ {
85933
+ eventType: "tool",
85934
+ tool: parsed.toolName.slice(0, 200),
85935
+ args,
85936
+ detail: parsed.detail ?? null,
85937
+ callId,
85938
+ partial: parsed.toolPartial
85939
+ }
85940
+ ]);
85941
+ }
85942
+ if (isToolStart) {
85943
+ await appendChat(parsed.toolName, "tool", parsed.toolName, args ?? null);
85944
+ }
85945
+ if (!streamingUpdate) {
85946
+ captureAiSpan({
85947
+ distinctId: aiSessionId,
85948
+ traceId,
85949
+ sessionId: aiSessionId,
85950
+ spanId: randomUUID(),
85951
+ parentId: generationSpanId,
85952
+ name: parsed.toolName.slice(0, 200),
85953
+ inputState: parsed.toolArgs ?? null,
85954
+ outputState: parsed.detail ?? null
85955
+ });
85956
+ }
85786
85957
  }
85787
85958
  if (parsed.error) {
85788
85959
  error63 = parsed.error.slice(0, 4e3);
@@ -98463,6 +98634,85 @@ function createConsultServer(run) {
98463
98634
  projectId: external_exports.string().optional(),
98464
98635
  projectKey: external_exports.string().optional()
98465
98636
  };
98637
+ server.registerTool(
98638
+ "project_list",
98639
+ {
98640
+ description: "List projects in this workspace with card counts. Read-only.",
98641
+ inputSchema: { includeArchived: external_exports.boolean().optional() }
98642
+ },
98643
+ async (input2) => forward("project_list", input2)
98644
+ );
98645
+ server.registerTool(
98646
+ "board_overview",
98647
+ {
98648
+ description: "Board columns, counts and custom lists for one project or the whole workspace. Read-only.",
98649
+ inputSchema: { projectId: external_exports.string().optional() }
98650
+ },
98651
+ async (input2) => forward("board_overview", input2)
98652
+ );
98653
+ server.registerTool(
98654
+ "card_list",
98655
+ {
98656
+ description: "List cards in this workspace, newest first. Read-only.",
98657
+ inputSchema: {
98658
+ projectId: external_exports.string().optional(),
98659
+ column: external_exports.enum(CARD_COLUMNS).optional(),
98660
+ limit: external_exports.number().int().min(1).max(200).optional(),
98661
+ includeSubtasks: external_exports.boolean().optional(),
98662
+ includeArchived: external_exports.boolean().optional()
98663
+ }
98664
+ },
98665
+ async (input2) => forward("card_list", input2)
98666
+ );
98667
+ server.registerTool(
98668
+ "card_get",
98669
+ {
98670
+ description: "Read one card with specs, subtasks, comments, work log, questions, runs, labels and linked pull requests. Read-only.",
98671
+ inputSchema: { cardId: external_exports.string().min(1), includeComments: external_exports.boolean().optional() }
98672
+ },
98673
+ async (input2) => forward("card_get", input2)
98674
+ );
98675
+ server.registerTool(
98676
+ "card_search",
98677
+ {
98678
+ description: "Search card titles, bodies and numbers in this workspace. Read-only.",
98679
+ inputSchema: {
98680
+ query: external_exports.string().min(1).max(200),
98681
+ projectId: external_exports.string().optional(),
98682
+ limit: external_exports.number().int().min(1).max(100).optional()
98683
+ }
98684
+ },
98685
+ async (input2) => forward("card_search", input2)
98686
+ );
98687
+ server.registerTool(
98688
+ "project_history",
98689
+ {
98690
+ description: "Recent project or workspace activity: cards, comments, work logs, runs, statuses and pull requests. Read-only.",
98691
+ inputSchema: {
98692
+ projectId: external_exports.string().optional(),
98693
+ cardId: external_exports.string().optional(),
98694
+ type: external_exports.string().optional(),
98695
+ since: external_exports.string().optional(),
98696
+ includeRunEvents: external_exports.boolean().optional(),
98697
+ limit: external_exports.number().int().min(1).max(200).optional()
98698
+ }
98699
+ },
98700
+ async (input2) => forward("project_history", input2)
98701
+ );
98702
+ server.registerTool(
98703
+ "card_history",
98704
+ {
98705
+ description: "Recent activity for one card: comments, work logs, runs, statuses and pull requests. Read-only.",
98706
+ inputSchema: {
98707
+ cardId: external_exports.string().min(1),
98708
+ type: external_exports.string().optional(),
98709
+ since: external_exports.string().optional(),
98710
+ includeRunEvents: external_exports.boolean().optional(),
98711
+ limit: external_exports.number().int().min(1).max(200).optional()
98712
+ }
98713
+ },
98714
+ async (input2) => forward("card_history", input2)
98715
+ );
98466
98716
  server.registerTool(
98467
98717
  "card_create",
98468
98718
  {
@@ -98635,7 +98885,7 @@ function createServerForRun(run) {
98635
98885
  server.registerTool(
98636
98886
  "verification_record",
98637
98887
  {
98638
- description: "Record verification evidence before opening a PR. Non-N/A kinds require an artifactId unless the run build speed is fast or ultra fast. N/A requires a reason.",
98888
+ description: "Record verification evidence before opening a PR. Non-N/A kinds require an artifactId unless the run build speed is yolo, fast or ultra fast. N/A requires a reason.",
98639
98889
  inputSchema: {
98640
98890
  kind: external_exports.enum(VERIFICATION_KINDS),
98641
98891
  summary: external_exports.string().min(1).max(400),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aglio-worker",
3
- "version": "0.64.0",
3
+ "version": "0.70.2",
4
4
  "description": "Host machine agent for Aglio: claims jobs over the API and starts aglio-runner containers.",
5
5
  "type": "module",
6
6
  "bin": {