pi-subagents-lite 1.4.9 → 1.4.10

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-subagents-lite",
3
- "version": "1.4.9",
3
+ "version": "1.4.10",
4
4
  "description": "Lightweight sub-agents for pi — spawn specialized agents with isolated sessions, tools, and models.",
5
5
  "keywords": [
6
6
  "pi-package",
package/src/types.ts CHANGED
@@ -2,14 +2,14 @@
2
2
  * Type definitions for the subagent system.
3
3
  */
4
4
 
5
- import type { Model } from "@earendil-works/pi-ai";
5
+ import type { Model, ModelThinkingLevel } from "@earendil-works/pi-ai";
6
6
  import type { AgentSession } from "@earendil-works/pi-coding-agent";
7
7
  import type { AgentOutputLog } from "./agents/output-file.js";
8
8
  import type { LifetimeUsage, AgentUsage } from "./agents/usage.js";
9
9
  import type { SubagentType, AgentInvocation } from "./agents/types.js";
10
10
 
11
- /** Thinking level for agent models. */
12
- export type ThinkingLevel = "off" | "minimal" | "low" | "medium" | "high" | "xhigh";
11
+ /** Thinking level for agent models (sourced from @earendil-works/pi-ai). */
12
+ export type ThinkingLevel = ModelThinkingLevel;
13
13
 
14
14
  /** Tool activity event: start/end of a tool invocation. */
15
15
  export interface ToolActivity {
package/src/utils.ts CHANGED
@@ -43,7 +43,7 @@ export function safeReadFile(filePath: string): string | undefined {
43
43
 
44
44
  /** All valid thinking levels. */
45
45
  export const VALID_THINKING_LEVELS: readonly ThinkingLevel[] = [
46
- "off", "minimal", "low", "medium", "high", "xhigh",
46
+ "off", "minimal", "low", "medium", "high", "xhigh", "max",
47
47
  ] as const;
48
48
 
49
49
  /**