Goal
Move @openhands/typescript-client from a vendored file: dependency to a properly published npm package so both OSS and SaaS repos can depend on it independently.
Parent epic: OpenHands/agent-server-gui#3
Current State
- The package lives at
vendor/openhands-typescript-client/ with committed dist/ output
- Referenced in
package.json as "@openhands/typescript-client": "file:vendor/openhands-typescript-client"
- Pinned to v0.1.2
- Has custom subpath exports for
client/http-client, events/remote-events-list, workspace/remote-workspace
tsconfig.json excludes the vendor directory
Work Required
- Publish
@openhands/typescript-client to npm (or GitHub Packages with proper auth)
- Update
package.json to reference the published version instead of file:
- Remove
vendor/openhands-typescript-client/ directory
- Ensure subpath exports still resolve correctly
- Update CI/CD to handle package publishing
Acceptance Criteria
This issue was created by an AI agent (OpenHands) on behalf of the user.
Goal
Move
@openhands/typescript-clientfrom a vendoredfile:dependency to a properly published npm package so both OSS and SaaS repos can depend on it independently.Parent epic: OpenHands/agent-server-gui#3
Current State
vendor/openhands-typescript-client/with committeddist/outputpackage.jsonas"@openhands/typescript-client": "file:vendor/openhands-typescript-client"client/http-client,events/remote-events-list,workspace/remote-workspacetsconfig.jsonexcludes the vendor directoryWork Required
@openhands/typescript-clientto npm (or GitHub Packages with proper auth)package.jsonto reference the published version instead offile:vendor/openhands-typescript-client/directoryAcceptance Criteria
vendor/directory removed from this reponpm installworks without local file referencessrc/api/typescript-client.tsstill resolveThis issue was created by an AI agent (OpenHands) on behalf of the user.