Grilled Cheese

ExploreLog inSign up
Terms of UsePrivacy PolicyCommunity StandardsHelpGet the app

Grilled Cheese is a product of Village Compute

Version devBuilt at: 2026-12-03 22:42:33 EST

PhotosVideosAllPeople
LatestRanked
TypeScript test code in a dark editor tab named support-agent.test.ts. A ScriptedLlm class extends BaseLlm; its generateContentAsync method, highlighted, yields the next scripted reply, and connect throws "not used". Below, a test "support agent refunds the order the user names" builds a ScriptedLlm with two replies: a refund_order function call with orderId A-1042, then the text "Refunded.". It runs a support agent with a FakeOrdersApi through an InMemoryRunner using runEphemeral with the message "Please refund A-1042", and asserts, highlighted, that orders.refunded equals ['A-1042'].
Photo, no description
Photo, no description
TypeScript code in a dark editor tab named ops.agent.ts. An onlyLateOrders function of type SingleAfterToolCallback gets the tool and its response. If the tool is not list_orders, it returns undefined, with the comment "other tools: the model sees the full result". Otherwise it reads response.orders and returns an object with only late: the ids of the orders whose status is 'late', highlighted. Below, an LlmAgent named ops with model gemini-4-hydrogen and tools [listOrders] sets afterToolCallback: onlyLateOrders, also highlighted.
Akira UI's App Sidebar shell: a preview with a logo, grouped navigation and the user at the bottom, next to a Customers page.
Dark dev-style card titled "Day one, or wait for your tooling?" It shows the TypeScript 7.1 iteration plan from microsoft/TypeScript issue 63703: beta planned Oct 6 and published Oct 20, RC planned Nov 10, stable planned Nov 24, 2026. It lists 7.1 items (es2026 target and lib, Promise.allKeyed, source phase imports, stable API work) and notes that Storybook's React Vite package pinned its docgen plugin to 0.7 until TypeScript 7.1 is stable. A "My take" box says plugins and peer ranges, not the compiler, usually block upgrades.
TypeScript code in a dark editor tab named providers.ts. A comment says: same questions, three providers, only the URL, key and body differ. A post helper sends a JSON POST with fetch, throws on an error status, and returns the answers. Three exports call it. jev posts to https://api.typesafe.ai/v1/systemone with a Bearer TYPESAFE_API_KEY and the body model 'jev-latest', state, questions. clef posts to the Cloudflare accounts URL ending in /ai/run/@cf/cloudflare/clef with a Bearer CLOUDFLARE_API_TOKEN and the body model 'clef', state, questions. geminiDecisions posts to https://generativelanguage.googleapis.com/v1beta/decisions with an x-goog-api-key header and the body model 'gemini-decision-1', input, questions. The three body lines are highlighted.
TypeScript code in a dark editor tab named providers.ts. A comment says: same questions, three providers, only the URL, key and body differ. A post helper sends a JSON POST with fetch, throws on an error status, and returns the answers. Three exports call it. jev posts to https://api.typesafe.ai/v1/systemone with a Bearer TYPESAFE_API_KEY and the body model 'jev-latest', state, questions. clef posts to the Cloudflare accounts URL ending in /ai/run/@cf/cloudflare/clef with a Bearer CLOUDFLARE_API_TOKEN and the body model 'clef', state, questions. geminiDecisions posts to https://generativelanguage.googleapis.com/v1beta/decisions with an x-goog-api-key header and the body model 'gemini-decision-1', input, questions. The three body lines are highlighted.
Photo, no description
Photo, no description
Photo, no description
Photo, no description
0x2E/fusion - Fusion is a lightweight, self-hosted RSS reader designed for speed, simplicity, and privacy. Built with TypeScript, it provides a modern, efficient solution for aggregating and reading RSS and Atom feeds without... #OpenSource #TypeScript 🔗
TypeScript code in a dark editor tab named feed.ts. A Feed component lists posts with @for, each with a Like button that calls likes$.next({ id: post.id, liked: !post.liked }). likes$ is a Subject. In the constructor, likes$ is piped through groupBy((like) => like.id), then mergeMap((post$) => post$.pipe(switchMap((like) => this.api.setLiked(like)))), all three lines highlighted, under the comment "liking post 2 no longer cancels the request for post 1". It ends with takeUntilDestroyed() and subscribe().
Bar chart titled "Vite+ 1.6 → 1.7: type-aware lint + type check on tsrs". My own measurements on a Linux box (8 vCPU, Node 24.22.1), median of 10 runs. Grey bars are vite-plus 1.6.0 with oxlint-tsgolint 7.0.2006, green bars are 1.7.0 with tsrs 7.1.0-beta.tsrs2. Vue 3 + TS test app with about 690 files: vp lint with type check 0.48 to 0.36 s (-25%), full vp check 0.86 to 0.73 s (-14%), type checker peak memory 186 to 110 MiB (-41%). Small 28-file version of the same app: vp lint with type check 0.39 to 0.32 s (-17%), full vp check 0.77 to 0.72 s (-7%), type checker peak memory 125 to 89 MiB (-29%). Footnote: same source, both projects alias vite to @voidzero-dev/vite-plus-core, typeAware and typeCheck on; memory is the peak RSS of the type checker process; 1.7 also bumps Oxlint 1.93 to 1.94.
TypeScript code: import { oneOfValues } from 'is-kit'; type Role = 'admin' | 'member'. A readonly string[] roles array and isRole = oneOfValues('admin', 'member'). Inside if (roles.includes(value)), useRole(value) errors with "Type 'string' is not assignable to type 'Role'" and a shocked cat emoji. Inside if (isRole(value)), useRole(value) works, marked with a green check.
TypeScript code: import { oneOfValues } from 'is-kit'; type Role = 'admin' | 'member'. A readonly string[] roles array and isRole = oneOfValues('admin', 'member'). Inside if (roles.includes(value)), useRole(value) errors with "Type 'string' is not assignable to type 'Role'" and a shocked cat emoji. Inside if (isRole(value)), useRole(value) works, marked with a green check.
Akira UI gallery: Components section, the shadcn/ui set rebuilt on the token system, with Accordion and Alert demos.
Photo, no description
Photo, no description
Load more