@camstack/addon-provider-ecowitt 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
@@ -18579,6 +18579,22 @@ var TerminalProfileInfoSchema = object({
18579
18579
  label: string(),
18580
18580
  description: string().optional()
18581
18581
  });
18582
+ var TerminalOutputEventSchema = discriminatedUnion("kind", [object({
18583
+ seq: number().int().positive(),
18584
+ kind: literal("data"),
18585
+ data: string()
18586
+ }), object({
18587
+ seq: number().int().positive(),
18588
+ kind: literal("exit"),
18589
+ exitCode: number().int(),
18590
+ signal: number().int().optional()
18591
+ })]);
18592
+ var TerminalOutputBatchSchema = object({
18593
+ cursor: number().int().nonnegative(),
18594
+ reset: boolean(),
18595
+ snapshot: string().optional(),
18596
+ events: array(TerminalOutputEventSchema).readonly()
18597
+ });
18582
18598
  method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }), method(_void(), array(TerminalSessionInfoSchema).readonly(), { auth: "admin" }), method(object({
18583
18599
  profileId: string(),
18584
18600
  cols: number().int().positive(),
@@ -18593,6 +18609,20 @@ method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }),
18593
18609
  }), _void(), {
18594
18610
  kind: "mutation",
18595
18611
  auth: "admin"
18612
+ }), method(object({
18613
+ sessionId: string(),
18614
+ afterSeq: number().int().nonnegative(),
18615
+ waitMs: number().int().min(0).max(2e3).default(0)
18616
+ }), TerminalOutputBatchSchema, {
18617
+ kind: "mutation",
18618
+ auth: "admin",
18619
+ timeoutMs: 15e3
18620
+ }), method(object({
18621
+ sessionId: string(),
18622
+ data: string().max(64 * 1024)
18623
+ }), _void(), {
18624
+ kind: "mutation",
18625
+ auth: "admin"
18596
18626
  }), method(object({ sessionId: string() }), _void(), {
18597
18627
  kind: "mutation",
18598
18628
  auth: "admin"
@@ -32191,12 +32221,24 @@ Object.freeze({
32191
32221
  addonId: null,
32192
32222
  access: "create"
32193
32223
  },
32224
+ "terminalSession.pullOutput": {
32225
+ capName: "terminal-session",
32226
+ capScope: "system",
32227
+ addonId: null,
32228
+ access: "create"
32229
+ },
32194
32230
  "terminalSession.resize": {
32195
32231
  capName: "terminal-session",
32196
32232
  capScope: "system",
32197
32233
  addonId: null,
32198
32234
  access: "create"
32199
32235
  },
32236
+ "terminalSession.writeInput": {
32237
+ capName: "terminal-session",
32238
+ capScope: "system",
32239
+ addonId: null,
32240
+ access: "create"
32241
+ },
32200
32242
  "toast.onToast": {
32201
32243
  capName: "toast",
32202
32244
  capScope: "system",
package/dist/addon.mjs CHANGED
@@ -18578,6 +18578,22 @@ var TerminalProfileInfoSchema = object({
18578
18578
  label: string(),
18579
18579
  description: string().optional()
18580
18580
  });
18581
+ var TerminalOutputEventSchema = discriminatedUnion("kind", [object({
18582
+ seq: number().int().positive(),
18583
+ kind: literal("data"),
18584
+ data: string()
18585
+ }), object({
18586
+ seq: number().int().positive(),
18587
+ kind: literal("exit"),
18588
+ exitCode: number().int(),
18589
+ signal: number().int().optional()
18590
+ })]);
18591
+ var TerminalOutputBatchSchema = object({
18592
+ cursor: number().int().nonnegative(),
18593
+ reset: boolean(),
18594
+ snapshot: string().optional(),
18595
+ events: array(TerminalOutputEventSchema).readonly()
18596
+ });
18581
18597
  method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }), method(_void(), array(TerminalSessionInfoSchema).readonly(), { auth: "admin" }), method(object({
18582
18598
  profileId: string(),
18583
18599
  cols: number().int().positive(),
@@ -18592,6 +18608,20 @@ method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }),
18592
18608
  }), _void(), {
18593
18609
  kind: "mutation",
18594
18610
  auth: "admin"
18611
+ }), method(object({
18612
+ sessionId: string(),
18613
+ afterSeq: number().int().nonnegative(),
18614
+ waitMs: number().int().min(0).max(2e3).default(0)
18615
+ }), TerminalOutputBatchSchema, {
18616
+ kind: "mutation",
18617
+ auth: "admin",
18618
+ timeoutMs: 15e3
18619
+ }), method(object({
18620
+ sessionId: string(),
18621
+ data: string().max(64 * 1024)
18622
+ }), _void(), {
18623
+ kind: "mutation",
18624
+ auth: "admin"
18595
18625
  }), method(object({ sessionId: string() }), _void(), {
18596
18626
  kind: "mutation",
18597
18627
  auth: "admin"
@@ -32190,12 +32220,24 @@ Object.freeze({
32190
32220
  addonId: null,
32191
32221
  access: "create"
32192
32222
  },
32223
+ "terminalSession.pullOutput": {
32224
+ capName: "terminal-session",
32225
+ capScope: "system",
32226
+ addonId: null,
32227
+ access: "create"
32228
+ },
32193
32229
  "terminalSession.resize": {
32194
32230
  capName: "terminal-session",
32195
32231
  capScope: "system",
32196
32232
  addonId: null,
32197
32233
  access: "create"
32198
32234
  },
32235
+ "terminalSession.writeInput": {
32236
+ capName: "terminal-session",
32237
+ capScope: "system",
32238
+ addonId: null,
32239
+ access: "create"
32240
+ },
32199
32241
  "toast.onToast": {
32200
32242
  capName: "toast",
32201
32243
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-ecowitt",
3
- "version": "0.2.10",
3
+ "version": "0.2.11",
4
4
  "description": "Ecowitt weather-station device-provider addon for CamStack — wraps the @apocaliss92/nodewitt local-poll / push client",
5
5
  "keywords": [
6
6
  "camstack",