wicked-core-ts 0.15.35 → 0.15.36

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/index.d.ts +10 -0
  2. package/package.json +6 -6
package/index.d.ts CHANGED
@@ -1090,6 +1090,16 @@ export declare class Core {
1090
1090
  * that fails or exceeds its bound, REJECTS with the reason. The graph it leaves is no run's base.
1091
1091
  */
1092
1092
  indexRepoGraph(repoRef: string): Promise<string>
1093
+ /**
1094
+ * (wicked-crew#1481) How long one `wicked-estate index` of `tree` may run: THE index budget
1095
+ * (`max(120 s, files × 0.30 s) × 1.15`, `wicked_core::index_budget`), sized from the files
1096
+ * `git ls-files` lists for the tree (a walk when git cannot list it). The same budget the
1097
+ * engine bounds its own indexes with; crew's project-graph refresh reads it here, so no second
1098
+ * copy of the formula exists. Resolves to a JSON string `{ "trackedFiles": number, "counted":
1099
+ * "git" | "walk", "budgetMs": number }`. Never rejects: a tree that cannot be read counts 0
1100
+ * files (the floor).
1101
+ */
1102
+ indexBudget(tree: string): Promise<string>
1093
1103
  /**
1094
1104
  * ONE registered repo's requirements graph, read from that repo's OWN estate store (the source
1095
1105
  * of truth `domain-graph` persists into; never a file in the checkout), with its coverage label
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wicked-core-ts",
3
- "version": "0.15.35",
3
+ "version": "0.15.36",
4
4
  "description": "Node/TypeScript bindings (napi-rs) for wicked-core: drive the in-process orchestration engine from JS/TS.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -43,11 +43,11 @@
43
43
  "typecheck": "tsc --noEmit -p types-test/tsconfig.json"
44
44
  },
45
45
  "optionalDependencies": {
46
- "wicked-core-ts-darwin-arm64": "0.15.35",
47
- "wicked-core-ts-darwin-x64": "0.15.35",
48
- "wicked-core-ts-linux-arm64-gnu": "0.15.35",
49
- "wicked-core-ts-linux-x64-gnu": "0.15.35",
50
- "wicked-core-ts-win32-x64-msvc": "0.15.35"
46
+ "wicked-core-ts-darwin-arm64": "0.15.36",
47
+ "wicked-core-ts-darwin-x64": "0.15.36",
48
+ "wicked-core-ts-linux-arm64-gnu": "0.15.36",
49
+ "wicked-core-ts-linux-x64-gnu": "0.15.36",
50
+ "wicked-core-ts-win32-x64-msvc": "0.15.36"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@napi-rs/cli": "^2.18.4",