Skip to content

feat(carry)#423

Draft
jackddouglas wants to merge 5 commits into
stablefrom
feat/carry
Draft

feat(carry)#423
jackddouglas wants to merge 5 commits into
stablefrom
feat/carry

Conversation

@jackddouglas
Copy link
Copy Markdown
Collaborator

No description provided.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 14, 2026

Wrangler output for this change:

⛅️ wrangler 4.64.0 (update available 4.88.0)
─────────────────────────────────────────────
[custom build] Running: nix build .#tonk-cloudflare-artifacts
[custom build] path "/home/runner/work/tonk/tonk/rust/tonk-access-service" does not contain a 'flake.nix', searching up
[custom build]
[custom build] warning: ignoring untrusted flake configuration setting 'extra-substituters'.
[custom build] Pass '--accept-flake-config' to trust it
[custom build] warning: ignoring untrusted flake configuration setting 'extra-trusted-public-keys'.
[custom build] Pass '--accept-flake-config' to trust it
[custom build]
[custom build] evaluation warning: No output hash provided for git+https://github.com/dialog-db/dialog-db.git?tag=tonk-2026-04-24#5f3ff3444a445733fb8201fd27113d43622ac38b
[custom build]
[custom build] evaluation warning: No output hash provided for git+https://github.com/dialog-db/dialog-db.git?tag=tonk-2026-04-24#5f3ff3444a445733fb8201fd27113d43622ac38b
[custom build]
[custom build] evaluation warning: No output hash provided for git+https://github.com/dialog-db/dialog-db.git?tag=tonk-2026-04-24#5f3ff3444a445733fb8201fd27113d43622ac38b
[custom build]
[custom build] evaluation warning: No output hash provided for git+https://github.com/dialog-db/dialog-db.git?tag=tonk-2026-04-24#5f3ff3444a445733fb8201fd27113d43622ac38b
[custom build]
🌀 Building list of assets...
✨ Read 588 files from the assets directory /home/runner/work/tonk/tonk/result/tonk-ui
🌀 Starting asset upload...
🌀 Found 1 new or modified static asset to upload. Proceeding with upload...

  • /index.html
    Uploaded 1 of 1 asset
    ✨ Success! Uploaded 1 file (508 already uploaded) (1.43 sec)

Total Upload: 1093.78 KiB / gzip: 397.95 KiB
Worker Startup Time: 19 ms
Your Worker has access to the following bindings:
Binding Resource
env.BUCKET (tonk-spaces) R2 Bucket
env.ASSETS Assets
env.R2_ACCOUNT_ID ("5f20ca8a0de0a5ac52a14fa8bf9c90db") Environment Variable
env.R2_BUCKET_NAME ("tonk-spaces") Environment Variable

Uploaded tonk-access-service (7.73 sec)
Worker Version ID: c6b977c0-621b-4ff3-ad1d-9e6f0b2c2ee1
Version Preview URL: https://c6b977c0-tonk-access-service.tonk.workers.dev
Version Preview Alias URL: https://pr-423-tonk-access-service.tonk.workers.dev

To deploy this version to production traffic use the command wrangler versions deploy

Changes to non-versioned settings (config properties 'logpush' or 'tail_consumers') take effect after your next deployment using the command wrangler versions deploy

Changes to triggers (routes, custom domains, cron schedules, etc) must be applied with the command wrangler triggers deploy

@jackddouglas jackddouglas force-pushed the feat/carry branch 7 times, most recently from 8a992b7 to 69f9cbb Compare April 28, 2026 15:15
@jackddouglas jackddouglas self-assigned this Apr 28, 2026
Brings carry across from its old `feat/query-integration-cleanup` dialog
build onto stable's `tonk-2026-04-24` tag. Keeps carry's UX intact ("one
.carry/ per repo", identity in platform data dir) by mapping it onto the
new dialog API:

- Profile lives at Directory::Profile (dialog-managed, platform data dir)
- OperatorBuilder::base(Directory::At(carry_dir)) scopes the operator's
  repos to the discovered .carry/ -- preserves the per-project boundary
- Single repository "main" per .carry/, opened via
  profile.repository("main").open().perform(operator)

API translations:
- Repository::open(location).perform() -> profile.repository(name).open()
  .perform(operator)
- carry's local invite.rs deleted; invite_cmd / join_cmd consume
  tonk-invite's Invite (parse_url / to_url / claim) so the URL format is
  shared with the web client by construction
- UcanDelegation <-> DelegationChain conversions where dialog and
  tonk-invite hand the wrong shape across the seam
- Mechanical: dialog_repository::storage/profile -> dialog_operator;
  dialog_ucan::DelegationChain -> dialog_ucan_core; SignerCredential
  generic -> Credential default at Repository<C>
- Test harness: ProfileLocation/RepoLocation are now
  dialog_effects::storage::Directory; common.rs adds a unique_dir()
  helper rooted at Directory::At(<temp>/<unique-name>) for parallel-safe
  test isolation

Drops the `space_cmd` subcommand (the per-.carry/ "spaces" model is
replaced by named repositories within the operator's base directory) and
the streamlining/benchmarks scaffolding from the prior version.

Also includes the rust/tonk-assess benchmarking crate (a workspace-only
addition that is compatible with stable's dialog tag without changes).
@jackddouglas jackddouglas changed the title feat(carry): benchmarks, streamlining, align to dialog feat(carry) May 7, 2026
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