@netlify/agent-runner-cli 2.3.4 → 2.4.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/dist/bin-local.js +219 -217
- package/dist/bin.js +307 -305
- package/dist/index.d.ts +20 -0
- package/dist/index.js +218 -216
- package/dist/skills/netlify-blobs/SKILL.md +1 -1
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
|
|
3
|
+
/** Raw deterministic metrics for one repo tree (the BASE checkout). */
|
|
4
|
+
interface RepoComplexityMetrics {
|
|
5
|
+
metric_version: string;
|
|
6
|
+
source_files: number;
|
|
7
|
+
code_files: number;
|
|
8
|
+
source_loc: number;
|
|
9
|
+
oversize_skipped_files: number;
|
|
10
|
+
language_count: number;
|
|
11
|
+
languages: string[];
|
|
12
|
+
max_dir_depth: number;
|
|
13
|
+
dependency_count: number;
|
|
14
|
+
package_json_count: number;
|
|
15
|
+
build_configs: string[];
|
|
16
|
+
build_config_count: number;
|
|
17
|
+
test_files: number;
|
|
18
|
+
has_tests: boolean;
|
|
19
|
+
monorepo: boolean;
|
|
20
|
+
}
|
|
21
|
+
|
|
3
22
|
declare const RESUME_ACTIONS: readonly ["continue", "wrap_up"];
|
|
4
23
|
type ResumeAction = (typeof RESUME_ACTIONS)[number];
|
|
5
24
|
|
|
@@ -117,6 +136,7 @@ type RunnerConfig = {
|
|
|
117
136
|
assetMap?: Record<string, string[]>;
|
|
118
137
|
cache?: NativeSessionCacheConfig;
|
|
119
138
|
pendingUndeployedChanges?: boolean;
|
|
139
|
+
repoComplexity?: RepoComplexityMetrics;
|
|
120
140
|
} & ({
|
|
121
141
|
mode: Exclude<RunnerMode, 'redeploy'>;
|
|
122
142
|
prompt: string;
|