feat: update subagent announce + archive
This commit is contained in:
1 parent
1673a221f8
commit
75c66acfd8
13 files changed
+628
-197
No files matched your search
@@ -895,6 +895,8 @@ export type ClawdbotConfig = {
|
||||
subagents?: {
|
||||
/** Max concurrent sub-agent runs (global lane: "subagent"). Default: 1. */
|
||||
maxConcurrent?: number;
|
||||
/** Auto-archive sub-agent sessions after N minutes (default: 60). */
|
||||
archiveAfterMinutes?: number;
|
||||
/** Tool allow/deny policy for sub-agent sessions (deny wins). */
|
||||
tools?: {
|
||||
allow?: string[];
|
||||
|
||||
@@ -541,6 +541,7 @@ export const ClawdbotSchema = z.object({
|
||||
subagents: z
|
||||
.object({
|
||||
maxConcurrent: z.number().int().positive().optional(),
|
||||
archiveAfterMinutes: z.number().int().positive().optional(),
|
||||
tools: z
|
||||
.object({
|
||||
allow: z.array(z.string()).optional(),
|
||||
|
||||
Reference in new issue
Block a user