@agentstep/gateway 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.
- package/dist/gateway.js +7 -5
- package/package.json +1 -1
package/dist/gateway.js
CHANGED
|
@@ -223292,7 +223292,7 @@ var init_models = __esm({
|
|
|
223292
223292
|
}
|
|
223293
223293
|
});
|
|
223294
223294
|
|
|
223295
|
-
// ../agent-sdk/dist/chunk-
|
|
223295
|
+
// ../agent-sdk/dist/chunk-4Z3XBX37.js
|
|
223296
223296
|
function getAgentTenantId2(id) {
|
|
223297
223297
|
const row = getDb().prepare(`SELECT tenant_id FROM agents WHERE id = ?`).get(id);
|
|
223298
223298
|
return row?.tenant_id;
|
|
@@ -223389,8 +223389,10 @@ async function resolveSkillInputs(skills2, nowIso) {
|
|
|
223389
223389
|
installed_at: nowIso
|
|
223390
223390
|
});
|
|
223391
223391
|
} catch (err) {
|
|
223392
|
+
const msg = err instanceof Error ? err.message : String(err);
|
|
223393
|
+
console.warn(`[agents] failed to fetch Anthropic skill "${skillName}":`, msg);
|
|
223392
223394
|
throw badRequest(
|
|
223393
|
-
`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`
|
|
223395
|
+
`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`
|
|
223394
223396
|
);
|
|
223395
223397
|
}
|
|
223396
223398
|
} else {
|
|
@@ -223615,8 +223617,8 @@ function handleListAgentVersions(request2, id) {
|
|
|
223615
223617
|
});
|
|
223616
223618
|
}
|
|
223617
223619
|
var InlineSkillSchema, RefSkillSchema, SkillSchema, ToolSchema, ModelConfigSchema2, TEXT_EXTENSIONS2, CreateSchema3, UpdateSchema3;
|
|
223618
|
-
var
|
|
223619
|
-
"../agent-sdk/dist/chunk-
|
|
223620
|
+
var init_chunk_4Z3XBX37 = __esm({
|
|
223621
|
+
"../agent-sdk/dist/chunk-4Z3XBX37.js"() {
|
|
223620
223622
|
"use strict";
|
|
223621
223623
|
init_chunk_23UKWXJH();
|
|
223622
223624
|
init_chunk_HZY43FS6();
|
|
@@ -224712,7 +224714,7 @@ var init_handlers3 = __esm({
|
|
|
224712
224714
|
init_chunk_PZRRE4CA();
|
|
224713
224715
|
init_chunk_NWIMPG4M();
|
|
224714
224716
|
init_chunk_STPT3SWU();
|
|
224715
|
-
|
|
224717
|
+
init_chunk_4Z3XBX37();
|
|
224716
224718
|
init_chunk_XWWKOIA5();
|
|
224717
224719
|
init_chunk_BSRT6GK5();
|
|
224718
224720
|
init_chunk_HQMQHYZB();
|
package/package.json
CHANGED