@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
package/dist/mcp/http.js
CHANGED
package/dist/mcp/stdio.js
CHANGED
package/dist/mcp/vercel.js
CHANGED
|
@@ -91,9 +91,8 @@ function parseJsonWhere(where) {
|
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
93
|
|
|
94
|
-
// ../../packages/contracts/
|
|
94
|
+
// ../../packages/contracts/src/tenant/index.ts
|
|
95
95
|
import { z } from "zod";
|
|
96
|
-
import { z as z2 } from "zod";
|
|
97
96
|
var tenantFieldConfigStateSchema = z.object({
|
|
98
97
|
hiddenFields: z.array(z.string()),
|
|
99
98
|
isHidden: z.boolean()
|
|
@@ -242,6 +241,9 @@ var collectionSchemaResponseSchema = z.object({
|
|
|
242
241
|
fields: z.array(collectionFieldSchema)
|
|
243
242
|
}).strict()
|
|
244
243
|
}).strict();
|
|
244
|
+
|
|
245
|
+
// ../../packages/contracts/src/ecommerce/index.ts
|
|
246
|
+
import { z as z2 } from "zod";
|
|
245
247
|
var transactionStatusSchema = z2.enum([
|
|
246
248
|
"pending",
|
|
247
249
|
"paid",
|
|
@@ -308,6 +310,8 @@ var returnWithRefundSchema = z2.object({
|
|
|
308
310
|
refundReceiptUrl: z2.string().optional().describe("Refund receipt URL (optional)")
|
|
309
311
|
}).strict();
|
|
310
312
|
var ReturnWithRefundSchema = returnWithRefundSchema;
|
|
313
|
+
|
|
314
|
+
// ../../packages/contracts/src/mcp/index.ts
|
|
311
315
|
var MCP_TOOL_CONTRACT = {
|
|
312
316
|
"query-collection": {
|
|
313
317
|
consoleRole: "tenant-viewer",
|
|
@@ -3907,7 +3911,6 @@ customer-addresses
|
|
|
3907
3911
|
### Optional Collections
|
|
3908
3912
|
|
|
3909
3913
|
- customer-groups \u2014 Console/server-scoped segmentation for VIP coupons and campaigns. Use \`createServerClient().collections.from('customer-groups')\`.
|
|
3910
|
-
- customer-profile-lists \u2014 Public profile display/ranking lists for storefronts. Browser reads may use \`client.collections.from('customer-profile-lists')\`.
|
|
3911
3914
|
|
|
3912
3915
|
### Config
|
|
3913
3916
|
|
|
@@ -4048,7 +4051,9 @@ comments, reactions, bookmarks, reports, community-bans
|
|
|
4048
4051
|
|
|
4049
4052
|
### Optional Collections
|
|
4050
4053
|
|
|
4051
|
-
post-categories, customer-profile-lists
|
|
4054
|
+
post-categories, customer-profile-lists
|
|
4055
|
+
|
|
4056
|
+
- \`customer-profile-lists\` is Community-owned public profile curation. It composes \`customer-profiles\`, so effective Community access also requires Customers.`
|
|
4052
4057
|
};
|
|
4053
4058
|
function featureSetupGuide({
|
|
4054
4059
|
feature
|
|
@@ -4161,12 +4166,7 @@ var COLLECTIONS_BY_CATEGORY = {
|
|
|
4161
4166
|
"shipping-policies",
|
|
4162
4167
|
"shipping-zones"
|
|
4163
4168
|
],
|
|
4164
|
-
Customers: [
|
|
4165
|
-
"customers",
|
|
4166
|
-
"customer-profiles",
|
|
4167
|
-
"customer-profile-lists",
|
|
4168
|
-
"customer-addresses"
|
|
4169
|
-
],
|
|
4169
|
+
Customers: ["customers", "customer-profiles", "customer-addresses"],
|
|
4170
4170
|
Carts: ["carts", "cart-items"],
|
|
4171
4171
|
Discounts: ["discounts"],
|
|
4172
4172
|
Documents: ["documents", "document-categories", "document-types"],
|
|
@@ -4182,7 +4182,8 @@ var COLLECTIONS_BY_CATEGORY = {
|
|
|
4182
4182
|
"reactions",
|
|
4183
4183
|
"reaction-types",
|
|
4184
4184
|
"bookmarks",
|
|
4185
|
-
"post-categories"
|
|
4185
|
+
"post-categories",
|
|
4186
|
+
"customer-profile-lists"
|
|
4186
4187
|
],
|
|
4187
4188
|
Playlists: [
|
|
4188
4189
|
"playlists",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@01.software/cli",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.5",
|
|
4
4
|
"description": "CLI tool for 01.software platform",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"commander": "^14.0.3",
|
|
23
23
|
"picocolors": "^1.1.1",
|
|
24
24
|
"zod": "^4.4.3",
|
|
25
|
-
"@01.software/sdk": "^
|
|
25
|
+
"@01.software/sdk": "^0.31.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@types/node": "^22.19.18",
|