@juspay/neurolink 11.21.4 → 11.22.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/CHANGELOG.md +2 -3
- package/dist/browser/neurolink.min.js +236 -236
- package/dist/cli/commands/ollama.js +55 -10
- package/dist/cli/commands/usage.d.ts +17 -0
- package/dist/cli/commands/usage.js +146 -0
- package/dist/cli/factories/ollamaCommandFactory.d.ts +11 -3
- package/dist/cli/factories/ollamaCommandFactory.js +67 -20
- package/dist/cli/parser.js +2 -0
- package/dist/cli/utils/ollamaUtils.d.ts +9 -0
- package/dist/cli/utils/ollamaUtils.js +66 -8
- package/dist/localUsage/index.d.ts +2 -2
- package/dist/localUsage/index.js +8 -1
- package/dist/types/localUsage.d.ts +17 -0
- package/package.json +1 -1
|
@@ -169,3 +169,20 @@ export type LocalUsageSqliteDatabase = {
|
|
|
169
169
|
export type LocalUsageSqliteDatabaseCtor = new (path: string, options?: {
|
|
170
170
|
readOnly?: boolean;
|
|
171
171
|
}) => LocalUsageSqliteDatabase;
|
|
172
|
+
/** Arguments for the `neurolink usage local` command. */
|
|
173
|
+
export type LocalUsageCommandArgs = {
|
|
174
|
+
since: number;
|
|
175
|
+
json: boolean;
|
|
176
|
+
cli?: string;
|
|
177
|
+
};
|
|
178
|
+
/**
|
|
179
|
+
* Options for scanning every registered reader at once.
|
|
180
|
+
*
|
|
181
|
+
* `only` is not a convenience filter applied to the results — it decides which
|
|
182
|
+
* readers are constructed and run at all. Scanning everything and discarding
|
|
183
|
+
* the rest turned a 10s single-CLI query into 28s of reading two other stores
|
|
184
|
+
* nobody asked for, one of them 742 MB.
|
|
185
|
+
*/
|
|
186
|
+
export type LocalUsageAggregateOptions = LocalUsageScanOptions & {
|
|
187
|
+
only?: LocalUsageCliId[];
|
|
188
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@juspay/neurolink",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.22.1",
|
|
4
4
|
"packageManager": "pnpm@10.15.1",
|
|
5
5
|
"description": "TypeScript AI SDK with 24+ LLM providers behind one consistent API. MCP-native (connect any MCP server), voice TTS/STT/realtime, RAG, agents, memory, context compaction. OpenAI · Anthropic · Gemini · Bedrock · Azure · Ollama · DeepSeek · NVIDIA NIM and more.",
|
|
6
6
|
"author": {
|