@enbox/gitd 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +177 -0
- package/README.md +134 -0
- package/dist/esm/ci.js +76 -0
- package/dist/esm/ci.js.map +1 -0
- package/dist/esm/cli/agent.js +86 -0
- package/dist/esm/cli/agent.js.map +1 -0
- package/dist/esm/cli/commands/ci.js +278 -0
- package/dist/esm/cli/commands/ci.js.map +1 -0
- package/dist/esm/cli/commands/clone.js +77 -0
- package/dist/esm/cli/commands/clone.js.map +1 -0
- package/dist/esm/cli/commands/daemon.js +132 -0
- package/dist/esm/cli/commands/daemon.js.map +1 -0
- package/dist/esm/cli/commands/github-api.js +36 -0
- package/dist/esm/cli/commands/github-api.js.map +1 -0
- package/dist/esm/cli/commands/init.js +69 -0
- package/dist/esm/cli/commands/init.js.map +1 -0
- package/dist/esm/cli/commands/issue.js +293 -0
- package/dist/esm/cli/commands/issue.js.map +1 -0
- package/dist/esm/cli/commands/log.js +90 -0
- package/dist/esm/cli/commands/log.js.map +1 -0
- package/dist/esm/cli/commands/migrate.js +444 -0
- package/dist/esm/cli/commands/migrate.js.map +1 -0
- package/dist/esm/cli/commands/notification.js +141 -0
- package/dist/esm/cli/commands/notification.js.map +1 -0
- package/dist/esm/cli/commands/org.js +353 -0
- package/dist/esm/cli/commands/org.js.map +1 -0
- package/dist/esm/cli/commands/patch.js +375 -0
- package/dist/esm/cli/commands/patch.js.map +1 -0
- package/dist/esm/cli/commands/registry.js +501 -0
- package/dist/esm/cli/commands/registry.js.map +1 -0
- package/dist/esm/cli/commands/release.js +197 -0
- package/dist/esm/cli/commands/release.js.map +1 -0
- package/dist/esm/cli/commands/repo.js +148 -0
- package/dist/esm/cli/commands/repo.js.map +1 -0
- package/dist/esm/cli/commands/serve.js +148 -0
- package/dist/esm/cli/commands/serve.js.map +1 -0
- package/dist/esm/cli/commands/setup.js +92 -0
- package/dist/esm/cli/commands/setup.js.map +1 -0
- package/dist/esm/cli/commands/shim.js +75 -0
- package/dist/esm/cli/commands/shim.js.map +1 -0
- package/dist/esm/cli/commands/social.js +206 -0
- package/dist/esm/cli/commands/social.js.map +1 -0
- package/dist/esm/cli/commands/web.js +36 -0
- package/dist/esm/cli/commands/web.js.map +1 -0
- package/dist/esm/cli/commands/wiki.js +185 -0
- package/dist/esm/cli/commands/wiki.js.map +1 -0
- package/dist/esm/cli/flags.js +29 -0
- package/dist/esm/cli/flags.js.map +1 -0
- package/dist/esm/cli/main.js +331 -0
- package/dist/esm/cli/main.js.map +1 -0
- package/dist/esm/cli/repo-context.js +53 -0
- package/dist/esm/cli/repo-context.js.map +1 -0
- package/dist/esm/daemon/adapter.js +18 -0
- package/dist/esm/daemon/adapter.js.map +1 -0
- package/dist/esm/daemon/adapters/github.js +112 -0
- package/dist/esm/daemon/adapters/github.js.map +1 -0
- package/dist/esm/daemon/adapters/go.js +51 -0
- package/dist/esm/daemon/adapters/go.js.map +1 -0
- package/dist/esm/daemon/adapters/index.js +32 -0
- package/dist/esm/daemon/adapters/index.js.map +1 -0
- package/dist/esm/daemon/adapters/npm.js +51 -0
- package/dist/esm/daemon/adapters/npm.js.map +1 -0
- package/dist/esm/daemon/adapters/oci.js +62 -0
- package/dist/esm/daemon/adapters/oci.js.map +1 -0
- package/dist/esm/daemon/index.js +12 -0
- package/dist/esm/daemon/index.js.map +1 -0
- package/dist/esm/daemon/server.js +167 -0
- package/dist/esm/daemon/server.js.map +1 -0
- package/dist/esm/git-remote/credential-helper.js +106 -0
- package/dist/esm/git-remote/credential-helper.js.map +1 -0
- package/dist/esm/git-remote/credential-main.js +109 -0
- package/dist/esm/git-remote/credential-main.js.map +1 -0
- package/dist/esm/git-remote/index.js +10 -0
- package/dist/esm/git-remote/index.js.map +1 -0
- package/dist/esm/git-remote/main.js +78 -0
- package/dist/esm/git-remote/main.js.map +1 -0
- package/dist/esm/git-remote/parse-url.js +60 -0
- package/dist/esm/git-remote/parse-url.js.map +1 -0
- package/dist/esm/git-remote/resolve.js +175 -0
- package/dist/esm/git-remote/resolve.js.map +1 -0
- package/dist/esm/git-remote/service.js +82 -0
- package/dist/esm/git-remote/service.js.map +1 -0
- package/dist/esm/git-server/auth.js +211 -0
- package/dist/esm/git-server/auth.js.map +1 -0
- package/dist/esm/git-server/bundle-restore.js +180 -0
- package/dist/esm/git-server/bundle-restore.js.map +1 -0
- package/dist/esm/git-server/bundle-sync.js +233 -0
- package/dist/esm/git-server/bundle-sync.js.map +1 -0
- package/dist/esm/git-server/did-service.js +73 -0
- package/dist/esm/git-server/did-service.js.map +1 -0
- package/dist/esm/git-server/git-backend.js +186 -0
- package/dist/esm/git-server/git-backend.js.map +1 -0
- package/dist/esm/git-server/http-handler.js +295 -0
- package/dist/esm/git-server/http-handler.js.map +1 -0
- package/dist/esm/git-server/index.js +16 -0
- package/dist/esm/git-server/index.js.map +1 -0
- package/dist/esm/git-server/push-authorizer.js +62 -0
- package/dist/esm/git-server/push-authorizer.js.map +1 -0
- package/dist/esm/git-server/ref-sync.js +132 -0
- package/dist/esm/git-server/ref-sync.js.map +1 -0
- package/dist/esm/git-server/server.js +185 -0
- package/dist/esm/git-server/server.js.map +1 -0
- package/dist/esm/git-server/verify.js +109 -0
- package/dist/esm/git-server/verify.js.map +1 -0
- package/dist/esm/github-shim/helpers.js +273 -0
- package/dist/esm/github-shim/helpers.js.map +1 -0
- package/dist/esm/github-shim/index.js +13 -0
- package/dist/esm/github-shim/index.js.map +1 -0
- package/dist/esm/github-shim/issues.js +318 -0
- package/dist/esm/github-shim/issues.js.map +1 -0
- package/dist/esm/github-shim/pulls.js +423 -0
- package/dist/esm/github-shim/pulls.js.map +1 -0
- package/dist/esm/github-shim/releases.js +154 -0
- package/dist/esm/github-shim/releases.js.map +1 -0
- package/dist/esm/github-shim/repos.js +86 -0
- package/dist/esm/github-shim/repos.js.map +1 -0
- package/dist/esm/github-shim/server.js +351 -0
- package/dist/esm/github-shim/server.js.map +1 -0
- package/dist/esm/github-shim/users.js +61 -0
- package/dist/esm/github-shim/users.js.map +1 -0
- package/dist/esm/index.js +26 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/indexer/api.js +132 -0
- package/dist/esm/indexer/api.js.map +1 -0
- package/dist/esm/indexer/crawler.js +256 -0
- package/dist/esm/indexer/crawler.js.map +1 -0
- package/dist/esm/indexer/index.js +9 -0
- package/dist/esm/indexer/index.js.map +1 -0
- package/dist/esm/indexer/main.js +76 -0
- package/dist/esm/indexer/main.js.map +1 -0
- package/dist/esm/indexer/store.js +334 -0
- package/dist/esm/indexer/store.js.map +1 -0
- package/dist/esm/issues.js +133 -0
- package/dist/esm/issues.js.map +1 -0
- package/dist/esm/notifications.js +47 -0
- package/dist/esm/notifications.js.map +1 -0
- package/dist/esm/org.js +90 -0
- package/dist/esm/org.js.map +1 -0
- package/dist/esm/patches.js +136 -0
- package/dist/esm/patches.js.map +1 -0
- package/dist/esm/refs.js +54 -0
- package/dist/esm/refs.js.map +1 -0
- package/dist/esm/registry.js +81 -0
- package/dist/esm/registry.js.map +1 -0
- package/dist/esm/releases.js +78 -0
- package/dist/esm/releases.js.map +1 -0
- package/dist/esm/repo.js +150 -0
- package/dist/esm/repo.js.map +1 -0
- package/dist/esm/resolver/index.js +10 -0
- package/dist/esm/resolver/index.js.map +1 -0
- package/dist/esm/resolver/resolve.js +189 -0
- package/dist/esm/resolver/resolve.js.map +1 -0
- package/dist/esm/resolver/trust-chain.js +155 -0
- package/dist/esm/resolver/trust-chain.js.map +1 -0
- package/dist/esm/resolver/verify.js +186 -0
- package/dist/esm/resolver/verify.js.map +1 -0
- package/dist/esm/shims/go/index.js +9 -0
- package/dist/esm/shims/go/index.js.map +1 -0
- package/dist/esm/shims/go/proxy.js +275 -0
- package/dist/esm/shims/go/proxy.js.map +1 -0
- package/dist/esm/shims/go/server.js +70 -0
- package/dist/esm/shims/go/server.js.map +1 -0
- package/dist/esm/shims/index.js +15 -0
- package/dist/esm/shims/index.js.map +1 -0
- package/dist/esm/shims/npm/index.js +9 -0
- package/dist/esm/shims/npm/index.js.map +1 -0
- package/dist/esm/shims/npm/registry.js +234 -0
- package/dist/esm/shims/npm/registry.js.map +1 -0
- package/dist/esm/shims/npm/server.js +72 -0
- package/dist/esm/shims/npm/server.js.map +1 -0
- package/dist/esm/shims/oci/index.js +9 -0
- package/dist/esm/shims/oci/index.js.map +1 -0
- package/dist/esm/shims/oci/registry.js +276 -0
- package/dist/esm/shims/oci/registry.js.map +1 -0
- package/dist/esm/shims/oci/server.js +82 -0
- package/dist/esm/shims/oci/server.js.map +1 -0
- package/dist/esm/social.js +70 -0
- package/dist/esm/social.js.map +1 -0
- package/dist/esm/web/html.js +123 -0
- package/dist/esm/web/html.js.map +1 -0
- package/dist/esm/web/index.js +7 -0
- package/dist/esm/web/index.js.map +1 -0
- package/dist/esm/web/routes.js +420 -0
- package/dist/esm/web/routes.js.map +1 -0
- package/dist/esm/web/server.js +225 -0
- package/dist/esm/web/server.js.map +1 -0
- package/dist/esm/wiki.js +63 -0
- package/dist/esm/wiki.js.map +1 -0
- package/dist/types/ci.d.ts +203 -0
- package/dist/types/ci.d.ts.map +1 -0
- package/dist/types/cli/agent.d.ts +59 -0
- package/dist/types/cli/agent.d.ts.map +1 -0
- package/dist/types/cli/commands/ci.d.ts +16 -0
- package/dist/types/cli/commands/ci.d.ts.map +1 -0
- package/dist/types/cli/commands/clone.d.ts +13 -0
- package/dist/types/cli/commands/clone.d.ts.map +1 -0
- package/dist/types/cli/commands/daemon.d.ts +29 -0
- package/dist/types/cli/commands/daemon.d.ts.map +1 -0
- package/dist/types/cli/commands/github-api.d.ts +14 -0
- package/dist/types/cli/commands/github-api.d.ts.map +1 -0
- package/dist/types/cli/commands/init.d.ts +11 -0
- package/dist/types/cli/commands/init.d.ts.map +1 -0
- package/dist/types/cli/commands/issue.d.ts +16 -0
- package/dist/types/cli/commands/issue.d.ts.map +1 -0
- package/dist/types/cli/commands/log.d.ts +13 -0
- package/dist/types/cli/commands/log.d.ts.map +1 -0
- package/dist/types/cli/commands/migrate.d.ts +19 -0
- package/dist/types/cli/commands/migrate.d.ts.map +1 -0
- package/dist/types/cli/commands/notification.d.ts +16 -0
- package/dist/types/cli/commands/notification.d.ts.map +1 -0
- package/dist/types/cli/commands/org.d.ts +19 -0
- package/dist/types/cli/commands/org.d.ts.map +1 -0
- package/dist/types/cli/commands/patch.d.ts +17 -0
- package/dist/types/cli/commands/patch.d.ts.map +1 -0
- package/dist/types/cli/commands/registry.d.ts +25 -0
- package/dist/types/cli/commands/registry.d.ts.map +1 -0
- package/dist/types/cli/commands/release.d.ts +13 -0
- package/dist/types/cli/commands/release.d.ts.map +1 -0
- package/dist/types/cli/commands/repo.d.ts +15 -0
- package/dist/types/cli/commands/repo.d.ts.map +1 -0
- package/dist/types/cli/commands/serve.d.ts +22 -0
- package/dist/types/cli/commands/serve.d.ts.map +1 -0
- package/dist/types/cli/commands/setup.d.ts +16 -0
- package/dist/types/cli/commands/setup.d.ts.map +1 -0
- package/dist/types/cli/commands/shim.d.ts +16 -0
- package/dist/types/cli/commands/shim.d.ts.map +1 -0
- package/dist/types/cli/commands/social.d.ts +19 -0
- package/dist/types/cli/commands/social.d.ts.map +1 -0
- package/dist/types/cli/commands/web.d.ts +14 -0
- package/dist/types/cli/commands/web.d.ts.map +1 -0
- package/dist/types/cli/commands/wiki.d.ts +14 -0
- package/dist/types/cli/commands/wiki.d.ts.map +1 -0
- package/dist/types/cli/flags.d.ts +16 -0
- package/dist/types/cli/flags.d.ts.map +1 -0
- package/dist/types/cli/main.d.ts +69 -0
- package/dist/types/cli/main.d.ts.map +1 -0
- package/dist/types/cli/repo-context.d.ts +30 -0
- package/dist/types/cli/repo-context.d.ts.map +1 -0
- package/dist/types/daemon/adapter.d.ts +74 -0
- package/dist/types/daemon/adapter.d.ts.map +1 -0
- package/dist/types/daemon/adapters/github.d.ts +10 -0
- package/dist/types/daemon/adapters/github.d.ts.map +1 -0
- package/dist/types/daemon/adapters/go.d.ts +10 -0
- package/dist/types/daemon/adapters/go.d.ts.map +1 -0
- package/dist/types/daemon/adapters/index.d.ts +22 -0
- package/dist/types/daemon/adapters/index.d.ts.map +1 -0
- package/dist/types/daemon/adapters/npm.d.ts +10 -0
- package/dist/types/daemon/adapters/npm.d.ts.map +1 -0
- package/dist/types/daemon/adapters/oci.d.ts +10 -0
- package/dist/types/daemon/adapters/oci.d.ts.map +1 -0
- package/dist/types/daemon/index.d.ts +14 -0
- package/dist/types/daemon/index.d.ts.map +1 -0
- package/dist/types/daemon/server.d.ts +55 -0
- package/dist/types/daemon/server.d.ts.map +1 -0
- package/dist/types/git-remote/credential-helper.d.ts +49 -0
- package/dist/types/git-remote/credential-helper.d.ts.map +1 -0
- package/dist/types/git-remote/credential-main.d.ts +24 -0
- package/dist/types/git-remote/credential-main.d.ts.map +1 -0
- package/dist/types/git-remote/index.d.ts +10 -0
- package/dist/types/git-remote/index.d.ts.map +1 -0
- package/dist/types/git-remote/main.d.ts +23 -0
- package/dist/types/git-remote/main.d.ts.map +1 -0
- package/dist/types/git-remote/parse-url.d.ts +32 -0
- package/dist/types/git-remote/parse-url.d.ts.map +1 -0
- package/dist/types/git-remote/resolve.d.ts +30 -0
- package/dist/types/git-remote/resolve.d.ts.map +1 -0
- package/dist/types/git-remote/service.d.ts +75 -0
- package/dist/types/git-remote/service.d.ts.map +1 -0
- package/dist/types/git-server/auth.d.ts +129 -0
- package/dist/types/git-server/auth.d.ts.map +1 -0
- package/dist/types/git-server/bundle-restore.d.ts +48 -0
- package/dist/types/git-server/bundle-restore.d.ts.map +1 -0
- package/dist/types/git-server/bundle-sync.d.ts +90 -0
- package/dist/types/git-server/bundle-sync.d.ts.map +1 -0
- package/dist/types/git-server/did-service.d.ts +26 -0
- package/dist/types/git-server/did-service.d.ts.map +1 -0
- package/dist/types/git-server/git-backend.d.ts +84 -0
- package/dist/types/git-server/git-backend.d.ts.map +1 -0
- package/dist/types/git-server/http-handler.d.ts +73 -0
- package/dist/types/git-server/http-handler.d.ts.map +1 -0
- package/dist/types/git-server/index.d.ts +16 -0
- package/dist/types/git-server/index.d.ts.map +1 -0
- package/dist/types/git-server/push-authorizer.d.ts +38 -0
- package/dist/types/git-server/push-authorizer.d.ts.map +1 -0
- package/dist/types/git-server/ref-sync.d.ts +52 -0
- package/dist/types/git-server/ref-sync.d.ts.map +1 -0
- package/dist/types/git-server/server.d.ts +70 -0
- package/dist/types/git-server/server.d.ts.map +1 -0
- package/dist/types/git-server/verify.d.ts +12 -0
- package/dist/types/git-server/verify.d.ts.map +1 -0
- package/dist/types/github-shim/helpers.d.ts +108 -0
- package/dist/types/github-shim/helpers.d.ts.map +1 -0
- package/dist/types/github-shim/index.d.ts +15 -0
- package/dist/types/github-shim/index.d.ts.map +1 -0
- package/dist/types/github-shim/issues.d.ts +24 -0
- package/dist/types/github-shim/issues.d.ts.map +1 -0
- package/dist/types/github-shim/pulls.d.ts +31 -0
- package/dist/types/github-shim/pulls.d.ts.map +1 -0
- package/dist/types/github-shim/releases.d.ts +18 -0
- package/dist/types/github-shim/releases.d.ts.map +1 -0
- package/dist/types/github-shim/repos.d.ts +21 -0
- package/dist/types/github-shim/repos.d.ts.map +1 -0
- package/dist/types/github-shim/server.d.ts +53 -0
- package/dist/types/github-shim/server.d.ts.map +1 -0
- package/dist/types/github-shim/users.d.ts +17 -0
- package/dist/types/github-shim/users.d.ts.map +1 -0
- package/dist/types/index.d.ts +26 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/indexer/api.d.ts +32 -0
- package/dist/types/indexer/api.d.ts.map +1 -0
- package/dist/types/indexer/crawler.d.ts +72 -0
- package/dist/types/indexer/crawler.d.ts.map +1 -0
- package/dist/types/indexer/index.d.ts +12 -0
- package/dist/types/indexer/index.d.ts.map +1 -0
- package/dist/types/indexer/main.d.ts +21 -0
- package/dist/types/indexer/main.d.ts.map +1 -0
- package/dist/types/indexer/store.d.ts +168 -0
- package/dist/types/indexer/store.d.ts.map +1 -0
- package/dist/types/issues.d.ts +395 -0
- package/dist/types/issues.d.ts.map +1 -0
- package/dist/types/notifications.d.ts +93 -0
- package/dist/types/notifications.d.ts.map +1 -0
- package/dist/types/org.d.ts +232 -0
- package/dist/types/org.d.ts.map +1 -0
- package/dist/types/patches.d.ts +410 -0
- package/dist/types/patches.d.ts.map +1 -0
- package/dist/types/refs.d.ts +114 -0
- package/dist/types/refs.d.ts.map +1 -0
- package/dist/types/registry.d.ts +212 -0
- package/dist/types/registry.d.ts.map +1 -0
- package/dist/types/releases.d.ts +204 -0
- package/dist/types/releases.d.ts.map +1 -0
- package/dist/types/repo.d.ts +450 -0
- package/dist/types/repo.d.ts.map +1 -0
- package/dist/types/resolver/index.d.ts +13 -0
- package/dist/types/resolver/index.d.ts.map +1 -0
- package/dist/types/resolver/resolve.d.ts +80 -0
- package/dist/types/resolver/resolve.d.ts.map +1 -0
- package/dist/types/resolver/trust-chain.d.ts +54 -0
- package/dist/types/resolver/trust-chain.d.ts.map +1 -0
- package/dist/types/resolver/verify.d.ts +62 -0
- package/dist/types/resolver/verify.d.ts.map +1 -0
- package/dist/types/shims/go/index.d.ts +11 -0
- package/dist/types/shims/go/index.d.ts.map +1 -0
- package/dist/types/shims/go/proxy.d.ts +51 -0
- package/dist/types/shims/go/proxy.d.ts.map +1 -0
- package/dist/types/shims/go/server.d.ts +23 -0
- package/dist/types/shims/go/server.d.ts.map +1 -0
- package/dist/types/shims/index.d.ts +18 -0
- package/dist/types/shims/index.d.ts.map +1 -0
- package/dist/types/shims/npm/index.d.ts +11 -0
- package/dist/types/shims/npm/index.d.ts.map +1 -0
- package/dist/types/shims/npm/registry.d.ts +46 -0
- package/dist/types/shims/npm/registry.d.ts.map +1 -0
- package/dist/types/shims/npm/server.d.ts +23 -0
- package/dist/types/shims/npm/server.d.ts.map +1 -0
- package/dist/types/shims/oci/index.d.ts +11 -0
- package/dist/types/shims/oci/index.d.ts.map +1 -0
- package/dist/types/shims/oci/registry.d.ts +56 -0
- package/dist/types/shims/oci/registry.d.ts.map +1 -0
- package/dist/types/shims/oci/server.d.ts +23 -0
- package/dist/types/shims/oci/server.d.ts.map +1 -0
- package/dist/types/social.d.ts +162 -0
- package/dist/types/social.d.ts.map +1 -0
- package/dist/types/web/html.d.ts +23 -0
- package/dist/types/web/html.d.ts.map +1 -0
- package/dist/types/web/index.d.ts +8 -0
- package/dist/types/web/index.d.ts.map +1 -0
- package/dist/types/web/routes.d.ts +21 -0
- package/dist/types/web/routes.d.ts.map +1 -0
- package/dist/types/web/server.d.ts +38 -0
- package/dist/types/web/server.d.ts.map +1 -0
- package/dist/types/wiki.d.ts +143 -0
- package/dist/types/wiki.d.ts.map +1 -0
- package/package.json +108 -0
- package/schemas/ci/check-run.json +23 -0
- package/schemas/ci/check-suite.json +23 -0
- package/schemas/issues/assignment.json +17 -0
- package/schemas/issues/comment.json +14 -0
- package/schemas/issues/issue.json +20 -0
- package/schemas/issues/label.json +17 -0
- package/schemas/issues/reaction.json +14 -0
- package/schemas/issues/status-change.json +14 -0
- package/schemas/notifications/notification.json +20 -0
- package/schemas/org/org-member.json +17 -0
- package/schemas/org/org.json +26 -0
- package/schemas/org/team-member.json +17 -0
- package/schemas/org/team.json +17 -0
- package/schemas/patches/merge-result.json +14 -0
- package/schemas/patches/patch-status-change.json +14 -0
- package/schemas/patches/patch.json +20 -0
- package/schemas/patches/review-comment.json +17 -0
- package/schemas/patches/review.json +14 -0
- package/schemas/patches/revision.json +30 -0
- package/schemas/refs/git-ref.json +32 -0
- package/schemas/registry/attestation.json +23 -0
- package/schemas/registry/package-version.json +23 -0
- package/schemas/registry/package.json +32 -0
- package/schemas/releases/release.json +17 -0
- package/schemas/repo/collaborator.json +17 -0
- package/schemas/repo/repo.json +35 -0
- package/schemas/repo/settings.json +39 -0
- package/schemas/repo/topic.json +14 -0
- package/schemas/repo/webhook.json +26 -0
- package/schemas/social/activity.json +23 -0
- package/schemas/social/follow.json +17 -0
- package/schemas/social/star.json +20 -0
- package/schemas/wiki/wiki-history.json +20 -0
- package/schemas/wiki/wiki-page.json +17 -0
- package/src/ci.ts +118 -0
- package/src/cli/agent.ts +117 -0
- package/src/cli/commands/ci.ts +300 -0
- package/src/cli/commands/clone.ts +78 -0
- package/src/cli/commands/daemon.ts +129 -0
- package/src/cli/commands/github-api.ts +30 -0
- package/src/cli/commands/init.ts +69 -0
- package/src/cli/commands/issue.ts +321 -0
- package/src/cli/commands/log.ts +106 -0
- package/src/cli/commands/migrate.ts +525 -0
- package/src/cli/commands/notification.ts +148 -0
- package/src/cli/commands/org.ts +381 -0
- package/src/cli/commands/patch.ts +413 -0
- package/src/cli/commands/registry.ts +542 -0
- package/src/cli/commands/release.ts +189 -0
- package/src/cli/commands/repo.ts +160 -0
- package/src/cli/commands/serve.ts +153 -0
- package/src/cli/commands/setup.ts +97 -0
- package/src/cli/commands/shim.ts +79 -0
- package/src/cli/commands/social.ts +221 -0
- package/src/cli/commands/web.ts +30 -0
- package/src/cli/commands/wiki.ts +199 -0
- package/src/cli/flags.ts +28 -0
- package/src/cli/main.ts +350 -0
- package/src/cli/repo-context.ts +55 -0
- package/src/daemon/adapter.ts +95 -0
- package/src/daemon/adapters/github.ts +86 -0
- package/src/daemon/adapters/go.ts +47 -0
- package/src/daemon/adapters/index.ts +36 -0
- package/src/daemon/adapters/npm.ts +47 -0
- package/src/daemon/adapters/oci.ts +59 -0
- package/src/daemon/index.ts +16 -0
- package/src/daemon/server.ts +204 -0
- package/src/git-remote/credential-helper.ts +114 -0
- package/src/git-remote/credential-main.ts +118 -0
- package/src/git-remote/index.ts +10 -0
- package/src/git-remote/main.ts +74 -0
- package/src/git-remote/parse-url.ts +81 -0
- package/src/git-remote/resolve.ts +207 -0
- package/src/git-remote/service.ts +126 -0
- package/src/git-server/auth.ts +308 -0
- package/src/git-server/bundle-restore.ts +217 -0
- package/src/git-server/bundle-sync.ts +300 -0
- package/src/git-server/did-service.ts +77 -0
- package/src/git-server/git-backend.ts +222 -0
- package/src/git-server/http-handler.ts +386 -0
- package/src/git-server/index.ts +16 -0
- package/src/git-server/push-authorizer.ts +77 -0
- package/src/git-server/ref-sync.ts +166 -0
- package/src/git-server/server.ts +236 -0
- package/src/git-server/verify.ts +116 -0
- package/src/github-shim/helpers.ts +311 -0
- package/src/github-shim/index.ts +35 -0
- package/src/github-shim/issues.ts +389 -0
- package/src/github-shim/pulls.ts +500 -0
- package/src/github-shim/releases.ts +185 -0
- package/src/github-shim/repos.ts +95 -0
- package/src/github-shim/server.ts +334 -0
- package/src/github-shim/users.ts +63 -0
- package/src/index.ts +26 -0
- package/src/indexer/api.ts +162 -0
- package/src/indexer/crawler.ts +290 -0
- package/src/indexer/index.ts +22 -0
- package/src/indexer/main.ts +83 -0
- package/src/indexer/store.ts +408 -0
- package/src/issues.ts +200 -0
- package/src/notifications.ts +80 -0
- package/src/org.ts +147 -0
- package/src/patches.ts +203 -0
- package/src/refs.ts +94 -0
- package/src/registry.ts +132 -0
- package/src/releases.ts +124 -0
- package/src/repo.ts +234 -0
- package/src/resolver/index.ts +42 -0
- package/src/resolver/resolve.ts +244 -0
- package/src/resolver/trust-chain.ts +217 -0
- package/src/resolver/verify.ts +237 -0
- package/src/shims/go/index.ts +14 -0
- package/src/shims/go/proxy.ts +336 -0
- package/src/shims/go/server.ts +82 -0
- package/src/shims/index.ts +20 -0
- package/src/shims/npm/index.ts +14 -0
- package/src/shims/npm/registry.ts +288 -0
- package/src/shims/npm/server.ts +84 -0
- package/src/shims/oci/index.ts +14 -0
- package/src/shims/oci/registry.ts +334 -0
- package/src/shims/oci/server.ts +94 -0
- package/src/social.ts +116 -0
- package/src/web/html.ts +120 -0
- package/src/web/index.ts +8 -0
- package/src/web/routes.ts +449 -0
- package/src/web/server.ts +256 -0
- package/src/wiki.ts +102 -0
|
@@ -0,0 +1,256 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Read-only web UI server for gitd.
|
|
3
|
+
*
|
|
4
|
+
* Serves HTML pages rendered from DWN records. Supports viewing ANY
|
|
5
|
+
* DWN-enabled git repo — the target DID is extracted from the URL path:
|
|
6
|
+
*
|
|
7
|
+
* GET / Landing page (browse any DID)
|
|
8
|
+
* GET /:did Repo overview for that DID
|
|
9
|
+
* GET /:did/issues Issues list
|
|
10
|
+
* GET /:did/issues/:number Issue detail
|
|
11
|
+
* GET /:did/patches Patches list
|
|
12
|
+
* GET /:did/patches/:number Patch detail
|
|
13
|
+
* GET /:did/releases Releases list
|
|
14
|
+
* GET /:did/wiki Wiki list
|
|
15
|
+
* GET /:did/wiki/:slug Wiki page detail
|
|
16
|
+
*
|
|
17
|
+
* When `targetDid` differs from the local agent's DID, every query
|
|
18
|
+
* passes `from: targetDid` so the SDK routes the request to the remote
|
|
19
|
+
* DWN endpoint resolved from the target's DID document.
|
|
20
|
+
*
|
|
21
|
+
* No client-side JavaScript, no build step — pure server-rendered HTML.
|
|
22
|
+
*
|
|
23
|
+
* @module
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
import type { AgentContext } from '../cli/agent.js';
|
|
27
|
+
import type { Server } from 'node:http';
|
|
28
|
+
|
|
29
|
+
import { createServer } from 'node:http';
|
|
30
|
+
|
|
31
|
+
import { esc } from './html.js';
|
|
32
|
+
import {
|
|
33
|
+
issueDetailPage,
|
|
34
|
+
issuesListPage,
|
|
35
|
+
overviewPage,
|
|
36
|
+
patchDetailPage,
|
|
37
|
+
patchesListPage,
|
|
38
|
+
releasesListPage,
|
|
39
|
+
wikiDetailPage,
|
|
40
|
+
wikiListPage,
|
|
41
|
+
} from './routes.js';
|
|
42
|
+
|
|
43
|
+
// ---------------------------------------------------------------------------
|
|
44
|
+
// Types
|
|
45
|
+
// ---------------------------------------------------------------------------
|
|
46
|
+
|
|
47
|
+
export type WebServerOptions = {
|
|
48
|
+
ctx : AgentContext;
|
|
49
|
+
port : number;
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
// ---------------------------------------------------------------------------
|
|
53
|
+
// DID extraction
|
|
54
|
+
// ---------------------------------------------------------------------------
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* DID methods use the pattern `did:<method>:<id>`. The method and id
|
|
58
|
+
* segments may contain alphanumerics, dots, dashes, underscores, and
|
|
59
|
+
* percent-encoded characters. We capture everything up to the next `/`
|
|
60
|
+
* or end of string.
|
|
61
|
+
*/
|
|
62
|
+
const DID_PREFIX_RE = /^\/(did:[a-z0-9]+:[a-zA-Z0-9._:%-]+)(\/.*)?$/;
|
|
63
|
+
|
|
64
|
+
// ---------------------------------------------------------------------------
|
|
65
|
+
// Router
|
|
66
|
+
// ---------------------------------------------------------------------------
|
|
67
|
+
|
|
68
|
+
/** Route an incoming request to the appropriate page handler. */
|
|
69
|
+
export async function handleRequest(
|
|
70
|
+
ctx: AgentContext,
|
|
71
|
+
url: URL,
|
|
72
|
+
): Promise<{ status: number; body: string }> {
|
|
73
|
+
const path = url.pathname;
|
|
74
|
+
|
|
75
|
+
// Root landing page — browse any DID.
|
|
76
|
+
if (path === '/' || path === '') {
|
|
77
|
+
return { status: 200, body: landingPage(ctx.did) };
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
// Extract the target DID from the URL.
|
|
81
|
+
const didMatch = path.match(DID_PREFIX_RE);
|
|
82
|
+
if (!didMatch) {
|
|
83
|
+
return { status: 404, body: notFound('Page not found') };
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
const targetDid = didMatch[1];
|
|
87
|
+
const rest = didMatch[2] ?? '/';
|
|
88
|
+
const basePath = `/${targetDid}`;
|
|
89
|
+
|
|
90
|
+
// Wrap route dispatch in try/catch — DID resolution failures (invalid
|
|
91
|
+
// or unreachable DIDs) are surfaced as a friendly error page rather
|
|
92
|
+
// than crashing the server.
|
|
93
|
+
try {
|
|
94
|
+
return await dispatchRoute(ctx, targetDid, basePath, rest);
|
|
95
|
+
} catch (err) {
|
|
96
|
+
const msg = (err as Error).message ?? 'Unknown error';
|
|
97
|
+
return { status: 502, body: didError(targetDid, msg) };
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
/** Dispatch to the correct route handler within a `/:did/...` namespace. */
|
|
102
|
+
async function dispatchRoute(
|
|
103
|
+
ctx: AgentContext, targetDid: string, basePath: string, rest: string,
|
|
104
|
+
): Promise<{ status: number; body: string }> {
|
|
105
|
+
// Static route matching within the DID namespace.
|
|
106
|
+
if (rest === '/' || rest === '') {
|
|
107
|
+
return { status: 200, body: await overviewPage(ctx, targetDid, basePath) };
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
if (rest === '/issues') {
|
|
111
|
+
return { status: 200, body: await issuesListPage(ctx, targetDid, basePath) };
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
if (rest === '/patches') {
|
|
115
|
+
return { status: 200, body: await patchesListPage(ctx, targetDid, basePath) };
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
if (rest === '/releases') {
|
|
119
|
+
return { status: 200, body: await releasesListPage(ctx, targetDid, basePath) };
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
if (rest === '/wiki') {
|
|
123
|
+
return { status: 200, body: await wikiListPage(ctx, targetDid, basePath) };
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
// Dynamic route matching.
|
|
127
|
+
const issueMatch = rest.match(/^\/issues\/(\d+)$/);
|
|
128
|
+
if (issueMatch) {
|
|
129
|
+
const html = await issueDetailPage(ctx, targetDid, basePath, issueMatch[1]);
|
|
130
|
+
if (html) { return { status: 200, body: html }; }
|
|
131
|
+
return { status: 404, body: notFound('Issue not found') };
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
const patchMatch = rest.match(/^\/patches\/(\d+)$/);
|
|
135
|
+
if (patchMatch) {
|
|
136
|
+
const html = await patchDetailPage(ctx, targetDid, basePath, patchMatch[1]);
|
|
137
|
+
if (html) { return { status: 200, body: html }; }
|
|
138
|
+
return { status: 404, body: notFound('Patch not found') };
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
const wikiMatch = rest.match(/^\/wiki\/([a-zA-Z0-9_-]+)$/);
|
|
142
|
+
if (wikiMatch) {
|
|
143
|
+
const html = await wikiDetailPage(ctx, targetDid, basePath, wikiMatch[1]);
|
|
144
|
+
if (html) { return { status: 200, body: html }; }
|
|
145
|
+
return { status: 404, body: notFound('Wiki page not found') };
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
return { status: 404, body: notFound('Page not found') };
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
// ---------------------------------------------------------------------------
|
|
152
|
+
// Server
|
|
153
|
+
// ---------------------------------------------------------------------------
|
|
154
|
+
|
|
155
|
+
/** Start the web UI server. Returns the server instance. */
|
|
156
|
+
export function startWebServer(options: WebServerOptions): Server {
|
|
157
|
+
const { ctx, port } = options;
|
|
158
|
+
|
|
159
|
+
const server = createServer(async (req, res) => {
|
|
160
|
+
// Health check endpoint.
|
|
161
|
+
if (req.url === '/health') {
|
|
162
|
+
res.writeHead(200, { 'Content-Type': 'application/json' });
|
|
163
|
+
res.end(JSON.stringify({ status: 'ok', service: 'web-ui' }));
|
|
164
|
+
return;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
try {
|
|
168
|
+
const url = new URL(req.url ?? '/', `http://localhost:${port}`);
|
|
169
|
+
const result = await handleRequest(ctx, url);
|
|
170
|
+
res.writeHead(result.status, { 'Content-Type': 'text/html; charset=utf-8' });
|
|
171
|
+
res.end(result.body);
|
|
172
|
+
} catch (err) {
|
|
173
|
+
console.error(`Web UI error: ${(err as Error).message}`);
|
|
174
|
+
res.writeHead(500, { 'Content-Type': 'text/html; charset=utf-8' });
|
|
175
|
+
res.end(notFound('Internal server error'));
|
|
176
|
+
}
|
|
177
|
+
});
|
|
178
|
+
|
|
179
|
+
server.listen(port, () => {
|
|
180
|
+
console.log(`Web UI running at http://localhost:${port}`);
|
|
181
|
+
console.log(`\nBrowse your own repo: http://localhost:${port}/${ctx.did}`);
|
|
182
|
+
console.log('Browse any DWN repo: http://localhost:' + `${port}/<did>`);
|
|
183
|
+
console.log('\nPress Ctrl+C to stop.\n');
|
|
184
|
+
});
|
|
185
|
+
|
|
186
|
+
return server;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
// ---------------------------------------------------------------------------
|
|
190
|
+
// Helpers
|
|
191
|
+
// ---------------------------------------------------------------------------
|
|
192
|
+
|
|
193
|
+
function didError(targetDid: string, message: string): string {
|
|
194
|
+
return `<!DOCTYPE html>
|
|
195
|
+
<html><head><title>DID Error</title>
|
|
196
|
+
<style>body{font-family:sans-serif;display:flex;align-items:center;justify-content:center;height:100vh;margin:0;background:#f6f8fa}
|
|
197
|
+
.msg{text-align:center;max-width:600px}h1{color:#24292f}p{color:#57606a}code{background:#f0f0f0;padding:2px 6px;border-radius:4px}
|
|
198
|
+
a{color:#0969da}</style></head>
|
|
199
|
+
<body><div class="msg"><h1>Cannot reach DWN</h1>
|
|
200
|
+
<p>Could not resolve or connect to <code>${esc(targetDid)}</code>.</p>
|
|
201
|
+
<p style="font-size:0.9em">${esc(message)}</p>
|
|
202
|
+
<p><a href="/">Go to home</a></p></div></body></html>`;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
function notFound(message: string): string {
|
|
206
|
+
return `<!DOCTYPE html>
|
|
207
|
+
<html><head><title>${esc(message)}</title>
|
|
208
|
+
<style>body{font-family:sans-serif;display:flex;align-items:center;justify-content:center;height:100vh;margin:0;background:#f6f8fa}
|
|
209
|
+
.msg{text-align:center}h1{color:#24292f}a{color:#0969da}</style></head>
|
|
210
|
+
<body><div class="msg"><h1>${esc(message)}</h1><p><a href="/">Go to home</a></p></div></body></html>`;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
function landingPage(localDid: string): string {
|
|
214
|
+
return `<!DOCTYPE html>
|
|
215
|
+
<html lang="en">
|
|
216
|
+
<head>
|
|
217
|
+
<meta charset="utf-8">
|
|
218
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
219
|
+
<title>gitd — Decentralized Code Forge</title>
|
|
220
|
+
<style>
|
|
221
|
+
*, *::before, *::after { box-sizing: border-box; }
|
|
222
|
+
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
|
223
|
+
line-height: 1.6; color: #24292f; margin: 0; padding: 0; background: #f6f8fa; }
|
|
224
|
+
a { color: #0969da; text-decoration: none; }
|
|
225
|
+
a:hover { text-decoration: underline; }
|
|
226
|
+
.container { max-width: 640px; margin: 80px auto; padding: 0 16px; }
|
|
227
|
+
.card { background: #fff; border: 1px solid #d0d7de; border-radius: 6px; padding: 24px; margin-bottom: 16px; }
|
|
228
|
+
h1 { margin-top: 0; }
|
|
229
|
+
.meta { color: #57606a; font-size: 0.9em; }
|
|
230
|
+
input[type=text] { width: 100%; padding: 10px 14px; font-size: 1em; border: 1px solid #d0d7de;
|
|
231
|
+
border-radius: 6px; font-family: monospace; margin-bottom: 12px; }
|
|
232
|
+
button { background: #2da44e; color: #fff; border: none; padding: 10px 20px; font-size: 1em;
|
|
233
|
+
border-radius: 6px; cursor: pointer; }
|
|
234
|
+
button:hover { background: #218838; }
|
|
235
|
+
.or { text-align: center; color: #57606a; margin: 16px 0; }
|
|
236
|
+
</style>
|
|
237
|
+
</head>
|
|
238
|
+
<body>
|
|
239
|
+
<div class="container">
|
|
240
|
+
<div class="card">
|
|
241
|
+
<h1>gitd</h1>
|
|
242
|
+
<p>Browse any DWN-enabled git repository by entering a DID below.</p>
|
|
243
|
+
<form onsubmit="location.href='/'+document.getElementById('did').value;return false">
|
|
244
|
+
<input type="text" id="did" placeholder="did:dht:..." autocomplete="off">
|
|
245
|
+
<button type="submit">Browse</button>
|
|
246
|
+
</form>
|
|
247
|
+
</div>
|
|
248
|
+
<div class="or">— or —</div>
|
|
249
|
+
<div class="card">
|
|
250
|
+
<p>Browse the local agent's repository:</p>
|
|
251
|
+
<p><a href="/${esc(localDid)}"><code>${esc(localDid)}</code></a></p>
|
|
252
|
+
</div>
|
|
253
|
+
</div>
|
|
254
|
+
</body>
|
|
255
|
+
</html>`;
|
|
256
|
+
}
|
package/src/wiki.ts
ADDED
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Forge Wiki Protocol — collaborative documentation with edit history.
|
|
3
|
+
*
|
|
4
|
+
* Wiki pages are mutable (updated in place). Each edit creates an `$immutable`
|
|
5
|
+
* `pageHistory` record capturing the diff, providing a permanent audit trail.
|
|
6
|
+
*
|
|
7
|
+
* Composes with the Forge Repo protocol via `uses` for role-based authorization.
|
|
8
|
+
*
|
|
9
|
+
* @module
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
import type { ProtocolDefinition } from '@enbox/dwn-sdk-js';
|
|
13
|
+
|
|
14
|
+
import { defineProtocol } from '@enbox/api';
|
|
15
|
+
|
|
16
|
+
// ---------------------------------------------------------------------------
|
|
17
|
+
// Data types
|
|
18
|
+
// ---------------------------------------------------------------------------
|
|
19
|
+
|
|
20
|
+
/** Data shape for a wiki page (body is markdown, stored as data payload). */
|
|
21
|
+
export type PageData = {
|
|
22
|
+
slug : string;
|
|
23
|
+
title : string;
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
/** Data shape for a wiki page history entry. */
|
|
27
|
+
export type PageHistoryData = {
|
|
28
|
+
editedBy : string;
|
|
29
|
+
summary? : string;
|
|
30
|
+
diff? : string;
|
|
31
|
+
previousCid?: string;
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
// ---------------------------------------------------------------------------
|
|
35
|
+
// Schema map
|
|
36
|
+
// ---------------------------------------------------------------------------
|
|
37
|
+
|
|
38
|
+
/** Maps protocol type names to their TypeScript data shapes. */
|
|
39
|
+
export type ForgeWikiSchemaMap = {
|
|
40
|
+
page : PageData;
|
|
41
|
+
pageHistory : PageHistoryData;
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
// ---------------------------------------------------------------------------
|
|
45
|
+
// Protocol definition
|
|
46
|
+
// ---------------------------------------------------------------------------
|
|
47
|
+
|
|
48
|
+
export const ForgeWikiDefinition = {
|
|
49
|
+
protocol : 'https://enbox.org/protocols/forge/wiki',
|
|
50
|
+
published : true,
|
|
51
|
+
uses : {
|
|
52
|
+
repo: 'https://enbox.org/protocols/forge/repo',
|
|
53
|
+
},
|
|
54
|
+
types: {
|
|
55
|
+
page: {
|
|
56
|
+
schema : 'https://enbox.org/schemas/forge/wiki-page',
|
|
57
|
+
dataFormats : ['text/markdown'],
|
|
58
|
+
},
|
|
59
|
+
pageHistory: {
|
|
60
|
+
schema : 'https://enbox.org/schemas/forge/wiki-history',
|
|
61
|
+
dataFormats : ['application/json'],
|
|
62
|
+
},
|
|
63
|
+
},
|
|
64
|
+
structure: {
|
|
65
|
+
repo: {
|
|
66
|
+
$ref: 'repo:repo',
|
|
67
|
+
|
|
68
|
+
page: {
|
|
69
|
+
$actions: [
|
|
70
|
+
{ who: 'anyone', can: ['read'] },
|
|
71
|
+
{ role: 'repo:repo/maintainer', can: ['create', 'update', 'delete'] },
|
|
72
|
+
{ role: 'repo:repo/contributor', can: ['create', 'update'] },
|
|
73
|
+
],
|
|
74
|
+
$tags: {
|
|
75
|
+
$requiredTags : ['slug', 'title'],
|
|
76
|
+
$allowUndefinedTags : false,
|
|
77
|
+
slug : { type: 'string' },
|
|
78
|
+
title : { type: 'string' },
|
|
79
|
+
},
|
|
80
|
+
|
|
81
|
+
pageHistory: {
|
|
82
|
+
$immutable : true,
|
|
83
|
+
$actions : [
|
|
84
|
+
{ who: 'anyone', can: ['read'] },
|
|
85
|
+
{ role: 'repo:repo/maintainer', can: ['create'] },
|
|
86
|
+
{ role: 'repo:repo/contributor', can: ['create'] },
|
|
87
|
+
],
|
|
88
|
+
},
|
|
89
|
+
},
|
|
90
|
+
},
|
|
91
|
+
},
|
|
92
|
+
} as const satisfies ProtocolDefinition;
|
|
93
|
+
|
|
94
|
+
// ---------------------------------------------------------------------------
|
|
95
|
+
// Typed protocol export
|
|
96
|
+
// ---------------------------------------------------------------------------
|
|
97
|
+
|
|
98
|
+
/** Typed Forge Wiki protocol for use with `dwn.using()`. */
|
|
99
|
+
export const ForgeWikiProtocol = defineProtocol(
|
|
100
|
+
ForgeWikiDefinition,
|
|
101
|
+
{} as ForgeWikiSchemaMap,
|
|
102
|
+
);
|