inferay 0.1.106 → 0.1.107
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 +1 -1
- package/src/cli.js +8 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "inferay",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.107",
|
|
4
4
|
"description": "Install and launch Inferay, a macOS AI workspace for multi-pane Claude/Codex chats, project context, slash commands, agent workspaces, and diffs.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./index.js",
|
package/src/cli.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { createRequire } from "node:module";
|
|
2
|
+
import { getChannel, setChannel } from "./config.js";
|
|
3
|
+
import { doctor } from "./doctor.js";
|
|
2
4
|
import { install } from "./install.js";
|
|
3
5
|
import { launchApp } from "./launch.js";
|
|
4
|
-
import { doctor } from "./doctor.js";
|
|
5
|
-
import { getChannel, setChannel } from "./config.js";
|
|
6
6
|
|
|
7
7
|
const require = createRequire(import.meta.url);
|
|
8
8
|
const { version: VERSION } = require("../package.json");
|
|
@@ -51,8 +51,11 @@ async function printDoctor(args) {
|
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
async function update() {
|
|
55
|
-
const result = await install({
|
|
54
|
+
async function update(args) {
|
|
55
|
+
const result = await install({
|
|
56
|
+
force: true,
|
|
57
|
+
launch: !args.includes("--no-launch"),
|
|
58
|
+
});
|
|
56
59
|
console.log(result.message);
|
|
57
60
|
}
|
|
58
61
|
|
|
@@ -105,7 +108,7 @@ export async function main(argv) {
|
|
|
105
108
|
await printDoctor(args);
|
|
106
109
|
return;
|
|
107
110
|
case "update":
|
|
108
|
-
await update();
|
|
111
|
+
await update(args);
|
|
109
112
|
return;
|
|
110
113
|
case "channel":
|
|
111
114
|
if (!args[1]) {
|