@cleocode/adapters 2026.7.1 → 2026.8.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/index.js +16 -1
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -12124,10 +12124,25 @@ var init_errors = __esm({
|
|
|
12124
12124
|
|
|
12125
12125
|
// packages/contracts/src/evidence-atom-schema.ts
|
|
12126
12126
|
import { z as z9 } from "zod";
|
|
12127
|
-
var commitAtomSchema, filesAtomSchema, testRunAtomSchema, toolAtomSchema, urlAtomSchema, noteAtomSchema, decisionAtomSchema, prAtomSchema, locDropAtomSchema, callsiteCoverageAtomSchema, AC_UUID_REGEX, AC_ALIAS_REGEX, SATISFIES_TASK_ID_REGEX, SATISFIES_VERSION_PIN_REGEX, satisfiesAtomSchema, EvidenceAtomSchema, GATE_EVIDENCE_REQUIREMENTS, ATOM_EXAMPLES;
|
|
12127
|
+
var EVIDENCE_ATOM_KINDS, PARSER_PREFIXES, KIND_BOUNDARY_REGEX, commitAtomSchema, filesAtomSchema, testRunAtomSchema, toolAtomSchema, urlAtomSchema, noteAtomSchema, decisionAtomSchema, prAtomSchema, locDropAtomSchema, callsiteCoverageAtomSchema, AC_UUID_REGEX, AC_ALIAS_REGEX, SATISFIES_TASK_ID_REGEX, SATISFIES_VERSION_PIN_REGEX, satisfiesAtomSchema, EvidenceAtomSchema, GATE_EVIDENCE_REQUIREMENTS, ATOM_EXAMPLES;
|
|
12128
12128
|
var init_evidence_atom_schema = __esm({
|
|
12129
12129
|
"packages/contracts/src/evidence-atom-schema.ts"() {
|
|
12130
12130
|
"use strict";
|
|
12131
|
+
EVIDENCE_ATOM_KINDS = [
|
|
12132
|
+
"commit",
|
|
12133
|
+
"files",
|
|
12134
|
+
"test-run",
|
|
12135
|
+
"tool",
|
|
12136
|
+
"url",
|
|
12137
|
+
"note",
|
|
12138
|
+
"decision",
|
|
12139
|
+
"pr",
|
|
12140
|
+
"loc-drop",
|
|
12141
|
+
"callsite-coverage",
|
|
12142
|
+
"satisfies"
|
|
12143
|
+
];
|
|
12144
|
+
PARSER_PREFIXES = [...EVIDENCE_ATOM_KINDS, "state"];
|
|
12145
|
+
KIND_BOUNDARY_REGEX = new RegExp(`;(?=\\s*(?:${PARSER_PREFIXES.join("|")})\\s*:)`, "g");
|
|
12131
12146
|
commitAtomSchema = z9.object({
|
|
12132
12147
|
kind: z9.literal("commit"),
|
|
12133
12148
|
sha: z9.string().regex(/^[0-9a-f]{7,40}$/i, "commit sha must be 7-40 hex characters")
|