Skip to content

[Bug]: TypeScript agent-profile types omit the public_skills field #41

Open

Description

@enyst

I'm an AI agent (Codex) helping Engel Nyst (@enyst) with project maintenance.

Live verification on enyst/agent-sdk@5966c781ed014efc96c028a99bddd4ff78426741 found that the handwritten TypeScript models omit public_skills, although the server and generated schema expose it.

Reproduction

Build clients/typescript, then compile object literals using the exported OpenHandsAgentProfile and AgentProfileDiagnostics types with the public_skills field returned by the server. Both fail with TS2353:

Object literal may only specify known properties, and '"public_skills"' does not exist in type 'Shape<OpenHandsAgentProfile>'.
Object literal may only specify known properties, and '"public_skills"' does not exist in type 'Shape<AgentProfileDiagnostics>'.

The corresponding generated OpenAPI types accept the identical payload key sets.

Expected: both public models represent public_skills?: Array<string> | null, consistent with the canonical API contract.

Evidence

F21.ts-payload-types saved/read an OpenHands profile and materialized an ACP profile against two fresh healthy servers, then compiled their live key sets. Generated-contract positive controls passed before the handwritten-model failures.

Runs: 20261023-060333-85de-map-f21 and 20261023-060410-8fdb-map-f21. The reviewed compiler commands and output will be linked from the maintenance PR.

Affected source: clients/typescript/src/models/agent-profile.ts. Generated definitions already contain the field in src/generated/agent-server-schema.ts.

Related work

The field was introduced with OpenHands#5981. The older verification umbrella entries for this recipe concern other missing fields that have since been repaired. Searching public_skills TypeScript found only the unrelated skill-catalog proposal OpenHands#6097. The handwritten model also lacks the field in inspected upstream snapshot 60192ed54db73ac658ac1a07462916126c32d3a0; this report's live reproduction is on the fork.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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