@kition/kit-cad-linux-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 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 ADDED
Binary file
package/package.json CHANGED
@@ -1,6 +1,39 @@
1
1
  {
2
2
  "name": "@kition/kit-cad-linux-x64",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.1.2",
4
+ "description": "Kition's CAD kit (kit.cad 0.1.2) for linux-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
+ "linux"
12
+ ],
13
+ "cpu": [
14
+ "x64"
15
+ ],
16
+ "libc": [
17
+ "glibc"
18
+ ],
19
+ "files": [
20
+ "kit.json",
21
+ "kition-cad"
22
+ ],
23
+ "kition": {
24
+ "kit": "cad",
25
+ "id": "kit.cad",
26
+ "name": "CAD",
27
+ "version": "0.1.2",
28
+ "role": "headless",
29
+ "platform": "linux-x64",
30
+ "protocol": "kition-kit/1",
31
+ "extensions": [
32
+ "dxf"
33
+ ],
34
+ "views": [],
35
+ "build": {
36
+ "commit": "67652a3f933aa9685eb4a1c9be1c07124c64e2e0"
37
+ }
38
+ }
39
+ }
package/README.md DELETED
@@ -1,3 +0,0 @@
1
- # Temporary Holding Version
2
-
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.