@henryqw/pi-subagent 2.5.0 → 2.5.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/dist/index.js +3 -3
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -89,13 +89,13 @@ export function resolveTaskRoute(ctx, profileName, agentDir = getAgentDir()) {
|
|
|
89
89
|
catch {
|
|
90
90
|
throw new Error("Couldn't read task model config. Run /task-models.");
|
|
91
91
|
}
|
|
92
|
-
return resolveConfiguredRoute(ctx, profileName, config.profiles[profileName]);
|
|
92
|
+
return resolveConfiguredRoute(ctx, profileName, config.profiles[profileName], agentDir);
|
|
93
93
|
}
|
|
94
|
-
function resolveConfiguredRoute(ctx, profileName, profile) {
|
|
94
|
+
function resolveConfiguredRoute(ctx, profileName, profile, agentDir = getAgentDir()) {
|
|
95
95
|
if (!profile)
|
|
96
96
|
throw new Error(`No ${profileName} task model profile is configured. Run /task-models.`);
|
|
97
97
|
for (const route of orderedProfileRoutes(profile)) {
|
|
98
|
-
const resolved = resolveTaskModelRoute(ctx, route);
|
|
98
|
+
const resolved = resolveTaskModelRoute(ctx, route, agentDir);
|
|
99
99
|
if (resolved)
|
|
100
100
|
return resolved;
|
|
101
101
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@henryqw/pi-subagent",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.1",
|
|
4
4
|
"description": "Delegate one task to an isolated Pi role with explicit extensions and skills.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pi-package",
|
|
@@ -59,6 +59,6 @@
|
|
|
59
59
|
"dependencies": {
|
|
60
60
|
"@henryqw/pi-herdr": "^0.1.1",
|
|
61
61
|
"@henryqw/pi-multi-codex": "^0.3.8",
|
|
62
|
-
"@henryqw/pi-task-models": "^0.
|
|
62
|
+
"@henryqw/pi-task-models": "^0.5.0"
|
|
63
63
|
}
|
|
64
64
|
}
|