@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
32 lines • 1.49 kB
TypeScript
/** The schema of `admit_external_message`, a relayed peer-agent message admitted as a delivery (senpi#6233). */
import Type from "typebox";
export declare const DELIVERY_RECORD_SCHEMAS: {
admit_external_message: Type.TObject<{
id: Type.TOptional<Type.TString>;
admissionId: Type.TOptional<Type.TString>;
type: Type.TLiteral<"admit_external_message">;
} & {
readonly sessionId: Type.TOptional<Type.TString>;
} & {
readonly deliveryId: Type.TString;
readonly text: Type.TString;
readonly sender: Type.TOptional<Type.TUnion<[Type.TObject<{
kind: Type.TLiteral<"agent">;
session_id: Type.TString;
name: Type.TOptional<Type.TString>;
}>, Type.TObject<{
kind: Type.TLiteral<"command_line">;
user: Type.TOptional<Type.TString>;
}>, Type.TObject<{
kind: Type.TLiteral<"external">;
platform: Type.TString;
author: Type.TOptional<Type.TString>;
}>]>>;
readonly displayText: Type.TOptional<Type.TString>;
readonly deliverAs: Type.TUnion<[Type.TLiteral<string>, ...Type.TLiteral<string>[]]>;
readonly expectedTurnId: Type.TOptional<Type.TString>;
readonly whenIdle: Type.TOptional<Type.TUnion<[Type.TLiteral<string>, ...Type.TLiteral<string>[]]>>;
readonly chainCount: Type.TOptional<Type.TInteger>;
}>;
};
//# sourceMappingURL=method-classes-schema-delivery.d.ts.map