Rechercher

PythonReactSEOPDF
GitHub Skill

terminal-component

Change Terminal UI or behavior. Use when working with the Terminal component, command registry, terminal commands, terminal hooks, or terminal cookie state.

mateonunez☆ 80 Étoiles du dépôt10 Forks du dépôt

Installation

Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.

Voir la source ↗Guides

Instructions

Terminal component

Guidance for the Terminal feature (interactive CLI-style UI on the home page).

Entry and loading

Command system

Hooks

UI pieces

Cookie state

  • lib/utils/cookies/terminal.cookie.ts — terminalCookie: get(), set(), remove(), hasVisitedRecently(). Schema: hasVisited, lastVisited. Used to remember if the user has visited the terminal (e.g. for onboarding or banners). Max age 72 hours.

Accessibility

  • The terminal or carousel may use biome-ignore for a11y exceptions (e.g. focus management in custom interactive regions). Document any exception and keep keyboard navigation and screen reader behavior in mind; see CLAUDE.md for project a11y standards.

Adding a new command

  1. Define the command in the appropriate group file (e.g. commands/personal.ts) with name, description, run, and optional aliases.
  2. Register the group (or add the command to an existing group) in components/mate/terminal/commands/index.ts.
  3. Ensure run returns output compatible with the line renderer (e.g. string or structured output the UI understands).

Exemples

Consultez les exemples du dépôt source.

Voir la source ↗

Historique source

Date d’indexation
2026-03-11
Mise à jour de l’index
2026-03-11
Branch
main

Les dates concernent ce répertoire. Consultez le dépôt pour l’historique du code.

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!