@camstack/types 1.2.97 → 1.2.98

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.
@@ -11,10 +11,10 @@
11
11
  *
12
12
  * • The SDK (mobile / web client) consumes `getConnectionEndpoints()`
13
13
  * to receive an ordered list of candidate base URLs it should race
14
- * on connect — LAN IPv4 first (lowest latency when on same network),
15
- * then public hostname (if a tunnel is up), then IPv6. The SDK can
16
- * race them with short timeouts and stick with the winner for the
17
- * session.
14
+ * on connect — LAN IPv4 and stable LAN IPv6 first (lowest latency
15
+ * when on the same network), then public hostname (if a tunnel is
16
+ * up). The SDK can race them with short timeouts and stick with the
17
+ * winner for the session.
18
18
  *
19
19
  * Why hub-only: agents are not directly addressable by the operator's
20
20
  * clients — they reverse-connect to the hub. Exposing their interfaces
@@ -30,6 +30,7 @@ declare const TerminalProfileInfoSchema: z.ZodObject<{
30
30
  args: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
31
31
  cwd: z.ZodOptional<z.ZodString>;
32
32
  environment: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
33
+ settingsSchema: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
33
34
  }, z.core.$strip>;
34
35
  /**
35
36
  * A durable operator-created Terminal instance. Profiles are templates; only
@@ -47,6 +48,7 @@ declare const TerminalInstanceInfoSchema: z.ZodObject<{
47
48
  args: z.ZodReadonly<z.ZodArray<z.ZodString>>;
48
49
  cwd: z.ZodString;
49
50
  environment: z.ZodReadonly<z.ZodArray<z.ZodString>>;
51
+ profileSettings: z.ZodRecord<z.ZodString, z.ZodUnknown>;
50
52
  }, z.core.$strip>;
51
53
  declare const TerminalLegacyCameraSchema: z.ZodObject<{
52
54
  stableId: z.ZodString;
@@ -102,6 +104,7 @@ export declare const terminalSessionCapability: {
102
104
  args: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
103
105
  cwd: z.ZodOptional<z.ZodString>;
104
106
  environment: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
107
+ settingsSchema: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
105
108
  }, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
106
109
  /** Explicit durable Terminal instances, managed centrally on the hub. */
107
110
  readonly listInstances: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodReadonly<z.ZodArray<z.ZodObject<{
@@ -116,6 +119,7 @@ export declare const terminalSessionCapability: {
116
119
  args: z.ZodReadonly<z.ZodArray<z.ZodString>>;
117
120
  cwd: z.ZodString;
118
121
  environment: z.ZodReadonly<z.ZodArray<z.ZodString>>;
122
+ profileSettings: z.ZodRecord<z.ZodString, z.ZodUnknown>;
119
123
  }, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
120
124
  readonly createInstance: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
121
125
  targetNodeId: z.ZodString;
@@ -125,6 +129,7 @@ export declare const terminalSessionCapability: {
125
129
  args: z.ZodOptional<z.ZodArray<z.ZodString>>;
126
130
  cwd: z.ZodOptional<z.ZodString>;
127
131
  environment: z.ZodOptional<z.ZodArray<z.ZodString>>;
132
+ profileSettings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
128
133
  }, z.core.$strip>, z.ZodObject<{
129
134
  instanceId: z.ZodString;
130
135
  cameraStableId: z.ZodString;
@@ -137,6 +142,7 @@ export declare const terminalSessionCapability: {
137
142
  args: z.ZodReadonly<z.ZodArray<z.ZodString>>;
138
143
  cwd: z.ZodString;
139
144
  environment: z.ZodReadonly<z.ZodArray<z.ZodString>>;
145
+ profileSettings: z.ZodRecord<z.ZodString, z.ZodUnknown>;
140
146
  }, z.core.$strip>, "mutation">;
141
147
  readonly updateInstance: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
142
148
  instanceId: z.ZodString;
@@ -145,6 +151,7 @@ export declare const terminalSessionCapability: {
145
151
  args: z.ZodOptional<z.ZodArray<z.ZodString>>;
146
152
  cwd: z.ZodOptional<z.ZodString>;
147
153
  environment: z.ZodOptional<z.ZodArray<z.ZodString>>;
154
+ profileSettings: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
148
155
  }, z.core.$strip>, z.ZodObject<{
149
156
  instanceId: z.ZodString;
150
157
  cameraStableId: z.ZodString;
@@ -157,6 +164,7 @@ export declare const terminalSessionCapability: {
157
164
  args: z.ZodReadonly<z.ZodArray<z.ZodString>>;
158
165
  cwd: z.ZodString;
159
166
  environment: z.ZodReadonly<z.ZodArray<z.ZodString>>;
167
+ profileSettings: z.ZodRecord<z.ZodString, z.ZodUnknown>;
160
168
  }, z.core.$strip>, "mutation">;
161
169
  readonly deleteInstance: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
162
170
  instanceId: z.ZodString;
@@ -176,6 +184,7 @@ export declare const terminalSessionCapability: {
176
184
  args: z.ZodReadonly<z.ZodArray<z.ZodString>>;
177
185
  cwd: z.ZodString;
178
186
  environment: z.ZodReadonly<z.ZodArray<z.ZodString>>;
187
+ profileSettings: z.ZodRecord<z.ZodString, z.ZodUnknown>;
179
188
  }, z.core.$strip>, "mutation">;
180
189
  /** Existing automatic cameras are shown for explicit migration only. */
181
190
  readonly listLegacyCameras: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodReadonly<z.ZodArray<z.ZodObject<{
@@ -202,6 +211,7 @@ export declare const terminalSessionCapability: {
202
211
  args: z.ZodReadonly<z.ZodArray<z.ZodString>>;
203
212
  cwd: z.ZodString;
204
213
  environment: z.ZodReadonly<z.ZodArray<z.ZodString>>;
214
+ profileSettings: z.ZodRecord<z.ZodString, z.ZodUnknown>;
205
215
  }, z.core.$strip>, "mutation">;
206
216
  /** Live sessions currently hosted by the provider. */
207
217
  readonly listSessions: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodReadonly<z.ZodArray<z.ZodObject<{
package/dist/index.js CHANGED
@@ -19779,6 +19779,9 @@ var storageProviderCapability = {
19779
19779
  };
19780
19780
  //#endregion
19781
19781
  //#region src/capabilities/terminal-session.cap.ts
19782
+ /** Profile-exported FormBuilder schema. Shape is ConfigUISchema at the UI. */
19783
+ var ProfileSettingsSchemaBridge = zod.z.unknown().nullable();
19784
+ var ProfileSettingsBagSchema = zod.z.record(zod.z.string(), zod.z.unknown());
19782
19785
  /**
19783
19786
  * A live terminal session hosted by the provider addon. Output and input do
19784
19787
  * NOT flow through the capability — they use the addon data plane
@@ -19813,7 +19816,9 @@ var TerminalProfileInfoSchema = zod.z.object({
19813
19816
  executable: zod.z.string().optional(),
19814
19817
  args: zod.z.array(zod.z.string()).readonly().optional(),
19815
19818
  cwd: zod.z.string().optional(),
19816
- environment: zod.z.array(zod.z.string()).readonly().optional()
19819
+ environment: zod.z.array(zod.z.string()).readonly().optional(),
19820
+ /** ConfigUISchema for instance knobs, or null when the profile has none. */
19821
+ settingsSchema: ProfileSettingsSchemaBridge.optional()
19817
19822
  });
19818
19823
  /**
19819
19824
  * A durable operator-created Terminal instance. Profiles are templates; only
@@ -19830,7 +19835,8 @@ var TerminalInstanceInfoSchema = zod.z.object({
19830
19835
  executable: zod.z.string(),
19831
19836
  args: zod.z.array(zod.z.string()).readonly(),
19832
19837
  cwd: zod.z.string(),
19833
- environment: zod.z.array(zod.z.string()).readonly()
19838
+ environment: zod.z.array(zod.z.string()).readonly(),
19839
+ profileSettings: ProfileSettingsBagSchema
19834
19840
  });
19835
19841
  var TerminalLegacyCameraSchema = zod.z.object({
19836
19842
  stableId: zod.z.string(),
@@ -19880,7 +19886,8 @@ var terminalSessionCapability = {
19880
19886
  executable: zod.z.string().max(1024).optional(),
19881
19887
  args: zod.z.array(zod.z.string().max(2048)).max(64).optional(),
19882
19888
  cwd: zod.z.string().max(1024).optional(),
19883
- environment: zod.z.array(zod.z.string().max(4096)).max(64).optional()
19889
+ environment: zod.z.array(zod.z.string().max(4096)).max(64).optional(),
19890
+ profileSettings: ProfileSettingsBagSchema.optional()
19884
19891
  }), TerminalInstanceInfoSchema, {
19885
19892
  kind: "mutation",
19886
19893
  auth: "admin"
@@ -19891,7 +19898,8 @@ var terminalSessionCapability = {
19891
19898
  executable: zod.z.string().max(1024).optional(),
19892
19899
  args: zod.z.array(zod.z.string().max(2048)).max(64).optional(),
19893
19900
  cwd: zod.z.string().max(1024).optional(),
19894
- environment: zod.z.array(zod.z.string().max(4096)).max(64).optional()
19901
+ environment: zod.z.array(zod.z.string().max(4096)).max(64).optional(),
19902
+ profileSettings: ProfileSettingsBagSchema.optional()
19895
19903
  }), TerminalInstanceInfoSchema, {
19896
19904
  kind: "mutation",
19897
19905
  auth: "admin"
@@ -24530,10 +24538,10 @@ var lawnMowerControlCapability = {
24530
24538
  *
24531
24539
  * • The SDK (mobile / web client) consumes `getConnectionEndpoints()`
24532
24540
  * to receive an ordered list of candidate base URLs it should race
24533
- * on connect — LAN IPv4 first (lowest latency when on same network),
24534
- * then public hostname (if a tunnel is up), then IPv6. The SDK can
24535
- * race them with short timeouts and stick with the winner for the
24536
- * session.
24541
+ * on connect — LAN IPv4 and stable LAN IPv6 first (lowest latency
24542
+ * when on the same network), then public hostname (if a tunnel is
24543
+ * up). The SDK can race them with short timeouts and stick with the
24544
+ * winner for the session.
24537
24545
  *
24538
24546
  * Why hub-only: agents are not directly addressable by the operator's
24539
24547
  * clients — they reverse-connect to the hub. Exposing their interfaces
package/dist/index.mjs CHANGED
@@ -19778,6 +19778,9 @@ var storageProviderCapability = {
19778
19778
  };
19779
19779
  //#endregion
19780
19780
  //#region src/capabilities/terminal-session.cap.ts
19781
+ /** Profile-exported FormBuilder schema. Shape is ConfigUISchema at the UI. */
19782
+ var ProfileSettingsSchemaBridge = z.unknown().nullable();
19783
+ var ProfileSettingsBagSchema = z.record(z.string(), z.unknown());
19781
19784
  /**
19782
19785
  * A live terminal session hosted by the provider addon. Output and input do
19783
19786
  * NOT flow through the capability — they use the addon data plane
@@ -19812,7 +19815,9 @@ var TerminalProfileInfoSchema = z.object({
19812
19815
  executable: z.string().optional(),
19813
19816
  args: z.array(z.string()).readonly().optional(),
19814
19817
  cwd: z.string().optional(),
19815
- environment: z.array(z.string()).readonly().optional()
19818
+ environment: z.array(z.string()).readonly().optional(),
19819
+ /** ConfigUISchema for instance knobs, or null when the profile has none. */
19820
+ settingsSchema: ProfileSettingsSchemaBridge.optional()
19816
19821
  });
19817
19822
  /**
19818
19823
  * A durable operator-created Terminal instance. Profiles are templates; only
@@ -19829,7 +19834,8 @@ var TerminalInstanceInfoSchema = z.object({
19829
19834
  executable: z.string(),
19830
19835
  args: z.array(z.string()).readonly(),
19831
19836
  cwd: z.string(),
19832
- environment: z.array(z.string()).readonly()
19837
+ environment: z.array(z.string()).readonly(),
19838
+ profileSettings: ProfileSettingsBagSchema
19833
19839
  });
19834
19840
  var TerminalLegacyCameraSchema = z.object({
19835
19841
  stableId: z.string(),
@@ -19879,7 +19885,8 @@ var terminalSessionCapability = {
19879
19885
  executable: z.string().max(1024).optional(),
19880
19886
  args: z.array(z.string().max(2048)).max(64).optional(),
19881
19887
  cwd: z.string().max(1024).optional(),
19882
- environment: z.array(z.string().max(4096)).max(64).optional()
19888
+ environment: z.array(z.string().max(4096)).max(64).optional(),
19889
+ profileSettings: ProfileSettingsBagSchema.optional()
19883
19890
  }), TerminalInstanceInfoSchema, {
19884
19891
  kind: "mutation",
19885
19892
  auth: "admin"
@@ -19890,7 +19897,8 @@ var terminalSessionCapability = {
19890
19897
  executable: z.string().max(1024).optional(),
19891
19898
  args: z.array(z.string().max(2048)).max(64).optional(),
19892
19899
  cwd: z.string().max(1024).optional(),
19893
- environment: z.array(z.string().max(4096)).max(64).optional()
19900
+ environment: z.array(z.string().max(4096)).max(64).optional(),
19901
+ profileSettings: ProfileSettingsBagSchema.optional()
19894
19902
  }), TerminalInstanceInfoSchema, {
19895
19903
  kind: "mutation",
19896
19904
  auth: "admin"
@@ -24529,10 +24537,10 @@ var lawnMowerControlCapability = {
24529
24537
  *
24530
24538
  * • The SDK (mobile / web client) consumes `getConnectionEndpoints()`
24531
24539
  * to receive an ordered list of candidate base URLs it should race
24532
- * on connect — LAN IPv4 first (lowest latency when on same network),
24533
- * then public hostname (if a tunnel is up), then IPv6. The SDK can
24534
- * race them with short timeouts and stick with the winner for the
24535
- * session.
24540
+ * on connect — LAN IPv4 and stable LAN IPv6 first (lowest latency
24541
+ * when on the same network), then public hostname (if a tunnel is
24542
+ * up). The SDK can race them with short timeouts and stick with the
24543
+ * winner for the session.
24536
24544
  *
24537
24545
  * Why hub-only: agents are not directly addressable by the operator's
24538
24546
  * clients — they reverse-connect to the hub. Exposing their interfaces
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/types",
3
- "version": "1.2.97",
3
+ "version": "1.2.98",
4
4
  "description": "Shared types, interfaces, and model catalogs for the CamStack detection ecosystem",
5
5
  "keywords": [
6
6
  "camstack",