@rightkit/release 0.2.160 → 0.2.161
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/cargo-contract.mjs +10 -2
- package/local-publish.mjs +12 -0
- package/ownership-mandatory-set.json +3 -3
- package/package.json +1 -1
- package/rightkit-ownership.json +1 -1
- package/rightkit-versions.json +20 -15
package/cargo-contract.mjs
CHANGED
|
@@ -181,11 +181,19 @@ function readToml(file, label) {
|
|
|
181
181
|
return JSON.parse(result.stdout);
|
|
182
182
|
}
|
|
183
183
|
|
|
184
|
-
|
|
184
|
+
// Not product code: SwiftPM `.build` (dependency checkouts and build products), throwaway probe dirs (`*-probe`, `pdfprobe2`), `tmp`, and
|
|
185
|
+
// `tasks/handoffs` (handoff probes and their manifests). They are never built by the product, so they are not gated.
|
|
186
|
+
export function isExcludedScanDirectory(name, parentName = "") {
|
|
187
|
+
if (SKIP_DIRECTORIES.has(name) || name === ".build") return true;
|
|
188
|
+
if (/probe\d*$/i.test(name) || name === "tmp") return true;
|
|
189
|
+
return name === "handoffs" && parentName === "tasks";
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
export function findCargoManifests(root) {
|
|
185
193
|
const found = [];
|
|
186
194
|
const visit = (dir) => {
|
|
187
195
|
for (const entry of readdirSync(dir, { withFileTypes: true })) {
|
|
188
|
-
if (entry.isDirectory() &&
|
|
196
|
+
if (entry.isDirectory() && isExcludedScanDirectory(entry.name, path.basename(dir))) continue;
|
|
189
197
|
const full = path.join(dir, entry.name);
|
|
190
198
|
if (entry.isDirectory()) visit(full);
|
|
191
199
|
else if (entry.isFile() && entry.name === "Cargo.toml") found.push(full);
|
package/local-publish.mjs
CHANGED
|
@@ -79,6 +79,17 @@ async function defaultLoadWorkspaceModules(workspaceRoot) {
|
|
|
79
79
|
return { results, checkNpmTarball: upload.checkNpmTarball };
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
+
/**
|
|
83
|
+
* Feature sets that must at least compile, beyond the tested ones. A crate whose tested sets already
|
|
84
|
+
* include `--all-features` needs none. `checkFeatureSets` (ci/gate.config.json) lists them explicitly for
|
|
85
|
+
* crates with mutually exclusive features; otherwise one `--all-features` check runs. Mirrored in scripts/ci/gate.mjs.
|
|
86
|
+
*/
|
|
87
|
+
export function allFeatureCheckSets(entry = {}) {
|
|
88
|
+
const tested = entry.featureSets ?? [[]];
|
|
89
|
+
if (tested.some((features) => features.includes("--all-features"))) return [];
|
|
90
|
+
return entry.checkFeatureSets ?? [["--all-features"]];
|
|
91
|
+
}
|
|
92
|
+
|
|
82
93
|
/** The CI gate's commands for one unit (scripts/ci/gate.mjs npmGate/rustGate), mirrored exactly. */
|
|
83
94
|
export function localTestPlan({ kind, unit, dir, config, manifest }) {
|
|
84
95
|
if (kind === "npm") {
|
|
@@ -100,6 +111,7 @@ export function localTestPlan({ kind, unit, dir, config, manifest }) {
|
|
|
100
111
|
if (entry.alsoSerial) steps.push({ command: "cargo", args: ["test", "-p", unit, ...features, "--no-fail-fast", "--", "--test-threads=1", "--show-output"], test: true });
|
|
101
112
|
}
|
|
102
113
|
steps.push({ command: "cargo", args: ["clippy", "-p", unit, "--no-deps", "--all-targets", ...featureSets[0], "--", "-D", "warnings"], test: false });
|
|
114
|
+
for (const features of allFeatureCheckSets(entry)) steps.push({ command: "cargo", args: ["check", "-p", unit, "--all-targets", ...features], test: false });
|
|
103
115
|
return { id: `rust:${unit}`, featureLabels: featureSets.map((features) => features.join(" ") || "default"), steps };
|
|
104
116
|
}
|
|
105
117
|
|
|
@@ -375,10 +375,10 @@
|
|
|
375
375
|
"profile": "desktop",
|
|
376
376
|
"owners": [
|
|
377
377
|
{
|
|
378
|
-
"name": "rightkit-
|
|
378
|
+
"name": "rightkit-agent-tools",
|
|
379
379
|
"ecosystem": "cargo",
|
|
380
|
-
"min": "0.
|
|
381
|
-
"registryMax": "0.
|
|
380
|
+
"min": "0.1.2",
|
|
381
|
+
"registryMax": "0.1.2"
|
|
382
382
|
}
|
|
383
383
|
]
|
|
384
384
|
}
|
package/package.json
CHANGED
package/rightkit-ownership.json
CHANGED
|
@@ -2193,7 +2193,7 @@
|
|
|
2193
2193
|
"Declaration-only: the lifecycle, bundle writer, redaction, protocol and reader are not an ownership fingerprint.",
|
|
2194
2194
|
"Windows capture lives in this crate (src/windows, cfg(windows)) and is served out of process by rightkit-record-helper in serve mode.",
|
|
2195
2195
|
"rightkit-child-process owns helper spawning, supervision and restart; this crate only speaks the protocol over the streams it is given.",
|
|
2196
|
-
"The macOS helper
|
|
2196
|
+
"The macOS ScreenCaptureKit helper (helpers/macos, Swift) ships with this crate sources and implements the same protocol; the crate never sends input. Capturing needs the OS Screen Recording permission on macOS."
|
|
2197
2197
|
]
|
|
2198
2198
|
},
|
|
2199
2199
|
{
|
package/rightkit-versions.json
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"stagedNpm": {
|
|
16
16
|
"@rightkit/app-update": "0.2.5",
|
|
17
17
|
"@rightkit/ax": "0.3.2",
|
|
18
|
-
"@rightkit/ci": "0.2.
|
|
18
|
+
"@rightkit/ci": "0.2.45",
|
|
19
19
|
"@rightkit/doc-render": "0.1.6",
|
|
20
20
|
"@rightkit/hooks": "0.1.2",
|
|
21
21
|
"@rightkit/i18n": "0.1.0",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"@rightkit/qa": "0.4.8",
|
|
32
32
|
"@rightkit/qa-chrome": "0.1.6",
|
|
33
33
|
"@rightkit/react-shell": "0.6.4",
|
|
34
|
-
"@rightkit/release": "0.2.
|
|
34
|
+
"@rightkit/release": "0.2.161",
|
|
35
35
|
"@rightkit/settings-ui": "0.4.4",
|
|
36
36
|
"@rightkit/tauri": "0.2.1",
|
|
37
37
|
"@rightkit/tauri-shell": "0.1.1",
|
|
@@ -201,7 +201,8 @@
|
|
|
201
201
|
"0.2.155",
|
|
202
202
|
"0.2.156",
|
|
203
203
|
"0.2.158",
|
|
204
|
-
"0.2.159"
|
|
204
|
+
"0.2.159",
|
|
205
|
+
"0.2.160"
|
|
205
206
|
],
|
|
206
207
|
"@rightkit/qa": [
|
|
207
208
|
"0.1.0",
|
|
@@ -330,7 +331,8 @@
|
|
|
330
331
|
"0.1.0"
|
|
331
332
|
],
|
|
332
333
|
"@rightkit/ci": [
|
|
333
|
-
"0.2.43"
|
|
334
|
+
"0.2.43",
|
|
335
|
+
"0.2.44"
|
|
334
336
|
]
|
|
335
337
|
},
|
|
336
338
|
"cargo": {
|
|
@@ -365,7 +367,7 @@
|
|
|
365
367
|
"rightkit-contracts": "0.1.5",
|
|
366
368
|
"rightkit-crash": "0.3.0",
|
|
367
369
|
"rightkit-credentials": "0.2.0",
|
|
368
|
-
"rightkit-daemon": "0.2.
|
|
370
|
+
"rightkit-daemon": "0.2.3",
|
|
369
371
|
"rightkit-db": "0.4.0",
|
|
370
372
|
"rightkit-device": "0.1.3",
|
|
371
373
|
"rightkit-embed": "0.4.0",
|
|
@@ -388,8 +390,8 @@
|
|
|
388
390
|
"rightkit-ownership": "0.2.1",
|
|
389
391
|
"rightkit-pdf": "0.3.0",
|
|
390
392
|
"rightkit-playback": "0.2.1",
|
|
391
|
-
"rightkit-qa": "0.
|
|
392
|
-
"rightkit-qa-driver": "0.
|
|
393
|
+
"rightkit-qa": "0.4.0",
|
|
394
|
+
"rightkit-qa-driver": "0.4.0",
|
|
393
395
|
"rightkit-review": "0.2.0",
|
|
394
396
|
"rightkit-sandbox": "0.4.0",
|
|
395
397
|
"rightkit-search": "0.2.1",
|
|
@@ -435,7 +437,7 @@
|
|
|
435
437
|
"rightkit-control": "0.3.0",
|
|
436
438
|
"rightkit-crash": "0.3.0",
|
|
437
439
|
"rightkit-credentials": "0.2.0",
|
|
438
|
-
"rightkit-daemon": "0.2.
|
|
440
|
+
"rightkit-daemon": "0.2.3",
|
|
439
441
|
"rightkit-db": "0.4.0",
|
|
440
442
|
"rightkit-device": "0.1.3",
|
|
441
443
|
"rightkit-embed": "0.4.0",
|
|
@@ -463,8 +465,8 @@
|
|
|
463
465
|
"rightkit-pdf": "0.3.0",
|
|
464
466
|
"rightkit-playback": "0.2.1",
|
|
465
467
|
"rightkit-process": "0.4.0",
|
|
466
|
-
"rightkit-qa": "0.
|
|
467
|
-
"rightkit-qa-driver": "0.
|
|
468
|
+
"rightkit-qa": "0.4.0",
|
|
469
|
+
"rightkit-qa-driver": "0.4.0",
|
|
468
470
|
"rightkit-qts": "0.2.6",
|
|
469
471
|
"rightkit-qts-ggml": "0.1.2",
|
|
470
472
|
"rightkit-qts-ggml-sys": "0.1.2",
|
|
@@ -493,7 +495,7 @@
|
|
|
493
495
|
"@rightkit/app-shell": "0.6.2",
|
|
494
496
|
"@rightkit/app-update": "0.2.5",
|
|
495
497
|
"@rightkit/ax": "0.3.2",
|
|
496
|
-
"@rightkit/ci": "0.2.
|
|
498
|
+
"@rightkit/ci": "0.2.45",
|
|
497
499
|
"@rightkit/doc-render": "0.1.6",
|
|
498
500
|
"@rightkit/git": "0.2.42",
|
|
499
501
|
"@rightkit/hooks": "0.1.2",
|
|
@@ -510,7 +512,7 @@
|
|
|
510
512
|
"@rightkit/qa": "0.4.8",
|
|
511
513
|
"@rightkit/qa-chrome": "0.1.6",
|
|
512
514
|
"@rightkit/react-shell": "0.6.4",
|
|
513
|
-
"@rightkit/release": "0.2.
|
|
515
|
+
"@rightkit/release": "0.2.160",
|
|
514
516
|
"@rightkit/settings-ui": "0.4.4",
|
|
515
517
|
"@rightkit/shell": "0.1.1",
|
|
516
518
|
"@rightkit/tauri": "0.2.1",
|
|
@@ -610,7 +612,8 @@
|
|
|
610
612
|
"0.2.11",
|
|
611
613
|
"0.2.12",
|
|
612
614
|
"0.2.14",
|
|
613
|
-
"0.2.16"
|
|
615
|
+
"0.2.16",
|
|
616
|
+
"0.3.0"
|
|
614
617
|
],
|
|
615
618
|
"rightkit-sandbox": [
|
|
616
619
|
"0.1.0",
|
|
@@ -743,13 +746,15 @@
|
|
|
743
746
|
],
|
|
744
747
|
"rightkit-daemon": [
|
|
745
748
|
"0.2.0",
|
|
746
|
-
"0.2.1"
|
|
749
|
+
"0.2.1",
|
|
750
|
+
"0.2.2"
|
|
747
751
|
],
|
|
748
752
|
"rightkit-job-queue": [
|
|
749
753
|
"0.3.0"
|
|
750
754
|
],
|
|
751
755
|
"rightkit-qa-driver": [
|
|
752
|
-
"0.3.0"
|
|
756
|
+
"0.3.0",
|
|
757
|
+
"0.3.1"
|
|
753
758
|
]
|
|
754
759
|
}
|
|
755
760
|
}
|