dsh-codearts 0.4.2 → 0.5.1
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/bin.mjs +1 -1
- package/lib/client/index.js +20 -18
- package/package.json +26 -26
package/lib/bin.mjs
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { C as isBenefitModel, E as codeartsAccountsPath, n as codeartsUsagePath, r as discoverModels, t as CodeArtsUsageTracker, u as fetchCallerIdentity, w as CodeArtsAccountStore, x as FALLBACK_CODEARTS_MODELS } from "./usage-B4vQb1sP.mjs";
|
|
3
3
|
import { existsSync, statSync } from "node:fs";
|
|
4
4
|
//#region src/version.ts
|
|
5
|
-
const CODEARTS_VERSION = "0.
|
|
5
|
+
const CODEARTS_VERSION = "0.5.1";
|
|
6
6
|
//#endregion
|
|
7
7
|
//#region src/bin.ts
|
|
8
8
|
/**
|
package/lib/client/index.js
CHANGED
|
@@ -18,32 +18,32 @@ if (typeof document !== "undefined" && document.querySelector("style[data-plugin
|
|
|
18
18
|
document.head.appendChild(tag);
|
|
19
19
|
}
|
|
20
20
|
var CodeArtsPluginCard_module_css_default = {
|
|
21
|
-
"name": "DZPfya_name",
|
|
22
|
-
"actions": "DZPfya_actions",
|
|
23
21
|
"choiceRow": "DZPfya_choiceRow",
|
|
24
|
-
"manualSummary": "DZPfya_manualSummary",
|
|
25
|
-
"field": "DZPfya_field",
|
|
26
|
-
"meta": "DZPfya_meta",
|
|
27
|
-
"headActions": "DZPfya_headActions",
|
|
28
|
-
"link": "DZPfya_link",
|
|
29
22
|
"manual": "DZPfya_manual",
|
|
23
|
+
"name": "DZPfya_name",
|
|
24
|
+
"sectionLabel": "DZPfya_sectionLabel",
|
|
25
|
+
"section": "DZPfya_section",
|
|
26
|
+
"danger": "DZPfya_danger",
|
|
27
|
+
"field": "DZPfya_field",
|
|
30
28
|
"area": "DZPfya_area",
|
|
29
|
+
"fieldLabel": "DZPfya_fieldLabel",
|
|
31
30
|
"headText": "DZPfya_headText",
|
|
32
31
|
"sectionHead": "DZPfya_sectionHead",
|
|
33
|
-
"
|
|
34
|
-
"hint": "DZPfya_hint",
|
|
32
|
+
"card": "DZPfya_card",
|
|
35
33
|
"statusLine": "DZPfya_statusLine",
|
|
36
|
-
"
|
|
34
|
+
"manualSummary": "DZPfya_manualSummary",
|
|
35
|
+
"header": "DZPfya_header",
|
|
36
|
+
"headActions": "DZPfya_headActions",
|
|
37
|
+
"actions": "DZPfya_actions",
|
|
38
|
+
"link": "DZPfya_link",
|
|
37
39
|
"check": "DZPfya_check",
|
|
38
|
-
"
|
|
40
|
+
"meta": "DZPfya_meta",
|
|
41
|
+
"hint": "DZPfya_hint",
|
|
39
42
|
"count": "DZPfya_count",
|
|
40
|
-
"
|
|
41
|
-
"fieldLabel": "DZPfya_fieldLabel",
|
|
42
|
-
"header": "DZPfya_header",
|
|
43
|
-
"card": "DZPfya_card",
|
|
43
|
+
"body": "DZPfya_body",
|
|
44
44
|
"error": "DZPfya_error",
|
|
45
|
-
"
|
|
46
|
-
"
|
|
45
|
+
"choices": "DZPfya_choices",
|
|
46
|
+
"desc": "DZPfya_desc"
|
|
47
47
|
};
|
|
48
48
|
//#endregion
|
|
49
49
|
//#region src/client/CodeArtsPluginCard.tsx
|
|
@@ -880,7 +880,9 @@ function CodeArtsCreditDock({ useProjection, t }) {
|
|
|
880
880
|
fontSize: "var(--dsh-content-font-size-secondary, 13px)",
|
|
881
881
|
lineHeight: "18px",
|
|
882
882
|
fontVariantNumeric: "tabular-nums",
|
|
883
|
-
whiteSpace: "nowrap"
|
|
883
|
+
whiteSpace: "nowrap",
|
|
884
|
+
flex: "0 0 auto",
|
|
885
|
+
minWidth: "max-content"
|
|
884
886
|
},
|
|
885
887
|
title,
|
|
886
888
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: text })
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "dsh-codearts",
|
|
3
3
|
"displayName": "DSH CodeArts Connect",
|
|
4
4
|
"description": "把华为云 CodeArts 接入 DeepSeek Harness —— 内置 OAuth2 登录(PKCE + DPoP),登录后即可在 DSH 对话窗口使用 CodeArts 的模型。",
|
|
5
|
-
"version": "0.
|
|
5
|
+
"version": "0.5.1",
|
|
6
6
|
"author": "elegant01",
|
|
7
7
|
"keywords": [
|
|
8
8
|
"dsh-plugin",
|
|
@@ -82,37 +82,37 @@
|
|
|
82
82
|
},
|
|
83
83
|
"peerDependencies": {
|
|
84
84
|
"@deepseek-ai/cordis": "^4.0.2",
|
|
85
|
-
"@deepseek-ai/dsh-atomic-write": ">=0.1.2-rc.1 <0.
|
|
86
|
-
"@deepseek-ai/dsh-attachment": ">=0.1.2-rc.1 <0.
|
|
87
|
-
"@deepseek-ai/dsh-home-paths": ">=0.1.2-rc.1 <0.
|
|
88
|
-
"@deepseek-ai/dsh-host-webserver": ">=0.1.2-rc.1 <0.
|
|
89
|
-
"@deepseek-ai/dsh-llm": ">=0.1.2-rc.1 <0.
|
|
90
|
-
"@deepseek-ai/dsh-llm-pi-ai": ">=0.1.2-rc.1 <0.
|
|
91
|
-
"@deepseek-ai/dsh-settings": ">=0.1.2-rc.1 <0.
|
|
85
|
+
"@deepseek-ai/dsh-atomic-write": ">=0.1.2-rc.1 <0.3.0-0",
|
|
86
|
+
"@deepseek-ai/dsh-attachment": ">=0.1.2-rc.1 <0.3.0-0",
|
|
87
|
+
"@deepseek-ai/dsh-home-paths": ">=0.1.2-rc.1 <0.3.0-0",
|
|
88
|
+
"@deepseek-ai/dsh-host-webserver": ">=0.1.2-rc.1 <0.3.0-0",
|
|
89
|
+
"@deepseek-ai/dsh-llm": ">=0.1.2-rc.1 <0.3.0-0",
|
|
90
|
+
"@deepseek-ai/dsh-llm-pi-ai": ">=0.1.2-rc.1 <0.3.0-0",
|
|
91
|
+
"@deepseek-ai/dsh-settings": ">=0.1.2-rc.1 <0.3.0-0",
|
|
92
92
|
"@deepseek-ai/schemastery": "^3.18.2",
|
|
93
|
-
"@earendil-works/pi-ai": ">=0.84.2 <0.
|
|
93
|
+
"@earendil-works/pi-ai": ">=0.84.2 <2.0.0",
|
|
94
94
|
"react": "^18.2.0"
|
|
95
95
|
},
|
|
96
96
|
"devDependencies": {
|
|
97
97
|
"@deepseek-ai/cordis": "^4.0.2",
|
|
98
|
-
"@deepseek-ai/dsh-api-session-controller": "^0.1
|
|
99
|
-
"@deepseek-ai/dsh-atomic-write": "^0.1
|
|
100
|
-
"@deepseek-ai/dsh-attachment": "^0.1
|
|
101
|
-
"@deepseek-ai/dsh-client-locale": "^0.1
|
|
102
|
-
"@deepseek-ai/dsh-client-ui-conversation": "^0.1
|
|
103
|
-
"@deepseek-ai/dsh-client-ui-primitives": "0.2.
|
|
104
|
-
"@deepseek-ai/dsh-client-ui-renderer": "^0.1
|
|
105
|
-
"@deepseek-ai/dsh-client-ui-session": "^0.1
|
|
106
|
-
"@deepseek-ai/dsh-client-ui-settings-plugins": "^0.2.
|
|
107
|
-
"@deepseek-ai/dsh-client-ui-slots": "^0.2.
|
|
108
|
-
"@deepseek-ai/dsh-credentials": "^0.1
|
|
109
|
-
"@deepseek-ai/dsh-home-paths": "^0.1
|
|
110
|
-
"@deepseek-ai/dsh-host-webserver": "^0.1
|
|
111
|
-
"@deepseek-ai/dsh-llm": "^0.1
|
|
112
|
-
"@deepseek-ai/dsh-llm-pi-ai": "^0.1
|
|
113
|
-
"@deepseek-ai/dsh-settings": "^0.1
|
|
98
|
+
"@deepseek-ai/dsh-api-session-controller": "^0.2.1-rc.2",
|
|
99
|
+
"@deepseek-ai/dsh-atomic-write": "^0.2.1-rc.2",
|
|
100
|
+
"@deepseek-ai/dsh-attachment": "^0.2.1-rc.2",
|
|
101
|
+
"@deepseek-ai/dsh-client-locale": "^0.2.1-rc.2",
|
|
102
|
+
"@deepseek-ai/dsh-client-ui-conversation": "^0.2.1-rc.2",
|
|
103
|
+
"@deepseek-ai/dsh-client-ui-primitives": "^0.2.1-rc.2",
|
|
104
|
+
"@deepseek-ai/dsh-client-ui-renderer": "^0.2.1-rc.2",
|
|
105
|
+
"@deepseek-ai/dsh-client-ui-session": "^0.2.1-rc.2",
|
|
106
|
+
"@deepseek-ai/dsh-client-ui-settings-plugins": "^0.2.1-rc.2",
|
|
107
|
+
"@deepseek-ai/dsh-client-ui-slots": "^0.2.1-rc.2",
|
|
108
|
+
"@deepseek-ai/dsh-credentials": "^0.2.1-rc.2",
|
|
109
|
+
"@deepseek-ai/dsh-home-paths": "^0.2.1-rc.2",
|
|
110
|
+
"@deepseek-ai/dsh-host-webserver": "^0.2.1-rc.2",
|
|
111
|
+
"@deepseek-ai/dsh-llm": "^0.2.1-rc.2",
|
|
112
|
+
"@deepseek-ai/dsh-llm-pi-ai": "^0.2.1-rc.2",
|
|
113
|
+
"@deepseek-ai/dsh-settings": "^0.2.1-rc.2",
|
|
114
114
|
"@deepseek-ai/schemastery": "^3.18.2",
|
|
115
|
-
"@earendil-works/pi-ai": "^
|
|
115
|
+
"@earendil-works/pi-ai": "^1.3.0",
|
|
116
116
|
"@types/node": "^22.20.4",
|
|
117
117
|
"@types/react": "~18.3.1",
|
|
118
118
|
"lightningcss": "^1.33.0",
|