@inkeep/agents-core 0.0.0-dev-20251024213857 → 0.0.0-dev-20251024230405
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 +5 -16
- package/dist/index.js +6 -17
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -215867,7 +215867,7 @@ var CredentialStuffer = class {
|
|
|
215867
215867
|
if (!contextConfigId || !conversationId || !this.contextResolver) {
|
|
215868
215868
|
return null;
|
|
215869
215869
|
}
|
|
215870
|
-
const
|
|
215870
|
+
const headersContext = await this.contextResolver.resolveHeaders(
|
|
215871
215871
|
conversationId,
|
|
215872
215872
|
contextConfigId
|
|
215873
215873
|
);
|
|
@@ -215875,7 +215875,7 @@ var CredentialStuffer = class {
|
|
|
215875
215875
|
for (const [key, value] of Object.entries(headers2)) {
|
|
215876
215876
|
resolvedHeaders[key] = TemplateEngine.render(
|
|
215877
215877
|
value,
|
|
215878
|
-
|
|
215878
|
+
{ headers: headersContext },
|
|
215879
215879
|
{ strict: true }
|
|
215880
215880
|
);
|
|
215881
215881
|
}
|
|
@@ -215924,24 +215924,13 @@ var CredentialStuffer = class {
|
|
|
215924
215924
|
headers: tool2.headers || {}
|
|
215925
215925
|
});
|
|
215926
215926
|
}
|
|
215927
|
-
|
|
215927
|
+
return {
|
|
215928
215928
|
type: tool2.transport?.type || MCPTransportType.streamableHttp,
|
|
215929
215929
|
url: tool2.serverUrl,
|
|
215930
215930
|
activeTools: tool2.activeTools,
|
|
215931
|
-
selectedTools
|
|
215931
|
+
selectedTools,
|
|
215932
|
+
headers: credentialHeaders
|
|
215932
215933
|
};
|
|
215933
|
-
if (baseConfig.type === MCPTransportType.streamableHttp || baseConfig.type === MCPTransportType.sse) {
|
|
215934
|
-
const httpConfig = {
|
|
215935
|
-
...baseConfig,
|
|
215936
|
-
url: tool2.serverUrl,
|
|
215937
|
-
headers: {
|
|
215938
|
-
...tool2.headers,
|
|
215939
|
-
...credentialHeaders
|
|
215940
|
-
}
|
|
215941
|
-
};
|
|
215942
|
-
return httpConfig;
|
|
215943
|
-
}
|
|
215944
|
-
return baseConfig;
|
|
215945
215934
|
}
|
|
215946
215935
|
};
|
|
215947
215936
|
function createDatabaseClient(config) {
|
package/dist/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { detectAuthenticationRequired } from './chunk-CK2M5I4Q.js';
|
|
2
2
|
export { ACTIVITY_NAMES, ACTIVITY_STATUS, ACTIVITY_TYPES, AGENT_IDS, AGGREGATE_OPERATORS, AI_OPERATIONS, AI_TOOL_TYPES, DATA_SOURCES, DATA_TYPES, DELEGATION_FROM_SUB_AGENT_ID, DELEGATION_ID, DELEGATION_TO_SUB_AGENT_ID, FIELD_TYPES, OPERATORS, ORDER_DIRECTIONS, PANEL_TYPES, QUERY_DEFAULTS, QUERY_EXPRESSIONS, QUERY_FIELD_CONFIGS, QUERY_TYPES, REDUCE_OPERATIONS, SPAN_KEYS, SPAN_NAMES, TRANSFER_FROM_SUB_AGENT_ID, TRANSFER_TO_SUB_AGENT_ID, UNKNOWN_VALUE, detectAuthenticationRequired, exchangeMcpAuthorizationCode, initiateMcpOAuthFlow } from './chunk-CK2M5I4Q.js';
|
|
3
3
|
export { ANTHROPIC_MODELS, GOOGLE_MODELS, OPENAI_MODELS } from './chunk-MQTANAMG.js';
|
|
4
|
+
export { TaskState } from './chunk-H2F72PDA.js';
|
|
4
5
|
import { getLogger, convertZodToJsonSchema } from './chunk-YECQCT5N.js';
|
|
5
6
|
export { PinoLogger, convertZodToJsonSchema, convertZodToJsonSchemaWithPreview, extractPreviewFields, getLogger, isZodSchema, loggerFactory, preview } from './chunk-YECQCT5N.js';
|
|
6
|
-
export { TaskState } from './chunk-H2F72PDA.js';
|
|
7
7
|
import { validateRender, validateAndTypeAgentData, validateAgentStructure } from './chunk-OSAGBXSF.js';
|
|
8
8
|
export { A2AMessageMetadataSchema, DataOperationDetailsSchema, DataOperationEventSchema, DelegationReturnedDataSchema, DelegationSentDataSchema, TransferDataSchema, generateIdFromName, isValidResourceId, validateAgentRelationships, validateAgentStructure, validateAndTypeAgentData, validateArtifactComponentReferences, validateDataComponentReferences, validateRender, validateSubAgentExternalAgentRelations, validateToolReferences } from './chunk-OSAGBXSF.js';
|
|
9
9
|
import { ContextConfigApiUpdateSchema, validatePropsAsJsonSchema } from './chunk-C2QU7WTO.js';
|
|
@@ -213470,7 +213470,7 @@ var CredentialStuffer = class {
|
|
|
213470
213470
|
if (!contextConfigId || !conversationId || !this.contextResolver) {
|
|
213471
213471
|
return null;
|
|
213472
213472
|
}
|
|
213473
|
-
const
|
|
213473
|
+
const headersContext = await this.contextResolver.resolveHeaders(
|
|
213474
213474
|
conversationId,
|
|
213475
213475
|
contextConfigId
|
|
213476
213476
|
);
|
|
@@ -213478,7 +213478,7 @@ var CredentialStuffer = class {
|
|
|
213478
213478
|
for (const [key, value] of Object.entries(headers2)) {
|
|
213479
213479
|
resolvedHeaders[key] = TemplateEngine.render(
|
|
213480
213480
|
value,
|
|
213481
|
-
|
|
213481
|
+
{ headers: headersContext },
|
|
213482
213482
|
{ strict: true }
|
|
213483
213483
|
);
|
|
213484
213484
|
}
|
|
@@ -213527,24 +213527,13 @@ var CredentialStuffer = class {
|
|
|
213527
213527
|
headers: tool2.headers || {}
|
|
213528
213528
|
});
|
|
213529
213529
|
}
|
|
213530
|
-
|
|
213530
|
+
return {
|
|
213531
213531
|
type: tool2.transport?.type || MCPTransportType.streamableHttp,
|
|
213532
213532
|
url: tool2.serverUrl,
|
|
213533
213533
|
activeTools: tool2.activeTools,
|
|
213534
|
-
selectedTools
|
|
213534
|
+
selectedTools,
|
|
213535
|
+
headers: credentialHeaders
|
|
213535
213536
|
};
|
|
213536
|
-
if (baseConfig.type === MCPTransportType.streamableHttp || baseConfig.type === MCPTransportType.sse) {
|
|
213537
|
-
const httpConfig = {
|
|
213538
|
-
...baseConfig,
|
|
213539
|
-
url: tool2.serverUrl,
|
|
213540
|
-
headers: {
|
|
213541
|
-
...tool2.headers,
|
|
213542
|
-
...credentialHeaders
|
|
213543
|
-
}
|
|
213544
|
-
};
|
|
213545
|
-
return httpConfig;
|
|
213546
|
-
}
|
|
213547
|
-
return baseConfig;
|
|
213548
213537
|
}
|
|
213549
213538
|
};
|
|
213550
213539
|
function createDatabaseClient(config) {
|
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-20251024230405",
|
|
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",
|