@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.
Files changed (2) hide show
  1. package/dist/crab.js +21 -6
  2. 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
- "media.read",
5738
- "media.write",
5739
- "projects.read",
5740
- "projects.write"
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: "media", scopes: ["media.read", "media.write"] },
5747
- { id: "projects", scopes: ["projects.read", "projects.write"] }
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crabcloud/cli",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "type": "module",
5
5
  "description": "Crab Cloud CLI (crab) — agent-first entry to your personal cloud, with skills bundled for Claude Code / Codex / ZCode.",
6
6
  "bin": {