Skip to content

Conversation

@samchon
Copy link
Owner

@samchon samchon commented Dec 19, 2025

This pull request primarily reorganizes the codebase by flattening the composers directory structure, moving several files out of subfolders, and cleaning up imports accordingly. Additionally, it removes two unused files: ClaudeSchemaComposer.ts and ChatGptSchemaComposer.ts. No functional code changes were made, only file moves and import path updates.

Key changes include:

Directory Restructuring and File Moves:

  • Moved files from src/composers/migrate/ to src/composers/:
    • HttpMigrateApplicationComposer.ts
    • HttpMigrateRouteAccessor.ts
    • HttpMigrateRouteComposer.ts
  • Moved files from src/composers/llm/ to src/composers/:
    • LlmDescriptionInverter.ts
    • LlmParametersComposer.ts

Import Path Updates:

  • Updated all affected files to use the new, flattened import paths reflecting the file moves above. [1] [2] [3] [4] [5] [6] [7]

Code Cleanup:

  • Removed the now-unused files ClaudeSchemaComposer.ts and ChatGptSchemaComposer.ts from src/composers/llm/. [1] [2]
  • Removed related imports from other files, such as in LlmSchemaComposer.ts and LlmSchemaV3Composer.ts. [1] [2]

These changes help simplify the project structure and make the codebase easier to navigate.

@samchon samchon self-assigned this Dec 19, 2025
Copilot AI review requested due to automatic review settings December 19, 2025 04:58
@samchon samchon added the enhancement New feature or request label Dec 19, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request removes individual LLM schema implementations and related type checkers, consolidating the codebase to use a unified ILlmSchema approach. It also reorganizes the directory structure by flattening the composers folder hierarchy.

Key Changes

  • Removed vendor-specific schema types (ChatGPT, Claude, Gemini) and their version-specific variants (LlmSchemaV3, LlmSchemaV3_1)
  • Removed corresponding type checkers for deleted schema types
  • Flattened the composers directory structure by moving files out of llm/ and migrate/ subdirectories
  • Updated all import paths to reflect the new flat structure

Reviewed changes

Copilot reviewed 25 out of 25 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/utils/*.ts (TypeCheckers) Deleted 7 type checker files for individual LLM implementations
src/structures/*.ts (Schemas) Deleted 5 schema structure files for specific LLM vendors and versions
src/composers/llm/*.ts (Composers) Deleted 5 composer files for individual schema types
src/composers/*.ts (Moved files) Moved LlmParametersComposer and LlmDescriptionInverter from llm/ subfolder with updated imports
src/composers/*.ts (Migrate files) Moved 3 HttpMigrate* files from migrate/ subfolder with updated imports
src/composers/LlmSchemaComposer.ts Updated imports to reflect flattened directory structure
src/HttpMigration.ts Updated import path for HttpMigrateApplicationComposer
src/index.ts Removed exports for deleted schema types, type checkers, and validation structures while retaining core exports

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@samchon samchon merged commit 04978b0 into v6.0 Dec 19, 2025
3 of 4 checks passed
@samchon samchon deleted the feat/remove branch December 19, 2025 05:04
samchon added a commit that referenced this pull request Dec 23, 2025
* Unified to `ILlmSchema`, no more separation. (#213)

* Unified to `ILlmSchema`

* Complete the new `ILlmSchema` type

* detailed description comments

* Update src/structures/ILlmSchema.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update src/structures/ILlmSchema.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update src/structures/ILlmSchema.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* prettier

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Unify `ILlmApplication` and `ILlmFunction` too. (#214)

* Universal `LlmSchemaComposer` (#215)

* Universal LlmSchemaComposer

* complete `LlmSchemaComposer.schema()` function

* fix logics

* Universal `LlmTypeChecker` (#216)

* Universal `LlmTypeChecker`

* Fix `LlmSchemaComposer` to utilize `LlmTypeCheckeer`

* JSDoc comments on universal LLM types. (#217)

* Universal `HttpLlm` (#218)

* Universal `HttpLlm`

* Update src/HttpLlm.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update src/HttpLlm.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* fix configuration comments

* fix more thing

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Remove individual LLM schemas (#219)

* Remove individual LLM schemas

* fix

* Unify test functions about LLM schemas (#220)

* Unify test functions about LLM schemas

* Update test/src/utils/LlmApplicationFactory.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* fixed most of test functions

* fixed most of test functions

* completed everything

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Publish v6

* Re-write README for universal LLM schemas (#221)

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants