paqad-ai 1.0.2 → 1.0.3
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/CHANGELOG.md +9 -0
- package/LICENSE +1 -1
- package/README.md +34 -1
- package/dist/cli/index.js +1279 -49
- package/dist/cli/index.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +61 -17
- package/runtime/base/skills/acceptance-criteria-gen/scripts/extract-ac-ids.sh +0 -0
- package/runtime/base/skills/acceptance-criteria-gen/scripts/lint-ac-output.sh +0 -0
- package/runtime/base/skills/acceptance-criteria-gen/scripts/next-ac-id.sh +0 -0
- package/runtime/base/skills/adversarial-review/scripts/digest-evidence.sh +0 -0
- package/runtime/base/skills/adversarial-review/scripts/lint-findings.sh +0 -0
- package/runtime/base/skills/api-doc-maintainer/scripts/find-api-docs.sh +0 -0
- package/runtime/base/skills/api-doc-maintainer/scripts/lint-output.sh +0 -0
- package/runtime/base/skills/canonical-doc-sync/scripts/lint-output.sh +0 -0
- package/runtime/base/skills/canonical-doc-sync/scripts/list-canonical-docs.sh +0 -0
- package/runtime/base/skills/context-budget-planner/scripts/estimate-tokens.sh +0 -0
- package/runtime/base/skills/context-budget-planner/scripts/lint-output.sh +0 -0
- package/runtime/base/skills/cross-module-impact-scanner/scripts/find-integration-docs.sh +0 -0
- package/runtime/base/skills/cross-module-impact-scanner/scripts/lint-output.sh +8 -1
- package/runtime/base/skills/cross-module-impact-scanner/scripts/list-modules.sh +0 -0
- package/runtime/base/skills/diff-doc-sync/scripts/detect-stale-docs.sh +0 -0
- package/runtime/base/skills/diff-doc-sync/scripts/lint-output.sh +0 -0
- package/runtime/base/skills/diff-minimizer/scripts/extract-ac-ids.sh +0 -0
- package/runtime/base/skills/diff-minimizer/scripts/lint-output.sh +0 -0
- package/runtime/base/skills/documentation-sync-engine/scripts/lint-output.sh +0 -0
- package/runtime/base/skills/documentation-sync-engine/scripts/route-paths.sh +0 -0
- package/runtime/base/skills/documentation-workflow/scripts/check-stage2-prereq.sh +0 -0
- package/runtime/base/skills/documentation-workflow/scripts/lint-output.sh +0 -0
- package/runtime/base/skills/documentation-workflow/scripts/list-orphan-module-dirs.sh +0 -0
- package/runtime/base/skills/edge-case-detection/scripts/lint-output.sh +0 -0
- package/runtime/base/skills/error-catalog-maintainer/scripts/extract-error-codes.sh +0 -0
- package/runtime/base/skills/error-catalog-maintainer/scripts/find-error-catalogs.sh +0 -0
- package/runtime/base/skills/error-catalog-maintainer/scripts/lint-output.sh +0 -0
- package/runtime/base/skills/existing-doc-checker/scripts/lint-output.sh +0 -0
- package/runtime/base/skills/existing-doc-checker/scripts/scan-docs.sh +0 -0
- package/runtime/base/skills/glossary-maintainer/scripts/find-term-uses.sh +0 -0
- package/runtime/base/skills/glossary-maintainer/scripts/lint-output.sh +0 -0
- package/runtime/base/skills/integration-doc-maintainer/scripts/extract-events.sh +0 -0
- package/runtime/base/skills/integration-doc-maintainer/scripts/find-integration-docs.sh +0 -0
- package/runtime/base/skills/integration-doc-maintainer/scripts/lint-output.sh +0 -0
- package/runtime/base/skills/performance-regression-estimator/scripts/lint-output.sh +0 -0
- package/runtime/base/skills/performance-regression-estimator/scripts/scan-perf-smells.sh +0 -0
- package/runtime/base/skills/request-classifier/scripts/extract-signals.sh +0 -0
- package/runtime/base/skills/request-classifier/scripts/lint-output.sh +0 -0
- package/runtime/base/skills/requirement-enrichment/scripts/lint-output.sh +0 -0
- package/runtime/base/skills/rollback-safety-planner/scripts/lint-output.sh +0 -0
- package/runtime/base/skills/rollback-safety-planner/scripts/select-stories.sh +0 -0
- package/runtime/base/skills/scope-check/scripts/check-spec-presence.sh +0 -0
- package/runtime/base/skills/scope-check/scripts/lint-output.sh +0 -0
- package/runtime/base/skills/sequence-planner/scripts/lint-output.sh +0 -0
- package/runtime/base/skills/session-resume/scripts/lint-output.sh +0 -0
- package/runtime/base/skills/session-resume/scripts/load-resume-bundle.sh +0 -0
- package/runtime/base/skills/spec-diff/scripts/extract-ac-ids.sh +0 -0
- package/runtime/base/skills/spec-diff/scripts/lint-output.sh +0 -0
- package/runtime/base/skills/spec-quality-review/scripts/lint-output.sh +0 -0
- package/runtime/base/skills/spec-quality-review/scripts/scan-defects.sh +0 -0
- package/runtime/base/skills/story-and-solution-writer/scripts/lint-output.sh +0 -0
- package/runtime/base/skills/test-execution-feedback-loop/scripts/lint-output.sh +0 -0
- package/runtime/base/skills/test-execution-feedback-loop/scripts/load-failures.sh +0 -0
- package/runtime/base/skills/test-per-ac-planner/scripts/check-coverage.sh +0 -0
- package/runtime/base/skills/test-per-ac-planner/scripts/extract-ac-ids.sh +0 -0
- package/runtime/base/skills/test-per-ac-planner/scripts/lint-output.sh +0 -0
- package/runtime/base/skills/workflow-router/scripts/lint-output.sh +0 -0
- package/runtime/base/skills/workflow-router/scripts/route-request.sh +0 -0
- package/runtime/capabilities/coding/skills/database-design-review/scripts/lint-output.sh +0 -0
- package/runtime/capabilities/coding/skills/database-design-review/scripts/scan-migration-smells.sh +0 -0
- package/runtime/capabilities/coding/skills/index-optimization/scripts/lint-output.sh +0 -0
- package/runtime/capabilities/coding/skills/index-optimization/scripts/scan-query-shapes.sh +0 -0
- package/runtime/capabilities/coding/skills/query-pattern-analysis/scripts/lint-output.sh +0 -0
- package/runtime/capabilities/coding/skills/query-pattern-analysis/scripts/scan-query-risks.sh +0 -0
- package/runtime/capabilities/coding/skills/root-cause-analysis/scripts/lint-output.sh +0 -0
- package/runtime/capabilities/coding/skills/ui-doc-maintainer/scripts/find-ui-docs.sh +0 -0
- package/runtime/capabilities/coding/skills/ui-doc-maintainer/scripts/lint-output.sh +0 -0
- package/runtime/capabilities/coding/skills/user-flow-generation/scripts/lint-output.sh +0 -0
- package/runtime/capabilities/coding/skills/ux-design-research/scripts/lint-output.sh +0 -0
- package/runtime/capabilities/coding/skills/ux-heuristic-evaluation/scripts/lint-output.sh +0 -0
- package/runtime/capabilities/coding/skills/ux-state-machine/scripts/lint-output.sh +0 -0
- package/runtime/capabilities/content/skills/content-planner/scripts/lint-brief.sh +0 -0
- package/runtime/capabilities/content/skills/content-reviewer/scripts/lint-output.sh +0 -0
- package/runtime/capabilities/content/skills/content-reviewer/scripts/scan-prose.sh +0 -0
- package/runtime/capabilities/content/skills/content-writer/scripts/check-coverage.sh +0 -0
- package/runtime/capabilities/content/skills/content-writer/scripts/word-count.sh +0 -0
- package/runtime/capabilities/content/skills/script-writer/scripts/estimate-runtime.sh +0 -0
- package/runtime/capabilities/content/skills/seo-optimizer/scripts/audit-seo.sh +0 -0
- package/runtime/capabilities/content/skills/seo-optimizer/scripts/lint-output.sh +0 -0
- package/runtime/capabilities/content/skills/style-enforcer/scripts/check-style.sh +0 -0
- package/runtime/capabilities/security/skills/auth-mechanism-review/scripts/lint-findings.sh +0 -0
- package/runtime/capabilities/security/skills/auth-mechanism-review/scripts/scan-auth-smells.sh +0 -0
- package/runtime/capabilities/security/skills/business-logic-abuse-review/scripts/find-workflow-docs.sh +0 -0
- package/runtime/capabilities/security/skills/business-logic-abuse-review/scripts/lint-findings.sh +0 -0
- package/runtime/capabilities/security/skills/cryptographic-review/scripts/lint-findings.sh +0 -0
- package/runtime/capabilities/security/skills/cryptographic-review/scripts/scan-crypto-smells.sh +0 -0
- package/runtime/capabilities/security/skills/dependency-advisory-triage/scripts/lint-output.sh +0 -0
- package/runtime/capabilities/security/skills/dependency-advisory-triage/scripts/normalize-advisories.sh +0 -0
- package/runtime/capabilities/security/skills/finding-normalizer/scripts/validate-findings.sh +0 -0
- package/runtime/capabilities/security/skills/input-validation-review/scripts/lint-findings.sh +0 -0
- package/runtime/capabilities/security/skills/input-validation-review/scripts/scan-injection-smells.sh +0 -0
- package/runtime/capabilities/security/skills/logging-monitoring-review/scripts/lint-findings.sh +0 -0
- package/runtime/capabilities/security/skills/logging-monitoring-review/scripts/scan-log-smells.sh +0 -0
- package/runtime/capabilities/security/skills/permission-boundary-review/scripts/lint-findings.sh +0 -0
- package/runtime/capabilities/security/skills/permission-boundary-review/scripts/scan-authz-smells.sh +0 -0
- package/runtime/capabilities/security/skills/rate-limiting-review/scripts/lint-findings.sh +0 -0
- package/runtime/capabilities/security/skills/rate-limiting-review/scripts/scan-rate-limit.sh +0 -0
- package/runtime/capabilities/security/skills/retest-verification/scripts/lint-output.sh +0 -0
- package/runtime/capabilities/security/skills/retest-verification/scripts/load-source-findings.sh +0 -0
- package/runtime/capabilities/security/skills/runtime-surface-probing/scripts/lint-findings.sh +0 -0
- package/runtime/capabilities/security/skills/runtime-surface-probing/scripts/probe-surfaces.sh +0 -0
- package/runtime/capabilities/security/skills/stride-threat-model/scripts/list-modules.sh +0 -0
- package/runtime/capabilities/security/skills/stride-threat-model/scripts/validate-threats.sh +0 -0
- package/runtime/graph-ui/assets/index-4b3KOlpT.js +361 -0
- package/runtime/graph-ui/assets/index-fx4nTJpK.css +1 -0
- package/runtime/graph-ui/assets/layout.worker-B_9N-hQJ.js +1 -0
- package/runtime/graph-ui/index.html +13 -0
- package/runtime/hooks/block-destructive.sh +0 -0
- package/runtime/hooks/context-budget-check.sh +0 -0
- package/runtime/hooks/context-hit-tracker.sh +0 -0
- package/runtime/hooks/conversation-summarize.sh +0 -0
- package/runtime/hooks/module-health-sync.sh +0 -0
- package/runtime/hooks/post-destructive-approved.sh +0 -0
- package/runtime/hooks/pre-commit-check.sh +0 -0
- package/runtime/hooks/pre-compact-preserve.mjs +0 -0
- package/runtime/hooks/pre-compact-preserve.sh +0 -0
- package/runtime/hooks/pre-migrate-check.sh +0 -0
- package/runtime/hooks/pre-write-check-spec.sh +0 -0
- package/runtime/hooks/reset-doc-progress.sh +0 -0
- package/runtime/hooks/silent-update.sh +0 -0
- package/runtime/hooks/skill-cache-check.sh +0 -0
- package/runtime/hooks/skill-index-gen.mjs +0 -0
- package/runtime/hooks/stale-doc-detector.sh +0 -0
- package/runtime/hooks/track-file-changes.sh +0 -0
- package/scripts/deprecate-old-versions.sh +0 -55
- package/scripts/run-vitest-with-summary.mjs +0 -78
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# paqad-ai
|
|
2
|
+
|
|
3
|
+
## 1.0.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#15](https://github.com/Eliyce/paqad-ai/pull/15) [`99b1e5b`](https://github.com/Eliyce/paqad-ai/commit/99b1e5b18f42634006f88e16c7eb2fc7091d3f43) Thanks [@HLasani](https://github.com/HLasani)! - First automated release via Changesets + GitHub Actions. No runtime change — this release exists only to validate the new publish pipeline (CI gating, version PR, npm provenance).
|
|
8
|
+
|
|
9
|
+
All notable changes to this project will be documented in this file. See [Changesets](https://github.com/changesets/changesets) for commit guidelines.
|
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -9,7 +9,14 @@
|
|
|
9
9
|
|
|
10
10
|
**AI agents that think before they type.** paqad-ai reads your codebase, detects your stack, builds optional hybrid RAG context, and generates the docs, rules, MCP configs, security checks, and workflows your coding agents need to operate with real project context.
|
|
11
11
|
|
|
12
|
-
[](https://npmjs.com/package/paqad-ai)
|
|
12
|
+
[](https://www.npmjs.com/package/paqad-ai)
|
|
13
|
+
[](https://www.npmjs.com/package/paqad-ai)
|
|
14
|
+
[](https://github.com/Eliyce/paqad-ai/actions/workflows/ci.yml)
|
|
15
|
+
[](./LICENSE)
|
|
16
|
+
[](https://nodejs.org)
|
|
17
|
+
[](./CONTRIBUTING.md)
|
|
18
|
+
[](https://paqad.ai)
|
|
19
|
+
[](https://paqad.ai)
|
|
13
20
|
|
|
14
21
|
---
|
|
15
22
|
|
|
@@ -62,6 +69,7 @@ npx paqad-ai onboard
|
|
|
62
69
|
| **Stack detection** | Lockfile-driven framework, trait, and archetype detection across 9 ecosystems |
|
|
63
70
|
| **Documentation** | Stack, architecture, design-system, registry, and module documentation flows |
|
|
64
71
|
| **Hybrid RAG** | Optional vector indexing, hybrid retrieval, reranking, evals, and benchmarks |
|
|
72
|
+
| **Project graph** | One-command WebGL map of modules, files, chunks, symbols, imports, and similarities |
|
|
65
73
|
| **Security** | OWASP-mapped pentest workflow with incremental retests |
|
|
66
74
|
| **Spec compliance** | Obligation extraction, test evidence checks, and failing skeleton generation |
|
|
67
75
|
| **Built-in agent roles** | 20 internal specialist roles for routing, review, design, verification, and security |
|
|
@@ -480,6 +488,30 @@ paqad-ai rag eval --model-graded # Also run the optional model-graded
|
|
|
480
488
|
|
|
481
489
|
Benchmark comparisons support `lexical-vs-rag`, `rag-vs-candidate`, and `feature-off-vs-on`.
|
|
482
490
|
|
|
491
|
+
### `paqad-ai graph`
|
|
492
|
+
|
|
493
|
+
Open an interactive WebGL map of your project in the browser. One command, no extra install — the server, frontend, and Force Atlas 2 layout worker all ship inside `paqad-ai`.
|
|
494
|
+
|
|
495
|
+
```bash
|
|
496
|
+
paqad-ai graph # Opens http://127.0.0.1:5371 in your browser
|
|
497
|
+
paqad-ai graph --no-open # Print the URL and skip auto-open
|
|
498
|
+
paqad-ai graph --port 8080 # Custom port (auto-increments if busy)
|
|
499
|
+
paqad-ai graph --host 0.0.0.0 # Share on a trusted network (loopback by default)
|
|
500
|
+
paqad-ai graph --threshold 0.85 # Initial similarity threshold
|
|
501
|
+
paqad-ai graph --no-watch # Disable live reload on .paqad/ changes
|
|
502
|
+
```
|
|
503
|
+
|
|
504
|
+
**What you get:**
|
|
505
|
+
|
|
506
|
+
- Modules, files, chunks, symbols, and the full import graph rendered together as one explorable map
|
|
507
|
+
- Click-through detail panel: module file lists, file `imports_in` / `imports_out`, chunk content with show-more, symbol metadata
|
|
508
|
+
- Search across modules, files, symbols, and file basenames — `/` to focus, `n` / `N` to cycle matches; the camera pans to each hit
|
|
509
|
+
- Similarity slider — adjust the cosine threshold and watch the orange semantic-neighbour edges redraw on demand. Works with `local`, `openai`, and `voyageai` embeddings.
|
|
510
|
+
- Four intelligence overlays — health, defect density (log-scaled), risk floor, complexity correction — with a persistent legend
|
|
511
|
+
- Live reload — change anything under `.paqad/` and the graph updates in place while preserving viewport and selection
|
|
512
|
+
|
|
513
|
+
**Pre-conditions:** the current directory must contain a `.paqad/` from a previous `paqad-ai onboard`. RAG is optional — without it the graph still renders fully, with similarity and chunk nodes disabled behind a clear banner.
|
|
514
|
+
|
|
483
515
|
### Security workflows
|
|
484
516
|
|
|
485
517
|
Security and retest flows are part of the framework runtime and agent workflows in this package version. They are not exposed as standalone top-level CLI commands in `paqad-ai` today.
|
|
@@ -574,6 +606,7 @@ Entry files stay thin. Knowledge lives in shared instruction bundles that extern
|
|
|
574
606
|
| **Refresh** | `paqad-ai refresh` | Re-detect stack, update derived docs |
|
|
575
607
|
| **Update** | `paqad-ai update` | Regenerate framework files after version bump |
|
|
576
608
|
| **RAG** | `paqad-ai rag ...` | Build, inspect, clear, and benchmark hybrid retrieval |
|
|
609
|
+
| **Project graph** | `paqad-ai graph` | Interactive browser view of modules, files, chunks, deps |
|
|
577
610
|
| **Documentation** | Ask agent: _"create documentation"_ | Stack → architecture → design system → modules |
|
|
578
611
|
| **Pentest** | Ask agent: _"run pentest"_ | 5-step scan → findings → report |
|
|
579
612
|
| **Retest** | Ask agent: _"retest pentest"_ | Replay findings → fixed / still-open / needs-verification |
|