Orca is the place for working with a fleet of agents (e.g. Grok Bot, Claude Code). Run any coding agent with your own subscription. Available on desktop, mobile and remote runtime.
TypeScript adeagent-ideai-agentsautomationbotclaude-codecodexghosttygrok-bothermes-agentmobile-appmuseopenclawopencodeorchestrationpiruntimeterminalworktreesyc-backed
import type { z } from 'zod'
import type {
AiVaultSearchRequestSchema,
AiVaultSearchResponseSchema,
AiVaultSearchHitSchema,
AiVaultSearchHostOutcomeSchema,
AiVaultSearchStatusSchema,
AiVaultSetSearchEnabledParamsSchema
} from './ai-vault-search-contract'
/**
* Tool output beyond 3,072 characters per row is not indexed and not searchable; user and assistant text is indexed in full.
* A page cursor outstanding during a retention purge is refused once as `stale-cursor`; the client re-issues page 1.
* A phrase match across a chunk boundary of a long message is not supported.
*/
export type AiVaultSearchRequest = z.input<typeof AiVaultSearchRequestSchema>
/** Pages belong to one host; callers re-issue page 1 after a stale cursor. */
export type AiVaultSearchResponse = z.infer<typeof AiVaultSearchResponseSchema>
/**
* Evidence is null for operator-only matches; remote callers receive source presence only.
* `executionHostId` names the host that owns the transcript; set by the desktop on remote answers.
*/
export type AiVaultSearchHit = z.infer<typeof AiVaultSearchHitSchema>
export type AiVaultSearchStatus = z.infer<typeof AiVaultSearchStatusSchema>
/** Only an all-computers merge reports these; a single-host answer omits them. */
export type AiVaultSearchHostOutcome = z.infer<typeof AiVaultSearchHostOutcomeSchema>
/** Turning indexing on or off for one host; the response is that host's `AiVaultSearchStatus`. */
export type AiVaultSetSearchEnabledParams = z.infer<typeof AiVaultSetSearchEnabledParamsSchema>
export type { AiVaultSearchScopeIdentity } from './ai-vault-search-scope'