Files
EJClaw/runners/shared/src/index.ts
2026-05-31 22:30:49 +09:00

96 lines
2.5 KiB
TypeScript

export {
prependRoomRoleHeader,
type RoomRoleContext,
} from './room-role-context.js';
export { EJCLAW_ENV, type EjclawEnvName } from './ejclaw-env.js';
export {
isPairedRoomRole,
normalizePairedRoomRole,
normalizePairedRoomRoleOrNull,
PAIRED_ROOM_ROLES,
type PairedRoomRole,
} from './paired-room-role.js';
export {
ARTIFACT_EVIDENCE_KINDS,
DB_EVIDENCE_ACTIONS,
DEPLOY_EVIDENCE_ACTIONS,
GITHUB_EVIDENCE_ACTIONS,
HOST_EVIDENCE_ACTIONS,
isArtifactEvidenceKind,
isDbEvidenceAction,
isDeployEvidenceAction,
isGitHubEvidenceAction,
isHostEvidenceAction,
type ArtifactEvidenceKind,
type DbEvidenceAction,
type DeployEvidenceAction,
type GitHubEvidenceAction,
type HostEvidenceAction,
} from './evidence-actions.js';
export {
DEFAULT_SCHEDULE_TASK_CONTEXT_MODE,
DEFAULT_TASK_CONTEXT_MODE,
DEFAULT_WATCH_CI_CONTEXT_MODE,
TASK_CONTEXT_MODES,
WATCH_CI_PROMPT_PREFIX,
isTaskContextMode,
normalizeTaskContextMode,
type TaskContextMode,
} from './task-runtime.js';
export {
attachmentEvidenceCaption,
expandPromptAttachmentReferences,
expandImagePromptReferences,
extractMarkdownImageAttachments,
extractMediaAttachments,
extractImageTagPaths,
imageTagCaption,
IMAGE_TAG_RE,
IPC_CLOSE_SENTINEL,
IPC_INPUT_SUBDIR,
IPC_POLL_MS,
isModelDocumentPath,
missingAttachmentCaption,
missingImageTagCaption,
normalizeAgentOutput,
normalizeEjclawStructuredOutput,
normalizePublicTextOutput,
splitPromptAttachmentParts,
OUTPUT_END_MARKER,
OUTPUT_START_MARKER,
splitImageTagPromptParts,
writeProtocolOutput,
type PromptAttachmentPart,
type NormalizedRunnerOutput,
type NormalizedAgentOutput,
type RunnerOutputPhase,
type RunnerOutputAttachment,
type RunnerOutputVerdict,
type RunnerOutputVisibility,
type RunnerStructuredOutput,
} from './agent-protocol.js';
export {
assertReadonlyWorkspaceRepoConnectivity,
buildReviewerGitGuardEnv,
isReviewerRuntime,
} from './reviewer-git-guard.js';
export {
ARBITER_RUNTIME_ENV,
CLAUDE_REVIEWER_READONLY_ENV,
REVIEWER_RUNTIME_ENV,
UNSAFE_HOST_PAIRED_MODE_ENV,
buildClaudeReadonlySandboxSettings,
buildPairedReadonlyRuntimeEnvOverrides,
canUseLinuxBubblewrapReadonlySandbox,
getClaudeReadonlySandboxMode,
getReviewerRuntimeCapabilities,
isArbiterRuntimeEnvEnabled,
isClaudeReadonlyReviewerRuntime,
isReviewerMutatingShellCommand,
isReviewerRuntimeEnvEnabled,
isUnsafeHostPairedModeEnabled,
type ClaudeReadonlySandboxMode,
type ReviewerRuntimeCapabilities,
type RunnerAgentType,
} from './reviewer-runtime-policy.js';