@mnemopay/langchain 1.0.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.d.ts +18 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +23 -0
- package/dist/index.js.map +1 -0
- package/package.json +44 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @mnemopay/langchain — LangChain/LangGraph tools for MnemoPay.
|
|
3
|
+
*
|
|
4
|
+
* Drop-in memory + wallet tools for createReactAgent:
|
|
5
|
+
*
|
|
6
|
+
* ```ts
|
|
7
|
+
* import { mnemoTools, agentPayTools } from "@mnemopay/langchain";
|
|
8
|
+
* import { MnemoPay } from "@mnemopay/sdk";
|
|
9
|
+
*
|
|
10
|
+
* const agent = new MnemoPay({ apiKey: "..." });
|
|
11
|
+
* const graph = createReactAgent({
|
|
12
|
+
* llm,
|
|
13
|
+
* tools: [...mnemoTools(agent), ...agentPayTools(agent)],
|
|
14
|
+
* });
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
export { mnemoTools, agentPayTools } from "@mnemopay/sdk/langgraph";
|
|
18
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.agentPayTools = exports.mnemoTools = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* @mnemopay/langchain — LangChain/LangGraph tools for MnemoPay.
|
|
6
|
+
*
|
|
7
|
+
* Drop-in memory + wallet tools for createReactAgent:
|
|
8
|
+
*
|
|
9
|
+
* ```ts
|
|
10
|
+
* import { mnemoTools, agentPayTools } from "@mnemopay/langchain";
|
|
11
|
+
* import { MnemoPay } from "@mnemopay/sdk";
|
|
12
|
+
*
|
|
13
|
+
* const agent = new MnemoPay({ apiKey: "..." });
|
|
14
|
+
* const graph = createReactAgent({
|
|
15
|
+
* llm,
|
|
16
|
+
* tools: [...mnemoTools(agent), ...agentPayTools(agent)],
|
|
17
|
+
* });
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
var langgraph_1 = require("@mnemopay/sdk/langgraph");
|
|
21
|
+
Object.defineProperty(exports, "mnemoTools", { enumerable: true, get: function () { return langgraph_1.mnemoTools; } });
|
|
22
|
+
Object.defineProperty(exports, "agentPayTools", { enumerable: true, get: function () { return langgraph_1.agentPayTools; } });
|
|
23
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;GAeG;AACH,qDAAoE;AAA3D,uGAAA,UAAU,OAAA;AAAE,0GAAA,aAAa,OAAA"}
|
package/package.json
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@mnemopay/langchain",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "MnemoPay tools for LangChain/LangGraph — agent memory + wallet",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"import": "./dist/index.js",
|
|
10
|
+
"types": "./dist/index.d.ts"
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"files": [
|
|
14
|
+
"dist",
|
|
15
|
+
"README.md"
|
|
16
|
+
],
|
|
17
|
+
"scripts": {
|
|
18
|
+
"build": "tsc",
|
|
19
|
+
"prepublishOnly": "npm run build"
|
|
20
|
+
},
|
|
21
|
+
"keywords": [
|
|
22
|
+
"langchain",
|
|
23
|
+
"langgraph",
|
|
24
|
+
"mnemopay",
|
|
25
|
+
"agent",
|
|
26
|
+
"memory",
|
|
27
|
+
"wallet",
|
|
28
|
+
"tools"
|
|
29
|
+
],
|
|
30
|
+
"author": "Jerry Omiagbo <jeremiah@getbizsuite.com>",
|
|
31
|
+
"license": "MIT",
|
|
32
|
+
"repository": {
|
|
33
|
+
"type": "git",
|
|
34
|
+
"url": "https://github.com/mnemopay/mnemopay-sdk.git",
|
|
35
|
+
"directory": "integrations/langchain"
|
|
36
|
+
},
|
|
37
|
+
"homepage": "https://github.com/mnemopay/mnemopay-sdk/tree/main/integrations/langchain",
|
|
38
|
+
"peerDependencies": {
|
|
39
|
+
"@langchain/core": ">=0.3.0"
|
|
40
|
+
},
|
|
41
|
+
"dependencies": {
|
|
42
|
+
"@mnemopay/sdk": "^0.4.0"
|
|
43
|
+
}
|
|
44
|
+
}
|