Getting Started
Learning retrieval and context bundling
Installation
# From monorepo root npm install # or bun install
Basic Learning Retrieval
# Search learnings disclose learnings --query "authentication" # Filter by domains disclose learnings --query "bun performance" --domains bun,typescript # Filter by confidence disclose learnings --min-confidence 0.7 --limit 10
Session Context Generation
# Generate session context disclose session-context --token-budget 800 --domains typescript,react # Custom token budget disclose session-context --token-budget 2000 --min-confidence 0.8
Context Bundling
# Create context pack disclose pack --query "database schema" --scope history --token-budget 1500 # Include recent history disclose pack --query "API design" --include-history --history-limit 5
Environment Variables
| Variable | Description |
|---|---|
HYPHN_HOME |
Hyph3n home directory (~/.hyphn) |
HYPHN_CONTEXT_ROOT |
Context documents root |
HYPHN_HISTORY_ROOT |
History documents root |
HYPHN_SKILLS_ROOT |
Skills directory root |
Configuration
# ~/.hyphn/disclose.yaml roots: context: /path/to/context history: /path/to/history skills: /path/to/skills defaults: scope: all token_budget: 2000 max_files: 6 catalog: validate: true silent: true