OSS-first docs
These docs teach the open system first: contracts, generated surfaces, runtimes, governance, and incremental adoption. Studio shows up as the operating layer on top, not as the source of truth.
AI-powered conversational coding assistant with full workspace context
Operations (7)
•
`ai-chat.send` (v1.0.0)
•
`ai-chat.stream` (v1.0.0)
•
`ai-chat.conversations.list` (v1.0.0)
•
`ai-chat.conversations.get` (v1.0.0)
•
`ai-chat.conversations.delete` (v1.0.0)
•
`ai-chat.providers.list` (v1.0.0)
•
`ai-chat.context.scan` (v1.0.0)
Events (5)
•
`ai-chat.message.sent` (v1.0.0)
•
`ai-chat.message.received` (v1.0.0)
•
`ai-chat.conversation.created` (v1.0.0)
•
`ai-chat.conversation.deleted` (v1.0.0)
•
`ai-chat.error` (v1.0.0)
Source Definition
/**
* AI Chat Feature Module Specification
*
* Defines the feature module for AI-powered vibe coding chat.
*/
import { defineFeature } from '@lssm-tech/lib.contracts-spec';
/**
* AI Chat feature module that bundles conversational AI assistance
* for ContractSpec development across CLI, VSCode, and Studio.
*/
export const AiChatFeature = defineFeature({
meta: {
key: 'ai-chat',
version: '1.0.0',
title: 'AI Vibe Coding Chat',
description:
'AI-powered conversational coding assistant with full workspace context',
domain: 'platform',
owners: ['@platform.ai'],
tags: ['ai', 'chat', 'llm', 'vibe-coding', 'assistant'],
stability: 'experimental',
},
// Contract operations for chat functionality
operations: [
{ key: 'ai-chat.send', version: '1.0.0' },
{ key: 'ai-chat.stream', version: '1.0.0' },
{ key: 'ai-chat.conversations.list', version: '1.0.0' },
{ key: 'ai-chat.conversations.get', version: '1.0.0' },
{ key: 'ai-chat.conversations.delete', version: '1.0.0' },
{ key: 'ai-chat.providers.list', version: '1.0.0' },
{ key: 'ai-chat.context.scan', version: '1.0.0' },
],
// Events emitted by the chat system
events: [
{ key: 'ai-chat.message.sent', version: '1.0.0' },
{ key: 'ai-chat.message.received', version: '1.0.0' },
{ key: 'ai-chat.conversation.created', version: '1.0.0' },
{ key: 'ai-chat.conversation.deleted', version: '1.0.0' },
{ key: 'ai-chat.error', version: '1.0.0' },
],
// No presentations for core module
presentations: [],
opToPresentation: [],
presentationsTargets: [],
// Capability definitions
capabilities: {
provides: [{ key: 'ai-chat', version: '1.0.0' }],
requires: [
{ key: 'identity', version: '1.0.0' },
{ key: 'metering', version: '1.0.0' },
],
},
});