Skip to content

Upgrade foc-cli to Synapse SDK v1#17

Merged
snissn merged 3 commits into
mainfrom
codex/synapse-v1-deps
Jun 12, 2026
Merged

Upgrade foc-cli to Synapse SDK v1#17
snissn merged 3 commits into
mainfrom
codex/synapse-v1-deps

Conversation

@snissn

@snissn snissn commented Jun 12, 2026

Copy link
Copy Markdown
Member

Summary

  • Bump @filoz/synapse-sdk to ^1.0.1 and @filoz/synapse-core to ^0.7.0, with a refreshed cli/bun.lock.
  • Await async Piece.calculate in dataset upload and switch findPiece to v1 polling options.
  • Read upload cost rates from prep.costs.rates.perMonth.
  • Derive wallet summary timeRemaining from v1 runwayInEpochs while preserving the existing output field.
  • Update command mocks to v1-only shapes and tighten tests around async piece CID resolution, cost rates, and account summary runway/coverage fields.

Fixes #13
Fixes #14
Fixes #15

Graph

Predecessors: none
Successors: #16

This PR collapses #13-#15 into one mergeable unit because the dependency-only state fails the repo CI build/test gates until the v1 API and mock/test changes are present.

Validation

  • bun install --frozen-lockfile
  • bun run test — 32 pass, 0 fail
  • bunx biome check src tests
  • bunx tsc --noEmit
  • bun run build
  • git diff --check

Release readiness note

NPM latest observed on June 12, 2026:

  • @filoz/synapse-sdk: 1.0.1
  • @filoz/synapse-core: 0.7.0

No package publish is included in this PR. Calibration smoke validation remains tracked by #16.

@snissn snissn changed the title chore: bump Synapse SDK v1 packages Upgrade foc-cli to Synapse SDK v1 Jun 12, 2026
@snissn

snissn commented Jun 12, 2026

Copy link
Copy Markdown
Member Author

Latest validation for PR #17 head 3a2d218:

Internal final review found no blockers. AI reviews were not requested; no repo policy or branch protection requires them for this PR.

@snissn snissn merged commit a21b11e into main Jun 12, 2026
2 checks passed
@snissn snissn deleted the codex/synapse-v1-deps branch June 12, 2026 22:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant