@lincoln504/pi-research 1.0.3 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/cli.mjs +256 -51
- package/dist/prompts/researcher.md +1 -1
- package/docs/CONFIGURATION.md +2 -2
- package/docs/KNOWLEDGE-STORE.md +5 -3
- package/package.json +1 -1
- package/skills/pi-research/SKILL.md +1 -1
- package/skills/pi-research/references/configuration.md +2 -2
- package/src/cli.ts +78 -31
- package/src/core/llm/model-registry-factory.ts +17 -6
- package/src/knowledge/store.ts +17 -7
- package/src/orchestration/deep-research-orchestrator.ts +38 -12
- package/src/orchestration/headless-observer.ts +45 -0
- package/src/orchestration/quick-research-orchestrator.ts +5 -4
- package/src/orchestration/research-orchestration-service.ts +3 -2
- package/src/orchestration/research-synthesis-service.ts +11 -3
- package/src/orchestration/researcher-executor.ts +1 -1
- package/src/orchestration/session-state.ts +33 -1
- package/src/prompts/researcher.md +1 -1
- package/src/sdk.ts +20 -1
- package/src/security/cisa-kev.ts +3 -0
- package/src/security/github-advisories.ts +5 -0
- package/src/security/nvd-client.ts +3 -0
- package/src/security/osv-client.ts +3 -0
- package/src/tools/youtube-transcript.ts +6 -2
- package/src/utils/shared-links.ts +26 -0
- package/src/web-research/scraper-utils.ts +10 -3
- package/src/web-research/web-scraper.ts +95 -4
- package/src/youtube/index.ts +7 -3
- package/src/youtube/transcript-client.ts +2 -0
package/README.md
CHANGED
|
@@ -63,7 +63,7 @@ pi install npm:@lincoln504/pi-research
|
|
|
63
63
|
|
|
64
64
|
See [Agent skill](docs/AGENT-SKILL.md) or [SDK](docs/SDK.md) for standalone (no pi extension) installation.
|
|
65
65
|
|
|
66
|
-
The pi extension works out of the box — it runs on your pi session's model and pi's own configuration. Standalone use (agent skill / CLI
|
|
66
|
+
The pi extension works out of the box — it runs on your pi session's model and pi's own configuration. Standalone use (agent skill / CLI) requires a configured model: set `PI_RESEARCH_MODEL` (e.g. `openai/gpt-4o`) as an environment variable or in `~/.pi/research/config.env` (the CLI also accepts a per-run `--model`), plus `PI_RESEARCH_API_KEY` if you don't use pi; the SDK takes a `model` option. See [Configuration](docs/CONFIGURATION.md).
|
|
67
67
|
|
|
68
68
|
The first install pulls the stealth browser engine, which takes a few minutes.
|
|
69
69
|
|