Repository navigation
What's new since v0.1.4
The ELEC-16 writes programs from words: ask for "a one-key game", and an AI writes it in TypeScript for the pocket computer and fixes what does not compile.
- WRITE in CODE (the pocket models). A line at the foot of CODE: type what you want, pick a provider and model from Settings → AI, and press SEND.
- The AI writes e16c, the ELEC-16's TypeScript subset, into the open
.TSfile as it answers. CODE compiles it, and gives e16c's errors back to the AI to fix, at most twice. - The program goes onto the card only once it builds; RUN ▸ stays yours to press.
- Type a change in the same line ("score at the top right") to have the AI change the program. Code you wrote yourself is replaced only after REPLACE; UNDO puts it back.
- It uses the AI settings' providers and keys, not LINK's switch. It sends your words, the open program and e16c's errors, nothing else. Tried on Claude and Gemini.
- The AI writes e16c, the ELEC-16's TypeScript subset, into the open
- NEW in CODE starts a new program in the first free
NEWn.TS. - Fixes.
- A model picked from a model list in the ELEC-16 pane now sticks (the pane took the keyboard back and shut the list first).
- RUN ▸ and FILES' LOAD ▸ stop whatever runs with BRK first: a program waiting for a key no longer takes what they type.
- CODE no longer loses what is typed while it writes the card.
- The provider list of WRITE and the CODE file list were white on dark themes.
- The AI chat's model list no longer says QUERYING for good when it cannot be asked for, and an error a server sends as a list (Gemini) is read for its words.
- STOP in the AI chat, ELEC and WRITE is said in its words alone, without a yellow rule.
v0.1.4 からの変更点
ELEC-16 が言葉からプログラムを書けるようになりました。「ワンキーゲームを作って」と頼むと、AI がポケコン用の TypeScript で書き、コンパイルが通らないところは自分で直します。
- CODE の WRITE(ポケコンのモデル):CODE の下の行に作りたいものを打ち、Settings → AI のプロバイダーとモデルを選んで SEND を押します。
- AI が、開いている
.TSに ELEC-16 用の TypeScript の部分集合 e16c を書きます。CODE がそれをコンパイルし、e16c のエラーを AI に返して 2 回まで直させます。 - カードに書くのはコンパイルが通ってからで、RUN ▸ を押すのは人です。
- 同じ行に変えてほしいこと(「スコアを右上に」)を打つと、AI がプログラムを直します。自分で書いたコードは REPLACE と答えたときだけ置き換わり、UNDO で戻せます。
- 設定の AI のプロバイダーとキーを使い、LINK のスイッチとは関係ありません。送るのは言葉、開いているプログラム、e16c のエラーだけです。Claude と Gemini で確かめました。
- AI が、開いている
- CODE の NEW:空いている最初の
NEWn.TSで新しいプログラムを始めます。 - 修正:
- ELEC-16 ペインのモデル一覧から選んだモデルが残るようにしました(ペインがキーボードを取り戻して、先に一覧を閉じていました)。
- RUN ▸ と FILES の LOAD ▸ は、打つ前に必ず BRK で止めます。キーを待つプログラムが、打った文字を受けなくなりました。
- CODE がカードに書く間に打った文字が失われなくなりました。
- WRITE のプロバイダー一覧と CODE のファイル一覧が、暗いテーマで白くなっていたのを直しました。
- AI チャットのモデル一覧が、聞けなかったときに QUERYING のまま固まらなくなりました。配列で返るエラー(Gemini)の言葉も読めるようにしました。
- AI チャット、ELEC、WRITE の STOP は、黄色の線を引かずに文字だけで示します。
Installing: the builds are unsigned
Windows and macOS warn before the first run because the installers are not code-signed. The warning means the publisher is unknown to them, not that anything was found in the file. Each file's SHA-256 is listed beside it below. Full steps: README → If a warning appears.
- Windows: if the browser holds the download back, choose Keep (Edge: ⋯ → Keep → Show more → Keep anyway). SmartScreen then shows "Windows protected your PC": click More info → Run anyway. The installer is per-user and asks for no administrator rights.
- macOS 15+: open the app once and click Done. Then go to System Settings → Privacy & Security → Open Anyway. On macOS 14 or earlier, right-click the app and choose Open. If macOS says the app "is damaged", run
xattr -dr com.apple.quarantine /Applications/elecdex.app. - Linux: no warning. On Ubuntu 24.04+ prefer the .deb, which installs the AppArmor profile Electron's sandbox needs; the AppImage needs
chmod +xandlibfuse2(libfuse2t64). Never run it with--no-sandbox.
macOS and Linux builds pass the end-to-end tests on GitHub's runners but have had no hands-on testing yet.
インストール:ビルドは未署名です
インストーラーにコード署名がないため、Windows と macOS は初回の起動前に警告を出します。警告は発行元が分からないという意味で、ファイルに何かが見つかったわけではありません。各ファイルの SHA-256 は下の一覧に表示されています。詳しい手順は README → If a warning appears(英語)にあります。
- Windows:ブラウザーがダウンロードを止めたら「保存」を選びます(Edge は「⋯ → 保存 → 詳細表示 → 保持する」)。SmartScreen の「Windows によって PC が保護されました」が出たら「詳細情報 → 実行」を押します。インストールはユーザー単位で、管理者権限は求めません。
- macOS 15 以降:アプリを一度開いて「完了」を押し、「システム設定 → プライバシーとセキュリティ → このまま開く」を押します。macOS 14 以前は、アプリを右クリックして「開く」を選びます。「壊れているため開けません」と出たら
xattr -dr com.apple.quarantine /Applications/elecdex.appを実行します。 - Linux:警告は出ません。Ubuntu 24.04 以降では .deb を使ってください(Electron のサンドボックスに必要な AppArmor のプロファイルも入ります)。AppImage は
chmod +xとlibfuse2(libfuse2t64)が必要です。--no-sandboxでは起動しないでください。
macOS 版と Linux 版は GitHub のランナーで e2e テストを通していますが、実機での確認はまだです。
Full Changelog: v0.1.4...v0.1.5