@byfriends/sdk 0.3.1 → 0.3.2

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
@@ -1507,7 +1507,6 @@ export declare class ByfHarness {
1507
1507
  ensureConfigFile(): Promise<void>;
1508
1508
  setConfig(patch: ByfConfigPatch): Promise<ByfConfig>;
1509
1509
  removeProvider(providerId: string): Promise<ByfConfig>;
1510
- updateConfig(input?: UpdateConfigInput): Promise<UpdateConfigResult>;
1511
1510
  shellExec(command: string, options?: {
1512
1511
  cwd?: string;
1513
1512
  timeout?: number;
@@ -2188,28 +2187,6 @@ export declare function fetchModelsByType(type: string, baseUrl: string, apiKey:
2188
2187
  */
2189
2188
  export declare function findCatalogModel(catalog: Catalog, modelId: string): CatalogModel | undefined;
2190
2189
 
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
-
2213
2190
  /**
2214
2191
  * Normalized finish-reason signal indicating why a generation stopped.
2215
2192
  *
@@ -5289,17 +5266,6 @@ declare interface UnregisterToolPayload {
5289
5266
 
5290
5267
  export declare type Unsubscribe = () => void;
5291
5268
 
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
-
5303
5269
  declare interface UpdateSessionMetadataPayload {
5304
5270
  readonly metadata: SessionMetadataPatch;
5305
5271
  }