taskplane 0.1.0 → 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.
package/bin/taskplane.mjs CHANGED
@@ -398,13 +398,13 @@ async function getInteractiveVars(projectRoot) {
398
398
  const detected = detectStack(projectRoot);
399
399
 
400
400
  const project_name = await ask("Project name", dirName);
401
- const integration_branch = await ask("Integration branch", "main");
401
+ const integration_branch = await ask("Default branch (fallback — orchestrator uses your current branch at runtime)", "main");
402
402
  const max_lanes = parseInt(await ask("Max parallel lanes", "3")) || 3;
403
403
  const tasks_root = await ask("Tasks directory", "taskplane-tasks");
404
404
  const default_area = await ask("Default area name", "general");
405
405
  const default_prefix = await ask("Task ID prefix", "TP");
406
- const test_cmd = await ask("Test command", detected.test || "");
407
- const build_cmd = await ask("Build command", detected.build || "");
406
+ const test_cmd = await ask("Test command (agents run this to verify work — blank to skip)", detected.test || "");
407
+ const build_cmd = await ask("Build command (agents run this after tests — blank to skip)", detected.build || "");
408
408
 
409
409
  return {
410
410
  project_name,
@@ -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.0",
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",
@@ -11,11 +11,12 @@
11
11
  "parallel"
12
12
  ],
13
13
  "bin": {
14
- "taskplane": "./bin/taskplane.mjs"
14
+ "taskplane": "bin/taskplane.mjs"
15
15
  },
16
16
  "pi": {
17
17
  "extensions": [
18
- "./extensions"
18
+ "./extensions/task-runner.ts",
19
+ "./extensions/task-orchestrator.ts"
19
20
  ],
20
21
  "skills": [
21
22
  "./skills"
@@ -46,7 +47,7 @@
46
47
  "license": "MIT",
47
48
  "repository": {
48
49
  "type": "git",
49
- "url": "https://github.com/HenryLach/taskplane.git"
50
+ "url": "git+https://github.com/HenryLach/taskplane.git"
50
51
  },
51
52
  "homepage": "https://github.com/HenryLach/taskplane#readme",
52
53
  "bugs": {