MAX_INVENTORY_WORKSPACES (shared/workspace-lifecycle.ts)

ovis · shared/workspace-lifecycle.ts · typescript · MIT
payments

Module exposing: MAX_INVENTORY_WORKSPACES

// Source: https://github.com/devswha/ovis | License: MIT | Copyright 2026 devswha
// Provided via justclaw.it.com; keep this notice with the code.
import type { TabInfo as HerdrTab } from "./herdr-api.generated.ts";

/**
 * POST /api/workspace/move's answer. `order_epoch` and `moved_seq` (from 1) say which move this was
 * in the server's order: a snapshot of the same epoch with `read_seq >= moved_seq` was read after
 * it. Absent from an older server.
 */
export interface WorkspaceMoved { ok: true; order_epoch?: string; moved_seq?: number }

export interface CreateWorkspaceRequest {
  cwd?: string | null;
  label?: string | null;
  agent?: { kind: string; name?: string; args?: string[] } | null;
  /**
   * the user's first message for the agent, sent by this request: the bridge queues it

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key