@agent-plan/core 0.2.22-next.0 → 0.2.22-next.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.
- package/dist/display-status.d.ts +1 -1
- package/dist/display-status.js +1 -1
- package/dist/recap.d.ts.map +1 -1
- package/dist/recap.js +0 -9
- package/package.json +1 -1
package/dist/display-status.d.ts
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
* These are NEVER persisted: they are computed on demand from children's
|
|
16
16
|
* canonical workflow statuses. The canonical workflow model
|
|
17
17
|
* (`planned | in-progress | waiting | blocked | deferred | done |
|
|
18
|
-
* canceled | rejected`)
|
|
18
|
+
* canceled | rejected`) represents paused leaf work as a startable status plus a durable checkpoint.
|
|
19
19
|
*/
|
|
20
20
|
import type { TaskStatus, PhaseStatus } from "./schema.js";
|
|
21
21
|
/**
|
package/dist/display-status.js
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
* These are NEVER persisted: they are computed on demand from children's
|
|
16
16
|
* canonical workflow statuses. The canonical workflow model
|
|
17
17
|
* (`planned | in-progress | waiting | blocked | deferred | done |
|
|
18
|
-
* canceled | rejected`)
|
|
18
|
+
* canceled | rejected`) represents paused leaf work as a startable status plus a durable checkpoint.
|
|
19
19
|
*/
|
|
20
20
|
const ACTIVE = new Set(["in-progress"]);
|
|
21
21
|
const OPEN = new Set(["planned", "waiting", "blocked", "deferred"]);
|
package/dist/recap.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"recap.d.ts","sourceRoot":"","sources":["../src/recap.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAGjD;;;;GAIG;AACH,MAAM,WAAW,YAAY;IAC3B,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC3B;AAED,yEAAyE;AACzE,MAAM,MAAM,YAAY,GAAG,IAAI,GAAG,KAAK,CAAC;AAExC,MAAM,WAAW,YAAY;IAC3B,OAAO,CAAC,EAAE,YAAY,CAAC;CACxB;AAKD;;;;;;;;;;;;;GAaG;AACH,wBAAsB,UAAU,CAAC,EAAE,EAAE,SAAS,EAAE,GAAG,GAAE,YAAiB,EAAE,IAAI,GAAE,YAAiB,GAAG,OAAO,CAAC,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"recap.d.ts","sourceRoot":"","sources":["../src/recap.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAGjD;;;;GAIG;AACH,MAAM,WAAW,YAAY;IAC3B,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC3B;AAED,yEAAyE;AACzE,MAAM,MAAM,YAAY,GAAG,IAAI,GAAG,KAAK,CAAC;AAExC,MAAM,WAAW,YAAY;IAC3B,OAAO,CAAC,EAAE,YAAY,CAAC;CACxB;AAKD;;;;;;;;;;;;;GAaG;AACH,wBAAsB,UAAU,CAAC,EAAE,EAAE,SAAS,EAAE,GAAG,GAAE,YAAiB,EAAE,IAAI,GAAE,YAAiB,GAAG,OAAO,CAAC,MAAM,CAAC,CA4OhH"}
|
package/dist/recap.js
CHANGED
|
@@ -104,15 +104,6 @@ export async function buildRecap(st, web = {}, opts = {}) {
|
|
|
104
104
|
else {
|
|
105
105
|
lines.push(`${italian ? "Focus corrente" : "Current focus"}: ${italian ? "nessun task attivo — rivedi il piano e scegli il prossimo task concreto" : "no active task — review the plan and pick the next concrete task"}`);
|
|
106
106
|
}
|
|
107
|
-
// Planner extension rules — the agent-behavior contract for every project
|
|
108
|
-
// using the extension. Static (no timestamps), loaded from .planner/rules.json
|
|
109
|
-
// or the canonical code set. Kept out of project.json so it never diverges
|
|
110
|
-
// across worktrees/branches.
|
|
111
|
-
const extensionRules = await st.extensionRules();
|
|
112
|
-
if (extensionRules.length > 0) {
|
|
113
|
-
lines.push("", italian ? "## Regole del planner (estensione)" : "## Planner rules (extension)");
|
|
114
|
-
extensionRules.forEach((rule, i) => lines.push(`${i + 1}. ${rule}`));
|
|
115
|
-
}
|
|
116
107
|
// Next step: the phase handoff (phase.handoff) is the authoritative,
|
|
117
108
|
// actively-managed resume context. When a handoff is pending, point to it
|
|
118
109
|
// instead of surfacing potentially-stale resume.json nextSteps. When no
|
package/package.json
CHANGED