@lotics/cli 0.4.0 → 0.5.0

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/src/cli.js +3 -2
  2. package/package.json +1 -1
package/dist/src/cli.js CHANGED
@@ -359,8 +359,9 @@ async function main() {
359
359
  console.log(JSON.stringify({ files: upload.files, errors: upload.errors }, null, 2));
360
360
  }
361
361
  else {
362
- for (const file of upload.files) {
363
- console.log(`${file.id} ${file.filename} ${file.mime_type}`);
362
+ for (let i = 0; i < upload.files.length; i++) {
363
+ const file = upload.files[i];
364
+ console.log(`[${i + 1}] ${file.id} ${file.filename} ${file.mime_type}`);
364
365
  }
365
366
  for (const error of upload.errors) {
366
367
  console.error(`FAILED ${error.filename} ${error.error}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lotics/cli",
3
- "version": "0.4.0",
3
+ "version": "0.5.0",
4
4
  "description": "Lotics SDK and CLI for AI agents",
5
5
  "type": "module",
6
6
  "bin": {