Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.
Fix: Missing exports from main index
Context
/workspaces/3D-Agent/solana-agent-sdk is a TypeScript Solana agent SDK (@three-ws/solana-agent).
Build command: cd /workspaces/3D-Agent/solana-agent-sdk && npm run build
The build must pass with zero errors before this task is complete.
The Problem
src/tx/index.ts exports four functions:
export { buildAndSend } from "./build.js";
export type { BuildAndSendOptions } from "./build.js";
export { estimatePriorityFee, estimateComputeUnits, priorityFeeIx, computeUnitIx } from "./fees.js";
But src/index.ts (the main package entry) only re-exports two of them:
export { buildAndSend, estimatePriorityFee, estimateComputeUnits } from "./tx/index.js";
priorityFeeIx and computeUnitIx are missing. These are useful for advanced consumers who want to build custom transactions with manual compute budget control.
Fix
src/index.ts
Change line 25 from:
export { buildAndSend, estimatePriorityFee, estimateComputeUnits } from "./tx/index.js";
To:
export { buildAndSend, estimatePriorityFee, estimateComputeUnits, priorityFeeIx, computeUnitIx } from "./tx/index.js";
That's the entire change.
Verification
npm run buildpasses with zero errorspriorityFeeIxandcomputeUnitIxappear indist/index.d.tsafter build- A consumer can do:
import { priorityFeeIx, computeUnitIx } from "@three-ws/solana-agent"without error