pikibun 0.22.0 → 0.24.0
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 +2 -8
- package/dist/chunks/{chunk-KOZ2NZL7.js → chunk-XNVA5UWA.js} +7328 -1796
- package/dist/chunks/{cli-OGQRYOKN.js → cli-L6ODIDYQ.js} +13272 -13060
- package/dist/cli.js +10 -9
- package/dist/migrations/postgres/0044_host_browser.sql +6 -0
- package/dist/migrations/postgres/0045_connector_version.sql +6 -0
- package/dist/migrations/postgres/0046_session_tunnels.sql +12 -0
- package/dist/migrations/postgres/0047_native_page_callback.sql +4 -0
- package/dist/migrations/sqlite/0051_host_browser.sql +4 -0
- package/dist/migrations/sqlite/0052_connector_version.sql +4 -0
- package/dist/migrations/sqlite/0053_session_tunnels.sql +10 -0
- package/dist/migrations/sqlite/0054_native_page_callback.sql +4 -0
- package/dist/web/app.1d48db9d4c.js +12 -0
- package/dist/web/app.1d48db9d4c.js.br +0 -0
- package/dist/web/app.1d48db9d4c.js.gz +0 -0
- package/dist/web/browser.991ab24c49/LICENSES.txt +83 -0
- package/dist/web/browser.991ab24c49/LICENSES.txt.br +0 -0
- package/dist/web/browser.991ab24c49/LICENSES.txt.gz +0 -0
- package/dist/web/browser.991ab24c49/animation.js +1 -0
- package/dist/web/browser.991ab24c49/animation.js.br +0 -0
- package/dist/web/browser.991ab24c49/animation.js.gz +0 -0
- package/dist/web/browser.991ab24c49/bootstrap.js +1 -0
- package/dist/web/browser.991ab24c49/buffer.js +1 -0
- package/dist/web/browser.991ab24c49/buffer.js.br +0 -0
- package/dist/web/browser.991ab24c49/buffer.js.gz +0 -0
- package/dist/web/browser.991ab24c49/canvas.js +1 -0
- package/dist/web/browser.991ab24c49/canvas.js.br +0 -0
- package/dist/web/browser.991ab24c49/canvas.js.gz +0 -0
- package/dist/web/browser.991ab24c49/components.js +1 -0
- package/dist/web/browser.991ab24c49/components.js.br +0 -0
- package/dist/web/browser.991ab24c49/components.js.gz +0 -0
- package/dist/web/browser.991ab24c49/dom.js +1 -0
- package/dist/web/browser.991ab24c49/dom.js.br +0 -0
- package/dist/web/browser.991ab24c49/dom.js.gz +0 -0
- package/dist/web/browser.991ab24c49/environment.js +1 -0
- package/dist/web/browser.991ab24c49/environment.js.br +0 -0
- package/dist/web/browser.991ab24c49/environment.js.gz +0 -0
- package/dist/web/browser.991ab24c49/gesture.js +1 -0
- package/dist/web/browser.991ab24c49/gesture.js.br +0 -0
- package/dist/web/browser.991ab24c49/gesture.js.gz +0 -0
- package/dist/web/browser.991ab24c49/host.js +1 -0
- package/dist/web/browser.991ab24c49/host.js.br +0 -0
- package/dist/web/browser.991ab24c49/host.js.gz +0 -0
- package/dist/web/browser.991ab24c49/hot.js +1 -0
- package/dist/web/browser.991ab24c49/hot.js.br +0 -0
- package/dist/web/browser.991ab24c49/hot.js.gz +0 -0
- package/dist/web/browser.991ab24c49/keymap.js +1 -0
- package/dist/web/browser.991ab24c49/keymap.js.br +0 -0
- package/dist/web/browser.991ab24c49/keymap.js.gz +0 -0
- package/dist/web/browser.991ab24c49/list.js +1 -0
- package/dist/web/browser.991ab24c49/list.js.br +0 -0
- package/dist/web/browser.991ab24c49/list.js.gz +0 -0
- package/dist/web/browser.991ab24c49/loader.js +1 -0
- package/dist/web/browser.991ab24c49/modules.js +1 -0
- package/dist/web/browser.991ab24c49/modules.js.br +0 -0
- package/dist/web/browser.991ab24c49/modules.js.gz +0 -0
- package/dist/web/browser.991ab24c49/navigation.js +1 -0
- package/dist/web/browser.991ab24c49/navigation.js.br +0 -0
- package/dist/web/browser.991ab24c49/navigation.js.gz +0 -0
- package/dist/web/browser.991ab24c49/path.js +1 -0
- package/dist/web/browser.991ab24c49/path.js.br +0 -0
- package/dist/web/browser.991ab24c49/path.js.gz +0 -0
- package/dist/web/browser.991ab24c49/reactive.js +1 -0
- package/dist/web/browser.991ab24c49/reactive.js.br +0 -0
- package/dist/web/browser.991ab24c49/reactive.js.gz +0 -0
- package/dist/web/browser.991ab24c49/realm.js +1 -0
- package/dist/web/browser.991ab24c49/resource.js +1 -0
- package/dist/web/browser.991ab24c49/resource.js.br +0 -0
- package/dist/web/browser.991ab24c49/resource.js.gz +0 -0
- package/dist/web/browser.991ab24c49/runtime.js +2 -0
- package/dist/web/browser.991ab24c49/runtime.js.br +0 -0
- package/dist/web/browser.991ab24c49/runtime.js.gz +0 -0
- package/dist/web/browser.991ab24c49/scope.js +1 -0
- package/dist/web/browser.991ab24c49/scope.js.br +0 -0
- package/dist/web/browser.991ab24c49/scope.js.gz +0 -0
- package/dist/web/browser.991ab24c49/standard.js +1 -0
- package/dist/web/browser.991ab24c49/standard.js.br +0 -0
- package/dist/web/browser.991ab24c49/standard.js.gz +0 -0
- package/dist/web/browser.991ab24c49/testing.js +1 -0
- package/dist/web/browser.991ab24c49/testing.js.br +0 -0
- package/dist/web/browser.991ab24c49/testing.js.gz +0 -0
- package/dist/web/browser.991ab24c49/values.js +1 -0
- package/dist/web/browser.991ab24c49/values.js.br +0 -0
- package/dist/web/browser.991ab24c49/values.js.gz +0 -0
- package/dist/web/host.a102cc9754.js +38 -0
- package/dist/web/host.a102cc9754.js.br +0 -0
- package/dist/web/host.a102cc9754.js.gz +0 -0
- package/dist/web/icons/180.c8c643a608.png +0 -0
- package/dist/web/icons/192.c099d3e1ed.png +0 -0
- package/dist/web/icons/32.caf706bbd1.png +0 -0
- package/dist/web/icons/512.e2c2dd9ba7.png +0 -0
- package/dist/web/index.html +129 -14
- package/dist/web/index.html.br +0 -0
- package/dist/web/index.html.gz +0 -0
- package/dist/web/manifest.webmanifest +22 -0
- package/dist/web/nsh-math.7ad3060fbc.wasm +0 -0
- package/dist/web/nsh-math.7ad3060fbc.wasm.br +0 -0
- package/dist/web/nsh-math.7ad3060fbc.wasm.gz +0 -0
- package/dist/web/nsh-math.cc869361ca.bin +0 -0
- package/dist/web/nsh-syntaxes.ea0da56d04.bin +0 -0
- package/dist/web/nsh-syntaxes.ea0da56d04.bin.br +0 -0
- package/dist/web/nsh-syntaxes.ea0da56d04.bin.gz +0 -0
- package/dist/web/nsh.5be0579ad8.wasm +0 -0
- package/dist/web/nsh.5be0579ad8.wasm.br +0 -0
- package/dist/web/nsh.5be0579ad8.wasm.gz +0 -0
- package/dist/web/nsh.89070fe10a.js +259 -0
- package/dist/web/nsh.89070fe10a.js.br +0 -0
- package/dist/web/nsh.89070fe10a.js.gz +0 -0
- package/npm-shrinkwrap.json +251 -220
- package/package.json +8 -7
- package/dist/web/assets/index-BdJ_-50H.js +0 -62
- package/dist/web/assets/index-ClW_3YVo.js +0 -5
- package/dist/web/assets/index-DR-JFaOB.css +0 -1
- package/dist/web/favicon.svg +0 -1
- package/dist/web/sw.js +0 -61
package/README.md
CHANGED
|
@@ -54,15 +54,9 @@ Model credentials stay in Pi on your host. Pairing keeps the host private to you
|
|
|
54
54
|
|
|
55
55
|
The connector offers the models matched by `enabledModels` in Pi's `settings.json` (the same patterns Pi uses for model cycling, e.g. `"anthropic/*"`, `"*/claude-opus-5-5*"`), or every authenticated Pi model when that list is unset. `--model PROVIDER/MODEL` (repeatable) overrides both. In the web app, you and the host's admins can also disable any of these models, for everyone who uses the host, without restarting the connector (**Settings → Hosts →** the host **→ Models**).
|
|
56
56
|
|
|
57
|
-
## Host commands
|
|
57
|
+
## Host commands
|
|
58
58
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
**Host commands run outside the sandbox as the connector's OS user.** They can read or change host files and credentials, access the network, and launch other processes. They have no CPU, memory, process-count or disk quotas. Pikibun passes the host's `PATH` and `HOME`, not the connector's entire environment, and starts Bash without shell profiles, in the session worktree. Use an absolute SDK path or configure the connector's `PATH` if a tool is only available in your interactive shell.
|
|
62
|
-
|
|
63
|
-
Commands run in the session's worktree, whose files and Git configuration the agent can change: builds, package scripts, Git hooks and settings such as `core.fsmonitor` there can run the agent's code on the host, even for a command that looks harmless like `git status`. Approve a host command only if you would run it yourself in that directory.
|
|
64
|
-
|
|
65
|
-
Each exact command and timeout needs the approval of the **host owner**, or of a member they (or one of the host's admins) granted host commands, in the session. On a shared host, the approver must also have approve access to the session. The session owner's **Auto-approve** skips this decision only when they own the host too, or hold an automatic host command grant on it; without one it never authorizes commands on someone else's host. Commands default to a five-minute timeout (`timeout_seconds`, 1-3600); timeout, cancellation and output limits terminate the process group, but cannot contain an unrestricted command that deliberately detaches processes.
|
|
59
|
+
Sessions have no shell on the host: `host_bash` was removed. What runs outside the sandbox as the connector's OS user are the tools of the workspace's [extensions](../../docs/extensions.md), and every command of a session that runs on the host itself. Each needs the approval of the **host owner**, or of a member they (or one of the host's admins) granted host commands; see [host commands](../../docs/host-commands.md). For an SDK the sandbox lacks, install it where the sandbox sees it (`/usr` or `/usr/local`).
|
|
66
60
|
|
|
67
61
|
## macOS, Windows and hosts without bubblewrap
|
|
68
62
|
|