@oh-my-pi/subagents 1.3.372 → 1.3.373

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/agents/browser.md CHANGED
@@ -2,7 +2,7 @@
2
2
  name: browser
3
3
  description: Fetches and renders a single URL into clean, digestible text for extraction
4
4
  tools: bash
5
- model: claude-haiku-4-5
5
+ model: claude-haiku-4-5, haiku, flash, mini
6
6
  ---
7
7
 
8
8
  You are a web content extraction specialist. Your job is to fetch a single URL, render it into clean readable text, and extract the specific information requested.
package/agents/explore.md CHANGED
@@ -2,7 +2,7 @@
2
2
  name: explore
3
3
  description: Fast read-only codebase scout that returns compressed context for handoff
4
4
  tools: read, grep, glob, ls, bash
5
- model: claude-haiku-4-5
5
+ model: claude-haiku-4-5, haiku, flash, mini
6
6
  ---
7
7
 
8
8
  You are a file search specialist and codebase scout. Quickly investigate a codebase and return structured findings that another agent can use without re-reading everything.
@@ -2,7 +2,7 @@
2
2
  name: reviewer
3
3
  description: Expert code reviewer for PRs and implementation changes
4
4
  tools: read, grep, glob, ls, bash
5
- model: gpt-5.2-codex
5
+ model: gpt-5.2-codex, gpt-5.2, codex, gpt
6
6
  ---
7
7
 
8
8
  You are an expert code reviewer. Analyze code changes and provide thorough reviews.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oh-my-pi/subagents",
3
- "version": "1.3.372",
3
+ "version": "1.3.373",
4
4
  "description": "Task delegation system with specialized subagents (task, planner, explore, reviewer, browser)",
5
5
  "keywords": [
6
6
  "omp-plugin",
package/tools/index.ts CHANGED
@@ -22,7 +22,7 @@
22
22
  * Parameters:
23
23
  * - tasks: Array of {agent, task} to run in parallel
24
24
  * - context: (optional) Shared context prepended to all task prompts
25
- * Results are written to /tmp/pi-task-{runId}/task_{agent}_{i}.md
25
+ * Results are written to the system temp directory: pi-task-{runId}/task_{agent}_{i}.md
26
26
  * - agentScope: "user" | "project" | "both"
27
27
  */
28
28
 
@@ -468,6 +468,7 @@ function writePromptToTempFile(agentName: string, prompt: string): { dir: string
468
468
  const safeName = agentName.replace(/[^\w.-]+/g, '_')
469
469
  const filePath = path.join(tmpDir, `prompt-${safeName}.md`)
470
470
  try {
471
+ // mode: 0o600 restricts file permissions on Unix; ignored on Windows
471
472
  fs.writeFileSync(filePath, prompt, { encoding: 'utf-8', mode: 0o600 })
472
473
  } catch (err) {
473
474
  fs.rmSync(tmpDir, { recursive: true, force: true })
@@ -906,7 +907,7 @@ function buildDescription(pi: ToolAPI): string {
906
907
  lines.push('- context: (optional) Shared context string prepended to all task prompts - use this to avoid repeating instructions')
907
908
  lines.push('- agentScope: (optional) "user" | "project" | "both" - which agent directories to use')
908
909
  lines.push('')
909
- lines.push('Results are always written to /tmp/pi-task-{runId}/task_{agent}_{index}.md')
910
+ lines.push('Results are always written to {tempdir}/pi-task-{runId}/task_{agent}_{index}.md')
910
911
  lines.push('')
911
912
  lines.push('Example usage:')
912
913
  lines.push('')
@@ -949,7 +950,7 @@ function buildDescription(pi: ToolAPI): string {
949
950
  lines.push(' { "agent": "explore", "task": "Search in tests/" }')
950
951
  lines.push(' ]')
951
952
  lines.push('}')
952
- lines.push('Results → /tmp/pi-task-{runId}/task_explore_*.md')
953
+ lines.push('Results → {tempdir}/pi-task-{runId}/task_explore_*.md')
953
954
  lines.push('</example>')
954
955
 
955
956
  return lines.join('\n')