@hashgraphonline/standards-agent-kit 0.2.124 → 0.2.125
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/cjs/standards-agent-kit.cjs +1 -1
- package/dist/cjs/standards-agent-kit.cjs.map +1 -1
- package/dist/es/standards-agent-kit.es34.js +1 -1
- package/dist/es/standards-agent-kit.es34.js.map +1 -1
- package/dist/es/standards-agent-kit.es35.js +1 -1
- package/dist/es/standards-agent-kit.es35.js.map +1 -1
- package/dist/es/standards-agent-kit.es36.js +1 -1
- package/dist/es/standards-agent-kit.es36.js.map +1 -1
- package/dist/es/standards-agent-kit.es37.js +1 -1
- package/dist/es/standards-agent-kit.es37.js.map +1 -1
- package/dist/umd/standards-agent-kit.umd.js +1 -1
- package/dist/umd/standards-agent-kit.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/tools/inscriber/InscribeFromBufferTool.ts +1 -1
- package/src/tools/inscriber/InscribeFromFileTool.ts +1 -1
- package/src/tools/inscriber/InscribeFromUrlTool.ts +1 -1
- package/src/tools/inscriber/InscribeHashinalTool.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hashgraphonline/standards-agent-kit",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.125",
|
|
4
4
|
"description": "A modular SDK for building on-chain autonomous agents using Hashgraph Online Standards, including HCS-10 for agent discovery and communication.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/cjs/standards-agent-kit.cjs",
|
|
@@ -126,7 +126,7 @@ export class InscribeFromBufferTool extends BaseInscriberQueryTool<
|
|
|
126
126
|
mimeType: resolvedMimeType,
|
|
127
127
|
sizeBytes: buffer.length,
|
|
128
128
|
},
|
|
129
|
-
message: `Quote
|
|
129
|
+
message: `Estimated Quote for buffer content: ${resolvedFileName} (${(buffer.length / 1024).toFixed(2)} KB)\nTotal cost: ${quote.totalCostHbar} HBAR`,
|
|
130
130
|
};
|
|
131
131
|
} catch (error) {
|
|
132
132
|
const errorMessage =
|
|
@@ -199,7 +199,7 @@ export class InscribeFromFileTool extends BaseInscriberQueryTool<
|
|
|
199
199
|
sizeBytes: fileContent.length,
|
|
200
200
|
filePath: params.filePath,
|
|
201
201
|
},
|
|
202
|
-
message: `Quote
|
|
202
|
+
message: `Estimated Quote for file: ${fileName} (${(
|
|
203
203
|
fileContent.length / 1024
|
|
204
204
|
).toFixed(2)} KB)\nTotal cost: ${
|
|
205
205
|
quote.totalCostHbar
|
|
@@ -207,7 +207,7 @@ export class InscribeFromUrlTool extends BaseInscriberQueryTool<typeof inscribeF
|
|
|
207
207
|
contentInfo: {
|
|
208
208
|
url: params.url,
|
|
209
209
|
},
|
|
210
|
-
message: `Quote
|
|
210
|
+
message: `Estimated Quote for URL: ${params.url}\nTotal cost: ${quote.totalCostHbar} HBAR`,
|
|
211
211
|
};
|
|
212
212
|
} catch (error) {
|
|
213
213
|
const errorMessage =
|
|
@@ -120,7 +120,7 @@ export class InscribeHashinalTool extends BaseInscriberQueryTool<typeof inscribe
|
|
|
120
120
|
creator: params.creator,
|
|
121
121
|
type: params.type,
|
|
122
122
|
},
|
|
123
|
-
message: `Quote
|
|
123
|
+
message: `Estimated Quote for Hashinal NFT: ${params.name}\nCreator: ${params.creator}\nTotal cost: ${quote.totalCostHbar} HBAR`,
|
|
124
124
|
};
|
|
125
125
|
} catch (error) {
|
|
126
126
|
const errorMessage =
|