waitspin 0.1.9 → 0.1.11
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 +55 -23
- package/dist/cli.js +1504 -188
- package/dist/cli.js.map +1 -1
- package/package.json +3 -2
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
|
|
@@ -62,6 +64,10 @@ waitspin opencode status
|
|
|
62
64
|
# Or install for Grok Code CLI footer
|
|
63
65
|
waitspin grok install --api-key PASTE_PUBLISHER_EXTENSION_KEY
|
|
64
66
|
waitspin grok status
|
|
67
|
+
|
|
68
|
+
# Or install for Qoder CLI UserPromptSubmit/Stop hooks
|
|
69
|
+
waitspin qoder install --api-key PASTE_PUBLISHER_EXTENSION_KEY
|
|
70
|
+
waitspin qoder status
|
|
65
71
|
```
|
|
66
72
|
|
|
67
73
|
## Commands
|
|
@@ -76,12 +82,14 @@ waitspin grok status
|
|
|
76
82
|
- `waitspin wallet ledger` — user delivery ledger
|
|
77
83
|
- `waitspin wallet payout --dry-run` — payout eligibility preview
|
|
78
84
|
- `code --install-extension waitspin.waitspin-vscode` — install the public VS Code Marketplace extension
|
|
79
|
-
- `
|
|
85
|
+
- `cursor --install-extension waitspin.waitspin-vscode` — install the same VS Code-compatible extension into Cursor Editor Mode
|
|
86
|
+
- `devin-desktop --install-extension waitspin.waitspin-vscode` — install the same extension into Devin Desktop from Open VSX when the desktop CLI is on PATH
|
|
87
|
+
- `WaitSpin: Connect and earn` — connect the VS Code-compatible extension from inside the matching editor
|
|
80
88
|
- `waitspin extension install --target vscode --api-key PASTE_PUBLISHER_EXTENSION_KEY` — advanced CLI fallback for VS Code extension setup
|
|
81
89
|
- `waitspin extension status --target vscode` — inspect managed VS Code extension lifecycle state
|
|
82
90
|
- `waitspin extension uninstall --target vscode` — remove the managed VS Code extension runtime and local state
|
|
83
91
|
- `waitspin install --all --dry-run` — preview detected user surfaces without file changes
|
|
84
|
-
- `waitspin install --all` — install every detected
|
|
92
|
+
- `waitspin install --all` — install every detected all-install surface: VS Code plus CLI-managed targets
|
|
85
93
|
- `waitspin status --all` — aggregate lifecycle status for every user surface
|
|
86
94
|
- `waitspin claude-code install --compose-existing` — install the Claude Code statusline command
|
|
87
95
|
- `waitspin claude-code status` — inspect managed Claude Code runtime state
|
|
@@ -101,26 +109,35 @@ waitspin grok status
|
|
|
101
109
|
- `waitspin grok install` — install the Grok Code CLI footer surface
|
|
102
110
|
- `waitspin grok status` — inspect managed Grok Code CLI runtime state
|
|
103
111
|
- `waitspin grok uninstall` — restore Grok Code CLI and remove managed state
|
|
112
|
+
- `waitspin qoder install` — install the Qoder CLI UserPromptSubmit/Stop hooks
|
|
113
|
+
- `waitspin qoder status` — inspect managed Qoder CLI runtime state
|
|
114
|
+
- `waitspin qoder uninstall` — remove the managed Qoder hook and local state
|
|
104
115
|
|
|
105
116
|
API base: `https://api.waitspin.com`
|
|
106
117
|
|
|
107
|
-
The public package
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
the
|
|
111
|
-
|
|
118
|
+
The public package manages the public target set: the status-bar-fallback
|
|
119
|
+
extension path for VS Code, Cursor Editor Mode, and Devin Desktop through Open
|
|
120
|
+
VSX, the Claude Code statusline command, the Antigravity CLI statusline command,
|
|
121
|
+
the GitHub Copilot CLI statusline command, the MiMo Code shell hook, the
|
|
122
|
+
OpenCode TUI plugin slot, the Grok Code CLI footer, and the Qoder CLI
|
|
123
|
+
UserPromptSubmit/Stop hooks. Claude Code,
|
|
124
|
+
Antigravity CLI, and GitHub Copilot CLI support use
|
|
112
125
|
first-class `statusLine.command` paths and do not patch native binaries. MiMo
|
|
113
126
|
Code uses a bash hook that polls the API for sponsored messages. OpenCode uses
|
|
114
127
|
its TUI `app_bottom` plugin slot. Grok Code CLI uses a managed text-asset
|
|
115
128
|
footer patch with hash-backed backup/restore and does not patch native
|
|
116
|
-
binaries.
|
|
129
|
+
binaries. Qoder CLI uses the official `UserPromptSubmit` hook with
|
|
130
|
+
`statusMessage`/`systemMessage` plus the official `Stop` hook for the later
|
|
131
|
+
visibility callback; it does not patch native binaries or npm
|
|
132
|
+
package files.
|
|
117
133
|
|
|
118
134
|
`waitspin install --all` is an advanced agent command for installing every
|
|
119
|
-
detected
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
`
|
|
135
|
+
detected all-install target: VS Code plus CLI-managed targets. Cursor Editor
|
|
136
|
+
Mode and Devin Desktop stay on the explicit editor-extension install paths
|
|
137
|
+
above. Install-all keeps explicit target commands as the canonical debug path,
|
|
138
|
+
supports `--dry-run`, skips unsupported local tools in `skipped_not_detected`,
|
|
139
|
+
reports recoverable config conflicts in `skipped_conflict`, and reports
|
|
140
|
+
unexpected installer failures in `failed_rollback`.
|
|
124
141
|
|
|
125
142
|
Payout execution is guarded server-side. Public launch proof uses Stripe test
|
|
126
143
|
mode with `waitspin wallet payout --confirm-test-transfer`; live transfers stay
|
|
@@ -138,7 +155,9 @@ user install polling/events:
|
|
|
138
155
|
```bash
|
|
139
156
|
npx waitspin init --email you@example.com --key-profile publisher-extension
|
|
140
157
|
code --install-extension waitspin.waitspin-vscode
|
|
141
|
-
|
|
158
|
+
cursor --install-extension waitspin.waitspin-vscode
|
|
159
|
+
devin-desktop --install-extension waitspin.waitspin-vscode
|
|
160
|
+
# Then run "WaitSpin: Connect and earn" inside the matching editor.
|
|
142
161
|
npx waitspin install --all --dry-run --api-key PASTE_PUBLISHER_EXTENSION_KEY --compose-existing
|
|
143
162
|
npx waitspin install --all --api-key PASTE_PUBLISHER_EXTENSION_KEY --compose-existing
|
|
144
163
|
npx waitspin status --all
|
|
@@ -149,17 +168,20 @@ npx waitspin copilot install --api-key PASTE_PUBLISHER_EXTENSION_KEY --compose-e
|
|
|
149
168
|
npx waitspin mimocode install --api-key PASTE_PUBLISHER_EXTENSION_KEY
|
|
150
169
|
npx waitspin opencode install --api-key PASTE_PUBLISHER_EXTENSION_KEY
|
|
151
170
|
npx waitspin grok install --api-key PASTE_PUBLISHER_EXTENSION_KEY
|
|
171
|
+
npx waitspin qoder install --api-key PASTE_PUBLISHER_EXTENSION_KEY
|
|
152
172
|
```
|
|
153
173
|
|
|
154
174
|
- `WAITSPIN_API_KEY` — temporary extension API key for CLI fallback flows
|
|
155
175
|
- `WAITSPIN_INSTALL_ID` — from `waitspin extension install` or `waitspin claude-code install`
|
|
156
176
|
|
|
157
177
|
The VS Code Marketplace extension should normally be connected through
|
|
158
|
-
`WaitSpin: Connect and earn`, which stores the extension key in VS
|
|
159
|
-
SecretStorage and stores the install ID in user-scoped extension
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
178
|
+
`WaitSpin: Connect and earn`, which stores the extension key in VS
|
|
179
|
+
Code-compatible SecretStorage and stores the install ID in user-scoped extension
|
|
180
|
+
state. Cursor uses the same extension ID, and Devin Desktop uses the Open VSX
|
|
181
|
+
listing at `https://open-vsx.org/extension/waitspin/waitspin-vscode`. The legacy
|
|
182
|
+
`waitspin.apiKey` User setting is still migrated into SecretStorage for
|
|
183
|
+
fallback/rotation, but normal user operation does not require copying install
|
|
184
|
+
IDs or broad control keys into workspace settings.
|
|
163
185
|
|
|
164
186
|
The Claude Code installer writes a managed statusline runtime/state under
|
|
165
187
|
`~/.waitspin` and updates `~/.claude/settings.json` with a safe
|
|
@@ -184,7 +206,16 @@ The Grok Code CLI installer writes a managed runtime/state under `~/.waitspin`
|
|
|
184
206
|
and patches the verified OpenTUI footer text asset with a hash-backed backup so
|
|
185
207
|
uninstall can restore the original file.
|
|
186
208
|
|
|
187
|
-
|
|
209
|
+
The Qoder CLI installer writes a managed hook runtime/state/cache under
|
|
210
|
+
`~/.waitspin` and adds managed `UserPromptSubmit` and `Stop` hook entries to
|
|
211
|
+
`~/.qoder/settings.json`. The hook returns dynamic sponsored copy through
|
|
212
|
+
Qoder's `systemMessage` response only after fetching WaitSpin inventory; the
|
|
213
|
+
static hook `statusMessage` is a generic sponsor check and is not billable by
|
|
214
|
+
itself. A billable Qoder impression also requires a later official Qoder hook
|
|
215
|
+
callback after the minimum visible interval.
|
|
216
|
+
|
|
217
|
+
Cline VS Code extension installs, Cursor Editor Mode, and Devin Desktop are
|
|
218
|
+
covered by the VS Code-compatible Activity Bar/status-bar extension target.
|
|
188
219
|
Standalone Cline CLI is not a public install target until Cline exposes an
|
|
189
220
|
official statusline/plugin surface.
|
|
190
221
|
|
|
@@ -202,4 +233,5 @@ npx --yes waitspin@latest opencode status
|
|
|
202
233
|
npx --yes waitspin@latest grok status
|
|
203
234
|
npx --yes waitspin@latest antigravity status
|
|
204
235
|
npx --yes waitspin@latest copilot status
|
|
236
|
+
npx --yes waitspin@latest qoder status
|
|
205
237
|
```
|