dsh-ask-from-text 0.0.0-stage → 0.1.13

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.
@@ -0,0 +1,3 @@
1
+ - insert:
2
+ - id: ask-from-text
3
+ name: 'dsh-ask-from-text'
Binary file
Binary file
package/icon.svg ADDED
@@ -0,0 +1,8 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64">
2
+ <rect width="64" height="64" rx="15" fill="#20262E"/>
3
+ <path d="M14 22h28M14 31h20" stroke="#F4F6F8" stroke-width="3" stroke-linecap="round"/>
4
+ <path d="M14 40h18" stroke="#F08A68" stroke-width="3.5" stroke-linecap="round"/>
5
+ <path d="M31 48c0-8 6-13 14-13" fill="none" stroke="#5FC9B8" stroke-width="3" stroke-linecap="round"/>
6
+ <circle cx="45" cy="35" r="4" fill="#5FC9B8"/>
7
+ <circle cx="14" cy="48" r="2.8" fill="#F08A68"/>
8
+ </svg>
package/index.js ADDED
@@ -0,0 +1,2 @@
1
+ /** Host half of the inline-followup bundle; all behavior lives in client.js. */
2
+ export function apply() {}
package/locale/en.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "Ask from Text",
4
+ "description": "Select text in a completed assistant answer, ask in an independent input window, and continue in a real Session branch with colored marks, a branch tree, a stage view, and a collapsible sidebar group. Branches are real Sessions; sent branches can only be archived, and inherited context is visible to the model but hidden in the UI."
5
+ }
6
+ }
package/locale/zh.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "划词追问",
4
+ "description": "在已完成的 assistant 回答中划选文字,弹出独立输入浮窗,在真实 Session 分支中继续追问;支持彩色标记、分支树、舞台放大和左侧栏折叠。分支是真实 Session;已发送分支只能归档,继承前缀对模型可见、在 UI 中隐藏。"
5
+ }
6
+ }
package/package.json CHANGED
@@ -1,6 +1,72 @@
1
1
  {
2
2
  "name": "dsh-ask-from-text",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.1.13",
4
+ "type": "module",
5
+ "description": "Ask a follow-up from selected text in a DeepSeek Harness answer, in a real Session branch with a tree of context.",
6
+ "exports": {
7
+ ".": "./index.js",
8
+ "./client": "./client.js",
9
+ "./locale/*.json": "./locale/*.json",
10
+ "./icon": "./icon.svg"
11
+ },
12
+ "files": [
13
+ "index.js",
14
+ "client.js",
15
+ "cordis.patch.yml",
16
+ "locale/*.json",
17
+ "docs/images",
18
+ "icon.svg",
19
+ "README.md",
20
+ "LICENSE",
21
+ "CHANGELOG.md"
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-api-session-controller",
32
+ "@deepseek-ai/dsh-client-ui-layout",
33
+ "@deepseek-ai/dsh-client-ui-session",
34
+ "@deepseek-ai/dsh-client-ui-conversation",
35
+ "@deepseek-ai/dsh-client-ui-chat",
36
+ "@deepseek-ai/dsh-client-locale"
37
+ ]
38
+ }
39
+ },
40
+ "keywords": [
41
+ "dsh",
42
+ "dsh-plugin",
43
+ "deepseek-harness",
44
+ "deepseek",
45
+ "chat",
46
+ "follow-up",
47
+ "branch",
48
+ "session-fork",
49
+ "ui"
50
+ ],
51
+ "author": "gbn0219",
52
+ "license": "MIT",
53
+ "homepage": "https://github.com/gbn0219/dsh-ask-from-text#readme",
54
+ "repository": {
55
+ "type": "git",
56
+ "url": "git+https://github.com/gbn0219/dsh-ask-from-text.git"
57
+ },
58
+ "bugs": {
59
+ "url": "https://github.com/gbn0219/dsh-ask-from-text/issues"
60
+ },
61
+ "engines": {
62
+ "dsh": ">=0.2.2-0 <0.3.0"
63
+ },
64
+ "main": "index.js",
65
+ "scripts": {
66
+ "check": "node --check index.js && node --check client.js",
67
+ "pack:check": "npm pack --dry-run"
68
+ },
69
+ "publishConfig": {
70
+ "access": "public"
71
+ }
72
+ }