@vitest-agent/sdk 3.1.1 → 3.1.2

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/index.js CHANGED
@@ -123,7 +123,7 @@ import { requiredArtifactForTransition, transitionEnforcesBehaviorMatch, validat
123
123
  * substituted yet. Exported for version introspection by downstream tooling.
124
124
  * @public
125
125
  */
126
- const CURRENT_SDK_VERSION = "3.1.1";
126
+ const CURRENT_SDK_VERSION = "3.1.2";
127
127
 
128
128
  //#endregion
129
129
  export { ActionSeverity, ActorType, Agent, AgentConsoleMode, AgentContext, AgentId, AgentNotFoundError, AgentPluginOptions, AgentReport, AgentReporterOptions, BATS_FILE_GLOB_SUFFIX, BehaviorAbandonedEvent, BehaviorAddedEvent, BehaviorCompletedEvent, BehaviorDetail, BehaviorNotFoundError, BehaviorRow, BehaviorScopedEventTypes, BehaviorStartedEvent, BehaviorStatus, BehaviorsReadyEvent, BlockedEvent, CURRENT_SDK_VERSION, CacheManifest, CacheManifestEntry, ChannelEvent, ChatId, CiConsoleMode, ConfigLive, ConsoleLeakFile, ConsoleLeaks, ConsoleLeaksFromFailingTests, ConsoleLogLevel, ConsoleMode, ConsoleOutputMode, ConsoleOutputs, ConversationId, ConversationNotFoundError, CoverageBaselines, FileCoverageReport as CoverageFile, CoverageGap, CoverageLevel, CoverageMetric, CoverageRenderState, CoverageReport, CoverageTargets, CoverageTargetsMetrics, CoverageTotals, DATABASE_FILENAME, DataReader, DataReaderLive, DataStore, DataStoreError, DataStoreLive, DetailLevel, DetailResolver, DetailResolverLive, DiscoveryError, DiscoveryRegistry, DiscoveryRegistryLive, Environment, EnvironmentDetector, EnvironmentDetectorLive, EnvironmentDetectorTest, Executor, ExecutorResolver, ExecutorResolverLive, FailureRecord, FileCoverageReport, FileEditPayload, FormatSelector, FormatSelectorLive, GfmFormatter, GitCommandError, GoalAbandonedEvent, GoalAddedEvent, GoalCompletedEvent, GoalDetail, GoalNotFoundError, GoalRow, GoalStartedEvent, GoalStatus, GoalsReadyEvent, HistoryRecord, HistoryTracker, HistoryTrackerLive, HistoryTrackerTest, HookFirePayload, HookStatus, HookType, HostKind, HostMetadataParseError, HumanConsoleMode, HypothesisPayload, IDEMPOTENCY_ROOT_SENTINEL, INLINE_ATTACHMENT_BODY_CAP_BYTES, IdempotencyHit, IllegalStatusTransitionError, JsonFormatter, LoggerLive, MarkdownFormatter, MetricThresholds, ModuleRecord, ModuleReport, NON_DISCOVERABLE_DIRS, NotePayload, OutputFormat, OutputPipelineLive, OutputRenderer, OutputRendererLive, PROJECT_MIGRATIONS, PackageManager, PathResolutionError, PathResolutionLive, PatternMetricThresholds, PatternThresholds, PerClientSessionMapReader, PerClientSessionMapReaderLive, PerClientSessionMapWriter, PerClientSessionMapWriterLive, PerFileThresholds, PhaseTransitionEvent, ProbeMissError, ProjectDiscovery, ProjectDiscoveryLive, ProjectDiscoveryTest, ProjectIdentity, ProjectIdentityLive, ProjectIdentityNotResolvableError, ProjectIdentityTest, ProjectKey, RUN_REPORT_FILE_SCHEMA_URL, RegistrationConflictError, RenderState, RenderTotals, ReportError, ReportOption, ReportSettings, ReportSummary, ResolvedThresholds, RunContext, RunContext$, RunContextLive, RunContextService, RunContextTest, RunEvent, RunReportFile, SRC_DIR, SessionCompleteEvent, SessionNotFoundError, SessionOutcome, SidecarTimeoutError, SilentFormatter, SuggestedActionRecord, TEST_DIR, TEST_FILE_GLOB_SUFFIX, TEST_HELPER_DIRS, TagCountEntry, TddTaskAlreadyEndedError, TddTaskId, TddTaskNotFoundError, TerminalFormatter, TestAnnotation, TestArtifact, TestArtifactLocation, TestAttachment, TestClassification, TestHistory, TestRecord, TestReport, TestRun, TestRunReason, TestState, ToolCallPayload, ToolResultPayload, Transport, TrendEntry, TrendRecord, TurnPayload, UserPromptPayload, VitestAgentConfig, VitestAgentConfigFile, _resetMigrationCacheForTesting, ansi, assembleHistoryRecord, assembleManifest, buildAgentReport, buildConsoleLeaks, buildEnvPrefix, canonicalizeGitUrl, ciAnnotationsFormatter, classifyTest, classifyTestPath, coerceErrorField, coerceErrorText, collectConsoleLeakEntries, compressLines, computeFailureSignature, computeTrend, countSuiteFailures, deriveIdempotencyKey, detectNonDefaultDiscoverStrategy, detectPackageManager, detectVitestScripts, determineTier, ensureMigrated, extractSqlReason, findFunctionBoundary, findOwningWorkspace, formatConsoleMarkdown, formatFatalError, formatGfm, formatScopedCoverageNote, formatTriageEffect, formatWrapupEffect, getRecentDirection, getRunCommand, getWorstMetric, gitUrlToProjectKey, hashTargets, historyKey, initialRenderState, isTestFileName, isTimeoutError, isVitestInvocation, migration as migration0001, migration$1 as migration0002, normalizeAssertionShape, normalizeWorkspaceKey, osc8, probeHostMetadataFromEnv, migration$2 as registryMigration0001, relativePath, requiredArtifactForTransition, resolveCoverageInput, resolveDataPath, resolveLogFile, resolveLogLevel, resolveProjectIdentityFromCandidates, resolveProjectKeyFromCwd, resolveWorkspaceKey, rewriteBashCommand, safeFilename, migration$3 as sessionMapMigration0001, stripAnsi, transitionEnforcesBehaviorMatch, validateCoverageConfig, validateCoverageTargetsShape, validatePhaseTransition };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitest-agent/sdk",
3
- "version": "3.1.1",
3
+ "version": "3.1.2",
4
4
  "private": false,
5
5
  "description": "Shared Effect Schema, SQLite migrations, data layer, services, formatters, and utilities for vitest-agent packages.",
6
6
  "keywords": [
@@ -46,19 +46,19 @@
46
46
  "./package.json": "./package.json"
47
47
  },
48
48
  "dependencies": {
49
- "@effect/platform-node": "4.0.0-rc.112",
50
- "@effect/sql-sqlite-node": "4.0.0-rc.112",
51
- "@effected/config-file": "^0.7.0",
52
- "@effected/jsonc": "^0.9.0",
53
- "@effected/toml": "^0.6.0",
54
- "@effected/walker": "^0.7.0",
55
- "@effected/workspaces": "^0.20.3",
56
- "@effected/xdg": "^0.4.1",
57
- "@effected/yaml": "^0.14.0",
49
+ "@effect/platform-node": "4.0.0-rc.115",
50
+ "@effect/sql-sqlite-node": "4.0.0-rc.115",
51
+ "@effected/config-file": "^0.8.0",
52
+ "@effected/jsonc": "^0.11.0",
53
+ "@effected/toml": "^0.7.0",
54
+ "@effected/walker": "^0.8.0",
55
+ "@effected/workspaces": "^0.21.0",
56
+ "@effected/xdg": "^0.5.0",
57
+ "@effected/yaml": "^0.15.0",
58
58
  "acorn": "^8.18.0",
59
59
  "acorn-typescript": "^1.4.13",
60
60
  "ajv": "^8.20.0",
61
- "effect": "4.0.0-rc.112",
61
+ "effect": "4.0.0-rc.115",
62
62
  "std-env": "^4.2.0"
63
63
  },
64
64
  "engines": {
@@ -90,7 +90,7 @@
90
90
  }
91
91
  },
92
92
  "required": ["total", "passed", "failed", "skipped", "duration"],
93
- "additionalProperties": false
93
+ "additionalProperties": true
94
94
  },
95
95
  "TestState": {
96
96
  "type": "string",
@@ -144,7 +144,7 @@
144
144
  }
145
145
  },
146
146
  "required": ["message"],
147
- "additionalProperties": false
147
+ "additionalProperties": true
148
148
  },
149
149
  "TestClassification": {
150
150
  "type": "string",
@@ -225,7 +225,7 @@
225
225
  }
226
226
  },
227
227
  "required": ["name", "fullName", "state"],
228
- "additionalProperties": false
228
+ "additionalProperties": true
229
229
  },
230
230
  "ModuleReport": {
231
231
  "type": "object",
@@ -275,7 +275,7 @@
275
275
  }
276
276
  },
277
277
  "required": ["file", "state", "tests"],
278
- "additionalProperties": false
278
+ "additionalProperties": true
279
279
  },
280
280
  "CoverageTotals": {
281
281
  "type": "object",
@@ -326,7 +326,7 @@
326
326
  }
327
327
  },
328
328
  "required": ["statements", "branches", "functions", "lines"],
329
- "additionalProperties": false
329
+ "additionalProperties": true
330
330
  },
331
331
  "MetricThresholds": {
332
332
  "type": "object",
@@ -404,7 +404,7 @@
404
404
  ]
405
405
  }
406
406
  },
407
- "additionalProperties": false
407
+ "additionalProperties": true
408
408
  },
409
409
  "PerFileThresholds": {
410
410
  "anyOf": [
@@ -495,7 +495,7 @@
495
495
  "$ref": "#/$defs/PerFileThresholds"
496
496
  }
497
497
  },
498
- "additionalProperties": false
498
+ "additionalProperties": true
499
499
  },
500
500
  "PatternThresholds": {
501
501
  "type": "array",
@@ -524,7 +524,7 @@
524
524
  }
525
525
  },
526
526
  "required": ["file", "summary", "uncoveredLines"],
527
- "additionalProperties": false
527
+ "additionalProperties": true
528
528
  },
529
529
  "CoverageReport": {
530
530
  "type": "object",
@@ -546,7 +546,7 @@
546
546
  }
547
547
  },
548
548
  "required": ["global"],
549
- "additionalProperties": false
549
+ "additionalProperties": true
550
550
  },
551
551
  "targets": {
552
552
  "anyOf": [
@@ -564,7 +564,7 @@
564
564
  }
565
565
  },
566
566
  "required": ["global"],
567
- "additionalProperties": false
567
+ "additionalProperties": true
568
568
  },
569
569
  {
570
570
  "type": "null"
@@ -587,7 +587,7 @@
587
587
  }
588
588
  },
589
589
  "required": ["global"],
590
- "additionalProperties": false
590
+ "additionalProperties": true
591
591
  },
592
592
  {
593
593
  "type": "null"
@@ -668,7 +668,7 @@
668
668
  }
669
669
  },
670
670
  "required": ["totals", "thresholds", "lowCoverage", "lowCoverageFiles"],
671
- "additionalProperties": false
671
+ "additionalProperties": true
672
672
  },
673
673
  "TagCountEntry": {
674
674
  "type": "object",
@@ -728,7 +728,7 @@
728
728
  ]
729
729
  }
730
730
  },
731
- "additionalProperties": false
731
+ "additionalProperties": true
732
732
  },
733
733
  "ConsoleLeakFile": {
734
734
  "type": "object",
@@ -783,7 +783,7 @@
783
783
  }
784
784
  },
785
785
  "required": ["file", "stdout", "stderr"],
786
- "additionalProperties": false
786
+ "additionalProperties": true
787
787
  },
788
788
  "ConsoleLeaksFromFailingTests": {
789
789
  "type": "object",
@@ -812,7 +812,7 @@
812
812
  }
813
813
  },
814
814
  "required": ["total", "files"],
815
- "additionalProperties": false
815
+ "additionalProperties": true
816
816
  },
817
817
  "ConsoleLeaks": {
818
818
  "type": "object",
@@ -856,7 +856,7 @@
856
856
  }
857
857
  },
858
858
  "required": ["total", "byFile"],
859
- "additionalProperties": false
859
+ "additionalProperties": true
860
860
  },
861
861
  "AgentReport": {
862
862
  "type": "object",
@@ -933,7 +933,7 @@
933
933
  }
934
934
  },
935
935
  "required": ["timestamp", "reason", "summary", "failed", "unhandledErrors", "failedFiles"],
936
- "additionalProperties": false
936
+ "additionalProperties": true
937
937
  },
938
938
  "RunReportFile": {
939
939
  "type": "object",
@@ -956,7 +956,7 @@
956
956
  }
957
957
  },
958
958
  "required": ["schemaVersion", "generatedAt", "reports"],
959
- "additionalProperties": false,
959
+ "additionalProperties": true,
960
960
  "description": "The vitest-agent run report file (.vitest/vitest-agent/run.json): one AgentReport per Vitest project from the most recent run. Read reports[].summary for pass/fail counts and reports[].failed for the failing modules and their tests. schemaVersion is the envelope contract version; generatedAt is when the run finished."
961
961
  }
962
962
  }