micro-contracts 0.14.4 → 0.15.1
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 +62 -0
- package/cli-contract.yaml +706 -69
- package/dist/agents/context-builder.d.ts +5 -0
- package/dist/agents/context-builder.d.ts.map +1 -0
- package/dist/agents/context-builder.js +239 -0
- package/dist/agents/context-builder.js.map +1 -0
- package/dist/agents/formatter.d.ts +9 -0
- package/dist/agents/formatter.d.ts.map +1 -0
- package/dist/agents/formatter.js +124 -0
- package/dist/agents/formatter.js.map +1 -0
- package/dist/agents/index.d.ts +5 -0
- package/dist/agents/index.d.ts.map +1 -0
- package/dist/agents/index.js +3 -0
- package/dist/agents/index.js.map +1 -0
- package/dist/agents/orchestrator.d.ts +5 -0
- package/dist/agents/orchestrator.d.ts.map +1 -0
- package/dist/agents/orchestrator.js +105 -0
- package/dist/agents/orchestrator.js.map +1 -0
- package/dist/agents/types.d.ts +21 -0
- package/dist/agents/types.d.ts.map +1 -0
- package/dist/agents/types.js +2 -0
- package/dist/agents/types.js.map +1 -0
- package/dist/cli.d.ts +0 -6
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +814 -1161
- package/dist/cli.js.map +1 -1
- package/dist/commands/audit-guardrails.d.ts +13 -0
- package/dist/commands/audit-guardrails.d.ts.map +1 -0
- package/dist/commands/audit-guardrails.js +32 -0
- package/dist/commands/audit-guardrails.js.map +1 -0
- package/dist/commands/audit-openapi.d.ts +13 -0
- package/dist/commands/audit-openapi.d.ts.map +1 -0
- package/dist/commands/audit-openapi.js +32 -0
- package/dist/commands/audit-openapi.js.map +1 -0
- package/dist/commands/propose-overlays.d.ts +13 -0
- package/dist/commands/propose-overlays.d.ts.map +1 -0
- package/dist/commands/propose-overlays.js +32 -0
- package/dist/commands/propose-overlays.js.map +1 -0
- package/dist/commands/review-published.d.ts +13 -0
- package/dist/commands/review-published.d.ts.map +1 -0
- package/dist/commands/review-published.js +32 -0
- package/dist/commands/review-published.js.map +1 -0
- package/dist/generated/commands.d.ts +2 -0
- package/dist/generated/commands.d.ts.map +1 -0
- package/dist/generated/commands.js +2 -0
- package/dist/generated/commands.js.map +1 -0
- package/dist/generated/dsl/agents.d.ts +34 -0
- package/dist/generated/dsl/agents.d.ts.map +1 -0
- package/dist/generated/dsl/agents.js +98 -0
- package/dist/generated/dsl/agents.js.map +1 -0
- package/dist/generated/dsl/handoffs.d.ts +1209 -0
- package/dist/generated/dsl/handoffs.d.ts.map +1 -0
- package/dist/generated/dsl/handoffs.js +205 -0
- package/dist/generated/dsl/handoffs.js.map +1 -0
- package/dist/generated/dsl/index.d.ts +13 -0
- package/dist/generated/dsl/index.d.ts.map +1 -0
- package/dist/generated/dsl/index.js +10 -0
- package/dist/generated/dsl/index.js.map +1 -0
- package/dist/generated/dsl/tasks.d.ts +26 -0
- package/dist/generated/dsl/tasks.d.ts.map +1 -0
- package/dist/generated/dsl/tasks.js +133 -0
- package/dist/generated/dsl/tasks.js.map +1 -0
- package/dist/generated/dsl/workflows.d.ts +34 -0
- package/dist/generated/dsl/workflows.d.ts.map +1 -0
- package/dist/generated/dsl/workflows.js +84 -0
- package/dist/generated/dsl/workflows.js.map +1 -0
- package/dist/generated/index.d.ts +7 -0
- package/dist/generated/index.d.ts.map +1 -0
- package/dist/generated/index.js +7 -0
- package/dist/generated/index.js.map +1 -0
- package/dist/generated/policy-runtime.d.ts +114 -0
- package/dist/generated/policy-runtime.d.ts.map +1 -0
- package/dist/generated/policy-runtime.js +195 -0
- package/dist/generated/policy-runtime.js.map +1 -0
- package/dist/generated/policy.d.ts +619 -0
- package/dist/generated/policy.d.ts.map +1 -0
- package/dist/generated/policy.js +802 -0
- package/dist/generated/policy.js.map +1 -0
- package/dist/generated/program.d.ts +112 -0
- package/dist/generated/program.d.ts.map +1 -0
- package/dist/generated/program.js +266 -0
- package/dist/generated/program.js.map +1 -0
- package/dist/generated/schemas.d.ts +778 -0
- package/dist/generated/schemas.d.ts.map +1 -0
- package/dist/generated/schemas.js +1005 -0
- package/dist/generated/schemas.js.map +1 -0
- package/dist/generated/types.d.ts +395 -0
- package/dist/generated/types.d.ts.map +1 -0
- package/dist/generated/types.js +3 -0
- package/dist/generated/types.js.map +1 -0
- package/docs/cli-reference.md +328 -28
- package/package.json +21 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"handoffs.d.ts","sourceRoot":"","sources":["../../../src/generated/dsl/handoffs.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,yBAAyB;;;;;;;;;EAGpC,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAM5E,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmCnC,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAM1E,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkCtC,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAMhF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AAG,MAAM,OAAO,cAAc,CAAC;AAMxD,MAAM,WAAW,eAAe,CAAC,CAAC,SAAS,aAAa,GAAG,aAAa;IACtE,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC;IACjB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,OAAO,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CACvD;AAMD,eAAO,MAAM,QAAQ;4CACU,mBAAmB,KAAG,eAAe,CAAC,uBAAuB,CAAC;2CAO/D,kBAAkB,KAAG,eAAe,CAAC,sBAAsB,CAAC;8CAOzD,qBAAqB,KAAG,eAAe,CAAC,yBAAyB,CAAC;8CAOlE,qBAAqB,KAAG,eAAe,CAAC,yBAAyB,CAAC;8CAOlE,qBAAqB,KAAG,eAAe,CAAC,yBAAyB,CAAC;CAOzF,CAAC"}
|
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AUTO-GENERATED by agent-contracts-runtime. DO NOT EDIT.
|
|
3
|
+
*
|
|
4
|
+
* Regenerate via: npx agent-runtime generate
|
|
5
|
+
*/
|
|
6
|
+
import { z } from "zod";
|
|
7
|
+
// ---------------------------------------------------------------------------
|
|
8
|
+
// openapi-audit-request
|
|
9
|
+
// ---------------------------------------------------------------------------
|
|
10
|
+
export const OpenapiAuditRequestSchema = z.object({
|
|
11
|
+
task_id: z.string(),
|
|
12
|
+
context: z.string(),
|
|
13
|
+
});
|
|
14
|
+
// ---------------------------------------------------------------------------
|
|
15
|
+
// openapi-audit-result
|
|
16
|
+
// ---------------------------------------------------------------------------
|
|
17
|
+
export const OpenapiAuditResultSchema = z.object({
|
|
18
|
+
summary: z.string(),
|
|
19
|
+
riskLevel: z.enum(["low", "medium", "high", "critical"]),
|
|
20
|
+
findings: z.array(z.object({
|
|
21
|
+
id: z.string().optional(),
|
|
22
|
+
severity: z.enum(["info", "warning", "error", "critical"]),
|
|
23
|
+
category: z.string(),
|
|
24
|
+
target: z.string().optional(),
|
|
25
|
+
location: z.string().optional(),
|
|
26
|
+
message: z.string(),
|
|
27
|
+
recommendation: z.string().optional(),
|
|
28
|
+
confidence: z.number().optional(),
|
|
29
|
+
evidence: z.array(z.object({
|
|
30
|
+
kind: z.enum(["file", "command", "schema", "diff", "stdout", "stderr", "text"]).optional(),
|
|
31
|
+
target: z.string().optional(),
|
|
32
|
+
location: z.string().optional(),
|
|
33
|
+
excerpt: z.string().optional(),
|
|
34
|
+
})).optional(),
|
|
35
|
+
details: z.record(z.string(), z.unknown()).optional(),
|
|
36
|
+
})),
|
|
37
|
+
recommendedActions: z.array(z.object({
|
|
38
|
+
kind: z.enum(["run_command", "edit_file", "review", "confirm", "block", "ignore"]),
|
|
39
|
+
title: z.string(),
|
|
40
|
+
command: z.string().optional(),
|
|
41
|
+
target: z.string().optional(),
|
|
42
|
+
rationale: z.string().optional(),
|
|
43
|
+
})).optional(),
|
|
44
|
+
metadata: z.object({
|
|
45
|
+
tool: z.string().optional(),
|
|
46
|
+
command: z.string().optional(),
|
|
47
|
+
version: z.string().optional(),
|
|
48
|
+
generatedAt: z.string().optional(),
|
|
49
|
+
adapter: z.string().optional(),
|
|
50
|
+
model: z.string().optional(),
|
|
51
|
+
}).optional(),
|
|
52
|
+
});
|
|
53
|
+
// ---------------------------------------------------------------------------
|
|
54
|
+
// published-review-result
|
|
55
|
+
// ---------------------------------------------------------------------------
|
|
56
|
+
export const PublishedReviewResultSchema = z.object({
|
|
57
|
+
summary: z.string(),
|
|
58
|
+
riskLevel: z.enum(["low", "medium", "high", "critical"]),
|
|
59
|
+
findings: z.array(z.object({
|
|
60
|
+
severity: z.enum(["info", "warning", "error", "critical"]),
|
|
61
|
+
category: z.string(),
|
|
62
|
+
message: z.string(),
|
|
63
|
+
recommendation: z.string().optional(),
|
|
64
|
+
})),
|
|
65
|
+
publishedEndpoints: z.array(z.object({
|
|
66
|
+
operationId: z.string(),
|
|
67
|
+
path: z.string(),
|
|
68
|
+
method: z.string(),
|
|
69
|
+
})),
|
|
70
|
+
leakedInternalTypes: z.array(z.object({
|
|
71
|
+
schemaName: z.string(),
|
|
72
|
+
referencedBy: z.string(),
|
|
73
|
+
reason: z.string(),
|
|
74
|
+
})),
|
|
75
|
+
recommendedActions: z.array(z.object({
|
|
76
|
+
kind: z.enum(["run_command", "edit_file", "review", "confirm", "block", "ignore"]),
|
|
77
|
+
title: z.string(),
|
|
78
|
+
command: z.string().optional(),
|
|
79
|
+
target: z.string().optional(),
|
|
80
|
+
rationale: z.string().optional(),
|
|
81
|
+
})).optional(),
|
|
82
|
+
metadata: z.object({
|
|
83
|
+
tool: z.string().optional(),
|
|
84
|
+
command: z.string().optional(),
|
|
85
|
+
version: z.string().optional(),
|
|
86
|
+
generatedAt: z.string().optional(),
|
|
87
|
+
adapter: z.string().optional(),
|
|
88
|
+
model: z.string().optional(),
|
|
89
|
+
}).optional(),
|
|
90
|
+
});
|
|
91
|
+
// ---------------------------------------------------------------------------
|
|
92
|
+
// overlay-proposal-result
|
|
93
|
+
// ---------------------------------------------------------------------------
|
|
94
|
+
export const OverlayProposalResultSchema = z.object({
|
|
95
|
+
summary: z.string(),
|
|
96
|
+
riskLevel: z.enum(["low", "medium", "high", "critical"]),
|
|
97
|
+
findings: z.array(z.object({
|
|
98
|
+
severity: z.enum(["info", "warning", "error", "critical"]),
|
|
99
|
+
category: z.string(),
|
|
100
|
+
message: z.string(),
|
|
101
|
+
recommendation: z.string().optional(),
|
|
102
|
+
})),
|
|
103
|
+
overlayCandidates: z.array(z.object({
|
|
104
|
+
endpoint: z.string(),
|
|
105
|
+
overlayType: z.enum(["auth", "tenancy", "rateLimit", "auditLog", "custom"]),
|
|
106
|
+
rationale: z.string(),
|
|
107
|
+
suggestedConfig: z.record(z.string(), z.unknown()).optional(),
|
|
108
|
+
})),
|
|
109
|
+
recommendedActions: z.array(z.object({
|
|
110
|
+
kind: z.enum(["run_command", "edit_file", "review", "confirm", "block", "ignore"]),
|
|
111
|
+
title: z.string(),
|
|
112
|
+
command: z.string().optional(),
|
|
113
|
+
target: z.string().optional(),
|
|
114
|
+
rationale: z.string().optional(),
|
|
115
|
+
})).optional(),
|
|
116
|
+
metadata: z.object({
|
|
117
|
+
tool: z.string().optional(),
|
|
118
|
+
command: z.string().optional(),
|
|
119
|
+
version: z.string().optional(),
|
|
120
|
+
generatedAt: z.string().optional(),
|
|
121
|
+
adapter: z.string().optional(),
|
|
122
|
+
model: z.string().optional(),
|
|
123
|
+
}).optional(),
|
|
124
|
+
});
|
|
125
|
+
// ---------------------------------------------------------------------------
|
|
126
|
+
// guardrails-audit-result
|
|
127
|
+
// ---------------------------------------------------------------------------
|
|
128
|
+
export const GuardrailsAuditResultSchema = z.object({
|
|
129
|
+
summary: z.string(),
|
|
130
|
+
riskLevel: z.enum(["low", "medium", "high", "critical"]),
|
|
131
|
+
findings: z.array(z.object({
|
|
132
|
+
severity: z.enum(["info", "warning", "error", "critical"]),
|
|
133
|
+
category: z.string(),
|
|
134
|
+
message: z.string(),
|
|
135
|
+
recommendation: z.string().optional(),
|
|
136
|
+
})),
|
|
137
|
+
coveredPaths: z.array(z.string()),
|
|
138
|
+
uncoveredPaths: z.array(z.string()),
|
|
139
|
+
recommendedActions: z.array(z.object({
|
|
140
|
+
kind: z.enum(["run_command", "edit_file", "review", "confirm", "block", "ignore"]),
|
|
141
|
+
title: z.string(),
|
|
142
|
+
command: z.string().optional(),
|
|
143
|
+
target: z.string().optional(),
|
|
144
|
+
rationale: z.string().optional(),
|
|
145
|
+
})).optional(),
|
|
146
|
+
metadata: z.object({
|
|
147
|
+
tool: z.string().optional(),
|
|
148
|
+
command: z.string().optional(),
|
|
149
|
+
version: z.string().optional(),
|
|
150
|
+
generatedAt: z.string().optional(),
|
|
151
|
+
adapter: z.string().optional(),
|
|
152
|
+
model: z.string().optional(),
|
|
153
|
+
}).optional(),
|
|
154
|
+
});
|
|
155
|
+
// ---------------------------------------------------------------------------
|
|
156
|
+
// Schema registry
|
|
157
|
+
// ---------------------------------------------------------------------------
|
|
158
|
+
export const handoffSchemas = {
|
|
159
|
+
"openapi-audit-request": OpenapiAuditRequestSchema,
|
|
160
|
+
"openapi-audit-result": OpenapiAuditResultSchema,
|
|
161
|
+
"published-review-result": PublishedReviewResultSchema,
|
|
162
|
+
"overlay-proposal-result": OverlayProposalResultSchema,
|
|
163
|
+
"guardrails-audit-result": GuardrailsAuditResultSchema,
|
|
164
|
+
};
|
|
165
|
+
// ---------------------------------------------------------------------------
|
|
166
|
+
// Factory functions — type-safe constructors with runtime validation
|
|
167
|
+
// ---------------------------------------------------------------------------
|
|
168
|
+
export const handoffs = {
|
|
169
|
+
openapiAuditRequest(payload) {
|
|
170
|
+
return {
|
|
171
|
+
type: "openapi-audit-request",
|
|
172
|
+
version: 1,
|
|
173
|
+
payload: OpenapiAuditRequestSchema.parse(payload),
|
|
174
|
+
};
|
|
175
|
+
},
|
|
176
|
+
openapiAuditResult(payload) {
|
|
177
|
+
return {
|
|
178
|
+
type: "openapi-audit-result",
|
|
179
|
+
version: 1,
|
|
180
|
+
payload: OpenapiAuditResultSchema.parse(payload),
|
|
181
|
+
};
|
|
182
|
+
},
|
|
183
|
+
publishedReviewResult(payload) {
|
|
184
|
+
return {
|
|
185
|
+
type: "published-review-result",
|
|
186
|
+
version: 1,
|
|
187
|
+
payload: PublishedReviewResultSchema.parse(payload),
|
|
188
|
+
};
|
|
189
|
+
},
|
|
190
|
+
overlayProposalResult(payload) {
|
|
191
|
+
return {
|
|
192
|
+
type: "overlay-proposal-result",
|
|
193
|
+
version: 1,
|
|
194
|
+
payload: OverlayProposalResultSchema.parse(payload),
|
|
195
|
+
};
|
|
196
|
+
},
|
|
197
|
+
guardrailsAuditResult(payload) {
|
|
198
|
+
return {
|
|
199
|
+
type: "guardrails-audit-result",
|
|
200
|
+
version: 1,
|
|
201
|
+
payload: GuardrailsAuditResultSchema.parse(payload),
|
|
202
|
+
};
|
|
203
|
+
},
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AM,CAAC,MAAM,QAAQ,GAAG;IACtB,mBAAmB,CAAC,OAA4B;QAC9C,OAAO;YACL,IAAI,EAAE,uBAAgC;YACtC,OAAO,EAAE,CAAC;YACV,OAAO,EAAE,yBAAyB,CAAC,KAAK,CAAC,OAAO,CAAC;SAClD,CAAC;IACJ,CAAC;IACD,kBAAkB,CAAC,OAA2B;QAC5C,OAAO;YACL,IAAI,EAAE,sBAA+B;YACrC,OAAO,EAAE,CAAC;YACV,OAAO,EAAE,wBAAwB,CAAC,KAAK,CAAC,OAAO,CAAC;SACjD,CAAC;IACJ,CAAC;IACD,qBAAqB,CAAC,OAA8B;QAClD,OAAO;YACL,IAAI,EAAE,yBAAkC;YACxC,OAAO,EAAE,CAAC;YACV,OAAO,EAAE,2BAA2B,CAAC,KAAK,CAAC,OAAO,CAAC;SACpD,CAAC;IACJ,CAAC;IACD,qBAAqB,CAAC,OAA8B;QAClD,OAAO;YACL,IAAI,EAAE,yBAAkC;YACxC,OAAO,EAAE,CAAC;YACV,OAAO,EAAE,2BAA2B,CAAC,KAAK,CAAC,OAAO,CAAC;SACpD,CAAC;IACJ,CAAC;IACD,qBAAqB,CAAC,OAA8B;QAClD,OAAO;YACL,IAAI,EAAE,yBAAkC;YACxC,OAAO,EAAE,CAAC;YACV,OAAO,EAAE,2BAA2B,CAAC,KAAK,CAAC,OAAO,CAAC;SACpD,CAAC;IACJ,CAAC;CACO,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AUTO-GENERATED by agent-contracts-runtime. DO NOT EDIT.
|
|
3
|
+
*
|
|
4
|
+
* Regenerate via: npx agent-runtime generate
|
|
5
|
+
*/
|
|
6
|
+
export { agentRegistry } from "./agents.js";
|
|
7
|
+
export type { AgentContract, AgentId } from "./agents.js";
|
|
8
|
+
export { taskRegistry } from "./tasks.js";
|
|
9
|
+
export type { TaskContract } from "./tasks.js";
|
|
10
|
+
export { handoffSchemas, handoffs } from "./handoffs.js";
|
|
11
|
+
export type { HandoffTypeId, HandoffEnvelope } from "./handoffs.js";
|
|
12
|
+
export { workflowRegistry } from "./workflows.js";
|
|
13
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/generated/dsl/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,YAAY,EAAE,aAAa,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAC1D,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC1C,YAAY,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzD,YAAY,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AACpE,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AUTO-GENERATED by agent-contracts-runtime. DO NOT EDIT.
|
|
3
|
+
*
|
|
4
|
+
* Regenerate via: npx agent-runtime generate
|
|
5
|
+
*/
|
|
6
|
+
export { agentRegistry } from "./agents.js";
|
|
7
|
+
export { taskRegistry } from "./tasks.js";
|
|
8
|
+
export { handoffSchemas, handoffs } from "./handoffs.js";
|
|
9
|
+
export { workflowRegistry } from "./workflows.js";
|
|
10
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/generated/dsl/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAE5C,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE1C,OAAO,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEzD,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AUTO-GENERATED by agent-contracts-runtime. DO NOT EDIT.
|
|
3
|
+
*
|
|
4
|
+
* Regenerate via: npx agent-runtime generate
|
|
5
|
+
*/
|
|
6
|
+
import type { AgentId } from "./agents.js";
|
|
7
|
+
import type { HandoffTypeId } from "./handoffs.js";
|
|
8
|
+
export interface TaskContract {
|
|
9
|
+
readonly id: string;
|
|
10
|
+
readonly description: string;
|
|
11
|
+
readonly target_agent: AgentId;
|
|
12
|
+
readonly allowed_from_agents: readonly AgentId[];
|
|
13
|
+
readonly workflow: string;
|
|
14
|
+
readonly invocation_handoff: HandoffTypeId;
|
|
15
|
+
readonly result_handoff: HandoffTypeId;
|
|
16
|
+
readonly input_artifacts: readonly string[];
|
|
17
|
+
readonly responsibilities: readonly string[];
|
|
18
|
+
readonly completion_criteria: readonly string[];
|
|
19
|
+
readonly optional: boolean;
|
|
20
|
+
}
|
|
21
|
+
export declare const auditOpenapiDesign: TaskContract;
|
|
22
|
+
export declare const auditPublishedApi: TaskContract;
|
|
23
|
+
export declare const proposeOverlayCandidates: TaskContract;
|
|
24
|
+
export declare const auditGuardrailsCoverage: TaskContract;
|
|
25
|
+
export declare const taskRegistry: Record<string, TaskContract>;
|
|
26
|
+
//# sourceMappingURL=tasks.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tasks.d.ts","sourceRoot":"","sources":["../../../src/generated/dsl/tasks.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAEnD,MAAM,WAAW,YAAY;IAC3B,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,YAAY,EAAE,OAAO,CAAC;IAC/B,QAAQ,CAAC,mBAAmB,EAAE,SAAS,OAAO,EAAE,CAAC;IACjD,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,kBAAkB,EAAE,aAAa,CAAC;IAC3C,QAAQ,CAAC,cAAc,EAAE,aAAa,CAAC;IACvC,QAAQ,CAAC,eAAe,EAAE,SAAS,MAAM,EAAE,CAAC;IAC5C,QAAQ,CAAC,gBAAgB,EAAE,SAAS,MAAM,EAAE,CAAC;IAC7C,QAAQ,CAAC,mBAAmB,EAAE,SAAS,MAAM,EAAE,CAAC;IAChD,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC;CAC5B;AAED,eAAO,MAAM,kBAAkB,EAAE,YAgChC,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,YA6B/B,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,YA4BtC,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,YA4BrC,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,YAAY,CAKrD,CAAC"}
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AUTO-GENERATED by agent-contracts-runtime. DO NOT EDIT.
|
|
3
|
+
*
|
|
4
|
+
* Regenerate via: npx agent-runtime generate
|
|
5
|
+
*/
|
|
6
|
+
export const auditOpenapiDesign = {
|
|
7
|
+
id: "audit-openapi-design",
|
|
8
|
+
description: "Audit OpenAPI specification design quality and module boundary alignment",
|
|
9
|
+
target_agent: "openapi-design-reviewer",
|
|
10
|
+
allowed_from_agents: [
|
|
11
|
+
"openapi-design-reviewer"
|
|
12
|
+
],
|
|
13
|
+
workflow: "openapi-audit",
|
|
14
|
+
invocation_handoff: "openapi-audit-request",
|
|
15
|
+
result_handoff: "openapi-audit-result",
|
|
16
|
+
input_artifacts: [
|
|
17
|
+
"openapi-spec-input",
|
|
18
|
+
"config-source",
|
|
19
|
+
"overlay-definitions",
|
|
20
|
+
"lint-results-input",
|
|
21
|
+
"deps-graph-input"
|
|
22
|
+
],
|
|
23
|
+
responsibilities: [
|
|
24
|
+
"Evaluate all paths for module boundary alignment",
|
|
25
|
+
"Check operationId and x-micro-contracts-service consistency",
|
|
26
|
+
"Detect schema bloat and excessive coupling",
|
|
27
|
+
"Assess CRUD vs use-case-oriented design",
|
|
28
|
+
"Review overlay usage and cross-cutting concerns"
|
|
29
|
+
],
|
|
30
|
+
completion_criteria: [
|
|
31
|
+
"All paths and operations have been evaluated for design quality",
|
|
32
|
+
"Findings classified by category (design_quality, responsibility_boundary, api_bloat, dependency_coupling)",
|
|
33
|
+
"Module boundary alignment explicitly assessed",
|
|
34
|
+
"Recommendations reference specific paths and operations",
|
|
35
|
+
"Output conforms to AgentAuditResult schema"
|
|
36
|
+
],
|
|
37
|
+
optional: false,
|
|
38
|
+
};
|
|
39
|
+
export const auditPublishedApi = {
|
|
40
|
+
id: "audit-published-api",
|
|
41
|
+
description: "Review published API surface for internal type leakage and compatibility",
|
|
42
|
+
target_agent: "openapi-design-reviewer",
|
|
43
|
+
allowed_from_agents: [
|
|
44
|
+
"openapi-design-reviewer"
|
|
45
|
+
],
|
|
46
|
+
workflow: "published-review",
|
|
47
|
+
invocation_handoff: "openapi-audit-request",
|
|
48
|
+
result_handoff: "published-review-result",
|
|
49
|
+
input_artifacts: [
|
|
50
|
+
"openapi-spec-input",
|
|
51
|
+
"published-spec-input",
|
|
52
|
+
"config-source",
|
|
53
|
+
"deps-graph-input"
|
|
54
|
+
],
|
|
55
|
+
responsibilities: [
|
|
56
|
+
"Compare master spec against published spec for leakage",
|
|
57
|
+
"Identify schemas with x-micro-contracts-non-exportable that appear in published surface",
|
|
58
|
+
"Assess backward compatibility of published endpoint changes",
|
|
59
|
+
"Enumerate published endpoints with their operation details"
|
|
60
|
+
],
|
|
61
|
+
completion_criteria: [
|
|
62
|
+
"All published endpoints enumerated with operationId, path, method",
|
|
63
|
+
"Leaked internal types identified with referencing context",
|
|
64
|
+
"Backward compatibility risks assessed for each published endpoint",
|
|
65
|
+
"Output conforms to PublishedReviewResult schema (publishedEndpoints, leakedInternalTypes)"
|
|
66
|
+
],
|
|
67
|
+
optional: false,
|
|
68
|
+
};
|
|
69
|
+
export const proposeOverlayCandidates = {
|
|
70
|
+
id: "propose-overlay-candidates",
|
|
71
|
+
description: "Propose cross-cutting overlay candidates for the API specification",
|
|
72
|
+
target_agent: "openapi-design-reviewer",
|
|
73
|
+
allowed_from_agents: [
|
|
74
|
+
"openapi-design-reviewer"
|
|
75
|
+
],
|
|
76
|
+
workflow: "overlay-proposal",
|
|
77
|
+
invocation_handoff: "openapi-audit-request",
|
|
78
|
+
result_handoff: "overlay-proposal-result",
|
|
79
|
+
input_artifacts: [
|
|
80
|
+
"openapi-spec-input",
|
|
81
|
+
"overlay-definitions",
|
|
82
|
+
"config-source"
|
|
83
|
+
],
|
|
84
|
+
responsibilities: [
|
|
85
|
+
"Identify endpoints needing cross-cutting concerns (auth, tenancy, rate limit, audit log)",
|
|
86
|
+
"Generate overlay candidates with endpoint, type, rationale, and suggested config",
|
|
87
|
+
"Verify proposals do not conflict with existing overlay definitions",
|
|
88
|
+
"Group candidates by overlay type for batch application"
|
|
89
|
+
],
|
|
90
|
+
completion_criteria: [
|
|
91
|
+
"Candidate overlays identified for endpoints lacking cross-cutting concerns",
|
|
92
|
+
"Each candidate includes endpoint, overlayType, rationale, and suggestedConfig",
|
|
93
|
+
"No conflicts with existing overlay definitions confirmed",
|
|
94
|
+
"Output conforms to OverlayProposalResult schema (overlayCandidates)"
|
|
95
|
+
],
|
|
96
|
+
optional: false,
|
|
97
|
+
};
|
|
98
|
+
export const auditGuardrailsCoverage = {
|
|
99
|
+
id: "audit-guardrails-coverage",
|
|
100
|
+
description: "Audit guardrails.yaml for drift detection and lint rule coverage",
|
|
101
|
+
target_agent: "openapi-design-reviewer",
|
|
102
|
+
allowed_from_agents: [
|
|
103
|
+
"openapi-design-reviewer"
|
|
104
|
+
],
|
|
105
|
+
workflow: "guardrails-audit",
|
|
106
|
+
invocation_handoff: "openapi-audit-request",
|
|
107
|
+
result_handoff: "guardrails-audit-result",
|
|
108
|
+
input_artifacts: [
|
|
109
|
+
"guardrails-config-input",
|
|
110
|
+
"config-source",
|
|
111
|
+
"openapi-spec-input"
|
|
112
|
+
],
|
|
113
|
+
responsibilities: [
|
|
114
|
+
"Verify generated file patterns cover all configured output directories",
|
|
115
|
+
"Check that drift detection covers all generated artifact types",
|
|
116
|
+
"Verify OpenAPI lint rules are configured for all spec files",
|
|
117
|
+
"Identify uncovered paths in guardrails configuration"
|
|
118
|
+
],
|
|
119
|
+
completion_criteria: [
|
|
120
|
+
"All configured output directories checked against guardrails generated patterns",
|
|
121
|
+
"Covered and uncovered paths explicitly listed",
|
|
122
|
+
"Lint rule coverage for each spec file assessed",
|
|
123
|
+
"Output conforms to GuardrailsAuditResult schema (coveredPaths, uncoveredPaths)"
|
|
124
|
+
],
|
|
125
|
+
optional: false,
|
|
126
|
+
};
|
|
127
|
+
export const taskRegistry = {
|
|
128
|
+
"audit-openapi-design": auditOpenapiDesign,
|
|
129
|
+
"audit-published-api": auditPublishedApi,
|
|
130
|
+
"propose-overlay-candidates": proposeOverlayCandidates,
|
|
131
|
+
"audit-guardrails-coverage": auditGuardrailsCoverage,
|
|
132
|
+
};
|
|
133
|
+
//# sourceMappingURL=tasks.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tasks.js","sourceRoot":"","sources":["../../../src/generated/dsl/tasks.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAmBH,MAAM,CAAC,MAAM,kBAAkB,GAAiB;IAC9C,EAAE,EAAE,sBAAsB;IAC1B,WAAW,EAAE,0EAA0E;IACvF,YAAY,EAAE,yBAAyB;IACvC,mBAAmB,EAAE;QACrB,yBAAyB;KAC1B;IACC,QAAQ,E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;KAChB;IACC,gBAAgB,EAAE;QAClB,0FAA0F;QAC1F,kFAAkF;QAClF,oEAAoE;QACpE,wDAAwD;KACzD;IACC,mBAAmB,EAAE;QACrB,4EAA4E;QAC5E,+EAA+E;QAC/E,0DAA0D;QAC1D,qEAAqE;KACtE;IACC,QAAQ,EAAE,KAAK;CAChB,CAAC;AAEF,MAAM,CAAC,MAAM,uBAAuB,GAAiB;IACnD,EAAE,EAAE,2BAA2B;IAC/B,WAAW,EAAE,kEAAkE;IAC/E,YAAY,EAAE,yBAAyB;IACvC,mBAAmB,EAAE;QACrB,yBAAyB;KAC1B;IACC,QAAQ,EAAE,kBAAkB;IAC5B,kBAAkB,EAAE,uBAAuB;IAC3C,cAAc,EAAE,yBAAyB;IACzC,eAAe,EAAE;QACjB,yBAAyB;QACzB,eAAe;QACf,oBAAoB;KACrB;IACC,gBAAgB,EAAE;QAClB,wEAAwE;QACxE,gEAAgE;QAChE,6DAA6D;QAC7D,sDAAsD;KACvD;IACC,mBAAmB,EAAE;QACrB,iFAAiF;QACjF,+CAA+C;QAC/C,gDAAgD;QAChD,gFAAgF;KACjF;IACC,QAAQ,EAAE,KAAK;CAChB,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAiC;IACxD,sBAAsB,EAAE,kBAAkB;IAC1C,qBAAqB,EAAE,iBAAiB;IACxC,4BAA4B,EAAE,wBAAwB;IACtD,2BAA2B,EAAE,uBAAuB;CACrD,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AUTO-GENERATED by agent-contracts-runtime. DO NOT EDIT.
|
|
3
|
+
*
|
|
4
|
+
* Regenerate via: npx agent-runtime generate
|
|
5
|
+
*/
|
|
6
|
+
export interface DelegateStep {
|
|
7
|
+
readonly type: "delegate";
|
|
8
|
+
readonly task: string;
|
|
9
|
+
readonly from_agent: string;
|
|
10
|
+
readonly description: string;
|
|
11
|
+
readonly optional: boolean;
|
|
12
|
+
readonly max_retries: number;
|
|
13
|
+
readonly depends_on?: readonly string[];
|
|
14
|
+
}
|
|
15
|
+
export interface GateStep {
|
|
16
|
+
readonly type: "gate";
|
|
17
|
+
readonly gate_kind: string;
|
|
18
|
+
readonly description: string;
|
|
19
|
+
readonly depends_on?: readonly string[];
|
|
20
|
+
}
|
|
21
|
+
export type WorkflowStep = DelegateStep | GateStep;
|
|
22
|
+
export interface WorkflowContract {
|
|
23
|
+
readonly id: string;
|
|
24
|
+
readonly description: string;
|
|
25
|
+
readonly trigger: string;
|
|
26
|
+
readonly entry_conditions: readonly string[];
|
|
27
|
+
readonly steps: readonly WorkflowStep[];
|
|
28
|
+
}
|
|
29
|
+
export declare const openapiAudit: WorkflowContract;
|
|
30
|
+
export declare const publishedReview: WorkflowContract;
|
|
31
|
+
export declare const overlayProposal: WorkflowContract;
|
|
32
|
+
export declare const guardrailsAudit: WorkflowContract;
|
|
33
|
+
export declare const workflowRegistry: Record<string, WorkflowContract>;
|
|
34
|
+
//# sourceMappingURL=workflows.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflows.d.ts","sourceRoot":"","sources":["../../../src/generated/dsl/workflows.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,MAAM,WAAW,YAAY;IAC3B,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAC;IAC1B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC;IAC3B,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,UAAU,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;CACzC;AAED,MAAM,WAAW,QAAQ;IACvB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,UAAU,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;CACzC;AAED,MAAM,MAAM,YAAY,GAAG,YAAY,GAAG,QAAQ,CAAC;AAEnD,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,gBAAgB,EAAE,SAAS,MAAM,EAAE,CAAC;IAC7C,QAAQ,CAAC,KAAK,EAAE,SAAS,YAAY,EAAE,CAAC;CACzC;AAED,eAAO,MAAM,YAAY,EAAE,gBAiB1B,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,gBAiB7B,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,gBAiB7B,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,gBAiB7B,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,gBAAgB,CAK7D,CAAC"}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AUTO-GENERATED by agent-contracts-runtime. DO NOT EDIT.
|
|
3
|
+
*
|
|
4
|
+
* Regenerate via: npx agent-runtime generate
|
|
5
|
+
*/
|
|
6
|
+
export const openapiAudit = {
|
|
7
|
+
id: "openapi-audit",
|
|
8
|
+
description: "Audit OpenAPI design quality and module boundary alignment",
|
|
9
|
+
trigger: "cli-command",
|
|
10
|
+
entry_conditions: [
|
|
11
|
+
"OpenAPI specification and config are available"
|
|
12
|
+
],
|
|
13
|
+
steps: [
|
|
14
|
+
{
|
|
15
|
+
type: "delegate",
|
|
16
|
+
task: "audit-openapi-design",
|
|
17
|
+
from_agent: "openapi-design-reviewer",
|
|
18
|
+
description: "",
|
|
19
|
+
optional: false,
|
|
20
|
+
max_retries: 0,
|
|
21
|
+
},
|
|
22
|
+
],
|
|
23
|
+
};
|
|
24
|
+
export const publishedReview = {
|
|
25
|
+
id: "published-review",
|
|
26
|
+
description: "Review published API surface for internal leakage and compatibility",
|
|
27
|
+
trigger: "cli-command",
|
|
28
|
+
entry_conditions: [
|
|
29
|
+
"Both master and published specs are available"
|
|
30
|
+
],
|
|
31
|
+
steps: [
|
|
32
|
+
{
|
|
33
|
+
type: "delegate",
|
|
34
|
+
task: "audit-published-api",
|
|
35
|
+
from_agent: "openapi-design-reviewer",
|
|
36
|
+
description: "",
|
|
37
|
+
optional: false,
|
|
38
|
+
max_retries: 0,
|
|
39
|
+
},
|
|
40
|
+
],
|
|
41
|
+
};
|
|
42
|
+
export const overlayProposal = {
|
|
43
|
+
id: "overlay-proposal",
|
|
44
|
+
description: "Propose cross-cutting overlay candidates",
|
|
45
|
+
trigger: "cli-command",
|
|
46
|
+
entry_conditions: [
|
|
47
|
+
"OpenAPI specification and existing overlays are available"
|
|
48
|
+
],
|
|
49
|
+
steps: [
|
|
50
|
+
{
|
|
51
|
+
type: "delegate",
|
|
52
|
+
task: "propose-overlay-candidates",
|
|
53
|
+
from_agent: "openapi-design-reviewer",
|
|
54
|
+
description: "",
|
|
55
|
+
optional: false,
|
|
56
|
+
max_retries: 0,
|
|
57
|
+
},
|
|
58
|
+
],
|
|
59
|
+
};
|
|
60
|
+
export const guardrailsAudit = {
|
|
61
|
+
id: "guardrails-audit",
|
|
62
|
+
description: "Audit guardrails configuration for drift and lint coverage",
|
|
63
|
+
trigger: "cli-command",
|
|
64
|
+
entry_conditions: [
|
|
65
|
+
"guardrails.yaml configuration exists"
|
|
66
|
+
],
|
|
67
|
+
steps: [
|
|
68
|
+
{
|
|
69
|
+
type: "delegate",
|
|
70
|
+
task: "audit-guardrails-coverage",
|
|
71
|
+
from_agent: "openapi-design-reviewer",
|
|
72
|
+
description: "",
|
|
73
|
+
optional: false,
|
|
74
|
+
max_retries: 0,
|
|
75
|
+
},
|
|
76
|
+
],
|
|
77
|
+
};
|
|
78
|
+
export const workflowRegistry = {
|
|
79
|
+
"openapi-audit": openapiAudit,
|
|
80
|
+
"published-review": publishedReview,
|
|
81
|
+
"overlay-proposal": overlayProposal,
|
|
82
|
+
"guardrails-audit": guardrailsAudit,
|
|
83
|
+
};
|
|
84
|
+
//# sourceMappingURL=workflows.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflows.js","sourceRoot":"","sources":["../../../src/generated/dsl/workflows.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AA6BH,MAAM,CAAC,MAAM,YAAY,GAAqB;IAC5C,EAAE,EAAE,eAAe;IACnB,WAAW,EAAE,4DAA4D;IACzE,OAAO,EAAE,aAAa;IACtB,gBAAgB,EAAE;QAClB,gDAAgD;KACjD;IACC,KAAK,EAAE;QACL;YACE,IAAI,EAAE,UAAU;YAChB,IAAI,EAAE,sBAAsB;YAC5B,UAAU,EAAE,yBAAyB;YACrC,WAAW,EAAE,EAAE;YACf,QAAQ,EAAE,KAAK;YACf,WAAW,EAAE,CAAC;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,eAAe,GAAqB;IAC/C,EAAE,EAAE,kBAAkB;IACtB,WAAW,EAAE,qEAAqE;IAClF,OAAO,EAAE,aAAa;IACtB,gBAAgB,EAAE;QAClB,+CAA+C;KAChD;IACC,KAAK,EAAE;QACL;YACE,IAAI,EAAE,UAAU;YAChB,IAAI,EAAE,qBAAqB;YAC3B,UAAU,EAAE,yBAAyB;YACrC,WAAW,EAAE,EAAE;YACf,QAAQ,EAAE,KAAK;YACf,WAAW,EAAE,CAAC;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,eAAe,GAAqB;IAC/C,EAAE,EAAE,kBAAkB;IACtB,WAAW,EAAE,0CAA0C;IACvD,OAAO,EAAE,aAAa;IACtB,gBAAgB,EAAE;QAClB,2DAA2D;KAC5D;IACC,KAAK,EAAE;QACL;YACE,IAAI,EAAE,UAAU;YAChB,IAAI,EAAE,4BAA4B;YAClC,UAAU,EAAE,yBAAyB;YACrC,WAAW,EAAE,EAAE;YACf,QAAQ,EAAE,KAAK;YACf,WAAW,EAAE,CAAC;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,eAAe,GAAqB;IAC/C,EAAE,EAAE,kBAAkB;IACtB,WAAW,EAAE,4DAA4D;IACzE,OAAO,EAAE,aAAa;IACtB,gBAAgB,EAAE;QAClB,sCAAsC;KACvC;IACC,KAAK,EAAE;QACL;YACE,IAAI,EAAE,UAAU;YAChB,IAAI,EAAE,2BAA2B;YACjC,UAAU,EAAE,yBAAyB;YACrC,WAAW,EAAE,EAAE;YACf,QAAQ,EAAE,KAAK;YACf,WAAW,EAAE,CAAC;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAqC;IAChE,eAAe,EAAE,YAAY;IAC7B,kBAAkB,EAAE,eAAe;IACnC,kBAAkB,EAAE,eAAe;IACnC,kBAAkB,EAAE,eAAe;CACpC,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export * from "./types.js";
|
|
2
|
+
export * from "./commands.js";
|
|
3
|
+
export * from "./schemas.js";
|
|
4
|
+
export { createProgram } from "./program.js";
|
|
5
|
+
export type { CommandHandlers } from "./program.js";
|
|
6
|
+
export { commandDefinitions, deriveCommandPolicy } from "./policy.js";
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/generated/index.ts"],"names":[],"mappings":"AACA,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,YAAY,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// Auto-generated by cli-contracts. Do not edit.
|
|
2
|
+
export * from "./types.js";
|
|
3
|
+
export * from "./commands.js";
|
|
4
|
+
export * from "./schemas.js";
|
|
5
|
+
export { createProgram } from "./program.js";
|
|
6
|
+
export { commandDefinitions, deriveCommandPolicy } from "./policy.js";
|
|
7
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/generated/index.ts"],"names":[],"mappings":"AAAA,gDAAgD;AAChD,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAE7C,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC"}
|