fullsendai 0.3.0 → 0.3.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.
Files changed (2) hide show
  1. package/dist/cli.mjs +6 -2
  2. package/package.json +1 -1
package/dist/cli.mjs CHANGED
@@ -7328,7 +7328,7 @@ import { createHash as createHash2 } from "node:crypto";
7328
7328
  import { createInterface } from "node:readline";
7329
7329
 
7330
7330
  // src/api.ts
7331
- var VERSION = true ? "0.3.0" : "0.0.0-dev";
7331
+ var VERSION = true ? "0.3.1" : "0.0.0-dev";
7332
7332
  var agent = `fullsendai-cli/${VERSION} (${process.platform}; node ${process.versions.node})`;
7333
7333
  var Api = class {
7334
7334
  constructor(origin, timeoutMs = 6e4) {
@@ -7542,6 +7542,10 @@ function onPath(command, w) {
7542
7542
  }
7543
7543
  return void 0;
7544
7544
  }
7545
+ function fullsendaiInstalled(w) {
7546
+ const found2 = onPath("fullsendai", w);
7547
+ return !!found2 && !/[\\/]_npx[\\/]/.test(found2);
7548
+ }
7545
7549
  function editorExtensions(w) {
7546
7550
  return [".vscode", ".vscode-insiders", ".vscode-oss", ".cursor", ".windsurf"].map((dir) => join2(w.home, dir, "extensions"));
7547
7551
  }
@@ -10975,7 +10979,7 @@ function shellHelp() {
10975
10979
  }
10976
10980
  async function offerInstall(flags) {
10977
10981
  const w = here();
10978
- if (!interactive || flags.yes || flags.json || onPath("fullsendai", w)) return;
10982
+ if (!interactive || flags.yes || flags.json || fullsendaiInstalled(w)) return;
10979
10983
  print();
10980
10984
  if (!await confirm(`Install the ${cyan("fullsendai")} command, so you can open all this any time by typing just ${cyan("fullsendai")}?`)) {
10981
10985
  print(` ${dim("Any time later:")} ${cyan("npm install -g fullsendai")}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fullsendai",
3
- "version": "0.3.0",
3
+ "version": "0.3.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",