flightdesk 0.3.0 → 0.3.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.
Files changed (4) hide show
  1. package/README.md +8 -30
  2. package/main.js +45 -1167
  3. package/main.js.map +4 -4
  4. package/package.json +1 -4
package/README.md CHANGED
@@ -7,9 +7,10 @@ The command-line interface for [FlightDesk](https://flightdesk.dev) — AI task
7
7
  FlightDesk helps development teams track and manage work performed by Claude Code remote sessions. It provides:
8
8
 
9
9
  - Task lifecycle tracking from dispatch to merged PR
10
- - Automated session monitoring and status detection
10
+ - Automated branch detection via GitHub webhooks
11
11
  - Multi-organization support for developers working across clients
12
12
  - Integration with GitHub, SonarQube, and other review tools
13
+ - Preview environment management
13
14
 
14
15
  Learn more at **[flightdesk.dev](https://flightdesk.dev)**
15
16
 
@@ -19,37 +20,17 @@ Learn more at **[flightdesk.dev](https://flightdesk.dev)**
19
20
  npm install -g flightdesk
20
21
  ```
21
22
 
22
- ## Security Notice
23
-
24
- **This CLI uses Playwright to monitor Claude Code sessions in a headless browser.**
25
-
26
- This means:
27
- - The CLI runs a Chromium browser instance on your machine
28
- - It authenticates to claude.ai using your stored browser session
29
- - It reads session UI to detect branch names and PR status
30
- - It can automatically click "Create PR" buttons when detected
31
-
32
- **You should understand what this tool does before running it.** The `flightdesk watch` command operates a browser automation daemon that interacts with live web sessions. While the CLI only reads status information and clicks PR creation buttons, browser automation tools are inherently powerful.
33
-
34
- We recommend:
35
- - Reviewing the source code if you have concerns
36
- - Running `flightdesk watch` only on trusted machines
37
- - Using `flightdesk auth` to set up authentication in a visible browser first
38
-
39
23
  ## Quick Start
40
24
 
41
25
  ```bash
42
26
  # Configure your FlightDesk API credentials
43
27
  flightdesk init
44
28
 
45
- # Authenticate with Claude (opens a browser for login)
46
- flightdesk auth
47
-
48
29
  # Register a Claude Code session with a task
49
30
  claude --remote "Fix the auth bug" | flightdesk register <project-id>
50
31
 
51
- # Start the monitoring daemon
52
- flightdesk watch
32
+ # Check task status
33
+ flightdesk status
53
34
  ```
54
35
 
55
36
  ## Commands
@@ -57,29 +38,26 @@ flightdesk watch
57
38
  | Command | Description |
58
39
  |---------|-------------|
59
40
  | `flightdesk init` | Configure API credentials |
60
- | `flightdesk auth` | Log in to Claude for session monitoring |
61
41
  | `flightdesk register` | Register a session with a task |
62
42
  | `flightdesk task` | Create, list, and manage tasks |
63
43
  | `flightdesk status` | Show status of all active tasks |
64
- | `flightdesk watch` | Start the session monitoring daemon |
65
44
  | `flightdesk prompt` | Get prompts ready to paste into Claude |
66
45
  | `flightdesk org` | Manage organization connections |
67
46
  | `flightdesk context` | Show current repo/org mapping |
68
47
  | `flightdesk sync` | Refresh project-to-repo mappings |
48
+ | `flightdesk project` | Project management commands |
49
+ | `flightdesk preview` | Preview environment management |
69
50
 
70
51
  ## Multi-Organization Support
71
52
 
72
53
  Developers working across multiple clients can connect multiple FlightDesk organizations:
73
54
 
74
55
  ```bash
75
- # Add organizations
76
- flightdesk org add
77
-
78
56
  # List connected organizations
79
57
  flightdesk org list
80
58
 
81
- # Set default organization
82
- flightdesk org default <org-id>
59
+ # Switch active organization
60
+ flightdesk org switch <name>
83
61
 
84
62
  # Check which org maps to current repo
85
63
  flightdesk context