@mnmal-ai/substrate-tui 1.0.0-alpha.3 → 1.0.0-alpha.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.
@@ -3660,6 +3660,14 @@ function surgeryModule(deps, io = {}) {
3660
3660
 
3661
3661
  //#endregion
3662
3662
  //#region src/app.ts
3663
+ /** marathon with no overlay fill: an empty `raised` means Ink paints no background, so panels sit on the ground. */
3664
+ const substrateTheme = {
3665
+ ...marathon,
3666
+ color: {
3667
+ ...marathon.color,
3668
+ raised: ""
3669
+ }
3670
+ };
3663
3671
  function buildModules(deps, opts = {}) {
3664
3672
  return [
3665
3673
  statusModule(deps, opts),
@@ -3674,7 +3682,7 @@ function buildModules(deps, opts = {}) {
3674
3682
  }
3675
3683
  function substrateAppOptions(deps, opts = {}) {
3676
3684
  return {
3677
- theme: marathon,
3685
+ theme: substrateTheme,
3678
3686
  modules: buildModules(deps, opts),
3679
3687
  defaultTurn: "substrate.ask:ask",
3680
3688
  band: true,
@@ -3687,4 +3695,4 @@ function createTui(deps, opts = {}) {
3687
3695
  }
3688
3696
 
3689
3697
  //#endregion
3690
- export { buildModules, createTui, substrateAppOptions };
3698
+ export { buildModules, createTui, substrateAppOptions, substrateTheme };
@@ -48,7 +48,7 @@ async function main() {
48
48
  }
49
49
  Object.assign(process.env, colorDepthEnv(process.env));
50
50
  const [{ createTui }, { makeDeps }, { prepareTerminal }, { terminalOptions }] = await Promise.all([
51
- import("../app-BLOyJcBh.js"),
51
+ import("../app-DUbUKySy.js"),
52
52
  import("../deps-WzqsHHiC.js"),
53
53
  import("@mnmal-ai/surface-core/pure"),
54
54
  import("../terminal-CVX2CKWu.js")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mnmal-ai/substrate-tui",
3
- "version": "1.0.0-alpha.3",
3
+ "version": "1.0.0-alpha.5",
4
4
  "description": "Terminal UI for Substrate: ask in natural language, browse the schema, see the service status.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -20,8 +20,8 @@
20
20
  "access": "public"
21
21
  },
22
22
  "dependencies": {
23
- "@mnmal-ai/substrate": "1.0.0-alpha.3",
24
- "@mnmal-ai/substrate-nl": "1.0.0-alpha.3",
23
+ "@mnmal-ai/substrate": "1.0.0-alpha.5",
24
+ "@mnmal-ai/substrate-nl": "1.0.0-alpha.5",
25
25
  "@mnmal-ai/surface-core": "0.14.5",
26
26
  "@mnmal-ai/surface-kit": "0.14.5",
27
27
  "@mnmal-ai/surface-theme": "0.14.5",
@@ -30,7 +30,7 @@
30
30
  },
31
31
  "devDependencies": {
32
32
  "@biomejs/biome": "^2.5.15",
33
- "@mnmal-ai/substrate-config": "1.0.0-alpha.3",
33
+ "@mnmal-ai/substrate-config": "1.0.0-alpha.5",
34
34
  "@types/node": "^26.6.4",
35
35
  "@types/react": "^19.2.0",
36
36
  "ink-testing-library": "^4.0.0",