@eldrex/core
Advanced tools
+89
-3
| { | ||
| "name": "@eldrex/core", | ||
| "version": "1.6.1", | ||
| "version": "1.7.0", | ||
| "publishConfig": { | ||
@@ -29,4 +29,4 @@ "access": "public", | ||
| "chalk": "^5.3.0", | ||
| "@eldrex/personas": "1.6.1", | ||
| "@eldrex/plugin-sdk": "1.6.1" | ||
| "@eldrex/plugin-sdk": "1.6.1", | ||
| "@eldrex/personas": "1.6.1" | ||
| }, | ||
@@ -54,2 +54,88 @@ "devDependencies": { | ||
| "license": "MIT", | ||
| "devdiff": { | ||
| "packageType": "engine", | ||
| "capabilities": [ | ||
| "diff-parsing", | ||
| "ai-routing", | ||
| "changelog-generation", | ||
| "security-scanning", | ||
| "compliance-checking", | ||
| "code-explanation", | ||
| "diagram-generation", | ||
| "project-context", | ||
| "codebase-indexing", | ||
| "q-a-system" | ||
| ], | ||
| "exports": { | ||
| "main": "./src/index.ts", | ||
| "classes": [ | ||
| "DevDiffEngine", | ||
| "DiffParser", | ||
| "AIRouter", | ||
| "ChangelogGenerator", | ||
| "SecurityScanner", | ||
| "ComplianceChecker", | ||
| "CodeExplainer", | ||
| "MermaidEngineV2", | ||
| "ProjectContextScanner", | ||
| "ConversationalQA", | ||
| "ProgressiveExplainer", | ||
| "DependencyMapper", | ||
| "OnboardingGenerator", | ||
| "PackageDiscovery" | ||
| ], | ||
| "functions": [ | ||
| "generateChangelog", | ||
| "scanForSecrets", | ||
| "applyCompliance", | ||
| "explainCode", | ||
| "generateDiagram", | ||
| "loadContext", | ||
| "askQuestion" | ||
| ], | ||
| "types": [ | ||
| "ParsedDiff", | ||
| "SecurityAuditResult", | ||
| "ComplianceReport", | ||
| "CodeExplanation", | ||
| "MermaidResult", | ||
| "ProjectContext", | ||
| "ProgressiveExplanation", | ||
| "DependencyDiagram", | ||
| "OnboardingGuide" | ||
| ] | ||
| }, | ||
| "dependencies": { | ||
| "required": [ | ||
| "diff", | ||
| "zod", | ||
| "cosmiconfig" | ||
| ], | ||
| "optional": [ | ||
| "ollama", | ||
| "openai", | ||
| "@anthropic-ai/sdk" | ||
| ] | ||
| }, | ||
| "agentContext": { | ||
| "purpose": "Core engine that powers all DevDiff functionality. Provides diff parsing, AI routing, changelog generation, security scanning, compliance checking, progressive code explanation, visual dependency mapping, and onboarding guide generation.", | ||
| "whenToUse": "When you need to analyze git changes, generate changelogs, scan for security issues, check compliance, explain code at progressive levels, map file dependencies, or generate codebase onboarding guides.", | ||
| "keyConcepts": [ | ||
| "Works with git repositories", | ||
| "Uses AI providers (local or cloud)", | ||
| "Privacy-first by default", | ||
| "All processing is local" | ||
| ], | ||
| "commonPatterns": [ | ||
| "Initialize engine → analyze changes → get changelog", | ||
| "Initialize engine → scan security → get report", | ||
| "Initialize engine → explain code → get progressive explanation" | ||
| ], | ||
| "quickStart": { | ||
| "install": "npm install @eldrex/core", | ||
| "import": "import { generateChangelog, DevDiffEngine, ProgressiveExplainer } from '@eldrex/core';", | ||
| "basicUsage": "const result = await generateChangelog({ diffText: '...', dryRun: false });" | ||
| } | ||
| } | ||
| }, | ||
| "scripts": { | ||
@@ -56,0 +142,0 @@ "build": "tsup", |
+50
-0
@@ -5,2 +5,4 @@ # @eldrex/core | ||
| > **🔒 Built for Privacy** — DevDiff tracks zero telemetry, logs no data, and makes no external calls except directly to your configured AI provider. [Verify yourself →](https://devdiff.vercel.app/security/disclosure) | ||
| [](https://npmjs.com/package/@eldrex/core) | ||
@@ -14,2 +16,20 @@ [](https://socket.dev/npm/package/@eldrex/core) | ||
| --- | ||
| ## ⭐ Love DevDiff? | ||
| If DevDiff saves you time, **leave a review** — it helps other developers find us. | ||
| <p align="center"> | ||
| <a href="https://marketplace.visualstudio.com/items?itemName=eldrex.devdiff&ssr=false#review-details"> | ||
| <img src="https://img.shields.io/badge/VS%20Code-Review%20on%20Marketplace-6366f1?style=for-the-badge&logo=visualstudiocode" alt="Review on VS Code Marketplace"> | ||
| </a> | ||
| | ||
| <a href="https://open-vsx.org/extension/eldrex/devdiff/reviews"> | ||
| <img src="https://img.shields.io/badge/Open%20VSX-Review%20Extension-6366f1?style=for-the-badge" alt="Review on Open VSX"> | ||
| </a> | ||
| </p> | ||
| --- | ||
| ## Installation | ||
@@ -34,2 +54,10 @@ | ||
| ## Key Features (v1.7.0) | ||
| - **🧠 Unified Knowledge Architecture**: Single source of truth loading (`SKILL.md` → `.devdiff/context.md` → `autoGenerate`). | ||
| - **🛡️ Multi-Stage Hallucination Guard**: `HallucinationGuard` verifying output against diffs, naming conventions, anti-pattern rules, and AI hedging language. | ||
| - **🗂️ Memory Control & Timeline Manager**: Browser-history-like control over codebase memory (`MemoryManager`), date range deletions, dry-run previews, active range scoping, and storage deduplication. | ||
| - **📅 Time-Aware Generator**: Resolves human time expressions (`today`, `yesterday`, `this-week`, `date-range`, `since-initial`, `between-commits`) to exact git revision ranges. | ||
| - **🔒 Complete Trust & Transparency**: `NetworkGuardV2` with 100+ domain blocklist across 5 categories, `PluginAuditor`, and `DisclosureReport` (`devdiff disclose`). | ||
| ## API Reference | ||
@@ -99,4 +127,26 @@ | ||
| --- | ||
| ## 💬 Feedback & Community | ||
| <p align="center"> | ||
| <a href="https://github.com/EldrexDelosReyesBula/devdiff/discussions"> | ||
| <img src="https://img.shields.io/badge/Discussions-Ask%20%2F%20Suggest-6366f1?style=for-the-badge&logo=github" alt="GitHub Discussions"> | ||
| </a> | ||
| | ||
| <a href="https://github.com/EldrexDelosReyesBula/devdiff/issues/new?template=feature_request.md"> | ||
| <img src="https://img.shields.io/badge/Feature-Request%20a%20Feature-22c55e?style=for-the-badge&logo=github" alt="Feature Request"> | ||
| </a> | ||
| | ||
| <a href="https://github.com/EldrexDelosReyesBula/devdiff/issues/new?template=bug_report.md"> | ||
| <img src="https://img.shields.io/badge/Bug-Report%20an%20Issue-ef4444?style=for-the-badge&logo=github" alt="Report Bug"> | ||
| </a> | ||
| </p> | ||
| <p align="center"> | ||
| <sub>Enjoying DevDiff? <a href="https://marketplace.visualstudio.com/items?itemName=eldrex.devdiff&ssr=false#review-details">Leave a review</a> — it takes 30 seconds and helps more than you know.</sub> | ||
| </p> | ||
| ## License | ||
| MIT © DevDiff Contributors |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 2 instances
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
3757796
55.74%40822
51.33%149
50.51%208
21.64%48
71.43%