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:
co-authored by
Claude Opus 4.8
parent
3273aac551
commit
af1fe6a34c
@@ -131,6 +131,7 @@
|
|||||||
"@dnd-kit/utilities": "^3.2.2",
|
"@dnd-kit/utilities": "^3.2.2",
|
||||||
"@iconify/react": "^6.0.2",
|
"@iconify/react": "^6.0.2",
|
||||||
"@number-flow/react": "^0.6.0",
|
"@number-flow/react": "^0.6.0",
|
||||||
|
"@pascal-app/lingo": "^0.1.0",
|
||||||
"@radix-ui/react-alert-dialog": "^1.1.15",
|
"@radix-ui/react-alert-dialog": "^1.1.15",
|
||||||
"@radix-ui/react-context-menu": "^2.2.16",
|
"@radix-ui/react-context-menu": "^2.2.16",
|
||||||
"@radix-ui/react-dialog": "^1.1.15",
|
"@radix-ui/react-dialog": "^1.1.15",
|
||||||
@@ -220,6 +221,7 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@modelcontextprotocol/sdk": "^1.29.0",
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
||||||
|
"@pascal-app/lingo": "^0.1.0",
|
||||||
"zod": "^4.3.5",
|
"zod": "^4.3.5",
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
@@ -714,6 +716,8 @@
|
|||||||
|
|
||||||
"@pascal-app/ifc-converter": ["@pascal-app/ifc-converter@workspace:packages/ifc-converter"],
|
"@pascal-app/ifc-converter": ["@pascal-app/ifc-converter@workspace:packages/ifc-converter"],
|
||||||
|
|
||||||
|
"@pascal-app/lingo": ["@pascal-app/lingo@0.1.0", "", { "peerDependencies": { "react": "^19" }, "optionalPeers": ["react"] }, "sha512-j4cN9DSc3QD4LGG003TCIO5+jMYySFpJO6467V0Q3IPumVkwq7/BpEAw8JGY6zTZFmFETIeupuPEi4drnA9m+g=="],
|
||||||
|
|
||||||
"@pascal-app/mcp": ["@pascal-app/mcp@workspace:packages/mcp"],
|
"@pascal-app/mcp": ["@pascal-app/mcp@workspace:packages/mcp"],
|
||||||
|
|
||||||
"@pascal-app/nodes": ["@pascal-app/nodes@workspace:packages/nodes"],
|
"@pascal-app/nodes": ["@pascal-app/nodes@workspace:packages/nodes"],
|
||||||
|
|||||||
@@ -17,6 +17,12 @@ import { z } from 'zod'
|
|||||||
* Tool-boundary safety: genuinely ambiguous separators (`"1,234"`, which could
|
* Tool-boundary safety: genuinely ambiguous separators (`"1,234"`, which could
|
||||||
* mean 1234 or 1.234) are rejected rather than silently absorbed, so a European
|
* mean 1234 or 1.234) are rejected rather than silently absorbed, so a European
|
||||||
* decimal never becomes a 1000× value.
|
* 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 {
|
export interface MeasurementOptions {
|
||||||
|
|||||||
Reference in New Issue
Block a user