@pioneercompany/app-sdk 0.1.3 → 0.3.0

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.
Files changed (41) hide show
  1. package/README.md +33 -11
  2. package/dist/client/index.d.ts +3 -14
  3. package/dist/client/index.d.ts.map +1 -1
  4. package/dist/client/index.js +6 -19
  5. package/dist/client/index.js.map +1 -1
  6. package/dist/client/theme.d.ts +59 -0
  7. package/dist/client/theme.d.ts.map +1 -0
  8. package/dist/client/theme.js +392 -0
  9. package/dist/client/theme.js.map +1 -0
  10. package/dist/server/index.d.ts +3 -0
  11. package/dist/server/index.d.ts.map +1 -1
  12. package/dist/server/index.js +4 -0
  13. package/dist/server/index.js.map +1 -1
  14. package/dist/server/render.d.ts +18 -0
  15. package/dist/server/render.d.ts.map +1 -0
  16. package/dist/server/render.js +83 -0
  17. package/dist/server/render.js.map +1 -0
  18. package/dist-cjs/client/index.d.ts +3 -14
  19. package/dist-cjs/client/index.d.ts.map +1 -1
  20. package/dist-cjs/client/index.js +9 -20
  21. package/dist-cjs/client/index.js.map +1 -1
  22. package/dist-cjs/client/theme.d.ts +59 -0
  23. package/dist-cjs/client/theme.d.ts.map +1 -0
  24. package/dist-cjs/client/theme.js +396 -0
  25. package/dist-cjs/client/theme.js.map +1 -0
  26. package/dist-cjs/server/index.d.ts +3 -0
  27. package/dist-cjs/server/index.d.ts.map +1 -1
  28. package/dist-cjs/server/index.js +4 -0
  29. package/dist-cjs/server/index.js.map +1 -1
  30. package/dist-cjs/server/render.d.ts +18 -0
  31. package/dist-cjs/server/render.d.ts.map +1 -0
  32. package/dist-cjs/server/render.js +86 -0
  33. package/dist-cjs/server/render.js.map +1 -0
  34. package/docs/contract.md +27 -19
  35. package/docs/theme.md +56 -0
  36. package/fixtures/protocol.json +603 -18
  37. package/package.json +1 -1
  38. package/src/client/index.ts +11 -31
  39. package/src/client/theme.ts +418 -0
  40. package/src/server/index.ts +6 -0
  41. package/src/server/render.ts +87 -0
@@ -3,39 +3,624 @@
3
3
  "bootstrap": {
4
4
  "execution_id": "execution_fixture_001",
5
5
  "ui_base_path": "/",
6
- "ui_proxy": { "credential": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" },
6
+ "ui_proxy": {
7
+ "credential": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
8
+ },
7
9
  "host_api": null
8
10
  },
9
11
  "user_id": "UserFixture0000000001",
10
12
  "create_request": {
11
- "jsonrpc": "2.0", "id": "request_fixture_00001", "method": "host.pty.create",
12
- "params": { "key": "fixture-shell", "dimensions": { "cols": 80, "rows": 24 } }
13
+ "jsonrpc": "2.0",
14
+ "id": "request_fixture_00001",
15
+ "method": "host.pty.create",
16
+ "params": {
17
+ "key": "fixture-shell",
18
+ "dimensions": {
19
+ "cols": 80,
20
+ "rows": 24
21
+ }
22
+ }
13
23
  },
14
24
  "theme": {
15
25
  "type": "pioneer.theme",
16
- "palette": {
17
- "appearance": "dark", "background": "#111111", "foreground": "#eeeeee",
18
- "muted": "#999999", "border": "#333333", "accent": "#4488ff", "accent-foreground": "#ffffff",
19
- "success": "#22aa66", "warning": "#dd8800", "danger": "#dd3344", "info": "#3399dd"
26
+ "theme": {
27
+ "mode": "dark",
28
+ "colors": {
29
+ "accent": "#888888ff",
30
+ "accent_foreground": "#888888ff",
31
+ "accordion": "#888888ff",
32
+ "background": "#111111ff",
33
+ "border": "#333333ff",
34
+ "button": "#888888ff",
35
+ "button_active": "#888888ff",
36
+ "button_foreground": "#888888ff",
37
+ "button_hover": "#888888ff",
38
+ "button_danger": "#888888ff",
39
+ "button_danger_active": "#888888ff",
40
+ "button_danger_foreground": "#888888ff",
41
+ "button_danger_hover": "#888888ff",
42
+ "button_info": "#888888ff",
43
+ "button_info_active": "#888888ff",
44
+ "button_info_foreground": "#888888ff",
45
+ "button_info_hover": "#888888ff",
46
+ "button_primary": "#888888ff",
47
+ "button_primary_active": "#888888ff",
48
+ "button_primary_foreground": "#888888ff",
49
+ "button_primary_hover": "#888888ff",
50
+ "button_secondary": "#888888ff",
51
+ "button_secondary_active": "#888888ff",
52
+ "button_secondary_foreground": "#888888ff",
53
+ "button_secondary_hover": "#888888ff",
54
+ "button_success": "#888888ff",
55
+ "button_success_active": "#888888ff",
56
+ "button_success_foreground": "#888888ff",
57
+ "button_success_hover": "#888888ff",
58
+ "button_warning": "#888888ff",
59
+ "button_warning_active": "#888888ff",
60
+ "button_warning_foreground": "#888888ff",
61
+ "button_warning_hover": "#888888ff",
62
+ "group_box": "#888888ff",
63
+ "group_box_foreground": "#888888ff",
64
+ "caret": "#eeeeeeff",
65
+ "chart_1": "#888888ff",
66
+ "chart_2": "#888888ff",
67
+ "chart_3": "#888888ff",
68
+ "chart_4": "#888888ff",
69
+ "chart_5": "#888888ff",
70
+ "chart_bullish": "#888888ff",
71
+ "chart_bearish": "#888888ff",
72
+ "chart_grid": "#665544ff",
73
+ "danger": "#dd3344ff",
74
+ "danger_active": "#888888ff",
75
+ "danger_foreground": "#888888ff",
76
+ "danger_hover": "#888888ff",
77
+ "description_list_label": "#888888ff",
78
+ "description_list_label_foreground": "#888888ff",
79
+ "drag_border": "#888888ff",
80
+ "drop_target": "#888888ff",
81
+ "foreground": "#eeeeeeff",
82
+ "info": "#3399ddff",
83
+ "info_active": "#888888ff",
84
+ "info_foreground": "#888888ff",
85
+ "info_hover": "#888888ff",
86
+ "input": "#888888ff",
87
+ "link": "#888888ff",
88
+ "link_active": "#888888ff",
89
+ "link_hover": "#888888ff",
90
+ "list": "#888888ff",
91
+ "list_active": "#888888ff",
92
+ "list_active_border": "#888888ff",
93
+ "list_even": "#888888ff",
94
+ "list_head": "#888888ff",
95
+ "list_hover": "#888888ff",
96
+ "muted": "#888888ff",
97
+ "muted_foreground": "#999999ff",
98
+ "popover": "#888888ff",
99
+ "popover_foreground": "#888888ff",
100
+ "primary": "#4488ffff",
101
+ "primary_active": "#888888ff",
102
+ "primary_foreground": "#ffffffff",
103
+ "primary_hover": "#888888ff",
104
+ "progress_bar": "#888888ff",
105
+ "ring": "#4488ffff",
106
+ "scrollbar": "#888888ff",
107
+ "scrollbar_thumb": "#888888ff",
108
+ "scrollbar_thumb_hover": "#888888ff",
109
+ "secondary": "#888888ff",
110
+ "secondary_active": "#888888ff",
111
+ "secondary_foreground": "#888888ff",
112
+ "secondary_hover": "#888888ff",
113
+ "selection": "#888888ff",
114
+ "sidebar": "#888888ff",
115
+ "sidebar_accent": "#888888ff",
116
+ "sidebar_accent_foreground": "#888888ff",
117
+ "sidebar_border": "#888888ff",
118
+ "sidebar_foreground": "#888888ff",
119
+ "sidebar_primary": "#888888ff",
120
+ "sidebar_primary_foreground": "#888888ff",
121
+ "skeleton": "#888888ff",
122
+ "slider_bar": "#888888ff",
123
+ "slider_thumb": "#888888ff",
124
+ "success": "#22aa66ff",
125
+ "success_foreground": "#888888ff",
126
+ "success_hover": "#888888ff",
127
+ "success_active": "#888888ff",
128
+ "switch": "#888888ff",
129
+ "switch_thumb": "#888888ff",
130
+ "tab": "#888888ff",
131
+ "tab_active": "#888888ff",
132
+ "tab_active_foreground": "#888888ff",
133
+ "tab_bar": "#888888ff",
134
+ "tab_bar_segmented": "#888888ff",
135
+ "tab_foreground": "#888888ff",
136
+ "table": "#888888ff",
137
+ "table_active": "#888888ff",
138
+ "table_active_border": "#888888ff",
139
+ "table_even": "#888888ff",
140
+ "table_head": "#888888ff",
141
+ "table_head_foreground": "#888888ff",
142
+ "table_foot": "#888888ff",
143
+ "table_foot_foreground": "#888888ff",
144
+ "table_hover": "#888888ff",
145
+ "table_row_border": "#888888ff",
146
+ "title_bar": "#888888ff",
147
+ "title_bar_border": "#888888ff",
148
+ "status_bar": "#888888ff",
149
+ "status_bar_border": "#888888ff",
150
+ "warning": "#dd8800ff",
151
+ "warning_active": "#888888ff",
152
+ "warning_hover": "#888888ff",
153
+ "warning_foreground": "#888888ff",
154
+ "overlay": "#888888ff",
155
+ "window_border": "#888888ff",
156
+ "red": "#888888ff",
157
+ "red_light": "#888888ff",
158
+ "green": "#888888ff",
159
+ "green_light": "#888888ff",
160
+ "blue": "#888888ff",
161
+ "blue_light": "#99bbffff",
162
+ "yellow": "#888888ff",
163
+ "yellow_light": "#888888ff",
164
+ "magenta": "#888888ff",
165
+ "magenta_light": "#888888ff",
166
+ "cyan": "#888888ff",
167
+ "cyan_light": "#888888ff"
168
+ },
169
+ "light_theme": {
170
+ "is_default": true,
171
+ "name": "Fixture Light",
172
+ "mode": "light",
173
+ "font.size": 16,
174
+ "font.family": "Inter",
175
+ "mono_font.family": "Menlo",
176
+ "mono_font.size": 13,
177
+ "radius": 6,
178
+ "radius.lg": 8,
179
+ "window.radius": 0,
180
+ "shadow": true,
181
+ "colors": {
182
+ "accent.background": null,
183
+ "accent.foreground": null,
184
+ "accordion.background": null,
185
+ "background": "#ffffff",
186
+ "border": null,
187
+ "button.background": null,
188
+ "button.active.background": null,
189
+ "button.foreground": null,
190
+ "button.hover.background": null,
191
+ "button.danger.background": null,
192
+ "button.danger.active.background": null,
193
+ "button.danger.foreground": null,
194
+ "button.danger.hover.background": null,
195
+ "button.info.background": null,
196
+ "button.info.active.background": null,
197
+ "button.info.foreground": null,
198
+ "button.info.hover.background": null,
199
+ "button.primary.background": null,
200
+ "button.primary.active.background": null,
201
+ "button.primary.foreground": null,
202
+ "button.primary.hover.background": null,
203
+ "button.secondary.background": null,
204
+ "button.secondary.active.background": null,
205
+ "button.secondary.foreground": null,
206
+ "button.secondary.hover.background": null,
207
+ "button.success.background": null,
208
+ "button.success.active.background": null,
209
+ "button.success.foreground": null,
210
+ "button.success.hover.background": null,
211
+ "button.warning.background": null,
212
+ "button.warning.active.background": null,
213
+ "button.warning.foreground": null,
214
+ "button.warning.hover.background": null,
215
+ "group_box.background": null,
216
+ "group_box.foreground": null,
217
+ "group_box.title.foreground": null,
218
+ "caret": null,
219
+ "chart.1": null,
220
+ "chart.2": null,
221
+ "chart.3": null,
222
+ "chart.4": null,
223
+ "chart.5": null,
224
+ "chart.bullish": null,
225
+ "chart.bearish": null,
226
+ "chart.grid": null,
227
+ "danger.background": null,
228
+ "danger.active.background": null,
229
+ "danger.foreground": null,
230
+ "danger.hover.background": null,
231
+ "description_list.label.background": null,
232
+ "description_list.label.foreground": null,
233
+ "drag.border": null,
234
+ "drop_target.background": null,
235
+ "foreground": "#111111",
236
+ "info.background": null,
237
+ "info.active.background": null,
238
+ "info.foreground": null,
239
+ "info.hover.background": null,
240
+ "input.border": null,
241
+ "link": null,
242
+ "link.active": null,
243
+ "link.hover": null,
244
+ "list.background": null,
245
+ "list.active.background": null,
246
+ "list.active.border": null,
247
+ "list.even.background": null,
248
+ "list.head.background": null,
249
+ "list.hover.background": null,
250
+ "muted.background": null,
251
+ "muted.foreground": null,
252
+ "popover.background": null,
253
+ "popover.foreground": null,
254
+ "primary.background": null,
255
+ "primary.active.background": null,
256
+ "primary.foreground": null,
257
+ "primary.hover.background": null,
258
+ "progress.bar.background": null,
259
+ "ring": null,
260
+ "scrollbar.background": null,
261
+ "scrollbar.thumb.background": null,
262
+ "scrollbar.thumb.hover.background": null,
263
+ "secondary.background": null,
264
+ "secondary.active.background": null,
265
+ "secondary.foreground": null,
266
+ "secondary.hover.background": null,
267
+ "selection.background": null,
268
+ "sidebar.background": null,
269
+ "sidebar.accent.background": null,
270
+ "sidebar.accent.foreground": null,
271
+ "sidebar.border": null,
272
+ "sidebar.foreground": null,
273
+ "sidebar.primary.background": null,
274
+ "sidebar.primary.foreground": null,
275
+ "skeleton.background": null,
276
+ "slider.background": null,
277
+ "slider.thumb.background": null,
278
+ "success.background": null,
279
+ "success.foreground": null,
280
+ "success.hover.background": null,
281
+ "success.active.background": null,
282
+ "switch.background": null,
283
+ "switch.thumb.background": null,
284
+ "tab.background": null,
285
+ "tab.active.background": null,
286
+ "tab.active.foreground": null,
287
+ "tab_bar.background": null,
288
+ "tab_bar.segmented.background": null,
289
+ "tab.foreground": null,
290
+ "table.background": null,
291
+ "table.active.background": null,
292
+ "table.active.border": null,
293
+ "table.even.background": null,
294
+ "table.head.background": null,
295
+ "table.head.foreground": null,
296
+ "table.foot.background": null,
297
+ "table.foot.foreground": null,
298
+ "table.hover.background": null,
299
+ "table.row.border": null,
300
+ "title_bar.background": null,
301
+ "title_bar.border": null,
302
+ "status_bar.background": null,
303
+ "status_bar.border": null,
304
+ "warning.background": null,
305
+ "warning.active.background": null,
306
+ "warning.hover.background": null,
307
+ "warning.foreground": null,
308
+ "overlay": null,
309
+ "window.border": null,
310
+ "base.blue": null,
311
+ "base.blue.light": "#99bbff",
312
+ "base.cyan": null,
313
+ "base.cyan.light": null,
314
+ "base.green": null,
315
+ "base.green.light": null,
316
+ "base.magenta": null,
317
+ "base.magenta.light": null,
318
+ "base.red": null,
319
+ "base.red.light": null,
320
+ "base.yellow": null,
321
+ "base.yellow.light": null
322
+ },
323
+ "highlight": {
324
+ "editor.background": "#ffffff",
325
+ "syntax": {
326
+ "function": {
327
+ "color": "#4488ff",
328
+ "font_weight": 500
329
+ }
330
+ }
331
+ }
332
+ },
333
+ "dark_theme": {
334
+ "is_default": true,
335
+ "name": "Fixture Dark",
336
+ "mode": "dark",
337
+ "font.size": 16,
338
+ "font.family": "Inter",
339
+ "mono_font.family": "Menlo",
340
+ "mono_font.size": 13,
341
+ "radius": 6,
342
+ "radius.lg": 8,
343
+ "window.radius": 0,
344
+ "shadow": true,
345
+ "colors": {
346
+ "accent.background": null,
347
+ "accent.foreground": null,
348
+ "accordion.background": null,
349
+ "background": "#111111",
350
+ "border": null,
351
+ "button.background": null,
352
+ "button.active.background": null,
353
+ "button.foreground": null,
354
+ "button.hover.background": null,
355
+ "button.danger.background": null,
356
+ "button.danger.active.background": null,
357
+ "button.danger.foreground": null,
358
+ "button.danger.hover.background": null,
359
+ "button.info.background": null,
360
+ "button.info.active.background": null,
361
+ "button.info.foreground": null,
362
+ "button.info.hover.background": null,
363
+ "button.primary.background": null,
364
+ "button.primary.active.background": null,
365
+ "button.primary.foreground": null,
366
+ "button.primary.hover.background": null,
367
+ "button.secondary.background": null,
368
+ "button.secondary.active.background": null,
369
+ "button.secondary.foreground": null,
370
+ "button.secondary.hover.background": null,
371
+ "button.success.background": null,
372
+ "button.success.active.background": null,
373
+ "button.success.foreground": null,
374
+ "button.success.hover.background": null,
375
+ "button.warning.background": null,
376
+ "button.warning.active.background": null,
377
+ "button.warning.foreground": null,
378
+ "button.warning.hover.background": null,
379
+ "group_box.background": null,
380
+ "group_box.foreground": null,
381
+ "group_box.title.foreground": null,
382
+ "caret": null,
383
+ "chart.1": null,
384
+ "chart.2": null,
385
+ "chart.3": null,
386
+ "chart.4": null,
387
+ "chart.5": null,
388
+ "chart.bullish": null,
389
+ "chart.bearish": null,
390
+ "chart.grid": null,
391
+ "danger.background": null,
392
+ "danger.active.background": null,
393
+ "danger.foreground": null,
394
+ "danger.hover.background": null,
395
+ "description_list.label.background": null,
396
+ "description_list.label.foreground": null,
397
+ "drag.border": null,
398
+ "drop_target.background": null,
399
+ "foreground": "#eeeeee",
400
+ "info.background": null,
401
+ "info.active.background": null,
402
+ "info.foreground": null,
403
+ "info.hover.background": null,
404
+ "input.border": null,
405
+ "link": null,
406
+ "link.active": null,
407
+ "link.hover": null,
408
+ "list.background": null,
409
+ "list.active.background": null,
410
+ "list.active.border": null,
411
+ "list.even.background": null,
412
+ "list.head.background": null,
413
+ "list.hover.background": null,
414
+ "muted.background": null,
415
+ "muted.foreground": null,
416
+ "popover.background": null,
417
+ "popover.foreground": null,
418
+ "primary.background": null,
419
+ "primary.active.background": null,
420
+ "primary.foreground": null,
421
+ "primary.hover.background": null,
422
+ "progress.bar.background": null,
423
+ "ring": null,
424
+ "scrollbar.background": null,
425
+ "scrollbar.thumb.background": null,
426
+ "scrollbar.thumb.hover.background": null,
427
+ "secondary.background": null,
428
+ "secondary.active.background": null,
429
+ "secondary.foreground": null,
430
+ "secondary.hover.background": null,
431
+ "selection.background": null,
432
+ "sidebar.background": null,
433
+ "sidebar.accent.background": null,
434
+ "sidebar.accent.foreground": null,
435
+ "sidebar.border": null,
436
+ "sidebar.foreground": null,
437
+ "sidebar.primary.background": null,
438
+ "sidebar.primary.foreground": null,
439
+ "skeleton.background": null,
440
+ "slider.background": null,
441
+ "slider.thumb.background": null,
442
+ "success.background": null,
443
+ "success.foreground": null,
444
+ "success.hover.background": null,
445
+ "success.active.background": null,
446
+ "switch.background": null,
447
+ "switch.thumb.background": null,
448
+ "tab.background": null,
449
+ "tab.active.background": null,
450
+ "tab.active.foreground": null,
451
+ "tab_bar.background": null,
452
+ "tab_bar.segmented.background": null,
453
+ "tab.foreground": null,
454
+ "table.background": null,
455
+ "table.active.background": null,
456
+ "table.active.border": null,
457
+ "table.even.background": null,
458
+ "table.head.background": null,
459
+ "table.head.foreground": null,
460
+ "table.foot.background": null,
461
+ "table.foot.foreground": null,
462
+ "table.hover.background": null,
463
+ "table.row.border": null,
464
+ "title_bar.background": null,
465
+ "title_bar.border": null,
466
+ "status_bar.background": null,
467
+ "status_bar.border": null,
468
+ "warning.background": null,
469
+ "warning.active.background": null,
470
+ "warning.hover.background": null,
471
+ "warning.foreground": null,
472
+ "overlay": null,
473
+ "window.border": null,
474
+ "base.blue": null,
475
+ "base.blue.light": "#99bbff",
476
+ "base.cyan": null,
477
+ "base.cyan.light": null,
478
+ "base.green": null,
479
+ "base.green.light": null,
480
+ "base.magenta": null,
481
+ "base.magenta.light": null,
482
+ "base.red": null,
483
+ "base.red.light": null,
484
+ "base.yellow": null,
485
+ "base.yellow.light": null
486
+ },
487
+ "highlight": {
488
+ "editor.background": "#111111",
489
+ "syntax": {
490
+ "function": {
491
+ "color": "#4488ff",
492
+ "font_weight": 500
493
+ }
494
+ }
495
+ }
496
+ },
497
+ "tokens": {
498
+ "background": {
499
+ "color": "#111111ff",
500
+ "background": {
501
+ "tag": "Solid",
502
+ "color_space": "Srgb",
503
+ "solid": "#111111ff",
504
+ "gradient_angle_or_pattern_height": 0,
505
+ "colors": [
506
+ {
507
+ "color": "#00000000",
508
+ "percentage": 0
509
+ },
510
+ {
511
+ "color": "#00000000",
512
+ "percentage": 0
513
+ }
514
+ ],
515
+ "pad": 0
516
+ }
517
+ }
518
+ },
519
+ "semantic_tokens": {
520
+ "colors": {
521
+ "background": "#111111ff",
522
+ "surface": "#222222ff"
523
+ },
524
+ "radius": {
525
+ "md": 6
526
+ },
527
+ "spacing": {
528
+ "md": 12
529
+ },
530
+ "typography": {
531
+ "sans": "Inter",
532
+ "mono": "Menlo"
533
+ },
534
+ "shadow": {
535
+ "sm": []
536
+ }
537
+ },
538
+ "highlight_theme": {
539
+ "name": "Fixture Dark",
540
+ "appearance": "dark",
541
+ "style": {
542
+ "editor.background": "#111111",
543
+ "syntax": {
544
+ "function": {
545
+ "color": "#4488ff",
546
+ "font_weight": 500
547
+ }
548
+ }
549
+ }
550
+ },
551
+ "font_family": "Inter",
552
+ "font_size": 16,
553
+ "mono_font_family": "Menlo",
554
+ "mono_font_size": 13,
555
+ "radius": 6,
556
+ "radius_lg": 8,
557
+ "window_radius": 0,
558
+ "shadow": true,
559
+ "focus_ring": true,
560
+ "transparent": "#00000000",
561
+ "scrollbar_mode": "Scrolling",
562
+ "list": {
563
+ "active_highlight": true
564
+ },
565
+ "sheet": {
566
+ "margin_top": 34
567
+ }
20
568
  }
21
569
  },
22
570
  "output": {
23
- "jsonrpc": "2.0", "method": "host.pty.output",
24
- "params": { "session_id": "session-1", "stream_id": "stream-1", "after": 0,
25
- "bytes": [104, 105], "next": 2, "end": 2, "exit_status": null, "failed": false, "input_sequence": 0 }
571
+ "jsonrpc": "2.0",
572
+ "method": "host.pty.output",
573
+ "params": {
574
+ "session_id": "session-1",
575
+ "stream_id": "stream-1",
576
+ "after": 0,
577
+ "bytes": [
578
+ 104,
579
+ 105
580
+ ],
581
+ "next": 2,
582
+ "end": 2,
583
+ "exit_status": null,
584
+ "failed": false,
585
+ "input_sequence": 0
586
+ }
26
587
  },
27
588
  "cursor_expired": {
28
- "jsonrpc": "2.0", "id": "request_fixture_00001",
29
- "error": { "code": -32001, "message": "host.output_cursor_expired" }
589
+ "jsonrpc": "2.0",
590
+ "id": "request_fixture_00001",
591
+ "error": {
592
+ "code": -32001,
593
+ "message": "host.output_cursor_expired"
594
+ }
30
595
  },
31
596
  "read_response": {
32
- "jsonrpc": "2.0", "id": "request_fixture_00002",
33
- "result": { "bytes": [65, 66], "next": 9, "end": 12,
34
- "exit_status": null, "failed": false, "input_sequence": 0 }
597
+ "jsonrpc": "2.0",
598
+ "id": "request_fixture_00002",
599
+ "result": {
600
+ "bytes": [
601
+ 65,
602
+ 66
603
+ ],
604
+ "next": 9,
605
+ "end": 12,
606
+ "exit_status": null,
607
+ "failed": false,
608
+ "input_sequence": 0
609
+ }
35
610
  },
36
611
  "changed": {
37
- "jsonrpc": "2.0", "method": "host.pty.changed",
38
- "params": { "sessions": [{ "session_id": "session-1", "start": 7,
39
- "end": 12, "exit_status": null, "failed": false }] }
612
+ "jsonrpc": "2.0",
613
+ "method": "host.pty.changed",
614
+ "params": {
615
+ "sessions": [
616
+ {
617
+ "session_id": "session-1",
618
+ "start": 7,
619
+ "end": 12,
620
+ "exit_status": null,
621
+ "failed": false
622
+ }
623
+ ]
624
+ }
40
625
  }
41
626
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pioneercompany/app-sdk",
3
- "version": "0.1.3",
3
+ "version": "0.3.0",
4
4
  "description": "Pioneer application client and Node.js backend SDK",
5
5
  "repository": { "type": "git", "url": "git+https://github.com/pioneerdotai/pioneer-app-sdk-ts.git" },
6
6
  "homepage": "https://github.com/pioneerdotai/pioneer-app-sdk-ts#readme",