@dr-co/dsh-secret-form 0.1.0 → 0.2.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.
package/README.md CHANGED
@@ -18,8 +18,10 @@ frameworks, light and dark from the same markup.
18
18
 
19
19
  ## Install
20
20
 
21
- The package ships no `dsh.bundle`, so `dsh plugin add` installs it as a plain
22
- dependency and a profile patch row actually mounts it.
21
+ The package ships a `dsh.bundle` layer, so `dsh plugin add` both installs it and
22
+ mounts it: it shows up in the settings plugin list, where it can be switched off
23
+ or removed like any other plugin. Host-specific settings belong in the profile's
24
+ own patch as an id-targeted override.
23
25
 
24
26
  ### From npm
25
27
 
@@ -0,0 +1,14 @@
1
+ # Bundle layer for dsh-secret-form.
2
+ #
3
+ # A profile that installs this package gets the plugin mounted here, so the
4
+ # settings list can switch it off or remove it. Anything host-specific — most
5
+ # often publicUrl — belongs in the profile's own patch as an id-targeted
6
+ # override of `secret-form`, because a package cannot know the host's public
7
+ # origin.
8
+ - insert:
9
+ - id: secret-form
10
+ name: '@dr-co/dsh-secret-form'
11
+ config:
12
+ routePrefix: /secret
13
+ defaultTtlSeconds: 300
14
+ defaultLocale: en
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dr-co/dsh-secret-form",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "One-time secret links for DeepSeek Harness: the model asks, the human types into a web form, the value lands in the credential store or a file.",
5
5
  "type": "module",
6
6
  "main": "./index.mjs",
@@ -12,7 +12,8 @@
12
12
  "index.mjs",
13
13
  "lib/",
14
14
  "README.md",
15
- "LICENSE"
15
+ "LICENSE",
16
+ "cordis.patch.yml"
16
17
  ],
17
18
  "license": "MIT",
18
19
  "scripts": {
@@ -39,5 +40,10 @@
39
40
  "bugs": {
40
41
  "url": "https://github.com/unera/dsh-secret-form/issues"
41
42
  },
42
- "author": "Dmitry Oboukhov"
43
+ "author": "Dmitry Oboukhov",
44
+ "dsh": {
45
+ "bundle": {
46
+ "patch": "./cordis.patch.yml"
47
+ }
48
+ }
43
49
  }