@todoforai/cli 0.1.26 → 0.1.27

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/dist/todoai.js +10 -14
  2. package/package.json +1 -1
package/dist/todoai.js CHANGED
@@ -43180,7 +43180,7 @@ import { parseArgs } from "util";
43180
43180
  // package.json
43181
43181
  var package_default = {
43182
43182
  name: "@todoforai/cli",
43183
- version: "0.1.24",
43183
+ version: "0.1.27",
43184
43184
  type: "module",
43185
43185
  bin: {
43186
43186
  "todoforai-cli": "bin/todoforai-cli.js",
@@ -43194,8 +43194,7 @@ var package_default = {
43194
43194
  build: "bun build src/index.ts --target=bun --outfile dist/todoai.js --external ws",
43195
43195
  prepublishOnly: "bun run build",
43196
43196
  start: "bun run src/index.ts",
43197
- dev: "bun run src/index.ts",
43198
- postinstall: "rm -rf node_modules/@todoforai/edge && ln -s ../../../edge/bun node_modules/@todoforai/edge"
43197
+ dev: "bun run src/index.ts"
43199
43198
  },
43200
43199
  dependencies: {
43201
43200
  "@shared/credentials": "file:../packages/shared-credentials",
@@ -43205,7 +43204,7 @@ var package_default = {
43205
43204
  ws: "^8.18.0"
43206
43205
  },
43207
43206
  peerDependencies: {
43208
- "@todoforai/edge": "file:../edge/bun"
43207
+ "@todoforai/edge": ">=0.12.0"
43209
43208
  },
43210
43209
  peerDependenciesMeta: {
43211
43210
  "@todoforai/edge": {
@@ -43214,7 +43213,6 @@ var package_default = {
43214
43213
  },
43215
43214
  devDependencies: {
43216
43215
  "@types/ws": "^8.5.13",
43217
- "@todoforai/edge": "file:../edge/bun",
43218
43216
  typescript: "^5.7.0"
43219
43217
  }
43220
43218
  };
@@ -43927,10 +43925,9 @@ When the user asks you to recommend how to grow (e.g. "recommend growth TODOs",
43927
43925
  Recommending actionable TODOs from your recommendations:
43928
43926
  To materialize growth recommendations, create recommendation cards in the project's Recommendations column. You NEVER create running todos \u2014 you only recommend templates by reference. Two tools, strict roles:
43929
43927
 
43930
- 1. GET A TEMPLATE (todoregistry-cli) \u2014 generate-first, reuse only on a close fit:
43931
- - Default: CREATE a template tailored to THIS business, right there (auth is inherited from your shell):
43932
- \`todoregistry-cli create --name "<name>" --description "<one line>" --body @<prompt-file>\` (or \`--body -\` for stdin). It prints the new template id on stdout.
43933
- - Before creating, you MAY \`todoregistry-cli search <query>\` / \`list -c <category>\` / \`get <id>\`; reuse an existing template ONLY when it already fits this business closely with no meaningful edits. If it needs tailoring, create a new one instead \u2014 do not recommend a generic playbook that ignores this company's specifics.
43928
+ 1. GET A TEMPLATE (api_create_template) \u2014 generate-first, reuse only on a close fit:
43929
+ - Default: CREATE a template tailored to THIS business with the \`api_create_template\` tool. It returns the new template id.
43930
+ - Reuse an existing registry template ONLY when it already fits this business closely with no meaningful edits \u2014 pass its id straight to \`api_recommend_template\`. If it needs tailoring, create a new one instead \u2014 do not recommend a generic playbook that ignores this company's specifics.
43934
43931
 
43935
43932
  Write every generated body to be unmistakably about THIS company \u2014 bake the specifics from the business context into the task itself: the company name, its actual competitors, the target segment, the specific channel/platform, and the concrete metric to move. A reader should never mistake it for a generic template.
43936
43933
 
@@ -43939,9 +43936,10 @@ To materialize growth recommendations, create recommendation cards in the projec
43939
43936
  - Then the request, using these exact standalone heading lines (letters only, each on its own line, ending with a colon): \`Your task:\`, \`Steps:\`, \`Data needed:\`. Everything under these headings becomes the first user turn.
43940
43937
  - Headings must match exactly (e.g. \`Your task:\`, not \`Your task (SEO):\`) or the split breaks. Put the business-specific detail in the body text under each heading, never in the heading itself.
43941
43938
 
43942
- 2. RECOMMEND (todoforai-cli \u2014 references a template id onto the project; never creates a running todo):
43943
- \`todoforai-cli recommend --template <id> --project <projectId> --business-context <businessContextId> --note "<why>" --priority high|medium|low\`
43944
- Take <projectId> and <businessContextId> from your current session context and pass them explicitly. Put the one-line WHY for THIS business in --note (the card's tooltip). The card appears in the Recommendations column for the user to review before any credits are spent.
43939
+ 2. RECOMMEND (api_recommend_template \u2014 references a template id onto the project; never creates a running todo):
43940
+ Call \`api_recommend_template\` with the template id, a one-line \`note\` (the WHY for THIS business \u2014 it becomes the card's tooltip) and a \`priority\` of high, medium or low. Project and business context default to the current session, so pass them only when targeting a different one. The card appears in the Recommendations column for the user to review before any credits are spent.
43941
+
43942
+ Both tools run in-process and need no machine or shell \u2014 never shell out to \`todoregistry-cli\` / \`todoforai-cli\` for this.
43945
43943
 
43946
43944
  3. Recommend 3-6 cards (highest priority first). Then reply with a one-line summary per card and tell the user they're waiting in the Recommendations column for review.`,
43947
43945
  mcpConfigs: {},
@@ -43953,8 +43951,6 @@ To materialize growth recommendations, create recommendation cards in the projec
43953
43951
  "cloud:google_rag",
43954
43952
  "builtin:todoforai_api",
43955
43953
  "builtin:question",
43956
- "cloud:BASH(cmd: todoregistry-cli *)",
43957
- "cloud:BASH(cmd: todoforai-cli *)",
43958
43954
  "cloud:BASH(cmd: curl *)"
43959
43955
  ],
43960
43956
  ask: [],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@todoforai/cli",
3
- "version": "0.1.26",
3
+ "version": "0.1.27",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "todoforai-cli": "bin/todoforai-cli.js",