llmist 6.0.0 → 6.2.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/{chunk-EIE5VRSI.js → chunk-36YSBSGB.js} +967 -396
- package/dist/chunk-36YSBSGB.js.map +1 -0
- package/dist/{chunk-F62X5W2G.js → chunk-EJEP5MHQ.js} +108 -25
- package/dist/chunk-EJEP5MHQ.js.map +1 -0
- package/dist/cli.cjs +11874 -9401
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +3008 -1101
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +6589 -5923
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +184 -311
- package/dist/index.d.ts +184 -311
- package/dist/index.js +29 -3
- package/dist/{mock-stream-CAY53Q6u.d.cts → mock-stream-DG4wF-NH.d.cts} +1161 -161
- package/dist/{mock-stream-CAY53Q6u.d.ts → mock-stream-DG4wF-NH.d.ts} +1161 -161
- package/dist/testing/index.cjs +956 -389
- package/dist/testing/index.cjs.map +1 -1
- package/dist/testing/index.d.cts +3 -3
- package/dist/testing/index.d.ts +3 -3
- package/dist/testing/index.js +1 -1
- package/package.json +2 -1
- package/dist/chunk-EIE5VRSI.js.map +0 -1
- package/dist/chunk-F62X5W2G.js.map +0 -1
package/dist/testing/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PassThrough, Readable, Writable } from 'node:stream';
|
|
2
|
-
import { L as LLMMessage, A as AbstractGadget, I as IConversationManager, a as LLMStream, b as LLMStreamChunk } from '../mock-stream-
|
|
3
|
-
export { j as MockAudioData, d as MockBuilder, k as MockImageData, f as MockManager, l as MockMatcher, n as MockMatcherContext, o as MockOptions, M as MockProviderAdapter, p as MockRegistration, q as MockResponse, r as MockStats, c as createMockAdapter, e as createMockClient, h as createMockStream, i as createTextMockStream, g as getMockManager, m as mockLLM } from '../mock-stream-
|
|
2
|
+
import { L as LLMMessage, A as AbstractGadget, I as IConversationManager, a as LLMStream, b as LLMStreamChunk } from '../mock-stream-DG4wF-NH.cjs';
|
|
3
|
+
export { j as MockAudioData, d as MockBuilder, k as MockImageData, f as MockManager, l as MockMatcher, n as MockMatcherContext, o as MockOptions, M as MockProviderAdapter, p as MockRegistration, q as MockResponse, r as MockStats, c as createMockAdapter, e as createMockClient, h as createMockStream, i as createTextMockStream, g as getMockManager, m as mockLLM } from '../mock-stream-DG4wF-NH.cjs';
|
|
4
4
|
import { ZodType } from 'zod';
|
|
5
5
|
import 'tslog';
|
|
6
6
|
|
|
@@ -383,7 +383,7 @@ declare class MockConversationManager implements IConversationManager {
|
|
|
383
383
|
constructor(history?: LLMMessage[], baseMessages?: LLMMessage[]);
|
|
384
384
|
addUserMessage(content: string): void;
|
|
385
385
|
addAssistantMessage(content: string): void;
|
|
386
|
-
addGadgetCallResult(gadgetName: string, parameters: Record<string, unknown>, result: string): void;
|
|
386
|
+
addGadgetCallResult(gadgetName: string, parameters: Record<string, unknown>, result: string, invocationId: string): void;
|
|
387
387
|
getMessages(): LLMMessage[];
|
|
388
388
|
getHistoryMessages(): LLMMessage[];
|
|
389
389
|
getBaseMessages(): LLMMessage[];
|
package/dist/testing/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PassThrough, Readable, Writable } from 'node:stream';
|
|
2
|
-
import { L as LLMMessage, A as AbstractGadget, I as IConversationManager, a as LLMStream, b as LLMStreamChunk } from '../mock-stream-
|
|
3
|
-
export { j as MockAudioData, d as MockBuilder, k as MockImageData, f as MockManager, l as MockMatcher, n as MockMatcherContext, o as MockOptions, M as MockProviderAdapter, p as MockRegistration, q as MockResponse, r as MockStats, c as createMockAdapter, e as createMockClient, h as createMockStream, i as createTextMockStream, g as getMockManager, m as mockLLM } from '../mock-stream-
|
|
2
|
+
import { L as LLMMessage, A as AbstractGadget, I as IConversationManager, a as LLMStream, b as LLMStreamChunk } from '../mock-stream-DG4wF-NH.js';
|
|
3
|
+
export { j as MockAudioData, d as MockBuilder, k as MockImageData, f as MockManager, l as MockMatcher, n as MockMatcherContext, o as MockOptions, M as MockProviderAdapter, p as MockRegistration, q as MockResponse, r as MockStats, c as createMockAdapter, e as createMockClient, h as createMockStream, i as createTextMockStream, g as getMockManager, m as mockLLM } from '../mock-stream-DG4wF-NH.js';
|
|
4
4
|
import { ZodType } from 'zod';
|
|
5
5
|
import 'tslog';
|
|
6
6
|
|
|
@@ -383,7 +383,7 @@ declare class MockConversationManager implements IConversationManager {
|
|
|
383
383
|
constructor(history?: LLMMessage[], baseMessages?: LLMMessage[]);
|
|
384
384
|
addUserMessage(content: string): void;
|
|
385
385
|
addAssistantMessage(content: string): void;
|
|
386
|
-
addGadgetCallResult(gadgetName: string, parameters: Record<string, unknown>, result: string): void;
|
|
386
|
+
addGadgetCallResult(gadgetName: string, parameters: Record<string, unknown>, result: string, invocationId: string): void;
|
|
387
387
|
getMessages(): LLMMessage[];
|
|
388
388
|
getHistoryMessages(): LLMMessage[];
|
|
389
389
|
getBaseMessages(): LLMMessage[];
|
package/dist/testing/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "llmist",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.2.0",
|
|
4
4
|
"description": "TypeScript LLM client with streaming tool execution. Tools fire mid-stream. Built-in function calling works with any model—no structured outputs or native tool support required.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
@@ -90,6 +90,7 @@
|
|
|
90
90
|
"dependencies": {
|
|
91
91
|
"@anthropic-ai/sdk": "^0.69.0",
|
|
92
92
|
"@google/genai": "^1.27.0",
|
|
93
|
+
"@unblessed/node": "^1.0.0-alpha.23",
|
|
93
94
|
"chalk": "^5.6.2",
|
|
94
95
|
"commander": "^12.1.0",
|
|
95
96
|
"diff": "^8.0.2",
|