fix: align Codex Kimi context window with Gonka deployment#1
Merged
Conversation
…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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
model_catalog_jsoncontext window to240000Tests
npm run model-catalog:generatenpm run model-catalog:checknpm run typechecknpm run test