@camstack/addon-provider-wyze 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 +42 -0
- package/dist/addon.mjs +42 -0
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -18701,6 +18701,22 @@ var TerminalProfileInfoSchema = object({
|
|
|
18701
18701
|
label: string(),
|
|
18702
18702
|
description: string().optional()
|
|
18703
18703
|
});
|
|
18704
|
+
var TerminalOutputEventSchema = discriminatedUnion("kind", [object({
|
|
18705
|
+
seq: number().int().positive(),
|
|
18706
|
+
kind: literal("data"),
|
|
18707
|
+
data: string()
|
|
18708
|
+
}), object({
|
|
18709
|
+
seq: number().int().positive(),
|
|
18710
|
+
kind: literal("exit"),
|
|
18711
|
+
exitCode: number().int(),
|
|
18712
|
+
signal: number().int().optional()
|
|
18713
|
+
})]);
|
|
18714
|
+
var TerminalOutputBatchSchema = object({
|
|
18715
|
+
cursor: number().int().nonnegative(),
|
|
18716
|
+
reset: boolean(),
|
|
18717
|
+
snapshot: string().optional(),
|
|
18718
|
+
events: array(TerminalOutputEventSchema).readonly()
|
|
18719
|
+
});
|
|
18704
18720
|
method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }), method(_void(), array(TerminalSessionInfoSchema).readonly(), { auth: "admin" }), method(object({
|
|
18705
18721
|
profileId: string(),
|
|
18706
18722
|
cols: number().int().positive(),
|
|
@@ -18715,6 +18731,20 @@ method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }),
|
|
|
18715
18731
|
}), _void(), {
|
|
18716
18732
|
kind: "mutation",
|
|
18717
18733
|
auth: "admin"
|
|
18734
|
+
}), method(object({
|
|
18735
|
+
sessionId: string(),
|
|
18736
|
+
afterSeq: number().int().nonnegative(),
|
|
18737
|
+
waitMs: number().int().min(0).max(2e3).default(0)
|
|
18738
|
+
}), TerminalOutputBatchSchema, {
|
|
18739
|
+
kind: "mutation",
|
|
18740
|
+
auth: "admin",
|
|
18741
|
+
timeoutMs: 15e3
|
|
18742
|
+
}), method(object({
|
|
18743
|
+
sessionId: string(),
|
|
18744
|
+
data: string().max(64 * 1024)
|
|
18745
|
+
}), _void(), {
|
|
18746
|
+
kind: "mutation",
|
|
18747
|
+
auth: "admin"
|
|
18718
18748
|
}), method(object({ sessionId: string() }), _void(), {
|
|
18719
18749
|
kind: "mutation",
|
|
18720
18750
|
auth: "admin"
|
|
@@ -32377,12 +32407,24 @@ Object.freeze({
|
|
|
32377
32407
|
addonId: null,
|
|
32378
32408
|
access: "create"
|
|
32379
32409
|
},
|
|
32410
|
+
"terminalSession.pullOutput": {
|
|
32411
|
+
capName: "terminal-session",
|
|
32412
|
+
capScope: "system",
|
|
32413
|
+
addonId: null,
|
|
32414
|
+
access: "create"
|
|
32415
|
+
},
|
|
32380
32416
|
"terminalSession.resize": {
|
|
32381
32417
|
capName: "terminal-session",
|
|
32382
32418
|
capScope: "system",
|
|
32383
32419
|
addonId: null,
|
|
32384
32420
|
access: "create"
|
|
32385
32421
|
},
|
|
32422
|
+
"terminalSession.writeInput": {
|
|
32423
|
+
capName: "terminal-session",
|
|
32424
|
+
capScope: "system",
|
|
32425
|
+
addonId: null,
|
|
32426
|
+
access: "create"
|
|
32427
|
+
},
|
|
32386
32428
|
"toast.onToast": {
|
|
32387
32429
|
capName: "toast",
|
|
32388
32430
|
capScope: "system",
|
package/dist/addon.mjs
CHANGED
|
@@ -18680,6 +18680,22 @@ var TerminalProfileInfoSchema = object({
|
|
|
18680
18680
|
label: string(),
|
|
18681
18681
|
description: string().optional()
|
|
18682
18682
|
});
|
|
18683
|
+
var TerminalOutputEventSchema = discriminatedUnion("kind", [object({
|
|
18684
|
+
seq: number().int().positive(),
|
|
18685
|
+
kind: literal("data"),
|
|
18686
|
+
data: string()
|
|
18687
|
+
}), object({
|
|
18688
|
+
seq: number().int().positive(),
|
|
18689
|
+
kind: literal("exit"),
|
|
18690
|
+
exitCode: number().int(),
|
|
18691
|
+
signal: number().int().optional()
|
|
18692
|
+
})]);
|
|
18693
|
+
var TerminalOutputBatchSchema = object({
|
|
18694
|
+
cursor: number().int().nonnegative(),
|
|
18695
|
+
reset: boolean(),
|
|
18696
|
+
snapshot: string().optional(),
|
|
18697
|
+
events: array(TerminalOutputEventSchema).readonly()
|
|
18698
|
+
});
|
|
18683
18699
|
method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }), method(_void(), array(TerminalSessionInfoSchema).readonly(), { auth: "admin" }), method(object({
|
|
18684
18700
|
profileId: string(),
|
|
18685
18701
|
cols: number().int().positive(),
|
|
@@ -18694,6 +18710,20 @@ method(_void(), array(TerminalProfileInfoSchema).readonly(), { auth: "admin" }),
|
|
|
18694
18710
|
}), _void(), {
|
|
18695
18711
|
kind: "mutation",
|
|
18696
18712
|
auth: "admin"
|
|
18713
|
+
}), method(object({
|
|
18714
|
+
sessionId: string(),
|
|
18715
|
+
afterSeq: number().int().nonnegative(),
|
|
18716
|
+
waitMs: number().int().min(0).max(2e3).default(0)
|
|
18717
|
+
}), TerminalOutputBatchSchema, {
|
|
18718
|
+
kind: "mutation",
|
|
18719
|
+
auth: "admin",
|
|
18720
|
+
timeoutMs: 15e3
|
|
18721
|
+
}), method(object({
|
|
18722
|
+
sessionId: string(),
|
|
18723
|
+
data: string().max(64 * 1024)
|
|
18724
|
+
}), _void(), {
|
|
18725
|
+
kind: "mutation",
|
|
18726
|
+
auth: "admin"
|
|
18697
18727
|
}), method(object({ sessionId: string() }), _void(), {
|
|
18698
18728
|
kind: "mutation",
|
|
18699
18729
|
auth: "admin"
|
|
@@ -32356,12 +32386,24 @@ Object.freeze({
|
|
|
32356
32386
|
addonId: null,
|
|
32357
32387
|
access: "create"
|
|
32358
32388
|
},
|
|
32389
|
+
"terminalSession.pullOutput": {
|
|
32390
|
+
capName: "terminal-session",
|
|
32391
|
+
capScope: "system",
|
|
32392
|
+
addonId: null,
|
|
32393
|
+
access: "create"
|
|
32394
|
+
},
|
|
32359
32395
|
"terminalSession.resize": {
|
|
32360
32396
|
capName: "terminal-session",
|
|
32361
32397
|
capScope: "system",
|
|
32362
32398
|
addonId: null,
|
|
32363
32399
|
access: "create"
|
|
32364
32400
|
},
|
|
32401
|
+
"terminalSession.writeInput": {
|
|
32402
|
+
capName: "terminal-session",
|
|
32403
|
+
capScope: "system",
|
|
32404
|
+
addonId: null,
|
|
32405
|
+
access: "create"
|
|
32406
|
+
},
|
|
32365
32407
|
"toast.onToast": {
|
|
32366
32408
|
capName: "toast",
|
|
32367
32409
|
capScope: "system",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-provider-wyze",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.11",
|
|
4
4
|
"description": "Wyze camera device-provider addon for CamStack — wraps the @apocaliss92/wyze-bridge-js P2P/DTLS client, feeding the stream-broker via the pull-rfc4571 lazy-publish path (a structural twin of addon-provider-reolink)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|