From 9d85418293929c2096bfc4ffbd67edaf114b6c74 Mon Sep 17 00:00:00 2001 From: Chris Wanstrath <2+defunkt@users.noreply.github.com> Date: Tue, 7 Oct 2025 10:50:01 -0700 Subject: [PATCH] claude info --- CLAUDE.md | 396 +++++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 302 insertions(+), 94 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index b8100b7..6f45840 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -1,111 +1,319 @@ --- -description: Use Bun instead of Node.js, npm, pnpm, or vite. +description: NOSE Pluto - A Commodore 64-inspired web terminal with Bun-based shell globs: "*.ts, *.tsx, *.html, *.css, *.js, *.jsx, package.json" -alwaysApply: false +alwaysApply: true --- -Default to using Bun instead of Node.js. +# NOSE Pluto -- Use `bun ` instead of `node ` or `ts-node ` -- Use `bun test` instead of `jest` or `vitest` -- Use `bun build ` instead of `webpack` or `esbuild` -- Use `bun install` instead of `npm install` or `yarn install` or `pnpm install` -- Use `bun run - - -``` - -With the following `frontend.tsx`: - -```tsx#frontend.tsx -import React from "react"; - -// import .css files directly and it works -import './index.css'; - -import { createRoot } from "react-dom/client"; - -const root = createRoot(document.body); - -export default function Frontend() { - return

Hello, world!

; -} - -root.render(); -``` - -Then, run index.ts - -```sh -bun --hot ./index.ts -``` - -For more information, read the Bun API docs in `node_modules/bun-types/docs/**.md`. +- Virtual screen size is fixed at 960×540 (16:9) in "cinema" mode and scales to fit the display +- Virtual screen size is fixed at 960x100%vh in "tall" mode and scales to fit the display +- Font: C64 Pro Mono (see `public/vendor/`) +- Commands are hot-reloaded when files change +- WebSocket connections are managed per-session (1 tab = 1 session) +- Session state persists across reconnects +- The `help` command extracts documentation from `//` comments in commands