@adhd/dispatch-core-optimizer 0.0.6 → 0.1.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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/test/fixtures.d.ts +0 -21
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@adhd/dispatch-core-optimizer",
3
- "version": "0.0.6",
3
+ "version": "0.1.0",
4
4
  "dependencies": {
5
- "@adhd/dispatch-base-spec": "^0.0.6"
5
+ "@adhd/dispatch-base-spec": "^0.1.0"
6
6
  },
7
7
  "main": "./index.js",
8
8
  "module": "./index.mjs",
@@ -1,21 +0,0 @@
1
- import { DagJson, DispatchLogEntry, IOptimizerDeps, MilestoneDag, OperationDag } from '@adhd/dispatch-base-spec';
2
-
3
- /** Recommended cold-start defaults per SCOPE.md Open Decision #2. */
4
- export declare function defaultDeps(overrides?: Partial<IOptimizerDeps>): IOptimizerDeps;
5
- export declare function miniMilestone(overrides?: Partial<MilestoneDag>): MilestoneDag;
6
- export declare function miniOp(overrides?: Partial<OperationDag>): OperationDag;
7
- export declare function miniDag(overrides?: Partial<DagJson>): DagJson;
8
- /**
9
- * Recursively Object.freeze a value and everything reachable from it (own
10
- * enumerable keys only, arrays included). Functions are left unfrozen-and-
11
- * unrecursed — freezing them adds nothing and isn't needed to prove data
12
- * non-mutation.
13
- *
14
- * Used to prove snapshot()/optimize()/computeTokensNaive() honor their "does
15
- * not mutate its input" contract: ES module code runs in strict mode, so any
16
- * in-place write to a frozen object throws a TypeError instead of silently
17
- * no-oping — a mutation bug turns into a failing test, not a passing one.
18
- */
19
- export declare function deepFreeze<T>(value: T, seen?: WeakSet<object>): T;
20
- /** A dispatch_log entry recording a passed guard for `${slug}.guard`. */
21
- export declare function passingGuardEntry(slug: string, overrides?: Partial<DispatchLogEntry>): DispatchLogEntry;