@olane/o-tool-registry 0.6.11 → 0.6.12

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.
Files changed (136) hide show
  1. package/package.json +6 -6
  2. package/dist/auth/index.d.ts +0 -4
  3. package/dist/auth/index.d.ts.map +0 -1
  4. package/dist/auth/index.js +0 -3
  5. package/dist/auth/interfaces/index.d.ts +0 -4
  6. package/dist/auth/interfaces/index.d.ts.map +0 -1
  7. package/dist/auth/interfaces/index.js +0 -3
  8. package/dist/auth/interfaces/oAuth-tokens.interface.d.ts +0 -9
  9. package/dist/auth/interfaces/oAuth-tokens.interface.d.ts.map +0 -1
  10. package/dist/auth/interfaces/oAuth-tokens.interface.js +0 -1
  11. package/dist/auth/interfaces/oAuth-user-info.interface.d.ts +0 -8
  12. package/dist/auth/interfaces/oAuth-user-info.interface.d.ts.map +0 -1
  13. package/dist/auth/interfaces/oAuth-user-info.interface.js +0 -1
  14. package/dist/auth/interfaces/oAuth.config.d.ts +0 -14
  15. package/dist/auth/interfaces/oAuth.config.d.ts.map +0 -1
  16. package/dist/auth/interfaces/oAuth.config.js +0 -1
  17. package/dist/auth/methods/auth.methods.d.ts +0 -5
  18. package/dist/auth/methods/auth.methods.d.ts.map +0 -1
  19. package/dist/auth/methods/auth.methods.js +0 -302
  20. package/dist/auth/oAuth.tool.d.ts +0 -20
  21. package/dist/auth/oAuth.tool.d.ts.map +0 -1
  22. package/dist/auth/oAuth.tool.js +0 -419
  23. package/dist/embeddings/embeddings.tool.d.ts +0 -6
  24. package/dist/embeddings/embeddings.tool.d.ts.map +0 -1
  25. package/dist/embeddings/embeddings.tool.js +0 -11
  26. package/dist/embeddings/huggingface-text-embeddings.tool.d.ts +0 -9
  27. package/dist/embeddings/huggingface-text-embeddings.tool.d.ts.map +0 -1
  28. package/dist/embeddings/huggingface-text-embeddings.tool.js +0 -21
  29. package/dist/embeddings/index.d.ts +0 -4
  30. package/dist/embeddings/index.d.ts.map +0 -1
  31. package/dist/embeddings/index.js +0 -3
  32. package/dist/embeddings/methods/text-embeddings.method.d.ts +0 -5
  33. package/dist/embeddings/methods/text-embeddings.method.d.ts.map +0 -1
  34. package/dist/embeddings/methods/text-embeddings.method.js +0 -29
  35. package/dist/embeddings/text-embeddings.tool.d.ts +0 -9
  36. package/dist/embeddings/text-embeddings.tool.d.ts.map +0 -1
  37. package/dist/embeddings/text-embeddings.tool.js +0 -13
  38. package/dist/index.d.ts +0 -7
  39. package/dist/index.d.ts.map +0 -1
  40. package/dist/index.js +0 -6
  41. package/dist/init.d.ts +0 -3
  42. package/dist/init.d.ts.map +0 -1
  43. package/dist/init.js +0 -36
  44. package/dist/intelligence/anthropic-intelligence.tool.d.ts +0 -224
  45. package/dist/intelligence/anthropic-intelligence.tool.d.ts.map +0 -1
  46. package/dist/intelligence/anthropic-intelligence.tool.js +0 -477
  47. package/dist/intelligence/gemini-intelligence.tool.d.ts +0 -29
  48. package/dist/intelligence/gemini-intelligence.tool.d.ts.map +0 -1
  49. package/dist/intelligence/gemini-intelligence.tool.js +0 -267
  50. package/dist/intelligence/index.d.ts +0 -6
  51. package/dist/intelligence/index.d.ts.map +0 -1
  52. package/dist/intelligence/index.js +0 -5
  53. package/dist/intelligence/intelligence.tool.d.ts +0 -11
  54. package/dist/intelligence/intelligence.tool.d.ts.map +0 -1
  55. package/dist/intelligence/intelligence.tool.js +0 -120
  56. package/dist/intelligence/methods/intelligence.methods.d.ts +0 -5
  57. package/dist/intelligence/methods/intelligence.methods.d.ts.map +0 -1
  58. package/dist/intelligence/methods/intelligence.methods.js +0 -98
  59. package/dist/intelligence/ollama-intelligence.tool.d.ts +0 -36
  60. package/dist/intelligence/ollama-intelligence.tool.d.ts.map +0 -1
  61. package/dist/intelligence/ollama-intelligence.tool.js +0 -312
  62. package/dist/intelligence/openai-intelligence.tool.d.ts +0 -30
  63. package/dist/intelligence/openai-intelligence.tool.d.ts.map +0 -1
  64. package/dist/intelligence/openai-intelligence.tool.js +0 -255
  65. package/dist/intelligence/perplexity-intelligence.tool.d.ts +0 -27
  66. package/dist/intelligence/perplexity-intelligence.tool.d.ts.map +0 -1
  67. package/dist/intelligence/perplexity-intelligence.tool.js +0 -309
  68. package/dist/mcp/index.d.ts +0 -3
  69. package/dist/mcp/index.d.ts.map +0 -1
  70. package/dist/mcp/index.js +0 -2
  71. package/dist/mcp/mcp-bridge.tool.d.ts +0 -12
  72. package/dist/mcp/mcp-bridge.tool.d.ts.map +0 -1
  73. package/dist/mcp/mcp-bridge.tool.js +0 -126
  74. package/dist/mcp/mcp.tool.d.ts +0 -14
  75. package/dist/mcp/mcp.tool.d.ts.map +0 -1
  76. package/dist/mcp/mcp.tool.js +0 -83
  77. package/dist/mcp/methods/mcp-bridge.methods.d.ts +0 -5
  78. package/dist/mcp/methods/mcp-bridge.methods.d.ts.map +0 -1
  79. package/dist/mcp/methods/mcp-bridge.methods.js +0 -79
  80. package/dist/nlp/index.d.ts +0 -2
  81. package/dist/nlp/index.d.ts.map +0 -1
  82. package/dist/nlp/index.js +0 -1
  83. package/dist/nlp/methods/nlp.methods.d.ts +0 -5
  84. package/dist/nlp/methods/nlp.methods.d.ts.map +0 -1
  85. package/dist/nlp/methods/nlp.methods.js +0 -15
  86. package/dist/nlp/ner.tool.d.ts +0 -7
  87. package/dist/nlp/ner.tool.d.ts.map +0 -1
  88. package/dist/nlp/ner.tool.js +0 -25
  89. package/dist/src/intelligence/anthropic-intelligence.tool.d.ts +0 -224
  90. package/dist/src/intelligence/anthropic-intelligence.tool.d.ts.map +0 -1
  91. package/dist/src/intelligence/anthropic-intelligence.tool.js +0 -477
  92. package/dist/src/intelligence/gemini-intelligence.tool.d.ts +0 -29
  93. package/dist/src/intelligence/gemini-intelligence.tool.d.ts.map +0 -1
  94. package/dist/src/intelligence/gemini-intelligence.tool.js +0 -267
  95. package/dist/src/intelligence/index.d.ts +0 -6
  96. package/dist/src/intelligence/index.d.ts.map +0 -1
  97. package/dist/src/intelligence/index.js +0 -5
  98. package/dist/src/intelligence/intelligence.tool.d.ts +0 -11
  99. package/dist/src/intelligence/intelligence.tool.d.ts.map +0 -1
  100. package/dist/src/intelligence/intelligence.tool.js +0 -134
  101. package/dist/src/intelligence/methods/intelligence.methods.d.ts +0 -5
  102. package/dist/src/intelligence/methods/intelligence.methods.d.ts.map +0 -1
  103. package/dist/src/intelligence/methods/intelligence.methods.js +0 -132
  104. package/dist/src/intelligence/ollama-intelligence.tool.d.ts +0 -36
  105. package/dist/src/intelligence/ollama-intelligence.tool.d.ts.map +0 -1
  106. package/dist/src/intelligence/ollama-intelligence.tool.js +0 -312
  107. package/dist/src/intelligence/openai-intelligence.tool.d.ts +0 -30
  108. package/dist/src/intelligence/openai-intelligence.tool.d.ts.map +0 -1
  109. package/dist/src/intelligence/openai-intelligence.tool.js +0 -255
  110. package/dist/src/intelligence/perplexity-intelligence.tool.d.ts +0 -28
  111. package/dist/src/intelligence/perplexity-intelligence.tool.d.ts.map +0 -1
  112. package/dist/src/intelligence/perplexity-intelligence.tool.js +0 -310
  113. package/dist/src/mcp/index.d.ts +0 -3
  114. package/dist/src/mcp/index.d.ts.map +0 -1
  115. package/dist/src/mcp/index.js +0 -2
  116. package/dist/src/mcp/mcp-bridge.tool.d.ts +0 -12
  117. package/dist/src/mcp/mcp-bridge.tool.d.ts.map +0 -1
  118. package/dist/src/mcp/mcp-bridge.tool.js +0 -107
  119. package/dist/src/mcp/mcp.tool.d.ts +0 -15
  120. package/dist/src/mcp/mcp.tool.d.ts.map +0 -1
  121. package/dist/src/mcp/mcp.tool.js +0 -85
  122. package/dist/src/mcp/methods/mcp-bridge.methods.d.ts +0 -5
  123. package/dist/src/mcp/methods/mcp-bridge.methods.d.ts.map +0 -1
  124. package/dist/src/mcp/methods/mcp-bridge.methods.js +0 -58
  125. package/dist/vector-store/index.d.ts +0 -3
  126. package/dist/vector-store/index.d.ts.map +0 -1
  127. package/dist/vector-store/index.js +0 -2
  128. package/dist/vector-store/langchain-memory.vector-store.tool.d.ts +0 -14
  129. package/dist/vector-store/langchain-memory.vector-store.tool.d.ts.map +0 -1
  130. package/dist/vector-store/langchain-memory.vector-store.tool.js +0 -60
  131. package/dist/vector-store/methods/vector-store.methods.d.ts +0 -5
  132. package/dist/vector-store/methods/vector-store.methods.d.ts.map +0 -1
  133. package/dist/vector-store/methods/vector-store.methods.js +0 -60
  134. package/dist/vector-store/vector-memory.tool.d.ts +0 -11
  135. package/dist/vector-store/vector-memory.tool.d.ts.map +0 -1
  136. package/dist/vector-store/vector-memory.tool.js +0 -13
@@ -1,15 +0,0 @@
1
- export const NLP_PARAMS = {
2
- extract: {
3
- name: 'extract',
4
- description: 'Extract',
5
- dependencies: [],
6
- parameters: [
7
- {
8
- name: 'text',
9
- type: 'string',
10
- value: 'string',
11
- description: 'The text to extract from',
12
- },
13
- ],
14
- },
15
- };
@@ -1,7 +0,0 @@
1
- import { oToolConfig, oVirtualTool, ToolResult } from '@olane/o-tool';
2
- import { oRequest } from '@olane/o-core';
3
- export declare class NERTool extends oVirtualTool {
4
- constructor(config: oToolConfig);
5
- _tool_extract(request: oRequest): Promise<ToolResult>;
6
- }
7
- //# sourceMappingURL=ner.tool.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ner.tool.d.ts","sourceRoot":"","sources":["../../src/nlp/ner.tool.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AACtE,OAAO,EAAY,QAAQ,EAAE,MAAM,eAAe,CAAC;AAGnD,qBAAa,OAAQ,SAAQ,YAAY;gBAC3B,MAAM,EAAE,WAAW;IASzB,aAAa,CAAC,OAAO,EAAE,QAAQ,GAAG,OAAO,CAAC,UAAU,CAAC;CAa5D"}
@@ -1,25 +0,0 @@
1
- import { oVirtualTool } from '@olane/o-tool';
2
- import { oAddress } from '@olane/o-core';
3
- import { NLP_PARAMS } from './methods/nlp.methods.js';
4
- export class NERTool extends oVirtualTool {
5
- constructor(config) {
6
- super({
7
- ...config,
8
- address: new oAddress('o://ner'),
9
- methods: NLP_PARAMS,
10
- description: 'Tool to extract named entities from text',
11
- });
12
- }
13
- async _tool_extract(request) {
14
- const params = request.params;
15
- const { text } = params;
16
- this.logger.debug('Extracting entities from text', text);
17
- const response = await this.use(new oAddress('o://intelligence'), {
18
- method: 'prompt',
19
- params: {
20
- prompt: `Extract named entities and their metadata from the following text: ${text}`,
21
- },
22
- });
23
- return response.result;
24
- }
25
- }
@@ -1,224 +0,0 @@
1
- import { oRequest } from '@olane/o-core';
2
- import { oToolConfig, oVirtualTool, ToolResult } from '@olane/o-tool';
3
- export declare class AnthropicIntelligenceTool extends oVirtualTool {
4
- private defaultModel;
5
- constructor(config: oToolConfig);
6
- /**
7
- * Chat completion with Anthropic
8
- */
9
- _tool_completion(request: oRequest): Promise<ToolResult>;
10
- /**
11
- * Generate text with Anthropic (using messages endpoint)
12
- */
13
- _tool_generate(request: oRequest): Promise<ToolResult>;
14
- /**
15
- * List available models
16
- */
17
- _tool_list_models(request: oRequest): Promise<ToolResult>;
18
- /**
19
- * Get model information
20
- */
21
- _tool_model_info(request: oRequest): Promise<ToolResult>;
22
- /**
23
- * Check API status
24
- */
25
- _tool_status(request: oRequest): Promise<ToolResult>;
26
- /**
27
- * Parameter definitions for completion
28
- */
29
- _params_completion(): {
30
- type: string;
31
- properties: {
32
- model: {
33
- type: string;
34
- description: string;
35
- default: string;
36
- };
37
- messages: {
38
- type: string;
39
- description: string;
40
- items: {
41
- type: string;
42
- properties: {
43
- role: {
44
- type: string;
45
- enum: string[];
46
- description: string;
47
- };
48
- content: {
49
- oneOf: ({
50
- type: string;
51
- description: string;
52
- items?: undefined;
53
- } | {
54
- type: string;
55
- description: string;
56
- items: {
57
- type: string;
58
- properties: {
59
- type: {
60
- type: string;
61
- enum: string[];
62
- };
63
- text: {
64
- type: string;
65
- };
66
- source: {
67
- type: string;
68
- properties: {
69
- type: {
70
- type: string;
71
- enum: string[];
72
- };
73
- media_type: {
74
- type: string;
75
- };
76
- data: {
77
- type: string;
78
- };
79
- };
80
- };
81
- };
82
- };
83
- })[];
84
- };
85
- };
86
- required: string[];
87
- };
88
- };
89
- system: {
90
- type: string;
91
- description: string;
92
- };
93
- max_tokens: {
94
- type: string;
95
- description: string;
96
- default: number;
97
- };
98
- temperature: {
99
- type: string;
100
- description: string;
101
- minimum: number;
102
- maximum: number;
103
- };
104
- top_p: {
105
- type: string;
106
- description: string;
107
- minimum: number;
108
- maximum: number;
109
- };
110
- top_k: {
111
- type: string;
112
- description: string;
113
- minimum: number;
114
- };
115
- stop_sequences: {
116
- type: string;
117
- description: string;
118
- items: {
119
- type: string;
120
- };
121
- };
122
- metadata: {
123
- type: string;
124
- description: string;
125
- properties: {
126
- user_id: {
127
- type: string;
128
- description: string;
129
- };
130
- };
131
- };
132
- };
133
- required: string[];
134
- };
135
- /**
136
- * Parameter definitions for generate
137
- */
138
- _params_generate(): {
139
- type: string;
140
- properties: {
141
- model: {
142
- type: string;
143
- description: string;
144
- default: string;
145
- };
146
- prompt: {
147
- type: string;
148
- description: string;
149
- };
150
- system: {
151
- type: string;
152
- description: string;
153
- };
154
- max_tokens: {
155
- type: string;
156
- description: string;
157
- default: number;
158
- };
159
- temperature: {
160
- type: string;
161
- description: string;
162
- minimum: number;
163
- maximum: number;
164
- };
165
- top_p: {
166
- type: string;
167
- description: string;
168
- minimum: number;
169
- maximum: number;
170
- };
171
- top_k: {
172
- type: string;
173
- description: string;
174
- minimum: number;
175
- };
176
- stop_sequences: {
177
- type: string;
178
- description: string;
179
- items: {
180
- type: string;
181
- };
182
- };
183
- metadata: {
184
- type: string;
185
- description: string;
186
- properties: {
187
- user_id: {
188
- type: string;
189
- description: string;
190
- };
191
- };
192
- };
193
- };
194
- required: string[];
195
- };
196
- /**
197
- * Parameter definitions for list_models
198
- */
199
- _params_list_models(): {
200
- type: string;
201
- properties: {};
202
- };
203
- /**
204
- * Parameter definitions for model_info
205
- */
206
- _params_model_info(): {
207
- type: string;
208
- properties: {
209
- model: {
210
- type: string;
211
- description: string;
212
- default: string;
213
- };
214
- };
215
- };
216
- /**
217
- * Parameter definitions for status
218
- */
219
- _params_status(): {
220
- type: string;
221
- properties: {};
222
- };
223
- }
224
- //# sourceMappingURL=anthropic-intelligence.tool.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"anthropic-intelligence.tool.d.ts","sourceRoot":"","sources":["../../../src/intelligence/anthropic-intelligence.tool.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,QAAQ,EAAgB,MAAM,eAAe,CAAC;AACjE,OAAO,EAAS,WAAW,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAmG7E,qBAAa,yBAA0B,SAAQ,YAAY;IACzD,OAAO,CAAC,YAAY,CAA8B;gBAEtC,MAAM,EAAE,WAAW;IAW/B;;OAEG;IACG,gBAAgB,CAAC,OAAO,EAAE,QAAQ,GAAG,OAAO,CAAC,UAAU,CAAC;IAqE9D;;OAEG;IACG,cAAc,CAAC,OAAO,EAAE,QAAQ,GAAG,OAAO,CAAC,UAAU,CAAC;IA+E5D;;OAEG;IACG,iBAAiB,CAAC,OAAO,EAAE,QAAQ,GAAG,OAAO,CAAC,UAAU,CAAC;IA4C/D;;OAEG;IACG,gBAAgB,CAAC,OAAO,EAAE,QAAQ,GAAG,OAAO,CAAC,UAAU,CAAC;IAoD9D;;OAEG;IACG,YAAY,CAAC,OAAO,EAAE,QAAQ,GAAG,OAAO,CAAC,UAAU,CAAC;IAwC1D;;OAEG;IACH,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA+GlB;;OAEG;IACH,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA6DhB;;OAEG;IACH,mBAAmB;;;;IAOnB;;OAEG;IACH,kBAAkB;;;;;;;;;;IAalB;;OAEG;IACH,cAAc;;;;CAMf"}