@camstack/addon-provider-rademacher 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
@@ -19561,6 +19561,22 @@ var TerminalProfileInfoSchema = object({
19561
19561
  label: string(),
19562
19562
  description: string().optional()
19563
19563
  });
19564
+ var TerminalOutputEventSchema = discriminatedUnion("kind", [object({
19565
+ seq: number().int().positive(),
19566
+ kind: literal("data"),
19567
+ data: string()
19568
+ }), object({
19569
+ seq: number().int().positive(),
19570
+ kind: literal("exit"),
19571
+ exitCode: number().int(),
19572
+ signal: number().int().optional()
19573
+ })]);
19574
+ var TerminalOutputBatchSchema = object({
19575
+ cursor: number().int().nonnegative(),
19576
+ reset: boolean(),
19577
+ snapshot: string().optional(),
19578
+ events: array(TerminalOutputEventSchema).readonly()
19579
+ });
19564
19580
  method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }), method(_void(), array(TerminalSessionInfoSchema).readonly(), { auth: "admin" }), method(object({
19565
19581
  profileId: string(),
19566
19582
  cols: number().int().positive(),
@@ -19575,6 +19591,20 @@ method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }),
19575
19591
  }), _void(), {
19576
19592
  kind: "mutation",
19577
19593
  auth: "admin"
19594
+ }), method(object({
19595
+ sessionId: string(),
19596
+ afterSeq: number().int().nonnegative(),
19597
+ waitMs: number().int().min(0).max(2e3).default(0)
19598
+ }), TerminalOutputBatchSchema, {
19599
+ kind: "mutation",
19600
+ auth: "admin",
19601
+ timeoutMs: 15e3
19602
+ }), method(object({
19603
+ sessionId: string(),
19604
+ data: string().max(64 * 1024)
19605
+ }), _void(), {
19606
+ kind: "mutation",
19607
+ auth: "admin"
19578
19608
  }), method(object({ sessionId: string() }), _void(), {
19579
19609
  kind: "mutation",
19580
19610
  auth: "admin"
@@ -33173,12 +33203,24 @@ Object.freeze({
33173
33203
  addonId: null,
33174
33204
  access: "create"
33175
33205
  },
33206
+ "terminalSession.pullOutput": {
33207
+ capName: "terminal-session",
33208
+ capScope: "system",
33209
+ addonId: null,
33210
+ access: "create"
33211
+ },
33176
33212
  "terminalSession.resize": {
33177
33213
  capName: "terminal-session",
33178
33214
  capScope: "system",
33179
33215
  addonId: null,
33180
33216
  access: "create"
33181
33217
  },
33218
+ "terminalSession.writeInput": {
33219
+ capName: "terminal-session",
33220
+ capScope: "system",
33221
+ addonId: null,
33222
+ access: "create"
33223
+ },
33182
33224
  "toast.onToast": {
33183
33225
  capName: "toast",
33184
33226
  capScope: "system",
package/dist/addon.mjs CHANGED
@@ -19560,6 +19560,22 @@ var TerminalProfileInfoSchema = object({
19560
19560
  label: string(),
19561
19561
  description: string().optional()
19562
19562
  });
19563
+ var TerminalOutputEventSchema = discriminatedUnion("kind", [object({
19564
+ seq: number().int().positive(),
19565
+ kind: literal("data"),
19566
+ data: string()
19567
+ }), object({
19568
+ seq: number().int().positive(),
19569
+ kind: literal("exit"),
19570
+ exitCode: number().int(),
19571
+ signal: number().int().optional()
19572
+ })]);
19573
+ var TerminalOutputBatchSchema = object({
19574
+ cursor: number().int().nonnegative(),
19575
+ reset: boolean(),
19576
+ snapshot: string().optional(),
19577
+ events: array(TerminalOutputEventSchema).readonly()
19578
+ });
19563
19579
  method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }), method(_void(), array(TerminalSessionInfoSchema).readonly(), { auth: "admin" }), method(object({
19564
19580
  profileId: string(),
19565
19581
  cols: number().int().positive(),
@@ -19574,6 +19590,20 @@ method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }),
19574
19590
  }), _void(), {
19575
19591
  kind: "mutation",
19576
19592
  auth: "admin"
19593
+ }), method(object({
19594
+ sessionId: string(),
19595
+ afterSeq: number().int().nonnegative(),
19596
+ waitMs: number().int().min(0).max(2e3).default(0)
19597
+ }), TerminalOutputBatchSchema, {
19598
+ kind: "mutation",
19599
+ auth: "admin",
19600
+ timeoutMs: 15e3
19601
+ }), method(object({
19602
+ sessionId: string(),
19603
+ data: string().max(64 * 1024)
19604
+ }), _void(), {
19605
+ kind: "mutation",
19606
+ auth: "admin"
19577
19607
  }), method(object({ sessionId: string() }), _void(), {
19578
19608
  kind: "mutation",
19579
19609
  auth: "admin"
@@ -33172,12 +33202,24 @@ Object.freeze({
33172
33202
  addonId: null,
33173
33203
  access: "create"
33174
33204
  },
33205
+ "terminalSession.pullOutput": {
33206
+ capName: "terminal-session",
33207
+ capScope: "system",
33208
+ addonId: null,
33209
+ access: "create"
33210
+ },
33175
33211
  "terminalSession.resize": {
33176
33212
  capName: "terminal-session",
33177
33213
  capScope: "system",
33178
33214
  addonId: null,
33179
33215
  access: "create"
33180
33216
  },
33217
+ "terminalSession.writeInput": {
33218
+ capName: "terminal-session",
33219
+ capScope: "system",
33220
+ addonId: null,
33221
+ access: "create"
33222
+ },
33181
33223
  "toast.onToast": {
33182
33224
  capName: "toast",
33183
33225
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-rademacher",
3
- "version": "0.2.10",
3
+ "version": "0.2.11",
4
4
  "description": "Rademacher HomePilot device-provider addon for CamStack — wraps the @apocaliss92/noderademacher local-hub client (roller shutters over the cover cap)",
5
5
  "keywords": [
6
6
  "camstack",