@auggieteo/dsh-synthetic-web-search 0.2.1 → 0.2.2
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 +4 -2
- package/cordis.patch.yml +7 -8
- package/examples/synthetic.cordis.yml +3 -1
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -42,7 +42,7 @@ Then rerun the same `dsh plugin --profile web add git+https://…` command. Do n
|
|
|
42
42
|
|
|
43
43
|
### Activate the provider
|
|
44
44
|
|
|
45
|
-
The install command adds this package to `dsh.profile.bundles`. Its bundled `cordis.patch.yml` inserts the `web-search
|
|
45
|
+
The install command adds this package to `dsh.profile.bundles`. Its bundled `cordis.patch.yml` inserts the `synthetic-web-search` row — the same id the manual rows above use.
|
|
46
46
|
|
|
47
47
|
The row belongs in the **web host profile**, not an agent preset: `ctx.web` is process-wide and each provider must register once. [`examples/synthetic.cordis.yml`](examples/synthetic.cordis.yml) shows the equivalent manual row.
|
|
48
48
|
|
|
@@ -88,7 +88,9 @@ Provider selection is intentionally unambiguous. The existing `@deepseek-ai/dsh-
|
|
|
88
88
|
|
|
89
89
|
## Compatibility
|
|
90
90
|
|
|
91
|
-
The public package name is `@auggieteo/dsh-synthetic-web-search`, replacing the former local `@deepseek-ai/dsh-web-search-synthetic` reference. The browser client registers both package ids, so legacy profile rows continue to load during migration. The
|
|
91
|
+
The public package name is `@auggieteo/dsh-synthetic-web-search`, replacing the former local `@deepseek-ai/dsh-web-search-synthetic` reference. The browser client registers both package ids, so legacy profile rows continue to load during migration. The bundle row id (`synthetic-web-search`) matches the id existing manual profile rows already use, so the plugin mounts once. The Settings namespace (`web-search-synthetic`) and default credential reference (`SYNTHETIC_API_KEY`) remain unchanged, so existing persisted plugin settings and credentials continue to apply after the row is updated.
|
|
92
|
+
|
|
93
|
+
0.2.1 shipped a bundle row with id `web-search-synthetic`. If you installed 0.2.1 as a bundle and kept a manual `- insert:` block, the plugin mounted twice. Upgrade to 0.2.2 or newer, which aligns the bundle row id with the manual row id, then keep only one mount.
|
|
92
94
|
|
|
93
95
|
## Development and verification
|
|
94
96
|
|
package/cordis.patch.yml
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Bundle patch for @auggieteo/dsh-synthetic-web-search: inserts its host row into the profile tree.
|
|
2
|
+
# `dsh plugin --profile web add <this package>` appends this bundle to
|
|
3
|
+
# dsh.profile.bundles automatically. Client roster entries come from the
|
|
4
|
+
# dsh.client block in package.json — no row needed here.
|
|
5
|
+
|
|
2
6
|
- insert:
|
|
3
|
-
- id: web-search
|
|
4
|
-
name:
|
|
5
|
-
config:
|
|
6
|
-
# Settings stores the key using this DSH credential reference.
|
|
7
|
-
apiKeyEnv: SYNTHETIC_API_KEY
|
|
8
|
-
# Optional; defaults to https://api.synthetic.new.
|
|
9
|
-
# baseURL: https://api.synthetic.new
|
|
7
|
+
- id: synthetic-web-search
|
|
8
|
+
name: "@auggieteo/dsh-synthetic-web-search"
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
# Host-plane row: it registers a provider into the process-wide `web` service.
|
|
2
2
|
# Install the package into the target profile before adding this row.
|
|
3
|
-
|
|
3
|
+
# `dsh plugin --profile web add @auggieteo/dsh-synthetic-web-search` mounts
|
|
4
|
+
# this row through the shipped bundle; this file is the manual equivalent.
|
|
5
|
+
- id: synthetic-web-search
|
|
4
6
|
name: '@auggieteo/dsh-synthetic-web-search'
|
|
5
7
|
config:
|
|
6
8
|
# The Settings card stores its key under this DSH credential reference.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@auggieteo/dsh-synthetic-web-search",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "Synthetic-backed search provider and Settings card for the DeepSeek Harness web capability seam (ctx.web)",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"publishConfig": {
|
|
@@ -64,16 +64,14 @@
|
|
|
64
64
|
"prepack": "npm run build",
|
|
65
65
|
"verify": "npm run clean && npm run check && npm test && npm run build && npm pack --dry-run"
|
|
66
66
|
},
|
|
67
|
-
"dependencies": {
|
|
68
|
-
"@deepseek-ai/schemastery": "^3.18.1"
|
|
69
|
-
},
|
|
70
67
|
"peerDependencies": {
|
|
71
68
|
"@deepseek-ai/cordis": "^4.0.1",
|
|
72
69
|
"@deepseek-ai/dsh-credentials": "^0.1.1-rc.2",
|
|
73
70
|
"@deepseek-ai/dsh-invariants": "^0.1.1-rc.2",
|
|
74
71
|
"@deepseek-ai/dsh-launch-environment": "^0.1.1-rc.2",
|
|
75
72
|
"@deepseek-ai/dsh-settings": "^0.1.1-rc.2",
|
|
76
|
-
"@deepseek-ai/dsh-web": "^0.1.1-rc.2"
|
|
73
|
+
"@deepseek-ai/dsh-web": "^0.1.1-rc.2",
|
|
74
|
+
"@deepseek-ai/schemastery": "^3.18.1"
|
|
77
75
|
},
|
|
78
76
|
"devDependencies": {
|
|
79
77
|
"@deepseek-ai/cordis": "^4.0.1",
|
|
@@ -82,7 +80,9 @@
|
|
|
82
80
|
"@deepseek-ai/dsh-launch-environment": "^0.1.1-rc.2",
|
|
83
81
|
"@deepseek-ai/dsh-settings": "^0.1.1-rc.2",
|
|
84
82
|
"@deepseek-ai/dsh-web": "^0.1.1-rc.2",
|
|
83
|
+
"@deepseek-ai/schemastery": "^3.18.1",
|
|
85
84
|
"@types/node": "^22.0.0",
|
|
85
|
+
"js-yaml": "^4.1.0",
|
|
86
86
|
"tsx": "^4.19.0",
|
|
87
87
|
"typescript": "^5.7.0"
|
|
88
88
|
}
|