loom-agent 1.2.25 → 1.2.26
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/bin/loom-bun.js +8 -0
- package/package.json +1 -1
- package/src/core/cli.js +1 -1
package/bin/loom-bun.js
CHANGED
|
@@ -36,6 +36,14 @@ process.title = "loom-code";
|
|
|
36
36
|
// The npm global shim can start Bun outside the package directory, so do
|
|
37
37
|
// not depend on bunfig.toml discovery for Windows console setup.
|
|
38
38
|
await import("../src/tui-preload.js");
|
|
39
|
+
const args = process.argv.slice(2);
|
|
40
|
+
const coreMode = args.includes("--basic") || args.includes("-p") || args.includes("--print")
|
|
41
|
+
|| args.includes("--help") || args.includes("-h") || args.includes("--version") || args.includes("-v")
|
|
42
|
+
|| ["acp", "web", "attach", "graph"].includes(args[0]);
|
|
43
|
+
if (!coreMode) {
|
|
44
|
+
await import("../src/tui-open.tsx");
|
|
45
|
+
return;
|
|
46
|
+
}
|
|
39
47
|
const { main } = require("../src/core/cli.js");
|
|
40
48
|
await main();
|
|
41
49
|
} catch (err) {
|
package/package.json
CHANGED
package/src/core/cli.js
CHANGED
|
@@ -38,7 +38,7 @@ class LoomCLI {
|
|
|
38
38
|
terminal: true,
|
|
39
39
|
});
|
|
40
40
|
console.log(LOOM_BASE);
|
|
41
|
-
console.log(`\n Loom Code v1.2.
|
|
41
|
+
console.log(`\n Loom Code v1.2.26 — AI Coding Agent for the terminal`);
|
|
42
42
|
console.log(` Press Ctrl+C or ESC to interrupt | /help for commands\n`);
|
|
43
43
|
|
|
44
44
|
process.stdin.on('keypress', (str, key) => {
|