@wayai/cli 0.3.298 → 0.3.300

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/index.js CHANGED
@@ -38444,7 +38444,7 @@ function printCustomerReport(customer, dryRun) {
38444
38444
  console.log(`connections: ${c.connections} (${auth}) http=${c.http} non_default_port=${c.non_default_port} wayai_host=${c.wayai_host} body_placement=${c.body_placement} literal_header_secret=${c.literal_header_secret} secret_url=${c.secret_url}`);
38445
38445
  console.log(`policies (${customer.policies.length}; old ciphertext kept ${customer.undo_days} days for revert):`);
38446
38446
  for (const p of customer.policies) {
38447
- const subject = p.credential_id ? `credential ${p.credential_id}` : "value";
38447
+ const subject = p.credential_id ? `credential ${p.credential_id}` : p.headers ? `literal header ${p.headers.join(", ")} \u2192` : "value";
38448
38448
  console.log(` ${subject} ${p.field}${p.spans_hubs ? " (SPANS HUBS)" : ""}: ${p.reasons.length > 0 ? `stays (${p.reasons.join(", ")})` : dryRun ? "would move" : "approved"}`);
38449
38449
  if (p.policy) {
38450
38450
  if (p.policy.legacy_origin) console.log(" LEGACY ORIGIN (http or another port, moved as it is)");
@@ -38558,7 +38558,8 @@ async function runVaultImport(flagArgs) {
38558
38558
  for (const l of data.legacy_rows ?? []) console.log(` ${l.field} ${l.stored}: rows=${l.rows} (stays as stored: the vault does not hold it)`);
38559
38559
  for (const v of data.values) {
38560
38560
  const expiry = v.expires_at === void 0 ? "" : ` expires_at=${v.expires_at ?? "none"}`;
38561
- console.log(` value ${v.field} \u2192 ${v.secret_id ?? "-"}: ${v.outcome}${v.code ? ` (${v.code})` : ""}${expiry}`);
38561
+ const header = v.headers ? ` (from header ${v.headers.join(", ")})` : "";
38562
+ console.log(` value ${v.field}${header} \u2192 ${v.secret_id ?? "-"}: ${v.outcome}${v.code ? ` (${v.code})` : ""}${expiry}`);
38562
38563
  for (const r of v.rows) console.log(` hub=${r.hub_id} connection=${r.connection_id}: ${r.outcome}`);
38563
38564
  }
38564
38565
  const credentials = data.credentials ?? [];
@@ -40102,7 +40103,10 @@ var init_admin = __esm({
40102
40103
  "54448ab4-7457-436d-ae1a-4d7713130cb9"
40103
40104
  ]],
40104
40105
  ["openrouter", ["4d7e9f23-1a2b-4c3d-9e8f-5a6b7c8d9e0f"]],
40105
- ["xai", ["59b0864f-55ec-4284-9af3-62ebd82e33ce"]]
40106
+ ["xai", ["59b0864f-55ec-4284-9af3-62ebd82e33ce"]],
40107
+ ["rest_api", ["b15fb991-63e1-4a79-a174-d10aa66f4414"]],
40108
+ ["external_resources", ["e8f9a0b1-2c3d-4e5f-6789-0abcdef12345"]],
40109
+ ["mcp", ["f1a2b3c4-d5e6-7890-abcd-ef1234567890"]]
40106
40110
  ]);
40107
40111
  VAULT_GATE_BY_ID_ONLY = /* @__PURE__ */ new Map([
40108
40112
  ["01e7b19c-bc94-43f4-a780-ad5a22fb7127", "openai"]