@camstack/addon-matter-broker 0.2.10 → 0.2.11

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/dist/addon.js CHANGED
@@ -18656,6 +18656,22 @@ var TerminalProfileInfoSchema = object({
18656
18656
  label: string$2(),
18657
18657
  description: string$2().optional()
18658
18658
  });
18659
+ var TerminalOutputEventSchema = discriminatedUnion("kind", [object({
18660
+ seq: number().int().positive(),
18661
+ kind: literal("data"),
18662
+ data: string$2()
18663
+ }), object({
18664
+ seq: number().int().positive(),
18665
+ kind: literal("exit"),
18666
+ exitCode: number().int(),
18667
+ signal: number().int().optional()
18668
+ })]);
18669
+ var TerminalOutputBatchSchema = object({
18670
+ cursor: number().int().nonnegative(),
18671
+ reset: boolean(),
18672
+ snapshot: string$2().optional(),
18673
+ events: array(TerminalOutputEventSchema).readonly()
18674
+ });
18659
18675
  method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }), method(_void(), array(TerminalSessionInfoSchema).readonly(), { auth: "admin" }), method(object({
18660
18676
  profileId: string$2(),
18661
18677
  cols: number().int().positive(),
@@ -18670,6 +18686,20 @@ method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }),
18670
18686
  }), _void(), {
18671
18687
  kind: "mutation",
18672
18688
  auth: "admin"
18689
+ }), method(object({
18690
+ sessionId: string$2(),
18691
+ afterSeq: number().int().nonnegative(),
18692
+ waitMs: number().int().min(0).max(2e3).default(0)
18693
+ }), TerminalOutputBatchSchema, {
18694
+ kind: "mutation",
18695
+ auth: "admin",
18696
+ timeoutMs: 15e3
18697
+ }), method(object({
18698
+ sessionId: string$2(),
18699
+ data: string$2().max(64 * 1024)
18700
+ }), _void(), {
18701
+ kind: "mutation",
18702
+ auth: "admin"
18673
18703
  }), method(object({ sessionId: string$2() }), _void(), {
18674
18704
  kind: "mutation",
18675
18705
  auth: "admin"
@@ -32285,12 +32315,24 @@ Object.freeze({
32285
32315
  addonId: null,
32286
32316
  access: "create"
32287
32317
  },
32318
+ "terminalSession.pullOutput": {
32319
+ capName: "terminal-session",
32320
+ capScope: "system",
32321
+ addonId: null,
32322
+ access: "create"
32323
+ },
32288
32324
  "terminalSession.resize": {
32289
32325
  capName: "terminal-session",
32290
32326
  capScope: "system",
32291
32327
  addonId: null,
32292
32328
  access: "create"
32293
32329
  },
32330
+ "terminalSession.writeInput": {
32331
+ capName: "terminal-session",
32332
+ capScope: "system",
32333
+ addonId: null,
32334
+ access: "create"
32335
+ },
32294
32336
  "toast.onToast": {
32295
32337
  capName: "toast",
32296
32338
  capScope: "system",
package/dist/addon.mjs CHANGED
@@ -18654,6 +18654,22 @@ var TerminalProfileInfoSchema = object({
18654
18654
  label: string$2(),
18655
18655
  description: string$2().optional()
18656
18656
  });
18657
+ var TerminalOutputEventSchema = discriminatedUnion("kind", [object({
18658
+ seq: number().int().positive(),
18659
+ kind: literal("data"),
18660
+ data: string$2()
18661
+ }), object({
18662
+ seq: number().int().positive(),
18663
+ kind: literal("exit"),
18664
+ exitCode: number().int(),
18665
+ signal: number().int().optional()
18666
+ })]);
18667
+ var TerminalOutputBatchSchema = object({
18668
+ cursor: number().int().nonnegative(),
18669
+ reset: boolean(),
18670
+ snapshot: string$2().optional(),
18671
+ events: array(TerminalOutputEventSchema).readonly()
18672
+ });
18657
18673
  method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }), method(_void(), array(TerminalSessionInfoSchema).readonly(), { auth: "admin" }), method(object({
18658
18674
  profileId: string$2(),
18659
18675
  cols: number().int().positive(),
@@ -18668,6 +18684,20 @@ method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }),
18668
18684
  }), _void(), {
18669
18685
  kind: "mutation",
18670
18686
  auth: "admin"
18687
+ }), method(object({
18688
+ sessionId: string$2(),
18689
+ afterSeq: number().int().nonnegative(),
18690
+ waitMs: number().int().min(0).max(2e3).default(0)
18691
+ }), TerminalOutputBatchSchema, {
18692
+ kind: "mutation",
18693
+ auth: "admin",
18694
+ timeoutMs: 15e3
18695
+ }), method(object({
18696
+ sessionId: string$2(),
18697
+ data: string$2().max(64 * 1024)
18698
+ }), _void(), {
18699
+ kind: "mutation",
18700
+ auth: "admin"
18671
18701
  }), method(object({ sessionId: string$2() }), _void(), {
18672
18702
  kind: "mutation",
18673
18703
  auth: "admin"
@@ -32283,12 +32313,24 @@ Object.freeze({
32283
32313
  addonId: null,
32284
32314
  access: "create"
32285
32315
  },
32316
+ "terminalSession.pullOutput": {
32317
+ capName: "terminal-session",
32318
+ capScope: "system",
32319
+ addonId: null,
32320
+ access: "create"
32321
+ },
32286
32322
  "terminalSession.resize": {
32287
32323
  capName: "terminal-session",
32288
32324
  capScope: "system",
32289
32325
  addonId: null,
32290
32326
  access: "create"
32291
32327
  },
32328
+ "terminalSession.writeInput": {
32329
+ capName: "terminal-session",
32330
+ capScope: "system",
32331
+ addonId: null,
32332
+ access: "create"
32333
+ },
32292
32334
  "toast.onToast": {
32293
32335
  capName: "toast",
32294
32336
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-matter-broker",
3
- "version": "0.2.10",
3
+ "version": "0.2.11",
4
4
  "description": "Matter broker addon for CamStack — owns a Matter fabric (commissioning + the long-lived controller) via the matter.js controller and brokers commissioned Matter nodes into CamStack",
5
5
  "keywords": [
6
6
  "camstack",