@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.
- package/CHANGELOG.md +8 -1
- package/dist/builtin-extensions/ashxj-tui.d.ts +2 -2
- package/dist/builtin-extensions/ashxj-tui.d.ts.map +1 -1
- package/dist/builtin-extensions/ashxj-tui.js +11 -8
- package/dist/builtin-extensions/ashxj-tui.js.map +1 -1
- package/dist/modes/interactive/interactive-mode.d.ts +0 -2
- package/dist/modes/interactive/interactive-mode.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-mode.js +0 -22
- package/dist/modes/interactive/interactive-mode.js.map +1 -1
- package/dist/node-runtime/{builtin-extensions-QATGXENO.js → builtin-extensions-322XDDEM.js} +2 -2
- package/dist/node-runtime/{chunk-ZBV7FAHG.js → chunk-4FX25LWP.js} +2 -2
- package/dist/node-runtime/{chunk-R5EDISSV.js → chunk-JHYKXIMM.js} +5 -2
- package/dist/node-runtime/{chunk-NI6OTSBH.js → chunk-TFBIJTM3.js} +4 -4
- package/dist/node-runtime/{chunk-G4P75AIS.js → chunk-TXHKBRHZ.js} +2 -23
- package/dist/node-runtime/{chunk-EBF6COVM.js → chunk-ZRCBN365.js} +2 -2
- package/dist/node-runtime/cli-runtime.js +1 -1
- package/dist/node-runtime/{command-AAV3YRR5.js → command-DWUM5X3U.js} +1 -1
- package/dist/node-runtime/{gateway-OAC4OBBL.js → gateway-UZXMFGWY.js} +1 -1
- package/dist/node-runtime/index.js +4 -4
- package/dist/node-runtime/{interactive-mode-2SZUO53H.js → interactive-mode-QT5IKGQ5.js} +1 -1
- package/dist/node-runtime/{interactive-view-S6J3QHEF.js → interactive-view-ILS6TAN5.js} +1 -1
- package/dist/node-runtime/{lunr-cron-AUUYP4N4.js → lunr-cron-QPBTKBGI.js} +1 -1
- package/dist/node-runtime/main.js +3 -3
- package/dist/node-runtime/rpc-entry.js +3 -3
- package/examples/extensions/custom-provider-anthropic/package-lock.json +2 -2
- package/examples/extensions/custom-provider-anthropic/package.json +1 -1
- package/examples/extensions/custom-provider-gitlab-duo/package.json +1 -1
- package/examples/extensions/gondolin/package-lock.json +2 -2
- package/examples/extensions/gondolin/package.json +1 -1
- package/examples/extensions/sandbox/package-lock.json +2 -2
- package/examples/extensions/sandbox/package.json +1 -1
- package/examples/extensions/with-deps/package-lock.json +2 -2
- package/examples/extensions/with-deps/package.json +1 -1
- package/package.json +4 -4
- package/dist/modes/interactive/injected-context.d.ts +0 -2
- package/dist/modes/interactive/injected-context.d.ts.map +0 -1
- package/dist/modes/interactive/injected-context.js +0 -7
- 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-
|
|
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-
|
|
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-
|
|
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-
|
|
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 : [""],
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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.
|
|
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())
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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 {
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
TreeSelectorComponent,
|
|
20
20
|
UserMessageComponent,
|
|
21
21
|
UserMessageSelectorComponent
|
|
22
|
-
} from "./chunk-
|
|
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-
|
|
42
|
-
import "./chunk-
|
|
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-
|
|
165
|
+
import "./chunk-JHYKXIMM.js";
|
|
166
166
|
import {
|
|
167
167
|
CustomEditor
|
|
168
168
|
} from "./chunk-H2EOZYMP.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-
|
|
6
|
-
import "./chunk-
|
|
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-
|
|
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-
|
|
6
|
-
import "./chunk-
|
|
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-
|
|
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.
|
|
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.
|
|
9
|
+
"version": "0.2.19",
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@anthropic-ai/sdk": "^0.52.0"
|
|
12
12
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-extension-gondolin",
|
|
3
|
-
"version": "0.2.
|
|
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.
|
|
9
|
+
"version": "0.2.19",
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@earendil-works/gondolin": "0.12.0"
|
|
12
12
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-extension-sandbox",
|
|
3
|
-
"version": "0.2.
|
|
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.
|
|
9
|
+
"version": "0.2.19",
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@anthropic-ai/sandbox-runtime": "^0.0.26"
|
|
12
12
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-extension-with-deps",
|
|
3
|
-
"version": "0.2.
|
|
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.
|
|
9
|
+
"version": "0.2.19",
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"ms": "^2.1.3"
|
|
12
12
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ashx-j/lunr",
|
|
3
|
-
"version": "0.2.
|
|
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.
|
|
41
|
-
"@ashx-j/lunr-ai": "^0.2.
|
|
42
|
-
"@ashx-j/lunr-tui": "^0.2.
|
|
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 +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"]}
|