Skip to content

fix: align Codex Kimi context window with Gonka deployment#1

Merged
Dankosik merged 21 commits into
mainfrom
codex/add-kimi-k2-6
Jun 23, 2026
Merged

fix: align Codex Kimi context window with Gonka deployment#1
Dankosik merged 21 commits into
mainfrom
codex/add-kimi-k2-6

Conversation

@Dankosik

Copy link
Copy Markdown
Contributor

Summary

  • update the bundled Kimi K2.6 model_catalog_json context window to 240000
  • regenerate the catalog module from the source snapshot

Tests

  • npm run model-catalog:generate
  • npm run model-catalog:check
  • npm run typecheck
  • npm run test

Dankosik added 21 commits April 3, 2026 00:08
…d `model-catalog:generate` and `model-catalog:check` commands, along with a curated source snapshot for model catalog regeneration. Implemented drift checks to ensure consistency between the source and generated catalog. Updated tests and documentation to reflect these changes.
…n. Replaced `test/scaffold.test.ts` with `test/package-contract.test.ts`, `test/docs-contract.test.ts`, and `test/skills-contract.test.ts` to better organize contract checks. Added `verbatimModuleSyntax` to `tsconfig.json` for improved module handling. Updated related documentation and skill files to reflect these changes.
…ng. Updated `ContractMetadata` to use `SupportedModelContractDefinition` and `VerifiedCodexContractDefinition`. Simplified model and codex definitions in `contract-metadata.js`. Enhanced configuration management in `codex-config.ts` with new planning and writing functions, ensuring better separation of concerns. Updated tests to validate new functionality and ensure proper scope handling.
…igLayer` to streamline config layer management, enhancing the separation of user and project configurations. Updated related functions and interfaces for improved clarity and maintainability. Adjusted tests to validate new structure and ensure correct scope handling.
… layer handling by introducing `loadCurrentConfigsForLayers` and `getConfigLayerTargetsInOrder` functions, improving clarity and efficiency. Removed redundant `config-layer-targets.ts` file. Updated related functions and tests to ensure proper functionality and scope handling.
… `excludeTarget` to `ignoreTarget` for clarity and consistency across interfaces and functions. Updated related functions and tests to reflect this change, ensuring proper handling of local project configurations.
…d types for improved clarity, including renaming `ConfigPathsInput` to `ConfigPatchPaths` and consolidating related functions. Enhanced the structure of install planning and writing processes, ensuring better separation of concerns. Updated tests to validate new configurations and maintain functionality.
…med interfaces for clarity, including the transition from `PlannedManagedWrite` to `ManagedWritePlan` and `PlannedManagedWritePhase` to `InstallWritePhase`. Updated functions to improve separation of concerns in the installation process, ensuring better management of user and project configurations. Adjusted related tests to validate the new structure and maintain functionality.
…ted types and interfaces for improved clarity, including changing `ConfigPatchPaths` to `InstallConfigPaths`. Enhanced the structure of installation planning and writing processes, ensuring better separation of concerns. Updated related functions and tests to validate the new structure and maintain functionality.
…ontract-definitions` to include concrete model definitions and improved type handling for supported models and verified codex contracts. Enhanced `contract-metadata` to streamline metadata structure and ensure consistency with updated contract definitions. Adjusted related functions and tests to validate the new structure and maintain functionality.
…med interfaces for improved clarity, including the introduction of `CommonInstallConfigPlanInput` and separation of user and local install configurations. Enhanced the structure of installation planning and writing processes, ensuring better management of configuration scopes. Updated related functions and tests to validate the new structure and maintain functionality.
…ope` and `ExistingInstallConfigs` for improved clarity in configuration management. Consolidated user and local install configuration interfaces, enhancing the structure of installation planning and writing processes. Updated related functions and tests to ensure proper functionality and maintainability.
…ed `INSTALL_CANCELLED_MESSAGE` and `createInstallCancelledError` for improved error management during installation processes. Updated relevant functions and tests to utilize the new error handling mechanism, ensuring consistent behavior when installations are cancelled.
…write options handling by spreading `plannedWrite.writeOptions` into the `createManagedWriteOptions` function, enhancing clarity and reducing redundancy. Updated related interfaces and functions to ensure consistent usage of the new structure across the installation workflow.
…ECT_CONFIG_RELATIVE_PATH` for improved clarity in file path management. Updated various components to utilize this constant, ensuring consistent references to the local project configuration file. Refactored related tests to validate the new structure and maintain functionality.
…ing with `readOptionalTextFile` in multiple components to enhance error handling and improve code clarity. Updated related tests to reflect changes in configuration management, ensuring consistent behavior across the installation process.
…createUserScopeDetails` and `createLocalScopeDetails` functions to streamline the creation of installation summaries based on user and local scopes. Updated related tests to utilize the new structure, ensuring consistent behavior across installation scenarios and improving code clarity.
@Dankosik Dankosik merged commit 4fa03ea into main Jun 23, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant