@agentstep/agent-sdk 0.5.21 → 0.5.22

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.
@@ -196,8 +196,10 @@ async function resolveSkillInputs(skills, nowIso) {
196
196
  installed_at: nowIso
197
197
  });
198
198
  } catch (err) {
199
+ const msg = err instanceof Error ? err.message : String(err);
200
+ console.warn(`[agents] failed to fetch Anthropic skill "${skillName}":`, msg);
199
201
  throw badRequest(
200
- `skill "${skillName}" not found in local DB or Anthropic skills repo. Upload it via POST /v1/skills or check the skill_id. Available Anthropic skills: docx, pdf, pptx, xlsx, mcp-builder, frontend-design`
202
+ `skill "${skillName}" not found in local DB or Anthropic skills repo (${msg}). Upload it via POST /v1/skills or check the skill_id. Available Anthropic skills: docx, pdf, pptx, xlsx, mcp-builder, frontend-design`
201
203
  );
202
204
  }
203
205
  } else {
@@ -6,7 +6,7 @@ import {
6
6
  handleListAgentVersions,
7
7
  handleListAgents,
8
8
  handleUpdateAgent
9
- } from "../chunk-EXNZ74GW.js";
9
+ } from "../chunk-4Z3XBX37.js";
10
10
  import "../chunk-23UKWXJH.js";
11
11
  import "../chunk-HZY43FS6.js";
12
12
  import "../chunk-D2XITRN6.js";
@@ -146,7 +146,7 @@ import {
146
146
  handleListAgentVersions,
147
147
  handleListAgents,
148
148
  handleUpdateAgent
149
- } from "../chunk-EXNZ74GW.js";
149
+ } from "../chunk-4Z3XBX37.js";
150
150
  import {
151
151
  handleCreateApiKey,
152
152
  handleGetApiKey,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "license": "Apache-2.0",
3
3
  "name": "@agentstep/agent-sdk",
4
- "version": "0.5.21",
4
+ "version": "0.5.22",
5
5
  "description": "Core engine for AgentStep Gateway \u2014 backends, sandbox providers, session orchestration, and vault encryption.",
6
6
  "keywords": [
7
7
  "anthropic",