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.
Execute a terminal command within an ACP session.
Goal
Expose terminal execution with governance and auditing.
Context
Used by ACP clients when terminal access is granted.
Source Definition
import { ScalarTypeEnum, SchemaModel } from '@lssm-tech/lib.schema';
import { docRef } from '../../docs/registry';
import type { DocBlock } from '../../docs/types';
import { defineCommand } from '../../operations';
import { ACP_DOMAIN, ACP_OWNERS, ACP_STABILITY, ACP_TAGS } from '../constants';
export const AcpTerminalExecCommand = defineCommand({
meta: {
key: 'acp.terminal.exec',
title: 'ACP Terminal Exec',
version: '1.0.0',
description: 'Execute a terminal command within an ACP session.',
goal: 'Expose terminal execution with governance and auditing.',
context: 'Used by ACP clients when terminal access is granted.',
domain: ACP_DOMAIN,
owners: ACP_OWNERS,
tags: [...ACP_TAGS, 'terminal'],
stability: ACP_STABILITY,
docId: [docRef(AcpTerminalExecDocBlock.id)],
},
capability: {
key: 'acp.transport',
version: '1.0.0',
},
io: {
input: AcpTerminalExecInput,
output: AcpTerminalExecOutput,
},
policy: {
auth: 'admin',
pii: [],
},
});