fullsendai 0.2.0 → 0.2.1
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/dist/cli.mjs +3 -3
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -7326,7 +7326,7 @@ var require_dist = __commonJS({
|
|
|
7326
7326
|
import { createHash as createHash2 } from "node:crypto";
|
|
7327
7327
|
|
|
7328
7328
|
// src/api.ts
|
|
7329
|
-
var VERSION = true ? "0.2.
|
|
7329
|
+
var VERSION = true ? "0.2.1" : "0.0.0-dev";
|
|
7330
7330
|
var agent = `fullsendai-cli/${VERSION} (${process.platform}; node ${process.versions.node})`;
|
|
7331
7331
|
var Api = class {
|
|
7332
7332
|
constructor(origin, timeoutMs = 6e4) {
|
|
@@ -7531,7 +7531,7 @@ function onPath(command, w) {
|
|
|
7531
7531
|
const dirs = (w.env.PATH || w.env.Path || "").split(w.platform === "win32" ? ";" : delimiter).filter(Boolean);
|
|
7532
7532
|
const extensions = w.platform === "win32" ? (w.env.PATHEXT || ".COM;.EXE;.BAT;.CMD").split(";") : [""];
|
|
7533
7533
|
for (const dir of dirs)
|
|
7534
|
-
for (const ext of w.platform === "win32" ? [""
|
|
7534
|
+
for (const ext of w.platform === "win32" ? /\.[^\\/]+$/.test(command) ? [""] : extensions : extensions) {
|
|
7535
7535
|
const file = join2(dir, command + ext);
|
|
7536
7536
|
try {
|
|
7537
7537
|
if (statSync(file).isFile()) return file;
|
|
@@ -10130,7 +10130,7 @@ function found(w, binary, configured) {
|
|
|
10130
10130
|
const command = onPath(binary, w);
|
|
10131
10131
|
if (!command) return { installed: configured, how: configured ? "settings found" : void 0 };
|
|
10132
10132
|
const result = run(command, ["--version"], w, 4e3);
|
|
10133
|
-
const version = (result.stdout || result.stderr).match(/\d+\.\d+\.\d+(?:[-.][\w.]+)?/)?.[0];
|
|
10133
|
+
const version = (result.stdout || result.stderr || "").match(/\d+\.\d+\.\d+(?:[-.][\w.]+)?/)?.[0];
|
|
10134
10134
|
return { installed: true, version, how: "command line" };
|
|
10135
10135
|
}
|
|
10136
10136
|
function extensionFound(w, prefix) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fullsendai",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Connect Claude Code, Codex, OpenCode, Aider, Continue and more to FullsendAI in one command.",
|
|
5
5
|
"keywords": ["fullsendai", "claude-code", "codex", "opencode", "aider", "continue", "cline", "cursor", "llm", "cli"],
|
|
6
6
|
"homepage": "https://fullsendai.com/docs/agents",
|