@things-factory/board-import 10.1.38 → 10.1.39
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": "@things-factory/board-import",
|
|
3
|
-
"version": "10.1.
|
|
3
|
+
"version": "10.1.39",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"things-factory": true,
|
|
6
6
|
"author": "heartyoh",
|
|
@@ -23,13 +23,13 @@
|
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@operato/graphql": "^10.0.0",
|
|
26
|
-
"@things-factory/ai-client-base": "^10.1.
|
|
27
|
-
"@things-factory/attachment-base": "^10.1.
|
|
28
|
-
"@things-factory/auth-base": "^10.1.
|
|
29
|
-
"@things-factory/board-service": "^10.1.
|
|
26
|
+
"@things-factory/ai-client-base": "^10.1.39",
|
|
27
|
+
"@things-factory/attachment-base": "^10.1.39",
|
|
28
|
+
"@things-factory/auth-base": "^10.1.39",
|
|
29
|
+
"@things-factory/board-service": "^10.1.39",
|
|
30
30
|
"@things-factory/env": "^10.1.20",
|
|
31
|
-
"@things-factory/shell": "^10.1.
|
|
31
|
+
"@things-factory/shell": "^10.1.39",
|
|
32
32
|
"dxf-parser": "^1.1.2"
|
|
33
33
|
},
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "fe5257ad8995fe7e79275e287f36e95b5fd32d1c"
|
|
35
35
|
}
|
|
@@ -42,7 +42,7 @@ const ARGS: Record<keyof typeof IMPORT_TOOL_PRIVILEGE, any> = {
|
|
|
42
42
|
getImportSession: { sessionId: 's1' },
|
|
43
43
|
materializeImportSession: { sessionId: 's1', name: 'New' }
|
|
44
44
|
}
|
|
45
|
-
/**
|
|
45
|
+
/** The door each tool passes — the registry's `doors`, and the field name the table-vs-door check below reads. */
|
|
46
46
|
const DOOR: Record<keyof typeof IMPORT_TOOL_PRIVILEGE, string> = {
|
|
47
47
|
importBoardAsync: 'Mutation.importBoardAsync',
|
|
48
48
|
getImportSession: 'Query.importSession',
|
|
@@ -80,9 +80,9 @@ describe.each(Object.keys(IMPORT_TOOL_PRIVILEGE) as (keyof typeof IMPORT_TOOL_PR
|
|
|
80
80
|
})
|
|
81
81
|
|
|
82
82
|
/*
|
|
83
|
-
*
|
|
84
|
-
*
|
|
85
|
-
*
|
|
83
|
+
* From 2026-09-18 the doors decide what is **offered** (ADR-0071 decision 2). Instead of copying a
|
|
84
|
+
* privilege the spec names the door it reaches, and the gate reads that field's directive from AUTH's
|
|
85
|
+
* table. Get the door name wrong and the tool is offered to no conversation — silently.
|
|
86
86
|
*/
|
|
87
87
|
test('names the door it reaches, so the gate can ask that door what it requires', () => {
|
|
88
88
|
const spec: any = findToolSpec(tool)
|
|
@@ -138,7 +138,7 @@ const importToolsCategory: ToolCategory = {
|
|
|
138
138
|
{
|
|
139
139
|
kind: 'read',
|
|
140
140
|
name: 'listImportAdapters',
|
|
141
|
-
/*
|
|
141
|
+
/* Only lists the adapters registered in this process — it reaches no storage, so it passes no door. */
|
|
142
142
|
doors: [],
|
|
143
143
|
description:
|
|
144
144
|
'등록된 도면 import 어댑터 (DXF / Image / 향후 IFC, glTF 등) 의 능력 조회. ' +
|