@pmelab/gtd 64.1.1 → 64.1.2

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gtd",
3
- "version": "64.1.1",
3
+ "version": "64.1.2",
4
4
  "description": "Drive the gtd loop inside Claude Code: agent turns run as subagents, gtd decides every beat",
5
5
  "author": {
6
6
  "name": "Philipp Melab"
package/README.md CHANGED
@@ -440,13 +440,15 @@ disk until you run `gtd` again, from anywhere, to pick it up. A description
440
440
  renders inline markdown — bold, code, strikethrough, links, and images — instead
441
441
  of literal asterisks and backticks. A note you add from the phone starts a
442
442
  thread: a footnote holding a `H:`/`A:` conversation. Threads show as a
443
- conversation under their block, question, chunk, or hunk, and one the agent
444
- answered last carries a "waiting on you" badge. Tap it to reply — your reply is
445
- added as a new `H:` entry; while the agent has yet to answer, reopening it edits
446
- your last entry instead. Tap an already-answered question to leave a note on it;
447
- the agent may overturn the answer. A `findings` file lists its findings, each
448
- with a fix checkbox and, once ticked, an optional line of guidance; Done stays
449
- disabled while the file holds anything its gate would refuse. See
443
+ conversation under their block, question, chunk, or hunk — or, in a review chunk
444
+ with no file pointers, under each line of its lists, so a summary's entries take
445
+ a note apiece — and one the agent answered last carries a "waiting on you"
446
+ badge. Tap it to reply — your reply is added as a new `H:` entry; while the
447
+ agent has yet to answer, reopening it edits your last entry instead. Tap an
448
+ already-answered question to leave a note on it; the agent may overturn the
449
+ answer. A `findings` file lists its findings, each with a fix checkbox and, once
450
+ ticked, an optional line of guidance; Done stays disabled while the file holds
451
+ anything its gate would refuse. See
450
452
  [Configuration](https://github.com/pmelab/gtd/blob/main/docs/configuration.md)
451
453
  for its `ui:` settings.
452
454
 
@@ -1,5 +1,5 @@
1
- import { t as __exportAll } from "./rolldown-runtime-D7D4PA-g.mjs";
2
- //#region src/flows/runtime.ts
1
+ import { t as __exportAll } from "./rolldown-runtime-D8jQpDG7.mjs";
2
+ // src/flows/runtime.ts
3
3
  /**
4
4
  * Bump only when the installed `FlowContext` object changes shape or semantics;
5
5
  * type-only authoring-API changes don't count. A bump past 1 must keep v1
@@ -207,8 +207,7 @@ const workflow = (flow, options = {}) => {
207
207
  };
208
208
  /** The options `value` was marked with, or `undefined` when it went through no `workflow()`. */
209
209
  const markedOptions = (value) => typeof value === "function" && MARKED in value ? value[MARKED] : void 0;
210
- //#endregion
211
- //#region src/flows/scripts.ts
210
+ // src/flows/scripts.ts
212
211
  /** POSIX single-quoting: `value` survives the shell as one word, verbatim. */
213
212
  const quote = (value) => `'${value.replace(/'/g, "'\\''")}'`;
214
213
  const removal = (paths) => paths.length === 0 ? [] : [`rm -rf -- ${paths.map(quote).join(" ")}`];
@@ -319,8 +318,7 @@ const showScript = (ref, path, to) => [
319
318
  `git show ${quote(`${ref}:${path}`)} > ${quote(to)}`,
320
319
  ""
321
320
  ].join("\n");
322
- //#endregion
323
- //#region src/flows/helpers.ts
321
+ // src/flows/helpers.ts
324
322
  /** Whether a judge answered `expected` at a probability of at least `minP`. */
325
323
  const answered = (answer, expected, minP) => answer !== void 0 && answer.answer === expected && answer.p >= minP;
326
324
  /** A numeric var, or `fallback` when it is unset, blank or not a finite number. */
@@ -484,8 +482,7 @@ const seamGate = async (name, shape) => {
484
482
  approve: true
485
483
  });
486
484
  };
487
- //#endregion
488
- //#region src/flows/factory.ts
485
+ // src/flows/factory.ts
489
486
  const FACTORY = Symbol.for("@pmelab/gtd/workflow-factory");
490
487
  /**
491
488
  * Define a workflow configured by options. `schema` is any Standard Schema
@@ -549,8 +546,7 @@ const configure = (value, overrides = {}) => {
549
546
  build: internals.build(result.value)
550
547
  };
551
548
  };
552
- //#endregion
553
- //#region src/flows/config.ts
549
+ // src/flows/config.ts
554
550
  const CONFIG_KEYS = [
555
551
  "modes",
556
552
  "ui",
@@ -644,8 +640,7 @@ const defineConfig = (config) => {
644
640
  if (problems.length > 0) throw new Error(problems.map(formatConfigProblem).join("; "));
645
641
  return config;
646
642
  };
647
- //#endregion
648
- //#region src/flows/index.ts
643
+ // src/flows/index.ts
649
644
  var flows_exports = /* @__PURE__ */ __exportAll({
650
645
  FLOWS_PROTOCOL: () => 1,
651
646
  FlowsProtocolError: () => FlowsProtocolError,
@@ -703,5 +698,4 @@ var flows_exports = /* @__PURE__ */ __exportAll({
703
698
  writeScript: () => writeScript,
704
699
  wrote: () => wrote
705
700
  });
706
- //#endregion
707
701
  export { run as $, FLOWS_PROTOCOL as A, head as B, moveScript as C, revertScript as D, restoreScript as E, changesSince as F, mark as G, installContext as H, codeThreads as I, openQuestions as J, markedOptions as K, envSettings as L, accessFor as M, agent as N, showScript as O, changes as P, restart as Q, envSettingsOf as R, checkScript as S, removeScript as T, judge as U, human as V, kept as W, read as X, protocolMismatch as Y, refuse as Z, requireRevert as _, defineWorkflow as a, skillsFor as at, wrote as b, check as c, workflow as ct, hasThreadFor as d, scope as et, judgeDiffShape as f, requireReplies as g, requireProgress as h, configure as i, settingsOf as it, FlowsProtocolError as j, writeScript as k, codeChanges as l, requireAnswers as m, configProblems as n, sections as nt, isFactoryWorkflow as o, start as ot, numeric as p, matches as q, defineConfig as r, settings as rt, answered as s, threads as st, flows_exports as t, sectionBodies as tt, displayPath as u, requireThreadsClosed as v, quote as w, applyScript as x, seamGate as y, glob as z };
@@ -1,4 +1,4 @@
1
- //#region \0rolldown/runtime.js
1
+ // \0rolldown/runtime.js
2
2
  var __defProp = Object.defineProperty;
3
3
  var __exportAll = (all, no_symbols) => {
4
4
  let target = {};
@@ -9,5 +9,4 @@ var __exportAll = (all, no_symbols) => {
9
9
  if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
10
10
  return target;
11
11
  };
12
- //#endregion
13
12
  export { __exportAll as t };