Skip to content

Changelog

  • Fixed “Invalid or expired token” when opening the script analyzer first. AI config now bootstraps at app startup instead of waiting for the chat panel to mount, so you can drag a script in immediately after login without an auth error.
  • Long-lived sessions stay synced as tokens rotate (about 5 minutes before the 1-hour expiry), so they no longer expire mid-analyze.

The biggest install-flow release since v0.3.x. The script installer no longer just tells you what to do, it does it for you.

After AI analyzes your script, it generates a structured to-do list: edit Config.Foo, register an item in qb-core/shared/items.lua, register a job, run the SQL file. Every item has a one-click Apply with a diff preview, and CfxKit backs up each file before editing, with one-click Revert.

  • Three approval modes: Plan (apply each step manually, the default), Run All (chained, pauses on destructive SQL), and Auto (runs safe edits, skips destructive).
  • Auto “already done” check collapses actions that already match your filesystem and database into “N actions already verified”, so the list shows only what needs attention.
  • SQL safety net: existing tables, triggers, procedures, and indexes no longer break the install. Re-running a script is safe.

The install preview opens in about 2 seconds (was around 30). AI fields fill in as the model writes them, and a status line tracks the current step.

  • Locked while AI is still streaming.
  • The label adapts: Install, Install anyway, Overwrite, Overwrite anyway, or Blocked.
  • Ctrl+Enter to install, Esc to cancel.
  • Bridge-aware dependencies. Libraries like ps_lib and ox_lib that ship bridge/framework/* folders no longer false-positive as missing dependencies.
  • Re-installs work. “Resource already exists” no longer blocks; the button switches to Overwrite with automatic backups.
  • SQL with triggers. DELIMITER // blocks now install correctly.
  • Forgiving config edits. Whitespace, smart quotes, and minor formatting no longer cause “cannot find string” errors; CfxKit finds the line by key and rewrites the value, preserving indentation and comments.
  • Cleaner AI output. A server-side sanitizer strips bad or cross-framework advice.
  • Fixed multi-framework library false-positives. Libraries like ps_lib, qb-target, ox_lib, and ox_inventory that ship bridge/framework/{qb,esx,qbx,vorp}/ folders are no longer misclassified as single-framework.
  • QBCore and QBox treated as compatible. Most QBCore scripts run on QBox unmodified, so the mismatch warning was wrong in the common case.

The install flow was rebuilt around an AI prescan that reads the entire resource (manifest plus every .lua, .js, .sql, and README) before any file is copied.

  • AI prescan: one provider-agnostic call (CfxKit AI or any BYOK provider) returning the detected framework, multi-framework variants, per-SQL-file purpose, category, declared dependencies, and required config edits.
  • uninstall.sql is no longer run by mistake. Each SQL file is marked with a purpose and a run flag.
  • Framework mismatch gate. If a script targets ESX and your project is QBox, the pipeline pauses for confirmation.
  • Per-statement SQL recovery. A failing statement opens an inline card with Ask AI to fix, Retry, Edit and run, Skip, or Abort.
  • Marketplace to installer. Marketplace items download to staging and open the same install wizard.
  • Fixed OAuth login opening File Explorer. Signing in with Google or Discord could open File Explorer instead of the browser; the installer is now built with the correct configuration.
  • Reliable knowledge search, moved server-side into the AI proxy to remove timeouts and slow responses.
  • Faster AI responses, by removing a client-side knowledge search that blocked all providers for about 30 seconds.
  • Smart knowledge search: casual messages skip the lookup for instant replies; technical questions get full context.
  • Documentation site launched at docs.cfxkit.com.
  • Fixed knowledge search timing out on Windows.
  • Fixed all AI providers being blocked by the knowledge-search timeout.
  • Fixed network issues with edge-function calls from the desktop app.
  • AI chat — built-in CfxKit AI plus bring-your-own-key for OpenAI, Anthropic, Google, Ollama, and OpenRouter.
  • Code editor — Lua and JS highlighting with FiveM/RedM native autocomplete.
  • Server management — start and stop FXServer, server panel, live console.
  • Database manager — visual MySQL browser, SQL editor, one-click export.
  • Resource monitor — real-time CPU and memory per resource.
  • Build & deploy — one-click packaging with an optional SQL dump.
  • Convar editor — visual server.cfg editing.
  • Knowledge base — FiveM/RedM knowledge behind the AI.
  • Auth — Discord and Google sign-in.
  • Auto-update — built-in updater.