@quilltap/plugin-types 2.3.1 → 2.3.3
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/{index-BiFtkKWr.d.mts → index-BBcAZs0J.d.mts} +1 -1
- package/dist/{index-DNgmDKd5.d.ts → index-DtG8Fz5w.d.ts} +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/llm/index.d.mts +10 -1
- package/dist/llm/index.d.ts +10 -1
- package/dist/plugins/index.d.mts +1 -1
- package/dist/plugins/index.d.ts +1 -1
- package/package.json +2 -2
|
@@ -1460,4 +1460,4 @@ interface ModerationProviderPluginExport {
|
|
|
1460
1460
|
moderationPlugin: ModerationProviderPlugin;
|
|
1461
1461
|
}
|
|
1462
1462
|
|
|
1463
|
-
export type {
|
|
1463
|
+
export type { ToolFormatType as $, AttachmentSupport as A, ProviderPluginExport as B, CheapModelConfig as C, ScoringProviderMetadata as D, Effects as E, FontDefinition as F, ScoringProviderPlugin as G, ScoringProviderPluginExport as H, IconProps as I, SearchOutput as J, SearchProviderConfig as K, LLMProviderPlugin as L, MessageFormatSupport as M, SearchProviderConfigRequirements as N, SearchProviderMetadata as O, PluginAuthor as P, SearchProviderPlugin as Q, SearchProviderPluginExport as R, ScoringProviderConfigRequirements as S, SearchResult as T, Spacing as U, SubsystemOverrides as V, TextProviderPlugin as W, ThemeMetadata as X, ThemePlugin as Y, ThemePluginExport as Z, ThemeTokens as _, ColorPalette as a, Typography as a0, EmbeddedFont as b, EmbeddingModelInfo as c, ImageGenerationModelInfo as d, ImageProviderConstraints as e, ImageStyleInfo as f, InstalledPluginInfo as g, ModelInfo as h, ModerationCategoryResult as i, ModerationProviderConfig as j, ModerationProviderConfigRequirements as k, ModerationProviderMetadata as l, ModerationProviderPlugin as m, ModerationProviderPluginExport as n, ModerationResult as o, PluginCapability as p, PluginCategory as q, PluginCompatibility as r, PluginIconData as s, PluginManifest as t, PluginPermissions as u, PluginStatus as v, ProviderCapabilities as w, ProviderConfig as x, ProviderConfigRequirements as y, ProviderMetadata as z };
|
|
@@ -1460,4 +1460,4 @@ interface ModerationProviderPluginExport {
|
|
|
1460
1460
|
moderationPlugin: ModerationProviderPlugin;
|
|
1461
1461
|
}
|
|
1462
1462
|
|
|
1463
|
-
export type {
|
|
1463
|
+
export type { ToolFormatType as $, AttachmentSupport as A, ProviderPluginExport as B, CheapModelConfig as C, ScoringProviderMetadata as D, Effects as E, FontDefinition as F, ScoringProviderPlugin as G, ScoringProviderPluginExport as H, IconProps as I, SearchOutput as J, SearchProviderConfig as K, LLMProviderPlugin as L, MessageFormatSupport as M, SearchProviderConfigRequirements as N, SearchProviderMetadata as O, PluginAuthor as P, SearchProviderPlugin as Q, SearchProviderPluginExport as R, ScoringProviderConfigRequirements as S, SearchResult as T, Spacing as U, SubsystemOverrides as V, TextProviderPlugin as W, ThemeMetadata as X, ThemePlugin as Y, ThemePluginExport as Z, ThemeTokens as _, ColorPalette as a, Typography as a0, EmbeddedFont as b, EmbeddingModelInfo as c, ImageGenerationModelInfo as d, ImageProviderConstraints as e, ImageStyleInfo as f, InstalledPluginInfo as g, ModelInfo as h, ModerationCategoryResult as i, ModerationProviderConfig as j, ModerationProviderConfigRequirements as k, ModerationProviderMetadata as l, ModerationProviderPlugin as m, ModerationProviderPluginExport as n, ModerationResult as o, PluginCapability as p, PluginCategory as q, PluginCompatibility as r, PluginIconData as s, PluginManifest as t, PluginPermissions as u, PluginStatus as v, ProviderCapabilities as w, ProviderConfig as x, ProviderConfigRequirements as y, ProviderMetadata as z };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { UniversalTool } from './llm/index.mjs';
|
|
2
2
|
export { AnthropicToolDefinition, AttachmentResults, CacheUsage, EmbeddingOptions, EmbeddingProvider, EmbeddingResult, FileAttachment, GeneratedImage, GoogleToolDefinition, ImageGenParams, ImageGenProvider, ImageGenResponse, ImageGenProvider as ImageProvider, JSONSchemaDefinition, LLMMessage, LLMParams, LLMProvider, LLMResponse, LocalEmbeddingProvider, LocalEmbeddingProviderState, ModelMetadata, ModelWarning, ModelWarningLevel, OpenAIToolDefinition, ResponseFormat, StreamChunk, LLMProvider as TextProvider, TokenUsage, ToolCall, ToolCallRequest, ToolFormatOptions, ToolResult, isLocalEmbeddingProvider } from './llm/index.mjs';
|
|
3
3
|
export { CategoryScore, ScoringInput, ScoringProvider, ScoringResult, ScoringTask } from './providers/index.mjs';
|
|
4
|
-
export { A as AttachmentSupport, C as CheapModelConfig, a as ColorPalette, E as Effects, b as EmbeddedFont, c as EmbeddingModelInfo, F as FontDefinition, I as IconProps, d as ImageGenerationModelInfo, e as ImageProviderConstraints, f as ImageStyleInfo, g as InstalledPluginInfo, L as LLMProviderPlugin, M as MessageFormatSupport, h as ModelInfo, i as ModerationCategoryResult,
|
|
4
|
+
export { A as AttachmentSupport, C as CheapModelConfig, a as ColorPalette, E as Effects, b as EmbeddedFont, c as EmbeddingModelInfo, F as FontDefinition, I as IconProps, d as ImageGenerationModelInfo, e as ImageProviderConstraints, f as ImageStyleInfo, g as InstalledPluginInfo, L as LLMProviderPlugin, M as MessageFormatSupport, h as ModelInfo, i as ModerationCategoryResult, k as ModerationProviderConfigRequirements, l as ModerationProviderMetadata, m as ModerationProviderPlugin, n as ModerationProviderPluginExport, o as ModerationResult, P as PluginAuthor, p as PluginCapability, q as PluginCategory, r as PluginCompatibility, s as PluginIconData, t as PluginManifest, u as PluginPermissions, v as PluginStatus, w as ProviderCapabilities, x as ProviderConfig, y as ProviderConfigRequirements, z as ProviderMetadata, B as ProviderPluginExport, S as ScoringProviderConfigRequirements, D as ScoringProviderMetadata, G as ScoringProviderPlugin, H as ScoringProviderPluginExport, J as SearchOutput, K as SearchProviderConfig, N as SearchProviderConfigRequirements, O as SearchProviderMetadata, Q as SearchProviderPlugin, R as SearchProviderPluginExport, T as SearchResult, U as Spacing, V as SubsystemOverrides, W as TextProviderPlugin, X as ThemeMetadata, Y as ThemePlugin, Z as ThemePluginExport, _ as ThemeTokens, $ as ToolFormatType, a0 as Typography } from './index-BBcAZs0J.mjs';
|
|
5
5
|
export { ApiKeyError, AttachmentError, ConfigurationError, LogContext, LogLevel, ModelNotFoundError, PluginError, PluginLogger, ProviderApiError, RateLimitError, ToolExecutionError, createConsoleLogger, createNoopLogger } from './common/index.mjs';
|
|
6
6
|
|
|
7
7
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { UniversalTool } from './llm/index.js';
|
|
2
2
|
export { AnthropicToolDefinition, AttachmentResults, CacheUsage, EmbeddingOptions, EmbeddingProvider, EmbeddingResult, FileAttachment, GeneratedImage, GoogleToolDefinition, ImageGenParams, ImageGenProvider, ImageGenResponse, ImageGenProvider as ImageProvider, JSONSchemaDefinition, LLMMessage, LLMParams, LLMProvider, LLMResponse, LocalEmbeddingProvider, LocalEmbeddingProviderState, ModelMetadata, ModelWarning, ModelWarningLevel, OpenAIToolDefinition, ResponseFormat, StreamChunk, LLMProvider as TextProvider, TokenUsage, ToolCall, ToolCallRequest, ToolFormatOptions, ToolResult, isLocalEmbeddingProvider } from './llm/index.js';
|
|
3
3
|
export { CategoryScore, ScoringInput, ScoringProvider, ScoringResult, ScoringTask } from './providers/index.js';
|
|
4
|
-
export { A as AttachmentSupport, C as CheapModelConfig, a as ColorPalette, E as Effects, b as EmbeddedFont, c as EmbeddingModelInfo, F as FontDefinition, I as IconProps, d as ImageGenerationModelInfo, e as ImageProviderConstraints, f as ImageStyleInfo, g as InstalledPluginInfo, L as LLMProviderPlugin, M as MessageFormatSupport, h as ModelInfo, i as ModerationCategoryResult,
|
|
4
|
+
export { A as AttachmentSupport, C as CheapModelConfig, a as ColorPalette, E as Effects, b as EmbeddedFont, c as EmbeddingModelInfo, F as FontDefinition, I as IconProps, d as ImageGenerationModelInfo, e as ImageProviderConstraints, f as ImageStyleInfo, g as InstalledPluginInfo, L as LLMProviderPlugin, M as MessageFormatSupport, h as ModelInfo, i as ModerationCategoryResult, k as ModerationProviderConfigRequirements, l as ModerationProviderMetadata, m as ModerationProviderPlugin, n as ModerationProviderPluginExport, o as ModerationResult, P as PluginAuthor, p as PluginCapability, q as PluginCategory, r as PluginCompatibility, s as PluginIconData, t as PluginManifest, u as PluginPermissions, v as PluginStatus, w as ProviderCapabilities, x as ProviderConfig, y as ProviderConfigRequirements, z as ProviderMetadata, B as ProviderPluginExport, S as ScoringProviderConfigRequirements, D as ScoringProviderMetadata, G as ScoringProviderPlugin, H as ScoringProviderPluginExport, J as SearchOutput, K as SearchProviderConfig, N as SearchProviderConfigRequirements, O as SearchProviderMetadata, Q as SearchProviderPlugin, R as SearchProviderPluginExport, T as SearchResult, U as Spacing, V as SubsystemOverrides, W as TextProviderPlugin, X as ThemeMetadata, Y as ThemePlugin, Z as ThemePluginExport, _ as ThemeTokens, $ as ToolFormatType, a0 as Typography } from './index-DtG8Fz5w.js';
|
|
5
5
|
export { ApiKeyError, AttachmentError, ConfigurationError, LogContext, LogLevel, ModelNotFoundError, PluginError, PluginLogger, ProviderApiError, RateLimitError, ToolExecutionError, createConsoleLogger, createNoopLogger } from './common/index.js';
|
|
6
6
|
|
|
7
7
|
/**
|
package/dist/llm/index.d.mts
CHANGED
|
@@ -365,8 +365,17 @@ interface StreamChunk {
|
|
|
365
365
|
rawResponse?: unknown;
|
|
366
366
|
/** Google Gemini thought signature */
|
|
367
367
|
thoughtSignature?: string;
|
|
368
|
-
/** Cache usage statistics */
|
|
368
|
+
/** Cache usage statistics (normalized) */
|
|
369
369
|
cacheUsage?: CacheUsage;
|
|
370
|
+
/**
|
|
371
|
+
* Provider-shape `usage` sub-object, captured pre-normalization for
|
|
372
|
+
* cache-instrumentation diagnostics. Each provider's shape differs
|
|
373
|
+
* (OpenAI/Grok/Z.AI: `prompt_tokens_details.cached_tokens`; Anthropic:
|
|
374
|
+
* `cache_read_input_tokens`; Google: `cachedContentTokenCount`).
|
|
375
|
+
* Lets the logger compare provider-reported cache hits against the
|
|
376
|
+
* normalized `cacheUsage` and catch field-mapping regressions.
|
|
377
|
+
*/
|
|
378
|
+
rawProviderUsage?: Record<string, unknown> | null;
|
|
370
379
|
}
|
|
371
380
|
/**
|
|
372
381
|
* Text completion provider interface — Shape 1: Text -> Text
|
package/dist/llm/index.d.ts
CHANGED
|
@@ -365,8 +365,17 @@ interface StreamChunk {
|
|
|
365
365
|
rawResponse?: unknown;
|
|
366
366
|
/** Google Gemini thought signature */
|
|
367
367
|
thoughtSignature?: string;
|
|
368
|
-
/** Cache usage statistics */
|
|
368
|
+
/** Cache usage statistics (normalized) */
|
|
369
369
|
cacheUsage?: CacheUsage;
|
|
370
|
+
/**
|
|
371
|
+
* Provider-shape `usage` sub-object, captured pre-normalization for
|
|
372
|
+
* cache-instrumentation diagnostics. Each provider's shape differs
|
|
373
|
+
* (OpenAI/Grok/Z.AI: `prompt_tokens_details.cached_tokens`; Anthropic:
|
|
374
|
+
* `cache_read_input_tokens`; Google: `cachedContentTokenCount`).
|
|
375
|
+
* Lets the logger compare provider-reported cache hits against the
|
|
376
|
+
* normalized `cacheUsage` and catch field-mapping regressions.
|
|
377
|
+
*/
|
|
378
|
+
rawProviderUsage?: Record<string, unknown> | null;
|
|
370
379
|
}
|
|
371
380
|
/**
|
|
372
381
|
* Text completion provider interface — Shape 1: Text -> Text
|
package/dist/plugins/index.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { A as AttachmentSupport, a as ColorPalette, E as Effects, b as EmbeddedFont, c as EmbeddingModelInfo, F as FontDefinition, I as IconProps, d as ImageGenerationModelInfo, e as ImageProviderConstraints, g as InstalledPluginInfo, L as LLMProviderPlugin, h as ModelInfo, i as ModerationCategoryResult,
|
|
1
|
+
export { A as AttachmentSupport, a as ColorPalette, E as Effects, b as EmbeddedFont, c as EmbeddingModelInfo, F as FontDefinition, I as IconProps, d as ImageGenerationModelInfo, e as ImageProviderConstraints, g as InstalledPluginInfo, L as LLMProviderPlugin, h as ModelInfo, i as ModerationCategoryResult, j as ModerationProviderConfig, k as ModerationProviderConfigRequirements, l as ModerationProviderMetadata, m as ModerationProviderPlugin, n as ModerationProviderPluginExport, o as ModerationResult, P as PluginAuthor, p as PluginCapability, q as PluginCategory, r as PluginCompatibility, t as PluginManifest, u as PluginPermissions, v as PluginStatus, w as ProviderCapabilities, x as ProviderConfig, y as ProviderConfigRequirements, z as ProviderMetadata, B as ProviderPluginExport, S as ScoringProviderConfigRequirements, D as ScoringProviderMetadata, G as ScoringProviderPlugin, H as ScoringProviderPluginExport, J as SearchOutput, K as SearchProviderConfig, N as SearchProviderConfigRequirements, O as SearchProviderMetadata, Q as SearchProviderPlugin, R as SearchProviderPluginExport, T as SearchResult, U as Spacing, W as TextProviderPlugin, X as ThemeMetadata, Y as ThemePlugin, Z as ThemePluginExport, _ as ThemeTokens, a0 as Typography } from '../index-BBcAZs0J.mjs';
|
|
2
2
|
import '../llm/index.mjs';
|
|
3
3
|
import '../providers/index.mjs';
|
package/dist/plugins/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { A as AttachmentSupport, a as ColorPalette, E as Effects, b as EmbeddedFont, c as EmbeddingModelInfo, F as FontDefinition, I as IconProps, d as ImageGenerationModelInfo, e as ImageProviderConstraints, g as InstalledPluginInfo, L as LLMProviderPlugin, h as ModelInfo, i as ModerationCategoryResult,
|
|
1
|
+
export { A as AttachmentSupport, a as ColorPalette, E as Effects, b as EmbeddedFont, c as EmbeddingModelInfo, F as FontDefinition, I as IconProps, d as ImageGenerationModelInfo, e as ImageProviderConstraints, g as InstalledPluginInfo, L as LLMProviderPlugin, h as ModelInfo, i as ModerationCategoryResult, j as ModerationProviderConfig, k as ModerationProviderConfigRequirements, l as ModerationProviderMetadata, m as ModerationProviderPlugin, n as ModerationProviderPluginExport, o as ModerationResult, P as PluginAuthor, p as PluginCapability, q as PluginCategory, r as PluginCompatibility, t as PluginManifest, u as PluginPermissions, v as PluginStatus, w as ProviderCapabilities, x as ProviderConfig, y as ProviderConfigRequirements, z as ProviderMetadata, B as ProviderPluginExport, S as ScoringProviderConfigRequirements, D as ScoringProviderMetadata, G as ScoringProviderPlugin, H as ScoringProviderPluginExport, J as SearchOutput, K as SearchProviderConfig, N as SearchProviderConfigRequirements, O as SearchProviderMetadata, Q as SearchProviderPlugin, R as SearchProviderPluginExport, T as SearchResult, U as Spacing, W as TextProviderPlugin, X as ThemeMetadata, Y as ThemePlugin, Z as ThemePluginExport, _ as ThemeTokens, a0 as Typography } from '../index-DtG8Fz5w.js';
|
|
2
2
|
import '../llm/index.js';
|
|
3
3
|
import '../providers/index.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quilltap/plugin-types",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.3",
|
|
4
4
|
"description": "Type definitions for Quilltap plugin development",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"typecheck": "tsc --noEmit"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@types/node": "^24.12.
|
|
47
|
+
"@types/node": "^24.12.4",
|
|
48
48
|
"tsup": "^8.5.1",
|
|
49
49
|
"typescript": "^5.9.3"
|
|
50
50
|
},
|