@blaxel/core 0.2.22 → 0.2.23-dev.168

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.
@@ -66,8 +66,10 @@ class SandboxAction {
66
66
  return (0, internal_js_1.getForcedUrl)('sandbox', this.name);
67
67
  }
68
68
  get url() {
69
- if (this.forcedUrl)
70
- return this.forcedUrl.toString();
69
+ if (this.forcedUrl) {
70
+ const url = this.forcedUrl.toString();
71
+ return url.endsWith('/') ? url.slice(0, -1) : url;
72
+ }
71
73
  // Uncomment and use this when agent and mcp are available in mk3
72
74
  // Update all requests made in this package to use fallbackUrl when internalUrl is not working
73
75
  // if (settings.runInternalHostname) return this.internalUrl;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blaxel/core",
3
- "version": "0.2.22",
3
+ "version": "0.2.23-dev.168",
4
4
  "description": "Blaxel Core SDK for TypeScript",
5
5
  "license": "MIT",
6
6
  "author": "Blaxel, INC (https://blaxel.ai)",