automata-cli 0.11.0-develop.485 → 0.11.0-develop.492

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/index.js +6 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -8286,6 +8286,11 @@ function toPlanJson(decision) {
8286
8286
  // src/commands/conductor.ts
8287
8287
  import { Command as Command7 } from "commander";
8288
8288
 
8289
+ // src/conductor/replyDecision.ts
8290
+ function isWatchClosed(state) {
8291
+ return state === "closed";
8292
+ }
8293
+
8289
8294
  // src/conductor/watchList.ts
8290
8295
  function parseWatchId(raw) {
8291
8296
  const text = raw.trim().replace(/^#/, "");
@@ -8330,7 +8335,7 @@ function pruneWatchList(config) {
8330
8335
  for (const id of watch) {
8331
8336
  try {
8332
8337
  const target = getWatchTarget(id);
8333
- if (target.state === "closed") {
8338
+ if (isWatchClosed(target.state)) {
8334
8339
  process.stdout.write(
8335
8340
  `Conductor: dropped ${target.kind === "pr" ? "PR" : "issue"} #${String(id)} from the watch list (closed).
8336
8341
  `
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "automata-cli",
3
- "version": "0.11.0-develop.485",
3
+ "version": "0.11.0-develop.492",
4
4
  "description": "Automata CLI tool",
5
5
  "type": "module",
6
6
  "engines": {