@kynetic-ai/spec 0.9.0 → 0.10.0
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/README.md +2 -1
- package/dist/acp/client.d.ts +13 -1
- package/dist/acp/client.d.ts.map +1 -1
- package/dist/acp/client.js +17 -2
- package/dist/acp/client.js.map +1 -1
- package/dist/acp/framing.d.ts +12 -1
- package/dist/acp/framing.d.ts.map +1 -1
- package/dist/acp/framing.js +27 -4
- package/dist/acp/framing.js.map +1 -1
- package/dist/agent-runtime/dispatch.d.ts +261 -0
- package/dist/agent-runtime/dispatch.d.ts.map +1 -0
- package/dist/agent-runtime/dispatch.js +791 -0
- package/dist/agent-runtime/dispatch.js.map +1 -0
- package/dist/agent-runtime/index.d.ts +11 -0
- package/dist/agent-runtime/index.d.ts.map +1 -0
- package/dist/agent-runtime/index.js +11 -0
- package/dist/agent-runtime/index.js.map +1 -0
- package/dist/agent-runtime/invocation.d.ts +86 -0
- package/dist/agent-runtime/invocation.d.ts.map +1 -0
- package/dist/agent-runtime/invocation.js +442 -0
- package/dist/agent-runtime/invocation.js.map +1 -0
- package/dist/agent-runtime/prompts.d.ts +50 -0
- package/dist/agent-runtime/prompts.d.ts.map +1 -0
- package/dist/agent-runtime/prompts.js +108 -0
- package/dist/agent-runtime/prompts.js.map +1 -0
- package/dist/agents/spawner.d.ts.map +1 -1
- package/dist/agents/spawner.js +60 -4
- package/dist/agents/spawner.js.map +1 -1
- package/dist/cli/batch-exec.d.ts.map +1 -1
- package/dist/cli/batch-exec.js +183 -81
- package/dist/cli/batch-exec.js.map +1 -1
- package/dist/cli/batch-write-buffer.d.ts +141 -0
- package/dist/cli/batch-write-buffer.d.ts.map +1 -0
- package/dist/cli/batch-write-buffer.js +400 -0
- package/dist/cli/batch-write-buffer.js.map +1 -0
- package/dist/cli/commands/agent.d.ts +20 -0
- package/dist/cli/commands/agent.d.ts.map +1 -0
- package/dist/cli/commands/agent.js +831 -0
- package/dist/cli/commands/agent.js.map +1 -0
- package/dist/cli/commands/agents.d.ts +1 -1
- package/dist/cli/commands/agents.d.ts.map +1 -1
- package/dist/cli/commands/agents.js +2 -1
- package/dist/cli/commands/agents.js.map +1 -1
- package/dist/cli/commands/batch.js +1 -1
- package/dist/cli/commands/batch.js.map +1 -1
- package/dist/cli/commands/inbox.d.ts.map +1 -1
- package/dist/cli/commands/inbox.js +46 -22
- package/dist/cli/commands/inbox.js.map +1 -1
- package/dist/cli/commands/index.d.ts +1 -0
- package/dist/cli/commands/index.d.ts.map +1 -1
- package/dist/cli/commands/index.js +1 -0
- package/dist/cli/commands/index.js.map +1 -1
- package/dist/cli/commands/init.d.ts.map +1 -1
- package/dist/cli/commands/init.js +4 -6
- package/dist/cli/commands/init.js.map +1 -1
- package/dist/cli/commands/item.d.ts.map +1 -1
- package/dist/cli/commands/item.js +34 -17
- package/dist/cli/commands/item.js.map +1 -1
- package/dist/cli/commands/log.js +1 -1
- package/dist/cli/commands/log.js.map +1 -1
- package/dist/cli/commands/merge-driver.d.ts.map +1 -1
- package/dist/cli/commands/merge-driver.js +8 -3
- package/dist/cli/commands/merge-driver.js.map +1 -1
- package/dist/cli/commands/meta.d.ts.map +1 -1
- package/dist/cli/commands/meta.js +159 -6
- package/dist/cli/commands/meta.js.map +1 -1
- package/dist/cli/commands/module.d.ts.map +1 -1
- package/dist/cli/commands/module.js +2 -1
- package/dist/cli/commands/module.js.map +1 -1
- package/dist/cli/commands/plan-import.js +19 -3
- package/dist/cli/commands/plan-import.js.map +1 -1
- package/dist/cli/commands/plan.d.ts.map +1 -1
- package/dist/cli/commands/plan.js +87 -43
- package/dist/cli/commands/plan.js.map +1 -1
- package/dist/cli/commands/ralph.d.ts +5 -51
- package/dist/cli/commands/ralph.d.ts.map +1 -1
- package/dist/cli/commands/ralph.js +52 -1462
- package/dist/cli/commands/ralph.js.map +1 -1
- package/dist/cli/commands/search.d.ts.map +1 -1
- package/dist/cli/commands/search.js +22 -13
- package/dist/cli/commands/search.js.map +1 -1
- package/dist/cli/commands/serve.d.ts.map +1 -1
- package/dist/cli/commands/serve.js +70 -11
- package/dist/cli/commands/serve.js.map +1 -1
- package/dist/cli/commands/session/checkpoint.d.ts.map +1 -1
- package/dist/cli/commands/session/checkpoint.js +7 -2
- package/dist/cli/commands/session/checkpoint.js.map +1 -1
- package/dist/cli/commands/session/commands.d.ts.map +1 -1
- package/dist/cli/commands/session/commands.js +15 -0
- package/dist/cli/commands/session/commands.js.map +1 -1
- package/dist/cli/commands/session/context.d.ts.map +1 -1
- package/dist/cli/commands/session/context.js +10 -5
- package/dist/cli/commands/session/context.js.map +1 -1
- package/dist/cli/commands/session/log.d.ts +1 -0
- package/dist/cli/commands/session/log.d.ts.map +1 -1
- package/dist/cli/commands/session/log.js +124 -8
- package/dist/cli/commands/session/log.js.map +1 -1
- package/dist/cli/commands/session/stale-close.d.ts +17 -0
- package/dist/cli/commands/session/stale-close.d.ts.map +1 -0
- package/dist/cli/commands/session/stale-close.js +378 -0
- package/dist/cli/commands/session/stale-close.js.map +1 -0
- package/dist/cli/commands/setup.d.ts +4 -0
- package/dist/cli/commands/setup.d.ts.map +1 -1
- package/dist/cli/commands/setup.js +150 -6
- package/dist/cli/commands/setup.js.map +1 -1
- package/dist/cli/commands/skill-crud.d.ts.map +1 -1
- package/dist/cli/commands/skill-crud.js +4 -3
- package/dist/cli/commands/skill-crud.js.map +1 -1
- package/dist/cli/commands/skill-diff.d.ts.map +1 -1
- package/dist/cli/commands/skill-diff.js +15 -0
- package/dist/cli/commands/skill-diff.js.map +1 -1
- package/dist/cli/commands/skill-install.d.ts.map +1 -1
- package/dist/cli/commands/skill-install.js +50 -18
- package/dist/cli/commands/skill-install.js.map +1 -1
- package/dist/cli/commands/task.d.ts.map +1 -1
- package/dist/cli/commands/task.js +552 -323
- package/dist/cli/commands/task.js.map +1 -1
- package/dist/cli/commands/tasks.js +1 -1
- package/dist/cli/commands/tasks.js.map +1 -1
- package/dist/cli/commands/triage.d.ts.map +1 -1
- package/dist/cli/commands/triage.js +37 -13
- package/dist/cli/commands/triage.js.map +1 -1
- package/dist/cli/commands/validate.d.ts.map +1 -1
- package/dist/cli/commands/validate.js +99 -50
- package/dist/cli/commands/validate.js.map +1 -1
- package/dist/cli/help/content.d.ts.map +1 -1
- package/dist/cli/help/content.js +5 -0
- package/dist/cli/help/content.js.map +1 -1
- package/dist/cli/index.d.ts.map +1 -1
- package/dist/cli/index.js +2 -1
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/output.d.ts.map +1 -1
- package/dist/cli/output.js +5 -1
- package/dist/cli/output.js.map +1 -1
- package/dist/cli/validators.d.ts +4 -0
- package/dist/cli/validators.d.ts.map +1 -1
- package/dist/cli/validators.js +12 -0
- package/dist/cli/validators.js.map +1 -1
- package/dist/daemon/project-context.ts +22 -0
- package/dist/daemon/routes/agent-dispatch.ts +272 -0
- package/dist/daemon/server.ts +55 -20
- package/dist/daemon/websocket/handler.ts +67 -6
- package/dist/daemon/websocket/lifecycle.ts +19 -0
- package/dist/daemon/websocket/pubsub.ts +74 -3
- package/dist/export/html.d.ts.map +1 -1
- package/dist/export/html.js +5 -2
- package/dist/export/html.js.map +1 -1
- package/dist/export/triage.d.ts +1 -1
- package/dist/export/triage.d.ts.map +1 -1
- package/dist/export/triage.js +5 -3
- package/dist/export/triage.js.map +1 -1
- package/dist/parser/alignment.d.ts.map +1 -1
- package/dist/parser/alignment.js +6 -3
- package/dist/parser/alignment.js.map +1 -1
- package/dist/parser/assess.js +1 -1
- package/dist/parser/assess.js.map +1 -1
- package/dist/parser/config.d.ts +6 -6
- package/dist/parser/meta.d.ts.map +1 -1
- package/dist/parser/meta.js +9 -8
- package/dist/parser/meta.js.map +1 -1
- package/dist/parser/plan-document.d.ts +12 -12
- package/dist/parser/plans.d.ts +7 -0
- package/dist/parser/plans.d.ts.map +1 -1
- package/dist/parser/plans.js +100 -15
- package/dist/parser/plans.js.map +1 -1
- package/dist/parser/refs.d.ts +5 -0
- package/dist/parser/refs.d.ts.map +1 -1
- package/dist/parser/refs.js +17 -12
- package/dist/parser/refs.js.map +1 -1
- package/dist/parser/shadow.d.ts +1 -1
- package/dist/parser/shadow.d.ts.map +1 -1
- package/dist/parser/shadow.js +241 -76
- package/dist/parser/shadow.js.map +1 -1
- package/dist/parser/skill-render.d.ts.map +1 -1
- package/dist/parser/skill-render.js +6 -3
- package/dist/parser/skill-render.js.map +1 -1
- package/dist/parser/validate.d.ts.map +1 -1
- package/dist/parser/validate.js +70 -108
- package/dist/parser/validate.js.map +1 -1
- package/dist/parser/yaml.d.ts +24 -5
- package/dist/parser/yaml.d.ts.map +1 -1
- package/dist/parser/yaml.js +228 -66
- package/dist/parser/yaml.js.map +1 -1
- package/dist/schema/meta.d.ts +442 -119
- package/dist/schema/meta.d.ts.map +1 -1
- package/dist/schema/meta.js +55 -0
- package/dist/schema/meta.js.map +1 -1
- package/dist/schema/plan.d.ts +22 -22
- package/dist/schema/spec.d.ts +39 -39
- package/dist/schema/task.d.ts +43 -32
- package/dist/schema/task.d.ts.map +1 -1
- package/dist/schema/task.js +5 -0
- package/dist/schema/task.js.map +1 -1
- package/dist/sessions/store.d.ts +112 -0
- package/dist/sessions/store.d.ts.map +1 -1
- package/dist/sessions/store.js +414 -22
- package/dist/sessions/store.js.map +1 -1
- package/dist/sessions/types.d.ts +75 -17
- package/dist/sessions/types.d.ts.map +1 -1
- package/dist/sessions/types.js +51 -1
- package/dist/sessions/types.js.map +1 -1
- package/dist/triage/actions.d.ts +1 -0
- package/dist/triage/actions.d.ts.map +1 -1
- package/dist/triage/actions.js +34 -7
- package/dist/triage/actions.js.map +1 -1
- package/dist/utils/commit.js +1 -1
- package/dist/utils/commit.js.map +1 -1
- package/dist/web-ui/_app/env.js +1 -0
- package/dist/web-ui/_app/immutable/assets/0.BxCxvrZR.css +1 -0
- package/dist/web-ui/_app/immutable/assets/select-trigger.CV-KWLNP.css +1 -0
- package/dist/web-ui/_app/immutable/chunks/B-CZR0q8.js +1 -0
- package/dist/web-ui/_app/immutable/chunks/B1IR5Su5.js +1 -0
- package/dist/web-ui/_app/immutable/chunks/BCkp8Hs8.js +1 -0
- package/dist/web-ui/_app/immutable/chunks/B_Cvvtc4.js +1 -0
- package/dist/web-ui/_app/immutable/chunks/BtFaGGII.js +1 -0
- package/dist/web-ui/_app/immutable/chunks/Bu8JVsCH.js +1 -0
- package/dist/web-ui/_app/immutable/chunks/C87u-CNA.js +1 -0
- package/dist/web-ui/_app/immutable/chunks/CrFkBTYp.js +1 -0
- package/dist/web-ui/_app/immutable/chunks/D1ArdqNb.js +1 -0
- package/dist/web-ui/_app/immutable/chunks/D28BF5MJ.js +1 -0
- package/dist/web-ui/_app/immutable/chunks/D6RtLpzL.js +1 -0
- package/dist/web-ui/_app/immutable/chunks/D7FHSgx2.js +1 -0
- package/dist/web-ui/_app/immutable/chunks/DBXrsxZQ.js +2 -0
- package/dist/web-ui/_app/immutable/chunks/Da_hHMuA.js +1 -0
- package/dist/web-ui/_app/immutable/chunks/Do6LchSF.js +1 -0
- package/dist/web-ui/_app/immutable/chunks/DoNPtcAw.js +1 -0
- package/dist/web-ui/_app/immutable/chunks/DtUbXRZz.js +1 -0
- package/dist/web-ui/_app/immutable/chunks/DyFPRlLl.js +1 -0
- package/dist/web-ui/_app/immutable/chunks/DzAP8lRM.js +1 -0
- package/dist/web-ui/_app/immutable/chunks/DzVXElzN.js +2 -0
- package/dist/web-ui/_app/immutable/chunks/aoPBFken.js +1 -0
- package/dist/web-ui/_app/immutable/chunks/i-XnOIX0.js +1 -0
- package/dist/web-ui/_app/immutable/chunks/laxtrUO3.js +1 -0
- package/dist/web-ui/_app/immutable/chunks/q1nIWgqB.js +1 -0
- package/dist/web-ui/_app/immutable/chunks/sTLbk5Nm.js +1 -0
- package/dist/web-ui/_app/immutable/chunks/vwKgQu5P.js +5 -0
- package/dist/web-ui/_app/immutable/entry/app.BCwMcqnT.js +2 -0
- package/dist/web-ui/_app/immutable/entry/start.wKCQH-tt.js +1 -0
- package/dist/web-ui/_app/immutable/nodes/0.CjGVMG74.js +1 -0
- package/dist/web-ui/_app/immutable/nodes/1.B6_AIPan.js +1 -0
- package/dist/web-ui/_app/immutable/nodes/2.q4oCS7Ws.js +1 -0
- package/dist/web-ui/_app/immutable/nodes/3.rTKZf9o2.js +1 -0
- package/dist/web-ui/_app/immutable/nodes/4.DVIDRu1d.js +1 -0
- package/dist/web-ui/_app/immutable/nodes/5.8PtPXIOd.js +1 -0
- package/dist/web-ui/_app/immutable/nodes/6.ZZrTemy_.js +1 -0
- package/dist/web-ui/_app/immutable/nodes/7.IP-gxCxi.js +1 -0
- package/dist/web-ui/_app/version.json +1 -0
- package/dist/web-ui/index.html +36 -0
- package/dist/web-ui/robots.txt +3 -0
- package/package.json +3 -2
- package/plugin/.claude-plugin/marketplace.json +1 -1
- package/plugin/.claude-plugin/plugin.json +1 -1
- package/plugin/plugins/kspec/skills/create-workflow/SKILL.md +1 -1
- package/plugin/plugins/kspec/skills/{observations → observe}/SKILL.md +1 -1
- package/plugin/plugins/kspec/skills/plan/SKILL.md +1 -1
- package/plugin/plugins/kspec/skills/task-work/SKILL.md +26 -3
- package/plugin/plugins/kspec/skills/triage-inbox/SKILL.md +1 -1
- package/plugin/plugins/kspec/skills/writing-specs/SKILL.md +1 -1
- package/templates/agents-sections/01-quick-start.md +1 -0
- package/templates/agents-sections/06-ralph-loop.md +64 -11
- package/templates/skills/create-workflow/SKILL.md +1 -1
- package/templates/skills/manifest.yaml +1 -1
- package/templates/skills/plan/SKILL.md +1 -1
- package/templates/skills/task-work/SKILL.md +26 -3
- package/templates/skills/triage-inbox/SKILL.md +1 -1
- package/templates/skills/writing-specs/SKILL.md +1 -1
- package/dist/ralph/cli-renderer.d.ts +0 -27
- package/dist/ralph/cli-renderer.d.ts.map +0 -1
- package/dist/ralph/cli-renderer.js +0 -250
- package/dist/ralph/cli-renderer.js.map +0 -1
- package/dist/ralph/events.d.ts +0 -65
- package/dist/ralph/events.d.ts.map +0 -1
- package/dist/ralph/events.js +0 -600
- package/dist/ralph/events.js.map +0 -1
- package/dist/ralph/index.d.ts +0 -11
- package/dist/ralph/index.d.ts.map +0 -1
- package/dist/ralph/index.js +0 -16
- package/dist/ralph/index.js.map +0 -1
- package/dist/ralph/loop-errors.d.ts +0 -83
- package/dist/ralph/loop-errors.d.ts.map +0 -1
- package/dist/ralph/loop-errors.js +0 -150
- package/dist/ralph/loop-errors.js.map +0 -1
- package/dist/ralph/subagent.d.ts +0 -96
- package/dist/ralph/subagent.d.ts.map +0 -1
- package/dist/ralph/subagent.js +0 -195
- package/dist/ralph/subagent.js.map +0 -1
- package/dist/ralph/wrap-up.d.ts +0 -127
- package/dist/ralph/wrap-up.d.ts.map +0 -1
- package/dist/ralph/wrap-up.js +0 -271
- package/dist/ralph/wrap-up.js.map +0 -1
- /package/templates/skills/{observations → observe}/SKILL.md +0 -0
package/dist/schema/meta.d.ts
CHANGED
|
@@ -15,8 +15,90 @@ export declare const SessionProtocolSchema: z.ZodObject<{
|
|
|
15
15
|
checkpoint?: string | null | undefined;
|
|
16
16
|
end?: string | null | undefined;
|
|
17
17
|
}>;
|
|
18
|
+
/**
|
|
19
|
+
* Agent dispatch event types - lifecycle events that can trigger agent spawning
|
|
20
|
+
* AC: @agent-definition-schema ac-2
|
|
21
|
+
*/
|
|
22
|
+
export declare const AgentDispatchEventSchema: z.ZodEnum<["task.in_progress", "task.ready", "task.needs_work", "task.pending_review"]>;
|
|
23
|
+
/**
|
|
24
|
+
* Agent dispatch filter - constraints for matching tasks during dispatch
|
|
25
|
+
* AC: @agent-definition-schema ac-3
|
|
26
|
+
*/
|
|
27
|
+
export declare const AgentDispatchFilterSchema: z.ZodObject<{
|
|
28
|
+
automation: z.ZodOptional<z.ZodEnum<["eligible", "ineligible"]>>;
|
|
29
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
30
|
+
priority: z.ZodOptional<z.ZodNumber>;
|
|
31
|
+
}, "strip", z.ZodTypeAny, {
|
|
32
|
+
tags?: string[] | undefined;
|
|
33
|
+
automation?: "eligible" | "ineligible" | undefined;
|
|
34
|
+
priority?: number | undefined;
|
|
35
|
+
}, {
|
|
36
|
+
tags?: string[] | undefined;
|
|
37
|
+
automation?: "eligible" | "ineligible" | undefined;
|
|
38
|
+
priority?: number | undefined;
|
|
39
|
+
}>;
|
|
40
|
+
/**
|
|
41
|
+
* Agent dispatch rule - maps an event type to optional filters
|
|
42
|
+
* AC: @agent-definition-schema ac-2
|
|
43
|
+
*/
|
|
44
|
+
export declare const AgentDispatchRuleSchema: z.ZodObject<{
|
|
45
|
+
on: z.ZodEnum<["task.in_progress", "task.ready", "task.needs_work", "task.pending_review"]>;
|
|
46
|
+
filter: z.ZodOptional<z.ZodObject<{
|
|
47
|
+
automation: z.ZodOptional<z.ZodEnum<["eligible", "ineligible"]>>;
|
|
48
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
49
|
+
priority: z.ZodOptional<z.ZodNumber>;
|
|
50
|
+
}, "strip", z.ZodTypeAny, {
|
|
51
|
+
tags?: string[] | undefined;
|
|
52
|
+
automation?: "eligible" | "ineligible" | undefined;
|
|
53
|
+
priority?: number | undefined;
|
|
54
|
+
}, {
|
|
55
|
+
tags?: string[] | undefined;
|
|
56
|
+
automation?: "eligible" | "ineligible" | undefined;
|
|
57
|
+
priority?: number | undefined;
|
|
58
|
+
}>>;
|
|
59
|
+
}, "strip", z.ZodTypeAny, {
|
|
60
|
+
on: "task.in_progress" | "task.ready" | "task.needs_work" | "task.pending_review";
|
|
61
|
+
filter?: {
|
|
62
|
+
tags?: string[] | undefined;
|
|
63
|
+
automation?: "eligible" | "ineligible" | undefined;
|
|
64
|
+
priority?: number | undefined;
|
|
65
|
+
} | undefined;
|
|
66
|
+
}, {
|
|
67
|
+
on: "task.in_progress" | "task.ready" | "task.needs_work" | "task.pending_review";
|
|
68
|
+
filter?: {
|
|
69
|
+
tags?: string[] | undefined;
|
|
70
|
+
automation?: "eligible" | "ineligible" | undefined;
|
|
71
|
+
priority?: number | undefined;
|
|
72
|
+
} | undefined;
|
|
73
|
+
}>;
|
|
74
|
+
/**
|
|
75
|
+
* Agent budget settings - limits on task count and time
|
|
76
|
+
* AC: @agent-definition-schema ac-4
|
|
77
|
+
*/
|
|
78
|
+
export declare const AgentBudgetSchema: z.ZodObject<{
|
|
79
|
+
max_tasks: z.ZodOptional<z.ZodNumber>;
|
|
80
|
+
timeout_minutes: z.ZodOptional<z.ZodNumber>;
|
|
81
|
+
}, "strip", z.ZodTypeAny, {
|
|
82
|
+
max_tasks?: number | undefined;
|
|
83
|
+
timeout_minutes?: number | undefined;
|
|
84
|
+
}, {
|
|
85
|
+
max_tasks?: number | undefined;
|
|
86
|
+
timeout_minutes?: number | undefined;
|
|
87
|
+
}>;
|
|
88
|
+
/**
|
|
89
|
+
* Agent concurrency settings
|
|
90
|
+
* AC: @agent-definition-schema ac-6
|
|
91
|
+
*/
|
|
92
|
+
export declare const AgentConcurrencySchema: z.ZodObject<{
|
|
93
|
+
max_concurrent: z.ZodDefault<z.ZodNumber>;
|
|
94
|
+
}, "strip", z.ZodTypeAny, {
|
|
95
|
+
max_concurrent: number;
|
|
96
|
+
}, {
|
|
97
|
+
max_concurrent?: number | undefined;
|
|
98
|
+
}>;
|
|
18
99
|
/**
|
|
19
100
|
* Agent definition - describes an agent's role and capabilities
|
|
101
|
+
* AC: @agent-definition-schema ac-1 through ac-8
|
|
20
102
|
*/
|
|
21
103
|
export declare const AgentSchema: z.ZodObject<{
|
|
22
104
|
_ulid: z.ZodString;
|
|
@@ -39,23 +121,101 @@ export declare const AgentSchema: z.ZodObject<{
|
|
|
39
121
|
end?: string | null | undefined;
|
|
40
122
|
}>>;
|
|
41
123
|
conventions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
124
|
+
adapter: z.ZodOptional<z.ZodString>;
|
|
125
|
+
dispatch: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
126
|
+
on: z.ZodEnum<["task.in_progress", "task.ready", "task.needs_work", "task.pending_review"]>;
|
|
127
|
+
filter: z.ZodOptional<z.ZodObject<{
|
|
128
|
+
automation: z.ZodOptional<z.ZodEnum<["eligible", "ineligible"]>>;
|
|
129
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
130
|
+
priority: z.ZodOptional<z.ZodNumber>;
|
|
131
|
+
}, "strip", z.ZodTypeAny, {
|
|
132
|
+
tags?: string[] | undefined;
|
|
133
|
+
automation?: "eligible" | "ineligible" | undefined;
|
|
134
|
+
priority?: number | undefined;
|
|
135
|
+
}, {
|
|
136
|
+
tags?: string[] | undefined;
|
|
137
|
+
automation?: "eligible" | "ineligible" | undefined;
|
|
138
|
+
priority?: number | undefined;
|
|
139
|
+
}>>;
|
|
140
|
+
}, "strip", z.ZodTypeAny, {
|
|
141
|
+
on: "task.in_progress" | "task.ready" | "task.needs_work" | "task.pending_review";
|
|
142
|
+
filter?: {
|
|
143
|
+
tags?: string[] | undefined;
|
|
144
|
+
automation?: "eligible" | "ineligible" | undefined;
|
|
145
|
+
priority?: number | undefined;
|
|
146
|
+
} | undefined;
|
|
147
|
+
}, {
|
|
148
|
+
on: "task.in_progress" | "task.ready" | "task.needs_work" | "task.pending_review";
|
|
149
|
+
filter?: {
|
|
150
|
+
tags?: string[] | undefined;
|
|
151
|
+
automation?: "eligible" | "ineligible" | undefined;
|
|
152
|
+
priority?: number | undefined;
|
|
153
|
+
} | undefined;
|
|
154
|
+
}>, "many">>;
|
|
155
|
+
skills: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
156
|
+
budget: z.ZodOptional<z.ZodObject<{
|
|
157
|
+
max_tasks: z.ZodOptional<z.ZodNumber>;
|
|
158
|
+
timeout_minutes: z.ZodOptional<z.ZodNumber>;
|
|
159
|
+
}, "strip", z.ZodTypeAny, {
|
|
160
|
+
max_tasks?: number | undefined;
|
|
161
|
+
timeout_minutes?: number | undefined;
|
|
162
|
+
}, {
|
|
163
|
+
max_tasks?: number | undefined;
|
|
164
|
+
timeout_minutes?: number | undefined;
|
|
165
|
+
}>>;
|
|
166
|
+
concurrency: z.ZodDefault<z.ZodObject<{
|
|
167
|
+
max_concurrent: z.ZodDefault<z.ZodNumber>;
|
|
168
|
+
}, "strip", z.ZodTypeAny, {
|
|
169
|
+
max_concurrent: number;
|
|
170
|
+
}, {
|
|
171
|
+
max_concurrent?: number | undefined;
|
|
172
|
+
}>>;
|
|
173
|
+
auto_approve: z.ZodDefault<z.ZodBoolean>;
|
|
174
|
+
prompt_template: z.ZodOptional<z.ZodString>;
|
|
175
|
+
/** Automation eligibility for agent list filtering (eligible|ineligible) */
|
|
176
|
+
automation: z.ZodOptional<z.ZodEnum<["eligible", "ineligible"]>>;
|
|
177
|
+
/** Tags for filtering and categorization */
|
|
178
|
+
tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
42
179
|
}, "strip", z.ZodTypeAny, {
|
|
180
|
+
name: string;
|
|
43
181
|
_ulid: string;
|
|
44
182
|
id: string;
|
|
45
|
-
name: string;
|
|
46
183
|
capabilities: string[];
|
|
47
184
|
tools: string[];
|
|
48
185
|
conventions: string[];
|
|
186
|
+
dispatch: {
|
|
187
|
+
on: "task.in_progress" | "task.ready" | "task.needs_work" | "task.pending_review";
|
|
188
|
+
filter?: {
|
|
189
|
+
tags?: string[] | undefined;
|
|
190
|
+
automation?: "eligible" | "ineligible" | undefined;
|
|
191
|
+
priority?: number | undefined;
|
|
192
|
+
} | undefined;
|
|
193
|
+
}[];
|
|
194
|
+
skills: string[];
|
|
195
|
+
concurrency: {
|
|
196
|
+
max_concurrent: number;
|
|
197
|
+
};
|
|
198
|
+
auto_approve: boolean;
|
|
199
|
+
tags?: string[] | undefined;
|
|
200
|
+
automation?: "eligible" | "ineligible" | undefined;
|
|
49
201
|
description?: string | undefined;
|
|
50
202
|
session_protocol?: {
|
|
51
203
|
start?: string | null | undefined;
|
|
52
204
|
checkpoint?: string | null | undefined;
|
|
53
205
|
end?: string | null | undefined;
|
|
54
206
|
} | undefined;
|
|
207
|
+
adapter?: string | undefined;
|
|
208
|
+
budget?: {
|
|
209
|
+
max_tasks?: number | undefined;
|
|
210
|
+
timeout_minutes?: number | undefined;
|
|
211
|
+
} | undefined;
|
|
212
|
+
prompt_template?: string | undefined;
|
|
55
213
|
}, {
|
|
214
|
+
name: string;
|
|
56
215
|
_ulid: string;
|
|
57
216
|
id: string;
|
|
58
|
-
|
|
217
|
+
tags?: string[] | undefined;
|
|
218
|
+
automation?: "eligible" | "ineligible" | undefined;
|
|
59
219
|
description?: string | undefined;
|
|
60
220
|
capabilities?: string[] | undefined;
|
|
61
221
|
tools?: string[] | undefined;
|
|
@@ -65,6 +225,25 @@ export declare const AgentSchema: z.ZodObject<{
|
|
|
65
225
|
end?: string | null | undefined;
|
|
66
226
|
} | undefined;
|
|
67
227
|
conventions?: string[] | undefined;
|
|
228
|
+
adapter?: string | undefined;
|
|
229
|
+
dispatch?: {
|
|
230
|
+
on: "task.in_progress" | "task.ready" | "task.needs_work" | "task.pending_review";
|
|
231
|
+
filter?: {
|
|
232
|
+
tags?: string[] | undefined;
|
|
233
|
+
automation?: "eligible" | "ineligible" | undefined;
|
|
234
|
+
priority?: number | undefined;
|
|
235
|
+
} | undefined;
|
|
236
|
+
}[] | undefined;
|
|
237
|
+
skills?: string[] | undefined;
|
|
238
|
+
budget?: {
|
|
239
|
+
max_tasks?: number | undefined;
|
|
240
|
+
timeout_minutes?: number | undefined;
|
|
241
|
+
} | undefined;
|
|
242
|
+
concurrency?: {
|
|
243
|
+
max_concurrent?: number | undefined;
|
|
244
|
+
} | undefined;
|
|
245
|
+
auto_approve?: boolean | undefined;
|
|
246
|
+
prompt_template?: string | undefined;
|
|
68
247
|
}>;
|
|
69
248
|
/**
|
|
70
249
|
* Workflow step types
|
|
@@ -139,8 +318,8 @@ export declare const WorkflowStepSchema: z.ZodObject<{
|
|
|
139
318
|
required?: boolean | undefined;
|
|
140
319
|
}>, "many">>;
|
|
141
320
|
}, "strip", z.ZodTypeAny, {
|
|
142
|
-
type: "decision" | "check" | "action";
|
|
143
321
|
content: string;
|
|
322
|
+
type: "decision" | "check" | "action";
|
|
144
323
|
options?: string[] | undefined;
|
|
145
324
|
on_fail?: string | undefined;
|
|
146
325
|
execution?: {
|
|
@@ -156,8 +335,8 @@ export declare const WorkflowStepSchema: z.ZodObject<{
|
|
|
156
335
|
required?: boolean | undefined;
|
|
157
336
|
}[] | undefined;
|
|
158
337
|
}, {
|
|
159
|
-
type: "decision" | "check" | "action";
|
|
160
338
|
content: string;
|
|
339
|
+
type: "decision" | "check" | "action";
|
|
161
340
|
options?: string[] | undefined;
|
|
162
341
|
on_fail?: string | undefined;
|
|
163
342
|
execution?: {
|
|
@@ -219,8 +398,8 @@ export declare const WorkflowSchema: z.ZodObject<{
|
|
|
219
398
|
required?: boolean | undefined;
|
|
220
399
|
}>, "many">>;
|
|
221
400
|
}, "strip", z.ZodTypeAny, {
|
|
222
|
-
type: "decision" | "check" | "action";
|
|
223
401
|
content: string;
|
|
402
|
+
type: "decision" | "check" | "action";
|
|
224
403
|
options?: string[] | undefined;
|
|
225
404
|
on_fail?: string | undefined;
|
|
226
405
|
execution?: {
|
|
@@ -236,8 +415,8 @@ export declare const WorkflowSchema: z.ZodObject<{
|
|
|
236
415
|
required?: boolean | undefined;
|
|
237
416
|
}[] | undefined;
|
|
238
417
|
}, {
|
|
239
|
-
type: "decision" | "check" | "action";
|
|
240
418
|
content: string;
|
|
419
|
+
type: "decision" | "check" | "action";
|
|
241
420
|
options?: string[] | undefined;
|
|
242
421
|
on_fail?: string | undefined;
|
|
243
422
|
execution?: {
|
|
@@ -262,8 +441,8 @@ export declare const WorkflowSchema: z.ZodObject<{
|
|
|
262
441
|
id: string;
|
|
263
442
|
trigger: string;
|
|
264
443
|
steps: {
|
|
265
|
-
type: "decision" | "check" | "action";
|
|
266
444
|
content: string;
|
|
445
|
+
type: "decision" | "check" | "action";
|
|
267
446
|
options?: string[] | undefined;
|
|
268
447
|
on_fail?: string | undefined;
|
|
269
448
|
execution?: {
|
|
@@ -292,8 +471,8 @@ export declare const WorkflowSchema: z.ZodObject<{
|
|
|
292
471
|
description?: string | undefined;
|
|
293
472
|
mode?: "interactive" | "loop" | undefined;
|
|
294
473
|
steps?: {
|
|
295
|
-
type: "decision" | "check" | "action";
|
|
296
474
|
content: string;
|
|
475
|
+
type: "decision" | "check" | "action";
|
|
297
476
|
options?: string[] | undefined;
|
|
298
477
|
on_fail?: string | undefined;
|
|
299
478
|
execution?: {
|
|
@@ -450,10 +629,10 @@ export declare const ObservationSchema: z.ZodObject<{
|
|
|
450
629
|
resolved_by: z.ZodOptional<z.ZodString>;
|
|
451
630
|
promoted_to: z.ZodOptional<z.ZodString>;
|
|
452
631
|
}, "strip", z.ZodTypeAny, {
|
|
632
|
+
content: string;
|
|
453
633
|
type: "friction" | "success" | "question" | "idea";
|
|
454
634
|
_ulid: string;
|
|
455
635
|
created_at: string;
|
|
456
|
-
content: string;
|
|
457
636
|
resolved: boolean;
|
|
458
637
|
workflow_ref?: string | undefined;
|
|
459
638
|
author?: string | undefined;
|
|
@@ -462,10 +641,10 @@ export declare const ObservationSchema: z.ZodObject<{
|
|
|
462
641
|
resolved_by?: string | undefined;
|
|
463
642
|
promoted_to?: string | undefined;
|
|
464
643
|
}, {
|
|
644
|
+
content: string;
|
|
465
645
|
type: "friction" | "success" | "question" | "idea";
|
|
466
646
|
_ulid: string;
|
|
467
647
|
created_at: string;
|
|
468
|
-
content: string;
|
|
469
648
|
workflow_ref?: string | undefined;
|
|
470
649
|
author?: string | undefined;
|
|
471
650
|
resolved?: boolean | undefined;
|
|
@@ -850,10 +1029,10 @@ export declare const SkillSchema: z.ZodObject<{
|
|
|
850
1029
|
}>>;
|
|
851
1030
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
852
1031
|
}, "strip", z.ZodTypeAny, {
|
|
1032
|
+
name: string;
|
|
853
1033
|
_ulid: string;
|
|
854
1034
|
tags: string[];
|
|
855
1035
|
id: string;
|
|
856
|
-
name: string;
|
|
857
1036
|
_type: "skill";
|
|
858
1037
|
origin: "core" | "project" | "local";
|
|
859
1038
|
platforms: string[];
|
|
@@ -914,9 +1093,9 @@ export declare const SkillSchema: z.ZodObject<{
|
|
|
914
1093
|
}>>;
|
|
915
1094
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
916
1095
|
}, {
|
|
1096
|
+
name: string;
|
|
917
1097
|
_ulid: string;
|
|
918
1098
|
id: string;
|
|
919
|
-
name: string;
|
|
920
1099
|
origin: "core" | "project" | "local";
|
|
921
1100
|
tags?: string[] | undefined;
|
|
922
1101
|
description?: string | undefined;
|
|
@@ -1303,23 +1482,101 @@ export declare const MetaManifestSchema: z.ZodObject<{
|
|
|
1303
1482
|
end?: string | null | undefined;
|
|
1304
1483
|
}>>;
|
|
1305
1484
|
conventions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1485
|
+
adapter: z.ZodOptional<z.ZodString>;
|
|
1486
|
+
dispatch: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1487
|
+
on: z.ZodEnum<["task.in_progress", "task.ready", "task.needs_work", "task.pending_review"]>;
|
|
1488
|
+
filter: z.ZodOptional<z.ZodObject<{
|
|
1489
|
+
automation: z.ZodOptional<z.ZodEnum<["eligible", "ineligible"]>>;
|
|
1490
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1491
|
+
priority: z.ZodOptional<z.ZodNumber>;
|
|
1492
|
+
}, "strip", z.ZodTypeAny, {
|
|
1493
|
+
tags?: string[] | undefined;
|
|
1494
|
+
automation?: "eligible" | "ineligible" | undefined;
|
|
1495
|
+
priority?: number | undefined;
|
|
1496
|
+
}, {
|
|
1497
|
+
tags?: string[] | undefined;
|
|
1498
|
+
automation?: "eligible" | "ineligible" | undefined;
|
|
1499
|
+
priority?: number | undefined;
|
|
1500
|
+
}>>;
|
|
1501
|
+
}, "strip", z.ZodTypeAny, {
|
|
1502
|
+
on: "task.in_progress" | "task.ready" | "task.needs_work" | "task.pending_review";
|
|
1503
|
+
filter?: {
|
|
1504
|
+
tags?: string[] | undefined;
|
|
1505
|
+
automation?: "eligible" | "ineligible" | undefined;
|
|
1506
|
+
priority?: number | undefined;
|
|
1507
|
+
} | undefined;
|
|
1508
|
+
}, {
|
|
1509
|
+
on: "task.in_progress" | "task.ready" | "task.needs_work" | "task.pending_review";
|
|
1510
|
+
filter?: {
|
|
1511
|
+
tags?: string[] | undefined;
|
|
1512
|
+
automation?: "eligible" | "ineligible" | undefined;
|
|
1513
|
+
priority?: number | undefined;
|
|
1514
|
+
} | undefined;
|
|
1515
|
+
}>, "many">>;
|
|
1516
|
+
skills: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1517
|
+
budget: z.ZodOptional<z.ZodObject<{
|
|
1518
|
+
max_tasks: z.ZodOptional<z.ZodNumber>;
|
|
1519
|
+
timeout_minutes: z.ZodOptional<z.ZodNumber>;
|
|
1520
|
+
}, "strip", z.ZodTypeAny, {
|
|
1521
|
+
max_tasks?: number | undefined;
|
|
1522
|
+
timeout_minutes?: number | undefined;
|
|
1523
|
+
}, {
|
|
1524
|
+
max_tasks?: number | undefined;
|
|
1525
|
+
timeout_minutes?: number | undefined;
|
|
1526
|
+
}>>;
|
|
1527
|
+
concurrency: z.ZodDefault<z.ZodObject<{
|
|
1528
|
+
max_concurrent: z.ZodDefault<z.ZodNumber>;
|
|
1529
|
+
}, "strip", z.ZodTypeAny, {
|
|
1530
|
+
max_concurrent: number;
|
|
1531
|
+
}, {
|
|
1532
|
+
max_concurrent?: number | undefined;
|
|
1533
|
+
}>>;
|
|
1534
|
+
auto_approve: z.ZodDefault<z.ZodBoolean>;
|
|
1535
|
+
prompt_template: z.ZodOptional<z.ZodString>;
|
|
1536
|
+
/** Automation eligibility for agent list filtering (eligible|ineligible) */
|
|
1537
|
+
automation: z.ZodOptional<z.ZodEnum<["eligible", "ineligible"]>>;
|
|
1538
|
+
/** Tags for filtering and categorization */
|
|
1539
|
+
tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
1306
1540
|
}, "strip", z.ZodTypeAny, {
|
|
1541
|
+
name: string;
|
|
1307
1542
|
_ulid: string;
|
|
1308
1543
|
id: string;
|
|
1309
|
-
name: string;
|
|
1310
1544
|
capabilities: string[];
|
|
1311
1545
|
tools: string[];
|
|
1312
1546
|
conventions: string[];
|
|
1547
|
+
dispatch: {
|
|
1548
|
+
on: "task.in_progress" | "task.ready" | "task.needs_work" | "task.pending_review";
|
|
1549
|
+
filter?: {
|
|
1550
|
+
tags?: string[] | undefined;
|
|
1551
|
+
automation?: "eligible" | "ineligible" | undefined;
|
|
1552
|
+
priority?: number | undefined;
|
|
1553
|
+
} | undefined;
|
|
1554
|
+
}[];
|
|
1555
|
+
skills: string[];
|
|
1556
|
+
concurrency: {
|
|
1557
|
+
max_concurrent: number;
|
|
1558
|
+
};
|
|
1559
|
+
auto_approve: boolean;
|
|
1560
|
+
tags?: string[] | undefined;
|
|
1561
|
+
automation?: "eligible" | "ineligible" | undefined;
|
|
1313
1562
|
description?: string | undefined;
|
|
1314
1563
|
session_protocol?: {
|
|
1315
1564
|
start?: string | null | undefined;
|
|
1316
1565
|
checkpoint?: string | null | undefined;
|
|
1317
1566
|
end?: string | null | undefined;
|
|
1318
1567
|
} | undefined;
|
|
1568
|
+
adapter?: string | undefined;
|
|
1569
|
+
budget?: {
|
|
1570
|
+
max_tasks?: number | undefined;
|
|
1571
|
+
timeout_minutes?: number | undefined;
|
|
1572
|
+
} | undefined;
|
|
1573
|
+
prompt_template?: string | undefined;
|
|
1319
1574
|
}, {
|
|
1575
|
+
name: string;
|
|
1320
1576
|
_ulid: string;
|
|
1321
1577
|
id: string;
|
|
1322
|
-
|
|
1578
|
+
tags?: string[] | undefined;
|
|
1579
|
+
automation?: "eligible" | "ineligible" | undefined;
|
|
1323
1580
|
description?: string | undefined;
|
|
1324
1581
|
capabilities?: string[] | undefined;
|
|
1325
1582
|
tools?: string[] | undefined;
|
|
@@ -1329,6 +1586,25 @@ export declare const MetaManifestSchema: z.ZodObject<{
|
|
|
1329
1586
|
end?: string | null | undefined;
|
|
1330
1587
|
} | undefined;
|
|
1331
1588
|
conventions?: string[] | undefined;
|
|
1589
|
+
adapter?: string | undefined;
|
|
1590
|
+
dispatch?: {
|
|
1591
|
+
on: "task.in_progress" | "task.ready" | "task.needs_work" | "task.pending_review";
|
|
1592
|
+
filter?: {
|
|
1593
|
+
tags?: string[] | undefined;
|
|
1594
|
+
automation?: "eligible" | "ineligible" | undefined;
|
|
1595
|
+
priority?: number | undefined;
|
|
1596
|
+
} | undefined;
|
|
1597
|
+
}[] | undefined;
|
|
1598
|
+
skills?: string[] | undefined;
|
|
1599
|
+
budget?: {
|
|
1600
|
+
max_tasks?: number | undefined;
|
|
1601
|
+
timeout_minutes?: number | undefined;
|
|
1602
|
+
} | undefined;
|
|
1603
|
+
concurrency?: {
|
|
1604
|
+
max_concurrent?: number | undefined;
|
|
1605
|
+
} | undefined;
|
|
1606
|
+
auto_approve?: boolean | undefined;
|
|
1607
|
+
prompt_template?: string | undefined;
|
|
1332
1608
|
}>, "many">>;
|
|
1333
1609
|
workflows: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1334
1610
|
_ulid: z.ZodString;
|
|
@@ -1369,8 +1645,8 @@ export declare const MetaManifestSchema: z.ZodObject<{
|
|
|
1369
1645
|
required?: boolean | undefined;
|
|
1370
1646
|
}>, "many">>;
|
|
1371
1647
|
}, "strip", z.ZodTypeAny, {
|
|
1372
|
-
type: "decision" | "check" | "action";
|
|
1373
1648
|
content: string;
|
|
1649
|
+
type: "decision" | "check" | "action";
|
|
1374
1650
|
options?: string[] | undefined;
|
|
1375
1651
|
on_fail?: string | undefined;
|
|
1376
1652
|
execution?: {
|
|
@@ -1386,8 +1662,8 @@ export declare const MetaManifestSchema: z.ZodObject<{
|
|
|
1386
1662
|
required?: boolean | undefined;
|
|
1387
1663
|
}[] | undefined;
|
|
1388
1664
|
}, {
|
|
1389
|
-
type: "decision" | "check" | "action";
|
|
1390
1665
|
content: string;
|
|
1666
|
+
type: "decision" | "check" | "action";
|
|
1391
1667
|
options?: string[] | undefined;
|
|
1392
1668
|
on_fail?: string | undefined;
|
|
1393
1669
|
execution?: {
|
|
@@ -1412,8 +1688,8 @@ export declare const MetaManifestSchema: z.ZodObject<{
|
|
|
1412
1688
|
id: string;
|
|
1413
1689
|
trigger: string;
|
|
1414
1690
|
steps: {
|
|
1415
|
-
type: "decision" | "check" | "action";
|
|
1416
1691
|
content: string;
|
|
1692
|
+
type: "decision" | "check" | "action";
|
|
1417
1693
|
options?: string[] | undefined;
|
|
1418
1694
|
on_fail?: string | undefined;
|
|
1419
1695
|
execution?: {
|
|
@@ -1442,8 +1718,8 @@ export declare const MetaManifestSchema: z.ZodObject<{
|
|
|
1442
1718
|
description?: string | undefined;
|
|
1443
1719
|
mode?: "interactive" | "loop" | undefined;
|
|
1444
1720
|
steps?: {
|
|
1445
|
-
type: "decision" | "check" | "action";
|
|
1446
1721
|
content: string;
|
|
1722
|
+
type: "decision" | "check" | "action";
|
|
1447
1723
|
options?: string[] | undefined;
|
|
1448
1724
|
on_fail?: string | undefined;
|
|
1449
1725
|
execution?: {
|
|
@@ -1549,10 +1825,10 @@ export declare const MetaManifestSchema: z.ZodObject<{
|
|
|
1549
1825
|
resolved_by: z.ZodOptional<z.ZodString>;
|
|
1550
1826
|
promoted_to: z.ZodOptional<z.ZodString>;
|
|
1551
1827
|
}, "strip", z.ZodTypeAny, {
|
|
1828
|
+
content: string;
|
|
1552
1829
|
type: "friction" | "success" | "question" | "idea";
|
|
1553
1830
|
_ulid: string;
|
|
1554
1831
|
created_at: string;
|
|
1555
|
-
content: string;
|
|
1556
1832
|
resolved: boolean;
|
|
1557
1833
|
workflow_ref?: string | undefined;
|
|
1558
1834
|
author?: string | undefined;
|
|
@@ -1561,10 +1837,10 @@ export declare const MetaManifestSchema: z.ZodObject<{
|
|
|
1561
1837
|
resolved_by?: string | undefined;
|
|
1562
1838
|
promoted_to?: string | undefined;
|
|
1563
1839
|
}, {
|
|
1840
|
+
content: string;
|
|
1564
1841
|
type: "friction" | "success" | "question" | "idea";
|
|
1565
1842
|
_ulid: string;
|
|
1566
1843
|
created_at: string;
|
|
1567
|
-
content: string;
|
|
1568
1844
|
workflow_ref?: string | undefined;
|
|
1569
1845
|
author?: string | undefined;
|
|
1570
1846
|
resolved?: boolean | undefined;
|
|
@@ -1734,10 +2010,10 @@ export declare const MetaManifestSchema: z.ZodObject<{
|
|
|
1734
2010
|
}>>;
|
|
1735
2011
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
1736
2012
|
}, "strip", z.ZodTypeAny, {
|
|
2013
|
+
name: string;
|
|
1737
2014
|
_ulid: string;
|
|
1738
2015
|
tags: string[];
|
|
1739
2016
|
id: string;
|
|
1740
|
-
name: string;
|
|
1741
2017
|
_type: "skill";
|
|
1742
2018
|
origin: "core" | "project" | "local";
|
|
1743
2019
|
platforms: string[];
|
|
@@ -1798,9 +2074,9 @@ export declare const MetaManifestSchema: z.ZodObject<{
|
|
|
1798
2074
|
}>>;
|
|
1799
2075
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1800
2076
|
}, {
|
|
2077
|
+
name: string;
|
|
1801
2078
|
_ulid: string;
|
|
1802
2079
|
id: string;
|
|
1803
|
-
name: string;
|
|
1804
2080
|
origin: "core" | "project" | "local";
|
|
1805
2081
|
tags?: string[] | undefined;
|
|
1806
2082
|
description?: string | undefined;
|
|
@@ -1883,67 +2159,11 @@ export declare const MetaManifestSchema: z.ZodObject<{
|
|
|
1883
2159
|
unit?: "words" | "chars" | "lines" | undefined;
|
|
1884
2160
|
} | undefined;
|
|
1885
2161
|
}[];
|
|
1886
|
-
kynetic_meta: string;
|
|
1887
|
-
agents: {
|
|
1888
|
-
_ulid: string;
|
|
1889
|
-
id: string;
|
|
1890
|
-
name: string;
|
|
1891
|
-
capabilities: string[];
|
|
1892
|
-
tools: string[];
|
|
1893
|
-
conventions: string[];
|
|
1894
|
-
description?: string | undefined;
|
|
1895
|
-
session_protocol?: {
|
|
1896
|
-
start?: string | null | undefined;
|
|
1897
|
-
checkpoint?: string | null | undefined;
|
|
1898
|
-
end?: string | null | undefined;
|
|
1899
|
-
} | undefined;
|
|
1900
|
-
}[];
|
|
1901
|
-
workflows: {
|
|
1902
|
-
_ulid: string;
|
|
1903
|
-
id: string;
|
|
1904
|
-
trigger: string;
|
|
1905
|
-
steps: {
|
|
1906
|
-
type: "decision" | "check" | "action";
|
|
1907
|
-
content: string;
|
|
1908
|
-
options?: string[] | undefined;
|
|
1909
|
-
on_fail?: string | undefined;
|
|
1910
|
-
execution?: {
|
|
1911
|
-
mode: "prompt" | "silent" | "skip";
|
|
1912
|
-
timeout?: number | null | undefined;
|
|
1913
|
-
} | undefined;
|
|
1914
|
-
entry_criteria?: string[] | undefined;
|
|
1915
|
-
exit_criteria?: string[] | undefined;
|
|
1916
|
-
inputs?: {
|
|
1917
|
-
name: string;
|
|
1918
|
-
type?: "string" | "number" | "ref" | undefined;
|
|
1919
|
-
description?: string | undefined;
|
|
1920
|
-
required?: boolean | undefined;
|
|
1921
|
-
}[] | undefined;
|
|
1922
|
-
}[];
|
|
1923
|
-
tags?: string[] | undefined;
|
|
1924
|
-
description?: string | undefined;
|
|
1925
|
-
mode?: "interactive" | "loop" | undefined;
|
|
1926
|
-
enforcement?: "advisory" | "strict" | undefined;
|
|
1927
|
-
based_on?: string | undefined;
|
|
1928
|
-
}[];
|
|
1929
|
-
observations: {
|
|
1930
|
-
type: "friction" | "success" | "question" | "idea";
|
|
1931
|
-
_ulid: string;
|
|
1932
|
-
created_at: string;
|
|
1933
|
-
content: string;
|
|
1934
|
-
resolved: boolean;
|
|
1935
|
-
workflow_ref?: string | undefined;
|
|
1936
|
-
author?: string | undefined;
|
|
1937
|
-
resolution?: string | null | undefined;
|
|
1938
|
-
resolved_at?: string | undefined;
|
|
1939
|
-
resolved_by?: string | undefined;
|
|
1940
|
-
promoted_to?: string | undefined;
|
|
1941
|
-
}[];
|
|
1942
2162
|
skills: {
|
|
2163
|
+
name: string;
|
|
1943
2164
|
_ulid: string;
|
|
1944
2165
|
tags: string[];
|
|
1945
2166
|
id: string;
|
|
1946
|
-
name: string;
|
|
1947
2167
|
_type: "skill";
|
|
1948
2168
|
origin: "core" | "project" | "local";
|
|
1949
2169
|
platforms: string[];
|
|
@@ -2004,55 +2224,53 @@ export declare const MetaManifestSchema: z.ZodObject<{
|
|
|
2004
2224
|
}>>;
|
|
2005
2225
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2006
2226
|
}[];
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
_ulid: string;
|
|
2011
|
-
domain: string;
|
|
2012
|
-
validation?: {
|
|
2013
|
-
type: "regex" | "enum" | "range" | "prose";
|
|
2014
|
-
message?: string | undefined;
|
|
2015
|
-
pattern?: string | undefined;
|
|
2016
|
-
allowed?: string[] | undefined;
|
|
2017
|
-
min?: number | undefined;
|
|
2018
|
-
max?: number | undefined;
|
|
2019
|
-
unit?: "words" | "chars" | "lines" | undefined;
|
|
2020
|
-
} | undefined;
|
|
2021
|
-
rules?: string[] | undefined;
|
|
2022
|
-
examples?: {
|
|
2023
|
-
good: string;
|
|
2024
|
-
bad: string;
|
|
2025
|
-
}[] | undefined;
|
|
2026
|
-
}[] | undefined;
|
|
2027
|
-
kynetic_meta?: string | undefined;
|
|
2028
|
-
agents?: {
|
|
2227
|
+
kynetic_meta: string;
|
|
2228
|
+
agents: {
|
|
2229
|
+
name: string;
|
|
2029
2230
|
_ulid: string;
|
|
2030
2231
|
id: string;
|
|
2031
|
-
|
|
2232
|
+
capabilities: string[];
|
|
2233
|
+
tools: string[];
|
|
2234
|
+
conventions: string[];
|
|
2235
|
+
dispatch: {
|
|
2236
|
+
on: "task.in_progress" | "task.ready" | "task.needs_work" | "task.pending_review";
|
|
2237
|
+
filter?: {
|
|
2238
|
+
tags?: string[] | undefined;
|
|
2239
|
+
automation?: "eligible" | "ineligible" | undefined;
|
|
2240
|
+
priority?: number | undefined;
|
|
2241
|
+
} | undefined;
|
|
2242
|
+
}[];
|
|
2243
|
+
skills: string[];
|
|
2244
|
+
concurrency: {
|
|
2245
|
+
max_concurrent: number;
|
|
2246
|
+
};
|
|
2247
|
+
auto_approve: boolean;
|
|
2248
|
+
tags?: string[] | undefined;
|
|
2249
|
+
automation?: "eligible" | "ineligible" | undefined;
|
|
2032
2250
|
description?: string | undefined;
|
|
2033
|
-
capabilities?: string[] | undefined;
|
|
2034
|
-
tools?: string[] | undefined;
|
|
2035
2251
|
session_protocol?: {
|
|
2036
2252
|
start?: string | null | undefined;
|
|
2037
2253
|
checkpoint?: string | null | undefined;
|
|
2038
2254
|
end?: string | null | undefined;
|
|
2039
2255
|
} | undefined;
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2256
|
+
adapter?: string | undefined;
|
|
2257
|
+
budget?: {
|
|
2258
|
+
max_tasks?: number | undefined;
|
|
2259
|
+
timeout_minutes?: number | undefined;
|
|
2260
|
+
} | undefined;
|
|
2261
|
+
prompt_template?: string | undefined;
|
|
2262
|
+
}[];
|
|
2263
|
+
workflows: {
|
|
2043
2264
|
_ulid: string;
|
|
2044
2265
|
id: string;
|
|
2045
2266
|
trigger: string;
|
|
2046
|
-
|
|
2047
|
-
description?: string | undefined;
|
|
2048
|
-
mode?: "interactive" | "loop" | undefined;
|
|
2049
|
-
steps?: {
|
|
2050
|
-
type: "decision" | "check" | "action";
|
|
2267
|
+
steps: {
|
|
2051
2268
|
content: string;
|
|
2269
|
+
type: "decision" | "check" | "action";
|
|
2052
2270
|
options?: string[] | undefined;
|
|
2053
2271
|
on_fail?: string | undefined;
|
|
2054
2272
|
execution?: {
|
|
2055
|
-
mode
|
|
2273
|
+
mode: "prompt" | "silent" | "skip";
|
|
2056
2274
|
timeout?: number | null | undefined;
|
|
2057
2275
|
} | undefined;
|
|
2058
2276
|
entry_criteria?: string[] | undefined;
|
|
@@ -2063,27 +2281,50 @@ export declare const MetaManifestSchema: z.ZodObject<{
|
|
|
2063
2281
|
description?: string | undefined;
|
|
2064
2282
|
required?: boolean | undefined;
|
|
2065
2283
|
}[] | undefined;
|
|
2066
|
-
}[]
|
|
2284
|
+
}[];
|
|
2285
|
+
tags?: string[] | undefined;
|
|
2286
|
+
description?: string | undefined;
|
|
2287
|
+
mode?: "interactive" | "loop" | undefined;
|
|
2067
2288
|
enforcement?: "advisory" | "strict" | undefined;
|
|
2068
2289
|
based_on?: string | undefined;
|
|
2069
|
-
}[]
|
|
2070
|
-
observations
|
|
2290
|
+
}[];
|
|
2291
|
+
observations: {
|
|
2292
|
+
content: string;
|
|
2071
2293
|
type: "friction" | "success" | "question" | "idea";
|
|
2072
2294
|
_ulid: string;
|
|
2073
2295
|
created_at: string;
|
|
2074
|
-
|
|
2296
|
+
resolved: boolean;
|
|
2075
2297
|
workflow_ref?: string | undefined;
|
|
2076
2298
|
author?: string | undefined;
|
|
2077
|
-
resolved?: boolean | undefined;
|
|
2078
2299
|
resolution?: string | null | undefined;
|
|
2079
2300
|
resolved_at?: string | undefined;
|
|
2080
2301
|
resolved_by?: string | undefined;
|
|
2081
2302
|
promoted_to?: string | undefined;
|
|
2303
|
+
}[];
|
|
2304
|
+
}, {
|
|
2305
|
+
includes?: string[] | undefined;
|
|
2306
|
+
conventions?: {
|
|
2307
|
+
_ulid: string;
|
|
2308
|
+
domain: string;
|
|
2309
|
+
validation?: {
|
|
2310
|
+
type: "regex" | "enum" | "range" | "prose";
|
|
2311
|
+
message?: string | undefined;
|
|
2312
|
+
pattern?: string | undefined;
|
|
2313
|
+
allowed?: string[] | undefined;
|
|
2314
|
+
min?: number | undefined;
|
|
2315
|
+
max?: number | undefined;
|
|
2316
|
+
unit?: "words" | "chars" | "lines" | undefined;
|
|
2317
|
+
} | undefined;
|
|
2318
|
+
rules?: string[] | undefined;
|
|
2319
|
+
examples?: {
|
|
2320
|
+
good: string;
|
|
2321
|
+
bad: string;
|
|
2322
|
+
}[] | undefined;
|
|
2082
2323
|
}[] | undefined;
|
|
2083
2324
|
skills?: {
|
|
2325
|
+
name: string;
|
|
2084
2326
|
_ulid: string;
|
|
2085
2327
|
id: string;
|
|
2086
|
-
name: string;
|
|
2087
2328
|
origin: "core" | "project" | "local";
|
|
2088
2329
|
tags?: string[] | undefined;
|
|
2089
2330
|
description?: string | undefined;
|
|
@@ -2145,8 +2386,90 @@ export declare const MetaManifestSchema: z.ZodObject<{
|
|
|
2145
2386
|
}>>;
|
|
2146
2387
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2147
2388
|
}[] | undefined;
|
|
2389
|
+
kynetic_meta?: string | undefined;
|
|
2390
|
+
agents?: {
|
|
2391
|
+
name: string;
|
|
2392
|
+
_ulid: string;
|
|
2393
|
+
id: string;
|
|
2394
|
+
tags?: string[] | undefined;
|
|
2395
|
+
automation?: "eligible" | "ineligible" | undefined;
|
|
2396
|
+
description?: string | undefined;
|
|
2397
|
+
capabilities?: string[] | undefined;
|
|
2398
|
+
tools?: string[] | undefined;
|
|
2399
|
+
session_protocol?: {
|
|
2400
|
+
start?: string | null | undefined;
|
|
2401
|
+
checkpoint?: string | null | undefined;
|
|
2402
|
+
end?: string | null | undefined;
|
|
2403
|
+
} | undefined;
|
|
2404
|
+
conventions?: string[] | undefined;
|
|
2405
|
+
adapter?: string | undefined;
|
|
2406
|
+
dispatch?: {
|
|
2407
|
+
on: "task.in_progress" | "task.ready" | "task.needs_work" | "task.pending_review";
|
|
2408
|
+
filter?: {
|
|
2409
|
+
tags?: string[] | undefined;
|
|
2410
|
+
automation?: "eligible" | "ineligible" | undefined;
|
|
2411
|
+
priority?: number | undefined;
|
|
2412
|
+
} | undefined;
|
|
2413
|
+
}[] | undefined;
|
|
2414
|
+
skills?: string[] | undefined;
|
|
2415
|
+
budget?: {
|
|
2416
|
+
max_tasks?: number | undefined;
|
|
2417
|
+
timeout_minutes?: number | undefined;
|
|
2418
|
+
} | undefined;
|
|
2419
|
+
concurrency?: {
|
|
2420
|
+
max_concurrent?: number | undefined;
|
|
2421
|
+
} | undefined;
|
|
2422
|
+
auto_approve?: boolean | undefined;
|
|
2423
|
+
prompt_template?: string | undefined;
|
|
2424
|
+
}[] | undefined;
|
|
2425
|
+
workflows?: {
|
|
2426
|
+
_ulid: string;
|
|
2427
|
+
id: string;
|
|
2428
|
+
trigger: string;
|
|
2429
|
+
tags?: string[] | undefined;
|
|
2430
|
+
description?: string | undefined;
|
|
2431
|
+
mode?: "interactive" | "loop" | undefined;
|
|
2432
|
+
steps?: {
|
|
2433
|
+
content: string;
|
|
2434
|
+
type: "decision" | "check" | "action";
|
|
2435
|
+
options?: string[] | undefined;
|
|
2436
|
+
on_fail?: string | undefined;
|
|
2437
|
+
execution?: {
|
|
2438
|
+
mode?: "prompt" | "silent" | "skip" | undefined;
|
|
2439
|
+
timeout?: number | null | undefined;
|
|
2440
|
+
} | undefined;
|
|
2441
|
+
entry_criteria?: string[] | undefined;
|
|
2442
|
+
exit_criteria?: string[] | undefined;
|
|
2443
|
+
inputs?: {
|
|
2444
|
+
name: string;
|
|
2445
|
+
type?: "string" | "number" | "ref" | undefined;
|
|
2446
|
+
description?: string | undefined;
|
|
2447
|
+
required?: boolean | undefined;
|
|
2448
|
+
}[] | undefined;
|
|
2449
|
+
}[] | undefined;
|
|
2450
|
+
enforcement?: "advisory" | "strict" | undefined;
|
|
2451
|
+
based_on?: string | undefined;
|
|
2452
|
+
}[] | undefined;
|
|
2453
|
+
observations?: {
|
|
2454
|
+
content: string;
|
|
2455
|
+
type: "friction" | "success" | "question" | "idea";
|
|
2456
|
+
_ulid: string;
|
|
2457
|
+
created_at: string;
|
|
2458
|
+
workflow_ref?: string | undefined;
|
|
2459
|
+
author?: string | undefined;
|
|
2460
|
+
resolved?: boolean | undefined;
|
|
2461
|
+
resolution?: string | null | undefined;
|
|
2462
|
+
resolved_at?: string | undefined;
|
|
2463
|
+
resolved_by?: string | undefined;
|
|
2464
|
+
promoted_to?: string | undefined;
|
|
2465
|
+
}[] | undefined;
|
|
2148
2466
|
}>;
|
|
2149
2467
|
export type SessionProtocol = z.infer<typeof SessionProtocolSchema>;
|
|
2468
|
+
export type AgentDispatchEvent = z.infer<typeof AgentDispatchEventSchema>;
|
|
2469
|
+
export type AgentDispatchFilter = z.infer<typeof AgentDispatchFilterSchema>;
|
|
2470
|
+
export type AgentDispatchRule = z.infer<typeof AgentDispatchRuleSchema>;
|
|
2471
|
+
export type AgentBudget = z.infer<typeof AgentBudgetSchema>;
|
|
2472
|
+
export type AgentConcurrency = z.infer<typeof AgentConcurrencySchema>;
|
|
2150
2473
|
export type Agent = z.infer<typeof AgentSchema>;
|
|
2151
2474
|
export type WorkflowStepType = z.infer<typeof WorkflowStepTypeSchema>;
|
|
2152
2475
|
export type StepExecution = z.infer<typeof StepExecutionSchema>;
|