@inkeep/agents-core 0.0.0-dev-20251014201448 → 0.0.0-dev-20251014205050
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/index.cjs +0 -5
- package/dist/index.js +0 -5
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -215693,7 +215693,6 @@ var CredentialStuffer = class {
|
|
|
215693
215693
|
if (mcpType === MCPServerType.nango) {
|
|
215694
215694
|
return {
|
|
215695
215695
|
headers: {
|
|
215696
|
-
// For Nango MCP, authenticate with the Nango secret key
|
|
215697
215696
|
Authorization: `Bearer ${nangoCredentialData.secretKey}`,
|
|
215698
215697
|
"provider-config-key": nangoCredentialData.providerConfigKey,
|
|
215699
215698
|
"connection-id": nangoCredentialData.connectionId
|
|
@@ -217430,7 +217429,6 @@ function createApiError({
|
|
|
217430
217429
|
const status = errorCodeToHttpStatus[code];
|
|
217431
217430
|
const title = getTitleFromCode(code);
|
|
217432
217431
|
const problemDetails = {
|
|
217433
|
-
// type,
|
|
217434
217432
|
title,
|
|
217435
217433
|
status,
|
|
217436
217434
|
detail: message,
|
|
@@ -221353,10 +221351,8 @@ function determineMimeTypes(artifact) {
|
|
|
221353
221351
|
function sanitizeArtifactForDatabase(artifact) {
|
|
221354
221352
|
return {
|
|
221355
221353
|
...artifact,
|
|
221356
|
-
// Ensure text fields don't exceed reasonable limits
|
|
221357
221354
|
name: artifact.name?.slice(0, 255) || void 0,
|
|
221358
221355
|
description: artifact.description?.slice(0, 1e3) || void 0,
|
|
221359
|
-
// Clean any undefined values from JSON fields
|
|
221360
221356
|
parts: artifact.parts ? JSON.parse(JSON.stringify(artifact.parts)) : null,
|
|
221361
221357
|
metadata: artifact.metadata ? JSON.parse(JSON.stringify(artifact.metadata)) : null
|
|
221362
221358
|
};
|
|
@@ -221463,7 +221459,6 @@ var addLedgerArtifacts = (db) => async (params) => {
|
|
|
221463
221459
|
description: sanitizedArt.description,
|
|
221464
221460
|
parts: sanitizedArt.parts,
|
|
221465
221461
|
metadata: sanitizedArt.metadata,
|
|
221466
|
-
// extra (optional) ledger fields
|
|
221467
221462
|
summary: sanitizedArt.description?.slice(0, 200) ?? null,
|
|
221468
221463
|
mime: determineMimeTypes(sanitizedArt),
|
|
221469
221464
|
// Simple string fallback until we debug the issue
|
package/dist/index.js
CHANGED
|
@@ -213420,7 +213420,6 @@ var CredentialStuffer = class {
|
|
|
213420
213420
|
if (mcpType === MCPServerType.nango) {
|
|
213421
213421
|
return {
|
|
213422
213422
|
headers: {
|
|
213423
|
-
// For Nango MCP, authenticate with the Nango secret key
|
|
213424
213423
|
Authorization: `Bearer ${nangoCredentialData.secretKey}`,
|
|
213425
213424
|
"provider-config-key": nangoCredentialData.providerConfigKey,
|
|
213426
213425
|
"connection-id": nangoCredentialData.connectionId
|
|
@@ -215157,7 +215156,6 @@ function createApiError({
|
|
|
215157
215156
|
const status = errorCodeToHttpStatus[code];
|
|
215158
215157
|
const title = getTitleFromCode(code);
|
|
215159
215158
|
const problemDetails = {
|
|
215160
|
-
// type,
|
|
215161
215159
|
title,
|
|
215162
215160
|
status,
|
|
215163
215161
|
detail: message,
|
|
@@ -218861,10 +218859,8 @@ function determineMimeTypes(artifact) {
|
|
|
218861
218859
|
function sanitizeArtifactForDatabase(artifact) {
|
|
218862
218860
|
return {
|
|
218863
218861
|
...artifact,
|
|
218864
|
-
// Ensure text fields don't exceed reasonable limits
|
|
218865
218862
|
name: artifact.name?.slice(0, 255) || void 0,
|
|
218866
218863
|
description: artifact.description?.slice(0, 1e3) || void 0,
|
|
218867
|
-
// Clean any undefined values from JSON fields
|
|
218868
218864
|
parts: artifact.parts ? JSON.parse(JSON.stringify(artifact.parts)) : null,
|
|
218869
218865
|
metadata: artifact.metadata ? JSON.parse(JSON.stringify(artifact.metadata)) : null
|
|
218870
218866
|
};
|
|
@@ -218971,7 +218967,6 @@ var addLedgerArtifacts = (db) => async (params) => {
|
|
|
218971
218967
|
description: sanitizedArt.description,
|
|
218972
218968
|
parts: sanitizedArt.parts,
|
|
218973
218969
|
metadata: sanitizedArt.metadata,
|
|
218974
|
-
// extra (optional) ledger fields
|
|
218975
218970
|
summary: sanitizedArt.description?.slice(0, 200) ?? null,
|
|
218976
218971
|
mime: determineMimeTypes(sanitizedArt),
|
|
218977
218972
|
// Simple string fallback until we debug the issue
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inkeep/agents-core",
|
|
3
|
-
"version": "0.0.0-dev-
|
|
3
|
+
"version": "0.0.0-dev-20251014205050",
|
|
4
4
|
"description": "Agents Core contains the database schema, types, and validation schemas for Inkeep Agent Framework, along with core components.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.md",
|