@camstack/types 1.2.585 → 1.2.587
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/CHANGELOG.md +38 -1
- package/dist/addon.d.ts +2 -0
- package/dist/addon.js +21 -5
- package/dist/addon.mjs +18 -6
- package/dist/capabilities/camera-grid-layout.cap.d.ts +3 -5
- package/dist/capabilities/cap-method-absent.d.ts +19 -0
- package/dist/capabilities/device-manager.cap.d.ts +422 -0
- package/dist/capabilities/hero-layout.cap.d.ts +2 -2
- package/dist/capabilities/index.d.ts +11 -7
- package/dist/capabilities/network-link.cap.d.ts +10 -0
- package/dist/capabilities/notification-rules.cap.d.ts +70 -0
- package/dist/capabilities/power-source.cap.d.ts +20 -0
- package/dist/capabilities/recording-export.cap.d.ts +1 -0
- package/dist/capabilities/siren-duration.d.ts +45 -7
- package/dist/capabilities/siren.cap.d.ts +45 -2
- package/dist/capabilities/switch-settable.d.ts +15 -0
- package/dist/capabilities/switch.cap.d.ts +71 -0
- package/dist/capabilities/tags.cap.d.ts +42 -16
- package/dist/capabilities/terminal-session.cap.d.ts +9 -60
- package/dist/capabilities/videoclips.cap.d.ts +3 -0
- package/dist/capabilities/workload.cap.d.ts +655 -0
- package/dist/client.js +119 -6
- package/dist/client.mjs +119 -6
- package/dist/{composed-stable-id-RvQIEpqg.mjs → composed-stable-id-BBL71oUQ.mjs} +20 -0
- package/dist/{composed-stable-id-C3NfRTj8.js → composed-stable-id-CVbyajE5.js} +20 -0
- package/dist/composition/engine-hosted-blocks.d.ts +131 -0
- package/dist/composition/helpers/index.d.ts +1 -1
- package/dist/composition/helpers/spec.d.ts +56 -2
- package/dist/composition/index.d.ts +1 -0
- package/dist/device/base-device.d.ts +29 -0
- package/dist/device/cap-vocabulary/declaration.d.ts +12 -1
- package/dist/device/cap-vocabulary/index.d.ts +4 -4
- package/dist/device/cap-vocabulary/resolve.d.ts +47 -1
- package/dist/device/cap-vocabulary/types.d.ts +26 -1
- package/dist/device/declare-identifiers.d.ts +58 -0
- package/dist/device/device-control-resolution.d.ts +1 -1
- package/dist/device/device-icon.d.ts +7 -0
- package/dist/device/device-identifiers.d.ts +190 -0
- package/dist/device/device-management.d.ts +10 -0
- package/dist/device/device-type.d.ts +22 -2
- package/dist/device/hero/build-hero-model.d.ts +15 -0
- package/dist/device/hero/hero-fragment.d.ts +11 -0
- package/dist/device/hero/hero-layout.d.ts +1 -0
- package/dist/device/hero/hero-look.d.ts +12 -0
- package/dist/device/hero/hero-model.d.ts +4 -4
- package/dist/device/hero/hero-scene.d.ts +7 -0
- package/dist/device/index.d.ts +5 -1
- package/dist/enums/event-category.d.ts +8 -0
- package/dist/enums.js +1 -1
- package/dist/enums.mjs +1 -1
- package/dist/{event-category-d9kiqCqC.js → event-category-CE_VCE2G.js} +8 -0
- package/dist/{event-category-Dhcd0TRH.mjs → event-category-Hwx_JSCU.mjs} +8 -0
- package/dist/generated/addon-api.d.ts +106 -14
- package/dist/generated/addon-cap-facts.d.ts +1 -1
- package/dist/generated/cap-status-types.d.ts +3 -1
- package/dist/generated/cap-vocabulary.d.ts +1 -1
- package/dist/generated/capability-router-map.d.ts +5 -2
- package/dist/generated/collection-array-methods.d.ts +1 -1
- package/dist/generated/customize-catalog.d.ts +1 -1
- package/dist/generated/device-local-state.d.ts +3 -0
- package/dist/generated/device-proxy.d.ts +4 -1
- package/dist/generated/device-scoped-caps.d.ts +1 -1
- package/dist/generated/history-catalog.d.ts +2 -2
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/method-device-selectors.d.ts +2 -2
- package/dist/generated/runtime-state-durability.d.ts +1 -1
- package/dist/generated/system-proxy.d.ts +2 -2
- package/dist/{implemented-methods-C7ScGvEz.js → implemented-methods-ChtdIofW.js} +128 -1
- package/dist/{implemented-methods-C5FMXLGP.mjs → implemented-methods-u7ddjc-_.mjs} +57 -2
- package/dist/index.d.ts +7 -3
- package/dist/index.js +2086 -439
- package/dist/index.mjs +2027 -438
- package/dist/node.js +2 -2
- package/dist/node.mjs +2 -2
- package/dist/notification/timelapse-rule.d.ts +3 -0
- package/dist/{sleep-DwRtgB2i.js → sleep-CsZJsb8n.js} +692 -35
- package/dist/{sleep-Ch7Q7UtE.mjs → sleep-D6Pih0Qt.mjs} +669 -36
- package/package.json +1 -1
|
@@ -15,6 +15,8 @@ declare const TerminalSessionInfoSchema: z.ZodObject<{
|
|
|
15
15
|
cols: z.ZodNumber;
|
|
16
16
|
rows: z.ZodNumber;
|
|
17
17
|
startedAt: z.ZodNumber;
|
|
18
|
+
openedBy: z.ZodOptional<z.ZodString>;
|
|
19
|
+
lastActivityAt: z.ZodOptional<z.ZodNumber>;
|
|
18
20
|
}, z.core.$strip>;
|
|
19
21
|
/**
|
|
20
22
|
* A profile the operator may open — a pre-declared, allowlisted program
|
|
@@ -32,33 +34,6 @@ declare const TerminalProfileInfoSchema: z.ZodObject<{
|
|
|
32
34
|
environment: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
33
35
|
settingsSchema: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
34
36
|
}, z.core.$strip>;
|
|
35
|
-
/**
|
|
36
|
-
* A durable operator-created Terminal instance. Profiles are templates; only
|
|
37
|
-
* an instance declares a camera.
|
|
38
|
-
*/
|
|
39
|
-
declare const TerminalInstanceInfoSchema: z.ZodObject<{
|
|
40
|
-
instanceId: z.ZodString;
|
|
41
|
-
cameraStableId: z.ZodString;
|
|
42
|
-
nodeId: z.ZodString;
|
|
43
|
-
nodeInCluster: z.ZodBoolean;
|
|
44
|
-
profileId: z.ZodString;
|
|
45
|
-
profileLabel: z.ZodString;
|
|
46
|
-
name: z.ZodString;
|
|
47
|
-
enabled: z.ZodBoolean;
|
|
48
|
-
executable: z.ZodString;
|
|
49
|
-
args: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
50
|
-
cwd: z.ZodString;
|
|
51
|
-
environment: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
52
|
-
profileSettings: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
53
|
-
}, z.core.$strip>;
|
|
54
|
-
declare const TerminalLegacyCameraSchema: z.ZodObject<{
|
|
55
|
-
stableId: z.ZodString;
|
|
56
|
-
nodeId: z.ZodString;
|
|
57
|
-
profileId: z.ZodString;
|
|
58
|
-
profileLabel: z.ZodString;
|
|
59
|
-
name: z.ZodString;
|
|
60
|
-
adoptable: z.ZodBoolean;
|
|
61
|
-
}, z.core.$strip>;
|
|
62
37
|
declare const TerminalOutputEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
63
38
|
seq: z.ZodNumber;
|
|
64
39
|
kind: z.ZodLiteral<"data">;
|
|
@@ -101,8 +76,8 @@ declare const TerminalOutputBatchSchema: z.ZodObject<{
|
|
|
101
76
|
* terminal-session — singleton system capability for interactive TTY sessions.
|
|
102
77
|
*
|
|
103
78
|
* Owns both live PTY lifecycle and durable Terminal instance management.
|
|
104
|
-
* Profiles are allowlisted templates;
|
|
105
|
-
*
|
|
79
|
+
* Profiles are allowlisted templates; a Terminal camera is a core block naming
|
|
80
|
+
* one Terminal (planning#580).
|
|
106
81
|
*/
|
|
107
82
|
export declare const terminalSessionCapability: {
|
|
108
83
|
readonly name: 'terminal-session';
|
|
@@ -120,34 +95,6 @@ export declare const terminalSessionCapability: {
|
|
|
120
95
|
environment: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
121
96
|
settingsSchema: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
122
97
|
}, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
123
|
-
/** Existing automatic cameras are shown for explicit migration only. */
|
|
124
|
-
readonly listLegacyCameras: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
125
|
-
stableId: z.ZodString;
|
|
126
|
-
nodeId: z.ZodString;
|
|
127
|
-
profileId: z.ZodString;
|
|
128
|
-
profileLabel: z.ZodString;
|
|
129
|
-
name: z.ZodString;
|
|
130
|
-
adoptable: z.ZodBoolean;
|
|
131
|
-
}, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
132
|
-
/** Explicitly adopt one legacy monitor camera, retaining its stable id. */
|
|
133
|
-
readonly adoptLegacyMonitor: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
134
|
-
stableId: z.ZodString;
|
|
135
|
-
name: z.ZodOptional<z.ZodString>;
|
|
136
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
137
|
-
instanceId: z.ZodString;
|
|
138
|
-
cameraStableId: z.ZodString;
|
|
139
|
-
nodeId: z.ZodString;
|
|
140
|
-
nodeInCluster: z.ZodBoolean;
|
|
141
|
-
profileId: z.ZodString;
|
|
142
|
-
profileLabel: z.ZodString;
|
|
143
|
-
name: z.ZodString;
|
|
144
|
-
enabled: z.ZodBoolean;
|
|
145
|
-
executable: z.ZodString;
|
|
146
|
-
args: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
147
|
-
cwd: z.ZodString;
|
|
148
|
-
environment: z.ZodReadonly<z.ZodArray<z.ZodString>>;
|
|
149
|
-
profileSettings: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
150
|
-
}, z.core.$strip>, "mutation">;
|
|
151
98
|
/** Live sessions currently hosted by the provider. */
|
|
152
99
|
readonly listSessions: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
153
100
|
sessionId: z.ZodString;
|
|
@@ -156,6 +103,8 @@ export declare const terminalSessionCapability: {
|
|
|
156
103
|
cols: z.ZodNumber;
|
|
157
104
|
rows: z.ZodNumber;
|
|
158
105
|
startedAt: z.ZodNumber;
|
|
106
|
+
openedBy: z.ZodOptional<z.ZodString>;
|
|
107
|
+
lastActivityAt: z.ZodOptional<z.ZodNumber>;
|
|
159
108
|
}, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
160
109
|
/**
|
|
161
110
|
* Whether this node has opted in to the server shell. The refusal names
|
|
@@ -181,6 +130,8 @@ export declare const terminalSessionCapability: {
|
|
|
181
130
|
cols: z.ZodNumber;
|
|
182
131
|
rows: z.ZodNumber;
|
|
183
132
|
startedAt: z.ZodNumber;
|
|
133
|
+
openedBy: z.ZodOptional<z.ZodString>;
|
|
134
|
+
lastActivityAt: z.ZodOptional<z.ZodNumber>;
|
|
184
135
|
}, z.core.$strip>, "mutation"> & {
|
|
185
136
|
readonly caller: 'required';
|
|
186
137
|
};
|
|
@@ -236,10 +187,8 @@ export declare const terminalSessionCapability: {
|
|
|
236
187
|
export type ITerminalSessionProvider = InferProvider<typeof terminalSessionCapability>;
|
|
237
188
|
export type TerminalSessionInfo = z.infer<typeof TerminalSessionInfoSchema>;
|
|
238
189
|
export type TerminalProfileInfo = z.infer<typeof TerminalProfileInfoSchema>;
|
|
239
|
-
export type TerminalInstanceInfo = z.infer<typeof TerminalInstanceInfoSchema>;
|
|
240
|
-
export type TerminalLegacyCamera = z.infer<typeof TerminalLegacyCameraSchema>;
|
|
241
190
|
export type TerminalOutputEvent = z.infer<typeof TerminalOutputEventSchema>;
|
|
242
191
|
export type TerminalOutputBatch = z.infer<typeof TerminalOutputBatchSchema>;
|
|
243
192
|
export type ServerShellStatus = z.infer<typeof ServerShellStatusSchema>;
|
|
244
193
|
export type ServerShellRefusal = z.infer<typeof ServerShellRefusalSchema>;
|
|
245
|
-
export {
|
|
194
|
+
export { ServerShellRefusalSchema, ServerShellStatusSchema, TerminalOutputBatchSchema, TerminalOutputEventSchema, TerminalProfileInfoSchema, TerminalSessionInfoSchema, };
|
|
@@ -861,6 +861,9 @@ export declare const videoclipsCapability: {
|
|
|
861
861
|
opus: "opus";
|
|
862
862
|
pcmu: "pcmu";
|
|
863
863
|
}>>;
|
|
864
|
+
wake: z.ZodOptional<z.ZodEnum<{
|
|
865
|
+
authorised: "authorised";
|
|
866
|
+
}>>;
|
|
864
867
|
}, z.core.$strip>, z.ZodObject<{
|
|
865
868
|
url: z.ZodString;
|
|
866
869
|
expiresAtMs: z.ZodNumber;
|