@henryqw/pi-task-models 0.1.1 → 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/CONTEXT.md +1 -1
- package/README.md +15 -5
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2 -1
- package/package.json +1 -1
package/CONTEXT.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Pi Task Models
|
|
2
2
|
|
|
3
|
-
Pi Task Models stores shared task profiles and task-to-profile assignments for HenryQW extensions.
|
|
3
|
+
Pi Task Models stores shared task profiles and task-to-profile assignments for HenryQW extensions, including default Subagent effort.
|
|
4
4
|
|
|
5
5
|
## Language
|
|
6
6
|
|
package/README.md
CHANGED
|
@@ -8,17 +8,26 @@ Shared `fast`, `balanced`, and `frontier` model profiles for HenryQW Pi extensio
|
|
|
8
8
|
pi install npm:@henryqw/pi-task-models
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
-
##
|
|
11
|
+
## With
|
|
12
12
|
|
|
13
|
-
|
|
|
13
|
+
| Package | Why |
|
|
14
14
|
| --- | --- |
|
|
15
|
-
|
|
|
15
|
+
| `@henryqw/pi-auto-compact` | Consumer. Compaction defaults to the `fast` profile. |
|
|
16
|
+
| `@henryqw/pi-herdr-rename` | Consumer. Rename uses the `fast` profile. |
|
|
17
|
+
| `@henryqw/pi-subagent` | Consumer. Delegation defaults to `balanced`; caller may override it. |
|
|
18
|
+
| `@henryqw/pi-multi-codex` | Improves. Numbered Codex slots dedupe to one route. |
|
|
19
|
+
|
|
20
|
+
## Use
|
|
21
|
+
|
|
22
|
+
| Surface | Type | Purpose |
|
|
23
|
+
| --- | --- | --- |
|
|
24
|
+
| `/task-models` | command | Edit a profile or assign a task to a profile. |
|
|
16
25
|
|
|
17
26
|
Selecting a profile sets primary model, primary thinking, optional fallback model, then fallback thinking. One completed flow writes the whole profile. Selecting a task changes its assignment.
|
|
18
27
|
|
|
19
28
|
Menus and resolution use the current session's `ctx.scopedModels`, including pinned thinking. Empty scope uses Pi's full available model registry. Numbered Codex account aliases are deduplicated. Fallback choices exclude the selected primary. Hidden task assignments stay stored when a package is disabled.
|
|
20
29
|
|
|
21
|
-
|
|
30
|
+
Package also exports config and route-resolution helpers for consumers.
|
|
22
31
|
|
|
23
32
|
## Config
|
|
24
33
|
|
|
@@ -40,7 +49,8 @@ Used by `pi-herdr-rename` (default `fast`), `pi-auto-compact` (default `balanced
|
|
|
40
49
|
},
|
|
41
50
|
"tasks": {
|
|
42
51
|
"pi-herdr-rename/rename": "fast",
|
|
43
|
-
"pi-auto-compact/autoCompact": "
|
|
52
|
+
"pi-auto-compact/autoCompact": "fast",
|
|
53
|
+
"pi-subagent/delegateTask": "balanced"
|
|
44
54
|
}
|
|
45
55
|
}
|
|
46
56
|
```
|
package/dist/index.d.ts
CHANGED
|
@@ -5,7 +5,8 @@ export declare const THINKING_LEVELS: readonly ["off", "minimal", "low", "medium
|
|
|
5
5
|
export type ThinkingLevel = (typeof THINKING_LEVELS)[number];
|
|
6
6
|
export declare const DEFAULT_TASK_ASSIGNMENTS: {
|
|
7
7
|
readonly "pi-herdr-rename/rename": "fast";
|
|
8
|
-
readonly "pi-auto-compact/autoCompact": "
|
|
8
|
+
readonly "pi-auto-compact/autoCompact": "fast";
|
|
9
|
+
readonly "pi-subagent/delegateTask": "balanced";
|
|
9
10
|
};
|
|
10
11
|
export type TaskModelRoute = {
|
|
11
12
|
model: string;
|
package/dist/index.js
CHANGED
|
@@ -6,7 +6,8 @@ export const PROFILE_NAMES = ["fast", "balanced", "frontier"];
|
|
|
6
6
|
export const THINKING_LEVELS = ["off", "minimal", "low", "medium", "high", "xhigh", "max"];
|
|
7
7
|
export const DEFAULT_TASK_ASSIGNMENTS = {
|
|
8
8
|
"pi-herdr-rename/rename": "fast",
|
|
9
|
-
"pi-auto-compact/autoCompact": "
|
|
9
|
+
"pi-auto-compact/autoCompact": "fast",
|
|
10
|
+
"pi-subagent/delegateTask": "balanced",
|
|
10
11
|
};
|
|
11
12
|
const CODEX_ALIAS = /^openai-codex-(?:[2-9]|[1-9]\d+)$/;
|
|
12
13
|
const CONFIG_FILE = "pi-task-models.json";
|