@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.
@@ -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.21.4",
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": {