@hraness/sponge 0.6.3 → 0.6.6
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/dist/capture/worker.js +129 -129
- package/dist/src/cli/commands.js +6 -1
- package/dist/src/cli/status.js +3 -3
- package/native/runtime-manifest.json +5 -5
- package/package.json +1 -1
package/dist/src/cli/commands.js
CHANGED
|
@@ -784,7 +784,12 @@ export const commands = [
|
|
|
784
784
|
{
|
|
785
785
|
name: 'review',
|
|
786
786
|
summary: 'Accept or reject digest fields',
|
|
787
|
-
usage: [
|
|
787
|
+
usage: [
|
|
788
|
+
[
|
|
789
|
+
'review DIGEST --accept SPEC --reject SPEC',
|
|
790
|
+
'Review fields: all, gist, idea:N, quote:N.M, as `sponge digest ITEM` labels them',
|
|
791
|
+
],
|
|
792
|
+
],
|
|
788
793
|
positional: 1,
|
|
789
794
|
flags: { accept: 'value', reject: 'value' },
|
|
790
795
|
library: 'open',
|
package/dist/src/cli/status.js
CHANGED
|
@@ -4,8 +4,8 @@ export function libraryStatus(store) {
|
|
|
4
4
|
const items = store.list(), kinds = {}, digests = { accepted: 0, rejected: 0, draft: 0, none: 0 };
|
|
5
5
|
for (const item of items) {
|
|
6
6
|
kinds[item.kind] = (kinds[item.kind] ?? 0) + 1;
|
|
7
|
-
const
|
|
8
|
-
digests[
|
|
7
|
+
const digest = store.derivations.current('digest', item.itemId), gist = digest?.review.gist;
|
|
8
|
+
digests[!digest ? 'none' : gist === 'accepted' || gist === 'rejected' ? gist : 'draft']++;
|
|
9
9
|
}
|
|
10
10
|
// Settled jobs are history; what is left is waiting, running or needs the reader.
|
|
11
11
|
// Only each target's newest job counts: a failure that a later capture of the item (or index job) fixed is history.
|
|
@@ -38,7 +38,7 @@ export function statusText(s, worker) {
|
|
|
38
38
|
};
|
|
39
39
|
const counts = {};
|
|
40
40
|
for (const job of s.jobs) {
|
|
41
|
-
const key = `${job.operation} ${job.state}${job.reason ? ` (${job.reason})` : ''}`;
|
|
41
|
+
const key = `${job.operation} ${job.state}${job.reason && job.reason !== job.state ? ` (${job.reason})` : ''}`;
|
|
42
42
|
counts[key] = (counts[key] ?? 0) + 1;
|
|
43
43
|
}
|
|
44
44
|
const failed = s.jobs.some((job) => !['queued', 'running'].includes(job.state));
|
|
@@ -33,16 +33,16 @@
|
|
|
33
33
|
}
|
|
34
34
|
],
|
|
35
35
|
"build": {
|
|
36
|
-
"asrSourceSha256": "
|
|
36
|
+
"asrSourceSha256": "94c7527e57b87337bb90f4c3a36a305eae6ddb16d558226f40f17c16bb31587f",
|
|
37
37
|
"clangVersion": "Apple clang version 21.0.0 (clang-2100.1.1.101)",
|
|
38
|
-
"embeddingSourceSha256": "
|
|
39
|
-
"mediaSourceSha256": "
|
|
38
|
+
"embeddingSourceSha256": "762fc9f018b12a8fb95e2d7349b2756622b1a40c8bd4cf2986fc290370a058a4",
|
|
39
|
+
"mediaSourceSha256": "3945d6a5bf8606c91270a2f837e805aa911ddf40baf701f3b5bb98852c4627fd",
|
|
40
40
|
"rustcVersion": "rustc 1.97.1 (8bab26f4f 2026-07-14)",
|
|
41
41
|
"swiftVersion": "Apple Swift version 6.3.3 (swiftlang-6.3.3.1.3 clang-2100.1.1.101)"
|
|
42
42
|
},
|
|
43
43
|
"minimumMacOS": "26.0",
|
|
44
|
-
"packageVersion": "0.6.
|
|
44
|
+
"packageVersion": "0.6.6",
|
|
45
45
|
"platform": "darwin",
|
|
46
46
|
"schemaVersion": 1,
|
|
47
|
-
"sourceCommit": "
|
|
47
|
+
"sourceCommit": "516ab78f62c7bec19e6fe8e44bcf23ca8ebd8fb3"
|
|
48
48
|
}
|