From bb0e85761be2c4e9c586f54f5b70c73b3e4e464c Mon Sep 17 00:00:00 2001 From: Kayshen-X Date: Sun, 12 Jul 2026 19:53:05 +0800 Subject: [PATCH] docs(readme): sync cli and skill guidance --- README.de.md | 12 +++++++----- README.es.md | 12 +++++++----- README.fr.md | 12 +++++++----- README.hi.md | 12 +++++++----- README.id.md | 12 +++++++----- README.ja.md | 12 +++++++----- README.ko.md | 12 +++++++----- README.md | 12 +++++++----- README.pt.md | 12 +++++++----- README.ru.md | 12 +++++++----- README.th.md | 12 +++++++----- README.tr.md | 12 +++++++----- README.vi.md | 12 +++++++----- README.zh-TW.md | 12 +++++++----- README.zh.md | 12 +++++++----- 15 files changed, 105 insertions(+), 75 deletions(-) diff --git a/README.de.md b/README.de.md index 2d7941387..ea0a32f57 100644 --- a/README.de.md +++ b/README.de.md @@ -16,8 +16,8 @@

Stars License - CI - Discord + CI + Discord


@@ -190,15 +190,17 @@ brew install zseven-w/openpencil/op ```bash op start # Desktop-App starten +op start --headless --file design.op # Headless-Server starten op design @landing.txt # Batch-Design aus Datei -op insert '{"type":"RECT"}' # Knoten einfügen +op design @ui.js # Sandbox-JavaScript mit Schleifen +op insert '{"type":"rectangle"}' # Knoten einfügen op import:figma design.fig # Figma-Datei importieren cat design.dsl | op design - # Pipe von stdin ``` -Unterstützt drei Eingabemethoden: Inline-String, `@filepath` (aus Datei lesen) oder `-` (von stdin lesen). Funktioniert mit der Desktop-App oder dem Web-Entwicklungsserver. Siehe [CLI README](./crates/op-cli) für die vollständige Befehlsreferenz. +Unterstützt Inline-Strings, `@filepath` und stdin (`-`). Funktioniert mit Desktop-App, Webserver oder dateibasiertem Headless-Server. Alle Befehle stehen in der [CLI-Befehlsreferenz](./crates/op-cli/src/usage.txt). -**LLM-Skill** — Installieren Sie das [OpenPencil Skill](https://github.com/ZSeven-W/openpencil-skill)-Plugin, um KI-Agenten (Claude Code, Cursor, Codex, Gemini CLI usw.) das Designen mit `op` beizubringen. +**LLM-Skill** — Installieren Sie das [OpenPencil Skill](https://github.com/ZSeven-W/openpencil-skill)-Plugin, um KI-Agenten das Designen mit `op` beizubringen. Verwenden Sie `op install` für erkannte Agenten oder `op install --target codex` für ein bestimmtes Ziel. ## Funktionen diff --git a/README.es.md b/README.es.md index 6babce627..9fee3fd1d 100644 --- a/README.es.md +++ b/README.es.md @@ -16,8 +16,8 @@

Stars License - CI - Discord + CI + Discord


@@ -190,15 +190,17 @@ brew install zseven-w/openpencil/op ```bash op start # Iniciar la app de escritorio +op start --headless --file design.op # Iniciar servidor headless op design @landing.txt # Diseño por lotes desde archivo -op insert '{"type":"RECT"}' # Insertar un nodo +op design @ui.js # JavaScript aislado con bucles +op insert '{"type":"rectangle"}' # Insertar un nodo op import:figma design.fig # Importar archivo de Figma cat design.dsl | op design - # Entrada por pipe desde stdin ``` -Soporta tres métodos de entrada: cadena inline, `@filepath` (leer desde archivo), o `-` (leer desde stdin). Funciona con la app de escritorio o el servidor de desarrollo web. Consulta el [README del CLI](./crates/op-cli) para la referencia completa de comandos. +Admite cadenas inline, `@filepath` y stdin (`-`). Funciona con la app de escritorio, el servidor web o el servidor headless basado en archivos. Consulta la [referencia de comandos CLI](./crates/op-cli/src/usage.txt). -**Habilidad LLM** — instala el plugin [OpenPencil Skill](https://github.com/ZSeven-W/openpencil-skill) para enseñar a agentes IA (Claude Code, Cursor, Codex, Gemini CLI, etc.) a diseñar con `op`. +**Habilidad LLM** — instala el plugin [OpenPencil Skill](https://github.com/ZSeven-W/openpencil-skill) para enseñar a agentes IA a diseñar con `op`. Usa `op install` para los agentes detectados o `op install --target codex` para un destino específico. ## Características diff --git a/README.fr.md b/README.fr.md index bbe61332f..5bbb1682c 100644 --- a/README.fr.md +++ b/README.fr.md @@ -16,8 +16,8 @@

Stars License - CI - Discord + CI + Discord


@@ -190,15 +190,17 @@ brew install zseven-w/openpencil/op ```bash op start # Lancer l'app de bureau +op start --headless --file design.op # Lancer le serveur headless op design @landing.txt # Design par lots depuis un fichier -op insert '{"type":"RECT"}' # Insérer un nœud +op design @ui.js # JavaScript isolé avec boucles +op insert '{"type":"rectangle"}' # Insérer un nœud op import:figma design.fig # Importer un fichier Figma cat design.dsl | op design - # Pipe depuis stdin ``` -Supporte trois méthodes d'entrée : chaîne en ligne, `@filepath` (lecture depuis un fichier), ou `-` (lecture depuis stdin). Fonctionne avec l'app de bureau ou le serveur de développement web. Voir le [README du CLI](./crates/op-cli) pour la référence complète des commandes. +Prend en charge les chaînes en ligne, `@filepath` et stdin (`-`). Fonctionne avec l'app de bureau, le serveur web ou le serveur headless adossé à un fichier. Consultez la [référence des commandes CLI](./crates/op-cli/src/usage.txt). -**Compétence LLM** — installez le plugin [OpenPencil Skill](https://github.com/ZSeven-W/openpencil-skill) pour apprendre aux agents IA (Claude Code, Cursor, Codex, Gemini CLI, etc.) à concevoir avec `op`. +**Compétence LLM** — installez le plugin [OpenPencil Skill](https://github.com/ZSeven-W/openpencil-skill) pour apprendre aux agents IA à concevoir avec `op`. Utilisez `op install` pour les agents détectés ou `op install --target codex` pour une cible précise. ## Fonctionnalités diff --git a/README.hi.md b/README.hi.md index 0286fd245..0eb0cc2fe 100644 --- a/README.hi.md +++ b/README.hi.md @@ -16,8 +16,8 @@

Stars License - CI - Discord + CI + Discord


@@ -190,15 +190,17 @@ brew install zseven-w/openpencil/op ```bash op start # डेस्कटॉप ऐप लॉन्च करें +op start --headless --file design.op # हेडलेस सर्वर चलाएँ op design @landing.txt # फ़ाइल से बैच डिज़ाइन -op insert '{"type":"RECT"}' # एक नोड डालें +op design @ui.js # लूप के साथ सैंडबॉक्स JavaScript +op insert '{"type":"rectangle"}' # एक नोड डालें op import:figma design.fig # Figma फ़ाइल इम्पोर्ट करें cat design.dsl | op design - # stdin से पाइप करें ``` -तीन इनपुट विधियाँ समर्थित हैं: इनलाइन स्ट्रिंग, `@filepath` (फ़ाइल से पढ़ें), या `-` (stdin से पढ़ें)। डेस्कटॉप ऐप या वेब डेव सर्वर के साथ काम करता है। पूर्ण कमांड संदर्भ के लिए [CLI README](./crates/op-cli) देखें। +इनलाइन स्ट्रिंग, `@filepath` और stdin (`-`) समर्थित हैं। यह डेस्कटॉप ऐप, वेब सर्वर या फ़ाइल-आधारित हेडलेस सर्वर के साथ काम करता है। सभी कमांड के लिए [CLI कमांड संदर्भ](./crates/op-cli/src/usage.txt) देखें। -**LLM स्किल** — [OpenPencil Skill](https://github.com/ZSeven-W/openpencil-skill) प्लगइन इंस्टॉल करें ताकि AI एजेंट (Claude Code, Cursor, Codex, Gemini CLI आदि) `op` से डिज़ाइन करना सीख सकें। +**LLM स्किल** — AI एजेंट को `op` से डिज़ाइन सिखाने के लिए [OpenPencil Skill](https://github.com/ZSeven-W/openpencil-skill) प्लगइन इंस्टॉल करें। पहचाने गए एजेंट के लिए `op install` या किसी खास लक्ष्य के लिए `op install --target codex` चलाएँ। ## विशेषताएँ diff --git a/README.id.md b/README.id.md index b12508999..e5e44f41a 100644 --- a/README.id.md +++ b/README.id.md @@ -16,8 +16,8 @@

Stars License - CI - Discord + CI + Discord


@@ -190,15 +190,17 @@ brew install zseven-w/openpencil/op ```bash op start # Jalankan aplikasi desktop +op start --headless --file design.op # Jalankan server headless op design @landing.txt # Desain batch dari file -op insert '{"type":"RECT"}' # Sisipkan sebuah node +op design @ui.js # JavaScript sandbox dengan loop +op insert '{"type":"rectangle"}' # Sisipkan sebuah node op import:figma design.fig # Impor file Figma cat design.dsl | op design - # Pipe dari stdin ``` -Mendukung tiga metode input: string inline, `@filepath` (baca dari file), atau `-` (baca dari stdin). Bekerja dengan aplikasi desktop atau web dev server. Lihat [CLI README](./crates/op-cli) untuk referensi perintah lengkap. +Mendukung string inline, `@filepath`, dan stdin (`-`). Bekerja dengan aplikasi desktop, server web, atau server headless berbasis file. Lihat [referensi perintah CLI](./crates/op-cli/src/usage.txt). -**LLM Skill** — instal plugin [OpenPencil Skill](https://github.com/ZSeven-W/openpencil-skill) untuk mengajarkan agen AI (Claude Code, Cursor, Codex, Gemini CLI, dll.) mendesain dengan `op`. +**LLM Skill** — instal plugin [OpenPencil Skill](https://github.com/ZSeven-W/openpencil-skill) untuk mengajarkan agen AI mendesain dengan `op`. Jalankan `op install` untuk agen yang terdeteksi atau `op install --target codex` untuk target tertentu. ## Fitur diff --git a/README.ja.md b/README.ja.md index dddacbe48..1861a20c8 100644 --- a/README.ja.md +++ b/README.ja.md @@ -16,8 +16,8 @@

Stars License - CI - Discord + CI + Discord


@@ -190,15 +190,17 @@ brew install zseven-w/openpencil/op ```bash op start # デスクトップアプリを起動 +op start --headless --file design.op # ヘッドレスサーバーを起動 op design @landing.txt # ファイルからバッチデザイン -op insert '{"type":"RECT"}' # ノードを挿入 +op design @ui.js # ループ対応のサンドボックス JavaScript +op insert '{"type":"rectangle"}' # ノードを挿入 op import:figma design.fig # Figma ファイルをインポート cat design.dsl | op design - # stdin からパイプ入力 ``` -3つの入力方法に対応:インライン文字列、`@filepath`(ファイルから読み込み)、`-`(stdin から読み込み)。デスクトップアプリまたは Web 開発サーバーと連携。完全なコマンドリファレンスは [CLI README](./crates/op-cli) を参照。 +インライン文字列、`@filepath`、stdin(`-`)に対応し、デスクトップアプリ、Web サーバー、ファイルベースのヘッドレスサーバーと連携します。全コマンドは [CLI コマンドリファレンス](./crates/op-cli/src/usage.txt) を参照してください。 -**LLM スキル** — [OpenPencil Skill](https://github.com/ZSeven-W/openpencil-skill) プラグインをインストールすると、AIエージェント(Claude Code、Cursor、Codex、Gemini CLI など)に `op` を使ったデザインを教えられます。 +**LLM スキル** — [OpenPencil Skill](https://github.com/ZSeven-W/openpencil-skill) をインストールして、AIエージェントに `op` を使ったデザインを教えます。検出済みのエージェントには `op install`、対象を指定する場合は `op install --target codex` を実行します。 ## 機能 diff --git a/README.ko.md b/README.ko.md index 705386ff3..3f91cd053 100644 --- a/README.ko.md +++ b/README.ko.md @@ -16,8 +16,8 @@

Stars License - CI - Discord + CI + Discord


@@ -190,15 +190,17 @@ brew install zseven-w/openpencil/op ```bash op start # 데스크톱 앱 실행 +op start --headless --file design.op # 헤드리스 서버 실행 op design @landing.txt # 파일에서 배치 디자인 -op insert '{"type":"RECT"}' # 노드 삽입 +op design @ui.js # 반복문을 지원하는 샌드박스 JavaScript +op insert '{"type":"rectangle"}' # 노드 삽입 op import:figma design.fig # Figma 파일 가져오기 cat design.dsl | op design - # stdin에서 파이프 입력 ``` -세 가지 입력 방식을 지원합니다: 인라인 문자열, `@filepath` (파일에서 읽기), `-` (stdin에서 읽기). 데스크톱 앱 또는 웹 개발 서버와 연동됩니다. 전체 명령어 레퍼런스는 [CLI README](./crates/op-cli)를 참고하세요. +인라인 문자열, `@filepath`, stdin(`-`)을 지원하며 데스크톱 앱, 웹 서버 또는 파일 기반 헤드리스 서버와 연동됩니다. 전체 명령은 [CLI 명령 레퍼런스](./crates/op-cli/src/usage.txt)를 참고하세요. -**LLM 스킬** — [OpenPencil Skill](https://github.com/ZSeven-W/openpencil-skill) 플러그인을 설치하면 AI 에이전트(Claude Code, Cursor, Codex, Gemini CLI 등)에게 `op`를 사용한 디자인을 교육할 수 있습니다. +**LLM 스킬** — [OpenPencil Skill](https://github.com/ZSeven-W/openpencil-skill)을 설치해 AI 에이전트가 `op`로 디자인하도록 안내하세요. 감지된 에이전트에는 `op install`, 특정 대상에는 `op install --target codex`를 실행합니다. ## 기능 diff --git a/README.md b/README.md index cd2d2e3cf..ccdea9419 100644 --- a/README.md +++ b/README.md @@ -16,8 +16,8 @@

Stars License - CI - Discord + CI + Discord


@@ -295,15 +295,17 @@ $env:OP_PRERELEASE = "1"; irm https://raw.githubusercontent.com/ZSeven-W/openpen ```bash op start # Launch desktop app +op start --headless --file design.op # Launch headless file-backed server op design @landing.txt # Batch design from file -op insert '{"type":"RECT"}' # Insert a node +op design @ui.js # Sandboxed JavaScript with loops +op insert '{"type":"rectangle"}' # Insert a node op import:figma design.fig # Import Figma file cat design.dsl | op design - # Pipe from stdin ``` -Supports three input methods: inline string, `@filepath` (read from file), or `-` (read from stdin). Works with desktop app or web dev server. See [CLI README](./crates/op-cli) for full command reference. +Supports three input methods: inline string, `@filepath` (read from file), or `-` (read from stdin). Works with the desktop app, web server, or headless file-backed server. See the [CLI command reference](./crates/op-cli/src/usage.txt) for all commands. -**LLM Skill** — install the [OpenPencil Skill](https://github.com/ZSeven-W/openpencil-skill) plugin to teach AI agents (Claude Code, Cursor, Codex, Gemini CLI, etc.) how to design with `op`. +**LLM Skill** — install the [OpenPencil Skill](https://github.com/ZSeven-W/openpencil-skill) plugin to teach AI agents how to design with `op`. Run `op install` for detected agents, or target one explicitly with `op install --target codex`. ## Features diff --git a/README.pt.md b/README.pt.md index 5beb0b1bb..f82ad7e4d 100644 --- a/README.pt.md +++ b/README.pt.md @@ -16,8 +16,8 @@

Stars License - CI - Discord + CI + Discord


@@ -190,15 +190,17 @@ brew install zseven-w/openpencil/op ```bash op start # Iniciar app desktop +op start --headless --file design.op # Iniciar servidor headless op design @landing.txt # Design em lote a partir de arquivo -op insert '{"type":"RECT"}' # Inserir um nó +op design @ui.js # JavaScript isolado com loops +op insert '{"type":"rectangle"}' # Inserir um nó op import:figma design.fig # Importar arquivo Figma cat design.dsl | op design - # Entrada por pipe via stdin ``` -Suporta três métodos de entrada: string inline, `@filepath` (ler de arquivo) ou `-` (ler de stdin). Funciona com o app desktop ou servidor web de desenvolvimento. Veja o [CLI README](./crates/op-cli) para referência completa de comandos. +Suporta strings inline, `@filepath` e stdin (`-`). Funciona com o app desktop, servidor web ou servidor headless baseado em arquivo. Consulte a [referência de comandos CLI](./crates/op-cli/src/usage.txt). -**Habilidade LLM** — instale o plugin [OpenPencil Skill](https://github.com/ZSeven-W/openpencil-skill) para ensinar agentes IA (Claude Code, Cursor, Codex, Gemini CLI, etc.) a projetar com `op`. +**Habilidade LLM** — instale o plugin [OpenPencil Skill](https://github.com/ZSeven-W/openpencil-skill) para ensinar agentes IA a projetar com `op`. Use `op install` para agentes detectados ou `op install --target codex` para um destino específico. ## Funcionalidades diff --git a/README.ru.md b/README.ru.md index f6393fff0..224e4fcd1 100644 --- a/README.ru.md +++ b/README.ru.md @@ -16,8 +16,8 @@

Stars License - CI - Discord + CI + Discord


@@ -190,15 +190,17 @@ brew install zseven-w/openpencil/op ```bash op start # Запустить десктопное приложение +op start --headless --file design.op # Запустить headless-сервер op design @landing.txt # Пакетный дизайн из файла -op insert '{"type":"RECT"}' # Вставить узел +op design @ui.js # Изолированный JavaScript с циклами +op insert '{"type":"rectangle"}' # Вставить узел op import:figma design.fig # Импортировать файл Figma cat design.dsl | op design - # Передача через stdin ``` -Поддерживает три метода ввода: строка, `@filepath` (чтение из файла) или `-` (чтение из stdin). Работает с десктопным приложением или веб-сервером разработки. Подробнее в [CLI README](./crates/op-cli). +Поддерживает строку, `@filepath` и stdin (`-`). Работает с десктопным приложением, веб-сервером или файловым headless-сервером. Все команды перечислены в [справочнике CLI](./crates/op-cli/src/usage.txt). -**LLM-навык** — установите плагин [OpenPencil Skill](https://github.com/ZSeven-W/openpencil-skill), чтобы научить ИИ-агентов (Claude Code, Cursor, Codex, Gemini CLI и др.) проектировать с помощью `op`. +**LLM-навык** — установите плагин [OpenPencil Skill](https://github.com/ZSeven-W/openpencil-skill), чтобы научить ИИ-агентов проектировать с помощью `op`. Используйте `op install` для обнаруженных агентов или `op install --target codex` для конкретной цели. ## Возможности diff --git a/README.th.md b/README.th.md index 8a4b9308a..995da91d1 100644 --- a/README.th.md +++ b/README.th.md @@ -16,8 +16,8 @@

Stars License - CI - Discord + CI + Discord


@@ -190,15 +190,17 @@ brew install zseven-w/openpencil/op ```bash op start # เปิดแอปเดสก์ท็อป +op start --headless --file design.op # เริ่มเซิร์ฟเวอร์แบบ headless op design @landing.txt # ออกแบบแบบ batch จากไฟล์ -op insert '{"type":"RECT"}' # แทรก node +op design @ui.js # JavaScript แบบ sandbox พร้อม loop +op insert '{"type":"rectangle"}' # แทรก node op import:figma design.fig # นำเข้าไฟล์ Figma cat design.dsl | op design - # Pipe จาก stdin ``` -รองรับ 3 วิธีการป้อนข้อมูล: สตริงแบบ inline, `@filepath` (อ่านจากไฟล์) หรือ `-` (อ่านจาก stdin) ทำงานร่วมกับแอปเดสก์ท็อปหรือ web dev server ดู [CLI README](./crates/op-cli) สำหรับคู่มือคำสั่งฉบับเต็ม +รองรับสตริง inline, `@filepath` และ stdin (`-`) ทำงานร่วมกับแอปเดสก์ท็อป เว็บเซิร์ฟเวอร์ หรือเซิร์ฟเวอร์ headless ที่ใช้ไฟล์ ดูคำสั่งทั้งหมดใน [คู่มือคำสั่ง CLI](./crates/op-cli/src/usage.txt) -**LLM Skill** — ติดตั้งปลั๊กอิน [OpenPencil Skill](https://github.com/ZSeven-W/openpencil-skill) เพื่อสอน AI agent (Claude Code, Cursor, Codex, Gemini CLI ฯลฯ) ออกแบบด้วย `op` +**LLM Skill** — ติดตั้งปลั๊กอิน [OpenPencil Skill](https://github.com/ZSeven-W/openpencil-skill) เพื่อสอน AI agent ออกแบบด้วย `op` ใช้ `op install` สำหรับ agent ที่ตรวจพบ หรือ `op install --target codex` เพื่อระบุเป้าหมาย ## ฟีเจอร์ diff --git a/README.tr.md b/README.tr.md index f18b38b24..49a8bc063 100644 --- a/README.tr.md +++ b/README.tr.md @@ -16,8 +16,8 @@

Stars License - CI - Discord + CI + Discord


@@ -190,15 +190,17 @@ brew install zseven-w/openpencil/op ```bash op start # Masaüstü uygulamayı başlat +op start --headless --file design.op # Headless sunucuyu başlat op design @landing.txt # Dosyadan toplu tasarım -op insert '{"type":"RECT"}' # Bir düğüm ekle +op design @ui.js # Döngülü sandbox JavaScript +op insert '{"type":"rectangle"}' # Bir düğüm ekle op import:figma design.fig # Figma dosyasını içe aktar cat design.dsl | op design - # stdin'den pipe ile besle ``` -Üç giriş yöntemini destekler: satır içi metin, `@filepath` (dosyadan oku) veya `-` (stdin'den oku). Masaüstü uygulama veya web geliştirme sunucusuyla çalışır. Tam komut referansı için [CLI README](./crates/op-cli) dosyasına bakın. +Satır içi metni, `@filepath` ve stdin'i (`-`) destekler. Masaüstü uygulama, web sunucusu veya dosya tabanlı headless sunucuyla çalışır. Tüm komutlar için [CLI komut referansına](./crates/op-cli/src/usage.txt) bakın. -**LLM Becerisi** — [OpenPencil Skill](https://github.com/ZSeven-W/openpencil-skill) eklentisini kurarak AI ajanlarına (Claude Code, Cursor, Codex, Gemini CLI vb.) `op` ile tasarım yapmayı öğretin. +**LLM Becerisi** — AI ajanlarına `op` ile tasarım yapmayı öğretmek için [OpenPencil Skill](https://github.com/ZSeven-W/openpencil-skill) eklentisini kurun. Algılanan ajanlar için `op install`, belirli bir hedef için `op install --target codex` çalıştırın. ## Özellikler diff --git a/README.vi.md b/README.vi.md index b0999c5a7..4fd78d790 100644 --- a/README.vi.md +++ b/README.vi.md @@ -16,8 +16,8 @@

Stars License - CI - Discord + CI + Discord


@@ -190,15 +190,17 @@ brew install zseven-w/openpencil/op ```bash op start # Khởi chạy ứng dụng desktop +op start --headless --file design.op # Khởi chạy máy chủ headless op design @landing.txt # Thiết kế hàng loạt từ tệp -op insert '{"type":"RECT"}' # Chèn một node +op design @ui.js # JavaScript sandbox với vòng lặp +op insert '{"type":"rectangle"}' # Chèn một node op import:figma design.fig # Nhập tệp Figma cat design.dsl | op design - # Pipe từ stdin ``` -Hỗ trợ ba phương thức nhập liệu: chuỗi inline, `@filepath` (đọc từ tệp), hoặc `-` (đọc từ stdin). Hoạt động với ứng dụng desktop hoặc web dev server. Xem [CLI README](./crates/op-cli) để biết đầy đủ các lệnh. +Hỗ trợ chuỗi inline, `@filepath` và stdin (`-`). Hoạt động với ứng dụng desktop, web server hoặc server headless dựa trên tệp. Xem [tham chiếu lệnh CLI](./crates/op-cli/src/usage.txt) để biết đầy đủ các lệnh. -**LLM Skill** — cài đặt plugin [OpenPencil Skill](https://github.com/ZSeven-W/openpencil-skill) để dạy AI agent (Claude Code, Cursor, Codex, Gemini CLI, v.v.) thiết kế bằng `op`. +**LLM Skill** — cài đặt plugin [OpenPencil Skill](https://github.com/ZSeven-W/openpencil-skill) để dạy AI agent thiết kế bằng `op`. Chạy `op install` cho các agent được phát hiện hoặc `op install --target codex` cho một đích cụ thể. ## Tính năng diff --git a/README.zh-TW.md b/README.zh-TW.md index b03c8f753..1003006f5 100644 --- a/README.zh-TW.md +++ b/README.zh-TW.md @@ -16,8 +16,8 @@

Stars License - CI - Discord + CI + Discord


@@ -190,15 +190,17 @@ brew install zseven-w/openpencil/op ```bash op start # 啟動桌面應用程式 +op start --headless --file design.op # 啟動無頭伺服器 op design @landing.txt # 從檔案批次設計 -op insert '{"type":"RECT"}' # 插入節點 +op design @ui.js # 支援迴圈的沙箱 JavaScript +op insert '{"type":"rectangle"}' # 插入節點 op import:figma design.fig # 匯入 Figma 檔案 cat design.dsl | op design - # 從 stdin 管道輸入 ``` -支援三種輸入方式:內嵌字串、`@filepath`(從檔案讀取)、`-`(從 stdin 讀取)。可搭配桌面應用程式或 Web 開發伺服器使用。完整命令參考請查閱 [CLI README](./crates/op-cli)。 +支援內嵌字串、`@filepath` 與 stdin(`-`),可搭配桌面應用程式、Web 伺服器或檔案型無頭伺服器使用。所有命令請查閱 [CLI 命令參考](./crates/op-cli/src/usage.txt)。 -**LLM 技能** — 安裝 [OpenPencil Skill](https://github.com/ZSeven-W/openpencil-skill) 外掛,教 AI 智慧體(Claude Code、Cursor、Codex、Gemini CLI 等)使用 `op` 進行設計。 +**LLM 技能** — 安裝 [OpenPencil Skill](https://github.com/ZSeven-W/openpencil-skill) 外掛,教 AI 智慧體使用 `op` 進行設計。可執行 `op install` 為偵測到的 Agent 安裝,或使用 `op install --target codex` 指定目標。 ## 功能特色 diff --git a/README.zh.md b/README.zh.md index aafa4bda2..e5aabbab9 100644 --- a/README.zh.md +++ b/README.zh.md @@ -16,8 +16,8 @@

Stars License - CI - Discord + CI + Discord


@@ -190,15 +190,17 @@ brew install zseven-w/openpencil/op ```bash op start # 启动桌面应用 +op start --headless --file design.op # 启动无头服务器 op design @landing.txt # 从文件批量设计 -op insert '{"type":"RECT"}' # 插入节点 +op design @ui.js # 支持循环的沙箱 JavaScript +op insert '{"type":"rectangle"}' # 插入节点 op import:figma design.fig # 导入 Figma 文件 cat design.dsl | op design - # 从 stdin 管道输入 ``` -支持三种输入方式:内联字符串、`@filepath`(从文件读取)、`-`(从 stdin 读取)。可搭配桌面应用或 Web 开发服务器使用。完整命令参考请查阅 [CLI README](./crates/op-cli)。 +支持内联字符串、`@filepath` 与 stdin(`-`),可搭配桌面应用、Web 服务器或文件型无头服务器使用。所有命令请查阅 [CLI 命令参考](./crates/op-cli/src/usage.txt)。 -**LLM 技能** — 安装 [OpenPencil Skill](https://github.com/ZSeven-W/openpencil-skill) 插件,教 AI 智能体(Claude Code、Cursor、Codex、Gemini CLI 等)使用 `op` 进行设计。 +**LLM 技能** — 安装 [OpenPencil Skill](https://github.com/ZSeven-W/openpencil-skill) 插件,教 AI 智能体使用 `op` 进行设计。可运行 `op install` 为检测到的 Agent 安装,或使用 `op install --target codex` 指定目标。 ## 功能特性