freebuff 0.0.185 → 0.0.187

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 (3) hide show
  1. package/README.md +17 -3
  2. package/launcher.js +7 -5
  3. package/package.json +9 -8
package/README.md CHANGED
@@ -17,9 +17,23 @@ cd ~/my-project
17
17
  freebuff
18
18
  ```
19
19
 
20
+ ### Older Intel Macs (without AVX2)
21
+
22
+ The npm launcher automatically switches to the `darwin-x64-baseline` build if
23
+ the standard Intel binary exits with an illegal-instruction error (`SIGILL`).
24
+ To select that build before the first launch:
25
+
26
+ ```bash
27
+ FREEBUFF_BINARY_TARGET=darwin-x64-baseline freebuff
28
+ ```
29
+
30
+ For manual installation, download `freebuff-darwin-x64-baseline.tar.gz` from the
31
+ [Freebuff CLI releases](https://github.com/CodebuffAI/codebuff-community/releases?q=freebuff-v)
32
+ and keep the extracted `freebuff` binary and `tree-sitter.wasm` together.
33
+
20
34
  ## Why Freebuff?
21
35
 
22
- **Choice of leading models** — The regular CLI picker includes GLM 5.3 Flash, DeepSeek, GPT-6 Luna, MiMo 2.6 Flash, MiMo 2.6 Pro, Solar Pro 4, Gemini 3.8 Flash, and Muse Spark 1.2, with GLM 5.3 Flash selected by default.
36
+ **Choice of leading models** — The regular CLI picker includes GLM 5.3 Flash, DeepSeek, GPT-6 Luna, MiMo 2.6 Flash, MiMo 2.6 Pro, Solar Mini 4, Space Bunny Alpha, Gemini 3.8 Flash, and Muse Spark 1.2, with GLM 5.3 Flash selected by default.
23
37
 
24
38
  **Fast** — 5–10× speed up. 3–5× tokens per second compared to Claude, plus context gathering in seconds.
25
39
 
@@ -29,11 +43,11 @@ freebuff
29
43
 
30
44
  **How can it be free?** Freebuff is supported by text ads.
31
45
 
32
- **What models do you use?** In full mode, the regular picker includes GLM 5.3 Flash, DeepSeek V4.1 Flash, GPT-6 Luna, MiMo 2.6 Flash, MiMo 2.6 Pro, Solar Pro 4, Gemini 3.8 Flash, and Muse Spark 1.2. Solar Pro 4 is a limited-time trial. MiMo 2.6 Pro and Gemini 3.8 Flash require a paid plan: without one they are listed but locked, and selecting one opens the plans page. Muse Spark 1.2 has a 1M-token context and is rate limited across all users, so at busy times it queues and then answers on DeepSeek V4 Flash instead of leaving you waiting. GLM 5.3 Flash is the CLI default, and it costs no session at all, so the default is always available no matter how much you have used. Limited mode uses GLM 5.3 Flash, DeepSeek V4.1 Flash, MiMo 2.6 Flash, and Solar Pro 4. Most models draw on your normal daily sessions rather than a separate limit; GLM 5.3 Flash, DeepSeek V4.1 Flash, MiMo 2.6 Flash, and Solar Pro 4 are unmetered at full access. Models may still serve from a quantized (Q8_0) build.
46
+ **What models do you use?** In full mode, the regular picker includes GLM 5.3 Flash, DeepSeek V4.1 Flash, GPT-6 Luna, MiMo 2.6 Flash, MiMo 2.6 Pro, Solar Mini 4, Space Bunny Alpha, Gemini 3.8 Flash, and Muse Spark 1.2. Space Bunny Alpha is a beta stealth model from an anonymous provider that retains prompts. MiMo 2.6 Pro and Gemini 3.8 Flash require a paid plan: without one they are listed but locked, and selecting one opens the plans page. Muse Spark 1.2 has a 1M-token context and is rate limited across all users, so at busy times it queues and then answers on DeepSeek V4 Flash instead of leaving you waiting. GLM 5.3 Flash is the CLI default, and it costs no session at all, so the default is always available no matter how much you have used. Limited mode uses GLM 5.3 Flash, DeepSeek V4.1 Flash, MiMo 2.6 Flash, and Solar Mini 4. Most models draw on your normal daily sessions rather than a separate limit; GLM 5.3 Flash, DeepSeek V4.1 Flash, MiMo 2.6 Flash, and Solar Mini 4 are unmetered at full access. Models may still serve from a quantized (Q8_0) build.
33
47
 
34
48
  **Which countries is Freebuff available in?** All countries. Freebuff runs in "full" mode in the US, Canada, UK, EU, and other select countries, and in "limited" mode everywhere else (or while using a VPN). See [freebuff.com](https://freebuff.com) for the full list.
35
49
 
36
- **What is limited mode?** Limited mode lets you use Freebuff outside the full-access countries, or while using a VPN. It includes GLM 5.3 Flash, DeepSeek V4.1 Flash, MiMo 2.6 Flash, and Solar Pro 4, with 6 one-hour sessions per day, and you can earn up to 7 by engaging with promoted posts on the Earn page.
50
+ **What is limited mode?** Limited mode lets you use Freebuff outside the full-access countries, or while using a VPN. It includes GLM 5.3 Flash, DeepSeek V4.1 Flash, MiMo 2.6 Flash, and Solar Mini 4, with 6 one-hour sessions per day, and you can earn up to 7 by engaging with promoted posts on the Earn page.
37
51
 
38
52
  <!-- BEGIN GENERATED FREEBUFF DATA USE -->
39
53
 
package/launcher.js CHANGED
@@ -27,6 +27,7 @@ const PLATFORM_TARGET_KEYS = [
27
27
  'linux-x64-baseline',
28
28
  'linux-arm64',
29
29
  'darwin-x64',
30
+ 'darwin-x64-baseline',
30
31
  'darwin-arm64',
31
32
  'win32-x64',
32
33
  'win32-x64-baseline',
@@ -356,6 +357,7 @@ function createLauncher(productConfig) {
356
357
 
357
358
  const BASELINE_FALLBACK_TARGETS = {
358
359
  'linux-x64': 'linux-x64-baseline',
360
+ 'darwin-x64': 'darwin-x64-baseline',
359
361
  'win32-x64': 'win32-x64-baseline',
360
362
  }
361
363
 
@@ -433,8 +435,8 @@ function createLauncher(productConfig) {
433
435
 
434
436
  // Everything else assumes AVX2 — true of every x64 CPU since ~2013.
435
437
  //
436
- // Windows is the case that matters, since it's the only other platform with
437
- // a baseline build. It has no /proc/cpuinfo equivalent we can read without
438
+ // Windows and macOS use the crash fallback rather than a subprocess probe.
439
+ // Windows has no /proc/cpuinfo equivalent we can read without
438
440
  // spawning something, and the probe that used to fill the gap asked
439
441
  // PowerShell to compile a C# stub and P/Invoke
440
442
  // kernel32!IsProcessorFeaturePresent — accurate, but a textbook malware
@@ -490,14 +492,14 @@ function createLauncher(productConfig) {
490
492
 
491
493
  const platformKey = getPlatformKey()
492
494
  // Linux still detects up front (reading /proc/cpuinfo is free). Windows
493
- // cannot without spawning a process, and the PowerShell probe that used to
494
- // do it tripped Defender, so Windows is optimistic-then-corrected: see
495
+ // and macOS are optimistic-then-corrected; the old Windows PowerShell
496
+ // probe tripped Defender. See
495
497
  // detectMachineHasAvx2() and tryFallbackToBaseline(). Once a machine has
496
498
  // failed once, readCachedAvx2() answers here and baseline is chosen up front
497
499
  // exactly as it used to be.
498
500
  //
499
501
  // This assumes every baseline target is gated on AVX2 specifically, which
500
- // holds today (only linux-x64 and win32-x64 have baseline builds, both
502
+ // holds today (linux-x64, darwin-x64 and win32-x64 have baseline builds, all
501
503
  // AVX2-gated). If a baseline build is ever added for a different reason, give
502
504
  // BASELINE_FALLBACK_TARGETS a per-target capability and check that instead.
503
505
  if (BASELINE_FALLBACK_TARGETS[platformKey] && !machineHasAvx2()) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "freebuff",
3
- "version": "0.0.185",
3
+ "version": "0.0.187",
4
4
  "description": "The world's strongest free coding agent",
5
5
  "license": "MIT",
6
6
  "bin": {
@@ -41,12 +41,13 @@
41
41
  "provenance": false
42
42
  },
43
43
  "binaryChecksums": {
44
- "linux-x64": "1e4486baa6be32c5473279b2cbc748b5ce6f703da498def2926a7fb09bff28b1",
45
- "linux-x64-baseline": "4a32c47dd03352b75d3f4e9ad9a9252a1fe828c39e8a718694ef3a79de870b82",
46
- "linux-arm64": "6e3703aafcc1b18ef764eff22f48a7778dddd17a070f6253a5f6085321aae6d6",
47
- "darwin-x64": "90c09d7ca98488e3bc96920f987a98e997ec6c243207626a2854dee7f9419a11",
48
- "darwin-arm64": "95b042a8515c50e4b46b5813a8b99cf8d114b9058f933c59a93543ce28637e29",
49
- "win32-x64": "e170ba58fc9d2db635e6b59a045d65c6df3f889b2ce8147215bbaae38d747347",
50
- "win32-x64-baseline": "0a90478e9520e15f598041e7da495f76913930a3516bcce1b38385f5b971612d"
44
+ "linux-x64": "b91b340182ecf3412553f83bac589d19dd3db437eacd8d089b9dc53be6132602",
45
+ "linux-x64-baseline": "2630e19b770a7d359bb71cd6abb4f2d8716b372bba45e2de3811312d3d8dfec9",
46
+ "linux-arm64": "6163331121993cc00c5827f61c71bab54f68b9e4a3b90ca51855c37da0150795",
47
+ "darwin-x64": "c39ee49f0a61d0c1e42dba1a5261611025ebcc09a274fbf2bd53e3b182e2ca9f",
48
+ "darwin-x64-baseline": "7d2ad18c501d580dfc3cae5c9bb10abd278867d5052d6cb3472b72b660db560f",
49
+ "darwin-arm64": "9ceec641967457fdb5942a5f348cb99e5f551efc5e26f81a830365892cb7b96b",
50
+ "win32-x64": "793be366d2b253e9b414fd73981393b8d8a127044e7a8ad90efeb43a75a49265",
51
+ "win32-x64-baseline": "6b4065be7517845a864956f8e0c0d47c979fd7f1e9cd6375890d2152246fe36c"
51
52
  }
52
53
  }