npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@aionis/aifs

v0.3.4

Published

Aionis File Surface: mirror governed execution memory into .aionis files for coding agents.

Downloads

1,388

Readme

@aionis/aifs

Aionis File Surface for governed execution memory.

@aionis/aifs mirrors the Runtime guide, receipt, rehydrate pointers, and snapshot metadata into a local .aionis/ directory so coding agents can read Aionis context with normal file operations.

The final Agent-facing file, .aionis/guide.md, is generated from the same SDK AgentContext path as guideAgentContext() / execution.guideAgentContextForRole(). AIFS writes the SDK top-level agent_prompt into that file; it is a file transport, not a separate context compiler.

It is intentionally not a FUSE/NFS mount. Phase 1 is a static, read-only mirror over the existing Aionis Runtime APIs.

The first file an agent should read is .aionis/AGENT_INSTRUCTIONS.md. It tells the agent which Aionis files are authoritative for the current turn, which files are blocked, and when to rehydrate compact evidence.

npx @aionis/aifs@latest init --scope my-project
npx @aionis/aifs@latest doctor --scope my-project
npx @aionis/aifs@latest refresh \
  --base-url http://127.0.0.1:3001 \
  --scope my-project \
  --query "Continue the current implementation from the accepted state."

init creates a local .aionis/README.md and .aionis/config.json. doctor checks Runtime reachability and whether the file surface is healthy. refresh writes the governed context mirror.

Execution-memory mode:

npx @aionis/aifs@latest refresh \
  --base-url http://127.0.0.1:3001 \
  --scope my-project \
  --run-id run-001 \
  --task-signature checkout-migration \
  --role worker \
  --query "Continue from the accepted route."

Output:

.aionis/
  README.md
  AGENT_INSTRUCTIONS.md
  guide.md
  current_active_path.md
  inspect_before_use.md
  do_not_use.md
  rehydrate_needed.md
  manifest.json
  receipts/latest.json
  snapshots/latest.json

Agents should read .aionis/AGENT_INSTRUCTIONS.md first, then inspect the focused files when they need a narrower surface.

For hosts that need a single instruction to paste into an agent prompt:

Before continuing, read .aionis/AGENT_INSTRUCTIONS.md and follow the Aionis file-surface order.
Use .aionis/current_active_path.md as the active route.
Treat .aionis/do_not_use.md as blocked memory.
Rehydrate pointers in .aionis/rehydrate_needed.md before exact edits.

Environment variables:

AIONIS_BASE_URL=http://127.0.0.1:3001
AIONIS_API_KEY=...
AIONIS_TENANT_ID=default
AIONIS_SCOPE=my-project

Useful options:

| Option | Purpose | |---|---| | --json | Print machine-readable JSON instead of the default human summary. | | --out <dir> | Mirror destination. Defaults to .aionis. | | --query <text> | Current agent task/query. | | --run-id <id> | Current execution run id. Enables execution guide mode when paired with --task-signature. | | --task-signature <id> | Stable task/workflow signature. | | --role <agent|planner|worker|verifier|reviewer> | Execution role for guideForRole. | | --context-mode <standard|compact_agent> | Runtime context rendering mode. Defaults to Runtime standard AgentContext. | | --budget-profile <compact|balanced|high_recall> | SDK execution prompt budget profile. Defaults to balanced. | | --prompt-format <contract|runtime_compact> | Agent prompt format. contract emits the SDK execution contract; runtime_compact emits Runtime agent_context.prompt_text. | | --max-prompt-chars <n> | Maximum generated guide.md size. | | --agent-instruction / --no-agent-instruction | Write or omit .aionis/AGENT_INSTRUCTIONS.md. Enabled by default. |

Refresh summary:

Aionis AIFS refreshed
Output: /repo/.aionis
Guide trace: guide-...
Prompt chars: 4210
Snapshot: written
Surface counts:
- use_now: 2
- inspect_before_use: 1
- do_not_use: 3
- rehydrate: 1