> For the complete documentation index, see [llms.txt](https://docs.quickclient.cc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.quickclient.cc/extras/api-versions.md).

# Версии API

Номер версии API, SDK в папке скриптов и история изменений.

По номеру версии Quick определяет, под какой SDK собран скрипт. Номер хранится в `Script.API_VERSION`: компилятор записывает его в скрипт при сборке, а Quick сверяет со своим. Текущая версия `28`.

Версия растёт, когда в API что-то добавляют или меняют. Скрипт под старый SDK почти всегда работает без изменений. Quick в любом случае заново компилирует исходники против своего `script-api.jar`, поэтому старый номер ни на что не влияет. Сломается только то, что действительно удалили или переименовали, и это будет видно как ошибка компиляции в консоли.

## SDK в папке скриптов

При каждом запуске Quick перезаписывает `scripts\.api\`: `script-api.jar`, `script-api-sources.jar`, `README.txt`. Редактировать эти файлы не нужно. Если IDE показывает не те методы, с которыми компилирует Quick, значит проект использует старую копию SDK. Подключите библиотеку заново из `.api/`.

## Проверка

Команда `.script check` в чате сверяет API скриптов с SDK и показывает, что именно не совпало. Там же выводится список событий, которые знает текущая версия Quick.

## Что менялось

| Версия | Что                                                                                   |
| ------ | ------------------------------------------------------------------------------------- |
| 28     | миксины и хуки: `hook(...)`, `Hooks`, `Hook`; `control().motion(x, y, z)`; MCP-сервер |
| 27     | первая версия с jar-бандлами: `java/` и `resources/` в одном файле, подмена на лету   |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.quickclient.cc/extras/api-versions.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
