@nodii/dev 0.6.111 → 0.6.112

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/core.js CHANGED
@@ -4,7 +4,7 @@ import { chmod, mkdir, readFile, rm, writeFile } from "node:fs/promises";
4
4
  import { homedir, platform } from "node:os";
5
5
  import { dirname, join } from "node:path";
6
6
 
7
- export const VERSION = "0.6.111";
7
+ export const VERSION = "0.6.112";
8
8
  export const configPath = () =>
9
9
  process.env.NODII_DEV_CONFIG_PATH ??
10
10
  join(homedir(), ".config/nodii-dev/config.json");
package/dist/figma.js CHANGED
@@ -1027,7 +1027,7 @@ export function laneReadsRefusal(error) {
1027
1027
  if (error?.code !== "FIGMA_READS_NEEDED") return error;
1028
1028
  const ids = error.details?.nodeIds ?? [];
1029
1029
  const next = error.details?.read === "base"
1030
- ? "Compare each with the set's base, add it to base.atBase or base.offBase in the lane-reads file, and say how in base.how. Then send this again."
1030
+ ? "Compare each with the set's base, add it to base.atBase or base.offBase in the lane-reads file (base.absent if the base version didn't have it, such as the component a create made), and say how in base.how. Then send this again."
1031
1031
  : ids.length
1032
1032
  ? `Add them with the MCP: nodii-dev figma lane-reads-script --nodes ${ids.join(",")}\nThen send this again.`
1033
1033
  : "This check has no MCP path yet: tell the Steward (hub-295).";
@@ -1042,7 +1042,8 @@ export function laneReadsScript(nodes) {
1042
1042
  if (!ids.length) throw new CliError("USAGE", "figma lane-reads-script --nodes ID[,ID]", 2);
1043
1043
  return `// Run through the Figma MCP's use_figma. It only reads. Set figmaVersion in the
1044
1044
  // result to the version you read at (for a new claim, the file's newest version), and add
1045
- // base: { atBase, offBase, how } if Dev asks for a base comparison.
1045
+ // base: { atBase, offBase, absent, how } if Dev asks for a base comparison (absent: not in
1046
+ // the file at the set's base version).
1046
1047
  const ids = ${JSON.stringify(ids)};
1047
1048
  const nodes = [];
1048
1049
  const gone = [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nodii/dev",
3
- "version": "0.6.111",
3
+ "version": "0.6.112",
4
4
  "description": "Agent CLI for Nodii Dev, reached through the platform edge",
5
5
  "type": "module",
6
6
  "bin": {