panopticon-cli 0.5.6 → 0.5.7

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.
@@ -20,7 +20,7 @@
20
20
  }
21
21
  })();
22
22
  </script>
23
- <script type="module" crossorigin src="/assets/index-Db9NOz4z.js"></script>
23
+ <script type="module" crossorigin src="/assets/index-C7hJ5-o1.js"></script>
24
24
  <link rel="stylesheet" crossorigin href="/assets/index-Bx4NCn9A.css">
25
25
  </head>
26
26
  <body class="bg-surface text-content transition-colors duration-150">
@@ -148719,6 +148719,7 @@ function stopAgent(agentId) {
148719
148719
  state.status = "stopped";
148720
148720
  saveAgentState(state);
148721
148721
  }
148722
+ saveAgentRuntimeState(normalizedId, { state: "stopped" });
148722
148723
  }
148723
148724
  async function messageAgent(agentId, message) {
148724
148725
  const normalizedId = normalizeAgentId(agentId);
@@ -172226,7 +172227,7 @@ async function checkOrphanedReviewStatuses() {
172226
172227
  (h) => h.type === "review" && h.status === "passed"
172227
172228
  );
172228
172229
  const hasPassedTest = status.history?.some(
172229
- (h) => h.type === "test" && (h.status === "passed" || h.status === "failed")
172230
+ (h) => h.type === "test" && h.status === "passed"
172230
172231
  );
172231
172232
  const reviewAgentActive = activeReviewSessions.has(issueId.toUpperCase());
172232
172233
  if (status.reviewStatus === "reviewing" && !reviewAgentActive && !hasPassedReview) {
@@ -173153,6 +173154,10 @@ var CloisterService = class {
173153
173154
  console.log(`\u{1F514} Agent ${agentId} is suspended, skipping restart`);
173154
173155
  return;
173155
173156
  }
173157
+ if (runtimeState?.state === "stopped") {
173158
+ console.log(`\u{1F514} Agent ${agentId} runtime is stopped, skipping restart`);
173159
+ return;
173160
+ }
173156
173161
  const now = /* @__PURE__ */ new Date();
173157
173162
  this.deathTimestamps.push(now);
173158
173163
  this.checkForMassDeaths();
@@ -8,7 +8,7 @@ import {
8
8
  recordWake,
9
9
  spawnEphemeralSpecialist,
10
10
  wakeSpecialist
11
- } from "./chunk-WJJ3ZIQ6.js";
11
+ } from "./chunk-TFPJD2I2.js";
12
12
  import "./chunk-JQBV3Q2W.js";
13
13
  import {
14
14
  init_workspace_config,
@@ -589,7 +589,7 @@ async function postMergeLifecycle(issueId, projectPath) {
589
589
  console.warn(`[merge-agent] Beads compaction failed: ${err}`);
590
590
  }
591
591
  try {
592
- const { getAgentState, saveAgentState } = await import("./agents-5HWTDR4S.js");
592
+ const { getAgentState, saveAgentState } = await import("./agents-QXVDAW2M.js");
593
593
  const { killSession, sessionExists: sessionExists2 } = await import("./tmux-X2I5SAIJ.js");
594
594
  const agentId = `agent-${issueId.toLowerCase()}`;
595
595
  const agentState = getAgentState(agentId);
@@ -1210,7 +1210,7 @@ Report any issues or conflicts you encountered.`;
1210
1210
  console.warn(`[merge-agent] Could not resolve project for ${issueId} \u2014 falling back to global specialist. Check projects.yaml configuration.`);
1211
1211
  }
1212
1212
  if (mergeProjectKey) {
1213
- const { getAgentRuntimeState, saveAgentRuntimeState } = await import("./agents-5HWTDR4S.js");
1213
+ const { getAgentRuntimeState, saveAgentRuntimeState } = await import("./agents-QXVDAW2M.js");
1214
1214
  const IDLE_POLL_INTERVAL = 3e3;
1215
1215
  const IDLE_MAX_WAIT = 36e4;
1216
1216
  const idleStart = Date.now();
@@ -1722,4 +1722,4 @@ export {
1722
1722
  spawnMergeAgentForBranches,
1723
1723
  syncMainIntoWorkspace
1724
1724
  };
1725
- //# sourceMappingURL=merge-agent-WM7ZKUET.js.map
1725
+ //# sourceMappingURL=merge-agent-O3TSBTLC.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getRecentRunLogs,
3
3
  init_specialist_logs
4
- } from "./chunk-WJJ3ZIQ6.js";
4
+ } from "./chunk-TFPJD2I2.js";
5
5
  import "./chunk-JQBV3Q2W.js";
6
6
  import {
7
7
  getModelId,
@@ -257,4 +257,4 @@ export {
257
257
  regenerateContextDigest,
258
258
  scheduleDigestGeneration
259
259
  };
260
- //# sourceMappingURL=specialist-context-74RQF5SR.js.map
260
+ //# sourceMappingURL=specialist-context-IKG6VMNH.js.map
@@ -16,7 +16,7 @@ import {
16
16
  isRunLogActive,
17
17
  listRunLogs,
18
18
  parseLogMetadata
19
- } from "./chunk-WJJ3ZIQ6.js";
19
+ } from "./chunk-TFPJD2I2.js";
20
20
  import "./chunk-JQBV3Q2W.js";
21
21
  import "./chunk-ZN5RHWGR.js";
22
22
  import "./chunk-USYP2SBE.js";
@@ -45,4 +45,4 @@ export {
45
45
  listRunLogs,
46
46
  parseLogMetadata
47
47
  };
48
- //# sourceMappingURL=specialist-logs-T5GW7CSU.js.map
48
+ //# sourceMappingURL=specialist-logs-GFKUXCFG.js.map
@@ -55,7 +55,7 @@ import {
55
55
  wakeSpecialist,
56
56
  wakeSpecialistOrQueue,
57
57
  wakeSpecialistWithTask
58
- } from "./chunk-WJJ3ZIQ6.js";
58
+ } from "./chunk-TFPJD2I2.js";
59
59
  import "./chunk-JQBV3Q2W.js";
60
60
  import "./chunk-ZN5RHWGR.js";
61
61
  import "./chunk-USYP2SBE.js";
@@ -123,4 +123,4 @@ export {
123
123
  wakeSpecialistOrQueue,
124
124
  wakeSpecialistWithTask
125
125
  };
126
- //# sourceMappingURL=specialists-HTYYFXHQ.js.map
126
+ //# sourceMappingURL=specialists-XMFCFGYQ.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "panopticon-cli",
3
- "version": "0.5.6",
3
+ "version": "0.5.7",
4
4
  "description": "Multi-agent orchestration for AI coding assistants (Claude Code, Codex, Cursor, Gemini CLI)",
5
5
  "keywords": [
6
6
  "ai-agents",