@aiwayds/dsh-model-sync 0.5.0 → 0.6.0

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/src/translate.ts CHANGED
@@ -108,6 +108,14 @@ export interface BuiltinModelData {
108
108
  id: string
109
109
  api: string
110
110
  maxTokens?: number
111
+ /**
112
+ * The id left the official default model list (dsh 0.1.7 removed
113
+ * deepseek-v4-flash / deepseek-v4-flash-vision-exp) but the data is kept
114
+ * for historical user configurations. Deprecated entries still serve
115
+ * base-matching classification, but the keepBuiltinOnly emission skips
116
+ * them unless explicitly opted back in (see index.ts getBuiltinOnlyEntries).
117
+ */
118
+ deprecated?: boolean
111
119
  }
112
120
 
113
121
  // ---------------------------------------------------------------------------
package/src/writer.ts CHANGED
@@ -31,7 +31,8 @@
31
31
  * stored ones (a re-added key is the user's latest intent).
32
32
  * - Revision conflict retry: catch SETTINGS_CONFLICT, re-read, re-translate,
33
33
  * re-write once
34
- * - Never touches ~/.dsh/settings.yaml directly — only through settings.mutate
34
+ * - Never touches the settings document directly (settings.yaml up to
35
+ * dsh 0.1.6, the profile patch on 0.1.7+) — only through settings.mutate
35
36
  * - Store read failure: when the models-store read fails (corrupt JSON,
36
37
  * EACCES, …) AND settings carries no overrides key, skip the round with
37
38
  * reason 'store-unavailable' and leave settings.models untouched — the