@ashx-j/lunr 0.2.0 → 0.2.1

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 (25) hide show
  1. package/dist/catalog/models.json +1 -1
  2. package/dist/catalog/providers/amazon-bedrock.json +1 -1
  3. package/dist/catalog/providers/huggingface.json +1 -1
  4. package/dist/catalog/providers/opencode-go.json +1 -1
  5. package/dist/catalog/providers/opencode.json +1 -1
  6. package/dist/catalog/providers/openrouter.json +1 -1
  7. package/dist/catalog/providers/vercel-ai-gateway.json +1 -1
  8. package/dist/catalog/publication.json +3 -3
  9. package/dist/modes/interactive/components/tool-execution.d.ts +3 -0
  10. package/dist/modes/interactive/components/tool-execution.d.ts.map +1 -1
  11. package/dist/modes/interactive/components/tool-execution.js +19 -5
  12. package/dist/modes/interactive/components/tool-execution.js.map +1 -1
  13. package/dist/modes/interactive/interactive-mode.d.ts.map +1 -1
  14. package/dist/modes/interactive/interactive-mode.js +4 -6
  15. package/dist/modes/interactive/interactive-mode.js.map +1 -1
  16. package/examples/extensions/custom-provider-anthropic/package-lock.json +2 -2
  17. package/examples/extensions/custom-provider-anthropic/package.json +1 -1
  18. package/examples/extensions/custom-provider-gitlab-duo/package.json +1 -1
  19. package/examples/extensions/gondolin/package-lock.json +2 -2
  20. package/examples/extensions/gondolin/package.json +1 -1
  21. package/examples/extensions/sandbox/package-lock.json +2 -2
  22. package/examples/extensions/sandbox/package.json +1 -1
  23. package/examples/extensions/with-deps/package-lock.json +2 -2
  24. package/examples/extensions/with-deps/package.json +1 -1
  25. package/package.json +4 -4
@@ -79,7 +79,7 @@ import { formatSubscriptionExhaustedUntil, SettingsSelectorComponent, } from "./
79
79
  import { SkillInvocationMessageComponent } from "./components/skill-invocation-message.js";
80
80
  import { BranchSummaryStatusIndicator, CompactionStatusIndicator, IdleStatus, RetryStatusIndicator, WorkingStatusIndicator, } from "./components/status-indicator.js";
81
81
  import { updateThinkingRunTimings } from "./components/thinking-summary.js";
82
- import { ToolExecutionComponent } from "./components/tool-execution.js";
82
+ import { applySameToolGrouping, ToolExecutionComponent } from "./components/tool-execution.js";
83
83
  import { TreeSelectorComponent } from "./components/tree-selector.js";
84
84
  import { TrustSelectorComponent } from "./components/trust-selector.js";
85
85
  import { renderUsageBox } from "./components/usage-view.js";
@@ -3481,13 +3481,11 @@ export class InteractiveMode {
3481
3481
  }
3482
3482
  // lunr: consecutive same-tool grouping — a tool component appended right after
3483
3483
  // another component for the SAME tool becomes a group continuation (no top
3484
- // spacer), so adjacent same-bg boxes merge into one continuous background.
3485
- // Adjacency is decided at add time only; later arrivals naturally break the run.
3484
+ // spacer / top pad); the previous card drops its bottom pad. Mixed neighbors
3485
+ // and singletons keep Box(1, 1). Adjacency is decided at add time only.
3486
3486
  addToolComponentToChat(component) {
3487
3487
  const last = this.chatContainer.children[this.chatContainer.children.length - 1];
3488
- if (last instanceof ToolExecutionComponent && last.getToolName() === component.getToolName()) {
3489
- component.setGroupContinuation(true);
3490
- }
3488
+ applySameToolGrouping(last instanceof ToolExecutionComponent ? last : undefined, component);
3491
3489
  this.chatContainer.addChild(component);
3492
3490
  }
3493
3491
  toggleThinkingBlockVisibility() {