@c4a/context 0.7.10 → 0.7.11

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.
@@ -18,6 +18,25 @@ actual behavior, a confirmed decision, and a proposal that is not implemented.
18
18
 
19
19
  ## Keep planning local to the change
20
20
 
21
+ Before starting production, compare the proposed content with the workspace's
22
+ reader purpose. For clearly unrelated anecdotes or personal rankings, briefly
23
+ recommend leaving them out of the formal manual or saving them separately because
24
+ they can dilute useful retrieval. Attribution alone does not make content relevant.
25
+ This is advice, not a CLI gate: honor the user's informed choice without repeated
26
+ objections, while preserving subjective attribution and normal Review.
27
+
28
+ Registered repositories are not prerequisites for every new request. Restore only
29
+ sources needed to investigate or write the current task, including unchanged code
30
+ when its implementation needs checking. Notes, document-only work, wording edits
31
+ and navigation changes do not require unrelated checkouts. Retained article
32
+ references alone do not require restoring every referenced repository. Missing
33
+ material remains a gap; it must not be treated as investigated or permanently
34
+ excluded. Independent available material can proceed through planning and delivery.
35
+ For required code, use `context source recovery-plan <registered-name> --format json`.
36
+ Reuse a valid local checkout or obtain clone authorization for the returned pinned
37
+ version, then submit the decision using the returned recovery command and schema.
38
+ Do not restore all registered sources merely because a checkout is missing.
39
+
21
40
  For one or two documents or a clearly bounded module, retain the useful planning
22
41
  decision: add or revise which articles, and place them where readers expect them.
23
42
  Do not expand this into a whole-workspace taxonomy, full navigation redesign or
@@ -32,6 +51,14 @@ known-task input to combine preparation and task creation. It still prepares
32
51
  navigation and retains report confirmation; it is not a bypass for new source
33
52
  authorization. Planning depth is an Agent judgment, not an additional CLI gate.
34
53
 
54
+ For broad work, distinguish the whole requested outcome, the current batch and
55
+ remaining capability families or document tasks. Entry-first knowledge should
56
+ locate a checked file/symbol or source section and a concrete next step; a module
57
+ name alone is not problem coverage. When merging or revising, preserve useful
58
+ existing detail rather than replacing it with lookup advice. Review checks the
59
+ promised reader task; task completion and navigation binding only describe the
60
+ declared articles, not semantic coverage of all source material.
61
+
35
62
  ## First-task intake budget
36
63
 
37
64
  Before registration and capture, the Agent uses the user's task instructions and
@@ -422,11 +449,61 @@ knowledge structure and packages.
422
449
 
423
450
  To move an approved page, use `context revise "<old path>" --move-to "<new path>"
424
451
  --instruction "<requested move and content changes>" --format json`. The new
425
- path stays in the same collection. The revision retains the page identity,
452
+ path may use another supported knowledge collection. The revision retains the page identity,
426
453
  rebases outgoing links and updates incoming Markdown links at approval. A new
427
454
  subject name alone only needs a title/content revision; do not create duplicate
428
- pages. Retirement is a content decision: explain the inapplicable material and
429
- supported replacement before changing its page and referring navigation.
455
+ pages. Changing a website group alone does not require moving or reclassifying an article.
456
+
457
+ ### Restructure existing knowledge
458
+
459
+ Read the affected approved articles and current sources before deciding what to
460
+ keep, deepen, split, merge, retain as history or retire. Reuse the current plan
461
+ and remaining scope; a new article plan does not prove old content was preserved.
462
+ Work by reader task, not source or menu count.
463
+
464
+ For a split or merge, first approve destination content, then revise the original
465
+ and incoming links. Preserve useful details until their destination is available.
466
+ Same-page fragments use ordinary revision edits; cross-page work uses new/revision
467
+ tasks and explicit retirement. Finish each coherent batch's content and navigation
468
+ before delivery; inspect both new content and the old articles' disposition.
469
+
470
+ Preview approved-page retirement with `context task retire --input <file> --format json`:
471
+
472
+ ```yaml
473
+ reason: These reader tasks are now covered by the approved guide.
474
+ targets:
475
+ - path: architecture/old-guide.md
476
+ replacement: sop/current-guide.md
477
+ ```
478
+
479
+ `replacement` is optional and must already be approved, outside the retirement set.
480
+ Use several targets for a batch. Read affected files and blockers, then execute
481
+ the returned digest-bound apply command within the user's authorization; do not
482
+ ask for another confirmation when that retirement is already authorized.
483
+ `context task retire --schema --format yaml` describes the input.
484
+
485
+ Retirement removes selected Markdown and structure entries together, updates
486
+ page-level incoming Markdown links to explicit replacements, and rebinds page
487
+ navigation or removes retired navigation targets while retaining groups.
488
+ Repair fragment links explicitly first: the CLI cannot infer where a split moved
489
+ a paragraph. Without a replacement, repair incoming links before applying.
490
+ Finish active drafts/revisions first; unfinished production targeting a selected
491
+ page must be finished or amended rather than discarded.
492
+
493
+ Follow status and the normal close/version/build flow before delivery. Sources
494
+ and shared assets are not deleted. The response provides a temporary restore
495
+ input for the existing rollback preview, including exact previous article,
496
+ structure and modified navigation/link bytes. Retain that input or a Git baseline
497
+ if restoration is needed after temporary cleanup. Retry an interrupted apply
498
+ with the same input and digest; never delete runtime files to recover. Later
499
+ conflicting edits require inspection instead of blind rollback.
500
+
501
+ Historical pages with continuing reader value should normally retain their
502
+ applicable version. Source read failure, shorter new text or a changed menu is
503
+ not sufficient reason to retire an article.
504
+ Retirement does not narrow the registered production scope. If the user also
505
+ excludes the underlying topic from future work, record that through the existing
506
+ requirements/exclusion flow rather than assuming file removal changes the goal.
430
507
 
431
508
  ### Adjust inputs while a local update is unfinished
432
509
 
@@ -40,13 +40,51 @@ prefixes only, not filesystem output paths.
40
40
  kbPackage({
41
41
  name: "project-kb",
42
42
  template: "src/package-templates/kb",
43
- site: { title: "Project knowledge", lang: "en-US", base: "/" },
43
+ site: {
44
+ title: "Project knowledge",
45
+ lang: "en-US",
46
+ base: "/",
47
+ home: {
48
+ title: "Project knowledge",
49
+ slogan: "Find the context behind the work",
50
+ description: "Browse the approved knowledge map and supporting resources.",
51
+ resources: [{
52
+ title: "Project workspace",
53
+ description: "Open the repository that maintains this knowledge.",
54
+ href: "https://example.com/project",
55
+ featured: true,
56
+ }],
57
+ },
58
+ },
44
59
  });
45
60
  ```
46
61
 
47
62
  `site` is opt-in; omission keeps the existing KB-only output. Optional fields
48
63
  are `title` (defaults to the package name), `description`, `lang` (defaults to
49
64
  `en-US`), and `base` (defaults to `/`; use `/docs/` when hosted under that path).
65
+ `home` optionally customizes the landing-page `title`, `slogan`, `description`
66
+ and action buttons. Its `resources` list adds only configured repository,
67
+ service or support cards; each item requires a safe `href`, a copyable
68
+ `command`, or both. Set `featured: true` on a linked resource to also place it
69
+ between the Browse knowledge and LLM Docs hero actions. Do not add placeholders
70
+ for unknown destinations.
71
+
72
+ Configure resources from confirmed project settings, repository remotes or
73
+ successful publication receipts. If a service has not been created or its URL is
74
+ unknown, omit the resource object; empty strings are not placeholders. Missing
75
+ optional resources do not block building the site or authorize creating services.
76
+ After an authorized deployment succeeds, add its returned destination to the
77
+ existing resource list, avoiding duplicates. Rebuild when this changes the
78
+ configuration; updating the hosted site still requires publication authorization.
79
+
80
+ The homepage uses the first-level knowledge map as a complete site map. Each
81
+ section card previews a bounded number of page links and retains a link to the
82
+ full section, so large knowledge bases remain scannable without hiding top-level
83
+ coverage. LLM Docs and Changelog remain dedicated generated resources. On wide
84
+ screens the homepage content aligns with article content while preserving the
85
+ sidebar rail; on narrow screens it uses the available width. Motion is limited
86
+ to short card entrance and hover feedback and is disabled when the reader asks
87
+ the operating system to reduce motion.
50
88
  The website uses a full-width VitePress theme with system fonts, compact navigation,
51
89
  a wide reading area and a smaller article outline. It starts in
52
90
  light mode regardless of the operating system; an explicit reader choice is
@@ -148,7 +148,22 @@ kbPackage({
148
148
  name: "component-kb",
149
149
  template: "src/package-templates/kb",
150
150
  select: { collections: ["codeindex", "architecture"] },
151
- site: { title: "Component knowledge", lang: "en-US", base: "/" },
151
+ site: {
152
+ title: "Component knowledge",
153
+ lang: "en-US",
154
+ base: "/",
155
+ home: {
156
+ title: "Component knowledge",
157
+ slogan: "Build with the public contract in view",
158
+ description: "Browse components, usage guidance and implementation boundaries.",
159
+ resources: [{
160
+ title: "Project workspace",
161
+ description: "Open the repository that maintains this knowledge.",
162
+ href: "https://example.com/project",
163
+ featured: true,
164
+ }],
165
+ },
166
+ },
152
167
  });
153
168
 
154
169
  llmsPackage({
@@ -164,7 +179,11 @@ may be rebuilt; it is not an authoring source.
164
179
  `kbPackage.site` optionally adds a VitePress website at `dist/<base>-site/` in
165
180
  the same build, beside the KB directory. `<base>` removes one trailing `-kb`
166
181
  from the package name, if present. Omit it for KB-only output. It accepts `title`, `description`,
167
- `lang` and a deployment `base` path. Knowledge map is projected from
182
+ `lang`, a deployment `base` path, and an optional `home` presentation. `home`
183
+ accepts `title`, `slogan`, `description`, hero `actions`, and `resources` shown
184
+ below the generated site map. Each resource needs an `href`, a copyable
185
+ `command`, or both. Omit unknown resources; the builder never invents service
186
+ or repository links. Knowledge map is projected from
168
187
  `src/knowledge-map.yaml` independently of KB directories; see
169
188
  [Package Outputs](../guides/package-outputs.md#optional-static-documentation-website).
170
189
 
package/index.js CHANGED
@@ -10889,11 +10889,35 @@ var coerce = {
10889
10889
  };
10890
10890
  var NEVER = INVALID;
10891
10891
  // src/packageSite.ts
10892
+ var siteHrefSchema = exports_external.string().trim().min(1).refine((value) => /^(?:https?:\/\/|mailto:|\/(?!\/)|#)/u.test(value), "Use an https URL, mailto URL, root-relative path, or page anchor");
10893
+ var packageSiteHomeActionSchema = exports_external.object({
10894
+ text: exports_external.string().trim().min(1),
10895
+ link: siteHrefSchema,
10896
+ theme: exports_external.enum(["brand", "alt"]).optional()
10897
+ }).strict();
10898
+ var packageSiteHomeResourceSchema = exports_external.object({
10899
+ title: exports_external.string().trim().min(1),
10900
+ description: exports_external.string().trim().min(1).optional(),
10901
+ href: siteHrefSchema.optional(),
10902
+ action: exports_external.string().trim().min(1).optional(),
10903
+ command: exports_external.string().trim().min(1).optional(),
10904
+ featured: exports_external.boolean().optional()
10905
+ }).strict().refine((value) => value.href !== undefined || value.command !== undefined, {
10906
+ message: "A homepage resource requires href or command"
10907
+ });
10908
+ var packageSiteHomeSchema = exports_external.object({
10909
+ title: exports_external.string().trim().min(1).optional(),
10910
+ slogan: exports_external.string().trim().min(1).optional(),
10911
+ description: exports_external.string().trim().min(1).optional(),
10912
+ actions: exports_external.array(packageSiteHomeActionSchema).optional(),
10913
+ resources: exports_external.array(packageSiteHomeResourceSchema).optional()
10914
+ }).strict();
10892
10915
  var packageSiteSchema = exports_external.object({
10893
10916
  title: exports_external.string().trim().min(1).optional(),
10894
10917
  description: exports_external.string().optional(),
10895
10918
  lang: exports_external.string().min(1).default("en-US"),
10896
- base: exports_external.string().regex(/^\/(?:[a-zA-Z0-9_-]+\/)*$/, "Use / or a slash-delimited deployment path, such as /docs/").default("/")
10919
+ base: exports_external.string().regex(/^\/(?:[a-zA-Z0-9_-]+\/)*$/, "Use / or a slash-delimited deployment path, such as /docs/").default("/"),
10920
+ home: packageSiteHomeSchema.optional()
10897
10921
  }).strict();
10898
10922
  function normalizePackageSite(value) {
10899
10923
  return value === undefined ? undefined : packageSiteSchema.parse(value);
@@ -10,11 +10,11 @@ export declare const indexerArtifactPolicyEligibilitySchema: z.ZodObject<{
10
10
  path: z.ZodString;
11
11
  value: z.ZodType<IndexerJson, z.ZodTypeDef, IndexerJson>;
12
12
  }, "strict", z.ZodTypeAny, {
13
- value: IndexerJson;
14
13
  path: string;
15
- }, {
16
14
  value: IndexerJson;
15
+ }, {
17
16
  path: string;
17
+ value: IndexerJson;
18
18
  }>, "many">;
19
19
  provider_supported_variants: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
20
20
  eligible_variants: z.ZodArray<z.ZodObject<{
@@ -71,8 +71,8 @@ export declare const indexerArtifactPolicyEligibilitySchema: z.ZodObject<{
71
71
  profile_id: string;
72
72
  profile_contract_digest: string;
73
73
  canonical_facts: {
74
- value: IndexerJson;
75
74
  path: string;
75
+ value: IndexerJson;
76
76
  }[];
77
77
  provider_supported_variants: string[];
78
78
  eligible_variants: {
@@ -94,8 +94,8 @@ export declare const indexerArtifactPolicyEligibilitySchema: z.ZodObject<{
94
94
  profile_id: string;
95
95
  profile_contract_digest: string;
96
96
  canonical_facts: {
97
- value: IndexerJson;
98
97
  path: string;
98
+ value: IndexerJson;
99
99
  }[];
100
100
  provider_supported_variants: string[];
101
101
  eligible_variants: {
@@ -5131,6 +5131,13 @@ export declare const indexerControlledProgramRequestSchema: z.ZodObject<{
5131
5131
  }>;
5132
5132
  primary_execution_fingerprint: z.ZodString;
5133
5133
  }, "strict", z.ZodTypeAny, {
5134
+ resources: {
5135
+ ref: string;
5136
+ kind: string;
5137
+ digest: string;
5138
+ layer_ref: string;
5139
+ phase: "primary" | "pre-authority";
5140
+ }[];
5134
5141
  protocol: "context.indexer.primary-execution-projection/v1";
5135
5142
  indexer_id: string;
5136
5143
  program_digest: string | null;
@@ -5142,13 +5149,6 @@ export declare const indexerControlledProgramRequestSchema: z.ZodObject<{
5142
5149
  template_set_digest: string;
5143
5150
  config_digest: string;
5144
5151
  cli_contract_digest: string;
5145
- resources: {
5146
- ref: string;
5147
- kind: string;
5148
- digest: string;
5149
- layer_ref: string;
5150
- phase: "primary" | "pre-authority";
5151
- }[];
5152
5152
  shared_artifact_fingerprint: {
5153
5153
  protocol: "context.indexer.shared-artifact-fingerprint/v1";
5154
5154
  indexer_id: string;
@@ -5158,6 +5158,13 @@ export declare const indexerControlledProgramRequestSchema: z.ZodObject<{
5158
5158
  fingerprint_digest: string;
5159
5159
  };
5160
5160
  }, {
5161
+ resources: {
5162
+ ref: string;
5163
+ kind: string;
5164
+ digest: string;
5165
+ layer_ref: string;
5166
+ phase: "primary" | "pre-authority";
5167
+ }[];
5161
5168
  protocol: "context.indexer.primary-execution-projection/v1";
5162
5169
  indexer_id: string;
5163
5170
  program_digest: string | null;
@@ -5169,13 +5176,6 @@ export declare const indexerControlledProgramRequestSchema: z.ZodObject<{
5169
5176
  template_set_digest: string;
5170
5177
  config_digest: string;
5171
5178
  cli_contract_digest: string;
5172
- resources: {
5173
- ref: string;
5174
- kind: string;
5175
- digest: string;
5176
- layer_ref: string;
5177
- phase: "primary" | "pre-authority";
5178
- }[];
5179
5179
  shared_artifact_fingerprint: {
5180
5180
  protocol: "context.indexer.shared-artifact-fingerprint/v1";
5181
5181
  indexer_id: string;
@@ -5185,6 +5185,13 @@ export declare const indexerControlledProgramRequestSchema: z.ZodObject<{
5185
5185
  fingerprint_digest: string;
5186
5186
  };
5187
5187
  }>, {
5188
+ resources: {
5189
+ ref: string;
5190
+ kind: string;
5191
+ digest: string;
5192
+ layer_ref: string;
5193
+ phase: "primary" | "pre-authority";
5194
+ }[];
5188
5195
  protocol: "context.indexer.primary-execution-projection/v1";
5189
5196
  indexer_id: string;
5190
5197
  program_digest: string | null;
@@ -5196,13 +5203,6 @@ export declare const indexerControlledProgramRequestSchema: z.ZodObject<{
5196
5203
  template_set_digest: string;
5197
5204
  config_digest: string;
5198
5205
  cli_contract_digest: string;
5199
- resources: {
5200
- ref: string;
5201
- kind: string;
5202
- digest: string;
5203
- layer_ref: string;
5204
- phase: "primary" | "pre-authority";
5205
- }[];
5206
5206
  shared_artifact_fingerprint: {
5207
5207
  protocol: "context.indexer.shared-artifact-fingerprint/v1";
5208
5208
  indexer_id: string;
@@ -5212,6 +5212,13 @@ export declare const indexerControlledProgramRequestSchema: z.ZodObject<{
5212
5212
  fingerprint_digest: string;
5213
5213
  };
5214
5214
  }, {
5215
+ resources: {
5216
+ ref: string;
5217
+ kind: string;
5218
+ digest: string;
5219
+ layer_ref: string;
5220
+ phase: "primary" | "pre-authority";
5221
+ }[];
5215
5222
  protocol: "context.indexer.primary-execution-projection/v1";
5216
5223
  indexer_id: string;
5217
5224
  program_digest: string | null;
@@ -5223,13 +5230,6 @@ export declare const indexerControlledProgramRequestSchema: z.ZodObject<{
5223
5230
  template_set_digest: string;
5224
5231
  config_digest: string;
5225
5232
  cli_contract_digest: string;
5226
- resources: {
5227
- ref: string;
5228
- kind: string;
5229
- digest: string;
5230
- layer_ref: string;
5231
- phase: "primary" | "pre-authority";
5232
- }[];
5233
5233
  shared_artifact_fingerprint: {
5234
5234
  protocol: "context.indexer.shared-artifact-fingerprint/v1";
5235
5235
  indexer_id: string;
@@ -5250,6 +5250,13 @@ export declare const indexerControlledProgramRequestSchema: z.ZodObject<{
5250
5250
  metric_set_digest: string;
5251
5251
  dependency_view_digest: string | null;
5252
5252
  primary_execution_projection: {
5253
+ resources: {
5254
+ ref: string;
5255
+ kind: string;
5256
+ digest: string;
5257
+ layer_ref: string;
5258
+ phase: "primary" | "pre-authority";
5259
+ }[];
5253
5260
  protocol: "context.indexer.primary-execution-projection/v1";
5254
5261
  indexer_id: string;
5255
5262
  program_digest: string | null;
@@ -5261,13 +5268,6 @@ export declare const indexerControlledProgramRequestSchema: z.ZodObject<{
5261
5268
  template_set_digest: string;
5262
5269
  config_digest: string;
5263
5270
  cli_contract_digest: string;
5264
- resources: {
5265
- ref: string;
5266
- kind: string;
5267
- digest: string;
5268
- layer_ref: string;
5269
- phase: "primary" | "pre-authority";
5270
- }[];
5271
5271
  shared_artifact_fingerprint: {
5272
5272
  protocol: "context.indexer.shared-artifact-fingerprint/v1";
5273
5273
  indexer_id: string;
@@ -5287,6 +5287,13 @@ export declare const indexerControlledProgramRequestSchema: z.ZodObject<{
5287
5287
  metric_set_digest: string;
5288
5288
  dependency_view_digest: string | null;
5289
5289
  primary_execution_projection: {
5290
+ resources: {
5291
+ ref: string;
5292
+ kind: string;
5293
+ digest: string;
5294
+ layer_ref: string;
5295
+ phase: "primary" | "pre-authority";
5296
+ }[];
5290
5297
  protocol: "context.indexer.primary-execution-projection/v1";
5291
5298
  indexer_id: string;
5292
5299
  program_digest: string | null;
@@ -5298,13 +5305,6 @@ export declare const indexerControlledProgramRequestSchema: z.ZodObject<{
5298
5305
  template_set_digest: string;
5299
5306
  config_digest: string;
5300
5307
  cli_contract_digest: string;
5301
- resources: {
5302
- ref: string;
5303
- kind: string;
5304
- digest: string;
5305
- layer_ref: string;
5306
- phase: "primary" | "pre-authority";
5307
- }[];
5308
5308
  shared_artifact_fingerprint: {
5309
5309
  protocol: "context.indexer.shared-artifact-fingerprint/v1";
5310
5310
  indexer_id: string;
@@ -5576,6 +5576,13 @@ export declare const indexerControlledProgramRequestSchema: z.ZodObject<{
5576
5576
  metric_set_digest: string;
5577
5577
  dependency_view_digest: string | null;
5578
5578
  primary_execution_projection: {
5579
+ resources: {
5580
+ ref: string;
5581
+ kind: string;
5582
+ digest: string;
5583
+ layer_ref: string;
5584
+ phase: "primary" | "pre-authority";
5585
+ }[];
5579
5586
  protocol: "context.indexer.primary-execution-projection/v1";
5580
5587
  indexer_id: string;
5581
5588
  program_digest: string | null;
@@ -5587,13 +5594,6 @@ export declare const indexerControlledProgramRequestSchema: z.ZodObject<{
5587
5594
  template_set_digest: string;
5588
5595
  config_digest: string;
5589
5596
  cli_contract_digest: string;
5590
- resources: {
5591
- ref: string;
5592
- kind: string;
5593
- digest: string;
5594
- layer_ref: string;
5595
- phase: "primary" | "pre-authority";
5596
- }[];
5597
5597
  shared_artifact_fingerprint: {
5598
5598
  protocol: "context.indexer.shared-artifact-fingerprint/v1";
5599
5599
  indexer_id: string;
@@ -5818,6 +5818,13 @@ export declare const indexerControlledProgramRequestSchema: z.ZodObject<{
5818
5818
  metric_set_digest: string;
5819
5819
  dependency_view_digest: string | null;
5820
5820
  primary_execution_projection: {
5821
+ resources: {
5822
+ ref: string;
5823
+ kind: string;
5824
+ digest: string;
5825
+ layer_ref: string;
5826
+ phase: "primary" | "pre-authority";
5827
+ }[];
5821
5828
  protocol: "context.indexer.primary-execution-projection/v1";
5822
5829
  indexer_id: string;
5823
5830
  program_digest: string | null;
@@ -5829,13 +5836,6 @@ export declare const indexerControlledProgramRequestSchema: z.ZodObject<{
5829
5836
  template_set_digest: string;
5830
5837
  config_digest: string;
5831
5838
  cli_contract_digest: string;
5832
- resources: {
5833
- ref: string;
5834
- kind: string;
5835
- digest: string;
5836
- layer_ref: string;
5837
- phase: "primary" | "pre-authority";
5838
- }[];
5839
5839
  shared_artifact_fingerprint: {
5840
5840
  protocol: "context.indexer.shared-artifact-fingerprint/v1";
5841
5841
  indexer_id: string;
@@ -6121,6 +6121,13 @@ export declare const indexerControlledProgramRequestSchema: z.ZodObject<{
6121
6121
  metric_set_digest: string;
6122
6122
  dependency_view_digest: string | null;
6123
6123
  primary_execution_projection: {
6124
+ resources: {
6125
+ ref: string;
6126
+ kind: string;
6127
+ digest: string;
6128
+ layer_ref: string;
6129
+ phase: "primary" | "pre-authority";
6130
+ }[];
6124
6131
  protocol: "context.indexer.primary-execution-projection/v1";
6125
6132
  indexer_id: string;
6126
6133
  program_digest: string | null;
@@ -6132,13 +6139,6 @@ export declare const indexerControlledProgramRequestSchema: z.ZodObject<{
6132
6139
  template_set_digest: string;
6133
6140
  config_digest: string;
6134
6141
  cli_contract_digest: string;
6135
- resources: {
6136
- ref: string;
6137
- kind: string;
6138
- digest: string;
6139
- layer_ref: string;
6140
- phase: "primary" | "pre-authority";
6141
- }[];
6142
6142
  shared_artifact_fingerprint: {
6143
6143
  protocol: "context.indexer.shared-artifact-fingerprint/v1";
6144
6144
  indexer_id: string;
@@ -6423,6 +6423,13 @@ export declare const indexerControlledProgramRequestSchema: z.ZodObject<{
6423
6423
  metric_set_digest: string;
6424
6424
  dependency_view_digest: string | null;
6425
6425
  primary_execution_projection: {
6426
+ resources: {
6427
+ ref: string;
6428
+ kind: string;
6429
+ digest: string;
6430
+ layer_ref: string;
6431
+ phase: "primary" | "pre-authority";
6432
+ }[];
6426
6433
  protocol: "context.indexer.primary-execution-projection/v1";
6427
6434
  indexer_id: string;
6428
6435
  program_digest: string | null;
@@ -6434,13 +6441,6 @@ export declare const indexerControlledProgramRequestSchema: z.ZodObject<{
6434
6441
  template_set_digest: string;
6435
6442
  config_digest: string;
6436
6443
  cli_contract_digest: string;
6437
- resources: {
6438
- ref: string;
6439
- kind: string;
6440
- digest: string;
6441
- layer_ref: string;
6442
- phase: "primary" | "pre-authority";
6443
- }[];
6444
6444
  shared_artifact_fingerprint: {
6445
6445
  protocol: "context.indexer.shared-artifact-fingerprint/v1";
6446
6446
  indexer_id: string;