@alisio/plugin-subagents 0.1.0-alpha.6 → 0.1.0-alpha.7
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/config.d.ts +1 -0
- package/dist/config.js +5 -0
- package/dist/manager.js +1 -0
- package/package.json +3 -3
package/dist/config.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ export declare const subagentsConfigSchema: z.ZodObject<{
|
|
|
9
9
|
maxTurns: z.ZodDefault<z.ZodNumber>;
|
|
10
10
|
timeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
11
11
|
maxTokensPerChild: z.ZodOptional<z.ZodNumber>;
|
|
12
|
+
maxOutputTokensPerChild: z.ZodDefault<z.ZodNumber>;
|
|
12
13
|
parallelWrites: z.ZodDefault<z.ZodEnum<{
|
|
13
14
|
ask: "ask";
|
|
14
15
|
serial: "serial";
|
package/dist/config.js
CHANGED
|
@@ -18,6 +18,11 @@ export const subagentsConfigSchema = z
|
|
|
18
18
|
timeoutMs: z.number().int().min(1_000).default(600_000),
|
|
19
19
|
/** Per-child cumulative token budget; default follows the core proportional budget. */
|
|
20
20
|
maxTokensPerChild: z.number().int().positive().optional(),
|
|
21
|
+
/**
|
|
22
|
+
* Per-child per-call output token budget. Children forward this (never the global agent-loop
|
|
23
|
+
* default) so reasoning-heavy models are not starved; 4096 would be spent on reasoning alone.
|
|
24
|
+
*/
|
|
25
|
+
maxOutputTokensPerChild: z.number().int().positive().default(16_384),
|
|
21
26
|
/** Parallel write-capable children in a git repository. */
|
|
22
27
|
parallelWrites: z.enum(["ask", "worktree", "serial", "shared"]).default("ask"),
|
|
23
28
|
waitMaxMs: z.number().int().min(100).default(600_000),
|
package/dist/manager.js
CHANGED
|
@@ -284,6 +284,7 @@ export class SubagentManager {
|
|
|
284
284
|
maxTurns: agent.maxTurns ?? this.config.maxTurns,
|
|
285
285
|
timeoutMs: this.config.timeoutMs,
|
|
286
286
|
...(this.config.maxTokensPerChild ? { maxTokens: this.config.maxTokensPerChild } : {}),
|
|
287
|
+
maxOutputTokens: this.config.maxOutputTokensPerChild,
|
|
287
288
|
});
|
|
288
289
|
const task = {
|
|
289
290
|
id: info.id,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alisio/plugin-subagents",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.7",
|
|
4
4
|
"description": "Subagents for Alisio: delegate tasks to specialized agents in separate child sessions with narrowed permissions, parallel execution, git worktree isolation and a live agent tree. Built-in, disableable plugin.",
|
|
5
5
|
"author": "Gustavo Gutiérrez",
|
|
6
6
|
"license": "MIT",
|
|
@@ -46,10 +46,10 @@
|
|
|
46
46
|
"zod": "4.6.5"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
|
-
"@alisio/sdk": "^0.1.0-alpha.
|
|
49
|
+
"@alisio/sdk": "^0.1.0-alpha.6"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"@alisio/sdk": "0.1.0-alpha.
|
|
52
|
+
"@alisio/sdk": "0.1.0-alpha.6"
|
|
53
53
|
},
|
|
54
54
|
"publishConfig": {
|
|
55
55
|
"access": "public",
|