camstack 1.2.187 → 1.2.189

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/cli.js CHANGED
@@ -37,7 +37,7 @@ async function runServe(args) {
37
37
  ...typeof values.data === "string" ? { data: values.data } : {}
38
38
  };
39
39
  Object.assign(process.env, buildServeEnv(opts));
40
- await import("./launcher-RCLUYTAW.js");
40
+ await import("./launcher-LKHQ7I4L.js");
41
41
  }
42
42
 
43
43
  // src/commands/agent.ts
@@ -82,7 +82,7 @@ async function runAgent(args) {
82
82
  ...typeof values.port === "string" ? { port: values.port } : {}
83
83
  };
84
84
  Object.assign(process.env, buildAgentEnv(opts));
85
- await import("./launcher-RCLUYTAW.js");
85
+ await import("./launcher-LKHQ7I4L.js");
86
86
  }
87
87
 
88
88
  // src/commands/setup.ts
@@ -14772,7 +14772,7 @@ function date4(params) {
14772
14772
  // ../../node_modules/zod/v4/classic/external.js
14773
14773
  config(en_default());
14774
14774
 
14775
- // ../types/dist/sleep-BOjuyoPC.mjs
14775
+ // ../types/dist/sleep-BegKjwUu.mjs
14776
14776
  var AUDIO_CHUNK_FORMATS = [
14777
14777
  "f32le",
14778
14778
  "pcmu",
@@ -24131,7 +24131,7 @@ var ResyncResultSchema = external_exports.object({
24131
24131
  var deviceAdoptionCapability = {
24132
24132
  name: "device-adoption",
24133
24133
  scope: "system",
24134
- mode: "singleton",
24134
+ mode: "collection",
24135
24135
  status: {
24136
24136
  schema: AdoptionStatusSchema,
24137
24137
  kind: "poll"
@@ -45406,7 +45406,7 @@ var deviceManagerCapability = {
45406
45406
  auth: "admin"
45407
45407
  }),
45408
45408
  /** List candidate filter chips for an integration via its device-adoption
45409
- * provider — addonId-routed so it never hits the singleton shadow. */
45409
+ * provider — addonId-routed via the collection pin. */
45410
45410
  adoptionListCandidateFilters: method(external_exports.object({
45411
45411
  addonId: external_exports.string(),
45412
45412
  integrationId: external_exports.string()
@@ -62140,6 +62140,14 @@ var DishwasherStatusSchema = external_exports.object({
62140
62140
  rinseAidLevel: DishwasherConsumableLevelSchema.nullable(),
62141
62141
  halfLoad: external_exports.boolean(),
62142
62142
  hygienePlus: external_exports.boolean(),
62143
+ /** Extra dry option when the appliance exposes it. */
62144
+ extraDry: external_exports.boolean(),
62145
+ /** Intensive zone (lower basket) when the appliance exposes it. */
62146
+ intensiveZone: external_exports.boolean(),
62147
+ /** VarioSpeed / VarioSpeed+ when the appliance exposes it. */
62148
+ varioSpeedPlus: external_exports.boolean(),
62149
+ /** Child lock (controls disabled on the appliance). */
62150
+ childLock: external_exports.boolean(),
62143
62151
  errorCode: external_exports.number().nullable(),
62144
62152
  errorLabel: external_exports.string().nullable(),
62145
62153
  lastFetchedAt: external_exports.number()
@@ -62191,6 +62199,34 @@ var dishwasherCapability = {
62191
62199
  kind: "mutation",
62192
62200
  auth: "protected"
62193
62201
  }),
62202
+ setExtraDry: method(external_exports.object({
62203
+ deviceId: external_exports.number().int().nonnegative(),
62204
+ on: external_exports.boolean()
62205
+ }), external_exports.void(), {
62206
+ kind: "mutation",
62207
+ auth: "protected"
62208
+ }),
62209
+ setIntensiveZone: method(external_exports.object({
62210
+ deviceId: external_exports.number().int().nonnegative(),
62211
+ on: external_exports.boolean()
62212
+ }), external_exports.void(), {
62213
+ kind: "mutation",
62214
+ auth: "protected"
62215
+ }),
62216
+ setVarioSpeedPlus: method(external_exports.object({
62217
+ deviceId: external_exports.number().int().nonnegative(),
62218
+ on: external_exports.boolean()
62219
+ }), external_exports.void(), {
62220
+ kind: "mutation",
62221
+ auth: "protected"
62222
+ }),
62223
+ setChildLock: method(external_exports.object({
62224
+ deviceId: external_exports.number().int().nonnegative(),
62225
+ on: external_exports.boolean()
62226
+ }), external_exports.void(), {
62227
+ kind: "mutation",
62228
+ auth: "protected"
62229
+ }),
62194
62230
  setOption: method(external_exports.object({
62195
62231
  deviceId: external_exports.number().int().nonnegative(),
62196
62232
  key: external_exports.string().min(1),
@@ -73988,6 +74024,18 @@ var METHOD_ACCESS_MAP = Object.freeze({
73988
74024
  addonId: null,
73989
74025
  access: "create"
73990
74026
  },
74027
+ "dishwasher.setChildLock": {
74028
+ capName: "dishwasher",
74029
+ capScope: "device",
74030
+ addonId: null,
74031
+ access: "create"
74032
+ },
74033
+ "dishwasher.setExtraDry": {
74034
+ capName: "dishwasher",
74035
+ capScope: "device",
74036
+ addonId: null,
74037
+ access: "create"
74038
+ },
73991
74039
  "dishwasher.setHalfLoad": {
73992
74040
  capName: "dishwasher",
73993
74041
  capScope: "device",
@@ -74000,6 +74048,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
74000
74048
  addonId: null,
74001
74049
  access: "create"
74002
74050
  },
74051
+ "dishwasher.setIntensiveZone": {
74052
+ capName: "dishwasher",
74053
+ capScope: "device",
74054
+ addonId: null,
74055
+ access: "create"
74056
+ },
74003
74057
  "dishwasher.setOption": {
74004
74058
  capName: "dishwasher",
74005
74059
  capScope: "device",
@@ -74018,6 +74072,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
74018
74072
  addonId: null,
74019
74073
  access: "create"
74020
74074
  },
74075
+ "dishwasher.setVarioSpeedPlus": {
74076
+ capName: "dishwasher",
74077
+ capScope: "device",
74078
+ addonId: null,
74079
+ access: "create"
74080
+ },
74021
74081
  "dishwasher.start": {
74022
74082
  capName: "dishwasher",
74023
74083
  capScope: "device",
@@ -80717,6 +80777,16 @@ var METHOD_DEVICE_SELECTORS = Object.freeze({
80717
80777
  form: "single",
80718
80778
  optional: false
80719
80779
  }],
80780
+ "dishwasher.setChildLock": [{
80781
+ name: "deviceId",
80782
+ form: "single",
80783
+ optional: false
80784
+ }],
80785
+ "dishwasher.setExtraDry": [{
80786
+ name: "deviceId",
80787
+ form: "single",
80788
+ optional: false
80789
+ }],
80720
80790
  "dishwasher.setHalfLoad": [{
80721
80791
  name: "deviceId",
80722
80792
  form: "single",
@@ -80727,6 +80797,11 @@ var METHOD_DEVICE_SELECTORS = Object.freeze({
80727
80797
  form: "single",
80728
80798
  optional: false
80729
80799
  }],
80800
+ "dishwasher.setIntensiveZone": [{
80801
+ name: "deviceId",
80802
+ form: "single",
80803
+ optional: false
80804
+ }],
80730
80805
  "dishwasher.setOption": [{
80731
80806
  name: "deviceId",
80732
80807
  form: "single",
@@ -80742,6 +80817,11 @@ var METHOD_DEVICE_SELECTORS = Object.freeze({
80742
80817
  form: "single",
80743
80818
  optional: false
80744
80819
  }],
80820
+ "dishwasher.setVarioSpeedPlus": [{
80821
+ name: "deviceId",
80822
+ form: "single",
80823
+ optional: false
80824
+ }],
80745
80825
  "dishwasher.start": [{
80746
80826
  name: "deviceId",
80747
80827
  form: "single",
@@ -87103,7 +87183,9 @@ function buildCommands() {
87103
87183
  " -n, --namespace <ns> Ignored (kept so old scripts do not fail): hubs are found over mDNS",
87104
87184
  " -u, --username <name> Username (skips prompt)",
87105
87185
  " -p, --password <pwd> Password (skips prompt \u2014 prefer letting the CLI prompt)",
87106
- ` --token-name <name> Ignored (kept for scripts); login uses your hub session JWT`
87186
+ ` --token-name <name> Ignored (kept for scripts); login uses your hub session JWT`,
87187
+ " --admin Ignored (kept for muscle memory); admin follows your account role",
87188
+ " --admin-days <n> Ignored (kept for muscle memory); no separate admin-token mint"
87107
87189
  ].join("\n")
87108
87190
  },
87109
87191
  {
@@ -87328,6 +87410,8 @@ async function runLogin(args) {
87328
87410
  username: { type: "string", short: "u" },
87329
87411
  password: { type: "string", short: "p" },
87330
87412
  "token-name": { type: "string" },
87413
+ // Accepted-and-ignored: role comes from the logged-in user (D884). Operators
87414
+ // still type `camstack login --admin <host>` from muscle memory — never fail.
87331
87415
  admin: { type: "boolean" },
87332
87416
  "admin-days": { type: "string" },
87333
87417
  // Accepted-and-ignored: `--no-verify` is a `deploy`-only flag (skip the
@@ -87350,13 +87434,6 @@ async function runLogin(args) {
87350
87434
  if (stringOpt(parsed.values, "namespace") !== void 0) {
87351
87435
  console.warn("--namespace is ignored: hubs are found over mDNS, not the mesh channel.");
87352
87436
  }
87353
- const admin = boolOpt(parsed.values, "admin");
87354
- const adminDaysRaw = stringOpt(parsed.values, "admin-days");
87355
- if (admin || adminDaysRaw !== void 0) {
87356
- throw new Error(
87357
- "`camstack login` is the only login command \u2014 your account role decides admin access (--admin was removed)."
87358
- );
87359
- }
87360
87437
  await loginCommand({
87361
87438
  ...explicitServer ? { server: explicitServer } : {},
87362
87439
  ...optionalString(parsed.values, "username"),