Skip to content

chore(deps): upgrade durable runtime to 1.5.0 - #3

Merged
syxc merged 2 commits into
masterfrom
dev/pi-durable
Nov 3, 2026
Merged

syxc merged 2 commits into
masterfrom
dev/pi-durable

Conversation

@syxc

@syxc syxc commented Nov 3, 2026

Copy link
Copy Markdown
Owner

Summary

Upgrade the server runtime from pi-durable 1.4.0 to 1.5.0, with matching chord, pi-ai, pi-codemode and pi-schema dependencies.

Version 1.5 removes the previous event watcher and changes storage commits and schema construction. The server now translates public conversation and commit observers into the existing host events, preserves deferred streaming progress, and uses the new counted SQLite write contract. Tool start events wait for repaired execution arguments so file changes receive the edits that actually ran. Local tool schemas retain coercion and host metadata. Synthetic sessions written by the released 1.4.0 SDK cover SQLite and JSONL upgrades, document and task migrations, fork ancestry, and continued writes after reopening.

Verification

  • bun run test: passed on the final source (4454 regular tests, 11 skipped; all 231 isolated tests passed).
  • bun test packages/pi-agent-server/src/events/watch.test.ts packages/pi-agent-server/src/storage-upgrade.test.ts: 11 passed. The partial-message regression failed before its correction.
  • Singleton and JSON-string edit argument regressions failed before the tool-start correction and passed afterward.
  • bun run validate:ci: passed on the final source.
  • bun run lint: passed with existing warnings.
  • bun run audit:craft-reuse: passed against the pinned Craft baseline.
  • bun run electron:build, bun run server:build, bun run cli:build: passed.
  • Built server and CLI exercised with an isolated HOME, configuration, ephemeral loopback ports and local model fixture: two concurrent sessions, preserved turn history, anchored branch, export/import followed by source deletion and continuation, and a real file read all passed.
  • git diff --check: passed.

Real provider credentials and paid model requests were not used. Cross-platform packaging is covered by this PR's CI.

Prepared with assistance from an AI agent.

syxc added 2 commits November 3, 2026 17:31
Adapt public observers, tool schemas and the counted storage contract.
Preserve deferred progress and publish repaired tool execution arguments.

Verify released 1.4.0 SQLite and JSONL fixtures, task migrations, branches,
and continued writes alongside kernel and packaged runtime regressions.
@syxc
syxc merged commit 8532525 into master Nov 3, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant