@frockbot/plugin-fly-sprite 0.3.18 → 0.3.20

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frockbot/plugin-fly-sprite",
3
- "version": "0.3.18",
3
+ "version": "0.3.20",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "exports": {
@@ -25,16 +25,16 @@
25
25
  },
26
26
  "dependencies": {
27
27
  "@cordisjs/plugin-webui": "0.8.2",
28
- "@frockbot/computer-core": "0.3.18",
29
- "@frockbot/computer-host-protocol": "0.3.18",
30
- "@frockbot/computer-host-runtime": "0.3.18",
31
- "@frockbot/kernel-contracts": "0.3.18",
32
- "@frockbot/plugin-computer": "0.3.18",
28
+ "@frockbot/computer-core": "0.3.20",
29
+ "@frockbot/computer-host-protocol": "0.3.20",
30
+ "@frockbot/computer-host-runtime": "0.3.20",
31
+ "@frockbot/kernel-contracts": "0.3.20",
32
+ "@frockbot/plugin-computer": "0.3.20",
33
33
  "cordis": "4.0.0-rc.8"
34
34
  },
35
35
  "devDependencies": {
36
- "@frockbot/plugin-testkit": "0.3.18",
37
- "@frockbot/workspace-store": "0.3.18",
36
+ "@frockbot/plugin-testkit": "0.3.20",
37
+ "@frockbot/workspace-store": "0.3.20",
38
38
  "@types/bun": "1.4.0",
39
39
  "@types/node": "26.2.0",
40
40
  "typescript": "^7.0.2"
package/src/provider.ts CHANGED
@@ -303,11 +303,11 @@ function summarize(report: WorkspaceSyncReportV1): ComputerSyncSummaryV1 {
303
303
  const ignored = total((root) => root.ignored);
304
304
  const omitted = total((root) => root.omitted);
305
305
  const detail: string[] = [];
306
- if (ignored > 0) {
307
- detail.push(
308
- `Excluded ${ignored} reproducible Workspace ${ignored === 1 ? "item" : "items"} from sync.`,
309
- );
310
- }
306
+ // Reproducible trees (node_modules, dist, ) are excluded by design; the
307
+ // count is kept on the summary for the Session log, but it is not a reason
308
+ // to call the sync degraded that projected "Excluded 5 reproducible
309
+ // Workspace items from sync." into the conversation, where it meant nothing
310
+ // to the person reading it (2026-09-05).
311
311
  if (omitted > 0) {
312
312
  detail.push(
313
313
  `Omitted ${omitted} manifest ${omitted === 1 ? "entry" : "entries"} at the sync safety limit.`,
@@ -320,12 +320,13 @@ function summarize(report: WorkspaceSyncReportV1): ComputerSyncSummaryV1 {
320
320
  }
321
321
  const summary: ComputerSyncSummaryV1 = {
322
322
  // Every root failing is `unavailable` — the usual shape of a paused
323
- // Sprite. Any partial failure or bounded exclusion is truthfully degraded.
323
+ // Sprite. Any partial failure or safety-limit omission is truthfully
324
+ // degraded; a by-design exclusion is not.
324
325
  status:
325
326
  report.failures.length > 0 &&
326
327
  report.roots.every((root) => root.failures.length > 0)
327
328
  ? "unavailable"
328
- : report.failures.length > 0 || ignored > 0 || omitted > 0
329
+ : report.failures.length > 0 || omitted > 0
329
330
  ? "degraded"
330
331
  : "ok",
331
332
  detail: detail.join(" ").slice(0, 512),
package/src/sync.test.ts CHANGED
@@ -1332,7 +1332,7 @@ describe("the durable-root sync on the Computer handle", () => {
1332
1332
  }
1333
1333
  });
1334
1334
 
1335
- test("reports a bounded dependency exclusion as degraded while source still syncs", async () => {
1335
+ test("a by-design dependency exclusion is still an ok sync, counted but not narrated", async () => {
1336
1336
  const { sprite, open } = providerHarness([APPLET_SOURCE_PACKAGE_ROOT]);
1337
1337
  const handle = await open();
1338
1338
  sprite.shellWrite(
@@ -1349,15 +1349,13 @@ describe("the durable-root sync on the Computer handle", () => {
1349
1349
  const summary = await handle.sync!.reconcile("turn-end");
1350
1350
 
1351
1351
  expect(summary).toMatchObject({
1352
- status: "degraded",
1352
+ status: "ok",
1353
1353
  pushed: 1,
1354
1354
  ignored: 1,
1355
1355
  omitted: 0,
1356
1356
  failures: 0,
1357
1357
  });
1358
- expect(summary.detail).toBe(
1359
- "Excluded 1 reproducible Workspace item from sync.",
1360
- );
1358
+ expect(summary.detail).toBe("");
1361
1359
  });
1362
1360
 
1363
1361
  // The sync-now seam of ADR 0022 decision 7, provider side: an Applet publish