@yahoo/uds-create-cli 5.77.1 → 5.78.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/package.json +11 -11
- package/subprocess/transform-runner.mjs +30 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yahoo/uds-create-cli",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.78.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -32,10 +32,10 @@
|
|
|
32
32
|
"@modelcontextprotocol/sdk": "^1.32.2",
|
|
33
33
|
"@orpc/client": "^1.13.9",
|
|
34
34
|
"@orpc/contract": "^1.13.9",
|
|
35
|
-
"@yahoo/uds-create-config": "5.
|
|
36
|
-
"@yahoo/uds-create-loader": "5.
|
|
37
|
-
"@yahoo/uds-create-types": "5.
|
|
38
|
-
"@yahoo/uds-create-utils": "5.
|
|
35
|
+
"@yahoo/uds-create-config": "5.78.0",
|
|
36
|
+
"@yahoo/uds-create-loader": "5.78.0",
|
|
37
|
+
"@yahoo/uds-create-types": "5.78.0",
|
|
38
|
+
"@yahoo/uds-create-utils": "5.78.0",
|
|
39
39
|
"esbuild": "^0.27.4",
|
|
40
40
|
"ts-morph": "^27.0.2",
|
|
41
41
|
"get-tsconfig": "^4.10.0",
|
|
@@ -54,11 +54,11 @@
|
|
|
54
54
|
},
|
|
55
55
|
"udsSchemaVersion": 20261104151013,
|
|
56
56
|
"optionalDependencies": {
|
|
57
|
-
"@yahoo/uds-create-cli-darwin-arm64": "5.
|
|
58
|
-
"@yahoo/uds-create-cli-darwin-x64": "5.
|
|
59
|
-
"@yahoo/uds-create-cli-linux-arm64": "5.
|
|
60
|
-
"@yahoo/uds-create-cli-linux-x64": "5.
|
|
61
|
-
"@yahoo/uds-create-cli-linux-arm64-musl": "5.
|
|
62
|
-
"@yahoo/uds-create-cli-linux-x64-musl": "5.
|
|
57
|
+
"@yahoo/uds-create-cli-darwin-arm64": "5.78.0",
|
|
58
|
+
"@yahoo/uds-create-cli-darwin-x64": "5.78.0",
|
|
59
|
+
"@yahoo/uds-create-cli-linux-arm64": "5.78.0",
|
|
60
|
+
"@yahoo/uds-create-cli-linux-x64": "5.78.0",
|
|
61
|
+
"@yahoo/uds-create-cli-linux-arm64-musl": "5.78.0",
|
|
62
|
+
"@yahoo/uds-create-cli-linux-x64-musl": "5.78.0"
|
|
63
63
|
}
|
|
64
64
|
}
|
|
@@ -91942,6 +91942,7 @@ var Config = class Config2 {
|
|
|
91942
91942
|
ownedKinds: /* @__PURE__ */ new Set(),
|
|
91943
91943
|
sources: /* @__PURE__ */ new Map(),
|
|
91944
91944
|
recorded: /* @__PURE__ */ new Map(),
|
|
91945
|
+
baseRecorded: /* @__PURE__ */ new Map(),
|
|
91945
91946
|
sourceStates: /* @__PURE__ */ new Map(),
|
|
91946
91947
|
derived: /* @__PURE__ */ new Map(),
|
|
91947
91948
|
owner: void 0
|
|
@@ -92084,6 +92085,7 @@ var Config = class Config2 {
|
|
|
92084
92085
|
ownedKinds: meta3.ownedKinds,
|
|
92085
92086
|
sources: meta3.sources,
|
|
92086
92087
|
recorded: meta3.recorded,
|
|
92088
|
+
baseRecorded: meta3.recorded,
|
|
92087
92089
|
sourceStates: meta3.sourceStates,
|
|
92088
92090
|
derived: meta3.derived,
|
|
92089
92091
|
snapshot: withEdges,
|
|
@@ -97481,6 +97483,34 @@ var Config = class Config2 {
|
|
|
97481
97483
|
});
|
|
97482
97484
|
}
|
|
97483
97485
|
/**
|
|
97486
|
+
* The branch as its base read it: no draft, and every source read the way the base read it.
|
|
97487
|
+
*
|
|
97488
|
+
* Replaying nothing over the base covers the snapshot. A pin the draft moved also left the
|
|
97489
|
+
* per-slug state answering for the new pin: its recorded closure gone and, once fetched, the new
|
|
97490
|
+
* version attached. So each moved slug gets the base's recorded closure back and loses that
|
|
97491
|
+
* attachment before the replay, which also re-derives the rows the old pin minted.
|
|
97492
|
+
*/
|
|
97493
|
+
withoutDraft() {
|
|
97494
|
+
const atBase = this.at(this.state.base);
|
|
97495
|
+
const moved = atBase.sourceSlugs().filter((slug2) => atBase.sourceIdentityOf(slug2) !== this.sourceIdentityOf(slug2));
|
|
97496
|
+
let from = this;
|
|
97497
|
+
if (moved.length > 0) {
|
|
97498
|
+
const recorded = new Map(this.state.recorded);
|
|
97499
|
+
const sources = new Map(this.state.sources);
|
|
97500
|
+
for (const slug2 of moved) {
|
|
97501
|
+
sources.delete(slug2);
|
|
97502
|
+
const held = this.state.baseRecorded.get(slug2);
|
|
97503
|
+
if (held) recorded.set(slug2, held);
|
|
97504
|
+
else recorded.delete(slug2);
|
|
97505
|
+
}
|
|
97506
|
+
from = this.derive({
|
|
97507
|
+
recorded,
|
|
97508
|
+
sources
|
|
97509
|
+
});
|
|
97510
|
+
}
|
|
97511
|
+
return from.withDraft([]).config;
|
|
97512
|
+
}
|
|
97513
|
+
/**
|
|
97484
97514
|
* Retire the attachment for every slug a walk answered `unavailable` for.
|
|
97485
97515
|
*
|
|
97486
97516
|
* A resolve walk is total over the declared items of a source kind — `unavailable` is a legal answer
|