@dreki-gg/pi-subagent 0.1.2 → 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,21 @@
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
+
13
+ ## 0.1.3
14
+
15
+ ### Patch Changes
16
+
17
+ - [`0d6fee9`](https://github.com/dreki-gg/pi-extensions/commit/0d6fee9417cbc5874ce5d212b5e6c1f2e42f5192) Thanks [@jalbarrang](https://github.com/jalbarrang)! - Use provider-qualified model IDs in agent frontmatter to work around upstream pi model resolution bug where bare IDs (e.g. `gpt-5.4`) can resolve to the wrong provider (e.g. `azure-openai-responses` instead of `openai`).
18
+
3
19
  ## 0.1.2
4
20
 
5
21
  ### Patch Changes
package/README.md CHANGED
@@ -27,7 +27,7 @@ Create agent files in `~/.pi/agent/agents/` as markdown with YAML frontmatter:
27
27
  name: my-agent
28
28
  description: What this agent does
29
29
  tools: read, grep, find, ls
30
- model: claude-haiku-4-5
30
+ model: anthropic/claude-haiku-4-5
31
31
  ---
32
32
 
33
33
  System prompt for the agent.
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dreki-gg/pi-subagent",
3
- "version": "0.1.2",
3
+ "version": "0.2.0",
4
4
  "description": "Subagent tool for pi — delegate tasks to specialized agents with isolated context windows",
5
5
  "keywords": [
6
6
  "pi-package"