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.

platform.acp

Session management and transport operations for agent communication (prompt turns, tool calls, terminal exec, fs access)

  • Type: feature
  • Version: 1.0.0
  • File: packages/libs/contracts-spec/src/acp/acp.feature.ts
  • field.key.label
    platform.acp
    field.version.label
    1.0.0
    field.type.label
    feature
    field.title.label
    platform.acp
    field.description.label

    Session management and transport operations for agent communication (prompt turns, tool calls, terminal exec, fs access)

  • Type: feature
  • Version: 1.0.0
  • File: packages/libs/contracts-spec/src/acp/acp.feature.ts
  • field.tags.label
    field.owners.label
    field.stability.label

    Session management and transport operations for agent communication (prompt turns, tool calls, terminal exec, fs access)

    Operations (7)

    `acp.session.init` (v1.0.0)

    `acp.session.resume` (v1.0.0)

    `acp.session.stop` (v1.0.0)

    `acp.prompt.turn` (v1.0.0)

    `acp.tool.calls` (v1.0.0)

    `acp.terminal.exec` (v1.0.0)

    `acp.fs.access` (v1.0.0)

    Source Definition

    import { defineFeature } from '../features';
    import { ACP_DOMAIN, ACP_OWNERS, ACP_STABILITY, ACP_TAGS } from './constants';
    
    export const AcpFeature = defineFeature({
    	meta: {
    		key: 'platform.acp',
    		version: '1.0.0',
    		title: 'Agent Communication Protocol',
    		description:
    			'Session management and transport operations for agent communication (prompt turns, tool calls, terminal exec, fs access)',
    		domain: ACP_DOMAIN,
    		owners: ACP_OWNERS,
    		tags: [...ACP_TAGS],
    		stability: ACP_STABILITY,
    	},
    
    	operations: [
    		{ key: 'acp.session.init', version: '1.0.0' },
    		{ key: 'acp.session.resume', version: '1.0.0' },
    		{ key: 'acp.session.stop', version: '1.0.0' },
    		{ key: 'acp.prompt.turn', version: '1.0.0' },
    		{ key: 'acp.tool.calls', version: '1.0.0' },
    		{ key: 'acp.terminal.exec', version: '1.0.0' },
    		{ key: 'acp.fs.access', version: '1.0.0' },
    	],
    
    	capabilities: {
    		provides: [{ key: 'acp.transport', version: '1.0.0' }],
    	},
    });