@dungsil/dsh-plugin-ui-forge-chip 0.1.0 → 0.2.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/zh.json CHANGED
@@ -1,26 +1,54 @@
1
1
  {
2
2
  "meta": {
3
3
  "title": "Forge 操作按钮",
4
- "description": "通过连接 Forge 的紧凑输入框按钮提交、推送、创建或查看 PR。"
4
+ "description": "通过输入框按钮提交、推送、创建或查看 PR。Git 由主机直接执行,提交信息由辅助模型生成。"
5
5
  },
6
- "commit": "仅提交",
7
- "push": "推送",
6
+ "commit": "提交",
7
+ "commitPush": "提交并推送",
8
+ "defaultAction": "默认操作",
9
+ "menu": "更多 Git 操作",
8
10
  "pr": "创建 PR",
9
- "updatePr": "更新 PR",
10
11
  "viewPr": "查看 PR",
11
- "menu": "更多 Git 操作",
12
- "panel": "查看 PR",
13
- "hint": "请求此会话执行 Git 操作",
14
- "sending": "正在发送请求…",
15
- "error": "无法发送请求。重试前请检查会话。",
16
- "lookupError": "无法获取 Git 状态。请打开“查看 PR”检查。",
12
+ "committing": "正在提交…",
13
+ "pushing": "正在提交并推送…",
14
+ "creatingPr": "正在创建 PR…",
15
+ "error": "无法执行 Git 操作。请先检查会话再重试。",
16
+ "errorUnavailable": "会话正忙或未检出分支。请在会话空闲时重试。",
17
+ "errorNothingToCommit": "没有可提交的更改。",
18
+ "errorMessageFailed": "无法生成提交信息。请检查提交信息的模型设置。",
19
+ "errorCommitFailed": "Git 无法创建提交。请检查提交钩子和 Git 用户信息。",
20
+ "errorNoRemote": "此分支没有可推送的远程仓库。",
21
+ "errorPushFailed": "已创建提交,但推送失败。请检查远程仓库和凭据。",
22
+ "errorNotPushed": "创建 PR 前请先推送此分支。",
23
+ "errorUnsupported": "此代码托管平台不支持创建 PR。",
24
+ "errorPrFailed": "无法创建 PR。请检查代码托管平台 CLI 是否已登录。",
17
25
  "checks": "检查",
18
26
  "none": "无检查",
19
27
  "pending": "进行中",
20
28
  "success": "通过",
21
29
  "failure": "失败",
22
30
  "unknown": "未知",
23
- "promptCommit": "检查当前检出目录的更改,遵循仓库指引,将适当的更改以清晰的提交信息提交。不要推送或创建 PR。不要 amend、reset、丢弃更改或包含机密信息。范围不明确时请询问。",
24
- "promptPush": "检查当前检出目录的更改,遵循仓库指引提交适当的更改,并将当前分支推送到已配置的远程仓库。不要强制推送或创建 PR。不要 amend、reset、丢弃更改或包含机密信息。范围或远程仓库不明确时请询问。",
25
- "promptPr": "检查当前检出目录的更改,遵循仓库指引提交并推送适当的更改,然后创建 PR;如果此分支已有 PR,请更新它。遵循仓库的 PR 模板。不要强制推送、amend、reset、丢弃更改或包含机密信息。范围或目标分支不明确时请询问。"
31
+ "lookupError": "无法获取 Git 状态。请打开“查看 PR”检查。",
32
+ "integrateFf": "快进 {branch}",
33
+ "integrateCherryPick": "Cherry-pick 到 {branch}",
34
+ "integrateMerge": "合并到 {branch}",
35
+ "integrateRebase": "变基到 {branch}",
36
+ "integrateSquash": "Squash 到 {branch}",
37
+ "integrationMenu": "选择集成方式",
38
+ "integrationHint": "将此工作树的提交带入原始检出的当前分支",
39
+ "integrating": "正在集成…",
40
+ "blockedReadOnly": "此会话为只读,无法在原始检出中提交。",
41
+ "blockedDetached": "原始检出没有检出任何分支。",
42
+ "blockedInProgress": "原始检出中有正在进行的 Git 操作。",
43
+ "blockedStaged": "原始检出中有已暂存的更改。",
44
+ "blockedOverlap": "与原始检出中未提交的更改重叠:{paths}",
45
+ "integrationDone": "已集成到 {branch}。",
46
+ "integrationStale": "检出已变化,建议已刷新。请确认后重试。",
47
+ "integrationBusy": "另一个集成或回合正在运行。请在其结束后重试。",
48
+ "integrationFailed": "集成失败并已回滚。原始检出未被更改。",
49
+ "integrationCleanupRefused": "集成已停止。其 Git 状态可能属于其他操作,因此保持原样;请检查原始检出。",
50
+ "integrationError": "无法集成。请检查原始检出后重试。",
51
+ "toolbar": "Git 操作",
52
+ "shortcut": "Git 操作 {n}",
53
+ "shortcutAlt": "Git 操作 {n}(备用)"
26
54
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dungsil/dsh-plugin-ui-forge-chip",
3
- "version": "0.1.0",
4
- "description": "Composer commit and PR action chips powered by the official Forge plugin.",
3
+ "version": "0.2.0",
4
+ "description": "Composer commit, push and PR chips that run Git on the host with Forge.",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
@@ -27,15 +27,24 @@
27
27
  "@deepseek-ai/cordis": "4.1.0",
28
28
  "@deepseek-ai/dsh-api-remotes": "0.2.2-rc.3",
29
29
  "@deepseek-ai/dsh-api-session-controller": "0.2.2-rc.3",
30
+ "@deepseek-ai/dsh-client-connection": "0.2.2-rc.3",
30
31
  "@deepseek-ai/dsh-client-locale": "0.2.2-rc.3",
32
+ "@deepseek-ai/dsh-client-shortcuts": "0.2.2-rc.3",
31
33
  "@deepseek-ai/dsh-client-ui-conversation": "0.2.2-rc.3",
32
34
  "@deepseek-ai/dsh-client-ui-renderer": "0.2.2-rc.3",
33
35
  "@deepseek-ai/dsh-client-ui-session": "0.2.2-rc.3",
34
36
  "@deepseek-ai/dsh-client-ui-sidebar-right": "0.2.2-rc.3",
35
37
  "@deepseek-ai/dsh-client-ui-slots": "0.2.2-rc.3",
38
+ "@deepseek-ai/dsh-config-editor": "0.2.2-rc.3",
36
39
  "@deepseek-ai/dsh-experimental-client-ui-forge": "0.2.2-rc.3",
37
40
  "@deepseek-ai/dsh-experimental-forge-session": "0.2.2-rc.3",
41
+ "@deepseek-ai/dsh-llm": "0.2.2-rc.3",
42
+ "@deepseek-ai/dsh-settings": "0.2.2-rc.3",
38
43
  "@deepseek-ai/dsh-working-directory": "0.2.2-rc.3",
44
+ "@deepseek-ai/schemastery": "3.19.0",
45
+ "@dungsil/dsh-plugin-model-settings": "0.9.0",
46
+ "@dungsil/dsh-plugin-server": "0.0.0",
47
+ "@dungsil/dsh-task-prompts": "0.0.0",
39
48
  "@dungsil/dsh-tsconfig": "0.0.0",
40
49
  "@dungsil/dsh-tsdown": "0.0.0",
41
50
  "@dungsil/dsh-ui": "0.0.0",
@@ -45,7 +54,10 @@
45
54
  },
46
55
  "peerDependencies": {
47
56
  "@deepseek-ai/cordis": "^4.1.0",
48
- "@deepseek-ai/dsh-client-ui-primitives": "^0.2.2-rc.1"
57
+ "@deepseek-ai/dsh-client-connection": "^0.2.2-rc.1",
58
+ "@deepseek-ai/dsh-client-ui-primitives": "^0.2.2-rc.1",
59
+ "@deepseek-ai/dsh-llm": "^0.2.2-rc.1",
60
+ "@deepseek-ai/schemastery": "~3.19.0"
49
61
  },
50
62
  "engines": {
51
63
  "dsh": "^0.2.2-rc.2",
@@ -59,7 +71,9 @@
59
71
  "platform": "web",
60
72
  "immediately": true,
61
73
  "inject": [
74
+ "@deepseek-ai/dsh-client-connection",
62
75
  "@deepseek-ai/dsh-client-locale",
76
+ "@deepseek-ai/dsh-client-shortcuts",
63
77
  "@deepseek-ai/dsh-client-ui-session",
64
78
  "@deepseek-ai/dsh-client-ui-sidebar-right",
65
79
  "@deepseek-ai/dsh-experimental-client-ui-forge"
@@ -79,15 +93,15 @@
79
93
  "pt": "Chips do Forge"
80
94
  },
81
95
  "description": {
82
- "en": "Commit, push and create or view PRs from compact composer chips using Forge.",
83
- "ko": "Forge와 연결된 입력창 칩으로 커밋·푸시·PR 생성과 조회를 실행합니다.",
84
- "zh": "通过连接 Forge 的紧凑输入框按钮提交、推送、创建或查看 PR。",
85
- "ja": "Forge と連携した入力欄のコンパクトなチップから、コミット、プッシュ、PR の作成や表示を行います。",
86
- "es": "Haz commit, push y crea o consulta PR desde chips compactos en el cuadro de entrada con Forge.",
87
- "fr": "Effectuez des commits et des push, créez ou consultez des PR depuis des pastilles compactes dans la zone de saisie avec Forge.",
88
- "de": "Committen, pushen und PRs erstellen oder anzeigen – über kompakte Chips im Eingabefeld mit Forge.",
89
- "ru": "Делайте коммиты, отправляйте изменения, создавайте и просматривайте PR с помощью компактных кнопок Forge в поле ввода.",
90
- "pt": "Faça commit, push e crie ou veja PRs em chips compactos no campo de mensagem com o Forge."
96
+ "en": "Commit, push and create or view PRs from compact composer chips. Git runs on the host and an auxiliary model writes commit messages.",
97
+ "ko": "입력창 칩으로 커밋·푸시·PR 생성과 조회를 실행합니다. Git은 호스트가 직접 실행하고 커밋 메시지는 보조 모델이 작성합니다.",
98
+ "zh": "通过输入框按钮提交、推送、创建或查看 PR。Git 由主机直接执行,提交信息由辅助模型生成。",
99
+ "ja": "入力欄のチップからコミット、プッシュ、PR の作成や表示を行います。Git はホストが直接実行し、コミットメッセージは補助モデルが作成します。",
100
+ "es": "Haz commit, push y crea o consulta PR desde chips del cuadro de entrada. Git se ejecuta en el host y un modelo auxiliar redacta los mensajes de commit.",
101
+ "fr": "Effectuez des commits et des push, créez ou consultez des PR depuis des pastilles de la zone de saisie. Git s’exécute sur l’hôte et un modèle auxiliaire rédige les messages de commit.",
102
+ "de": "Committen, pushen und PRs erstellen oder anzeigen über Chips im Eingabefeld. Git läuft auf dem Host, ein Hilfsmodell schreibt die Commit-Nachrichten.",
103
+ "ru": "Делайте коммиты, отправляйте изменения, создавайте и просматривайте PR с помощью кнопок в поле ввода. Git выполняется на хосте, а сообщения коммитов пишет вспомогательная модель.",
104
+ "pt": "Faça commit, push e crie ou veja PRs em chips do campo de mensagem. O Git roda no host e um modelo auxiliar escreve as mensagens de commit."
91
105
  },
92
106
  "category": "ui",
93
107
  "keywords": [