@kition/kit-note-darwin-arm64 0.0.0-stage → 0.1.4

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,111 @@
1
+ {
2
+ "$schema": "https://github.com/KitionAI/kition-sdk/schemas/kit.schema.json",
3
+ "khp": "1.0",
4
+ "level": "basic",
5
+ "id": "kit.note",
6
+ "name": "Note",
7
+ "version": "0.1.4",
8
+ "license": "Apache-2.0",
9
+ "distribution": "plugin",
10
+ "engine": {
11
+ "runtime": "rust-wasm",
12
+ "module": "kition_note_kit",
13
+ "class": "NoteDocument",
14
+ "contract": 2,
15
+ "crate": "kition-note-kit",
16
+ "editorState": ["view"]
17
+ },
18
+ "formats": [
19
+ {
20
+ "id": "markdown",
21
+ "extensions": ["md", "markdown"],
22
+ "mime": "text/markdown",
23
+ "role": "edit"
24
+ }
25
+ ],
26
+ "creates": [
27
+ {
28
+ "id": "note",
29
+ "extension": "md",
30
+ "baseName": "Untitled note",
31
+ "size": { "width": 612, "height": 792 }
32
+ }
33
+ ],
34
+ "capabilities": ["kdm", "pages", "files", "open-file", "open-url"],
35
+ "files": { "create": ["html", "pdf", "png", "jpg", "gif", "webp", "svg", "avif"], "print": true },
36
+ "ui": {
37
+ "mode": "embedded",
38
+ "entry": "ui/index.html",
39
+ "menus": ["File", "Edit", "Format", "Insert", "View"],
40
+ "layout": "pages",
41
+ "display": "line",
42
+ "brand": { "light": "#5645d4", "dark": "#8b7cf0" }
43
+ },
44
+ "agent": {
45
+ "prefix": "note",
46
+ "tools": "document",
47
+ "drafts": true,
48
+ "objectModel": true,
49
+ "layout": true,
50
+ "export": { "command": "file.export", "data": "data" },
51
+ "exclude": ["links.retarget", "comment.move", "comment.delete", "selection.get", "selection.set", "edit.selectAll", "edit.cut", "table.geometry", "code.blocks", "diagrams.view", "diagram.set", "properties.view", "image.wanted", "image.set", "selection.replace", "view.width", "view.scheme", "view.hoverOut", "selection.where", "view.blockAt", "view.foldProperties", "format.math", "format.highlightColor", "format.clear", "selection.controlKey", "format.bold", "format.italic", "format.strike", "format.code", "format.highlight", "format.link", "format.paragraph", "format.heading1", "format.heading2", "format.heading3", "format.heading4", "format.heading5", "format.heading6", "list.bullet", "list.numbered", "list.task", "list.toggleCheckbox", "edit.indent", "edit.outdent", "edit.moveLineUp", "edit.moveLineDown", "edit.deleteParagraph", "format.comment", "format.quote", "format.headingUp", "format.headingDown", "view.fold", "view.foldAll", "view.unfoldAll", "view.foldMore", "view.foldLess", "edit.selectSection", "edit.sortLines", "edit.trimWhitespace", "insert.wikilink", "insert.embed", "insert.image", "insert.tag", "insert.table", "insert.mathBlock", "insert.callout", "insert.footnote", "insert.date", "insert.timestamp", "insert.codeBlock", "insert.rule"],
52
+ "describe": {
53
+ "noun": "note",
54
+ "fileTypes": "Markdown (.md)",
55
+ "reports": "its outline, properties, links, tables, tasks, and comment threads",
56
+ "covers": "text, headings, lists, tasks, tables, properties, links, comments, templates, and more; `text.insert` adds text",
57
+ "queries": "`table`, `property`, or `comment`",
58
+ "example": "text.insert"
59
+ }
60
+ },
61
+ "headless": {
62
+ "executable": "kition-note",
63
+ "protocol": "kition-kit/1",
64
+ "features": [
65
+ "view.describe",
66
+ "document.check",
67
+ "document.identity",
68
+ "model.open",
69
+ "model.import",
70
+ "model.export",
71
+ "model.save",
72
+ "model.describe",
73
+ "model.batch"
74
+ ]
75
+ },
76
+ "exports": [
77
+ { "extension": "html", "mime": "text/html", "command": "file.export" },
78
+ { "extension": "pdf", "mime": "application/pdf", "command": "file.export" }
79
+ ],
80
+ "extras": {
81
+ "mergeFile": {
82
+ "params": ["bytes: Uint8Array"],
83
+ "returns": "string"
84
+ },
85
+ "exportHtml": {
86
+ "params": ["standalone: boolean"],
87
+ "returns": "string",
88
+ "description": "The note as HTML (what file.export writes for html), without base64."
89
+ },
90
+ "exportPdf": {
91
+ "params": ["pageSize: string"],
92
+ "returns": "Uint8Array",
93
+ "description": "The note as PDF bytes on letter or a4 pages (what file.export writes for pdf), without base64."
94
+ }
95
+ },
96
+ "model": {
97
+ "schema": "crates/kdm/kdm-model/model/schema.json",
98
+ "schemaVersion": 1
99
+ },
100
+ "collaboration": {
101
+ "merge": ["rich-text"],
102
+ "leases": [],
103
+ "serverValidation": false,
104
+ "comments": {
105
+ "commands": ["comment.add", "comment.reply", "comment.resolve", "comment.move", "comment.delete"]
106
+ }
107
+ },
108
+ "objectModel": {
109
+ "namespace": "Note"
110
+ }
111
+ }
package/kition-note ADDED
Binary file
package/package.json CHANGED
@@ -1,6 +1,37 @@
1
1
  {
2
2
  "name": "@kition/kit-note-darwin-arm64",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.1.4",
4
+ "description": "Kition's Note kit (kit.note 0.1.4) for darwin-arm64: 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-note.git"
9
+ },
10
+ "os": [
11
+ "darwin"
12
+ ],
13
+ "cpu": [
14
+ "arm64"
15
+ ],
16
+ "files": [
17
+ "kit.json",
18
+ "kition-note"
19
+ ],
20
+ "kition": {
21
+ "kit": "note",
22
+ "id": "kit.note",
23
+ "name": "Note",
24
+ "version": "0.1.4",
25
+ "role": "headless",
26
+ "platform": "darwin-arm64",
27
+ "protocol": "kition-kit/1",
28
+ "extensions": [
29
+ "md",
30
+ "markdown"
31
+ ],
32
+ "views": [],
33
+ "build": {
34
+ "commit": "449dae1433d172054b345311535989d63f6d18d4"
35
+ }
36
+ }
37
+ }
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.