agentbox-sdk 0.1.307 → 0.1.308

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.
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Agent
3
- } from "../chunk-7GOUX3OB.js";
3
+ } from "../chunk-T3RBNOSE.js";
4
4
  import "../chunk-ZDSHOGJ4.js";
5
5
  import {
6
6
  AGENT_RESERVED_PORTS,
@@ -1152,7 +1152,14 @@ async function activateRtk(target) {
1152
1152
  const env = rtkRedirectEnv(target);
1153
1153
  const dirsToEnsure = [target.layout.claudeDir, target.layout.codexDir].map((d) => `'${d}'`).join(" ");
1154
1154
  const cmd = `mkdir -p ${dirsToEnsure} && rtk init -g ${args}`.trim();
1155
- await target.runCommand(cmd, env);
1155
+ try {
1156
+ await target.runCommand(cmd, env);
1157
+ } catch (error) {
1158
+ const message = error instanceof Error ? error.message : String(error);
1159
+ console.warn(
1160
+ `[rtk] activation failed for ${target.provider}; agent will run without the token-saving proxy: ${message}`
1161
+ );
1162
+ }
1156
1163
  }
1157
1164
 
1158
1165
  // src/agents/config/setup-manifest.ts
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Agent
3
- } from "./chunk-7GOUX3OB.js";
3
+ } from "./chunk-T3RBNOSE.js";
4
4
  import {
5
5
  ProviderLogAssembler,
6
6
  createNormalizedEvent,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentbox-sdk",
3
- "version": "0.1.307",
3
+ "version": "0.1.308",
4
4
  "description": "Swappable coding agents and sandbox providers for Bun and TypeScript.",
5
5
  "license": "MIT",
6
6
  "repository": {