@pmelab/gtd 64.1.2 → 64.2.0
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/.claude-plugin/plugin.json +1 -1
- package/README.md +27 -16
- package/dist/chunks/{steering-CQzL-lX1.mjs → steering-DEh_MS40.mjs} +57 -0
- package/dist/chunks/{testkit-D539mnDI.mjs → testkit-BwCH8ky6.mjs} +60 -17
- package/dist/gtd.bundle.mjs +133 -19
- package/dist/gtd.core.mjs +110 -109
- package/dist/steering.mjs +1 -1
- package/dist/testkit/gherkin.mjs +1 -1
- package/dist/testkit.mjs +1 -1
- package/dist/web/main.js +79 -12
- package/dist/workflow-kit.mjs +1 -1
- package/package.json +1 -1
- package/src/cli/Cli.test.ts +1 -0
- package/src/cli/Cli.ts +16 -1
- package/src/cli/Program.ts +6 -0
- package/src/cli/ToolCommands.ts +1 -0
- package/src/edge/Edge.test.ts +22 -0
- package/src/edge/Edge.ts +22 -0
- package/src/edge/index.ts +1 -0
- package/src/platform/Git.ts +33 -10
- package/src/steering/SteeringFormat.ts +4 -1
- package/src/steering/freeform.test.ts +51 -1
- package/src/steering/freeform.ts +38 -0
- package/src/twins/FakeGitOperations.ts +2 -0
- package/src/twins/GitTiers.ts +26 -1
- package/src/twins/InMemRepo.ts +5 -0
package/src/twins/InMemRepo.ts
CHANGED
|
@@ -298,6 +298,11 @@ export class InMemRepo {
|
|
|
298
298
|
return diffTrees(baseTree, worktreeTree)
|
|
299
299
|
}
|
|
300
300
|
|
|
301
|
+
/** Worktree paths the index does not carry. */
|
|
302
|
+
untrackedPaths(): string[] {
|
|
303
|
+
return [...this.worktree.keys()].filter((k) => !this.index.has(k))
|
|
304
|
+
}
|
|
305
|
+
|
|
301
306
|
/** The index vs HEAD — the port's `stagedPaths`. */
|
|
302
307
|
stagedPaths(): Array<{ path: string; status: string }> {
|
|
303
308
|
return diffTrees(this.treeAt(undefined), this.index)
|