chore(deps): add @pascal-app/lingo to the lockfile; note duplicated helper

Records @pascal-app/lingo@^0.1.0 in bun.lock (added to @pascal-app/editor and
@pascal-app/mcp), so `bun install --frozen-lockfile` in CI resolves it. Also
documents that measurement.ts is intentionally duplicated with the AI-chat copy
across the submodule boundary and must be kept in sync.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Aymeric Rabot
2026-07-08 13:32:36 +02:00
co-authored by Claude Opus 4.8
parent 3273aac551
commit af1fe6a34c
2 changed files with 10 additions and 0 deletions
+6
View File
@@ -17,6 +17,12 @@ import { z } from 'zod'
* Tool-boundary safety: genuinely ambiguous separators (`"1,234"`, which could
* mean 1234 or 1.234) are rejected rather than silently absorbed, so a European
* decimal never becomes a 1000× value.
*
* NOTE: intentionally duplicated as `editor/packages/mcp/src/tools/measurement.ts`
* (MCP tools) and `packages/ai/src/tools/scene/measurement.ts` (AI-chat tools).
* The two tool stacks live in different packages — one inside the `editor`
* submodule — so they can't share a module. Keep the two copies identical; the
* clean long-term dedup is a zod-field adapter exported from `@pascal-app/lingo`.
*/
export interface MeasurementOptions {