@builder.io/dev-tools 1.22.3 → 1.22.6

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.
@@ -40,6 +40,7 @@ export interface ToolContext {
40
40
  getAllFiles: (options: {
41
41
  getDotFiles?: boolean;
42
42
  pattern?: string;
43
+ maxFiles?: number;
43
44
  }) => Promise<string[]>;
44
45
  restore: (options: {
45
46
  location: "before" | "after";
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Memory pressure measurement for dev-tools
3
+ * Returns a 0-1 ratio where 0 is healthy and 1 is near OOM
4
+ */
5
+ /**
6
+ * Calculate current memory pressure as a 0-1 ratio
7
+ * Uses container memory limit if available, falls back to V8 heap stats
8
+ */
9
+ export declare function getMemoryPressure(): number;
@@ -10,6 +10,7 @@ export interface SubAgent {
10
10
  tools?: string[];
11
11
  model?: string;
12
12
  mode?: CodeGenMode;
13
+ position?: string;
13
14
  filePath?: string;
14
15
  includeMemories?: boolean;
15
16
  needDevServer?: boolean;
@@ -0,0 +1 @@
1
+ export declare const setPriority: (pid: number, priority: number) => void;
@@ -0,0 +1,2 @@
1
+ import type { CustomAgentDefinition } from "$/ai-utils";
2
+ export declare const PROJECT_CONFIGURATION_AGENT: CustomAgentDefinition;