@xiaoming_z/dsh-git 0.0.0-stage → 0.3.0

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.
@@ -0,0 +1,29 @@
1
+ # The DSH git panel's composition layer.
2
+ #
3
+ # One package carries both halves: the Host face (`exports["."]`) provides the
4
+ # git service and a read/write HTTP route table under /git-api, and the browser
5
+ # face (`exports["./client"]`, declared through `dsh.client`) registers the Git
6
+ # view. One Loader row mounts both — the client-modules registry finds the
7
+ # browser half by scanning enabled Loader entries for a package that declares
8
+ # `dsh.client`, so the row below is what puts the panel on screen.
9
+ #
10
+ # A bundle patch is applied in `dsh.profile.bundles` order, before the profile's
11
+ # own `cordis.patch.yml` and any `--patch` overlay.
12
+ #
13
+ # The row is inserted with no `config`, so the Host half falls back to its own
14
+ # defaults: it inspects the directory `dsh web` was launched from and refuses
15
+ # every other path. To widen or pin that, uncomment the block below and list the
16
+ # repository roots you actually want reachable.
17
+ #
18
+ # - id: git
19
+ # config:
20
+ # # A request for a path outside these prefixes is refused with HTTP 400.
21
+ # # Both sides are canonicalized with realpath, so a symlinked root
22
+ # # (macOS /tmp, a symlinked project directory) still matches.
23
+ # allowedRoots: !!js [process.cwd(), '/Users/xiaoming/Projects']
24
+ # # Used when a request omits `root`. Defaults to the process cwd.
25
+ # defaultRoot: !!js process.cwd()
26
+
27
+ - insert:
28
+ - id: git
29
+ name: '@xiaoming_z/dsh-git'
Binary file