@hashgraphonline/conversational-agent 0.2.207 → 0.2.208
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/esm/index10.js +1 -1
- package/dist/esm/index23.js +1 -1
- package/dist/esm/index33.js +2 -2
- package/dist/esm/index42.js +4 -11
- package/dist/esm/index42.js.map +1 -1
- package/dist/esm/index43.js +11 -4
- package/dist/esm/index43.js.map +1 -1
- package/package.json +2 -2
package/dist/esm/index10.js
CHANGED
|
@@ -3,7 +3,7 @@ import { extractRenderConfigs, generateFieldOrdering } from "@hashgraphonline/st
|
|
|
3
3
|
import { Logger } from "@hashgraphonline/standards-sdk";
|
|
4
4
|
import { fieldTypeRegistry } from "./index12.js";
|
|
5
5
|
import { fieldGuidanceRegistry } from "./index13.js";
|
|
6
|
-
import "./
|
|
6
|
+
import "./index43.js";
|
|
7
7
|
import { FIELD_PRIORITIES } from "./index46.js";
|
|
8
8
|
function isZodObjectSchema(schema) {
|
|
9
9
|
return typeof schema === "object" && schema !== null && "shape" in schema;
|
package/dist/esm/index23.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ChatOpenAI } from "@langchain/openai";
|
|
2
2
|
import { Logger } from "@hashgraphonline/standards-sdk";
|
|
3
|
-
import { ENTITY_PATTERNS } from "./
|
|
3
|
+
import { ENTITY_PATTERNS } from "./index43.js";
|
|
4
4
|
import "hedera-agent-kit";
|
|
5
5
|
import "@hashgraphonline/standards-agent-kit";
|
|
6
6
|
import "./index13.js";
|
package/dist/esm/index33.js
CHANGED
|
@@ -8,8 +8,8 @@ import { MCPClientManager } from "./index15.js";
|
|
|
8
8
|
import { convertMCPToolToLangChain } from "./index17.js";
|
|
9
9
|
import { SmartMemoryManager } from "./index18.js";
|
|
10
10
|
import { ResponseFormatter } from "./index35.js";
|
|
11
|
-
import { ERROR_MESSAGES } from "./
|
|
12
|
-
import "./
|
|
11
|
+
import { ERROR_MESSAGES } from "./index42.js";
|
|
12
|
+
import "./index43.js";
|
|
13
13
|
import { SystemMessage, AIMessage, HumanMessage } from "@langchain/core/messages";
|
|
14
14
|
import { ToolRegistry } from "./index44.js";
|
|
15
15
|
import { ExecutionPipeline } from "./index45.js";
|
package/dist/esm/index42.js
CHANGED
|
@@ -1,15 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
TOKEN_REFERENCE: "the token"
|
|
1
|
+
const ERROR_MESSAGES = {
|
|
2
|
+
TOO_MANY_REQUESTS: "Too many requests. Please wait a moment and try again.",
|
|
3
|
+
RATE_LIMITED: "I'm receiving too many requests right now. Please wait a moment and try again."
|
|
5
4
|
};
|
|
6
|
-
({
|
|
7
|
-
TOPIC: EntityFormat.TOPIC_ID,
|
|
8
|
-
TOKEN: EntityFormat.TOKEN_ID,
|
|
9
|
-
ACCOUNT: EntityFormat.ACCOUNT_ID,
|
|
10
|
-
CONTRACT: EntityFormat.CONTRACT_ID
|
|
11
|
-
});
|
|
12
5
|
export {
|
|
13
|
-
|
|
6
|
+
ERROR_MESSAGES
|
|
14
7
|
};
|
|
15
8
|
//# sourceMappingURL=index42.js.map
|
package/dist/esm/index42.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index42.js","sources":["../../src/constants/
|
|
1
|
+
{"version":3,"file":"index42.js","sources":["../../src/constants/messages.ts"],"sourcesContent":["/**\n * Common error messages and user feedback strings\n */\nexport const ERROR_MESSAGES = {\n TOO_MANY_REQUESTS: 'Too many requests. Please wait a moment and try again.',\n RATE_LIMITED: \"I'm receiving too many requests right now. Please wait a moment and try again.\",\n SYSTEM_ERROR: 'System error occurred',\n INVALID_INPUT: 'Invalid input provided',\n NETWORK_ERROR: 'Network error occurred',\n} as const;\n\n/**\n * Common success and status messages\n */\nexport const STATUS_MESSAGES = {\n OPERATION_SUCCESSFUL: 'Operation completed successfully',\n PROCESSING: 'Processing your request...',\n READY: 'Ready to process requests',\n INITIALIZING: 'Initializing...',\n} as const;"],"names":[],"mappings":"AAGO,MAAM,iBAAiB;AAAA,EAC5B,mBAAmB;AAAA,EACnB,cAAc;AAIhB;"}
|
package/dist/esm/index43.js
CHANGED
|
@@ -1,8 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { EntityFormat } from "./index26.js";
|
|
2
|
+
const ENTITY_PATTERNS = {
|
|
3
|
+
TOPIC_REFERENCE: "the topic",
|
|
4
|
+
TOKEN_REFERENCE: "the token"
|
|
4
5
|
};
|
|
6
|
+
({
|
|
7
|
+
TOPIC: EntityFormat.TOPIC_ID,
|
|
8
|
+
TOKEN: EntityFormat.TOKEN_ID,
|
|
9
|
+
ACCOUNT: EntityFormat.ACCOUNT_ID,
|
|
10
|
+
CONTRACT: EntityFormat.CONTRACT_ID
|
|
11
|
+
});
|
|
5
12
|
export {
|
|
6
|
-
|
|
13
|
+
ENTITY_PATTERNS
|
|
7
14
|
};
|
|
8
15
|
//# sourceMappingURL=index43.js.map
|
package/dist/esm/index43.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index43.js","sources":["../../src/constants/
|
|
1
|
+
{"version":3,"file":"index43.js","sources":["../../src/constants/entity-references.ts"],"sourcesContent":["/**\n * Common entity reference patterns used across the application\n */\nexport const ENTITY_PATTERNS = {\n TOPIC_REFERENCE: 'the topic',\n TOKEN_REFERENCE: 'the token',\n ACCOUNT_REFERENCE: 'the account',\n TRANSACTION_REFERENCE: 'the transaction',\n CONTRACT_REFERENCE: 'the contract',\n} as const;\n\n/**\n * Entity type identifiers\n */\nimport { EntityFormat } from '../services/formatters/types';\n\nexport const ENTITY_TYPES = {\n TOPIC: EntityFormat.TOPIC_ID,\n TOKEN: EntityFormat.TOKEN_ID,\n ACCOUNT: EntityFormat.ACCOUNT_ID,\n TRANSACTION: 'transaction',\n CONTRACT: EntityFormat.CONTRACT_ID,\n} as const;\n"],"names":[],"mappings":";AAGO,MAAM,kBAAkB;AAAA,EAC7B,iBAAiB;AAAA,EACjB,iBAAiB;AAInB;AAAA,CAO4B;AAAA,EAC1B,OAAO,aAAa;AAAA,EACpB,OAAO,aAAa;AAAA,EACpB,SAAS,aAAa;AAAA,EAEtB,UAAU,aAAa;AACzB;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hashgraphonline/conversational-agent",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.208",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/cjs/index.cjs",
|
|
6
6
|
"module": "./dist/esm/index.js",
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
"dependencies": {
|
|
101
101
|
"@hashgraph/sdk": "^2.72.0",
|
|
102
102
|
"@hashgraphonline/hashinal-wc": "^1.0.107",
|
|
103
|
-
"@hashgraphonline/standards-agent-kit": "^0.2.
|
|
103
|
+
"@hashgraphonline/standards-agent-kit": "^0.2.153",
|
|
104
104
|
"@hashgraphonline/standards-sdk": "0.1.110",
|
|
105
105
|
"@langchain/anthropic": "^0.3.28",
|
|
106
106
|
"@langchain/core": "^0.3.77",
|