@suss/ir-core 0.2.0 → 0.3.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.
@@ -24,7 +24,16 @@ var ConfidenceInfoSchema = z.object({
24
24
  var SourceLocationSchema = z.object({
25
25
  file: z.string(),
26
26
  range: z.object({ start: z.number(), end: z.number() }),
27
- exportName: z.string().nullable()
27
+ exportName: z.string().nullable(),
28
+ /**
29
+ * What the extract was pointed at, as that project calls itself.
30
+ *
31
+ * A path is relative to wherever the extract ran, so two services in
32
+ * one repository both say `src/handlers.ts` and merging their
33
+ * summaries puts them on top of each other. This is what tells them
34
+ * apart, and what a reader groups by.
35
+ */
36
+ workspace: z.string().optional()
28
37
  });
29
38
  var RestSemanticsSchema = z.object({
30
39
  name: z.literal("rest"),
package/dist/index.cjs CHANGED
@@ -91,7 +91,16 @@ var ConfidenceInfoSchema = import_zod.z.object({
91
91
  var SourceLocationSchema = import_zod.z.object({
92
92
  file: import_zod.z.string(),
93
93
  range: import_zod.z.object({ start: import_zod.z.number(), end: import_zod.z.number() }),
94
- exportName: import_zod.z.string().nullable()
94
+ exportName: import_zod.z.string().nullable(),
95
+ /**
96
+ * What the extract was pointed at, as that project calls itself.
97
+ *
98
+ * A path is relative to wherever the extract ran, so two services in
99
+ * one repository both say `src/handlers.ts` and merging their
100
+ * summaries puts them on top of each other. This is what tells them
101
+ * apart, and what a reader groups by.
102
+ */
103
+ workspace: import_zod.z.string().optional()
95
104
  });
96
105
  var RestSemanticsSchema = import_zod.z.object({
97
106
  name: import_zod.z.literal("rest"),
package/dist/index.js CHANGED
@@ -17,7 +17,7 @@ import {
17
17
  TypeShapeSchema,
18
18
  typeDefinitionKey,
19
19
  withDefinitionsInlined
20
- } from "./chunk-JIFTLUZX.js";
20
+ } from "./chunk-L4XGOS3I.js";
21
21
 
22
22
  // src/channel.ts
23
23
  function parseChannel(channel) {
package/dist/schemas.cjs CHANGED
@@ -65,7 +65,16 @@ var ConfidenceInfoSchema = import_zod.z.object({
65
65
  var SourceLocationSchema = import_zod.z.object({
66
66
  file: import_zod.z.string(),
67
67
  range: import_zod.z.object({ start: import_zod.z.number(), end: import_zod.z.number() }),
68
- exportName: import_zod.z.string().nullable()
68
+ exportName: import_zod.z.string().nullable(),
69
+ /**
70
+ * What the extract was pointed at, as that project calls itself.
71
+ *
72
+ * A path is relative to wherever the extract ran, so two services in
73
+ * one repository both say `src/handlers.ts` and merging their
74
+ * summaries puts them on top of each other. This is what tells them
75
+ * apart, and what a reader groups by.
76
+ */
77
+ workspace: import_zod.z.string().optional()
69
78
  });
70
79
  var RestSemanticsSchema = import_zod.z.object({
71
80
  name: import_zod.z.literal("rest"),
@@ -64,6 +64,7 @@ declare const SourceLocationSchema: z.ZodObject<{
64
64
  end: z.ZodNumber;
65
65
  }, z.core.$strip>;
66
66
  exportName: z.ZodNullable<z.ZodString>;
67
+ workspace: z.ZodOptional<z.ZodString>;
67
68
  }, z.core.$strip>;
68
69
  declare const RestSemanticsSchema: z.ZodObject<{
69
70
  name: z.ZodLiteral<"rest">;
package/dist/schemas.d.ts CHANGED
@@ -64,6 +64,7 @@ declare const SourceLocationSchema: z.ZodObject<{
64
64
  end: z.ZodNumber;
65
65
  }, z.core.$strip>;
66
66
  exportName: z.ZodNullable<z.ZodString>;
67
+ workspace: z.ZodOptional<z.ZodString>;
67
68
  }, z.core.$strip>;
68
69
  declare const RestSemanticsSchema: z.ZodObject<{
69
70
  name: z.ZodLiteral<"rest">;
package/dist/schemas.js CHANGED
@@ -17,7 +17,7 @@ import {
17
17
  TypeShapeSchema,
18
18
  typeDefinitionKey,
19
19
  withDefinitionsInlined
20
- } from "./chunk-JIFTLUZX.js";
20
+ } from "./chunk-L4XGOS3I.js";
21
21
  export {
22
22
  BoundaryBindingSchema,
23
23
  ConfidenceInfoSchema,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@suss/ir-core",
3
- "version": "0.2.0",
3
+ "version": "0.3.1",
4
4
  "type": "module",
5
5
  "description": "Shared IR primitives for suss — type shapes, boundary bindings, source locations, and confidence. Imported by both @suss/behavioral-ir and @suss/intent-ir so neither depends on the other.",
6
6
  "keywords": [