@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.
Files changed (91) hide show
  1. package/README.md +95 -0
  2. package/README.ru.md +98 -0
  3. package/dist/agent-profiles.d.ts +125 -0
  4. package/dist/agent-profiles.js +820 -0
  5. package/dist/assets/agents/architect.md +67 -0
  6. package/dist/assets/agents/critic.md +55 -0
  7. package/dist/assets/agents/manager.md +40 -0
  8. package/dist/assets/agents/mapper.md +33 -0
  9. package/dist/assets/agents/review.md +37 -0
  10. package/dist/assets/agents/worker.md +78 -0
  11. package/dist/assets/commands/agents-md.md +10 -0
  12. package/dist/assets/commands/askme.md +10 -0
  13. package/dist/assets/commands/ast-grep.md +10 -0
  14. package/dist/assets/commands/briefing.md +10 -0
  15. package/dist/assets/commands/code-explain.md +10 -0
  16. package/dist/assets/commands/code-review.md +10 -0
  17. package/dist/assets/commands/commit-msg.md +10 -0
  18. package/dist/assets/commands/docs-prepare.md +10 -0
  19. package/dist/assets/commands/docs-review.md +10 -0
  20. package/dist/assets/commands/goal.md +10 -0
  21. package/dist/assets/commands/humanize.md +10 -0
  22. package/dist/assets/commands/mattermost-triage.md +10 -0
  23. package/dist/assets/commands/mattermost.md +10 -0
  24. package/dist/assets/commands/mr-prepare.md +10 -0
  25. package/dist/assets/commands/release-prepare.md +10 -0
  26. package/dist/assets/commands/release-review.md +10 -0
  27. package/dist/assets/commands/rtk-stats.md +13 -0
  28. package/dist/assets/commands/rtk.md +10 -0
  29. package/dist/assets/commands/skill-improve.md +10 -0
  30. package/dist/assets/commands/slides-prompts-prepare.md +10 -0
  31. package/dist/assets/commands/spec-manage.md +13 -0
  32. package/dist/assets/commands/stopit.md +10 -0
  33. package/dist/assets/commands/task-prepare.md +10 -0
  34. package/dist/assets/commands/task-review.md +10 -0
  35. package/dist/assets/commands/task-triage.md +10 -0
  36. package/dist/assets/commands/taskmatic.md +10 -0
  37. package/dist/assets/commands/team-retro.md +10 -0
  38. package/dist/assets/commands/team-roadmap.md +10 -0
  39. package/dist/assets/commands/team-sprint-close.md +10 -0
  40. package/dist/assets/commands/team-sprint-start.md +10 -0
  41. package/dist/assets/lsp-catalog.json +30 -0
  42. package/dist/assets/migration-inventory.json +301 -0
  43. package/dist/assets/plugins/memomatic.js +3 -0
  44. package/dist/assets/plugins/rtk.js +3 -0
  45. package/dist/assets/plugins/rules-injector.js +3 -0
  46. package/dist/assets/plugins/zed-bell.js +3 -0
  47. package/dist/catalog.d.ts +8 -0
  48. package/dist/catalog.js +39 -0
  49. package/dist/cli-output.d.ts +27 -0
  50. package/dist/cli-output.js +296 -0
  51. package/dist/cli.d.ts +2 -0
  52. package/dist/cli.js +1135 -0
  53. package/dist/config-setup.d.ts +71 -0
  54. package/dist/config-setup.js +438 -0
  55. package/dist/contracts.d.ts +52 -0
  56. package/dist/contracts.js +102 -0
  57. package/dist/doctor.d.ts +44 -0
  58. package/dist/doctor.js +638 -0
  59. package/dist/generate-assets.d.ts +1 -0
  60. package/dist/generate-assets.js +54 -0
  61. package/dist/index.d.ts +125 -0
  62. package/dist/index.js +141 -0
  63. package/dist/installer.d.ts +56 -0
  64. package/dist/installer.js +710 -0
  65. package/dist/jsonc.d.ts +56 -0
  66. package/dist/jsonc.js +432 -0
  67. package/dist/lifecycle.d.ts +77 -0
  68. package/dist/lifecycle.js +736 -0
  69. package/dist/package-metadata.d.ts +4 -0
  70. package/dist/package-metadata.js +42 -0
  71. package/dist/plugins/memomatic.d.ts +76 -0
  72. package/dist/plugins/memomatic.js +101 -0
  73. package/dist/plugins/rtk.d.ts +41 -0
  74. package/dist/plugins/rtk.js +177 -0
  75. package/dist/plugins/rules-injector.d.ts +22 -0
  76. package/dist/plugins/rules-injector.js +131 -0
  77. package/dist/plugins/zed-bell.d.ts +13 -0
  78. package/dist/plugins/zed-bell.js +14 -0
  79. package/dist/reconcile.d.ts +47 -0
  80. package/dist/reconcile.js +490 -0
  81. package/dist/registry.d.ts +21 -0
  82. package/dist/registry.js +92 -0
  83. package/dist/routing.d.ts +133 -0
  84. package/dist/routing.js +578 -0
  85. package/dist/runtime/state.d.ts +9 -0
  86. package/dist/runtime/state.js +193 -0
  87. package/dist/runtime/worktree.d.ts +33 -0
  88. package/dist/runtime/worktree.js +220 -0
  89. package/dist/terminal-wizard.d.ts +3 -0
  90. package/dist/terminal-wizard.js +237 -0
  91. 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 {};