@dr-co/dsh-secret-form 0.1.0 → 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.
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/locale/en.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "Secret forms",
4
+ "description": "One-time web links where the human types a secret into a form instead of the chat; the value lands in the credential store or a file."
5
+ }
6
+ }
package/locale/zh.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "密钥表单",
4
+ "description": "一次性网页表单:人在页面里填写密钥而不是发到聊天里,值直接写入凭据库或文件。"
5
+ }
6
+ }
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.3.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,9 @@
12
12
  "index.mjs",
13
13
  "lib/",
14
14
  "README.md",
15
- "LICENSE"
15
+ "LICENSE",
16
+ "cordis.patch.yml",
17
+ "locale/"
16
18
  ],
17
19
  "license": "MIT",
18
20
  "scripts": {
@@ -39,5 +41,10 @@
39
41
  "bugs": {
40
42
  "url": "https://github.com/unera/dsh-secret-form/issues"
41
43
  },
42
- "author": "Dmitry Oboukhov"
44
+ "author": "Dmitry Oboukhov",
45
+ "dsh": {
46
+ "bundle": {
47
+ "patch": "./cordis.patch.yml"
48
+ }
49
+ }
43
50
  }