@dreki-gg/pi-subagent 0.1.3 → 0.2.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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @dreki-gg/pi-subagent
|
|
2
2
|
|
|
3
|
+
## 0.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#22](https://github.com/dreki-gg/pi-extensions/pull/22) [`d5c55f5`](https://github.com/dreki-gg/pi-extensions/commit/d5c55f533c6e1ec65fcc1cce19537cf91854b122) Thanks [@jalbarrang](https://github.com/jalbarrang)! - Support `thinking` frontmatter field in agent definitions to set reasoning effort level.
|
|
8
|
+
|
|
9
|
+
- Read `thinking` from agent `.md` frontmatter and pass `--thinking <level>` to spawned pi processes
|
|
10
|
+
- Update all bundled agents to use OpenAI models with thinking levels
|
|
11
|
+
- Add `ux-designer` agent for frontend UI design with anti-Codex aesthetic guidelines
|
|
12
|
+
|
|
3
13
|
## 0.1.3
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
|
@@ -13,6 +13,7 @@ export interface AgentConfig {
|
|
|
13
13
|
description: string;
|
|
14
14
|
tools?: string[];
|
|
15
15
|
model?: string;
|
|
16
|
+
thinking?: string;
|
|
16
17
|
systemPrompt: string;
|
|
17
18
|
source: 'user' | 'project';
|
|
18
19
|
filePath: string;
|
|
@@ -65,6 +66,7 @@ function loadAgentsFromDir(dir: string, source: 'user' | 'project'): AgentConfig
|
|
|
65
66
|
description: frontmatter.description,
|
|
66
67
|
tools: tools && tools.length > 0 ? tools : undefined,
|
|
67
68
|
model: frontmatter.model,
|
|
69
|
+
thinking: frontmatter.thinking,
|
|
68
70
|
systemPrompt: body,
|
|
69
71
|
source,
|
|
70
72
|
filePath,
|
|
@@ -285,6 +285,7 @@ async function runSingleAgent(
|
|
|
285
285
|
|
|
286
286
|
const args: string[] = ['--mode', 'json', '-p', '--no-session'];
|
|
287
287
|
if (agent.model) args.push('--model', agent.model);
|
|
288
|
+
if (agent.thinking) args.push('--thinking', agent.thinking);
|
|
288
289
|
if (agent.tools && agent.tools.length > 0) args.push('--tools', agent.tools.join(','));
|
|
289
290
|
|
|
290
291
|
let tmpPromptDir: string | null = null;
|