@shellraining/dsh-annotation 0.0.0-stage → 0.1.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/lib/index.js ADDED
@@ -0,0 +1,4 @@
1
+ // Generated by `pnpm run build`; edit src/, not this file.
2
+ // src/index.ts
3
+ function apply() {}
4
+ export { apply };
package/locale/en.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "Annotation",
4
+ "description": "Annotate selected text and send the original text and annotations with your message."
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,64 @@
1
1
  {
2
2
  "name": "@shellraining/dsh-annotation",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
3
+ "version": "0.1.0",
4
+ "type": "module",
5
+ "description": "选中文字添加批注,并将原文与批注随消息发送。",
6
+ "main": "./lib/index.js",
7
+ "exports": {
8
+ ".": "./lib/index.js",
9
+ "./client": "./lib/client.js",
10
+ "./package.json": "./package.json",
11
+ "./locale/*.json": "./locale/*.json"
12
+ },
13
+ "files": [
14
+ "lib",
15
+ "cordis.patch.yml",
16
+ "icon.png",
17
+ "locale"
18
+ ],
19
+ "engines": {
20
+ "node": ">=20"
21
+ },
22
+ "devDependencies": {
23
+ "@deepseek-ai/dsh-client-ui-primitives": "0.2.1-rc.3",
24
+ "@types/react": "18.3.31",
25
+ "@types/react-dom": "18.3.7",
26
+ "typescript": "7.0.2"
27
+ },
28
+ "dsh": {
29
+ "bundle": {
30
+ "patch": "./cordis.patch.yml"
31
+ },
32
+ "client": {
33
+ "platform": "web",
34
+ "inject": [
35
+ "@deepseek-ai/dsh-client-ui-session",
36
+ "@deepseek-ai/dsh-client-ui-conversation",
37
+ "@deepseek-ai/dsh-client-ui-chat",
38
+ "@deepseek-ai/dsh-client-ui-input-trigger"
39
+ ]
40
+ }
41
+ },
42
+ "license": "MIT",
43
+ "author": "shellRaining",
44
+ "repository": {
45
+ "type": "git",
46
+ "url": "git+https://github.com/shellRaining/dsh-plugins.git",
47
+ "directory": "plugins/annotation"
48
+ },
49
+ "homepage": "https://github.com/shellRaining/dsh-plugins/tree/main/plugins/annotation#readme",
50
+ "bugs": "https://github.com/shellRaining/dsh-plugins/issues",
51
+ "keywords": [
52
+ "deepseek-harness",
53
+ "dsh",
54
+ "dsh-plugin"
55
+ ],
56
+ "publishConfig": {
57
+ "access": "public"
58
+ },
59
+ "icon": "./icon.png",
60
+ "scripts": {
61
+ "typecheck": "tsc -p tsconfig.json",
62
+ "build": "pnpm run typecheck && node build.ts"
63
+ }
6
64
  }