@camstack/addon-decoder-ffmpeg 1.2.10 → 1.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/index.js CHANGED
@@ -18382,6 +18382,22 @@ var TerminalProfileInfoSchema = object({
18382
18382
  label: string(),
18383
18383
  description: string().optional()
18384
18384
  });
18385
+ var TerminalOutputEventSchema = discriminatedUnion("kind", [object({
18386
+ seq: number().int().positive(),
18387
+ kind: literal("data"),
18388
+ data: string()
18389
+ }), object({
18390
+ seq: number().int().positive(),
18391
+ kind: literal("exit"),
18392
+ exitCode: number().int(),
18393
+ signal: number().int().optional()
18394
+ })]);
18395
+ var TerminalOutputBatchSchema = object({
18396
+ cursor: number().int().nonnegative(),
18397
+ reset: boolean(),
18398
+ snapshot: string().optional(),
18399
+ events: array(TerminalOutputEventSchema).readonly()
18400
+ });
18385
18401
  method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }), method(_void(), array(TerminalSessionInfoSchema).readonly(), { auth: "admin" }), method(object({
18386
18402
  profileId: string(),
18387
18403
  cols: number().int().positive(),
@@ -18396,6 +18412,20 @@ method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }),
18396
18412
  }), _void(), {
18397
18413
  kind: "mutation",
18398
18414
  auth: "admin"
18415
+ }), method(object({
18416
+ sessionId: string(),
18417
+ afterSeq: number().int().nonnegative(),
18418
+ waitMs: number().int().min(0).max(2e3).default(0)
18419
+ }), TerminalOutputBatchSchema, {
18420
+ kind: "mutation",
18421
+ auth: "admin",
18422
+ timeoutMs: 15e3
18423
+ }), method(object({
18424
+ sessionId: string(),
18425
+ data: string().max(64 * 1024)
18426
+ }), _void(), {
18427
+ kind: "mutation",
18428
+ auth: "admin"
18399
18429
  }), method(object({ sessionId: string() }), _void(), {
18400
18430
  kind: "mutation",
18401
18431
  auth: "admin"
@@ -29277,12 +29307,24 @@ Object.freeze({
29277
29307
  addonId: null,
29278
29308
  access: "create"
29279
29309
  },
29310
+ "terminalSession.pullOutput": {
29311
+ capName: "terminal-session",
29312
+ capScope: "system",
29313
+ addonId: null,
29314
+ access: "create"
29315
+ },
29280
29316
  "terminalSession.resize": {
29281
29317
  capName: "terminal-session",
29282
29318
  capScope: "system",
29283
29319
  addonId: null,
29284
29320
  access: "create"
29285
29321
  },
29322
+ "terminalSession.writeInput": {
29323
+ capName: "terminal-session",
29324
+ capScope: "system",
29325
+ addonId: null,
29326
+ access: "create"
29327
+ },
29286
29328
  "toast.onToast": {
29287
29329
  capName: "toast",
29288
29330
  capScope: "system",
package/dist/index.mjs CHANGED
@@ -18378,6 +18378,22 @@ var TerminalProfileInfoSchema = object({
18378
18378
  label: string(),
18379
18379
  description: string().optional()
18380
18380
  });
18381
+ var TerminalOutputEventSchema = discriminatedUnion("kind", [object({
18382
+ seq: number().int().positive(),
18383
+ kind: literal("data"),
18384
+ data: string()
18385
+ }), object({
18386
+ seq: number().int().positive(),
18387
+ kind: literal("exit"),
18388
+ exitCode: number().int(),
18389
+ signal: number().int().optional()
18390
+ })]);
18391
+ var TerminalOutputBatchSchema = object({
18392
+ cursor: number().int().nonnegative(),
18393
+ reset: boolean(),
18394
+ snapshot: string().optional(),
18395
+ events: array(TerminalOutputEventSchema).readonly()
18396
+ });
18381
18397
  method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }), method(_void(), array(TerminalSessionInfoSchema).readonly(), { auth: "admin" }), method(object({
18382
18398
  profileId: string(),
18383
18399
  cols: number().int().positive(),
@@ -18392,6 +18408,20 @@ method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }),
18392
18408
  }), _void(), {
18393
18409
  kind: "mutation",
18394
18410
  auth: "admin"
18411
+ }), method(object({
18412
+ sessionId: string(),
18413
+ afterSeq: number().int().nonnegative(),
18414
+ waitMs: number().int().min(0).max(2e3).default(0)
18415
+ }), TerminalOutputBatchSchema, {
18416
+ kind: "mutation",
18417
+ auth: "admin",
18418
+ timeoutMs: 15e3
18419
+ }), method(object({
18420
+ sessionId: string(),
18421
+ data: string().max(64 * 1024)
18422
+ }), _void(), {
18423
+ kind: "mutation",
18424
+ auth: "admin"
18395
18425
  }), method(object({ sessionId: string() }), _void(), {
18396
18426
  kind: "mutation",
18397
18427
  auth: "admin"
@@ -29273,12 +29303,24 @@ Object.freeze({
29273
29303
  addonId: null,
29274
29304
  access: "create"
29275
29305
  },
29306
+ "terminalSession.pullOutput": {
29307
+ capName: "terminal-session",
29308
+ capScope: "system",
29309
+ addonId: null,
29310
+ access: "create"
29311
+ },
29276
29312
  "terminalSession.resize": {
29277
29313
  capName: "terminal-session",
29278
29314
  capScope: "system",
29279
29315
  addonId: null,
29280
29316
  access: "create"
29281
29317
  },
29318
+ "terminalSession.writeInput": {
29319
+ capName: "terminal-session",
29320
+ capScope: "system",
29321
+ addonId: null,
29322
+ access: "create"
29323
+ },
29282
29324
  "toast.onToast": {
29283
29325
  capName: "toast",
29284
29326
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-decoder-ffmpeg",
3
- "version": "1.2.10",
3
+ "version": "1.2.11",
4
4
  "description": "Standalone ffmpeg-subprocess decoder fallback addon for CamStack",
5
5
  "keywords": [
6
6
  "camstack",