@agimon-ai/po-team 0.0.0-alpha.167 → 0.0.0-alpha.169
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/extensions/server.cjs +2 -8
- package/dist/extensions/server.cjs.map +1 -1
- package/dist/extensions/server.mjs +2 -8
- package/dist/extensions/server.mjs.map +1 -1
- package/dist/po-runtime-identity.json +1 -0
- package/dist/runtimeSubagentTool.d.mts +1 -1
- package/dist/{subagentTool-DnFhEWuC.d.mts → subagentTool-BHY7OcDf.d.mts} +3 -1
- package/dist/{subagentTool-DnFhEWuC.d.mts.map → subagentTool-BHY7OcDf.d.mts.map} +1 -1
- package/dist/subagentTool.d.mts +1 -1
- package/package.json +10 -10
- package/src/prompts/codemode-how-to-team/SKILL.md +1 -1
|
@@ -2659,12 +2659,6 @@ const DEFAULT_PARALLEL_MAX_TASKS = 30;
|
|
|
2659
2659
|
* cores or memory: a number measured on one machine is not a default.
|
|
2660
2660
|
*/
|
|
2661
2661
|
const DEFAULT_MAX_LIVE_RUNS = DEFAULT_PARALLEL_MAX_TASKS;
|
|
2662
|
-
const INLINE_AGENT_TOOLS = [
|
|
2663
|
-
"read",
|
|
2664
|
-
"grep",
|
|
2665
|
-
"find",
|
|
2666
|
-
"ls"
|
|
2667
|
-
];
|
|
2668
2662
|
function appendPromptSection(prompt, section) {
|
|
2669
2663
|
if (!section) return prompt;
|
|
2670
2664
|
return prompt ? `${prompt}\n\n${section}` : section;
|
|
@@ -2818,7 +2812,7 @@ var SpawnPlanner = class {
|
|
|
2818
2812
|
inheritProjectContext: true,
|
|
2819
2813
|
inheritSkills: inheritParent,
|
|
2820
2814
|
systemPrompt: taskInput.inlineAgent.systemPrompt.trim(),
|
|
2821
|
-
...
|
|
2815
|
+
...taskInput.inlineAgent.tools ? { tools: [...taskInput.inlineAgent.tools] } : {},
|
|
2822
2816
|
defaultContext: CONTEXT_FRESH,
|
|
2823
2817
|
runtime: "pi"
|
|
2824
2818
|
};
|
|
@@ -3071,7 +3065,7 @@ var SpawnPlanner = class {
|
|
|
3071
3065
|
if (tasks.length > maxTasks) throw new PoTeamExpectedError(ERROR_CODE_INVALID_REQUEST, `Run requested ${tasks.length} tasks, but at most ${maxTasks} may be declared in one call. Concurrency throttles how fast they start, not how many run.`, false, "Send at most that many requests in this call and wait for them, or raise parallel.maxTasks in the subagent config. Splitting the same width across extra calls does not raise the live-child ceiling.");
|
|
3072
3066
|
for (const taskInput of tasks) {
|
|
3073
3067
|
if (!taskInput.task?.trim()) throw new PoTeamExpectedError(ERROR_CODE_INVALID_REQUEST, `Run request for '${taskInput.agent}' requires a nonblank task.`, false, "Provide a self-contained nonblank task.");
|
|
3074
|
-
if (taskInput.inlineAgent && !taskInput.inlineAgent.systemPrompt.trim()) throw new PoTeamExpectedError(ERROR_CODE_INVALID_REQUEST, `Inline agent '${taskInput.agent}' requires a nonblank system prompt.`, false, "Provide a focused
|
|
3068
|
+
if (taskInput.inlineAgent && !taskInput.inlineAgent.systemPrompt.trim()) throw new PoTeamExpectedError(ERROR_CODE_INVALID_REQUEST, `Inline agent '${taskInput.agent}' requires a nonblank system prompt.`, false, "Provide a focused role for the inline agent.");
|
|
3075
3069
|
}
|
|
3076
3070
|
const resolvedAgentCache = /* @__PURE__ */ new Map();
|
|
3077
3071
|
const resolvedAgents = [];
|