Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/JAVA/Openclaw/src/acp/   (KI Agentensystem Version 22©)  Datei vom 26.3.2026 mit Größe 2 kB image not shown  

Quelle  commands.ts

  Sprache: JAVA
 

Spracherkennung für: .ts vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]

import type { AvailableCommand } from "@agentclientprotocol/sdk";
import { getChatCommands } from "../auto-reply/commands-registry.data.js";

const BASE_AVAILABLE_COMMANDS: AvailableCommand[] = [
  { name: "help", description: "Show help and common commands." },
  { name: "commands", description: "List available commands." },
  { name: "status", description: "Show current status." },
  {
    name: "context",
    description: "Explain context usage (list|detail|json).",
    input: { hint: "list | detail | json" },
  },
  { name: "whoami", description: "Show sender id (alias: /id)." },
  { name: "id", description: "Alias for /whoami." },
  { name: "subagents", description: "List or manage sub-agents." },
  { name: "config", description: "Read or write config (owner-only)." },
  { name: "debug", description: "Set runtime-only overrides (owner-only)." },
  { name: "usage", description: "Toggle usage footer (off|tokens|full)." },
  { name: "stop", description: "Stop the current run." },
  { name: "restart", description: "Restart the gateway (if enabled)." },
  { name: "activation", description: "Set group activation (mention|always)." },
  { name: "send", description: "Set send mode (on|off|inherit)." },
  { name: "reset", description: "Reset the session (/new)." },
  { name: "new", description: "Reset the session (/reset)." },
  {
    name: "think",
    description: "Set thinking level (off|minimal|low|medium|high|xhigh).",
  },
  { name: "verbose", description: "Set verbose mode (on|full|off)." },
  { name: "trace", description: "Set plugin trace mode (on|off)." },
  { name: "reasoning", description: "Toggle reasoning output (on|off|stream)." },
  { name: "elevated", description: "Toggle elevated mode (on|off)." },
  { name: "model", description: "Select a model (list|status|<name>)." },
  { name: "queue", description: "Adjust queue mode and options." },
  { name: "bash", description: "Run a host command (if enabled)." },
  { name: "compact", description: "Compact the session history." },
];

function listDockAvailableCommands(): AvailableCommand[] {
  return getChatCommands()
    .filter((command) => command.key.startsWith("dock:"))
    .map((command) => ({
      name: command.textAliases[0]?.replace(/^\//, "").trim() || command.key,
      description: command.description,
    }));
}

export function getAvailableCommands(): AvailableCommand[] {
  return [...BASE_AVAILABLE_COMMANDS, ...listDockAvailableCommands()];
}

¤ Dauer der Verarbeitung: 0.18 Sekunden  (vorverarbeitet am  2026-04-27) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.