@milkenjoyer/toolchain 0.18.0 → 0.20.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.
package/STARTS.md CHANGED
@@ -1,17 +1,9 @@
1
- # Boat start admission
1
+ # Boat workflow policy
2
2
 
3
- Pin `@milkenjoyer/toolchain` to `0.17.1`. Import `admitStart`, `BoatStarts`, `Merges` and `Repo` from `@milkenjoyer/toolchain/starts`. Wrap each create, fork or resume in `admitStart({ repo, jobs: 1, priority: "ordinary" }, start, { deadline })`. Priority is required and accepts `"ordinary"` or `"p0"`. Red main is p0. `Repo` validates an `owner/name`. `deadline` is an absolute epoch time in milliseconds. `start` is a lazy Effect that runs once after admission.
3
+ Pin `@milkenjoyer/toolchain` to `0.20.0`. Import `boatJobFindings` and `BOAT_JOBS_PER_RUN` from `@milkenjoyer/toolchain/starts`.
4
4
 
5
- Provide `BoatStarts.layer(key, { fetch? })` and `Merges.layer(githubToken, { fetch? })` with redacted credentials. Boat reads the key's default billing wallet. GitHub must see all four repos. Each optional `fetch` supplies that SDK's transport. The pure `decide(request, counts, now)` takes the current epoch time explicitly.
5
+ Pass every workflow as a `[path, text]` pair and add the returned findings to the repository's workflow policy. Each closure has at most two Boat jobs, including literal matrices, repeated local reusable calls and `workflow_run` descendants. Each descendant counts once per distinct activity type, or three times when `types` is absent. Dynamic or unresolved graphs produce findings. Keep runner, timeout and concurrency checks.
6
6
 
7
- Each request counts as `jobs` in every live minute, hour and day window. A paid or unavailable next-start quote waits. Below 50% account use, every priority passes, subject to the account ceiling. From 50% to 80%, ordinary requests must fit the repo's share of an 80% pool. From 80% to 95%, only p0 passes. No request may exceed its account ceiling, rounded down to 80% for ordinary or 95% for p0, including the requested jobs.
7
+ `boatJobFindings` reports Boat jobs that start on `pull_request`, `pull_request_target` or PR-branch push. A `pull_request` trigger with a non-empty `types` list containing only `labeled` is exempt. Agent-requested CI uses that label event on the proven head.
8
8
 
9
- `startRepos` contains agent-kit, siglata/siglata, optionhouse-xyz/optionhouse and birbprophet/vibebattler. Each repo's share is `10% + 60% × weight / total weight`. Weight is `max(merges in 24h, 4 × merges in 6h, merges in 7 days / 7)` to main. All zero weights give each repo 25%. Each repo budget is `floor(share × 80% × window limit)`, computed with exact arithmetic. Merge and repo history are read only when an ordinary request faces at least 50% use in a window.
10
-
11
- `StartHeld.line` names the refusal. `Unread` means a read failed, history is incomplete or input is invalid. Read failures and incomplete histories retry until the deadline. Invalid plans, repos, jobs and timestamps hold immediately. `Paid` waits for a free quote. `Account` means the request exceeds its account ceiling and waits on minute or hour, or holds on day. `Budget` means the repo exceeds its live share and waits for the kth oldest start to leave the window. A request larger than its repo budget holds. Every wait polls fresh readings until the deadline, then fails `StartHeld` with the waiting line.
12
-
13
- Repo CI history counts a Boat job without `runStartedAt` as starting now unless Boat reports it settled or gives it a `finishedAt`. States the SDK does not list, such as `paused`, follow the same rule. A paused job that GitHub cancelled stops counting once Boat records its end. A start stamped after Boat answers counts at the answer's time. That history omits direct sandbox starts. Admission reserves nothing, so concurrent callers can race.
14
-
15
- Import `boatJobFindings` from `@milkenjoyer/toolchain/starts`. Add its findings to the existing workflow policy, with every workflow as a `[path, text]` pair. It bounds each closure to `BOAT_JOBS_PER_RUN = 2`, including literal matrices, repeated local reusable calls and `workflow_run` descendants. Each descendant counts once per distinct activity type, or three times when `types` is absent. Dynamic and unresolved graphs produce findings. Keep runner, timeout and concurrency checks.
16
-
17
- `boatJobFindings` also reports a workflow whose Boat jobs start on a `pull_request`, `pull_request_target` or PR-branch push. A `pull_request` trigger with a non-empty `types` list containing only `labeled` is exempt. Every other PR trigger stays flagged. A product repo moves PR `ready` to `pull_request` `labeled` with the pin move that brings this rule. Product repos adopt the published pin instead of copying files. Boat reports no start spend, so nothing here proves zero paid starts.
9
+ CI requesting and its monthly spend cap use the Boat SDK directly. Direct probe creates and resumes require an explicit free next-start quote through the SDK. The starts module supplies workflow validation.
@@ -1,4 +1,4 @@
1
- import { c as lead, f as versionOf, i as familyOf, o as fixedBy, r as familyNamed, s as fixedOf, t as catalog, u as ownerOf } from "./versions-C7LKZGr3.mjs";
1
+ import { c as lead, f as versionOf, i as familyOf, o as fixedBy, r as familyNamed, s as fixedOf, t as catalog, u as ownerOf } from "./versions-DpRzgSR_.mjs";
2
2
  import * as Arr from "effect/Array";
3
3
  import * as Data from "effect/Data";
4
4
  import { dual } from "effect/Function";
@@ -1,4 +1,4 @@
1
- import { n as Family, t as Catalog } from "./versions-D02TrtKw.mjs";
1
+ import { n as Family, t as Catalog } from "./versions-DqZd0jF9.mjs";
2
2
  import * as Data from "effect/Data";
3
3
  import * as Option from "effect/Option";
4
4
  import * as Schema from "effect/Schema";
@@ -1,2 +1,2 @@
1
- import { a as VersionManifest, c as describeConflict, d as onLatestLine, f as otherTags, i as Solution, l as fixedRange, n as Packument, o as aliasTarget, p as solve, r as Packuments, s as conflicts, t as Conflict, u as latestOf } from "./compatible-n7uFGrI3.mjs";
1
+ import { a as VersionManifest, c as describeConflict, d as onLatestLine, f as otherTags, i as Solution, l as fixedRange, n as Packument, o as aliasTarget, p as solve, r as Packuments, s as conflicts, t as Conflict, u as latestOf } from "./compatible-DIYO9MZf.mjs";
2
2
  export { Conflict, Packument, Packuments, Solution, VersionManifest, aliasTarget, conflicts, describeConflict, fixedRange, latestOf, onLatestLine, otherTags, solve };
@@ -1 +1 @@
1
- export { t as Conflict, n as Packument, r as Packuments, i as VersionManifest, a as aliasTarget, o as conflicts, s as describeConflict, c as fixedRange, l as latestOf, u as onLatestLine, d as otherTags, f as solve } from "./compatible-D8n_sQHa.mjs";
1
+ export { t as Conflict, n as Packument, r as Packuments, i as VersionManifest, a as aliasTarget, o as conflicts, s as describeConflict, c as fixedRange, l as latestOf, u as onLatestLine, d as otherTags, f as solve } from "./compatible-D54mCSlT.mjs";
@@ -1,6 +1,6 @@
1
1
  import ultraciteFmt from "ultracite/oxfmt";
2
2
  // src/fmt.ts
3
- const { ignorePatterns: coreIgnores = [] } = ultraciteFmt;
3
+ const { ignorePatterns: coreIgnores } = ultraciteFmt;
4
4
  const fmt = ({ ignores = [] } = {}) => ({
5
5
  ...ultraciteFmt,
6
6
  ignorePatterns: [...coreIgnores, ...ignores]
package/dist/fmt.mjs CHANGED
@@ -1 +1 @@
1
- export { t as fmt } from "./fmt-BaECz64m.mjs";
1
+ export { t as fmt } from "./fmt-C6autuPP.mjs";
package/dist/formal.mjs CHANGED
@@ -307,7 +307,8 @@ const make$1 = Effect.gen(function* () {
307
307
  const classpath = jars.join(":");
308
308
  const run = Effect.fn("formal.java")(function* (args, cwd, seconds = 120) {
309
309
  return yield* Effect.scoped(Effect.gen(function* () {
310
- const process = yield* ChildProcess.make("java", args, {
310
+ const temporary = yield* fs.makeTempDirectoryScoped({ prefix: "formal-java-" });
311
+ const process = yield* ChildProcess.make("java", [`-Djava.io.tmpdir=${temporary}`, ...args], {
311
312
  cwd,
312
313
  stdin: "ignore",
313
314
  killSignal: "SIGKILL"
@@ -1,8 +1,8 @@
1
- import { d as otherTags, l as latestOf, u as onLatestLine } from "./compatible-D8n_sQHa.mjs";
1
+ import { d as otherTags, l as latestOf, u as onLatestLine } from "./compatible-D54mCSlT.mjs";
2
2
  import { i as enforcedTsgoRules } from "./effect-tsgo-D0QfeKGD.mjs";
3
3
  import { t as exceptions } from "./exceptions-Dybl9xpc.mjs";
4
- import { a as toolchainScopes, n as effectRules, r as foldkitPreset, t as birbprophetRules } from "./lint-CfztB4u8.mjs";
5
- import { c as lead, f as versionOf } from "./versions-C7LKZGr3.mjs";
4
+ import { a as toolchainScopes, n as effectRules, r as foldkitPreset, t as birbprophetRules } from "./lint-BJ6SmGk1.mjs";
5
+ import { c as lead, f as versionOf } from "./versions-DpRzgSR_.mjs";
6
6
  import * as Arr from "effect/Array";
7
7
  import { dual } from "effect/Function";
8
8
  import * as HashSet from "effect/HashSet";
@@ -31,6 +31,11 @@ const Manifest = Schema.fromJsonString(Schema.Struct({
31
31
  catalogs: Catalogs,
32
32
  workspaces: Schema.optionalKey(Schema.Union([WorkspaceList, WorkspaceCatalogs]))
33
33
  }));
34
+ const resolveCatalog = (name, written, groups) => {
35
+ if (!written.startsWith("catalog:")) return written;
36
+ const catalog = written.slice(8);
37
+ return (catalog === "" ? groups.get("workspaces.catalog")?.[name] ?? groups.get("catalog")?.[name] : groups.get(`workspaces.catalogs.${catalog}`)?.[name] ?? groups.get(`catalogs.${catalog}`)?.[name]) ?? written;
38
+ };
34
39
  const named = (prefix, catalogs) => Arr.map(R.toEntries(catalogs), ([name, ranges]) => [`${prefix}.${name}`, ranges]);
35
40
  const manifestRanges = (text) => {
36
41
  const decoded = Schema.decodeResult(Manifest)(text);
@@ -140,4 +145,4 @@ const familyTagFindings = (registry, family) => Option.match(latestOf(registry,
140
145
  })
141
146
  });
142
147
  const tagFindings = dual(2, (current, registry) => Arr.flatMap(current.families, (family) => familyTagFindings(registry, family)));
143
- export { ruleFindings as a, exactFindings as c, pinFindings as i, manifestRanges as l, foldkitViteFindings as n, tagFindings as o, isFoldkitViteInput as r, PLAIN as s, exceptionFindings as t };
148
+ export { ruleFindings as a, exactFindings as c, pinFindings as i, manifestRanges as l, foldkitViteFindings as n, tagFindings as o, isFoldkitViteInput as r, PLAIN as s, exceptionFindings as t, resolveCatalog as u };
package/dist/guard.d.mts CHANGED
@@ -1,6 +1,6 @@
1
- import { r as Packuments } from "./compatible-n7uFGrI3.mjs";
1
+ import { r as Packuments } from "./compatible-DIYO9MZf.mjs";
2
2
  import { t as Exception } from "./exceptions-LNZ022dl.mjs";
3
- import { t as Catalog } from "./versions-D02TrtKw.mjs";
3
+ import { t as Catalog } from "./versions-DqZd0jF9.mjs";
4
4
  import { OxlintConfig } from "vite-plus/lint";
5
5
  type Ranges = Readonly<Record<string, string>>;
6
6
  export declare const manifestRanges: (text: string) => ReadonlyArray<readonly [string, Ranges]>;
package/dist/guard.mjs CHANGED
@@ -1 +1 @@
1
- export { c as exactFindings, t as exceptionFindings, n as foldkitViteFindings, r as isFoldkitViteInput, l as manifestRanges, i as pinFindings, a as ruleFindings, o as tagFindings } from "./guard-Doqk4Fju.mjs";
1
+ export { c as exactFindings, t as exceptionFindings, n as foldkitViteFindings, r as isFoldkitViteInput, l as manifestRanges, i as pinFindings, a as ruleFindings, o as tagFindings } from "./guard-fFg_0NIp.mjs";
@@ -89,7 +89,7 @@ const toolchainScopes = [
89
89
  const atError = (prefix, rules) => R.fromEntries(Arr.map(rules, (rule) => [`${prefix}/${rule}`, "error"]));
90
90
  const effectRules = atError(plugin.meta.name, R.keys(plugin.rules));
91
91
  const birbprophetRules = atError(plugin$1.meta.name, R.keys(plugin$1.rules));
92
- const { ignorePatterns: coreIgnores = [] } = ultraciteCore;
92
+ const { ignorePatterns: coreIgnores } = ultraciteCore;
93
93
  const resolved = (specifier) => decodeURIComponent(new URL(import.meta.resolve(specifier)).pathname);
94
94
  const ownExtension = Str.slice(Str.lastIndexOf(".")(import.meta.filename).pipe(Option.getOrElse(() => -1)))(import.meta.filename);
95
95
  const sibling = (module) => resolved(`./${module}${ownExtension}`);
package/dist/lint.mjs CHANGED
@@ -1 +1 @@
1
- export { t as birbprophetRules, n as effectRules, r as foldkitPreset, i as lint, a as toolchainScopes } from "./lint-CfztB4u8.mjs";
1
+ export { t as birbprophetRules, n as effectRules, r as foldkitPreset, i as lint, a as toolchainScopes } from "./lint-BJ6SmGk1.mjs";
package/dist/standard.mjs CHANGED
@@ -1,6 +1,7 @@
1
1
  #!/usr/bin/env bun
2
- import { a as ruleFindings, c as exactFindings, l as manifestRanges, s as PLAIN } from "./guard-Doqk4Fju.mjs";
3
- import { t as fmt } from "./fmt-BaECz64m.mjs";
2
+ import { f as versionOf } from "./versions-DpRzgSR_.mjs";
3
+ import { a as ruleFindings, c as exactFindings, l as manifestRanges, s as PLAIN, u as resolveCatalog } from "./guard-fFg_0NIp.mjs";
4
+ import { t as fmt } from "./fmt-C6autuPP.mjs";
4
5
  import { n as criticalFindings, t as decode } from "./specs-file-NsQF4V7X.mjs";
5
6
  import * as Arr from "effect/Array";
6
7
  import * as Option from "effect/Option";
@@ -167,11 +168,6 @@ const skillNames = (repo) => Effect.succeed(repo.tracked.flatMap((file) => {
167
168
  }] : []);
168
169
  }));
169
170
  // src/standard/alchemy.ts
170
- const resolve = (name, written, groups) => {
171
- if (!written.startsWith("catalog:")) return written;
172
- const catalog = written.slice(8);
173
- return (catalog === "" ? groups.get("workspaces.catalog")?.[name] ?? groups.get("catalog")?.[name] : groups.get(`workspaces.catalogs.${catalog}`)?.[name] ?? groups.get(`catalogs.${catalog}`)?.[name]) ?? written;
174
- };
175
171
  const alchemyPins = (repo) => Effect.gen(function* () {
176
172
  const root = yield* read(repo, "package.json", manifestRanges);
177
173
  if (!root.ok) return root.findings;
@@ -184,19 +180,23 @@ const alchemyPins = (repo) => Effect.gen(function* () {
184
180
  findings.push(...input.findings);
185
181
  continue;
186
182
  }
187
- for (const [field, ranges] of input.value) for (const [name, written] of Object.entries(ranges).toSorted(([a], [b]) => a.localeCompare(b))) if (name === "alchemy" || name.startsWith("@alchemy.run/")) entries.push({
183
+ for (const [field, ranges] of input.value) for (const [name, written] of Object.entries(ranges).toSorted(([a], [b]) => a.localeCompare(b))) if ((name === "alchemy" || name.startsWith("@alchemy.run/")) && !written.startsWith("workspace:")) entries.push({
188
184
  file,
189
185
  field,
190
186
  name,
191
- version: resolve(name, written, groups)
187
+ version: resolveCatalog(name, written, groups)
192
188
  });
193
189
  }
194
- const expected = entries.find((entry) => entry.name === "alchemy")?.version ?? entries[0]?.version;
195
- for (const entry of entries) if (!PLAIN.test(entry.version) || entry.version !== expected) findings.push({
196
- file: entry.file,
197
- message: `${entry.field} ${entry.name}: ${entry.version} must match the exact Alchemy version ${expected}`
190
+ return Option.match(versionOf("alchemy"), {
191
+ onNone: () => [...findings, {
192
+ file: "package.json",
193
+ message: "toolchain catalog has no Alchemy version"
194
+ }],
195
+ onSome: (expected) => [...findings, ...entries.filter((entry) => entry.version !== expected).map((entry) => ({
196
+ file: entry.file,
197
+ message: `${entry.field} ${entry.name}: ${entry.version} must match the exact Alchemy version ${expected}`
198
+ }))]
198
199
  });
199
- return findings;
200
200
  });
201
201
  // src/standard/config.ts
202
202
  const ConfigValue = Schema.declare((value) => typeof value === "object" && value !== null);
@@ -847,8 +847,7 @@ const pin = (repo) => Effect.gen(function* () {
847
847
  if (!input.ok) return input.findings;
848
848
  const groups = new Map(input.value);
849
849
  const version = groups.get("dependencies")?.[packageName] ?? groups.get("devDependencies")?.[packageName];
850
- const name = version?.startsWith("catalog:") === true ? version.slice(8) : void 0;
851
- const resolved = name === void 0 ? version : name === "" ? groups.get("workspaces.catalog")?.[packageName] ?? groups.get("catalog")?.[packageName] : groups.get(`workspaces.catalogs.${name}`)?.[packageName] ?? groups.get(`catalogs.${name}`)?.[packageName];
850
+ const resolved = version === void 0 ? void 0 : resolveCatalog(packageName, version, groups);
852
851
  return resolved !== void 0 && PLAIN.test(resolved) ? [] : [{
853
852
  file: "package.json",
854
853
  message: "pin @milkenjoyer/toolchain to an exact version or an exact catalog entry"
@@ -879,9 +878,19 @@ const renovate = (repo) => Effect.gen(function* () {
879
878
  }];
880
879
  });
881
880
  const exact = (repo) => Effect.gen(function* () {
881
+ const root = yield* read(repo, "package.json", manifestRanges);
882
+ if (!root.ok) return root.findings;
883
+ const groups = new Map(root.value);
882
884
  const findings = [];
883
885
  for (const file of repo.tracked.filter((f) => /(?:^|\/)package\.json$/u.test(f))) {
884
- const input = yield* read(repo, file, (text) => exactFindings(file, text));
886
+ const input = yield* read(repo, file, (text) => [...exactFindings(file, text), ...manifestRanges(text).flatMap(([field, ranges]) => Object.entries(ranges).flatMap(([name, written]) => {
887
+ if (name === "alchemy" || name.startsWith("@alchemy.run/") || written.startsWith("workspace:")) return [];
888
+ const actual = resolveCatalog(name, written, groups);
889
+ return Option.match(versionOf(name), {
890
+ onNone: () => [],
891
+ onSome: (expected) => actual === expected ? [] : [`${field} ${name}: ${actual} must match the toolchain catalog's ${expected}`]
892
+ });
893
+ }))]);
885
894
  findings.push(...input.ok ? input.value.map((message) => ({
886
895
  file,
887
896
  message
package/dist/starts.d.mts CHANGED
@@ -1,113 +1,4 @@
1
- import * as Schema from "effect/Schema";
2
- import * as Effect from "effect/Effect";
3
- import * as Layer from "effect/Layer";
4
- import * as Context from "effect/Context";
5
- import * as Redacted from "effect/Redacted";
6
- export declare const Repo: Schema.brand<Schema.String, "Repo">;
7
- export type Repo = typeof Repo.Type;
8
- type Window = "minute" | "hour" | "day";
9
- type PerWindow<A> = { readonly [W in Window]: A; };
10
- type Priority = "ordinary" | "p0";
11
- type MergeCounts = {
12
- readonly repo: Repo;
13
- readonly h6: number;
14
- readonly h24: number;
15
- readonly d7: number;
16
- };
17
- type Plan = {
18
- readonly limits: PerWindow<number>;
19
- readonly used: PerWindow<number>;
20
- readonly nextStartDollars: number | undefined;
21
- };
22
- type RepoStarts = {
23
- readonly repo: Repo;
24
- readonly starts: ReadonlyArray<number>;
25
- readonly complete: boolean;
26
- };
27
- type Counts = {
28
- readonly now: number;
29
- readonly plan: Plan;
30
- readonly repo?: RepoStarts | undefined;
31
- readonly merges?: ReadonlyArray<MergeCounts> | undefined;
32
- };
33
- type StartRequest = {
34
- readonly repo: Repo;
35
- readonly jobs: number;
36
- readonly priority: Priority;
37
- };
38
- declare const Line: Schema.Union<readonly [Schema.TaggedStruct<"Unread", {
39
- readonly reason: Schema.String;
40
- }>, Schema.TaggedStruct<"Paid", {
41
- readonly nextStartDollars: Schema.UndefinedOr<Schema.Number>;
42
- }>, Schema.TaggedStruct<"Account", {
43
- readonly window: Schema.Literals<readonly ["minute", "hour", "day"]>;
44
- readonly used: Schema.Number;
45
- readonly line: Schema.Number;
46
- }>, Schema.TaggedStruct<"Budget", {
47
- readonly repo: Schema.brand<Schema.String, "Repo">;
48
- readonly window: Schema.Literals<readonly ["minute", "hour", "day"]>;
49
- readonly used: Schema.Number;
50
- readonly budget: Schema.Number;
51
- }>]>;
52
- type Line = typeof Line.Type;
53
- type Admission = {
54
- readonly _tag: "Admit";
55
- } | {
56
- readonly _tag: "Wait";
57
- readonly until: number;
58
- readonly line: Line;
59
- } | {
60
- readonly _tag: "Hold";
61
- readonly line: Line;
62
- };
63
- export declare const startRepos: ReadonlyArray<Repo>;
64
- export declare const decide: (request: StartRequest, counts: Counts | undefined, now: number) => Admission;
65
- declare const StartReadError_base: Schema.Class<StartReadError, Schema.TaggedStruct<"StartReadError", {
66
- readonly reason: Schema.String;
67
- }>, import("effect/Cause").YieldableError & {
68
- readonly brand: unique symbol;
69
- }>;
70
- export declare class StartReadError extends StartReadError_base {}
71
- declare const BoatStarts_base: Context.ServiceClass<BoatStarts, "toolchain/BoatStarts", {
72
- readonly plan: Effect.Effect<Plan, StartReadError>;
73
- readonly repoStarts: (repo: Repo) => Effect.Effect<RepoStarts, StartReadError>;
74
- }>;
75
- export declare class BoatStarts extends BoatStarts_base {
76
- static readonly layer: (key: Redacted.Redacted<string>, options?: {
77
- readonly fetch?: (url: string | URL | Request, init?: RequestInit) => Promise<Response>;
78
- }) => Layer.Layer<BoatStarts, never, never>;
79
- }
80
- declare const Merges_base: Context.ServiceClass<Merges, "toolchain/Merges", {
81
- readonly counts: Effect.Effect<ReadonlyArray<MergeCounts>, StartReadError>;
82
- }>;
83
- export declare class Merges extends Merges_base {
84
- static readonly layer: (token: Redacted.Redacted<string>, options?: {
85
- readonly fetch?: (url: string | URL | Request, init?: RequestInit) => Promise<Response>;
86
- }) => Layer.Layer<Merges, never, never>;
87
- }
88
1
  export declare const BOAT_JOBS_PER_RUN = 2;
89
2
  type WorkflowFile = readonly [path: string, text: string];
90
3
  export declare const boatJobFindings: (files: ReadonlyArray<WorkflowFile>) => ReadonlyArray<string>;
91
- declare const StartHeld_base: Schema.Class<StartHeld, Schema.TaggedStruct<"StartHeld", {
92
- readonly line: Schema.Union<readonly [Schema.TaggedStruct<"Unread", {
93
- readonly reason: Schema.String;
94
- }>, Schema.TaggedStruct<"Paid", {
95
- readonly nextStartDollars: Schema.UndefinedOr<Schema.Number>;
96
- }>, Schema.TaggedStruct<"Account", {
97
- readonly window: Schema.Literals<readonly ["minute", "hour", "day"]>;
98
- readonly used: Schema.Number;
99
- readonly line: Schema.Number;
100
- }>, Schema.TaggedStruct<"Budget", {
101
- readonly repo: Schema.brand<Schema.String, "Repo">;
102
- readonly window: Schema.Literals<readonly ["minute", "hour", "day"]>;
103
- readonly used: Schema.Number;
104
- readonly budget: Schema.Number;
105
- }>]>;
106
- }>, import("effect/Cause").YieldableError & {
107
- readonly brand: unique symbol;
108
- }>;
109
- export declare class StartHeld extends StartHeld_base {}
110
- export declare const admitStart: <A, E, R>(request: StartRequest, start: Effect.Effect<A, E, R>, args_2: {
111
- readonly deadline: number;
112
- }) => Effect.Effect<A, E | StartHeld, R | BoatStarts | Merges>;
113
- export type { Admission, Counts, Line, MergeCounts, PerWindow, Plan, Priority, RepoStarts, StartRequest, Window };
4
+ export {};