@ponythewhite/base-context 1.0.2 → 1.0.5

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 (70) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist/base-context-runtime/pyproject.toml +1 -1
  3. package/dist/base-context-runtime/src/rlm/mcp.py +39 -17
  4. package/dist/base-context-runtime/test/test_mcp.py +87 -1
  5. package/dist/base-context-runtime/uv.lock +1 -1
  6. package/dist/build-info.json +1 -1
  7. package/dist/bundle/amazon-bedrock.js +2 -2
  8. package/dist/bundle/{bundled-modules-PWOGKUQQ.js → bundled-modules-UVCJPNFC.js} +4 -4
  9. package/dist/bundle/{chunk-IADCPVEI.js → chunk-6FZM46AU.js} +27 -12
  10. package/dist/bundle/{chunk-HKINIBP4.js → chunk-LFPWHI42.js} +1 -1
  11. package/dist/bundle/{chunk-27QCJ2AZ.js → chunk-UPVDERMD.js} +0 -12
  12. package/dist/bundle/{chunk-44PEHPOG.js → chunk-WFJRFQGG.js} +402 -277
  13. package/dist/bundle/{cli-main-4DS7Y3PI.js → cli-main-OYVMMJUO.js} +3 -3
  14. package/dist/bundle/cli.js +1 -1
  15. package/dist/bundle/{main-SV7JLVEB.js → main-AVMYOTHF.js} +4 -4
  16. package/dist/cli/daemon-ps.d.ts.map +1 -1
  17. package/dist/cli/daemon-ps.js +1 -0
  18. package/dist/cli/daemon-ps.js.map +1 -1
  19. package/dist/core/auth-storage.d.ts +4 -0
  20. package/dist/core/auth-storage.d.ts.map +1 -1
  21. package/dist/core/auth-storage.js +77 -19
  22. package/dist/core/auth-storage.js.map +1 -1
  23. package/dist/core/kernel/bootstrap.d.ts.map +1 -1
  24. package/dist/core/kernel/bootstrap.js +5 -2
  25. package/dist/core/kernel/bootstrap.js.map +1 -1
  26. package/dist/core/mcp/mcp-manager.d.ts.map +1 -1
  27. package/dist/core/mcp/mcp-manager.js +2 -2
  28. package/dist/core/mcp/mcp-manager.js.map +1 -1
  29. package/dist/installer.mjs +5 -2
  30. package/dist/modes/daemon/daemon-supervisor-ownership.d.ts.map +1 -1
  31. package/dist/modes/daemon/daemon-supervisor-ownership.js +16 -16
  32. package/dist/modes/daemon/daemon-supervisor-ownership.js.map +1 -1
  33. package/dist/modes/interactive/auth-flows.d.ts.map +1 -1
  34. package/dist/modes/interactive/auth-flows.js +7 -6
  35. package/dist/modes/interactive/auth-flows.js.map +1 -1
  36. package/dist/modes/interactive/components/brand-announcement.d.ts +5 -0
  37. package/dist/modes/interactive/components/brand-announcement.d.ts.map +1 -0
  38. package/dist/modes/interactive/components/brand-announcement.js +14 -0
  39. package/dist/modes/interactive/components/brand-announcement.js.map +1 -0
  40. package/dist/modes/interactive/components/login-dialog.d.ts +3 -1
  41. package/dist/modes/interactive/components/login-dialog.d.ts.map +1 -1
  42. package/dist/modes/interactive/components/login-dialog.js +3 -1
  43. package/dist/modes/interactive/components/login-dialog.js.map +1 -1
  44. package/dist/modes/interactive/components/menu-panel.d.ts +1 -0
  45. package/dist/modes/interactive/components/menu-panel.d.ts.map +1 -1
  46. package/dist/modes/interactive/components/menu-panel.js +3 -0
  47. package/dist/modes/interactive/components/menu-panel.js.map +1 -1
  48. package/dist/modes/interactive/components/settings-selector.d.ts.map +1 -1
  49. package/dist/modes/interactive/components/settings-selector.js +9 -6
  50. package/dist/modes/interactive/components/settings-selector.js.map +1 -1
  51. package/dist/modes/interactive/interactive-mode.d.ts.map +1 -1
  52. package/dist/modes/interactive/interactive-mode.js +11 -9
  53. package/dist/modes/interactive/interactive-mode.js.map +1 -1
  54. package/dist/modes/shared/startup-notices.d.ts.map +1 -1
  55. package/dist/modes/shared/startup-notices.js +1 -1
  56. package/dist/modes/shared/startup-notices.js.map +1 -1
  57. package/dist/themes/synerise-logo.d.ts +3 -0
  58. package/dist/themes/synerise-logo.d.ts.map +1 -0
  59. package/dist/themes/synerise-logo.js +9 -0
  60. package/dist/themes/synerise-logo.js.map +1 -0
  61. package/package.json +6 -6
  62. package/dist/modes/interactive/assets/clankolas.png +0 -0
  63. package/dist/modes/interactive/components/earendil-announcement.d.ts +0 -5
  64. package/dist/modes/interactive/components/earendil-announcement.d.ts.map +0 -1
  65. package/dist/modes/interactive/components/earendil-announcement.js +0 -40
  66. package/dist/modes/interactive/components/earendil-announcement.js.map +0 -1
  67. package/dist/themes/prime-logo.d.ts +0 -9
  68. package/dist/themes/prime-logo.d.ts.map +0 -1
  69. package/dist/themes/prime-logo.js +0 -18
  70. package/dist/themes/prime-logo.js.map +0 -1
@@ -28,7 +28,7 @@ import { BUILTIN_SLASH_COMMANDS, builtinSlashCommandTakesArgument, isBuiltinSlas
28
28
  import { truncateTail } from "../../core/tools/truncate.js";
29
29
  import { getOwnedInstallation } from "../../owned-install-layout.js";
30
30
  import { assertProductStatePath } from "../../runtime-paths.js";
31
- import { PRIME_BUTTERFLY_LOGO } from "../../themes/prime-logo.js";
31
+ import { SYNERISE_LOGO } from "../../themes/synerise-logo.js";
32
32
  import { getChangelogPath, parseChangelog } from "../../utils/changelog.js";
33
33
  import { copyToClipboard } from "../../utils/clipboard.js";
34
34
  import { readClipboardImage } from "../../utils/clipboard-image.js";
@@ -48,6 +48,7 @@ import { ArminComponent } from "./components/armin.js";
48
48
  import { AssistantMessageComponent } from "./components/assistant-message.js";
49
49
  import { BashExecutionComponent } from "./components/bash-execution.js";
50
50
  import { BranchSummaryMessageComponent } from "./components/branch-summary-message.js";
51
+ import { BrandAnnouncementComponent } from "./components/brand-announcement.js";
51
52
  import { showFullPaneOverlay } from "./components/centered-overlay.js";
52
53
  import { CompactionOutcomeMessageComponent, MalformedCompactionOutcomeMessageComponent, } from "./components/compaction-outcome-message.js";
53
54
  import { CompactionSummaryMessageComponent } from "./components/compaction-summary-message.js";
@@ -59,7 +60,6 @@ import { CustomEditor } from "./components/custom-editor.js";
59
60
  import { CustomMessageComponent } from "./components/custom-message.js";
60
61
  import { DaxnutsComponent } from "./components/daxnuts.js";
61
62
  import { DynamicBorder } from "./components/dynamic-border.js";
62
- import { EarendilAnnouncementComponent } from "./components/earendil-announcement.js";
63
63
  import { formatTotalChangeSummary, mergeTurnFileChanges } from "./components/edit-summary.js";
64
64
  import { ExtensionEditorComponent } from "./components/extension-editor.js";
65
65
  import { ExtensionInputComponent } from "./components/extension-input.js";
@@ -210,7 +210,7 @@ export class BrandSplashHeader {
210
210
  this.getCwd = getCwd;
211
211
  this.verboseInstructions = verboseInstructions;
212
212
  this.options = options;
213
- this.logoRaw = (options.logo ?? PRIME_BUTTERFLY_LOGO).split("\n");
213
+ this.logoRaw = (options.logo ?? SYNERISE_LOGO).split("\n");
214
214
  this.logoCanvasWidth = this.logoRaw.reduce((max, line) => Math.max(max, visibleWidth(line)), 0);
215
215
  }
216
216
  invalidate() {
@@ -7289,12 +7289,14 @@ export class InteractiveMode {
7289
7289
  this.showError("Usage: /mcp logout <name>");
7290
7290
  return;
7291
7291
  }
7292
- if (!isAuthed(server)) {
7293
- this.showStatus(`${server} is not connected.`);
7294
- return;
7292
+ try {
7293
+ // Revoke pending logins even when no credential has been saved yet.
7294
+ authStorage.removeVerified(`mcp:${server}`);
7295
+ await this.reloadAfterMcpChange(`Disconnected ${server}.`);
7296
+ }
7297
+ catch (error) {
7298
+ this.showError(`Logout failed: ${error instanceof Error ? error.message : String(error)}`);
7295
7299
  }
7296
- authStorage.logout(`mcp:${server}`);
7297
- await this.reloadAfterMcpChange(`Disconnected ${server}.`);
7298
7300
  return;
7299
7301
  }
7300
7302
  try {
@@ -8247,7 +8249,7 @@ ${interrupt ? `| \`${interrupt}\` | Interrupt current operation |\n` : ""}${shor
8247
8249
  }
8248
8250
  handleDementedDelves() {
8249
8251
  this.chatContainer.addChild(new Spacer(1));
8250
- this.chatContainer.addChild(new EarendilAnnouncementComponent());
8252
+ this.chatContainer.addChild(new BrandAnnouncementComponent());
8251
8253
  this.ui.requestRender();
8252
8254
  }
8253
8255
  handleDaxnuts() {