iterate.com / tasks

git clone https://git.iterate.com/repos/tasks

Import stdlib by its name, @repos/stdlib

package.json names this repo `@repos/tasks` and lists stdlib as the folder next door, which an install links. The kernel's loader reads the same name as the file of `/repos/stdlib`.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

Misha Kaletsky, 2026-11-25 17:42 UTC · d60f9cce050bee25b4040a0871f04d3944096b82 · parent 5f0655d

2 files changed

M app.ts
@@ -4,8 +4,8 @@
 // public/tasks-model.js how a file is read as a card. This file only serves the page: the board
 // reads and commits through the member's own itx, so there is no backend class and no state here.
 import { type AppDescription, serveFiles, type IterateConfigEntrypoint } from "iterate/sdk";
-import { openFile } from "../stdlib/open-files.ts";
-import theme from "../stdlib/theme.css";
+import { openFile } from "@repos/stdlib/open-files.ts";
+import theme from "@repos/stdlib/theme.css";
 import index from "./index.html";
 import files from "./public/";
 
@@ -15,7 +15,7 @@
 /** `repo`: THE REPO THE BOARD POINTS AT, a path of this mind (`/repos/<name>`). The page shows
  *  the markdown files under `todo/` of it; `?repo=<name>` shows any other repo for one visit.
  *  `icon`: the answer for the mind's icon, which every app serves as its own
- *  (../stdlib/open-files.ts). */
+ *  (open-files.ts of /repos/stdlib). */
 export function tasksApp({ repo, icon }: { repo: string; icon: () => Response }) {
   return {
     /** The app's description and icon, for anyone: worker.ts asks this before its guard. */
A package.json
@@ -0,0 +1,8 @@
+{
+  "name": "@repos/tasks",
+  "private": true,
+  "type": "module",
+  "dependencies": {
+    "@repos/stdlib": "../stdlib"
+  }
+}