v0.2.0 — full ATS tool surface, Gemini agent, gas fix
First feature-complete testnet release of @hebx/hak-ats-plugin.
Highlights
- Full security-token lifecycle —
ats_issue_to_investor,ats_compliant_transfer,ats_get_security_info,ats_get_cap_table,ats_pay_dividend_manual(off-chain HBAR fan-out), alongside the existingats_deploy_security. - Safety policies — mainnet-deny, max-supply cap, jurisdiction allow-list, wired into the Agent Kit hook lifecycle.
- Runnable agent example — LangChain ReAct agent, defaults to Google Gemini (
LLM_PROVIDER=openaito switch), bounded byrecursionLimit.
Fixes
- Gas:
CREATE_EQUITY/CREATE_BOND15M → 4M, eliminating falseINSUFFICIENT_FUNDSfrom the ethers pre-flight reservation under dynamic Hashio pricing. - Schema: zod
.positive()→.min(1)/.refine()for Gemini function-schema compatibility. - CI: fixed
tscOOM (heap bump) and made live testnet suites skip gracefully without operator creds.
Verified
- Full live suite: 7 files / 27 tests passing against Hedera testnet.
- CI green on Node 20 and 22.
See CHANGELOG.md for details.