@newpeak/barista-cli 0.2.194 → 0.2.195

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.
@@ -23,4 +23,24 @@ export interface SysFileUploadApiResponse {
23
23
  message: string;
24
24
  };
25
25
  }
26
+ export interface DocumentUploadResult {
27
+ documentId: string;
28
+ categoryId?: string;
29
+ categoryName?: string;
30
+ fileId: string;
31
+ fileName: string;
32
+ fileSize: number;
33
+ fileType?: string;
34
+ remark?: string;
35
+ businessData?: string;
36
+ createTime?: string;
37
+ }
38
+ export interface DocumentUploadApiResponse {
39
+ success: boolean;
40
+ data?: DocumentUploadResult;
41
+ error?: {
42
+ code: string;
43
+ message: string;
44
+ };
45
+ }
26
46
  //# sourceMappingURL=file.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"file.d.ts","sourceRoot":"","sources":["../../src/types/file.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,gBAAgB;IAC/B,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,qBAAqB;IACpC,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,CAAC,EAAE,gBAAgB,CAAC;IACxB,KAAK,CAAC,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC;CAC3C;AAED,MAAM,WAAW,mBAAoB,SAAQ,gBAAgB;IAC3D,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,wBAAwB;IACvC,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,CAAC,EAAE,mBAAmB,CAAC;IAC3B,KAAK,CAAC,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC;CAC3C"}
1
+ {"version":3,"file":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MAAM,CAAA;KAAE,CAAC;CAC3C"}
@@ -7,6 +7,7 @@ export interface MsgSendResult {
7
7
  to: string;
8
8
  toUserRealName?: string;
9
9
  message: string;
10
+ delay?: number;
10
11
  note?: string;
11
12
  }
12
13
  //# sourceMappingURL=msg.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"msg.d.ts","sourceRoot":"","sources":["../../src/types/msg.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,gBAAgB;IAC/B,aAAa,EAAE,MAAM,CAAC;IACtB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,OAAO,CAAC;IACd,EAAE,EAAE,MAAM,CAAC;IACX,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf"}
1
+ {"version":3,"file":"msg.d.ts","sourceRoot":"","sources":["../../src/types/msg.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,gBAAgB;IAC/B,aAAa,EAAE,MAAM,CAAC;IACtB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,OAAO,CAAC;IACd,EAAE,EAAE,MAAM,CAAC;IACX,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;CACf"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@newpeak/barista-cli",
3
- "version": "0.2.194",
3
+ "version": "0.2.195",
4
4
  "description": "AI Tools CLI for Liberica and Arabica services",
5
5
  "license": "MIT",
6
6
  "keywords": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "_metadata": {
3
- "generatedAt": "2026-07-28T03:21:17.628Z",
3
+ "generatedAt": "2026-07-28T10:28:19.002Z",
4
4
  "source": "src/commands/",
5
5
  "generator": "src/skills/barista-cli/scripts/generate.ts"
6
6
  },
@@ -3190,7 +3190,7 @@
3190
3190
  "description": "Manage file uploads: upload files to the Liberica platform",
3191
3191
  "commands": {
3192
3192
  "upload": {
3193
- "description": "Upload a file to the Liberica platform (generic file storage)",
3193
+ "description": "Upload a file to the Liberica platform (supports generic file storage and document upload with category)",
3194
3194
  "json": true,
3195
3195
  "dry-run": true
3196
3196
  }
@@ -1,5 +1,5 @@
1
1
  # ★ 自动生成。修改源码后重新生成:npm run generate-skills-data
2
- # ★ 生成时间: 2026-07-28T03:21:17.640Z
2
+ # ★ 生成时间: 2026-07-28T10:28:19.020Z
3
3
 
4
4
  global:
5
5
  # ── 全局 ──
@@ -2053,7 +2053,7 @@ liberica:
2053
2053
  description: "Manage file uploads: upload files to the Liberica platform"
2054
2054
  commands:
2055
2055
  upload:
2056
- description: "Upload a file to the Liberica platform (generic file storage)"
2056
+ description: "Upload a file to the Liberica platform (supports generic file storage and document upload with category)"
2057
2057
  options: [--json, --dry-run]
2058
2058
  issue:
2059
2059
  group: "其他"