Skip to content

[Bug]: TypeScript type generator references removed spec/ directory #150

@sakinaroufid

Description

@sakinaroufid

The generate_ts_schema_types.js script references the spec/ directory (line 5), which was removed in #125. Per CONTRIBUTING.md, schemas now live in source/.

Current behavior:
Running node generate_ts_schema_types.js finds 0 schemas because spec/ doesn't exist.

Expected behavior:
The script should reference source/ to match the current project structure, or be removed if no longer maintained.

Context:

  • PR fix(schema): publish UCP annotated schemas #125 removed spec/ and migrated to source/
  • The Python model generation is documented in CONTRIBUTING.md (line 233-237), but TypeScript is not mentioned
  • The existing generated/schema-types.ts is stale

Question: Is this generator still intended to be used? Happy to submit a fix PR or a cleanup PR depending on the answer! :)

Looking forward to an answer. Excited to contribute!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions