@subimpact/e 0.99.10 → 0.99.12
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 +24 -3
- package/dist/bundle/chunks/{anthropic-messages-GS2TPNKJ.js → anthropic-messages-EGJT3PY6.js} +1 -1
- package/dist/bundle/chunks/anthropic.js +1 -1
- package/dist/bundle/chunks/{azure-openai-responses-E3QGN4VN.js → azure-openai-responses-JEEXH6HK.js} +1 -1
- package/dist/bundle/chunks/bedrock-converse-stream.js +1 -1
- package/dist/bundle/chunks/chunk-GYREDKZT.js +2 -0
- package/dist/bundle/chunks/{chunk-WE4MXUQS.js → chunk-IOJUMBW3.js} +1 -1
- package/dist/bundle/chunks/{chunk-OY7LPJPR.js → chunk-KAXC2ESR.js} +6 -4
- package/dist/bundle/chunks/chunk-RDZVAGPR.js +2 -0
- package/dist/bundle/chunks/{chunk-4W4DDI22.js → chunk-SVKJCAH2.js} +1 -1
- package/dist/bundle/chunks/{chunk-AMXQFKYC.js → chunk-XVIZD2L5.js} +1 -1
- package/dist/bundle/chunks/{chunk-UU7I6PLO.js → chunk-XZYVF4BW.js} +29 -29
- package/dist/bundle/chunks/{easter-egg-3d-BEGJLGMY.js → easter-egg-3d-DD22MRM3.js} +1 -1
- package/dist/bundle/chunks/github-copilot.js +1 -1
- package/dist/bundle/chunks/{google-generative-ai-VQRZUF33.js → google-generative-ai-ON7RPJHF.js} +1 -1
- package/dist/bundle/chunks/{google-vertex-3Y7I23IX.js → google-vertex-6YO5GV2H.js} +1 -1
- package/dist/bundle/chunks/image-resize-worker.js +1 -1
- package/dist/bundle/chunks/mistral-conversations-NN33SMJ6.js +5 -0
- package/dist/bundle/chunks/openai-codex-responses-CPSVXTKM.js +10 -0
- package/dist/bundle/chunks/{openai-completions-OSRCWAAA.js → openai-completions-T7GN33JE.js} +1 -1
- package/dist/bundle/chunks/{openai-responses-UHF3DHNG.js → openai-responses-GPE3ZQ46.js} +1 -1
- package/dist/bundle/chunks/{virtual-modules-W33JFGIG.js → virtual-modules-6MDPJKNE.js} +1 -1
- package/dist/bundle/cli-runtime.js +1 -1
- package/dist/bundle/index.js +1 -1
- package/dist/bundle/rpc-entry.js +1 -1
- package/dist/core/bash-executor.d.ts.map +1 -1
- package/dist/core/bash-executor.js +40 -45
- package/dist/core/bash-executor.js.map +1 -1
- package/dist/core/export-html/tool-renderer.d.ts.map +1 -1
- package/dist/core/export-html/tool-renderer.js +1 -0
- package/dist/core/export-html/tool-renderer.js.map +1 -1
- package/dist/core/extensions/types.d.ts +2 -0
- package/dist/core/extensions/types.d.ts.map +1 -1
- package/dist/core/extensions/types.js.map +1 -1
- package/dist/core/keybindings.d.ts +4 -4
- package/dist/core/resource-loader.d.ts.map +1 -1
- package/dist/core/resource-loader.js +5 -1
- package/dist/core/resource-loader.js.map +1 -1
- package/dist/core/settings-manager.js.map +1 -1
- package/dist/core/tools/renderers/edit.d.ts.map +1 -1
- package/dist/core/tools/renderers/edit.js +5 -4
- package/dist/core/tools/renderers/edit.js.map +1 -1
- package/dist/modes/interactive/components/bash-execution.d.ts +5 -1
- package/dist/modes/interactive/components/bash-execution.d.ts.map +1 -1
- package/dist/modes/interactive/components/bash-execution.js +17 -14
- package/dist/modes/interactive/components/bash-execution.js.map +1 -1
- package/dist/modes/interactive/components/branch-summary-message.d.ts +2 -1
- package/dist/modes/interactive/components/branch-summary-message.d.ts.map +1 -1
- package/dist/modes/interactive/components/branch-summary-message.js +5 -2
- package/dist/modes/interactive/components/branch-summary-message.js.map +1 -1
- package/dist/modes/interactive/components/compaction-summary-message.d.ts +2 -1
- package/dist/modes/interactive/components/compaction-summary-message.d.ts.map +1 -1
- package/dist/modes/interactive/components/compaction-summary-message.js +5 -2
- package/dist/modes/interactive/components/compaction-summary-message.js.map +1 -1
- package/dist/modes/interactive/components/custom-entry.d.ts +3 -1
- package/dist/modes/interactive/components/custom-entry.d.ts.map +1 -1
- package/dist/modes/interactive/components/custom-entry.js +8 -2
- package/dist/modes/interactive/components/custom-entry.js.map +1 -1
- package/dist/modes/interactive/components/custom-message.d.ts.map +1 -1
- package/dist/modes/interactive/components/custom-message.js +1 -0
- package/dist/modes/interactive/components/custom-message.js.map +1 -1
- package/dist/modes/interactive/components/index.d.ts +0 -1
- package/dist/modes/interactive/components/index.d.ts.map +1 -1
- package/dist/modes/interactive/components/index.js +0 -1
- package/dist/modes/interactive/components/index.js.map +1 -1
- package/dist/modes/interactive/components/settings-selector.js +1 -1
- package/dist/modes/interactive/components/settings-selector.js.map +1 -1
- package/dist/modes/interactive/components/skill-invocation-message.d.ts +2 -1
- package/dist/modes/interactive/components/skill-invocation-message.d.ts.map +1 -1
- package/dist/modes/interactive/components/skill-invocation-message.js +5 -2
- package/dist/modes/interactive/components/skill-invocation-message.js.map +1 -1
- package/dist/modes/interactive/components/tool-execution.d.ts +3 -0
- package/dist/modes/interactive/components/tool-execution.d.ts.map +1 -1
- package/dist/modes/interactive/components/tool-execution.js +9 -0
- package/dist/modes/interactive/components/tool-execution.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 +17 -32
- package/dist/modes/interactive/interactive-mode.js.map +1 -1
- package/dist/modes/interactive/theme/theme.d.ts.map +1 -1
- package/dist/modes/interactive/theme/theme.js +1 -0
- package/dist/modes/interactive/theme/theme.js.map +1 -1
- package/dist/package-manager-cli.d.ts.map +1 -1
- package/dist/package-manager-cli.js +24 -0
- package/dist/package-manager-cli.js.map +1 -1
- package/dist/utils/ansi.d.ts +8 -0
- package/dist/utils/ansi.d.ts.map +1 -1
- package/dist/utils/ansi.js +30 -11
- package/dist/utils/ansi.js.map +1 -1
- package/dist/utils/clipboard.d.ts.map +1 -1
- package/dist/utils/clipboard.js +12 -11
- package/dist/utils/clipboard.js.map +1 -1
- package/dist/utils/image-resize-core.d.ts +12 -0
- package/dist/utils/image-resize-core.d.ts.map +1 -1
- package/dist/utils/image-resize-core.js +5 -0
- package/dist/utils/image-resize-core.js.map +1 -1
- package/dist/utils/image-resize-worker.js +3 -2
- package/dist/utils/image-resize-worker.js.map +1 -1
- package/dist/utils/image-resize.d.ts.map +1 -1
- package/dist/utils/image-resize.js +9 -10
- package/dist/utils/image-resize.js.map +1 -1
- package/dist/utils/syntax-highlight.d.ts.map +1 -1
- package/dist/utils/syntax-highlight.js +6 -1
- package/dist/utils/syntax-highlight.js.map +1 -1
- package/docs/keybindings.md +4 -4
- package/docs/settings.md +1 -1
- package/package.json +4 -3
- package/dist/bundle/chunks/chunk-HQHD6PZI.js +0 -2
- package/dist/bundle/chunks/mistral-conversations-Q22M3IBG.js +0 -5
- package/dist/bundle/chunks/openai-codex-responses-4MYQSO5E.js +0 -10
- package/dist/modes/interactive/components/daxnuts.d.ts +0 -23
- package/dist/modes/interactive/components/daxnuts.d.ts.map +0 -1
- package/dist/modes/interactive/components/daxnuts.js +0 -140
- package/dist/modes/interactive/components/daxnuts.js.map +0 -1
|
@@ -463,8 +463,6 @@ export declare class InteractiveMode {
|
|
|
463
463
|
private handleDebugCommand;
|
|
464
464
|
private handleArminSaysHi;
|
|
465
465
|
private handleDementedDelves;
|
|
466
|
-
private handleDaxnuts;
|
|
467
|
-
private checkDaxnutsEasterEgg;
|
|
468
466
|
private handleBashCommand;
|
|
469
467
|
private handleCompactCommand;
|
|
470
468
|
stop(fullscreenExitOutput?: FullscreenExitOutput): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interactive-mode.d.ts","sourceRoot":"","sources":["../../../src/modes/interactive/interactive-mode.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAQH,OAAO,EAEN,KAAK,YAAY,EAKjB,MAAM,8BAA8B,CAAC;AActC,OAAO,EAYN,KAAK,QAAQ,EASb,MAAM,wBAAwB,CAAC;AAchC,OAAO,EAAE,KAAK,mBAAmB,EAAkC,MAAM,qCAAqC,CAAC;AAC/G,OAAO,KAAK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jB,8BAA8B;IAgG5C,OAAO,CAAC,qBAAqB;YA2Bf,qBAAqB;IAiDnC,OAAO,CAAC,cAAc;YAiCR,cAAc;IAwB5B,OAAO,CAAC,gBAAgB;YAaV,aAAa;YAiBb,eAAe;YAoCf,mBAAmB;YA0FnB,mBAAmB;IAkBjC,OAAO,CAAC,sBAAsB;YA6BhB,mBAAmB;YA4CnB,kBAAkB;YAWlB,gBAAgB;YAehB,iBAAiB;IA+B/B,OAAO,CAAC,iBAAiB;IAyBzB,OAAO,CAAC,oBAAoB;IAiF5B,OAAO,CAAC,sBAAsB;IAqB9B;;OAEG;IACH,OAAO,CAAC,gBAAgB;IAIxB;;OAEG;IACH,OAAO,CAAC,mBAAmB;IAI3B,OAAO,CAAC,oBAAoB;YAqHd,kBAAkB;IAehC,OAAO,CAAC,kBAAkB;IAiC1B,OAAO,CAAC,iBAAiB;IAOzB,OAAO,CAAC,oBAAoB;YAMd,iBAAiB;YA6FjB,oBAAoB;IAUlC,IAAI,CAAC,oBAAoB,uBAAiD,GAAG,IAAI,CAkBhF;CACD"}
|
|
@@ -51,7 +51,6 @@ import { CompactionSummaryMessageComponent } from "./components/compaction-summa
|
|
|
51
51
|
import { CustomEditor } from "./components/custom-editor.js";
|
|
52
52
|
import { CustomEntryComponent } from "./components/custom-entry.js";
|
|
53
53
|
import { CustomMessageComponent } from "./components/custom-message.js";
|
|
54
|
-
import { DaxnutsComponent } from "./components/daxnuts.js";
|
|
55
54
|
import { DynamicBorder } from "./components/dynamic-border.js";
|
|
56
55
|
import { eLogoLines } from "./components/e-logo.js";
|
|
57
56
|
import { EarendilAnnouncementComponent } from "./components/earendil-announcement.js";
|
|
@@ -2775,6 +2774,7 @@ export class InteractiveMode {
|
|
|
2775
2774
|
const component = new ToolExecutionComponent(content.name, content.id, content.arguments, {
|
|
2776
2775
|
showImages: this.settingsManager.getShowImages(),
|
|
2777
2776
|
imageWidthCells: this.settingsManager.getImageWidthCells(),
|
|
2777
|
+
outputPad: this.outputPad,
|
|
2778
2778
|
}, this.getRegisteredToolDefinition(content.name), this.ui, this.sessionManager.getCwd());
|
|
2779
2779
|
component.setExpanded(this.toolOutputExpanded);
|
|
2780
2780
|
this.chatContainer.addChild(component);
|
|
@@ -2845,6 +2845,7 @@ export class InteractiveMode {
|
|
|
2845
2845
|
component = new ToolExecutionComponent(event.toolName, event.toolCallId, event.args, {
|
|
2846
2846
|
showImages: this.settingsManager.getShowImages(),
|
|
2847
2847
|
imageWidthCells: this.settingsManager.getImageWidthCells(),
|
|
2848
|
+
outputPad: this.outputPad,
|
|
2848
2849
|
}, this.getRegisteredToolDefinition(event.toolName), this.ui, this.sessionManager.getCwd());
|
|
2849
2850
|
component.setExpanded(this.toolOutputExpanded);
|
|
2850
2851
|
this.chatContainer.addChild(component);
|
|
@@ -3049,7 +3050,7 @@ export class InteractiveMode {
|
|
|
3049
3050
|
if (!renderer) {
|
|
3050
3051
|
return;
|
|
3051
3052
|
}
|
|
3052
|
-
const component = new CustomEntryComponent(entry, renderer);
|
|
3053
|
+
const component = new CustomEntryComponent(entry, renderer, this.outputPad);
|
|
3053
3054
|
component.setExpanded(this.toolOutputExpanded);
|
|
3054
3055
|
if (!component.hasContent()) {
|
|
3055
3056
|
return;
|
|
@@ -3066,7 +3067,7 @@ export class InteractiveMode {
|
|
|
3066
3067
|
addMessageToChat(message, options) {
|
|
3067
3068
|
switch (message.role) {
|
|
3068
3069
|
case "bashExecution": {
|
|
3069
|
-
const component = new BashExecutionComponent(message.command, this.ui, message.excludeFromContext);
|
|
3070
|
+
const component = new BashExecutionComponent(message.command, this.ui, message.excludeFromContext, this.outputPad);
|
|
3070
3071
|
if (message.output) {
|
|
3071
3072
|
component.appendOutput(message.output);
|
|
3072
3073
|
}
|
|
@@ -3085,14 +3086,14 @@ export class InteractiveMode {
|
|
|
3085
3086
|
}
|
|
3086
3087
|
case "compactionSummary": {
|
|
3087
3088
|
this.chatContainer.addChild(new Spacer(1));
|
|
3088
|
-
const component = new CompactionSummaryMessageComponent(message, this.getMarkdownThemeWithSettings());
|
|
3089
|
+
const component = new CompactionSummaryMessageComponent(message, this.getMarkdownThemeWithSettings(), this.outputPad);
|
|
3089
3090
|
component.setExpanded(this.toolOutputExpanded);
|
|
3090
3091
|
this.chatContainer.addChild(component);
|
|
3091
3092
|
break;
|
|
3092
3093
|
}
|
|
3093
3094
|
case "branchSummary": {
|
|
3094
3095
|
this.chatContainer.addChild(new Spacer(1));
|
|
3095
|
-
const component = new BranchSummaryMessageComponent(message, this.getMarkdownThemeWithSettings());
|
|
3096
|
+
const component = new BranchSummaryMessageComponent(message, this.getMarkdownThemeWithSettings(), this.outputPad);
|
|
3096
3097
|
component.setExpanded(this.toolOutputExpanded);
|
|
3097
3098
|
this.chatContainer.addChild(component);
|
|
3098
3099
|
break;
|
|
@@ -3108,7 +3109,7 @@ export class InteractiveMode {
|
|
|
3108
3109
|
const skillBlock = parseSkillBlock(textContent);
|
|
3109
3110
|
if (skillBlock) {
|
|
3110
3111
|
// Render skill block (collapsible)
|
|
3111
|
-
const component = new SkillInvocationMessageComponent(skillBlock, this.getMarkdownThemeWithSettings());
|
|
3112
|
+
const component = new SkillInvocationMessageComponent(skillBlock, this.getMarkdownThemeWithSettings(), this.outputPad);
|
|
3112
3113
|
component.setExpanded(this.toolOutputExpanded);
|
|
3113
3114
|
this.chatContainer.addChild(component);
|
|
3114
3115
|
// Render user message separately if present
|
|
@@ -3177,6 +3178,7 @@ export class InteractiveMode {
|
|
|
3177
3178
|
const component = new ToolExecutionComponent(content.name, content.id, content.arguments, {
|
|
3178
3179
|
showImages: this.settingsManager.getShowImages(),
|
|
3179
3180
|
imageWidthCells: this.settingsManager.getImageWidthCells(),
|
|
3181
|
+
outputPad: this.outputPad,
|
|
3180
3182
|
}, this.getRegisteredToolDefinition(content.name), this.ui, this.sessionManager.getCwd());
|
|
3181
3183
|
component.setExpanded(this.toolOutputExpanded);
|
|
3182
3184
|
this.chatContainer.addChild(component);
|
|
@@ -3230,6 +3232,9 @@ export class InteractiveMode {
|
|
|
3230
3232
|
* @param options.populateHistory Add user messages to editor history
|
|
3231
3233
|
*/
|
|
3232
3234
|
renderSessionEntries(entries, options = {}) {
|
|
3235
|
+
// Selection coordinates point into the transcript being replaced (#9311).
|
|
3236
|
+
if (this.renderer instanceof TuiAltScreen)
|
|
3237
|
+
this.renderer.resetTextSelection();
|
|
3233
3238
|
const items = entries.flatMap((entry) => {
|
|
3234
3239
|
if (entry.type === "custom" || (entry.type === "usage" && entry.kind === "cache_warm")) {
|
|
3235
3240
|
return [entry];
|
|
@@ -4119,21 +4124,14 @@ export class InteractiveMode {
|
|
|
4119
4124
|
onOutputPadChange: (padding) => {
|
|
4120
4125
|
this.settingsManager.setOutputPad(padding);
|
|
4121
4126
|
this.outputPad = padding;
|
|
4122
|
-
|
|
4123
|
-
for (const child of
|
|
4124
|
-
if (child
|
|
4125
|
-
child instanceof CustomMessageComponent ||
|
|
4126
|
-
child instanceof UserMessageComponent) {
|
|
4127
|
+
for (const container of [this.chatContainer, this.pendingMessagesContainer]) {
|
|
4128
|
+
for (const child of container.children) {
|
|
4129
|
+
if ("setOutputPad" in child && typeof child.setOutputPad === "function") {
|
|
4127
4130
|
child.setOutputPad(padding);
|
|
4128
4131
|
}
|
|
4129
4132
|
}
|
|
4130
|
-
if (this.streamingComponent) {
|
|
4131
|
-
this.streamingComponent.setOutputPad(padding);
|
|
4132
|
-
}
|
|
4133
|
-
this.ui.requestRender();
|
|
4134
|
-
return;
|
|
4135
4133
|
}
|
|
4136
|
-
this.
|
|
4134
|
+
this.ui.requestRender();
|
|
4137
4135
|
},
|
|
4138
4136
|
onAutocompleteMaxVisibleChange: (maxVisible) => {
|
|
4139
4137
|
this.settingsManager.setAutocompleteMaxVisible(maxVisible);
|
|
@@ -4242,7 +4240,6 @@ export class InteractiveMode {
|
|
|
4242
4240
|
this.updateEditorBorderColor();
|
|
4243
4241
|
this.showStatus(`Model: ${model.id}`);
|
|
4244
4242
|
void this.maybeWarnAboutAnthropicSubscriptionAuth(model);
|
|
4245
|
-
this.checkDaxnutsEasterEgg(model);
|
|
4246
4243
|
}
|
|
4247
4244
|
catch (error) {
|
|
4248
4245
|
this.showError(error instanceof Error ? error.message : String(error));
|
|
@@ -4375,7 +4372,6 @@ export class InteractiveMode {
|
|
|
4375
4372
|
done();
|
|
4376
4373
|
this.showStatus(persist ? `Default model: ${model.provider}/${model.id}` : `Model: ${model.id}`);
|
|
4377
4374
|
void this.maybeWarnAboutAnthropicSubscriptionAuth(model);
|
|
4378
|
-
this.checkDaxnutsEasterEgg(model);
|
|
4379
4375
|
}
|
|
4380
4376
|
catch (error) {
|
|
4381
4377
|
done();
|
|
@@ -4993,7 +4989,6 @@ export class InteractiveMode {
|
|
|
4993
4989
|
if (selectedModel) {
|
|
4994
4990
|
this.showStatus(`${actionLabel}. Selected ${selectedModel.id}. Credentials saved to ${getAuthPath()}`);
|
|
4995
4991
|
void this.maybeWarnAboutAnthropicSubscriptionAuth(selectedModel);
|
|
4996
|
-
this.checkDaxnutsEasterEgg(selectedModel);
|
|
4997
4992
|
}
|
|
4998
4993
|
else {
|
|
4999
4994
|
this.showStatus(`${actionLabel}. Credentials saved to ${getAuthPath()}`);
|
|
@@ -5696,16 +5691,6 @@ export class InteractiveMode {
|
|
|
5696
5691
|
this.chatContainer.addChild(new EarendilAnnouncementComponent());
|
|
5697
5692
|
this.ui.requestRender();
|
|
5698
5693
|
}
|
|
5699
|
-
handleDaxnuts() {
|
|
5700
|
-
this.chatContainer.addChild(new Spacer(1));
|
|
5701
|
-
this.chatContainer.addChild(new DaxnutsComponent(this.ui));
|
|
5702
|
-
this.ui.requestRender();
|
|
5703
|
-
}
|
|
5704
|
-
checkDaxnutsEasterEgg(model) {
|
|
5705
|
-
if (model.provider === "opencode" && model.id.toLowerCase().includes("kimi-k2.5")) {
|
|
5706
|
-
this.handleDaxnuts();
|
|
5707
|
-
}
|
|
5708
|
-
}
|
|
5709
5694
|
async handleBashCommand(command, excludeFromContext = false) {
|
|
5710
5695
|
const extensionRunner = this.session.extensionRunner;
|
|
5711
5696
|
// Emit user_bash event to let extensions intercept
|
|
@@ -5726,7 +5711,7 @@ export class InteractiveMode {
|
|
|
5726
5711
|
if (eventResult?.result) {
|
|
5727
5712
|
const result = eventResult.result;
|
|
5728
5713
|
// Create UI component for display
|
|
5729
|
-
this.bashComponent = new BashExecutionComponent(command, this.ui, excludeFromContext);
|
|
5714
|
+
this.bashComponent = new BashExecutionComponent(command, this.ui, excludeFromContext, this.outputPad);
|
|
5730
5715
|
if (this.session.isStreaming) {
|
|
5731
5716
|
this.pendingMessagesContainer.addChild(this.bashComponent);
|
|
5732
5717
|
this.pendingBashComponents.push(this.bashComponent);
|
|
@@ -5747,7 +5732,7 @@ export class InteractiveMode {
|
|
|
5747
5732
|
}
|
|
5748
5733
|
// Normal execution path (possibly with custom operations)
|
|
5749
5734
|
const isDeferred = this.session.isStreaming;
|
|
5750
|
-
this.bashComponent = new BashExecutionComponent(command, this.ui, excludeFromContext);
|
|
5735
|
+
this.bashComponent = new BashExecutionComponent(command, this.ui, excludeFromContext, this.outputPad);
|
|
5751
5736
|
if (isDeferred) {
|
|
5752
5737
|
// Show in pending area when agent is streaming
|
|
5753
5738
|
this.pendingMessagesContainer.addChild(this.bashComponent);
|