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.

opencode-cli

Agent-mode contract building and validation for the OpenCode CLI

  • Type: feature
  • Version: 1.0.0
  • Stability: stable
  • Owners: @lssm-tech/examples
  • Tags: opencode, example, cli
  • File: packages/examples/opencode-cli/src/opencode-cli.feature.ts
  • field.key.label
    opencode-cli
    field.version.label
    1.0.0
    field.type.label
    feature
    field.title.label
    opencode-cli
    field.description.label

    Agent-mode contract building and validation for the OpenCode CLI

  • Type: feature
  • Version: 1.0.0
  • Stability: stable
  • Owners: @lssm-tech/examples
  • Tags: opencode, example, cli
  • File: packages/examples/opencode-cli/src/opencode-cli.feature.ts
  • field.tags.label
    opencode,example,cli
    field.owners.label
    @lssm-tech/examples
    field.stability.label
    stable

    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' }],
    });