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.
Scan workspace context.
Goal
Scan context
Context
Background
Source Definition
import { defineCommand, defineQuery } from '@lssm-tech/lib.contracts-spec';
import { defineSchemaModel, ScalarTypeEnum } from '@lssm-tech/lib.schema';
import {
ChatConversationModel,
ListConversationsOutputModel,
SendMessageInputModel,
SendMessageOutputModel,
} from './schema';
export const ScanContextContract = defineCommand({
meta: {
key: 'ai-chat.context.scan',
version: '1.0.0',
owners: ['@ai-team'],
stability: 'experimental',
description: 'Scan workspace context.',
tags: ['chat', 'context'],
goal: 'Scan context',
context: 'Background',
},
io: {
input: defineSchemaModel({
name: 'ScanContextInput',
fields: {
path: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },
},
}),
output: defineSchemaModel({ name: 'VoidOutput2', fields: {} }),
},
policy: { auth: 'user' },
});