@builder.io/ai-utils 0.11.34 → 0.11.35
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/package.json +1 -1
- package/src/codegen.d.ts +6 -1
- package/src/organization.d.ts +4 -1
package/package.json
CHANGED
package/src/codegen.d.ts
CHANGED
|
@@ -297,7 +297,7 @@ export interface CodeGenInputOptions {
|
|
|
297
297
|
/** @deprecated */
|
|
298
298
|
repair?: boolean;
|
|
299
299
|
}
|
|
300
|
-
export type CodeGenErrorCodes = "credits-limit-daily" | "credits-limit-monthly" | "credits-limit-other" | "cli-genetic-error" | "git-update-error" | "prompt-too-long" | "context-too-long" | "abrupt-end" | "unknown" | "failed-recover-state" | "ask-to-continue" | "bad-initial-url" | "invalid-last-message" | "corrupted-session" | "assertion" | "rate-limit" | "unknown-design-system";
|
|
300
|
+
export type CodeGenErrorCodes = "credits-limit-daily" | "credits-limit-monthly" | "credits-limit-other" | "cli-genetic-error" | "git-update-error" | "prompt-too-long" | "context-too-long" | "abrupt-end" | "unknown" | "failed-recover-state" | "ask-to-continue" | "bad-initial-url" | "invalid-last-message" | "corrupted-session" | "privacy-mode-key-required" | "privacy-mode-key-invalid" | "assertion" | "rate-limit" | "unknown-design-system";
|
|
301
301
|
export interface CodegenUsage {
|
|
302
302
|
total: number;
|
|
303
303
|
fast: number;
|
|
@@ -949,6 +949,11 @@ export type MachineConfig = (RemoteMachineConfig & {
|
|
|
949
949
|
export interface PrivacyMode {
|
|
950
950
|
encrypt: boolean;
|
|
951
951
|
encryptKey?: string;
|
|
952
|
+
/**
|
|
953
|
+
* Path to a file containing the encryption key for privacy mode.
|
|
954
|
+
* If provided, the key will be loaded from this file and set in encryptKey.
|
|
955
|
+
*/
|
|
956
|
+
encryptionKeyPath?: string;
|
|
952
957
|
/**
|
|
953
958
|
* If true, the user messages will be redacted from the history.
|
|
954
959
|
*
|
package/src/organization.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { EnvironmentVariable } from "./codegen";
|
|
1
|
+
import type { EnvironmentVariable, PrivacyMode } from "./codegen";
|
|
2
2
|
export interface GithubEnterpriseSetupValue {
|
|
3
3
|
host: string;
|
|
4
4
|
clientId: string;
|
|
@@ -32,6 +32,9 @@ interface OrganizationSettings {
|
|
|
32
32
|
autoDetectDevServerPatterns?: string[];
|
|
33
33
|
environmentVariables?: EnvironmentVariable[];
|
|
34
34
|
runInPty?: boolean;
|
|
35
|
+
privacyMode?: Pick<PrivacyMode, "mcpServers" | "redactUserMessages" | "redactLLMMessages"> & {
|
|
36
|
+
enabled?: boolean;
|
|
37
|
+
};
|
|
35
38
|
}
|
|
36
39
|
interface RoleOptions {
|
|
37
40
|
read?: boolean;
|