@kadj-amoah/showrunner 1.1.6 → 1.1.8

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.d.ts CHANGED
@@ -630,12 +630,21 @@ declare const showrunnerConfigSchema: z.ZodObject<{
630
630
  project: z.ZodObject<{
631
631
  name: z.ZodString;
632
632
  product_model: z.ZodOptional<z.ZodString>;
633
+ /**
634
+ * Path to the product's codebase, resolved relative to demo.yaml's directory.
635
+ * Used by `understand --agent` to anchor the agent's exploration.
636
+ * Defaults to `..` because the canonical scaffold layout places the
637
+ * Showrunner project inside or beside the product directory.
638
+ */
639
+ codebase_root: z.ZodOptional<z.ZodString>;
633
640
  }, "strip", z.ZodTypeAny, {
634
641
  name: string;
635
642
  product_model?: string | undefined;
643
+ codebase_root?: string | undefined;
636
644
  }, {
637
645
  name: string;
638
646
  product_model?: string | undefined;
647
+ codebase_root?: string | undefined;
639
648
  }>;
640
649
  comprehension: z.ZodDefault<z.ZodObject<{
641
650
  mode: z.ZodDefault<z.ZodEnum<["documents", "interactive"]>>;
@@ -2090,6 +2099,7 @@ declare const showrunnerConfigSchema: z.ZodObject<{
2090
2099
  project: {
2091
2100
  name: string;
2092
2101
  product_model?: string | undefined;
2102
+ codebase_root?: string | undefined;
2093
2103
  };
2094
2104
  recording: {
2095
2105
  target_url: string;
@@ -2328,6 +2338,7 @@ declare const showrunnerConfigSchema: z.ZodObject<{
2328
2338
  project: {
2329
2339
  name: string;
2330
2340
  product_model?: string | undefined;
2341
+ codebase_root?: string | undefined;
2331
2342
  };
2332
2343
  recording: {
2333
2344
  target_url: string;
package/dist/index.js CHANGED
@@ -8,7 +8,14 @@ import "zod";
8
8
  import { z } from "zod";
9
9
  var projectSchema = z.object({
10
10
  name: z.string().min(1),
11
- product_model: z.string().optional()
11
+ product_model: z.string().optional(),
12
+ /**
13
+ * Path to the product's codebase, resolved relative to demo.yaml's directory.
14
+ * Used by `understand --agent` to anchor the agent's exploration.
15
+ * Defaults to `..` because the canonical scaffold layout places the
16
+ * Showrunner project inside or beside the product directory.
17
+ */
18
+ codebase_root: z.string().optional()
12
19
  });
13
20
  var comprehensionSourceSchema = z.object({
14
21
  type: z.enum(["prd", "readme", "codebase", "openapi", "changelog", "custom"]),