@maycombhq/sdk 2.0.0-beta.16 → 2.0.0-beta.18

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 (2) hide show
  1. package/npm/index.js +3 -3
  2. package/package.json +1 -1
package/npm/index.js CHANGED
@@ -3949,7 +3949,7 @@ var FrameworkModel = z19.strictObject({
3949
3949
  import { z as z20 } from "zod";
3950
3950
  var SCAN_SETTINGS_SCHEMA_VERSION = 1;
3951
3951
  var RepoGlob2 = z20.string().min(1).refine((p2) => !p2.startsWith("/") && !/^[a-zA-Z]:/.test(p2) && !p2.split("/").includes("..") && !p2.includes("\\"), "a path inside the repo, with forward slashes");
3952
- var At = z20.string().regex(/^[^\s:]+:\d+$/, "at must be path:line");
3952
+ var At = z20.string().regex(/^[^\s:](?:[^:\n]*[^\s:])?:\d+$/, "at must be path:line");
3953
3953
  var ScanSettings = z20.strictObject({
3954
3954
  schemaVersion: z20.literal(SCAN_SETTINGS_SCHEMA_VERSION),
3955
3955
  /** The repo id, as in the repo manifest; the file is named after it. */
@@ -3991,7 +3991,7 @@ import { z as z21 } from "zod";
3991
3991
  var QUESTION_SCHEMA_VERSION = 4;
3992
3992
  var QuestionSchemaVersion = z21.union([z21.literal(1), z21.literal(2), z21.literal(3), z21.literal(QUESTION_SCHEMA_VERSION)]).overwrite(() => QUESTION_SCHEMA_VERSION);
3993
3993
  var QuestionId = z21.string().regex(/^q-[0-9a-f]{12}$/, "a question id is q- and 12 hex");
3994
- var QuestionEvidence = z21.string().regex(/^[^\s:]+:\d+$/, "evidence is path:line");
3994
+ var QuestionEvidence = z21.string().regex(/^[^\s:](?:[^:\n]*[^\s:])?:\d+$/, "evidence is path:line");
3995
3995
  var QuestionState = z21.enum(["open", "answered", "retired"]);
3996
3996
  var QuestionScopeLevel = z21.enum(["repo", "repo-type"]);
3997
3997
  var QuestionScope = z21.strictObject({
@@ -4798,7 +4798,7 @@ var Recording = z26.strictObject({
4798
4798
  import { z as z28 } from "zod";
4799
4799
  var SCAN_VERIFY_SCHEMA_VERSION = 1;
4800
4800
  var VerifyFactKind = z28.enum(["entry-point", "call", "table", "deployment", "other"]);
4801
- var At2 = z28.string().regex(/^[^\s:]+:\d+$/, "at must be path:line");
4801
+ var At2 = z28.string().regex(/^[^\s:](?:[^:\n]*[^\s:])?:\d+$/, "at must be path:line");
4802
4802
  var VerifySettings = ScanSettings.pick({ exclude: true, prefixes: true, clients: true });
4803
4803
  var VerifyFix = z28.union([
4804
4804
  z28.strictObject({ settings: VerifySettings }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maycombhq/sdk",
3
- "version": "2.0.0-beta.16",
3
+ "version": "2.0.0-beta.18",
4
4
  "description": "Atticus plugin SDK (contract C4): interfaces for extractors, dialects, ingestors and adapters.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",