@hraness/slopcamera 3.3.1 → 3.3.3

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/README.md CHANGED
@@ -33,14 +33,14 @@ project database.
33
33
 
34
34
  ## Install Slopcamera
35
35
 
36
- Slopcamera v3.2.8 adds optional support in the CLI, agent skill, native menu, and public footer.
36
+ Slopcamera v3.3.2 fixes prop reattachment, canonical scene bindings, and saved behavior-bake auditing.
37
37
 
38
38
  Install [Bun 1.3.14 or newer](https://bun.sh), then install the verified
39
- [Slopcamera v3.2.8 release](https://github.com/hraness/slopcamera/releases/tag/v3.2.8)
39
+ [Slopcamera v3.3.2 release](https://github.com/hraness/slopcamera/releases/tag/v3.3.2)
40
40
  from its canonical archive:
41
41
 
42
42
  ```sh
43
- bun add --global https://github.com/hraness/slopcamera/releases/download/v3.2.8/hraness-slopcamera-3.2.8.tgz
43
+ bun add --global https://github.com/hraness/slopcamera/releases/download/v3.3.2/hraness-slopcamera-3.3.2.tgz
44
44
  slopcamera skill install --target agents
45
45
  ```
46
46
 
@@ -4,7 +4,7 @@ import type { z } from "zod";
4
4
 
5
5
  import type { ApplicationContext } from "./context";
6
6
 
7
- export const SLOPCAMERA_APPLICATION_TOOL_VERSION = "slopcamera-3.3.1" as const;
7
+ export const SLOPCAMERA_APPLICATION_TOOL_VERSION = "slopcamera-3.3.3" as const;
8
8
 
9
9
  export const OPERATION_KINDS = [
10
10
  "scene.audit",
@@ -355,7 +355,7 @@ import {
355
355
  workflowRunStore,
356
356
  } from "./workflow-runs";
357
357
 
358
- export const SLOPCAMERA_VERSION = "3.3.1";
358
+ export const SLOPCAMERA_VERSION = "3.3.3";
359
359
 
360
360
  // Legacy direct renders predate per-target output contracts. Keep them
361
361
  // bounded generously enough for long-form production while preventing one
@@ -11,7 +11,7 @@ import { auditSpatialBehaviorTrace } from "../../../src/spatial-scene/behavior-a
11
11
  import { bakeSpatialBehavior } from "../../../src/spatial-scene/behavior-bake";
12
12
  import { spatialBehaviorFnSignatures } from "../../../src/spatial-scene/behavior-fns";
13
13
  import { planSpatialBehaviorGallery, spatialBehaviorGalleryPlanSha256 } from "../../../src/spatial-scene/behavior-gallery";
14
- import { parseSpatialBehaviorChannelMap, spatialBehaviorBakeSha256 } from "../../../src/spatial-scene/behavior-trace";
14
+ import { parseSpatialBehaviorChannelMap, SpatialBehaviorBakeSchema, spatialBehaviorBakeSha256 } from "../../../src/spatial-scene/behavior-trace";
15
15
  import { checkSpatialDirection, compileSpatialDirection, spatialDirectionCompilationSha256 } from "../../../src/spatial-scene/direction-compile";
16
16
  import { createSpatialEvaluationContext, evaluateSpatialSceneInContext } from "../../../src/spatial-scene/evaluate";
17
17
  import { planSpatialDirectionGallery, spatialGalleryPlanSha256 } from "../../../src/spatial-scene/gallery";
@@ -90,8 +90,11 @@ export async function executeSpatialSceneCommand(application: ApplicationContext
90
90
  throw new CliError("authorization-required", "scene review uploads bounded rendered beauty frames to a vision model and requires --allow-cloud-upload on this invocation.", { command: "scene review" });
91
91
  }
92
92
  if (command.action === "behavior-audit") {
93
- const bake = await readSpatialJson(resolve(application.paths.repositoryRoot, command.bake));
94
- const report = auditSpatialBehaviorTrace(bake);
93
+ const bake = parseSpatialValue(SpatialBehaviorBakeSchema, await readSpatialJson(resolve(application.paths.repositoryRoot, command.bake)), "behavior bake");
94
+ const report = auditSpatialBehaviorTrace({
95
+ behaviorSha256: bake.behaviorSha256, emittedSha256: bake.receipt.emittedSha256,
96
+ emitted: bake.emitted, rangeUs: bake.rangeUs,
97
+ });
95
98
  if (command.output === undefined) return report;
96
99
  const output = resolve(application.paths.repositoryRoot, command.output);
97
100
  await publishSpatialSource(output, report);