ContractSpec docs
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.
Agent-mode contract building and validation for the OpenCode CLI
Operations (1)
•
`opencode.example.echo` (v1.0.0)
Source Definition
import { defineFeature } from '@lssm-tech/lib.contracts-spec';
export const OpenCodeCliFeature = defineFeature({
meta: {
key: 'opencode-cli',
version: '1.0.0',
title: 'OpenCode CLI Example',
description:
'Agent-mode contract building and validation for the OpenCode CLI',
domain: 'example',
owners: ['@lssm-tech/examples'],
tags: ['opencode', 'example', 'cli'],
stability: 'stable',
},
operations: [{ key: 'opencode.example.echo', version: '1.0.0' }],
});