Skip to content

v0.4.0

Choose a tag to compare

@github-actions github-actions released this 25 Feb 22:48
· 69 commits to main since this release
0b64b19

Minor Changes

  • #74 e98a55f Thanks @LiranCohen! - Enable DWN sync and populate DWN endpoints in repo records. connectAgent now accepts a sync option (defaults to 'off' for one-shot commands, '30s' for long-running commands like serve). Controlled via GITD_SYNC env var or --sync/--no-sync flags. gitd init auto-populates dwnEndpoints from the DID document's DecentralizedWebNode service, overridable with --dwn-endpoint flag or GITD_DWN_ENDPOINT env. gitd serve ensures all repo records have current DWN and git endpoints at startup, and periodically republishes did:dht documents to keep them alive on the DHT network.

  • #72 67ead30 Thanks @LiranCohen! - Multi-repo architecture: a DID can now own multiple repositories. Removes the $recordLimit singleton constraint on repo records. All CLI commands, the GitHub shim, the web UI, and migration resolve repos by name. Web UI routes change from /:did/... to /:did/:repo/... with a new repo list page at /:did. The --repo flag, GITD_REPO env, and git config enbox.repo select the active repo when multiple exist. Ref and bundle sync queries are now scoped to the repo's contextId to prevent cross-repo interference. Bundle restore accepts an optional repoContextId for scoped restores.

  • #75 41e406d Thanks @LiranCohen! - Wire up provider-auth-v0 DWN registration so the agent can authenticate with DWN servers that require it. Registration tokens are cached on disk and refreshed automatically when they expire.

  • #76 efaa13f Thanks @LiranCohen! - Store bare git repos under the profile directory (~/.enbox/profiles//repos/) instead of CWD-relative ./repos, and print post-init instructions showing how to set up a git working tree and push.

Patch Changes

  • #70 4f73edd Thanks @LiranCohen! - Make git content migration the default for gitd migrate. Previously, git content (clone, bundle, refs) was only included when --repos <path> was explicitly provided. Now it defaults to ./repos (matching gitd serve), and a new --no-git flag skips git content when not needed.