dsh-run2skill 0.3.0 → 0.4.0

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.
@@ -0,0 +1,25 @@
1
+ //#region src/adapters/dsh-remote/typert.d.ts
2
+ declare const TYPERT: Readonly<{
3
+ package: "dsh-run2skill";
4
+ face: "host";
5
+ schemas: never[];
6
+ invocations: readonly import("@deepseek-ai/dsh-typert-protocol").InvocationDescriptor[];
7
+ model: {
8
+ services: {
9
+ key: string;
10
+ exportName: string;
11
+ summary: string;
12
+ tags: never[];
13
+ members: {
14
+ kind: string;
15
+ name: string;
16
+ signature: string;
17
+ }[];
18
+ types: never[];
19
+ }[];
20
+ events: never[];
21
+ objects: never[];
22
+ };
23
+ }>;
24
+ //#endregion
25
+ export { TYPERT, TYPERT as default };
@@ -0,0 +1,30 @@
1
+ import { n as RUN2SKILL_REMOTE_DESCRIPTORS } from "./contract-W_T3v8Fv.js";
2
+ //#region src/adapters/dsh-remote/typert.ts
3
+ const TYPERT = Object.freeze({
4
+ package: "dsh-run2skill",
5
+ face: "host",
6
+ schemas: [],
7
+ invocations: RUN2SKILL_REMOTE_DESCRIPTORS,
8
+ model: {
9
+ services: [{
10
+ key: "run2skillRemote",
11
+ exportName: "Run2skillRemoteService",
12
+ summary: "Run2Skill read and mutation boundary for the DSH Web client.",
13
+ tags: [],
14
+ members: [{
15
+ kind: "method",
16
+ name: "query",
17
+ signature: "query(request: Run2skillQueryRequest, signal: AbortSignal): Promise<Run2skillRpcResult>"
18
+ }, {
19
+ kind: "method",
20
+ name: "command",
21
+ signature: "command(request: Run2skillCommandRequest, signal: AbortSignal): Promise<Run2skillRpcResult>"
22
+ }],
23
+ types: []
24
+ }],
25
+ events: [],
26
+ objects: []
27
+ }
28
+ });
29
+ //#endregion
30
+ export { TYPERT, TYPERT as default };
@@ -0,0 +1,38 @@
1
+ import { z } from "zod";
2
+ import { RemoteResult, TypertRemoteContribution } from "@deepseek-ai/dsh-typert-protocol";
3
+ //#region src/adapters/dsh-connection/observe-summary-rpc.d.ts
4
+ type ObserveRpcError = {
5
+ readonly code: string;
6
+ readonly message: string;
7
+ readonly details: Record<string, unknown>;
8
+ };
9
+ type ObserveRpcResult<T> = {
10
+ readonly ok: true;
11
+ readonly value: T;
12
+ } | {
13
+ readonly ok: false;
14
+ readonly error: ObserveRpcError;
15
+ };
16
+ //#endregion
17
+ //#region src/adapters/dsh-remote/contract.d.ts
18
+ declare const RUN2SKILL_QUERY_ENDPOINTS: readonly ["observe-summary", "attention", "proposals/list", "summary", "proposals/get", "recent-activity/list", "learning/status", "learning/issues/list", "purge/preview", "purge/status"];
19
+ declare const RUN2SKILL_COMMAND_ENDPOINTS: readonly ["proposals/approve", "proposals/reject", "proposals/retry", "proposals/refresh", "proposals/revise", "coverage/confirm-discard", "learning/request", "learning/issues/retry", "learning/issues/dismiss", "purge/confirm", "purge/retry"];
20
+ type Run2skillQueryEndpoint = typeof RUN2SKILL_QUERY_ENDPOINTS[number];
21
+ type Run2skillCommandEndpoint = typeof RUN2SKILL_COMMAND_ENDPOINTS[number];
22
+ type Run2skillEndpoint = Run2skillQueryEndpoint | Run2skillCommandEndpoint;
23
+ declare const RUN2SKILL_REMOTE: TypertRemoteContribution;
24
+ interface Run2skillRemoteRequest<Endpoint extends Run2skillEndpoint = Run2skillEndpoint> {
25
+ readonly endpoint: Endpoint;
26
+ readonly payload: unknown;
27
+ }
28
+ interface Run2skillRemoteNamespace {
29
+ query(request: Run2skillRemoteRequest<Run2skillQueryEndpoint>, signal?: AbortSignal): Promise<RemoteResult<ObserveRpcResult<unknown>>>;
30
+ command(request: Run2skillRemoteRequest<Run2skillCommandEndpoint>, signal?: AbortSignal): Promise<RemoteResult<ObserveRpcResult<unknown>>>;
31
+ }
32
+ declare module '@deepseek-ai/dsh-typert-protocol' {
33
+ interface TypertRemoteNamespaceMap {
34
+ run2skill: Run2skillRemoteNamespace;
35
+ }
36
+ }
37
+ //#endregion
38
+ export { RUN2SKILL_REMOTE as TYPERT_REMOTE, RUN2SKILL_REMOTE as default };
@@ -0,0 +1,2 @@
1
+ import { t as RUN2SKILL_REMOTE } from "./contract-W_T3v8Fv.js";
2
+ export { RUN2SKILL_REMOTE as TYPERT_REMOTE, RUN2SKILL_REMOTE as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-run2skill",
3
- "version": "0.3.0",
3
+ "version": "0.4.0",
4
4
  "description": "Turn explicit DSH session experience into reviewable native Skills",
5
5
  "keywords": [
6
6
  "deepseek-harness",
@@ -34,6 +34,14 @@
34
34
  "./client": {
35
35
  "default": "./lib/client.js"
36
36
  },
37
+ "./typert": {
38
+ "types": "./lib/typert.host.d.ts",
39
+ "default": "./lib/typert.host.js"
40
+ },
41
+ "./remote": {
42
+ "types": "./lib/typert.remote-client.d.ts",
43
+ "default": "./lib/typert.remote-client.js"
44
+ },
37
45
  "./package.json": "./package.json"
38
46
  },
39
47
  "files": [
@@ -51,8 +59,6 @@
51
59
  "client": {
52
60
  "platform": "web",
53
61
  "inject": [
54
- "@deepseek-ai/dsh-client-connection",
55
- "@deepseek-ai/dsh-client-runtime",
56
62
  "@deepseek-ai/dsh-client-ui-primitives",
57
63
  "@deepseek-ai/dsh-client-ui-settings",
58
64
  "@deepseek-ai/dsh-client-ui-settings-plugins",
@@ -69,25 +75,28 @@
69
75
  "zod": "^4.4.3"
70
76
  },
71
77
  "peerDependencies": {
72
- "@deepseek-ai/dsh-agent-presets": "0.1.1-rc.2",
73
- "@deepseek-ai/dsh-client-ui-primitives": "0.1.1-rc.2"
78
+ "@deepseek-ai/cordis": "4.0.2",
79
+ "@deepseek-ai/dsh-agent-presets": "0.1.2-rc.1",
80
+ "@deepseek-ai/dsh-client-ui-primitives": "0.1.2-rc.1",
81
+ "@deepseek-ai/dsh-typert-protocol": "0.1.2-rc.1"
74
82
  },
75
83
  "devDependencies": {
76
- "@deepseek-ai/dsh-agent": "0.1.1-rc.2",
77
- "@deepseek-ai/dsh-agent-presets": "0.1.1-rc.2",
78
- "@deepseek-ai/dsh-attachment": "0.1.1-rc.2",
79
- "@deepseek-ai/dsh-atomic-write": "0.1.1-rc.2",
80
- "@deepseek-ai/dsh-brand": "0.1.1-rc.2",
81
- "@deepseek-ai/dsh-client-ui-primitives": "0.1.1-rc.2",
82
- "@deepseek-ai/dsh-home-paths": "0.1.1-rc.2",
83
- "@deepseek-ai/dsh-invariants": "0.1.1-rc.2",
84
- "@deepseek-ai/dsh-llm": "0.1.1-rc.2",
85
- "@deepseek-ai/dsh-scope": "0.1.1-rc.2",
86
- "@deepseek-ai/dsh-session": "0.1.1-rc.2",
87
- "@deepseek-ai/dsh-settings": "0.1.1-rc.2",
88
- "@deepseek-ai/dsh-system-prompt": "0.1.1-rc.2",
89
- "@deepseek-ai/dsh-timeout": "0.1.1-rc.2",
90
- "@deepseek-ai/dsh-typert-protocol": "0.1.1-rc.2",
84
+ "@deepseek-ai/cordis": "4.0.2",
85
+ "@deepseek-ai/dsh-agent": "0.1.2-rc.1",
86
+ "@deepseek-ai/dsh-agent-presets": "0.1.2-rc.1",
87
+ "@deepseek-ai/dsh-attachment": "0.1.2-rc.1",
88
+ "@deepseek-ai/dsh-atomic-write": "0.1.2-rc.1",
89
+ "@deepseek-ai/dsh-brand": "0.1.2-rc.1",
90
+ "@deepseek-ai/dsh-client-ui-primitives": "0.1.2-rc.1",
91
+ "@deepseek-ai/dsh-home-paths": "0.1.2-rc.1",
92
+ "@deepseek-ai/dsh-invariants": "0.1.2-rc.1",
93
+ "@deepseek-ai/dsh-llm": "0.1.2-rc.1",
94
+ "@deepseek-ai/dsh-scope": "0.1.2-rc.1",
95
+ "@deepseek-ai/dsh-session": "0.1.2-rc.1",
96
+ "@deepseek-ai/dsh-settings": "0.1.2-rc.1",
97
+ "@deepseek-ai/dsh-system-prompt": "0.1.2-rc.1",
98
+ "@deepseek-ai/dsh-timeout": "0.1.2-rc.1",
99
+ "@deepseek-ai/dsh-typert-protocol": "0.1.2-rc.1",
91
100
  "@testing-library/react": "^16.3.2",
92
101
  "@types/node": "^22.20.0",
93
102
  "@types/react": "~18.3.1",
@@ -110,7 +119,7 @@
110
119
  "pack:check": "pnpm run build && pnpm pack --pack-destination .probe-work/package",
111
120
  "verify:candidate": "pnpm run build && pnpm run evaluate && node probes/crash-matrix/probe.mjs . && node probes/candidate/verify.mjs",
112
121
  "typecheck": "tsc --noEmit",
113
- "lint": "oxlint --deny-warnings src tests probes/candidate probes/support probes/install-lifecycle/release-upgrade-probe.mjs vitest.config.ts tsdown.config.ts",
122
+ "lint": "oxlint --deny-warnings src tests probes/candidate probes/support probes/dsh-rc1-profile probes/install-lifecycle/release-upgrade-probe.mjs vitest.config.ts tsdown.config.ts",
114
123
  "check": "pnpm run typecheck && pnpm run lint && pnpm run test && pnpm run test:publication"
115
124
  }
116
125
  }