@keystrokehq/cli 0.0.94 → 0.0.96

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.
@@ -7,17 +7,17 @@ The CLI resolves a `baseUrl` before runtime commands (`workflow`, `agent`, `trig
7
7
  - **Local** = your **keystroke server** (`keystroke dev` / `keystroke start`). Use for authoring, unit/integration tests in the repo, and manual runs while iterating.
8
8
  - **Cloud** = **keystroke platform** control plane routes to a deployed keystroke server (`/api/projects/:projectId/*`). Use for live invocation, listing triggers on deploy, webhook URLs, and auditing production runs.
9
9
 
10
- Auth is independent of target. `keystroke auth login` stores a bearer token in the OS keychain keyed by `webUrl` hostname. Cloud API calls attach that token; local dev often runs without auth unless `BETTER_AUTH_SECRET` is set.
10
+ Auth is independent of target. `keystroke auth login` stores a bearer token in the OS keychain keyed by `webUrl` hostname and persists matching `webUrl` / `platformUrl` in config. Cloud API calls attach that token; local dev often runs without auth unless `BETTER_AUTH_SECRET` is set.
11
11
 
12
12
  ## Config (`~/.keystroke`)
13
13
 
14
- | Key | Default | Role |
15
- | ----------------- | ----------------------- | -------------------------------- |
16
- | `serverUrl` | `http://localhost:3001` | Local keystroke server API |
17
- | `platformUrl` | `http://localhost:3002` | Keystroke platform control plane |
18
- | `webUrl` | `http://localhost:3000` | Dashboard + device login |
19
- | `activeProjectId` | unset | Deployed project id (persistent) |
20
- | `apiTarget` | inferred | `local` or `platform` |
14
+ | Key | Default | Role |
15
+ | ----------------- | -------------------------- | -------------------------------- |
16
+ | `serverUrl` | `http://localhost:3001` | Local keystroke server API |
17
+ | `platformUrl` | `https://api.keystroke.ai` | Keystroke platform control plane |
18
+ | `webUrl` | `https://app.keystroke.ai` | Dashboard + device login |
19
+ | `activeProjectId` | unset | Deployed project id (persistent) |
20
+ | `apiTarget` | inferred | `local` or `platform` |
21
21
 
22
22
  If `apiTarget` is unset and `activeProjectId` exists, effective target is **platform** (backward compatible). Explicit `apiTarget=local` overrides that without clearing `activeProjectId`.
23
23
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/cli",
3
- "version": "0.0.94",
3
+ "version": "0.0.96",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/dallinbentley/keystroke.git",