@olane/o-tool-registry 0.1.0 → 0.1.1
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/apple/apple.tool.d.ts +16 -16
- package/dist/apple/apple.tool.d.ts.map +1 -1
- package/dist/apple/apple.tool.js +8 -5
- package/dist/apple/index.d.ts +1 -0
- package/dist/apple/index.js +2 -1
- package/dist/apple/notes.tool.d.ts +16 -16
- package/dist/apple/notes.tool.d.ts.map +1 -1
- package/dist/apple/notes.tool.js +36 -9
- package/dist/auth/index.js +19 -4
- package/dist/auth/interfaces/index.js +19 -4
- package/dist/auth/interfaces/oAuth-tokens.interface.js +2 -2
- package/dist/auth/interfaces/oAuth-user-info.interface.js +2 -2
- package/dist/auth/interfaces/oAuth.config.js +2 -2
- package/dist/auth/methods/auth.methods.js +4 -2
- package/dist/auth/oAuth.tool.js +23 -10
- package/dist/embeddings/embeddings.tool.d.ts +16 -16
- package/dist/embeddings/embeddings.tool.d.ts.map +1 -1
- package/dist/embeddings/embeddings.tool.js +8 -5
- package/dist/embeddings/huggingface-text-embeddings.tool.d.ts.map +1 -1
- package/dist/embeddings/huggingface-text-embeddings.tool.js +9 -6
- package/dist/embeddings/index.js +19 -4
- package/dist/embeddings/methods/text-embeddings.method.js +4 -2
- package/dist/embeddings/text-embeddings.tool.d.ts +16 -16
- package/dist/embeddings/text-embeddings.tool.d.ts.map +1 -1
- package/dist/embeddings/text-embeddings.tool.js +10 -7
- package/dist/index.js +22 -7
- package/dist/init.d.ts.map +1 -1
- package/dist/init.js +15 -12
- package/dist/intelligence/anthropic-intelligence.tool.d.ts +46 -16
- package/dist/intelligence/anthropic-intelligence.tool.d.ts.map +1 -1
- package/dist/intelligence/anthropic-intelligence.tool.js +45 -11
- package/dist/intelligence/gemini-intelligence.tool.d.ts +31 -16
- package/dist/intelligence/gemini-intelligence.tool.d.ts.map +1 -1
- package/dist/intelligence/gemini-intelligence.tool.js +31 -11
- package/dist/intelligence/index.js +21 -6
- package/dist/intelligence/intelligence.tool.d.ts +16 -16
- package/dist/intelligence/intelligence.tool.d.ts.map +1 -1
- package/dist/intelligence/intelligence.tool.js +26 -18
- package/dist/intelligence/methods/intelligence.methods.js +4 -2
- package/dist/intelligence/ollama-intelligence.tool.d.ts +37 -16
- package/dist/intelligence/ollama-intelligence.tool.d.ts.map +1 -1
- package/dist/intelligence/ollama-intelligence.tool.js +39 -11
- package/dist/intelligence/openai-intelligence.tool.d.ts +31 -16
- package/dist/intelligence/openai-intelligence.tool.d.ts.map +1 -1
- package/dist/intelligence/openai-intelligence.tool.js +32 -11
- package/dist/intelligence/perplexity-intelligence.tool.d.ts +31 -16
- package/dist/intelligence/perplexity-intelligence.tool.d.ts.map +1 -1
- package/dist/intelligence/perplexity-intelligence.tool.js +33 -11
- package/dist/mcp/index.js +18 -3
- package/dist/mcp/mcp-bridge.tool.d.ts +16 -16
- package/dist/mcp/mcp-bridge.tool.d.ts.map +1 -1
- package/dist/mcp/mcp-bridge.tool.js +36 -19
- package/dist/mcp/mcp.tool.d.ts +14 -14
- package/dist/mcp/mcp.tool.d.ts.map +1 -1
- package/dist/mcp/mcp.tool.js +15 -7
- package/dist/mcp/methods/mcp-bridge.methods.js +4 -2
- package/dist/nlp/index.js +17 -2
- package/dist/nlp/methods/nlp.methods.js +4 -2
- package/dist/nlp/ner.tool.d.ts +16 -16
- package/dist/nlp/ner.tool.d.ts.map +1 -1
- package/dist/nlp/ner.tool.js +11 -8
- package/dist/vector-store/index.js +18 -3
- package/dist/vector-store/langchain-memory.vector-store.tool.d.ts.map +1 -1
- package/dist/vector-store/langchain-memory.vector-store.tool.js +13 -10
- package/dist/vector-store/methods/vector-store.methods.js +4 -2
- package/dist/vector-store/vector-memory.tool.d.ts +16 -16
- package/dist/vector-store/vector-memory.tool.d.ts.map +1 -1
- package/dist/vector-store/vector-memory.tool.js +10 -7
- package/package.json +14 -21
- package/dist/apple/apple.tool.js.map +0 -1
- package/dist/apple/index.js.map +0 -1
- package/dist/apple/notes.tool.js.map +0 -1
- package/dist/auth/index.js.map +0 -1
- package/dist/auth/interfaces/index.js.map +0 -1
- package/dist/auth/interfaces/oAuth-tokens.interface.js.map +0 -1
- package/dist/auth/interfaces/oAuth-user-info.interface.js.map +0 -1
- package/dist/auth/interfaces/oAuth.config.js.map +0 -1
- package/dist/auth/methods/auth.methods.js.map +0 -1
- package/dist/auth/oAuth.tool.js.map +0 -1
- package/dist/embeddings/embeddings.tool.js.map +0 -1
- package/dist/embeddings/huggingface-text-embeddings.tool.js.map +0 -1
- package/dist/embeddings/index.js.map +0 -1
- package/dist/embeddings/methods/text-embeddings.method.js.map +0 -1
- package/dist/embeddings/text-embeddings.tool.js.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/init.js.map +0 -1
- package/dist/intelligence/anthropic-intelligence.tool.js.map +0 -1
- package/dist/intelligence/gemini-intelligence.tool.js.map +0 -1
- package/dist/intelligence/index.js.map +0 -1
- package/dist/intelligence/intelligence.tool.js.map +0 -1
- package/dist/intelligence/methods/intelligence.methods.js.map +0 -1
- package/dist/intelligence/ollama-intelligence.tool.js.map +0 -1
- package/dist/intelligence/openai-intelligence.tool.js.map +0 -1
- package/dist/intelligence/perplexity-intelligence.tool.js.map +0 -1
- package/dist/mcp/index.js.map +0 -1
- package/dist/mcp/mcp-bridge.tool.js.map +0 -1
- package/dist/mcp/mcp.tool.js.map +0 -1
- package/dist/mcp/methods/mcp-bridge.methods.js.map +0 -1
- package/dist/nlp/index.js.map +0 -1
- package/dist/nlp/methods/nlp.methods.js.map +0 -1
- package/dist/nlp/ner.tool.js.map +0 -1
- package/dist/tsconfig.tsbuildinfo +0 -1
- package/dist/vector-store/index.js.map +0 -1
- package/dist/vector-store/langchain-memory.vector-store.tool.js.map +0 -1
- package/dist/vector-store/methods/vector-store.methods.js.map +0 -1
- package/dist/vector-store/vector-memory.tool.js.map +0 -1
|
@@ -6,13 +6,13 @@ declare const AppleTool_base: (new (...args: any[]) => {
|
|
|
6
6
|
initialize(): Promise<void>;
|
|
7
7
|
use(address: oAddress, data: {
|
|
8
8
|
[key: string]: unknown;
|
|
9
|
-
}, config?: import("@olane/o-core").UseOptions): Promise<import("@olane/o-core").oResponse>;
|
|
10
|
-
handleStream(streamData: import("@
|
|
11
|
-
execute(req: import("@olane/o-core").oRequest, stream?: import("@
|
|
12
|
-
run(request: import("@olane/o-core").oRequest, stream?: import("@
|
|
9
|
+
}, config?: import("@olane/o-core").UseOptions | undefined): Promise<import("@olane/o-core").oResponse>;
|
|
10
|
+
handleStream(streamData: import("@libp2p/interface", { with: { "resolution-mode": "import" } }).IncomingStreamData): Promise<void>;
|
|
11
|
+
execute(req: import("@olane/o-core").oRequest, stream?: import("@libp2p/interface", { with: { "resolution-mode": "import" } }).Stream | undefined): Promise<import("@olane/o-tool").RunResult>;
|
|
12
|
+
run(request: import("@olane/o-core").oRequest, stream?: import("@libp2p/interface", { with: { "resolution-mode": "import" } }).Stream | undefined): Promise<import("@olane/o-tool").RunResult>;
|
|
13
13
|
myTools(): string[];
|
|
14
14
|
myToolParams(tool: string): Record<string, any>;
|
|
15
|
-
callMyTool(request: import("@olane/o-core").oRequest, stream?: import("@
|
|
15
|
+
callMyTool(request: import("@olane/o-core").oRequest, stream?: import("@libp2p/interface", { with: { "resolution-mode": "import" } }).Stream | undefined): Promise<import("@olane/o-tool").ToolResult>;
|
|
16
16
|
index(): Promise<{
|
|
17
17
|
provider: string;
|
|
18
18
|
summary: string;
|
|
@@ -25,31 +25,31 @@ declare const AppleTool_base: (new (...args: any[]) => {
|
|
|
25
25
|
tools: string[];
|
|
26
26
|
description: string;
|
|
27
27
|
}>;
|
|
28
|
-
findMissingParams(methodName: string, params: any): import("@olane/o-protocol
|
|
28
|
+
findMissingParams(methodName: string, params: any): import("@olane/o-protocol").oParameter[];
|
|
29
29
|
readonly config: import("@olane/o-core").CoreConfig;
|
|
30
|
-
p2pNode: import("@
|
|
30
|
+
p2pNode: import("libp2p", { with: { "resolution-mode": "import" } }).Libp2p<import("@libp2p/interface", { with: { "resolution-mode": "import" } }).ServiceMap>;
|
|
31
31
|
logger: import("@olane/o-core").Logger;
|
|
32
|
-
networkConfig: import("@olane/o-config
|
|
32
|
+
networkConfig: import("@olane/o-config").Libp2pConfig;
|
|
33
33
|
address: oAddress;
|
|
34
34
|
readonly staticAddress: oAddress;
|
|
35
|
-
peerId: import("@
|
|
35
|
+
peerId: import("@libp2p/interface-peer-id", { with: { "resolution-mode": "import" } }).PeerId;
|
|
36
36
|
state: import("@olane/o-core").NodeState;
|
|
37
37
|
errors: Error[];
|
|
38
38
|
connectionManager: import("@olane/o-core").oConnectionManager;
|
|
39
|
-
leaders: import("@
|
|
39
|
+
leaders: import("@multiformats/multiaddr", { with: { "resolution-mode": "import" } }).Multiaddr[];
|
|
40
40
|
addressResolution: import("@olane/o-core").oAddressResolution;
|
|
41
41
|
readonly description: string;
|
|
42
42
|
dependencies: import("@olane/o-core").oDependency[];
|
|
43
43
|
methods: {
|
|
44
|
-
[key: string]: import("@olane/o-protocol
|
|
44
|
+
[key: string]: import("@olane/o-protocol").oMethod;
|
|
45
45
|
};
|
|
46
46
|
successCount: number;
|
|
47
47
|
errorCount: number;
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
getTransports(address: oAddress): import("@
|
|
48
|
+
readonly type: import("@olane/o-core").NodeType;
|
|
49
|
+
readonly transports: string[];
|
|
50
|
+
readonly parent: oAddress | null;
|
|
51
|
+
readonly parentTransports: import("@multiformats/multiaddr", { with: { "resolution-mode": "import" } }).Multiaddr[];
|
|
52
|
+
getTransports(address: oAddress): import("@multiformats/multiaddr", { with: { "resolution-mode": "import" } }).Multiaddr[];
|
|
53
53
|
handleStaticAddressTranslation(addressInput: oAddress): Promise<oAddress>;
|
|
54
54
|
translateAddress(addressWithLeaderTransports: oAddress): Promise<{
|
|
55
55
|
nextHopAddress: oAddress;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apple.tool.d.ts","sourceRoot":"","sources":["../../src/apple/apple.tool.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,WAAW,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC
|
|
1
|
+
{"version":3,"file":"apple.tool.d.ts","sourceRoot":"","sources":["../../src/apple/apple.tool.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,WAAW,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEvD,qBAAa,SAAU,SAAQ,cAAmB;gBACpC,MAAM,EAAE,WAAW;CAOhC"}
|
package/dist/apple/apple.tool.js
CHANGED
|
@@ -1,12 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AppleTool = void 0;
|
|
4
|
+
const o_tool_1 = require("@olane/o-tool");
|
|
5
|
+
const o_core_1 = require("@olane/o-core");
|
|
6
|
+
class AppleTool extends (0, o_tool_1.oTool)(o_core_1.oVirtualNode) {
|
|
4
7
|
constructor(config) {
|
|
5
8
|
super({
|
|
6
9
|
...config,
|
|
7
|
-
address: new oAddress('o://apple'),
|
|
10
|
+
address: new o_core_1.oAddress('o://apple'),
|
|
8
11
|
description: config.description || 'Base class tool for Apple tools',
|
|
9
12
|
});
|
|
10
13
|
}
|
|
11
14
|
}
|
|
12
|
-
|
|
15
|
+
exports.AppleTool = AppleTool;
|
package/dist/apple/index.d.ts
CHANGED
package/dist/apple/index.js
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -6,13 +6,13 @@ declare const NotesTool_base: (new (...args: any[]) => {
|
|
|
6
6
|
initialize(): Promise<void>;
|
|
7
7
|
use(address: oAddress, data: {
|
|
8
8
|
[key: string]: unknown;
|
|
9
|
-
}, config?: import("@olane/o-core").UseOptions): Promise<import("@olane/o-core").oResponse>;
|
|
10
|
-
handleStream(streamData: import("@
|
|
11
|
-
execute(req: oRequest, stream?: import("@
|
|
12
|
-
run(request: oRequest, stream?: import("@
|
|
9
|
+
}, config?: import("@olane/o-core").UseOptions | undefined): Promise<import("@olane/o-core").oResponse>;
|
|
10
|
+
handleStream(streamData: import("@libp2p/interface", { with: { "resolution-mode": "import" } }).IncomingStreamData): Promise<void>;
|
|
11
|
+
execute(req: oRequest, stream?: import("@libp2p/interface", { with: { "resolution-mode": "import" } }).Stream | undefined): Promise<import("@olane/o-tool").RunResult>;
|
|
12
|
+
run(request: oRequest, stream?: import("@libp2p/interface", { with: { "resolution-mode": "import" } }).Stream | undefined): Promise<import("@olane/o-tool").RunResult>;
|
|
13
13
|
myTools(): string[];
|
|
14
14
|
myToolParams(tool: string): Record<string, any>;
|
|
15
|
-
callMyTool(request: oRequest, stream?: import("@
|
|
15
|
+
callMyTool(request: oRequest, stream?: import("@libp2p/interface", { with: { "resolution-mode": "import" } }).Stream | undefined): Promise<import("@olane/o-tool").ToolResult>;
|
|
16
16
|
index(): Promise<{
|
|
17
17
|
provider: string;
|
|
18
18
|
summary: string;
|
|
@@ -25,31 +25,31 @@ declare const NotesTool_base: (new (...args: any[]) => {
|
|
|
25
25
|
tools: string[];
|
|
26
26
|
description: string;
|
|
27
27
|
}>;
|
|
28
|
-
findMissingParams(methodName: string, params: any): import("@olane/o-protocol
|
|
28
|
+
findMissingParams(methodName: string, params: any): import("@olane/o-protocol").oParameter[];
|
|
29
29
|
readonly config: import("@olane/o-core").CoreConfig;
|
|
30
|
-
p2pNode: import("@
|
|
30
|
+
p2pNode: import("libp2p", { with: { "resolution-mode": "import" } }).Libp2p<import("@libp2p/interface", { with: { "resolution-mode": "import" } }).ServiceMap>;
|
|
31
31
|
logger: import("@olane/o-core").Logger;
|
|
32
|
-
networkConfig: import("@olane/o-config
|
|
32
|
+
networkConfig: import("@olane/o-config").Libp2pConfig;
|
|
33
33
|
address: oAddress;
|
|
34
34
|
readonly staticAddress: oAddress;
|
|
35
|
-
peerId: import("@
|
|
35
|
+
peerId: import("@libp2p/interface-peer-id", { with: { "resolution-mode": "import" } }).PeerId;
|
|
36
36
|
state: import("@olane/o-core").NodeState;
|
|
37
37
|
errors: Error[];
|
|
38
38
|
connectionManager: import("@olane/o-core").oConnectionManager;
|
|
39
|
-
leaders: import("@
|
|
39
|
+
leaders: import("@multiformats/multiaddr", { with: { "resolution-mode": "import" } }).Multiaddr[];
|
|
40
40
|
addressResolution: import("@olane/o-core").oAddressResolution;
|
|
41
41
|
readonly description: string;
|
|
42
42
|
dependencies: import("@olane/o-core").oDependency[];
|
|
43
43
|
methods: {
|
|
44
|
-
[key: string]: import("@olane/o-protocol
|
|
44
|
+
[key: string]: import("@olane/o-protocol").oMethod;
|
|
45
45
|
};
|
|
46
46
|
successCount: number;
|
|
47
47
|
errorCount: number;
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
getTransports(address: oAddress): import("@
|
|
48
|
+
readonly type: import("@olane/o-core").NodeType;
|
|
49
|
+
readonly transports: string[];
|
|
50
|
+
readonly parent: oAddress | null;
|
|
51
|
+
readonly parentTransports: import("@multiformats/multiaddr", { with: { "resolution-mode": "import" } }).Multiaddr[];
|
|
52
|
+
getTransports(address: oAddress): import("@multiformats/multiaddr", { with: { "resolution-mode": "import" } }).Multiaddr[];
|
|
53
53
|
handleStaticAddressTranslation(addressInput: oAddress): Promise<oAddress>;
|
|
54
54
|
translateAddress(addressWithLeaderTransports: oAddress): Promise<{
|
|
55
55
|
nextHopAddress: oAddress;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notes.tool.d.ts","sourceRoot":"","sources":["../../src/apple/notes.tool.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,WAAW,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC
|
|
1
|
+
{"version":3,"file":"notes.tool.d.ts","sourceRoot":"","sources":["../../src/apple/notes.tool.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,WAAW,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOjE,qBAAa,SAAU,SAAQ,cAAmB;IAChD,OAAO,CAAC,aAAa,CAAS;gBAElB,MAAM,EAAE,WAAW;YAWjB,gBAAgB;IA0BxB,eAAe,CAAC,OAAO,EAAE,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC;IA0BhD,iBAAiB,CAAC,OAAO,EAAE,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC;IA6ClD,iBAAiB,CAAC,OAAO,EAAE,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC;IA4ClD,iBAAiB,CAAC,OAAO,EAAE,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC;IAmClD,iBAAiB,CAAC,OAAO,EAAE,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC;IA0BlD,mBAAmB,CAAC,OAAO,EAAE,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC;CAmC3D"}
|
package/dist/apple/notes.tool.js
CHANGED
|
@@ -1,17 +1,44 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.NotesTool = void 0;
|
|
27
|
+
const o_tool_1 = require("@olane/o-tool");
|
|
28
|
+
const o_core_1 = require("@olane/o-core");
|
|
29
|
+
const child_process_1 = require("child_process");
|
|
30
|
+
const util_1 = require("util");
|
|
31
|
+
const path = __importStar(require("path"));
|
|
32
|
+
const execAsync = (0, util_1.promisify)(child_process_1.exec);
|
|
33
|
+
class NotesTool extends (0, o_tool_1.oTool)(o_core_1.oVirtualNode) {
|
|
8
34
|
jxaScriptPath;
|
|
9
35
|
constructor(config) {
|
|
10
36
|
super({
|
|
11
37
|
...config,
|
|
12
|
-
address: new oAddress('o://notes'),
|
|
38
|
+
address: new o_core_1.oAddress('o://notes'),
|
|
13
39
|
description: 'Tool to interact with Apple Notes',
|
|
14
40
|
});
|
|
41
|
+
// Set the path to the JXA script
|
|
15
42
|
this.jxaScriptPath = path.join(__dirname, 'notes.jxa');
|
|
16
43
|
}
|
|
17
44
|
async executeJxaScript(command, args = []) {
|
|
@@ -213,4 +240,4 @@ export class NotesTool extends oTool(oVirtualNode) {
|
|
|
213
240
|
}
|
|
214
241
|
}
|
|
215
242
|
}
|
|
216
|
-
|
|
243
|
+
exports.NotesTool = NotesTool;
|
package/dist/auth/index.js
CHANGED
|
@@ -1,4 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./oAuth.tool"), exports);
|
|
18
|
+
__exportStar(require("./methods/auth.methods"), exports);
|
|
19
|
+
__exportStar(require("./interfaces"), exports);
|
|
@@ -1,4 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./oAuth-tokens.interface"), exports);
|
|
18
|
+
__exportStar(require("./oAuth-user-info.interface"), exports);
|
|
19
|
+
__exportStar(require("./oAuth.config"), exports);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.oauthMethods = void 0;
|
|
4
|
+
exports.oauthMethods = {
|
|
2
5
|
configure: {
|
|
3
6
|
name: 'configure',
|
|
4
7
|
description: 'Configure OAuth service settings',
|
|
@@ -300,4 +303,3 @@ export const oauthMethods = {
|
|
|
300
303
|
],
|
|
301
304
|
},
|
|
302
305
|
};
|
|
303
|
-
//# sourceMappingURL=auth.methods.js.map
|
package/dist/auth/oAuth.tool.js
CHANGED
|
@@ -1,17 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OAuthTool = void 0;
|
|
4
|
+
const o_tool_1 = require("@olane/o-tool");
|
|
5
|
+
const o_core_1 = require("@olane/o-core");
|
|
6
|
+
const auth_methods_1 = require("./methods/auth.methods");
|
|
7
|
+
class OAuthTool extends o_tool_1.oHostNodeTool {
|
|
5
8
|
oauthConfigs = new Map();
|
|
6
9
|
tokenStore = new Map();
|
|
7
10
|
constructor(config) {
|
|
8
11
|
super({
|
|
9
12
|
...config,
|
|
10
|
-
address: new oAddress('o://oauth'),
|
|
13
|
+
address: new o_core_1.oAddress('o://oauth'),
|
|
11
14
|
description: 'Generic OAuth client tool for custom OAuth provider services',
|
|
12
|
-
methods: oauthMethods,
|
|
15
|
+
methods: auth_methods_1.oauthMethods,
|
|
13
16
|
});
|
|
14
17
|
}
|
|
18
|
+
// Tool methods
|
|
15
19
|
async _tool_configure(request) {
|
|
16
20
|
const { serviceName, ...config } = request.params;
|
|
17
21
|
if (!serviceName) {
|
|
@@ -59,17 +63,20 @@ export class OAuthTool extends oHostNodeTool {
|
|
|
59
63
|
if (state) {
|
|
60
64
|
url.searchParams.set('state', state);
|
|
61
65
|
}
|
|
66
|
+
// Add PKCE support for authorization code flow
|
|
62
67
|
if (config.responseType === 'code') {
|
|
63
68
|
const codeVerifier = this.generateCodeVerifier();
|
|
64
69
|
const codeChallenge = await this.generateCodeChallenge(codeVerifier);
|
|
65
70
|
url.searchParams.set('code_challenge', codeChallenge);
|
|
66
71
|
url.searchParams.set('code_challenge_method', 'S256');
|
|
72
|
+
// Store code verifier for later use
|
|
67
73
|
this.tokenStore.set(`${serviceName}_code_verifier`, {
|
|
68
74
|
code_verifier: codeVerifier,
|
|
69
75
|
access_token: '',
|
|
70
76
|
token_type: '',
|
|
71
77
|
});
|
|
72
78
|
}
|
|
79
|
+
// Add any additional parameters
|
|
73
80
|
if (additionalParams && typeof additionalParams === 'object') {
|
|
74
81
|
Object.entries(additionalParams).forEach(([key, value]) => {
|
|
75
82
|
if (typeof value === 'string') {
|
|
@@ -99,6 +106,7 @@ export class OAuthTool extends oHostNodeTool {
|
|
|
99
106
|
if (config.clientSecret) {
|
|
100
107
|
tokenData.client_secret = config.clientSecret;
|
|
101
108
|
}
|
|
109
|
+
// Add PKCE code verifier if available
|
|
102
110
|
const storedVerifier = this.tokenStore.get(`${serviceName}_code_verifier`);
|
|
103
111
|
if (storedVerifier?.code_verifier) {
|
|
104
112
|
tokenData.code_verifier = storedVerifier.code_verifier;
|
|
@@ -116,7 +124,8 @@ export class OAuthTool extends oHostNodeTool {
|
|
|
116
124
|
const errorText = await response.text();
|
|
117
125
|
throw new Error(`Token exchange failed: ${response.status} ${errorText}`);
|
|
118
126
|
}
|
|
119
|
-
const tokens = await response.json();
|
|
127
|
+
const tokens = (await response.json());
|
|
128
|
+
// Store tokens
|
|
120
129
|
this.tokenStore.set(`${serviceName}_tokens`, tokens);
|
|
121
130
|
this.logger.info(`Token exchange successful for service: ${serviceName}`);
|
|
122
131
|
return {
|
|
@@ -162,7 +171,8 @@ export class OAuthTool extends oHostNodeTool {
|
|
|
162
171
|
const errorText = await response.text();
|
|
163
172
|
throw new Error(`Token refresh failed: ${response.status} ${errorText}`);
|
|
164
173
|
}
|
|
165
|
-
const tokens = await response.json();
|
|
174
|
+
const tokens = (await response.json());
|
|
175
|
+
// Update stored tokens
|
|
166
176
|
const existingTokens = this.tokenStore.get(`${serviceName}_tokens`);
|
|
167
177
|
if (existingTokens) {
|
|
168
178
|
existingTokens.access_token = tokens.access_token;
|
|
@@ -211,7 +221,7 @@ export class OAuthTool extends oHostNodeTool {
|
|
|
211
221
|
const errorText = await response.text();
|
|
212
222
|
throw new Error(`User info request failed: ${response.status} ${errorText}`);
|
|
213
223
|
}
|
|
214
|
-
const userInfo = await response.json();
|
|
224
|
+
const userInfo = (await response.json());
|
|
215
225
|
return {
|
|
216
226
|
success: true,
|
|
217
227
|
serviceName,
|
|
@@ -285,6 +295,7 @@ export class OAuthTool extends oHostNodeTool {
|
|
|
285
295
|
body: new URLSearchParams(revocationData),
|
|
286
296
|
});
|
|
287
297
|
const isRevoked = response.ok;
|
|
298
|
+
// Remove tokens from storage if revoked
|
|
288
299
|
if (isRevoked) {
|
|
289
300
|
const storedTokens = this.tokenStore.get(`${serviceName}_tokens`);
|
|
290
301
|
if (storedTokens) {
|
|
@@ -378,6 +389,7 @@ export class OAuthTool extends oHostNodeTool {
|
|
|
378
389
|
};
|
|
379
390
|
}
|
|
380
391
|
else {
|
|
392
|
+
// Clear all tokens
|
|
381
393
|
for (const key of this.tokenStore.keys()) {
|
|
382
394
|
if (key.endsWith('_tokens') || key.endsWith('_code_verifier')) {
|
|
383
395
|
this.tokenStore.delete(key);
|
|
@@ -389,6 +401,7 @@ export class OAuthTool extends oHostNodeTool {
|
|
|
389
401
|
};
|
|
390
402
|
}
|
|
391
403
|
}
|
|
404
|
+
// Helper methods
|
|
392
405
|
generateCodeVerifier() {
|
|
393
406
|
const array = new Uint8Array(32);
|
|
394
407
|
crypto.getRandomValues(array);
|
|
@@ -407,4 +420,4 @@ export class OAuthTool extends oHostNodeTool {
|
|
|
407
420
|
.replace(/=/g, '');
|
|
408
421
|
}
|
|
409
422
|
}
|
|
410
|
-
|
|
423
|
+
exports.OAuthTool = OAuthTool;
|
|
@@ -6,13 +6,13 @@ declare const EmbeddingsTool_base: (new (...args: any[]) => {
|
|
|
6
6
|
initialize(): Promise<void>;
|
|
7
7
|
use(address: oAddress, data: {
|
|
8
8
|
[key: string]: unknown;
|
|
9
|
-
}, config?: import("@olane/o-core").UseOptions): Promise<import("@olane/o-core").oResponse>;
|
|
10
|
-
handleStream(streamData: import("@
|
|
11
|
-
execute(req: import("@olane/o-core").oRequest, stream?: import("@
|
|
12
|
-
run(request: import("@olane/o-core").oRequest, stream?: import("@
|
|
9
|
+
}, config?: import("@olane/o-core").UseOptions | undefined): Promise<import("@olane/o-core").oResponse>;
|
|
10
|
+
handleStream(streamData: import("@libp2p/interface", { with: { "resolution-mode": "import" } }).IncomingStreamData): Promise<void>;
|
|
11
|
+
execute(req: import("@olane/o-core").oRequest, stream?: import("@libp2p/interface", { with: { "resolution-mode": "import" } }).Stream | undefined): Promise<import("@olane/o-tool").RunResult>;
|
|
12
|
+
run(request: import("@olane/o-core").oRequest, stream?: import("@libp2p/interface", { with: { "resolution-mode": "import" } }).Stream | undefined): Promise<import("@olane/o-tool").RunResult>;
|
|
13
13
|
myTools(): string[];
|
|
14
14
|
myToolParams(tool: string): Record<string, any>;
|
|
15
|
-
callMyTool(request: import("@olane/o-core").oRequest, stream?: import("@
|
|
15
|
+
callMyTool(request: import("@olane/o-core").oRequest, stream?: import("@libp2p/interface", { with: { "resolution-mode": "import" } }).Stream | undefined): Promise<import("@olane/o-tool").ToolResult>;
|
|
16
16
|
index(): Promise<{
|
|
17
17
|
provider: string;
|
|
18
18
|
summary: string;
|
|
@@ -25,31 +25,31 @@ declare const EmbeddingsTool_base: (new (...args: any[]) => {
|
|
|
25
25
|
tools: string[];
|
|
26
26
|
description: string;
|
|
27
27
|
}>;
|
|
28
|
-
findMissingParams(methodName: string, params: any): import("@olane/o-protocol
|
|
28
|
+
findMissingParams(methodName: string, params: any): import("@olane/o-protocol").oParameter[];
|
|
29
29
|
readonly config: import("@olane/o-core").CoreConfig;
|
|
30
|
-
p2pNode: import("@
|
|
30
|
+
p2pNode: import("libp2p", { with: { "resolution-mode": "import" } }).Libp2p<import("@libp2p/interface", { with: { "resolution-mode": "import" } }).ServiceMap>;
|
|
31
31
|
logger: import("@olane/o-core").Logger;
|
|
32
|
-
networkConfig: import("@olane/o-config
|
|
32
|
+
networkConfig: import("@olane/o-config").Libp2pConfig;
|
|
33
33
|
address: oAddress;
|
|
34
34
|
readonly staticAddress: oAddress;
|
|
35
|
-
peerId: import("@
|
|
35
|
+
peerId: import("@libp2p/interface-peer-id", { with: { "resolution-mode": "import" } }).PeerId;
|
|
36
36
|
state: import("@olane/o-core").NodeState;
|
|
37
37
|
errors: Error[];
|
|
38
38
|
connectionManager: import("@olane/o-core").oConnectionManager;
|
|
39
|
-
leaders: import("@
|
|
39
|
+
leaders: import("@multiformats/multiaddr", { with: { "resolution-mode": "import" } }).Multiaddr[];
|
|
40
40
|
addressResolution: import("@olane/o-core").oAddressResolution;
|
|
41
41
|
readonly description: string;
|
|
42
42
|
dependencies: import("@olane/o-core").oDependency[];
|
|
43
43
|
methods: {
|
|
44
|
-
[key: string]: import("@olane/o-protocol
|
|
44
|
+
[key: string]: import("@olane/o-protocol").oMethod;
|
|
45
45
|
};
|
|
46
46
|
successCount: number;
|
|
47
47
|
errorCount: number;
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
getTransports(address: oAddress): import("@
|
|
48
|
+
readonly type: import("@olane/o-core").NodeType;
|
|
49
|
+
readonly transports: string[];
|
|
50
|
+
readonly parent: oAddress | null;
|
|
51
|
+
readonly parentTransports: import("@multiformats/multiaddr", { with: { "resolution-mode": "import" } }).Multiaddr[];
|
|
52
|
+
getTransports(address: oAddress): import("@multiformats/multiaddr", { with: { "resolution-mode": "import" } }).Multiaddr[];
|
|
53
53
|
handleStaticAddressTranslation(addressInput: oAddress): Promise<oAddress>;
|
|
54
54
|
translateAddress(addressWithLeaderTransports: oAddress): Promise<{
|
|
55
55
|
nextHopAddress: oAddress;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"embeddings.tool.d.ts","sourceRoot":"","sources":["../../src/embeddings/embeddings.tool.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC
|
|
1
|
+
{"version":3,"file":"embeddings.tool.d.ts","sourceRoot":"","sources":["../../src/embeddings/embeddings.tool.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAE5C,qBAAa,cAAe,SAAQ,mBAAmB;gBACzC,MAAM,EAAE,WAAW;CAQhC"}
|
|
@@ -1,12 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EmbeddingsTool = void 0;
|
|
4
|
+
const o_tool_1 = require("@olane/o-tool");
|
|
5
|
+
const o_core_1 = require("@olane/o-core");
|
|
6
|
+
class EmbeddingsTool extends (0, o_tool_1.oTool)(o_core_1.oVirtualNode) {
|
|
4
7
|
constructor(config) {
|
|
5
8
|
super({
|
|
6
9
|
...config,
|
|
7
|
-
address: new oAddress('o://embeddings'),
|
|
10
|
+
address: new o_core_1.oAddress('o://embeddings'),
|
|
8
11
|
description: config.description || 'Generic base class for embeddings tools',
|
|
9
12
|
});
|
|
10
13
|
}
|
|
11
14
|
}
|
|
12
|
-
|
|
15
|
+
exports.EmbeddingsTool = EmbeddingsTool;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"huggingface-text-embeddings.tool.d.ts","sourceRoot":"","sources":["../../src/embeddings/huggingface-text-embeddings.tool.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAG5D,qBAAa,6BAA8B,SAAQ,kBAAkB;IACnE,OAAO,CAAC,KAAK,
|
|
1
|
+
{"version":3,"file":"huggingface-text-embeddings.tool.d.ts","sourceRoot":"","sources":["../../src/embeddings/huggingface-text-embeddings.tool.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAG5D,qBAAa,6BAA8B,SAAQ,kBAAkB;IACnE,OAAO,CAAC,KAAK,CAAqC;IAE5C,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC;IAO3B,qBAAqB,CAAC,OAAO,EAAE,QAAQ,GAAG,OAAO,CAAC,MAAM,EAAE,EAAE,CAAC;IAM7D,iBAAiB,CAAC,OAAO,EAAE,QAAQ,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC;CAM9D"}
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.HuggingfaceTextEmbeddingsTool = void 0;
|
|
4
|
+
const text_embeddings_tool_1 = require("./text-embeddings.tool");
|
|
5
|
+
const huggingface_transformers_1 = require("@langchain/community/embeddings/huggingface_transformers");
|
|
6
|
+
class HuggingfaceTextEmbeddingsTool extends text_embeddings_tool_1.TextEmbeddingsTool {
|
|
4
7
|
model;
|
|
5
8
|
async initialize() {
|
|
6
9
|
await super.initialize();
|
|
7
|
-
this.model = new HuggingFaceTransformersEmbeddings({
|
|
8
|
-
model: 'Xenova/all-MiniLM-L6-v2',
|
|
10
|
+
this.model = new huggingface_transformers_1.HuggingFaceTransformersEmbeddings({
|
|
11
|
+
model: 'Xenova/all-MiniLM-L6-v2', // TODO: make this configurable
|
|
9
12
|
});
|
|
10
13
|
}
|
|
11
14
|
async _tool_embed_documents(request) {
|
|
@@ -20,4 +23,4 @@ export class HuggingfaceTextEmbeddingsTool extends TextEmbeddingsTool {
|
|
|
20
23
|
return result;
|
|
21
24
|
}
|
|
22
25
|
}
|
|
23
|
-
|
|
26
|
+
exports.HuggingfaceTextEmbeddingsTool = HuggingfaceTextEmbeddingsTool;
|
package/dist/embeddings/index.js
CHANGED
|
@@ -1,4 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./huggingface-text-embeddings.tool"), exports);
|
|
18
|
+
__exportStar(require("./text-embeddings.tool"), exports);
|
|
19
|
+
__exportStar(require("./embeddings.tool"), exports);
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TEXT_EMBEDDINGS_PARAMS = void 0;
|
|
4
|
+
exports.TEXT_EMBEDDINGS_PARAMS = {
|
|
2
5
|
embed_documents: {
|
|
3
6
|
name: 'embed_documents',
|
|
4
7
|
description: 'Embed documents',
|
|
@@ -27,4 +30,3 @@ export const TEXT_EMBEDDINGS_PARAMS = {
|
|
|
27
30
|
],
|
|
28
31
|
},
|
|
29
32
|
};
|
|
30
|
-
//# sourceMappingURL=text-embeddings.method.js.map
|