Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/auto-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/checkout@v7
with:
fetch-depth: 0

Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@ jobs:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/checkout@v7
with:
ref: ${{ inputs.sha || github.sha }}

- uses: actions/setup-java@b843ebf9b913146b38da2eaa7aeddf76074ae1ad # v6.1.0
- uses: actions/setup-java@v6
with:
distribution: temurin
java-version: 25

- uses: gradle/actions/setup-gradle@8da46b539cd8fe6ab27ca75128919a18d757604c # v6.4.1
- uses: gradle/actions/setup-gradle@v6

- name: Build and test
run: ./gradlew build
Expand Down Expand Up @@ -65,16 +65,16 @@ jobs:
generated-project-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/checkout@v7
with:
ref: ${{ inputs.sha || github.sha }}

- uses: actions/setup-java@b843ebf9b913146b38da2eaa7aeddf76074ae1ad # v6.1.0
- uses: actions/setup-java@v6
with:
distribution: temurin
java-version: 25

- uses: gradle/actions/setup-gradle@8da46b539cd8fe6ab27ca75128919a18d757604c # v6.4.1
- uses: gradle/actions/setup-gradle@v6

- name: Generate project
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/jmix-release-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
env:
JMIX_VERSION: ${{ inputs.jmix_version }}
steps:
- uses: actions/setup-java@b843ebf9b913146b38da2eaa7aeddf76074ae1ad # v6.1.0
- uses: actions/setup-java@v6
with:
distribution: temurin
java-version: 25
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
sha: ${{ steps.release.outputs.sha }}
version: ${{ steps.release.outputs.version }}
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/checkout@v7
with:
ref: ${{ github.sha }}

Expand Down Expand Up @@ -101,16 +101,16 @@ jobs:
artifact: windows-x64

steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/checkout@v7
with:
ref: ${{ needs.prepare.outputs.sha }}

- uses: actions/setup-java@b843ebf9b913146b38da2eaa7aeddf76074ae1ad # v6.1.0
- uses: actions/setup-java@v6
with:
distribution: temurin
java-version: 25

- uses: gradle/actions/setup-gradle@8da46b539cd8fe6ab27ca75128919a18d757604c # v6.4.1
- uses: gradle/actions/setup-gradle@v6

- name: Build and package
shell: bash
Expand All @@ -126,7 +126,7 @@ jobs:
shell: pwsh
run: tests/test-install.ps1

- uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
- uses: actions/upload-artifact@v7
with:
name: release-${{ matrix.artifact }}
path: build/release/*
Expand All @@ -141,11 +141,11 @@ jobs:
contents: write

steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/checkout@v7
with:
ref: ${{ needs.prepare.outputs.sha }}

- uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
- uses: actions/download-artifact@v8
with:
pattern: release-*
path: release
Expand Down
4 changes: 2 additions & 2 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Read the guide relevant to the change; update it when behavior changes.
| [Project generation](docs/features/project-generation.md) | Templates, repository cache, rendering, locales, Git |
| [Wizard](docs/features/wizard.md) | Steps, navigation, terminal fallbacks, demo recording |
| [Add-ons](docs/features/add-ons.md) | Studio catalog, compatibility, selection, translations, installation |
| [Environment and Agent Toolkit](docs/features/environment-and-toolkit.md) | Development JDKs, project launching, AI agent setup |
| [Environment and Agent Toolkit](docs/features/environment-and-toolkit.md) | Development JDKs, project launching, AI agent setup, `agent-toolkit` |
| [Updates](docs/features/updates.md) | Startup checks, self-update, cache cleanup |
| [Account and trial](docs/features/account-and-trial.md) | Sign-in, session file, trial download |

Expand Down Expand Up @@ -58,7 +58,7 @@ Additional checks depend on the change:

| Change | Required checks |
|----------------------------------------|---------------------------------------------------------------------------------------------------|
| Commands/options | `jmix --help`, `jmix new --help`, and non-interactive use |
| Commands/options | `jmix --help`, `jmix new --help`, `jmix agent-toolkit --help`, and non-interactive use |
| Templates, repository access, or generation | `JMIX_CLI_IT=true ./gradlew test` |
| Generation | Also generate and build a project as described in the feature guide |
| Wizard | Real terminal and numbered/line-input fallback, including back and quit |
Expand Down
28 changes: 27 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Create [Jmix](https://www.jmix.io/) projects from the same templates as Jmix Stu

Use the interactive wizard or run the CLI from a script or an AI agent.

<img src="docs/demo.gif" alt="Jmix CLI command menu and wizard: add-on search, Agent Toolkit setup, and project generation" width="800">
<img src="docs/demo.gif" alt="Jmix CLI demo: jmix new creates a project in a guided wizard, and jmix agent-toolkit sets up skills, guidelines, and MCP servers for AI agents" width="800">

## Install

Expand Down Expand Up @@ -48,6 +48,32 @@ See [wizard controls](docs/features/wizard.md),
[project generation](docs/features/project-generation.md), and
[commercial add-on setup](docs/features/add-ons.md#commercial-add-ons).

## Agent Toolkit

Run `jmix agent-toolkit` to add or update the
[Jmix Agent Toolkit](https://github.com/jmix-framework/jmix-agent-toolkit) in an
existing Jmix project. Choose the project (or pass `--path`), then check the
steps to run, or pass them as arguments:

- `skills` — install or update the agent skills.
- `guidelines` — add or update the Jmix guidelines in `AGENTS.md`.
- `mcp` — configure MCP servers for the selected AI agents.

The checklist shows the state of each step and leaves the up-to-date ones
unchecked. From a script, `--non-interactive` runs the named steps, or all
three when none are named, without prompts:

```shell
cd demo
jmix agent-toolkit --non-interactive
jmix agent-toolkit skills guidelines --non-interactive
```

The command lists the files the toolkit reports as changed, and its notes. Run
`jmix agent-toolkit --help` for the options and the MCP servers and AI agents the
toolkit currently offers. See the
[Agent Toolkit guide](docs/features/environment-and-toolkit.md#toolkit-command).

## Jmix account and trial

Sign in to download the Enterprise+BPM trial project.
Expand Down
Binary file modified docs/demo.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion docs/features/account-and-trial.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,8 @@ and the archive has no `.gitignore`.
- The archive stores no Unix permissions, so every `gradlew` is made executable. The folders
then move into place and the staging folder goes away.

The report reads `bomVersion` from the root or `demo/*` build files (a `.trial` suffix is
The report reads `bomVersion` from the root or `demo/*` build files, else the `io.jmix`
plugin version from the same files (a `.trial` suffix is
dropped; only the shape is checked, because trials run on the newest Jmix) and runs the same
JDK check as `jmix new`, which reports and never fails the command. Then it prints the
location, the end date, a general module run command with one real example and its URL,
Expand Down
Loading
Loading