@ceralive/modem-control 1.2.0 → 1.2.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.
package/README.md CHANGED
@@ -173,6 +173,11 @@ represented return path. Its suppression vocabulary is `unknown-vendor`,
173
173
  no targets. Unknown/disabled/blocked decisions happen before transport contact, and a
174
174
  capability read sends only the named READ/TEST forms, never a SET.
175
175
 
176
+ The current and enumeration replies must both carry a successful AT result before their raw
177
+ bodies are parsed. If either query fails, the operation returns the existing `no-return-path`
178
+ suppression with an empty offer; parseable-looking data followed by `ERROR` cannot make a
179
+ disruptive target writable.
180
+
176
181
  A reviewed catalog transition still provides the strongest success proof: canonical mode
177
182
  and USB descriptors must both match. Without one, the weaker fallback proof is the
178
183
  re-enumerated device's own post-switch READ reporting the target. AT `OK` is never success.
@@ -98,6 +98,8 @@ export function createRuntimeCompositionOperation(deps) {
98
98
  });
99
99
  const current = await lease.run(queries.current);
100
100
  const enumeration = await lease.run(queries.enumerate);
101
+ if (!current.ok || !enumeration.ok)
102
+ return suppressed('no-return-path', 'A runtime composition query failed');
101
103
  const resolved = resolveRuntimeCompositionCapability({
102
104
  vendor,
103
105
  currentResponse: current.raw,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ceralive/modem-control",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "type": "module",
5
5
  "description": "Cellular modem control for CeraLive — ModemManager D-Bus backend, NetworkManager adapter, desired-state reconciler, USB composition-mode model, data-usage sampler.",
6
6
  "license": "AGPL-3.0",