pi-landstrip 0.18.2 → 0.18.4
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 +15 -5
- package/dist/index.ts +823 -274
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -90,8 +90,8 @@ task's dedicated session directory. These paths are required to construct a
|
|
|
90
90
|
normal Pi worker and are not persisted into `sandbox.json`. The worker receives
|
|
91
91
|
write access only to its own session and temporary directories.
|
|
92
92
|
|
|
93
|
-
Use `/sandbox` to inspect or disable the sandbox. Use `/agents` to select
|
|
94
|
-
|
|
93
|
+
Use `/sandbox` to inspect or disable the sandbox. Use `/agents` to select and enable or
|
|
94
|
+
disable agents, inspect tasks, and edit agent and sandbox settings.
|
|
95
95
|
|
|
96
96
|
## Permission model
|
|
97
97
|
|
|
@@ -115,6 +115,12 @@ restrictions still apply to the resulting process.
|
|
|
115
115
|
visible primary agent. The built-in primary agents are `build` and `plan`. Build has
|
|
116
116
|
normal development access; plan asks before shell commands and file edits.
|
|
117
117
|
|
|
118
|
+
Press `Ctrl+G` to edit the selected agent into project scope. Markdown agents open as
|
|
119
|
+
their complete Markdown file; JSON-backed agents open as a one-agent JSON snippet that
|
|
120
|
+
is substituted back into the project configuration. Press `Ctrl+D`, then `Enter`, to
|
|
121
|
+
delete a project agent or override. Deletion is silently ignored for built-in and
|
|
122
|
+
global-only agents.
|
|
123
|
+
|
|
118
124
|
The selected prompt and permissions are stored in the session. Press `Ctrl+Shift+A`
|
|
119
125
|
while Pi is idle to cycle through visible primary agents.
|
|
120
126
|
|
|
@@ -231,8 +237,11 @@ Add agent configuration under `landstrip` in Pi `settings.json`:
|
|
|
231
237
|
}
|
|
232
238
|
```
|
|
233
239
|
|
|
234
|
-
`landstrip.maxSubagents` sets the maximum number of concurrent subagents from 0 to 16.
|
|
235
|
-
|
|
240
|
+
`landstrip.maxSubagents` sets the maximum number of concurrent subagents from 0 to 16.
|
|
241
|
+
The default is 1; zero disables `task`. In `/agents`, press `Shift+Tab` to switch the
|
|
242
|
+
whole dialog between Project and Global scope. The **Settings** tab edits the selected
|
|
243
|
+
scope's maximum-subagent and sandbox-enabled values; `-` means the project inherits
|
|
244
|
+
the global value.
|
|
236
245
|
|
|
237
246
|
`landstrip.permission` applies to every agent. Each
|
|
238
247
|
`landstrip.agent.<name>.permission` map adds agent-specific rules; later matching
|
|
@@ -242,7 +251,8 @@ references are resolved from the defining `settings.json`. Provider-specific fie
|
|
|
242
251
|
belong under `options`.
|
|
243
252
|
|
|
244
253
|
`hidden` removes an agent from `/agents`. A hidden, subagent-capable agent remains
|
|
245
|
-
available to `task`.
|
|
254
|
+
available to `task`. Disabled agents remain visible but dimmed and cannot be activated
|
|
255
|
+
or passed to `task`. Agent `mode` controls activation: only `primary` and `all` agents
|
|
246
256
|
can be selected as primary, while only `subagent` and `all` agents can be passed to
|
|
247
257
|
`task`. Missing, ambiguous, or unauthenticated primary-agent models produce an error
|
|
248
258
|
and leave the current agent active.
|