@qvac/core 0.7.6 → 0.8.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.
@@ -5549,13 +5549,20 @@ const encoding144 = {
5549
5549
  preencode(state, m) {
5550
5550
  encoding143.preencode(state, m.state)
5551
5551
  c.uint.preencode(state, m.peerCount)
5552
- state.end++ // max flag is 4 so always one byte
5552
+ state.end++ // max flag is 16 so always one byte
5553
5553
 
5554
5554
  if (m.peerDeviceIds) encoding144_2.preencode(state, m.peerDeviceIds)
5555
5555
  if (m.error) c.string.preencode(state, m.error)
5556
+ if (m.blindPeersConnected) c.uint.preencode(state, m.blindPeersConnected)
5557
+ if (m.blindPeersTotal) c.uint.preencode(state, m.blindPeersTotal)
5556
5558
  },
5557
5559
  encode(state, m) {
5558
- const flags = (m.peerDeviceIds ? 1 : 0) | (m.kickedPending ? 2 : 0) | (m.error ? 4 : 0)
5560
+ const flags =
5561
+ (m.peerDeviceIds ? 1 : 0) |
5562
+ (m.kickedPending ? 2 : 0) |
5563
+ (m.error ? 4 : 0) |
5564
+ (m.blindPeersConnected ? 8 : 0) |
5565
+ (m.blindPeersTotal ? 16 : 0)
5559
5566
 
5560
5567
  encoding143.encode(state, m.state)
5561
5568
  c.uint.encode(state, m.peerCount)
@@ -5563,6 +5570,8 @@ const encoding144 = {
5563
5570
 
5564
5571
  if (m.peerDeviceIds) encoding144_2.encode(state, m.peerDeviceIds)
5565
5572
  if (m.error) c.string.encode(state, m.error)
5573
+ if (m.blindPeersConnected) c.uint.encode(state, m.blindPeersConnected)
5574
+ if (m.blindPeersTotal) c.uint.encode(state, m.blindPeersTotal)
5566
5575
  },
5567
5576
  decode(state) {
5568
5577
  const r0 = encoding143.decode(state)
@@ -5574,7 +5583,9 @@ const encoding144 = {
5574
5583
  peerCount: r1,
5575
5584
  peerDeviceIds: (flags & 1) !== 0 ? encoding144_2.decode(state) : null,
5576
5585
  kickedPending: (flags & 2) !== 0,
5577
- error: (flags & 4) !== 0 ? c.string.decode(state) : null
5586
+ error: (flags & 4) !== 0 ? c.string.decode(state) : null,
5587
+ blindPeersConnected: (flags & 8) !== 0 ? c.uint.decode(state) : 0,
5588
+ blindPeersTotal: (flags & 16) !== 0 ? c.uint.decode(state) : 0
5578
5589
  }
5579
5590
  }
5580
5591
  }
@@ -7733,7 +7744,8 @@ const encoding208 = {
7733
7744
  (m.setup ? 64 : 0) |
7734
7745
  (m.stub ? 128 : 0) |
7735
7746
  (m.minCapabilityProfile ? 256 : 0) |
7736
- (m.emoji ? 512 : 0)
7747
+ (m.emoji ? 512 : 0) |
7748
+ (m.displayName ? 1024 : 0)
7737
7749
 
7738
7750
  c.string.preencode(state, m.name)
7739
7751
  c.string.preencode(state, m.description)
@@ -7749,6 +7761,7 @@ const encoding208 = {
7749
7761
  c.string.preencode(state, m.status)
7750
7762
  if (m.minCapabilityProfile) c.string.preencode(state, m.minCapabilityProfile)
7751
7763
  if (m.emoji) c.string.preencode(state, m.emoji)
7764
+ if (m.displayName) c.string.preencode(state, m.displayName)
7752
7765
  },
7753
7766
  encode(state, m) {
7754
7767
  const flags =
@@ -7761,7 +7774,8 @@ const encoding208 = {
7761
7774
  (m.setup ? 64 : 0) |
7762
7775
  (m.stub ? 128 : 0) |
7763
7776
  (m.minCapabilityProfile ? 256 : 0) |
7764
- (m.emoji ? 512 : 0)
7777
+ (m.emoji ? 512 : 0) |
7778
+ (m.displayName ? 1024 : 0)
7765
7779
 
7766
7780
  c.string.encode(state, m.name)
7767
7781
  c.string.encode(state, m.description)
@@ -7777,6 +7791,7 @@ const encoding208 = {
7777
7791
  c.string.encode(state, m.status)
7778
7792
  if (m.minCapabilityProfile) c.string.encode(state, m.minCapabilityProfile)
7779
7793
  if (m.emoji) c.string.encode(state, m.emoji)
7794
+ if (m.displayName) c.string.encode(state, m.displayName)
7780
7795
  },
7781
7796
  decode(state) {
7782
7797
  const r0 = c.string.decode(state)
@@ -7796,7 +7811,8 @@ const encoding208 = {
7796
7811
  status: c.string.decode(state),
7797
7812
  stub: (flags & 128) !== 0,
7798
7813
  minCapabilityProfile: (flags & 256) !== 0 ? c.string.decode(state) : null,
7799
- emoji: (flags & 512) !== 0 ? c.string.decode(state) : null
7814
+ emoji: (flags & 512) !== 0 ? c.string.decode(state) : null,
7815
+ displayName: (flags & 1024) !== 0 ? c.string.decode(state) : null
7800
7816
  }
7801
7817
  }
7802
7818
  }
@@ -5549,13 +5549,20 @@ const encoding144 = {
5549
5549
  preencode(state, m) {
5550
5550
  encoding143.preencode(state, m.state)
5551
5551
  c.uint.preencode(state, m.peerCount)
5552
- state.end++ // max flag is 4 so always one byte
5552
+ state.end++ // max flag is 16 so always one byte
5553
5553
 
5554
5554
  if (m.peerDeviceIds) encoding144_2.preencode(state, m.peerDeviceIds)
5555
5555
  if (m.error) c.string.preencode(state, m.error)
5556
+ if (m.blindPeersConnected) c.uint.preencode(state, m.blindPeersConnected)
5557
+ if (m.blindPeersTotal) c.uint.preencode(state, m.blindPeersTotal)
5556
5558
  },
5557
5559
  encode(state, m) {
5558
- const flags = (m.peerDeviceIds ? 1 : 0) | (m.kickedPending ? 2 : 0) | (m.error ? 4 : 0)
5560
+ const flags =
5561
+ (m.peerDeviceIds ? 1 : 0) |
5562
+ (m.kickedPending ? 2 : 0) |
5563
+ (m.error ? 4 : 0) |
5564
+ (m.blindPeersConnected ? 8 : 0) |
5565
+ (m.blindPeersTotal ? 16 : 0)
5559
5566
 
5560
5567
  encoding143.encode(state, m.state)
5561
5568
  c.uint.encode(state, m.peerCount)
@@ -5563,6 +5570,8 @@ const encoding144 = {
5563
5570
 
5564
5571
  if (m.peerDeviceIds) encoding144_2.encode(state, m.peerDeviceIds)
5565
5572
  if (m.error) c.string.encode(state, m.error)
5573
+ if (m.blindPeersConnected) c.uint.encode(state, m.blindPeersConnected)
5574
+ if (m.blindPeersTotal) c.uint.encode(state, m.blindPeersTotal)
5566
5575
  },
5567
5576
  decode(state) {
5568
5577
  const r0 = encoding143.decode(state)
@@ -5574,7 +5583,9 @@ const encoding144 = {
5574
5583
  peerCount: r1,
5575
5584
  peerDeviceIds: (flags & 1) !== 0 ? encoding144_2.decode(state) : null,
5576
5585
  kickedPending: (flags & 2) !== 0,
5577
- error: (flags & 4) !== 0 ? c.string.decode(state) : null
5586
+ error: (flags & 4) !== 0 ? c.string.decode(state) : null,
5587
+ blindPeersConnected: (flags & 8) !== 0 ? c.uint.decode(state) : 0,
5588
+ blindPeersTotal: (flags & 16) !== 0 ? c.uint.decode(state) : 0
5578
5589
  }
5579
5590
  }
5580
5591
  }
@@ -7733,7 +7744,8 @@ const encoding208 = {
7733
7744
  (m.setup ? 64 : 0) |
7734
7745
  (m.stub ? 128 : 0) |
7735
7746
  (m.minCapabilityProfile ? 256 : 0) |
7736
- (m.emoji ? 512 : 0)
7747
+ (m.emoji ? 512 : 0) |
7748
+ (m.displayName ? 1024 : 0)
7737
7749
 
7738
7750
  c.string.preencode(state, m.name)
7739
7751
  c.string.preencode(state, m.description)
@@ -7749,6 +7761,7 @@ const encoding208 = {
7749
7761
  c.string.preencode(state, m.status)
7750
7762
  if (m.minCapabilityProfile) c.string.preencode(state, m.minCapabilityProfile)
7751
7763
  if (m.emoji) c.string.preencode(state, m.emoji)
7764
+ if (m.displayName) c.string.preencode(state, m.displayName)
7752
7765
  },
7753
7766
  encode(state, m) {
7754
7767
  const flags =
@@ -7761,7 +7774,8 @@ const encoding208 = {
7761
7774
  (m.setup ? 64 : 0) |
7762
7775
  (m.stub ? 128 : 0) |
7763
7776
  (m.minCapabilityProfile ? 256 : 0) |
7764
- (m.emoji ? 512 : 0)
7777
+ (m.emoji ? 512 : 0) |
7778
+ (m.displayName ? 1024 : 0)
7765
7779
 
7766
7780
  c.string.encode(state, m.name)
7767
7781
  c.string.encode(state, m.description)
@@ -7777,6 +7791,7 @@ const encoding208 = {
7777
7791
  c.string.encode(state, m.status)
7778
7792
  if (m.minCapabilityProfile) c.string.encode(state, m.minCapabilityProfile)
7779
7793
  if (m.emoji) c.string.encode(state, m.emoji)
7794
+ if (m.displayName) c.string.encode(state, m.displayName)
7780
7795
  },
7781
7796
  decode(state) {
7782
7797
  const r0 = c.string.decode(state)
@@ -7796,7 +7811,8 @@ const encoding208 = {
7796
7811
  status: c.string.decode(state),
7797
7812
  stub: (flags & 128) !== 0,
7798
7813
  minCapabilityProfile: (flags & 256) !== 0 ? c.string.decode(state) : null,
7799
- emoji: (flags & 512) !== 0 ? c.string.decode(state) : null
7814
+ emoji: (flags & 512) !== 0 ? c.string.decode(state) : null,
7815
+ displayName: (flags & 1024) !== 0 ? c.string.decode(state) : null
7800
7816
  }
7801
7817
  }
7802
7818
  }
@@ -4360,6 +4360,16 @@
4360
4360
  "name": "error",
4361
4361
  "type": "string",
4362
4362
  "version": 1
4363
+ },
4364
+ {
4365
+ "name": "blindPeersConnected",
4366
+ "type": "uint",
4367
+ "version": 1
4368
+ },
4369
+ {
4370
+ "name": "blindPeersTotal",
4371
+ "type": "uint",
4372
+ "version": 1
4363
4373
  }
4364
4374
  ]
4365
4375
  },
@@ -6278,6 +6288,11 @@
6278
6288
  "name": "emoji",
6279
6289
  "type": "string",
6280
6290
  "version": 1
6291
+ },
6292
+ {
6293
+ "name": "displayName",
6294
+ "type": "string",
6295
+ "version": 1
6281
6296
  }
6282
6297
  ]
6283
6298
  },
@@ -899,6 +899,8 @@ export interface AssistantMeshStatus {
899
899
  peerDeviceIds?: string[] | null
900
900
  kickedPending?: boolean
901
901
  error?: string | null
902
+ blindPeersConnected?: number
903
+ blindPeersTotal?: number
902
904
  }
903
905
 
904
906
  export type AssistantNetworkStatusState = "online" | "degraded" | "offline"
@@ -1309,6 +1311,7 @@ export interface AssistantSkill {
1309
1311
  stub?: boolean
1310
1312
  minCapabilityProfile?: string | null
1311
1313
  emoji?: string | null
1314
+ displayName?: string | null
1312
1315
  }
1313
1316
 
1314
1317
  export interface AssistantSkillCatalogResponse {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qvac/core",
3
- "version": "0.7.6",
3
+ "version": "0.8.0",
4
4
  "type": "module",
5
5
  "description": "Peer-to-peer AI across your devices",
6
6
  "engines": {
package/tui/README.md CHANGED
@@ -87,22 +87,24 @@ for the full command set.
87
87
 
88
88
  ## Environment
89
89
 
90
- | Variable | Effect |
91
- | ----------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
92
- | `QVAC_MODEL` | Overrides the demo agent's model — a registry name, or a local path/URL |
93
- | `QVAC_MMPROJ` | Pairs models with their mmproj projections so ctrl+V'd images reach the model natively. One value applies to every model; `model=mmproj,model2=mmproj2` pairs are per-model |
94
- | `QVAC_IMAGE_MODEL` | Enables the `generate_image`/`edit_image` tools — a catalog choice (`sd2` \| `sdxl` \| `flux2-klein`), or a local diffusion model |
95
- | `QVAC_IMAGE_LLM`, `QVAC_IMAGE_VAE`, `QVAC_IMAGE_PREDICTION` | FLUX.2 is a companion set: the Qwen3 text encoder, the VAE, and `flux2_flow` (required for img2img) |
96
- | `QVAC_LOG_FILE`, `QVAC_LOG_LEVEL` | Move the log file / pick the level (`debug` \| `info` \| `warn` \| `error`, default `info`) |
97
- | `QVAC_BOOT_TIMING=1` | Prints the total connect time after the TUI exits |
98
- | `QVAC_FAKE_MODELS=1` | Adds the deterministic `quack` model, as `--fake-models` does |
90
+ | Variable | Effect |
91
+ | ----------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
92
+ | `QVAC_MODEL` | Overrides the demo agent's model — a catalog name, quant suffix included (`Qwen3.5-4B-Q4_K_M`), or a local path/URL. Only a catalog name has its mmproj paired, so ctrl+V'd images reach the model; a path or URL runs text-only |
93
+ | `QVAC_IMAGE_MODEL` | Enables the `generate_image`/`edit_image` tools — a catalog choice (`sd2` \| `sdxl` \| `flux2-klein`), or a local diffusion model |
94
+ | `QVAC_IMAGE_LLM`, `QVAC_IMAGE_VAE`, `QVAC_IMAGE_PREDICTION` | FLUX.2 is a companion set: the Qwen3 text encoder, the VAE, and `flux2_flow` (required for img2img) |
95
+ | `QVAC_LOG_FILE`, `QVAC_LOG_LEVEL` | Move the log file / pick the level (`debug` \| `info` \| `warn` \| `error`, default `info`) |
96
+ | `QVAC_BOOT_TIMING=1` | Prints the total connect time after the TUI exits |
97
+ | `QVAC_FAKE_MODELS=1` | Adds the deterministic `quack` model, as `--fake-models` does |
98
+
99
+ A vision model, with its projection paired from the catalog:
99
100
 
100
101
  ```sh
101
- QVAC_MODEL=~/.qvac/models/3a65a2a3c6a30a47_Qwen3.5-4B-Q4_K_M.gguf \
102
- QVAC_MMPROJ=~/.qvac/models/0e037fa9ec5dddcf_Qwen3.5-4B.mmproj-Q8_0.gguf \
103
- duck
102
+ QVAC_MODEL=Qwen3.5-4B-Q4_K_M duck
104
103
  ```
105
104
 
105
+ The bare `Qwen3.5-4B` is not a catalog name: it falls through to a registry
106
+ search whose first match is that model's mmproj file, which fails to load.
107
+
106
108
  Logs (Core's own lines, and the sidecar child's piped stdout/stderr — the
107
109
  llama.cpp and SDK output) go to `<storage.root>/assistant.log`, as they do on
108
110
  desktop. Nothing is printed: the TUI owns the tty.