openmates 0.15.0-alpha.40 → 0.15.0-alpha.42

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.
@@ -15129,20 +15129,34 @@ var ACCOUNT_EXPORT_FORBIDDEN_FIELD_NAMES = /* @__PURE__ */ new Set([
15129
15129
  "api_key",
15130
15130
  "backup_code_hash",
15131
15131
  "chat_key",
15132
+ "chat_key_wrappers",
15132
15133
  "credential_secret",
15133
15134
  "device_key",
15135
+ "embed_key",
15136
+ "embed_key_wrappers",
15137
+ "encrypted_chat_key",
15138
+ "encrypted_embed_key",
15134
15139
  "encrypted_master_key",
15140
+ "encrypted_plan_key",
15141
+ "encrypted_project_key",
15142
+ "encrypted_task_key",
15143
+ "encrypted_workflow_secret_key",
15144
+ "key_wrappers",
15135
15145
  "lookup_hash",
15136
15146
  "master_key",
15147
+ "plan_key",
15137
15148
  "password_hash",
15138
15149
  "private_key",
15150
+ "project_key",
15139
15151
  "raw_key",
15140
15152
  "refresh_token",
15141
15153
  "share_key",
15142
15154
  "signing_secret",
15155
+ "task_key",
15143
15156
  "token_hash",
15144
15157
  "totp_seed",
15145
- "webhook_secret"
15158
+ "webhook_secret",
15159
+ "workflow_secret_key"
15146
15160
  ]);
15147
15161
  var ACCOUNT_EXPORT_REDACTION_CATEGORIES = [
15148
15162
  "api_credentials",
@@ -15232,11 +15246,12 @@ function assertAccountExportTextSafe(content, relativePath) {
15232
15246
  for (const pattern of ACCOUNT_EXPORT_FORBIDDEN_VALUE_PATTERNS) {
15233
15247
  if (pattern.test(content)) throw new Error(`Account export file ${relativePath} contains forbidden secret-like content`);
15234
15248
  }
15235
- for (const field of ACCOUNT_EXPORT_FORBIDDEN_FIELD_NAMES) {
15236
- if (new RegExp(`"?${field}"?\\s*:`, "i").test(content)) {
15249
+ ACCOUNT_EXPORT_FORBIDDEN_FIELD_NAMES.forEach((field) => {
15250
+ const escapedField = field.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
15251
+ if (new RegExp(`(^|[^A-Za-z0-9_])['"]?${escapedField}['"]?\\s*:`, "i").test(content)) {
15237
15252
  throw new Error(`Account export file ${relativePath} contains forbidden secret field '${field}'`);
15238
15253
  }
15239
- }
15254
+ });
15240
15255
  }
15241
15256
  function buildAccountExportReadme(bundle) {
15242
15257
  const selectedDomains = Array.isArray(bundle.manifest.selected_domains) ? bundle.manifest.selected_domains.map(String) : [];
package/dist/cli.js CHANGED
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  getExtForLang,
4
4
  serializeToYaml
5
- } from "./chunk-PAGWFAZH.js";
5
+ } from "./chunk-LSG53OZB.js";
6
6
  import "./chunk-AXNRPVLE.js";
7
7
  export {
8
8
  getExtForLang,
package/dist/index.js CHANGED
@@ -18,7 +18,7 @@ import {
18
18
  reconcileAuthoritativeChats,
19
19
  renderSupportInfo,
20
20
  serializeToYaml
21
- } from "./chunk-PAGWFAZH.js";
21
+ } from "./chunk-LSG53OZB.js";
22
22
  import "./chunk-AXNRPVLE.js";
23
23
  export {
24
24
  APP_SKILL_METADATA,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openmates",
3
- "version": "0.15.0-alpha.40",
3
+ "version": "0.15.0-alpha.42",
4
4
  "description": "OpenMates CLI and SDK",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",