wicked-core-ts 0.15.34 → 0.15.35

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
@@ -1080,6 +1080,16 @@ export declare class Core {
1080
1080
  * used to cast away an `unknown` here; #225 review).
1081
1081
  */
1082
1082
  getCoverageReportForRepo(repoRef: string): Promise<string>
1083
+ /**
1084
+ * Re-index ONE registered repo's CHECKOUT (what is on disk now) into its existing code graph,
1085
+ * under the launch indexer's lock, so it is never a second writer beside a launch's D8 base index
1086
+ * (crew's repo watcher, wicked-core#1230). The same command onboarding's index step runs. Resolves
1087
+ * to a JSON string `{ "outcome": "indexed" | "no-graph" | "held", "heldBy": string[], "ms": number }`:
1088
+ * `no-graph` = onboarding never built one; `held` = runs on the repo hold the graph (planning,
1089
+ * distributing, executing, or a domain mapping not ended; `heldBy`, read under the lock), nothing written. An unknown `repo_ref`, or an indexer
1090
+ * that fails or exceeds its bound, REJECTS with the reason. The graph it leaves is no run's base.
1091
+ */
1092
+ indexRepoGraph(repoRef: string): Promise<string>
1083
1093
  /**
1084
1094
  * ONE registered repo's requirements graph, read from that repo's OWN estate store (the source
1085
1095
  * 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.34",
3
+ "version": "0.15.35",
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.34",
47
- "wicked-core-ts-darwin-x64": "0.15.34",
48
- "wicked-core-ts-linux-arm64-gnu": "0.15.34",
49
- "wicked-core-ts-linux-x64-gnu": "0.15.34",
50
- "wicked-core-ts-win32-x64-msvc": "0.15.34"
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"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@napi-rs/cli": "^2.18.4",