@sparkelf/dsh-plugin-mcp-credentials 0.1.0-rc.9 → 0.2.0-rc.2

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/mcp-credentials/README.md
5
- README.md: c074ff8dc4ec6e093d36f1ec300eb9009fee7674
6
- README.zh.md: a07457971bd284f4d7e95eda795c0afd60b00a5d
5
+ README.md: dc15d44e110bbbb96fc2e819e3a78a9fd7a502c7
6
+ README.zh.md: 47cb95ef40e5edb420998ad8e43977cffbfaa1db
package/README.md CHANGED
@@ -58,6 +58,7 @@ Credential rotation does not alter model-visible schemas. Tool discovery or conn
58
58
 
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
- - `src/index.ts` owns credential resolution and MCP transport composition. The [distribution Agent Note](../../../.agents/notes/proposed/architecture/2026-08-29-ranged-plus-patchset-distribution.md) records why this is a complete internal DataOps dependency.
61
+ - `src/index.ts` owns credential resolution and MCP transport composition. The [distribution Agent Note](../../../.agents/notes/implemented/architecture/2026-08-29-ranged-plus-patchset-distribution.md) records why this is a complete internal DataOps dependency.
62
+ - No runtime invariant companion is published because MCP generation and tool contributions are observed by the MCP Client and tool registry; this adapter has no independent generation view.
62
63
 
63
64
  </details>
package/README.zh.md CHANGED
@@ -58,6 +58,7 @@ Credential rotation不改变model-visible schemas。Tool discovery或connection
58
58
 
59
59
  该开发备注是maintainer working context;shipped behavior、limits及rationale以以上sections、package code及linked Agent Note为准。
60
60
 
61
- - `src/index.ts`持有credential resolution及MCP transport composition。[Distribution Agent Note](../../../.agents/notes/proposed/architecture/2026-08-29-ranged-plus-patchset-distribution.zh.md)记录它作为complete internal DataOps dependency的原因。
61
+ - `src/index.ts`持有credential resolution及MCP transport composition。[Distribution Agent Note](../../../.agents/notes/implemented/architecture/2026-08-29-ranged-plus-patchset-distribution.zh.md)记录它作为complete internal DataOps dependency的原因。
62
+ - 该package不发布`./invariant` companion,因为MCP generation与tool contributions由MCP Client和tool registry观测;该adapter没有independent generation view。
62
63
 
63
64
  </details>
@@ -13,7 +13,7 @@
13
13
  */
14
14
  import type { Client } from '@modelcontextprotocol/sdk/client/index.js';
15
15
  import type { Context } from '@deepseek-ai/cordis';
16
- import type { JsonValue } from '@deepseek-ai/dsh-tools';
16
+ import type { JsonValue } from '@deepseek-ai/dsh-util-values';
17
17
  /** Resolved options relevant to tool bridging. */
18
18
  export interface ToolBridgeOptions {
19
19
  /** Whether a registry conflict is contained or rejects this synchronization. */
package/package.json CHANGED
@@ -1,60 +1,54 @@
1
1
  {
2
- "name": "@sparkelf/dsh-plugin-mcp-credentials",
3
- "description": "Official MCP client replacement with credential-backed Streamable HTTP Bearer authentication",
4
- "version": "0.1.0-rc.9",
5
- "publishConfig": {
6
- "access": "public"
2
+ "dependencies": {
3
+ "@deepseek-ai/schemastery": "^3.18.2",
4
+ "@modelcontextprotocol/sdk": "^1.12.0",
5
+ "zod": "^4.4.3"
7
6
  },
8
- "repository": {
9
- "type": "git",
10
- "url": "git+https://github.com/SparkElf/deepseek-harness-plus.git",
11
- "directory": "packages/plus/mcp-credentials"
7
+ "description": "Official MCP client replacement with credential-backed Streamable HTTP Bearer authentication",
8
+ "devDependencies": {
9
+ "@deepseek-ai/cordis": "^4.0.2",
10
+ "@deepseek-ai/dsh-attachment": "^0.1.5-rc.2",
11
+ "@deepseek-ai/dsh-credentials": "^0.1.5-rc.2",
12
+ "@deepseek-ai/dsh-llm": "^0.1.5-rc.2",
13
+ "@deepseek-ai/dsh-scope": "^0.1.5-rc.2",
14
+ "@deepseek-ai/dsh-subprocess": "^0.1.5-rc.2",
15
+ "@deepseek-ai/dsh-timeout": "^0.1.5-rc.2",
16
+ "@deepseek-ai/dsh-tools": "^0.1.5-rc.2",
17
+ "@deepseek-ai/dsh-util-values": "^0.1.5-rc.2"
12
18
  },
13
- "type": "module",
14
- "main": "lib/index.js",
15
- "types": "lib/types/index.d.ts",
16
19
  "exports": {
17
20
  ".": {
18
- "types": "./lib/types/index.d.ts",
19
- "default": "./lib/index.js"
20
- },
21
- "./invariant": {
22
- "types": "./lib/types/invariant.d.ts",
23
- "default": "./lib/invariant.js"
21
+ "default": "./lib/index.js",
22
+ "types": "./lib/types/index.d.ts"
24
23
  },
25
24
  "./package.json": "./package.json"
26
25
  },
27
26
  "files": [
28
27
  "lib/index.js",
29
- "lib/invariant.js",
30
28
  "lib/types/**/*.d.ts"
31
29
  ],
32
30
  "license": "MIT",
31
+ "main": "lib/index.js",
32
+ "name": "@sparkelf/dsh-plugin-mcp-credentials",
33
33
  "peerDependencies": {
34
- "@deepseek-ai/dsh-attachment": ">=0.1.2-alpha.1",
35
- "@deepseek-ai/dsh-invariants": ">=0.1.2-alpha.1",
36
- "@deepseek-ai/dsh-llm": ">=0.1.2-alpha.1",
37
- "@deepseek-ai/dsh-scope": ">=0.1.2-alpha.1",
38
- "@deepseek-ai/dsh-subprocess": ">=0.1.2-alpha.1",
39
- "@deepseek-ai/dsh-timeout": ">=0.1.2-alpha.1",
40
- "@deepseek-ai/dsh-tools": ">=0.1.2-alpha.1",
41
34
  "@deepseek-ai/cordis": ">=4.0.1",
42
- "@deepseek-ai/dsh-credentials": ">=0.1.2-alpha.1"
35
+ "@deepseek-ai/dsh-attachment": ">=0.1.5-rc.2",
36
+ "@deepseek-ai/dsh-credentials": ">=0.1.5-rc.2",
37
+ "@deepseek-ai/dsh-llm": ">=0.1.5-rc.2",
38
+ "@deepseek-ai/dsh-scope": ">=0.1.5-rc.2",
39
+ "@deepseek-ai/dsh-subprocess": ">=0.1.5-rc.2",
40
+ "@deepseek-ai/dsh-timeout": ">=0.1.5-rc.2",
41
+ "@deepseek-ai/dsh-tools": ">=0.1.5-rc.2"
43
42
  },
44
- "dependencies": {
45
- "@modelcontextprotocol/sdk": "^1.12.0",
46
- "@deepseek-ai/schemastery": ">=3.18.1",
47
- "zod": "^4.4.3"
43
+ "publishConfig": {
44
+ "access": "public"
48
45
  },
49
- "devDependencies": {
50
- "@deepseek-ai/dsh-attachment": "^0.1.2-alpha.1",
51
- "@deepseek-ai/dsh-invariants": "^0.1.2-alpha.1",
52
- "@deepseek-ai/dsh-llm": "^0.1.2-alpha.1",
53
- "@deepseek-ai/dsh-scope": "^0.1.2-alpha.1",
54
- "@deepseek-ai/dsh-subprocess": "^0.1.2-alpha.1",
55
- "@deepseek-ai/dsh-timeout": "^0.1.2-alpha.1",
56
- "@deepseek-ai/dsh-tools": "^0.1.2-alpha.1",
57
- "@deepseek-ai/cordis": "^4.0.1",
58
- "@deepseek-ai/dsh-credentials": "^0.1.2-alpha.1"
59
- }
60
- }
46
+ "repository": {
47
+ "directory": "packages/plus/mcp-credentials",
48
+ "type": "git",
49
+ "url": "git+https://github.com/deepseek-ai/deepseek-harness.git"
50
+ },
51
+ "type": "module",
52
+ "types": "lib/types/index.d.ts",
53
+ "version": "0.2.0-rc.2"
54
+ }
package/lib/invariant.js DELETED
@@ -1,23 +0,0 @@
1
- //#region lib/types/invariant.js
2
- /**
3
- * Package-owned invariant companion for `@sparkelf/dsh-plugin-mcp-credentials`.
4
- * @module @sparkelf/dsh-plugin-mcp-credentials/invariant
5
- */
6
- const PACKAGE_NAME = "@sparkelf/dsh-plugin-mcp-credentials";
7
- /** Cordis companion plugin name. */
8
- const name = "mcp-client-invariant";
9
- /** Service required before the companion can reserve package ownership. */
10
- const inject = ["invariants"];
11
- /**
12
- * No runtime invariant: MCP generations contribute through the tool registry, but the bridge
13
- * exposes no independent server-to-tool snapshot after an asynchronous resync.
14
- */
15
- const install = () => {};
16
- /**
17
- * Register this package's invariant companion.
18
- * @param ctx - Cordis context carrying the invariant service.
19
- * @returns the installed registration's disposer after setup succeeds.
20
- */
21
- const apply = (ctx) => Promise.resolve(ctx.invariants.register(PACKAGE_NAME, install));
22
- //#endregion
23
- export { apply, inject, name };
@@ -1,16 +0,0 @@
1
- /**
2
- * Package-owned invariant companion for `@sparkelf/dsh-plugin-mcp-credentials`.
3
- * @module @sparkelf/dsh-plugin-mcp-credentials/invariant
4
- */
5
- import type { Context } from '@deepseek-ai/cordis';
6
- /** Cordis companion plugin name. */
7
- export declare const name = "mcp-client-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