builder.io 1.18.27 → 1.18.30
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/cli/index.cjs +594 -593
- package/cli/index.cjs.map +4 -4
- package/core/index.cjs +1 -1
- package/core/index.mjs +1 -1
- package/node/index.cjs +1 -1
- package/node/index.mjs +1 -1
- package/package.json +1 -1
- package/server/index.cjs +101 -101
- package/server/index.mjs +101 -101
- package/types/cli/code-tools.d.ts +0 -1
- package/types/cli/codegen.d.ts +1 -0
- package/types/cli/index.d.ts +5 -0
- package/types/cli/launch/dev-server-orchestrator.d.ts +1 -0
- package/types/cli/launch/machine-health.d.ts +0 -3
- package/types/cli/repo-indexing/types.d.ts +16 -0
- package/types/cli/utils/agent-parser.d.ts +1 -0
- package/types/cli/utils/browser-testing-agent.d.ts +1 -1
- package/types/cli/utils/codegen-utils.d.ts +2 -0
- package/types/tsconfig.tsbuildinfo +1 -1
|
@@ -102,5 +102,4 @@ export declare function getRipgrepExecutable(sys: DevToolsSys): Promise<string>;
|
|
|
102
102
|
* @param query - The query to check
|
|
103
103
|
*/
|
|
104
104
|
export declare const isLikelyFixedString: (query: string) => boolean;
|
|
105
|
-
export declare function newAbortError(): Error;
|
|
106
105
|
export {};
|
package/types/cli/codegen.d.ts
CHANGED
|
@@ -239,6 +239,7 @@ export declare class CodeGenSession {
|
|
|
239
239
|
model?: string;
|
|
240
240
|
mode?: CodeGenMode;
|
|
241
241
|
includeMemories?: boolean;
|
|
242
|
+
needDevServer?: boolean;
|
|
242
243
|
systemPrompt?: string;
|
|
243
244
|
}): Promise<SpawnAgentResult>;
|
|
244
245
|
setProxyOrigin(proxySrc: string | undefined): void;
|
package/types/cli/index.d.ts
CHANGED
|
@@ -60,6 +60,11 @@ export interface CLIArgs {
|
|
|
60
60
|
* Example: --addDirectory "../docs" --addDirectory "../../bar"
|
|
61
61
|
*/
|
|
62
62
|
addDirectory?: string | string[];
|
|
63
|
+
/**
|
|
64
|
+
* Path to the custom docs folder to upload.
|
|
65
|
+
* Example: --uploadCustomDocs ./docs/manual
|
|
66
|
+
*/
|
|
67
|
+
uploadCustomDocs?: string;
|
|
63
68
|
/** The scope of the design system to index */
|
|
64
69
|
scope?: DesignSystemScope;
|
|
65
70
|
/** Token to use for figma */
|
|
@@ -82,6 +82,7 @@ export interface DevServerOrchestrator {
|
|
|
82
82
|
getSetupOutput: () => string;
|
|
83
83
|
getMiseActivationCommand: (shell: string) => Promise<string | null>;
|
|
84
84
|
waitUntilIdle: (initialWaitMs?: number, idleTimeMs?: number) => Promise<void>;
|
|
85
|
+
waitUntilServer: (signal?: AbortSignal) => Promise<void>;
|
|
85
86
|
onClose: (callback: (code: number | null) => void) => void;
|
|
86
87
|
restart: (abortSignal?: AbortSignal) => Promise<DevCommandResult>;
|
|
87
88
|
emitter: EventEmitter<{
|
|
@@ -5,8 +5,5 @@ interface FusionStatusMonitor {
|
|
|
5
5
|
start: () => void;
|
|
6
6
|
stop: () => void;
|
|
7
7
|
}
|
|
8
|
-
/**
|
|
9
|
-
* Creates a fusion status monitor that pings the status endpoint periodically
|
|
10
|
-
*/
|
|
11
8
|
export declare function createFusionStatusMonitor(sys: DevToolsSys, credentials: Credentials, fusionConfig: FusionConfig, sharedState: LaunchServerStatus): FusionStatusMonitor | null;
|
|
12
9
|
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { IndexDocumentV1 } from "$/ai-utils";
|
|
1
2
|
interface BaseTask {
|
|
2
3
|
name: string;
|
|
3
4
|
}
|
|
@@ -25,4 +26,19 @@ export interface InstallationTask extends BaseTask {
|
|
|
25
26
|
hash: string;
|
|
26
27
|
}
|
|
27
28
|
export type Task = ComponentTask | TokenTask | IconTask | InstallationTask;
|
|
29
|
+
export interface IndexingResults {
|
|
30
|
+
componentsToCheck: Task[];
|
|
31
|
+
storedComponentDocs: IndexDocumentV1[];
|
|
32
|
+
source: "custom" | "auto";
|
|
33
|
+
specificComponentNames?: string[];
|
|
34
|
+
summaryData?: {
|
|
35
|
+
indexedComponents: ComponentTask[];
|
|
36
|
+
discoveredComponents: ComponentTask[];
|
|
37
|
+
failedComponents: string[];
|
|
38
|
+
failedTokens: string[];
|
|
39
|
+
numIconsIndexed: number;
|
|
40
|
+
discoveredTokenGroups: TokenTask[];
|
|
41
|
+
tokenGroupsToIndex: TokenTask[];
|
|
42
|
+
};
|
|
43
|
+
}
|
|
28
44
|
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { CustomAgentDefinition } from "$/ai-utils";
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const BROWSER_TESTING_AGENT: CustomAgentDefinition;
|
|
@@ -69,4 +69,6 @@ export declare function mergeEnvironmentVariables(envVariables: EnvironmentVaria
|
|
|
69
69
|
export declare function processPushChangesArgs(opts: PushChangesArgs): import("$/ai-utils").PushChangesOptions;
|
|
70
70
|
export declare function getErrorMessage(err: unknown): string;
|
|
71
71
|
export declare function waitImmediate(): Promise<void>;
|
|
72
|
+
export declare function abortPromise<T extends Promise<any> | undefined>(promise: T, signal: AbortSignal | undefined): T;
|
|
72
73
|
export declare function waitRace(promise: Promise<any>, timeout: number): Promise<boolean>;
|
|
74
|
+
export declare function newAbortError(): Error;
|