v0.4.0
Minor Changes
-
#74
e98a55fThanks @LiranCohen! - Enable DWN sync and populate DWN endpoints in repo records.connectAgentnow accepts asyncoption (defaults to'off'for one-shot commands,'30s'for long-running commands likeserve). Controlled viaGITD_SYNCenv var or--sync/--no-syncflags.gitd initauto-populatesdwnEndpointsfrom the DID document'sDecentralizedWebNodeservice, overridable with--dwn-endpointflag orGITD_DWN_ENDPOINTenv.gitd serveensures all repo records have current DWN and git endpoints at startup, and periodically republishesdid:dhtdocuments to keep them alive on the DHT network. -
#72
67ead30Thanks @LiranCohen! - Multi-repo architecture: a DID can now own multiple repositories. Removes the$recordLimitsingleton 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--repoflag,GITD_REPOenv, andgit config enbox.reposelect 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 optionalrepoContextIdfor scoped restores. -
#75
41e406dThanks @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
efaa13fThanks @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
4f73eddThanks @LiranCohen! - Make git content migration the default forgitd migrate. Previously, git content (clone, bundle, refs) was only included when--repos <path>was explicitly provided. Now it defaults to./repos(matchinggitd serve), and a new--no-gitflag skips git content when not needed.