Skip to content

Commit 166e0cc

Browse files
ericyangpanclaude
andcommitted
refactor(types): update TypeScript types for new schema
Update manifest TypeScript interfaces to match the new schema. - Change totalContext to contextWindow with number type - Change maxOutput to number type - Add releaseDate field (string | null) - Add inputModalities field (array of modalities) - Update generated metadata and IDE types 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
1 parent 8846916 commit 166e0cc

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

src/lib/generated/ides.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
* Do not edit manually - run the script to regenerate
55
*/
66

7+
import Air from '../../../manifests/ides/air.json'
78
import Antigravity from '../../../manifests/ides/antigravity.json'
89
import Codebuddy from '../../../manifests/ides/codebuddy.json'
910
import Codeflicker from '../../../manifests/ides/codeflicker.json'
@@ -18,6 +19,7 @@ import Zed from '../../../manifests/ides/zed.json'
1819
import type { ManifestIDE } from '../../types/manifests'
1920

2021
export const idesData = [
22+
Air,
2123
Antigravity,
2224
Codebuddy,
2325
Codeflicker,
@@ -31,6 +33,6 @@ export const idesData = [
3133
Zed,
3234
] as unknown as ManifestIDE[]
3335

34-
export type Ide = typeof Antigravity
36+
export type Ide = typeof Air
3537

3638
export default idesData

src/lib/generated/metadata.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,7 @@ export const faqMetadata: Record<string, FaqItem[]> = {
599599
}
600600

601601
export const stackCounts: Record<string, number> = {
602-
ides: 11,
602+
ides: 12,
603603
clis: 18,
604604
extensions: 14,
605605
models: 26,

src/types/manifests.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,8 +295,8 @@ export interface ManifestModel {
295295
docsUrl?: string | null
296296
verified?: boolean
297297
size: string | null
298-
totalContext: string | null
299-
maxOutput: string | null
298+
contextWindow: number
299+
maxOutput: number
300300
tokenPricing?: {
301301
input?: number | null
302302
output?: number | null
@@ -307,6 +307,8 @@ export interface ManifestModel {
307307
artificialAnalysis?: string | null
308308
openrouter?: string | null
309309
}
310+
releaseDate?: string | null
311+
inputModalities?: ('image' | 'text' | 'file')[]
310312
benchmarks?: {
311313
sweBench?: number | null
312314
terminalBench?: number | null

0 commit comments

Comments
 (0)