embark-ai 1.0.2 → 1.0.3

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/package.json +4 -4
  2. package/tui.js +22 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "embark-ai",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "Autonomous Minecraft agent powered by Featherless AI or Ollama",
5
5
  "keywords": [
6
6
  "minecraft",
@@ -10,13 +10,13 @@
10
10
  "ollama",
11
11
  "autonomous-agent"
12
12
  ],
13
- "homepage": "https://github.com/Syrthax/project-k#readme",
13
+ "homepage": "https://github.com/Syrthax/Embark-Ai#readme",
14
14
  "bugs": {
15
- "url": "https://github.com/Syrthax/project-k/issues"
15
+ "url": "https://github.com/Syrthax/Embark-Ai/issues"
16
16
  },
17
17
  "repository": {
18
18
  "type": "git",
19
- "url": "git+https://github.com/Syrthax/project-k.git"
19
+ "url": "git+https://github.com/Syrthax/Embark-Ai.git"
20
20
  },
21
21
  "license": "ISC",
22
22
  "author": "Sarthak G",
package/tui.js CHANGED
@@ -402,11 +402,12 @@ function renderActions() {
402
402
  `{gray-fg}─── navigation ───{/}`,
403
403
  `{cyan-fg}↑↓{/} scroll log`,
404
404
  `{cyan-fg}Tab{/} switch focus`,
405
- `{cyan-fg}r{/} refresh status`,
405
+ `{cyan-fg}r{/} refresh`,
406
+ `{cyan-fg}m{/} toggle selection`,
406
407
  `{cyan-fg}q{/} quit`,
407
408
  ``,
408
- `{gray-fg}Logs in:{/}`,
409
- `{gray-fg}${LOG_DIR}{/}`,
409
+ `{gray-fg}Logs: ${LOG_DIR}{/}`,
410
+ `{gray-fg}github.com/Syrthax/Embark-Ai{/}`,
410
411
  ]
411
412
  actionsPanel.setContent(lines.join('\n'))
412
413
  }
@@ -603,8 +604,8 @@ async function runOnboarding() {
603
604
  `{bold}{cyan-fg}Welcome to embark-ai{/}{/bold} {yellow-fg}[beta]{/}\n\n` +
604
605
  `Ember is an autonomous Minecraft agent powered by AI.\n` +
605
606
  `Let\'s set up your AI backend and verify your server.\n\n` +
606
- `{yellow-fg}⚠ This is a beta release — some features may be\n` +
607
- ` unstable. Please report issues on GitHub.{/}\n\n` +
607
+ `{yellow-fg}⚠ Beta release — some features may be unstable.\n` +
608
+ ` Issues: github.com/Syrthax/Embark-Ai/issues{/}\n\n` +
608
609
  `{gray-fg}This takes about 2 minutes on first run.{/}`,
609
610
  'cyan'
610
611
  )
@@ -1068,6 +1069,22 @@ screen.key(['r'], () => refresh())
1068
1069
  screen.key(['q', 'C-c'], quit)
1069
1070
  screen.key(['tab'], () => screen.focusNext())
1070
1071
 
1072
+ // [m] — toggle mouse capture so the terminal lets you select + copy text.
1073
+ // When selection mode is on, TUI mouse clicks are suspended.
1074
+ let _mouseEnabled = true
1075
+ screen.key(['m'], () => {
1076
+ if (_mouseEnabled) {
1077
+ screen.program.disableMouse()
1078
+ _mouseEnabled = false
1079
+ renderStatusBar('{yellow-fg}Selection mode — click & drag to copy. Press [m] to restore mouse.{/}')
1080
+ } else {
1081
+ screen.program.enableMouse()
1082
+ _mouseEnabled = true
1083
+ renderStatusBar(null)
1084
+ }
1085
+ screen.render()
1086
+ })
1087
+
1071
1088
  logPanel.key(['up','down','pageup','pagedown'], () => {})
1072
1089
  logPanel.focus()
1073
1090