panopticon-cli 0.4.23 → 0.4.24

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.
@@ -85391,8 +85391,10 @@ var IssueDataService = class {
85391
85391
  const cached = this.cache.getStale(tracker, "issues");
85392
85392
  if (cached?.data) {
85393
85393
  if (tracker === "rally") {
85394
+ let sanitizedCount = 0;
85394
85395
  cached.data = cached.data.map((issue) => {
85395
85396
  if (typeof issue.rawTrackerState === "object" && issue.rawTrackerState !== null) {
85397
+ sanitizedCount++;
85396
85398
  return {
85397
85399
  ...issue,
85398
85400
  rawTrackerState: issue.rawTrackerState.Name || issue.rawTrackerState._refObjectName || "Defined"
@@ -85400,6 +85402,9 @@ var IssueDataService = class {
85400
85402
  }
85401
85403
  return issue;
85402
85404
  });
85405
+ if (sanitizedCount > 0) {
85406
+ console.warn(`[IssueDataService] Rally cache: sanitized ${sanitizedCount} issues with object rawTrackerState (PAN-201)`);
85407
+ }
85403
85408
  }
85404
85409
  this.trackers[tracker].lastFetchedIssues = cached.data;
85405
85410
  this.trackers[tracker].lastFetchedAt = cached.lastFetchedAt;
@@ -85739,6 +85744,9 @@ var IssueDataService = class {
85739
85744
  formatRallyIssue(issue, projectInfo) {
85740
85745
  const canonicalStatus = mapRallyStateToCanonical(issue.state);
85741
85746
  const identifier = issue.ref || issue.id || "unknown";
85747
+ if (typeof issue.rawState === "object" && issue.rawState !== null) {
85748
+ console.warn(`[IssueDataService] Rally ${identifier}: rawState is object, normalizing (PAN-201)`);
85749
+ }
85742
85750
  return {
85743
85751
  id: `rally-${issue.id || identifier}`,
85744
85752
  identifier,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "panopticon-cli",
3
- "version": "0.4.23",
3
+ "version": "0.4.24",
4
4
  "description": "Multi-agent orchestration for AI coding assistants (Claude Code, Codex, Cursor, Gemini CLI)",
5
5
  "keywords": [
6
6
  "ai-agents",