@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.
@@ -64,6 +64,13 @@ export declare const indexerRunEnvironmentSchema: z.ZodObject<{
64
64
  }>;
65
65
  primary_execution_fingerprint: z.ZodString;
66
66
  }, "strict", z.ZodTypeAny, {
67
+ resources: {
68
+ ref: string;
69
+ kind: string;
70
+ digest: string;
71
+ layer_ref: string;
72
+ phase: "primary" | "pre-authority";
73
+ }[];
67
74
  protocol: "context.indexer.primary-execution-projection/v1";
68
75
  indexer_id: string;
69
76
  program_digest: string | null;
@@ -75,13 +82,6 @@ export declare const indexerRunEnvironmentSchema: z.ZodObject<{
75
82
  template_set_digest: string;
76
83
  config_digest: string;
77
84
  cli_contract_digest: string;
78
- resources: {
79
- ref: string;
80
- kind: string;
81
- digest: string;
82
- layer_ref: string;
83
- phase: "primary" | "pre-authority";
84
- }[];
85
85
  shared_artifact_fingerprint: {
86
86
  protocol: "context.indexer.shared-artifact-fingerprint/v1";
87
87
  indexer_id: string;
@@ -91,6 +91,13 @@ export declare const indexerRunEnvironmentSchema: z.ZodObject<{
91
91
  fingerprint_digest: string;
92
92
  };
93
93
  }, {
94
+ resources: {
95
+ ref: string;
96
+ kind: string;
97
+ digest: string;
98
+ layer_ref: string;
99
+ phase: "primary" | "pre-authority";
100
+ }[];
94
101
  protocol: "context.indexer.primary-execution-projection/v1";
95
102
  indexer_id: string;
96
103
  program_digest: string | null;
@@ -102,13 +109,6 @@ export declare const indexerRunEnvironmentSchema: z.ZodObject<{
102
109
  template_set_digest: string;
103
110
  config_digest: string;
104
111
  cli_contract_digest: string;
105
- resources: {
106
- ref: string;
107
- kind: string;
108
- digest: string;
109
- layer_ref: string;
110
- phase: "primary" | "pre-authority";
111
- }[];
112
112
  shared_artifact_fingerprint: {
113
113
  protocol: "context.indexer.shared-artifact-fingerprint/v1";
114
114
  indexer_id: string;
@@ -118,6 +118,13 @@ export declare const indexerRunEnvironmentSchema: z.ZodObject<{
118
118
  fingerprint_digest: string;
119
119
  };
120
120
  }>, {
121
+ resources: {
122
+ ref: string;
123
+ kind: string;
124
+ digest: string;
125
+ layer_ref: string;
126
+ phase: "primary" | "pre-authority";
127
+ }[];
121
128
  protocol: "context.indexer.primary-execution-projection/v1";
122
129
  indexer_id: string;
123
130
  program_digest: string | null;
@@ -129,13 +136,6 @@ export declare const indexerRunEnvironmentSchema: z.ZodObject<{
129
136
  template_set_digest: string;
130
137
  config_digest: string;
131
138
  cli_contract_digest: string;
132
- resources: {
133
- ref: string;
134
- kind: string;
135
- digest: string;
136
- layer_ref: string;
137
- phase: "primary" | "pre-authority";
138
- }[];
139
139
  shared_artifact_fingerprint: {
140
140
  protocol: "context.indexer.shared-artifact-fingerprint/v1";
141
141
  indexer_id: string;
@@ -145,6 +145,13 @@ export declare const indexerRunEnvironmentSchema: z.ZodObject<{
145
145
  fingerprint_digest: string;
146
146
  };
147
147
  }, {
148
+ resources: {
149
+ ref: string;
150
+ kind: string;
151
+ digest: string;
152
+ layer_ref: string;
153
+ phase: "primary" | "pre-authority";
154
+ }[];
148
155
  protocol: "context.indexer.primary-execution-projection/v1";
149
156
  indexer_id: string;
150
157
  program_digest: string | null;
@@ -156,13 +163,6 @@ export declare const indexerRunEnvironmentSchema: z.ZodObject<{
156
163
  template_set_digest: string;
157
164
  config_digest: string;
158
165
  cli_contract_digest: string;
159
- resources: {
160
- ref: string;
161
- kind: string;
162
- digest: string;
163
- layer_ref: string;
164
- phase: "primary" | "pre-authority";
165
- }[];
166
166
  shared_artifact_fingerprint: {
167
167
  protocol: "context.indexer.shared-artifact-fingerprint/v1";
168
168
  indexer_id: string;
@@ -183,6 +183,13 @@ export declare const indexerRunEnvironmentSchema: z.ZodObject<{
183
183
  metric_set_digest: string;
184
184
  dependency_view_digest: string | null;
185
185
  primary_execution_projection: {
186
+ resources: {
187
+ ref: string;
188
+ kind: string;
189
+ digest: string;
190
+ layer_ref: string;
191
+ phase: "primary" | "pre-authority";
192
+ }[];
186
193
  protocol: "context.indexer.primary-execution-projection/v1";
187
194
  indexer_id: string;
188
195
  program_digest: string | null;
@@ -194,13 +201,6 @@ export declare const indexerRunEnvironmentSchema: z.ZodObject<{
194
201
  template_set_digest: string;
195
202
  config_digest: string;
196
203
  cli_contract_digest: string;
197
- resources: {
198
- ref: string;
199
- kind: string;
200
- digest: string;
201
- layer_ref: string;
202
- phase: "primary" | "pre-authority";
203
- }[];
204
204
  shared_artifact_fingerprint: {
205
205
  protocol: "context.indexer.shared-artifact-fingerprint/v1";
206
206
  indexer_id: string;
@@ -220,6 +220,13 @@ export declare const indexerRunEnvironmentSchema: z.ZodObject<{
220
220
  metric_set_digest: string;
221
221
  dependency_view_digest: string | null;
222
222
  primary_execution_projection: {
223
+ resources: {
224
+ ref: string;
225
+ kind: string;
226
+ digest: string;
227
+ layer_ref: string;
228
+ phase: "primary" | "pre-authority";
229
+ }[];
223
230
  protocol: "context.indexer.primary-execution-projection/v1";
224
231
  indexer_id: string;
225
232
  program_digest: string | null;
@@ -231,13 +238,6 @@ export declare const indexerRunEnvironmentSchema: z.ZodObject<{
231
238
  template_set_digest: string;
232
239
  config_digest: string;
233
240
  cli_contract_digest: string;
234
- resources: {
235
- ref: string;
236
- kind: string;
237
- digest: string;
238
- layer_ref: string;
239
- phase: "primary" | "pre-authority";
240
- }[];
241
241
  shared_artifact_fingerprint: {
242
242
  protocol: "context.indexer.shared-artifact-fingerprint/v1";
243
243
  indexer_id: string;
@@ -14166,13 +14166,13 @@ export declare const sourceUpdateSemanticInputSchema: z.ZodObject<{
14166
14166
  source_refs: z.ZodArray<z.ZodString, "many">;
14167
14167
  instruction: z.ZodString;
14168
14168
  }, "strict", z.ZodTypeAny, {
14169
- title: string;
14170
14169
  path: string;
14170
+ title: string;
14171
14171
  instruction: string;
14172
14172
  source_refs: string[];
14173
14173
  }, {
14174
- title: string;
14175
14174
  path: string;
14175
+ title: string;
14176
14176
  instruction: string;
14177
14177
  source_refs: string[];
14178
14178
  }>, "many">;
@@ -14185,8 +14185,8 @@ export declare const sourceUpdateSemanticInputSchema: z.ZodObject<{
14185
14185
  }[];
14186
14186
  scope_summary: string;
14187
14187
  new_topics: {
14188
- title: string;
14189
14188
  path: string;
14189
+ title: string;
14190
14190
  instruction: string;
14191
14191
  source_refs: string[];
14192
14192
  }[];
@@ -14199,8 +14199,8 @@ export declare const sourceUpdateSemanticInputSchema: z.ZodObject<{
14199
14199
  }[];
14200
14200
  scope_summary: string;
14201
14201
  new_topics: {
14202
- title: string;
14203
14202
  path: string;
14203
+ title: string;
14204
14204
  instruction: string;
14205
14205
  source_refs: string[];
14206
14206
  }[];
@@ -14229,13 +14229,13 @@ export declare const indexerCurrentActionInputDefinitions: {
14229
14229
  source_refs: z.ZodArray<z.ZodString, "many">;
14230
14230
  instruction: z.ZodString;
14231
14231
  }, "strict", z.ZodTypeAny, {
14232
- title: string;
14233
14232
  path: string;
14233
+ title: string;
14234
14234
  instruction: string;
14235
14235
  source_refs: string[];
14236
14236
  }, {
14237
- title: string;
14238
14237
  path: string;
14238
+ title: string;
14239
14239
  instruction: string;
14240
14240
  source_refs: string[];
14241
14241
  }>, "many">;
@@ -14248,8 +14248,8 @@ export declare const indexerCurrentActionInputDefinitions: {
14248
14248
  }[];
14249
14249
  scope_summary: string;
14250
14250
  new_topics: {
14251
- title: string;
14252
14251
  path: string;
14252
+ title: string;
14253
14253
  instruction: string;
14254
14254
  source_refs: string[];
14255
14255
  }[];
@@ -14262,8 +14262,8 @@ export declare const indexerCurrentActionInputDefinitions: {
14262
14262
  }[];
14263
14263
  scope_summary: string;
14264
14264
  new_topics: {
14265
- title: string;
14266
14265
  path: string;
14266
+ title: string;
14267
14267
  instruction: string;
14268
14268
  source_refs: string[];
14269
14269
  }[];
@@ -24678,13 +24678,13 @@ export declare const indexerCurrentActionInputSchema: z.ZodUnion<[z.ZodObject<{
24678
24678
  source_refs: z.ZodArray<z.ZodString, "many">;
24679
24679
  instruction: z.ZodString;
24680
24680
  }, "strict", z.ZodTypeAny, {
24681
- title: string;
24682
24681
  path: string;
24682
+ title: string;
24683
24683
  instruction: string;
24684
24684
  source_refs: string[];
24685
24685
  }, {
24686
- title: string;
24687
24686
  path: string;
24687
+ title: string;
24688
24688
  instruction: string;
24689
24689
  source_refs: string[];
24690
24690
  }>, "many">;
@@ -24697,8 +24697,8 @@ export declare const indexerCurrentActionInputSchema: z.ZodUnion<[z.ZodObject<{
24697
24697
  }[];
24698
24698
  scope_summary: string;
24699
24699
  new_topics: {
24700
- title: string;
24701
24700
  path: string;
24701
+ title: string;
24702
24702
  instruction: string;
24703
24703
  source_refs: string[];
24704
24704
  }[];
@@ -24711,8 +24711,8 @@ export declare const indexerCurrentActionInputSchema: z.ZodUnion<[z.ZodObject<{
24711
24711
  }[];
24712
24712
  scope_summary: string;
24713
24713
  new_topics: {
24714
- title: string;
24715
24714
  path: string;
24715
+ title: string;
24716
24716
  instruction: string;
24717
24717
  source_refs: string[];
24718
24718
  }[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@c4a/context",
3
- "version": "0.7.10",
3
+ "version": "0.7.11",
4
4
  "type": "module",
5
5
  "description": "Declarative SDK for Context knowledge sources, workflows, review, and package outputs",
6
6
  "license": "MIT",
package/packageSite.d.ts CHANGED
@@ -5,16 +5,140 @@ export declare const packageSiteSchema: z.ZodObject<{
5
5
  description: z.ZodOptional<z.ZodString>;
6
6
  lang: z.ZodDefault<z.ZodString>;
7
7
  base: z.ZodDefault<z.ZodString>;
8
+ home: z.ZodOptional<z.ZodObject<{
9
+ title: z.ZodOptional<z.ZodString>;
10
+ slogan: z.ZodOptional<z.ZodString>;
11
+ description: z.ZodOptional<z.ZodString>;
12
+ actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
13
+ text: z.ZodString;
14
+ link: z.ZodEffects<z.ZodString, string, string>;
15
+ theme: z.ZodOptional<z.ZodEnum<["brand", "alt"]>>;
16
+ }, "strict", z.ZodTypeAny, {
17
+ text: string;
18
+ link: string;
19
+ theme?: "brand" | "alt" | undefined;
20
+ }, {
21
+ text: string;
22
+ link: string;
23
+ theme?: "brand" | "alt" | undefined;
24
+ }>, "many">>;
25
+ resources: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
26
+ title: z.ZodString;
27
+ description: z.ZodOptional<z.ZodString>;
28
+ href: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
29
+ action: z.ZodOptional<z.ZodString>;
30
+ command: z.ZodOptional<z.ZodString>;
31
+ featured: z.ZodOptional<z.ZodBoolean>;
32
+ }, "strict", z.ZodTypeAny, {
33
+ title: string;
34
+ description?: string | undefined;
35
+ href?: string | undefined;
36
+ action?: string | undefined;
37
+ command?: string | undefined;
38
+ featured?: boolean | undefined;
39
+ }, {
40
+ title: string;
41
+ description?: string | undefined;
42
+ href?: string | undefined;
43
+ action?: string | undefined;
44
+ command?: string | undefined;
45
+ featured?: boolean | undefined;
46
+ }>, {
47
+ title: string;
48
+ description?: string | undefined;
49
+ href?: string | undefined;
50
+ action?: string | undefined;
51
+ command?: string | undefined;
52
+ featured?: boolean | undefined;
53
+ }, {
54
+ title: string;
55
+ description?: string | undefined;
56
+ href?: string | undefined;
57
+ action?: string | undefined;
58
+ command?: string | undefined;
59
+ featured?: boolean | undefined;
60
+ }>, "many">>;
61
+ }, "strict", z.ZodTypeAny, {
62
+ title?: string | undefined;
63
+ description?: string | undefined;
64
+ slogan?: string | undefined;
65
+ actions?: {
66
+ text: string;
67
+ link: string;
68
+ theme?: "brand" | "alt" | undefined;
69
+ }[] | undefined;
70
+ resources?: {
71
+ title: string;
72
+ description?: string | undefined;
73
+ href?: string | undefined;
74
+ action?: string | undefined;
75
+ command?: string | undefined;
76
+ featured?: boolean | undefined;
77
+ }[] | undefined;
78
+ }, {
79
+ title?: string | undefined;
80
+ description?: string | undefined;
81
+ slogan?: string | undefined;
82
+ actions?: {
83
+ text: string;
84
+ link: string;
85
+ theme?: "brand" | "alt" | undefined;
86
+ }[] | undefined;
87
+ resources?: {
88
+ title: string;
89
+ description?: string | undefined;
90
+ href?: string | undefined;
91
+ action?: string | undefined;
92
+ command?: string | undefined;
93
+ featured?: boolean | undefined;
94
+ }[] | undefined;
95
+ }>>;
8
96
  }, "strict", z.ZodTypeAny, {
9
97
  lang: string;
10
98
  base: string;
11
99
  title?: string | undefined;
12
100
  description?: string | undefined;
101
+ home?: {
102
+ title?: string | undefined;
103
+ description?: string | undefined;
104
+ slogan?: string | undefined;
105
+ actions?: {
106
+ text: string;
107
+ link: string;
108
+ theme?: "brand" | "alt" | undefined;
109
+ }[] | undefined;
110
+ resources?: {
111
+ title: string;
112
+ description?: string | undefined;
113
+ href?: string | undefined;
114
+ action?: string | undefined;
115
+ command?: string | undefined;
116
+ featured?: boolean | undefined;
117
+ }[] | undefined;
118
+ } | undefined;
13
119
  }, {
14
120
  title?: string | undefined;
15
121
  description?: string | undefined;
16
122
  lang?: string | undefined;
17
123
  base?: string | undefined;
124
+ home?: {
125
+ title?: string | undefined;
126
+ description?: string | undefined;
127
+ slogan?: string | undefined;
128
+ actions?: {
129
+ text: string;
130
+ link: string;
131
+ theme?: "brand" | "alt" | undefined;
132
+ }[] | undefined;
133
+ resources?: {
134
+ title: string;
135
+ description?: string | undefined;
136
+ href?: string | undefined;
137
+ action?: string | undefined;
138
+ command?: string | undefined;
139
+ featured?: boolean | undefined;
140
+ }[] | undefined;
141
+ } | undefined;
18
142
  }>;
19
143
  export type PackageSiteDefinition = z.input<typeof packageSiteSchema>;
20
144
  export declare function normalizePackageSite(value: PackageSiteDefinition | undefined): {
@@ -22,4 +146,22 @@ export declare function normalizePackageSite(value: PackageSiteDefinition | unde
22
146
  base: string;
23
147
  title?: string | undefined;
24
148
  description?: string | undefined;
149
+ home?: {
150
+ title?: string | undefined;
151
+ description?: string | undefined;
152
+ slogan?: string | undefined;
153
+ actions?: {
154
+ text: string;
155
+ link: string;
156
+ theme?: "brand" | "alt" | undefined;
157
+ }[] | undefined;
158
+ resources?: {
159
+ title: string;
160
+ description?: string | undefined;
161
+ href?: string | undefined;
162
+ action?: string | undefined;
163
+ command?: string | undefined;
164
+ featured?: boolean | undefined;
165
+ }[] | undefined;
166
+ } | undefined;
25
167
  } | undefined;