taskplane 0.1.1 → 0.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.
@@ -24,6 +24,7 @@ const POLL_INTERVAL = 2000; // ms between state checks
24
24
  // REPO_ROOT is resolved after parseArgs() — see initialization below.
25
25
  let REPO_ROOT;
26
26
  let BATCH_STATE_PATH;
27
+ let BATCH_HISTORY_PATH;
27
28
 
28
29
  // ─── CLI Args ───────────────────────────────────────────────────────────────
29
30
 
@@ -373,7 +374,7 @@ function broadcastState() {
373
374
 
374
375
  // ─── Batch History API ──────────────────────────────────────────────────────
375
376
 
376
- const BATCH_HISTORY_PATH = path.join(REPO_ROOT, ".pi", "batch-history.json");
377
+ // BATCH_HISTORY_PATH is initialized in main() alongside REPO_ROOT.
377
378
 
378
379
  function loadHistory() {
379
380
  try {
@@ -478,6 +479,7 @@ function main() {
478
479
  // Resolve project root: --root flag > cwd
479
480
  REPO_ROOT = path.resolve(opts.root || process.cwd());
480
481
  BATCH_STATE_PATH = path.join(REPO_ROOT, ".pi", "batch-state.json");
482
+ BATCH_HISTORY_PATH = path.join(REPO_ROOT, ".pi", "batch-history.json");
481
483
 
482
484
  const server = createServer(opts.port);
483
485
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taskplane",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "AI agent orchestration for pi — parallel task execution with checkpoint discipline",
5
5
  "keywords": [
6
6
  "pi-package",