pi-prompt-template-model 0.7.1 → 0.7.2
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 +5 -0
- package/package.json +1 -1
- package/tool-manager.ts +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## [0.7.2] - 2026-04-04
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
- Added a `promptSnippet` for `run-prompt` so Pi 0.59+ includes it in the default tool prompt section and keeps prompt-template execution discoverable in agent turns.
|
|
9
|
+
|
|
5
10
|
## [0.7.1] - 2026-04-03
|
|
6
11
|
|
|
7
12
|
### Changed
|
package/package.json
CHANGED
package/tool-manager.ts
CHANGED
|
@@ -62,6 +62,8 @@ export function createToolManager(pi: ExtensionAPI, deps: ToolManagerDeps) {
|
|
|
62
62
|
"--fresh for context collapse between iterations, and --no-converge to disable early stopping for bounded loops. " +
|
|
63
63
|
"Supports runtime delegation override via --subagent, --subagent=<name>, or --subagent:<name>. " +
|
|
64
64
|
"Use 'chain-prompts template1 -> template2' for chaining and add --chain-context to pass previous step summaries into delegated steps.",
|
|
65
|
+
promptSnippet:
|
|
66
|
+
"Use this to run slash/prompt templates by name with args (including --loop/--fresh and chain-prompts flows) when the user asks to execute a prompt template.",
|
|
65
67
|
parameters: Type.Object({
|
|
66
68
|
command: Type.String({
|
|
67
69
|
description: "Template name and arguments (e.g. 'deslop --loop 5 --fresh', 'deslop --subagent:worker', 'deslop --subagent', 'chain-prompts analyze -> fix --chain-context', 'chain-prompts analyze -> fix --loop=3')",
|