@camstack/addon-provider-dreame 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
@@ -69098,6 +69098,22 @@ var TerminalProfileInfoSchema = object({
69098
69098
  label: string(),
69099
69099
  description: string().optional()
69100
69100
  });
69101
+ var TerminalOutputEventSchema = discriminatedUnion("kind", [object({
69102
+ seq: number().int().positive(),
69103
+ kind: literal("data"),
69104
+ data: string()
69105
+ }), object({
69106
+ seq: number().int().positive(),
69107
+ kind: literal("exit"),
69108
+ exitCode: number().int(),
69109
+ signal: number().int().optional()
69110
+ })]);
69111
+ var TerminalOutputBatchSchema = object({
69112
+ cursor: number().int().nonnegative(),
69113
+ reset: boolean(),
69114
+ snapshot: string().optional(),
69115
+ events: array(TerminalOutputEventSchema).readonly()
69116
+ });
69101
69117
  method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }), method(_void(), array(TerminalSessionInfoSchema).readonly(), { auth: "admin" }), method(object({
69102
69118
  profileId: string(),
69103
69119
  cols: number().int().positive(),
@@ -69112,6 +69128,20 @@ method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }),
69112
69128
  }), _void(), {
69113
69129
  kind: "mutation",
69114
69130
  auth: "admin"
69131
+ }), method(object({
69132
+ sessionId: string(),
69133
+ afterSeq: number().int().nonnegative(),
69134
+ waitMs: number().int().min(0).max(2e3).default(0)
69135
+ }), TerminalOutputBatchSchema, {
69136
+ kind: "mutation",
69137
+ auth: "admin",
69138
+ timeoutMs: 15e3
69139
+ }), method(object({
69140
+ sessionId: string(),
69141
+ data: string().max(64 * 1024)
69142
+ }), _void(), {
69143
+ kind: "mutation",
69144
+ auth: "admin"
69115
69145
  }), method(object({ sessionId: string() }), _void(), {
69116
69146
  kind: "mutation",
69117
69147
  auth: "admin"
@@ -82735,12 +82765,24 @@ Object.freeze({
82735
82765
  addonId: null,
82736
82766
  access: "create"
82737
82767
  },
82768
+ "terminalSession.pullOutput": {
82769
+ capName: "terminal-session",
82770
+ capScope: "system",
82771
+ addonId: null,
82772
+ access: "create"
82773
+ },
82738
82774
  "terminalSession.resize": {
82739
82775
  capName: "terminal-session",
82740
82776
  capScope: "system",
82741
82777
  addonId: null,
82742
82778
  access: "create"
82743
82779
  },
82780
+ "terminalSession.writeInput": {
82781
+ capName: "terminal-session",
82782
+ capScope: "system",
82783
+ addonId: null,
82784
+ access: "create"
82785
+ },
82744
82786
  "toast.onToast": {
82745
82787
  capName: "toast",
82746
82788
  capScope: "system",
package/dist/addon.mjs CHANGED
@@ -69098,6 +69098,22 @@ var TerminalProfileInfoSchema = object({
69098
69098
  label: string(),
69099
69099
  description: string().optional()
69100
69100
  });
69101
+ var TerminalOutputEventSchema = discriminatedUnion("kind", [object({
69102
+ seq: number().int().positive(),
69103
+ kind: literal("data"),
69104
+ data: string()
69105
+ }), object({
69106
+ seq: number().int().positive(),
69107
+ kind: literal("exit"),
69108
+ exitCode: number().int(),
69109
+ signal: number().int().optional()
69110
+ })]);
69111
+ var TerminalOutputBatchSchema = object({
69112
+ cursor: number().int().nonnegative(),
69113
+ reset: boolean(),
69114
+ snapshot: string().optional(),
69115
+ events: array(TerminalOutputEventSchema).readonly()
69116
+ });
69101
69117
  method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }), method(_void(), array(TerminalSessionInfoSchema).readonly(), { auth: "admin" }), method(object({
69102
69118
  profileId: string(),
69103
69119
  cols: number().int().positive(),
@@ -69112,6 +69128,20 @@ method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }),
69112
69128
  }), _void(), {
69113
69129
  kind: "mutation",
69114
69130
  auth: "admin"
69131
+ }), method(object({
69132
+ sessionId: string(),
69133
+ afterSeq: number().int().nonnegative(),
69134
+ waitMs: number().int().min(0).max(2e3).default(0)
69135
+ }), TerminalOutputBatchSchema, {
69136
+ kind: "mutation",
69137
+ auth: "admin",
69138
+ timeoutMs: 15e3
69139
+ }), method(object({
69140
+ sessionId: string(),
69141
+ data: string().max(64 * 1024)
69142
+ }), _void(), {
69143
+ kind: "mutation",
69144
+ auth: "admin"
69115
69145
  }), method(object({ sessionId: string() }), _void(), {
69116
69146
  kind: "mutation",
69117
69147
  auth: "admin"
@@ -82735,12 +82765,24 @@ Object.freeze({
82735
82765
  addonId: null,
82736
82766
  access: "create"
82737
82767
  },
82768
+ "terminalSession.pullOutput": {
82769
+ capName: "terminal-session",
82770
+ capScope: "system",
82771
+ addonId: null,
82772
+ access: "create"
82773
+ },
82738
82774
  "terminalSession.resize": {
82739
82775
  capName: "terminal-session",
82740
82776
  capScope: "system",
82741
82777
  addonId: null,
82742
82778
  access: "create"
82743
82779
  },
82780
+ "terminalSession.writeInput": {
82781
+ capName: "terminal-session",
82782
+ capScope: "system",
82783
+ addonId: null,
82784
+ access: "create"
82785
+ },
82744
82786
  "toast.onToast": {
82745
82787
  capName: "toast",
82746
82788
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-dreame",
3
- "version": "0.2.11",
3
+ "version": "0.2.12",
4
4
  "description": "Dreame robot-vacuum / lawn-mower device-provider addon for CamStack — wraps the @apocaliss92/nodedreame Dreamehome cloud client",
5
5
  "keywords": [
6
6
  "camstack",