viveworker 0.7.0-beta.1 → 0.7.0-beta.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.
- package/README.md +29 -0
- package/package.json +2 -1
- package/scripts/share-cli.mjs +1 -0
- package/scripts/viveworker-bridge.mjs +2576 -146
- package/viveworker.env.example +4 -0
- package/web/app.css +787 -9
- package/web/app.js +1664 -61
- package/web/hazbase-passkey.js +107 -0
- package/web/i18n.js +254 -0
- package/web/sw.js +33 -15
package/README.md
CHANGED
|
@@ -201,6 +201,12 @@ The idea is simple:
|
|
|
201
201
|
- the result is handed back through File Share
|
|
202
202
|
- the requester unlocks the deliverable on testnet
|
|
203
203
|
|
|
204
|
+
When the seller wants payouts to go to a hazbase-managed wallet instead of a raw EOA, the recommended flow is:
|
|
205
|
+
|
|
206
|
+
- the human completes OTP / passkey / wallet issuance in `Settings -> Integrations -> Wallet`
|
|
207
|
+
- the agent resolves the local payout address from `/api/hazbase/payout-address`
|
|
208
|
+
- the agent passes that resolved address to `share upload` / `share update --pay-to`
|
|
209
|
+
|
|
204
210
|
This is not meant as a generic "payments feature."
|
|
205
211
|
The interesting part is the agent workflow: request, delivery, handoff, and unlock stay cleanly separated.
|
|
206
212
|
|
|
@@ -220,6 +226,29 @@ Run `npx viveworker enable claude` if you want to repair the hooks later or targ
|
|
|
220
226
|
|
|
221
227
|
Advanced: pass `--settings-file <path>` (or `--claude-settings-file <path>`) to target a non-default Claude settings file.
|
|
222
228
|
|
|
229
|
+
## Auto Pilot
|
|
230
|
+
|
|
231
|
+
`viveworker` also includes **Auto Pilot**, a conservative auto-approval layer for the current workspace.
|
|
232
|
+
|
|
233
|
+
You can enable it from `Settings > Auto Pilot`.
|
|
234
|
+
|
|
235
|
+
Today it exposes two families of policy:
|
|
236
|
+
|
|
237
|
+
- **Safe reads**: auto-approve common workspace-only read commands such as `rg`, `find`, `git diff`, `git show`, `sed -n`, `head`, `tail`, and `wc`
|
|
238
|
+
- **Low-risk writes**: auto-approve small file changes only when they fit one of these lanes:
|
|
239
|
+
- `Content & copy`
|
|
240
|
+
- `UI & tests`
|
|
241
|
+
- `Small code patches (beta)`
|
|
242
|
+
|
|
243
|
+
Important boundaries:
|
|
244
|
+
|
|
245
|
+
- Auto Pilot is scoped to the **current workspace only**
|
|
246
|
+
- secrets, config, deploy, auth, payment, networked changes, and anything outside the current workspace stay manual
|
|
247
|
+
- `Small code patches (beta)` is stricter than the other write lanes and expects a recent read of the same file in the same thread
|
|
248
|
+
|
|
249
|
+
When Auto Pilot does not approve something, the request stays in the normal phone approval flow.
|
|
250
|
+
The approval detail view also explains why it stayed manual, so it is easier to tune and trust over time.
|
|
251
|
+
|
|
223
252
|
### Sync Mode (for Claude plans and questions)
|
|
224
253
|
|
|
225
254
|
Claude Desktop exposes approval hooks but has no native IPC for answering `ExitPlanMode` / `AskUserQuestion` prompts remotely. To let you answer plans and questions from your paired device, `viveworker` offers **Sync mode** (toggle in `Settings`, formerly "Away mode"):
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "viveworker",
|
|
3
|
-
"version": "0.7.0-beta.
|
|
3
|
+
"version": "0.7.0-beta.2",
|
|
4
4
|
"description": "Open mobile control surface for Codex, Claude, Thread Sharing, File Share, Moltbook, and A2A tasks on your trusted LAN.",
|
|
5
5
|
"author": "Yuta Hoshino <hoshino.lireneo@gmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -61,6 +61,7 @@
|
|
|
61
61
|
"ntfy/docker-compose.yml.example"
|
|
62
62
|
],
|
|
63
63
|
"dependencies": {
|
|
64
|
+
"@hazbase/auth": "^0.5.0",
|
|
64
65
|
"qrcode-terminal": "^0.12.0",
|
|
65
66
|
"web-push": "^3.6.7"
|
|
66
67
|
},
|
package/scripts/share-cli.mjs
CHANGED
|
@@ -89,6 +89,7 @@ function printHelp() {
|
|
|
89
89
|
console.log("");
|
|
90
90
|
console.log("Paid shares (x402 / USDC on Base — CLOSED BETA, testnet only): --price 0.10 --pay-to 0x…");
|
|
91
91
|
console.log(" Buyers use any x402-compatible client (e.g. `x402-fetch` on npm).");
|
|
92
|
+
console.log(" To use a hazbase wallet as payTo, resolve it first via the local /api/hazbase/payout-address endpoint.");
|
|
92
93
|
console.log(" --price and --password are mutually exclusive on a single share.");
|
|
93
94
|
console.log(" `share list --metrics` prints 24h / 7d payment-flow stats for your shares.");
|
|
94
95
|
console.log("");
|