@tarcisiopgs/lisa 1.33.0 → 1.33.2

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.
@@ -30,7 +30,7 @@ import {
30
30
  resolveModels,
31
31
  runValidationCommands,
32
32
  runWithFallback
33
- } from "./chunk-SC222P5D.js";
33
+ } from "./chunk-TFSN45HD.js";
34
34
  import {
35
35
  divider,
36
36
  error,
@@ -39,7 +39,7 @@ import {
39
39
  log,
40
40
  ok,
41
41
  warn
42
- } from "./chunk-XLAY4P45.js";
42
+ } from "./chunk-PPRXJHPW.js";
43
43
  import {
44
44
  appendRawEntry,
45
45
  migrateGuardrails
@@ -1109,6 +1109,8 @@ async function refreshKanban(source, config) {
1109
1109
  for (const issue of allIssues) {
1110
1110
  kanbanEmitter.emit("issue:queued", issue);
1111
1111
  }
1112
+ const sourceIds = new Set(allIssues.map((i) => i.id));
1113
+ kanbanEmitter.emit("kanban:reconcile-backlog", sourceIds);
1112
1114
  } catch {
1113
1115
  }
1114
1116
  }
@@ -3172,10 +3174,10 @@ async function runConcurrentLoop(config, source, models, workspace, opts) {
3172
3174
  noMoreIssues = true;
3173
3175
  break;
3174
3176
  }
3175
- kanbanEmitter.emit("work:resumed");
3176
3177
  }
3177
3178
  break;
3178
3179
  }
3180
+ kanbanEmitter.emit("work:resumed");
3179
3181
  sessionCounter = tentativeSession;
3180
3182
  const session = sessionCounter;
3181
3183
  claimedIssueIds.add(issue.id);
@@ -3635,10 +3637,10 @@ async function runSequentialLoop(config, source, models, workspace, opts) {
3635
3637
  if (isShuttingDown() || hasUserQuitFromWatchPrompt()) {
3636
3638
  break;
3637
3639
  }
3638
- kanbanEmitter.emit("work:resumed");
3639
3640
  session--;
3640
3641
  continue;
3641
3642
  }
3643
+ kanbanEmitter.emit("work:resumed");
3642
3644
  ok(`Picked up: ${issue.id} \u2014 ${issue.title}`);
3643
3645
  setTitle(`Lisa \u2014 ${issue.id}`);
3644
3646
  const cachedPrUrls = loadPrUrls(workspace, issue.id);
@@ -4,14 +4,14 @@ import {
4
4
  readContext,
5
5
  resolveModels,
6
6
  runWithFallback
7
- } from "./chunk-SC222P5D.js";
7
+ } from "./chunk-TFSN45HD.js";
8
8
  import {
9
9
  error,
10
10
  log,
11
11
  normalizeLabels,
12
12
  ok,
13
13
  warn
14
- } from "./chunk-XLAY4P45.js";
14
+ } from "./chunk-PPRXJHPW.js";
15
15
 
16
16
  // src/cli/error.ts
17
17
  var CliError = class extends Error {
@@ -921,6 +921,9 @@ function useKanbanState(bellEnabled, initialCards = []) {
921
921
  outputBuffer.delete(issueId);
922
922
  setCards((prev) => prev.filter((c) => c.id !== issueId));
923
923
  };
924
+ const onReconcileBacklog = (sourceIds) => {
925
+ setCards((prev) => prev.filter((c) => c.column !== "backlog" || sourceIds.has(c.id)));
926
+ };
924
927
  kanbanEmitter.on("issue:queued", onQueued);
925
928
  kanbanEmitter.on("issue:started", onStarted);
926
929
  kanbanEmitter.on("issue:done", onDone);
@@ -929,6 +932,7 @@ function useKanbanState(bellEnabled, initialCards = []) {
929
932
  kanbanEmitter.on("issue:skipped", onSkipped);
930
933
  kanbanEmitter.on("issue:killed", onKilled);
931
934
  kanbanEmitter.on("issue:reconcile-remove", onReconcileRemove);
935
+ kanbanEmitter.on("kanban:reconcile-backlog", onReconcileBacklog);
932
936
  kanbanEmitter.on("provider:paused", onProviderPaused);
933
937
  kanbanEmitter.on("provider:resumed", onProviderResumed);
934
938
  kanbanEmitter.on("issue:log-file", onLogFile);
@@ -973,6 +977,7 @@ function useKanbanState(bellEnabled, initialCards = []) {
973
977
  kanbanEmitter.off("issue:skipped", onSkipped);
974
978
  kanbanEmitter.off("issue:killed", onKilled);
975
979
  kanbanEmitter.off("issue:reconcile-remove", onReconcileRemove);
980
+ kanbanEmitter.off("kanban:reconcile-backlog", onReconcileBacklog);
976
981
  kanbanEmitter.off("provider:paused", onProviderPaused);
977
982
  kanbanEmitter.off("provider:resumed", onProviderResumed);
978
983
  kanbanEmitter.off("issue:log-file", onLogFile);
@@ -11,7 +11,7 @@ import {
11
11
  normalizeLabels,
12
12
  ok,
13
13
  warn
14
- } from "./chunk-XLAY4P45.js";
14
+ } from "./chunk-PPRXJHPW.js";
15
15
  import {
16
16
  appendEntry,
17
17
  buildGuardrailsSection,
package/dist/index.js CHANGED
@@ -7,7 +7,7 @@ import {
7
7
  parseStructuredOutput,
8
8
  runPlanWizard,
9
9
  savePlan
10
- } from "./chunk-6XC7GQUI.js";
10
+ } from "./chunk-MAT63YLV.js";
11
11
  import {
12
12
  detectDefaultBranch,
13
13
  detectGitRepos,
@@ -36,7 +36,7 @@ import {
36
36
  runLoop,
37
37
  saveConfig,
38
38
  validateConfig
39
- } from "./chunk-23Z5BBRT.js";
39
+ } from "./chunk-KO5JN57P.js";
40
40
  import {
41
41
  buildContextMdBlock,
42
42
  createProvider,
@@ -48,7 +48,7 @@ import {
48
48
  readContext,
49
49
  resolveModels,
50
50
  runWithFallback
51
- } from "./chunk-SC222P5D.js";
51
+ } from "./chunk-TFSN45HD.js";
52
52
  import {
53
53
  banner,
54
54
  error,
@@ -58,7 +58,7 @@ import {
58
58
  setLogLevel,
59
59
  setOutputMode,
60
60
  updateNotice
61
- } from "./chunk-XLAY4P45.js";
61
+ } from "./chunk-PPRXJHPW.js";
62
62
  import "./chunk-3EOEDL3T.js";
63
63
  import {
64
64
  getKanbanStatePath,
@@ -1544,7 +1544,7 @@ async function reviewAndCreate(plan2, planPath, opts) {
1544
1544
  log("Run `lisa run` when ready.");
1545
1545
  return;
1546
1546
  }
1547
- const { runLoop: runLoop2 } = await import("./loop-XEJHKZHO.js");
1547
+ const { runLoop: runLoop2 } = await import("./loop-ZXNFUM5M.js");
1548
1548
  await runLoop2(config2, {
1549
1549
  once: false,
1550
1550
  watch: false,
@@ -1908,7 +1908,7 @@ async function executeRun(args) {
1908
1908
  if (isTTY) {
1909
1909
  const { render } = await import("ink");
1910
1910
  const { createElement } = await import("react");
1911
- const { KanbanApp } = await import("./kanban-X4OR4ZFI.js");
1911
+ const { KanbanApp } = await import("./kanban-MKRXRMTL.js");
1912
1912
  const demoConfig = {
1913
1913
  provider: "claude",
1914
1914
  source: "linear",
@@ -2008,7 +2008,7 @@ Add them to your ${shell} and run: source ${shell}`));
2008
2008
  const initialCards = persistence.load();
2009
2009
  persistedCards = initialCards;
2010
2010
  persistence.start();
2011
- const { registerPlanBridge } = await import("./tui-bridge-G6BBFZFH.js");
2011
+ const { registerPlanBridge } = await import("./tui-bridge-XTNCKLXF.js");
2012
2012
  const cleanupPlan = registerPlanBridge(merged);
2013
2013
  onBeforeExit = () => {
2014
2014
  persistence.stop();
@@ -2016,7 +2016,7 @@ Add them to your ${shell} and run: source ${shell}`));
2016
2016
  };
2017
2017
  const { render } = await import("ink");
2018
2018
  const { createElement } = await import("react");
2019
- const { KanbanApp } = await import("./kanban-X4OR4ZFI.js");
2019
+ const { KanbanApp } = await import("./kanban-MKRXRMTL.js");
2020
2020
  render(createElement(KanbanApp, { config: merged, initialCards }), { exitOnCtrlC: false });
2021
2021
  }
2022
2022
  await runLoop(merged, {
@@ -5,7 +5,7 @@ import {
5
5
  import {
6
6
  kanbanEmitter,
7
7
  useKanbanState
8
- } from "./chunk-XLAY4P45.js";
8
+ } from "./chunk-PPRXJHPW.js";
9
9
  import {
10
10
  resetTitle,
11
11
  startSpinner,
@@ -3,11 +3,11 @@ import {
3
3
  checkoutBaseBranches,
4
4
  runDemoLoop,
5
5
  runLoop
6
- } from "./chunk-23Z5BBRT.js";
6
+ } from "./chunk-KO5JN57P.js";
7
7
  import {
8
8
  WATCH_POLL_INTERVAL_MS
9
- } from "./chunk-SC222P5D.js";
10
- import "./chunk-XLAY4P45.js";
9
+ } from "./chunk-TFSN45HD.js";
10
+ import "./chunk-PPRXJHPW.js";
11
11
  import "./chunk-3EOEDL3T.js";
12
12
  import "./chunk-7OCDGYDM.js";
13
13
  import "./chunk-72CYGBT4.js";
@@ -6,19 +6,19 @@ import {
6
6
  markdownToIssue,
7
7
  parseStructuredOutput,
8
8
  savePlan
9
- } from "./chunk-6XC7GQUI.js";
9
+ } from "./chunk-MAT63YLV.js";
10
10
  import {
11
11
  createSource,
12
12
  resolveModels,
13
13
  runWithFallback
14
- } from "./chunk-SC222P5D.js";
14
+ } from "./chunk-TFSN45HD.js";
15
15
  import {
16
16
  error,
17
17
  kanbanEmitter,
18
18
  log,
19
19
  ok,
20
20
  warn
21
- } from "./chunk-XLAY4P45.js";
21
+ } from "./chunk-PPRXJHPW.js";
22
22
  import "./chunk-3EOEDL3T.js";
23
23
  import "./chunk-7OCDGYDM.js";
24
24
  import "./chunk-72CYGBT4.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tarcisiopgs/lisa",
3
- "version": "1.33.0",
3
+ "version": "1.33.2",
4
4
  "description": "Autonomous issue resolver",
5
5
  "keywords": [
6
6
  "loop",