dsh-codearts 0.5.0 → 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 +1 -1
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.
|
|
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
|
-
"
|
|
22
|
-
"sectionHead": "DZPfya_sectionHead",
|
|
23
|
-
"check": "DZPfya_check",
|
|
21
|
+
"choiceRow": "DZPfya_choiceRow",
|
|
24
22
|
"manual": "DZPfya_manual",
|
|
25
|
-
"field": "DZPfya_field",
|
|
26
|
-
"area": "DZPfya_area",
|
|
27
|
-
"headActions": "DZPfya_headActions",
|
|
28
23
|
"name": "DZPfya_name",
|
|
29
24
|
"sectionLabel": "DZPfya_sectionLabel",
|
|
30
|
-
"
|
|
31
|
-
"headText": "DZPfya_headText",
|
|
25
|
+
"section": "DZPfya_section",
|
|
32
26
|
"danger": "DZPfya_danger",
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"manualSummary": "DZPfya_manualSummary",
|
|
27
|
+
"field": "DZPfya_field",
|
|
28
|
+
"area": "DZPfya_area",
|
|
36
29
|
"fieldLabel": "DZPfya_fieldLabel",
|
|
37
|
-
"
|
|
30
|
+
"headText": "DZPfya_headText",
|
|
31
|
+
"sectionHead": "DZPfya_sectionHead",
|
|
38
32
|
"card": "DZPfya_card",
|
|
39
33
|
"statusLine": "DZPfya_statusLine",
|
|
40
|
-
"
|
|
34
|
+
"manualSummary": "DZPfya_manualSummary",
|
|
41
35
|
"header": "DZPfya_header",
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"section": "DZPfya_section",
|
|
36
|
+
"headActions": "DZPfya_headActions",
|
|
37
|
+
"actions": "DZPfya_actions",
|
|
45
38
|
"link": "DZPfya_link",
|
|
46
|
-
"
|
|
39
|
+
"check": "DZPfya_check",
|
|
40
|
+
"meta": "DZPfya_meta",
|
|
41
|
+
"hint": "DZPfya_hint",
|
|
42
|
+
"count": "DZPfya_count",
|
|
43
|
+
"body": "DZPfya_body",
|
|
44
|
+
"error": "DZPfya_error",
|
|
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.
|
|
5
|
+
"version": "0.5.1",
|
|
6
6
|
"author": "elegant01",
|
|
7
7
|
"keywords": [
|
|
8
8
|
"dsh-plugin",
|