@henryqw/pi-subagent 3.0.1 → 3.0.3
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 +1 -1
- package/extensions/role-tools.ts +1 -1
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -10,7 +10,7 @@ const CODEX_ALIAS = /^openai-codex-(?:[2-9]|[1-9]\d+)$/;
|
|
|
10
10
|
const MULTI_CODEX_EXTENSION = fileURLToPath(import.meta.resolve("@henryqw/pi-multi-codex/extensions/multi-codex.ts"));
|
|
11
11
|
const ROLE_TOOLS_EXTENSION = fileURLToPath(new URL("../extensions/role-tools.ts", import.meta.url));
|
|
12
12
|
const ROLE_TOOL_POLICY_FLAG = "pi-subagent-role-tools";
|
|
13
|
-
const CHILD_EXCLUDED_TOOLS = "delegate_task,ask_question,
|
|
13
|
+
const CHILD_EXCLUDED_TOOLS = "delegate_task,ask_question,auto_dag_execute,auto_dag_acknowledge";
|
|
14
14
|
export const isProfileName = (value) => typeof value === "string" && PROFILE_NAMES.includes(value);
|
|
15
15
|
const cleanText = (value, field, source) => {
|
|
16
16
|
if (typeof value !== "string" || !value.trim() || value.includes("\0")) {
|
package/extensions/role-tools.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ExtensionAPI } from "@earendil-works/pi-coding-agent";
|
|
2
2
|
|
|
3
3
|
export const ROLE_TOOL_POLICY_FLAG = "pi-subagent-role-tools";
|
|
4
|
-
const CHILD_EXCLUDED_TOOLS = new Set(["delegate_task", "ask_question", "
|
|
4
|
+
const CHILD_EXCLUDED_TOOLS = new Set(["delegate_task", "ask_question", "auto_dag_execute", "auto_dag_acknowledge"]);
|
|
5
5
|
|
|
6
6
|
function configuredTools(value: unknown): string[] | undefined {
|
|
7
7
|
if (value === undefined) return;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@henryqw/pi-subagent",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.3",
|
|
4
4
|
"description": "Delegate one task to an isolated Pi role with explicit extensions and skills.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pi-package",
|
|
@@ -35,9 +35,9 @@
|
|
|
35
35
|
"pack:check": "npm pack --dry-run"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
|
-
"@earendil-works/pi-ai": "^0.84.
|
|
39
|
-
"@earendil-works/pi-coding-agent": "^0.84.
|
|
40
|
-
"@earendil-works/pi-tui": "^0.84.
|
|
38
|
+
"@earendil-works/pi-ai": "^0.84.3",
|
|
39
|
+
"@earendil-works/pi-coding-agent": "^0.84.3",
|
|
40
|
+
"@earendil-works/pi-tui": "^0.84.3",
|
|
41
41
|
"typebox": "^1.3.15"
|
|
42
42
|
},
|
|
43
43
|
"repository": {
|
|
@@ -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": "^1.0.0"
|
|
63
63
|
}
|
|
64
64
|
}
|