@nxuss/lemma 1.18.0 → 1.18.1
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/dist/cjs/mcp/cognitiveMap.d.ts +27 -0
- package/dist/cjs/mcp/cognitiveMap.d.ts.map +1 -0
- package/dist/cjs/mcp/cognitiveMap.js +47 -0
- package/dist/cjs/mcp/cognitiveMap.js.map +1 -0
- package/dist/cjs/mcp/toolTypes.d.ts +39 -0
- package/dist/cjs/mcp/toolTypes.d.ts.map +1 -0
- package/dist/cjs/mcp/toolTypes.js +8 -0
- package/dist/cjs/mcp/toolTypes.js.map +1 -0
- package/dist/cjs/mcp/tools/analysis.d.ts +11 -0
- package/dist/cjs/mcp/tools/analysis.d.ts.map +1 -0
- package/dist/cjs/mcp/tools/analysis.js +933 -0
- package/dist/cjs/mcp/tools/analysis.js.map +1 -0
- package/dist/cjs/mcp/tools/codenav.d.ts +9 -0
- package/dist/cjs/mcp/tools/codenav.d.ts.map +1 -0
- package/dist/cjs/mcp/tools/codenav.js +524 -0
- package/dist/cjs/mcp/tools/codenav.js.map +1 -0
- package/dist/cjs/mcp/tools/context-tools.d.ts +20 -0
- package/dist/cjs/mcp/tools/context-tools.d.ts.map +1 -0
- package/dist/cjs/mcp/tools/context-tools.js +534 -0
- package/dist/cjs/mcp/tools/context-tools.js.map +1 -0
- package/dist/cjs/mcp/tools/depgraph.d.ts +8 -0
- package/dist/cjs/mcp/tools/depgraph.d.ts.map +1 -0
- package/dist/cjs/mcp/tools/depgraph.js +321 -0
- package/dist/cjs/mcp/tools/depgraph.js.map +1 -0
- package/dist/cjs/mcp/tools/dev-utils.d.ts +11 -0
- package/dist/cjs/mcp/tools/dev-utils.d.ts.map +1 -0
- package/dist/cjs/mcp/tools/dev-utils.js +519 -0
- package/dist/cjs/mcp/tools/dev-utils.js.map +1 -0
- package/dist/cjs/mcp/tools/devtools.d.ts +9 -0
- package/dist/cjs/mcp/tools/devtools.d.ts.map +1 -0
- package/dist/cjs/mcp/tools/devtools.js +445 -0
- package/dist/cjs/mcp/tools/devtools.js.map +1 -0
- package/dist/cjs/mcp/tools/memory.d.ts +10 -0
- package/dist/cjs/mcp/tools/memory.d.ts.map +1 -0
- package/dist/cjs/mcp/tools/memory.js +539 -0
- package/dist/cjs/mcp/tools/memory.js.map +1 -0
- package/dist/cjs/mcp/tools/misc.d.ts +10 -0
- package/dist/cjs/mcp/tools/misc.d.ts.map +1 -0
- package/dist/cjs/mcp/tools/misc.js +423 -0
- package/dist/cjs/mcp/tools/misc.js.map +1 -0
- package/dist/cjs/mcp/tools/refactor.d.ts +8 -0
- package/dist/cjs/mcp/tools/refactor.d.ts.map +1 -0
- package/dist/cjs/mcp/tools/refactor.js +335 -0
- package/dist/cjs/mcp/tools/refactor.js.map +1 -0
- package/dist/cjs/mcp/tools/review.d.ts +10 -0
- package/dist/cjs/mcp/tools/review.d.ts.map +1 -0
- package/dist/cjs/mcp/tools/review.js +283 -0
- package/dist/cjs/mcp/tools/review.js.map +1 -0
- package/dist/cjs/mcp/tools/squeeze-cache.d.ts +14 -0
- package/dist/cjs/mcp/tools/squeeze-cache.d.ts.map +1 -0
- package/dist/cjs/mcp/tools/squeeze-cache.js +416 -0
- package/dist/cjs/mcp/tools/squeeze-cache.js.map +1 -0
- package/dist/cjs/mcp/tools/text-ops.d.ts +14 -0
- package/dist/cjs/mcp/tools/text-ops.d.ts.map +1 -0
- package/dist/cjs/mcp/tools/text-ops.js +155 -0
- package/dist/cjs/mcp/tools/text-ops.js.map +1 -0
- package/dist/cjs/mcp/tools/workspace.d.ts +10 -0
- package/dist/cjs/mcp/tools/workspace.d.ts.map +1 -0
- package/dist/cjs/mcp/tools/workspace.js +663 -0
- package/dist/cjs/mcp/tools/workspace.js.map +1 -0
- package/dist/cjs/mcp/tools.d.ts.map +1 -1
- package/dist/cjs/mcp/tools.js +626 -6388
- package/dist/cjs/mcp/tools.js.map +1 -1
- package/dist/cjs/mcp/utils.d.ts +33 -0
- package/dist/cjs/mcp/utils.d.ts.map +1 -1
- package/dist/cjs/mcp/utils.js +96 -0
- package/dist/cjs/mcp/utils.js.map +1 -1
- package/dist/cjs/mcp/workspaceShared.d.ts +19 -0
- package/dist/cjs/mcp/workspaceShared.d.ts.map +1 -0
- package/dist/cjs/mcp/workspaceShared.js +101 -0
- package/dist/cjs/mcp/workspaceShared.js.map +1 -0
- package/dist/cjs/package.json +3 -0
- package/dist/esm/api/dashboardRoutes.d.ts +3 -3
- package/dist/esm/api/dashboardRoutes.js +1 -1
- package/dist/esm/api/server.d.ts +4 -4
- package/dist/esm/api/server.js +3 -3
- package/dist/esm/autopilot/AutopilotWatcher.js +3 -3
- package/dist/esm/autopilot/Notifier.d.ts +1 -1
- package/dist/esm/cli/lemma-proxy.js +15 -15
- package/dist/esm/cli/stack.d.ts +4 -4
- package/dist/esm/cli/stack.js +5 -5
- package/dist/esm/cloud/KeyManager.d.ts +1 -1
- package/dist/esm/cloud/KeyManager.js +1 -1
- package/dist/esm/cloud/TenantCache.d.ts +1 -1
- package/dist/esm/cloud/identity/ApiKey.d.ts +1 -1
- package/dist/esm/cloud/identity/TenantResolver.d.ts +1 -1
- package/dist/esm/cloud/identity/TenantResolver.js +1 -1
- package/dist/esm/cloud/identity/authenticateV2.d.ts +3 -3
- package/dist/esm/cloud/identity/authenticateV2.js +3 -3
- package/dist/esm/cloud/identity/identityStore.d.ts +2 -2
- package/dist/esm/cloud/identity/index.d.ts +6 -6
- package/dist/esm/cloud/identity/index.js +6 -6
- package/dist/esm/cloud/index.d.ts +3 -3
- package/dist/esm/cloud/index.js +3 -3
- package/dist/esm/cloud/metering/UsageLedger.d.ts +1 -1
- package/dist/esm/cloud/metering/index.d.ts +2 -2
- package/dist/esm/cloud/metering/index.js +2 -2
- package/dist/esm/cloud/scrub/StatelessScrubber.d.ts +1 -1
- package/dist/esm/cloud/scrub/index.d.ts +1 -1
- package/dist/esm/cloud/scrub/index.js +1 -1
- package/dist/esm/cloud/server.d.ts +3 -3
- package/dist/esm/cloud/server.js +5 -5
- package/dist/esm/cloud/store/FileBrainStore.d.ts +1 -1
- package/dist/esm/cloud/store/FileBrainStore.js +1 -1
- package/dist/esm/cloud/store/PostgresBrainStore.d.ts +1 -1
- package/dist/esm/cloud/store/PostgresBrainStore.js +2 -2
- package/dist/esm/cloud/store/index.d.ts +2 -2
- package/dist/esm/cloud/store/index.js +2 -2
- package/dist/esm/cloud/v2/app.d.ts +1 -1
- package/dist/esm/cloud/v2/app.js +3 -3
- package/dist/esm/cloud/v2/routes/index.d.ts +5 -5
- package/dist/esm/cloud/v2/routes/index.js +7 -7
- package/dist/esm/cloud/v2/routes/memories.d.ts +4 -4
- package/dist/esm/cloud/v2/routes/memories.js +2 -2
- package/dist/esm/cloud/v2/routes/recall.d.ts +1 -1
- package/dist/esm/cloud/v2/routes/recall.js +1 -1
- package/dist/esm/cloud/v2/routes/scrub.d.ts +2 -2
- package/dist/esm/cloud/v2/routes/scrub.js +2 -2
- package/dist/esm/cloud/v2/routes/usage.d.ts +1 -1
- package/dist/esm/cloud/v2/routes/verify.d.ts +1 -1
- package/dist/esm/cloud/v2/routes/verify.js +1 -1
- package/dist/esm/cloud/v2/server.js +4 -4
- package/dist/esm/config/index.d.ts +1 -1
- package/dist/esm/config/index.js +1 -1
- package/dist/esm/consensus/index.d.ts +2 -2
- package/dist/esm/consensus/index.js +2 -2
- package/dist/esm/contracts/api-v2.types.d.ts +1 -1
- package/dist/esm/contracts/index.d.ts +4 -4
- package/dist/esm/contracts/index.js +4 -4
- package/dist/esm/core/AgentRegistry.d.ts +1 -1
- package/dist/esm/core/AgentRegistry.js +1 -1
- package/dist/esm/core/DashboardBroadcaster.d.ts +3 -3
- package/dist/esm/core/DashboardBroadcaster.js +2 -2
- package/dist/esm/core/DashboardWebSocketServer.d.ts +1 -1
- package/dist/esm/core/DashboardWebSocketServer.js +1 -1
- package/dist/esm/core/GhostAlchemist.js +1 -1
- package/dist/esm/core/GhostListener.js +2 -2
- package/dist/esm/core/OrchestrationEngine.d.ts +3 -3
- package/dist/esm/core/OrchestrationEngine.js +2 -2
- package/dist/esm/core/SubconsciousEngine.d.ts +1 -1
- package/dist/esm/core/SubconsciousEngine.js +2 -2
- package/dist/esm/core/WebSocketServer.d.ts +2 -2
- package/dist/esm/core/WebSocketServer.js +1 -1
- package/dist/esm/core/index.d.ts +6 -6
- package/dist/esm/core/index.js +6 -6
- package/dist/esm/core/router.d.ts +3 -3
- package/dist/esm/core/router.js +1 -1
- package/dist/esm/db/database.js +1 -1
- package/dist/esm/embed.d.ts +2 -2
- package/dist/esm/embed.js +2 -2
- package/dist/esm/examples/basic-usage.js +1 -1
- package/dist/esm/index.d.ts +14 -14
- package/dist/esm/index.js +14 -14
- package/dist/esm/infra/analyzers/DriftDetector.d.ts +1 -1
- package/dist/esm/infra/analyzers/InfraAnalyzer.d.ts +1 -1
- package/dist/esm/infra/analyzers/MonolithAnalyzer.d.ts +1 -1
- package/dist/esm/infra/analyzers/index.d.ts +3 -3
- package/dist/esm/infra/analyzers/index.js +3 -3
- package/dist/esm/infra/cli.js +2 -2
- package/dist/esm/infra/config.d.ts +1 -1
- package/dist/esm/infra/index.d.ts +5 -5
- package/dist/esm/infra/index.js +5 -5
- package/dist/esm/infra/mcp-tools.js +5 -5
- package/dist/esm/infra/providers/InfraProvider.d.ts +1 -1
- package/dist/esm/infra/providers/JenkinsProvider.d.ts +2 -2
- package/dist/esm/infra/providers/OKDProvider.d.ts +2 -2
- package/dist/esm/infra/providers/TerraformProvider.d.ts +2 -2
- package/dist/esm/infra/providers/index.d.ts +5 -5
- package/dist/esm/infra/providers/index.js +3 -3
- package/dist/esm/mcp/cognitiveMap.d.ts +27 -0
- package/dist/esm/mcp/cognitiveMap.d.ts.map +1 -0
- package/dist/esm/mcp/cognitiveMap.js +40 -0
- package/dist/esm/mcp/cognitiveMap.js.map +1 -0
- package/dist/esm/mcp/index.js +5 -5
- package/dist/esm/mcp/prompts.js +1 -1
- package/dist/esm/mcp/resources.js +2 -2
- package/dist/esm/mcp/tasks.js +1 -1
- package/dist/esm/mcp/tool-profiles.js +1 -1
- package/dist/esm/mcp/toolTypes.d.ts +39 -0
- package/dist/esm/mcp/toolTypes.d.ts.map +1 -0
- package/dist/esm/mcp/toolTypes.js +7 -0
- package/dist/esm/mcp/toolTypes.js.map +1 -0
- package/dist/esm/mcp/tools/analysis.d.ts +11 -0
- package/dist/esm/mcp/tools/analysis.d.ts.map +1 -0
- package/dist/esm/mcp/tools/analysis.js +894 -0
- package/dist/esm/mcp/tools/analysis.js.map +1 -0
- package/dist/esm/mcp/tools/codenav.d.ts +9 -0
- package/dist/esm/mcp/tools/codenav.d.ts.map +1 -0
- package/dist/esm/mcp/tools/codenav.js +485 -0
- package/dist/esm/mcp/tools/codenav.js.map +1 -0
- package/dist/esm/mcp/tools/context-tools.d.ts +20 -0
- package/dist/esm/mcp/tools/context-tools.d.ts.map +1 -0
- package/dist/esm/mcp/tools/context-tools.js +494 -0
- package/dist/esm/mcp/tools/context-tools.js.map +1 -0
- package/dist/esm/mcp/tools/depgraph.d.ts +8 -0
- package/dist/esm/mcp/tools/depgraph.d.ts.map +1 -0
- package/dist/esm/mcp/tools/depgraph.js +315 -0
- package/dist/esm/mcp/tools/depgraph.js.map +1 -0
- package/dist/esm/mcp/tools/dev-utils.d.ts +11 -0
- package/dist/esm/mcp/tools/dev-utils.d.ts.map +1 -0
- package/dist/esm/mcp/tools/dev-utils.js +516 -0
- package/dist/esm/mcp/tools/dev-utils.js.map +1 -0
- package/dist/esm/mcp/tools/devtools.d.ts +9 -0
- package/dist/esm/mcp/tools/devtools.d.ts.map +1 -0
- package/dist/esm/mcp/tools/devtools.js +406 -0
- package/dist/esm/mcp/tools/devtools.js.map +1 -0
- package/dist/esm/mcp/tools/memory.d.ts +10 -0
- package/dist/esm/mcp/tools/memory.d.ts.map +1 -0
- package/dist/esm/mcp/tools/memory.js +533 -0
- package/dist/esm/mcp/tools/memory.js.map +1 -0
- package/dist/esm/mcp/tools/misc.d.ts +10 -0
- package/dist/esm/mcp/tools/misc.d.ts.map +1 -0
- package/dist/esm/mcp/tools/misc.js +417 -0
- package/dist/esm/mcp/tools/misc.js.map +1 -0
- package/dist/esm/mcp/tools/refactor.d.ts +8 -0
- package/dist/esm/mcp/tools/refactor.d.ts.map +1 -0
- package/dist/esm/mcp/tools/refactor.js +296 -0
- package/dist/esm/mcp/tools/refactor.js.map +1 -0
- package/dist/esm/mcp/tools/review.d.ts +10 -0
- package/dist/esm/mcp/tools/review.d.ts.map +1 -0
- package/dist/esm/mcp/tools/review.js +277 -0
- package/dist/esm/mcp/tools/review.js.map +1 -0
- package/dist/esm/mcp/tools/squeeze-cache.d.ts +14 -0
- package/dist/esm/mcp/tools/squeeze-cache.d.ts.map +1 -0
- package/dist/esm/mcp/tools/squeeze-cache.js +380 -0
- package/dist/esm/mcp/tools/squeeze-cache.js.map +1 -0
- package/dist/esm/mcp/tools/text-ops.d.ts +14 -0
- package/dist/esm/mcp/tools/text-ops.d.ts.map +1 -0
- package/dist/esm/mcp/tools/text-ops.js +152 -0
- package/dist/esm/mcp/tools/text-ops.js.map +1 -0
- package/dist/esm/mcp/tools/workspace.d.ts +10 -0
- package/dist/esm/mcp/tools/workspace.d.ts.map +1 -0
- package/dist/esm/mcp/tools/workspace.js +657 -0
- package/dist/esm/mcp/tools/workspace.js.map +1 -0
- package/dist/esm/mcp/tools.d.ts +1 -1
- package/dist/esm/mcp/tools.d.ts.map +1 -1
- package/dist/esm/mcp/tools.js +642 -6404
- package/dist/esm/mcp/tools.js.map +1 -1
- package/dist/esm/mcp/utils.d.ts +33 -0
- package/dist/esm/mcp/utils.d.ts.map +1 -1
- package/dist/esm/mcp/utils.js +92 -0
- package/dist/esm/mcp/utils.js.map +1 -1
- package/dist/esm/mcp/workspaceShared.d.ts +19 -0
- package/dist/esm/mcp/workspaceShared.d.ts.map +1 -0
- package/dist/esm/mcp/workspaceShared.js +93 -0
- package/dist/esm/mcp/workspaceShared.js.map +1 -0
- package/dist/esm/observability/IdeContextSync.d.ts +1 -1
- package/dist/esm/observability/IdeContextSync.js +5 -5
- package/dist/esm/package.json +3 -0
- package/dist/esm/pr-review/PRReviewEngine.d.ts +1 -1
- package/dist/esm/pr-review/PRReviewEngine.js +4 -4
- package/dist/esm/pr-review/ReviewStore.d.ts +1 -1
- package/dist/esm/pr-review/adapters/AzureDevOpsAdapter.d.ts +2 -2
- package/dist/esm/pr-review/adapters/AzureDevOpsAdapter.js +1 -1
- package/dist/esm/pr-review/adapters/GitHubAdapter.d.ts +2 -2
- package/dist/esm/pr-review/adapters/GitHubAdapter.js +1 -1
- package/dist/esm/pr-review/adapters/GitLabAdapter.d.ts +2 -2
- package/dist/esm/pr-review/adapters/GitLabAdapter.js +1 -1
- package/dist/esm/pr-review/adapters/GitPlatformAdapter.d.ts +1 -1
- package/dist/esm/pr-review/adapters/index.d.ts +4 -4
- package/dist/esm/pr-review/adapters/index.js +3 -3
- package/dist/esm/pr-review/analyzers/QualityGrader.d.ts +1 -1
- package/dist/esm/pr-review/analyzers/RegressionDetector.d.ts +1 -1
- package/dist/esm/pr-review/analyzers/SecurityScanner.d.ts +1 -1
- package/dist/esm/pr-review/analyzers/StaticAnalyzer.d.ts +1 -1
- package/dist/esm/pr-review/analyzers/index.d.ts +8 -8
- package/dist/esm/pr-review/analyzers/index.js +4 -4
- package/dist/esm/pr-review/bridge/BrainBridge.d.ts +1 -1
- package/dist/esm/pr-review/bridge/BrainBridge.js +1 -1
- package/dist/esm/pr-review/bridge/index.d.ts +1 -1
- package/dist/esm/pr-review/bridge/index.js +1 -1
- package/dist/esm/pr-review/index.d.ts +4 -4
- package/dist/esm/pr-review/index.js +2 -2
- package/dist/esm/pr-review/reviewRunner.d.ts +2 -2
- package/dist/esm/pr-review/reviewRunner.js +6 -6
- package/dist/esm/pr-review/webhook/WebhookServer.js +1 -1
- package/dist/esm/pr-review/webhook/index.d.ts +1 -1
- package/dist/esm/pr-review/webhook/index.js +1 -1
- package/dist/esm/protocol/flows.d.ts +1 -1
- package/dist/esm/protocol/flows.js +1 -1
- package/dist/esm/protocol/index.d.ts +4 -4
- package/dist/esm/protocol/index.js +4 -4
- package/dist/esm/protocol/utils.d.ts +1 -1
- package/dist/esm/protocol/utils.js +2 -2
- package/dist/esm/protocol/validators.d.ts +1 -1
- package/dist/esm/protocol/validators.js +1 -1
- package/dist/esm/proxy/ContextInjector.d.ts +1 -1
- package/dist/esm/proxy/Gatekeeper.d.ts +1 -1
- package/dist/esm/security/SecurityMiddleware.d.ts +1 -1
- package/dist/esm/security/SecurityMiddleware.js +3 -3
- package/dist/esm/security/index.d.ts +4 -4
- package/dist/esm/security/index.js +4 -4
- package/dist/esm/speculative/SpeculativeCache.d.ts +2 -2
- package/dist/esm/speculative/SpeculativeEngine.d.ts +2 -2
- package/dist/esm/speculative/SpeculativeEngine.js +3 -3
- package/dist/esm/speculative/WorkerPool.d.ts +1 -1
- package/dist/esm/speculative/index.d.ts +4 -4
- package/dist/esm/speculative/index.js +4 -4
- package/dist/esm/subconscious/GitIngest.d.ts +1 -1
- package/dist/esm/subconscious/GitIngest.js +1 -1
- package/dist/esm/subconscious/SemanticCache.d.ts +2 -2
- package/dist/esm/subconscious/SemanticCache.js +2 -2
- package/dist/esm/subconscious/SubconsciousEngine.d.ts +1 -1
- package/dist/esm/subconscious/SubconsciousEngine.js +3 -3
- package/dist/esm/subconscious/TheBrainV2.d.ts +1 -1
- package/dist/esm/subconscious/TheBrainV2.js +2 -2
- package/dist/esm/subconscious/freshness/LocalFsResolver.d.ts +1 -1
- package/dist/esm/subconscious/freshness/LocalFsResolver.js +1 -1
- package/dist/esm/subconscious/freshness/SuppliedEvidenceResolver.d.ts +1 -1
- package/dist/esm/subconscious/freshness/index.d.ts +2 -2
- package/dist/esm/subconscious/freshness/index.js +2 -2
- package/dist/esm/subconscious/index.d.ts +4 -4
- package/dist/esm/subconscious/index.js +4 -4
- package/dist/esm/utils/AffectedTests.js +1 -1
- package/dist/esm/utils/AutoContextBundle.d.ts +1 -1
- package/dist/esm/utils/AutoContextBundle.js +4 -4
- package/dist/esm/utils/BulkFileDigest.js +2 -2
- package/dist/esm/utils/ClipboardWatcher.js +2 -2
- package/dist/esm/utils/ContextCollapser.js +1 -1
- package/dist/esm/utils/ConversationCheckpoint.js +1 -1
- package/dist/esm/utils/ExecutiveReport.js +1 -1
- package/dist/esm/utils/OutputLedger.js +2 -2
- package/dist/esm/utils/ReadWorkspaceCache.js +1 -1
- package/dist/esm/utils/SpeculativeWarmer.d.ts +1 -1
- package/dist/esm/utils/SpeculativeWarmer.js +2 -2
- package/dist/esm/utils/StateHashCache.js +1 -1
- package/dist/esm/utils/StructuralSearch.d.ts +1 -1
- package/dist/esm/utils/SurgicalASTInsert.js +1 -1
- package/dist/esm/utils/SymbolSurgicalContext.js +1 -1
- package/dist/esm/utils/TestAutofixInterceptor.js +1 -1
- package/dist/esm/utils/WorkspaceSearch.js +0 -0
- package/dist/esm/utils/logger.js +1 -1
- package/dist/esm/utils/reportSavings.js +1 -1
- package/package.json +1 -1
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Main entry point for the protocol implementation
|
|
5
5
|
*/
|
|
6
|
-
export * from './types';
|
|
7
|
-
export * from './validators';
|
|
8
|
-
export * from './flows';
|
|
9
|
-
export * from './utils';
|
|
6
|
+
export * from './types.js';
|
|
7
|
+
export * from './validators.js';
|
|
8
|
+
export * from './flows.js';
|
|
9
|
+
export * from './utils.js';
|
|
10
10
|
export declare const IAP_VERSION = "1.0.0";
|
|
11
11
|
export declare const IAP_NAME = "Inter-Agent Protocol";
|
|
12
12
|
/**
|
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
* Main entry point for the protocol implementation
|
|
5
5
|
*/
|
|
6
6
|
// Export all types
|
|
7
|
-
export * from './types';
|
|
7
|
+
export * from './types.js';
|
|
8
8
|
// Export validators
|
|
9
|
-
export * from './validators';
|
|
9
|
+
export * from './validators.js';
|
|
10
10
|
// Export flows
|
|
11
|
-
export * from './flows';
|
|
11
|
+
export * from './flows.js';
|
|
12
12
|
// Export utilities
|
|
13
|
-
export * from './utils';
|
|
13
|
+
export * from './utils.js';
|
|
14
14
|
// Version information
|
|
15
15
|
export const IAP_VERSION = '1.0.0';
|
|
16
16
|
export const IAP_NAME = 'Inter-Agent Protocol';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Utility functions for message creation and handling
|
|
5
5
|
*/
|
|
6
|
-
import { IAPMessage, MessageType, AgentId, TaskId, MessageId, AgentHandshake, TaskProposal, TaskBid, ContextTransfer, ErrorMessage, CapabilityDiscovery, TaskAssignment, TaskResult, Heartbeat, DisconnectMessage } from './types';
|
|
6
|
+
import { IAPMessage, MessageType, AgentId, TaskId, MessageId, AgentHandshake, TaskProposal, TaskBid, ContextTransfer, ErrorMessage, CapabilityDiscovery, TaskAssignment, TaskResult, Heartbeat, DisconnectMessage } from './types.js';
|
|
7
7
|
/**
|
|
8
8
|
* Generates a unique message ID
|
|
9
9
|
*/
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import { v4 as uuidv4 } from 'uuid';
|
|
7
7
|
import { gzipSync, gunzipSync } from 'zlib';
|
|
8
|
-
import { MessageType } from './types';
|
|
9
|
-
import { PROTOCOL_VERSION } from './validators';
|
|
8
|
+
import { MessageType } from './types.js';
|
|
9
|
+
import { PROTOCOL_VERSION } from './validators.js';
|
|
10
10
|
/**
|
|
11
11
|
* Generates a unique message ID
|
|
12
12
|
*/
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* Emits 'mode-changed' when the effective tier switches.
|
|
10
10
|
*/
|
|
11
11
|
import { EventEmitter } from 'events';
|
|
12
|
-
import { KeyManager } from './KeyManager';
|
|
12
|
+
import { KeyManager } from './KeyManager.js';
|
|
13
13
|
export type CacheMode = 'standard' | 'pro';
|
|
14
14
|
export interface GatekeeperStatus {
|
|
15
15
|
mode: CacheMode;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AuthManager } from './AuthManager';
|
|
2
|
-
import { RateLimiter } from './RateLimiter';
|
|
3
|
-
import { MessageSanitizer } from './MessageSanitizer';
|
|
1
|
+
import { AuthManager } from './AuthManager.js';
|
|
2
|
+
import { RateLimiter } from './RateLimiter.js';
|
|
3
|
+
import { MessageSanitizer } from './MessageSanitizer.js';
|
|
4
4
|
export class SecurityMiddleware {
|
|
5
5
|
constructor(config) {
|
|
6
6
|
this.config = config;
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
* Security Module
|
|
3
3
|
* Exports all security-related components
|
|
4
4
|
*/
|
|
5
|
-
export { AuthManager, ApiKey, AuthConfig } from './AuthManager';
|
|
6
|
-
export { RateLimiter, RateLimitConfig } from './RateLimiter';
|
|
7
|
-
export { MessageSanitizer, SanitizationResult } from './MessageSanitizer';
|
|
8
|
-
export { SecurityMiddleware, SecurityConfig, SecurityCheckResult } from './SecurityMiddleware';
|
|
5
|
+
export { AuthManager, ApiKey, AuthConfig } from './AuthManager.js';
|
|
6
|
+
export { RateLimiter, RateLimitConfig } from './RateLimiter.js';
|
|
7
|
+
export { MessageSanitizer, SanitizationResult } from './MessageSanitizer.js';
|
|
8
|
+
export { SecurityMiddleware, SecurityConfig, SecurityCheckResult } from './SecurityMiddleware.js';
|
|
9
9
|
/**
|
|
10
10
|
* Default security configuration
|
|
11
11
|
*/
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
* Security Module
|
|
3
3
|
* Exports all security-related components
|
|
4
4
|
*/
|
|
5
|
-
export { AuthManager } from './AuthManager';
|
|
6
|
-
export { RateLimiter } from './RateLimiter';
|
|
7
|
-
export { MessageSanitizer } from './MessageSanitizer';
|
|
8
|
-
export { SecurityMiddleware } from './SecurityMiddleware';
|
|
5
|
+
export { AuthManager } from './AuthManager.js';
|
|
6
|
+
export { RateLimiter } from './RateLimiter.js';
|
|
7
|
+
export { MessageSanitizer } from './MessageSanitizer.js';
|
|
8
|
+
export { SecurityMiddleware } from './SecurityMiddleware.js';
|
|
9
9
|
/**
|
|
10
10
|
* Default security configuration
|
|
11
11
|
*/
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
* - Automatic cleanup
|
|
12
12
|
*/
|
|
13
13
|
import { EventEmitter } from 'events';
|
|
14
|
-
import { Prediction } from './PredictionEngine';
|
|
15
|
-
import { WorkerResult } from './WorkerPool';
|
|
14
|
+
import { Prediction } from './PredictionEngine.js';
|
|
15
|
+
import { WorkerResult } from './WorkerPool.js';
|
|
16
16
|
export interface CacheEntry {
|
|
17
17
|
id: string;
|
|
18
18
|
prediction: Prediction;
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
* - Graceful fallback to standard routing
|
|
12
12
|
*/
|
|
13
13
|
import { EventEmitter } from 'events';
|
|
14
|
-
import { Prediction } from './PredictionEngine';
|
|
15
|
-
import { CacheEntry } from './SpeculativeCache';
|
|
14
|
+
import { Prediction } from './PredictionEngine.js';
|
|
15
|
+
import { CacheEntry } from './SpeculativeCache.js';
|
|
16
16
|
export interface SpeculativeEngineConfig {
|
|
17
17
|
enabled?: boolean;
|
|
18
18
|
predictionEngine?: any;
|
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
* - Graceful fallback to standard routing
|
|
12
12
|
*/
|
|
13
13
|
import { EventEmitter } from 'events';
|
|
14
|
-
import { PredictionEngine } from './PredictionEngine';
|
|
15
|
-
import { WorkerPool } from './WorkerPool';
|
|
16
|
-
import { SpeculativeCache } from './SpeculativeCache';
|
|
14
|
+
import { PredictionEngine } from './PredictionEngine.js';
|
|
15
|
+
import { WorkerPool } from './WorkerPool.js';
|
|
16
|
+
import { SpeculativeCache } from './SpeculativeCache.js';
|
|
17
17
|
export class SpeculativeEngine extends EventEmitter {
|
|
18
18
|
constructor(config = {}) {
|
|
19
19
|
super();
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Exports all speculative execution components for Phase 3.
|
|
5
5
|
*/
|
|
6
|
-
export { PredictionEngine, PredictionRequest, Prediction, PredictionEngineConfig, PredictionMetrics } from './PredictionEngine';
|
|
7
|
-
export { WorkerPool, WorkerTask, WorkerResult, WorkerPoolConfig, WorkerPoolMetrics } from './WorkerPool';
|
|
8
|
-
export { SpeculativeCache, CacheEntry, SpeculativeCacheConfig, SpeculativeCacheMetrics } from './SpeculativeCache';
|
|
9
|
-
export { SpeculativeEngine, SpeculativeEngineConfig, SpeculativeResult, SpeculativeMetrics } from './SpeculativeEngine';
|
|
6
|
+
export { PredictionEngine, PredictionRequest, Prediction, PredictionEngineConfig, PredictionMetrics } from './PredictionEngine.js';
|
|
7
|
+
export { WorkerPool, WorkerTask, WorkerResult, WorkerPoolConfig, WorkerPoolMetrics } from './WorkerPool.js';
|
|
8
|
+
export { SpeculativeCache, CacheEntry, SpeculativeCacheConfig, SpeculativeCacheMetrics } from './SpeculativeCache.js';
|
|
9
|
+
export { SpeculativeEngine, SpeculativeEngineConfig, SpeculativeResult, SpeculativeMetrics } from './SpeculativeEngine.js';
|
|
10
10
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Exports all speculative execution components for Phase 3.
|
|
5
5
|
*/
|
|
6
|
-
export { PredictionEngine } from './PredictionEngine';
|
|
7
|
-
export { WorkerPool } from './WorkerPool';
|
|
8
|
-
export { SpeculativeCache } from './SpeculativeCache';
|
|
9
|
-
export { SpeculativeEngine } from './SpeculativeEngine';
|
|
6
|
+
export { PredictionEngine } from './PredictionEngine.js';
|
|
7
|
+
export { WorkerPool } from './WorkerPool.js';
|
|
8
|
+
export { SpeculativeCache } from './SpeculativeCache.js';
|
|
9
|
+
export { SpeculativeEngine } from './SpeculativeEngine.js';
|
|
10
10
|
//# sourceMappingURL=index.js.map
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*
|
|
8
8
|
* Both are deterministic, git/fs-only, and safe to run on every commit or on demand.
|
|
9
9
|
*/
|
|
10
|
-
import { TheBrainV2 } from './TheBrainV2';
|
|
10
|
+
import { TheBrainV2 } from './TheBrainV2.js';
|
|
11
11
|
export interface CommitIngestResult {
|
|
12
12
|
ingested: number;
|
|
13
13
|
skipped: number;
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
import fs from 'fs';
|
|
11
11
|
import path from 'path';
|
|
12
12
|
import { execFileSync } from 'child_process';
|
|
13
|
-
import { deriveProjectId, getBrain } from './TheBrainV2';
|
|
13
|
+
import { deriveProjectId, getBrain } from './TheBrainV2.js';
|
|
14
14
|
const MARKER_DIR = '.lemma/session';
|
|
15
15
|
const COMMIT_MARKER_FILE = 'brain-commit-marker';
|
|
16
16
|
const CHANGELOG_MARKER_FILE = 'brain-changelog-marker';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { EmbeddingService } from './EmbeddingService';
|
|
2
|
-
import { createLogger } from '../utils/logger';
|
|
1
|
+
import { EmbeddingService } from './EmbeddingService.js';
|
|
2
|
+
import { createLogger } from '../utils/logger.js';
|
|
3
3
|
const logger = createLogger('SemanticCache');
|
|
4
4
|
/**
|
|
5
5
|
* SemanticCache implements the "short-circuit" logic for semantic caching.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { VectorStore } from './VectorStore';
|
|
2
|
-
import { EmbeddingService } from './EmbeddingService';
|
|
3
|
-
import { SemanticCache } from './SemanticCache';
|
|
1
|
+
import { VectorStore } from './VectorStore.js';
|
|
2
|
+
import { EmbeddingService } from './EmbeddingService.js';
|
|
3
|
+
import { SemanticCache } from './SemanticCache.js';
|
|
4
4
|
import { EventEmitter } from 'events';
|
|
5
5
|
/**
|
|
6
6
|
* SubconsciousEngine is the main orchestrator for semantic caching.
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* Compatible with: Claude CLI, Codex, OpenCode, Cursor, Windsurf, Kiro,
|
|
10
10
|
* Cline, VS Code Copilot — any MCP client.
|
|
11
11
|
*/
|
|
12
|
-
import type { Evidence, EvidenceResolver } from '../contracts/evidence';
|
|
12
|
+
import type { Evidence, EvidenceResolver } from '../contracts/evidence.js';
|
|
13
13
|
export interface BrainEntry {
|
|
14
14
|
id: string;
|
|
15
15
|
query: string;
|
|
@@ -14,8 +14,8 @@ import path from 'path';
|
|
|
14
14
|
import os from 'os';
|
|
15
15
|
import crypto from 'crypto';
|
|
16
16
|
import { execSync } from 'child_process';
|
|
17
|
-
import { LocalFsResolver } from './freshness/LocalFsResolver';
|
|
18
|
-
import { EmbeddingSidecar, embeddingsEnabled, semanticRerank } from './BrainEmbeddings';
|
|
17
|
+
import { LocalFsResolver } from './freshness/LocalFsResolver.js';
|
|
18
|
+
import { EmbeddingSidecar, embeddingsEnabled, semanticRerank } from './BrainEmbeddings.js';
|
|
19
19
|
/**
|
|
20
20
|
* Default resolver for the local MCP path. Behaviour is byte-for-byte identical to
|
|
21
21
|
* the pre-refactor inline `fs.readFileSync` hashing — it never returns `null`, so
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
import fs from 'fs';
|
|
17
17
|
import path from 'path';
|
|
18
18
|
import crypto from 'crypto';
|
|
19
|
-
import { getSymbolSurgicalContext, normalizeForFreshness } from '../../utils/SymbolSurgicalContext';
|
|
19
|
+
import { getSymbolSurgicalContext, normalizeForFreshness } from '../../utils/SymbolSurgicalContext.js';
|
|
20
20
|
export class LocalFsResolver {
|
|
21
21
|
constructor(rootDir = process.cwd()) {
|
|
22
22
|
this.lane = 'A';
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* hash (from `store(..., {evidence})`) and the current evidence share the same
|
|
9
9
|
* path convention, so no root/resolution happens here.
|
|
10
10
|
*/
|
|
11
|
-
import type { Evidence, EvidenceResolver } from '../../contracts/evidence';
|
|
11
|
+
import type { Evidence, EvidenceResolver } from '../../contracts/evidence.js';
|
|
12
12
|
export declare class SuppliedEvidenceResolver implements EvidenceResolver {
|
|
13
13
|
readonly lane = "A";
|
|
14
14
|
private currentEvidence;
|
|
@@ -5,6 +5,6 @@
|
|
|
5
5
|
* Real implementation lands in Lane A. Until then, constructing or invoking a
|
|
6
6
|
* resolver here is a non-starter, by design.
|
|
7
7
|
*/
|
|
8
|
-
export * from './LocalFsResolver';
|
|
9
|
-
export * from './SuppliedEvidenceResolver';
|
|
8
|
+
export * from './LocalFsResolver.js';
|
|
9
|
+
export * from './SuppliedEvidenceResolver.js';
|
|
10
10
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -5,6 +5,6 @@
|
|
|
5
5
|
* Real implementation lands in Lane A. Until then, constructing or invoking a
|
|
6
6
|
* resolver here is a non-starter, by design.
|
|
7
7
|
*/
|
|
8
|
-
export * from './LocalFsResolver';
|
|
9
|
-
export * from './SuppliedEvidenceResolver';
|
|
8
|
+
export * from './LocalFsResolver.js';
|
|
9
|
+
export * from './SuppliedEvidenceResolver.js';
|
|
10
10
|
//# sourceMappingURL=index.js.map
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
* Provides "short-circuit" logic to return cached results for similar tasks,
|
|
6
6
|
* reducing latency from seconds to milliseconds.
|
|
7
7
|
*/
|
|
8
|
-
export { VectorStore } from './VectorStore';
|
|
9
|
-
export { EmbeddingService } from './EmbeddingService';
|
|
10
|
-
export { SemanticCache, CacheResult } from './SemanticCache';
|
|
11
|
-
export { SubconsciousEngine, SubconsciousConfig, Task, TaskResult, EngineMetrics, } from './SubconsciousEngine';
|
|
8
|
+
export { VectorStore } from './VectorStore.js';
|
|
9
|
+
export { EmbeddingService } from './EmbeddingService.js';
|
|
10
|
+
export { SemanticCache, CacheResult } from './SemanticCache.js';
|
|
11
|
+
export { SubconsciousEngine, SubconsciousConfig, Task, TaskResult, EngineMetrics, } from './SubconsciousEngine.js';
|
|
12
12
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
* Provides "short-circuit" logic to return cached results for similar tasks,
|
|
6
6
|
* reducing latency from seconds to milliseconds.
|
|
7
7
|
*/
|
|
8
|
-
export { VectorStore } from './VectorStore';
|
|
9
|
-
export { EmbeddingService } from './EmbeddingService';
|
|
10
|
-
export { SemanticCache } from './SemanticCache';
|
|
11
|
-
export { SubconsciousEngine, } from './SubconsciousEngine';
|
|
8
|
+
export { VectorStore } from './VectorStore.js';
|
|
9
|
+
export { EmbeddingService } from './EmbeddingService.js';
|
|
10
|
+
export { SemanticCache } from './SemanticCache.js';
|
|
11
|
+
export { SubconsciousEngine, } from './SubconsciousEngine.js';
|
|
12
12
|
//# sourceMappingURL=index.js.map
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
import fs from "fs";
|
|
22
22
|
import path from "path";
|
|
23
23
|
import { execFileSync } from "child_process";
|
|
24
|
-
import { buildDepGraphMap } from "./DepGraph";
|
|
24
|
+
import { buildDepGraphMap } from "./DepGraph.js";
|
|
25
25
|
/** A file is a test if its name says so, or if it lives in a conventional test directory. */
|
|
26
26
|
const TEST_FILE_RE = /(\.|_)(test|spec)\.[tj]sx?$/;
|
|
27
27
|
const TEST_DIR_RE = /(^|\/)(__tests__|tests?|spec)(\/|$)/;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import fs from 'fs';
|
|
2
2
|
import path from 'path';
|
|
3
|
-
import { computeFingerprint } from './FileFingerprint';
|
|
4
|
-
import { squeezeCode } from './ContextSqueezer';
|
|
5
|
-
import { buildImportTree } from './ImportTreeContext';
|
|
6
|
-
import { getBrain, deriveProjectId } from '../subconscious/TheBrainV2';
|
|
3
|
+
import { computeFingerprint } from './FileFingerprint.js';
|
|
4
|
+
import { squeezeCode } from './ContextSqueezer.js';
|
|
5
|
+
import { buildImportTree } from './ImportTreeContext.js';
|
|
6
|
+
import { getBrain, deriveProjectId } from '../subconscious/TheBrainV2.js';
|
|
7
7
|
import * as ts from 'typescript';
|
|
8
8
|
function estimateTokens(text) {
|
|
9
9
|
return Math.ceil(text.length / 4);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import fs from 'fs';
|
|
2
2
|
import path from 'path';
|
|
3
|
-
import { computeFingerprint } from './FileFingerprint';
|
|
4
|
-
import { squeezeCode } from './ContextSqueezer';
|
|
3
|
+
import { computeFingerprint } from './FileFingerprint.js';
|
|
4
|
+
import { squeezeCode } from './ContextSqueezer.js';
|
|
5
5
|
function estimateTokens(text) {
|
|
6
6
|
return Math.ceil(text.length / 4);
|
|
7
7
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { execSync, spawn } from 'child_process';
|
|
2
|
-
import { squeezeCode } from './ContextSqueezer';
|
|
3
|
-
import { savingsLedger } from './SavingsLedger';
|
|
2
|
+
import { squeezeCode } from './ContextSqueezer.js';
|
|
3
|
+
import { savingsLedger } from './SavingsLedger.js';
|
|
4
4
|
/**
|
|
5
5
|
* Reads text content from the macOS system clipboard using native pbpaste
|
|
6
6
|
*/
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Algorithm: Query-Focused TF-IDF Centroid sentence extraction + Jaccard dedup.
|
|
6
6
|
* Latency: <15ms for 100k characters.
|
|
7
7
|
*/
|
|
8
|
-
import { tokenize } from '../subconscious/TheBrainV2';
|
|
8
|
+
import { tokenize } from '../subconscious/TheBrainV2.js';
|
|
9
9
|
/**
|
|
10
10
|
* Split text into logical blocks (sentences or log chunks).
|
|
11
11
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import fs from 'fs';
|
|
2
2
|
import path from 'path';
|
|
3
3
|
import { execFileSync } from 'child_process';
|
|
4
|
-
import { getBrain, deriveProjectId } from '../subconscious/TheBrainV2';
|
|
4
|
+
import { getBrain, deriveProjectId } from '../subconscious/TheBrainV2.js';
|
|
5
5
|
const CHECKPOINT_DIR = '.lemma/session';
|
|
6
6
|
const MAX_CHECKPOINTS = 10;
|
|
7
7
|
function getDir(projectRoot) {
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
* costs the user a correct answer.
|
|
18
18
|
*/
|
|
19
19
|
import crypto from "crypto";
|
|
20
|
-
import { shouldEmitDelta } from "./OutputDelta";
|
|
21
|
-
import { getSharedEntry, setSharedEntry } from "./SharedLedgerStore";
|
|
20
|
+
import { shouldEmitDelta } from "./OutputDelta.js";
|
|
21
|
+
import { getSharedEntry, setSharedEntry } from "./SharedLedgerStore.js";
|
|
22
22
|
const entries = new Map();
|
|
23
23
|
/** Mirrors the read cache's bound: this exists to save tokens, not to grow forever. */
|
|
24
24
|
const MAX_LEDGER_CHARS = 2000000;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import crypto from "crypto";
|
|
2
|
-
import { getSharedEntry, setSharedEntry } from "./SharedLedgerStore";
|
|
2
|
+
import { getSharedEntry, setSharedEntry } from "./SharedLedgerStore.js";
|
|
3
3
|
// Session-scoped (lives for the MCP server process lifetime, which is normally the
|
|
4
4
|
// whole conversation). Tracks the content hash we last actually sent back to the
|
|
5
5
|
// model for a given (filePath, view) pair, so a second identical read doesn't
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* every failure is swallowed — a warming run that throws or runs slow must never be visible
|
|
10
10
|
* to whoever is waiting on the actual tool call.
|
|
11
11
|
*/
|
|
12
|
-
import { AstSymbol } from "./AstSymbolCache";
|
|
12
|
+
import { AstSymbol } from "./AstSymbolCache.js";
|
|
13
13
|
/**
|
|
14
14
|
* `extractSymbolsWithTsCompiler` lives in `mcp/tools.ts`, which already imports this module —
|
|
15
15
|
* importing it back here would be circular. The dispatcher registers it once at startup instead.
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import fs from "fs";
|
|
13
13
|
import path from "path";
|
|
14
|
-
import { buildDepGraphMap, bfsDepGraph } from "./DepGraph";
|
|
15
|
-
import { getOrExtractSymbols, hasFreshEntry } from "./AstSymbolCache";
|
|
14
|
+
import { buildDepGraphMap, bfsDepGraph } from "./DepGraph.js";
|
|
15
|
+
import { getOrExtractSymbols, hasFreshEntry } from "./AstSymbolCache.js";
|
|
16
16
|
/** How many neighbor files a single warm pass will touch — bounded so this stays cheap. */
|
|
17
17
|
const MAX_NEIGHBORS = 8;
|
|
18
18
|
const MAX_DEPTH = 1;
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
import fs from 'fs';
|
|
15
15
|
import path from 'path';
|
|
16
16
|
import crypto from 'crypto';
|
|
17
|
-
import { LocalFsResolver } from '../subconscious/freshness/LocalFsResolver';
|
|
17
|
+
import { LocalFsResolver } from '../subconscious/freshness/LocalFsResolver.js';
|
|
18
18
|
const CACHE_FILE = '.lemma/state-hash-cache.json';
|
|
19
19
|
function getCachePath(projectRoot) {
|
|
20
20
|
return path.join(projectRoot, CACHE_FILE);
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
import fs from 'fs';
|
|
11
11
|
import path from 'path';
|
|
12
12
|
import * as ts from 'typescript';
|
|
13
|
-
import { safeResolvePath } from '../mcp/utils';
|
|
13
|
+
import { safeResolvePath } from '../mcp/utils.js';
|
|
14
14
|
/**
|
|
15
15
|
* Traverses AST to find the node defining the specified symbol name.
|
|
16
16
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { execSync } from 'child_process';
|
|
2
|
-
import { getBrain, deriveProjectId } from '../subconscious/TheBrainV2';
|
|
2
|
+
import { getBrain, deriveProjectId } from '../subconscious/TheBrainV2.js';
|
|
3
3
|
function extractFailures(output) {
|
|
4
4
|
const failures = [];
|
|
5
5
|
// Jest/Vitest failure pattern
|
|
Binary file
|
package/dist/esm/utils/logger.js
CHANGED
|
@@ -8,7 +8,7 @@ import fs from 'fs';
|
|
|
8
8
|
import path from 'path';
|
|
9
9
|
import os from 'os';
|
|
10
10
|
import http from 'http';
|
|
11
|
-
import { recordRoiSaved, recordRoiSpent } from './RoiLedger';
|
|
11
|
+
import { recordRoiSaved, recordRoiSpent } from './RoiLedger.js';
|
|
12
12
|
function getProxyPort() {
|
|
13
13
|
try {
|
|
14
14
|
const portFile = path.join(os.homedir(), '.lemma-cache/proxy.port');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nxuss/lemma",
|
|
3
|
-
"version": "1.18.
|
|
3
|
+
"version": "1.18.1",
|
|
4
4
|
"description": "Intelligent AI Gateway for IDEs & Agents — Semantic cache, Privacy Firewall, Infrastructure Command Center, and Autonomous Cost-Optimization.",
|
|
5
5
|
"main": "./dist/cjs/index.js",
|
|
6
6
|
"module": "./dist/esm/index.js",
|