@ghostpaw/questlog 0.9.0 → 0.9.1

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/SKILL.md CHANGED
@@ -7,8 +7,10 @@ compatibility: "Node.js 24 or newer. MCP stdio or ghostpaw-questlog CLI."
7
7
 
8
8
  # questlog
9
9
 
10
+ No install? Use `npx -y @ghostpaw/questlog <command>`.
10
11
  `questlog` and `ghostpaw-questlog` are the same binary.
11
12
 
13
+ - `questlog search <words>` before `add` to avoid duplicates.
12
14
  - `questlog add --title "..." --tag a,b --due tomorrow`
13
15
  - `questlog list [--view <view>]`: questlines, quests.active, quests.available, quests.blocked, quests.deferred, quests.due_soon, quests.in_progress, quests.missed_scheduled, quests.open, quests.overdue, quests.resolved, quests.scheduled_for_day, quests.scheduled_now, repeatables.due_anchors, rumors.
14
16
  - `questlog done <id> --outcome "..."`
@@ -7,7 +7,7 @@ function resolveQuestlogDbPath(options = {}) {
7
7
  }
8
8
 
9
9
  // src/version.ts
10
- var questlogVersion = "0.9.0";
10
+ var questlogVersion = "0.9.1";
11
11
 
12
12
  // src/surfaces/surface_types.ts
13
13
  function isErrorResult(result) {
package/dist/cli.js CHANGED
@@ -3,7 +3,7 @@
3
3
  function checkNodeVersion(version, stderr) {
4
4
  if (Number(version.split(".")[0]) >= 24) return true;
5
5
  stderr.write(
6
- `questlog needs Node 24+ (found ${version}). Install Node 24 or put it first on PATH.
6
+ `questlog needs Node 24+ (found ${version}). Install Node 24+ (e.g. via nvm, mise or your package manager) or put it first on PATH.
7
7
  `
8
8
  );
9
9
  return false;
@@ -13,5 +13,5 @@ function checkNodeVersion(version, stderr) {
13
13
  if (!checkNodeVersion(process.versions.node, process.stderr)) {
14
14
  process.exitCode = 2;
15
15
  } else {
16
- await import('./cli_main-ED5BJPSR.js');
16
+ await import('./cli_main-ELAKW6KW.js');
17
17
  }
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { validateInput, isErrorResult, questlogVersion, resolveQuestlogDbPath } from './chunk-RUSE7ZFF.js';
2
+ import { validateInput, isErrorResult, questlogVersion, resolveQuestlogDbPath } from './chunk-KRQDV4KF.js';
3
3
  import { reviewQuestlogTool, getQuestDetail, questlogSurfaceTools } from './chunk-3Y5F3SMB.js';
4
4
  import { readFileSync, existsSync } from 'node:fs';
5
5
  import { resolve } from 'node:path';
@@ -202,7 +202,7 @@ ${r.error.message}
202
202
  ["title", detail.title],
203
203
  ["objective", detail.objective],
204
204
  ["state", detail.state],
205
- ["tags", detail.tagNames.map((tag) => `#${tag}`).join(" ")],
205
+ ["tags", detail.tagNames.length ? detail.tagNames.map((tag) => `#${tag}`).join(" ") : "-"],
206
206
  ["due", detail.effectiveDueAt == null ? "-" : formatPlainDate(detail.effectiveDueAt, true)],
207
207
  ["created", formatPlainDate(detail.createdAt, true)]
208
208
  ];
@@ -359,12 +359,12 @@ Use --db <path> or GHOSTPAW_QUESTLOG_DB to override the default ~/.ghostpaw/ques
359
359
  commands: {
360
360
  plain: questlogPlainCommands(),
361
361
  mcp: async (options) => {
362
- const { serveQuestlogMcp } = await import('./serve_questlog_mcp-J4ZHNEOT.js');
362
+ const { serveQuestlogMcp } = await import('./serve_questlog_mcp-QSHMNNFT.js');
363
363
  await serveQuestlogMcp(options.db === void 0 ? {} : { dbPath: options.db });
364
364
  },
365
365
  skill: async () => {
366
366
  const { renderSkillMarkdown } = await import('./skill_markdown-7HCMSJYR.js');
367
- const { questlogSkillSpec } = await import('./questlog_skill_spec-JLZH3JL2.js');
367
+ const { questlogSkillSpec } = await import('./questlog_skill_spec-LOQ2FNOF.js');
368
368
  return renderSkillMarkdown(questlogSkillSpec);
369
369
  }
370
370
  }
@@ -677,7 +677,7 @@ var init_open_questlog_db = __esm({
677
677
  var questlogVersion;
678
678
  var init_version = __esm({
679
679
  "src/version.ts"() {
680
- questlogVersion = "0.9.0";
680
+ questlogVersion = "0.9.1";
681
681
  }
682
682
  });
683
683
 
package/dist/mcp.cjs CHANGED
@@ -386,7 +386,7 @@ async function openQuestlogDb(path) {
386
386
  }
387
387
 
388
388
  // src/version.ts
389
- var questlogVersion = "0.9.0";
389
+ var questlogVersion = "0.9.1";
390
390
 
391
391
  // src/surface/questlog_mcp_instructions.ts
392
392
  var questlogMcpInstructions = "Questlog manages local tasks, calendar commitments, and recurring work. Search before creating work, inspect before changing it, and keep uncertain work as rumors. Use unlock prerequisites to sequence work. run_quest refuses blocked starts unless force is true. Review commitments and resolve work with an honest outcome.";
package/dist/mcp.js CHANGED
@@ -384,7 +384,7 @@ async function openQuestlogDb(path) {
384
384
  }
385
385
 
386
386
  // src/version.ts
387
- var questlogVersion = "0.9.0";
387
+ var questlogVersion = "0.9.1";
388
388
 
389
389
  // src/surface/questlog_mcp_instructions.ts
390
390
  var questlogMcpInstructions = "Questlog manages local tasks, calendar commitments, and recurring work. Search before creating work, inspect before changing it, and keep uncertain work as rumors. Use unlock prerequisites to sequence work. run_quest refuses blocked starts unless force is true. Review commitments and resolve work with an honest outcome.";
@@ -780,8 +780,10 @@ var questlogSoulTraits = [
780
780
  var questlogSkillSpec = {
781
781
  name: "questlog",
782
782
  cheatSheet: [
783
+ "No install? Use `npx -y @ghostpaw/questlog <command>`.",
783
784
  "`questlog` and `ghostpaw-questlog` are the same binary.",
784
785
  "",
786
+ "- `questlog search <words>` before `add` to avoid duplicates.",
785
787
  '- `questlog add --title "..." --tag a,b --due tomorrow`',
786
788
  `- \`questlog list [--view <view>]\`: ${reviewQuestlogTool.inputSchema.properties?.view?.enum?.join(", ")}.`,
787
789
  '- `questlog done <id> --outcome "..."`',
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { openQuestlogDb } from './chunk-3B6FMHZU.js';
3
3
  import { questlogMcpInstructions } from './chunk-SVWAEAKC.js';
4
- import { validateInput, isErrorResult, questlogVersion, resolveQuestlogDbPath } from './chunk-RUSE7ZFF.js';
4
+ import { validateInput, isErrorResult, questlogVersion, resolveQuestlogDbPath } from './chunk-KRQDV4KF.js';
5
5
  import { questlogSurfaceTools } from './chunk-3Y5F3SMB.js';
6
6
 
7
7
  // src/surfaces/mcp_server.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ghostpaw/questlog",
3
- "version": "0.9.0",
3
+ "version": "0.9.1",
4
4
  "description": "Unified task and calendar model for Node.js — SQLite, zero dependencies, with a built-in LLM tool facade",
5
5
  "type": "module",
6
6
  "exports": {
@@ -7,8 +7,10 @@ compatibility: "Node.js 24 or newer. MCP stdio or ghostpaw-questlog CLI."
7
7
 
8
8
  # questlog
9
9
 
10
+ No install? Use `npx -y @ghostpaw/questlog <command>`.
10
11
  `questlog` and `ghostpaw-questlog` are the same binary.
11
12
 
13
+ - `questlog search <words>` before `add` to avoid duplicates.
12
14
  - `questlog add --title "..." --tag a,b --due tomorrow`
13
15
  - `questlog list [--view <view>]`: questlines, quests.active, quests.available, quests.blocked, quests.deferred, quests.due_soon, quests.in_progress, quests.missed_scheduled, quests.open, quests.overdue, quests.resolved, quests.scheduled_for_day, quests.scheduled_now, repeatables.due_anchors, rumors.
14
16
  - `questlog done <id> --outcome "..."`