@llblab/pi-actors 0.22.0 → 0.22.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/CHANGELOG.md CHANGED
@@ -2,6 +2,11 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 0.22.1: Tool Registration Lens Hotfix
6
+
7
+ - `[Skills]` Added tool-registration lenses to the packaged actors skill so agents prefer persistent tools for error-prone workflows, safe preflights around dangerous operations, and context-affordance shortcuts that should be visible in future sessions.
8
+ - `[Package]` Bumped package metadata, lockfile metadata, and packaged skill metadata for the hotfix release.
9
+
5
10
  ## 0.22.0: Cross-Platform Runtime Notification Layer
6
11
 
7
12
  - `[Runtime]` Started the cross-platform notification layer with a file-backed advisory wake notifier (`wake.jsonl`), explicit initial/wake/poll reconciliation callbacks, periodic reconciliation fallback, and run-message/room-message/branch-inbox wake records. Run messages now persist a canonical inbox record before optional endpoint delivery, can accept mailbox-only control endpoints without FIFO/named-pipe transport, mark delivered endpoint messages `sent`, expose recent run inbox entries through `inspect view=mailbox`, and provide locked run-inbox claim/handle/fail helpers for runtime reconciliation loops. Files remain the canonical mailbox/event state for inspection and crash recovery.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@llblab/pi-actors",
3
- "version": "0.22.0",
3
+ "version": "0.22.1",
4
4
  "private": false,
5
5
  "description": "Local Actor Kernel for Pi",
6
6
  "keywords": [
@@ -2,7 +2,7 @@
2
2
  name: actors
3
3
  description: Highest-density practical guide for pi-actors. Read this skill whenever prompt and tools are not enough for spawn, message, inspect, actor runs, tools, recipes, command templates, async lifecycle, mailboxes, artifacts, and local orchestration mechanics.
4
4
  metadata:
5
- version: 0.22.0
5
+ version: 0.22.1
6
6
  ---
7
7
 
8
8
  # Actors (pi-actors)
@@ -244,6 +244,14 @@ Cleanup rule: periodically inspect `~/.pi/agent/recipes` as the live muscle-memo
244
244
 
245
245
  Use it when a command/template/recipe should become durable agent muscle memory. Prefer typed args or placeholder-derived args; use `update=true` for replacement and `template=null` or `template=""` for deletion. `register_tool` should create/update/delete recipe files in the user recipe root; direct file editing is allowed but is the lower-level path.
246
246
 
247
+ Tool-registration lenses:
248
+
249
+ 1. **Error-prone operation lens**: register wrappers for workflows agents often mis-sequence or under-check, such as release preflights, tag verification, package version checks, and context validation.
250
+ 2. **Dangerous operation safety lens**: prefer safe read-only or preflight tools around irreversible actions (`push`, `merge`, `tag`, `publish`, destructive cleanup). The tool should make the risky state visible and should not perform the irreversible step unless that is explicitly its guarded purpose.
251
+ 3. **Context-affordance lens**: register tools that should be injected as visible capabilities because their presence changes agent behavior for the better. A named tool like `release_preflight` makes the safe path more salient than a remembered shell incantation.
252
+
253
+ Default bias: register diagnostic/preflight tools before action tools. A good persistent tool shrinks the chance of a subtle operational mistake, not just the number of keystrokes.
254
+
247
255
  Tool templates may be:
248
256
 
249
257
  - A foreground command template.
@@ -2,7 +2,7 @@
2
2
  name: swarm
3
3
  description: Subagent orchestration with scoped locks and quorum consensus. Use for multi-model review, parallel scoped work, delegated audit, and coordinated subagent execution.
4
4
  metadata:
5
- version: 0.22.0
5
+ version: 0.22.1
6
6
  ---
7
7
 
8
8
  # Swarm