inferay 0.1.107 → 0.1.108
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/config.js +2 -2
- package/src/doctor.js +2 -2
- package/src/platform.js +1 -1
- package/src/releases.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "inferay",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.108",
|
|
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/config.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { mkdir, readFile, writeFile } from "node:fs/promises";
|
|
2
|
-
import { dirname, join } from "node:path";
|
|
3
2
|
import { homedir } from "node:os";
|
|
3
|
+
import { dirname, join } from "node:path";
|
|
4
4
|
|
|
5
5
|
const CONFIG_DIR = join(homedir(), ".inferay");
|
|
6
6
|
export const CONFIG_PATH = join(CONFIG_DIR, "config.json");
|
|
@@ -30,7 +30,7 @@ export async function setChannel(channel) {
|
|
|
30
30
|
const allowed = new Set(["stable", "nightly", "dev"]);
|
|
31
31
|
if (!allowed.has(channel)) {
|
|
32
32
|
throw new Error(
|
|
33
|
-
`unknown channel "${channel}". Use stable, nightly, or dev
|
|
33
|
+
`unknown channel "${channel}". Use stable, nightly, or dev.`,
|
|
34
34
|
);
|
|
35
35
|
}
|
|
36
36
|
const config = await readConfig();
|
package/src/doctor.js
CHANGED
|
@@ -33,7 +33,7 @@ async function appVersion(appPath) {
|
|
|
33
33
|
["-c", "Print :CFBundleShortVersionString", plist],
|
|
34
34
|
{
|
|
35
35
|
encoding: "utf8",
|
|
36
|
-
}
|
|
36
|
+
},
|
|
37
37
|
);
|
|
38
38
|
return result.status === 0 ? result.stdout.trim() : null;
|
|
39
39
|
}
|
|
@@ -74,7 +74,7 @@ export async function doctor({ dev = false } = {}) {
|
|
|
74
74
|
]);
|
|
75
75
|
try {
|
|
76
76
|
const packageJson = JSON.parse(
|
|
77
|
-
await readFile(join(process.cwd(), "package.json"), "utf8")
|
|
77
|
+
await readFile(join(process.cwd(), "package.json"), "utf8"),
|
|
78
78
|
);
|
|
79
79
|
checks.push(["Project", packageJson.name || "unknown"]);
|
|
80
80
|
} catch {
|
package/src/platform.js
CHANGED
|
@@ -37,7 +37,7 @@ function devAppCandidates(cwd = process.cwd()) {
|
|
|
37
37
|
|
|
38
38
|
export function findExistingApp(
|
|
39
39
|
cwd = process.cwd(),
|
|
40
|
-
{ includeDev = false } = {}
|
|
40
|
+
{ includeDev = false } = {},
|
|
41
41
|
) {
|
|
42
42
|
const candidates = includeDev
|
|
43
43
|
? [...devAppCandidates(cwd), ...installedAppCandidates()]
|
package/src/releases.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { createWriteStream } from "node:fs";
|
|
2
2
|
import { mkdir } from "node:fs/promises";
|
|
3
|
+
import { tmpdir } from "node:os";
|
|
3
4
|
import { join } from "node:path";
|
|
4
5
|
import { pipeline } from "node:stream/promises";
|
|
5
|
-
import { tmpdir } from "node:os";
|
|
6
6
|
|
|
7
7
|
const DEFAULT_REPO = "raymondreaming/inferay";
|
|
8
8
|
|