@kition/kit-cad-win32-x64 0.0.0-stage → 0.1.2
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/kit.json +137 -0
- package/kition-cad.exe +4 -0
- package/package.json +34 -4
- package/README.md +0 -3
package/kit.json
ADDED
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://github.com/KitionAI/kition-sdk/schemas/kit.schema.json",
|
|
3
|
+
"khp": "1.0",
|
|
4
|
+
"level": "basic",
|
|
5
|
+
"id": "kit.cad",
|
|
6
|
+
"name": "CAD",
|
|
7
|
+
"version": "0.1.2",
|
|
8
|
+
"license": "Apache-2.0",
|
|
9
|
+
"distribution": "plugin",
|
|
10
|
+
"engine": {
|
|
11
|
+
"runtime": "rust-wasm",
|
|
12
|
+
"module": "kition_cad_kit",
|
|
13
|
+
"class": "CadDocument",
|
|
14
|
+
"contract": 2,
|
|
15
|
+
"crate": "kition-cad-kit",
|
|
16
|
+
"editorState": ["/space", "/viewport", "/view", "/selection", "/selectedObjects", "/viewRequest", "/prompt", "/running", "/drafting", "/units"]
|
|
17
|
+
},
|
|
18
|
+
"formats": [
|
|
19
|
+
{
|
|
20
|
+
"id": "cad",
|
|
21
|
+
"extensions": [
|
|
22
|
+
"dxf"
|
|
23
|
+
],
|
|
24
|
+
"mime": "image/vnd.dxf",
|
|
25
|
+
"role": "edit"
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"creates": [
|
|
29
|
+
{
|
|
30
|
+
"id": "cad",
|
|
31
|
+
"extension": "dxf",
|
|
32
|
+
"baseName": "Untitled CAD",
|
|
33
|
+
"size": {
|
|
34
|
+
"width": 420,
|
|
35
|
+
"height": 297
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
],
|
|
39
|
+
"exports": [
|
|
40
|
+
{
|
|
41
|
+
"extension": "pdf",
|
|
42
|
+
"mime": "application/pdf",
|
|
43
|
+
"command": "file.export"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"extension": "svg",
|
|
47
|
+
"mime": "image/svg+xml",
|
|
48
|
+
"command": "file.export"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"extension": "png",
|
|
52
|
+
"mime": "image/png",
|
|
53
|
+
"command": "file.export"
|
|
54
|
+
}
|
|
55
|
+
],
|
|
56
|
+
"capabilities": [
|
|
57
|
+
"engine-tools",
|
|
58
|
+
"kdm"
|
|
59
|
+
],
|
|
60
|
+
"ui": {
|
|
61
|
+
"mode": "embedded",
|
|
62
|
+
"display": "menus",
|
|
63
|
+
"entry": "ui/index.html",
|
|
64
|
+
"menus": [
|
|
65
|
+
"File",
|
|
66
|
+
"Edit",
|
|
67
|
+
"View",
|
|
68
|
+
"Insert",
|
|
69
|
+
"Format",
|
|
70
|
+
"Tools",
|
|
71
|
+
"Draw",
|
|
72
|
+
"Dimension",
|
|
73
|
+
"Modify"
|
|
74
|
+
],
|
|
75
|
+
"layout": "canvas",
|
|
76
|
+
"brand": {
|
|
77
|
+
"light": "#4f6d8a",
|
|
78
|
+
"dark": "#8eabc8"
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"agent": {
|
|
82
|
+
"prefix": "cad",
|
|
83
|
+
"tools": "document",
|
|
84
|
+
"drafts": true,
|
|
85
|
+
"objectModel": true,
|
|
86
|
+
"layout": false,
|
|
87
|
+
"parts": [
|
|
88
|
+
"layout"
|
|
89
|
+
],
|
|
90
|
+
"render": "file.render",
|
|
91
|
+
"export": {
|
|
92
|
+
"command": "file.export",
|
|
93
|
+
"data": "data"
|
|
94
|
+
},
|
|
95
|
+
"describe": {
|
|
96
|
+
"noun": "CAD drawing",
|
|
97
|
+
"fileTypes": ".dxf",
|
|
98
|
+
"reports": "its spaces (Model and each layout) and layers with their ids and object counts, its blocks and named views, and the current layer",
|
|
99
|
+
"covers": "drawing, modifying, dimensions, layers, blocks, and AutoCAD-style commands; `commandLine` runs any command-line entry",
|
|
100
|
+
"queries": "`circle`, `layer`, or `dimension`",
|
|
101
|
+
"example": "circle"
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
"headless": {
|
|
105
|
+
"executable": "kition-cad",
|
|
106
|
+
"protocol": "kition-kit/1",
|
|
107
|
+
"features": [
|
|
108
|
+
"view.describe",
|
|
109
|
+
"document.check",
|
|
110
|
+
"document.identity",
|
|
111
|
+
"model.open",
|
|
112
|
+
"model.import",
|
|
113
|
+
"model.export",
|
|
114
|
+
"model.save",
|
|
115
|
+
"model.describe",
|
|
116
|
+
"model.batch"
|
|
117
|
+
],
|
|
118
|
+
"capabilities": [
|
|
119
|
+
"document-text"
|
|
120
|
+
]
|
|
121
|
+
},
|
|
122
|
+
"model": {
|
|
123
|
+
"schema": "crates/kdm/kdm-model/model/schema.json",
|
|
124
|
+
"schemaVersion": 3
|
|
125
|
+
},
|
|
126
|
+
"collaboration": {
|
|
127
|
+
"merge": [
|
|
128
|
+
"structured",
|
|
129
|
+
"overlay"
|
|
130
|
+
],
|
|
131
|
+
"leases": [],
|
|
132
|
+
"serverValidation": false
|
|
133
|
+
},
|
|
134
|
+
"objectModel": {
|
|
135
|
+
"namespace": "Cad"
|
|
136
|
+
}
|
|
137
|
+
}
|
package/kition-cad.exe
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,36 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kition/kit-cad-win32-x64",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.1.2",
|
|
4
|
+
"description": "Kition's CAD kit (kit.cad 0.1.2) for win32-x64: its headless executable and kit.json. Not for installing by hand: kition installs it.",
|
|
5
|
+
"license": "Apache-2.0",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/KitionAI/kition-cad.git"
|
|
9
|
+
},
|
|
10
|
+
"os": [
|
|
11
|
+
"win32"
|
|
12
|
+
],
|
|
13
|
+
"cpu": [
|
|
14
|
+
"x64"
|
|
15
|
+
],
|
|
16
|
+
"files": [
|
|
17
|
+
"kit.json",
|
|
18
|
+
"kition-cad.exe"
|
|
19
|
+
],
|
|
20
|
+
"kition": {
|
|
21
|
+
"kit": "cad",
|
|
22
|
+
"id": "kit.cad",
|
|
23
|
+
"name": "CAD",
|
|
24
|
+
"version": "0.1.2",
|
|
25
|
+
"role": "headless",
|
|
26
|
+
"platform": "win32-x64",
|
|
27
|
+
"protocol": "kition-kit/1",
|
|
28
|
+
"extensions": [
|
|
29
|
+
"dxf"
|
|
30
|
+
],
|
|
31
|
+
"views": [],
|
|
32
|
+
"build": {
|
|
33
|
+
"commit": "67652a3f933aa9685eb4a1c9be1c07124c64e2e0"
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
package/README.md
DELETED