loom-agent 1.2.3 → 1.2.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "loom-agent",
3
- "version": "1.2.3",
3
+ "version": "1.2.4",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/toshalkumbhar8979-design/loomcode.git"
package/src/core/cli.js CHANGED
@@ -557,7 +557,7 @@ if (args.includes('--help') || args.includes('-h')) {
557
557
  if (canRaw) {
558
558
  // Launch new OpenTUI TUI via bun
559
559
  const bunPath = findBun();
560
- const tuiEntry = path.join(__dirname, '..', 'tui-open.tsx');
560
+ const tuiEntry = path.join(__dirname, '..', 'tui-bootstrap.js');
561
561
  if (bunPath && fs.existsSync(tuiEntry)) {
562
562
  const { spawnSync } = require('child_process');
563
563
  // Start bun from the package root so it discovers bunfig.toml /
package/src/tui-open.tsx CHANGED
@@ -8,7 +8,7 @@ import { defaultMcpInstall } from "./core/plugin-cmd.js";
8
8
  const args = process.argv.slice(2);
9
9
 
10
10
  if (args.includes("--version") || args.includes("-v")) {
11
- console.log("loom-code v1.2.0");
11
+ console.log(`loom-code v${import.meta.require("../package.json").version}`);
12
12
  process.exit(0);
13
13
  }
14
14