@sparkelf/dsh-plugin-dataops 0.1.0-rc.14 → 0.1.0-rc.22

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/plus/dataops/README.md
5
- README.md: 1dc47738195d66e1ca08ac35c18107e0780bf430
6
- README.zh.md: a4cec8bbfb2b2a687afb892d3d07273a99534d28
5
+ README.md: 586e84bec76f06630c892a6bbb8104ce4c71ecc6
6
+ README.zh.md: eabe7aa98d2cbd4bb8f7a6f5a617a5d48cc04ae3
package/README.md CHANGED
@@ -59,5 +59,6 @@ Connecting, disconnecting, or MCP discovery changes can alter the tool-schema pr
59
59
  This Dev Note is working context for maintainers; shipped behavior, limits, and rationale live in the sections above, the package code, and the linked Agent Note.
60
60
 
61
61
  - `src/index.ts` owns authorization, credentials, access expiry, and MCP child lifecycle. `src/client/store.ts` and `src/client/controller.ts` own shared browser status and OAuth lifecycle; `src/client/DataOpsExpiryModal.tsx` contributes the shell prompt and `src/client/DataOpsSection.tsx` contributes Settings. The [distribution Agent Note](../../../.agents/notes/proposed/architecture/2026-08-29-ranged-plus-patchset-distribution.md) records the package boundary.
62
+ - No runtime invariant companion is published because authorization and MCP child lifecycle are observed by their owning services; DataOps keeps no independent projection of those relationships.
62
63
 
63
64
  </details>
package/README.zh.md CHANGED
@@ -59,5 +59,6 @@ Connecting、disconnecting或MCP discovery change可能改变tool-schema prefix
59
59
  该开发备注是maintainer working context;shipped behavior、limits及rationale以以上sections、package code及linked Agent Note为准。
60
60
 
61
61
  - `src/index.ts`持有authorization、credentials、access expiry及MCP child lifecycle。`src/client/store.ts`与`src/client/controller.ts`持有shared browser status及OAuth lifecycle;`src/client/DataOpsExpiryModal.tsx`贡献shell prompt,`src/client/DataOpsSection.tsx`贡献Settings。[Distribution Agent Note](../../../.agents/notes/proposed/architecture/2026-08-29-ranged-plus-patchset-distribution.zh.md)记录package boundary。
62
+ - 该package不发布`./invariant` companion,因为authorization与MCP child lifecycle由各自owner service观测;DataOps不保留这些relation的independent projection。
62
63
 
63
64
  </details>
package/lib/client.js CHANGED
@@ -500,7 +500,7 @@ window.__ModuleLoader__.load({
500
500
  async function apply(ctx) {
501
501
  const result = await ctx.remote.pluginInventory.list();
502
502
  if (!result.ok) throw new Error(`pluginInventory.list failed: ${result.error.code}: ${result.error.message}`);
503
- if (!result.value.entries.some((entry) => entry.entryId === "plus-dataops" && entry.enabled)) return;
503
+ if (!result.value.entries.some((entry) => entry.moduleName === "@sparkelf/dsh-plugin-dataops" && entry.enabled)) return;
504
504
  ctx.effect(() => ctx.locale.register(NS, {
505
505
  zh,
506
506
  en
package/package.json CHANGED
@@ -5,22 +5,21 @@
5
5
  "description": "Standalone DataOps MCP integration with delegated browser authorization and Settings UI",
6
6
  "devDependencies": {
7
7
  "@deepseek-ai/cordis": "^4.0.2",
8
- "@deepseek-ai/dsh-api-remotes": "^0.1.2-alpha.2",
9
- "@deepseek-ai/dsh-brand": "^0.1.2-alpha.2",
10
- "@deepseek-ai/dsh-client-connection": "^0.1.2-alpha.2",
11
- "@deepseek-ai/dsh-client-locale": "^0.1.2-alpha.2",
12
- "@deepseek-ai/dsh-client-store": "^0.1.2-alpha.2",
13
- "@deepseek-ai/dsh-client-ui-layout": "^0.1.2-alpha.2",
14
- "@deepseek-ai/dsh-client-ui-primitives": "^0.1.2-alpha.2",
15
- "@deepseek-ai/dsh-client-ui-renderer": "^0.1.2-alpha.2",
16
- "@deepseek-ai/dsh-client-ui-settings": "^0.1.2-alpha.2",
17
- "@deepseek-ai/dsh-client-ui-slots": "^0.1.2-alpha.2",
18
- "@deepseek-ai/dsh-credentials": "^0.1.2-alpha.2",
19
- "@deepseek-ai/dsh-host-webserver": "^0.1.2-alpha.2",
20
- "@deepseek-ai/dsh-invariants": "^0.1.2-alpha.2",
21
- "@deepseek-ai/dsh-timeout": "^0.1.2-alpha.2",
22
- "@deepseek-ai/dsh-tools": "^0.1.2-alpha.2",
23
- "@sparkelf/dsh-plugin-mcp-credentials": "^0.1.0-rc.14",
8
+ "@deepseek-ai/dsh-api-remotes": "^0.1.3-alpha.1",
9
+ "@deepseek-ai/dsh-brand": "^0.1.3-alpha.1",
10
+ "@deepseek-ai/dsh-client-connection": "^0.1.3-alpha.1",
11
+ "@deepseek-ai/dsh-client-locale": "^0.1.3-alpha.1",
12
+ "@deepseek-ai/dsh-client-store": "^0.1.3-alpha.1",
13
+ "@deepseek-ai/dsh-client-ui-layout": "^0.1.3-alpha.1",
14
+ "@deepseek-ai/dsh-client-ui-primitives": "^0.1.3-alpha.1",
15
+ "@deepseek-ai/dsh-client-ui-renderer": "^0.1.3-alpha.1",
16
+ "@deepseek-ai/dsh-client-ui-settings": "^0.1.3-alpha.1",
17
+ "@deepseek-ai/dsh-client-ui-slots": "^0.1.3-alpha.1",
18
+ "@deepseek-ai/dsh-credentials": "^0.1.3-alpha.1",
19
+ "@deepseek-ai/dsh-host-webserver": "^0.1.3-alpha.1",
20
+ "@deepseek-ai/dsh-timeout": "^0.1.3-alpha.1",
21
+ "@deepseek-ai/dsh-tools": "^0.1.3-alpha.1",
22
+ "@sparkelf/dsh-plugin-mcp-credentials": "^0.1.0-rc.22",
24
23
  "@types/react": "~18.3.1",
25
24
  "react": "^18.2.0"
26
25
  },
@@ -46,15 +45,10 @@
46
45
  "default": "./lib/client.js",
47
46
  "types": "./lib/types/client/index.d.ts"
48
47
  },
49
- "./invariant": {
50
- "default": "./lib/invariant.js",
51
- "types": "./lib/types/invariant.d.ts"
52
- },
53
48
  "./package.json": "./package.json"
54
49
  },
55
50
  "files": [
56
51
  "lib/index.js",
57
- "lib/invariant.js",
58
52
  "lib/client.js",
59
53
  "lib/types/**/*.d.ts"
60
54
  ],
@@ -63,18 +57,17 @@
63
57
  "name": "@sparkelf/dsh-plugin-dataops",
64
58
  "peerDependencies": {
65
59
  "@deepseek-ai/cordis": ">=4.0.1",
66
- "@deepseek-ai/dsh-api-remotes": ">=0.1.2-alpha.2",
67
- "@deepseek-ai/dsh-brand": ">=0.1.2-alpha.2",
68
- "@deepseek-ai/dsh-client-connection": ">=0.1.2-alpha.2",
69
- "@deepseek-ai/dsh-client-locale": ">=0.1.2-alpha.2",
70
- "@deepseek-ai/dsh-client-ui-layout": ">=0.1.2-alpha.2",
71
- "@deepseek-ai/dsh-client-ui-renderer": ">=0.1.2-alpha.2",
72
- "@deepseek-ai/dsh-client-ui-settings": ">=0.1.2-alpha.2",
73
- "@deepseek-ai/dsh-credentials": ">=0.1.2-alpha.2",
74
- "@deepseek-ai/dsh-host-webserver": ">=0.1.2-alpha.2",
75
- "@deepseek-ai/dsh-invariants": ">=0.1.2-alpha.2",
76
- "@deepseek-ai/dsh-timeout": ">=0.1.2-alpha.2",
77
- "@deepseek-ai/dsh-tools": ">=0.1.2-alpha.2",
60
+ "@deepseek-ai/dsh-api-remotes": ">=0.1.3-alpha.1",
61
+ "@deepseek-ai/dsh-brand": ">=0.1.3-alpha.1",
62
+ "@deepseek-ai/dsh-client-connection": ">=0.1.3-alpha.1",
63
+ "@deepseek-ai/dsh-client-locale": ">=0.1.3-alpha.1",
64
+ "@deepseek-ai/dsh-client-ui-layout": ">=0.1.3-alpha.1",
65
+ "@deepseek-ai/dsh-client-ui-renderer": ">=0.1.3-alpha.1",
66
+ "@deepseek-ai/dsh-client-ui-settings": ">=0.1.3-alpha.1",
67
+ "@deepseek-ai/dsh-credentials": ">=0.1.3-alpha.1",
68
+ "@deepseek-ai/dsh-host-webserver": ">=0.1.3-alpha.1",
69
+ "@deepseek-ai/dsh-timeout": ">=0.1.3-alpha.1",
70
+ "@deepseek-ai/dsh-tools": ">=0.1.3-alpha.1",
78
71
  "@sparkelf/dsh-plugin-mcp-credentials": ">=0.1.0-rc.12"
79
72
  },
80
73
  "publishConfig": {
@@ -91,5 +84,5 @@
91
84
  },
92
85
  "type": "module",
93
86
  "types": "lib/types/index.d.ts",
94
- "version": "0.1.0-rc.14"
87
+ "version": "0.1.0-rc.22"
95
88
  }
package/lib/invariant.js DELETED
@@ -1,16 +0,0 @@
1
- //#region lib/types/invariant.js
2
- const PACKAGE_NAME = "@sparkelf/dsh-plugin-dataops";
3
- /** Cordis plugin name for the DataOps invariant companion. */
4
- const name = "mcp-dataops-invariant";
5
- /** Services required to register the package invariant installer. */
6
- const inject = ["invariants"];
7
- /** No runtime invariant: the package owns browser OAuth handoff and a child mcp-client fiber, not a separate durable projection. */
8
- const install = () => {};
9
- /**
10
- * Register the package's explained empty invariant installer.
11
- * @param ctx - Cordis context with the invariant registry.
12
- * @returns The registration disposer.
13
- */
14
- const apply = (ctx) => Promise.resolve(ctx.invariants.register(PACKAGE_NAME, install));
15
- //#endregion
16
- export { apply, inject, name };
@@ -1,13 +0,0 @@
1
- /** Package-owned invariant companion for `@sparkelf/dsh-plugin-dataops`. */
2
- import type { Context } from '@deepseek-ai/cordis';
3
- /** Cordis plugin name for the DataOps invariant companion. */
4
- export declare const name = "mcp-dataops-invariant";
5
- /** Services required to register the package invariant installer. */
6
- export declare const inject: string[];
7
- /**
8
- * Register the package's explained empty invariant installer.
9
- * @param ctx - Cordis context with the invariant registry.
10
- * @returns The registration disposer.
11
- */
12
- export declare const apply: (ctx: Context) => Promise<() => void>;
13
- //# sourceMappingURL=invariant.d.ts.map