caplets 0.12.0 → 0.12.1

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
@@ -706,6 +706,24 @@ top-level MCP tool list without restarting Caplets. When an MCP-backed Caplet ch
706
706
  removed, Caplets closes only that affected downstream connection; unrelated Caplets and
707
707
  their downstream connections keep running.
708
708
 
709
+ ## Native Agent Integrations
710
+
711
+ Caplets can also run as native agent extensions when the host supports native tools. Native
712
+ integrations expose one prefixed tool per configured Caplet, such as `caplets_github`, while
713
+ reusing the same Caplets config and backend runtime.
714
+
715
+ - [`@caplets/opencode`](packages/opencode/README.md): OpenCode plugin that injects prompt guidance through plugin hooks instead of editing `opencode.json`.
716
+ - [`@caplets/pi`](packages/pi/README.md): Pi extension installable with `pi install npm:@caplets/pi`, with guidance provided through Pi tool prompt snippets and guidelines.
717
+
718
+ Native integrations hot reload config and Caplet file edits through the same runtime used by
719
+ `caplets serve`. Existing native tools execute against the latest valid config without host
720
+ restart. Pi also refreshes newly added Caplet tools at runtime and deactivates removed Caplet
721
+ tools when Pi's active-tool APIs are available. OpenCode's current plugin API snapshots the
722
+ tool inventory at plugin load, so adding, removing, or renaming OpenCode native tools still
723
+ requires restarting OpenCode; already-registered tools execute against live Caplets state, and
724
+ prompt guidance is rebuilt from current Caplets state for those initially registered tools only.
725
+ Newly added OpenCode tools are not advertised until restart.
726
+
709
727
  ## How Agents Use It
710
728
 
711
729
  Caplets initially exposes one MCP tool per enabled Caplet. If the config has `filesystem`,