@camstack/addon-provider-rtsp 1.2.11 → 1.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
@@ -18723,6 +18723,22 @@ var TerminalProfileInfoSchema = object({
18723
18723
  label: string(),
18724
18724
  description: string().optional()
18725
18725
  });
18726
+ var TerminalOutputEventSchema = discriminatedUnion("kind", [object({
18727
+ seq: number().int().positive(),
18728
+ kind: literal("data"),
18729
+ data: string()
18730
+ }), object({
18731
+ seq: number().int().positive(),
18732
+ kind: literal("exit"),
18733
+ exitCode: number().int(),
18734
+ signal: number().int().optional()
18735
+ })]);
18736
+ var TerminalOutputBatchSchema = object({
18737
+ cursor: number().int().nonnegative(),
18738
+ reset: boolean(),
18739
+ snapshot: string().optional(),
18740
+ events: array(TerminalOutputEventSchema).readonly()
18741
+ });
18726
18742
  method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }), method(_void(), array(TerminalSessionInfoSchema).readonly(), { auth: "admin" }), method(object({
18727
18743
  profileId: string(),
18728
18744
  cols: number().int().positive(),
@@ -18737,6 +18753,20 @@ method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }),
18737
18753
  }), _void(), {
18738
18754
  kind: "mutation",
18739
18755
  auth: "admin"
18756
+ }), method(object({
18757
+ sessionId: string(),
18758
+ afterSeq: number().int().nonnegative(),
18759
+ waitMs: number().int().min(0).max(2e3).default(0)
18760
+ }), TerminalOutputBatchSchema, {
18761
+ kind: "mutation",
18762
+ auth: "admin",
18763
+ timeoutMs: 15e3
18764
+ }), method(object({
18765
+ sessionId: string(),
18766
+ data: string().max(64 * 1024)
18767
+ }), _void(), {
18768
+ kind: "mutation",
18769
+ auth: "admin"
18740
18770
  }), method(object({ sessionId: string() }), _void(), {
18741
18771
  kind: "mutation",
18742
18772
  auth: "admin"
@@ -32422,12 +32452,24 @@ Object.freeze({
32422
32452
  addonId: null,
32423
32453
  access: "create"
32424
32454
  },
32455
+ "terminalSession.pullOutput": {
32456
+ capName: "terminal-session",
32457
+ capScope: "system",
32458
+ addonId: null,
32459
+ access: "create"
32460
+ },
32425
32461
  "terminalSession.resize": {
32426
32462
  capName: "terminal-session",
32427
32463
  capScope: "system",
32428
32464
  addonId: null,
32429
32465
  access: "create"
32430
32466
  },
32467
+ "terminalSession.writeInput": {
32468
+ capName: "terminal-session",
32469
+ capScope: "system",
32470
+ addonId: null,
32471
+ access: "create"
32472
+ },
32431
32473
  "toast.onToast": {
32432
32474
  capName: "toast",
32433
32475
  capScope: "system",
package/dist/addon.mjs CHANGED
@@ -18699,6 +18699,22 @@ var TerminalProfileInfoSchema = object({
18699
18699
  label: string(),
18700
18700
  description: string().optional()
18701
18701
  });
18702
+ var TerminalOutputEventSchema = discriminatedUnion("kind", [object({
18703
+ seq: number().int().positive(),
18704
+ kind: literal("data"),
18705
+ data: string()
18706
+ }), object({
18707
+ seq: number().int().positive(),
18708
+ kind: literal("exit"),
18709
+ exitCode: number().int(),
18710
+ signal: number().int().optional()
18711
+ })]);
18712
+ var TerminalOutputBatchSchema = object({
18713
+ cursor: number().int().nonnegative(),
18714
+ reset: boolean(),
18715
+ snapshot: string().optional(),
18716
+ events: array(TerminalOutputEventSchema).readonly()
18717
+ });
18702
18718
  method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }), method(_void(), array(TerminalSessionInfoSchema).readonly(), { auth: "admin" }), method(object({
18703
18719
  profileId: string(),
18704
18720
  cols: number().int().positive(),
@@ -18713,6 +18729,20 @@ method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }),
18713
18729
  }), _void(), {
18714
18730
  kind: "mutation",
18715
18731
  auth: "admin"
18732
+ }), method(object({
18733
+ sessionId: string(),
18734
+ afterSeq: number().int().nonnegative(),
18735
+ waitMs: number().int().min(0).max(2e3).default(0)
18736
+ }), TerminalOutputBatchSchema, {
18737
+ kind: "mutation",
18738
+ auth: "admin",
18739
+ timeoutMs: 15e3
18740
+ }), method(object({
18741
+ sessionId: string(),
18742
+ data: string().max(64 * 1024)
18743
+ }), _void(), {
18744
+ kind: "mutation",
18745
+ auth: "admin"
18716
18746
  }), method(object({ sessionId: string() }), _void(), {
18717
18747
  kind: "mutation",
18718
18748
  auth: "admin"
@@ -32398,12 +32428,24 @@ Object.freeze({
32398
32428
  addonId: null,
32399
32429
  access: "create"
32400
32430
  },
32431
+ "terminalSession.pullOutput": {
32432
+ capName: "terminal-session",
32433
+ capScope: "system",
32434
+ addonId: null,
32435
+ access: "create"
32436
+ },
32401
32437
  "terminalSession.resize": {
32402
32438
  capName: "terminal-session",
32403
32439
  capScope: "system",
32404
32440
  addonId: null,
32405
32441
  access: "create"
32406
32442
  },
32443
+ "terminalSession.writeInput": {
32444
+ capName: "terminal-session",
32445
+ capScope: "system",
32446
+ addonId: null,
32447
+ access: "create"
32448
+ },
32407
32449
  "toast.onToast": {
32408
32450
  capName: "toast",
32409
32451
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-rtsp",
3
- "version": "1.2.11",
3
+ "version": "1.2.12",
4
4
  "description": "Generic RTSP camera device provider addon for CamStack",
5
5
  "keywords": [
6
6
  "camstack",