@byfriends/sdk 0.2.5 → 0.3.1

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/index.d.mts CHANGED
@@ -65,9 +65,6 @@ declare interface AgentAPI {
65
65
  setPermission: (payload: SetPermissionPayload) => void;
66
66
  setModel: (payload: SetModelPayload) => SetModelResult;
67
67
  getModel: (payload: EmptyPayload) => string;
68
- enterPlan: (payload: EmptyPayload) => void;
69
- cancelPlan: (payload: CancelPlanPayload) => void;
70
- clearPlan: (payload: EmptyPayload) => void;
71
68
  beginCompaction: (payload: BeginCompactionPayload) => void;
72
69
  cancelCompaction: (payload: EmptyPayload) => void;
73
70
  registerTool: (payload: RegisterToolPayload) => void;
@@ -81,7 +78,6 @@ declare interface AgentAPI {
81
78
  getContext: (payload: EmptyPayload) => AgentContextData;
82
79
  getConfig: (payload: EmptyPayload) => AgentConfigData;
83
80
  getPermission: (payload: EmptyPayload) => PermissionData;
84
- getPlan: (payload: EmptyPayload) => PlanData;
85
81
  getUsage: (payload: EmptyPayload) => UsageStatus;
86
82
  getTools: (payload: EmptyPayload) => readonly ToolInfo[];
87
83
  getBackground: (payload: GetBackgroundPayload) => readonly BackgroundTaskInfo[];
@@ -140,6 +136,13 @@ declare interface AgentMeta {
140
136
  readonly homedir: string;
141
137
  readonly type: AgentType;
142
138
  readonly parentAgentId: string | null;
139
+ /**
140
+ * The parent agent's tool-call id that spawned this agent. Absent for the
141
+ * main agent and for sessions persisted before this field existed. The TUI
142
+ * uses it on resume to map a main-agent `Agent` tool-call back to its child
143
+ * agent's activity (the child's own replay/usage/text).
144
+ */
145
+ readonly parentToolCallId?: string | undefined;
143
146
  }
144
147
 
145
148
  declare type AgentRecord = {
@@ -171,15 +174,6 @@ declare interface AgentRecordEvents {
171
174
  };
172
175
  'permission.record_approval_result': PermissionApprovalResultRecord;
173
176
  'full_compaction.begin': CompactionBeginData;
174
- 'plan_mode.enter': {
175
- id: string;
176
- };
177
- 'plan_mode.cancel': {
178
- id?: string;
179
- };
180
- 'plan_mode.exit': {
181
- id?: string;
182
- };
183
177
  'tools.register_user_tool': UserToolRegistration;
184
178
  'tools.unregister_user_tool': {
185
179
  name: string;
@@ -253,9 +247,6 @@ declare class AgentRecords {
253
247
  export declare type AgentReplayRecord = {
254
248
  type: 'message';
255
249
  message: ContextMessage;
256
- } | {
257
- type: 'plan_updated';
258
- enabled: boolean;
259
250
  } | {
260
251
  type: 'config_updated';
261
252
  config: AgentConfigUpdateData;
@@ -326,6 +317,7 @@ export declare interface ApplyCatalogProviderOptions {
326
317
 
327
318
  export declare function applyProviderConfig(config: ConfigShape, options: {
328
319
  readonly name: string;
320
+ readonly type?: string | undefined;
329
321
  readonly baseUrl: string;
330
322
  readonly apiKey: string;
331
323
  readonly models: readonly ModelInfo[];
@@ -654,7 +646,7 @@ declare class BackgroundProcessManager {
654
646
  /** Drop a persisted task from disk and ghost map. */
655
647
  forgetTask(taskId: string): Promise<void>;
656
648
  /**
657
- * Persist the current state of a live ManagedProcess. Called from
649
+ * Persist the current state of a live TaskEntry. Called from
658
650
  * `register()` and the lifecycle finally block. No-op unless attached.
659
651
  */
660
652
  private persistLive;
@@ -676,7 +668,7 @@ export declare interface BackgroundTaskInfo {
676
668
  readonly command: string;
677
669
  readonly description: string;
678
670
  readonly status: BackgroundTaskStatus;
679
- readonly pid: number;
671
+ readonly pid: number | null;
680
672
  readonly exitCode: number | null;
681
673
  readonly startedAt: number;
682
674
  readonly endedAt: number | null;
@@ -1141,8 +1133,8 @@ declare const ByfConfigPatchSchema: z.ZodObject<{
1141
1133
  defaultThinking: z.ZodOptional<z.ZodBoolean>;
1142
1134
  defaultPermissionMode: z.ZodOptional<z.ZodEnum<{
1143
1135
  auto: "auto";
1144
- yolo: "yolo";
1145
1136
  manual: "manual";
1137
+ yolo: "yolo";
1146
1138
  }>>;
1147
1139
  permission: z.ZodOptional<z.ZodObject<{
1148
1140
  rules: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1182,19 +1174,19 @@ declare const ByfConfigPatchSchema: z.ZodObject<{
1182
1174
  timeout: z.ZodOptional<z.ZodNumber>;
1183
1175
  }, z.core.$strict>>>;
1184
1176
  services: z.ZodOptional<z.ZodObject<{
1185
- byfSearch: z.ZodOptional<z.ZodObject<{
1186
- baseUrl: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1187
- apiKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1188
- oauth: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1189
- storage: z.ZodEnum<{
1190
- file: "file";
1191
- keyring: "keyring";
1177
+ webSearch: z.ZodOptional<z.ZodObject<{
1178
+ providers: z.ZodArray<z.ZodObject<{
1179
+ type: z.ZodEnum<{
1180
+ exa: "exa";
1181
+ brave: "brave";
1182
+ firecrawl: "firecrawl";
1192
1183
  }>;
1193
- key: z.ZodString;
1194
- }, z.core.$strip>>>;
1195
- customHeaders: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
1184
+ apiKeys: z.ZodArray<z.ZodString>;
1185
+ baseUrl: z.ZodOptional<z.ZodString>;
1186
+ priority: z.ZodNumber;
1187
+ }, z.core.$strip>>;
1196
1188
  }, z.core.$strip>>;
1197
- byfFetch: z.ZodOptional<z.ZodObject<{
1189
+ fetchUrl: z.ZodOptional<z.ZodObject<{
1198
1190
  baseUrl: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1199
1191
  apiKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1200
1192
  oauth: z.ZodOptional<z.ZodOptional<z.ZodObject<{
@@ -1279,8 +1271,8 @@ declare const ByfConfigSchema: z.ZodObject<{
1279
1271
  defaultThinking: z.ZodOptional<z.ZodBoolean>;
1280
1272
  defaultPermissionMode: z.ZodOptional<z.ZodEnum<{
1281
1273
  auto: "auto";
1282
- yolo: "yolo";
1283
1274
  manual: "manual";
1275
+ yolo: "yolo";
1284
1276
  }>>;
1285
1277
  permission: z.ZodOptional<z.ZodObject<{
1286
1278
  rules: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1320,19 +1312,19 @@ declare const ByfConfigSchema: z.ZodObject<{
1320
1312
  timeout: z.ZodOptional<z.ZodNumber>;
1321
1313
  }, z.core.$strict>>>;
1322
1314
  services: z.ZodOptional<z.ZodObject<{
1323
- byfSearch: z.ZodOptional<z.ZodObject<{
1324
- baseUrl: z.ZodOptional<z.ZodString>;
1325
- apiKey: z.ZodOptional<z.ZodString>;
1326
- oauth: z.ZodOptional<z.ZodObject<{
1327
- storage: z.ZodEnum<{
1328
- file: "file";
1329
- keyring: "keyring";
1315
+ webSearch: z.ZodOptional<z.ZodObject<{
1316
+ providers: z.ZodArray<z.ZodObject<{
1317
+ type: z.ZodEnum<{
1318
+ exa: "exa";
1319
+ brave: "brave";
1320
+ firecrawl: "firecrawl";
1330
1321
  }>;
1331
- key: z.ZodString;
1322
+ apiKeys: z.ZodArray<z.ZodString>;
1323
+ baseUrl: z.ZodOptional<z.ZodString>;
1324
+ priority: z.ZodNumber;
1332
1325
  }, z.core.$strip>>;
1333
- customHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1334
1326
  }, z.core.$strip>>;
1335
- byfFetch: z.ZodOptional<z.ZodObject<{
1327
+ fetchUrl: z.ZodOptional<z.ZodObject<{
1336
1328
  baseUrl: z.ZodOptional<z.ZodString>;
1337
1329
  apiKey: z.ZodOptional<z.ZodString>;
1338
1330
  oauth: z.ZodOptional<z.ZodObject<{
@@ -1398,9 +1390,6 @@ declare class ByfCore implements PromisableMethods<CoreAPI> {
1398
1390
  setThinking({ sessionId, ...payload }: SessionAgentPayload<SetThinkingPayload>): void | Promise<void>;
1399
1391
  setPermission({ sessionId, ...payload }: SessionAgentPayload<SetPermissionPayload>): void | Promise<void>;
1400
1392
  getModel({ sessionId, ...payload }: SessionAgentPayload<EmptyPayload>): string | Promise<string>;
1401
- enterPlan({ sessionId, ...payload }: SessionAgentPayload<EmptyPayload>): void | Promise<void>;
1402
- cancelPlan({ sessionId, ...payload }: SessionAgentPayload<CancelPlanPayload>): void | Promise<void>;
1403
- clearPlan({ sessionId, ...payload }: SessionAgentPayload<EmptyPayload>): void | Promise<void>;
1404
1393
  beginCompaction({ sessionId, ...payload }: SessionAgentPayload<BeginCompactionPayload>): void | Promise<void>;
1405
1394
  cancelCompaction({ sessionId, ...payload }: SessionAgentPayload<EmptyPayload>): void | Promise<void>;
1406
1395
  registerTool({ sessionId, ...payload }: SessionAgentPayload<RegisterToolPayload>): void | Promise<void>;
@@ -1414,7 +1403,6 @@ declare class ByfCore implements PromisableMethods<CoreAPI> {
1414
1403
  getContext({ sessionId, ...payload }: SessionAgentPayload<EmptyPayload>): AgentContextData | Promise<AgentContextData>;
1415
1404
  getConfig({ sessionId, ...payload }: SessionAgentPayload<EmptyPayload>): AgentConfigData | Promise<AgentConfigData>;
1416
1405
  getPermission({ sessionId, ...payload }: SessionAgentPayload<EmptyPayload>): PermissionData | Promise<PermissionData>;
1417
- getPlan({ sessionId, ...payload }: SessionAgentPayload<EmptyPayload>): Promise<null> | null;
1418
1406
  getUsage({ sessionId, ...payload }: SessionAgentPayload<EmptyPayload>): UsageStatus | Promise<UsageStatus>;
1419
1407
  getTools({ sessionId, ...payload }: SessionAgentPayload<EmptyPayload>): readonly ToolInfo[] | Promise<readonly ToolInfo[]>;
1420
1408
  getBackground({ sessionId, ...payload }: SessionAgentPayload<GetBackgroundPayload>): readonly BackgroundTaskInfo[] | Promise<readonly BackgroundTaskInfo[]>;
@@ -1506,7 +1494,7 @@ export declare class ByfHarness {
1506
1494
  get sessions(): ReadonlyMap<string, Session>;
1507
1495
  get interactiveAgentId(): string;
1508
1496
  set interactiveAgentId(agentId: string);
1509
- track(event: string, properties?: Record<string, unknown>): void;
1497
+ track(_event: string, _properties?: Record<string, unknown>): void;
1510
1498
  createSession(options: CreateSessionOptions): Promise<Session>;
1511
1499
  resumeSession(input: ResumeSessionInput): Promise<Session>;
1512
1500
  forkSession(input: ForkSessionInput): Promise<Session>;
@@ -1519,6 +1507,7 @@ export declare class ByfHarness {
1519
1507
  ensureConfigFile(): Promise<void>;
1520
1508
  setConfig(patch: ByfConfigPatch): Promise<ByfConfig>;
1521
1509
  removeProvider(providerId: string): Promise<ByfConfig>;
1510
+ updateConfig(input?: UpdateConfigInput): Promise<UpdateConfigResult>;
1522
1511
  shellExec(command: string, options?: {
1523
1512
  cwd?: string;
1524
1513
  timeout?: number;
@@ -1531,6 +1520,7 @@ export declare interface ByfHarnessOptions {
1531
1520
  readonly identity?: HostIdentity | undefined;
1532
1521
  readonly homeDir?: string | undefined;
1533
1522
  readonly configPath?: string | undefined;
1523
+ readonly runtime?: RuntimeConfig | undefined;
1534
1524
  readonly autoLoadConfig?: boolean | undefined;
1535
1525
  readonly uiMode?: string;
1536
1526
  readonly skillDirs?: readonly string[];
@@ -1613,10 +1603,6 @@ declare interface CancelPayload {
1613
1603
  readonly turnId?: number;
1614
1604
  }
1615
1605
 
1616
- declare interface CancelPlanPayload {
1617
- readonly id?: string;
1618
- }
1619
-
1620
1606
  /** Top-level catalog: `{ [providerId]: ProviderEntry }` (e.g. models.dev/api.json). */
1621
1607
  export declare type Catalog = Record<string, CatalogProviderEntry>;
1622
1608
 
@@ -1883,6 +1869,12 @@ declare class ContextMemory implements RecordRestoreHandler {
1883
1869
  get tokenCountWithPending(): number;
1884
1870
  get history(): readonly ContextMessage[];
1885
1871
  get messages(): Message[];
1872
+ /**
1873
+ * Project history into provider-ready messages, optionally with
1874
+ * ephemeral injections (e.g. timestamp, permission mode) appended
1875
+ * at the `'before_user'` position.
1876
+ */
1877
+ getMessages(ephemeral?: readonly EphemeralInjection[]): Message[];
1886
1878
  applyObservationMasking(config?: MaskingConfig): MaskingResult;
1887
1879
  applyPruning(config?: {
1888
1880
  effectiveCapacityRatio?: number;
@@ -1993,6 +1985,12 @@ declare interface Environment {
1993
1985
  readonly shellPath: string;
1994
1986
  }
1995
1987
 
1988
+ declare interface EphemeralInjection {
1989
+ kind: 'memory_recall' | 'system_reminder' | 'pending_notification';
1990
+ content: string | Record<string, unknown>;
1991
+ position?: 'before_user' | 'after_system';
1992
+ }
1993
+
1996
1994
  /**
1997
1995
  * Error codes for Byf Core's public error protocol.
1998
1996
  *
@@ -2174,12 +2172,44 @@ export declare function fetchCatalog(url: string, signal?: AbortSignal, fetchImp
2174
2172
 
2175
2173
  export declare function fetchModels(baseUrl: string, apiKey: string, fetchImpl?: typeof fetch, signal?: AbortSignal): Promise<ModelInfo[]>;
2176
2174
 
2175
+ /**
2176
+ * Lists models from a provider using its native wire-type endpoint. Dispatches
2177
+ * per `type` so each protocol gets its correct auth header and response shape.
2178
+ * `openai-completions` and `openai_responses` share the OpenAI-compatible
2179
+ * `/models` endpoint; `anthropic` uses its native `x-api-key` endpoint with
2180
+ * pagination. Other types have dedicated native fetchers (added in
2181
+ * later slices).
2182
+ */
2183
+ export declare function fetchModelsByType(type: string, baseUrl: string, apiKey: string, fetchImpl?: typeof fetch, signal?: AbortSignal): Promise<ModelInfo[]>;
2184
+
2177
2185
  /**
2178
2186
  * Searches all providers in the catalog for a model whose ID matches
2179
2187
  * `modelId` (prefix + separator boundary). Returns the first match.
2180
2188
  */
2181
2189
  export declare function findCatalogModel(catalog: Catalog, modelId: string): CatalogModel | undefined;
2182
2190
 
2191
+ /**
2192
+ * Update-rules for `byf update-config`.
2193
+ *
2194
+ * Each rule corresponds to a deprecated / renamed / migrated field that
2195
+ * `analyzeConfig` can detect in `config.raw` and (where applicable) that
2196
+ * `applyFixes` can clean up.
2197
+ *
2198
+ * **Principles** (from PRD-0013 grill decisions):
2199
+ * - G2 — Whitelist approach: only fields explicitly registered here are removed.
2200
+ * - Every rule carries a `deprecatedSince` version annotation so the report
2201
+ * tells the user *when* the field became obsolete.
2202
+ */
2203
+ export declare interface Finding {
2204
+ kind: 'removed' | 'renamed' | 'migrated' | 'dangling' | 'unknown' | 'invalid-value';
2205
+ /** TOML dotted path, e.g. `'services.byf_search'`, `'loop_control.max_steps_per_run'`. */
2206
+ path: string;
2207
+ /** Human-readable description of what was found and what will happen. */
2208
+ detail: string;
2209
+ /** Version when this field was deprecated (optional — may be unknown for very old fields). */
2210
+ deprecatedSince?: string;
2211
+ }
2212
+
2183
2213
  /**
2184
2214
  * Normalized finish-reason signal indicating why a generation stopped.
2185
2215
  *
@@ -2516,6 +2546,7 @@ declare class InjectionManager {
2516
2546
  private readonly injectors;
2517
2547
  constructor(agent: Agent);
2518
2548
  inject(): Promise<void>;
2549
+ getEphemeralInjections(): readonly EphemeralInjection[];
2519
2550
  onContextClear(): void;
2520
2551
  onContextCompacted(compactedCount: number): void;
2521
2552
  }
@@ -3500,15 +3531,6 @@ declare type PermissionRuleDecision = 'allow' | 'deny' | 'ask';
3500
3531
  */
3501
3532
  declare type PermissionRuleScope = 'turn-override' | 'session-runtime' | 'project' | 'user';
3502
3533
 
3503
- declare type PlanData = null;
3504
-
3505
- export declare interface PlanInfo {
3506
- readonly id: string;
3507
- readonly exists: boolean;
3508
- readonly content: string;
3509
- readonly path: string;
3510
- }
3511
-
3512
3534
  declare type PreparedSystemPromptContext = Pick<SystemPromptContext, 'cwd' | 'agentsMd'>;
3513
3535
 
3514
3536
  declare interface PrepareToolExecutionResult {
@@ -3928,11 +3950,17 @@ export declare interface ResumedAgentState {
3928
3950
  readonly context: AgentContextData;
3929
3951
  readonly replay: readonly AgentReplayRecord[];
3930
3952
  readonly permission: PermissionData;
3931
- readonly plan: PlanData;
3932
3953
  readonly usage: UsageStatus;
3933
3954
  readonly tools: readonly ToolInfo[];
3934
3955
  readonly toolStore?: Readonly<Record<string, unknown>>;
3935
3956
  readonly background: readonly BackgroundTaskInfo[];
3957
+ /**
3958
+ * For sub-agents: the parent agent's tool-call id that spawned this agent.
3959
+ * Absent for the main agent and for sessions persisted before this field
3960
+ * existed. The TUI uses it to attach a resumed main-agent `Agent` tool-call
3961
+ * to this child's activity (replay/usage/text).
3962
+ */
3963
+ readonly parentToolCallId?: string | undefined;
3936
3964
  }
3937
3965
 
3938
3966
  export declare type ResumedSessionState = Pick<ResumeSessionResult, 'sessionMetadata' | 'agents' | 'warning'>;
@@ -4059,8 +4087,6 @@ declare class SDKRpcClient {
4059
4087
  setModel(input: SetSessionModelRpcInput): Promise<SetSessionModelRpcResult>;
4060
4088
  setThinking(input: SetSessionThinkingRpcInput): Promise<void>;
4061
4089
  setPermission(input: SetSessionPermissionRpcInput): Promise<void>;
4062
- getPlan(input: SessionIdRpcInput): Promise<SessionPlan>;
4063
- clearPlan(input: SessionIdRpcInput): Promise<void>;
4064
4090
  compact(input: SessionIdRpcInput & CompactOptions): Promise<void>;
4065
4091
  cancelCompaction(input: SessionIdRpcInput): Promise<void>;
4066
4092
  getUsage(input: SessionIdRpcInput): Promise<SessionUsage>;
@@ -4107,6 +4133,7 @@ declare interface SDKRpcClientOptions {
4107
4133
  readonly homeDir?: string | undefined;
4108
4134
  readonly configPath?: string | undefined;
4109
4135
  readonly skillDirs?: readonly string[];
4136
+ readonly runtime?: RuntimeConfig | undefined;
4110
4137
  }
4111
4138
 
4112
4139
  declare type SDKSessionAPI = WithAgentId<SDKAgentAPI>;
@@ -4120,19 +4147,19 @@ declare interface ServicesConfig_2 {
4120
4147
  }
4121
4148
 
4122
4149
  declare const ServicesConfigSchema: z.ZodObject<{
4123
- byfSearch: z.ZodOptional<z.ZodObject<{
4124
- baseUrl: z.ZodOptional<z.ZodString>;
4125
- apiKey: z.ZodOptional<z.ZodString>;
4126
- oauth: z.ZodOptional<z.ZodObject<{
4127
- storage: z.ZodEnum<{
4128
- file: "file";
4129
- keyring: "keyring";
4150
+ webSearch: z.ZodOptional<z.ZodObject<{
4151
+ providers: z.ZodArray<z.ZodObject<{
4152
+ type: z.ZodEnum<{
4153
+ exa: "exa";
4154
+ brave: "brave";
4155
+ firecrawl: "firecrawl";
4130
4156
  }>;
4131
- key: z.ZodString;
4157
+ apiKeys: z.ZodArray<z.ZodString>;
4158
+ baseUrl: z.ZodOptional<z.ZodString>;
4159
+ priority: z.ZodNumber;
4132
4160
  }, z.core.$strip>>;
4133
- customHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4134
4161
  }, z.core.$strip>>;
4135
- byfFetch: z.ZodOptional<z.ZodObject<{
4162
+ fetchUrl: z.ZodOptional<z.ZodObject<{
4136
4163
  baseUrl: z.ZodOptional<z.ZodString>;
4137
4164
  apiKey: z.ZodOptional<z.ZodString>;
4138
4165
  oauth: z.ZodOptional<z.ZodObject<{
@@ -4170,8 +4197,6 @@ export declare class Session {
4170
4197
  setModel(model: string): Promise<void>;
4171
4198
  setThinking(level: string): Promise<void>;
4172
4199
  setPermission(mode: PermissionMode): Promise<void>;
4173
- getPlan(): Promise<SessionPlan>;
4174
- clearPlan(): Promise<void>;
4175
4200
  compact(options?: CompactOptions): Promise<void>;
4176
4201
  cancelCompaction(): Promise<void>;
4177
4202
  getUsage(): Promise<SessionUsage>;
@@ -4246,7 +4271,7 @@ declare class Session_2 {
4246
4271
  }>;
4247
4272
  close(): Promise<void>;
4248
4273
  private stopBackgroundTasksOnExit;
4249
- createAgent(config: Partial<AgentConfig>, profile?: ResolvedAgentProfile, parentAgentId?: string | undefined): Promise<{
4274
+ createAgent(config: Partial<AgentConfig>, profile?: ResolvedAgentProfile, parentAgentId?: string | undefined, parentToolCallId?: string | undefined): Promise<{
4250
4275
  readonly id: string;
4251
4276
  readonly agent: Agent;
4252
4277
  }>;
@@ -4347,8 +4372,6 @@ declare interface SessionOptions {
4347
4372
  readonly onClose?: (() => void | Promise<void>) | undefined;
4348
4373
  }
4349
4374
 
4350
- export declare type SessionPlan = PlanInfo | null;
4351
-
4352
4375
  declare interface SessionPromptRpcInput {
4353
4376
  readonly sessionId: string;
4354
4377
  readonly input: PromptInput;
@@ -5266,6 +5289,17 @@ declare interface UnregisterToolPayload {
5266
5289
 
5267
5290
  export declare type Unsubscribe = () => void;
5268
5291
 
5292
+ export declare interface UpdateConfigInput {
5293
+ readonly fix?: boolean;
5294
+ readonly configPath?: string;
5295
+ }
5296
+
5297
+ export declare interface UpdateConfigResult {
5298
+ readonly findings: readonly Finding[];
5299
+ readonly fixed: boolean;
5300
+ readonly backupPath?: string;
5301
+ }
5302
+
5269
5303
  declare interface UpdateSessionMetadataPayload {
5270
5304
  readonly metadata: SessionMetadataPatch;
5271
5305
  }