Lines 10-50javascript
10var __copyProps = (to, from, except, desc) => {
11 if (from && typeof from === "object" || typeof from === "function") {
12 for (let key of __getOwnPropNames(from))
13 if (!__hasOwnProp.call(to, key) && key !== except)
14 __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
18var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
21var tools_exports = {};
22__export(tools_exports, {
23 CHECKLIST_INSTRUCTIONS: () => CHECKLIST_INSTRUCTIONS,
24 checklistProposal: () => checklistProposal,
25 checklistTools: () => checklistTools,
26 groupTree: () => groupTree,
27 importTemplateInput: () => importTemplateInput,
28 promptSections: () => promptSections
30module.exports = __toCommonJS(tools_exports);
31var import_ai = require("ai");
32var import_zod = require("zod");
MediumDynamic Require
Package source references dynamic require/import behavior.
dist/tools/index.cjsView on unpkg · L30 36 role: "You are the Checklist assistant. You help users inspect results and author checklists by calling tools.",
37 reporting: `## Reporting
38- To answer questions about results, progress, approvals, or activity, call get_reports / get_activity and summarize the numbers plainly.`,
39 authoring: `## Authoring real checklists
40When asked to make a checklist, generate genuinely useful, domain-appropriate content \u2014 never empty scaffolding or vague placeholders. Think the task through end to end, then structure it:
41- Break the work into phases; each phase becomes a GROUP with a short, clear title.
42- Each group holds the concrete, ordered STEPS to complete that phase.
43- Aim for ~3\u20136 groups and ~3\u20138 steps per group \u2014 enough to actually guide someone, not a wall of trivia. Scale to the task.
44- Write steps as specific actions, not headers. Mark a step required:false only when it is genuinely optional.
45- Order groups and steps in the sequence a person would actually do them.
47Example \u2014 "make a pizza checklist":
48- Group "Make the dough": Mix flour, water, yeast, salt \xB7 Knead 10 min until smooth and elastic \xB7 Let rise 1\u20132 hours until doubled
49- Group "Make the sauce": Crush tomatoes \xB7 Season with salt, garlic, basil \xB7 Simmer 20 min
50- Group "Shape & top": Stretch dough to a 12" round \xB7 Spread sauce \xB7 Add cheese and toppings