
Security News
CVE Volume Surges Past 48,000 in 2025 as WordPress Plugin Ecosystem Drives Growth
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.
ai.matey.types
Advanced tools
TypeScript type definitions for the ai.matey ecosystem
Part of the ai.matey monorepo.
npm install ai.matey.types
IRChatRequest - Universal chat request formatIRChatResponse - Universal chat response formatIRMessage - Individual message in conversationIRStreamChunk - Streaming response chunkIRParameters - Generation parameters (temperature, maxTokens, etc.)IRMetadata - Request/response metadata and provenanceIRTool - Tool/function definitionIRUsage - Token usage statisticsFrontendAdapter - Interface for frontend adaptersBackendAdapter - Interface for backend adaptersAdapterMetadata - Adapter capability metadataMiddleware - Middleware interfaceMiddlewareContext - Middleware execution contextStreamMode - Streaming mode ('delta' | 'accumulated')StreamingConfig - Streaming configuration optionsMessageRole - Message role typeMessageContent - Content block typesFinishReason - Generation completion reasonsIRCapabilities - Adapter capabilitiesIRWarning - Semantic drift warningsimport {
IRChatRequest,
IRChatResponse,
IRMessage,
IRStreamChunk,
FrontendAdapter,
BackendAdapter,
Middleware
} from 'ai.matey.types';
// Create a chat request
const request: IRChatRequest = {
messages: [
{ role: 'user', content: 'Hello!' }
],
parameters: {
model: 'gpt-4',
temperature: 0.7
},
metadata: {
requestId: 'req_123',
timestamp: Date.now(),
provenance: { frontend: 'openai' }
}
};
For comprehensive documentation of the IR format, see:
MIT - see LICENSE for details.
FAQs
Type definitions for AI Matey - Universal AI Adapter System
We found that ai.matey.types demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.

Security News
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.