@nextblock-cms/cortex 0.18.3 → 0.18.4
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/client.cjs.js +1 -1
- package/client.d.ts +11 -0
- package/client.es.js +3 -1
- package/lib/ai-global-agent-db-tools.d.ts +14 -14
- package/lib/ai-global-agent-site-tools.d.ts +12 -12
- package/lib/site-brief.d.ts +2 -2
- package/package.json +4 -4
package/client.cjs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./lib/ai-model-registry.cjs.js");exports.createCortexAiStoredModelSelection=e.createCortexAiStoredModelSelection;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./lib/ai-model-registry.cjs.js"),t=require("./lib/site-brief.cjs.js");exports.createCortexAiStoredModelSelection=e.createCortexAiStoredModelSelection;exports.isCortexSiteBriefComplete=t.isCortexSiteBriefComplete;
|
package/client.d.ts
CHANGED
|
@@ -1 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The browser-safe surface of the Cortex lib.
|
|
3
|
+
*
|
|
4
|
+
* The main barrel (`@nextblock-cms/cortex`) transitively imports `next/headers` and
|
|
5
|
+
* `server-only` modules, so a client component that imports a runtime value from it
|
|
6
|
+
* breaks the production build ("You're importing a module that depends on
|
|
7
|
+
* next/headers"). Types are erased and may come from the main barrel; VALUES a client
|
|
8
|
+
* component needs must be re-exported here, and only from modules with no server
|
|
9
|
+
* imports (ai-model-registry and site-brief depend on zod alone).
|
|
10
|
+
*/
|
|
1
11
|
export { createCortexAiStoredModelSelection, type CortexAiStoredModelSelection, } from './lib/ai-model-registry';
|
|
12
|
+
export { isCortexSiteBriefComplete, type CortexSiteBrief } from './lib/site-brief';
|
package/client.es.js
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { createCortexAiStoredModelSelection as r } from "./lib/ai-model-registry.es.js";
|
|
2
|
+
import { isCortexSiteBriefComplete as i } from "./lib/site-brief.es.js";
|
|
2
3
|
export {
|
|
3
|
-
r as createCortexAiStoredModelSelection
|
|
4
|
+
r as createCortexAiStoredModelSelection,
|
|
5
|
+
i as isCortexSiteBriefComplete
|
|
4
6
|
};
|
|
@@ -25,6 +25,7 @@ export declare const readDatabaseRecordsInputSchema: z.ZodObject<{
|
|
|
25
25
|
filters: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
26
26
|
column: z.ZodString;
|
|
27
27
|
operator: z.ZodDefault<z.ZodEnum<{
|
|
28
|
+
in: "in";
|
|
28
29
|
is: "is";
|
|
29
30
|
eq: "eq";
|
|
30
31
|
neq: "neq";
|
|
@@ -33,7 +34,6 @@ export declare const readDatabaseRecordsInputSchema: z.ZodObject<{
|
|
|
33
34
|
lt: "lt";
|
|
34
35
|
lte: "lte";
|
|
35
36
|
ilike: "ilike";
|
|
36
|
-
in: "in";
|
|
37
37
|
}>>;
|
|
38
38
|
value: z.ZodUnknown;
|
|
39
39
|
}, z.core.$strict>>>;
|
|
@@ -49,6 +49,7 @@ export declare const executeDatabaseMutationInputSchema: z.ZodObject<{
|
|
|
49
49
|
filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
50
50
|
column: z.ZodString;
|
|
51
51
|
operator: z.ZodDefault<z.ZodEnum<{
|
|
52
|
+
in: "in";
|
|
52
53
|
is: "is";
|
|
53
54
|
eq: "eq";
|
|
54
55
|
neq: "neq";
|
|
@@ -57,7 +58,6 @@ export declare const executeDatabaseMutationInputSchema: z.ZodObject<{
|
|
|
57
58
|
lt: "lt";
|
|
58
59
|
lte: "lte";
|
|
59
60
|
ilike: "ilike";
|
|
60
|
-
in: "in";
|
|
61
61
|
}>>;
|
|
62
62
|
value: z.ZodUnknown;
|
|
63
63
|
}, z.core.$strict>>>;
|
|
@@ -77,6 +77,7 @@ export declare const executeDatabaseActionPlanInputSchema: z.ZodObject<{
|
|
|
77
77
|
filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
78
78
|
column: z.ZodString;
|
|
79
79
|
operator: z.ZodDefault<z.ZodEnum<{
|
|
80
|
+
in: "in";
|
|
80
81
|
is: "is";
|
|
81
82
|
eq: "eq";
|
|
82
83
|
neq: "neq";
|
|
@@ -85,7 +86,6 @@ export declare const executeDatabaseActionPlanInputSchema: z.ZodObject<{
|
|
|
85
86
|
lt: "lt";
|
|
86
87
|
lte: "lte";
|
|
87
88
|
ilike: "ilike";
|
|
88
|
-
in: "in";
|
|
89
89
|
}>>;
|
|
90
90
|
value: z.ZodUnknown;
|
|
91
91
|
}, z.core.$strict>>>;
|
|
@@ -112,7 +112,7 @@ export declare function executeDescribeDatabaseSchema(input: z.input<typeof desc
|
|
|
112
112
|
description: string;
|
|
113
113
|
primaryKey: readonly string[];
|
|
114
114
|
readOnly: boolean;
|
|
115
|
-
table: "
|
|
115
|
+
table: "languages" | "pages" | "site_settings" | "posts" | "products" | "profiles" | "coupons" | "orders" | "freemius_plans" | "media" | "navigation_items" | "product_variants" | "product_attributes" | "shipping_zones" | "product_attribute_terms" | "blocks" | "cortex_ai_db_mutation_audit" | "coupon_freemius_mappings" | "coupon_products" | "coupon_redemptions" | "currencies" | "freemius_pricing" | "inventory_items" | "logos" | "order_items" | "package_activations" | "page_revisions" | "post_revisions" | "product_media" | "product_revisions" | "shipping_zone_locations" | "shipping_zone_methods" | "tax_rates" | "translations" | "user_addresses" | "variant_attribute_mapping";
|
|
116
116
|
}[];
|
|
117
117
|
}>;
|
|
118
118
|
export declare function executeReadDatabaseRecords(input: z.input<typeof readDatabaseRecordsInputSchema>, context?: ToolExecutionContext): Promise<{
|
|
@@ -121,7 +121,7 @@ export declare function executeReadDatabaseRecords(input: z.input<typeof readDat
|
|
|
121
121
|
offset: number;
|
|
122
122
|
rows: unknown[];
|
|
123
123
|
success: boolean;
|
|
124
|
-
table: "
|
|
124
|
+
table: "languages" | "pages" | "site_settings" | "posts" | "products" | "profiles" | "coupons" | "orders" | "freemius_plans" | "media" | "navigation_items" | "product_variants" | "product_attributes" | "shipping_zones" | "product_attribute_terms" | "blocks" | "cortex_ai_db_mutation_audit" | "coupon_freemius_mappings" | "coupon_products" | "coupon_redemptions" | "currencies" | "freemius_pricing" | "inventory_items" | "logos" | "order_items" | "package_activations" | "page_revisions" | "post_revisions" | "product_media" | "product_revisions" | "shipping_zone_locations" | "shipping_zone_methods" | "tax_rates" | "translations" | "user_addresses" | "variant_attribute_mapping";
|
|
125
125
|
}>;
|
|
126
126
|
export declare function executeDatabaseMutation(input: ExecuteDatabaseMutationInput, context?: ToolExecutionContext): Promise<{
|
|
127
127
|
confirmationPhrase: string;
|
|
@@ -135,7 +135,7 @@ export declare function executeDatabaseMutation(input: ExecuteDatabaseMutationIn
|
|
|
135
135
|
sampleTargetIds: string[];
|
|
136
136
|
success: boolean;
|
|
137
137
|
summary: string;
|
|
138
|
-
table: "
|
|
138
|
+
table: "languages" | "pages" | "site_settings" | "posts" | "products" | "profiles" | "coupons" | "orders" | "freemius_plans" | "media" | "navigation_items" | "product_variants" | "product_attributes" | "shipping_zones" | "product_attribute_terms" | "blocks" | "cortex_ai_db_mutation_audit" | "coupon_freemius_mappings" | "coupon_products" | "coupon_redemptions" | "currencies" | "freemius_pricing" | "inventory_items" | "logos" | "order_items" | "package_activations" | "page_revisions" | "post_revisions" | "product_media" | "product_revisions" | "shipping_zone_locations" | "shipping_zone_methods" | "tax_rates" | "translations" | "user_addresses" | "variant_attribute_mapping";
|
|
139
139
|
auditError?: string | undefined;
|
|
140
140
|
affectedCount: number;
|
|
141
141
|
auditLogged: boolean;
|
|
@@ -144,7 +144,7 @@ export declare function executeDatabaseMutation(input: ExecuteDatabaseMutationIn
|
|
|
144
144
|
mutationExecuted: boolean;
|
|
145
145
|
operation: "delete" | "update" | "insert" | "upsert";
|
|
146
146
|
success: boolean;
|
|
147
|
-
table: "
|
|
147
|
+
table: "languages" | "pages" | "site_settings" | "posts" | "products" | "profiles" | "coupons" | "orders" | "freemius_plans" | "media" | "navigation_items" | "product_variants" | "product_attributes" | "shipping_zones" | "product_attribute_terms" | "blocks" | "cortex_ai_db_mutation_audit" | "coupon_freemius_mappings" | "coupon_products" | "coupon_redemptions" | "currencies" | "freemius_pricing" | "inventory_items" | "logos" | "order_items" | "package_activations" | "page_revisions" | "post_revisions" | "product_media" | "product_revisions" | "shipping_zone_locations" | "shipping_zone_methods" | "tax_rates" | "translations" | "user_addresses" | "variant_attribute_mapping";
|
|
148
148
|
auditError?: string | undefined;
|
|
149
149
|
auditLogged: boolean;
|
|
150
150
|
}>;
|
|
@@ -184,7 +184,7 @@ export declare function createCortexDatabaseAgentTools(context?: ToolExecutionCo
|
|
|
184
184
|
description: string;
|
|
185
185
|
primaryKey: readonly string[];
|
|
186
186
|
readOnly: boolean;
|
|
187
|
-
table: "
|
|
187
|
+
table: "languages" | "pages" | "site_settings" | "posts" | "products" | "profiles" | "coupons" | "orders" | "freemius_plans" | "media" | "navigation_items" | "product_variants" | "product_attributes" | "shipping_zones" | "product_attribute_terms" | "blocks" | "cortex_ai_db_mutation_audit" | "coupon_freemius_mappings" | "coupon_products" | "coupon_redemptions" | "currencies" | "freemius_pricing" | "inventory_items" | "logos" | "order_items" | "package_activations" | "page_revisions" | "post_revisions" | "product_media" | "product_revisions" | "shipping_zone_locations" | "shipping_zone_methods" | "tax_rates" | "translations" | "user_addresses" | "variant_attribute_mapping";
|
|
188
188
|
}[];
|
|
189
189
|
}>;
|
|
190
190
|
execute_database_action_plan: import('ai').Tool<{
|
|
@@ -193,7 +193,7 @@ export declare function createCortexDatabaseAgentTools(context?: ToolExecutionCo
|
|
|
193
193
|
table: string;
|
|
194
194
|
filters?: {
|
|
195
195
|
column: string;
|
|
196
|
-
operator: "is" | "eq" | "neq" | "gt" | "gte" | "lt" | "lte" | "ilike"
|
|
196
|
+
operator: "in" | "is" | "eq" | "neq" | "gt" | "gte" | "lt" | "lte" | "ilike";
|
|
197
197
|
value: unknown;
|
|
198
198
|
}[] | undefined;
|
|
199
199
|
rows?: Record<string, unknown>[] | undefined;
|
|
@@ -230,7 +230,7 @@ export declare function createCortexDatabaseAgentTools(context?: ToolExecutionCo
|
|
|
230
230
|
table: string;
|
|
231
231
|
filters?: {
|
|
232
232
|
column: string;
|
|
233
|
-
operator: "is" | "eq" | "neq" | "gt" | "gte" | "lt" | "lte" | "ilike"
|
|
233
|
+
operator: "in" | "is" | "eq" | "neq" | "gt" | "gte" | "lt" | "lte" | "ilike";
|
|
234
234
|
value: unknown;
|
|
235
235
|
}[] | undefined;
|
|
236
236
|
rows?: Record<string, unknown>[] | undefined;
|
|
@@ -248,7 +248,7 @@ export declare function createCortexDatabaseAgentTools(context?: ToolExecutionCo
|
|
|
248
248
|
sampleTargetIds: string[];
|
|
249
249
|
success: boolean;
|
|
250
250
|
summary: string;
|
|
251
|
-
table: "
|
|
251
|
+
table: "languages" | "pages" | "site_settings" | "posts" | "products" | "profiles" | "coupons" | "orders" | "freemius_plans" | "media" | "navigation_items" | "product_variants" | "product_attributes" | "shipping_zones" | "product_attribute_terms" | "blocks" | "cortex_ai_db_mutation_audit" | "coupon_freemius_mappings" | "coupon_products" | "coupon_redemptions" | "currencies" | "freemius_pricing" | "inventory_items" | "logos" | "order_items" | "package_activations" | "page_revisions" | "post_revisions" | "product_media" | "product_revisions" | "shipping_zone_locations" | "shipping_zone_methods" | "tax_rates" | "translations" | "user_addresses" | "variant_attribute_mapping";
|
|
252
252
|
auditError?: string | undefined;
|
|
253
253
|
affectedCount: number;
|
|
254
254
|
auditLogged: boolean;
|
|
@@ -257,14 +257,14 @@ export declare function createCortexDatabaseAgentTools(context?: ToolExecutionCo
|
|
|
257
257
|
mutationExecuted: boolean;
|
|
258
258
|
operation: "delete" | "update" | "insert" | "upsert";
|
|
259
259
|
success: boolean;
|
|
260
|
-
table: "
|
|
260
|
+
table: "languages" | "pages" | "site_settings" | "posts" | "products" | "profiles" | "coupons" | "orders" | "freemius_plans" | "media" | "navigation_items" | "product_variants" | "product_attributes" | "shipping_zones" | "product_attribute_terms" | "blocks" | "cortex_ai_db_mutation_audit" | "coupon_freemius_mappings" | "coupon_products" | "coupon_redemptions" | "currencies" | "freemius_pricing" | "inventory_items" | "logos" | "order_items" | "package_activations" | "page_revisions" | "post_revisions" | "product_media" | "product_revisions" | "shipping_zone_locations" | "shipping_zone_methods" | "tax_rates" | "translations" | "user_addresses" | "variant_attribute_mapping";
|
|
261
261
|
auditError?: string | undefined;
|
|
262
262
|
auditLogged: boolean;
|
|
263
263
|
}>;
|
|
264
264
|
read_database_records: import('ai').Tool<{
|
|
265
265
|
filters: {
|
|
266
266
|
column: string;
|
|
267
|
-
operator: "is" | "eq" | "neq" | "gt" | "gte" | "lt" | "lte" | "ilike"
|
|
267
|
+
operator: "in" | "is" | "eq" | "neq" | "gt" | "gte" | "lt" | "lte" | "ilike";
|
|
268
268
|
value: unknown;
|
|
269
269
|
}[];
|
|
270
270
|
limit: number;
|
|
@@ -281,7 +281,7 @@ export declare function createCortexDatabaseAgentTools(context?: ToolExecutionCo
|
|
|
281
281
|
offset: number;
|
|
282
282
|
rows: unknown[];
|
|
283
283
|
success: boolean;
|
|
284
|
-
table: "
|
|
284
|
+
table: "languages" | "pages" | "site_settings" | "posts" | "products" | "profiles" | "coupons" | "orders" | "freemius_plans" | "media" | "navigation_items" | "product_variants" | "product_attributes" | "shipping_zones" | "product_attribute_terms" | "blocks" | "cortex_ai_db_mutation_audit" | "coupon_freemius_mappings" | "coupon_products" | "coupon_redemptions" | "currencies" | "freemius_pricing" | "inventory_items" | "logos" | "order_items" | "package_activations" | "page_revisions" | "post_revisions" | "product_media" | "product_revisions" | "shipping_zone_locations" | "shipping_zone_methods" | "tax_rates" | "translations" | "user_addresses" | "variant_attribute_mapping";
|
|
285
285
|
}>;
|
|
286
286
|
};
|
|
287
287
|
export {};
|
|
@@ -83,12 +83,12 @@ export declare const saveSiteBriefInputSchema: z.ZodObject<{
|
|
|
83
83
|
}, z.core.$strict>>>>;
|
|
84
84
|
primary_language: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
85
85
|
site_type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
86
|
-
other: "other";
|
|
87
86
|
"landing-page": "landing-page";
|
|
88
87
|
"multi-page": "multi-page";
|
|
89
88
|
blog: "blog";
|
|
90
89
|
store: "store";
|
|
91
90
|
portfolio: "portfolio";
|
|
91
|
+
other: "other";
|
|
92
92
|
}>>>;
|
|
93
93
|
status: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
94
94
|
draft: "draft";
|
|
@@ -116,7 +116,7 @@ export declare function executeSaveSiteBrief(input: SaveSiteBriefInput, context?
|
|
|
116
116
|
sections?: string[] | undefined;
|
|
117
117
|
}[];
|
|
118
118
|
primary_language: string;
|
|
119
|
-
site_type: "
|
|
119
|
+
site_type: "landing-page" | "multi-page" | "blog" | "store" | "portfolio" | "other";
|
|
120
120
|
status: "draft" | "confirmed" | "built";
|
|
121
121
|
audience?: string | undefined;
|
|
122
122
|
brand?: {
|
|
@@ -180,7 +180,7 @@ export declare function executeGetSiteOverview(input: GetSiteOverviewInput, cont
|
|
|
180
180
|
sections?: string[] | undefined;
|
|
181
181
|
}[];
|
|
182
182
|
primary_language: string;
|
|
183
|
-
site_type: "
|
|
183
|
+
site_type: "landing-page" | "multi-page" | "blog" | "store" | "portfolio" | "other";
|
|
184
184
|
status: "draft" | "confirmed" | "built";
|
|
185
185
|
audience?: string | undefined;
|
|
186
186
|
brand?: {
|
|
@@ -475,12 +475,12 @@ export declare const startSiteBuildInputSchema: z.ZodObject<{
|
|
|
475
475
|
}, z.core.$strict>>>>;
|
|
476
476
|
primary_language: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
477
477
|
site_type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
478
|
-
other: "other";
|
|
479
478
|
"landing-page": "landing-page";
|
|
480
479
|
"multi-page": "multi-page";
|
|
481
480
|
blog: "blog";
|
|
482
481
|
store: "store";
|
|
483
482
|
portfolio: "portfolio";
|
|
483
|
+
other: "other";
|
|
484
484
|
}>>>;
|
|
485
485
|
status: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
486
486
|
draft: "draft";
|
|
@@ -528,7 +528,7 @@ export declare function executeStartSiteBuild(input: StartSiteBuildInput, contex
|
|
|
528
528
|
sections?: string[] | undefined;
|
|
529
529
|
}[];
|
|
530
530
|
primary_language: string;
|
|
531
|
-
site_type: "
|
|
531
|
+
site_type: "landing-page" | "multi-page" | "blog" | "store" | "portfolio" | "other";
|
|
532
532
|
status: "draft" | "confirmed" | "built";
|
|
533
533
|
audience?: string | undefined;
|
|
534
534
|
brand?: {
|
|
@@ -590,7 +590,7 @@ export declare function executeFinishSiteBuild(input: FinishSiteBuildInput, cont
|
|
|
590
590
|
sections?: string[] | undefined;
|
|
591
591
|
}[];
|
|
592
592
|
primary_language: string;
|
|
593
|
-
site_type: "
|
|
593
|
+
site_type: "landing-page" | "multi-page" | "blog" | "store" | "portfolio" | "other";
|
|
594
594
|
status: "draft" | "confirmed" | "built";
|
|
595
595
|
audience?: string | undefined;
|
|
596
596
|
brand?: {
|
|
@@ -646,7 +646,7 @@ export declare function createCortexSiteTools(context?: SiteToolContext): {
|
|
|
646
646
|
sections?: string[] | undefined;
|
|
647
647
|
}[];
|
|
648
648
|
primary_language: string;
|
|
649
|
-
site_type: "
|
|
649
|
+
site_type: "landing-page" | "multi-page" | "blog" | "store" | "portfolio" | "other";
|
|
650
650
|
status: "draft" | "confirmed" | "built";
|
|
651
651
|
audience?: string | undefined;
|
|
652
652
|
brand?: {
|
|
@@ -850,7 +850,7 @@ export declare function createCortexSiteTools(context?: SiteToolContext): {
|
|
|
850
850
|
sections?: string[] | undefined;
|
|
851
851
|
}[] | undefined;
|
|
852
852
|
primary_language?: string | undefined;
|
|
853
|
-
site_type?: "
|
|
853
|
+
site_type?: "landing-page" | "multi-page" | "blog" | "store" | "portfolio" | "other" | undefined;
|
|
854
854
|
status?: "draft" | "confirmed" | "built" | undefined;
|
|
855
855
|
tagline?: string | undefined;
|
|
856
856
|
updated_at?: string | undefined;
|
|
@@ -868,7 +868,7 @@ export declare function createCortexSiteTools(context?: SiteToolContext): {
|
|
|
868
868
|
sections?: string[] | undefined;
|
|
869
869
|
}[];
|
|
870
870
|
primary_language: string;
|
|
871
|
-
site_type: "
|
|
871
|
+
site_type: "landing-page" | "multi-page" | "blog" | "store" | "portfolio" | "other";
|
|
872
872
|
status: "draft" | "confirmed" | "built";
|
|
873
873
|
audience?: string | undefined;
|
|
874
874
|
brand?: {
|
|
@@ -1022,7 +1022,7 @@ export declare function createCortexSiteTools(context?: SiteToolContext): {
|
|
|
1022
1022
|
sections?: string[] | undefined;
|
|
1023
1023
|
}[] | undefined;
|
|
1024
1024
|
primary_language?: string | undefined;
|
|
1025
|
-
site_type?: "
|
|
1025
|
+
site_type?: "landing-page" | "multi-page" | "blog" | "store" | "portfolio" | "other" | undefined;
|
|
1026
1026
|
status?: "draft" | "confirmed" | "built" | undefined;
|
|
1027
1027
|
tagline?: string | undefined;
|
|
1028
1028
|
updated_at?: string | undefined;
|
|
@@ -1061,7 +1061,7 @@ export declare function createCortexSiteTools(context?: SiteToolContext): {
|
|
|
1061
1061
|
sections?: string[] | undefined;
|
|
1062
1062
|
}[];
|
|
1063
1063
|
primary_language: string;
|
|
1064
|
-
site_type: "
|
|
1064
|
+
site_type: "landing-page" | "multi-page" | "blog" | "store" | "portfolio" | "other";
|
|
1065
1065
|
status: "draft" | "confirmed" | "built";
|
|
1066
1066
|
audience?: string | undefined;
|
|
1067
1067
|
brand?: {
|
|
@@ -1118,7 +1118,7 @@ export declare function createCortexSiteTools(context?: SiteToolContext): {
|
|
|
1118
1118
|
sections?: string[] | undefined;
|
|
1119
1119
|
}[];
|
|
1120
1120
|
primary_language: string;
|
|
1121
|
-
site_type: "
|
|
1121
|
+
site_type: "landing-page" | "multi-page" | "blog" | "store" | "portfolio" | "other";
|
|
1122
1122
|
status: "draft" | "confirmed" | "built";
|
|
1123
1123
|
audience?: string | undefined;
|
|
1124
1124
|
brand?: {
|
package/lib/site-brief.d.ts
CHANGED
|
@@ -60,12 +60,12 @@ export declare const cortexSiteBriefSchema: z.ZodObject<{
|
|
|
60
60
|
}, z.core.$strict>>>;
|
|
61
61
|
primary_language: z.ZodDefault<z.ZodString>;
|
|
62
62
|
site_type: z.ZodDefault<z.ZodEnum<{
|
|
63
|
-
other: "other";
|
|
64
63
|
"landing-page": "landing-page";
|
|
65
64
|
"multi-page": "multi-page";
|
|
66
65
|
blog: "blog";
|
|
67
66
|
store: "store";
|
|
68
67
|
portfolio: "portfolio";
|
|
68
|
+
other: "other";
|
|
69
69
|
}>>;
|
|
70
70
|
status: z.ZodDefault<z.ZodEnum<{
|
|
71
71
|
draft: "draft";
|
|
@@ -120,12 +120,12 @@ export declare const cortexSiteBriefInputSchema: z.ZodObject<{
|
|
|
120
120
|
}, z.core.$strict>>>>;
|
|
121
121
|
primary_language: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
122
122
|
site_type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
123
|
-
other: "other";
|
|
124
123
|
"landing-page": "landing-page";
|
|
125
124
|
"multi-page": "multi-page";
|
|
126
125
|
blog: "blog";
|
|
127
126
|
store: "store";
|
|
128
127
|
portfolio: "portfolio";
|
|
128
|
+
other: "other";
|
|
129
129
|
}>>>;
|
|
130
130
|
status: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
131
131
|
draft: "draft";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nextblock-cms/cortex",
|
|
3
|
-
"version": "0.18.
|
|
3
|
+
"version": "0.18.4",
|
|
4
4
|
"license": "AGPL-3.0-or-later",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -28,9 +28,9 @@
|
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@ai-sdk/openai-compatible": "^2.0.42",
|
|
31
|
-
"@nextblock-cms/db": "^0.18.
|
|
32
|
-
"@nextblock-cms/ecommerce": "npm:@nextblock-cms/ecom@^0.18.
|
|
33
|
-
"@nextblock-cms/utils": "^0.18.
|
|
31
|
+
"@nextblock-cms/db": "^0.18.4",
|
|
32
|
+
"@nextblock-cms/ecommerce": "npm:@nextblock-cms/ecom@^0.18.4",
|
|
33
|
+
"@nextblock-cms/utils": "^0.18.4",
|
|
34
34
|
"ai": "^6.0.170",
|
|
35
35
|
"zod": "^4.3.6"
|
|
36
36
|
},
|