chore: include pre-built dist for github install

This commit is contained in:
Robin Mordasiewicz
2026-03-14 04:56:50 +00:00
parent a7f0a4cf46
commit bce8ff3a75
1011 changed files with 150081 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
/**
* @deprecated LEGACY MIGRATION ONLY
*
* This map exists solely for migrating old configs that used hardcoded model strings.
* It maps legacy model strings to semantic category names, allowing users to migrate
* from explicit model configs to category-based configs.
*
* DO NOT add new entries here. New agents should use:
* - Category-based config (preferred): { category: "unspecified-high" }
* - Or inherit from OpenCode's config.model
*
* This map will be removed in a future major version once migration period ends.
*/
export declare const MODEL_TO_CATEGORY_MAP: Record<string, string>;
export declare function migrateAgentConfigToCategory(config: Record<string, unknown>): {
migrated: Record<string, unknown>;
changed: boolean;
};
export declare function shouldDeleteAgentConfig(config: Record<string, unknown>, category: string): boolean;