pikibun 0.21.0 → 0.22.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 +3 -1
- package/dist/chunks/{chunk-3TZBT5V3.js → chunk-KOZ2NZL7.js} +2927 -2469
- package/dist/chunks/{cli-IULTMVDM.js → cli-OGQRYOKN.js} +707 -82
- package/dist/cli.js +11 -6
- package/dist/migrations/postgres/0040_child_session_settings.sql +12 -0
- package/dist/migrations/postgres/0040_host_builtin_extensions.sql +5 -0
- package/dist/migrations/postgres/0040_notifications.sql +47 -0
- package/dist/migrations/postgres/0041_piki_extensions.sql +32 -0
- package/dist/migrations/postgres/0042_default_extensions.sql +23 -0
- package/dist/migrations/postgres/0043_host_required_extensions.sql +6 -0
- package/dist/migrations/sqlite/0047_child_session_settings.sql +10 -0
- package/dist/migrations/sqlite/0047_host_builtin_extensions.sql +3 -0
- package/dist/migrations/sqlite/0047_notifications.sql +45 -0
- package/dist/migrations/sqlite/0048_piki_extensions.sql +30 -0
- package/dist/migrations/sqlite/0049_default_extensions.sql +22 -0
- package/dist/migrations/sqlite/0050_host_required_extensions.sql +4 -0
- package/dist/web/assets/index-BdJ_-50H.js +62 -0
- package/dist/web/assets/{index-C4R4RKOE.js → index-ClW_3YVo.js} +1 -1
- package/dist/web/index.html +1 -1
- package/dist/web/sw.js +61 -0
- package/npm-shrinkwrap.json +3 -2
- package/package.json +2 -1
- package/dist/web/assets/index-DAiR46ZC.js +0 -62
package/README.md
CHANGED
|
@@ -66,7 +66,7 @@ Each exact command and timeout needs the approval of the **host owner**, or of a
|
|
|
66
66
|
|
|
67
67
|
## macOS, Windows and hosts without bubblewrap
|
|
68
68
|
|
|
69
|
-
The isolated sandbox needs Linux (or WSL2 on Windows). macOS and native Windows can try their own experimental sandboxes with `--experimental-sandbox` (see
|
|
69
|
+
The isolated sandbox needs Linux (or WSL2 on Windows). macOS and native Windows can try their own experimental sandboxes with `--experimental-sandbox` (see "Experimental sandboxes on macOS and Windows" in [`docs/hosts.md`](https://github.com/OpenCara/pikibun/blob/main/docs/hosts.md#experimental-sandboxes-on-macos-and-windows)). On macOS, native Windows, or Linux without bubblewrap, you can also opt out of isolation:
|
|
70
70
|
|
|
71
71
|
```sh
|
|
72
72
|
npx pikibun@latest connect --unsafe-no-sandbox
|
|
@@ -138,6 +138,8 @@ They live in the connector's state directory; npm runs none of their install scr
|
|
|
138
138
|
|
|
139
139
|
Extensions run in the connector, as this machine's user, with your files, credentials and network, outside the sandbox. Install only code you trust. Their tool calls are approved like host commands. Pikibun's own `web_fetch` and `web_search` tools are retired: web search comes from extensions.
|
|
140
140
|
|
|
141
|
+
Three extensions are built into the connector, so there is nothing to install: `piki:gh`, `piki:glab` and `piki:azure-cli` give sessions the GitHub, GitLab and Azure CLIs (`gh`, `glab`, `az`) where their workspace uses them. Install those commands on this machine and sign in to them (`gh auth login`, `glab auth login`, `az login` and `az extension add --name azure-devops`); their tool calls act as you. `pikibun extensions list` shows them.
|
|
142
|
+
|
|
141
143
|
## Chat options
|
|
142
144
|
|
|
143
145
|
In a session's chat box you can pick any model this host's Pi offers that isn't disabled in the web app, its reasoning level, and the access mode for each message: **Read only**, **Ask before acting** (the default) or **Auto-approve** (session owner only). Hosts running a connector older than 0.3.0 keep each session's pinned model; restart the connector with `npx pikibun@latest connect` to enable the options.
|