@nemesis-oss/ollama-sdk 1.25.3 → 1.26.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.
Files changed (41) hide show
  1. package/dist/{anthropic-DA9flTv_.d.ts → anthropic-AlcVOiYu.d.cts} +4 -2
  2. package/dist/{anthropic-DnsaK9Ui.d.cts → anthropic-Dc8EQWwl.d.ts} +4 -2
  3. package/dist/{compose-DxAQ2z26.d.ts → compose-IebOA0uM.d.ts} +3 -2
  4. package/dist/{compose-Bjpsu3Y1.d.cts → compose-T-RQQtC0.d.cts} +3 -2
  5. package/dist/generated-api.cjs +3 -0
  6. package/dist/generated-api.cjs.map +1 -1
  7. package/dist/generated-api.d.cts +5 -5
  8. package/dist/generated-api.d.ts +5 -5
  9. package/dist/generated-api.js +3 -0
  10. package/dist/generated-api.js.map +1 -1
  11. package/dist/generated-runtime.cjs +1 -0
  12. package/dist/generated-runtime.cjs.map +1 -1
  13. package/dist/generated-runtime.d.cts +2 -2
  14. package/dist/generated-runtime.d.ts +2 -2
  15. package/dist/generated-runtime.js +1 -0
  16. package/dist/generated-runtime.js.map +1 -1
  17. package/dist/index.cjs +37 -1
  18. package/dist/index.cjs.map +1 -1
  19. package/dist/index.d.cts +12 -9
  20. package/dist/index.d.ts +12 -9
  21. package/dist/index.js +37 -1
  22. package/dist/index.js.map +1 -1
  23. package/dist/mcp-generated.cjs +7 -2
  24. package/dist/mcp-generated.cjs.map +1 -1
  25. package/dist/mcp-generated.d.cts +3 -3
  26. package/dist/mcp-generated.d.ts +3 -3
  27. package/dist/mcp-generated.js +7 -2
  28. package/dist/mcp-generated.js.map +1 -1
  29. package/dist/mcp-http.d.cts +3 -2
  30. package/dist/mcp-http.d.ts +3 -2
  31. package/dist/mcp-stdio.d.cts +3 -2
  32. package/dist/mcp-stdio.d.ts +3 -2
  33. package/dist/{runtime-BoTPAvJH.d.cts → runtime-Bh5QDgZE.d.cts} +3 -2
  34. package/dist/{runtime-DQRudJFP.d.ts → runtime-dECqtgJT.d.ts} +3 -2
  35. package/dist/skills.d.cts +5 -4
  36. package/dist/skills.d.ts +5 -4
  37. package/dist/testing.d.cts +2 -1
  38. package/dist/testing.d.ts +2 -1
  39. package/dist/{types-CH3pdrak.d.cts → types-DMyGZRMW.d.cts} +2 -1
  40. package/dist/{types-CH3pdrak.d.ts → types-DMyGZRMW.d.ts} +2 -1
  41. package/package.json +7 -7
@@ -1,4 +1,4 @@
1
- import { n as Message, m as ChatResponse, i as ToolCall, b as ProgressResponse, o as GenerateResponse } from './types-CH3pdrak.cjs';
1
+ import { n as Message, m as ChatResponse, i as ToolCall, b as ProgressResponse, o as GenerateResponse } from './types-DMyGZRMW.cjs';
2
2
  import { z } from 'zod';
3
3
 
4
4
  /**
@@ -1038,4 +1038,5 @@ declare class OllamaRuntime {
1038
1038
  private assertOperationAllowed;
1039
1039
  }
1040
1040
 
1041
- export { OllamaOverloadedError as $, type AbortableAsyncIterable as A, type BinaryBody as B, type ChatStreamResult as C, type DoneEvent as D, type ErrorEvent as E, type FetchLike as F, type GenerateStreamResult as G, HttpClient as H, type InvokeRequest as I, type OllamaClientErrorOptions as J, OllamaCloudModelVersionError as K, type Logger as L, type Middleware as M, NANOS_PER_MS as N, OllamaRuntime as O, type ProgressStreamResult as P, type OllamaErrorRequestContext as Q, type RequestLifecycleHook as R, type SchemaRef as S, type TokenUsage as T, type OllamaErrorResponseContext as U, OllamaGenericClientError as V, OllamaIncompatibleModelError as W, OllamaMcpError as X, OllamaModelRoutingError as Y, OllamaNetworkError as Z, OllamaNotFoundError as _, type OperationDefinition as a, OllamaPaymentRequiredError as a0, OllamaQuotaExceededError as a1, OllamaRateLimitError as a2, OllamaRequestTooLargeError as a3, OllamaRequestValidationError as a4, OllamaResponseValidationError as a5, OllamaServerError as a6, OllamaServerVersionUnknownError as a7, OllamaSkillInvalidError as a8, OllamaSkillNotFoundError as a9, OllamaStreamError as aa, OllamaTimeoutError as ab, OllamaToolTimeoutError as ac, OllamaToolValidationError as ad, OllamaUnsupportedCapabilityError as ae, type RequestContext as af, type RequestLifecycleEvent as ag, type ResponseContext as ah, type SseEvent as ai, type ThinkingEvent as aj, type TokenEvent as ak, type ToolCallEvent as al, composeMiddleware as am, createConsoleLogger as an, extractUsage as ao, isNetworkLevelError as ap, mapError as aq, parseRetryAfterMs as ar, parseSseStream as as, type OllamaRuntimeOptions as b, type OllamaStreamEvent as c, type OllamaStreamEventType as d, type RawUsageSource as e, type HttpBody as f, type HttpClientOptions as g, type HttpRequestOptions as h, type LifecycleErrorEvent as i, type LifecycleRetryEvent as j, type LifecycleStartEvent as k, type LifecycleSuccessEvent as l, type LogFn as m, type MessageEvent as n, type MiddlewareContext as o, NANOS_PER_SECOND as p, NETWORK_ERROR_CODES as q, NOOP_LOGGER as r, type NextFunction as s, OllamaAbortError as t, OllamaAgentMaxIterationsError as u, OllamaAgentMaxToolCallsError as v, OllamaAgentToolLoopError as w, OllamaAuthError as x, OllamaBadGatewayError as y, OllamaClientError as z };
1041
+ export { OllamaOverloadedError as $, HttpClient as H, OllamaCloudModelVersionError as K, NANOS_PER_MS as N, OllamaRuntime as O, OllamaGenericClientError as V, OllamaIncompatibleModelError as W, OllamaMcpError as X, OllamaModelRoutingError as Y, OllamaNetworkError as Z, OllamaNotFoundError as _, OllamaPaymentRequiredError as a0, OllamaQuotaExceededError as a1, OllamaRateLimitError as a2, OllamaRequestTooLargeError as a3, OllamaRequestValidationError as a4, OllamaResponseValidationError as a5, OllamaServerError as a6, OllamaServerVersionUnknownError as a7, OllamaSkillInvalidError as a8, OllamaSkillNotFoundError as a9, OllamaStreamError as aa, OllamaTimeoutError as ab, OllamaToolTimeoutError as ac, OllamaToolValidationError as ad, OllamaUnsupportedCapabilityError as ae, composeMiddleware as am, createConsoleLogger as an, extractUsage as ao, isNetworkLevelError as ap, mapError as aq, parseRetryAfterMs as ar, parseSseStream as as, NANOS_PER_SECOND as p, NETWORK_ERROR_CODES as q, NOOP_LOGGER as r, OllamaAbortError as t, OllamaAgentMaxIterationsError as u, OllamaAgentMaxToolCallsError as v, OllamaAgentToolLoopError as w, OllamaAuthError as x, OllamaBadGatewayError as y, OllamaClientError as z };
1042
+ export type { AbortableAsyncIterable as A, BinaryBody as B, ChatStreamResult as C, DoneEvent as D, ErrorEvent as E, FetchLike as F, GenerateStreamResult as G, InvokeRequest as I, OllamaClientErrorOptions as J, Logger as L, Middleware as M, ProgressStreamResult as P, OllamaErrorRequestContext as Q, RequestLifecycleHook as R, SchemaRef as S, TokenUsage as T, OllamaErrorResponseContext as U, OperationDefinition as a, RequestContext as af, RequestLifecycleEvent as ag, ResponseContext as ah, SseEvent as ai, ThinkingEvent as aj, TokenEvent as ak, ToolCallEvent as al, OllamaRuntimeOptions as b, OllamaStreamEvent as c, OllamaStreamEventType as d, RawUsageSource as e, HttpBody as f, HttpClientOptions as g, HttpRequestOptions as h, LifecycleErrorEvent as i, LifecycleRetryEvent as j, LifecycleStartEvent as k, LifecycleSuccessEvent as l, LogFn as m, MessageEvent as n, MiddlewareContext as o, NextFunction as s };
@@ -1,4 +1,4 @@
1
- import { n as Message, m as ChatResponse, i as ToolCall, b as ProgressResponse, o as GenerateResponse } from './types-CH3pdrak.js';
1
+ import { n as Message, m as ChatResponse, i as ToolCall, b as ProgressResponse, o as GenerateResponse } from './types-DMyGZRMW.js';
2
2
  import { z } from 'zod';
3
3
 
4
4
  /**
@@ -1038,4 +1038,5 @@ declare class OllamaRuntime {
1038
1038
  private assertOperationAllowed;
1039
1039
  }
1040
1040
 
1041
- export { OllamaOverloadedError as $, type AbortableAsyncIterable as A, type BinaryBody as B, type ChatStreamResult as C, type DoneEvent as D, type ErrorEvent as E, type FetchLike as F, type GenerateStreamResult as G, HttpClient as H, type InvokeRequest as I, type OllamaClientErrorOptions as J, OllamaCloudModelVersionError as K, type Logger as L, type Middleware as M, NANOS_PER_MS as N, OllamaRuntime as O, type ProgressStreamResult as P, type OllamaErrorRequestContext as Q, type RequestLifecycleHook as R, type SchemaRef as S, type TokenUsage as T, type OllamaErrorResponseContext as U, OllamaGenericClientError as V, OllamaIncompatibleModelError as W, OllamaMcpError as X, OllamaModelRoutingError as Y, OllamaNetworkError as Z, OllamaNotFoundError as _, type OperationDefinition as a, OllamaPaymentRequiredError as a0, OllamaQuotaExceededError as a1, OllamaRateLimitError as a2, OllamaRequestTooLargeError as a3, OllamaRequestValidationError as a4, OllamaResponseValidationError as a5, OllamaServerError as a6, OllamaServerVersionUnknownError as a7, OllamaSkillInvalidError as a8, OllamaSkillNotFoundError as a9, OllamaStreamError as aa, OllamaTimeoutError as ab, OllamaToolTimeoutError as ac, OllamaToolValidationError as ad, OllamaUnsupportedCapabilityError as ae, type RequestContext as af, type RequestLifecycleEvent as ag, type ResponseContext as ah, type SseEvent as ai, type ThinkingEvent as aj, type TokenEvent as ak, type ToolCallEvent as al, composeMiddleware as am, createConsoleLogger as an, extractUsage as ao, isNetworkLevelError as ap, mapError as aq, parseRetryAfterMs as ar, parseSseStream as as, type OllamaRuntimeOptions as b, type OllamaStreamEvent as c, type OllamaStreamEventType as d, type RawUsageSource as e, type HttpBody as f, type HttpClientOptions as g, type HttpRequestOptions as h, type LifecycleErrorEvent as i, type LifecycleRetryEvent as j, type LifecycleStartEvent as k, type LifecycleSuccessEvent as l, type LogFn as m, type MessageEvent as n, type MiddlewareContext as o, NANOS_PER_SECOND as p, NETWORK_ERROR_CODES as q, NOOP_LOGGER as r, type NextFunction as s, OllamaAbortError as t, OllamaAgentMaxIterationsError as u, OllamaAgentMaxToolCallsError as v, OllamaAgentToolLoopError as w, OllamaAuthError as x, OllamaBadGatewayError as y, OllamaClientError as z };
1041
+ export { OllamaOverloadedError as $, HttpClient as H, OllamaCloudModelVersionError as K, NANOS_PER_MS as N, OllamaRuntime as O, OllamaGenericClientError as V, OllamaIncompatibleModelError as W, OllamaMcpError as X, OllamaModelRoutingError as Y, OllamaNetworkError as Z, OllamaNotFoundError as _, OllamaPaymentRequiredError as a0, OllamaQuotaExceededError as a1, OllamaRateLimitError as a2, OllamaRequestTooLargeError as a3, OllamaRequestValidationError as a4, OllamaResponseValidationError as a5, OllamaServerError as a6, OllamaServerVersionUnknownError as a7, OllamaSkillInvalidError as a8, OllamaSkillNotFoundError as a9, OllamaStreamError as aa, OllamaTimeoutError as ab, OllamaToolTimeoutError as ac, OllamaToolValidationError as ad, OllamaUnsupportedCapabilityError as ae, composeMiddleware as am, createConsoleLogger as an, extractUsage as ao, isNetworkLevelError as ap, mapError as aq, parseRetryAfterMs as ar, parseSseStream as as, NANOS_PER_SECOND as p, NETWORK_ERROR_CODES as q, NOOP_LOGGER as r, OllamaAbortError as t, OllamaAgentMaxIterationsError as u, OllamaAgentMaxToolCallsError as v, OllamaAgentToolLoopError as w, OllamaAuthError as x, OllamaBadGatewayError as y, OllamaClientError as z };
1042
+ export type { AbortableAsyncIterable as A, BinaryBody as B, ChatStreamResult as C, DoneEvent as D, ErrorEvent as E, FetchLike as F, GenerateStreamResult as G, InvokeRequest as I, OllamaClientErrorOptions as J, Logger as L, Middleware as M, ProgressStreamResult as P, OllamaErrorRequestContext as Q, RequestLifecycleHook as R, SchemaRef as S, TokenUsage as T, OllamaErrorResponseContext as U, OperationDefinition as a, RequestContext as af, RequestLifecycleEvent as ag, ResponseContext as ah, SseEvent as ai, ThinkingEvent as aj, TokenEvent as ak, ToolCallEvent as al, OllamaRuntimeOptions as b, OllamaStreamEvent as c, OllamaStreamEventType as d, RawUsageSource as e, HttpBody as f, HttpClientOptions as g, HttpRequestOptions as h, LifecycleErrorEvent as i, LifecycleRetryEvent as j, LifecycleStartEvent as k, LifecycleSuccessEvent as l, LogFn as m, MessageEvent as n, MiddlewareContext as o, NextFunction as s };
package/dist/skills.d.cts CHANGED
@@ -1,6 +1,6 @@
1
- import { g as SkillSummary, S as Skill } from './compose-Bjpsu3Y1.cjs';
2
- export { d as AppliedSkillResult, e as ApplySkillOptions, P as ParsedFrontmatter, f as SkillFrontmatter, l as applySkill, p as parseFrontmatter } from './compose-Bjpsu3Y1.cjs';
3
- import './types-CH3pdrak.cjs';
1
+ import { g as SkillSummary, S as Skill } from './compose-T-RQQtC0.cjs';
2
+ export { d as AppliedSkillResult, e as ApplySkillOptions, P as ParsedFrontmatter, f as SkillFrontmatter, l as applySkill, p as parseFrontmatter } from './compose-T-RQQtC0.cjs';
3
+ import './types-DMyGZRMW.cjs';
4
4
  import 'zod';
5
5
 
6
6
  /**
@@ -17,4 +17,5 @@ declare class SkillRegistry {
17
17
  load(name: string): Promise<Skill>;
18
18
  }
19
19
 
20
- export { Skill, SkillRegistry, type SkillRegistryOptions, SkillSummary };
20
+ export { Skill, SkillRegistry, SkillSummary };
21
+ export type { SkillRegistryOptions };
package/dist/skills.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- import { g as SkillSummary, S as Skill } from './compose-DxAQ2z26.js';
2
- export { d as AppliedSkillResult, e as ApplySkillOptions, P as ParsedFrontmatter, f as SkillFrontmatter, l as applySkill, p as parseFrontmatter } from './compose-DxAQ2z26.js';
3
- import './types-CH3pdrak.js';
1
+ import { g as SkillSummary, S as Skill } from './compose-IebOA0uM.js';
2
+ export { d as AppliedSkillResult, e as ApplySkillOptions, P as ParsedFrontmatter, f as SkillFrontmatter, l as applySkill, p as parseFrontmatter } from './compose-IebOA0uM.js';
3
+ import './types-DMyGZRMW.js';
4
4
  import 'zod';
5
5
 
6
6
  /**
@@ -17,4 +17,5 @@ declare class SkillRegistry {
17
17
  load(name: string): Promise<Skill>;
18
18
  }
19
19
 
20
- export { Skill, SkillRegistry, type SkillRegistryOptions, SkillSummary };
20
+ export { Skill, SkillRegistry, SkillSummary };
21
+ export type { SkillRegistryOptions };
@@ -373,4 +373,5 @@ declare class OllamaMockServer {
373
373
  */
374
374
  declare function createMockOllamaServer(options?: MockServerOptions): OllamaMockServer;
375
375
 
376
- export { type MockEndpointOptions, type MockRequestRecord, type MockRouteResponse, type MockServerOptions, type MockTextChunksOptions, type MockToolCallChunksOptions, type MockToolCallSpec, OllamaMockServer, createMockOllamaServer, mockChatChunk, mockTextChunks, mockToolCallChunks };
376
+ export { OllamaMockServer, createMockOllamaServer, mockChatChunk, mockTextChunks, mockToolCallChunks };
377
+ export type { MockEndpointOptions, MockRequestRecord, MockRouteResponse, MockServerOptions, MockTextChunksOptions, MockToolCallChunksOptions, MockToolCallSpec };
package/dist/testing.d.ts CHANGED
@@ -373,4 +373,5 @@ declare class OllamaMockServer {
373
373
  */
374
374
  declare function createMockOllamaServer(options?: MockServerOptions): OllamaMockServer;
375
375
 
376
- export { type MockEndpointOptions, type MockRequestRecord, type MockRouteResponse, type MockServerOptions, type MockTextChunksOptions, type MockToolCallChunksOptions, type MockToolCallSpec, OllamaMockServer, createMockOllamaServer, mockChatChunk, mockTextChunks, mockToolCallChunks };
376
+ export { OllamaMockServer, createMockOllamaServer, mockChatChunk, mockTextChunks, mockToolCallChunks };
377
+ export type { MockEndpointOptions, MockRequestRecord, MockRouteResponse, MockServerOptions, MockTextChunksOptions, MockToolCallChunksOptions, MockToolCallSpec };
@@ -666,4 +666,5 @@ type UsageGroupBy = 'model';
666
666
  */
667
667
  type BalanceRequestOptions = RequestCancellationOptions;
668
668
 
669
- export { resolveImageInput as $, type LogprobToken as A, type BalanceRequestOptions as B, type CreateRequestOptions as C, type DeleteRequestOptions as D, type EmbedRequestOptions as E, type FormatOption as F, type GenerateRequestOptions as G, type ModelDetails as H, type ImageResolutionPolicy as I, type Role as J, type ToolCallFunction as K, type ListResponse as L, type ModelResponse as M, type ToolFunctionDefinition as N, type ToolProperty as O, type PullRequestOptions as P, type UsageGroupBy as Q, type RequestCancellationOptions as R, type ShowRequestOptions as S, type ThinkingMetadata as T, type UsageRequestOptions as U, type VersionResponse as V, type WebSearchRequestOptions as W, type UsageRange as X, type UsageScope as Y, type WebSearchResult as Z, imageStringNeedsResolution as _, type ShowResponse as a, type ProgressResponse as b, type PushRequestOptions as c, type StatusResponse as d, type CopyRequestOptions as e, type PsResponse as f, type ToolParameters as g, type ThinkValue as h, type ToolCall as i, type ChatRequestOptions as j, type ModelOptions as k, type ToolDefinition as l, type ChatResponse as m, type Message as n, type GenerateResponse as o, type EmbedResponse as p, type EmbeddingsRequestOptions as q, type EmbeddingsResponse as r, type WebSearchResponse as s, type WebFetchRequestOptions as t, type WebFetchResponse as u, type PingResult as v, type VisionInput as w, type ImageAddress as x, type ImageFetchLike as y, type Logprob as z };
669
+ export { resolveImageInput as $, imageStringNeedsResolution as _ };
670
+ export type { LogprobToken as A, BalanceRequestOptions as B, CreateRequestOptions as C, DeleteRequestOptions as D, EmbedRequestOptions as E, FormatOption as F, GenerateRequestOptions as G, ModelDetails as H, ImageResolutionPolicy as I, Role as J, ToolCallFunction as K, ListResponse as L, ModelResponse as M, ToolFunctionDefinition as N, ToolProperty as O, PullRequestOptions as P, UsageGroupBy as Q, RequestCancellationOptions as R, ShowRequestOptions as S, ThinkingMetadata as T, UsageRequestOptions as U, VersionResponse as V, WebSearchRequestOptions as W, UsageRange as X, UsageScope as Y, WebSearchResult as Z, ShowResponse as a, ProgressResponse as b, PushRequestOptions as c, StatusResponse as d, CopyRequestOptions as e, PsResponse as f, ToolParameters as g, ThinkValue as h, ToolCall as i, ChatRequestOptions as j, ModelOptions as k, ToolDefinition as l, ChatResponse as m, Message as n, GenerateResponse as o, EmbedResponse as p, EmbeddingsRequestOptions as q, EmbeddingsResponse as r, WebSearchResponse as s, WebFetchRequestOptions as t, WebFetchResponse as u, PingResult as v, VisionInput as w, ImageAddress as x, ImageFetchLike as y, Logprob as z };
@@ -666,4 +666,5 @@ type UsageGroupBy = 'model';
666
666
  */
667
667
  type BalanceRequestOptions = RequestCancellationOptions;
668
668
 
669
- export { resolveImageInput as $, type LogprobToken as A, type BalanceRequestOptions as B, type CreateRequestOptions as C, type DeleteRequestOptions as D, type EmbedRequestOptions as E, type FormatOption as F, type GenerateRequestOptions as G, type ModelDetails as H, type ImageResolutionPolicy as I, type Role as J, type ToolCallFunction as K, type ListResponse as L, type ModelResponse as M, type ToolFunctionDefinition as N, type ToolProperty as O, type PullRequestOptions as P, type UsageGroupBy as Q, type RequestCancellationOptions as R, type ShowRequestOptions as S, type ThinkingMetadata as T, type UsageRequestOptions as U, type VersionResponse as V, type WebSearchRequestOptions as W, type UsageRange as X, type UsageScope as Y, type WebSearchResult as Z, imageStringNeedsResolution as _, type ShowResponse as a, type ProgressResponse as b, type PushRequestOptions as c, type StatusResponse as d, type CopyRequestOptions as e, type PsResponse as f, type ToolParameters as g, type ThinkValue as h, type ToolCall as i, type ChatRequestOptions as j, type ModelOptions as k, type ToolDefinition as l, type ChatResponse as m, type Message as n, type GenerateResponse as o, type EmbedResponse as p, type EmbeddingsRequestOptions as q, type EmbeddingsResponse as r, type WebSearchResponse as s, type WebFetchRequestOptions as t, type WebFetchResponse as u, type PingResult as v, type VisionInput as w, type ImageAddress as x, type ImageFetchLike as y, type Logprob as z };
669
+ export { resolveImageInput as $, imageStringNeedsResolution as _ };
670
+ export type { LogprobToken as A, BalanceRequestOptions as B, CreateRequestOptions as C, DeleteRequestOptions as D, EmbedRequestOptions as E, FormatOption as F, GenerateRequestOptions as G, ModelDetails as H, ImageResolutionPolicy as I, Role as J, ToolCallFunction as K, ListResponse as L, ModelResponse as M, ToolFunctionDefinition as N, ToolProperty as O, PullRequestOptions as P, UsageGroupBy as Q, RequestCancellationOptions as R, ShowRequestOptions as S, ThinkingMetadata as T, UsageRequestOptions as U, VersionResponse as V, WebSearchRequestOptions as W, UsageRange as X, UsageScope as Y, WebSearchResult as Z, ShowResponse as a, ProgressResponse as b, PushRequestOptions as c, StatusResponse as d, CopyRequestOptions as e, PsResponse as f, ToolParameters as g, ThinkValue as h, ToolCall as i, ChatRequestOptions as j, ModelOptions as k, ToolDefinition as l, ChatResponse as m, Message as n, GenerateResponse as o, EmbedResponse as p, EmbeddingsRequestOptions as q, EmbeddingsResponse as r, WebSearchResponse as s, WebFetchRequestOptions as t, WebFetchResponse as u, PingResult as v, VisionInput as w, ImageAddress as x, ImageFetchLike as y, Logprob as z };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nemesis-oss/ollama-sdk",
3
- "version": "1.25.3",
3
+ "version": "1.26.0",
4
4
  "description": "Production-grade TypeScript SDK for Ollama with native fetch, high availability failover, multi-turn tool calling, structured outputs, reasoning stream tokens, OpenAI/Anthropic bridges, MCP, Web Stream adapters, and a contract-first hybrid architecture that generates TypeScript types, API classes, MCP tools, and Zod schemas from a single canonical IR.",
5
5
  "keywords": [
6
6
  "ollama",
@@ -199,7 +199,7 @@
199
199
  "contract:upstream-drift": "tsx scripts/upstream-drift.ts",
200
200
  "bench": "vitest bench --run",
201
201
  "bench:watch": "vitest bench",
202
- "check:types": "npx --yes @arethetypeswrong/cli@latest --pack .",
202
+ "check:types": "attw --pack .",
203
203
  "verify:consumer-types": "bash scripts/verify-consumer-types.sh",
204
204
  "verify": "npm run typecheck && npm run lint && npm run test && npm run build && npm run verify:edge-runtime && npm run verify:contract-parity",
205
205
  "smoke": "npm run contract:validate && npm run contract:diff && npm run contract:drift -- --strict && npm run verify && npm run check:types && npm run verify:consumer-types",
@@ -237,16 +237,16 @@
237
237
  "@types/node": "^26.6.6",
238
238
  "@vitest/coverage-v8": "^5.1.0",
239
239
  "cross-env": "^10.1.0",
240
- "dotenv": "^18.0.9",
240
+ "dotenv": "^18.0.10",
241
241
  "esbuild": "^0.28.2",
242
- "eslint": "^10.14.0",
242
+ "eslint": "^10.15.0",
243
243
  "eslint-config-prettier": "^10.1.8",
244
244
  "js-yaml": "^5.5.0",
245
- "prettier": "^3.9.10",
246
- "tsup": "^8.5.1",
245
+ "prettier": "^3.10.1",
246
+ "tsup": "^9.0.0",
247
247
  "tsx": "^4.23.15",
248
248
  "typescript": "^5.9.3",
249
- "typescript-eslint": "^8.72.1",
249
+ "typescript-eslint": "^8.72.2",
250
250
  "vitest": "^5.0.5",
251
251
  "zod": "^4.6.6"
252
252
  }