dsh-browser-firefox 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
+ # Browser bridge layer for the dsh `web` profile.
2
+ #
3
+ # `dsh plugin --profile web add` registers this package's `dsh.bundle`
4
+ # manifest, so both the repository launcher and `npx @deepseek-ai/dsh web`
5
+ # apply this patch without an extra command-line option.
6
+ #
7
+ # On first boot the plugin generates a bearer token and persists it at
8
+ # ~/.dsh/ext-bridge-token (chmod 0600). Local extensions discover the bridge
9
+ # without manual token entry. To pin a fixed token for a remote deployment,
10
+ # set DSH_EXT_TOKEN and reference it below.
11
+ # Extension-created sessions default to the ~/.dsh/browser-sessions workspace.
12
+ # Set DSH_BROWSER_SESSION_WORKSPACE to choose another path, or to an empty
13
+ # string to keep those sessions Ungrouped.
14
+ # Sessions materialize only on the first message (deferSessionCreate defaults
15
+ # to true): opening the side panel without chatting leaves no session behind.
16
+ #
17
+ # Security: the bridge path carries its own token auth and refuses privileged
18
+ # gateway methods (settings/credentials/open-*) for non-loopback remotes. Do
19
+ # not run `dsh web --host 0.0.0.0` on untrusted networks with this layer.
20
+
21
+ - insert:
22
+ - id: bridge-browser
23
+ name: '@deepseek-ai/dsh-bridge-browser'
24
+ config:
25
+ token: !!js process.env.DSH_EXT_TOKEN
26
+ sessionWorkspacePath: !!js process.env.DSH_BROWSER_SESSION_WORKSPACE
27
+ toolTimeoutMs: 60000
28
+ snapshotMaxChars: 12000
29
+ maxInteractiveItems: 120