@edgedive/cli 0.1.6 → 0.1.7

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.
@@ -1,5 +1,5 @@
1
1
 
2
2
  
3
- > @edgedive/cli@0.1.5 build /Users/nimesh/edgedive/edgedive-monorepo/packages/edgedive-cli
3
+ > @edgedive/cli@0.1.6 build /Users/nimesh/edgedive/edgedive-monorepo/packages/edgedive-cli
4
4
  > tsc
5
5
 
@@ -0,0 +1,4 @@
1
+
2
+ > @edgedive/cli@0.1.6 clean /Users/nimesh/edgedive/edgedive-monorepo/packages/edgedive-cli
3
+ > rm -rf dist
4
+
@@ -1,20 +1,8 @@
1
1
 
2
- > @edgedive/cli@0.1.3 dev /Users/nimesh/edgedive/edgedive-monorepo/packages/edgedive-cli
2
+ > @edgedive/cli@0.1.6 dev /Users/nimesh/edgedive/edgedive-monorepo/packages/edgedive-cli
3
3
  > tsc --watch
4
4
 
5
- [7:38:41 PM] Starting compilation in watch mode...
5
+ [11:05:52 AM] Starting compilation in watch mode...
6
6
 
7
- [7:38:41 PM] Found 0 errors. Watching for file changes.
8
-
9
- [10:45:44 AM] File change detected. Starting incremental compilation...
10
-
11
- [10:45:44 AM] Found 0 errors. Watching for file changes.
12
-
13
- [10:45:45 AM] File change detected. Starting incremental compilation...
14
-
15
- [10:45:45 AM] Found 0 errors. Watching for file changes.
16
-
17
- [1:23:54 PM] File change detected. Starting incremental compilation...
18
-
19
- [1:23:54 PM] Found 0 errors. Watching for file changes.
7
+ [11:05:52 AM] Found 0 errors. Watching for file changes.
20
8
 
@@ -0,0 +1,4 @@
1
+
2
+ > @edgedive/cli@0.1.6 typecheck /Users/nimesh/edgedive/edgedive-monorepo/packages/edgedive-cli
3
+ > tsc --noEmit
4
+
package/AGENTS.md ADDED
@@ -0,0 +1,135 @@
1
+ # Edgedive CLI
2
+
3
+ Command-line tool for working on Edgedive agent sessions locally and continuing development with Claude Code.
4
+
5
+ ## Purpose
6
+
7
+ The CLI enables developers to:
8
+ - Authenticate with Edgedive using OAuth
9
+ - Pull down agent sessions from Edgedive
10
+ - Restore Claude Code session files locally
11
+ - Check out PR branches for continued development
12
+ - Resume Claude Code sessions from where the agent left off
13
+
14
+ ## Available Commands
15
+
16
+ ```bash
17
+ # Authenticate with Edgedive
18
+ dive login --pr-url <github-pr-url>
19
+ dive login --issue-url <linear-issue-url>
20
+
21
+ # Prepare agent session locally
22
+ dive local --pr-url <github-pr-url>
23
+ dive local --issue-url <linear-issue-url>
24
+
25
+ # Remove stored credentials
26
+ dive logout
27
+ ```
28
+
29
+ Both `dive` and `edgedive` commands are available.
30
+
31
+ ## Development Commands
32
+
33
+ From the monorepo root:
34
+
35
+ ```bash
36
+ # Build the CLI
37
+ pnpm --filter edgedive-cli run build
38
+
39
+ # Clean build artifacts
40
+ pnpm --filter edgedive-cli run clean
41
+ ```
42
+
43
+ From this directory:
44
+
45
+ ```bash
46
+ # Link for local testing
47
+ npm link
48
+ ```
49
+
50
+ ## Project Structure
51
+
52
+ - `src/` - TypeScript source code
53
+ - `commands/` - Command implementations (login, local, logout)
54
+ - `services/` - OAuth, API client, session management
55
+ - `utils/` - Helper utilities
56
+ - `index.ts` - CLI entry point
57
+ - `dist/` - Compiled JavaScript (gitignored)
58
+
59
+ ## Development Guidelines
60
+
61
+ ### Authentication
62
+
63
+ The CLI uses OAuth 2.0 with PKCE for secure authentication:
64
+ - Tokens are stored in `~/.edgedive/config.json` with restricted permissions (0600)
65
+ - Tokens are valid for 30 days
66
+ - Uses authorization code flow with PKCE for security
67
+
68
+ ### Session Management
69
+
70
+ The `dive local` command:
71
+ 1. Validates you're in the correct repository
72
+ 2. Fetches session info from Edgedive API
73
+ 3. Downloads and restores Claude session file
74
+ 4. Checks out the PR branch
75
+ 5. Launches Claude CLI with the resumed session
76
+
77
+ ### Configuration
78
+
79
+ Configuration is stored in `~/.edgedive/config.json`:
80
+ - OAuth access token
81
+ - Token expiration time
82
+ - OAuth scope
83
+
84
+ ### Environment Variables
85
+
86
+ Override defaults with:
87
+ - `EDGEDIVE_API_URL` - API base URL (default: `https://api.edgedive.com`)
88
+ - `EDGEDIVE_CLIENT_ID` - OAuth client ID
89
+
90
+ ## Building for Distribution
91
+
92
+ To build the CLI for npm:
93
+
94
+ ```bash
95
+ pnpm build
96
+ ```
97
+
98
+ This compiles TypeScript to JavaScript in the `dist/` directory.
99
+
100
+ ## Testing
101
+
102
+ For local testing:
103
+
104
+ ```bash
105
+ # Link the CLI globally
106
+ npm link
107
+
108
+ # Test commands
109
+ dive login --pr-url https://github.com/owner/repo/pull/123
110
+ dive local --pr-url https://github.com/owner/repo/pull/123
111
+ ```
112
+
113
+ ## Security
114
+
115
+ - OAuth tokens stored with restricted file permissions
116
+ - PKCE prevents authorization code interception
117
+ - Presigned S3 URLs expire after 1 hour
118
+ - Local callback server only accepts localhost connections
119
+
120
+ ## Troubleshooting
121
+
122
+ Common issues:
123
+ - **Not logged in**: Run `dive login` first
124
+ - **Session expired**: Tokens expire after 30 days, run `dive login` again
125
+ - **No agent session found**: PR may not be from an Edgedive agent
126
+ - **Failed to download file**: Presigned URLs expire after 1 hour, run command again
127
+
128
+ ## Documentation
129
+
130
+ For comprehensive usage documentation, see [README.md](./README.md).
131
+
132
+ ## Related Documentation
133
+
134
+ - [edgedive-server](../../apps/edgedive-server/CLAUDE.md) - API backend that CLI connects to
135
+ - [Root monorepo documentation](../../CLAUDE.md) - Monorepo overview
package/CLAUDE.md CHANGED
@@ -1,135 +1,3 @@
1
- # Edgedive CLI
1
+ # Development Guidelines
2
2
 
3
- Command-line tool for working on Edgedive agent sessions locally and continuing development with Claude Code.
4
-
5
- ## Purpose
6
-
7
- The CLI enables developers to:
8
- - Authenticate with Edgedive using OAuth
9
- - Pull down agent sessions from Edgedive
10
- - Restore Claude Code session files locally
11
- - Check out PR branches for continued development
12
- - Resume Claude Code sessions from where the agent left off
13
-
14
- ## Available Commands
15
-
16
- ```bash
17
- # Authenticate with Edgedive
18
- dive login --pr-url <github-pr-url>
19
- dive login --issue-url <linear-issue-url>
20
-
21
- # Prepare agent session locally
22
- dive local --pr-url <github-pr-url>
23
- dive local --issue-url <linear-issue-url>
24
-
25
- # Remove stored credentials
26
- dive logout
27
- ```
28
-
29
- Both `dive` and `edgedive` commands are available.
30
-
31
- ## Development Commands
32
-
33
- From the monorepo root:
34
-
35
- ```bash
36
- # Build the CLI
37
- pnpm --filter edgedive-cli run build
38
-
39
- # Clean build artifacts
40
- pnpm --filter edgedive-cli run clean
41
- ```
42
-
43
- From this directory:
44
-
45
- ```bash
46
- # Link for local testing
47
- npm link
48
- ```
49
-
50
- ## Project Structure
51
-
52
- - `src/` - TypeScript source code
53
- - `commands/` - Command implementations (login, local, logout)
54
- - `services/` - OAuth, API client, session management
55
- - `utils/` - Helper utilities
56
- - `index.ts` - CLI entry point
57
- - `dist/` - Compiled JavaScript (gitignored)
58
-
59
- ## Development Guidelines
60
-
61
- ### Authentication
62
-
63
- The CLI uses OAuth 2.0 with PKCE for secure authentication:
64
- - Tokens are stored in `~/.edgedive/config.json` with restricted permissions (0600)
65
- - Tokens are valid for 30 days
66
- - Uses authorization code flow with PKCE for security
67
-
68
- ### Session Management
69
-
70
- The `dive local` command:
71
- 1. Validates you're in the correct repository
72
- 2. Fetches session info from Edgedive API
73
- 3. Downloads and restores Claude session file
74
- 4. Checks out the PR branch
75
- 5. Launches Claude CLI with the resumed session
76
-
77
- ### Configuration
78
-
79
- Configuration is stored in `~/.edgedive/config.json`:
80
- - OAuth access token
81
- - Token expiration time
82
- - OAuth scope
83
-
84
- ### Environment Variables
85
-
86
- Override defaults with:
87
- - `EDGEDIVE_API_URL` - API base URL (default: `https://api.edgedive.com`)
88
- - `EDGEDIVE_CLIENT_ID` - OAuth client ID
89
-
90
- ## Building for Distribution
91
-
92
- To build the CLI for npm:
93
-
94
- ```bash
95
- pnpm build
96
- ```
97
-
98
- This compiles TypeScript to JavaScript in the `dist/` directory.
99
-
100
- ## Testing
101
-
102
- For local testing:
103
-
104
- ```bash
105
- # Link the CLI globally
106
- npm link
107
-
108
- # Test commands
109
- dive login --pr-url https://github.com/owner/repo/pull/123
110
- dive local --pr-url https://github.com/owner/repo/pull/123
111
- ```
112
-
113
- ## Security
114
-
115
- - OAuth tokens stored with restricted file permissions
116
- - PKCE prevents authorization code interception
117
- - Presigned S3 URLs expire after 1 hour
118
- - Local callback server only accepts localhost connections
119
-
120
- ## Troubleshooting
121
-
122
- Common issues:
123
- - **Not logged in**: Run `dive login` first
124
- - **Session expired**: Tokens expire after 30 days, run `dive login` again
125
- - **No agent session found**: PR may not be from an Edgedive agent
126
- - **Failed to download file**: Presigned URLs expire after 1 hour, run command again
127
-
128
- ## Documentation
129
-
130
- For comprehensive usage documentation, see [README.md](./README.md).
131
-
132
- ## Related Documentation
133
-
134
- - [edgedive-server](../../apps/edgedive-server/CLAUDE.md) - API backend that CLI connects to
135
- - [Root monorepo documentation](../../CLAUDE.md) - Monorepo overview
3
+ For all development guidelines for this package/app, please see **[AGENTS.md](./AGENTS.md)**.
package/README.md CHANGED
@@ -141,6 +141,75 @@ pnpm build
141
141
 
142
142
  Compiles TypeScript to JavaScript in the `dist/` directory.
143
143
 
144
+ ## Building and Publishing
145
+
146
+ ### Build Process
147
+
148
+ The CLI is built using TypeScript and compiled to CommonJS modules in the `dist/` directory:
149
+
150
+ 1. **TypeScript Compilation**: `pnpm build` runs `tsc` which:
151
+ - Compiles all TypeScript files from `src/` to `dist/`
152
+ - Generates type declarations (`.d.ts` files)
153
+ - Creates source maps for debugging
154
+ - Outputs ES2022-compatible JavaScript modules
155
+
156
+ 2. **What Gets Published**:
157
+ - `dist/` directory (compiled JavaScript + type declarations)
158
+ - `package.json`
159
+ - `README.md`
160
+ - The `bin` field in `package.json` points to `dist/index.js` for both `edgedive` and `dive` commands
161
+
162
+ ### Publishing to npm
163
+
164
+ The package is published to npm under the `@edgedive/cli` scope.
165
+
166
+ #### Prerequisites
167
+
168
+ 1. npm account with access to the `@edgedive` organization
169
+ 2. Logged in to npm: `npm login`
170
+ 3. Clean build: `pnpm clean && pnpm build`
171
+
172
+ #### Publishing Steps
173
+
174
+ ```bash
175
+ # From the packages/edgedive-cli directory
176
+
177
+ # 1. Ensure you're on main and up to date
178
+ git checkout main
179
+ git pull origin main
180
+
181
+ # 2. Clean and build
182
+ pnpm clean
183
+ pnpm build
184
+
185
+ # 3. Test the built CLI
186
+ node dist/index.js --help
187
+
188
+ # 4. Update version (choose one)
189
+ npm version patch # 0.1.6 -> 0.1.7
190
+ npm version minor # 0.1.6 -> 0.2.0
191
+ npm version major # 0.1.6 -> 1.0.0
192
+
193
+ # 5. Publish to npm
194
+ npm publish --access public
195
+
196
+ # 6. Push the version tag
197
+ git push origin main --tags
198
+ ```
199
+
200
+ #### Current Published Version
201
+
202
+ Latest: `0.1.6` (published 2025-11-07)
203
+
204
+ #### Continuous Integration
205
+
206
+ The CI pipeline (`.github/workflows/ci.yml`) automatically:
207
+ - Detects changes to `packages/edgedive-cli/**`
208
+ - Runs `pnpm build --filter @edgedive/cli`
209
+ - Tests the built CLI with `node dist/index.js --help`
210
+
211
+ **Note**: Publishing to npm is currently a manual process. Consider setting up automated releases via GitHub Actions when appropriate.
212
+
144
213
  ## OAuth Flow
145
214
 
146
215
  The CLI uses OAuth 2.0 with PKCE (Proof Key for Code Exchange) for secure authentication:
@@ -31,7 +31,7 @@ export async function launchClaudeSession(claudeSessionId, workspacePath) {
31
31
  await new Promise((resolve, reject) => {
32
32
  const shell = getUserShell();
33
33
  // Set the CLAUDE_SESSION_END_HOOK environment variable to our hook script
34
- const child = spawn(shell, ['-i', '-c', `claude -r ${claudeSessionId}`], {
34
+ const child = spawn(shell, ['-i', '-c', `claude -r ${claudeSessionId} --settings '{"includeCoAuthoredBy": false}'`], {
35
35
  cwd: workspacePath,
36
36
  stdio: 'inherit',
37
37
  env: {
@@ -1 +1 @@
1
- {"version":3,"file":"claude-launcher.js","sourceRoot":"","sources":["../../src/utils/claude-launcher.ts"],"names":[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B,IAAI,QAAQ,EAAE,CAAC;YACb,MAAM,EAAE,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,KAAK,CAAC,GAAG,EAAE,GAAE,CAAC,CAAC,CAAC;QAC5C,CAAC;QACD,MAAM,EAAE,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC,KAAK,CAAC,GAAG,EAAE,GAAE,CAAC,CAAC,CAAC;IACnD,CAAC;AACH,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@edgedive/cli",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "description": "Edgedive CLI for agent session takeover and management",
5
5
  "type": "module",
6
6
  "bin": {
@@ -11,7 +11,8 @@
11
11
  "build": "tsc",
12
12
  "dev": "tsc --watch",
13
13
  "clean": "rm -rf dist",
14
- "start": "node dist/index.js"
14
+ "start": "node dist/index.js",
15
+ "typecheck": "tsc --noEmit"
15
16
  },
16
17
  "keywords": [
17
18
  "edgedive",
@@ -45,7 +45,7 @@ export async function launchClaudeSession(
45
45
  await new Promise<void>((resolve, reject) => {
46
46
  const shell = getUserShell();
47
47
  // Set the CLAUDE_SESSION_END_HOOK environment variable to our hook script
48
- const child = spawn(shell, ['-i', '-c', `claude -r ${claudeSessionId}`], {
48
+ const child = spawn(shell, ['-i', '-c', `claude -r ${claudeSessionId} --settings '{"includeCoAuthoredBy": false}'`], {
49
49
  cwd: workspacePath,
50
50
  stdio: 'inherit',
51
51
  env: {