@vama/openclaw 2026.5.5-8 → 2026.5.5-9

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.
@@ -3,7 +3,7 @@ import { i as dispatchStarted, r as dispatchEnded } from "./monitor-BlnFXk24.js"
3
3
  //#region extensions/vama/src/cli-metadata.ts
4
4
  function registerVamaCliMetadata(api) {
5
5
  api.registerCli(async ({ program }) => {
6
- const { registerVamaCli } = await import("./cli-Cvvx81W1.js");
6
+ const { registerVamaCli } = await import("./cli-DY7JS2Ny.js");
7
7
  registerVamaCli({ program });
8
8
  }, { descriptors: [{
9
9
  name: "vama",
package/dist/api.js CHANGED
@@ -1,4 +1,4 @@
1
- import { n as registerVamaCliMetadata, t as registerVamaSubagentKeepaliveHooks } from "./api-BrUg_tjH.js";
1
+ import { n as registerVamaCliMetadata, t as registerVamaSubagentKeepaliveHooks } from "./api-jjxQl66-.js";
2
2
  import { n as probeVama } from "./probe-COpuChEq.js";
3
3
  import { n as sendMessageVama, t as monitorVamaProvider } from "./monitor-BlnFXk24.js";
4
4
  export { monitorVamaProvider, probeVama, registerVamaCliMetadata, registerVamaSubagentKeepaliveHooks, sendMessageVama };
@@ -259,7 +259,15 @@ async function waitForWSConnected(params, deps = {}) {
259
259
  * (dmPolicy, webhookPort, …) are preserved.
260
260
  */
261
261
  function applyVamaConnectCredentials(params) {
262
- const { cfg, accountId } = params;
262
+ const { accountId } = params;
263
+ const gateway = params.cfg.gateway;
264
+ const cfg = gateway && typeof gateway === "object" && gateway.mode !== void 0 ? params.cfg : {
265
+ ...params.cfg,
266
+ gateway: {
267
+ ...gateway,
268
+ mode: "local"
269
+ }
270
+ };
263
271
  const vama = cfg.channels?.vama ?? {};
264
272
  const credentialPatch = {
265
273
  enabled: true,
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { n as registerVamaCliMetadata, t as registerVamaSubagentKeepaliveHooks } from "./api-BrUg_tjH.js";
1
+ import { n as registerVamaCliMetadata, t as registerVamaSubagentKeepaliveHooks } from "./api-jjxQl66-.js";
2
2
  import { n as probeVama } from "./probe-COpuChEq.js";
3
3
  import { n as sendMessageVama, t as monitorVamaProvider } from "./monitor-BlnFXk24.js";
4
4
  import { n as setVamaRuntime } from "./runtime-CQ9kld4S.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vama/openclaw",
3
- "version": "2026.5.5-8",
3
+ "version": "2026.5.5-9",
4
4
  "description": "OpenClaw Vama channel plugin via BotHub",
5
5
  "homepage": "https://web.vama.com/connect-guide",
6
6
  "repository": {