@01.software/cli 0.10.4 → 0.10.5
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.js +1 -229
- package/dist/index.js.map +1 -1
- package/dist/mcp/{chunk-F5VI4HQM.js → chunk-2EPYMNHW.js} +13 -12
- package/dist/mcp/chunk-2EPYMNHW.js.map +1 -0
- package/dist/mcp/http.js +1 -1
- package/dist/mcp/stdio.js +1 -1
- package/dist/mcp/vercel.js +12 -11
- package/package.json +2 -2
- package/dist/mcp/chunk-F5VI4HQM.js.map +0 -1
|
@@ -88,9 +88,8 @@ var MCP_CONSOLE_SERVICE_AUDIENCE = "https://api.01.software/internal/mcp";
|
|
|
88
88
|
var MCP_CONSOLE_SERVICE_SCOPE = "console:mcp_proxy";
|
|
89
89
|
var MCP_SERVICE_TOKEN_LIFETIME_SECONDS = 60;
|
|
90
90
|
|
|
91
|
-
// ../../packages/contracts/
|
|
91
|
+
// ../../packages/contracts/src/tenant/index.ts
|
|
92
92
|
import { z } from "zod";
|
|
93
|
-
import { z as z2 } from "zod";
|
|
94
93
|
var tenantFieldConfigStateSchema = z.object({
|
|
95
94
|
hiddenFields: z.array(z.string()),
|
|
96
95
|
isHidden: z.boolean()
|
|
@@ -239,6 +238,9 @@ var collectionSchemaResponseSchema = z.object({
|
|
|
239
238
|
fields: z.array(collectionFieldSchema)
|
|
240
239
|
}).strict()
|
|
241
240
|
}).strict();
|
|
241
|
+
|
|
242
|
+
// ../../packages/contracts/src/ecommerce/index.ts
|
|
243
|
+
import { z as z2 } from "zod";
|
|
242
244
|
var transactionStatusSchema = z2.enum([
|
|
243
245
|
"pending",
|
|
244
246
|
"paid",
|
|
@@ -305,6 +307,8 @@ var returnWithRefundSchema = z2.object({
|
|
|
305
307
|
refundReceiptUrl: z2.string().optional().describe("Refund receipt URL (optional)")
|
|
306
308
|
}).strict();
|
|
307
309
|
var ReturnWithRefundSchema = returnWithRefundSchema;
|
|
310
|
+
|
|
311
|
+
// ../../packages/contracts/src/mcp/index.ts
|
|
308
312
|
var MCP_TOOL_CONTRACT = {
|
|
309
313
|
"query-collection": {
|
|
310
314
|
consoleRole: "tenant-viewer",
|
|
@@ -3904,7 +3908,6 @@ customer-addresses
|
|
|
3904
3908
|
### Optional Collections
|
|
3905
3909
|
|
|
3906
3910
|
- customer-groups \u2014 Console/server-scoped segmentation for VIP coupons and campaigns. Use \`createServerClient().collections.from('customer-groups')\`.
|
|
3907
|
-
- customer-profile-lists \u2014 Public profile display/ranking lists for storefronts. Browser reads may use \`client.collections.from('customer-profile-lists')\`.
|
|
3908
3911
|
|
|
3909
3912
|
### Config
|
|
3910
3913
|
|
|
@@ -4045,7 +4048,9 @@ comments, reactions, bookmarks, reports, community-bans
|
|
|
4045
4048
|
|
|
4046
4049
|
### Optional Collections
|
|
4047
4050
|
|
|
4048
|
-
post-categories, customer-profile-lists
|
|
4051
|
+
post-categories, customer-profile-lists
|
|
4052
|
+
|
|
4053
|
+
- \`customer-profile-lists\` is Community-owned public profile curation. It composes \`customer-profiles\`, so effective Community access also requires Customers.`
|
|
4049
4054
|
};
|
|
4050
4055
|
function featureSetupGuide({
|
|
4051
4056
|
feature
|
|
@@ -4158,12 +4163,7 @@ var COLLECTIONS_BY_CATEGORY = {
|
|
|
4158
4163
|
"shipping-policies",
|
|
4159
4164
|
"shipping-zones"
|
|
4160
4165
|
],
|
|
4161
|
-
Customers: [
|
|
4162
|
-
"customers",
|
|
4163
|
-
"customer-profiles",
|
|
4164
|
-
"customer-profile-lists",
|
|
4165
|
-
"customer-addresses"
|
|
4166
|
-
],
|
|
4166
|
+
Customers: ["customers", "customer-profiles", "customer-addresses"],
|
|
4167
4167
|
Carts: ["carts", "cart-items"],
|
|
4168
4168
|
Discounts: ["discounts"],
|
|
4169
4169
|
Documents: ["documents", "document-categories", "document-types"],
|
|
@@ -4179,7 +4179,8 @@ var COLLECTIONS_BY_CATEGORY = {
|
|
|
4179
4179
|
"reactions",
|
|
4180
4180
|
"reaction-types",
|
|
4181
4181
|
"bookmarks",
|
|
4182
|
-
"post-categories"
|
|
4182
|
+
"post-categories",
|
|
4183
|
+
"customer-profile-lists"
|
|
4183
4184
|
],
|
|
4184
4185
|
Playlists: [
|
|
4185
4186
|
"playlists",
|
|
@@ -6574,4 +6575,4 @@ export {
|
|
|
6574
6575
|
flushMcpTelemetrySummary,
|
|
6575
6576
|
createServer
|
|
6576
6577
|
};
|
|
6577
|
-
//# sourceMappingURL=chunk-
|
|
6578
|
+
//# sourceMappingURL=chunk-2EPYMNHW.js.map
|