@arvo-tools/agentic 0.2.0 → 0.3.0

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.js CHANGED
@@ -1,6 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.hello = void 0;
4
- var hello = function () { return 'world'; };
5
- exports.hello = hello;
3
+ exports.AgentToolResultContentSchema = exports.AgentToolCallContentSchema = exports.AgentTextContentSchema = exports.AgentMessageSchema = exports.AgentMessageContentSchema = exports.AgentMediaContentSchema = exports.AgentDefaults = exports.createArvoAgent = void 0;
4
+ var Agent_1 = require("./Agent");
5
+ Object.defineProperty(exports, "createArvoAgent", { enumerable: true, get: function () { return Agent_1.createArvoAgent; } });
6
+ var AgentDefaults_1 = require("./Agent/AgentDefaults");
7
+ Object.defineProperty(exports, "AgentDefaults", { enumerable: true, get: function () { return AgentDefaults_1.AgentDefaults; } });
8
+ var schema_1 = require("./Agent/schema");
9
+ Object.defineProperty(exports, "AgentMediaContentSchema", { enumerable: true, get: function () { return schema_1.AgentMediaContentSchema; } });
10
+ Object.defineProperty(exports, "AgentMessageContentSchema", { enumerable: true, get: function () { return schema_1.AgentMessageContentSchema; } });
11
+ Object.defineProperty(exports, "AgentMessageSchema", { enumerable: true, get: function () { return schema_1.AgentMessageSchema; } });
12
+ Object.defineProperty(exports, "AgentTextContentSchema", { enumerable: true, get: function () { return schema_1.AgentTextContentSchema; } });
13
+ Object.defineProperty(exports, "AgentToolCallContentSchema", { enumerable: true, get: function () { return schema_1.AgentToolCallContentSchema; } });
14
+ Object.defineProperty(exports, "AgentToolResultContentSchema", { enumerable: true, get: function () { return schema_1.AgentToolResultContentSchema; } });
6
15
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAO,IAAM,KAAK,GAAG,cAAM,OAAA,OAAO,EAAP,CAAO,CAAC;AAAtB,QAAA,KAAK,SAAiB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,iCAA0C;AAAjC,wGAAA,eAAe,OAAA;AAExB,uDAAsD;AAA7C,8GAAA,aAAa,OAAA;AAEtB,yCAOwB;AANtB,iHAAA,uBAAuB,OAAA;AACvB,mHAAA,yBAAyB,OAAA;AACzB,4GAAA,kBAAkB,OAAA;AAClB,gHAAA,sBAAsB,OAAA;AACtB,oHAAA,0BAA0B,OAAA;AAC1B,sHAAA,4BAA4B,OAAA"}
@@ -0,0 +1,26 @@
1
+ import type { OtelInfoType } from './types';
2
+ export interface IMCPClient {
3
+ connect: (config: {
4
+ otelInfo: OtelInfoType;
5
+ }) => Promise<void>;
6
+ invokeTool: (param: {
7
+ name: string;
8
+ arguments?: Record<string, unknown> | null;
9
+ }, config: {
10
+ otelInfo: OtelInfoType;
11
+ }) => Promise<string>;
12
+ disconnect: (config: {
13
+ otelInfo: OtelInfoType;
14
+ }) => Promise<void>;
15
+ getTools: (config: {
16
+ otelInfo: OtelInfoType;
17
+ }) => Promise<{
18
+ name: string;
19
+ description: string;
20
+ inputSchema: Record<string, any>;
21
+ }[]>;
22
+ getToolPriority(config: {
23
+ otelInfo: OtelInfoType;
24
+ }): Promise<Record<string, number>>;
25
+ }
26
+ //# sourceMappingURL=interfaces.mcp.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interfaces.mcp.d.ts","sourceRoot":"","sources":["../src/interfaces.mcp.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAE5C,MAAM,WAAW,UAAU;IACzB,OAAO,EAAE,CAAC,MAAM,EAAE;QAAE,QAAQ,EAAE,YAAY,CAAA;KAAE,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC/D,UAAU,EAAE,CACV,KAAK,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;KAAE,EACnE,MAAM,EAAE;QAAE,QAAQ,EAAE,YAAY,CAAA;KAAE,KAC/B,OAAO,CAAC,MAAM,CAAC,CAAC;IACrB,UAAU,EAAE,CAAC,MAAM,EAAE;QAAE,QAAQ,EAAE,YAAY,CAAA;KAAE,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAClE,QAAQ,EAAE,CAAC,MAAM,EAAE;QAAE,QAAQ,EAAE,YAAY,CAAA;KAAE,KAAK,OAAO,CACvD;QACE,IAAI,EAAE,MAAM,CAAC;QACb,WAAW,EAAE,MAAM,CAAC;QAEpB,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;KAClC,EAAE,CACJ,CAAC;IACF,eAAe,CAAC,MAAM,EAAE;QAAE,QAAQ,EAAE,YAAY,CAAA;KAAE,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;CACtF"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=interfaces.mcp.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interfaces.mcp.js","sourceRoot":"","sources":["../src/interfaces.mcp.ts"],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
1
+ import type { Span } from '@opentelemetry/api';
2
+ import type { OpenTelemetryHeaders } from 'arvo-core';
3
+ export type OtelInfoType = {
4
+ span: Span;
5
+ headers: OpenTelemetryHeaders;
6
+ };
7
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAEtD,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,EAAE,IAAI,CAAC;IACX,OAAO,EAAE,oBAAoB,CAAC;CAC/B,CAAC"}
package/dist/types.js ADDED
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arvo-tools/agentic",
3
- "version": "0.2.0",
3
+ "version": "0.3.0",
4
4
  "description": "Agentic toolset for building applications using arvo-core and arvo-event-handler",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -25,8 +25,14 @@
25
25
  "access": "public"
26
26
  },
27
27
  "dependencies": {
28
+ "@arizeai/openinference-semantic-conventions": "^2.1.2",
29
+ "@opentelemetry/api": "1.9.0",
28
30
  "arvo-core": "^3.0.19",
29
- "arvo-event-handler": "^3.0.19"
31
+ "arvo-event-handler": "^3.0.19",
32
+ "openai": "^6.9.1",
33
+ "uuid": "^13.0.0",
34
+ "zod": "^3.25.74",
35
+ "zod-to-json-schema": "^3.24.6"
30
36
  },
31
37
  "devDependencies": {
32
38
  "@types/node": "^24.10.1"