@wrongstack/acp 0.268.0 → 0.270.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.
package/dist/index.js CHANGED
@@ -1377,7 +1377,7 @@ var ACPSession = class _ACPSession {
1377
1377
  void this.handleFsRequest(msg);
1378
1378
  return;
1379
1379
  }
1380
- if (msg.method && msg.method.startsWith("terminal/")) {
1380
+ if (msg.method?.startsWith("terminal/")) {
1381
1381
  void this.handleTerminalRequest(msg);
1382
1382
  return;
1383
1383
  }
@@ -2154,7 +2154,7 @@ async function runEnsemble(opts) {
2154
2154
  const runnable = [];
2155
2155
  for (const id of requested) {
2156
2156
  const det = detectedById.get(id);
2157
- if (!det || !det.installed) {
2157
+ if (!det?.installed) {
2158
2158
  setResult(results, id, {
2159
2159
  status: "skipped",
2160
2160
  reason: det?.reason ?? "not in catalog"