@rupayan10/aios-cli 0.1.2 → 0.1.3

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/cli.js +2 -2
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -3518,7 +3518,7 @@ var init_package = __esm({
3518
3518
  "package.json"() {
3519
3519
  package_default = {
3520
3520
  name: "@rupayan10/aios-cli",
3521
- version: "0.1.2",
3521
+ version: "0.1.3",
3522
3522
  description: "FlowScale AIOS command-line interface",
3523
3523
  license: "AGPL-3.0-only",
3524
3524
  bin: {
@@ -5793,7 +5793,7 @@ function upsertModels(comfyPort, models) {
5793
5793
  writeTxn((db2) => {
5794
5794
  db2.prepare("DELETE FROM models WHERE comfy_port = ?").run(comfyPort);
5795
5795
  const ins = db2.prepare(`INSERT INTO models (id, filename, path, type, size_bytes, comfy_port, scanned_at) VALUES (?, ?, ?, ?, ?, ?, ?)
5796
- ON CONFLICT(id) DO UPDATE SET filename = excluded.filename, scanned_at = excluded.scanned_at`);
5796
+ ON CONFLICT(path) DO UPDATE SET filename = excluded.filename, type = excluded.type, size_bytes = excluded.size_bytes, comfy_port = excluded.comfy_port, scanned_at = excluded.scanned_at`);
5797
5797
  for (const m of models) ins.run(m.id, m.filename, m.path, m.type, m.sizeBytes, m.comfyPort, m.scannedAt);
5798
5798
  });
5799
5799
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rupayan10/aios-cli",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "FlowScale AIOS command-line interface",
5
5
  "license": "AGPL-3.0-only",
6
6
  "bin": {