@kodaris/krubble-app-components 1.0.74 → 1.0.75

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.
@@ -6062,7 +6062,7 @@
6062
6062
  // top actions (Attach Files, Browse All Skills) are index 0 and 1, then the
6063
6063
  // filtered skills follow — all navigable as one list.
6064
6064
  if (this._skillMenuOpened) {
6065
- const count = 2 + this._filteredSkills().length;
6065
+ const count = 2 + this._skillResults.length;
6066
6066
  if (e.key === 'ArrowDown') {
6067
6067
  e.preventDefault();
6068
6068
  this._skillHighlighted = (this._skillHighlighted + 1) % count;
@@ -6099,7 +6099,7 @@
6099
6099
  this._handleSkillBrowseOpen();
6100
6100
  return;
6101
6101
  }
6102
- const skill = this._filteredSkills()[index - 2];
6102
+ const skill = this._skillResults[index - 2];
6103
6103
  if (skill) {
6104
6104
  this._handleSkillSelect(skill);
6105
6105
  }
@@ -6158,10 +6158,6 @@
6158
6158
  console.error('kr-chatbot: skill search failed', error);
6159
6159
  });
6160
6160
  }
6161
- /** Skills shown in the `/` menu — the shared results, capped at the first 15. */
6162
- _filteredSkills() {
6163
- return this._skillResults.slice(0, 15);
6164
- }
6165
6161
  /** The `+` button toggles the skill/attachment menu open (showing all skills). */
6166
6162
  _handlePlusClick() {
6167
6163
  if (this._skillMenuOpened) {
@@ -6566,7 +6562,7 @@
6566
6562
  // --- Render ---
6567
6563
  /** The `/` skill menu shown above the composer while typing a slash command. */
6568
6564
  _renderSkillMenu() {
6569
- const skills = this._filteredSkills();
6565
+ const skills = this._skillResults;
6570
6566
  return b `
6571
6567
  <div class="skill-menu">
6572
6568
  <div class="skill-menu__actions">