@prettier-ai/dsh-webhook-github 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 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/webhook/webhook-github/README.md
5
- README.md: ce0e2da0aa355166ba940b9a991f6ee5c7fa1f9c
6
- README.zh.md: c5ad924ec2040281d12c5890e5679413a07a4c81
5
+ README.md: 9c2b20f4abbc183fd5aa78454ce3b2c9266aa79c
6
+ README.zh.md: 34d847b76acf4ead271f5005a924df6563aacb9f
package/README.md CHANGED
@@ -84,3 +84,5 @@ Independent. Authentication and HTTP dispatch do not touch a model request; any
84
84
  None.
85
85
 
86
86
  </details>
87
+
88
+ **Runtime invariant:** No companion is published. Authentication and input validation occur at the exact HTTP operation; dsh-host-webserver owns route/disposer symmetry.
package/README.zh.md CHANGED
@@ -84,3 +84,5 @@ kind: "package-reference"
84
84
  无。
85
85
 
86
86
  </details>
87
+
88
+ **运行时不变式:** 不发布伴生入口。authentication 与 input validation 在对应 HTTP 操作中完成;route/disposer 对称性由 `dsh-host-webserver` 负责。
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@prettier-ai/dsh-webhook-github",
3
3
  "description": "Signed GitHub HTTP webhook adapter for the DeepSeek Harness webhook runtime",
4
- "version": "0.1.2-alpha.3",
4
+ "version": "0.1.2-alpha.5",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -22,41 +22,34 @@
22
22
  "types": "./lib/types/types.d.ts",
23
23
  "default": "./lib/types/types.js"
24
24
  },
25
- "./invariant": {
26
- "types": "./lib/types/invariant.d.ts",
27
- "default": "./lib/invariant.js"
28
- },
29
25
  "./src/*": "./src/*",
30
26
  "./package.json": "./package.json"
31
27
  },
32
28
  "files": [
33
29
  "lib/index.js",
34
- "lib/invariant.js",
35
30
  "lib/types/**/*.js",
36
31
  "lib/types/**/*.d.ts"
37
32
  ],
38
33
  "license": "MIT",
39
34
  "peerDependencies": {
40
35
  "@prettier-ai/cordis": "^4.0.2",
41
- "@prettier-ai/dsh-host-webserver": "^0.1.2-alpha.3",
42
- "@prettier-ai/dsh-credentials": "^0.1.2-alpha.3",
43
- "@prettier-ai/dsh-invariants": "^0.1.2-alpha.3",
44
- "@prettier-ai/dsh-session": "^0.1.2-alpha.3",
45
- "@prettier-ai/dsh-webhook": "^0.1.2-alpha.3"
36
+ "@prettier-ai/dsh-host-webserver": "^0.1.2-alpha.5",
37
+ "@prettier-ai/dsh-session": "^0.1.2-alpha.5",
38
+ "@prettier-ai/dsh-webhook": "^0.1.2-alpha.5",
39
+ "@prettier-ai/dsh-credentials": "^0.1.2-alpha.5"
46
40
  },
47
41
  "dependencies": {
48
42
  "@octokit/webhooks": "^14.2.0",
49
- "@prettier-ai/schemastery": "^3.18.2",
50
- "@prettier-ai/dsh-util-values": "^0.1.2-alpha.3"
43
+ "@prettier-ai/dsh-util-values": "^0.1.2-alpha.5",
44
+ "@prettier-ai/schemastery": "^3.18.2"
51
45
  },
52
46
  "devDependencies": {
53
- "@prettier-ai/cordis-plugin-include": "^1.0.7",
54
47
  "@prettier-ai/cordis": "^4.0.2",
48
+ "@prettier-ai/cordis-plugin-include": "^1.0.7",
55
49
  "@prettier-ai/cordis-plugin-loader": "^1.0.3",
56
- "@prettier-ai/dsh-credentials": "^0.1.2-alpha.3",
57
- "@prettier-ai/dsh-invariants": "^0.1.2-alpha.3",
58
- "@prettier-ai/dsh-host-webserver": "^0.1.2-alpha.3",
59
- "@prettier-ai/dsh-session": "^0.1.2-alpha.3",
60
- "@prettier-ai/dsh-webhook": "^0.1.2-alpha.3"
50
+ "@prettier-ai/dsh-credentials": "^0.1.2-alpha.5",
51
+ "@prettier-ai/dsh-host-webserver": "^0.1.2-alpha.5",
52
+ "@prettier-ai/dsh-session": "^0.1.2-alpha.5",
53
+ "@prettier-ai/dsh-webhook": "^0.1.2-alpha.5"
61
54
  }
62
55
  }
package/lib/invariant.js DELETED
@@ -1,20 +0,0 @@
1
- //#region lib/types/invariant.js
2
- /** Package-owned invariant companion for the GitHub webhook adapter. */
3
- const PACKAGE_NAME = "@prettier-ai/dsh-webhook-github";
4
- /** Cordis invariant-companion plugin name. */
5
- const name = "webhook-github-invariant";
6
- /** Registry required before reserving this package's invariant ownership. */
7
- const inject = ["invariants"];
8
- /**
9
- * No runtime invariant: authentication and input validation occur at the exact
10
- * HTTP operation; dsh-host-webserver owns route/disposer symmetry.
11
- */
12
- const install = () => {};
13
- /**
14
- * Register this package's explained empty invariant.
15
- * @param ctx - Cordis context carrying the invariant registry.
16
- * @returns the invariant registration disposer.
17
- */
18
- const apply = (ctx) => Promise.resolve(ctx.invariants.register(PACKAGE_NAME, install));
19
- //#endregion
20
- export { apply, inject, name };
@@ -1,13 +0,0 @@
1
- /** Package-owned invariant companion for the GitHub webhook adapter. */
2
- import type { Context } from '@prettier-ai/cordis';
3
- /** Cordis invariant-companion plugin name. */
4
- export declare const name = "webhook-github-invariant";
5
- /** Registry required before reserving this package's invariant ownership. */
6
- export declare const inject: string[];
7
- /**
8
- * Register this package's explained empty invariant.
9
- * @param ctx - Cordis context carrying the invariant registry.
10
- * @returns the invariant registration disposer.
11
- */
12
- export declare const apply: (ctx: Context) => Promise<() => void>;
13
- //# sourceMappingURL=invariant.d.ts.map
@@ -1,18 +0,0 @@
1
- /** Package-owned invariant companion for the GitHub webhook adapter. */
2
- const PACKAGE_NAME = '@prettier-ai/dsh-webhook-github';
3
- /** Cordis invariant-companion plugin name. */
4
- export const name = 'webhook-github-invariant';
5
- /** Registry required before reserving this package's invariant ownership. */
6
- export const inject = ['invariants'];
7
- /**
8
- * No runtime invariant: authentication and input validation occur at the exact
9
- * HTTP operation; dsh-host-webserver owns route/disposer symmetry.
10
- */
11
- const install = () => { };
12
- /**
13
- * Register this package's explained empty invariant.
14
- * @param ctx - Cordis context carrying the invariant registry.
15
- * @returns the invariant registration disposer.
16
- */
17
- export const apply = (ctx) => Promise.resolve(ctx.invariants.register(PACKAGE_NAME, install));
18
- //# sourceMappingURL=invariant.js.map