Skip to content

📦 Packages ​

@pstdio/opfs-utils ​

OPFS helpers for modern browsers — Advanced file system operations including listing, grep search, safe file reading, and patch utilities.

Key features: ls(), grep(), processSingleFileContent(), patch(), formatTree()


@pstdio/opfs-sync ​

Browser-cloud synchronization — Two-way sync engine between OPFS and remote providers with conflict resolution.

Includes: Core OpfsSync class, SupabaseRemote adapter, change detection


@pstdio/prompt-utils ​

LLM workflow utilities — Optimized tools for prompt engineering and JSON stream processing.

Features: prompt(), parseJSONStream(), getSchema(), safeStringify(), UUID generation


@pstdio/tiny-ai-tasks ​

AI task building blocks — Streaming LLM tasks with tool calls, tiny agent loop, history truncation/summarization, and scratchpad utilities.

Includes: createLLMTask, createAgent, Tool, truncateToBudget, createSummarizer


@pstdio/tiny-tasks ​

Composable workflows — Interrupt-friendly async generators you can pause, persist, and resume.

Includes: task, createRuntime, MemorySaver


describe-context ​

Code context generation — Transform folder structures into LLM-friendly Markdown documentation.

Tools: Library API generateContext(), CLI tool, selective file content inclusion