@kition/kit-table-linux-x64 0.0.0-stage → 0.1.1

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/README.md CHANGED
@@ -1,3 +1,13 @@
1
- # Temporary Holding Version
1
+ # Kition Table for linux-x64
2
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.
3
+ The headless executable of Kition Table for linux-x64, with the kit's `kit.json`. [`kition`](https://github.com/KitionAI/kition-sdk/blob/main/docs/sdk/cli.md) installs it (`kition kit install table`); it is not meant to be installed by hand.
4
+
5
+ Kition Table: tables, views and dashboards in one file, for people and AI agents.
6
+
7
+ GitHub: https://github.com/KitionAI/kition-table · The editor: [`@kition/kit-table-ui`](https://www.npmjs.com/package/@kition/kit-table-ui)
8
+
9
+ Part of Kition: https://github.com/KitionAI
10
+
11
+ ## License
12
+
13
+ Apache-2.0 ([LICENSE](https://github.com/KitionAI/kition-table/blob/main/LICENSE)).
package/kit.json ADDED
@@ -0,0 +1,250 @@
1
+ {
2
+ "$schema": "https://github.com/KitionAI/kition-sdk/schemas/kit.schema.json",
3
+ "khp": "1.0",
4
+ "level": "basic",
5
+ "id": "kit.table",
6
+ "name": "Table",
7
+ "version": "0.1.1",
8
+ "license": "Apache-2.0",
9
+ "distribution": "default",
10
+ "capabilities": [
11
+ "kdm"
12
+ ],
13
+ "engine": {
14
+ "runtime": "rust-wasm",
15
+ "module": "kition_table_kit",
16
+ "class": "TableDocument",
17
+ "contract": 2,
18
+ "crate": "kition-table-kit",
19
+ "editorState": []
20
+ },
21
+ "formats": [
22
+ {
23
+ "id": "ktable",
24
+ "extensions": [
25
+ "ktable"
26
+ ],
27
+ "mime": "application/vnd.kition.table+sqlite3",
28
+ "role": "edit"
29
+ }
30
+ ],
31
+ "creates": [
32
+ {
33
+ "id": "table",
34
+ "extension": "ktable",
35
+ "baseName": "Untitled table",
36
+ "size": {
37
+ "width": 640,
38
+ "height": 420
39
+ }
40
+ }
41
+ ],
42
+ "exports": [
43
+ {
44
+ "extension": "csv",
45
+ "mime": "text/csv",
46
+ "command": "table.file.export"
47
+ },
48
+ {
49
+ "extension": "md",
50
+ "mime": "text/markdown",
51
+ "command": "table.file.export"
52
+ }
53
+ ],
54
+ "outline": {
55
+ "command": "table.file.outline"
56
+ },
57
+ "extras": {
58
+ "call": {
59
+ "params": [
60
+ "method",
61
+ "paramsJson"
62
+ ],
63
+ "returns": "string",
64
+ "description": "One data-document request (kition-table-api): answers { result, change } as JSON."
65
+ },
66
+ "takeImported": {
67
+ "params": [],
68
+ "returns": "string",
69
+ "description": "The TableChanges of replica changes imported since the last call, as a JSON array of table/changed params."
70
+ },
71
+ "gridOpen": {
72
+ "params": [
73
+ "paramsJson"
74
+ ],
75
+ "returns": "Uint8Array",
76
+ "description": "Arranges a view for the editor ({tableId, viewId?, config?, query?, collapsed?}): the axis (kition-table-arrange format v2: record ids in order, group headers with counts)."
77
+ },
78
+ "gridHits": {
79
+ "params": [
80
+ "paramsJson"
81
+ ],
82
+ "returns": "Uint8Array",
83
+ "description": "Which cells of a run of the arrangement's rows hold the search ({epoch, from, count, fieldIds}): kition-table-arrange hits format v1, a bitmask over the fields per row; an error for an epoch that is not the latest."
84
+ },
85
+ "gridSync": {
86
+ "params": [],
87
+ "returns": "Uint8Array",
88
+ "description": "The editor's arrangement brought to the document's current state: the new axis, or no bytes when it is the same."
89
+ },
90
+ "gridStats": {
91
+ "params": [],
92
+ "returns": "string",
93
+ "description": "How long arranging took (whole arrangements and relocations) and how long the grid's bands took (bands), as JSON, for performance tests."
94
+ },
95
+ "gridAxes": {
96
+ "params": [
97
+ "axis",
98
+ "paramsJson"
99
+ ],
100
+ "returns": "string",
101
+ "description": "Lays out an axis from gridOpen or gridSync for the grid ({tableId, viewId?, config?, zone?, theme?, brand?}; config is the view config as the editor holds it, unsaved keys first; zone the page's time zone as [from ms, minutes east of UTC] changes, where dates are read): row heights as runs, columns, header and row head sizes, band sizes, skeleton colors, the overlay's colors, sizes and row head control icons, and the group headers' ids, as JSON."
102
+ },
103
+ "gridRecords": {
104
+ "params": [
105
+ "paramsJson"
106
+ ],
107
+ "returns": "string",
108
+ "description": "The records of some ids for the grid to edit ({tableId, ids, fields?}): [{id, row_key, values}] in the order asked, values only of the fields named when some are, ids that name no record left out."
109
+ },
110
+ "gridClear": {
111
+ "params": [
112
+ "paramsJson",
113
+ "ids"
114
+ ],
115
+ "returns": "string",
116
+ "description": "Clears many records for the grid ({tableId, values}, the records' ids as a Float64Array): values (field name to empty value) set on each record of the table in one transact of one cells.set, the row keys found by the engine; answers { result, change } as JSON, result.cleared the records written."
117
+ },
118
+ "gridRows": {
119
+ "params": [],
120
+ "returns": "Uint8Array",
121
+ "description": "What each linear row of the grid gridAxes laid out is (a record and its id, a group header, an add row), for the page's hit testing and selection."
122
+ },
123
+ "gridBands": {
124
+ "params": [
125
+ "epoch",
126
+ "keys",
127
+ "dpr",
128
+ "session",
129
+ "draft"
130
+ ],
131
+ "returns": "Uint8Array",
132
+ "description": "The grid's bands (layer, column band, row band triples, as a Uint32Array) of arrangement epoch at dpr as display lists (format v1), drafts when draft, with the resources (icon and emoji tiles, pictures) page session session does not hold yet, in one batch."
133
+ },
134
+ "gridRaster": {
135
+ "params": [
136
+ "epoch",
137
+ "layer",
138
+ "colBand",
139
+ "rowBand",
140
+ "dpr"
141
+ ],
142
+ "returns": "Uint8Array",
143
+ "description": "One band as the engine rasterizes it (width, height, RGBA8), for the parity test."
144
+ },
145
+ "gridPicture": {
146
+ "params": [
147
+ "bytes",
148
+ "maxSide"
149
+ ],
150
+ "returns": "Uint8Array",
151
+ "description": "A picture's bytes decoded as the headless picture decodes them (PNG, JPEG, WebP, GIF's first frame, SVG drawn by resvg, HEIC): width and height (u32 each), then straight RGBA8, at most maxSide on its longest side; no bytes for another format. For the pictures the page's browser does not decode."
152
+ },
153
+ "gridMeasure": {
154
+ "params": [
155
+ "asksJson"
156
+ ],
157
+ "returns": "string",
158
+ "description": "How the grid splits text into runs of one face and how wide each run is, as JSON, for the width test."
159
+ },
160
+ "gridSpecimen": {
161
+ "params": [
162
+ "asksJson",
163
+ "dpr"
164
+ ],
165
+ "returns": "Uint8Array",
166
+ "description": "Text of any size and weight ([{text, weight, size}]) set one line each by the grid's shaping and text ops, as one display list (format v1), and that list rasterized as gridRaster rasterizes a band (list length u32, the list padded to 4 bytes, width, height, RGBA8), for the parity test: the grid's own text is under Inter's optical size floor."
167
+ },
168
+ "gridOpticalSizing": {
169
+ "params": [
170
+ "sizing"
171
+ ],
172
+ "returns": "boolean",
173
+ "description": "The optical sizing the grid measures and draws Inter with, the one the page's Canvas uses: auto (the default; the optical size follows the font size) or fixed-default (Inter's default optical size at every size); its bands, drafts, gridMeasure and gridRaster use it. Answers whether it changed; an error for another name."
174
+ },
175
+ "gridSummary": {
176
+ "params": [
177
+ "paramsJson"
178
+ ],
179
+ "returns": "string",
180
+ "description": "The numbers of some fields over the editor's arrangement ({fields}): [{field, count, sum}] as JSON, for the footer's sums and averages."
181
+ }
182
+ },
183
+ "ui": {
184
+ "mode": "embedded",
185
+ "entry": "ui/index.html",
186
+ "menus": [
187
+ "Edit"
188
+ ],
189
+ "layout": "canvas",
190
+ "brand": {
191
+ "light": "#0c8375",
192
+ "dark": "#3fd1bf"
193
+ }
194
+ },
195
+ "agent": {
196
+ "prefix": "table",
197
+ "tools": "document",
198
+ "drafts": true,
199
+ "objectModel": true,
200
+ "layout": false,
201
+ "parts": [
202
+ "table",
203
+ "view"
204
+ ],
205
+ "render": "table.file.render",
206
+ "export": {
207
+ "command": "table.file.export",
208
+ "data": "data"
209
+ },
210
+ "describe": {
211
+ "noun": "table file",
212
+ "fileTypes": ".ktable",
213
+ "reports": "its tables with their fields (names, types, choices, link targets), views (filters, sorts, groups), record counts and first records (ids and values, by the ids the commands take; the rest a page at a time with `table.read`), and its dashboards",
214
+ "covers": "tables, fields, records, views, filters, sorting, grouping, links, dashboards, and more; `table.records.create` adds a record; a new file holds one starter table (table 1, `Table`: title, status, notes) that `table.tables.delete` removes",
215
+ "queries": "`records`, `fields`, or `views`",
216
+ "example": "table.records.create",
217
+ "use": "structured, spreadsheet-like results"
218
+ }
219
+ },
220
+ "headless": {
221
+ "executable": "kition-table",
222
+ "protocol": "kition-kit/1",
223
+ "features": [
224
+ "view.describe",
225
+ "document.check",
226
+ "document.identity",
227
+ "model.open",
228
+ "model.import",
229
+ "model.export",
230
+ "model.save",
231
+ "model.describe",
232
+ "model.batch"
233
+ ]
234
+ },
235
+ "model": {
236
+ "schema": "model/schema.json",
237
+ "schemaVersion": 1
238
+ },
239
+ "collaboration": {
240
+ "merge": [
241
+ "database",
242
+ "binary"
243
+ ],
244
+ "leases": [],
245
+ "serverValidation": false
246
+ },
247
+ "objectModel": {
248
+ "namespace": "Table"
249
+ }
250
+ }
package/kition-table ADDED
Binary file
package/package.json CHANGED
@@ -1,6 +1,53 @@
1
1
  {
2
2
  "name": "@kition/kit-table-linux-x64",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.1.1",
4
+ "description": "Kition Table: tables, views and dashboards in one file, for people and AI agents (linux-x64 executable)",
5
+ "keywords": [
6
+ "kition",
7
+ "kit",
8
+ "khp",
9
+ "table",
10
+ "headless",
11
+ "mcp",
12
+ "ai-agents"
13
+ ],
14
+ "homepage": "https://github.com/KitionAI/kition-table",
15
+ "bugs": {
16
+ "url": "https://github.com/KitionAI/kition-table/issues"
17
+ },
18
+ "license": "Apache-2.0",
19
+ "repository": {
20
+ "type": "git",
21
+ "url": "git+https://github.com/KitionAI/kition-table.git"
22
+ },
23
+ "os": [
24
+ "linux"
25
+ ],
26
+ "cpu": [
27
+ "x64"
28
+ ],
29
+ "libc": [
30
+ "glibc"
31
+ ],
32
+ "files": [
33
+ "README.md",
34
+ "kit.json",
35
+ "kition-table"
36
+ ],
37
+ "kition": {
38
+ "kit": "table",
39
+ "id": "kit.table",
40
+ "name": "Table",
41
+ "version": "0.1.1",
42
+ "role": "headless",
43
+ "platform": "linux-x64",
44
+ "protocol": "kition-kit/1",
45
+ "extensions": [
46
+ "ktable"
47
+ ],
48
+ "views": [],
49
+ "build": {
50
+ "commit": "bf70590fd186cfec16dd3bca7895f35d405d0798"
51
+ }
52
+ }
53
+ }