Skip to content

v0.38.0

Choose a tag to compare

@kid7st kid7st released this 28 Nov 07:22
· 15 commits to main since this release
7b6bf94

Highlights

  • Full Bun >= 1.4.4 support (#1192):
    • Runs the server runtime (pi-durable and dsh), @fastagent-sh/agentcore, and CLI (init, dev, build, invoke, start, deploy) natively on Bun >= 1.4.4 alongside Node >= 24.15.0.
    • Serves directly on zero-dependency native Bun.serve (idleTimeout: 0, 500ms graceful shutdown, shared totalFetch / watchedBody / AbortSignal propagation) while sharing serveHandler with @fastagent-sh/agentcore via @fastagent-sh/fastagent/platform.
    • Adds resolveFromProject to prevent Bun's global auto-install cache fallback on missing packages, loopback-exempt NO_PROXY handling for Bun's native fetch, automatic oven/bun Dockerfile generation when bun.lock / packageManager: "bun@..." is detected, and a Bun 1.4.4 smoke CI gate.
  • Upgraded @earendil-works/* to 1.7.0 (#1193):
    • Upgraded chord, pi-ai, pi-durable, pi-schema, pi-telemetry, pi-coding-agent, and pi-tui to 1.7.0, syncing retired provider defaults (ant-ling, cloudflare-workers-ai, cloudflare-ai-gateway) and aligning @fastagent-sh/pi-remote's Alt+Enter follow-up autocomplete with Pi 1.7.0's confirmAutocomplete().
  • Isolated remote Auth API & lazy instance stores (Breaking for 0.x) (#1194, #1196):
    • Moved connectAuth, connectAgentCoreAuth, and Auth API types off root entries into dedicated @fastagent-sh/client/auth and @fastagent-sh/client-agentcore/auth subpaths while keeping core Agent API root type parity across @fastagent-sh/client, @fastagent-sh/client-agentcore, and @fastagent-sh/fastagent.
    • Changed openAgent().serve() / serveAgent() to default remoteAuth: false (opt in via serve({ apiKeys, remoteAuth: true })); CLI dev/start and @fastagent-sh/agentcore opt in automatically.
    • Made both credentials.sqlite / conversations.sqlite and PostgreSQL/Aurora DSQL fastagent_credentials / fastagent_conversations lazy on read (zero disk files or DDL until first write), with visible log.warn diagnostics on corrupt stored credential JSON.
  • Architecture & surface cleanup (#1195, #1196, #1197, #1198):
    • Removed the test-only @fastagent-sh/harness-dsh/internal package export and pinned @fastagent-sh/harness-dsh exports in package-boundary.test.ts.
    • Split harnesses/serving.ts into harness-loader.ts, instance-lifecycle.ts, and local-agent.ts, and added runtime ("node" | "bun") to @fastagent-sh/fastagent/platform's AgentFacts.
    • Extracted @fastagent-sh/pi-remote's pure SessionEvent -> RemoteViewState reducer into view-state.ts, consolidated isRemoteEnvRef and redactRemoteConfig in @fastagent-sh/client/remotes, removed unused CLI kernel DSL fields, and synced EN/zh-CN docs.

Packages Published (0.38.0)

  • @fastagent-sh/client
  • @fastagent-sh/client-agentcore
  • @fastagent-sh/fastagent
  • @fastagent-sh/agentcore
  • @fastagent-sh/pi-remote
  • @fastagent-sh/harness-dsh

Full Changelog: v0.37.0...v0.38.0