pikibun 0.20.0 → 0.21.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 CHANGED
@@ -122,14 +122,21 @@ The sandbox has no network, so `gh` and `curl` inside it can't reach GitHub. Age
122
122
  - `github_comment` posts a comment. It waits for a human approval unless the session owner's message chose **Auto-approve**.
123
123
  - `github_issue` opens an issue with exactly the approved title and body in one of those repositories, and gives the agent its number and URL (connector newer than 0.9.0). It waits for a human approval unless the session owner's message chose **Auto-approve**. If GitHub refuses (issues turned off, no access), no issue is opened and the agent gets GitHub's reason.
124
124
 
125
- ## Web pages and search
125
+ ## Extensions
126
126
 
127
- Agents read web pages with `web_fetch` and search the web with `web_search` (connector newer than 0.9.0).
127
+ Sessions on this host run the Pi extensions their workspace chose that are installed here at the same version. The host's owner installs them from Pikibun (the host's page), or here:
128
128
 
129
- - `web_fetch` reads one `https://` page from this host, as far as the workspace's network access lets the session's sandbox reach, and never at an address in this host's own networks. It sends no cookies or credentials and only reads; HTML comes back as text, images as images. It needs no approval, during a shared message. On a host running without the sandbox it still follows the workspace's network access.
130
- - `web_search` asks Pikibun, which searches with the provider its operator configured, where the workspace turned web search on. The provider's key never reaches this host.
129
+ ```sh
130
+ npx pikibun@latest extensions add npm:cc-safety-net@2.7.2 # an exact version
131
+ npx pikibun@latest extensions add git:github.com/acme/ext@<commit> # a full commit, over https
132
+ npx pikibun@latest extensions add ./my-extension.ts # a dev extension: your own sessions only
133
+ npx pikibun@latest extensions list # what each offers, ignores, or why it doesn't load
134
+ npx pikibun@latest extensions remove cc-safety-net
135
+ ```
136
+
137
+ They live in the connector's state directory; npm runs none of their install scripts unless you add `--allow-scripts`. A running connector picks up changes made here within half a minute. `pikibun connect --no-remote-installs` refuses installs asked for in Pikibun.
131
138
 
132
- What they return is untrusted input, like any repository content.
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.
133
140
 
134
141
  ## Chat options
135
142