@neta-art/cohub-cli 1.6.0 → 1.6.1

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.
@@ -95,7 +95,7 @@ async function uploadFiles(command, paths, opts) {
95
95
  try {
96
96
  const files = await collectUploadFiles(paths);
97
97
  const plan = await client.space(spaceId).files.createUpload({
98
- targetDir: opts.dir,
98
+ destination: { kind: "workspace", targetDir: opts.dir },
99
99
  entries: files.map((file) => ({
100
100
  id: file.id,
101
101
  name: file.name,
@@ -116,7 +116,7 @@ async function uploadFiles(command, paths, opts) {
116
116
  });
117
117
  if (opts.json)
118
118
  return outJson({ ...result, uploadId: plan.uploadId, files: files.length });
119
- ok(`Uploaded ${files.length} file${files.length === 1 ? "" : "s"} — taskRunId: ${result.taskRunId}`);
119
+ ok(`Uploaded ${files.length} file${files.length === 1 ? "" : "s"}`);
120
120
  }
121
121
  catch (e) {
122
122
  handleHttp(e);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neta-art/cohub-cli",
3
- "version": "1.6.0",
3
+ "version": "1.6.1",
4
4
  "description": "CLI for Cohub — spaces, sessions, and agent collaboration.",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",
@@ -14,7 +14,7 @@
14
14
  ],
15
15
  "dependencies": {
16
16
  "commander": "^13.1.0",
17
- "@neta-art/cohub": "1.13.0"
17
+ "@neta-art/cohub": "1.13.1"
18
18
  },
19
19
  "publishConfig": {
20
20
  "access": "public"