@snapback/cli 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.
Files changed (42) hide show
  1. package/dist/SkippedTestDetector-B3JZUE5G.js +5 -0
  2. package/dist/{SkippedTestDetector-JY4EF5BN.js.map → SkippedTestDetector-B3JZUE5G.js.map} +1 -1
  3. package/dist/{analysis-B4NVULM4.js → analysis-Z53F5FT2.js} +6 -5
  4. package/dist/{analysis-B4NVULM4.js.map → analysis-Z53F5FT2.js.map} +1 -1
  5. package/dist/{chunk-BCIXMIPW.js → chunk-6MR2TINI.js} +4 -3
  6. package/dist/chunk-6MR2TINI.js.map +1 -0
  7. package/dist/{chunk-WCQVDF3K.js → chunk-BW7RALUZ.js} +3 -2
  8. package/dist/{chunk-WCQVDF3K.js.map → chunk-BW7RALUZ.js.map} +1 -1
  9. package/dist/{chunk-VSJ33PLA.js → chunk-G7QXHNGB.js} +5 -4
  10. package/dist/chunk-G7QXHNGB.js.map +1 -0
  11. package/dist/{chunk-MTQ6ESQR.js → chunk-ISVRGBWT.js} +6 -5
  12. package/dist/chunk-ISVRGBWT.js.map +1 -0
  13. package/dist/{chunk-KSPLKCVF.js → chunk-NKBZIXCN.js} +7 -6
  14. package/dist/chunk-NKBZIXCN.js.map +1 -0
  15. package/dist/{chunk-RU7BOXR3.js → chunk-P2F6HU3P.js} +4 -3
  16. package/dist/chunk-P2F6HU3P.js.map +1 -0
  17. package/dist/{chunk-BJS6XH2V.js → chunk-QAKFE3NE.js} +4 -3
  18. package/dist/chunk-QAKFE3NE.js.map +1 -0
  19. package/dist/{chunk-WALLF2AH.js → chunk-YOVA65PS.js} +4 -3
  20. package/dist/chunk-YOVA65PS.js.map +1 -0
  21. package/dist/{dist-FBRR6YHP.js → dist-7UKXVKH3.js} +5 -4
  22. package/dist/{dist-7GPVXUEA.js.map → dist-7UKXVKH3.js.map} +1 -1
  23. package/dist/{dist-7GPVXUEA.js → dist-JX77JABV.js} +5 -4
  24. package/dist/{dist-DVM64QIS.js.map → dist-JX77JABV.js.map} +1 -1
  25. package/dist/{dist-DVM64QIS.js → dist-WKLJSPJT.js} +8 -7
  26. package/dist/{dist-FBRR6YHP.js.map → dist-WKLJSPJT.js.map} +1 -1
  27. package/dist/index.js +19 -18
  28. package/dist/index.js.map +1 -1
  29. package/dist/{secure-credentials-YKZHAZNB.js → secure-credentials-6UMEU22H.js} +4 -3
  30. package/dist/secure-credentials-6UMEU22H.js.map +1 -0
  31. package/dist/{snapback-dir-4QRR2IPV.js → snapback-dir-T3CRQRY6.js} +6 -5
  32. package/dist/{snapback-dir-4QRR2IPV.js.map → snapback-dir-T3CRQRY6.js.map} +1 -1
  33. package/package.json +5 -5
  34. package/dist/SkippedTestDetector-JY4EF5BN.js +0 -4
  35. package/dist/chunk-BCIXMIPW.js.map +0 -1
  36. package/dist/chunk-BJS6XH2V.js.map +0 -1
  37. package/dist/chunk-KSPLKCVF.js.map +0 -1
  38. package/dist/chunk-MTQ6ESQR.js.map +0 -1
  39. package/dist/chunk-RU7BOXR3.js.map +0 -1
  40. package/dist/chunk-VSJ33PLA.js.map +0 -1
  41. package/dist/chunk-WALLF2AH.js.map +0 -1
  42. package/dist/secure-credentials-YKZHAZNB.js.map +0 -1
@@ -1,4 +1,5 @@
1
- export { AIPresenceDetector, AI_EXTENSION_IDS, ApiError, AuthenticationError, AuthorizationError, BurstHeuristicsDetector, ConfigDetector, CorruptedDataError, CursorDetector, DEFAULT_EXPERIENCE_THRESHOLDS, DEFAULT_MAX_SIZE, DEFAULT_RISK_THRESHOLDS, DEFAULT_THRESHOLDS, DefaultRiskAnalyzer, DeviceAuthClient, DiffCalculator, DistributedTokenManager, EncryptionService, ExperienceClassifier, FileChangeAnalyzer, FileConflictResolver, ID_PREFIX, InputValidationError, LRUCache, LocalStorage, MemoryStorage, MissingContentError, NoOpLogger, NodeTimerService, PathValidationError, PrivacySanitizer, PrivacyValidator, ProtectionClient, ProtectionDecisionEngine, ProtectionManager, RISK_FACTOR_DESCRIPTIONS, RateLimitError, RateLimiter, RetryPresets, RiskAnalyzer, SNAPBACK_LAYER_RULES, SessionCoordinator, SessionDeduplication, SessionManager, SessionRecovery, SessionRollback, SessionSummaryGenerator, SessionTagger, SnapBackError, SnapBackRCParser, StorageError as SnapBackStorageError, StorageFullError as SnapBackStorageFullError, StorageLockError as SnapBackStorageLockError, Snapback, SnapbackClient as SnapbackAnalyticsClient, SnapbackClient, SnapshotClient, SnapshotCreationError, SnapshotDeletionService, SnapshotDuplicateError, SnapshotError, SnapshotIconStrategy, SnapshotManager, SnapshotNamingStrategy, SnapshotNotFoundError, SnapshotProtectedError, SnapshotRestoreError, SnapshotVerificationError, SnapshotVersionError, StorageBroker, StorageBrokerAdapter, StorageConnectionError, StorageError2 as StorageError, StorageFullError2 as StorageFullError, StorageIOError, StorageLockError2 as StorageLockError, THRESHOLDS, TokenBucket, ValidationError, all, allOrErrors, analyze, andThen, applyAutomaticFix, areEqual, assertDefined, assertNonEmptyArray, assertNonEmptyString, assertPathWithinRoot, assertPositiveNumber, atomicWriteFile, atomicWriteFileSync, calculateBackoff, configureInvariant, createChangeSummary, createConfig, createDashboardMetricsClient, createDeviceAuthClient, createRule, createScopedInvariant, createSnapshotWithRetry, createSnapshotWithRetrySafe, createThresholds, createTokenBucket, defaultConfig, describeRiskFactor, describeRiskFactors, diagnoseSnapshotFailure, ensureSnapBackError, err, evaluatePolicy, formatDiagnosis, fromPromise, fromPromiseWith, generateAuditId, generateCheckpointId, generateId2 as generateId, generateSessionId, generateSnapshotId, getBlobPath, getDepth, getInvariantConfig, getStandardRiskFactors, getViolationCounts, hashContent, hashFilePath, hashWorkspaceId, ingestTelemetry, invariant, isApiError, isConsumptionAllowed, isConsumptionDenied, isErr, isKnownRiskFactor, isOk, isRateLimitAllowed, isRateLimitDenied, isRetryableError, isSnapBackError, isSnapshotError, isStorageError, isValidId, isValidationError, isWithin, makeSafeSessionFinalizedEvent, makeSafeSessionStartedEvent, map, mapErr, match, normalize, ok, parseIdPrefix, parseIdTimestamp, randomId, resetThresholds, resetViolationCounts, runArchCheck, sequence, sha256, softInvariant, tap, tapErr, toError2 as toError, toPromise, toError as toSnapBackError, tryAll, tryCatch, tryCatchAsync, typeInvariant, unwrap, unwrapOr, unwrapOrElse, updateThresholds, withRetry } from './chunk-WALLF2AH.js';
2
- import './chunk-WCQVDF3K.js';
3
- //# sourceMappingURL=dist-FBRR6YHP.js.map
4
- //# sourceMappingURL=dist-FBRR6YHP.js.map
1
+ #!/usr/bin/env node
2
+ export { AIPresenceDetector, AI_EXTENSION_IDS, ApiError, AuthenticationError, AuthorizationError, BurstHeuristicsDetector, ConfigDetector, CorruptedDataError, CursorDetector, DEFAULT_EXPERIENCE_THRESHOLDS, DEFAULT_MAX_SIZE, DEFAULT_RISK_THRESHOLDS, DEFAULT_THRESHOLDS, DefaultRiskAnalyzer, DeviceAuthClient, DiffCalculator, DistributedTokenManager, EncryptionService, ExperienceClassifier, FileChangeAnalyzer, FileConflictResolver, ID_PREFIX, InputValidationError, LRUCache, LocalStorage, MemoryStorage, MissingContentError, NoOpLogger, NodeTimerService, PathValidationError, PrivacySanitizer, PrivacyValidator, ProtectionClient, ProtectionDecisionEngine, ProtectionManager, RISK_FACTOR_DESCRIPTIONS, RateLimitError, RateLimiter, RetryPresets, RiskAnalyzer, SNAPBACK_LAYER_RULES, SessionCoordinator, SessionDeduplication, SessionManager, SessionRecovery, SessionRollback, SessionSummaryGenerator, SessionTagger, SnapBackError, SnapBackRCParser, StorageError as SnapBackStorageError, StorageFullError as SnapBackStorageFullError, StorageLockError as SnapBackStorageLockError, Snapback, SnapbackClient as SnapbackAnalyticsClient, SnapbackClient, SnapshotClient, SnapshotCreationError, SnapshotDeletionService, SnapshotDuplicateError, SnapshotError, SnapshotIconStrategy, SnapshotManager, SnapshotNamingStrategy, SnapshotNotFoundError, SnapshotProtectedError, SnapshotRestoreError, SnapshotVerificationError, SnapshotVersionError, StorageBroker, StorageBrokerAdapter, StorageConnectionError, StorageError2 as StorageError, StorageFullError2 as StorageFullError, StorageIOError, StorageLockError2 as StorageLockError, THRESHOLDS, TokenBucket, ValidationError, all, allOrErrors, analyze, andThen, applyAutomaticFix, areEqual, assertDefined, assertNonEmptyArray, assertNonEmptyString, assertPathWithinRoot, assertPositiveNumber, atomicWriteFile, atomicWriteFileSync, calculateBackoff, configureInvariant, createChangeSummary, createConfig, createDashboardMetricsClient, createDeviceAuthClient, createRule, createScopedInvariant, createSnapshotWithRetry, createSnapshotWithRetrySafe, createThresholds, createTokenBucket, defaultConfig, describeRiskFactor, describeRiskFactors, diagnoseSnapshotFailure, ensureSnapBackError, err, evaluatePolicy, formatDiagnosis, fromPromise, fromPromiseWith, generateAuditId, generateCheckpointId, generateId2 as generateId, generateSessionId, generateSnapshotId, getBlobPath, getDepth, getInvariantConfig, getStandardRiskFactors, getViolationCounts, hashContent, hashFilePath, hashWorkspaceId, ingestTelemetry, invariant, isApiError, isConsumptionAllowed, isConsumptionDenied, isErr, isKnownRiskFactor, isOk, isRateLimitAllowed, isRateLimitDenied, isRetryableError, isSnapBackError, isSnapshotError, isStorageError, isValidId, isValidationError, isWithin, makeSafeSessionFinalizedEvent, makeSafeSessionStartedEvent, map, mapErr, match, normalize, ok, parseIdPrefix, parseIdTimestamp, randomId, resetThresholds, resetViolationCounts, runArchCheck, sequence, sha256, softInvariant, tap, tapErr, toError2 as toError, toPromise, toError as toSnapBackError, tryAll, tryCatch, tryCatchAsync, typeInvariant, unwrap, unwrapOr, unwrapOrElse, updateThresholds, withRetry } from './chunk-YOVA65PS.js';
3
+ import './chunk-BW7RALUZ.js';
4
+ //# sourceMappingURL=dist-7UKXVKH3.js.map
5
+ //# sourceMappingURL=dist-7UKXVKH3.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"dist-7GPVXUEA.js"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"dist-7UKXVKH3.js"}
@@ -1,4 +1,5 @@
1
- export { detectAIClients, getClient, getClientConfigPath, getConfiguredClients, getSnapbackMCPConfig, injectWorkspacePath, readClientConfig, removeSnapbackConfig, repairClientConfig, validateClientConfig, validateConfig, validateWorkspacePath, writeClientConfig } from './chunk-RU7BOXR3.js';
2
- import './chunk-WCQVDF3K.js';
3
- //# sourceMappingURL=dist-7GPVXUEA.js.map
4
- //# sourceMappingURL=dist-7GPVXUEA.js.map
1
+ #!/usr/bin/env node
2
+ export { detectAIClients, getClient, getClientConfigPath, getConfiguredClients, getSnapbackMCPConfig, injectWorkspacePath, readClientConfig, removeSnapbackConfig, repairClientConfig, validateClientConfig, validateConfig, validateWorkspacePath, writeClientConfig } from './chunk-P2F6HU3P.js';
3
+ import './chunk-BW7RALUZ.js';
4
+ //# sourceMappingURL=dist-JX77JABV.js.map
5
+ //# sourceMappingURL=dist-JX77JABV.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"dist-DVM64QIS.js"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"dist-JX77JABV.js"}
@@ -1,7 +1,8 @@
1
- export { AdvisoryEngine, ArchitectureLayer, CALIBRATION_THRESHOLDS, CODE_SYNONYMS, CONFIDENCE_THRESHOLDS, Composer, ConfidenceCalculator, ConfigStore, ConsecutiveModificationRule, ContextEngine, CriticalValidationError, DEFAULT_ADVISORY_CONFIG, DEFAULT_BUDGET_CONFIG, DEFAULT_FRAGILITY_CONFIG, DEFAULT_SESSION_LIMITS, DEFAULT_THRESHOLD_ADJUSTMENTS, DependencyLayer, FragileFileRule, GapAnalyzer, GenericSuggestionsRule, HybridRetriever, ISSUE_THRESHOLDS, Intelligence, IntelligenceConfigSchema, ConfidenceCalculator2 as KnowledgeConfidenceCalculator, KnowledgeStore, LearningEngine, LoopDetectionRule, LoopDetector, MockDetector, PROMOTION_THRESHOLDS, PatternDetector, PerformanceLayer, PhantomDependencyDetector, PolicyEngine, QUERY_TYPE_KEYWORDS, RECENCY_HALF_LIFE_DAYS, SOURCE_TYPE_WEIGHTS, STATUS_PENALTIES, SarifFormatter, SecretDetector, SecurityLayer, SemanticRetriever, SessionManager, SkippedTestRule, SyntaxLayer, TestLayer, TypeLayer, ValidationError, ValidationPipeline, ViolationHistoryRule, ViolationTracker, WorkspaceProfiler, apiPatterns, appendJsonl, appendJsonlAsync, astroConfig, authPatterns, batchRerankingScores, calculateComplexity, calculateHistoricalBoost, calculateMetadataBoost, calculateRerankingScore, classifyQuery, cosineSimilarity, createBuiltInMatchers, createComposer, daemonPatterns, detectFrameworks, detectPrimaryFramework, errorHandlingMatchers, evaluate, expandQuery, expressConfig, generateId, getAllFrameworks, getConfidenceLevel, getEmbedding, getFramework, getFrameworksByCategory, getRetrievalStrategy, getWeightsForType, isValidFramework, loadJsonl, loadPolicyConfig, nestjsConfig, nextjsConfig, performanceMatchers, preloadEmbeddings, reactViteConfig, securityMatchers, testingMatchers, validateWeights, writeJsonl } from './chunk-MTQ6ESQR.js';
2
- import './chunk-BCIXMIPW.js';
3
- import './chunk-VSJ33PLA.js';
4
- import './chunk-BJS6XH2V.js';
5
- import './chunk-WCQVDF3K.js';
6
- //# sourceMappingURL=dist-DVM64QIS.js.map
7
- //# sourceMappingURL=dist-DVM64QIS.js.map
1
+ #!/usr/bin/env node
2
+ export { AdvisoryEngine, ArchitectureLayer, CALIBRATION_THRESHOLDS, CODE_SYNONYMS, CONFIDENCE_THRESHOLDS, Composer, ConfidenceCalculator, ConfigStore, ConsecutiveModificationRule, ContextEngine, CriticalValidationError, DEFAULT_ADVISORY_CONFIG, DEFAULT_BUDGET_CONFIG, DEFAULT_FRAGILITY_CONFIG, DEFAULT_SESSION_LIMITS, DEFAULT_THRESHOLD_ADJUSTMENTS, DependencyLayer, FragileFileRule, GapAnalyzer, GenericSuggestionsRule, HybridRetriever, ISSUE_THRESHOLDS, Intelligence, IntelligenceConfigSchema, ConfidenceCalculator2 as KnowledgeConfidenceCalculator, KnowledgeStore, LearningEngine, LoopDetectionRule, LoopDetector, MockDetector, PROMOTION_THRESHOLDS, PatternDetector, PerformanceLayer, PhantomDependencyDetector, PolicyEngine, QUERY_TYPE_KEYWORDS, RECENCY_HALF_LIFE_DAYS, SOURCE_TYPE_WEIGHTS, STATUS_PENALTIES, SarifFormatter, SecretDetector, SecurityLayer, SemanticRetriever, SessionManager, SkippedTestRule, SyntaxLayer, TestLayer, TypeLayer, ValidationError, ValidationPipeline, ViolationHistoryRule, ViolationTracker, WorkspaceProfiler, apiPatterns, appendJsonl, appendJsonlAsync, astroConfig, authPatterns, batchRerankingScores, calculateComplexity, calculateHistoricalBoost, calculateMetadataBoost, calculateRerankingScore, classifyQuery, cosineSimilarity, createBuiltInMatchers, createComposer, daemonPatterns, detectFrameworks, detectPrimaryFramework, errorHandlingMatchers, evaluate, expandQuery, expressConfig, generateId, getAllFrameworks, getConfidenceLevel, getEmbedding, getFramework, getFrameworksByCategory, getRetrievalStrategy, getWeightsForType, isValidFramework, loadJsonl, loadPolicyConfig, nestjsConfig, nextjsConfig, performanceMatchers, preloadEmbeddings, reactViteConfig, securityMatchers, testingMatchers, validateWeights, writeJsonl } from './chunk-ISVRGBWT.js';
3
+ import './chunk-6MR2TINI.js';
4
+ import './chunk-G7QXHNGB.js';
5
+ import './chunk-QAKFE3NE.js';
6
+ import './chunk-BW7RALUZ.js';
7
+ //# sourceMappingURL=dist-WKLJSPJT.js.map
8
+ //# sourceMappingURL=dist-WKLJSPJT.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"dist-FBRR6YHP.js"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"dist-WKLJSPJT.js"}
package/dist/index.js CHANGED
@@ -1,11 +1,12 @@
1
- import { isSnapbackInitialized, getWorkspaceDir, getViolations, getProtectedFiles, appendSnapbackJsonl, isLoggedIn, clearCredentials, getCredentials, createGlobalDirectory, saveCredentials, getWorkspaceVitals, saveProtectedFiles, getCurrentSession, endCurrentSession, getWorkspaceConfig, createSnapbackDirectory, saveWorkspaceVitals, saveWorkspaceConfig, recordLearning, getLearnings, readSnapbackJson, recordViolation, writeSnapbackJson, saveCurrentSession, loadSnapbackJsonl, getGlobalConfig, getGlobalDir, saveGlobalConfig } from './chunk-KSPLKCVF.js';
2
- import { generateCacheKey, createDefaultWorkspace, Intelligence, KnowledgeStore, preloadEmbeddings, getEmbedding, HybridRetriever, classifyQuery, createSnapshotStorage } from './chunk-MTQ6ESQR.js';
3
- import { generateSnapshotId, generateId } from './chunk-BCIXMIPW.js';
4
- import { createChangeImpactAnalyzer } from './chunk-VSJ33PLA.js';
5
- import './chunk-BJS6XH2V.js';
6
- import { sha256, atomicWriteFileSync, hashContent } from './chunk-WALLF2AH.js';
7
- import { detectAIClients, validateClientConfig, getSnapbackMCPConfig, writeClientConfig, repairClientConfig } from './chunk-RU7BOXR3.js';
8
- import { __name, __require } from './chunk-WCQVDF3K.js';
1
+ #!/usr/bin/env node
2
+ import { isSnapbackInitialized, getWorkspaceDir, getViolations, getProtectedFiles, appendSnapbackJsonl, isLoggedIn, clearCredentials, getCredentials, createGlobalDirectory, saveCredentials, getWorkspaceVitals, saveProtectedFiles, getCurrentSession, endCurrentSession, getWorkspaceConfig, createSnapbackDirectory, saveWorkspaceVitals, saveWorkspaceConfig, recordLearning, getLearnings, readSnapbackJson, recordViolation, writeSnapbackJson, saveCurrentSession, loadSnapbackJsonl, getGlobalConfig, getGlobalDir, saveGlobalConfig } from './chunk-NKBZIXCN.js';
3
+ import { generateCacheKey, createDefaultWorkspace, Intelligence, KnowledgeStore, preloadEmbeddings, getEmbedding, HybridRetriever, classifyQuery, createSnapshotStorage } from './chunk-ISVRGBWT.js';
4
+ import { generateSnapshotId, generateId } from './chunk-6MR2TINI.js';
5
+ import { createChangeImpactAnalyzer } from './chunk-G7QXHNGB.js';
6
+ import './chunk-QAKFE3NE.js';
7
+ import { sha256, atomicWriteFileSync, hashContent } from './chunk-YOVA65PS.js';
8
+ import { detectAIClients, validateClientConfig, getSnapbackMCPConfig, writeClientConfig, repairClientConfig } from './chunk-P2F6HU3P.js';
9
+ import { __name, __require } from './chunk-BW7RALUZ.js';
9
10
  import * as fs22 from 'fs/promises';
10
11
  import { stat, lstat, access, constants, readFile, appendFile, readdir } from 'fs/promises';
11
12
  import * as path5 from 'path';
@@ -1281,7 +1282,7 @@ async function fixStaleSession(workspaceRoot, dryRun) {
1281
1282
  ]
1282
1283
  };
1283
1284
  }
1284
- const { appendSnapbackJsonl: appendSnapbackJsonl2 } = await import('./snapback-dir-4QRR2IPV.js');
1285
+ const { appendSnapbackJsonl: appendSnapbackJsonl2 } = await import('./snapback-dir-T3CRQRY6.js');
1285
1286
  await appendSnapbackJsonl2("session/history.jsonl", {
1286
1287
  ...session,
1287
1288
  endedAt: (/* @__PURE__ */ new Date()).toISOString(),
@@ -8063,7 +8064,7 @@ function createSessionCommand() {
8063
8064
  console.log(chalk26.gray("Run: snap init"));
8064
8065
  process.exit(1);
8065
8066
  }
8066
- const { loadSnapbackJsonl: loadSnapbackJsonl2 } = await import('./snapback-dir-4QRR2IPV.js');
8067
+ const { loadSnapbackJsonl: loadSnapbackJsonl2 } = await import('./snapback-dir-T3CRQRY6.js');
8067
8068
  const history = await loadSnapbackJsonl2("session/history.jsonl", cwd);
8068
8069
  const count = Number.parseInt(options.number, 10);
8069
8070
  const recent = history.slice(-count).reverse();
@@ -17341,7 +17342,7 @@ async function runStaticAnalysis(files, workspaceRoot) {
17341
17342
  result7.duration = Date.now() - startTime;
17342
17343
  return result7;
17343
17344
  }
17344
- const { analyzeSkippedTests } = await import('./analysis-B4NVULM4.js');
17345
+ const { analyzeSkippedTests } = await import('./analysis-Z53F5FT2.js');
17345
17346
  const analysisResults = analyzeSkippedTests(fileMap);
17346
17347
  for (const analysisResult of analysisResults) {
17347
17348
  if (!analysisResult.parsed && analysisResult.error) {
@@ -17370,7 +17371,7 @@ async function generateProactiveGuidance(files, workspaceRoot) {
17370
17371
  suggestions: []
17371
17372
  };
17372
17373
  try {
17373
- const { AdvisoryEngine, SkippedTestRule } = await import('./dist-DVM64QIS.js');
17374
+ const { AdvisoryEngine, SkippedTestRule } = await import('./dist-WKLJSPJT.js');
17374
17375
  const engine = new AdvisoryEngine();
17375
17376
  engine.registerRule(SkippedTestRule);
17376
17377
  const testFiles = files.filter((f) => f.includes(".test.") || f.includes(".spec.") || f.includes("__tests__"));
@@ -21149,7 +21150,7 @@ async function handleLearningsMaintenance(context) {
21149
21150
  __name(handleLearningsMaintenance, "handleLearningsMaintenance");
21150
21151
  async function handleArchitectureCheck(context) {
21151
21152
  try {
21152
- const { runArchCheck, SNAPBACK_LAYER_RULES } = await import('./dist-FBRR6YHP.js');
21153
+ const { runArchCheck, SNAPBACK_LAYER_RULES } = await import('./dist-7UKXVKH3.js');
21153
21154
  const result7 = await runArchCheck({
21154
21155
  workspaceRoot: context.workspaceRoot,
21155
21156
  globalExclude: [
@@ -29497,7 +29498,7 @@ async function mcpStep(state) {
29497
29498
  let getSnapbackMCPConfig2;
29498
29499
  let writeClientConfig2;
29499
29500
  try {
29500
- const mcpConfig = await import('./dist-7GPVXUEA.js');
29501
+ const mcpConfig = await import('./dist-JX77JABV.js');
29501
29502
  detectAIClients2 = mcpConfig.detectAIClients;
29502
29503
  getSnapbackMCPConfig2 = mcpConfig.getSnapbackMCPConfig;
29503
29504
  writeClientConfig2 = mcpConfig.writeClientConfig;
@@ -29605,7 +29606,7 @@ async function fileProtectionStep(state) {
29605
29606
  };
29606
29607
  }
29607
29608
  try {
29608
- const { getProtectedFiles: getProtectedFiles2, saveProtectedFiles: saveProtectedFiles2 } = await import('./snapback-dir-4QRR2IPV.js');
29609
+ const { getProtectedFiles: getProtectedFiles2, saveProtectedFiles: saveProtectedFiles2 } = await import('./snapback-dir-T3CRQRY6.js');
29609
29610
  const protectedFiles = await getProtectedFiles2(state.workspaceRoot);
29610
29611
  let added = 0;
29611
29612
  const envPatterns = [
@@ -29851,7 +29852,7 @@ async function summaryStep(state) {
29851
29852
  console.log(chalk26.gray("\u2500".repeat(40)));
29852
29853
  console.log("\n" + chalk26.cyan.bold("Quick Health Check:\n"));
29853
29854
  try {
29854
- const { detectAIClients: detectAIClients2 } = await import('./dist-7GPVXUEA.js');
29855
+ const { detectAIClients: detectAIClients2 } = await import('./dist-JX77JABV.js');
29855
29856
  const detection = detectAIClients2({
29856
29857
  cwd: state.workspaceRoot || process.cwd()
29857
29858
  });
@@ -29866,7 +29867,7 @@ async function summaryStep(state) {
29866
29867
  } catch {
29867
29868
  }
29868
29869
  try {
29869
- const { detectAIClients: detectAIClients2 } = await import('./dist-7GPVXUEA.js');
29870
+ const { detectAIClients: detectAIClients2 } = await import('./dist-JX77JABV.js');
29870
29871
  const detection = detectAIClients2({
29871
29872
  cwd: state.workspaceRoot || process.cwd()
29872
29873
  });
@@ -29922,7 +29923,7 @@ async function sessionStep(state) {
29922
29923
  if (startSession) {
29923
29924
  const task = await prompts.input("What are you working on? (e.g. implementing user auth)", {});
29924
29925
  try {
29925
- const { generateId: generateId3, saveCurrentSession: saveCurrentSession2 } = await import('./snapback-dir-4QRR2IPV.js');
29926
+ const { generateId: generateId3, saveCurrentSession: saveCurrentSession2 } = await import('./snapback-dir-T3CRQRY6.js');
29926
29927
  const newSession = {
29927
29928
  id: generateId3("sess"),
29928
29929
  task: task || "Initial session",