@deepseek-ai/dsh-client-ui-commands 0.1.2-alpha.3 → 0.1.2-alpha.5
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/README.i18n.yaml +2 -2
- package/README.md +2 -0
- package/README.zh.md +2 -0
- package/lib/client.js +1 -1
- package/package.json +15 -21
- package/lib/invariant.js +0 -24
- package/lib/types/invariant.d.ts +0 -16
package/README.i18n.yaml
CHANGED
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
# side as of the last confirmed-consistent state. Both languages carry equal authority;
|
|
3
3
|
# after editing either side, bring the other along and re-record with:
|
|
4
4
|
# pnpm run verify-translation-pairing --write packages/client/ui-commands/README.md
|
|
5
|
-
README.md:
|
|
6
|
-
README.zh.md:
|
|
5
|
+
README.md: b27c795eaf9a7954925961bde81872307b9f3d97
|
|
6
|
+
README.zh.md: 65d31d0f390fce0ea341bf3391903539d3e0d0f7
|
package/README.md
CHANGED
|
@@ -89,3 +89,5 @@ These limits define the current command surface. They are current package constr
|
|
|
89
89
|
None.
|
|
90
90
|
|
|
91
91
|
</details>
|
|
92
|
+
|
|
93
|
+
**Runtime invariant:** No companion is published. A browser-side source over the wire command directory — it emits no cordis events and owns no cross-plugin mutable state; dispatch and cache behavior are asserted by this package's specs.
|
package/README.zh.md
CHANGED
package/lib/client.js
CHANGED
|
@@ -883,7 +883,7 @@ window.__ModuleLoader__.load({
|
|
|
883
883
|
}
|
|
884
884
|
//#endregion
|
|
885
885
|
//#region \0dsh-css:/home/runner/work/deepseek-harness/deepseek-harness/packages/client/ui-commands/src/client/PopupSelectView.module.css.mjs
|
|
886
|
-
const css = ".mufS8W_card{z-index:100;--dsh-scrollbar-thumb:var(--dsw-alias-scrollbar-bg-l2);--dsh-scrollbar-thumb-hover:var(--dsw-alias-scrollbar-hover-l2);
|
|
886
|
+
const css = ".mufS8W_card{z-index:100;--dsh-scrollbar-thumb:var(--dsw-alias-scrollbar-bg-l2);--dsh-scrollbar-thumb-hover:var(--dsw-alias-scrollbar-hover-l2);background:var(--dsw-specific-menu);--dsw-elevation-stroke-color:var(--dsw-alias-border-l1);min-width:min(220px,100%);max-width:100%;max-height:320px;box-shadow:var(--dsw-elevation-prominent);border:0;border-radius:20px;outline:none;flex-direction:column;padding:4px;display:flex;position:absolute;bottom:calc(100% + 4px);left:0;overflow:hidden}.mufS8W_viewport{flex-direction:column;min-height:0;display:flex;overflow-y:auto}.mufS8W_row{cursor:pointer;color:var(--dsw-alias-label-primary);border-radius:8px;align-items:center;gap:8px;padding:6px 8px;font-size:13px;display:flex}.mufS8W_rowActive{background:var(--dsw-alias-interactive-bg-hover)}.mufS8W_label{white-space:nowrap;text-overflow:ellipsis;flex:auto;min-width:0;overflow:hidden}.mufS8W_detail{color:var(--dsw-alias-label-tertiary);white-space:nowrap;text-overflow:ellipsis;font-size:12px;overflow:hidden}.mufS8W_check{color:var(--dsw-alias-label-primary);flex:none;display:inline-flex}.mufS8W_status{color:var(--dsw-alias-label-tertiary);padding:8px 10px;font-size:13px}.mufS8W_search{border:.5px solid var(--dsw-alias-border-inverted);color:var(--dsw-alias-label-primary);background:0 0;border-radius:8px;outline:none;margin:2px 2px 4px;padding:6px 8px;font-size:13px}.mufS8W_error{color:var(--dsw-alias-state-error-primary);align-items:center;gap:8px;padding:6px 8px;font-size:12px;display:flex}.mufS8W_errorText{text-overflow:ellipsis;flex:1;overflow:hidden}.mufS8W_retry{border:.5px solid var(--dsw-alias-border-inverted);color:var(--dsw-alias-label-primary);cursor:pointer;background:0 0;border-radius:6px;padding:2px 8px;font-size:12px}";
|
|
887
887
|
const tagId = "@deepseek-ai/dsh-client-ui-commands/PopupSelectView.module.css";
|
|
888
888
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId) + "]") === null) {
|
|
889
889
|
const tag = document.createElement("style");
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deepseek-ai/dsh-client-ui-commands",
|
|
3
3
|
"description": "Client command surface: global directory cache, '/' source, three command UI kinds, popupSelect registry",
|
|
4
|
-
"version": "0.1.2-alpha.
|
|
4
|
+
"version": "0.1.2-alpha.5",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -18,10 +18,6 @@
|
|
|
18
18
|
"types": "./lib/types/index.d.ts",
|
|
19
19
|
"default": "./lib/index.js"
|
|
20
20
|
},
|
|
21
|
-
"./invariant": {
|
|
22
|
-
"types": "./lib/types/invariant.d.ts",
|
|
23
|
-
"default": "./lib/invariant.js"
|
|
24
|
-
},
|
|
25
21
|
"./client": {
|
|
26
22
|
"types": "./lib/types/client/index.d.ts",
|
|
27
23
|
"default": "./lib/client.js"
|
|
@@ -50,26 +46,24 @@
|
|
|
50
46
|
"devDependencies": {
|
|
51
47
|
"@types/react": "~18.3.1",
|
|
52
48
|
"react": "^18.2.0",
|
|
53
|
-
"@deepseek-ai/dsh-api-remotes": "^0.1.2-alpha.
|
|
54
|
-
"@deepseek-ai/dsh-client-connection": "^0.1.2-alpha.
|
|
55
|
-
"@deepseek-ai/dsh-client-locale": "^0.1.2-alpha.
|
|
56
|
-
"@deepseek-ai/dsh-client-test-runtime": "^0.1.2-alpha.
|
|
57
|
-
"@deepseek-ai/dsh-client-ui-conversation": "^0.1.2-alpha.
|
|
58
|
-
"@deepseek-ai/dsh-client-ui-primitives": "^0.1.2-alpha.
|
|
59
|
-
"@deepseek-ai/dsh-client-ui-
|
|
60
|
-
"@deepseek-ai/dsh-
|
|
61
|
-
"@deepseek-ai/dsh-commands": "^0.1.2-alpha.3",
|
|
62
|
-
"@deepseek-ai/dsh-invariants": "^0.1.2-alpha.3",
|
|
49
|
+
"@deepseek-ai/dsh-api-remotes": "^0.1.2-alpha.5",
|
|
50
|
+
"@deepseek-ai/dsh-client-connection": "^0.1.2-alpha.5",
|
|
51
|
+
"@deepseek-ai/dsh-client-locale": "^0.1.2-alpha.5",
|
|
52
|
+
"@deepseek-ai/dsh-client-test-runtime": "^0.1.2-alpha.5",
|
|
53
|
+
"@deepseek-ai/dsh-client-ui-conversation": "^0.1.2-alpha.5",
|
|
54
|
+
"@deepseek-ai/dsh-client-ui-primitives": "^0.1.2-alpha.5",
|
|
55
|
+
"@deepseek-ai/dsh-client-ui-slots": "^0.1.2-alpha.5",
|
|
56
|
+
"@deepseek-ai/dsh-commands": "^0.1.2-alpha.5",
|
|
63
57
|
"@deepseek-ai/cordis": "^4.0.2",
|
|
64
|
-
"@deepseek-ai/dsh-api-session-controller": "^0.1.2-alpha.
|
|
65
|
-
"@deepseek-ai/dsh-client-store": "^0.1.2-alpha.
|
|
66
|
-
"@deepseek-ai/dsh-session": "^0.1.2-alpha.
|
|
67
|
-
"@deepseek-ai/dsh-client-ui-renderer": "^0.1.2-alpha.
|
|
68
|
-
"@deepseek-ai/dsh-client-ui-
|
|
58
|
+
"@deepseek-ai/dsh-api-session-controller": "^0.1.2-alpha.5",
|
|
59
|
+
"@deepseek-ai/dsh-client-store": "^0.1.2-alpha.5",
|
|
60
|
+
"@deepseek-ai/dsh-session": "^0.1.2-alpha.5",
|
|
61
|
+
"@deepseek-ai/dsh-client-ui-renderer": "^0.1.2-alpha.5",
|
|
62
|
+
"@deepseek-ai/dsh-client-ui-input-trigger": "^0.1.2-alpha.5",
|
|
63
|
+
"@deepseek-ai/dsh-client-ui-session": "^0.1.2-alpha.5"
|
|
69
64
|
},
|
|
70
65
|
"files": [
|
|
71
66
|
"lib/index.js",
|
|
72
|
-
"lib/invariant.js",
|
|
73
67
|
"lib/client.js",
|
|
74
68
|
"lib/types/**/*.d.ts"
|
|
75
69
|
],
|
package/lib/invariant.js
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
//#region lib/types/invariant.js
|
|
2
|
-
/**
|
|
3
|
-
* Package-owned invariant companion for `@deepseek-ai/dsh-client-ui-commands`.
|
|
4
|
-
* @module @deepseek-ai/dsh-client-ui-commands/invariant
|
|
5
|
-
*/
|
|
6
|
-
const PACKAGE_NAME = "@deepseek-ai/dsh-client-ui-commands";
|
|
7
|
-
/** Cordis companion plugin name. */
|
|
8
|
-
const name = "client-ui-commands-invariant";
|
|
9
|
-
/** Service required before the companion can reserve package ownership. */
|
|
10
|
-
const inject = ["invariants"];
|
|
11
|
-
/**
|
|
12
|
-
* No runtime invariant: a browser-side source over the wire command
|
|
13
|
-
* directory — it emits no cordis events and owns no cross-plugin mutable
|
|
14
|
-
* state; dispatch and cache behavior are asserted by this package's specs.
|
|
15
|
-
*/
|
|
16
|
-
const install = () => {};
|
|
17
|
-
/**
|
|
18
|
-
* Register this package's invariant companion.
|
|
19
|
-
* @param ctx - Cordis context carrying the invariant service.
|
|
20
|
-
* @returns the installed registration's disposer after setup succeeds.
|
|
21
|
-
*/
|
|
22
|
-
const apply = (ctx) => Promise.resolve(ctx.invariants.register(PACKAGE_NAME, install));
|
|
23
|
-
//#endregion
|
|
24
|
-
export { apply, inject, name };
|
package/lib/types/invariant.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Package-owned invariant companion for `@deepseek-ai/dsh-client-ui-commands`.
|
|
3
|
-
* @module @deepseek-ai/dsh-client-ui-commands/invariant
|
|
4
|
-
*/
|
|
5
|
-
import type { Context } from '@deepseek-ai/cordis';
|
|
6
|
-
/** Cordis companion plugin name. */
|
|
7
|
-
export declare const name = "client-ui-commands-invariant";
|
|
8
|
-
/** Service required before the companion can reserve package ownership. */
|
|
9
|
-
export declare const inject: string[];
|
|
10
|
-
/**
|
|
11
|
-
* Register this package's invariant companion.
|
|
12
|
-
* @param ctx - Cordis context carrying the invariant service.
|
|
13
|
-
* @returns the installed registration's disposer after setup succeeds.
|
|
14
|
-
*/
|
|
15
|
-
export declare const apply: (ctx: Context) => Promise<() => void>;
|
|
16
|
-
//# sourceMappingURL=invariant.d.ts.map
|