@kition/kit-pdf-darwin-x64 0.0.0-stage → 0.1.3

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,133 @@
1
+ {
2
+ "$schema": "https://github.com/KitionAI/kition-sdk/schemas/kit.schema.json",
3
+ "khp": "1.0",
4
+ "level": "basic",
5
+ "id": "kit.pdf",
6
+ "name": "PDF",
7
+ "version": "0.1.3",
8
+ "license": "Apache-2.0",
9
+ "distribution": "plugin",
10
+ "engine": {
11
+ "runtime": "rust-wasm",
12
+ "module": "kition_pdf_kit",
13
+ "class": "PdfDocument",
14
+ "contract": 2,
15
+ "crate": "kition-pdf-kit",
16
+ "editorState": []
17
+ },
18
+ "formats": [
19
+ {
20
+ "id": "pdf",
21
+ "extensions": [
22
+ "pdf"
23
+ ],
24
+ "mime": "application/pdf",
25
+ "role": "edit"
26
+ }
27
+ ],
28
+ "creates": [
29
+ {
30
+ "id": "pdf",
31
+ "extension": "pdf",
32
+ "baseName": "Untitled PDF",
33
+ "size": {
34
+ "width": 612,
35
+ "height": 792
36
+ }
37
+ }
38
+ ],
39
+ "capabilities": [
40
+ "kdm"
41
+ ],
42
+ "ui": {
43
+ "mode": "embedded",
44
+ "display": "line",
45
+ "entry": "ui/index.html",
46
+ "menus": [
47
+ "Edit",
48
+ "Document",
49
+ "Pages",
50
+ "Text",
51
+ "Edit PDF",
52
+ "Comment",
53
+ "Forms",
54
+ "Bookmarks",
55
+ "Links",
56
+ "Redact",
57
+ "Measure",
58
+ "Protect",
59
+ "Accessibility",
60
+ "Tools"
61
+ ],
62
+ "layout": "canvas",
63
+ "brand": {
64
+ "light": "#db3527",
65
+ "dark": "#ff7a6b"
66
+ }
67
+ },
68
+ "agent": {
69
+ "prefix": "pdf",
70
+ "tools": "document",
71
+ "drafts": true,
72
+ "objectModel": true,
73
+ "layout": true,
74
+ "describe": {
75
+ "noun": "PDF",
76
+ "fileTypes": ".pdf",
77
+ "reports": "its pages and labels, whether it can be edited, and its form fields",
78
+ "covers": "pages, text, comments, forms, bookmarks, links, watermarks, redaction, measuring, accessibility, and more",
79
+ "queries": "`rotate`, `comment`, or `watermark`",
80
+ "example": "page_rotate"
81
+ }
82
+ },
83
+ "headless": {
84
+ "executable": "kition-pdf",
85
+ "protocol": "kition-kit/1",
86
+ "features": [
87
+ "view.describe",
88
+ "document.check",
89
+ "document.identity",
90
+ "model.open",
91
+ "model.import",
92
+ "model.export",
93
+ "model.save",
94
+ "model.describe",
95
+ "model.batch"
96
+ ],
97
+ "capabilities": [
98
+ "document-text"
99
+ ]
100
+ },
101
+ "extras": {
102
+ "setBackdrop": {
103
+ "params": [
104
+ "color: string"
105
+ ],
106
+ "returns": "void"
107
+ },
108
+ "leaseScope": {
109
+ "params": [
110
+ "command: string"
111
+ ],
112
+ "returns": "string",
113
+ "description": "The lease (Kit UI protocol section 7b) to take before running the command: \"*\" (the whole document) when it rewrites the file in full (applying redactions, sanitizing, adding or removing security, converting an encrypted file to PDF/A, or undoing or redoing across one), else empty."
114
+ }
115
+ },
116
+ "model": {
117
+ "schema": "crates/kdm/kdm-model/model/schema.json",
118
+ "schemaVersion": 4
119
+ },
120
+ "collaboration": {
121
+ "merge": [
122
+ "overlay",
123
+ "binary"
124
+ ],
125
+ "leases": [
126
+ "*"
127
+ ],
128
+ "serverValidation": false
129
+ },
130
+ "objectModel": {
131
+ "namespace": "Pdf"
132
+ }
133
+ }
package/kition-pdf ADDED
@@ -0,0 +1,4 @@
1
+ [diffend] Oversized file quarantined before diffing.
2
+ name: package/kition-pdf
3
+ size: 46112528 bytes
4
+ sha256: 14e94a12571ee64bc0b27d3046649f150304aaad3cbd2805f3d851738986ec17
package/package.json CHANGED
@@ -1,6 +1,36 @@
1
1
  {
2
2
  "name": "@kition/kit-pdf-darwin-x64",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.1.3",
4
+ "description": "Kition's PDF kit (kit.pdf 0.1.3) 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-pdf.git"
9
+ },
10
+ "os": [
11
+ "darwin"
12
+ ],
13
+ "cpu": [
14
+ "x64"
15
+ ],
16
+ "files": [
17
+ "kit.json",
18
+ "kition-pdf"
19
+ ],
20
+ "kition": {
21
+ "kit": "pdf",
22
+ "id": "kit.pdf",
23
+ "name": "PDF",
24
+ "version": "0.1.3",
25
+ "role": "headless",
26
+ "platform": "darwin-x64",
27
+ "protocol": "kition-kit/1",
28
+ "extensions": [
29
+ "pdf"
30
+ ],
31
+ "views": [],
32
+ "build": {
33
+ "commit": "f32cfe4698e494e093a582f86779e81a49e8e46c"
34
+ }
35
+ }
36
+ }
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.