dual-brain 0.1.0 → 0.1.1

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 (2) hide show
  1. package/bin/dual-brain.mjs +11 -11
  2. package/package.json +1 -1
@@ -683,16 +683,19 @@ function renderHeader(version, providerLines, dtVersion) {
683
683
  const sep = ` ├${'─'.repeat(W)}┤`;
684
684
  const bottom = ` └${'─'.repeat(W)}┘`;
685
685
 
686
- const title = dtVersion ? `DATA Tools v${dtVersion}` : `DATA Tools`;
687
- const subTitle = `🧠 Dual Brain v${version}`;
686
+ const title = `🧠 Dual Brain v${version}`;
688
687
  const credit = `by Steve Moraco + dual-brain`;
689
688
 
689
+ const allProviderLines = [...providerLines];
690
+ if (dtVersion) {
691
+ allProviderLines.push(`📦 data-tools v${dtVersion} detected`);
692
+ }
693
+
690
694
  const lines = [top];
691
695
  lines.push(` │ ${pad(title)}│`);
692
- lines.push(` │ ${pad(subTitle)}│`);
693
696
  lines.push(` │ ${pad(credit)}│`);
694
697
  lines.push(sep);
695
- for (const pl of providerLines) {
698
+ for (const pl of allProviderLines) {
696
699
  lines.push(` │ ${pad(pl)}│`);
697
700
  }
698
701
  lines.push(bottom);
@@ -1037,13 +1040,7 @@ async function mainScreen(rl, ask) {
1037
1040
 
1038
1041
  const rtMain = detectReplitTools(cwd);
1039
1042
  const dtVersion = (rtMain.installed && rtMain.version) ? rtMain.version : null;
1040
- if (dtVersion) {
1041
- console.log(`📦 DATA Tools v${dtVersion}`);
1042
- console.log(`🧠 Dual Brain v${version}`);
1043
- } else {
1044
- console.log(`📦 DATA Tools`);
1045
- console.log(`🧠 Dual Brain v${version}`);
1046
- }
1043
+ console.log(`🧠 Dual Brain v${version}`);
1047
1044
  const latestVersion = await checkForUpdates(version);
1048
1045
  if (latestVersion) {
1049
1046
  console.log(` ⬆️ Update available: v${version} → v${latestVersion}`);
@@ -1055,6 +1052,9 @@ async function mainScreen(rl, ask) {
1055
1052
  for (const line of headerLines) {
1056
1053
  console.log(` ${line}`);
1057
1054
  }
1055
+ if (dtVersion) {
1056
+ console.log(` 📦 data-tools v${dtVersion} detected`);
1057
+ }
1058
1058
 
1059
1059
  const sparkline = buildSparkline(cwd);
1060
1060
  if (sparkline) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dual-brain",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "AI orchestration across Claude + OpenAI subscriptions — smart routing, budget awareness, and dual-brain collaboration",
5
5
  "type": "module",
6
6
  "bin": {