@kition/kit-html-darwin-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 +121 -0
- package/kition-html +4 -0
- package/package.json +35 -4
- package/README.md +0 -3
package/kit.json
ADDED
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
{
|
|
2
|
+
"khp": "1.0",
|
|
3
|
+
"level": "basic",
|
|
4
|
+
"id": "kit.html",
|
|
5
|
+
"name": "HTML",
|
|
6
|
+
"version": "0.1.2",
|
|
7
|
+
"license": "Apache-2.0",
|
|
8
|
+
"distribution": "plugin",
|
|
9
|
+
"capabilities": [
|
|
10
|
+
"kdm"
|
|
11
|
+
],
|
|
12
|
+
"engine": {
|
|
13
|
+
"runtime": "rust-wasm",
|
|
14
|
+
"module": "kition_html_kit",
|
|
15
|
+
"class": "HtmlDocument",
|
|
16
|
+
"contract": 2,
|
|
17
|
+
"crate": "kition-html-kit",
|
|
18
|
+
"editorState": ["width", "height"]
|
|
19
|
+
},
|
|
20
|
+
"model": {
|
|
21
|
+
"schema": "crates/kition-html-kit/model/schema.json",
|
|
22
|
+
"schemaVersion": 1
|
|
23
|
+
},
|
|
24
|
+
"collaboration": {
|
|
25
|
+
"merge": [
|
|
26
|
+
"rich-text"
|
|
27
|
+
],
|
|
28
|
+
"leases": [],
|
|
29
|
+
"serverValidation": false
|
|
30
|
+
},
|
|
31
|
+
"objectModel": {
|
|
32
|
+
"namespace": "Html"
|
|
33
|
+
},
|
|
34
|
+
"formats": [
|
|
35
|
+
{
|
|
36
|
+
"id": "html",
|
|
37
|
+
"extensions": [
|
|
38
|
+
"html",
|
|
39
|
+
"htm"
|
|
40
|
+
],
|
|
41
|
+
"mime": "text/html",
|
|
42
|
+
"role": "edit"
|
|
43
|
+
}
|
|
44
|
+
],
|
|
45
|
+
"creates": [
|
|
46
|
+
{
|
|
47
|
+
"id": "html",
|
|
48
|
+
"extension": "html",
|
|
49
|
+
"baseName": "Untitled HTML",
|
|
50
|
+
"size": {
|
|
51
|
+
"width": 640,
|
|
52
|
+
"height": 480
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
],
|
|
56
|
+
"extras": {
|
|
57
|
+
"setResource": {
|
|
58
|
+
"params": [
|
|
59
|
+
"path: string",
|
|
60
|
+
"bytes: Uint8Array"
|
|
61
|
+
],
|
|
62
|
+
"returns": "void",
|
|
63
|
+
"description": "Supply host-read bytes under /assets/."
|
|
64
|
+
},
|
|
65
|
+
"setViewport": {
|
|
66
|
+
"params": [
|
|
67
|
+
"width: u32",
|
|
68
|
+
"height: u32",
|
|
69
|
+
"dark: boolean"
|
|
70
|
+
],
|
|
71
|
+
"returns": "void",
|
|
72
|
+
"description": "Set the transient CSS viewport and color scheme."
|
|
73
|
+
},
|
|
74
|
+
"renderPng": {
|
|
75
|
+
"params": [],
|
|
76
|
+
"returns": "Uint8Array",
|
|
77
|
+
"description": "Return a PNG snapshot without writing a file."
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
"ui": {
|
|
81
|
+
"menus": [
|
|
82
|
+
"Edit"
|
|
83
|
+
],
|
|
84
|
+
"layout": "canvas",
|
|
85
|
+
"brand": {
|
|
86
|
+
"light": "#b64b22",
|
|
87
|
+
"dark": "#ff986b"
|
|
88
|
+
},
|
|
89
|
+
"display": "menus"
|
|
90
|
+
},
|
|
91
|
+
"agent": {
|
|
92
|
+
"prefix": "html",
|
|
93
|
+
"tools": "document",
|
|
94
|
+
"drafts": false,
|
|
95
|
+
"objectModel": false,
|
|
96
|
+
"layout": false,
|
|
97
|
+
"describe": {
|
|
98
|
+
"noun": "HTML document",
|
|
99
|
+
"fileTypes": "HTML (.html or .htm)",
|
|
100
|
+
"reports": "its HTML source, viewport, and undo state",
|
|
101
|
+
"covers": "HTML source replacement and undo/redo; HTML/CSS rendering and bounded JavaScript with supplied resources",
|
|
102
|
+
"queries": "`Replace HTML` or `Undo`",
|
|
103
|
+
"example": "html.setSource"
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
"headless": {
|
|
107
|
+
"executable": "kition-html",
|
|
108
|
+
"protocol": "kition-kit/1",
|
|
109
|
+
"features": [
|
|
110
|
+
"view.describe",
|
|
111
|
+
"document.check",
|
|
112
|
+
"model.open",
|
|
113
|
+
"model.import",
|
|
114
|
+
"model.export",
|
|
115
|
+
"model.save",
|
|
116
|
+
"model.describe",
|
|
117
|
+
"model.batch",
|
|
118
|
+
"document.identity"
|
|
119
|
+
]
|
|
120
|
+
}
|
|
121
|
+
}
|
package/kition-html
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,37 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kition/kit-html-darwin-x64",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.1.2",
|
|
4
|
+
"description": "Kition's HTML kit (kit.html 0.1.2) for darwin-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-html.git"
|
|
9
|
+
},
|
|
10
|
+
"os": [
|
|
11
|
+
"darwin"
|
|
12
|
+
],
|
|
13
|
+
"cpu": [
|
|
14
|
+
"x64"
|
|
15
|
+
],
|
|
16
|
+
"files": [
|
|
17
|
+
"kit.json",
|
|
18
|
+
"kition-html"
|
|
19
|
+
],
|
|
20
|
+
"kition": {
|
|
21
|
+
"kit": "html",
|
|
22
|
+
"id": "kit.html",
|
|
23
|
+
"name": "HTML",
|
|
24
|
+
"version": "0.1.2",
|
|
25
|
+
"role": "headless",
|
|
26
|
+
"platform": "darwin-x64",
|
|
27
|
+
"protocol": "kition-kit/1",
|
|
28
|
+
"extensions": [
|
|
29
|
+
"html",
|
|
30
|
+
"htm"
|
|
31
|
+
],
|
|
32
|
+
"views": [],
|
|
33
|
+
"build": {
|
|
34
|
+
"commit": "9dcaabef0d4c4606fe982f8e2de880ca67f08f4f"
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
package/README.md
DELETED