@him666233/dsh-inline-diff 0.0.0-stage → 1.4.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/locale/en.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "Inline Diff",
4
+ "description": "Sees every code edit where it happens: inline per-edit diff cards with added/removed lines, exact old/new line numbers, hunk separators, moved-line and line-shift notes, plus an expandable side-by-side before/after viewer. Command, generic, search, and web tool rows can use the expanded style (IN/OUT open by default), including file-content/filename search and web search/fetch."
5
+ }
6
+ }
package/locale/zh.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "内联差异",
4
+ "description": "在对话里就地展示每一次代码修改:绿色新增、红色删除、修改前后行号、多个修改点的分隔横梁、移动代码与被动行号顺延的标注,并可点击放大为左右对照的修改前/修改后视图。命令、普通、搜索与网页工具行可选展开风格(默认展开 IN/OUT),文件内容/文件名搜索与网页搜索/抓取在展开风格下也使用同一套行样式。"
5
+ }
6
+ }
package/package.json CHANGED
@@ -1,6 +1,65 @@
1
1
  {
2
2
  "name": "@him666233/dsh-inline-diff",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "1.4.0",
4
+ "description": "Inline diff cards for DSH: per-edit diffs, automatic file-language detection with syntax highlighting (red/green-safe palette), expanded command/generic/search/web rows, read ranges, and a side-by-side viewer. Works in desktop and Web UI profiles.",
5
+ "type": "module",
6
+ "icon": "icon.svg",
7
+ "exports": {
8
+ ".": "./index.js",
9
+ "./client": "./client.js",
10
+ "./locale/*.json": "./locale/*.json",
11
+ "./icon": "./icon.svg"
12
+ },
13
+ "files": [
14
+ "index.js",
15
+ "client.js",
16
+ "cordis.patch.yml",
17
+ "locale/*.json",
18
+ "icon.svg",
19
+ "README.md",
20
+ "README.en.md",
21
+ "LICENSE"
22
+ ],
23
+ "dsh": {
24
+ "bundle": {
25
+ "patch": "./cordis.patch.yml"
26
+ },
27
+ "client": {
28
+ "platform": "web",
29
+ "immediately": true,
30
+ "inject": [
31
+ "@deepseek-ai/dsh-client-ui-slots",
32
+ "@deepseek-ai/dsh-client-ui-conversation"
33
+ ]
34
+ }
35
+ },
36
+ "engines": {
37
+ "dsh": ">=0.2.2-rc.1 <0.3.0"
38
+ },
39
+ "publishConfig": {
40
+ "access": "public"
41
+ },
42
+ "license": "MIT",
43
+ "author": {
44
+ "name": "Him666233",
45
+ "url": "https://github.com/Him666233"
46
+ },
47
+ "homepage": "https://github.com/Him666233/dsh-inline-diff#readme",
48
+ "repository": {
49
+ "type": "git",
50
+ "url": "git+https://github.com/Him666233/dsh-inline-diff.git"
51
+ },
52
+ "bugs": {
53
+ "url": "https://github.com/Him666233/dsh-inline-diff/issues"
54
+ },
55
+ "keywords": [
56
+ "dsh",
57
+ "dsh-plugin",
58
+ "deepseek-harness",
59
+ "diff",
60
+ "inline-diff",
61
+ "plugin",
62
+ "syntax-highlighting",
63
+ "language-detection"
64
+ ]
65
+ }