@koda-sl/baker-cli 0.141.0-dev.5c3f9a4ae → 0.141.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.
package/dist/cli.js CHANGED
@@ -34,7 +34,7 @@ import {
34
34
  toModelSafeImage,
35
35
  ulid,
36
36
  validateCanvasDeep
37
- } from "./chunk-TXNOPO6P.js";
37
+ } from "./chunk-TAGQCU36.js";
38
38
  import {
39
39
  csvOrJson,
40
40
  daysAgoIso,
@@ -507,7 +507,7 @@ function readSkillCatalog(startDir) {
507
507
  // src/commands/actions/claim.ts
508
508
  registerSchema({
509
509
  command: "actions.claim",
510
- description: "Claim an action for the current chat (live \u2014 visible to other chats immediately). Claim only what you're actively working on now: it's required before `complete`, but NOT for `update` or `discard` (those stage without a claim). Returns action details plus a fast-model recommendation of which skills to load for the work (`recommendedSkills`).",
510
+ description: "Claim an action for the current chat (live \u2014 visible to other chats immediately). Claim only what you're actively working on now: it's required before `complete`, but NOT for `update` or `discard` (those stage without a claim). Returns action details plus a fast-model recommendation of which skills to load for the work (`recommendedSkills`) and a routing hint: load every skill that owns part of the work and the tool doc for each baker CLI family you'll use.",
511
511
  args: {
512
512
  id: { type: "string", description: "Action ID", required: true }
513
513
  }
@@ -521,16 +521,16 @@ async function recommendSkills(actionId) {
521
521
  });
522
522
  return response.data.recommendations;
523
523
  }
524
+ var ROUTING_HINT = "Actions often span several surfaces (a landing page plus a Google Ads change, a sheet pull plus an audience upload). Before starting, load EVERY skill that owns part of the work and read the tool doc (__tooling__/docs/tools/baker/<family>.md) for each baker CLI family you'll use. If the action references source material living in a connected tool (an email attachment, a call, a CRM record, a spreadsheet), reach for that tool too. If it describes recurring or future-dated work, it belongs on a schedule \u2014 see __tooling__/docs/tools/baker/scheduled-actions.md.";
524
525
  function buildHints(recommendations) {
525
526
  if (recommendations.length === 0) {
526
- return [
527
- "Review the action name, description, and tags above \u2014 then load any skills that would help you complete this work."
528
- ];
527
+ return ["Review the action name, description, and tags above.", ROUTING_HINT];
529
528
  }
530
529
  return [
531
530
  "Recommended skills for this action (load the ones you'll use):",
532
531
  ...recommendations.map((r) => ` /${r.name} \u2014 ${r.reason}`),
533
- "Suggestions from the action's name/description/tags \u2014 load others if the work needs them."
532
+ "Suggestions come from the action's name/description/tags only \u2014 the work may need more.",
533
+ ROUTING_HINT
534
534
  ];
535
535
  }
536
536
  var claimCommand = defineCommand({