@camstack/addon-provider-velux 0.2.11 → 0.2.12

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
@@ -18576,6 +18576,22 @@ var TerminalProfileInfoSchema = object({
18576
18576
  label: string(),
18577
18577
  description: string().optional()
18578
18578
  });
18579
+ var TerminalOutputEventSchema = discriminatedUnion("kind", [object({
18580
+ seq: number().int().positive(),
18581
+ kind: literal("data"),
18582
+ data: string()
18583
+ }), object({
18584
+ seq: number().int().positive(),
18585
+ kind: literal("exit"),
18586
+ exitCode: number().int(),
18587
+ signal: number().int().optional()
18588
+ })]);
18589
+ var TerminalOutputBatchSchema = object({
18590
+ cursor: number().int().nonnegative(),
18591
+ reset: boolean(),
18592
+ snapshot: string().optional(),
18593
+ events: array(TerminalOutputEventSchema).readonly()
18594
+ });
18579
18595
  method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }), method(_void(), array(TerminalSessionInfoSchema).readonly(), { auth: "admin" }), method(object({
18580
18596
  profileId: string(),
18581
18597
  cols: number().int().positive(),
@@ -18590,6 +18606,20 @@ method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }),
18590
18606
  }), _void(), {
18591
18607
  kind: "mutation",
18592
18608
  auth: "admin"
18609
+ }), method(object({
18610
+ sessionId: string(),
18611
+ afterSeq: number().int().nonnegative(),
18612
+ waitMs: number().int().min(0).max(2e3).default(0)
18613
+ }), TerminalOutputBatchSchema, {
18614
+ kind: "mutation",
18615
+ auth: "admin",
18616
+ timeoutMs: 15e3
18617
+ }), method(object({
18618
+ sessionId: string(),
18619
+ data: string().max(64 * 1024)
18620
+ }), _void(), {
18621
+ kind: "mutation",
18622
+ auth: "admin"
18593
18623
  }), method(object({ sessionId: string() }), _void(), {
18594
18624
  kind: "mutation",
18595
18625
  auth: "admin"
@@ -32188,12 +32218,24 @@ Object.freeze({
32188
32218
  addonId: null,
32189
32219
  access: "create"
32190
32220
  },
32221
+ "terminalSession.pullOutput": {
32222
+ capName: "terminal-session",
32223
+ capScope: "system",
32224
+ addonId: null,
32225
+ access: "create"
32226
+ },
32191
32227
  "terminalSession.resize": {
32192
32228
  capName: "terminal-session",
32193
32229
  capScope: "system",
32194
32230
  addonId: null,
32195
32231
  access: "create"
32196
32232
  },
32233
+ "terminalSession.writeInput": {
32234
+ capName: "terminal-session",
32235
+ capScope: "system",
32236
+ addonId: null,
32237
+ access: "create"
32238
+ },
32197
32239
  "toast.onToast": {
32198
32240
  capName: "toast",
32199
32241
  capScope: "system",
package/dist/addon.mjs CHANGED
@@ -18575,6 +18575,22 @@ var TerminalProfileInfoSchema = object({
18575
18575
  label: string(),
18576
18576
  description: string().optional()
18577
18577
  });
18578
+ var TerminalOutputEventSchema = discriminatedUnion("kind", [object({
18579
+ seq: number().int().positive(),
18580
+ kind: literal("data"),
18581
+ data: string()
18582
+ }), object({
18583
+ seq: number().int().positive(),
18584
+ kind: literal("exit"),
18585
+ exitCode: number().int(),
18586
+ signal: number().int().optional()
18587
+ })]);
18588
+ var TerminalOutputBatchSchema = object({
18589
+ cursor: number().int().nonnegative(),
18590
+ reset: boolean(),
18591
+ snapshot: string().optional(),
18592
+ events: array(TerminalOutputEventSchema).readonly()
18593
+ });
18578
18594
  method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }), method(_void(), array(TerminalSessionInfoSchema).readonly(), { auth: "admin" }), method(object({
18579
18595
  profileId: string(),
18580
18596
  cols: number().int().positive(),
@@ -18589,6 +18605,20 @@ method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }),
18589
18605
  }), _void(), {
18590
18606
  kind: "mutation",
18591
18607
  auth: "admin"
18608
+ }), method(object({
18609
+ sessionId: string(),
18610
+ afterSeq: number().int().nonnegative(),
18611
+ waitMs: number().int().min(0).max(2e3).default(0)
18612
+ }), TerminalOutputBatchSchema, {
18613
+ kind: "mutation",
18614
+ auth: "admin",
18615
+ timeoutMs: 15e3
18616
+ }), method(object({
18617
+ sessionId: string(),
18618
+ data: string().max(64 * 1024)
18619
+ }), _void(), {
18620
+ kind: "mutation",
18621
+ auth: "admin"
18592
18622
  }), method(object({ sessionId: string() }), _void(), {
18593
18623
  kind: "mutation",
18594
18624
  auth: "admin"
@@ -32187,12 +32217,24 @@ Object.freeze({
32187
32217
  addonId: null,
32188
32218
  access: "create"
32189
32219
  },
32220
+ "terminalSession.pullOutput": {
32221
+ capName: "terminal-session",
32222
+ capScope: "system",
32223
+ addonId: null,
32224
+ access: "create"
32225
+ },
32190
32226
  "terminalSession.resize": {
32191
32227
  capName: "terminal-session",
32192
32228
  capScope: "system",
32193
32229
  addonId: null,
32194
32230
  access: "create"
32195
32231
  },
32232
+ "terminalSession.writeInput": {
32233
+ capName: "terminal-session",
32234
+ capScope: "system",
32235
+ addonId: null,
32236
+ access: "create"
32237
+ },
32196
32238
  "toast.onToast": {
32197
32239
  capName: "toast",
32198
32240
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-velux",
3
- "version": "0.2.11",
3
+ "version": "0.2.12",
4
4
  "description": "Velux KLF-200 device-provider addon for CamStack — local-gateway window + shutter covers (positional, no tilt)",
5
5
  "keywords": [
6
6
  "camstack",