@miller-tech/uap 1.5.5 → 1.5.7
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/dist/.tsbuildinfo +1 -1
- package/dist/benchmarks/benchmark.d.ts +53 -53
- package/dist/bin/cli.js +6 -0
- package/dist/bin/cli.js.map +1 -1
- package/dist/bin/llama-server-optimize.js +0 -0
- package/dist/bin/policy.js +0 -0
- package/dist/bin/tool-calls.js +0 -0
- package/dist/cli/dashboard.d.ts +1 -0
- package/dist/cli/dashboard.d.ts.map +1 -1
- package/dist/cli/dashboard.js.map +1 -1
- package/dist/coordination/droid-validator.d.ts +1 -1
- package/dist/memory/active-context.d.ts +65 -0
- package/dist/memory/active-context.d.ts.map +1 -0
- package/dist/memory/active-context.js +126 -0
- package/dist/memory/active-context.js.map +1 -0
- package/dist/memory/dedup-detector.d.ts +57 -0
- package/dist/memory/dedup-detector.d.ts.map +1 -0
- package/dist/memory/dedup-detector.js +107 -0
- package/dist/memory/dedup-detector.js.map +1 -0
- package/dist/memory/dedup-memory.d.ts +89 -0
- package/dist/memory/dedup-memory.d.ts.map +1 -0
- package/dist/memory/dedup-memory.js +173 -0
- package/dist/memory/dedup-memory.js.map +1 -0
- package/dist/memory/merge-claude-md.d.ts +45 -0
- package/dist/memory/merge-claude-md.d.ts.map +1 -0
- package/dist/memory/merge-claude-md.js +118 -0
- package/dist/memory/merge-claude-md.js.map +1 -0
- package/dist/memory/patterns.d.ts +37 -0
- package/dist/memory/patterns.d.ts.map +1 -0
- package/dist/memory/patterns.js +81 -0
- package/dist/memory/patterns.js.map +1 -0
- package/dist/memory/semantic-edge-graph.d.ts +86 -0
- package/dist/memory/semantic-edge-graph.d.ts.map +1 -0
- package/dist/memory/semantic-edge-graph.js +168 -0
- package/dist/memory/semantic-edge-graph.js.map +1 -0
- package/dist/memory/semantic-retrieval.d.ts +70 -0
- package/dist/memory/semantic-retrieval.d.ts.map +1 -0
- package/dist/memory/semantic-retrieval.js +112 -0
- package/dist/memory/semantic-retrieval.js.map +1 -0
- package/dist/memory/smart-consolidator.d.ts +53 -0
- package/dist/memory/smart-consolidator.d.ts.map +1 -0
- package/dist/memory/smart-consolidator.js +144 -0
- package/dist/memory/smart-consolidator.js.map +1 -0
- package/dist/memory/view-memory.d.ts +80 -0
- package/dist/memory/view-memory.d.ts.map +1 -0
- package/dist/memory/view-memory.js +130 -0
- package/dist/memory/view-memory.js.map +1 -0
- package/dist/memory/wrapped-memory.d.ts +77 -0
- package/dist/memory/wrapped-memory.d.ts.map +1 -0
- package/dist/memory/wrapped-memory.js +127 -0
- package/dist/memory/wrapped-memory.js.map +1 -0
- package/dist/models/types.d.ts +57 -57
- package/dist/policies/schemas/policy.d.ts +18 -18
- package/dist/tasks/types.d.ts +23 -23
- package/dist/types/config.d.ts +416 -416
- package/dist/types/coordination.d.ts +22 -22
- package/dist/uap-droids-strict.d.ts +1 -1
- package/dist/utils/adaptive-cache.d.ts +67 -0
- package/dist/utils/adaptive-cache.d.ts.map +1 -0
- package/dist/utils/adaptive-cache.js +149 -0
- package/dist/utils/adaptive-cache.js.map +1 -0
- package/dist/utils/performance-monitor.d.ts +52 -0
- package/dist/utils/performance-monitor.d.ts.map +1 -0
- package/dist/utils/performance-monitor.js +103 -0
- package/dist/utils/performance-monitor.js.map +1 -0
- package/package.json +1 -1
package/dist/models/types.d.ts
CHANGED
|
@@ -25,28 +25,28 @@ export declare const ModelConfigSchemaModels: z.ZodObject<{
|
|
|
25
25
|
capabilities: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
26
26
|
modelContextBudget: z.ZodOptional<z.ZodNumber>;
|
|
27
27
|
}, "strip", z.ZodTypeAny, {
|
|
28
|
-
provider: "custom" | "anthropic" | "deepseek" | "openai" | "zhipu" | "ollama";
|
|
29
28
|
name: string;
|
|
30
|
-
|
|
29
|
+
provider: "custom" | "anthropic" | "zhipu" | "openai" | "deepseek" | "ollama";
|
|
31
30
|
id: string;
|
|
32
|
-
apiModel: string;
|
|
33
31
|
capabilities: string[];
|
|
32
|
+
maxContextTokens: number;
|
|
33
|
+
apiModel: string;
|
|
34
34
|
endpoint?: string | undefined;
|
|
35
35
|
apiKeyEnvVar?: string | undefined;
|
|
36
36
|
costPer1MInput?: number | undefined;
|
|
37
37
|
costPer1MOutput?: number | undefined;
|
|
38
38
|
modelContextBudget?: number | undefined;
|
|
39
39
|
}, {
|
|
40
|
-
provider: "custom" | "anthropic" | "deepseek" | "openai" | "zhipu" | "ollama";
|
|
41
40
|
name: string;
|
|
41
|
+
provider: "custom" | "anthropic" | "zhipu" | "openai" | "deepseek" | "ollama";
|
|
42
42
|
id: string;
|
|
43
43
|
apiModel: string;
|
|
44
|
+
capabilities?: string[] | undefined;
|
|
44
45
|
endpoint?: string | undefined;
|
|
45
46
|
maxContextTokens?: number | undefined;
|
|
46
47
|
apiKeyEnvVar?: string | undefined;
|
|
47
48
|
costPer1MInput?: number | undefined;
|
|
48
49
|
costPer1MOutput?: number | undefined;
|
|
49
|
-
capabilities?: string[] | undefined;
|
|
50
50
|
modelContextBudget?: number | undefined;
|
|
51
51
|
}>;
|
|
52
52
|
export type ModelConfig = z.infer<typeof ModelConfigSchemaModels>;
|
|
@@ -64,15 +64,15 @@ export declare const RoleAssignmentSchema: z.ZodObject<{
|
|
|
64
64
|
maxTokensPerRequest: z.ZodOptional<z.ZodNumber>;
|
|
65
65
|
timeout: z.ZodDefault<z.ZodNumber>;
|
|
66
66
|
}, "strip", z.ZodTypeAny, {
|
|
67
|
-
role: "planner" | "executor" | "reviewer" | "fallback";
|
|
68
|
-
modelId: string;
|
|
69
67
|
timeout: number;
|
|
68
|
+
modelId: string;
|
|
69
|
+
role: "planner" | "executor" | "reviewer" | "fallback";
|
|
70
70
|
maxTokensPerRequest?: number | undefined;
|
|
71
71
|
}, {
|
|
72
|
-
role: "planner" | "executor" | "reviewer" | "fallback";
|
|
73
72
|
modelId: string;
|
|
74
|
-
|
|
73
|
+
role: "planner" | "executor" | "reviewer" | "fallback";
|
|
75
74
|
timeout?: number | undefined;
|
|
75
|
+
maxTokensPerRequest?: number | undefined;
|
|
76
76
|
}>;
|
|
77
77
|
export type RoleAssignment = z.infer<typeof RoleAssignmentSchema>;
|
|
78
78
|
/**
|
|
@@ -85,17 +85,17 @@ export declare const RoutingRuleSchema: z.ZodObject<{
|
|
|
85
85
|
targetRole: z.ZodEnum<["planner", "executor", "reviewer", "fallback"]>;
|
|
86
86
|
priority: z.ZodDefault<z.ZodNumber>;
|
|
87
87
|
}, "strip", z.ZodTypeAny, {
|
|
88
|
-
targetRole: "planner" | "executor" | "reviewer" | "fallback";
|
|
89
88
|
priority: number;
|
|
90
|
-
|
|
89
|
+
targetRole: "planner" | "executor" | "reviewer" | "fallback";
|
|
90
|
+
complexity?: "medium" | "low" | "high" | "critical" | undefined;
|
|
91
91
|
keywords?: string[] | undefined;
|
|
92
|
-
taskType?: "
|
|
92
|
+
taskType?: "documentation" | "coding" | "bug-fix" | "refactoring" | "review" | "planning" | undefined;
|
|
93
93
|
}, {
|
|
94
94
|
targetRole: "planner" | "executor" | "reviewer" | "fallback";
|
|
95
|
-
complexity?: "low" | "medium" | "high" | "critical" | undefined;
|
|
96
|
-
keywords?: string[] | undefined;
|
|
97
|
-
taskType?: "planning" | "coding" | "refactoring" | "bug-fix" | "review" | "documentation" | undefined;
|
|
98
95
|
priority?: number | undefined;
|
|
96
|
+
complexity?: "medium" | "low" | "high" | "critical" | undefined;
|
|
97
|
+
keywords?: string[] | undefined;
|
|
98
|
+
taskType?: "documentation" | "coding" | "bug-fix" | "refactoring" | "review" | "planning" | undefined;
|
|
99
99
|
}>;
|
|
100
100
|
export type RoutingRule = z.infer<typeof RoutingRuleSchema>;
|
|
101
101
|
/**
|
|
@@ -116,28 +116,28 @@ export declare const MultiModelConfigSchema: z.ZodObject<{
|
|
|
116
116
|
capabilities: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
117
117
|
modelContextBudget: z.ZodOptional<z.ZodNumber>;
|
|
118
118
|
}, "strip", z.ZodTypeAny, {
|
|
119
|
-
provider: "custom" | "anthropic" | "deepseek" | "openai" | "zhipu" | "ollama";
|
|
120
119
|
name: string;
|
|
121
|
-
|
|
120
|
+
provider: "custom" | "anthropic" | "zhipu" | "openai" | "deepseek" | "ollama";
|
|
122
121
|
id: string;
|
|
123
|
-
apiModel: string;
|
|
124
122
|
capabilities: string[];
|
|
123
|
+
maxContextTokens: number;
|
|
124
|
+
apiModel: string;
|
|
125
125
|
endpoint?: string | undefined;
|
|
126
126
|
apiKeyEnvVar?: string | undefined;
|
|
127
127
|
costPer1MInput?: number | undefined;
|
|
128
128
|
costPer1MOutput?: number | undefined;
|
|
129
129
|
modelContextBudget?: number | undefined;
|
|
130
130
|
}, {
|
|
131
|
-
provider: "custom" | "anthropic" | "deepseek" | "openai" | "zhipu" | "ollama";
|
|
132
131
|
name: string;
|
|
132
|
+
provider: "custom" | "anthropic" | "zhipu" | "openai" | "deepseek" | "ollama";
|
|
133
133
|
id: string;
|
|
134
134
|
apiModel: string;
|
|
135
|
+
capabilities?: string[] | undefined;
|
|
135
136
|
endpoint?: string | undefined;
|
|
136
137
|
maxContextTokens?: number | undefined;
|
|
137
138
|
apiKeyEnvVar?: string | undefined;
|
|
138
139
|
costPer1MInput?: number | undefined;
|
|
139
140
|
costPer1MOutput?: number | undefined;
|
|
140
|
-
capabilities?: string[] | undefined;
|
|
141
141
|
modelContextBudget?: number | undefined;
|
|
142
142
|
}>]>, "many">>;
|
|
143
143
|
roles: z.ZodOptional<z.ZodObject<{
|
|
@@ -163,17 +163,17 @@ export declare const MultiModelConfigSchema: z.ZodObject<{
|
|
|
163
163
|
targetRole: z.ZodEnum<["planner", "executor", "reviewer", "fallback"]>;
|
|
164
164
|
priority: z.ZodDefault<z.ZodNumber>;
|
|
165
165
|
}, "strip", z.ZodTypeAny, {
|
|
166
|
-
targetRole: "planner" | "executor" | "reviewer" | "fallback";
|
|
167
166
|
priority: number;
|
|
168
|
-
|
|
167
|
+
targetRole: "planner" | "executor" | "reviewer" | "fallback";
|
|
168
|
+
complexity?: "medium" | "low" | "high" | "critical" | undefined;
|
|
169
169
|
keywords?: string[] | undefined;
|
|
170
|
-
taskType?: "
|
|
170
|
+
taskType?: "documentation" | "coding" | "bug-fix" | "refactoring" | "review" | "planning" | undefined;
|
|
171
171
|
}, {
|
|
172
172
|
targetRole: "planner" | "executor" | "reviewer" | "fallback";
|
|
173
|
-
complexity?: "low" | "medium" | "high" | "critical" | undefined;
|
|
174
|
-
keywords?: string[] | undefined;
|
|
175
|
-
taskType?: "planning" | "coding" | "refactoring" | "bug-fix" | "review" | "documentation" | undefined;
|
|
176
173
|
priority?: number | undefined;
|
|
174
|
+
complexity?: "medium" | "low" | "high" | "critical" | undefined;
|
|
175
|
+
keywords?: string[] | undefined;
|
|
176
|
+
taskType?: "documentation" | "coding" | "bug-fix" | "refactoring" | "review" | "planning" | undefined;
|
|
177
177
|
}>, "many">>;
|
|
178
178
|
costOptimization: z.ZodOptional<z.ZodObject<{
|
|
179
179
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -207,11 +207,11 @@ export declare const MultiModelConfigSchema: z.ZodObject<{
|
|
|
207
207
|
maxPlanningTokens: z.ZodDefault<z.ZodNumber>;
|
|
208
208
|
enableDecomposition: z.ZodDefault<z.ZodBoolean>;
|
|
209
209
|
}, "strip", z.ZodTypeAny, {
|
|
210
|
-
complexityThreshold: "
|
|
210
|
+
complexityThreshold: "medium" | "low" | "high";
|
|
211
211
|
maxPlanningTokens: number;
|
|
212
212
|
enableDecomposition: boolean;
|
|
213
213
|
}, {
|
|
214
|
-
complexityThreshold?: "
|
|
214
|
+
complexityThreshold?: "medium" | "low" | "high" | undefined;
|
|
215
215
|
maxPlanningTokens?: number | undefined;
|
|
216
216
|
enableDecomposition?: boolean | undefined;
|
|
217
217
|
}>>;
|
|
@@ -231,19 +231,25 @@ export declare const MultiModelConfigSchema: z.ZodObject<{
|
|
|
231
231
|
}, "strip", z.ZodTypeAny, {
|
|
232
232
|
enabled: boolean;
|
|
233
233
|
models: (string | {
|
|
234
|
-
provider: "custom" | "anthropic" | "deepseek" | "openai" | "zhipu" | "ollama";
|
|
235
234
|
name: string;
|
|
236
|
-
|
|
235
|
+
provider: "custom" | "anthropic" | "zhipu" | "openai" | "deepseek" | "ollama";
|
|
237
236
|
id: string;
|
|
238
|
-
apiModel: string;
|
|
239
237
|
capabilities: string[];
|
|
238
|
+
maxContextTokens: number;
|
|
239
|
+
apiModel: string;
|
|
240
240
|
endpoint?: string | undefined;
|
|
241
241
|
apiKeyEnvVar?: string | undefined;
|
|
242
242
|
costPer1MInput?: number | undefined;
|
|
243
243
|
costPer1MOutput?: number | undefined;
|
|
244
244
|
modelContextBudget?: number | undefined;
|
|
245
245
|
})[];
|
|
246
|
-
routingStrategy: "cost-optimized" | "performance-first" | "
|
|
246
|
+
routingStrategy: "balanced" | "cost-optimized" | "performance-first" | "adaptive";
|
|
247
|
+
costOptimization?: {
|
|
248
|
+
enabled: boolean;
|
|
249
|
+
targetReduction: number;
|
|
250
|
+
maxPerformanceDegradation: number;
|
|
251
|
+
fallbackThreshold: number;
|
|
252
|
+
} | undefined;
|
|
247
253
|
roles?: {
|
|
248
254
|
planner: string;
|
|
249
255
|
executor: string;
|
|
@@ -251,20 +257,14 @@ export declare const MultiModelConfigSchema: z.ZodObject<{
|
|
|
251
257
|
reviewer?: string | undefined;
|
|
252
258
|
} | undefined;
|
|
253
259
|
routing?: {
|
|
254
|
-
targetRole: "planner" | "executor" | "reviewer" | "fallback";
|
|
255
260
|
priority: number;
|
|
256
|
-
|
|
261
|
+
targetRole: "planner" | "executor" | "reviewer" | "fallback";
|
|
262
|
+
complexity?: "medium" | "low" | "high" | "critical" | undefined;
|
|
257
263
|
keywords?: string[] | undefined;
|
|
258
|
-
taskType?: "
|
|
264
|
+
taskType?: "documentation" | "coding" | "bug-fix" | "refactoring" | "review" | "planning" | undefined;
|
|
259
265
|
}[] | undefined;
|
|
260
|
-
costOptimization?: {
|
|
261
|
-
enabled: boolean;
|
|
262
|
-
targetReduction: number;
|
|
263
|
-
maxPerformanceDegradation: number;
|
|
264
|
-
fallbackThreshold: number;
|
|
265
|
-
} | undefined;
|
|
266
266
|
plannerSettings?: {
|
|
267
|
-
complexityThreshold: "
|
|
267
|
+
complexityThreshold: "medium" | "low" | "high";
|
|
268
268
|
maxPlanningTokens: number;
|
|
269
269
|
enableDecomposition: boolean;
|
|
270
270
|
} | undefined;
|
|
@@ -273,25 +273,31 @@ export declare const MultiModelConfigSchema: z.ZodObject<{
|
|
|
273
273
|
maxRetries: number;
|
|
274
274
|
stepTimeout: number;
|
|
275
275
|
} | undefined;
|
|
276
|
-
routingMatrix?: Partial<Record<"
|
|
276
|
+
routingMatrix?: Partial<Record<"medium" | "low" | "high" | "critical", {
|
|
277
277
|
planner: string;
|
|
278
278
|
executor: string;
|
|
279
279
|
}>> | undefined;
|
|
280
280
|
}, {
|
|
281
281
|
enabled?: boolean | undefined;
|
|
282
282
|
models?: (string | {
|
|
283
|
-
provider: "custom" | "anthropic" | "deepseek" | "openai" | "zhipu" | "ollama";
|
|
284
283
|
name: string;
|
|
284
|
+
provider: "custom" | "anthropic" | "zhipu" | "openai" | "deepseek" | "ollama";
|
|
285
285
|
id: string;
|
|
286
286
|
apiModel: string;
|
|
287
|
+
capabilities?: string[] | undefined;
|
|
287
288
|
endpoint?: string | undefined;
|
|
288
289
|
maxContextTokens?: number | undefined;
|
|
289
290
|
apiKeyEnvVar?: string | undefined;
|
|
290
291
|
costPer1MInput?: number | undefined;
|
|
291
292
|
costPer1MOutput?: number | undefined;
|
|
292
|
-
capabilities?: string[] | undefined;
|
|
293
293
|
modelContextBudget?: number | undefined;
|
|
294
294
|
})[] | undefined;
|
|
295
|
+
costOptimization?: {
|
|
296
|
+
enabled?: boolean | undefined;
|
|
297
|
+
targetReduction?: number | undefined;
|
|
298
|
+
maxPerformanceDegradation?: number | undefined;
|
|
299
|
+
fallbackThreshold?: number | undefined;
|
|
300
|
+
} | undefined;
|
|
295
301
|
roles?: {
|
|
296
302
|
planner?: string | undefined;
|
|
297
303
|
executor?: string | undefined;
|
|
@@ -300,20 +306,14 @@ export declare const MultiModelConfigSchema: z.ZodObject<{
|
|
|
300
306
|
} | undefined;
|
|
301
307
|
routing?: {
|
|
302
308
|
targetRole: "planner" | "executor" | "reviewer" | "fallback";
|
|
303
|
-
complexity?: "low" | "medium" | "high" | "critical" | undefined;
|
|
304
|
-
keywords?: string[] | undefined;
|
|
305
|
-
taskType?: "planning" | "coding" | "refactoring" | "bug-fix" | "review" | "documentation" | undefined;
|
|
306
309
|
priority?: number | undefined;
|
|
310
|
+
complexity?: "medium" | "low" | "high" | "critical" | undefined;
|
|
311
|
+
keywords?: string[] | undefined;
|
|
312
|
+
taskType?: "documentation" | "coding" | "bug-fix" | "refactoring" | "review" | "planning" | undefined;
|
|
307
313
|
}[] | undefined;
|
|
308
|
-
routingStrategy?: "cost-optimized" | "performance-first" | "
|
|
309
|
-
costOptimization?: {
|
|
310
|
-
enabled?: boolean | undefined;
|
|
311
|
-
targetReduction?: number | undefined;
|
|
312
|
-
maxPerformanceDegradation?: number | undefined;
|
|
313
|
-
fallbackThreshold?: number | undefined;
|
|
314
|
-
} | undefined;
|
|
314
|
+
routingStrategy?: "balanced" | "cost-optimized" | "performance-first" | "adaptive" | undefined;
|
|
315
315
|
plannerSettings?: {
|
|
316
|
-
complexityThreshold?: "
|
|
316
|
+
complexityThreshold?: "medium" | "low" | "high" | undefined;
|
|
317
317
|
maxPlanningTokens?: number | undefined;
|
|
318
318
|
enableDecomposition?: boolean | undefined;
|
|
319
319
|
} | undefined;
|
|
@@ -322,7 +322,7 @@ export declare const MultiModelConfigSchema: z.ZodObject<{
|
|
|
322
322
|
maxRetries?: number | undefined;
|
|
323
323
|
stepTimeout?: number | undefined;
|
|
324
324
|
} | undefined;
|
|
325
|
-
routingMatrix?: Partial<Record<"
|
|
325
|
+
routingMatrix?: Partial<Record<"medium" | "low" | "high" | "critical", {
|
|
326
326
|
planner: string;
|
|
327
327
|
executor: string;
|
|
328
328
|
}>> | undefined;
|
|
@@ -17,33 +17,33 @@ export declare const PolicySchema: z.ZodObject<{
|
|
|
17
17
|
}, "strip", z.ZodTypeAny, {
|
|
18
18
|
name: string;
|
|
19
19
|
id: string;
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
category: "code" | "custom" | "testing" | "ui" | "security" | "image" | "automation";
|
|
24
|
-
level: "REQUIRED" | "RECOMMENDED" | "OPTIONAL";
|
|
25
|
-
enforcementStage: "review" | "pre-exec" | "post-exec" | "always";
|
|
20
|
+
category: "ui" | "security" | "code" | "custom" | "testing" | "image" | "automation";
|
|
21
|
+
level: "RECOMMENDED" | "REQUIRED" | "OPTIONAL";
|
|
22
|
+
enforcementStage: "pre-exec" | "post-exec" | "review" | "always";
|
|
26
23
|
rawMarkdown: string;
|
|
27
24
|
tags: string[];
|
|
25
|
+
createdAt: string;
|
|
28
26
|
updatedAt: string;
|
|
27
|
+
version: number;
|
|
29
28
|
isActive: boolean;
|
|
29
|
+
priority: number;
|
|
30
30
|
convertedFormat?: string | null | undefined;
|
|
31
31
|
executableTools?: string[] | undefined;
|
|
32
32
|
}, {
|
|
33
33
|
name: string;
|
|
34
34
|
id: string;
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
category: "code" | "custom" | "testing" | "ui" | "security" | "image" | "automation";
|
|
38
|
-
level: "REQUIRED" | "RECOMMENDED" | "OPTIONAL";
|
|
35
|
+
category: "ui" | "security" | "code" | "custom" | "testing" | "image" | "automation";
|
|
36
|
+
level: "RECOMMENDED" | "REQUIRED" | "OPTIONAL";
|
|
39
37
|
rawMarkdown: string;
|
|
40
38
|
tags: string[];
|
|
39
|
+
createdAt: string;
|
|
41
40
|
updatedAt: string;
|
|
41
|
+
version: number;
|
|
42
42
|
isActive: boolean;
|
|
43
|
-
|
|
44
|
-
enforcementStage?: "review" | "pre-exec" | "post-exec" | "always" | undefined;
|
|
43
|
+
enforcementStage?: "pre-exec" | "post-exec" | "review" | "always" | undefined;
|
|
45
44
|
convertedFormat?: string | null | undefined;
|
|
46
45
|
executableTools?: string[] | undefined;
|
|
46
|
+
priority?: number | undefined;
|
|
47
47
|
}>;
|
|
48
48
|
export type Policy = z.infer<typeof PolicySchema>;
|
|
49
49
|
export declare const PolicyExecutionSchema: z.ZodObject<{
|
|
@@ -54,18 +54,18 @@ export declare const PolicyExecutionSchema: z.ZodObject<{
|
|
|
54
54
|
result: z.ZodAny;
|
|
55
55
|
executedAt: z.ZodEffects<z.ZodString, string, string>;
|
|
56
56
|
}, "strip", z.ZodTypeAny, {
|
|
57
|
-
args: Record<string, unknown>;
|
|
58
|
-
policyId: string;
|
|
59
|
-
toolName: string;
|
|
60
57
|
operation: string;
|
|
61
58
|
executedAt: string;
|
|
62
|
-
result?: any;
|
|
63
|
-
}, {
|
|
64
|
-
args: Record<string, unknown>;
|
|
65
59
|
policyId: string;
|
|
60
|
+
args: Record<string, unknown>;
|
|
66
61
|
toolName: string;
|
|
62
|
+
result?: any;
|
|
63
|
+
}, {
|
|
67
64
|
operation: string;
|
|
68
65
|
executedAt: string;
|
|
66
|
+
policyId: string;
|
|
67
|
+
args: Record<string, unknown>;
|
|
68
|
+
toolName: string;
|
|
69
69
|
result?: any;
|
|
70
70
|
}>;
|
|
71
71
|
export type PolicyExecution = z.infer<typeof PolicyExecutionSchema>;
|
package/dist/tasks/types.d.ts
CHANGED
|
@@ -152,24 +152,24 @@ export declare const CreateTaskInputSchema: z.ZodObject<{
|
|
|
152
152
|
notes: z.ZodOptional<z.ZodString>;
|
|
153
153
|
dueDate: z.ZodOptional<z.ZodString>;
|
|
154
154
|
}, "strip", z.ZodTypeAny, {
|
|
155
|
-
type: "
|
|
155
|
+
type: "task" | "bug" | "feature" | "epic" | "chore" | "story";
|
|
156
156
|
priority: number;
|
|
157
157
|
title: string;
|
|
158
158
|
labels: string[];
|
|
159
159
|
description?: string | undefined;
|
|
160
|
-
parentId?: string | undefined;
|
|
161
160
|
assignee?: string | undefined;
|
|
161
|
+
parentId?: string | undefined;
|
|
162
162
|
notes?: string | undefined;
|
|
163
163
|
dueDate?: string | undefined;
|
|
164
164
|
}, {
|
|
165
165
|
title: string;
|
|
166
|
-
type?: "chore" | "feature" | "task" | "bug" | "epic" | "story" | undefined;
|
|
167
166
|
description?: string | undefined;
|
|
167
|
+
type?: "task" | "bug" | "feature" | "epic" | "chore" | "story" | undefined;
|
|
168
168
|
priority?: number | undefined;
|
|
169
|
-
labels?: string[] | undefined;
|
|
170
|
-
parentId?: string | undefined;
|
|
171
169
|
assignee?: string | undefined;
|
|
170
|
+
parentId?: string | undefined;
|
|
172
171
|
notes?: string | undefined;
|
|
172
|
+
labels?: string[] | undefined;
|
|
173
173
|
dueDate?: string | undefined;
|
|
174
174
|
}>;
|
|
175
175
|
export declare const UpdateTaskInputSchema: z.ZodObject<{
|
|
@@ -184,27 +184,27 @@ export declare const UpdateTaskInputSchema: z.ZodObject<{
|
|
|
184
184
|
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
185
185
|
dueDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
186
186
|
}, "strip", z.ZodTypeAny, {
|
|
187
|
-
type?: "chore" | "feature" | "task" | "bug" | "epic" | "story" | undefined;
|
|
188
|
-
status?: "open" | "in_progress" | "blocked" | "done" | "wont_do" | undefined;
|
|
189
187
|
description?: string | undefined;
|
|
188
|
+
status?: "blocked" | "open" | "in_progress" | "done" | "wont_do" | undefined;
|
|
189
|
+
type?: "task" | "bug" | "feature" | "epic" | "chore" | "story" | undefined;
|
|
190
190
|
priority?: number | undefined;
|
|
191
191
|
title?: string | undefined;
|
|
192
|
-
labels?: string[] | undefined;
|
|
193
192
|
assignee?: string | null | undefined;
|
|
193
|
+
worktreeBranch?: string | null | undefined;
|
|
194
194
|
notes?: string | null | undefined;
|
|
195
|
+
labels?: string[] | undefined;
|
|
195
196
|
dueDate?: string | null | undefined;
|
|
196
|
-
worktreeBranch?: string | null | undefined;
|
|
197
197
|
}, {
|
|
198
|
-
type?: "chore" | "feature" | "task" | "bug" | "epic" | "story" | undefined;
|
|
199
|
-
status?: "open" | "in_progress" | "blocked" | "done" | "wont_do" | undefined;
|
|
200
198
|
description?: string | undefined;
|
|
199
|
+
status?: "blocked" | "open" | "in_progress" | "done" | "wont_do" | undefined;
|
|
200
|
+
type?: "task" | "bug" | "feature" | "epic" | "chore" | "story" | undefined;
|
|
201
201
|
priority?: number | undefined;
|
|
202
202
|
title?: string | undefined;
|
|
203
|
-
labels?: string[] | undefined;
|
|
204
203
|
assignee?: string | null | undefined;
|
|
204
|
+
worktreeBranch?: string | null | undefined;
|
|
205
205
|
notes?: string | null | undefined;
|
|
206
|
+
labels?: string[] | undefined;
|
|
206
207
|
dueDate?: string | null | undefined;
|
|
207
|
-
worktreeBranch?: string | null | undefined;
|
|
208
208
|
}>;
|
|
209
209
|
export declare const TaskFilterSchema: z.ZodObject<{
|
|
210
210
|
status: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["open", "in_progress", "blocked", "done", "wont_do"]>, z.ZodArray<z.ZodEnum<["open", "in_progress", "blocked", "done", "wont_do"]>, "many">]>>;
|
|
@@ -218,26 +218,26 @@ export declare const TaskFilterSchema: z.ZodObject<{
|
|
|
218
218
|
search: z.ZodOptional<z.ZodString>;
|
|
219
219
|
overdue: z.ZodOptional<z.ZodBoolean>;
|
|
220
220
|
}, "strip", z.ZodTypeAny, {
|
|
221
|
-
type?: "chore" | "feature" | "task" | "bug" | "epic" | "story" | ("chore" | "feature" | "task" | "bug" | "epic" | "story")[] | undefined;
|
|
222
|
-
status?: "open" | "in_progress" | "blocked" | "done" | "wont_do" | ("open" | "in_progress" | "blocked" | "done" | "wont_do")[] | undefined;
|
|
223
|
-
priority?: number | number[] | undefined;
|
|
224
221
|
search?: string | undefined;
|
|
225
|
-
|
|
226
|
-
|
|
222
|
+
status?: "blocked" | "open" | "in_progress" | "done" | "wont_do" | ("blocked" | "open" | "in_progress" | "done" | "wont_do")[] | undefined;
|
|
223
|
+
type?: "task" | "bug" | "feature" | "epic" | "chore" | "story" | ("task" | "bug" | "feature" | "epic" | "chore" | "story")[] | undefined;
|
|
224
|
+
priority?: number | number[] | undefined;
|
|
227
225
|
assignee?: string | undefined;
|
|
226
|
+
parentId?: string | undefined;
|
|
228
227
|
isBlocked?: boolean | undefined;
|
|
229
228
|
isReady?: boolean | undefined;
|
|
229
|
+
labels?: string[] | undefined;
|
|
230
230
|
overdue?: boolean | undefined;
|
|
231
231
|
}, {
|
|
232
|
-
type?: "chore" | "feature" | "task" | "bug" | "epic" | "story" | ("chore" | "feature" | "task" | "bug" | "epic" | "story")[] | undefined;
|
|
233
|
-
status?: "open" | "in_progress" | "blocked" | "done" | "wont_do" | ("open" | "in_progress" | "blocked" | "done" | "wont_do")[] | undefined;
|
|
234
|
-
priority?: number | number[] | undefined;
|
|
235
232
|
search?: string | undefined;
|
|
236
|
-
|
|
237
|
-
|
|
233
|
+
status?: "blocked" | "open" | "in_progress" | "done" | "wont_do" | ("blocked" | "open" | "in_progress" | "done" | "wont_do")[] | undefined;
|
|
234
|
+
type?: "task" | "bug" | "feature" | "epic" | "chore" | "story" | ("task" | "bug" | "feature" | "epic" | "chore" | "story")[] | undefined;
|
|
235
|
+
priority?: number | number[] | undefined;
|
|
238
236
|
assignee?: string | undefined;
|
|
237
|
+
parentId?: string | undefined;
|
|
239
238
|
isBlocked?: boolean | undefined;
|
|
240
239
|
isReady?: boolean | undefined;
|
|
240
|
+
labels?: string[] | undefined;
|
|
241
241
|
overdue?: boolean | undefined;
|
|
242
242
|
}>;
|
|
243
243
|
export declare const PRIORITY_LABELS: Record<TaskPriority, string>;
|