Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: TMHSDigital/CFX-Developer-Tools
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.14.2
Choose a base ref
...
head repository: TMHSDigital/CFX-Developer-Tools
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.15.0
Choose a head ref
  • 7 commits
  • 25 files changed
  • 3 contributors

Commits on Nov 21, 2026

  1. feat: reject framework and game combinations that cannot load (#58)

    validate_inputs checked game, language and framework independently, so
    the scaffold and manifest tools produced resources such as VORP on GTA5
    or Qbox on RDR3 that cannot load.
    
    Add FRAMEWORK_GAMES (esx, qbcore, qbox, oxcore: gta5; vorp, rsg: rdr3;
    standalone: both) and return an error for mismatches, including
    game="both" with a single-game framework. Valid combinations are
    unchanged; tests cover both.
    
    The multi-framework bridge scaffold proposed in the issue is not part
    of this change.
    
    Refs #58
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    TMHSDigital and claude committed Nov 21, 2026
    Configuration menu
    Copy the full SHA
    c106d5a View commit details
    Browse the repository at this point in the history
  2. feat: rank native lookup results and add paging and JSON output (#56)

    lookup_native returned matches in database order and always showed the
    first 25, so an exact name could be buried under description matches
    and later results were unreachable.
    
    - Rank results: exact name, name prefix, name substring, hash,
      category, then description.
    - Add limit (1-100, default 25) and offset, with a "next page" hint.
    - Add format="json" returning {total, offset, limit, results}.
    - Expose the new parameters on lookup_native_tool.
    
    Tests: an exact name ranks first on real data, offset pages past the
    first 25, and JSON output parses. The replaced_by field suggested in
    the issue needs a transform change and data refresh and is not part of
    this change.
    
    Refs #56
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    TMHSDigital and claude committed Nov 21, 2026
    Configuration menu
    Copy the full SHA
    f2f5336 View commit details
    Browse the repository at this point in the history
  3. perf: cache parsed data files across tool calls (#63)

    lookup_native, search_events and search_docs re-read and re-parsed
    their JSON on every call (the native DBs are several MB each).
    
    Add tools/data.py: load_dataset() parses each file once per process and
    re-reads it only when its mtime or size changes, and returns a
    consistent "Error: ..." string for missing, malformed or non-array
    files. The three tools use it.
    
    Measured: first lookup ~37 ms, repeat ~8 ms. Tests cover single parse
    until the file changes, error strings, and repeat-call latency.
    
    Fixes #63
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    TMHSDigital and claude committed Nov 21, 2026
    Configuration menu
    Copy the full SHA
    9f58ba2 View commit details
    Browse the repository at this point in the history
  4. perf: send speedometer updates only on change and at most every 100ms (…

    …#64)
    
    The speedometer loop ran every frame and sent a NUI message whenever the
    speed changed OR 100ms had passed, so it sent on most frames while
    accelerating and 10 times a second even at a steady speed.
    
    Poll every 100ms while in a vehicle and send only when the displayed
    value changed AND the interval has passed (at most ~10 messages per
    second, none while steady). The comments and README now describe that
    behaviour.
    
    Fixes #64
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    TMHSDigital and claude committed Nov 21, 2026
    Configuration menu
    Copy the full SHA
    8286f75 View commit details
    Browse the repository at this point in the history
  5. feat: harden txAdmin tools: transport check, tool hints, session reuse (

    #67)
    
    - Refuse to send the admin password over plain HTTP to a non-loopback
      host unless TXADMIN_ALLOW_INSECURE=1 is set; the skill documents
      HTTPS or an SSH tunnel for remote panels.
    - Annotate all MCP tools: lookups read-only, scaffold non-destructive
      write, txAdmin control and kick destructive, player search read-only,
      so clients can apply approval policies.
    - Reuse one logged-in txAdmin session per process (keyed by URL and
      credentials) and log in again once when a reused session gets
      401/403, instead of logging in on every call.
    
    Tests: one login across consecutive calls, re-login after a 401, remote
    http refused with no request sent, opt-in and https accepted, and the
    annotations exposed by list_tools.
    
    Fixes #67
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    TMHSDigital and claude committed Nov 21, 2026
    Configuration menu
    Copy the full SHA
    435f349 View commit details
    Browse the repository at this point in the history
  6. chore: widen Dependabot coverage and pin floating dependencies (#62)

    - Dependabot now also watches pip (/mcp-server) and npm
      (templates/javascript, templates/nui-vite/web,
      templates/nui-svelte/web), not only GitHub Actions.
    - Pin mkdocs-material to >=9.8.2,<10 in the docs build so an upstream
      release cannot break `mkdocs build --strict` without a repo change.
    - Replace "latest" @citizenfx typings with ^2.0.38781-1 in the JS
      template and in scaffolded package.json files.
    
    Verified: config files parse, `npm install` of the JS template succeeds,
    tests pass. Not included: the action major bumps and NUI template major
    upgrades (left for the new Dependabot PRs) and the undeclared oxmysql
    include in framework templates.
    
    Refs #62
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    TMHSDigital and claude committed Nov 21, 2026
    Configuration menu
    Copy the full SHA
    e061709 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    8088cc0 View commit details
    Browse the repository at this point in the history
Loading