waitspin 0.1.8 → 0.1.10
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/README.md +62 -25
- package/dist/cli.js +1782 -221
- package/dist/cli.js.map +1 -1
- package/dist/targets/experimental-cli.js +27 -0
- package/dist/targets/experimental-cli.js.map +1 -1
- package/package.json +8 -3
package/README.md
CHANGED
|
@@ -26,11 +26,13 @@ waitspin bid create --line "Your ad" --url https://example.com --price-per-block
|
|
|
26
26
|
waitspin bid checkout CAMPAIGN_ID
|
|
27
27
|
npx --yes waitspin init --email you@example.com --key-profile publisher-extension
|
|
28
28
|
|
|
29
|
-
# First-class VS Code user
|
|
29
|
+
# First-class VS Code-compatible user paths
|
|
30
30
|
code --install-extension waitspin.waitspin-vscode
|
|
31
|
-
|
|
31
|
+
cursor --install-extension waitspin.waitspin-vscode
|
|
32
|
+
devin-desktop --install-extension waitspin.waitspin-vscode
|
|
33
|
+
# Then run "WaitSpin: Connect and earn" inside the matching editor.
|
|
32
34
|
|
|
33
|
-
# Advanced agent install for every detected
|
|
35
|
+
# Advanced agent install for every detected all-install target
|
|
34
36
|
waitspin install --all --dry-run --api-key PASTE_PUBLISHER_EXTENSION_KEY --compose-existing
|
|
35
37
|
waitspin install --all --api-key PASTE_PUBLISHER_EXTENSION_KEY --compose-existing
|
|
36
38
|
waitspin status --all
|
|
@@ -43,6 +45,14 @@ waitspin extension status --target vscode
|
|
|
43
45
|
waitspin claude-code install --api-key PASTE_PUBLISHER_EXTENSION_KEY --compose-existing
|
|
44
46
|
waitspin claude-code status
|
|
45
47
|
|
|
48
|
+
# Or install for Antigravity CLI statusline
|
|
49
|
+
waitspin antigravity install --api-key PASTE_PUBLISHER_EXTENSION_KEY --compose-existing
|
|
50
|
+
waitspin antigravity status
|
|
51
|
+
|
|
52
|
+
# Or install for GitHub Copilot CLI statusline
|
|
53
|
+
waitspin copilot install --api-key PASTE_PUBLISHER_EXTENSION_KEY --compose-existing
|
|
54
|
+
waitspin copilot status
|
|
55
|
+
|
|
46
56
|
# Or install for MiMo Code shell hook
|
|
47
57
|
waitspin mimocode install --api-key PASTE_PUBLISHER_EXTENSION_KEY
|
|
48
58
|
waitspin mimocode status
|
|
@@ -68,16 +78,24 @@ waitspin grok status
|
|
|
68
78
|
- `waitspin wallet ledger` — user delivery ledger
|
|
69
79
|
- `waitspin wallet payout --dry-run` — payout eligibility preview
|
|
70
80
|
- `code --install-extension waitspin.waitspin-vscode` — install the public VS Code Marketplace extension
|
|
71
|
-
- `
|
|
81
|
+
- `cursor --install-extension waitspin.waitspin-vscode` — install the same VS Code-compatible extension into Cursor Editor Mode
|
|
82
|
+
- `devin-desktop --install-extension waitspin.waitspin-vscode` — install the same extension into Devin Desktop from Open VSX when the desktop CLI is on PATH
|
|
83
|
+
- `WaitSpin: Connect and earn` — connect the VS Code-compatible extension from inside the matching editor
|
|
72
84
|
- `waitspin extension install --target vscode --api-key PASTE_PUBLISHER_EXTENSION_KEY` — advanced CLI fallback for VS Code extension setup
|
|
73
85
|
- `waitspin extension status --target vscode` — inspect managed VS Code extension lifecycle state
|
|
74
86
|
- `waitspin extension uninstall --target vscode` — remove the managed VS Code extension runtime and local state
|
|
75
87
|
- `waitspin install --all --dry-run` — preview detected user surfaces without file changes
|
|
76
|
-
- `waitspin install --all` — install every detected
|
|
88
|
+
- `waitspin install --all` — install every detected all-install surface: VS Code plus CLI-managed targets
|
|
77
89
|
- `waitspin status --all` — aggregate lifecycle status for every user surface
|
|
78
90
|
- `waitspin claude-code install --compose-existing` — install the Claude Code statusline command
|
|
79
91
|
- `waitspin claude-code status` — inspect managed Claude Code runtime state
|
|
80
92
|
- `waitspin claude-code uninstall` — restore Claude Code statusline settings and remove managed local state
|
|
93
|
+
- `waitspin antigravity install --compose-existing` — install the Antigravity CLI statusline command
|
|
94
|
+
- `waitspin antigravity status` — inspect managed Antigravity CLI runtime state
|
|
95
|
+
- `waitspin antigravity uninstall` — restore Antigravity CLI statusline settings and remove managed local state
|
|
96
|
+
- `waitspin copilot install --compose-existing` — install the GitHub Copilot CLI statusline command
|
|
97
|
+
- `waitspin copilot status` — inspect managed GitHub Copilot CLI runtime state
|
|
98
|
+
- `waitspin copilot uninstall` — restore GitHub Copilot CLI statusline settings and remove managed local state
|
|
81
99
|
- `waitspin mimocode install` — install the MiMo Code shell hook
|
|
82
100
|
- `waitspin mimocode status` — inspect managed MiMo Code runtime state
|
|
83
101
|
- `waitspin mimocode uninstall` — remove managed MiMo Code runtime and bash hook
|
|
@@ -90,21 +108,25 @@ waitspin grok status
|
|
|
90
108
|
|
|
91
109
|
API base: `https://api.waitspin.com`
|
|
92
110
|
|
|
93
|
-
The public package
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
111
|
+
The public package manages the public target set: the status-bar-fallback
|
|
112
|
+
extension path for VS Code, Cursor Editor Mode, and Devin Desktop through Open
|
|
113
|
+
VSX, the Claude Code statusline command, the Antigravity CLI statusline command,
|
|
114
|
+
the GitHub Copilot CLI statusline command, the MiMo Code shell hook, the
|
|
115
|
+
OpenCode TUI plugin slot, and the Grok Code CLI footer. Claude Code,
|
|
116
|
+
Antigravity CLI, and GitHub Copilot CLI support use
|
|
117
|
+
first-class `statusLine.command` paths and do not patch native binaries. MiMo
|
|
118
|
+
Code uses a bash hook that polls the API for sponsored messages. OpenCode uses
|
|
119
|
+
its TUI `app_bottom` plugin slot. Grok Code CLI uses a managed text-asset
|
|
120
|
+
footer patch with hash-backed backup/restore and does not patch native
|
|
121
|
+
binaries.
|
|
101
122
|
|
|
102
123
|
`waitspin install --all` is an advanced agent command for installing every
|
|
103
|
-
detected
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
`
|
|
124
|
+
detected all-install target: VS Code plus CLI-managed targets. Cursor Editor
|
|
125
|
+
Mode and Devin Desktop stay on the explicit editor-extension install paths
|
|
126
|
+
above. Install-all keeps explicit target commands as the canonical debug path,
|
|
127
|
+
supports `--dry-run`, skips unsupported local tools in `skipped_not_detected`,
|
|
128
|
+
reports recoverable config conflicts in `skipped_conflict`, and reports
|
|
129
|
+
unexpected installer failures in `failed_rollback`.
|
|
108
130
|
|
|
109
131
|
Payout execution is guarded server-side. Public launch proof uses Stripe test
|
|
110
132
|
mode with `waitspin wallet payout --confirm-test-transfer`; live transfers stay
|
|
@@ -122,12 +144,16 @@ user install polling/events:
|
|
|
122
144
|
```bash
|
|
123
145
|
npx waitspin init --email you@example.com --key-profile publisher-extension
|
|
124
146
|
code --install-extension waitspin.waitspin-vscode
|
|
125
|
-
|
|
147
|
+
cursor --install-extension waitspin.waitspin-vscode
|
|
148
|
+
devin-desktop --install-extension waitspin.waitspin-vscode
|
|
149
|
+
# Then run "WaitSpin: Connect and earn" inside the matching editor.
|
|
126
150
|
npx waitspin install --all --dry-run --api-key PASTE_PUBLISHER_EXTENSION_KEY --compose-existing
|
|
127
151
|
npx waitspin install --all --api-key PASTE_PUBLISHER_EXTENSION_KEY --compose-existing
|
|
128
152
|
npx waitspin status --all
|
|
129
153
|
npx waitspin extension install --target vscode --api-key PASTE_PUBLISHER_EXTENSION_KEY
|
|
130
154
|
npx waitspin claude-code install --api-key PASTE_PUBLISHER_EXTENSION_KEY --compose-existing
|
|
155
|
+
npx waitspin antigravity install --api-key PASTE_PUBLISHER_EXTENSION_KEY --compose-existing
|
|
156
|
+
npx waitspin copilot install --api-key PASTE_PUBLISHER_EXTENSION_KEY --compose-existing
|
|
131
157
|
npx waitspin mimocode install --api-key PASTE_PUBLISHER_EXTENSION_KEY
|
|
132
158
|
npx waitspin opencode install --api-key PASTE_PUBLISHER_EXTENSION_KEY
|
|
133
159
|
npx waitspin grok install --api-key PASTE_PUBLISHER_EXTENSION_KEY
|
|
@@ -137,17 +163,25 @@ npx waitspin grok install --api-key PASTE_PUBLISHER_EXTENSION_KEY
|
|
|
137
163
|
- `WAITSPIN_INSTALL_ID` — from `waitspin extension install` or `waitspin claude-code install`
|
|
138
164
|
|
|
139
165
|
The VS Code Marketplace extension should normally be connected through
|
|
140
|
-
`WaitSpin: Connect and earn`, which stores the extension key in VS
|
|
141
|
-
SecretStorage and stores the install ID in user-scoped extension
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
166
|
+
`WaitSpin: Connect and earn`, which stores the extension key in VS
|
|
167
|
+
Code-compatible SecretStorage and stores the install ID in user-scoped extension
|
|
168
|
+
state. Cursor uses the same extension ID, and Devin Desktop uses the Open VSX
|
|
169
|
+
listing at `https://open-vsx.org/extension/waitspin/waitspin-vscode`. The legacy
|
|
170
|
+
`waitspin.apiKey` User setting is still migrated into SecretStorage for
|
|
171
|
+
fallback/rotation, but normal user operation does not require copying install
|
|
172
|
+
IDs or broad control keys into workspace settings.
|
|
145
173
|
|
|
146
174
|
The Claude Code installer writes a managed statusline runtime/state under
|
|
147
175
|
`~/.waitspin` and updates `~/.claude/settings.json` with a safe
|
|
148
176
|
`statusLine.command`. It fails fast when an existing unmanaged statusline is
|
|
149
177
|
present unless `--compose-existing` is explicitly requested and restorable.
|
|
150
178
|
|
|
179
|
+
The Antigravity CLI and GitHub Copilot CLI installers write managed
|
|
180
|
+
runtime/state under `~/.waitspin` and configure their first-class
|
|
181
|
+
`statusLine.command` settings without patching native binaries. Both fail fast
|
|
182
|
+
when an existing unmanaged statusline is present unless `--compose-existing` is
|
|
183
|
+
explicitly requested and restorable.
|
|
184
|
+
|
|
151
185
|
The MiMo Code installer writes a managed runtime script under `~/.local/bin/`
|
|
152
186
|
and a bash hook in `~/.bashrc`. It polls the API for sponsored messages and
|
|
153
187
|
displays them in the terminal.
|
|
@@ -160,7 +194,8 @@ The Grok Code CLI installer writes a managed runtime/state under `~/.waitspin`
|
|
|
160
194
|
and patches the verified OpenTUI footer text asset with a hash-backed backup so
|
|
161
195
|
uninstall can restore the original file.
|
|
162
196
|
|
|
163
|
-
Cline VS Code extension installs
|
|
197
|
+
Cline VS Code extension installs, Cursor Editor Mode, and Devin Desktop are
|
|
198
|
+
covered by the VS Code-compatible Activity Bar/status-bar extension target.
|
|
164
199
|
Standalone Cline CLI is not a public install target until Cline exposes an
|
|
165
200
|
official statusline/plugin surface.
|
|
166
201
|
|
|
@@ -176,4 +211,6 @@ npx --yes waitspin --help
|
|
|
176
211
|
npx --yes waitspin@latest mimocode status
|
|
177
212
|
npx --yes waitspin@latest opencode status
|
|
178
213
|
npx --yes waitspin@latest grok status
|
|
214
|
+
npx --yes waitspin@latest antigravity status
|
|
215
|
+
npx --yes waitspin@latest copilot status
|
|
179
216
|
```
|