mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-29 11:42:17 +00:00
14 lines
535 B
TypeScript
14 lines
535 B
TypeScript
export * as ConfigCommand from "./command.js"
|
|
|
|
import { Schema } from "effect"
|
|
import { optional } from "../schema.js"
|
|
import { ConfigModel } from "./model.js"
|
|
|
|
export class Info extends Schema.Class<Info>("Config.Command")({
|
|
template: Schema.String,
|
|
description: Schema.String.pipe(optional),
|
|
agent: Schema.String.pipe(optional),
|
|
model: ConfigModel.Selection.pipe(optional),
|
|
subagent: Schema.Boolean.pipe(optional),
|
|
subtask: Schema.Boolean.annotate({ description: "Deprecated alias for subagent." }).pipe(optional),
|
|
}) {}
|