JS SDK - Bug: build error
wilsonianb opened this issue · comments
Brandon Wilson commented
~/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'.
Sasha Dog commented
@wilsonianb, join our AIEF meeting tomorrow at 9:30am?