aglio-worker 0.32.0 → 0.38.5

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 +38 -1
  2. package/package.json +1 -1
package/agent.js CHANGED
@@ -7344,6 +7344,7 @@ var RUN_TRIGGERS = [
7344
7344
  var NOTIFICATION_TYPES = [
7345
7345
  "question",
7346
7346
  "run_finished",
7347
+ "planning_ready",
7347
7348
  "run_failed",
7348
7349
  "review_feedback",
7349
7350
  "pr_ready",
@@ -28234,7 +28235,19 @@ var CARD_LABEL_COLORS = [
28234
28235
  { key: "sky", label: "Sky", hex: "#00c2e0", text: "#172b4d" },
28235
28236
  { key: "lime", label: "Lime", hex: "#51e898", text: "#172b4d" },
28236
28237
  { key: "pink", label: "Pink", hex: "#ff78cb", text: "#172b4d" },
28237
- { key: "black", label: "Black", hex: "#344563", text: "#ffffff" }
28238
+ { key: "black", label: "Black", hex: "#344563", text: "#ffffff" },
28239
+ { key: "teal", label: "Teal", hex: "#00796b", text: "#ffffff" },
28240
+ { key: "indigo", label: "Indigo", hex: "#3f51b5", text: "#ffffff" },
28241
+ { key: "violet", label: "Violet", hex: "#7e57c2", text: "#ffffff" },
28242
+ { key: "magenta", label: "Magenta", hex: "#c2185b", text: "#ffffff" },
28243
+ { key: "coral", label: "Coral", hex: "#ff7043", text: "#172b4d" },
28244
+ { key: "brown", label: "Brown", hex: "#8d6e63", text: "#ffffff" },
28245
+ { key: "olive", label: "Olive", hex: "#7a7a1f", text: "#ffffff" },
28246
+ { key: "gray", label: "Gray", hex: "#6b7280", text: "#ffffff" },
28247
+ { key: "gold", label: "Gold", hex: "#d4a017", text: "#172b4d" },
28248
+ { key: "mint", label: "Mint", hex: "#69f0ae", text: "#172b4d" },
28249
+ { key: "lavender", label: "Lavender", hex: "#b39ddb", text: "#172b4d" },
28250
+ { key: "navy", label: "Navy", hex: "#1a237e", text: "#ffffff" }
28238
28251
  ];
28239
28252
  var CARD_LABEL_COLOR_KEYS = CARD_LABEL_COLORS.map((color) => color.key);
28240
28253
  var DEFAULT_CARD_LABEL_COLOR = "green";
@@ -44014,6 +44027,30 @@ function createServerForRun(run) {
44014
44027
  },
44015
44028
  async (input2) => forward("subtask_update", input2)
44016
44029
  );
44030
+ server.registerTool(
44031
+ "card_block_list",
44032
+ {
44033
+ description: "List the cards blocking this card and the cards it blocks. A blocked card is not claimed until every blocker is done.",
44034
+ inputSchema: {}
44035
+ },
44036
+ async () => forward("card_block_list", {})
44037
+ );
44038
+ server.registerTool(
44039
+ "card_block_add",
44040
+ {
44041
+ description: "Link a block with another card in this project. direction=blocks means this card blocks the target; blocked_by means the target blocks this card.",
44042
+ inputSchema: { cardId: external_exports.string().optional(), cardNumber: external_exports.number().int().positive().optional(), direction: external_exports.enum(["blocks", "blocked_by"]).optional() }
44043
+ },
44044
+ async (input2) => forward("card_block_add", input2)
44045
+ );
44046
+ server.registerTool(
44047
+ "card_block_remove",
44048
+ {
44049
+ description: "Remove a block between this card and another card. Same direction values as card_block_add.",
44050
+ inputSchema: { cardId: external_exports.string().optional(), cardNumber: external_exports.number().int().positive().optional(), direction: external_exports.enum(["blocks", "blocked_by"]).optional() }
44051
+ },
44052
+ async (input2) => forward("card_block_remove", input2)
44053
+ );
44017
44054
  server.registerTool(
44018
44055
  "card_propose",
44019
44056
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aglio-worker",
3
- "version": "0.32.0",
3
+ "version": "0.38.5",
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": {