@zseven-w/dsh-game-studio 0.1.0-rc.2 → 0.1.0-rc.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.de.md +4 -2
- package/README.es.md +4 -2
- package/README.fr.md +4 -2
- package/README.hi.md +4 -2
- package/README.id.md +4 -2
- package/README.ja.md +4 -2
- package/README.ko.md +4 -2
- package/README.md +16 -6
- package/README.pt.md +4 -2
- package/README.ru.md +4 -2
- package/README.th.md +4 -2
- package/README.tr.md +4 -2
- package/README.vi.md +4 -2
- package/README.zh-TW.md +4 -2
- package/README.zh.md +16 -6
- package/lib/client.js +1420 -44
- package/lib/index.js +1893 -117
- package/package.json +1 -1
package/README.de.md
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
</p>
|
|
15
15
|
|
|
16
16
|
<p align="center">
|
|
17
|
-
<sub>Paket: <code>@zseven-w/dsh-game-studio</code> · Aktuelles Plugin-Release: <code>0.1.0-rc.
|
|
17
|
+
<sub>Paket: <code>@zseven-w/dsh-game-studio</code> · Aktuelles Plugin-Release: <code>0.1.0-rc.4</code> · Getestet mit DSH <code>0.2.1-rc.5</code></sub>
|
|
18
18
|
</p>
|
|
19
19
|
|
|
20
20
|
<br />
|
|
@@ -41,7 +41,7 @@ Bitte den Agenten in einfachen Worten um ein Spiel — „ein 3D-Spiel: ein rote
|
|
|
41
41
|
| 🕰️ **Versionsverlauf** | Jeder Build, der das Spiel verändert hat, wird gespeichert; `game_studio_restore_version` bringt Code, Regeln und Grafiken gemeinsam zurück. |
|
|
42
42
|
| 📦 **Ein-Datei-Export** | `game_studio_export` schreibt eine in sich geschlossene HTML-Datei ohne Netzwerkzugriff — öffne sie in einem beliebigen Browser oder lade sie auf einen beliebigen statischen Host. |
|
|
43
43
|
| 📱 **Probiere es auf deinem Telefon** | `game_studio_share` öffnet einen temporären, schreibgeschützten Link in deinem lokalen Netzwerk, mit QR-Code in der Seitenleiste. |
|
|
44
|
-
| 🗂️ **Meine Spiele** | Über das **+** der Seitenleiste **Game Studio ·
|
|
44
|
+
| 🗂️ **Meine Spiele** | Über das **+** der Seitenleiste **Game Studio · My games** wählen: jedes Spiel im Arbeitsbereich als Kachel mit dem Bild des letzten Testlaufs, filterbar nach 2D/3D und sortierbar nach Datum, Versionen oder Name. Ein Klick zum Spielen – ohne Agent, ohne Tokens. **Export wall** packt die angezeigten Spiele in eine Offline-Seite zum Weiterschicken. |
|
|
45
45
|
|
|
46
46
|
## Damit gebaute Spiele
|
|
47
47
|
|
|
@@ -84,6 +84,8 @@ Gemessen in einem echten DSH mit DeepSeek-V4.1-Flash, jedes Spiel aus einem Satz
|
|
|
84
84
|
| `game_studio_restore_version` | Stellt eine frühere Version des gesamten Spiels wieder her. |
|
|
85
85
|
| `game_studio_export` | Exportiert eine in sich geschlossene, offline HTML-Datei. |
|
|
86
86
|
| `game_studio_share` | Öffnet (oder schließt) einen temporären, schreibgeschützten Link im lokalen Netzwerk, damit ein Telefon das Spiel spielen kann. |
|
|
87
|
+
| `game_studio_list` | Listet die Spiele im Arbeitsbereich mit Titel, 2D/3D, Build-Stand und Versionen, damit der Agent „das Pinguin-Spiel“ beim Namen findet. |
|
|
88
|
+
| `game_studio_export_wall` | Exportiert die Spielewand: eine Offline-HTML-Seite mit einer Kachel pro gebautem Spiel; ein Klick auf eine Kachel startet es. |
|
|
87
89
|
|
|
88
90
|
Die Schaltflächen der Seitenleiste (Anwenden, Zurücksetzen, Bauen, Exportieren, Wiederherstellen, Teilen) rufen dieselben Operationen über den Befehl `/game-studio` auf.
|
|
89
91
|
|
package/README.es.md
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
</p>
|
|
15
15
|
|
|
16
16
|
<p align="center">
|
|
17
|
-
<sub>Paquete: <code>@zseven-w/dsh-game-studio</code> · Versión actual del plugin: <code>0.1.0-rc.
|
|
17
|
+
<sub>Paquete: <code>@zseven-w/dsh-game-studio</code> · Versión actual del plugin: <code>0.1.0-rc.4</code> · Probado con DSH <code>0.2.1-rc.5</code></sub>
|
|
18
18
|
</p>
|
|
19
19
|
|
|
20
20
|
<br />
|
|
@@ -41,7 +41,7 @@ Pídele al agente un juego en palabras sencillas — «un juego 3D: un panda roj
|
|
|
41
41
|
| 🕰️ **Historial de versiones** | Cada compilación que cambió el juego se guarda; `game_studio_restore_version` restaura juntos el código, las reglas y el arte. |
|
|
42
42
|
| 📦 **Exportación en un solo archivo** | `game_studio_export` escribe un archivo HTML autosuficiente y sin acceso a la red — ábrelo en cualquier navegador o ponlo en cualquier servidor estático. |
|
|
43
43
|
| 📱 **Pruébalo en tu teléfono** | `game_studio_share` abre un enlace temporal de solo lectura en tu red local, con un código QR en la barra lateral. |
|
|
44
|
-
| 🗂️ **Mis juegos** | Abre el **+** de la barra lateral y elige **Game Studio ·
|
|
44
|
+
| 🗂️ **Mis juegos** | Abre el **+** de la barra lateral y elige **Game Studio · My games**: cada juego del espacio de trabajo como una tarjeta con la imagen de su última prueba, con filtro 2D/3D y orden por fecha, versiones o nombre. Un clic para jugar, sin agente y sin tokens. **Export wall** reúne los juegos mostrados en una sola página sin conexión para enviarla a tus amigos. |
|
|
45
45
|
|
|
46
46
|
## Juegos hechos con él
|
|
47
47
|
|
|
@@ -84,6 +84,8 @@ Medido en un DSH real con DeepSeek-V4.1-Flash, cada juego creado a partir de una
|
|
|
84
84
|
| `game_studio_restore_version` | Restaura una versión anterior del juego completo. |
|
|
85
85
|
| `game_studio_export` | Exporta un único archivo HTML autosuficiente y sin conexión. |
|
|
86
86
|
| `game_studio_share` | Abre (o cierra) un enlace temporal de solo lectura en la red local para que un teléfono pueda jugar. |
|
|
87
|
+
| `game_studio_list` | Lista los juegos del espacio de trabajo con título, 2D/3D, estado de compilación y versiones, para que el agente encuentre «el juego del pingüino» por su nombre. |
|
|
88
|
+
| `game_studio_export_wall` | Exporta el muro de juegos: una página HTML sin conexión con una tarjeta por juego compilado; haz clic en una para jugar. |
|
|
87
89
|
|
|
88
90
|
Los botones de la barra lateral (aplicar, revertir, compilar, exportar, restaurar, compartir) llaman a las mismas operaciones a través del comando `/game-studio`.
|
|
89
91
|
|
package/README.fr.md
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
</p>
|
|
15
15
|
|
|
16
16
|
<p align="center">
|
|
17
|
-
<sub>Paquet : <code>@zseven-w/dsh-game-studio</code> · Version actuelle du plugin : <code>0.1.0-rc.
|
|
17
|
+
<sub>Paquet : <code>@zseven-w/dsh-game-studio</code> · Version actuelle du plugin : <code>0.1.0-rc.4</code> · Testé avec DSH <code>0.2.1-rc.5</code></sub>
|
|
18
18
|
</p>
|
|
19
19
|
|
|
20
20
|
<br />
|
|
@@ -41,7 +41,7 @@ Demandez un jeu à l'agent en mots simples — « un jeu 3D : un panda roux réc
|
|
|
41
41
|
| 🕰️ **Historique des versions** | Chaque build qui a modifié le jeu est enregistré ; `game_studio_restore_version` restaure code, règles et illustrations ensemble. |
|
|
42
42
|
| 📦 **Export en un seul fichier** | `game_studio_export` écrit un fichier HTML autonome sans accès réseau — ouvrez-le dans n'importe quel navigateur ou déposez-le sur n'importe quel hébergement statique. |
|
|
43
43
|
| 📱 **Essayez-le sur votre téléphone** | `game_studio_share` ouvre un lien temporaire en lecture seule sur votre réseau local, avec un code QR dans la barre latérale. |
|
|
44
|
-
| 🗂️ **Mes jeux** | Ouvrez le **+** de la barre latérale et choisissez **Game Studio ·
|
|
44
|
+
| 🗂️ **Mes jeux** | Ouvrez le **+** de la barre latérale et choisissez **Game Studio · My games** : chaque jeu de l'espace de travail en vignette, avec l'image de son dernier test, filtrable 2D/3D et triable par date, versions ou nom. Un clic pour jouer — sans agent, sans jetons. **Export wall** réunit les jeux affichés dans une seule page hors ligne à envoyer à des amis. |
|
|
45
45
|
|
|
46
46
|
## Des jeux faits avec
|
|
47
47
|
|
|
@@ -84,6 +84,8 @@ Mesuré dans un vrai DSH avec DeepSeek-V4.1-Flash, chaque jeu créé à partir d
|
|
|
84
84
|
| `game_studio_restore_version` | Restaure une version antérieure du jeu entier. |
|
|
85
85
|
| `game_studio_export` | Exporte un seul fichier HTML autonome et hors ligne. |
|
|
86
86
|
| `game_studio_share` | Ouvre (ou ferme) un lien temporaire en lecture seule sur le réseau local pour qu'un téléphone puisse jouer au jeu. |
|
|
87
|
+
| `game_studio_list` | Liste les jeux de l'espace de travail avec titre, 2D/3D, état de build et versions, pour que l'agent trouve « le jeu du manchot » par son nom. |
|
|
88
|
+
| `game_studio_export_wall` | Exporte le mur de jeux : une page HTML hors ligne avec une vignette par jeu construit ; un clic sur une vignette pour y jouer. |
|
|
87
89
|
|
|
88
90
|
Les boutons de la barre latérale (appliquer, annuler, compiler, exporter, restaurer, partager) appellent les mêmes opérations via la commande `/game-studio`.
|
|
89
91
|
|
package/README.hi.md
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
</p>
|
|
15
15
|
|
|
16
16
|
<p align="center">
|
|
17
|
-
<sub>पैकेज: <code>@zseven-w/dsh-game-studio</code> · वर्तमान प्लगइन रिलीज़: <code>0.1.0-rc.
|
|
17
|
+
<sub>पैकेज: <code>@zseven-w/dsh-game-studio</code> · वर्तमान प्लगइन रिलीज़: <code>0.1.0-rc.4</code> · DSH <code>0.2.1-rc.5</code> के साथ परीक्षित</sub>
|
|
18
18
|
</p>
|
|
19
19
|
|
|
20
20
|
<br />
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
| 🕰️ **वर्ज़न हिस्ट्री** | गेम में बदलाव करने वाला हर बिल्ड सेव होता है; `game_studio_restore_version` कोड, नियम और आर्ट तीनों को एक साथ वापस ले आता है। |
|
|
42
42
|
| 📦 **सिंगल-फ़ाइल एक्सपोर्ट** | `game_studio_export` बिना किसी नेटवर्क एक्सेस वाली एक आत्मनिर्भर HTML फ़ाइल बनाता है — इसे किसी भी ब्राउज़र में खोलें या किसी भी स्टैटिक होस्ट पर डालें। |
|
|
43
43
|
| 📱 **अपने फ़ोन पर आज़माएँ** | `game_studio_share` साइडबार में एक QR कोड के साथ आपके लोकल नेटवर्क पर एक अस्थायी रीड-ओनली लिंक खोलता है। |
|
|
44
|
-
| 🗂️ **मेरे गेम** | साइडबार का **+** खोलें और **Game Studio ·
|
|
44
|
+
| 🗂️ **मेरे गेम** | साइडबार का **+** खोलें और **Game Studio · My games** चुनें: वर्कस्पेस का हर गेम आख़िरी प्लेटेस्ट की तस्वीर वाली टाइल के रूप में दिखता है, 2D/3D फ़िल्टर और तारीख़, वर्शन या नाम से क्रम के साथ। क्लिक करते ही खेलें — न agent, न टोकन। **Export wall** दिख रहे गेम्स को एक ऑफ़लाइन पेज में बाँधता है जिसे दोस्तों को भेज सकते हैं। |
|
|
45
45
|
|
|
46
46
|
## इससे बने गेम
|
|
47
47
|
|
|
@@ -84,6 +84,8 @@
|
|
|
84
84
|
| `game_studio_restore_version` | पूरे गेम के किसी पुराने वर्ज़न को रीस्टोर करें। |
|
|
85
85
|
| `game_studio_export` | एक आत्मनिर्भर, ऑफ़लाइन HTML फ़ाइल एक्सपोर्ट करें। |
|
|
86
86
|
| `game_studio_share` | लोकल नेटवर्क पर एक अस्थायी रीड-ओनली लिंक खोलें (या बंद करें) ताकि फ़ोन पर गेम खेला जा सके। |
|
|
87
|
+
| `game_studio_list` | वर्कस्पेस के गेम्स को शीर्षक, 2D/3D, बिल्ड स्थिति और वर्शन के साथ सूचीबद्ध करता है, ताकि agent "वह पेंगुइन वाला गेम" नाम से ढूँढ सके। |
|
|
88
|
+
| `game_studio_export_wall` | गेम वॉल एक्सपोर्ट करता है: हर बने हुए गेम की एक टाइल वाला ऑफ़लाइन HTML पेज; टाइल पर क्लिक करके खेलें। |
|
|
87
89
|
|
|
88
90
|
साइडबार के बटन (apply, revert, build, export, restore, share) `/game-studio` कमांड के माध्यम से इन्हीं ऑपरेशनों को कॉल करते हैं।
|
|
89
91
|
|
package/README.id.md
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
</p>
|
|
15
15
|
|
|
16
16
|
<p align="center">
|
|
17
|
-
<sub>Paket: <code>@zseven-w/dsh-game-studio</code> · Rilis plugin saat ini: <code>0.1.0-rc.
|
|
17
|
+
<sub>Paket: <code>@zseven-w/dsh-game-studio</code> · Rilis plugin saat ini: <code>0.1.0-rc.4</code> · Diuji dengan DSH <code>0.2.1-rc.5</code></sub>
|
|
18
18
|
</p>
|
|
19
19
|
|
|
20
20
|
<br />
|
|
@@ -41,7 +41,7 @@ Mintalah sebuah game kepada agen dengan kata-kata sederhana — "game 3D: seekor
|
|
|
41
41
|
| 🕰️ **Riwayat versi** | Setiap build yang mengubah game akan disimpan; `game_studio_restore_version` mengembalikan kode, aturan, dan seni secara bersamaan. |
|
|
42
42
|
| 📦 **Ekspor satu file** | `game_studio_export` menulis file HTML mandiri tanpa akses jaringan — buka di browser apa pun atau unggah ke layanan hosting statis mana pun. |
|
|
43
43
|
| 📱 **Coba di ponsel Anda** | `game_studio_share` membuka tautan baca-saja sementara di jaringan lokal Anda, lengkap dengan kode QR di bilah sisi. |
|
|
44
|
-
| 🗂️ **Game saya** | Buka **+** di bilah samping dan pilih **Game Studio ·
|
|
44
|
+
| 🗂️ **Game saya** | Buka **+** di bilah samping dan pilih **Game Studio · My games**: setiap game di ruang kerja tampil sebagai ubin dengan gambar uji main terakhir, bisa disaring 2D/3D dan diurutkan menurut waktu, jumlah versi, atau nama. Klik untuk bermain, tanpa agent dan tanpa token. **Export wall** mengemas game yang tampil menjadi satu halaman offline untuk dikirim ke teman. |
|
|
45
45
|
|
|
46
46
|
## Game yang dibuat dengannya
|
|
47
47
|
|
|
@@ -84,6 +84,8 @@ Diukur pada DSH nyata dengan DeepSeek-V4.1-Flash, setiap game dibuat dari satu k
|
|
|
84
84
|
| `game_studio_restore_version` | Memulihkan versi sebelumnya dari keseluruhan game. |
|
|
85
85
|
| `game_studio_export` | Mengekspor satu file HTML mandiri yang dapat dijalankan secara offline. |
|
|
86
86
|
| `game_studio_share` | Membuka (atau menutup) tautan baca-saja sementara di jaringan lokal agar ponsel dapat memainkan game tersebut. |
|
|
87
|
+
| `game_studio_list` | Mendaftar game di ruang kerja beserta judul, 2D/3D, status build, dan jumlah versi, agar agent menemukan "game penguin itu" dari namanya. |
|
|
88
|
+
| `game_studio_export_wall` | Mengekspor dinding game: satu halaman HTML offline dengan satu ubin per game yang sudah di-build; klik ubin untuk bermain. |
|
|
87
89
|
|
|
88
90
|
Tombol-tombol di bilah sisi (terapkan, kembalikan, bangun, ekspor, pulihkan, bagikan) memanggil operasi yang sama melalui perintah `/game-studio`.
|
|
89
91
|
|
package/README.ja.md
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
</p>
|
|
15
15
|
|
|
16
16
|
<p align="center">
|
|
17
|
-
<sub>パッケージ: <code>@zseven-w/dsh-game-studio</code> · 現在のプラグインリリース: <code>0.1.0-rc.
|
|
17
|
+
<sub>パッケージ: <code>@zseven-w/dsh-game-studio</code> · 現在のプラグインリリース: <code>0.1.0-rc.4</code> · 動作確認: DSH <code>0.2.1-rc.5</code></sub>
|
|
18
18
|
</p>
|
|
19
19
|
|
|
20
20
|
<br />
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
| 🕰️ **バージョン履歴** | ゲームを変更したすべてのビルドが保存され、`game_studio_restore_version` がコード・ルール・アートをまとめて復元します。 |
|
|
42
42
|
| 📦 **1ファイルエクスポート** | `game_studio_export` は、ネットワークアクセスのない自己完結型HTMLファイルを書き出します — 任意のブラウザで開いたり、任意の静的ホストに置けます。 |
|
|
43
43
|
| 📱 **スマートフォンで試す** | `game_studio_share` はローカルネットワークに一時的な読み取り専用リンクを開きます。サイドバーにQRコードが表示されます。 |
|
|
44
|
-
| 🗂️ **マイゲーム** | 右サイドバーの **+** から
|
|
44
|
+
| 🗂️ **マイゲーム** | 右サイドバーの **+** から **Game Studio · My games** を選ぶと、ワークスペースのゲームが最新のプレイテスト画面を表紙にしたタイルで一面に並びます。2D/3D で絞り込み、更新順・バージョン数・名前で並べ替えでき、クリックするだけで遊べます(agent もトークンも使いません)。**Export wall** で表示中のゲームを1つのオフラインページにまとめて友だちに送れます。 |
|
|
45
45
|
|
|
46
46
|
## これで作ったゲーム
|
|
47
47
|
|
|
@@ -84,6 +84,8 @@
|
|
|
84
84
|
| `game_studio_restore_version` | ゲーム全体の以前のバージョンを復元します。 |
|
|
85
85
|
| `game_studio_export` | 自己完結型のオフラインHTMLファイルを1つエクスポートします。 |
|
|
86
86
|
| `game_studio_share` | スマートフォンからゲームを遊べるよう、ローカルネットワークに一時的な読み取り専用リンクを開きます(閉じることもできます)。 |
|
|
87
|
+
| `game_studio_list` | ワークスペースのゲームをタイトル・2D/3D・ビルド状態・バージョン数つきで一覧にし、agent が「あのペンギンのゲーム」を名前で見つけられるようにします。 |
|
|
88
|
+
| `game_studio_export_wall` | ゲームウォールをエクスポート:ビルド済みのゲームを1タイルずつ並べたオフラインHTMLページ。タイルをクリックで遊べます。 |
|
|
87
89
|
|
|
88
90
|
サイドバーのボタン(適用、元に戻す、ビルド、エクスポート、復元、共有)は、`/game-studio` コマンド経由で同じ操作を呼び出します。
|
|
89
91
|
|
package/README.ko.md
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
</p>
|
|
15
15
|
|
|
16
16
|
<p align="center">
|
|
17
|
-
<sub>패키지: <code>@zseven-w/dsh-game-studio</code> · 현재 플러그인 릴리스: <code>0.1.0-rc.
|
|
17
|
+
<sub>패키지: <code>@zseven-w/dsh-game-studio</code> · 현재 플러그인 릴리스: <code>0.1.0-rc.4</code> · DSH <code>0.2.1-rc.5</code>로 테스트됨</sub>
|
|
18
18
|
</p>
|
|
19
19
|
|
|
20
20
|
<br />
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
| 🕰️ **버전 기록** | 게임을 변경한 모든 빌드가 저장됩니다. `game_studio_restore_version`이 코드, 규칙, 아트를 한꺼번에 되돌립니다. |
|
|
42
42
|
| 📦 **단일 파일 내보내기** | `game_studio_export`가 네트워크 접근 없이 자립적인 HTML 파일 하나를 만듭니다 — 어떤 브라우저에서든 열거나 아무 정적 호스트에 올릴 수 있습니다. |
|
|
43
43
|
| 📱 **휴대폰에서 사용해 보기** | `game_studio_share`가 로컬 네트워크에 임시 읽기 전용 링크를 열고, 사이드바에 QR 코드를 보여줍니다. |
|
|
44
|
-
| 🗂️ **내 게임** | 오른쪽 사이드바의 **+** 에서
|
|
44
|
+
| 🗂️ **내 게임** | 오른쪽 사이드바의 **+** 에서 **Game Studio · My games**를 고르면, 워크스페이스의 게임이 최근 플레이테스트 화면을 표지로 한 타일로 펼쳐집니다. 2D/3D로 거르고 최근순·버전 수·이름순으로 정렬할 수 있으며, 클릭하면 바로 플레이합니다(agent·토큰 사용 없음). **Export wall**은 보이는 게임을 오프라인 페이지 하나로 묶어 친구에게 보낼 수 있게 합니다. |
|
|
45
45
|
|
|
46
46
|
## 이걸로 만든 게임
|
|
47
47
|
|
|
@@ -84,6 +84,8 @@
|
|
|
84
84
|
| `game_studio_restore_version` | 게임 전체의 이전 버전을 복원합니다. |
|
|
85
85
|
| `game_studio_export` | 자립적이고 오프라인인 HTML 파일 하나로 내보냅니다. |
|
|
86
86
|
| `game_studio_share` | 휴대폰에서 게임을 플레이할 수 있도록 로컬 네트워크에 임시 읽기 전용 링크를 열거나 닫습니다. |
|
|
87
|
+
| `game_studio_list` | 워크스페이스의 게임을 제목·2D/3D·빌드 여부·버전 수와 함께 나열해, agent가 "그 펭귄 게임"을 이름으로 찾게 합니다. |
|
|
88
|
+
| `game_studio_export_wall` | 게임 월 내보내기: 빌드된 게임마다 타일 하나씩 있는 오프라인 HTML 페이지. 타일을 클릭하면 플레이합니다. |
|
|
87
89
|
|
|
88
90
|
사이드바의 버튼(적용, 되돌리기, 빌드, 내보내기, 복원, 공유)은 `/game-studio` 명령을 통해 같은 작업을 수행합니다.
|
|
89
91
|
|
package/README.md
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
</p>
|
|
15
15
|
|
|
16
16
|
<p align="center">
|
|
17
|
-
<sub>Package: <code>@zseven-w/dsh-game-studio</code> · Current plugin release: <code>0.1.0-rc.
|
|
17
|
+
<sub>Package: <code>@zseven-w/dsh-game-studio</code> · Current plugin release: <code>0.1.0-rc.4</code> · Tested with DSH <code>0.2.1-rc.5</code></sub>
|
|
18
18
|
</p>
|
|
19
19
|
|
|
20
20
|
<br />
|
|
@@ -40,8 +40,9 @@ Ask the agent for a game in plain words — "a 3D game: a red panda collects bam
|
|
|
40
40
|
| 🤖 **Self-playing playtests** | `game_studio_playtest` plays the latest code in a headless Chrome or Edge and reports phases, score, frame rate, script errors and screenshots. Games that are not steered with arrow keys (grids, cards, aiming, rhythm…) define `window.__autoplay`, so the playtest plays their real loop. |
|
|
41
41
|
| 🕰️ **Version history** | Every build that changed the game is saved; `game_studio_restore_version` brings back code, rules and art together. |
|
|
42
42
|
| 📦 **One-file export** | `game_studio_export` writes a self-contained HTML file with no network access — open it in any browser or put it on any static host. |
|
|
43
|
-
| 📱 **Try it on your phone** | `game_studio_share` opens a temporary read-only link on your local network
|
|
44
|
-
|
|
|
43
|
+
| 📱 **Try it on your phone** | `game_studio_share` opens a temporary read-only link on your local network — or a temporary public link via a Cloudflare Quick Tunnel (`cloudflared`) so friends on any network can play — with a QR code in the sidebar. |
|
|
44
|
+
| 🌐 **Publish to GitHub Pages** | `game_studio_publish` pushes the built HTML (or the whole game wall) to a public repository under your signed-in `gh` account and enables GitHub Pages for a permanent link that stays live after you close your computer. |
|
|
45
|
+
| 🗂️ **My games** | Open the sidebar's **+** and pick **Game Studio · My games**: every game in the workspace as a tile with its latest playtest picture, filtered by 2D/3D and sorted by recency, versions or name. Click one to play it — no agent, no tokens. You can also subscribe to online game sources (`owner/repo`, GitHub repository URL, or GitHub Pages URL) to browse and play published games alongside your own. **Export wall** packs your local games into one offline page to send to friends. |
|
|
45
46
|
|
|
46
47
|
## Games made with it
|
|
47
48
|
|
|
@@ -83,9 +84,12 @@ Measured in a real DSH with DeepSeek-V4.1-Flash, each game made from one sentenc
|
|
|
83
84
|
| `game_studio_versions` | List saved versions, newest first. |
|
|
84
85
|
| `game_studio_restore_version` | Restore an earlier version of the whole game. |
|
|
85
86
|
| `game_studio_export` | Export one self-contained, offline HTML file. |
|
|
86
|
-
| `game_studio_share` | Open (or close) a temporary read-only link on the local network
|
|
87
|
+
| `game_studio_share` | Open (or close) a temporary read-only link on the local network, or pass `public: true` for a temporary public link via `cloudflared` so anyone with the link can play. |
|
|
88
|
+
| `game_studio_list` | List the games in the working directory with title, 2D/3D, build state and versions, so the agent finds "the penguin game" by name. |
|
|
89
|
+
| `game_studio_export_wall` | Export the game wall: one offline HTML page with a tile per built game; click a tile to play it. |
|
|
90
|
+
| `game_studio_publish` | Publish the built game (or `wall: true` for the game wall) to GitHub Pages via the local signed-in `gh` CLI, or pass `remove: true` to delete it. Asks for approval first and only writes to repositories carrying its `.dsh-game-studio.json` marker. |
|
|
87
91
|
|
|
88
|
-
The sidebar's buttons (apply, revert, build, export, restore, share) call the same operations through the `/game-studio` command.
|
|
92
|
+
The sidebar's buttons (apply, revert, build, export, restore, share, publish) call the same operations through the `/game-studio` command.
|
|
89
93
|
|
|
90
94
|
## Image services and spending
|
|
91
95
|
|
|
@@ -100,7 +104,9 @@ The sidebar's buttons (apply, revert, build, export, restore, share) call the sa
|
|
|
100
104
|
|
|
101
105
|
- Games run in a sandboxed iframe with a content security policy that blocks network access; exported files make no network requests.
|
|
102
106
|
- The only things sent off your machine are the prompts — and the reference picture, if you give one — to the image service you choose.
|
|
103
|
-
- The share link is read-only, serves just that game's build,
|
|
107
|
+
- The share link is read-only, serves just that game's build, and closes after the time you set (30 minutes by default). Local links listen on your local network only; public links listen on `127.0.0.1` only and tunnel through Cloudflare (`trycloudflare.com`) after you approve.
|
|
108
|
+
- Publishing to GitHub Pages (`game_studio_publish`) uses your local signed-in `gh` CLI (the plugin never touches your GitHub token), uploads only the built HTML to a **public** repository after you approve, and refuses to write to any existing repository that does not carry its `.dsh-game-studio.json` marker.
|
|
109
|
+
- Online game sources run on the provider's own site inside a sandboxed iframe (`sandbox="allow-scripts"`) without access to DSH or your workspace, and are never copied or forwarded when exporting or publishing your local game wall.
|
|
104
110
|
- API keys are read from DSH credentials or the environment and are never written into projects, logs or tool results.
|
|
105
111
|
|
|
106
112
|
## Requirements
|
|
@@ -108,6 +114,7 @@ The sidebar's buttons (apply, revert, build, export, restore, share) call the sa
|
|
|
108
114
|
- DeepSeek Harness `0.2.1` or later (web or desktop), Node.js `24.11` or later.
|
|
109
115
|
- Google Chrome or Microsoft Edge on the same computer for playtests.
|
|
110
116
|
- For AI art, either an OpenAI API key or the Codex CLI signed in. Without either, games still work with their code-drawn characters.
|
|
117
|
+
- Optional: `cloudflared` (`brew install cloudflared` on macOS) for temporary public share links; `gh` (`brew install gh` and `gh auth login`) for publishing to GitHub Pages.
|
|
111
118
|
|
|
112
119
|
## Install into DSH
|
|
113
120
|
|
|
@@ -147,6 +154,9 @@ Set these under `config` in your profile's `cordis.patch.yml`:
|
|
|
147
154
|
| `codexReasoningEffort` | `low` | Reasoning effort for Codex image runs. |
|
|
148
155
|
| `codexTimeoutMinutes` | `15` | Give up on one Codex image after this long. |
|
|
149
156
|
| `confirmSpending` | `true` | Ask for approval before every generation. |
|
|
157
|
+
| `cloudflaredPath` | found on `PATH` or Homebrew | `cloudflared` executable for temporary public share links. |
|
|
158
|
+
| `ghPath` | found on `PATH` or Homebrew | GitHub CLI (`gh`) executable for publishing to GitHub Pages. |
|
|
159
|
+
| `githubRepo` | `dsh-games` | Public GitHub repository name (under your signed-in account) for GitHub Pages. |
|
|
150
160
|
|
|
151
161
|
## Game project format
|
|
152
162
|
|
package/README.pt.md
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
</p>
|
|
15
15
|
|
|
16
16
|
<p align="center">
|
|
17
|
-
<sub>Pacote: <code>@zseven-w/dsh-game-studio</code> · Versão atual do plugin: <code>0.1.0-rc.
|
|
17
|
+
<sub>Pacote: <code>@zseven-w/dsh-game-studio</code> · Versão atual do plugin: <code>0.1.0-rc.4</code> · Testado com DSH <code>0.2.1-rc.5</code></sub>
|
|
18
18
|
</p>
|
|
19
19
|
|
|
20
20
|
<br />
|
|
@@ -41,7 +41,7 @@ Peça um jogo ao agente em palavras simples — "um jogo 3D: um panda-vermelho c
|
|
|
41
41
|
| 🕰️ **Histórico de versões** | Cada build que alterou o jogo é salvo; `game_studio_restore_version` traz de volta código, regras e arte juntos. |
|
|
42
42
|
| 📦 **Exportação em arquivo único** | `game_studio_export` grava um arquivo HTML autossuficiente sem acesso à rede — abra em qualquer navegador ou coloque em qualquer hospedagem estática. |
|
|
43
43
|
| 📱 **Teste no seu celular** | `game_studio_share` abre um link temporário somente leitura na sua rede local, com um QR code na barra lateral. |
|
|
44
|
-
| 🗂️ **Meus jogos** | Abra o **+** da barra lateral e escolha **Game Studio ·
|
|
44
|
+
| 🗂️ **Meus jogos** | Abra o **+** da barra lateral e escolha **Game Studio · My games**: cada jogo do espaço de trabalho como um bloco com a imagem do último teste, com filtro 2D/3D e ordem por data, versões ou nome. Um clique para jogar, sem agente e sem tokens. **Export wall** junta os jogos exibidos numa única página offline para enviar aos amigos. |
|
|
45
45
|
|
|
46
46
|
## Jogos feitos com ele
|
|
47
47
|
|
|
@@ -84,6 +84,8 @@ Medido em um DSH real com DeepSeek-V4.1-Flash, cada jogo feito a partir de uma f
|
|
|
84
84
|
| `game_studio_restore_version` | Restaura uma versão anterior do jogo inteiro. |
|
|
85
85
|
| `game_studio_export` | Exporta um único arquivo HTML autossuficiente e offline. |
|
|
86
86
|
| `game_studio_share` | Abre (ou fecha) um link temporário somente leitura na rede local para que um celular possa jogar o jogo. |
|
|
87
|
+
| `game_studio_list` | Lista os jogos do espaço de trabalho com título, 2D/3D, estado do build e versões, para o agente achar "o jogo do pinguim" pelo nome. |
|
|
88
|
+
| `game_studio_export_wall` | Exporta o mural de jogos: uma página HTML offline com um bloco por jogo compilado; clique num bloco para jogar. |
|
|
87
89
|
|
|
88
90
|
Os botões da barra lateral (aplicar, reverter, construir, exportar, restaurar, compartilhar) chamam as mesmas operações por meio do comando `/game-studio`.
|
|
89
91
|
|
package/README.ru.md
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
</p>
|
|
15
15
|
|
|
16
16
|
<p align="center">
|
|
17
|
-
<sub>Пакет: <code>@zseven-w/dsh-game-studio</code> · Текущий релиз плагина: <code>0.1.0-rc.
|
|
17
|
+
<sub>Пакет: <code>@zseven-w/dsh-game-studio</code> · Текущий релиз плагина: <code>0.1.0-rc.4</code> · Протестировано с DSH <code>0.2.1-rc.5</code></sub>
|
|
18
18
|
</p>
|
|
19
19
|
|
|
20
20
|
<br />
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
| 🕰️ **История версий** | Каждая сборка, изменившая игру, сохраняется; `game_studio_restore_version` возвращает код, правила и графику вместе. |
|
|
42
42
|
| 📦 **Экспорт в один файл** | `game_studio_export` записывает полностью автономный HTML-файл без доступа к сети — откройте его в любом браузере или разместите на любом статическом хостинге. |
|
|
43
43
|
| 📱 **Проверка на телефоне** | `game_studio_share` открывает временную ссылку только для чтения в вашей локальной сети с QR-кодом на боковой панели. |
|
|
44
|
-
| 🗂️ **Мои игры** | Нажмите **+** в правой панели и выберите **Game Studio ·
|
|
44
|
+
| 🗂️ **Мои игры** | Нажмите **+** в правой панели и выберите **Game Studio · My games**: каждая игра рабочей области — плитка с кадром последнего теста, с фильтром 2D/3D и сортировкой по дате, версиям или названию. Один клик — и играете, без агента и без токенов. **Export wall** собирает показанные игры в одну офлайн-страницу, которую можно отправить друзьям. |
|
|
45
45
|
|
|
46
46
|
## Игры, сделанные с ним
|
|
47
47
|
|
|
@@ -84,6 +84,8 @@
|
|
|
84
84
|
| `game_studio_restore_version` | Восстанавливает более раннюю версию всей игры целиком. |
|
|
85
85
|
| `game_studio_export` | Экспортирует один автономный HTML-файл, работающий без интернета. |
|
|
86
86
|
| `game_studio_share` | Открывает (или закрывает) временную ссылку только для чтения в локальной сети, чтобы в игру можно было поиграть с телефона. |
|
|
87
|
+
| `game_studio_list` | Показывает игры рабочей области с названием, 2D/3D, состоянием сборки и числом версий, чтобы агент находил «ту игру с пингвином» по имени. |
|
|
88
|
+
| `game_studio_export_wall` | Экспортирует стену игр: офлайн-страница HTML с плиткой для каждой собранной игры; клик по плитке запускает игру. |
|
|
87
89
|
|
|
88
90
|
Кнопки на боковой панели (применить, вернуть, собрать, экспортировать, восстановить, поделиться) вызывают те же самые операции через команду `/game-studio`.
|
|
89
91
|
|
package/README.th.md
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
</p>
|
|
15
15
|
|
|
16
16
|
<p align="center">
|
|
17
|
-
<sub>แพ็กเกจ: <code>@zseven-w/dsh-game-studio</code> · เวอร์ชันปลั๊กอินปัจจุบัน: <code>0.1.0-rc.
|
|
17
|
+
<sub>แพ็กเกจ: <code>@zseven-w/dsh-game-studio</code> · เวอร์ชันปลั๊กอินปัจจุบัน: <code>0.1.0-rc.4</code> · ทดสอบกับ DSH <code>0.2.1-rc.5</code></sub>
|
|
18
18
|
</p>
|
|
19
19
|
|
|
20
20
|
<br />
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
| 🕰️ **ประวัติเวอร์ชัน** | ทุกบิลด์ที่มีการเปลี่ยนแปลงตัวเกมจะถูกบันทึกไว้ โดย `game_studio_restore_version` จะกู้คืนทั้งโค้ด กฎกติกา และภาพอาร์ตกลับมาพร้อมกัน |
|
|
42
42
|
| 📦 **ส่งออกเป็นไฟล์เดียว** | `game_studio_export` จะเขียนไฟล์ HTML ที่ครบจบในตัวเองโดยไม่ต้องเชื่อมต่อเครือข่าย — เปิดเล่นในเบราว์เซอร์ใดก็ได้ หรือนำไปวางบนโฮสต์สำหรับไฟล์สแตติกได้ทุกที่ |
|
|
43
43
|
| 📱 **ลองเล่นบนโทรศัพท์ของคุณ** | `game_studio_share` จะเปิดลิงก์แบบอ่านอย่างเดียวชั่วคราวบนเครือข่ายในบ้านหรือวงแลนของคุณ พร้อมแสดงคิวอาร์โค้ดในแถบด้านข้าง |
|
|
44
|
-
| 🗂️ **เกมของฉัน** | กด **+** ที่แถบด้านขวาแล้วเลือก **Game Studio ·
|
|
44
|
+
| 🗂️ **เกมของฉัน** | กด **+** ที่แถบด้านขวาแล้วเลือก **Game Studio · My games** ทุกเกมในเวิร์กสเปซจะแสดงเป็นไทล์พร้อมภาพจากการทดสอบเล่นครั้งล่าสุด กรองตาม 2D/3D และเรียงตามเวลา จำนวนเวอร์ชัน หรือชื่อได้ คลิกเดียวก็เล่นได้ ไม่ต้องผ่าน agent และไม่ใช้โทเคน **Export wall** รวมเกมที่แสดงอยู่เป็นหน้าเว็บออฟไลน์หน้าเดียวส่งให้เพื่อนได้ |
|
|
45
45
|
|
|
46
46
|
## เกมที่สร้างด้วยปลั๊กอินนี้
|
|
47
47
|
|
|
@@ -84,6 +84,8 @@
|
|
|
84
84
|
| `game_studio_restore_version` | กู้คืนตัวเกมทั้งหมดกลับไปยังเวอร์ชันก่อนหน้า |
|
|
85
85
|
| `game_studio_export` | ส่งออกเป็นไฟล์ HTML แบบออฟไลน์ที่ครบจบในตัวเองเพียงไฟล์เดียว |
|
|
86
86
|
| `game_studio_share` | เปิด (หรือปิด) ลิงก์แบบอ่านอย่างเดียวชั่วคราวบนเครือข่ายในพื้นที่ เพื่อให้โทรศัพท์สามารถเข้าเล่นเกมได้ |
|
|
87
|
+
| `game_studio_list` | แสดงรายการเกมในเวิร์กสเปซพร้อมชื่อ 2D/3D สถานะบิลด์ และจำนวนเวอร์ชัน ให้ agent หา "เกมเพนกวินนั้น" จากชื่อได้ |
|
|
88
|
+
| `game_studio_export_wall` | ส่งออกกำแพงเกม: หน้า HTML ออฟไลน์ที่มีไทล์ละเกมสำหรับทุกเกมที่บิลด์แล้ว คลิกไทล์เพื่อเล่น |
|
|
87
89
|
|
|
88
90
|
ปุ่มต่าง ๆ ในแถบด้านข้าง (นำไปใช้, ย้อนกลับ, บิลด์, ส่งออก, กู้คืน, แชร์) จะเรียกใช้งานการทำงานเดียวกันนี้ผ่านคำสั่ง `/game-studio`
|
|
89
91
|
|
package/README.tr.md
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
</p>
|
|
15
15
|
|
|
16
16
|
<p align="center">
|
|
17
|
-
<sub>Paket: <code>@zseven-w/dsh-game-studio</code> · Güncel eklenti sürümü: <code>0.1.0-rc.
|
|
17
|
+
<sub>Paket: <code>@zseven-w/dsh-game-studio</code> · Güncel eklenti sürümü: <code>0.1.0-rc.4</code> · DSH <code>0.2.1-rc.5</code> ile test edildi</sub>
|
|
18
18
|
</p>
|
|
19
19
|
|
|
20
20
|
<br />
|
|
@@ -41,7 +41,7 @@ Ajandan günlük dille bir oyun isteyin — "3D bir oyun: kırmızı bir panda o
|
|
|
41
41
|
| 🕰️ **Sürüm geçmişi** | Oyunu değiştiren her derleme kaydedilir; `game_studio_restore_version` kodu, kuralları ve görselleri birlikte geri getirir. |
|
|
42
42
|
| 📦 **Tek dosya dışa aktarma** | `game_studio_export` ağ erişimi olmayan, bağımsız bir HTML dosyası yazar — istediğiniz tarayıcıda açın veya herhangi bir statik barındırma hizmetine koyun. |
|
|
43
43
|
| 📱 **Telefonunuzda deneyin** | `game_studio_share` kenar çubuğunda bir QR koduyla yerel ağınızda geçici, salt okunur bir bağlantı açar. |
|
|
44
|
-
| 🗂️ **Oyunlarım** | Kenar çubuğundaki **+** ile **Game Studio ·
|
|
44
|
+
| 🗂️ **Oyunlarım** | Kenar çubuğundaki **+** ile **Game Studio · My games**'i seçin: çalışma alanındaki her oyun son test görüntüsüyle bir kutucuk olarak listelenir; 2D/3D süzgeci ve tarih, sürüm ya da ada göre sıralama vardır. Tıklayıp oynayın; agent da token da gerekmez. **Export wall**, gösterilen oyunları arkadaşlarınıza gönderebileceğiniz tek bir çevrimdışı sayfada toplar. |
|
|
45
45
|
|
|
46
46
|
## Onunla yapılan oyunlar
|
|
47
47
|
|
|
@@ -84,6 +84,8 @@ Gerçek bir DSH içinde DeepSeek-V4.1-Flash ile ölçüldü; her oyun yeni bir o
|
|
|
84
84
|
| `game_studio_restore_version` | Tüm oyunun daha önceki bir sürümünü geri yükler. |
|
|
85
85
|
| `game_studio_export` | Tek bir bağımsız, çevrimdışı HTML dosyası dışa aktarır. |
|
|
86
86
|
| `game_studio_share` | Bir telefonun oyunu oynayabilmesi için yerel ağda geçici, salt okunur bir bağlantı açar (veya kapatır). |
|
|
87
|
+
| `game_studio_list` | Çalışma alanındaki oyunları başlık, 2D/3D, derleme durumu ve sürüm sayısıyla listeler; agent "o penguen oyununu" adından bulur. |
|
|
88
|
+
| `game_studio_export_wall` | Oyun duvarını dışa aktarır: derlenmiş her oyun için bir kutucuk içeren çevrimdışı bir HTML sayfası; kutucuğa tıklayınca oyun açılır. |
|
|
87
89
|
|
|
88
90
|
Kenar çubuğunun düğmeleri (uygula, geri al, derle, dışa aktar, geri yükle, paylaş) aynı işlemleri `/game-studio` komutu üzerinden çağırır.
|
|
89
91
|
|
package/README.vi.md
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
</p>
|
|
15
15
|
|
|
16
16
|
<p align="center">
|
|
17
|
-
<sub>Gói: <code>@zseven-w/dsh-game-studio</code> · Bản phát hành plugin hiện tại: <code>0.1.0-rc.
|
|
17
|
+
<sub>Gói: <code>@zseven-w/dsh-game-studio</code> · Bản phát hành plugin hiện tại: <code>0.1.0-rc.4</code> · Đã thử nghiệm với DSH <code>0.2.1-rc.5</code></sub>
|
|
18
18
|
</p>
|
|
19
19
|
|
|
20
20
|
<br />
|
|
@@ -41,7 +41,7 @@ Yêu cầu agent tạo một trò chơi bằng lời lẽ tự nhiên — "một
|
|
|
41
41
|
| 🕰️ **Lịch sử phiên bản** | Mọi bản dựng làm thay đổi trò chơi đều được lưu lại; `game_studio_restore_version` khôi phục đồng thời cả mã, luật chơi và đồ họa. |
|
|
42
42
|
| 📦 **Xuất một tệp duy nhất** | `game_studio_export` ghi ra một tệp HTML độc lập không cần kết nối mạng — mở được trên mọi trình duyệt hoặc đưa lên bất kỳ máy chủ tĩnh nào. |
|
|
43
43
|
| 📱 **Thử ngay trên điện thoại** | `game_studio_share` mở một liên kết chỉ đọc tạm thời trên mạng cục bộ của bạn, kèm mã QR ở thanh bên. |
|
|
44
|
-
| 🗂️ **Trò chơi của tôi** | Mở nút **+** ở thanh bên và chọn **Game Studio ·
|
|
44
|
+
| 🗂️ **Trò chơi của tôi** | Mở nút **+** ở thanh bên và chọn **Game Studio · My games**: mỗi trò chơi trong không gian làm việc là một ô kèm ảnh lần chơi thử gần nhất, lọc theo 2D/3D và sắp xếp theo thời gian, số phiên bản hoặc tên. Bấm là chơi, không cần agent, không tốn token. **Export wall** gói các trò đang hiển thị thành một trang ngoại tuyến để gửi cho bạn bè. |
|
|
45
45
|
|
|
46
46
|
## Những trò chơi làm bằng nó
|
|
47
47
|
|
|
@@ -84,6 +84,8 @@ Bốn trò chơi từ các lần thử nghiệm. Mỗi trò bắt đầu từ m
|
|
|
84
84
|
| `game_studio_restore_version` | Khôi phục một phiên bản trước đó của toàn bộ trò chơi. |
|
|
85
85
|
| `game_studio_export` | Xuất ra một tệp HTML độc lập, chạy ngoại tuyến. |
|
|
86
86
|
| `game_studio_share` | Mở (hoặc đóng) một liên kết chỉ đọc tạm thời trên mạng cục bộ để điện thoại có thể chơi trò chơi. |
|
|
87
|
+
| `game_studio_list` | Liệt kê các trò chơi trong không gian làm việc với tên, 2D/3D, trạng thái build và số phiên bản, để agent tìm "trò chim cánh cụt đó" theo tên. |
|
|
88
|
+
| `game_studio_export_wall` | Xuất bức tường trò chơi: một trang HTML ngoại tuyến, mỗi trò đã build một ô; bấm vào ô để chơi. |
|
|
87
89
|
|
|
88
90
|
Các nút ở thanh bên (áp dụng, hoàn tác, dựng, xuất, khôi phục, chia sẻ) cũng gọi cùng các thao tác này thông qua lệnh `/game-studio`.
|
|
89
91
|
|
package/README.zh-TW.md
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
</p>
|
|
15
15
|
|
|
16
16
|
<p align="center">
|
|
17
|
-
<sub>套件:<code>@zseven-w/dsh-game-studio</code> · 目前的外掛版本:<code>0.1.0-rc.
|
|
17
|
+
<sub>套件:<code>@zseven-w/dsh-game-studio</code> · 目前的外掛版本:<code>0.1.0-rc.4</code> · 已在 DSH <code>0.2.1-rc.5</code> 下測試</sub>
|
|
18
18
|
</p>
|
|
19
19
|
|
|
20
20
|
<br />
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
| 🕰️ **版本歷史** | 每個改變遊戲的建置都會被保存;`game_studio_restore_version` 會把程式碼、規則與美術圖一起帶回來。 |
|
|
42
42
|
| 📦 **單檔匯出** | `game_studio_export` 會寫出一個自包含、不需網路的 HTML 檔案——用任何瀏覽器開啟,或放到任何靜態網頁空間。 |
|
|
43
43
|
| 📱 **在手機上試玩** | `game_studio_share` 會在你的區域網路上開啟一條臨時的唯讀連結,並在側邊欄顯示 QR Code。 |
|
|
44
|
-
| 🗂️
|
|
44
|
+
| 🗂️ **遊戲牆** | 點右欄的 **+**,選 **游戏工坊 · 游戏墙**(介面為簡體中文或英文 **Game Studio · My games**):工作區裡做過的遊戲鋪滿一面牆,封面是最近一次試玩的畫面,可按 2D/3D 篩選,按最近修改、版本數或名稱排序。點一下就能玩,不經過 agent,也不花 token。**导出游戏墙**(Export wall)會把牆上的遊戲打包成一個離線網頁,傳給朋友就能玩。 |
|
|
45
45
|
|
|
46
46
|
## 用它做出來的遊戲
|
|
47
47
|
|
|
@@ -84,6 +84,8 @@
|
|
|
84
84
|
| `game_studio_restore_version` | 回復整個遊戲的較早版本。 |
|
|
85
85
|
| `game_studio_export` | 匯出一個自包含的離線 HTML 檔案。 |
|
|
86
86
|
| `game_studio_share` | 在區域網路上開啟(或關閉)一條臨時的唯讀連結,讓手機可以遊玩這款遊戲。 |
|
|
87
|
+
| `game_studio_list` | 列出工作區裡的遊戲(標題、2D/3D、是否已建置、版本數),agent 能按名字找到「那個企鵝遊戲」。 |
|
|
88
|
+
| `game_studio_export_wall` | 匯出遊戲牆:一個離線 HTML 頁面,每個已建置的遊戲一格,點格子就能玩。 |
|
|
87
89
|
|
|
88
90
|
側邊欄的按鈕(套用、還原、建置、匯出、回復、分享)透過 `/game-studio` 指令呼叫相同的操作。
|
|
89
91
|
|
package/README.zh.md
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
</p>
|
|
15
15
|
|
|
16
16
|
<p align="center">
|
|
17
|
-
<sub>包名:<code>@zseven-w/dsh-game-studio</code> · 当前插件版本:<code>0.1.0-rc.
|
|
17
|
+
<sub>包名:<code>@zseven-w/dsh-game-studio</code> · 当前插件版本:<code>0.1.0-rc.4</code> · 已在 DSH <code>0.2.1-rc.5</code> 上测试</sub>
|
|
18
18
|
</p>
|
|
19
19
|
|
|
20
20
|
<br />
|
|
@@ -40,8 +40,9 @@
|
|
|
40
40
|
| 🤖 **自动试玩** | `game_studio_playtest` 在无界面的 Chrome 或 Edge 里玩最新代码,报告阶段、得分、帧率、脚本错误并附截图。不靠方向键操作的游戏(格子、卡牌、瞄准、节奏……)定义 `window.__autoplay`,试玩就能玩到真正的玩法。 |
|
|
41
41
|
| 🕰️ **版本历史** | 每次让游戏发生变化的构建都会保存;`game_studio_restore_version` 把代码、规则和美术一起恢复。 |
|
|
42
42
|
| 📦 **单文件导出** | `game_studio_export` 生成一个不联网、自包含的 HTML 文件,用任何浏览器打开,或放到任意静态托管上。 |
|
|
43
|
-
| 📱 **在手机上试玩** | `game_studio_share`
|
|
44
|
-
|
|
|
43
|
+
| 📱 **在手机上试玩** | `game_studio_share` 在本地网络上开一个临时只读链接(或通过 `cloudflared` 开启 Cloudflare 临时公网链接,发给任何网络下的朋友都能玩),侧栏里会显示二维码。 |
|
|
44
|
+
| 🌐 **发布到 GitHub Pages** | `game_studio_publish` 用本机已登录的 `gh` 把构建好的 HTML(或整面游戏墙)推到你名下的公开仓库并开启 GitHub Pages,生成关掉电脑也能长期游玩的网址。 |
|
|
45
|
+
| 🗂️ **游戏墙** | 点右栏的 **+**,选 **游戏工坊 · 游戏墙**:工作区里做过的游戏铺满一面墙,封面是最近一次试玩的画面,可按 2D/3D 筛选,按最近修改、版本数或名称排序。点一下就能玩,不经过 agent,也不花 token。你还可以订阅在线游戏源(`owner/repo`、GitHub 仓库地址或 GitHub Pages 网址),把别人发布的游戏合入墙内直接游玩。**导出游戏墙**会把本地游戏打包成一个离线网页,发给朋友就能玩。 |
|
|
45
46
|
|
|
46
47
|
## 用它做出来的游戏
|
|
47
48
|
|
|
@@ -83,9 +84,12 @@
|
|
|
83
84
|
| `game_studio_versions` | 列出已保存的版本,最新的在前。 |
|
|
84
85
|
| `game_studio_restore_version` | 把整个游戏恢复到较早的版本。 |
|
|
85
86
|
| `game_studio_export` | 导出一个自包含、可离线游玩的 HTML 文件。 |
|
|
86
|
-
| `game_studio_share` |
|
|
87
|
+
| `game_studio_share` | 在本地网络开启(或关闭)一个临时只读链接让手机试玩;传 `public: true` 则通过 `cloudflared` 生成任何网络都能打开的临时公网链接。 |
|
|
88
|
+
| `game_studio_list` | 列出工作区里的游戏(标题、2D/3D、是否已构建、版本数),agent 能按名字找到「那个企鹅游戏」。 |
|
|
89
|
+
| `game_studio_export_wall` | 导出游戏墙:一个离线 HTML 页面,每个已构建的游戏一个格子,点格子就能玩。 |
|
|
90
|
+
| `game_studio_publish` | 通过本机已登录的 `gh` CLI 把已构建的游戏(或传 `wall: true` 把整面游戏墙)发布到 GitHub Pages,传 `remove: true` 则从仓库删除。操作前先经你批准,且只写入带有 `.dsh-game-studio.json` 标记的仓库。 |
|
|
87
91
|
|
|
88
|
-
|
|
92
|
+
侧栏上的按钮(应用、撤回、构建、导出、恢复、分享、发布)通过 `/game-studio` 命令调用同样的操作。
|
|
89
93
|
|
|
90
94
|
## 生图服务与费用
|
|
91
95
|
|
|
@@ -100,7 +104,9 @@
|
|
|
100
104
|
|
|
101
105
|
- 游戏在沙箱 iframe 里运行,内容安全策略禁止联网;导出的文件不发出任何网络请求。
|
|
102
106
|
- 离开你电脑的只有提示词,以及你提供的参考图,发往你选择的生图服务。
|
|
103
|
-
-
|
|
107
|
+
- 分享链接只读,只提供这个游戏的构建产物,到你设定的时间(默认 30 分钟)自动关闭。局域网链接只在本地网络上监听;公网链接在本地只监听 `127.0.0.1`,经你确认后通过 Cloudflare 隧道(`trycloudflare.com`)转发。
|
|
108
|
+
- 发布到 GitHub Pages(`game_studio_publish`)通过本机已登录的 `gh` CLI 完成(插件不接触你的 GitHub token),经你批准后只把构建产物 HTML 上传到**公开仓库**(任何人都能查看文件),且绝不写入没有 `.dsh-game-studio.json` 标记的现有仓库。
|
|
109
|
+
- 订阅的在线游戏在提供者自己的网站上以沙箱 iframe(`sandbox="allow-scripts"`)运行,无法访问 DSH 或你的工作区,且在导出或发布本地游戏墙时绝不复制或转发第三方在线游戏。
|
|
104
110
|
- API key 从 DSH 凭据或环境变量读取,不会写进项目、日志或工具结果。
|
|
105
111
|
|
|
106
112
|
## 环境要求
|
|
@@ -108,6 +114,7 @@
|
|
|
108
114
|
- DeepSeek Harness `0.2.1` 或更新(网页版或桌面版),Node.js `24.11` 或更新。
|
|
109
115
|
- 同一台电脑上装有 Google Chrome 或 Microsoft Edge,用于自动试玩。
|
|
110
116
|
- 生成 AI 美术需要 OpenAI API key 或已登录的 Codex CLI。都没有时,游戏仍可用代码画的角色正常运行。
|
|
117
|
+
- 可选:安装 `cloudflared`(macOS 可用 `brew install cloudflared`)以使用公网临时分享链接;安装并登录 `gh`(`brew install gh` 并运行 `gh auth login`)以发布到 GitHub Pages。
|
|
111
118
|
|
|
112
119
|
## 安装到 DSH
|
|
113
120
|
|
|
@@ -147,6 +154,9 @@ dsh web
|
|
|
147
154
|
| `codexReasoningEffort` | `low` | Codex 生图的推理强度。 |
|
|
148
155
|
| `codexTimeoutMinutes` | `15` | 单张 Codex 图超过这个时间就放弃。 |
|
|
149
156
|
| `confirmSpending` | `true` | 每次生成前都请求批准。 |
|
|
157
|
+
| `cloudflaredPath` | 从 `PATH` 或 Homebrew 目录查找 | 公网临时分享链接使用的 `cloudflared` 可执行文件。 |
|
|
158
|
+
| `ghPath` | 从 `PATH` 或 Homebrew 目录查找 | 发布到 GitHub Pages 使用的 GitHub CLI(`gh`)可执行文件。 |
|
|
159
|
+
| `githubRepo` | `dsh-games` | 发布到 GitHub Pages 时在你账号下使用的公开仓库名。 |
|
|
150
160
|
|
|
151
161
|
## 游戏项目格式
|
|
152
162
|
|