pi-adaptive-thinking 0.0.0 → 0.1.1

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/README.md CHANGED
@@ -6,7 +6,7 @@ Bring adaptive reasoning-effort control to Pi agents.
6
6
 
7
7
  </div>
8
8
 
9
- `pi-adaptive-thinking` is a Pi extension that lets the agent change Pi's thinking level through a tool named `set_reasoning_effort`.
9
+ `pi-adaptive-thinking` is a Pi extension that lets the agent change Pi's thinking level through a tool named `set_thinking_level`.
10
10
 
11
11
  It mirrors the user-facing behavior of `opencode-adaptive-thinking` while using Pi-native APIs: `pi.getThinkingLevel()`, `pi.setThinkingLevel()`, and `thinking_level_select`.
12
12
 
@@ -37,7 +37,7 @@ Temporary changes:
37
37
  { "level": "high", "persist": false }
38
38
  ```
39
39
 
40
- This changes reasoning effort for the current agent turn and restores the prior/baseline level when the turn ends.
40
+ This changes thinking level for the current agent turn and restores the prior/baseline level when the turn ends.
41
41
 
42
42
  Persistent changes:
43
43
 
@@ -61,9 +61,9 @@ Project configuration takes precedence over global configuration.
61
61
  {
62
62
  "enabled": true,
63
63
  "quiet": false,
64
- "toolName": "set_reasoning_effort",
65
- "toolDescription": "Set your reasoning effort",
66
- "systemPrompt": "You MUST manage reasoning effort actively. Lower it before trivial or routine turns; raise it for ambiguity, debugging, risky changes, or multi-step synthesis. Reassess at turn start, after meaningful new evidence, and when the task shifts. NEVER leave the current level unchanged by inertia, and NEVER reply to a trivial turn before considering a downshift."
64
+ "toolName": "set_thinking_level",
65
+ "toolDescription": "Set your thinking level",
66
+ "systemPrompt": "You MUST manage thinking level actively. Lower it before trivial or routine turns; raise it for ambiguity, debugging, risky changes, or multi-step synthesis. Reassess at turn start, after meaningful new evidence, and when the task shifts. NEVER leave the current level unchanged by inertia, and NEVER reply to a trivial turn before considering a downshift."
67
67
  }
68
68
  ```
69
69
 
@@ -1,5 +1,5 @@
1
- import { type AdaptiveThinkingConfig } from "./config.js";
2
- export type { AdaptiveThinkingConfig } from "./config.js";
1
+ import { type AdaptiveThinkingConfig } from "./config";
2
+ export type { AdaptiveThinkingConfig } from "./config";
3
3
  export type LoadConfigOptions = {
4
4
  cwd: string;
5
5
  homeDir?: string;