@kisev/agentomatic 11.0.0-dev.46.gfbe1e4c6992e
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 +95 -0
- package/README.ru.md +98 -0
- package/dist/agent-profiles.d.ts +125 -0
- package/dist/agent-profiles.js +820 -0
- package/dist/assets/agents/architect.md +67 -0
- package/dist/assets/agents/critic.md +55 -0
- package/dist/assets/agents/manager.md +40 -0
- package/dist/assets/agents/mapper.md +33 -0
- package/dist/assets/agents/review.md +37 -0
- package/dist/assets/agents/worker.md +78 -0
- package/dist/assets/commands/agents-md.md +10 -0
- package/dist/assets/commands/askme.md +10 -0
- package/dist/assets/commands/ast-grep.md +10 -0
- package/dist/assets/commands/briefing.md +10 -0
- package/dist/assets/commands/code-explain.md +10 -0
- package/dist/assets/commands/code-review.md +10 -0
- package/dist/assets/commands/commit-msg.md +10 -0
- package/dist/assets/commands/docs-prepare.md +10 -0
- package/dist/assets/commands/docs-review.md +10 -0
- package/dist/assets/commands/goal.md +10 -0
- package/dist/assets/commands/humanize.md +10 -0
- package/dist/assets/commands/mattermost-triage.md +10 -0
- package/dist/assets/commands/mattermost.md +10 -0
- package/dist/assets/commands/mr-prepare.md +10 -0
- package/dist/assets/commands/release-prepare.md +10 -0
- package/dist/assets/commands/release-review.md +10 -0
- package/dist/assets/commands/rtk-stats.md +13 -0
- package/dist/assets/commands/rtk.md +10 -0
- package/dist/assets/commands/skill-improve.md +10 -0
- package/dist/assets/commands/slides-prompts-prepare.md +10 -0
- package/dist/assets/commands/spec-manage.md +13 -0
- package/dist/assets/commands/stopit.md +10 -0
- package/dist/assets/commands/task-prepare.md +10 -0
- package/dist/assets/commands/task-review.md +10 -0
- package/dist/assets/commands/task-triage.md +10 -0
- package/dist/assets/commands/taskmatic.md +10 -0
- package/dist/assets/commands/team-retro.md +10 -0
- package/dist/assets/commands/team-roadmap.md +10 -0
- package/dist/assets/commands/team-sprint-close.md +10 -0
- package/dist/assets/commands/team-sprint-start.md +10 -0
- package/dist/assets/lsp-catalog.json +30 -0
- package/dist/assets/migration-inventory.json +301 -0
- package/dist/assets/plugins/memomatic.js +3 -0
- package/dist/assets/plugins/rtk.js +3 -0
- package/dist/assets/plugins/rules-injector.js +3 -0
- package/dist/assets/plugins/zed-bell.js +3 -0
- package/dist/catalog.d.ts +8 -0
- package/dist/catalog.js +39 -0
- package/dist/cli-output.d.ts +27 -0
- package/dist/cli-output.js +296 -0
- package/dist/cli.d.ts +2 -0
- package/dist/cli.js +1135 -0
- package/dist/config-setup.d.ts +71 -0
- package/dist/config-setup.js +438 -0
- package/dist/contracts.d.ts +52 -0
- package/dist/contracts.js +102 -0
- package/dist/doctor.d.ts +44 -0
- package/dist/doctor.js +638 -0
- package/dist/generate-assets.d.ts +1 -0
- package/dist/generate-assets.js +54 -0
- package/dist/index.d.ts +125 -0
- package/dist/index.js +141 -0
- package/dist/installer.d.ts +56 -0
- package/dist/installer.js +710 -0
- package/dist/jsonc.d.ts +56 -0
- package/dist/jsonc.js +432 -0
- package/dist/lifecycle.d.ts +77 -0
- package/dist/lifecycle.js +736 -0
- package/dist/package-metadata.d.ts +4 -0
- package/dist/package-metadata.js +42 -0
- package/dist/plugins/memomatic.d.ts +76 -0
- package/dist/plugins/memomatic.js +101 -0
- package/dist/plugins/rtk.d.ts +41 -0
- package/dist/plugins/rtk.js +177 -0
- package/dist/plugins/rules-injector.d.ts +22 -0
- package/dist/plugins/rules-injector.js +131 -0
- package/dist/plugins/zed-bell.d.ts +13 -0
- package/dist/plugins/zed-bell.js +14 -0
- package/dist/reconcile.d.ts +47 -0
- package/dist/reconcile.js +490 -0
- package/dist/registry.d.ts +21 -0
- package/dist/registry.js +92 -0
- package/dist/routing.d.ts +133 -0
- package/dist/routing.js +578 -0
- package/dist/runtime/state.d.ts +9 -0
- package/dist/runtime/state.js +193 -0
- package/dist/runtime/worktree.d.ts +33 -0
- package/dist/runtime/worktree.js +220 -0
- package/dist/terminal-wizard.d.ts +3 -0
- package/dist/terminal-wizard.js +237 -0
- package/package.json +72 -0
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
export declare const CATEGORIES: readonly ["exploration", "architecture", "implementation", "review"];
|
|
2
|
+
export type Category = (typeof CATEGORIES)[number];
|
|
3
|
+
export type AvailableAgent = {
|
|
4
|
+
agent: string;
|
|
5
|
+
available?: boolean;
|
|
6
|
+
capabilities?: string[];
|
|
7
|
+
tools?: string[];
|
|
8
|
+
};
|
|
9
|
+
export type RoutingInput = {
|
|
10
|
+
category: Category;
|
|
11
|
+
task?: string;
|
|
12
|
+
requirements: string[];
|
|
13
|
+
agents: AvailableAgent[];
|
|
14
|
+
inventory_revision?: string;
|
|
15
|
+
execution_card?: unknown;
|
|
16
|
+
override?: string;
|
|
17
|
+
trusted_override?: boolean;
|
|
18
|
+
budget?: {
|
|
19
|
+
cost_class?: string;
|
|
20
|
+
latency_class?: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
export type RoutingDecision = {
|
|
24
|
+
schema_version: 1;
|
|
25
|
+
status: "selected" | "escalate";
|
|
26
|
+
category: Category;
|
|
27
|
+
agent?: string;
|
|
28
|
+
reason_codes: string[];
|
|
29
|
+
alternatives: {
|
|
30
|
+
agent: string;
|
|
31
|
+
excluded_reasons: string[];
|
|
32
|
+
}[];
|
|
33
|
+
matrix_revision: string;
|
|
34
|
+
host_inventory_revision: string;
|
|
35
|
+
task_digest: string;
|
|
36
|
+
requirements_digest: string;
|
|
37
|
+
execution_card_digest?: string;
|
|
38
|
+
execution_card_revision?: number;
|
|
39
|
+
decision_digest: string;
|
|
40
|
+
};
|
|
41
|
+
export type RoutingReceipt = {
|
|
42
|
+
schema_version: 1;
|
|
43
|
+
task_digest: string;
|
|
44
|
+
requirements_digest: string;
|
|
45
|
+
destination: Category;
|
|
46
|
+
agent: string;
|
|
47
|
+
card_digest: string | null;
|
|
48
|
+
card_revision: number | null;
|
|
49
|
+
host_inventory_revision: string;
|
|
50
|
+
expires_at: string;
|
|
51
|
+
nonce: string;
|
|
52
|
+
receipt_digest: string;
|
|
53
|
+
};
|
|
54
|
+
export type ControlMarker = {
|
|
55
|
+
path: string;
|
|
56
|
+
expected?: string;
|
|
57
|
+
expected_absent?: boolean;
|
|
58
|
+
};
|
|
59
|
+
export type ExecutionCard = {
|
|
60
|
+
schema_version: 1;
|
|
61
|
+
status: "READY";
|
|
62
|
+
card_id: string;
|
|
63
|
+
revision: number;
|
|
64
|
+
objective: string;
|
|
65
|
+
evidence: string[];
|
|
66
|
+
changed_behavior: string[];
|
|
67
|
+
risks: string[];
|
|
68
|
+
write_set: string[];
|
|
69
|
+
control_markers: ControlMarker[];
|
|
70
|
+
decisions: string[];
|
|
71
|
+
steps: Array<{
|
|
72
|
+
path: string;
|
|
73
|
+
operation: string;
|
|
74
|
+
}>;
|
|
75
|
+
acceptance_criteria: string[];
|
|
76
|
+
checks: string[];
|
|
77
|
+
operations: Array<{
|
|
78
|
+
kind: "write" | "check" | "commit" | "rebase" | "push" | "merge" | "tag" | "release";
|
|
79
|
+
command: string;
|
|
80
|
+
path?: string;
|
|
81
|
+
confirmation_ref?: string;
|
|
82
|
+
}>;
|
|
83
|
+
confirmations: {
|
|
84
|
+
execution: string;
|
|
85
|
+
publication?: string;
|
|
86
|
+
history_rewrite?: string;
|
|
87
|
+
};
|
|
88
|
+
boundaries: {
|
|
89
|
+
forbidden_paths: string[];
|
|
90
|
+
scope: string;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
export type ExecutionCardStatus = ExecutionCard["status"] | "RUNNING" | "COMPLETED" | "BLOCKED" | "FAILED" | "REJECTED_PLAN" | "APPROVED" | "CHANGES_REQUIRED" | "CANCELLED";
|
|
94
|
+
export declare function validateRoutingReceipt(value: unknown, context?: {
|
|
95
|
+
task?: string;
|
|
96
|
+
category?: string;
|
|
97
|
+
requirements?: string[];
|
|
98
|
+
card?: unknown;
|
|
99
|
+
}): RoutingDecision;
|
|
100
|
+
export declare function resolveRouting(input: RoutingInput): RoutingDecision;
|
|
101
|
+
export declare function validateExecutionCard(card: unknown): {
|
|
102
|
+
valid: true;
|
|
103
|
+
card: ExecutionCard;
|
|
104
|
+
} | {
|
|
105
|
+
valid: false;
|
|
106
|
+
failedField: string;
|
|
107
|
+
};
|
|
108
|
+
type ReceiptContext = {
|
|
109
|
+
task?: string;
|
|
110
|
+
requirements?: string[];
|
|
111
|
+
card?: unknown;
|
|
112
|
+
};
|
|
113
|
+
export declare class ExecutionCardLifecycle {
|
|
114
|
+
#private;
|
|
115
|
+
constructor(card: unknown);
|
|
116
|
+
get status(): ExecutionCardStatus;
|
|
117
|
+
get card_id(): string;
|
|
118
|
+
get revision(): number;
|
|
119
|
+
transition(status: ExecutionCardStatus, identity: {
|
|
120
|
+
card_id: string;
|
|
121
|
+
revision: number;
|
|
122
|
+
}): ExecutionCardStatus;
|
|
123
|
+
}
|
|
124
|
+
export declare class RoutingGate {
|
|
125
|
+
#private;
|
|
126
|
+
preview(input: RoutingInput): RoutingDecision;
|
|
127
|
+
dispatch(input: RoutingInput, provided: unknown): RoutingDecision;
|
|
128
|
+
grant(sessionID: string, decision: RoutingDecision, context?: ReceiptContext): RoutingReceipt;
|
|
129
|
+
cancel(sessionID: string): void;
|
|
130
|
+
consume(sessionID: string, agent: string, context?: ReceiptContext): void;
|
|
131
|
+
complete(sessionID: string, agent: string, output: unknown): void;
|
|
132
|
+
}
|
|
133
|
+
export {};
|