@ashx-j/lunr 0.2.18 → 0.2.19

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 (38) hide show
  1. package/CHANGELOG.md +8 -1
  2. package/dist/builtin-extensions/ashxj-tui.d.ts +2 -2
  3. package/dist/builtin-extensions/ashxj-tui.d.ts.map +1 -1
  4. package/dist/builtin-extensions/ashxj-tui.js +11 -8
  5. package/dist/builtin-extensions/ashxj-tui.js.map +1 -1
  6. package/dist/modes/interactive/interactive-mode.d.ts +0 -2
  7. package/dist/modes/interactive/interactive-mode.d.ts.map +1 -1
  8. package/dist/modes/interactive/interactive-mode.js +0 -22
  9. package/dist/modes/interactive/interactive-mode.js.map +1 -1
  10. package/dist/node-runtime/{builtin-extensions-QATGXENO.js → builtin-extensions-322XDDEM.js} +2 -2
  11. package/dist/node-runtime/{chunk-ZBV7FAHG.js → chunk-4FX25LWP.js} +2 -2
  12. package/dist/node-runtime/{chunk-R5EDISSV.js → chunk-JHYKXIMM.js} +5 -2
  13. package/dist/node-runtime/{chunk-NI6OTSBH.js → chunk-TFBIJTM3.js} +4 -4
  14. package/dist/node-runtime/{chunk-G4P75AIS.js → chunk-TXHKBRHZ.js} +2 -23
  15. package/dist/node-runtime/{chunk-EBF6COVM.js → chunk-ZRCBN365.js} +2 -2
  16. package/dist/node-runtime/cli-runtime.js +1 -1
  17. package/dist/node-runtime/{command-AAV3YRR5.js → command-DWUM5X3U.js} +1 -1
  18. package/dist/node-runtime/{gateway-OAC4OBBL.js → gateway-UZXMFGWY.js} +1 -1
  19. package/dist/node-runtime/index.js +4 -4
  20. package/dist/node-runtime/{interactive-mode-2SZUO53H.js → interactive-mode-QT5IKGQ5.js} +1 -1
  21. package/dist/node-runtime/{interactive-view-S6J3QHEF.js → interactive-view-ILS6TAN5.js} +1 -1
  22. package/dist/node-runtime/{lunr-cron-AUUYP4N4.js → lunr-cron-QPBTKBGI.js} +1 -1
  23. package/dist/node-runtime/main.js +3 -3
  24. package/dist/node-runtime/rpc-entry.js +3 -3
  25. package/examples/extensions/custom-provider-anthropic/package-lock.json +2 -2
  26. package/examples/extensions/custom-provider-anthropic/package.json +1 -1
  27. package/examples/extensions/custom-provider-gitlab-duo/package.json +1 -1
  28. package/examples/extensions/gondolin/package-lock.json +2 -2
  29. package/examples/extensions/gondolin/package.json +1 -1
  30. package/examples/extensions/sandbox/package-lock.json +2 -2
  31. package/examples/extensions/sandbox/package.json +1 -1
  32. package/examples/extensions/with-deps/package-lock.json +2 -2
  33. package/examples/extensions/with-deps/package.json +1 -1
  34. package/package.json +4 -4
  35. package/dist/modes/interactive/injected-context.d.ts +0 -2
  36. package/dist/modes/interactive/injected-context.d.ts.map +0 -1
  37. package/dist/modes/interactive/injected-context.js +0 -7
  38. package/dist/modes/interactive/injected-context.js.map +0 -1
@@ -6,11 +6,11 @@ import {
6
6
  lightBuiltinExtensions,
7
7
  loadAllBuiltinExtensions,
8
8
  loadDeferredBuiltinExtensions
9
- } from "./chunk-ZBV7FAHG.js";
9
+ } from "./chunk-4FX25LWP.js";
10
10
  import "./chunk-PL6JKXWI.js";
11
11
  import "./chunk-J26TSGDL.js";
12
12
  import "./chunk-M3LZLQW2.js";
13
- import "./chunk-R5EDISSV.js";
13
+ import "./chunk-JHYKXIMM.js";
14
14
  import "./chunk-H2EOZYMP.js";
15
15
  import "./chunk-PVCDKGR6.js";
16
16
  import "./chunk-DDWHZ633.js";
@@ -8,7 +8,7 @@ import {
8
8
  } from "./chunk-J26TSGDL.js";
9
9
  import {
10
10
  ashxj_tui_default
11
- } from "./chunk-R5EDISSV.js";
11
+ } from "./chunk-JHYKXIMM.js";
12
12
  import {
13
13
  measureStartup
14
14
  } from "./chunk-PVCDKGR6.js";
@@ -1316,7 +1316,7 @@ var lightBuiltinExtensions = [
1316
1316
  ], DEFERRED_BUILTIN_LOADERS = [
1317
1317
  { name: "pi-ollama-cloud", load: () => import("./pi-ollama-cloud-2F3Y2QNM.js") },
1318
1318
  { name: "narumiruna-pi-goal", load: () => import("./goal-NJEE5CTU.js") },
1319
- { name: "lunr-cron", load: () => import("./lunr-cron-AUUYP4N4.js") },
1319
+ { name: "lunr-cron", load: () => import("./lunr-cron-QPBTKBGI.js") },
1320
1320
  { name: "pi-intercom", load: () => import("./pi-intercom-EEMBGQID.js") },
1321
1321
  { name: "pi-prompt-template-model", load: () => import("./pi-prompt-template-model-QWTCGLJU.js") },
1322
1322
  { name: "pi-subagents", load: () => import("./pi-subagents-7YJ3I4VE.js") },
@@ -232,7 +232,7 @@ var ChatboxEditor = class extends CustomEditor {
232
232
  render(width) {
233
233
  if (width <= 4)
234
234
  return clampLines(super.render(width), width);
235
- let glyph = lunrPromptGlyph(this.ctx.ui?.theme), glyphW = displayWidth(glyph), innerWidth = Math.max(1, width - glyphW), base = super.render(innerWidth), showing = this.isShowingAutocomplete(), acList = this.autocompleteList, acCount = 0;
235
+ let glyph = lunrPromptGlyph(this.ctx.ui?.theme), glyphW = displayWidth(glyph), innerWidth = Math.max(1, width - 4 - glyphW), base = super.render(innerWidth), showing = this.isShowingAutocomplete(), acList = this.autocompleteList, acCount = 0;
236
236
  if (showing && acList && typeof acList.render == "function")
237
237
  try {
238
238
  acCount = acList.render(innerWidth).length;
@@ -241,7 +241,10 @@ var ChatboxEditor = class extends CustomEditor {
241
241
  }
242
242
  let frame = base, acLines = [];
243
243
  acCount > 0 && acCount < frame.length && (acLines = frame.slice(frame.length - acCount), frame = frame.slice(0, frame.length - acCount));
244
- let inner = frame.length >= 2 ? frame.slice(1, frame.length - 1) : frame, body = inner.length > 0 ? inner : [""], top = ((s) => this.borderColor(s))("\u256D" + "\u2500".repeat(width - 2) + "\u256E"), gutter = glyphW > 0 ? " ".repeat(glyphW) : "", bodyLines = body.map((ln, i) => (i === 0 && glyphW > 0 ? this.color("dim", glyph) : gutter) + padRight(ln, innerWidth)), bottom = this.renderBottomBorder(width);
244
+ let inner = frame.length >= 2 ? frame.slice(1, frame.length - 1) : frame, body = inner.length > 0 ? inner : [""], border = (s) => this.borderColor(s), top = border("\u256D" + "\u2500".repeat(width - 2) + "\u256E"), gutter = glyphW > 0 ? " ".repeat(glyphW) : "", bodyLines = body.map((ln, i) => {
245
+ let prefix = i === 0 && glyphW > 0 ? this.color("dim", glyph) : gutter;
246
+ return border("\u2502 ") + prefix + padRight(ln, innerWidth) + border(" \u2502");
247
+ }), bottom = this.renderBottomBorder(width);
245
248
  return [top, ...bodyLines, bottom, ...acLines];
246
249
  }
247
250
  renderBottomBorder(width) {
@@ -2,7 +2,7 @@ import { createRequire as __lunrRequire } from "node:module"; const require = __
2
2
  import {
3
3
  lightBuiltinExtensions,
4
4
  loadAllBuiltinExtensions
5
- } from "./chunk-ZBV7FAHG.js";
5
+ } from "./chunk-4FX25LWP.js";
6
6
  import {
7
7
  createProjectTrustContext,
8
8
  createStartupTui,
@@ -739,7 +739,7 @@ async function main(args, options) {
739
739
  return;
740
740
  }
741
741
  if (args[0] === "gateway") {
742
- let { handleGatewayCommand } = await import("./command-AAV3YRR5.js");
742
+ let { handleGatewayCommand } = await import("./command-DWUM5X3U.js");
743
743
  if (await handleGatewayCommand(args))
744
744
  return;
745
745
  }
@@ -762,7 +762,7 @@ async function main(args, options) {
762
762
  }
763
763
  console.log(`Exported to: ${result}`), process.exit(0);
764
764
  }
765
- let appMode = resolveAppMode(parsed, process.stdin.isTTY, process.stdout.isTTY), interactiveModeImport = appMode === "interactive" ? import("./interactive-mode-2SZUO53H.js") : void 0, startupView = appMode === "interactive" ? options?.startupView : void 0;
765
+ let appMode = resolveAppMode(parsed, process.stdin.isTTY, process.stdout.isTTY), interactiveModeImport = appMode === "interactive" ? import("./interactive-mode-QT5IKGQ5.js") : void 0, startupView = appMode === "interactive" ? options?.startupView : void 0;
766
766
  options?.startupView && !startupView && options.startupView.stop(), applyInheritedSubagentPermissions(), appMode !== "interactive" && !isPlainRuntimeMetadataCommand(parsed) && takeOverStdout(), parsed.mode === "rpc" && parsed.fileArgs.length > 0 && (console.error(chalk4.red("Error: @file arguments are not supported in RPC mode")), process.exit(1)), validateForkFlags(parsed), validateSessionIdFlags(parsed);
767
767
  let { migratedAuthProviders: migratedProviders, deprecationWarnings } = runMigrations(cwd);
768
768
  time("runMigrations");
@@ -924,7 +924,7 @@ ${EXTENSION_LOAD_FAILURE_HINT}` : "";
924
924
  } else if (appMode === "interactive") {
925
925
  let [{ InteractiveMode }, { loadDeferredBuiltinExtensions }] = await Promise.all([
926
926
  interactiveModeImport,
927
- import("./builtin-extensions-QATGXENO.js")
927
+ import("./builtin-extensions-322XDDEM.js")
928
928
  ]), interactiveMode = new InteractiveMode(runtime, {
929
929
  migratedProviders,
930
930
  modelFallbackMessage,
@@ -4976,12 +4976,6 @@ var UserMessageList = class {
4976
4976
  }
4977
4977
  };
4978
4978
 
4979
- // packages/coding-agent/dist/modes/interactive/injected-context.js
4980
- function buildInjectedContextLines(paths) {
4981
- let labels = paths.map((path3) => path3.trim()).filter((path3) => path3.length > 0);
4982
- return labels.length === 0 ? [] : ["injected context", ...labels.map((path3) => ` ${path3}`)];
4983
- }
4984
-
4985
4979
  // packages/coding-agent/dist/modes/interactive/skill-tag-autocomplete.js
4986
4980
  import { fuzzyFilter as fuzzyFilter4 } from "@ashx-j/lunr-tui";
4987
4981
  function extractSkillTagPrefix(textBeforeCursor, character) {
@@ -7141,7 +7135,7 @@ ${message}`, ["Yes", "No"], opts) === "Yes";
7141
7135
  this.renderSessionEntries(entries, {
7142
7136
  updateFooter: !0,
7143
7137
  populateHistory: !0
7144
- }), this.renderInjectedContextIfNeeded(), this.renderProjectTrustWarningIfNeeded();
7138
+ }), this.renderProjectTrustWarningIfNeeded();
7145
7139
  let compactionCount = this.sessionManager.getEntries().filter((e) => e.type === "compaction").length;
7146
7140
  if (compactionCount > 0) {
7147
7141
  let times = compactionCount === 1 ? "1 time" : `${compactionCount} times`;
@@ -7160,22 +7154,7 @@ ${message}`, ["Yes", "No"], opts) === "Yes";
7160
7154
  });
7161
7155
  }
7162
7156
  rebuildChatFromMessages() {
7163
- this.chatContainer.clear(), this.renderSessionEntries(this.sessionManager.buildContextEntries()), this.renderInjectedContextIfNeeded();
7164
- }
7165
- sessionHasConversation() {
7166
- return this.sessionManager.getEntries().some((entry) => entry.type === "message" && (entry.message.role === "user" || entry.message.role === "assistant"));
7167
- }
7168
- renderInjectedContextIfNeeded() {
7169
- if (this.sessionHasConversation())
7170
- return;
7171
- let paths = this.session.resourceLoader.getAgentsFiles().agentsFiles.map((file) => this.formatContextPath(file.path)), lines = buildInjectedContextLines(paths);
7172
- if (lines.length === 0)
7173
- return;
7174
- this.chatContainer.children.length > 0 && this.chatContainer.addChild(new Spacer19(1));
7175
- let [title, ...files] = lines;
7176
- this.chatContainer.addChild(new Text21(theme.fg("customMessageLabel", title ?? "injected context") + (files.length > 0 ? `
7177
- ${theme.fg("dim", files.join(`
7178
- `))}` : ""), 1, 0));
7157
+ this.chatContainer.clear(), this.renderSessionEntries(this.sessionManager.buildContextEntries());
7179
7158
  }
7180
7159
  // =========================================================================
7181
7160
  // Key handlers
@@ -1171,7 +1171,7 @@ async function shutdownBridgeSession(session, reason, targetSessionFile) {
1171
1171
  }
1172
1172
  async function defaultSessionFactory(key, reopen) {
1173
1173
  let [{ loadAllBuiltinExtensions }, { getAgentDir: getAgentDir2 }, { registerCustomizeBridge }, { registerMemoryCapBridge }, { registerModelTierBridge }, { createAgentSessionFromServices, createAgentSessionServices }, { SessionManager }, { SettingsManager }, { bindRuntimeBridges }] = await Promise.all([
1174
- import("./builtin-extensions-QATGXENO.js"),
1174
+ import("./builtin-extensions-322XDDEM.js"),
1175
1175
  import("./config-QDD5PUE2.js"),
1176
1176
  import("./customize-XEXL2DGQ.js"),
1177
1177
  import("./memory-cap-3S4XRLNP.js"),
@@ -1521,7 +1521,7 @@ function splitMessage(text, max) {
1521
1521
  var DELIVERY_BRIDGE_SYMBOL = /* @__PURE__ */ Symbol.for("@lunr/cron-delivery"), KNOWN_PLATFORMS = ["telegram", "discord"];
1522
1522
  async function defaultCronSessionFactory(job, modelOverride) {
1523
1523
  let [{ loadAllBuiltinExtensions }, { getAgentDir: getAgentDir2 }, { registerCustomizeBridge }, { registerMemoryCapBridge }, { registerModelTierBridge }, { createAgentSessionFromServices, createAgentSessionServices }, { SessionManager }, { SettingsManager }, { bindRuntimeBridges }] = await Promise.all([
1524
- import("./builtin-extensions-QATGXENO.js"),
1524
+ import("./builtin-extensions-322XDDEM.js"),
1525
1525
  import("./config-QDD5PUE2.js"),
1526
1526
  import("./customize-XEXL2DGQ.js"),
1527
1527
  import("./memory-cap-3S4XRLNP.js"),
@@ -57,7 +57,7 @@ var args = process.argv.slice(2), startupBenchmark = process.env.PI_STARTUP_BENC
57
57
  markStartupMilestone("mode_routed");
58
58
  var startupView;
59
59
  if (preloadMode === "interactive") {
60
- let { InteractiveView } = await import("./interactive-view-S6J3QHEF.js");
60
+ let { InteractiveView } = await import("./interactive-view-ILS6TAN5.js");
61
61
  startupView = new InteractiveView(), startupView.start(), await startupView.waitForFirstFrame(), startupView.isExitRequested && process.exit(0);
62
62
  }
63
63
  var startRuntime = async () => {
@@ -5,7 +5,7 @@ import "./chunk-BRJX2PRC.js";
5
5
  async function handleGatewayCommand(args) {
6
6
  if (args[0] !== "gateway")
7
7
  return !1;
8
- let { runGateway } = await import("./gateway-OAC4OBBL.js"), code = await runGateway(args.slice(1));
8
+ let { runGateway } = await import("./gateway-UZXMFGWY.js"), code = await runGateway(args.slice(1));
9
9
  return process.exitCode = code, !0;
10
10
  }
11
11
  export {
@@ -5,7 +5,7 @@ import {
5
5
  listSessions,
6
6
  splitMessage,
7
7
  startGatewayCron
8
- } from "./chunk-EBF6COVM.js";
8
+ } from "./chunk-ZRCBN365.js";
9
9
  import {
10
10
  gatewayConfigPath,
11
11
  isFeatureEnabled,
@@ -19,7 +19,7 @@ import {
19
19
  TreeSelectorComponent,
20
20
  UserMessageComponent,
21
21
  UserMessageSelectorComponent
22
- } from "./chunk-G4P75AIS.js";
22
+ } from "./chunk-TXHKBRHZ.js";
23
23
  import "./chunk-G6LRAP36.js";
24
24
  import {
25
25
  attachJsonlLineReader,
@@ -38,8 +38,8 @@ import "./chunk-6BEIBLQ3.js";
38
38
  import "./chunk-7N3YHTYF.js";
39
39
  import {
40
40
  main
41
- } from "./chunk-NI6OTSBH.js";
42
- import "./chunk-ZBV7FAHG.js";
41
+ } from "./chunk-TFBIJTM3.js";
42
+ import "./chunk-4FX25LWP.js";
43
43
  import "./chunk-4DJ6HEGH.js";
44
44
  import {
45
45
  ProjectTrustStore,
@@ -162,7 +162,7 @@ import {
162
162
  import "./chunk-J26TSGDL.js";
163
163
  import "./chunk-M3LZLQW2.js";
164
164
  import "./chunk-RQ2Q5IYR.js";
165
- import "./chunk-R5EDISSV.js";
165
+ import "./chunk-JHYKXIMM.js";
166
166
  import {
167
167
  CustomEditor
168
168
  } from "./chunk-H2EOZYMP.js";
@@ -3,7 +3,7 @@ import {
3
3
  InteractiveMode,
4
4
  formatResumeCommand,
5
5
  startInteractiveToolInstalls
6
- } from "./chunk-G4P75AIS.js";
6
+ } from "./chunk-TXHKBRHZ.js";
7
7
  import "./chunk-G6LRAP36.js";
8
8
  import "./chunk-KWA4OC2J.js";
9
9
  import "./chunk-Q5ZU2VRT.js";
@@ -7,7 +7,7 @@ import {
7
7
  getChatboxEditor,
8
8
  renderStatsLine,
9
9
  thinkingThemeToken
10
- } from "./chunk-R5EDISSV.js";
10
+ } from "./chunk-JHYKXIMM.js";
11
11
  import "./chunk-H2EOZYMP.js";
12
12
  import {
13
13
  markStartupMilestone
@@ -13,7 +13,7 @@ import {
13
13
  setCronDeliverValidator,
14
14
  startScheduler,
15
15
  updateJob
16
- } from "./chunk-EBF6COVM.js";
16
+ } from "./chunk-ZRCBN365.js";
17
17
  import {
18
18
  loadGatewayConfig
19
19
  } from "./chunk-4I23VTC4.js";
@@ -2,8 +2,8 @@ import { createRequire as __lunrRequire } from "node:module"; const require = __
2
2
  import {
3
3
  main,
4
4
  readPipedStdin
5
- } from "./chunk-NI6OTSBH.js";
6
- import "./chunk-ZBV7FAHG.js";
5
+ } from "./chunk-TFBIJTM3.js";
6
+ import "./chunk-4FX25LWP.js";
7
7
  import "./chunk-4DJ6HEGH.js";
8
8
  import "./chunk-AROOY4BB.js";
9
9
  import "./chunk-XATUM2HK.js";
@@ -29,7 +29,7 @@ import "./chunk-AD6VXAO7.js";
29
29
  import "./chunk-J26TSGDL.js";
30
30
  import "./chunk-M3LZLQW2.js";
31
31
  import "./chunk-RQ2Q5IYR.js";
32
- import "./chunk-R5EDISSV.js";
32
+ import "./chunk-JHYKXIMM.js";
33
33
  import "./chunk-H2EOZYMP.js";
34
34
  import "./chunk-PVCDKGR6.js";
35
35
  import "./chunk-OR4L3IB2.js";
@@ -2,8 +2,8 @@
2
2
  import { createRequire as __lunrRequire } from "node:module"; const require = __lunrRequire(import.meta.url);
3
3
  import {
4
4
  main
5
- } from "./chunk-NI6OTSBH.js";
6
- import "./chunk-ZBV7FAHG.js";
5
+ } from "./chunk-TFBIJTM3.js";
6
+ import "./chunk-4FX25LWP.js";
7
7
  import "./chunk-4DJ6HEGH.js";
8
8
  import "./chunk-AROOY4BB.js";
9
9
  import "./chunk-XATUM2HK.js";
@@ -31,7 +31,7 @@ import "./chunk-AD6VXAO7.js";
31
31
  import "./chunk-J26TSGDL.js";
32
32
  import "./chunk-M3LZLQW2.js";
33
33
  import "./chunk-RQ2Q5IYR.js";
34
- import "./chunk-R5EDISSV.js";
34
+ import "./chunk-JHYKXIMM.js";
35
35
  import "./chunk-H2EOZYMP.js";
36
36
  import "./chunk-PVCDKGR6.js";
37
37
  import "./chunk-OR4L3IB2.js";
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "pi-extension-custom-provider",
3
- "version": "0.2.18",
3
+ "version": "0.2.19",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "pi-extension-custom-provider",
9
- "version": "0.2.18",
9
+ "version": "0.2.19",
10
10
  "dependencies": {
11
11
  "@anthropic-ai/sdk": "^0.52.0"
12
12
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pi-extension-custom-provider-anthropic",
3
3
  "private": true,
4
- "version": "0.2.18",
4
+ "version": "0.2.19",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "clean": "echo 'nothing to clean'",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pi-extension-custom-provider-gitlab-duo",
3
3
  "private": true,
4
- "version": "0.2.18",
4
+ "version": "0.2.19",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "clean": "echo 'nothing to clean'",
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "pi-extension-gondolin",
3
- "version": "0.2.18",
3
+ "version": "0.2.19",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "pi-extension-gondolin",
9
- "version": "0.2.18",
9
+ "version": "0.2.19",
10
10
  "dependencies": {
11
11
  "@earendil-works/gondolin": "0.12.0"
12
12
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pi-extension-gondolin",
3
3
  "private": true,
4
- "version": "0.2.18",
4
+ "version": "0.2.19",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "clean": "echo 'nothing to clean'",
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "pi-extension-sandbox",
3
- "version": "0.2.18",
3
+ "version": "0.2.19",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "pi-extension-sandbox",
9
- "version": "0.2.18",
9
+ "version": "0.2.19",
10
10
  "dependencies": {
11
11
  "@anthropic-ai/sandbox-runtime": "^0.0.26"
12
12
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pi-extension-sandbox",
3
3
  "private": true,
4
- "version": "0.2.18",
4
+ "version": "0.2.19",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "clean": "echo 'nothing to clean'",
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "pi-extension-with-deps",
3
- "version": "0.2.18",
3
+ "version": "0.2.19",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "pi-extension-with-deps",
9
- "version": "0.2.18",
9
+ "version": "0.2.19",
10
10
  "dependencies": {
11
11
  "ms": "^2.1.3"
12
12
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pi-extension-with-deps",
3
3
  "private": true,
4
- "version": "0.2.18",
4
+ "version": "0.2.19",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "clean": "echo 'nothing to clean'",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ashx-j/lunr",
3
- "version": "0.2.18",
3
+ "version": "0.2.19",
4
4
  "description": "lunR — terminal coding agent CLI with read, bash, edit, write tools and session management",
5
5
  "type": "module",
6
6
  "piConfig": {
@@ -37,9 +37,9 @@
37
37
  "shrinkwrap": "node ../../scripts/generate-coding-agent-shrinkwrap.mjs"
38
38
  },
39
39
  "dependencies": {
40
- "@ashx-j/lunr-agent": "^0.2.18",
41
- "@ashx-j/lunr-ai": "^0.2.18",
42
- "@ashx-j/lunr-tui": "^0.2.18",
40
+ "@ashx-j/lunr-agent": "^0.2.19",
41
+ "@ashx-j/lunr-ai": "^0.2.19",
42
+ "@ashx-j/lunr-tui": "^0.2.19",
43
43
  "@modelcontextprotocol/ext-apps": "1.7.4",
44
44
  "@modelcontextprotocol/sdk": "1.30.0",
45
45
  "@mozilla/readability": "0.6.0",
@@ -1,2 +0,0 @@
1
- export declare function buildInjectedContextLines(paths: string[]): string[];
2
- //# sourceMappingURL=injected-context.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"injected-context.d.ts","sourceRoot":"","sources":["../../../src/modes/interactive/injected-context.ts"],"names":[],"mappings":"AAAA,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,CAInE","sourcesContent":["export function buildInjectedContextLines(paths: string[]): string[] {\n\tconst labels = paths.map((path) => path.trim()).filter((path) => path.length > 0);\n\tif (labels.length === 0) return [];\n\treturn [\"injected context\", ...labels.map((path) => ` ${path}`)];\n}\n"]}
@@ -1,7 +0,0 @@
1
- export function buildInjectedContextLines(paths) {
2
- const labels = paths.map((path) => path.trim()).filter((path) => path.length > 0);
3
- if (labels.length === 0)
4
- return [];
5
- return ["injected context", ...labels.map((path) => ` ${path}`)];
6
- }
7
- //# sourceMappingURL=injected-context.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"injected-context.js","sourceRoot":"","sources":["../../../src/modes/interactive/injected-context.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,yBAAyB,CAAC,KAAe,EAAY;IACpE,MAAM,MAAM,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;IAClF,IAAI,MAAM,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,EAAE,CAAC;IACnC,OAAO,CAAC,kBAAkB,EAAE,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,KAAK,IAAI,EAAE,CAAC,CAAC,CAAC;AAAA,CAClE","sourcesContent":["export function buildInjectedContextLines(paths: string[]): string[] {\n\tconst labels = paths.map((path) => path.trim()).filter((path) => path.length > 0);\n\tif (labels.length === 0) return [];\n\treturn [\"injected context\", ...labels.map((path) => ` ${path}`)];\n}\n"]}