@newpeak/barista-cli 0.2.194 → 0.2.196
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/commands/liberica/files/upload.d.ts.map +1 -1
- package/dist/commands/liberica/files/upload.js +67 -20
- package/dist/commands/liberica/files/upload.js.map +1 -1
- package/dist/commands/liberica/msg/send.d.ts.map +1 -1
- package/dist/commands/liberica/msg/send.js +23 -6
- package/dist/commands/liberica/msg/send.js.map +1 -1
- package/dist/commands/liberica/teams/tasks/list.d.ts.map +1 -1
- package/dist/commands/liberica/teams/tasks/list.js +4 -0
- package/dist/commands/liberica/teams/tasks/list.js.map +1 -1
- package/dist/core/api/client.d.ts +1 -0
- package/dist/core/api/client.d.ts.map +1 -1
- package/dist/core/api/client.js +38 -0
- package/dist/core/api/client.js.map +1 -1
- package/dist/types/file.d.ts +20 -0
- package/dist/types/file.d.ts.map +1 -1
- package/dist/types/msg.d.ts +1 -0
- package/dist/types/msg.d.ts.map +1 -1
- package/package.json +1 -1
- package/skills/barista-cli/data/commands.json +2 -2
- package/skills/barista-cli/data/commands.yaml +2 -2
package/dist/types/file.d.ts
CHANGED
|
@@ -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
|
package/dist/types/file.d.ts.map
CHANGED
|
@@ -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":"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;AAED,MAAM,WAAW,oBAAoB;IACnC,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,yBAAyB;IACxC,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,CAAC,EAAE,oBAAoB,CAAC;IAC5B,KAAK,CAAC,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC;CAC3C"}
|
package/dist/types/msg.d.ts
CHANGED
package/dist/types/msg.d.ts.map
CHANGED
|
@@ -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
|
"_metadata": {
|
|
3
|
-
"generatedAt": "2026-07-
|
|
3
|
+
"generatedAt": "2026-07-29T02:08:56.250Z",
|
|
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-
|
|
2
|
+
# ★ 生成时间: 2026-07-29T02:08:56.263Z
|
|
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: "其他"
|