@deepseek-ai/dsh-session-log-export 0.1.2-alpha.3 → 0.1.2-alpha.4

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 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/session-query/session-log-export/README.md
5
- README.md: 05340605d8d93f210127156f0a976c63732dd6f1
6
- README.zh.md: ec126c43af7afec567aca33f22173c658be72be9
5
+ README.md: a096cea71b2e0bed4882a6e8d23c8f35dc3d0fb7
6
+ README.zh.md: 0c2da35ae0be9420cfd6ff076dd038c3a8edf2cb
package/README.md CHANGED
@@ -138,3 +138,5 @@ This Dev Note is working context for maintainers: open design questions and dire
138
138
  The download is deliberately browser-scoped; a Host-path or native folder export would need a new endpoint contract and a decision on where the ZIP lands.
139
139
 
140
140
  </details>
141
+
142
+ **Runtime invariant:** No companion is published. Connection and the command registry own both registrations, while each export reads authoritative Session services.
package/README.zh.md CHANGED
@@ -138,3 +138,5 @@ Host 路由是业务拥有的精确 Fetch contribution。Connection 应用 Host/
138
138
  下载刻意限定在浏览器范围;Host 路径或原生文件夹导出需要新的端点约定,并决定 ZIP 的落盘位置。
139
139
 
140
140
  </details>
141
+
142
+ **运行时不变式:** 不发布伴生入口。Connection 与 command registry 持有两个注册,每次 export 直接读取权威 Session service。
package/lib/client.js CHANGED
@@ -169,7 +169,7 @@ window.__ModuleLoader__.load({
169
169
  }
170
170
  //#endregion
171
171
  //#region \0dsh-css:/home/runner/work/deepseek-harness/deepseek-harness/packages/session-query/session-log-export/src/client/HeaderAction.module.css.mjs
172
- const css = ".nL4_yW_sessionLogButton{border:1px solid var(--dsw-alias-border-l2);min-width:111px;height:32px;color:var(--dsw-alias-label-primary);font-family:var(--dsw-font-family);cursor:pointer;background:0 0;border-radius:18px;justify-content:center;align-items:center;gap:4px;padding:6px 12px;font-size:13px;font-weight:400;line-height:20px;display:inline-flex}.nL4_yW_sessionLogButton:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover)}.nL4_yW_sessionLogButton:disabled{color:var(--dsw-alias-label-dimmed);cursor:wait}.nL4_yW_sessionLogButton span,.nL4_yW_sessionLogButton svg{flex:none}.nL4_yW_sessionLogButton span{white-space:nowrap}";
172
+ const css = ".nL4_yW_sessionLogButton{border:.5px solid var(--dsw-alias-border-l4);min-width:111px;height:32px;color:var(--dsw-alias-label-primary);font-family:var(--dsw-font-family);cursor:pointer;background:0 0;border-radius:18px;justify-content:center;align-items:center;gap:4px;padding:6px 12px;font-size:13px;font-weight:400;line-height:20px;display:inline-flex}.nL4_yW_sessionLogButton:hover:not(:disabled){background:var(--dsw-alias-interactive-bg-hover)}.nL4_yW_sessionLogButton:disabled{color:var(--dsw-alias-label-dimmed);cursor:wait}.nL4_yW_sessionLogButton span,.nL4_yW_sessionLogButton svg{flex:none}.nL4_yW_sessionLogButton span{white-space:nowrap}";
173
173
  const tagId = "@deepseek-ai/dsh-session-log-export/HeaderAction.module.css";
174
174
  if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId) + "]") === null) {
175
175
  const tag = document.createElement("style");
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-session-log-export",
3
3
  "description": "Web Session-log export command and shared download dialog",
4
- "version": "0.1.2-alpha.3",
4
+ "version": "0.1.2-alpha.4",
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"
@@ -31,15 +27,14 @@
31
27
  },
32
28
  "files": [
33
29
  "lib/index.js",
34
- "lib/invariant.js",
35
30
  "lib/client.js",
36
31
  "lib/types/**/*.d.ts"
37
32
  ],
38
33
  "license": "MIT",
39
34
  "dependencies": {
40
35
  "fflate": "^0.8.2",
41
- "@deepseek-ai/schemastery": "^3.18.2",
42
- "@deepseek-ai/dsh-brand": "^0.1.2-alpha.3"
36
+ "@deepseek-ai/dsh-brand": "^0.1.2-alpha.4",
37
+ "@deepseek-ai/schemastery": "^3.18.2"
43
38
  },
44
39
  "peerDependencies": {
45
40
  "@deepseek-ai/cordis": "^4.0.2"
@@ -49,22 +44,21 @@
49
44
  "react": "^18.2.0",
50
45
  "@deepseek-ai/cordis": "^4.0.2",
51
46
  "@deepseek-ai/cordis-plugin-loader": "^1.0.3",
52
- "@deepseek-ai/dsh-agent": "^0.1.2-alpha.3",
53
- "@deepseek-ai/dsh-attachment": "^0.1.2-alpha.3",
54
- "@deepseek-ai/dsh-client-connection": "^0.1.2-alpha.3",
55
- "@deepseek-ai/dsh-client-locale": "^0.1.2-alpha.3",
56
- "@deepseek-ai/dsh-client-store": "^0.1.2-alpha.3",
57
- "@deepseek-ai/dsh-client-ui-commands": "^0.1.2-alpha.3",
58
- "@deepseek-ai/dsh-client-ui-conversation": "^0.1.2-alpha.3",
59
- "@deepseek-ai/dsh-client-ui-renderer": "^0.1.2-alpha.3",
60
- "@deepseek-ai/dsh-client-ui-session": "^0.1.2-alpha.3",
61
- "@deepseek-ai/dsh-client-ui-primitives": "^0.1.2-alpha.3",
62
- "@deepseek-ai/dsh-client-ui-slots": "^0.1.2-alpha.3",
63
- "@deepseek-ai/dsh-commands": "^0.1.2-alpha.3",
64
- "@deepseek-ai/dsh-invariants": "^0.1.2-alpha.3",
65
- "@deepseek-ai/dsh-session-persistence": "^0.1.2-alpha.3",
66
- "@deepseek-ai/dsh-session-query": "^0.1.2-alpha.3",
67
- "@deepseek-ai/dsh-session": "^0.1.2-alpha.3"
47
+ "@deepseek-ai/dsh-agent": "^0.1.2-alpha.4",
48
+ "@deepseek-ai/dsh-attachment": "^0.1.2-alpha.4",
49
+ "@deepseek-ai/dsh-client-connection": "^0.1.2-alpha.4",
50
+ "@deepseek-ai/dsh-client-locale": "^0.1.2-alpha.4",
51
+ "@deepseek-ai/dsh-client-store": "^0.1.2-alpha.4",
52
+ "@deepseek-ai/dsh-client-ui-commands": "^0.1.2-alpha.4",
53
+ "@deepseek-ai/dsh-client-ui-conversation": "^0.1.2-alpha.4",
54
+ "@deepseek-ai/dsh-client-ui-renderer": "^0.1.2-alpha.4",
55
+ "@deepseek-ai/dsh-client-ui-session": "^0.1.2-alpha.4",
56
+ "@deepseek-ai/dsh-client-ui-primitives": "^0.1.2-alpha.4",
57
+ "@deepseek-ai/dsh-client-ui-slots": "^0.1.2-alpha.4",
58
+ "@deepseek-ai/dsh-commands": "^0.1.2-alpha.4",
59
+ "@deepseek-ai/dsh-session-persistence": "^0.1.2-alpha.4",
60
+ "@deepseek-ai/dsh-session-query": "^0.1.2-alpha.4",
61
+ "@deepseek-ai/dsh-session": "^0.1.2-alpha.4"
68
62
  },
69
63
  "dsh": {
70
64
  "client": {
package/lib/invariant.js DELETED
@@ -1,18 +0,0 @@
1
- //#region lib/types/invariant.js
2
- /** Package invariant companion for `@deepseek-ai/dsh-session-log-export`. */
3
- const PACKAGE_NAME = "@deepseek-ai/dsh-session-log-export";
4
- const name = "session-export-invariant";
5
- const inject = ["invariants"];
6
- /**
7
- * No runtime invariant: Connection and the command registry own both
8
- * registrations, while each export reads authoritative Session services.
9
- */
10
- const install = () => {};
11
- /**
12
- * Register this package's invariant companion.
13
- * @param ctx - Host context carrying the invariant registry.
14
- * @returns the registration disposer after setup succeeds.
15
- */
16
- const apply = (ctx) => Promise.resolve(ctx.invariants.register(PACKAGE_NAME, install));
17
- //#endregion
18
- export { apply, inject, name };
@@ -1,11 +0,0 @@
1
- /** Package invariant companion for `@deepseek-ai/dsh-session-log-export`. */
2
- import type { Context } from '@deepseek-ai/cordis';
3
- export declare const name = "session-export-invariant";
4
- export declare const inject: string[];
5
- /**
6
- * Register this package's invariant companion.
7
- * @param ctx - Host context carrying the invariant registry.
8
- * @returns the registration disposer after setup succeeds.
9
- */
10
- export declare const apply: (ctx: Context) => Promise<() => void>;
11
- //# sourceMappingURL=invariant.d.ts.map