@camstack/addon-provider-unraid 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"
@@ -32205,12 +32235,24 @@ Object.freeze({
32205
32235
  addonId: null,
32206
32236
  access: "create"
32207
32237
  },
32238
+ "terminalSession.pullOutput": {
32239
+ capName: "terminal-session",
32240
+ capScope: "system",
32241
+ addonId: null,
32242
+ access: "create"
32243
+ },
32208
32244
  "terminalSession.resize": {
32209
32245
  capName: "terminal-session",
32210
32246
  capScope: "system",
32211
32247
  addonId: null,
32212
32248
  access: "create"
32213
32249
  },
32250
+ "terminalSession.writeInput": {
32251
+ capName: "terminal-session",
32252
+ capScope: "system",
32253
+ addonId: null,
32254
+ access: "create"
32255
+ },
32214
32256
  "toast.onToast": {
32215
32257
  capName: "toast",
32216
32258
  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"
@@ -32204,12 +32234,24 @@ Object.freeze({
32204
32234
  addonId: null,
32205
32235
  access: "create"
32206
32236
  },
32237
+ "terminalSession.pullOutput": {
32238
+ capName: "terminal-session",
32239
+ capScope: "system",
32240
+ addonId: null,
32241
+ access: "create"
32242
+ },
32207
32243
  "terminalSession.resize": {
32208
32244
  capName: "terminal-session",
32209
32245
  capScope: "system",
32210
32246
  addonId: null,
32211
32247
  access: "create"
32212
32248
  },
32249
+ "terminalSession.writeInput": {
32250
+ capName: "terminal-session",
32251
+ capScope: "system",
32252
+ addonId: null,
32253
+ access: "create"
32254
+ },
32213
32255
  "toast.onToast": {
32214
32256
  capName: "toast",
32215
32257
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-unraid",
3
- "version": "0.2.11",
3
+ "version": "0.2.12",
4
4
  "description": "Unraid device-provider addon for CamStack — one Container per Unraid instance fanning out array, disk, docker and notification entities",
5
5
  "keywords": [
6
6
  "camstack",