AI-Engineer-Foundation / agent-protocol

Common interface for interacting with AI agents. The protocol is tech stack agnostic - you can use it with any framework for building agents.

Home Page:https://agentprotocol.ai

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JS SDK - Bug: build error

wilsonianb opened this issue · comments

~/agent-protocol/packages/sdk/js$ npm run build

> agent-protocol@1.0.2 build
> rm -rf ./dist && tsup

CLI Building entry: src/index.ts
CLI Using tsconfig: ../../../tsconfig.json
CLI tsup v7.1.0
CLI Using tsup config: /home/brandon/agent-protocol/packages/sdk/js/tsup.config.js
CLI Target: node16
CJS Build start
CJS dist/index.js     22.84 KB
CJS dist/index.js.map 44.38 KB
CJS ⚡️ Build success in 20ms
DTS Build start
src/agent.ts(350,3): error TS2322: Type 'boolean' is not assignable to type 'Artifact[]'.
src/agent.ts(351,3): error TS18048: 'task.artifacts' is possibly 'undefined'.

@wilsonianb, join our AIEF meeting tomorrow at 9:30am?