@yadsh/dsh-l10n-overrides 0.1.3 → 0.1.5
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 -4
- package/compatibility.json +2 -6
- package/package.json +7 -9
- package/ROADMAP.md +0 -35
package/README.md
CHANGED
|
@@ -10,7 +10,7 @@ Runtime localization overrides for [DeepSeek Harness](https://github.com/deepsee
|
|
|
10
10
|
|
|
11
11
|
`dsh-l10n-overrides` overlays missing or incorrect locale entries without replacing the host locale service. Translation packs can also provide narrowly scoped DOM fallbacks for text and selected accessibility attributes.
|
|
12
12
|
|
|
13
|
-
[Specification](SPEC.md) · [Roadmap](ROADMAP.md)
|
|
13
|
+
[Specification](https://github.com/xarleyn/dsh-plugins/blob/main/plugins/dsh-l10n-overrides/SPEC.md) · [Roadmap](https://github.com/xarleyn/dsh-plugins/blob/main/plugins/dsh-l10n-overrides/ROADMAP.md)
|
|
14
14
|
|
|
15
15
|
## Installation
|
|
16
16
|
|
|
@@ -44,7 +44,7 @@ Restart the DeepSeek Harness host if bundle hot reload does not pick up the newl
|
|
|
44
44
|
- scoped fallbacks for `placeholder`, `title`, `aria-label`, and `alt` attributes;
|
|
45
45
|
- package and browser-bundle verification.
|
|
46
46
|
|
|
47
|
-
The implementation is tested, but it is not considered ready for a public release until it has real translation packs and integration coverage in a live DSH browser session. See the [roadmap](ROADMAP.md).
|
|
47
|
+
The implementation is tested, but it is not considered ready for a public release until it has real translation packs and integration coverage in a live DSH browser session. See the [roadmap](https://github.com/xarleyn/dsh-plugins/blob/main/plugins/dsh-l10n-overrides/ROADMAP.md).
|
|
48
48
|
|
|
49
49
|
## Translation packs
|
|
50
50
|
|
|
@@ -72,11 +72,11 @@ The package check runs formatting, type checking, tests, production builds, and
|
|
|
72
72
|
|
|
73
73
|
## Releases
|
|
74
74
|
|
|
75
|
-
This package uses independent Nx Version Plans from the monorepo. Add a plan with `pnpm release:plan`; maintainers publish verified tarballs through the shared [release workflow](
|
|
75
|
+
This package uses independent Nx Version Plans from the monorepo. Add a plan with `pnpm release:plan`; maintainers publish verified tarballs through the shared [release workflow](https://github.com/xarleyn/dsh-plugins/blob/main/docs/RELEASING.md).
|
|
76
76
|
|
|
77
77
|
## Contributing
|
|
78
78
|
|
|
79
|
-
Issues, translation packs, and focused pull requests are welcome. Read the monorepo [contribution guide](
|
|
79
|
+
Issues, translation packs, and focused pull requests are welcome. Read the monorepo [contribution guide](https://github.com/xarleyn/dsh-plugins/blob/main/CONTRIBUTING.md) and run the package check before submitting a change.
|
|
80
80
|
|
|
81
81
|
## License
|
|
82
82
|
|
package/compatibility.json
CHANGED
|
@@ -2,12 +2,8 @@
|
|
|
2
2
|
"deepseekHarness": {
|
|
3
3
|
"channel": "next",
|
|
4
4
|
"range": ">=0.1.5-rc.2 <0.2.0",
|
|
5
|
-
"testedReleases": [
|
|
6
|
-
|
|
7
|
-
],
|
|
8
|
-
"requiredClientFeatures": [
|
|
9
|
-
"client-locale"
|
|
10
|
-
]
|
|
5
|
+
"testedReleases": ["0.1.5-rc.2"],
|
|
6
|
+
"requiredClientFeatures": ["client-locale"]
|
|
11
7
|
},
|
|
12
8
|
"node": "^22.19.0 || >=24.0.0"
|
|
13
9
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yadsh/dsh-l10n-overrides",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"description": "English localization overrides for DeepSeek Harness plugins",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -45,7 +45,6 @@
|
|
|
45
45
|
"cordis.patch.yml",
|
|
46
46
|
"compatibility.json",
|
|
47
47
|
"README.md",
|
|
48
|
-
"ROADMAP.md",
|
|
49
48
|
"LICENSE"
|
|
50
49
|
],
|
|
51
50
|
"keywords": [
|
|
@@ -53,7 +52,9 @@
|
|
|
53
52
|
"deepseek-harness",
|
|
54
53
|
"dsh",
|
|
55
54
|
"dsh-plugin",
|
|
55
|
+
"cordis",
|
|
56
56
|
"localization",
|
|
57
|
+
"i18n",
|
|
57
58
|
"web-ui"
|
|
58
59
|
],
|
|
59
60
|
"license": "MIT",
|
|
@@ -65,7 +66,7 @@
|
|
|
65
66
|
"@deepseek-ai/dsh-client-locale": ">=0.1.5-rc.2 <0.2.0"
|
|
66
67
|
},
|
|
67
68
|
"dependencies": {
|
|
68
|
-
"@yadsh/dsh-plugin-log": "^0.
|
|
69
|
+
"@yadsh/dsh-plugin-log": "^0.3.1"
|
|
69
70
|
},
|
|
70
71
|
"devDependencies": {
|
|
71
72
|
"@deepseek-ai/cordis": "4.0.2",
|
|
@@ -73,7 +74,6 @@
|
|
|
73
74
|
"@types/node": "^26.4.0",
|
|
74
75
|
"eslint": "10.9.1",
|
|
75
76
|
"jsdom": "^26.1.0",
|
|
76
|
-
"prettier": "^3.6.2",
|
|
77
77
|
"tsdown": "^0.22.14",
|
|
78
78
|
"typescript": "^7.0.2",
|
|
79
79
|
"vitest": "^4.1.11",
|
|
@@ -86,13 +86,11 @@
|
|
|
86
86
|
"scripts": {
|
|
87
87
|
"clean": "node -e \"require('node:fs').rmSync('lib', { recursive: true, force: true })\"",
|
|
88
88
|
"lint": "eslint src tests scripts",
|
|
89
|
-
"format": "prettier --check . --end-of-line auto",
|
|
90
|
-
"format:write": "prettier --write . --end-of-line auto",
|
|
91
89
|
"typecheck": "tsc --noEmit",
|
|
92
90
|
"test": "vitest run",
|
|
93
91
|
"build": "pnpm run clean && tsdown && tsc -p tsconfig.build.json",
|
|
94
|
-
"
|
|
95
|
-
"verify": "pnpm run
|
|
96
|
-
"check": "pnpm run
|
|
92
|
+
"verify:package": "node scripts/verify-package.mjs && node scripts/verify-client-bundle.mjs",
|
|
93
|
+
"verify": "pnpm run verify:package",
|
|
94
|
+
"check": "pnpm run lint && pnpm run typecheck && pnpm run test && pnpm run build && pnpm run verify"
|
|
97
95
|
}
|
|
98
96
|
}
|
package/ROADMAP.md
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
# Roadmap
|
|
2
|
-
|
|
3
|
-
## Implemented foundation
|
|
4
|
-
|
|
5
|
-
- Translation pack contracts, validation, diagnostics, precedence, and lookup.
|
|
6
|
-
- Safe interpolation for named and positional placeholders.
|
|
7
|
-
- Reversible locale-runtime hook with shared-installation lifecycle handling.
|
|
8
|
-
- Scoped, exact-match DOM translation with mutation observation and restoration.
|
|
9
|
-
- DSH client composition and module-loader bundle generation.
|
|
10
|
-
- Unit, integration, build, and package smoke checks.
|
|
11
|
-
|
|
12
|
-
## Required before the first public release
|
|
13
|
-
|
|
14
|
-
- Run an end-to-end smoke test inside a real DSH browser session, including
|
|
15
|
-
plugin reload and disposal.
|
|
16
|
-
- Harden duplicate installation under real Cordis fibers: keep locale listeners
|
|
17
|
-
owned per fiber, DOM translators per document, and prevent a partially drained
|
|
18
|
-
installation from being leased again.
|
|
19
|
-
- Replace the example pack with reviewed translations for actual target plugins
|
|
20
|
-
and record their supported version ranges.
|
|
21
|
-
- Verify the packed npm tarball contents and imports from a clean consumer
|
|
22
|
-
project, not only from the repository build output.
|
|
23
|
-
- Confirm compatibility against the supported DSH and locale-plugin versions.
|
|
24
|
-
- Document installation and enablement once the real DSH loading path is
|
|
25
|
-
verified.
|
|
26
|
-
|
|
27
|
-
## Follow-up work
|
|
28
|
-
|
|
29
|
-
- Add optional settings and debug diagnostics UI.
|
|
30
|
-
- Support external or user-authored pack loading after defining a trust model.
|
|
31
|
-
- Add more target locales without changing the English-first core semantics.
|
|
32
|
-
- Split the DOM translation engine into smaller parsing, matching, and ownership
|
|
33
|
-
modules as its rule surface grows.
|
|
34
|
-
- Evaluate broader selector and SVG attribute support only with explicit tests;
|
|
35
|
-
the current HTML-oriented scope and attribute rules remain intentional.
|