@milkenjoyer/toolchain 0.7.3 → 0.9.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,28 @@
1
+ import * as Schema from "effect/Schema";
2
+ import * as Effect from "effect/Effect";
3
+ import { FileSystem } from "effect/FileSystem";
4
+ import * as Cause from "effect/Cause";
5
+ import * as Config from "effect/Config";
6
+ export type PullRequest = {
7
+ readonly author: string;
8
+ readonly body: string | null;
9
+ readonly files: ReadonlyArray<string> | undefined;
10
+ };
11
+ export type Verdict = {
12
+ readonly _tag: "Exempt";
13
+ readonly reason: string;
14
+ } | {
15
+ readonly _tag: "Proven";
16
+ } | {
17
+ readonly _tag: "Unproven";
18
+ readonly reason: string;
19
+ };
20
+ export declare const verdict: (pr: PullRequest) => Verdict;
21
+ declare const VerificationError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => Cause.YieldableError & {
22
+ readonly _tag: "VerificationError";
23
+ } & Readonly<A>;
24
+ declare class VerificationError extends VerificationError_base<{
25
+ readonly message: string;
26
+ }> {}
27
+ export declare const checkVerification: Effect.Effect<0 | 1, Config.ConfigError | import("effect/PlatformError").PlatformError | Schema.SchemaError | VerificationError, FileSystem>;
28
+ export {};
@@ -0,0 +1,98 @@
1
+ #!/usr/bin/env bun
2
+ import * as Data from "effect/Data";
3
+ import * as Schema from "effect/Schema";
4
+ import * as Effect from "effect/Effect";
5
+ import { FileSystem } from "effect/FileSystem";
6
+ import { NodeServices } from "@effect/platform-node";
7
+ import { Octokit } from "@octokit/rest";
8
+ import * as Cause from "effect/Cause";
9
+ import * as Config from "effect/Config";
10
+ import * as Exit from "effect/Exit";
11
+ import * as Redacted from "effect/Redacted";
12
+ import * as Console from "effect/Console";
13
+ // src/verification.ts
14
+ const exemptions = [{
15
+ reason: "Renovate PR",
16
+ applies: (pr) => pr.author === "renovate[bot]"
17
+ }, {
18
+ reason: "changes only docs, content or art",
19
+ applies: (pr) => pr.files !== void 0 && pr.files.length > 0 && pr.files.every((file) => /^(?:LICENSE.*|.*\.(?:md|mdx|png|jpg|jpeg|gif|webp|avif|svg|ico|mp4|webm|mov|mp3|wav|ogg|woff|woff2|ttf|otf))$/iu.test(file.split("/").at(-1) ?? ""))
20
+ }];
21
+ const verdict = (pr) => {
22
+ const exemption = exemptions.find((entry) => entry.applies(pr));
23
+ if (exemption !== void 0) return {
24
+ _tag: "Exempt",
25
+ reason: exemption.reason
26
+ };
27
+ const lines = (pr.body ?? "").replaceAll(/<!--[\s\S]*?-->/gu, "").split(/\r?\n/u);
28
+ const start = lines.findIndex((line) => /^##\s+Verification\s*$/iu.test(line));
29
+ if (start === -1) return {
30
+ _tag: "Unproven",
31
+ reason: "has no ## Verification section"
32
+ };
33
+ const fencedRun = "\0";
34
+ const [section = ""] = lines.slice(start + 1).join("\n").replaceAll(/^ {0,3}(`{3,}|~{3,})[^\n]*\n([\s\S]*?)^ {0,3}\1[ \t]*$/gmu, (_fence, _marker, content) => content.trim() === "" ? "" : fencedRun).split(/^(?:# |## )/mu);
35
+ return section.includes(fencedRun) || /`[^`\s][^`]*`/u.test(section) ? { _tag: "Proven" } : {
36
+ _tag: "Unproven",
37
+ reason: "names no run"
38
+ };
39
+ };
40
+ var VerificationError = class extends Data.TaggedError("VerificationError") {};
41
+ const github = (request) => Effect.tryPromise({
42
+ try: request,
43
+ catch: (cause) => new VerificationError({ message: cause instanceof Error ? cause.message : String(cause) })
44
+ });
45
+ const PullRequestEvent = Schema.fromJsonString(Schema.Struct({
46
+ pull_request: Schema.Struct({
47
+ number: Schema.Finite,
48
+ body: Schema.NullOr(Schema.String),
49
+ user: Schema.Struct({ login: Schema.String }),
50
+ base: Schema.Struct({ sha: Schema.String }),
51
+ head: Schema.Struct({ sha: Schema.String })
52
+ }),
53
+ repository: Schema.Struct({ full_name: Schema.String })
54
+ }));
55
+ const checkVerification = Effect.gen(function* () {
56
+ if ((yield* Config.String("GITHUB_EVENT_NAME").pipe(Config.withDefault(""))) !== "pull_request") {
57
+ yield* Console.log("Not a pull_request event, so there is no PR to check.");
58
+ return 0;
59
+ }
60
+ const fs = yield* FileSystem;
61
+ const eventPath = yield* Config.String("GITHUB_EVENT_PATH");
62
+ const payload = yield* fs.readFileString(eventPath);
63
+ const { pull_request: pr, repository } = yield* Schema.decodeEffect(PullRequestEvent)(payload);
64
+ const [, owner, repo] = /^([^/\s]+)\/([^/\s]+)$/u.exec(repository.full_name) ?? [];
65
+ if (owner === void 0 || repo === void 0) return yield* new VerificationError({ message: "Invalid repository.full_name" });
66
+ const token = yield* Config.schema(Schema.Redacted(Schema.NonEmptyString), "GH_TOKEN").pipe(Config.orElse(() => Config.schema(Schema.Redacted(Schema.NonEmptyString), "GITHUB_TOKEN")), Effect.mapError(() => new VerificationError({ message: "Missing GH_TOKEN or GITHUB_TOKEN" })));
67
+ const octokit = new Octokit({ auth: Redacted.value(token) });
68
+ const { data } = yield* github(() => octokit.rest.repos.compareCommitsWithBasehead({
69
+ owner,
70
+ repo,
71
+ basehead: `${pr.base.sha}...${pr.head.sha}`
72
+ }));
73
+ const result = verdict({
74
+ author: pr.user.login,
75
+ body: pr.body,
76
+ files: data.files === void 0 || data.files.length >= 300 ? void 0 : data.files.map((file) => file.filename)
77
+ });
78
+ if (result._tag === "Exempt") {
79
+ yield* Console.log(`PR #${pr.number} is exempt: ${result.reason}.`);
80
+ return 0;
81
+ }
82
+ if (result._tag === "Proven") {
83
+ yield* Console.log(`PR #${pr.number}'s ## Verification names a run.`);
84
+ return 0;
85
+ }
86
+ yield* Console.error(`PR #${pr.number} ${result.reason}. Add a ## Verification section naming each real run (the command or verifier recipe in backticks) and its outcome, then push again after editing the body: a rerun reads the body from the original event.`);
87
+ return 1;
88
+ });
89
+ if (import.meta.main) {
90
+ const exit = await Effect.runPromiseExit(checkVerification.pipe(Effect.provide(NodeServices.layer)));
91
+ if (Exit.isSuccess(exit)) process.exitCode = exit.value;
92
+ else {
93
+ const error = Cause.squash(exit.cause);
94
+ process.stderr.write(`${error instanceof Error ? error.message : String(error)}\n`);
95
+ process.exitCode = 1;
96
+ }
97
+ }
98
+ export { checkVerification, verdict };
@@ -0,0 +1,142 @@
1
+ import * as Arr from "effect/Array";
2
+ import { dual } from "effect/Function";
3
+ import * as Option from "effect/Option";
4
+ import * as R from "effect/Record";
5
+ import * as Schema from "effect/Schema";
6
+ import * as Str from "effect/String";
7
+ // src/versions.ts
8
+ const nodeVersion = "26.13.0";
9
+ const families = [
10
+ {
11
+ name: "vite-plus",
12
+ version: "1.5.0",
13
+ packages: ["vite-plus"],
14
+ scopes: []
15
+ },
16
+ {
17
+ name: "alchemy",
18
+ version: "2.0.0-beta.85",
19
+ packages: [
20
+ "@alchemy.run/domain",
21
+ "alchemy",
22
+ "@alchemy.run/github",
23
+ "@alchemy.run/test"
24
+ ],
25
+ scopes: ["@alchemy.run/"]
26
+ },
27
+ {
28
+ name: "foldkit",
29
+ version: "0.170.0",
30
+ packages: ["foldkit", "@foldkit/ui"],
31
+ scopes: []
32
+ },
33
+ {
34
+ name: "@foldkit/vite-plugin",
35
+ version: "0.29.0",
36
+ packages: ["@foldkit/vite-plugin"],
37
+ scopes: []
38
+ },
39
+ {
40
+ name: "@foldkit/devtools-mcp",
41
+ version: "0.26.0",
42
+ packages: ["@foldkit/devtools-mcp"],
43
+ scopes: []
44
+ },
45
+ {
46
+ name: "@foldkit/oxlint-plugin",
47
+ version: "0.15.4",
48
+ packages: ["@foldkit/oxlint-plugin"],
49
+ scopes: []
50
+ },
51
+ {
52
+ name: "effect",
53
+ version: "4.1.2",
54
+ packages: [
55
+ "effect",
56
+ "@effect/platform-browser",
57
+ "@effect/platform-bun",
58
+ "@effect/platform-node",
59
+ "@effect/platform-node-shared",
60
+ "@effect/vitest"
61
+ ],
62
+ scopes: ["@effect/"]
63
+ },
64
+ {
65
+ name: "@effect/tsgo",
66
+ version: "0.67.3",
67
+ packages: ["@effect/tsgo"],
68
+ scopes: []
69
+ },
70
+ {
71
+ name: "ultracite",
72
+ version: "8.1.1",
73
+ packages: ["ultracite"],
74
+ scopes: []
75
+ },
76
+ {
77
+ name: "@mpsuesser/oxlint-plugin-effect",
78
+ version: "0.6.0",
79
+ packages: ["@mpsuesser/oxlint-plugin-effect"],
80
+ scopes: []
81
+ },
82
+ {
83
+ name: "effect-oxlint",
84
+ version: "0.4.0",
85
+ packages: ["effect-oxlint"],
86
+ scopes: []
87
+ },
88
+ {
89
+ name: "typescript",
90
+ version: "7.0.2",
91
+ packages: ["typescript"],
92
+ scopes: []
93
+ }
94
+ ];
95
+ const fixed = [
96
+ {
97
+ name: "oxlint",
98
+ version: "1.91.0",
99
+ by: "vite-plus"
100
+ },
101
+ {
102
+ name: "@oxlint/plugins",
103
+ version: "1.91.0",
104
+ by: "vite-plus"
105
+ },
106
+ {
107
+ name: "oxlint-tsgolint",
108
+ version: "7.0.2005",
109
+ by: "vite-plus"
110
+ },
111
+ {
112
+ name: "oxfmt",
113
+ version: "0.76.0",
114
+ by: "vite-plus"
115
+ },
116
+ {
117
+ name: "vitest",
118
+ version: "5.1.0",
119
+ by: "vite-plus"
120
+ },
121
+ {
122
+ name: "vite",
123
+ version: "npm:@voidzero-dev/vite-plus-core@1.5.0",
124
+ by: "vite-plus"
125
+ }
126
+ ];
127
+ const catalog = {
128
+ families,
129
+ fixed
130
+ };
131
+ const lead = (family) => family.packages[0] ?? family.name;
132
+ const inScope = (current, family, name) => Arr.some(family.scopes, (scope) => Str.startsWith(scope)(name)) && Arr.every(current.families, (other) => other === family || !other.packages.includes(name));
133
+ const familyOf = dual((args) => Schema.is(Schema.String)(args[0]), (name, current = catalog) => Option.orElse(Arr.findFirst(current.families, (family) => family.packages.includes(name)), () => Arr.findFirst(current.families, (family) => inScope(current, family, name))));
134
+ const lookupNamed = (entries) => dual((args) => Schema.is(Schema.String)(args[0]), (name, current = catalog) => Arr.findFirst(entries(current), (entry) => entry.name === name));
135
+ const fixedOf = lookupNamed((current) => current.fixed);
136
+ const familyNamed = lookupNamed((current) => current.families);
137
+ const fixedBy = dual((args) => Schema.is(Schema.String)(args[0]), (family, current = catalog) => Arr.filter(current.fixed, (entry) => entry.by === family));
138
+ const ownerOf = dual((args) => Schema.is(Schema.String)(args[0]), (name, current = catalog) => Option.orElse(familyOf(name, current), () => Option.flatMap(fixedOf(name, current), (entry) => familyNamed(entry.by, current))));
139
+ const versionOf = dual((args) => Schema.is(Schema.String)(args[0]), (name, current = catalog) => Option.orElse(Option.map(familyOf(name, current), (family) => family.version), () => Option.map(fixedOf(name, current), (entry) => entry.version)));
140
+ const pinned = (current) => R.fromEntries([...Arr.flatMap(current.families, (family) => Arr.map(family.packages, (name) => [name, family.version])), ...Arr.map(current.fixed, (entry) => [entry.name, entry.version])]);
141
+ const versions = pinned(catalog);
142
+ export { fixed as a, lead as c, pinned as d, versionOf as f, familyOf as i, nodeVersion as l, families as n, fixedBy as o, versions as p, familyNamed as r, fixedOf as s, catalog as t, ownerOf as u };
@@ -0,0 +1,46 @@
1
+ import * as Option from "effect/Option";
2
+ type Family = {
3
+ readonly name: string;
4
+ readonly version: string;
5
+ readonly packages: ReadonlyArray<string>;
6
+ readonly scopes: ReadonlyArray<string>;
7
+ };
8
+ type Fixed = {
9
+ readonly name: string;
10
+ readonly version: string;
11
+ readonly by: string;
12
+ };
13
+ declare const nodeVersion = "26.13.0";
14
+ declare const families: ReadonlyArray<Family>;
15
+ declare const fixed: ReadonlyArray<Fixed>;
16
+ type Catalog = {
17
+ readonly families: ReadonlyArray<Family>;
18
+ readonly fixed: ReadonlyArray<Fixed>;
19
+ };
20
+ declare const catalog: Catalog;
21
+ declare const lead: (family: Family) => string;
22
+ declare const familyOf: {
23
+ (current?: Catalog): (name: string) => Option.Option<Family>;
24
+ (name: string, current?: Catalog): Option.Option<Family>;
25
+ };
26
+ type NamedLookup<A> = {
27
+ (current?: Catalog): (name: string) => Option.Option<A>;
28
+ (name: string, current?: Catalog): Option.Option<A>;
29
+ };
30
+ declare const fixedOf: NamedLookup<Fixed>;
31
+ declare const familyNamed: NamedLookup<Family>;
32
+ declare const fixedBy: {
33
+ (current?: Catalog): (family: string) => ReadonlyArray<Fixed>;
34
+ (family: string, current?: Catalog): ReadonlyArray<Fixed>;
35
+ };
36
+ declare const ownerOf: {
37
+ (current?: Catalog): (name: string) => Option.Option<Family>;
38
+ (name: string, current?: Catalog): Option.Option<Family>;
39
+ };
40
+ declare const versionOf: {
41
+ (current?: Catalog): (name: string) => Option.Option<string>;
42
+ (name: string, current?: Catalog): Option.Option<string>;
43
+ };
44
+ declare const pinned: (current: Catalog) => Readonly<Record<string, string>>;
45
+ declare const versions: Readonly<Record<string, string>>;
46
+ export { families as a, fixed as c, lead as d, nodeVersion as f, versions as g, versionOf as h, catalog as i, fixedBy as l, pinned as m, Family as n, familyNamed as o, ownerOf as p, Fixed as r, familyOf as s, Catalog as t, fixedOf as u };
@@ -1,46 +1,2 @@
1
- import * as Option from "effect/Option";
2
- export type Family = {
3
- readonly name: string;
4
- readonly version: string;
5
- readonly packages: ReadonlyArray<string>;
6
- readonly scopes: ReadonlyArray<string>;
7
- };
8
- export type Fixed = {
9
- readonly name: string;
10
- readonly version: string;
11
- readonly by: string;
12
- };
13
- export declare const nodeVersion = "26.13.0";
14
- export declare const families: ReadonlyArray<Family>;
15
- export declare const fixed: ReadonlyArray<Fixed>;
16
- export type Catalog = {
17
- readonly families: ReadonlyArray<Family>;
18
- readonly fixed: ReadonlyArray<Fixed>;
19
- };
20
- export declare const catalog: Catalog;
21
- export declare const lead: (family: Family) => string;
22
- export declare const familyOf: {
23
- (current?: Catalog): (name: string) => Option.Option<Family>;
24
- (name: string, current?: Catalog): Option.Option<Family>;
25
- };
26
- type NamedLookup<A> = {
27
- (current?: Catalog): (name: string) => Option.Option<A>;
28
- (name: string, current?: Catalog): Option.Option<A>;
29
- };
30
- export declare const fixedOf: NamedLookup<Fixed>;
31
- export declare const familyNamed: NamedLookup<Family>;
32
- export declare const fixedBy: {
33
- (current?: Catalog): (family: string) => ReadonlyArray<Fixed>;
34
- (family: string, current?: Catalog): ReadonlyArray<Fixed>;
35
- };
36
- export declare const ownerOf: {
37
- (current?: Catalog): (name: string) => Option.Option<Family>;
38
- (name: string, current?: Catalog): Option.Option<Family>;
39
- };
40
- export declare const versionOf: {
41
- (current?: Catalog): (name: string) => Option.Option<string>;
42
- (name: string, current?: Catalog): Option.Option<string>;
43
- };
44
- export declare const pinned: (current: Catalog) => Readonly<Record<string, string>>;
45
- export declare const versions: Readonly<Record<string, string>>;
46
- export {};
1
+ import { a as families, c as fixed, d as lead, f as nodeVersion, g as versions, h as versionOf, i as catalog, l as fixedBy, m as pinned, n as Family, o as familyNamed, p as ownerOf, r as Fixed, s as familyOf, t as Catalog, u as fixedOf } from "./versions-D02TrtKw.mjs";
2
+ export { Catalog, Family, Fixed, catalog, families, familyNamed, familyOf, fixed, fixedBy, fixedOf, lead, nodeVersion, ownerOf, pinned, versionOf, versions };
package/dist/versions.mjs CHANGED
@@ -1,142 +1 @@
1
- import * as Arr from "effect/Array";
2
- import { dual } from "effect/Function";
3
- import * as Option from "effect/Option";
4
- import * as R from "effect/Record";
5
- import * as Schema from "effect/Schema";
6
- import * as Str from "effect/String";
7
- // src/versions.ts
8
- const nodeVersion = "26.13.0";
9
- const families = [
10
- {
11
- name: "vite-plus",
12
- version: "1.5.0",
13
- packages: ["vite-plus"],
14
- scopes: []
15
- },
16
- {
17
- name: "alchemy",
18
- version: "2.0.0-beta.85",
19
- packages: [
20
- "@alchemy.run/domain",
21
- "alchemy",
22
- "@alchemy.run/github",
23
- "@alchemy.run/test"
24
- ],
25
- scopes: ["@alchemy.run/"]
26
- },
27
- {
28
- name: "foldkit",
29
- version: "0.170.0",
30
- packages: ["foldkit", "@foldkit/ui"],
31
- scopes: []
32
- },
33
- {
34
- name: "@foldkit/vite-plugin",
35
- version: "0.29.0",
36
- packages: ["@foldkit/vite-plugin"],
37
- scopes: []
38
- },
39
- {
40
- name: "@foldkit/devtools-mcp",
41
- version: "0.26.0",
42
- packages: ["@foldkit/devtools-mcp"],
43
- scopes: []
44
- },
45
- {
46
- name: "@foldkit/oxlint-plugin",
47
- version: "0.15.4",
48
- packages: ["@foldkit/oxlint-plugin"],
49
- scopes: []
50
- },
51
- {
52
- name: "effect",
53
- version: "4.1.2",
54
- packages: [
55
- "effect",
56
- "@effect/platform-browser",
57
- "@effect/platform-bun",
58
- "@effect/platform-node",
59
- "@effect/platform-node-shared",
60
- "@effect/vitest"
61
- ],
62
- scopes: ["@effect/"]
63
- },
64
- {
65
- name: "@effect/tsgo",
66
- version: "0.67.3",
67
- packages: ["@effect/tsgo"],
68
- scopes: []
69
- },
70
- {
71
- name: "ultracite",
72
- version: "8.1.1",
73
- packages: ["ultracite"],
74
- scopes: []
75
- },
76
- {
77
- name: "@mpsuesser/oxlint-plugin-effect",
78
- version: "0.6.0",
79
- packages: ["@mpsuesser/oxlint-plugin-effect"],
80
- scopes: []
81
- },
82
- {
83
- name: "effect-oxlint",
84
- version: "0.4.0",
85
- packages: ["effect-oxlint"],
86
- scopes: []
87
- },
88
- {
89
- name: "typescript",
90
- version: "7.0.2",
91
- packages: ["typescript"],
92
- scopes: []
93
- }
94
- ];
95
- const fixed = [
96
- {
97
- name: "oxlint",
98
- version: "1.91.0",
99
- by: "vite-plus"
100
- },
101
- {
102
- name: "@oxlint/plugins",
103
- version: "1.91.0",
104
- by: "vite-plus"
105
- },
106
- {
107
- name: "oxlint-tsgolint",
108
- version: "7.0.2005",
109
- by: "vite-plus"
110
- },
111
- {
112
- name: "oxfmt",
113
- version: "0.76.0",
114
- by: "vite-plus"
115
- },
116
- {
117
- name: "vitest",
118
- version: "5.1.0",
119
- by: "vite-plus"
120
- },
121
- {
122
- name: "vite",
123
- version: "npm:@voidzero-dev/vite-plus-core@1.5.0",
124
- by: "vite-plus"
125
- }
126
- ];
127
- const catalog = {
128
- families,
129
- fixed
130
- };
131
- const lead = (family) => family.packages[0] ?? family.name;
132
- const inScope = (current, family, name) => Arr.some(family.scopes, (scope) => Str.startsWith(scope)(name)) && Arr.every(current.families, (other) => other === family || !other.packages.includes(name));
133
- const familyOf = dual((args) => Schema.is(Schema.String)(args[0]), (name, current = catalog) => Option.orElse(Arr.findFirst(current.families, (family) => family.packages.includes(name)), () => Arr.findFirst(current.families, (family) => inScope(current, family, name))));
134
- const lookupNamed = (entries) => dual((args) => Schema.is(Schema.String)(args[0]), (name, current = catalog) => Arr.findFirst(entries(current), (entry) => entry.name === name));
135
- const fixedOf = lookupNamed((current) => current.fixed);
136
- const familyNamed = lookupNamed((current) => current.families);
137
- const fixedBy = dual((args) => Schema.is(Schema.String)(args[0]), (family, current = catalog) => Arr.filter(current.fixed, (entry) => entry.by === family));
138
- const ownerOf = dual((args) => Schema.is(Schema.String)(args[0]), (name, current = catalog) => Option.orElse(familyOf(name, current), () => Option.flatMap(fixedOf(name, current), (entry) => familyNamed(entry.by, current))));
139
- const versionOf = dual((args) => Schema.is(Schema.String)(args[0]), (name, current = catalog) => Option.orElse(Option.map(familyOf(name, current), (family) => family.version), () => Option.map(fixedOf(name, current), (entry) => entry.version)));
140
- const pinned = (current) => R.fromEntries([...Arr.flatMap(current.families, (family) => Arr.map(family.packages, (name) => [name, family.version])), ...Arr.map(current.fixed, (entry) => [entry.name, entry.version])]);
141
- const versions = pinned(catalog);
142
- export { catalog, families, familyNamed, familyOf, fixed, fixedBy, fixedOf, lead, nodeVersion, ownerOf, pinned, versionOf, versions };
1
+ export { t as catalog, n as families, r as familyNamed, i as familyOf, a as fixed, o as fixedBy, s as fixedOf, c as lead, l as nodeVersion, u as ownerOf, d as pinned, f as versionOf, p as versions } from "./versions-C7LKZGr3.mjs";
package/package.json CHANGED
@@ -1,16 +1,22 @@
1
1
  {
2
2
  "name": "@milkenjoyer/toolchain",
3
- "version": "0.7.3",
3
+ "version": "0.9.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/birbprophet/agent-kit.git",
7
7
  "directory": "packages/toolchain"
8
8
  },
9
+ "bin": {
10
+ "proof": "./src/proof.ts",
11
+ "verification": "./src/verification.ts"
12
+ },
9
13
  "files": [
10
14
  "dist",
11
15
  "licenses",
12
16
  "node-version",
13
17
  "renovate.json",
18
+ "src/proof.ts",
19
+ "src/verification.ts",
14
20
  "tsconfig.base.json",
15
21
  "vscode/extensions.json",
16
22
  "vscode/settings.json"
@@ -86,8 +92,10 @@
86
92
  "prepack": "vp pack"
87
93
  },
88
94
  "dependencies": {
95
+ "@effect/platform-node": "4.1.2",
89
96
  "@effect/tsgo": "0.67.3",
90
97
  "@foldkit/oxlint-plugin": "0.15.4",
98
+ "@octokit/rest": "22.0.1",
91
99
  "effect": "4.1.2",
92
100
  "effect-oxlint": "0.4.0",
93
101
  "semver": "7.8.6",
@@ -95,7 +103,6 @@
95
103
  },
96
104
  "devDependencies": {
97
105
  "@birbprophet/test-kit": "0.0.0",
98
- "@effect/platform-node": "4.1.2",
99
106
  "@effect/vitest": "4.1.2",
100
107
  "@mpsuesser/oxlint-plugin-effect": "0.6.0",
101
108
  "@types/semver": "7.8.0",