@kenz1117/dsh-ui-usage-billing 1.0.15 → 1.0.16
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/client.js +3 -3
- package/lib/types/client/apply.d.ts +8 -1
- package/package.json +6 -8
|
@@ -45,7 +45,14 @@ declare module '@deepseek-ai/dsh-client-ui-slots' {
|
|
|
45
45
|
usageBilling: UsageBillingKey;
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
|
-
/** Required services for the usage billing surface.
|
|
48
|
+
/** Required services for the usage billing surface.
|
|
49
|
+
*
|
|
50
|
+
* `remote.llm` is deliberately NOT injected: the LLM remote namespace only
|
|
51
|
+
* exists on 0.1.2-alpha.1 hosts, and a pending injection blocks the whole
|
|
52
|
+
* web boot on older hosts. `checkModels` probes `ctx.remote.llm` defensively
|
|
53
|
+
* instead — on hosts without it the model health check degrades to the
|
|
54
|
+
* static catalog result (the surrounding try/catch already swallows the
|
|
55
|
+
* undefined access). */
|
|
49
56
|
export declare const inject: string[];
|
|
50
57
|
/**
|
|
51
58
|
* Client plugin body: the UsageBilling entry in the sidebar footer.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kenz1117/dsh-ui-usage-billing",
|
|
3
3
|
"description": "Usage billing dashboard for DeepSeek Harness: sidebar cost metrics plus a full dashboard modal, priced from a current multi-provider catalog with real usage aggregated from session logs.",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.16",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -34,7 +34,6 @@
|
|
|
34
34
|
},
|
|
35
35
|
"client": {
|
|
36
36
|
"inject": [
|
|
37
|
-
"@deepseek-ai/dsh-client-runtime",
|
|
38
37
|
"@deepseek-ai/dsh-client-locale",
|
|
39
38
|
"@deepseek-ai/dsh-client-ui-conversation"
|
|
40
39
|
],
|
|
@@ -42,9 +41,7 @@
|
|
|
42
41
|
},
|
|
43
42
|
"compatibility": {
|
|
44
43
|
"dshReleases": {
|
|
45
|
-
"0.1.
|
|
46
|
-
"0.1.1-rc.1": "compatible",
|
|
47
|
-
"0.1.1-rc.2": "compatible"
|
|
44
|
+
"0.1.2-alpha.1": "compatible"
|
|
48
45
|
}
|
|
49
46
|
}
|
|
50
47
|
},
|
|
@@ -59,14 +56,15 @@
|
|
|
59
56
|
},
|
|
60
57
|
"peerDependencies": {
|
|
61
58
|
"@deepseek-ai/dsh-api-remotes": "*",
|
|
59
|
+
"@deepseek-ai/dsh-api-session-controller": "*",
|
|
62
60
|
"@deepseek-ai/dsh-atomic-write": "*",
|
|
63
|
-
"@deepseek-ai/dsh-client-connection": "*",
|
|
64
61
|
"@deepseek-ai/dsh-host-webserver": "*",
|
|
65
62
|
"@deepseek-ai/dsh-client-locale": "*",
|
|
66
|
-
"@deepseek-ai/dsh-client-
|
|
63
|
+
"@deepseek-ai/dsh-client-store": "*",
|
|
67
64
|
"@deepseek-ai/dsh-client-ui-conversation": "*",
|
|
68
|
-
"@deepseek-ai/dsh-client-ui-sidebar": "*",
|
|
69
65
|
"@deepseek-ai/dsh-client-ui-primitives": "*",
|
|
66
|
+
"@deepseek-ai/dsh-client-ui-renderer": "*",
|
|
67
|
+
"@deepseek-ai/dsh-client-ui-sidebar": "*",
|
|
70
68
|
"@deepseek-ai/dsh-client-ui-slots": "*",
|
|
71
69
|
"@deepseek-ai/dsh-credentials": "*",
|
|
72
70
|
"@deepseek-ai/dsh-invariants": "*",
|