Skip to content

0.40.0

Choose a tag to compare

@cliftonc cliftonc released this 20 Nov 12:59
· 60 commits to main since this release
0.40.0
1fb3a7f

Rocketpod catches up with Rocketflare 0.40.0. This adds a durable agent runtime, a structured knowledge base with typed facts, two security rounds, a remote MCP server at /mcp, and upgrade tooling that resumes after rejects.

Breaking changes:

  • A cancelled run now ends as RUN_FINISHED { outcome: cancelled } instead of RUN_ERROR.
  • ctx.once keys now hash their inputs.

What's new:

  • Durable agent runs:
    • Runs resume from a journal of model turns and tool results, so no turn is billed twice.
    • A cancel stops the call in flight.
    • A sweeper settles lost runs.
    • Runs record their agent version and build (APP_VERSION_ID).
    • An ask can have a deadline, reminders and assignees.
    • A run can spawn child runs.
    • There is a run inspector timeline, new agents pages and rocketpod agents inspect.
  • Knowledge base:
    • Chunks are cut at headings and table rows, and each records the model that embedded it.
    • Documents re-embed when the model changes, and unchanged content is deduplicated.
    • An optional HTTP reranker and a new Search page.
  • Knowledge facts (behind the knowledge-facts flag): an extraction job, review, a decision-model judge, lookup_facts, a Facts view and entity cards.
  • Security rounds 3 and 4:
    • Suspended tenants run no agents or queued jobs.
    • Invitations follow the authority of whoever issued them.
    • Limits on owning and creating organisations.
    • API keys stay in their organisation.
    • Facts follow document visibility.
    • The chunker runs in linear time.
  • Remote MCP server: /mcp offers the agents' tools to MCP clients, authorised by an outside OAuth server. It is off until MCP_AUTHORIZATION_SERVER is set.
  • Tooling:
    • pnpm kit:upgrade --continue and pnpm plugin upgrade <id> --continue.
    • CLI path fixes, and a warning when environment keys override a saved login.
    • pnpm test refuses Node < 26.

Not ported: Rocketflare 0.35.0, the security-audit skill, and the counts-only security reports that depend on it. See docs/FORK.md.

Deploying:

  • There are five new migrations.
  • The one that changes chunks needs CREATE EXTENSION pg_trgm, and it rewrites the table under an exclusive lock. Above about a million chunks, run it in a maintenance window.
  • Ingress access logs record magic-link and invitation tokens (docs/DEPLOY.md).

The upgrade steps are in the porting note.