@crabcloud/cli 0.1.3 → 0.1.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/dist/crab.js +21 -6
- package/package.json +1 -1
package/dist/crab.js
CHANGED
|
@@ -5734,17 +5734,17 @@ var scopes = [
|
|
|
5734
5734
|
"files.read",
|
|
5735
5735
|
"files.write",
|
|
5736
5736
|
"files.delete",
|
|
5737
|
-
"
|
|
5738
|
-
"
|
|
5739
|
-
"
|
|
5740
|
-
"
|
|
5737
|
+
"contacts.read",
|
|
5738
|
+
"contacts.write",
|
|
5739
|
+
"collab.read",
|
|
5740
|
+
"collab.write"
|
|
5741
5741
|
];
|
|
5742
5742
|
var scopeGroups = [
|
|
5743
5743
|
{ id: "account", scopes: ["account.read", "credits.read"] },
|
|
5744
5744
|
{ id: "mail", scopes: ["mail.read", "mail.send", "mail.search", "mail.delete"] },
|
|
5745
5745
|
{ id: "files", scopes: ["files.read", "files.write", "files.delete"] },
|
|
5746
|
-
{ id: "
|
|
5747
|
-
{ id: "
|
|
5746
|
+
{ id: "collab", scopes: ["collab.read", "collab.write"] },
|
|
5747
|
+
{ id: "contacts", scopes: ["contacts.read", "contacts.write"] }
|
|
5748
5748
|
];
|
|
5749
5749
|
function expandScopes(input) {
|
|
5750
5750
|
const expanded = input.flatMap((item) => {
|
|
@@ -5951,6 +5951,21 @@ var mailDevInboundInput = object({
|
|
|
5951
5951
|
subject: string2().trim().min(1).max(200),
|
|
5952
5952
|
body: string2().max(1e5)
|
|
5953
5953
|
});
|
|
5954
|
+
var contactAddressSchema = mailAddressSchema;
|
|
5955
|
+
var contactCreateInput = object({
|
|
5956
|
+
address: contactAddressSchema,
|
|
5957
|
+
displayName: string2().trim().min(1).max(80).optional(),
|
|
5958
|
+
note: string2().trim().max(500).optional()
|
|
5959
|
+
});
|
|
5960
|
+
var contactUpdateInput = object({
|
|
5961
|
+
displayName: union([string2().trim().min(1).max(80), _null3()]).optional(),
|
|
5962
|
+
note: union([string2().trim().max(500), _null3()]).optional()
|
|
5963
|
+
});
|
|
5964
|
+
var contactQueryInput = object({
|
|
5965
|
+
query: string2().trim().max(100).default(""),
|
|
5966
|
+
limit: number2().int().min(1).max(50).default(20),
|
|
5967
|
+
offset: number2().int().min(0).default(0)
|
|
5968
|
+
});
|
|
5954
5969
|
|
|
5955
5970
|
// ../../packages/skills/src/install.ts
|
|
5956
5971
|
import { cpSync, existsSync, mkdirSync, readFileSync, readdirSync, rmSync, writeFileSync } from "node:fs";
|
package/package.json
CHANGED