diegosouzapw/OmniRoute · error

Missing required field: command

Error message

Missing required field: command

What it means

Error "Missing required field: command" thrown in diegosouzapw/OmniRoute.

Source

Thrown at src/lib/skills/builtins.ts:493

    };
  },

  execute_command: async (input, context) => {
    const {
      command,
      args = [],
      image,
      timeoutMs,
      networkEnabled,
    } = input as {
      command: string;
      args?: unknown[];
      image?: string;
      timeoutMs?: number;
      networkEnabled?: boolean;
    };
    if (!command || typeof command !== "string") {
      throw new Error("Missing required field: command");
    }

    const normalizedArgs = normalizeArgs(args);
    const selectedImage = normalizeImage(image, DEFAULT_COMMAND_IMAGE);
    const result = await sandboxRunner.run(
      selectedImage,
      [command, ...normalizedArgs],
      {},
      sandboxConfig({ timeoutMs, networkEnabled })
    );
    const stdout = truncateOutput(result.stdout);
    const stderr = truncateOutput(result.stderr);

    return {
      success: result.exitCode === 0,
      command,
      args: normalizedArgs,
      image: selectedImage,

View on GitHub (pinned to a179ffed5b)

When it happens

Trigger: Thrown at src/lib/skills/builtins.ts:493 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of diegosouzapw/OmniRoute@a179ffed5b (2026-08-25). Data as JSON: /api/errors/388f06f5d5d70b0b. Report an issue: GitHub.