@camstack/addon-export-alexa 1.2.15 → 1.2.16

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.
@@ -18552,6 +18552,22 @@ var TerminalProfileInfoSchema = object({
18552
18552
  label: string(),
18553
18553
  description: string().optional()
18554
18554
  });
18555
+ var TerminalOutputEventSchema = discriminatedUnion("kind", [object({
18556
+ seq: number().int().positive(),
18557
+ kind: literal("data"),
18558
+ data: string()
18559
+ }), object({
18560
+ seq: number().int().positive(),
18561
+ kind: literal("exit"),
18562
+ exitCode: number().int(),
18563
+ signal: number().int().optional()
18564
+ })]);
18565
+ var TerminalOutputBatchSchema = object({
18566
+ cursor: number().int().nonnegative(),
18567
+ reset: boolean(),
18568
+ snapshot: string().optional(),
18569
+ events: array(TerminalOutputEventSchema).readonly()
18570
+ });
18555
18571
  method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }), method(_void(), array(TerminalSessionInfoSchema).readonly(), { auth: "admin" }), method(object({
18556
18572
  profileId: string(),
18557
18573
  cols: number().int().positive(),
@@ -18566,6 +18582,20 @@ method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }),
18566
18582
  }), _void(), {
18567
18583
  kind: "mutation",
18568
18584
  auth: "admin"
18585
+ }), method(object({
18586
+ sessionId: string(),
18587
+ afterSeq: number().int().nonnegative(),
18588
+ waitMs: number().int().min(0).max(2e3).default(0)
18589
+ }), TerminalOutputBatchSchema, {
18590
+ kind: "mutation",
18591
+ auth: "admin",
18592
+ timeoutMs: 15e3
18593
+ }), method(object({
18594
+ sessionId: string(),
18595
+ data: string().max(64 * 1024)
18596
+ }), _void(), {
18597
+ kind: "mutation",
18598
+ auth: "admin"
18569
18599
  }), method(object({ sessionId: string() }), _void(), {
18570
18600
  kind: "mutation",
18571
18601
  auth: "admin"
@@ -29447,12 +29477,24 @@ Object.freeze({
29447
29477
  addonId: null,
29448
29478
  access: "create"
29449
29479
  },
29480
+ "terminalSession.pullOutput": {
29481
+ capName: "terminal-session",
29482
+ capScope: "system",
29483
+ addonId: null,
29484
+ access: "create"
29485
+ },
29450
29486
  "terminalSession.resize": {
29451
29487
  capName: "terminal-session",
29452
29488
  capScope: "system",
29453
29489
  addonId: null,
29454
29490
  access: "create"
29455
29491
  },
29492
+ "terminalSession.writeInput": {
29493
+ capName: "terminal-session",
29494
+ capScope: "system",
29495
+ addonId: null,
29496
+ access: "create"
29497
+ },
29456
29498
  "toast.onToast": {
29457
29499
  capName: "toast",
29458
29500
  capScope: "system",
@@ -18525,6 +18525,22 @@ var TerminalProfileInfoSchema = object({
18525
18525
  label: string(),
18526
18526
  description: string().optional()
18527
18527
  });
18528
+ var TerminalOutputEventSchema = discriminatedUnion("kind", [object({
18529
+ seq: number().int().positive(),
18530
+ kind: literal("data"),
18531
+ data: string()
18532
+ }), object({
18533
+ seq: number().int().positive(),
18534
+ kind: literal("exit"),
18535
+ exitCode: number().int(),
18536
+ signal: number().int().optional()
18537
+ })]);
18538
+ var TerminalOutputBatchSchema = object({
18539
+ cursor: number().int().nonnegative(),
18540
+ reset: boolean(),
18541
+ snapshot: string().optional(),
18542
+ events: array(TerminalOutputEventSchema).readonly()
18543
+ });
18528
18544
  method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }), method(_void(), array(TerminalSessionInfoSchema).readonly(), { auth: "admin" }), method(object({
18529
18545
  profileId: string(),
18530
18546
  cols: number().int().positive(),
@@ -18539,6 +18555,20 @@ method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }),
18539
18555
  }), _void(), {
18540
18556
  kind: "mutation",
18541
18557
  auth: "admin"
18558
+ }), method(object({
18559
+ sessionId: string(),
18560
+ afterSeq: number().int().nonnegative(),
18561
+ waitMs: number().int().min(0).max(2e3).default(0)
18562
+ }), TerminalOutputBatchSchema, {
18563
+ kind: "mutation",
18564
+ auth: "admin",
18565
+ timeoutMs: 15e3
18566
+ }), method(object({
18567
+ sessionId: string(),
18568
+ data: string().max(64 * 1024)
18569
+ }), _void(), {
18570
+ kind: "mutation",
18571
+ auth: "admin"
18542
18572
  }), method(object({ sessionId: string() }), _void(), {
18543
18573
  kind: "mutation",
18544
18574
  auth: "admin"
@@ -29420,12 +29450,24 @@ Object.freeze({
29420
29450
  addonId: null,
29421
29451
  access: "create"
29422
29452
  },
29453
+ "terminalSession.pullOutput": {
29454
+ capName: "terminal-session",
29455
+ capScope: "system",
29456
+ addonId: null,
29457
+ access: "create"
29458
+ },
29423
29459
  "terminalSession.resize": {
29424
29460
  capName: "terminal-session",
29425
29461
  capScope: "system",
29426
29462
  addonId: null,
29427
29463
  access: "create"
29428
29464
  },
29465
+ "terminalSession.writeInput": {
29466
+ capName: "terminal-session",
29467
+ capScope: "system",
29468
+ addonId: null,
29469
+ access: "create"
29470
+ },
29429
29471
  "toast.onToast": {
29430
29472
  capName: "toast",
29431
29473
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-export-alexa",
3
- "version": "1.2.15",
3
+ "version": "1.2.16",
4
4
  "description": "Alexa Smart Home Skill export — hub-side OAuth provider + directive handler. The companion AWS Lambda forwards Alexa directives to this addon's /addon/export-alexa/directive endpoint.",
5
5
  "keywords": [
6
6
  "camstack",