Sign inSign up

olegselajev241/ij-lsp:latest

Multi-platform
Manifest digest

sha256:65eae35f8a10254350738ff25fa7a12300668a1ed0b05fc8e0042f8537f33783

Last pushed

12 days by olegselajev241

Type

Sandbox Kit

Manifest digest

sha256:65eae35f8a10254350738ff25fa7a12300668a1ed0b05fc8e0042f8537f33783

yaml
schemaVersion: "3"
displayName: Java and Kotlin by IntelliJ IDEA
description: Adds fast, headless IntelliJ-powered Java and Kotlin queries for coding agents.
sourceUrl: https://github.com/shelajev/ij-lsp-sbx-kit
version: 0.7.0
licenses:
    - Apache-2.0
kind: mixin
capabilities:
    - type: com.docker.sandbox/network-policy@1
      config:
        runtime:
            allow:
                - open-vsx.org
                - openvsx.eclipsecontent.org
                - resources.jetbrains.com
                - download.jetbrains.com
                - download-cdn.jetbrains.com
                - cache-redirector.jetbrains.com
                - account.jetbrains.com
                - plugins.jetbrains.com
                - www.jetbrains.com
    - type: com.docker.sandbox/lifecycle@1
      config:
        install:
            - command: |
                set -eu
                for tool in node curl tar unzip sha256sum flock; do
                  command -v "$tool" >/dev/null || {
                    printf 'ERROR: ij-lsp requires %s in the sandbox base image.\n' "$tool" >&2
                    exit 1
                  }
                done
                node --version
              description: Verify the small set of tools required by the headless bridge
        startup:
            - background: true
              command:
                - sh
                - -c
                - exec /home/agent/.local/bin/ij prepare >/dev/null
              description: Prefetch and verify IntelliJ without starting it before the workspace is ready
              env:
                - IJ_LSP_ACCEPT_LICENSE
                - HTTP_PROXY
                - HTTPS_PROXY
                - NO_PROXY
                - http_proxy
                - https_proxy
                - no_proxy
              user: "1000"
    - type: com.docker.sandbox/agent-context@1
      config:
        contentFile: /usr/share/sandbox/kit/ij-lsp/ij-lsp-context.md
args:
    acceptLicense:
        default: "false"
        description: Explicitly accept the JetBrains server agreement during sandbox startup
        enum:
            - "false"
            - "true"
        env: IJ_LSP_ACCEPT_LICENSE