@prettier-ai/dsh-webhook-github 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 +2 -2
- package/README.md +2 -0
- package/README.zh.md +2 -0
- package/package.json +12 -19
- package/lib/invariant.js +0 -20
- package/lib/types/invariant.d.ts +0 -13
- package/lib/types/invariant.js +0 -18
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:
|
|
6
|
-
README.zh.md:
|
|
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
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.
|
|
4
|
+
"version": "0.1.2-alpha.4",
|
|
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.
|
|
42
|
-
"@prettier-ai/dsh-credentials": "^0.1.2-alpha.
|
|
43
|
-
"@prettier-ai/dsh-
|
|
44
|
-
"@prettier-ai/dsh-
|
|
45
|
-
"@prettier-ai/dsh-webhook": "^0.1.2-alpha.3"
|
|
36
|
+
"@prettier-ai/dsh-host-webserver": "^0.1.2-alpha.4",
|
|
37
|
+
"@prettier-ai/dsh-credentials": "^0.1.2-alpha.4",
|
|
38
|
+
"@prettier-ai/dsh-session": "^0.1.2-alpha.4",
|
|
39
|
+
"@prettier-ai/dsh-webhook": "^0.1.2-alpha.4"
|
|
46
40
|
},
|
|
47
41
|
"dependencies": {
|
|
48
42
|
"@octokit/webhooks": "^14.2.0",
|
|
49
|
-
"@prettier-ai/
|
|
50
|
-
"@prettier-ai/
|
|
43
|
+
"@prettier-ai/dsh-util-values": "^0.1.2-alpha.4",
|
|
44
|
+
"@prettier-ai/schemastery": "^3.18.2"
|
|
51
45
|
},
|
|
52
46
|
"devDependencies": {
|
|
53
47
|
"@prettier-ai/cordis-plugin-include": "^1.0.7",
|
|
54
|
-
"@prettier-ai/cordis": "^4.0.2",
|
|
55
48
|
"@prettier-ai/cordis-plugin-loader": "^1.0.3",
|
|
56
|
-
"@prettier-ai/dsh-credentials": "^0.1.2-alpha.
|
|
57
|
-
"@prettier-ai/
|
|
58
|
-
"@prettier-ai/dsh-
|
|
59
|
-
"@prettier-ai/dsh-
|
|
60
|
-
"@prettier-ai/dsh-
|
|
49
|
+
"@prettier-ai/dsh-credentials": "^0.1.2-alpha.4",
|
|
50
|
+
"@prettier-ai/cordis": "^4.0.2",
|
|
51
|
+
"@prettier-ai/dsh-session": "^0.1.2-alpha.4",
|
|
52
|
+
"@prettier-ai/dsh-webhook": "^0.1.2-alpha.4",
|
|
53
|
+
"@prettier-ai/dsh-host-webserver": "^0.1.2-alpha.4"
|
|
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 };
|
package/lib/types/invariant.d.ts
DELETED
|
@@ -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
|
package/lib/types/invariant.js
DELETED
|
@@ -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
|