flightdesk 0.3.2 → 0.3.3

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.
Files changed (3) hide show
  1. package/main.js +5 -2
  2. package/main.js.map +2 -2
  3. package/package.json +1 -1
package/main.js CHANGED
@@ -3955,6 +3955,9 @@ async function handleUpdate(api, options) {
3955
3955
  input.prNumber = parseInt(prNumberMatch[1], 10);
3956
3956
  }
3957
3957
  }
3958
+ if (options.prNumber) {
3959
+ input.prNumber = parseInt(options.prNumber, 10);
3960
+ }
3958
3961
  if (options.session) {
3959
3962
  const sessionId = parseSessionId(options.session);
3960
3963
  input.sessionViewUrl = `https://claude.ai/code/${sessionId}`;
@@ -4569,7 +4572,7 @@ async function handleTeardown(api, options) {
4569
4572
 
4570
4573
  // apps/cli/src/main.ts
4571
4574
  var program2 = new Command();
4572
- program2.name("flightdesk").description("FlightDesk CLI - AI task management for Claude Code sessions").version("0.3.2").option("--dev", "Use local development API (localhost:3000)").option("--api <url>", "Use custom API URL");
4575
+ program2.name("flightdesk").description("FlightDesk CLI - AI task management for Claude Code sessions").version("0.3.3").option("--dev", "Use local development API (localhost:3000)").option("--api <url>", "Use custom API URL");
4573
4576
  program2.hook("preAction", () => {
4574
4577
  const opts = program2.opts();
4575
4578
  if (opts.api) {
@@ -4589,7 +4592,7 @@ var task = program2.command("task").description("Task management commands");
4589
4592
  task.command("create").description("Create a new task").requiredOption("-p, --project <id>", "Project ID").requiredOption("-t, --title <title>", "Task title").option("-d, --description <description>", "Task description").action((options) => taskCommand("create", options));
4590
4593
  task.command("list").description("List tasks").option("-p, --project <id>", "Filter by project ID").option("--status <status>", "Filter by status").action((options) => taskCommand("list", options));
4591
4594
  task.command("status <task-id>").description("Get task status").action((taskId) => taskCommand("status", { taskId }));
4592
- task.command("update <task-id>").description("Update task").option("-s, --status <status>", "New status").option("--branch <branch>", "Branch name").option("--pr-url <url>", "Pull request URL").option("--session <session>", "Claude Code session (URL or session ID)").action((taskId, options) => taskCommand("update", { taskId, ...options }));
4595
+ task.command("update <task-id>").description("Update task").option("-s, --status <status>", "New status").option("--branch <branch>", "Branch name").option("--pr-url <url>", "Pull request URL").option("--pr-number <number>", "Pull request number (use if --pr-url is not enough)").option("--session <session>", "Claude Code session (URL or session ID)").action((taskId, options) => taskCommand("update", { taskId, ...options }));
4593
4596
  program2.command("status").description("Show status of all active tasks").option("-p, --project <id>", "Filter by project").action(statusCommand);
4594
4597
  program2.command("prompt <task-id>").description("Get a prompt for a task (ready to paste into Claude)").option("--type <type>", "Prompt type: review, test_plan, summary, handoff", "review").action(promptCommand);
4595
4598
  var org = program2.command("org").description("Organization management");