From 6ce449cfc02e42f5642c75b279bee32527224b8c Mon Sep 17 00:00:00 2001 From: Carmit Hershman Date: Tue, 28 Apr 2026 16:38:35 +0300 Subject: [PATCH 01/15] chore: initialize opencode-jfrog-plugin from bun-module template --- .github/workflows/cla.yml | 35 ++++++ .github/workflows/pr-title.yml | 19 +++ .github/workflows/pr.yml | 36 ++++++ .github/workflows/publish.yml | 49 ++++++++ .github/workflows/release.yml | 48 ++++++++ .github/workflows/stale.yml | 47 +++++++ .gitignore | 12 ++ .mise/tasks/build | 10 ++ .mise/tasks/dev | 12 ++ .mise/tasks/lint | 3 + .mise/tasks/lint:fix | 3 + .mise/tasks/pkgjsonlint | 12 ++ .mise/tasks/publish | 61 +++++++++ .mise/tasks/setup | 17 +++ .mise/tasks/test | 3 + .mise/tasks/typecheck | 5 + .mise/tasks/version | 38 ++++++ .prettierrc | 8 ++ .release-please-manifest.json | 4 + AGENTS.md | 65 ++++++++++ CHANGELOG.md | 3 + CONTRIBUTING.md | 41 +++++++ LICENSE | 21 ++++ README.md | 33 +++++ RELEASE.md | 218 +++++++++++++++++++++++++++++++++ eslint.config.js | 43 +++++++ hk.pkl | 42 +++++++ mise.toml | 12 ++ package.json | 40 ++++++ release-please-config.json | 12 ++ src/index.ts | 1 + tsconfig.json | 13 ++ 32 files changed, 966 insertions(+) create mode 100644 .github/workflows/cla.yml create mode 100644 .github/workflows/pr-title.yml create mode 100644 .github/workflows/pr.yml create mode 100644 .github/workflows/publish.yml create mode 100644 .github/workflows/release.yml create mode 100644 .github/workflows/stale.yml create mode 100644 .gitignore create mode 100755 .mise/tasks/build create mode 100755 .mise/tasks/dev create mode 100755 .mise/tasks/lint create mode 100755 .mise/tasks/lint:fix create mode 100755 .mise/tasks/pkgjsonlint create mode 100755 .mise/tasks/publish create mode 100755 .mise/tasks/setup create mode 100755 .mise/tasks/test create mode 100755 .mise/tasks/typecheck create mode 100755 .mise/tasks/version create mode 100644 .prettierrc create mode 100644 .release-please-manifest.json create mode 100644 AGENTS.md create mode 100644 CHANGELOG.md create mode 100644 CONTRIBUTING.md create mode 100644 LICENSE create mode 100644 README.md create mode 100644 RELEASE.md create mode 100644 eslint.config.js create mode 100644 hk.pkl create mode 100644 mise.toml create mode 100644 package.json create mode 100644 release-please-config.json create mode 100644 src/index.ts create mode 100644 tsconfig.json diff --git a/.github/workflows/cla.yml b/.github/workflows/cla.yml new file mode 100644 index 0000000..475ab4e --- /dev/null +++ b/.github/workflows/cla.yml @@ -0,0 +1,35 @@ +name: "CLA Assistant" +on: + # issue_comment triggers this action on each comment on issues and pull requests + issue_comment: + types: [ created ] + pull_request_target: + types: [ opened,synchronize ] + +jobs: + CLAssistant: + runs-on: ubuntu-latest + steps: + - uses: actions-ecosystem/action-regex-match@v2 + id: sign-or-recheck + with: + text: ${{ github.event.comment.body }} + regex: '\s*(I have read the CLA Document and I hereby sign the CLA)|(recheck)\s*' + + - name: "CLA Assistant" + if: ${{ steps.sign-or-recheck.outputs.match != '' || github.event_name == 'pull_request_target' }} + # Alpha Release + uses: cla-assistant/github-action@v2.3.0 + env: + # Generated and maintained by GitHub + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # JFrog organization secret + PERSONAL_ACCESS_TOKEN: ${{ secrets.CLA_SIGN_TOKEN }} + with: + path-to-signatures: 'signed_clas.json' + path-to-document: 'https://jfrog.com/cla/' + remote-organization-name: 'jfrog' + remote-repository-name: 'jfrog-signed-clas' + # branch should not be protected + branch: 'master' + allowlist: bot* \ No newline at end of file diff --git a/.github/workflows/pr-title.yml b/.github/workflows/pr-title.yml new file mode 100644 index 0000000..df6a474 --- /dev/null +++ b/.github/workflows/pr-title.yml @@ -0,0 +1,19 @@ +name: 'LintPrTitle' + +on: + pull_request: + types: + - opened + - edited + - synchronize + +permissions: + pull-requests: write + +jobs: + ValidatePrTitle: + runs-on: ubuntu-latest + steps: + - uses: amannn/action-semantic-pull-request@v5 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml new file mode 100644 index 0000000..9de84b3 --- /dev/null +++ b/.github/workflows/pr.yml @@ -0,0 +1,36 @@ +name: Pr + +on: + pull_request: + workflow_dispatch: + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +permissions: + actions: read + contents: read + +jobs: + Check: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + ref: ${{ github.event.pull_request.head.sha || github.ref }} + + - name: Setup Tooling + uses: jdx/mise-action@d6e32c1796099e0f1f3ac741c220a8b7eae9e5dd + with: + install: true + cache: true + experimental: true + + - name: Run Checks + run: | + mise run setup + mise run lint + mise run test + mise run build diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..a65cf7e --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,49 @@ +name: Publish Package + +on: + workflow_dispatch: + inputs: + tag: + description: 'npm tag (latest or next)' + required: true + type: choice + options: + - latest + - next + repository_dispatch: + types: [publish-package] + +permissions: + id-token: write + contents: read + +jobs: + publish: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + fetch-tags: true + + - uses: jdx/mise-action@d6e32c1796099e0f1f3ac741c220a8b7eae9e5dd + with: + install: true + cache: true + experimental: true + + - name: Build + run: mise run build + + - id: inputs + uses: simenandre/setup-inputs@v1 + + - name: Publish to npm with OIDC + run: | + TAG="${{ steps.inputs.outputs.tag }}" + if [ -z "$TAG" ]; then + TAG="latest" + fi + + echo "Publishing with tag: $TAG" + mise run publish --tag "$TAG" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..e3c2c90 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,48 @@ +name: Release + +on: + push: + branches: + - main + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + +permissions: + contents: write + pull-requests: write + +jobs: + process: + runs-on: ubuntu-latest + outputs: + releases_created: ${{ steps.release-please.outputs.releases_created }} + prs_created: ${{ steps.release-please.outputs.prs_created }} + steps: + - uses: google-github-actions/release-please-action@v4 + id: release-please + with: + token: ${{ secrets.GITHUB_TOKEN }} + release-type: node + skip-github-pull-request: false + + dispatch-publish: + needs: process + runs-on: ubuntu-latest + if: needs.process.outputs.releases_created == 'true' || needs.process.outputs.prs_created == 'true' + steps: + - name: Dispatch publish for releases + if: needs.process.outputs.releases_created == 'true' + uses: peter-evans/repository-dispatch@v2 + with: + token: ${{ secrets.GITHUB_TOKEN }} + event-type: publish-package + client-payload: '{"tag": "latest"}' + + - name: Dispatch publish for prerelease + if: needs.process.outputs.prs_created == 'true' + uses: peter-evans/repository-dispatch@v2 + with: + token: ${{ secrets.GITHUB_TOKEN }} + event-type: publish-package + client-payload: '{"tag": "next"}' diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml new file mode 100644 index 0000000..20e66ca --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,47 @@ +name: Close stale issues and PRs + +on: + schedule: + - cron: '30 1 * * *' # Run daily at 1:30 AM UTC + workflow_dispatch: # Allow manual trigger + +jobs: + stale: + runs-on: ubuntu-latest + permissions: + issues: write + pull-requests: write + + steps: + - uses: actions/stale@v9 + with: + # Issue settings + stale-issue-message: > + This issue has been automatically marked as stale because it has not had + recent activity. It will be closed in 7 days if no further activity occurs. + Thank you for your contributions. + close-issue-message: > + This issue was closed because it has been stale for 7 days with no activity. + Feel free to reopen if this is still relevant. + days-before-issue-stale: 60 + days-before-issue-close: 7 + stale-issue-label: 'stale' + + # PR settings + stale-pr-message: > + This pull request has been automatically marked as stale because it has not had + recent activity. It will be closed in 14 days if no further activity occurs. + Thank you for your contributions. + close-pr-message: > + This pull request was closed because it has been stale for 14 days with no activity. + Feel free to reopen if you'd like to continue working on this. + days-before-pr-stale: 60 + days-before-pr-close: 14 + stale-pr-label: 'stale' + + # Exempt labels - items with these labels won't be marked stale + exempt-issue-labels: 'pinned,security,bug,enhancement' + exempt-pr-labels: 'pinned,security,work-in-progress' + + # Don't stale items with milestones + exempt-all-milestones: true diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ef7b37c --- /dev/null +++ b/.gitignore @@ -0,0 +1,12 @@ +node_modules/ +dist/ +*.log +.DS_Store +.env +.env.local +coverage/ +.nyc_output/ +.eslintcache +.bun/ +.bun.lockb +.memory/ \ No newline at end of file diff --git a/.mise/tasks/build b/.mise/tasks/build new file mode 100755 index 0000000..88df274 --- /dev/null +++ b/.mise/tasks/build @@ -0,0 +1,10 @@ +#!/usr/bin/env bash +#MISE description="Build the project" +#MISE depends=["setup"] +#MISE sources=["src/**/*"] +#MISE outputs=["dist/index.js"] + +bun build ./src/index.ts --outdir dist --target bun + +# If you need to exlude some packages from your bundle, you can use the --external flag. For example, to exclude the "lodash" package, you can run: +# bun build ./src/index.ts --outdir dist --target bun --external lodash diff --git a/.mise/tasks/dev b/.mise/tasks/dev new file mode 100755 index 0000000..893e7ef --- /dev/null +++ b/.mise/tasks/dev @@ -0,0 +1,12 @@ +#!/usr/bin/env bash +#MISE description="Build for development with sourcemaps and vendor splitting" +#MISE sources=["src/**/*"] +#MISE outputs=["dist/index.js", "dist/index.js.map", "dist/vendor.js"] + +bun build ./src/index.ts \ + --outdir dist \ + --target bun \ + --sourcemap=inline \ + --splitting \ + --entry-naming='[dir]/[name].js' \ + --chunk-naming='[name].js' diff --git a/.mise/tasks/lint b/.mise/tasks/lint new file mode 100755 index 0000000..e059a3c --- /dev/null +++ b/.mise/tasks/lint @@ -0,0 +1,3 @@ +#!/usr/bin/env bash +#MISE description="Run ESLint" +bun x eslint . --ext .ts \ No newline at end of file diff --git a/.mise/tasks/lint:fix b/.mise/tasks/lint:fix new file mode 100755 index 0000000..32d604a --- /dev/null +++ b/.mise/tasks/lint:fix @@ -0,0 +1,3 @@ +#!/usr/bin/env bash +#MISE description="Run ESLint with auto-fix" +eslint . --ext .ts --fix \ No newline at end of file diff --git a/.mise/tasks/pkgjsonlint b/.mise/tasks/pkgjsonlint new file mode 100755 index 0000000..2e3b063 --- /dev/null +++ b/.mise/tasks/pkgjsonlint @@ -0,0 +1,12 @@ +#!/usr/bin/env bash +#MISE description="Validate package.json has no scripts property" + +set -e + +if jq -e '.scripts' package.json > /dev/null 2>&1; then + echo "❌ Error: 'scripts' property found in package.json" + echo "Scripts are not allowed. Use .mise/tasks instead." + exit 1 +else + echo "✓ package.json validation passed" +fi diff --git a/.mise/tasks/publish b/.mise/tasks/publish new file mode 100755 index 0000000..500eae8 --- /dev/null +++ b/.mise/tasks/publish @@ -0,0 +1,61 @@ +#!/usr/bin/env bash +#MISE description="Publish to npm registry" +#MISE depends=["setup", "build"] +#USAGE flag "-t --tag " "Tag to publish with" default="latest" +#USAGE flag "-d --dry-run" "Perform a dry run of the publish process" +#USAGE flag "--otp " "One-time password for npm two-factor authentication" default="" + +set -e + +echo "Publishing to npm" +echo " > with tag: ${usage_tag}..." +echo " > npm version: $(npm --version)" + +# For 'next' tag, bump version to a prerelease to avoid conflicts +if [ "${usage_tag}" = "next" ]; then + # Count commits since last tag for a semantic build number + LAST_TAG=$(git describe --tags --abbrev=0 2>/dev/null || echo "") + if [ -n "$LAST_TAG" ]; then + BUILD_NUMBER=$(git rev-list "${LAST_TAG}..HEAD" --count) + echo " > last tag: ${LAST_TAG}" + echo " > commits since last tag: ${BUILD_NUMBER}" + else + BUILD_NUMBER=$(git rev-list HEAD --count) + echo " > no previous tag found" + echo " > total commits: ${BUILD_NUMBER}" + fi + CURRENT_VERSION=$(jq -r '.version' package.json) + PRERELEASE_VERSION="$(semver get release "$CURRENT_VERSION")-next.${BUILD_NUMBER}" + echo " > bumping version: ${CURRENT_VERSION} -> ${PRERELEASE_VERSION}" + + if [ "${usage_dry_run}" != "true" ]; then + npm version "${PRERELEASE_VERSION}" --no-git-tag-version --allow-same-version + fi +fi + +args=() + +if [ -n "${usage_otp}" ]; then + args+=("--otp" "${usage_otp}") + echo " > using provided OTP for 2FA" +fi + +# if not usage_dry_run and is in github action, add provenance flag to args. +if [ -n "${GITHUB_ACTIONS}" ]; then + args+=("--provenance") + echo " > adding provenance flag for CI publish" +fi + +# Publish directly from source (allows provenance generation in CI) +if [ "${usage_dry_run}" != "true" ]; then + npm publish \ + --access public \ + --tag "${usage_tag}" \ + "${args[@]}" + + echo "Publish process completed." +else + echo "Dry run mode - skipping actual publish" + echo "Would have run:" + echo "npm publish --access public --tag ${usage_tag} ${args[*]}" +fi diff --git a/.mise/tasks/setup b/.mise/tasks/setup new file mode 100755 index 0000000..4ccc467 --- /dev/null +++ b/.mise/tasks/setup @@ -0,0 +1,17 @@ +#!/usr/bin/env bash +#MISE description="Setting up project" + +echo "" +echo "🍜 Setting up project" +echo "" + +# Only run hk install if not in a git worktree +if ! git worktree list | grep -q "$(pwd)"; then + hk install +fi + +bun install + +echo "" +echo "👍 Done" +echo "" diff --git a/.mise/tasks/test b/.mise/tasks/test new file mode 100755 index 0000000..9ff1208 --- /dev/null +++ b/.mise/tasks/test @@ -0,0 +1,3 @@ +#!/usr/bin/env bash +#MISE description="Run tests" +bun test diff --git a/.mise/tasks/typecheck b/.mise/tasks/typecheck new file mode 100755 index 0000000..96ed7cd --- /dev/null +++ b/.mise/tasks/typecheck @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +#MISE description="Type check TypeScript files without emitting" +#MISE sources=["src/**/*.ts", "tsconfig.json"] + +tsc --noEmit diff --git a/.mise/tasks/version b/.mise/tasks/version new file mode 100755 index 0000000..4ebaea6 --- /dev/null +++ b/.mise/tasks/version @@ -0,0 +1,38 @@ +#!/usr/bin/env bash +#MISE description="Bump version - handles 'next' prerelease or syncs after 'latest'" +#USAGE flag "-t --tag " "Tag for versioning strategy (next|latest)" default="next" + +set -e + +echo "Bumping version" +echo " > with tag: ${usage_tag}..." + +# When bumping "next": prerelease bump only +# When "latest": release-please handles it, but we sync "next" to be ahead +if [ "${usage_tag}" = "next" ]; then + echo "Bumping prerelease version for 'next' tag..." + bun pm version prerelease + echo " > Next version: $(jq -r '.version' package.json)" + +elif [ "${usage_tag}" = "latest" ]; then + echo "Syncing 'next' tag to be ahead of 'latest'..." + echo "(Note: 'latest' version should already be bumped by release-please)" + + # Get current version (should be latest after release-please) + LATEST_VERSION=$(jq -r '.version' package.json) + echo " > Latest version: $LATEST_VERSION" + + # Bump to next prerelease (X.Y.Z -> X.Y.(Z+1)-prerelease.0) + echo " > Bumping 'next' to be ahead of latest..." + bun pm version prerelease + + NEXT_VERSION=$(jq -r '.version' package.json) + echo " > Next version: $NEXT_VERSION" + +else + echo "❌ Unknown tag: ${usage_tag}" + echo " Use: --tag next (default) or --tag latest" + exit 1 +fi + +echo "Version bump completed!" diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 0000000..9f741c2 --- /dev/null +++ b/.prettierrc @@ -0,0 +1,8 @@ +{ + "singleQuote": true, + "trailingComma": "es5", + "printWidth": 100, + "tabWidth": 2, + "semi": true, + "arrowParens": "always" +} \ No newline at end of file diff --git a/.release-please-manifest.json b/.release-please-manifest.json new file mode 100644 index 0000000..5fd4983 --- /dev/null +++ b/.release-please-manifest.json @@ -0,0 +1,4 @@ +{ + ".": "0.0.1" +} + diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 0000000..24c69b9 --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,65 @@ +# AGENTS.md + +## Build & Test Commands + +- **Build**: `mise run build` or `bun build ./src/index.ts --outdir dist --target bun` +- **Test**: `mise run test` or `bun test` +- **Single Test**: `bun test BackgroundTask.test.ts` (use file glob pattern) +- **Watch Mode**: `bun test --watch` +- **Lint**: `mise run lint` (eslint) +- **Fix Lint**: `mise run lint:fix` (eslint --fix) +- **Format**: `mise run format` (prettier) + +## Code Style Guidelines + +### Imports & Module System + +- Use ES6 `import`/`export` syntax (module: "ESNext", type: "module") +- Group imports: external libraries first, then internal modules +- Use explicit file extensions (`.ts`) for internal imports + +### Formatting (Prettier) + +- **Single quotes** (`singleQuote: true`) +- **Line width**: 100 characters +- **Tab width**: 2 spaces +- **Trailing commas**: ES5 (no trailing commas in function parameters) +- **Semicolons**: enabled + +### TypeScript & Naming + +- **NeverNesters**: avoid deeply nested structures. Always exit early. +- **Strict mode**: enforced (`"strict": true`) +- **Classes**: PascalCase (e.g., `BackgroundTask`, `BackgroundTaskManager`) +- **Methods/properties**: camelCase +- **Status strings**: use union types (e.g., `'pending' | 'running' | 'completed' | 'failed' | 'cancelled'`) +- **Explicit types**: prefer explicit type annotations over inference +- **Return types**: optional (not required but recommended for public methods) + +### Error Handling + +- Check error type before accessing error properties: `error instanceof Error ? error.toString() : String(error)` +- Log errors with `[ERROR]` prefix for consistency +- Always provide error context when recording output + +### Linting Rules + +- `@typescript-eslint/no-explicit-any`: warn (avoid `any` type) +- `no-console`: error (minimize console logs) +- `prettier/prettier`: error (formatting violations are errors) + +## Testing + +- Framework: **vitest** with `describe` & `it` blocks +- Style: Descriptive nested test cases with clear expectations +- Assertion library: `expect()` (vitest) + +## Memory + +- Store temporary data in `.memory/` directory (gitignored) + +## Project Context + +- **Type**: ES Module package for Bun modules +- **Target**: Bun runtime, ES2021+ +- **Purpose**: General-purpose Bun module development diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..d1802e0 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,3 @@ +# Changelog + +All notable changes to this project will be documented here by Release Please. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..aa57234 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,41 @@ +# Contributing + +Thank you for your interest in contributing! + +## Reporting Issues + +- Search existing issues before opening a new one +- Include steps to reproduce, expected behavior, and actual behavior +- For bugs, include your environment (Bun version, OS, etc.) + +> **Note:** Issues inactive for 60 days may be marked stale and closed after 7 days. Feel free to reopen if still relevant. + +## Submitting Changes + +1. Fork the repository +2. Create a feature branch (`git checkout -b feat/my-feature`) +3. Make your changes +4. Run tests and linting: + ```bash + mise run test + mise run lint + ``` +5. Commit using [Conventional Commits](https://www.conventionalcommits.org/) format: + - `feat: add new feature` + - `fix: resolve bug` + - `docs: update readme` + - `chore: update dependencies` +6. Push and open a Pull Request + +## Pull Request Guidelines + +- PR titles must follow Conventional Commits format (enforced by CI) +- Keep PRs focused on a single change +- Include tests for new functionality +- Ensure all checks pass before requesting review + +## Code Style + +This project uses ESLint and Prettier. Run `mise run lint:fix` to auto-fix issues. + +See [AGENTS.md](./AGENTS.md) for detailed code style guidelines. diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..32cbac5 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2025 zenobi.us + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..98939c5 --- /dev/null +++ b/README.md @@ -0,0 +1,33 @@ +# opencode-jfrog-plugin + +JFrog Plugin for seameles integration to Opencode + +> A Bun module created from the [bun-module](https://github.com/zenobi-us/bun-module) template + +## Usage + + + +## Installation + + + +## Development + +- `mise run build` - Build the module +- `mise run test` - Run tests +- `mise run lint` - Lint code +- `mise run lint:fix` - Fix linting issues +- `mise run format` - Format code with Prettier + +## Release + +See the [RELEASE.md](RELEASE.md) file for instructions on how to release a new version of the module. + +## Contributing + +Contributions are welcome! Please file issues or submit pull requests on the GitHub repository. + +## License + +See the [LICENSE](LICENSE) file for details. diff --git a/RELEASE.md b/RELEASE.md new file mode 100644 index 0000000..8326287 --- /dev/null +++ b/RELEASE.md @@ -0,0 +1,218 @@ +# Release Process + +This project uses Release Please and Npm Trusted Publishing for automated releases. + +It follows two release channels: + +- **Pre-release**: Normal PRs merged to main create `x.x.x-next.J` versions published to the `next` npm dist-tag for testing and feedback. +- **Stable Releases**: Release PRs merged to main create computed version and publish to the `latest` npm dist-tag. + +You can also trigger manual releases in the follow ways: + +- Push a tag in the format `v{semver}` (e.g. `v1.2.3`) +- Run the `publish.yml` workflow manually from the GitHub Actions tab and supply a channel 'latest' or 'next'. + + +## First Release + +Before automated releases will work, you need to perform the first release manually. + +Why: + +- This uses [Npm Trusted Publishing](https://docs.npmjs.com/trusted-publishers). +- The first release creates the npm package on npmjs.com. +- This then allows you to setup trusted publishing with GitHub Actions for future releases. + +### Steps + +1. make sure the `package.json` is correct: + - is the version `0.0.1` ? + - is the pkg name correct? Did you forget to set the scope if needed? + - do you have the right keywords? + - do you have the right repository field? + - do you have the right author field? + +2. run `npm login` to authenticate with npm. + +3. run `mise build` to build the module. + +4. run `mise publish --otp {your-2fa-code}` to publish the first version. + +5. Go to your npm package settings on npmjs.com and add a trusted publisher for GitHub Actions with: + - **Organization or user**: Your GitHub username/org + - **Repository**: Your repository name + - **Workflow filename**: `publish.yml` (the release workflow filename) + +6. [Restrict token access](https://docs.npmjs.com/trusted-publishers#recommended-restrict-token-access-when-using-trusted-publishers) for maximum security. + + +## Release Workflow + +### Conventional Commits + +We follow [Conventional Commits](https://www.conventionalcommits.org/) specification: + +- `fix:` patches +- `feat:` minor features +- `feat!:` or `fix!:` breaking changes + +### Pre-1.0 Versioning + +While version is `0.x.x`, breaking changes bump **minor** version. + +### Release Process + +1. Push commits to `main` branch +2. Release Please will: + - Analyze commits + - Determine version bump + - Update `package.json` + - Update `CHANGELOG.md` + - Create a release PR + +3. Review and merge the Release Please PR + +### Commit Message Examples + +- `fix: resolve task tracking issue` +- `feat: add global task support` +- `feat!: change task management API` +- `docs: improve README` +- `chore: update dependencies` + +## Advanced Release Features + +### Force a Specific Version + +Use the `Release-As` footer in your commit message to force a specific version, bypassing conventional commit analysis: + +```bash +git commit --allow-empty -m "chore: release 2.0.0" -m "Release-As: 2.0.0" +``` + +This creates a commit: + +``` +chore: release 2.0.0 + +Release-As: 2.0.0 +``` + +Release Please will open a PR for version `2.0.0` regardless of commit message types. + +### Update Extra Files During Release + +If you have version numbers in other files beyond `package.json`, configure them in `release-please-config.json`: + +```json +{ + "extra-files": [ + "src/version.ts", + { + "type": "generic", + "path": "docs/VERSION.md" + }, + { + "type": "yaml", + "path": ".tool-versions", + "jsonpath": "$.node" + } + ] +} +``` + +**Supported file types:** + +- Generic files (any type) +- JSON files (with JSONPath) +- YAML files (with JSONPath) +- XML files (with XPath) +- TOML files (with JSONPath) + +### Magic Comments for Version Markers + +Use inline comments to mark where versions should be updated: + +```javascript +// x-release-please-version +const VERSION = '1.0.0'; + +// x-release-please-major +const MAJOR = '1'; +``` + +Or use block markers: + +```markdown + + +- Current version: 1.0.0 + +``` + +Available markers: + +- `x-release-please-version` - Full semver +- `x-release-please-major` - Major number +- `x-release-please-minor` - Minor number +- `x-release-please-patch` - Patch number + +## Do Not + +- Manually edit Release Please PRs +- Manually create GitHub releases +- Modify version numbers directly + +## Publishing + +Releases are automatically published to NPM when the Release Please PR is merged. + +### NPM Trusted Publishing + +This project uses [NPM Trusted Publishing](https://docs.npmjs.com/trusted-publishers) with GitHub Actions. No npm tokens are needed - authentication is handled automatically via OIDC (OpenID Connect). + +**How it works:** + +- Each publish uses short-lived, cryptographically-signed tokens specific to your workflow +- Tokens cannot be extracted or reused +- No need to manage or rotate long-lived credentials +- Automatic provenance attestations prove where and how your package was built + +**Setup required:** + +1. Go to your npm package settings on npmjs.com +2. Add a trusted publisher for GitHub Actions with: + - **Organization or user**: Your GitHub username/org + - **Repository**: Your repository name + - **Workflow filename**: `publish.yml` (the release workflow filename) +3. Optionally, [restrict token access](https://docs.npmjs.com/trusted-publishers#recommended-restrict-token-access-when-using-trusted-publishers) for maximum security + +When you merge a release PR, the GitHub Actions workflow will automatically: + +1. Build the module +2. Publish to NPM with OIDC authentication +3. Generate and attach provenance attestations +4. Create a GitHub release + +### Manual Releases + +You can also manually trigger a release by pushing a tag in the format `v{semver}`: + +```bash +git tag v1.2.3 +git push origin v1.2.3 +``` + +This will: + +1. Trigger the release workflow +2. Build and publish to NPM using trusted publishing +3. Create a GitHub release + +Use manual releases for: + +- Hot-fixes outside the normal release cycle +- Bypassing Release Please when needed +- Direct version control over releases + +**Learn more:** See the [NPM Trusted Publishing documentation](https://docs.npmjs.com/trusted-publishers) for complete setup and best practices. diff --git a/eslint.config.js b/eslint.config.js new file mode 100644 index 0000000..cefff8d --- /dev/null +++ b/eslint.config.js @@ -0,0 +1,43 @@ +import js from '@eslint/js'; +import tseslint from 'typescript-eslint'; +import prettier from 'eslint-config-prettier/flat'; +import eslintPluginPrettier from 'eslint-plugin-prettier'; + +export default tseslint.config( + { + ignores: ['dist', 'node_modules', '*.config.js'], + }, + { + files: ['**/*.ts'], + languageOptions: { + ecmaVersion: 'latest', + sourceType: 'module', + parser: tseslint.parser, + parserOptions: { + ecmaVersion: 'latest', + sourceType: 'module', + }, + globals: { + // Node.js globals + console: 'readonly', + process: 'readonly', + Buffer: 'readonly', + // Bun globals + Bun: 'readonly', + }, + }, + plugins: { + '@typescript-eslint': tseslint.plugin, + prettier: eslintPluginPrettier, + }, + rules: { + ...js.configs.recommended.rules, + ...tseslint.configs.recommended.rules, + ...prettier.rules, + 'prettier/prettier': 'error', + '@typescript-eslint/explicit-function-return-type': 'off', + '@typescript-eslint/no-explicit-any': 'warn', + 'no-console': 'error', + }, + } +); diff --git a/hk.pkl b/hk.pkl new file mode 100644 index 0000000..c8dd53d --- /dev/null +++ b/hk.pkl @@ -0,0 +1,42 @@ +amends "package://github.com/jdx/hk/releases/download/v1.26.0/hk@1.26.0#/Config.pkl" +import "package://github.com/jdx/hk/releases/download/v1.26.0/hk@1.26.0#/Builtins.pkl" + +local linters = new Mapping { + // eslint for TypeScript files + ["eslint"] { + glob = "**/*.ts" + check = "eslint {{files}}" + fix = "eslint --fix {{files}}" + } + + // uses builtin prettier linter config + ["prettier"] = Builtins.prettier + + // define a custom linter + ["pkl"] { + glob = "*.pkl" + check = "pkl eval {{files}} >/dev/null" + } +} + +hooks { + ["pre-commit"] { + fix = true // automatically modify files with available linter fixes + stash = "git" // stashes unstaged changes while running fix steps + steps { + ...linters // add all linters defined above + } + } + // instead of pre-commit, you can instead define pre-push hooks + ["pre-push"] { + steps = linters + } + // "fix" and "check" are special steps for `hk fix` and `hk check` commands + ["fix"] { + fix = true + steps = linters + } + ["check"] { + steps = linters + } +} diff --git a/mise.toml b/mise.toml new file mode 100644 index 0000000..49fe7bd --- /dev/null +++ b/mise.toml @@ -0,0 +1,12 @@ +[tools] +bun = "1.3.2" +npm = "11.6.3" +pkl = "0.27.2" +semver = "3.4.0" +usage = "2.8.0" +hk = "1.26.0" + +[env] +_.path = [ + "{{config_root}}/node_modules/.bin", +] diff --git a/package.json b/package.json new file mode 100644 index 0000000..88dd124 --- /dev/null +++ b/package.json @@ -0,0 +1,40 @@ +{ + "name": "{{moduleName}}", + "version": "0.0.1", + "description": "{{description}}", + "author": { + "name": "{{authorName}}", + "email": "{{authorEmail}}" + }, + "type": "module", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + } + }, + "repository": { + "type": "git", + "url": "{{repositoryUrl}}" + }, + "publishConfig": { + "access": "public" + }, + "files": [ + "dist", + "src/version.ts" + ], + "devDependencies": { + "@eslint/js": "^9.39.1", + "@types/node": "^20.11.5", + "@typescript-eslint/eslint-plugin": "8.47.0", + "@typescript-eslint/parser": "8.47.0", + "bun-types": "latest", + "eslint": "^9.39.1", + "eslint-config-prettier": "10.1.8", + "eslint-plugin-prettier": "^5.1.3", + "prettier": "^3.2.4", + "typescript-eslint": "^8.47.0", + "vitest": "^3.2.4" + } +} diff --git a/release-please-config.json b/release-please-config.json new file mode 100644 index 0000000..5a4050c --- /dev/null +++ b/release-please-config.json @@ -0,0 +1,12 @@ +{ + "packages": { + ".": {} + }, + "$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json", + "include-v-in-tag": true, + "include-component-in-tag": false, + "versioning": "prerelease", + "prerelease": true, + "bump-minor-pre-major": true, + "release-type": "node" +} diff --git a/src/index.ts b/src/index.ts new file mode 100644 index 0000000..cb0ff5c --- /dev/null +++ b/src/index.ts @@ -0,0 +1 @@ +export {}; diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..ee2a24e --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,13 @@ +{ + "compilerOptions": { + "lib": ["ESNext", "DOM"], + "target": "ESNext", + "module": "ESNext", + "moduleResolution": "bundler", + "strict": true, + "noEmit": true, + "skipLibCheck": true, + "allowImportingTsExtensions": true, + "types": ["bun-types"] + } +} \ No newline at end of file From 96881772b0f12d591bee02073e78910a516c0322 Mon Sep 17 00:00:00 2001 From: Carmit Hershman Date: Wed, 29 Apr 2026 10:54:38 +0300 Subject: [PATCH 02/15] chore: implement module --- LICENSE | 222 +++++++++++++++++-- NOTICE | 45 ++++ README.md | 59 +++++- bun.lock | 588 +++++++++++++++++++++++++++++++++++++++++++++++++++ package.json | 13 +- src/index.ts | 203 +++++++++++++++++- 6 files changed, 1098 insertions(+), 32 deletions(-) create mode 100644 NOTICE create mode 100644 bun.lock diff --git a/LICENSE b/LICENSE index 32cbac5..261eeb9 100644 --- a/LICENSE +++ b/LICENSE @@ -1,21 +1,201 @@ -MIT License - -Copyright (c) 2025 zenobi.us - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/NOTICE b/NOTICE new file mode 100644 index 0000000..36e8f85 --- /dev/null +++ b/NOTICE @@ -0,0 +1,45 @@ +JFrog opencode integration +(c) 2026 JFrog Ltd. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +============================================================================= + +This product includes software developed by: + +Opencode: +Licensed under the MIT License +https://github.com/anomalyco/opencode + +Bun: +Based on Bun module template: https://github.com/zenobi-us/bun-module +Developed by https://bun.sh/ +Licensed under the MIT License + +============================================================================= + +Third-Party Dependencies: + +This project declares the following direct Npm dependencies (see package.json). License terms for each package +apply; see the respective project repositories or NPM metadata for full notices. + +- @opencode-ai/plugin + Copyright © 2026 Anomaly under https://anoma.ly/ — MIT License + https://github.com/anomalyco/opencode + +- Bun module + Licensed under the MIT license + https://bun.com/docs/project/license + + +============================================================================= \ No newline at end of file diff --git a/README.md b/README.md index 98939c5..f26fffd 100644 --- a/README.md +++ b/README.md @@ -1,16 +1,65 @@ # opencode-jfrog-plugin -JFrog Plugin for seameles integration to Opencode +JFrog Plugin for seamless integration to Opencode +This plugin is intended for use by JFrog Customers also using Opencode. -> A Bun module created from the [bun-module](https://github.com/zenobi-us/bun-module) template +## Prerequisites +### General: +- [JFrog Platform](https://jfrog.com) installed +- [Opencode](https://opencode.ai/) installed + +### MCP Registry: +- Access to the corporate JFrog Platform with the AI Catalog enabled. +- A project with at least one allowed MCP server. + +### Curation: +- JFrog Enterprise+ or a Unified Security Bundle +- Xray deployment +- Curation configuration on the used remote repositories -## Usage - +> This is a Bun module created from the [bun-module](https://github.com/zenobi-us/bun-module) template ## Installation +Add the opencode-jfrog-plugin into your opencode config. +Preferably set the plugin globally for all their developers using the Opencode remote configuration, visit [opencode remote configuration](https://opencode.ai/docs/config/#remote) for more details. + +The plugin configuration looks like this: +``` +"plugin": [ + "opencode-jfrog-plugin" + ], +``` + +## How this works +Once opencode starts it runs the plugin. The plugin then: +1. Pulls a few base skills that allow the integration from the developer opencode instance into JFrog (can be found under `/.opencode/skills`) +2. Pulls integration instructions adding LLM hints on how to integrate with JFrog (can be found under `/.jfrog/instructions`) +3. Appends integration instructions into the runtime opencode config + +Once the skills and instructions are set, every relevant task (package management, skills and MCP handling) is integrated into JFrog. +Once the user tries to resolve dependencies, handle packages, install MCP servers, and pull a skill, the system will verify integration prerequisites (JFrog CLI is installed and configured and `/.jfrog/local/package-managers.json` is available) and will perform the task using JFrog capabilities. + +While the skills run, they make sure that JFrog CLI is installed and configured, and that package managers are configured against the JFrog platform. + +## Usage +Developers who get the plugin through their corporate opencode configuration, or add it manually into their device configuration will automatically get the JFrog integration up and are expected to be asked for completion of package management setup when needed. + +This can be handled manually or when a task requires it. +### Manually +Within opencode, type `/skills` and select the `jfrog-setup-package-managers` skill to complete package management and project setup. +### Automatically +Within opencode, when tasks require a JFrog skill, the triggered skill will guide the user through the needed setup. + +### Integration setup artifacts +LLM instructions are automatically created at `/.jfrog/instructions` +Package management mappings are created at `/.jfrog/local/package-managers.json` +Skills are created under `/.opencode/skills` - +## Troubleshooting +The JFrog plugin pulls a minimal set of JFrog integration skills and LLM instructions that allow for the integration. It also adds the instructions file into the opencode project configuration file. +The plugin does not log by default, but allows debug logs for troubleshooting the JFrog setup process. +To enable opencode-jfrog-plugin debug logging, run `export JFROG_DEBUG_LOGS=true` before running opencode. ## Development diff --git a/bun.lock b/bun.lock new file mode 100644 index 0000000..2cdcc31 --- /dev/null +++ b/bun.lock @@ -0,0 +1,588 @@ +{ + "lockfileVersion": 1, + "configVersion": 1, + "workspaces": { + "": { + "name": "opencode-jfrog-plugin", + "dependencies": { + "@opencode-ai/plugin": "^1.4.6", + }, + "devDependencies": { + "@eslint/js": "^9.39.1", + "@types/node": "^20.11.5", + "@typescript-eslint/eslint-plugin": "8.47.0", + "@typescript-eslint/parser": "8.47.0", + "bun-types": "latest", + "eslint": "^9.39.1", + "eslint-config-prettier": "10.1.8", + "eslint-plugin-prettier": "^5.1.3", + "prettier": "^3.2.4", + "typescript-eslint": "^8.47.0", + "vitest": "^3.2.4", + }, + }, + }, + "packages": { + "@esbuild/aix-ppc64": ["@esbuild/aix-ppc64@0.27.7", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@esbuild/aix-ppc64/-/aix-ppc64-0.27.7.tgz", { "os": "aix", "cpu": "ppc64" }, "sha512-EKX3Qwmhz1eMdEJokhALr0YiD0lhQNwDqkPYyPhiSwKrh7/4KRjQc04sZ8db+5DVVnZ1LmbNDI1uAMPEUBnQPg=="], + + "@esbuild/android-arm": ["@esbuild/android-arm@0.27.7", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@esbuild/android-arm/-/android-arm-0.27.7.tgz", { "os": "android", "cpu": "arm" }, "sha512-jbPXvB4Yj2yBV7HUfE2KHe4GJX51QplCN1pGbYjvsyCZbQmies29EoJbkEc+vYuU5o45AfQn37vZlyXy4YJ8RQ=="], + + "@esbuild/android-arm64": ["@esbuild/android-arm64@0.27.7", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@esbuild/android-arm64/-/android-arm64-0.27.7.tgz", { "os": "android", "cpu": "arm64" }, "sha512-62dPZHpIXzvChfvfLJow3q5dDtiNMkwiRzPylSCfriLvZeq0a1bWChrGx/BbUbPwOrsWKMn8idSllklzBy+dgQ=="], + + "@esbuild/android-x64": ["@esbuild/android-x64@0.27.7", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@esbuild/android-x64/-/android-x64-0.27.7.tgz", { "os": "android", "cpu": "x64" }, "sha512-x5VpMODneVDb70PYV2VQOmIUUiBtY3D3mPBG8NxVk5CogneYhkR7MmM3yR/uMdITLrC1ml/NV1rj4bMJuy9MCg=="], + + "@esbuild/darwin-arm64": ["@esbuild/darwin-arm64@0.27.7", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@esbuild/darwin-arm64/-/darwin-arm64-0.27.7.tgz", { "os": "darwin", "cpu": "arm64" }, "sha512-5lckdqeuBPlKUwvoCXIgI2D9/ABmPq3Rdp7IfL70393YgaASt7tbju3Ac+ePVi3KDH6N2RqePfHnXkaDtY9fkw=="], + + "@esbuild/darwin-x64": ["@esbuild/darwin-x64@0.27.7", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@esbuild/darwin-x64/-/darwin-x64-0.27.7.tgz", { "os": "darwin", "cpu": "x64" }, "sha512-rYnXrKcXuT7Z+WL5K980jVFdvVKhCHhUwid+dDYQpH+qu+TefcomiMAJpIiC2EM3Rjtq0sO3StMV/+3w3MyyqQ=="], + + "@esbuild/freebsd-arm64": ["@esbuild/freebsd-arm64@0.27.7", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@esbuild/freebsd-arm64/-/freebsd-arm64-0.27.7.tgz", { "os": "freebsd", "cpu": "arm64" }, "sha512-B48PqeCsEgOtzME2GbNM2roU29AMTuOIN91dsMO30t+Ydis3z/3Ngoj5hhnsOSSwNzS+6JppqWsuhTp6E82l2w=="], + + "@esbuild/freebsd-x64": ["@esbuild/freebsd-x64@0.27.7", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@esbuild/freebsd-x64/-/freebsd-x64-0.27.7.tgz", { "os": "freebsd", "cpu": "x64" }, "sha512-jOBDK5XEjA4m5IJK3bpAQF9/Lelu/Z9ZcdhTRLf4cajlB+8VEhFFRjWgfy3M1O4rO2GQ/b2dLwCUGpiF/eATNQ=="], + + "@esbuild/linux-arm": ["@esbuild/linux-arm@0.27.7", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@esbuild/linux-arm/-/linux-arm-0.27.7.tgz", { "os": "linux", "cpu": "arm" }, "sha512-RkT/YXYBTSULo3+af8Ib0ykH8u2MBh57o7q/DAs3lTJlyVQkgQvlrPTnjIzzRPQyavxtPtfg0EopvDyIt0j1rA=="], + + "@esbuild/linux-arm64": ["@esbuild/linux-arm64@0.27.7", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@esbuild/linux-arm64/-/linux-arm64-0.27.7.tgz", { "os": "linux", "cpu": "arm64" }, "sha512-RZPHBoxXuNnPQO9rvjh5jdkRmVizktkT7TCDkDmQ0W2SwHInKCAV95GRuvdSvA7w4VMwfCjUiPwDi0ZO6Nfe9A=="], + + "@esbuild/linux-ia32": ["@esbuild/linux-ia32@0.27.7", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@esbuild/linux-ia32/-/linux-ia32-0.27.7.tgz", { "os": "linux", "cpu": "ia32" }, "sha512-GA48aKNkyQDbd3KtkplYWT102C5sn/EZTY4XROkxONgruHPU72l+gW+FfF8tf2cFjeHaRbWpOYa/uRBz/Xq1Pg=="], + + "@esbuild/linux-loong64": ["@esbuild/linux-loong64@0.27.7", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@esbuild/linux-loong64/-/linux-loong64-0.27.7.tgz", { "os": "linux", "cpu": "none" }, "sha512-a4POruNM2oWsD4WKvBSEKGIiWQF8fZOAsycHOt6JBpZ+JN2n2JH9WAv56SOyu9X5IqAjqSIPTaJkqN8F7XOQ5Q=="], + + "@esbuild/linux-mips64el": ["@esbuild/linux-mips64el@0.27.7", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@esbuild/linux-mips64el/-/linux-mips64el-0.27.7.tgz", { "os": "linux", "cpu": "none" }, "sha512-KabT5I6StirGfIz0FMgl1I+R1H73Gp0ofL9A3nG3i/cYFJzKHhouBV5VWK1CSgKvVaG4q1RNpCTR2LuTVB3fIw=="], + + "@esbuild/linux-ppc64": ["@esbuild/linux-ppc64@0.27.7", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@esbuild/linux-ppc64/-/linux-ppc64-0.27.7.tgz", { "os": "linux", "cpu": "ppc64" }, "sha512-gRsL4x6wsGHGRqhtI+ifpN/vpOFTQtnbsupUF5R5YTAg+y/lKelYR1hXbnBdzDjGbMYjVJLJTd2OFmMewAgwlQ=="], + + "@esbuild/linux-riscv64": ["@esbuild/linux-riscv64@0.27.7", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@esbuild/linux-riscv64/-/linux-riscv64-0.27.7.tgz", { "os": "linux", "cpu": "none" }, "sha512-hL25LbxO1QOngGzu2U5xeXtxXcW+/GvMN3ejANqXkxZ/opySAZMrc+9LY/WyjAan41unrR3YrmtTsUpwT66InQ=="], + + "@esbuild/linux-s390x": ["@esbuild/linux-s390x@0.27.7", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@esbuild/linux-s390x/-/linux-s390x-0.27.7.tgz", { "os": "linux", "cpu": "s390x" }, "sha512-2k8go8Ycu1Kb46vEelhu1vqEP+UeRVj2zY1pSuPdgvbd5ykAw82Lrro28vXUrRmzEsUV0NzCf54yARIK8r0fdw=="], + + "@esbuild/linux-x64": ["@esbuild/linux-x64@0.27.7", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@esbuild/linux-x64/-/linux-x64-0.27.7.tgz", { "os": "linux", "cpu": "x64" }, "sha512-hzznmADPt+OmsYzw1EE33ccA+HPdIqiCRq7cQeL1Jlq2gb1+OyWBkMCrYGBJ+sxVzve2ZJEVeePbLM2iEIZSxA=="], + + "@esbuild/netbsd-arm64": ["@esbuild/netbsd-arm64@0.27.7", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@esbuild/netbsd-arm64/-/netbsd-arm64-0.27.7.tgz", { "os": "none", "cpu": "arm64" }, "sha512-b6pqtrQdigZBwZxAn1UpazEisvwaIDvdbMbmrly7cDTMFnw/+3lVxxCTGOrkPVnsYIosJJXAsILG9XcQS+Yu6w=="], + + "@esbuild/netbsd-x64": ["@esbuild/netbsd-x64@0.27.7", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@esbuild/netbsd-x64/-/netbsd-x64-0.27.7.tgz", { "os": "none", "cpu": "x64" }, "sha512-OfatkLojr6U+WN5EDYuoQhtM+1xco+/6FSzJJnuWiUw5eVcicbyK3dq5EeV/QHT1uy6GoDhGbFpprUiHUYggrw=="], + + "@esbuild/openbsd-arm64": ["@esbuild/openbsd-arm64@0.27.7", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@esbuild/openbsd-arm64/-/openbsd-arm64-0.27.7.tgz", { "os": "openbsd", "cpu": "arm64" }, "sha512-AFuojMQTxAz75Fo8idVcqoQWEHIXFRbOc1TrVcFSgCZtQfSdc1RXgB3tjOn/krRHENUB4j00bfGjyl2mJrU37A=="], + + "@esbuild/openbsd-x64": ["@esbuild/openbsd-x64@0.27.7", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@esbuild/openbsd-x64/-/openbsd-x64-0.27.7.tgz", { "os": "openbsd", "cpu": "x64" }, "sha512-+A1NJmfM8WNDv5CLVQYJ5PshuRm/4cI6WMZRg1by1GwPIQPCTs1GLEUHwiiQGT5zDdyLiRM/l1G0Pv54gvtKIg=="], + + "@esbuild/openharmony-arm64": ["@esbuild/openharmony-arm64@0.27.7", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@esbuild/openharmony-arm64/-/openharmony-arm64-0.27.7.tgz", { "os": "none", "cpu": "arm64" }, "sha512-+KrvYb/C8zA9CU/g0sR6w2RBw7IGc5J2BPnc3dYc5VJxHCSF1yNMxTV5LQ7GuKteQXZtspjFbiuW5/dOj7H4Yw=="], + + "@esbuild/sunos-x64": ["@esbuild/sunos-x64@0.27.7", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@esbuild/sunos-x64/-/sunos-x64-0.27.7.tgz", { "os": "sunos", "cpu": "x64" }, "sha512-ikktIhFBzQNt/QDyOL580ti9+5mL/YZeUPKU2ivGtGjdTYoqz6jObj6nOMfhASpS4GU4Q/Clh1QtxWAvcYKamA=="], + + "@esbuild/win32-arm64": ["@esbuild/win32-arm64@0.27.7", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@esbuild/win32-arm64/-/win32-arm64-0.27.7.tgz", { "os": "win32", "cpu": "arm64" }, "sha512-7yRhbHvPqSpRUV7Q20VuDwbjW5kIMwTHpptuUzV+AA46kiPze5Z7qgt6CLCK3pWFrHeNfDd1VKgyP4O+ng17CA=="], + + "@esbuild/win32-ia32": ["@esbuild/win32-ia32@0.27.7", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@esbuild/win32-ia32/-/win32-ia32-0.27.7.tgz", { "os": "win32", "cpu": "ia32" }, "sha512-SmwKXe6VHIyZYbBLJrhOoCJRB/Z1tckzmgTLfFYOfpMAx63BJEaL9ExI8x7v0oAO3Zh6D/Oi1gVxEYr5oUCFhw=="], + + "@esbuild/win32-x64": ["@esbuild/win32-x64@0.27.7", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@esbuild/win32-x64/-/win32-x64-0.27.7.tgz", { "os": "win32", "cpu": "x64" }, "sha512-56hiAJPhwQ1R4i+21FVF7V8kSD5zZTdHcVuRFMW0hn753vVfQN8xlx4uOPT4xoGH0Z/oVATuR82AiqSTDIpaHg=="], + + "@eslint-community/eslint-utils": ["@eslint-community/eslint-utils@4.9.1", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@eslint-community/eslint-utils/-/eslint-utils-4.9.1.tgz", { "dependencies": { "eslint-visitor-keys": "^3.4.3" }, "peerDependencies": { "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" } }, "sha512-phrYmNiYppR7znFEdqgfWHXR6NCkZEK7hwWDHZUjit/2/U0r6XvkDl0SYnoM51Hq7FhCGdLDT6zxCCOY1hexsQ=="], + + "@eslint-community/regexpp": ["@eslint-community/regexpp@4.12.2", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@eslint-community/regexpp/-/regexpp-4.12.2.tgz", {}, "sha512-EriSTlt5OC9/7SXkRSCAhfSxxoSUgBm33OH+IkwbdpgoqsSsUg7y3uh+IICI/Qg4BBWr3U2i39RpmycbxMq4ew=="], + + "@eslint/config-array": ["@eslint/config-array@0.21.2", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@eslint/config-array/-/config-array-0.21.2.tgz", { "dependencies": { "@eslint/object-schema": "^2.1.7", "debug": "^4.3.1", "minimatch": "^3.1.5" } }, "sha512-nJl2KGTlrf9GjLimgIru+V/mzgSK0ABCDQRvxw5BjURL7WfH5uoWmizbH7QB6MmnMBd8cIC9uceWnezL1VZWWw=="], + + "@eslint/config-helpers": ["@eslint/config-helpers@0.4.2", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@eslint/config-helpers/-/config-helpers-0.4.2.tgz", { "dependencies": { "@eslint/core": "^0.17.0" } }, "sha512-gBrxN88gOIf3R7ja5K9slwNayVcZgK6SOUORm2uBzTeIEfeVaIhOpCtTox3P6R7o2jLFwLFTLnC7kU/RGcYEgw=="], + + "@eslint/core": ["@eslint/core@0.17.0", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@eslint/core/-/core-0.17.0.tgz", { "dependencies": { "@types/json-schema": "^7.0.15" } }, "sha512-yL/sLrpmtDaFEiUj1osRP4TI2MDz1AddJL+jZ7KSqvBuliN4xqYY54IfdN8qD8Toa6g1iloph1fxQNkjOxrrpQ=="], + + "@eslint/eslintrc": ["@eslint/eslintrc@3.3.5", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@eslint/eslintrc/-/eslintrc-3.3.5.tgz", { "dependencies": { "ajv": "^6.14.0", "debug": "^4.3.2", "espree": "^10.0.1", "globals": "^14.0.0", "ignore": "^5.2.0", "import-fresh": "^3.2.1", "js-yaml": "^4.1.1", "minimatch": "^3.1.5", "strip-json-comments": "^3.1.1" } }, "sha512-4IlJx0X0qftVsN5E+/vGujTRIFtwuLbNsVUe7TO6zYPDR1O6nFwvwhIKEKSrl6dZchmYBITazxKoUYOjdtjlRg=="], + + "@eslint/js": ["@eslint/js@9.39.4", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@eslint/js/-/js-9.39.4.tgz", {}, "sha512-nE7DEIchvtiFTwBw4Lfbu59PG+kCofhjsKaCWzxTpt4lfRjRMqG6uMBzKXuEcyXhOHoUp9riAm7/aWYGhXZ9cw=="], + + "@eslint/object-schema": ["@eslint/object-schema@2.1.7", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@eslint/object-schema/-/object-schema-2.1.7.tgz", {}, "sha512-VtAOaymWVfZcmZbp6E2mympDIHvyjXs/12LqWYjVw6qjrfF+VK+fyG33kChz3nnK+SU5/NeHOqrTEHS8sXO3OA=="], + + "@eslint/plugin-kit": ["@eslint/plugin-kit@0.4.1", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@eslint/plugin-kit/-/plugin-kit-0.4.1.tgz", { "dependencies": { "@eslint/core": "^0.17.0", "levn": "^0.4.1" } }, "sha512-43/qtrDUokr7LJqoF2c3+RInu/t4zfrpYdoSDfYyhg52rwLV6TnOvdG4fXm7IkSB3wErkcmJS9iEhjVtOSEjjA=="], + + "@humanfs/core": ["@humanfs/core@0.19.2", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@humanfs/core/-/core-0.19.2.tgz", { "dependencies": { "@humanfs/types": "^0.15.0" } }, "sha512-UhXNm+CFMWcbChXywFwkmhqjs3PRCmcSa/hfBgLIb7oQ5HNb1wS0icWsGtSAUNgefHeI+eBrA8I1fxmbHsGdvA=="], + + "@humanfs/node": ["@humanfs/node@0.16.8", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@humanfs/node/-/node-0.16.8.tgz", { "dependencies": { "@humanfs/core": "^0.19.2", "@humanfs/types": "^0.15.0", "@humanwhocodes/retry": "^0.4.0" } }, "sha512-gE1eQNZ3R++kTzFUpdGlpmy8kDZD/MLyHqDwqjkVQI0JMdI1D51sy1H958PNXYkM2rAac7e5/CnIKZrHtPh3BQ=="], + + "@humanfs/types": ["@humanfs/types@0.15.0", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@humanfs/types/-/types-0.15.0.tgz", {}, "sha512-ZZ1w0aoQkwuUuC7Yf+7sdeaNfqQiiLcSRbfI08oAxqLtpXQr9AIVX7Ay7HLDuiLYAaFPu8oBYNq/QIi9URHJ3Q=="], + + "@humanwhocodes/module-importer": ["@humanwhocodes/module-importer@1.0.1", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", {}, "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA=="], + + "@humanwhocodes/retry": ["@humanwhocodes/retry@0.4.3", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@humanwhocodes/retry/-/retry-0.4.3.tgz", {}, "sha512-bV0Tgo9K4hfPCek+aMAn81RppFKv2ySDQeMoSZuvTASywNTnVJCArCZE2FWqpvIatKu7VMRLWlR1EazvVhDyhQ=="], + + "@jridgewell/sourcemap-codec": ["@jridgewell/sourcemap-codec@1.5.5", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz", {}, "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og=="], + + "@msgpackr-extract/msgpackr-extract-darwin-arm64": ["@msgpackr-extract/msgpackr-extract-darwin-arm64@3.0.3", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@msgpackr-extract/msgpackr-extract-darwin-arm64/-/msgpackr-extract-darwin-arm64-3.0.3.tgz", { "os": "darwin", "cpu": "arm64" }, "sha512-QZHtlVgbAdy2zAqNA9Gu1UpIuI8Xvsd1v8ic6B2pZmeFnFcMWiPLfWXh7TVw4eGEZ/C9TH281KwhVoeQUKbyjw=="], + + "@msgpackr-extract/msgpackr-extract-darwin-x64": ["@msgpackr-extract/msgpackr-extract-darwin-x64@3.0.3", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@msgpackr-extract/msgpackr-extract-darwin-x64/-/msgpackr-extract-darwin-x64-3.0.3.tgz", { "os": "darwin", "cpu": "x64" }, "sha512-mdzd3AVzYKuUmiWOQ8GNhl64/IoFGol569zNRdkLReh6LRLHOXxU4U8eq0JwaD8iFHdVGqSy4IjFL4reoWCDFw=="], + + "@msgpackr-extract/msgpackr-extract-linux-arm": ["@msgpackr-extract/msgpackr-extract-linux-arm@3.0.3", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@msgpackr-extract/msgpackr-extract-linux-arm/-/msgpackr-extract-linux-arm-3.0.3.tgz", { "os": "linux", "cpu": "arm" }, "sha512-fg0uy/dG/nZEXfYilKoRe7yALaNmHoYeIoJuJ7KJ+YyU2bvY8vPv27f7UKhGRpY6euFYqEVhxCFZgAUNQBM3nw=="], + + "@msgpackr-extract/msgpackr-extract-linux-arm64": ["@msgpackr-extract/msgpackr-extract-linux-arm64@3.0.3", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@msgpackr-extract/msgpackr-extract-linux-arm64/-/msgpackr-extract-linux-arm64-3.0.3.tgz", { "os": "linux", "cpu": "arm64" }, "sha512-YxQL+ax0XqBJDZiKimS2XQaf+2wDGVa1enVRGzEvLLVFeqa5kx2bWbtcSXgsxjQB7nRqqIGFIcLteF/sHeVtQg=="], + + "@msgpackr-extract/msgpackr-extract-linux-x64": ["@msgpackr-extract/msgpackr-extract-linux-x64@3.0.3", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@msgpackr-extract/msgpackr-extract-linux-x64/-/msgpackr-extract-linux-x64-3.0.3.tgz", { "os": "linux", "cpu": "x64" }, "sha512-cvwNfbP07pKUfq1uH+S6KJ7dT9K8WOE4ZiAcsrSes+UY55E/0jLYc+vq+DO7jlmqRb5zAggExKm0H7O/CBaesg=="], + + "@msgpackr-extract/msgpackr-extract-win32-x64": ["@msgpackr-extract/msgpackr-extract-win32-x64@3.0.3", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@msgpackr-extract/msgpackr-extract-win32-x64/-/msgpackr-extract-win32-x64-3.0.3.tgz", { "os": "win32", "cpu": "x64" }, "sha512-x0fWaQtYp4E6sktbsdAqnehxDgEc/VwM7uLsRCYWaiGu0ykYdZPiS8zCWdnjHwyiumousxfBm4SO31eXqwEZhQ=="], + + "@nodelib/fs.scandir": ["@nodelib/fs.scandir@2.1.5", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", { "dependencies": { "@nodelib/fs.stat": "2.0.5", "run-parallel": "^1.1.9" } }, "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g=="], + + "@nodelib/fs.stat": ["@nodelib/fs.stat@2.0.5", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", {}, "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A=="], + + "@nodelib/fs.walk": ["@nodelib/fs.walk@1.2.8", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", { "dependencies": { "@nodelib/fs.scandir": "2.1.5", "fastq": "^1.6.0" } }, "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg=="], + + "@opencode-ai/plugin": ["@opencode-ai/plugin@1.14.28", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@opencode-ai/plugin/-/plugin-1.14.28.tgz", { "dependencies": { "@opencode-ai/sdk": "1.14.28", "effect": "4.0.0-beta.48", "zod": "4.1.8" }, "peerDependencies": { "@opentui/core": ">=0.1.105", "@opentui/solid": ">=0.1.105" }, "optionalPeers": ["@opentui/core", "@opentui/solid"] }, "sha512-cHJo7t1jwrzbkIVmNgggdWh4cyOVGw5fnbSpuYeL6qwfmH3g/6YLWtw5ZYEP6detUkEebT08mHXDGmsMUpQa+A=="], + + "@opencode-ai/sdk": ["@opencode-ai/sdk@1.14.28", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@opencode-ai/sdk/-/sdk-1.14.28.tgz", { "dependencies": { "cross-spawn": "7.0.6" } }, "sha512-qRFJfD+Zdz3jHHSupW4F6Io1ZFrQ6gCRFlG50O6kEU9xRxrBpK0wGvP+Y5VwwvD/gH9WKMHYinlQpDVI9/lgJQ=="], + + "@pkgr/core": ["@pkgr/core@0.2.9", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@pkgr/core/-/core-0.2.9.tgz", {}, "sha512-QNqXyfVS2wm9hweSYD2O7F0G06uurj9kZ96TRQE5Y9hU7+tgdZwIkbAKc5Ocy1HxEY2kuDQa6cQ1WRs/O5LFKA=="], + + "@rollup/rollup-android-arm-eabi": ["@rollup/rollup-android-arm-eabi@4.60.2", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.60.2.tgz", { "os": "android", "cpu": "arm" }, "sha512-dnlp69efPPg6Uaw2dVqzWRfAWRnYVb1XJ8CyyhIbZeaq4CA5/mLeZ1IEt9QqQxmbdvagjLIm2ZL8BxXv5lH4Yw=="], + + "@rollup/rollup-android-arm64": ["@rollup/rollup-android-arm64@4.60.2", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.60.2.tgz", { "os": "android", "cpu": "arm64" }, "sha512-OqZTwDRDchGRHHm/hwLOL7uVPB9aUvI0am/eQuWMNyFHf5PSEQmyEeYYheA0EPPKUO/l0uigCp+iaTjoLjVoHg=="], + + "@rollup/rollup-darwin-arm64": ["@rollup/rollup-darwin-arm64@4.60.2", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.60.2.tgz", { "os": "darwin", "cpu": "arm64" }, "sha512-UwRE7CGpvSVEQS8gUMBe1uADWjNnVgP3Iusyda1nSRwNDCsRjnGc7w6El6WLQsXmZTbLZx9cecegumcitNfpmA=="], + + "@rollup/rollup-darwin-x64": ["@rollup/rollup-darwin-x64@4.60.2", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.60.2.tgz", { "os": "darwin", "cpu": "x64" }, "sha512-gjEtURKLCC5VXm1I+2i1u9OhxFsKAQJKTVB8WvDAHF+oZlq0GTVFOlTlO1q3AlCTE/DF32c16ESvfgqR7343/g=="], + + "@rollup/rollup-freebsd-arm64": ["@rollup/rollup-freebsd-arm64@4.60.2", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.60.2.tgz", { "os": "freebsd", "cpu": "arm64" }, "sha512-Bcl6CYDeAgE70cqZaMojOi/eK63h5Me97ZqAQoh77VPjMysA/4ORQBRGo3rRy45x4MzVlU9uZxs8Uwy7ZaKnBw=="], + + "@rollup/rollup-freebsd-x64": ["@rollup/rollup-freebsd-x64@4.60.2", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.60.2.tgz", { "os": "freebsd", "cpu": "x64" }, "sha512-LU+TPda3mAE2QB0/Hp5VyeKJivpC6+tlOXd1VMoXV/YFMvk/MNk5iXeBfB4MQGRWyOYVJ01625vjkr0Az98OJQ=="], + + "@rollup/rollup-linux-arm-gnueabihf": ["@rollup/rollup-linux-arm-gnueabihf@4.60.2", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.60.2.tgz", { "os": "linux", "cpu": "arm" }, "sha512-2QxQrM+KQ7DAW4o22j+XZ6RKdxjLD7BOWTP0Bv0tmjdyhXSsr2Ul1oJDQqh9Zf5qOwTuTc7Ek83mOFaKnodPjg=="], + + "@rollup/rollup-linux-arm-musleabihf": ["@rollup/rollup-linux-arm-musleabihf@4.60.2", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.60.2.tgz", { "os": "linux", "cpu": "arm" }, "sha512-TbziEu2DVsTEOPif2mKWkMeDMLoYjx95oESa9fkQQK7r/Orta0gnkcDpzwufEcAO2BLBsD7mZkXGFqEdMRRwfw=="], + + "@rollup/rollup-linux-arm64-gnu": ["@rollup/rollup-linux-arm64-gnu@4.60.2", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.60.2.tgz", { "os": "linux", "cpu": "arm64" }, "sha512-bO/rVDiDUuM2YfuCUwZ1t1cP+/yqjqz+Xf2VtkdppefuOFS2OSeAfgafaHNkFn0t02hEyXngZkxtGqXcXwO8Rg=="], + + "@rollup/rollup-linux-arm64-musl": ["@rollup/rollup-linux-arm64-musl@4.60.2", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.60.2.tgz", { "os": "linux", "cpu": "arm64" }, "sha512-hr26p7e93Rl0Za+JwW7EAnwAvKkehh12BU1Llm9Ykiibg4uIr2rbpxG9WCf56GuvidlTG9KiiQT/TXT1yAWxTA=="], + + "@rollup/rollup-linux-loong64-gnu": ["@rollup/rollup-linux-loong64-gnu@4.60.2", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@rollup/rollup-linux-loong64-gnu/-/rollup-linux-loong64-gnu-4.60.2.tgz", { "os": "linux", "cpu": "none" }, "sha512-pOjB/uSIyDt+ow3k/RcLvUAOGpysT2phDn7TTUB3n75SlIgZzM6NKAqlErPhoFU+npgY3/n+2HYIQVbF70P9/A=="], + + "@rollup/rollup-linux-loong64-musl": ["@rollup/rollup-linux-loong64-musl@4.60.2", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@rollup/rollup-linux-loong64-musl/-/rollup-linux-loong64-musl-4.60.2.tgz", { "os": "linux", "cpu": "none" }, "sha512-2/w+q8jszv9Ww1c+6uJT3OwqhdmGP2/4T17cu8WuwyUuuaCDDJ2ojdyYwZzCxx0GcsZBhzi3HmH+J5pZNXnd+Q=="], + + "@rollup/rollup-linux-ppc64-gnu": ["@rollup/rollup-linux-ppc64-gnu@4.60.2", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.60.2.tgz", { "os": "linux", "cpu": "ppc64" }, "sha512-11+aL5vKheYgczxtPVVRhdptAM2H7fcDR5Gw4/bTcteuZBlH4oP9f5s9zYO9aGZvoGeBpqXI/9TZZihZ609wKw=="], + + "@rollup/rollup-linux-ppc64-musl": ["@rollup/rollup-linux-ppc64-musl@4.60.2", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@rollup/rollup-linux-ppc64-musl/-/rollup-linux-ppc64-musl-4.60.2.tgz", { "os": "linux", "cpu": "ppc64" }, "sha512-i16fokAGK46IVZuV8LIIwMdtqhin9hfYkCh8pf8iC3QU3LpwL+1FSFGej+O7l3E/AoknL6Dclh2oTdnRMpTzFQ=="], + + "@rollup/rollup-linux-riscv64-gnu": ["@rollup/rollup-linux-riscv64-gnu@4.60.2", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.60.2.tgz", { "os": "linux", "cpu": "none" }, "sha512-49FkKS6RGQoriDSK/6E2GkAsAuU5kETFCh7pG4yD/ylj9rKhTmO3elsnmBvRD4PgJPds5W2PkhC82aVwmUcJ7A=="], + + "@rollup/rollup-linux-riscv64-musl": ["@rollup/rollup-linux-riscv64-musl@4.60.2", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.60.2.tgz", { "os": "linux", "cpu": "none" }, "sha512-mjYNkHPfGpUR00DuM1ZZIgs64Hpf4bWcz9Z41+4Q+pgDx73UwWdAYyf6EG/lRFldmdHHzgrYyge5akFUW0D3mQ=="], + + "@rollup/rollup-linux-s390x-gnu": ["@rollup/rollup-linux-s390x-gnu@4.60.2", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.60.2.tgz", { "os": "linux", "cpu": "s390x" }, "sha512-ALyvJz965BQk8E9Al/JDKKDLH2kfKFLTGMlgkAbbYtZuJt9LU8DW3ZoDMCtQpXAltZxwBHevXz5u+gf0yA0YoA=="], + + "@rollup/rollup-linux-x64-gnu": ["@rollup/rollup-linux-x64-gnu@4.60.2", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.60.2.tgz", { "os": "linux", "cpu": "x64" }, "sha512-UQjrkIdWrKI626Du8lCQ6MJp/6V1LAo2bOK9OTu4mSn8GGXIkPXk/Vsp4bLHCd9Z9Iz2OTEaokUE90VweJgIYQ=="], + + "@rollup/rollup-linux-x64-musl": ["@rollup/rollup-linux-x64-musl@4.60.2", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.60.2.tgz", { "os": "linux", "cpu": "x64" }, "sha512-bTsRGj6VlSdn/XD4CGyzMnzaBs9bsRxy79eTqTCBsA8TMIEky7qg48aPkvJvFe1HyzQ5oMZdg7AnVlWQSKLTnw=="], + + "@rollup/rollup-openbsd-x64": ["@rollup/rollup-openbsd-x64@4.60.2", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@rollup/rollup-openbsd-x64/-/rollup-openbsd-x64-4.60.2.tgz", { "os": "openbsd", "cpu": "x64" }, "sha512-6d4Z3534xitaA1FcMWP7mQPq5zGwBmGbhphh2DwaA1aNIXUu3KTOfwrWpbwI4/Gr0uANo7NTtaykFyO2hPuFLg=="], + + "@rollup/rollup-openharmony-arm64": ["@rollup/rollup-openharmony-arm64@4.60.2", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.60.2.tgz", { "os": "none", "cpu": "arm64" }, "sha512-NetAg5iO2uN7eB8zE5qrZ3CSil+7IJt4WDFLcC75Ymywq1VZVD6qJ6EvNLjZ3rEm6gB7XW5JdT60c6MN35Z85Q=="], + + "@rollup/rollup-win32-arm64-msvc": ["@rollup/rollup-win32-arm64-msvc@4.60.2", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.60.2.tgz", { "os": "win32", "cpu": "arm64" }, "sha512-NCYhOotpgWZ5kdxCZsv6Iudx0wX8980Q/oW4pNFNihpBKsDbEA1zpkfxJGC0yugsUuyDZ7gL37dbzwhR0VI7pQ=="], + + "@rollup/rollup-win32-ia32-msvc": ["@rollup/rollup-win32-ia32-msvc@4.60.2", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.60.2.tgz", { "os": "win32", "cpu": "ia32" }, "sha512-RXsaOqXxfoUBQoOgvmmijVxJnW2IGB0eoMO7F8FAjaj0UTywUO/luSqimWBJn04WNgUkeNhh7fs7pESXajWmkg=="], + + "@rollup/rollup-win32-x64-gnu": ["@rollup/rollup-win32-x64-gnu@4.60.2", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@rollup/rollup-win32-x64-gnu/-/rollup-win32-x64-gnu-4.60.2.tgz", { "os": "win32", "cpu": "x64" }, "sha512-qdAzEULD+/hzObedtmV6iBpdL5TIbKVztGiK7O3/KYSf+HIzU257+MX1EXJcyIiDbMAqmbwaufcYPvyRryeZtA=="], + + "@rollup/rollup-win32-x64-msvc": ["@rollup/rollup-win32-x64-msvc@4.60.2", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.60.2.tgz", { "os": "win32", "cpu": "x64" }, "sha512-Nd/SgG27WoA9e+/TdK74KnHz852TLa94ovOYySo/yMPuTmpckK/jIF2jSwS3g7ELSKXK13/cVdmg1Z/DaCWKxA=="], + + "@standard-schema/spec": ["@standard-schema/spec@1.1.0", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@standard-schema/spec/-/spec-1.1.0.tgz", {}, "sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w=="], + + "@types/chai": ["@types/chai@5.2.3", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@types/chai/-/chai-5.2.3.tgz", { "dependencies": { "@types/deep-eql": "*", "assertion-error": "^2.0.1" } }, "sha512-Mw558oeA9fFbv65/y4mHtXDs9bPnFMZAL/jxdPFUpOHHIXX91mcgEHbS5Lahr+pwZFR8A7GQleRWeI6cGFC2UA=="], + + "@types/deep-eql": ["@types/deep-eql@4.0.2", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@types/deep-eql/-/deep-eql-4.0.2.tgz", {}, "sha512-c9h9dVVMigMPc4bwTvC5dxqtqJZwQPePsWjPlpSOnojbor6pGqdk541lfA7AqFQr5pB1BRdq0juY9db81BwyFw=="], + + "@types/estree": ["@types/estree@1.0.8", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@types/estree/-/estree-1.0.8.tgz", {}, "sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w=="], + + "@types/json-schema": ["@types/json-schema@7.0.15", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@types/json-schema/-/json-schema-7.0.15.tgz", {}, "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA=="], + + "@types/node": ["@types/node@20.19.39", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@types/node/-/node-20.19.39.tgz", { "dependencies": { "undici-types": "~6.21.0" } }, "sha512-orrrD74MBUyK8jOAD/r0+lfa1I2MO6I+vAkmAWzMYbCcgrN4lCrmK52gRFQq/JRxfYPfonkr4b0jcY7Olqdqbw=="], + + "@typescript-eslint/eslint-plugin": ["@typescript-eslint/eslint-plugin@8.47.0", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.47.0.tgz", { "dependencies": { "@eslint-community/regexpp": "^4.10.0", "@typescript-eslint/scope-manager": "8.47.0", "@typescript-eslint/type-utils": "8.47.0", "@typescript-eslint/utils": "8.47.0", "@typescript-eslint/visitor-keys": "8.47.0", "graphemer": "^1.4.0", "ignore": "^7.0.0", "natural-compare": "^1.4.0", "ts-api-utils": "^2.1.0" }, "peerDependencies": { "@typescript-eslint/parser": "^8.47.0", "eslint": "^8.57.0 || ^9.0.0", "typescript": ">=4.8.4 <6.0.0" } }, "sha512-fe0rz9WJQ5t2iaLfdbDc9T80GJy0AeO453q8C3YCilnGozvOyCG5t+EZtg7j7D88+c3FipfP/x+wzGnh1xp8ZA=="], + + "@typescript-eslint/parser": ["@typescript-eslint/parser@8.47.0", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@typescript-eslint/parser/-/parser-8.47.0.tgz", { "dependencies": { "@typescript-eslint/scope-manager": "8.47.0", "@typescript-eslint/types": "8.47.0", "@typescript-eslint/typescript-estree": "8.47.0", "@typescript-eslint/visitor-keys": "8.47.0", "debug": "^4.3.4" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0", "typescript": ">=4.8.4 <6.0.0" } }, "sha512-lJi3PfxVmo0AkEY93ecfN+r8SofEqZNGByvHAI3GBLrvt1Cw6H5k1IM02nSzu0RfUafr2EvFSw0wAsZgubNplQ=="], + + "@typescript-eslint/project-service": ["@typescript-eslint/project-service@8.47.0", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@typescript-eslint/project-service/-/project-service-8.47.0.tgz", { "dependencies": { "@typescript-eslint/tsconfig-utils": "^8.47.0", "@typescript-eslint/types": "^8.47.0", "debug": "^4.3.4" }, "peerDependencies": { "typescript": ">=4.8.4 <6.0.0" } }, "sha512-2X4BX8hUeB5JcA1TQJ7GjcgulXQ+5UkNb0DL8gHsHUHdFoiCTJoYLTpib3LtSDPZsRET5ygN4qqIWrHyYIKERA=="], + + "@typescript-eslint/scope-manager": ["@typescript-eslint/scope-manager@8.47.0", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@typescript-eslint/scope-manager/-/scope-manager-8.47.0.tgz", { "dependencies": { "@typescript-eslint/types": "8.47.0", "@typescript-eslint/visitor-keys": "8.47.0" } }, "sha512-a0TTJk4HXMkfpFkL9/WaGTNuv7JWfFTQFJd6zS9dVAjKsojmv9HT55xzbEpnZoY+VUb+YXLMp+ihMLz/UlZfDg=="], + + "@typescript-eslint/tsconfig-utils": ["@typescript-eslint/tsconfig-utils@8.47.0", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.47.0.tgz", { "peerDependencies": { "typescript": ">=4.8.4 <6.0.0" } }, "sha512-ybUAvjy4ZCL11uryalkKxuT3w3sXJAuWhOoGS3T/Wu+iUu1tGJmk5ytSY8gbdACNARmcYEB0COksD2j6hfGK2g=="], + + "@typescript-eslint/type-utils": ["@typescript-eslint/type-utils@8.47.0", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@typescript-eslint/type-utils/-/type-utils-8.47.0.tgz", { "dependencies": { "@typescript-eslint/types": "8.47.0", "@typescript-eslint/typescript-estree": "8.47.0", "@typescript-eslint/utils": "8.47.0", "debug": "^4.3.4", "ts-api-utils": "^2.1.0" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0", "typescript": ">=4.8.4 <6.0.0" } }, "sha512-QC9RiCmZ2HmIdCEvhd1aJELBlD93ErziOXXlHEZyuBo3tBiAZieya0HLIxp+DoDWlsQqDawyKuNEhORyku+P8A=="], + + "@typescript-eslint/types": ["@typescript-eslint/types@8.47.0", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@typescript-eslint/types/-/types-8.47.0.tgz", {}, "sha512-nHAE6bMKsizhA2uuYZbEbmp5z2UpffNrPEqiKIeN7VsV6UY/roxanWfoRrf6x/k9+Obf+GQdkm0nPU+vnMXo9A=="], + + "@typescript-eslint/typescript-estree": ["@typescript-eslint/typescript-estree@8.47.0", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@typescript-eslint/typescript-estree/-/typescript-estree-8.47.0.tgz", { "dependencies": { "@typescript-eslint/project-service": "8.47.0", "@typescript-eslint/tsconfig-utils": "8.47.0", "@typescript-eslint/types": "8.47.0", "@typescript-eslint/visitor-keys": "8.47.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", "minimatch": "^9.0.4", "semver": "^7.6.0", "ts-api-utils": "^2.1.0" }, "peerDependencies": { "typescript": ">=4.8.4 <6.0.0" } }, "sha512-k6ti9UepJf5NpzCjH31hQNLHQWupTRPhZ+KFF8WtTuTpy7uHPfeg2NM7cP27aCGajoEplxJDFVCEm9TGPYyiVg=="], + + "@typescript-eslint/utils": ["@typescript-eslint/utils@8.47.0", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@typescript-eslint/utils/-/utils-8.47.0.tgz", { "dependencies": { "@eslint-community/eslint-utils": "^4.7.0", "@typescript-eslint/scope-manager": "8.47.0", "@typescript-eslint/types": "8.47.0", "@typescript-eslint/typescript-estree": "8.47.0" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0", "typescript": ">=4.8.4 <6.0.0" } }, "sha512-g7XrNf25iL4TJOiPqatNuaChyqt49a/onq5YsJ9+hXeugK+41LVg7AxikMfM02PC6jbNtZLCJj6AUcQXJS/jGQ=="], + + "@typescript-eslint/visitor-keys": ["@typescript-eslint/visitor-keys@8.47.0", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@typescript-eslint/visitor-keys/-/visitor-keys-8.47.0.tgz", { "dependencies": { "@typescript-eslint/types": "8.47.0", "eslint-visitor-keys": "^4.2.1" } }, "sha512-SIV3/6eftCy1bNzCQoPmbWsRLujS8t5iDIZ4spZOBHqrM+yfX2ogg8Tt3PDTAVKw3sSCiUgg30uOAvK2r9zGjQ=="], + + "@vitest/expect": ["@vitest/expect@3.2.4", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@vitest/expect/-/expect-3.2.4.tgz", { "dependencies": { "@types/chai": "^5.2.2", "@vitest/spy": "3.2.4", "@vitest/utils": "3.2.4", "chai": "^5.2.0", "tinyrainbow": "^2.0.0" } }, "sha512-Io0yyORnB6sikFlt8QW5K7slY4OjqNX9jmJQ02QDda8lyM6B5oNgVWoSoKPac8/kgnCUzuHQKrSLtu/uOqqrig=="], + + "@vitest/mocker": ["@vitest/mocker@3.2.4", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@vitest/mocker/-/mocker-3.2.4.tgz", { "dependencies": { "@vitest/spy": "3.2.4", "estree-walker": "^3.0.3", "magic-string": "^0.30.17" }, "peerDependencies": { "msw": "^2.4.9", "vite": "^5.0.0 || ^6.0.0 || ^7.0.0-0" }, "optionalPeers": ["msw", "vite"] }, "sha512-46ryTE9RZO/rfDd7pEqFl7etuyzekzEhUbTW3BvmeO/BcCMEgq59BKhek3dXDWgAj4oMK6OZi+vRr1wPW6qjEQ=="], + + "@vitest/pretty-format": ["@vitest/pretty-format@3.2.4", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@vitest/pretty-format/-/pretty-format-3.2.4.tgz", { "dependencies": { "tinyrainbow": "^2.0.0" } }, "sha512-IVNZik8IVRJRTr9fxlitMKeJeXFFFN0JaB9PHPGQ8NKQbGpfjlTx9zO4RefN8gp7eqjNy8nyK3NZmBzOPeIxtA=="], + + "@vitest/runner": ["@vitest/runner@3.2.4", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@vitest/runner/-/runner-3.2.4.tgz", { "dependencies": { "@vitest/utils": "3.2.4", "pathe": "^2.0.3", "strip-literal": "^3.0.0" } }, "sha512-oukfKT9Mk41LreEW09vt45f8wx7DordoWUZMYdY/cyAk7w5TWkTRCNZYF7sX7n2wB7jyGAl74OxgwhPgKaqDMQ=="], + + "@vitest/snapshot": ["@vitest/snapshot@3.2.4", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@vitest/snapshot/-/snapshot-3.2.4.tgz", { "dependencies": { "@vitest/pretty-format": "3.2.4", "magic-string": "^0.30.17", "pathe": "^2.0.3" } }, "sha512-dEYtS7qQP2CjU27QBC5oUOxLE/v5eLkGqPE0ZKEIDGMs4vKWe7IjgLOeauHsR0D5YuuycGRO5oSRXnwnmA78fQ=="], + + "@vitest/spy": ["@vitest/spy@3.2.4", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@vitest/spy/-/spy-3.2.4.tgz", { "dependencies": { "tinyspy": "^4.0.3" } }, "sha512-vAfasCOe6AIK70iP5UD11Ac4siNUNJ9i/9PZ3NKx07sG6sUxeag1LWdNrMWeKKYBLlzuK+Gn65Yd5nyL6ds+nw=="], + + "@vitest/utils": ["@vitest/utils@3.2.4", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@vitest/utils/-/utils-3.2.4.tgz", { "dependencies": { "@vitest/pretty-format": "3.2.4", "loupe": "^3.1.4", "tinyrainbow": "^2.0.0" } }, "sha512-fB2V0JFrQSMsCo9HiSq3Ezpdv4iYaXRG1Sx8edX3MwxfyNn83mKiGzOcH+Fkxt4MHxr3y42fQi1oeAInqgX2QA=="], + + "acorn": ["acorn@8.16.0", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/acorn/-/acorn-8.16.0.tgz", { "bin": { "acorn": "bin/acorn" } }, "sha512-UVJyE9MttOsBQIDKw1skb9nAwQuR5wuGD3+82K6JgJlm/Y+KI92oNsMNGZCYdDsVtRHSak0pcV5Dno5+4jh9sw=="], + + "acorn-jsx": ["acorn-jsx@5.3.2", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/acorn-jsx/-/acorn-jsx-5.3.2.tgz", { "peerDependencies": { "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" } }, "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ=="], + + "ajv": ["ajv@6.15.0", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/ajv/-/ajv-6.15.0.tgz", { "dependencies": { "fast-deep-equal": "^3.1.1", "fast-json-stable-stringify": "^2.0.0", "json-schema-traverse": "^0.4.1", "uri-js": "^4.2.2" } }, "sha512-fgFx7Hfoq60ytK2c7DhnF8jIvzYgOMxfugjLOSMHjLIPgenqa7S7oaagATUq99mV6IYvN2tRmC0wnTYX6iPbMw=="], + + "ansi-styles": ["ansi-styles@4.3.0", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/ansi-styles/-/ansi-styles-4.3.0.tgz", { "dependencies": { "color-convert": "^2.0.1" } }, "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg=="], + + "argparse": ["argparse@2.0.1", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/argparse/-/argparse-2.0.1.tgz", {}, "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q=="], + + "assertion-error": ["assertion-error@2.0.1", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/assertion-error/-/assertion-error-2.0.1.tgz", {}, "sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA=="], + + "balanced-match": ["balanced-match@1.0.2", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/balanced-match/-/balanced-match-1.0.2.tgz", {}, "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw=="], + + "brace-expansion": ["brace-expansion@1.1.14", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/brace-expansion/-/brace-expansion-1.1.14.tgz", { "dependencies": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" } }, "sha512-MWPGfDxnyzKU7rNOW9SP/c50vi3xrmrua/+6hfPbCS2ABNWfx24vPidzvC7krjU/RTo235sV776ymlsMtGKj8g=="], + + "braces": ["braces@3.0.3", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/braces/-/braces-3.0.3.tgz", { "dependencies": { "fill-range": "^7.1.1" } }, "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA=="], + + "bun-types": ["bun-types@1.3.13", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/bun-types/-/bun-types-1.3.13.tgz", { "dependencies": { "@types/node": "*" } }, "sha512-QXKeHLlOLqQX9LgYaHJfzdBaV21T63HhFJnvuRCcjZiaUDpbs5ED1MgxbMra71CsryN/1dAoXuJJJwIv/2drVA=="], + + "cac": ["cac@6.7.14", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/cac/-/cac-6.7.14.tgz", {}, "sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ=="], + + "callsites": ["callsites@3.1.0", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/callsites/-/callsites-3.1.0.tgz", {}, "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ=="], + + "chai": ["chai@5.3.3", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/chai/-/chai-5.3.3.tgz", { "dependencies": { "assertion-error": "^2.0.1", "check-error": "^2.1.1", "deep-eql": "^5.0.1", "loupe": "^3.1.0", "pathval": "^2.0.0" } }, "sha512-4zNhdJD/iOjSH0A05ea+Ke6MU5mmpQcbQsSOkgdaUMJ9zTlDTD/GYlwohmIE2u0gaxHYiVHEn1Fw9mZ/ktJWgw=="], + + "chalk": ["chalk@4.1.2", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/chalk/-/chalk-4.1.2.tgz", { "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" } }, "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA=="], + + "check-error": ["check-error@2.1.3", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/check-error/-/check-error-2.1.3.tgz", {}, "sha512-PAJdDJusoxnwm1VwW07VWwUN1sl7smmC3OKggvndJFadxxDRyFJBX/ggnu/KE4kQAB7a3Dp8f/YXC1FlUprWmA=="], + + "color-convert": ["color-convert@2.0.1", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/color-convert/-/color-convert-2.0.1.tgz", { "dependencies": { "color-name": "~1.1.4" } }, "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ=="], + + "color-name": ["color-name@1.1.4", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/color-name/-/color-name-1.1.4.tgz", {}, "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="], + + "concat-map": ["concat-map@0.0.1", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/concat-map/-/concat-map-0.0.1.tgz", {}, "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg=="], + + "cross-spawn": ["cross-spawn@7.0.6", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/cross-spawn/-/cross-spawn-7.0.6.tgz", { "dependencies": { "path-key": "^3.1.0", "shebang-command": "^2.0.0", "which": "^2.0.1" } }, "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA=="], + + "debug": ["debug@4.4.3", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/debug/-/debug-4.4.3.tgz", { "dependencies": { "ms": "^2.1.3" } }, "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA=="], + + "deep-eql": ["deep-eql@5.0.2", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/deep-eql/-/deep-eql-5.0.2.tgz", {}, "sha512-h5k/5U50IJJFpzfL6nO9jaaumfjO/f2NjK/oYB2Djzm4p9L+3T9qWpZqZ2hAbLPuuYq9wrU08WQyBTL5GbPk5Q=="], + + "deep-is": ["deep-is@0.1.4", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/deep-is/-/deep-is-0.1.4.tgz", {}, "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ=="], + + "detect-libc": ["detect-libc@2.1.2", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/detect-libc/-/detect-libc-2.1.2.tgz", {}, "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ=="], + + "effect": ["effect@4.0.0-beta.48", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/effect/-/effect-4.0.0-beta.48.tgz", { "dependencies": { "@standard-schema/spec": "^1.1.0", "fast-check": "^4.6.0", "find-my-way-ts": "^0.1.6", "ini": "^6.0.0", "kubernetes-types": "^1.30.0", "msgpackr": "^1.11.9", "multipasta": "^0.2.7", "toml": "^4.1.1", "uuid": "^13.0.0", "yaml": "^2.8.3" } }, "sha512-MMAM/ZabuNdNmgXiin+BAanQXK7qM8mlt7nfXDoJ/Gn9V8i89JlCq+2N0AiWmqFLXjGLA0u3FjiOjSOYQk5uMw=="], + + "es-module-lexer": ["es-module-lexer@1.7.0", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/es-module-lexer/-/es-module-lexer-1.7.0.tgz", {}, "sha512-jEQoCwk8hyb2AZziIOLhDqpm5+2ww5uIE6lkO/6jcOCusfk6LhMHpXXfBLXTZ7Ydyt0j4VoUQv6uGNYbdW+kBA=="], + + "esbuild": ["esbuild@0.27.7", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/esbuild/-/esbuild-0.27.7.tgz", { "optionalDependencies": { "@esbuild/aix-ppc64": "0.27.7", "@esbuild/android-arm": "0.27.7", "@esbuild/android-arm64": "0.27.7", "@esbuild/android-x64": "0.27.7", "@esbuild/darwin-arm64": "0.27.7", "@esbuild/darwin-x64": "0.27.7", "@esbuild/freebsd-arm64": "0.27.7", "@esbuild/freebsd-x64": "0.27.7", "@esbuild/linux-arm": "0.27.7", "@esbuild/linux-arm64": "0.27.7", "@esbuild/linux-ia32": "0.27.7", "@esbuild/linux-loong64": "0.27.7", "@esbuild/linux-mips64el": "0.27.7", "@esbuild/linux-ppc64": "0.27.7", "@esbuild/linux-riscv64": "0.27.7", "@esbuild/linux-s390x": "0.27.7", "@esbuild/linux-x64": "0.27.7", "@esbuild/netbsd-arm64": "0.27.7", "@esbuild/netbsd-x64": "0.27.7", "@esbuild/openbsd-arm64": "0.27.7", "@esbuild/openbsd-x64": "0.27.7", "@esbuild/openharmony-arm64": "0.27.7", "@esbuild/sunos-x64": "0.27.7", "@esbuild/win32-arm64": "0.27.7", "@esbuild/win32-ia32": "0.27.7", "@esbuild/win32-x64": "0.27.7" }, "bin": { "esbuild": "bin/esbuild" } }, "sha512-IxpibTjyVnmrIQo5aqNpCgoACA/dTKLTlhMHihVHhdkxKyPO1uBBthumT0rdHmcsk9uMonIWS0m4FljWzILh3w=="], + + "escape-string-regexp": ["escape-string-regexp@4.0.0", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", {}, "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA=="], + + "eslint": ["eslint@9.39.4", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/eslint/-/eslint-9.39.4.tgz", { "dependencies": { "@eslint-community/eslint-utils": "^4.8.0", "@eslint-community/regexpp": "^4.12.1", "@eslint/config-array": "^0.21.2", "@eslint/config-helpers": "^0.4.2", "@eslint/core": "^0.17.0", "@eslint/eslintrc": "^3.3.5", "@eslint/js": "9.39.4", "@eslint/plugin-kit": "^0.4.1", "@humanfs/node": "^0.16.6", "@humanwhocodes/module-importer": "^1.0.1", "@humanwhocodes/retry": "^0.4.2", "@types/estree": "^1.0.6", "ajv": "^6.14.0", "chalk": "^4.0.0", "cross-spawn": "^7.0.6", "debug": "^4.3.2", "escape-string-regexp": "^4.0.0", "eslint-scope": "^8.4.0", "eslint-visitor-keys": "^4.2.1", "espree": "^10.4.0", "esquery": "^1.5.0", "esutils": "^2.0.2", "fast-deep-equal": "^3.1.3", "file-entry-cache": "^8.0.0", "find-up": "^5.0.0", "glob-parent": "^6.0.2", "ignore": "^5.2.0", "imurmurhash": "^0.1.4", "is-glob": "^4.0.0", "json-stable-stringify-without-jsonify": "^1.0.1", "lodash.merge": "^4.6.2", "minimatch": "^3.1.5", "natural-compare": "^1.4.0", "optionator": "^0.9.3" }, "peerDependencies": { "jiti": "*" }, "optionalPeers": ["jiti"], "bin": { "eslint": "bin/eslint.js" } }, "sha512-XoMjdBOwe/esVgEvLmNsD3IRHkm7fbKIUGvrleloJXUZgDHig2IPWNniv+GwjyJXzuNqVjlr5+4yVUZjycJwfQ=="], + + "eslint-config-prettier": ["eslint-config-prettier@10.1.8", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/eslint-config-prettier/-/eslint-config-prettier-10.1.8.tgz", { "peerDependencies": { "eslint": ">=7.0.0" }, "bin": { "eslint-config-prettier": "bin/cli.js" } }, "sha512-82GZUjRS0p/jganf6q1rEO25VSoHH0hKPCTrgillPjdI/3bgBhAE1QzHrHTizjpRvy6pGAvKjDJtk2pF9NDq8w=="], + + "eslint-plugin-prettier": ["eslint-plugin-prettier@5.5.5", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/eslint-plugin-prettier/-/eslint-plugin-prettier-5.5.5.tgz", { "dependencies": { "prettier-linter-helpers": "^1.0.1", "synckit": "^0.11.12" }, "peerDependencies": { "@types/eslint": ">=8.0.0", "eslint": ">=8.0.0", "eslint-config-prettier": ">= 7.0.0 <10.0.0 || >=10.1.0", "prettier": ">=3.0.0" }, "optionalPeers": ["@types/eslint", "eslint-config-prettier"] }, "sha512-hscXkbqUZ2sPithAuLm5MXL+Wph+U7wHngPBv9OMWwlP8iaflyxpjTYZkmdgB4/vPIhemRlBEoLrH7UC1n7aUw=="], + + "eslint-scope": ["eslint-scope@8.4.0", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/eslint-scope/-/eslint-scope-8.4.0.tgz", { "dependencies": { "esrecurse": "^4.3.0", "estraverse": "^5.2.0" } }, "sha512-sNXOfKCn74rt8RICKMvJS7XKV/Xk9kA7DyJr8mJik3S7Cwgy3qlkkmyS2uQB3jiJg6VNdZd/pDBJu0nvG2NlTg=="], + + "eslint-visitor-keys": ["eslint-visitor-keys@4.2.1", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/eslint-visitor-keys/-/eslint-visitor-keys-4.2.1.tgz", {}, "sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ=="], + + "espree": ["espree@10.4.0", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/espree/-/espree-10.4.0.tgz", { "dependencies": { "acorn": "^8.15.0", "acorn-jsx": "^5.3.2", "eslint-visitor-keys": "^4.2.1" } }, "sha512-j6PAQ2uUr79PZhBjP5C5fhl8e39FmRnOjsD5lGnWrFU8i2G776tBK7+nP8KuQUTTyAZUwfQqXAgrVH5MbH9CYQ=="], + + "esquery": ["esquery@1.7.0", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/esquery/-/esquery-1.7.0.tgz", { "dependencies": { "estraverse": "^5.1.0" } }, "sha512-Ap6G0WQwcU/LHsvLwON1fAQX9Zp0A2Y6Y/cJBl9r/JbW90Zyg4/zbG6zzKa2OTALELarYHmKu0GhpM5EO+7T0g=="], + + "esrecurse": ["esrecurse@4.3.0", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/esrecurse/-/esrecurse-4.3.0.tgz", { "dependencies": { "estraverse": "^5.2.0" } }, "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag=="], + + "estraverse": ["estraverse@5.3.0", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/estraverse/-/estraverse-5.3.0.tgz", {}, "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA=="], + + "estree-walker": ["estree-walker@3.0.3", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/estree-walker/-/estree-walker-3.0.3.tgz", { "dependencies": { "@types/estree": "^1.0.0" } }, "sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g=="], + + "esutils": ["esutils@2.0.3", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/esutils/-/esutils-2.0.3.tgz", {}, "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g=="], + + "expect-type": ["expect-type@1.3.0", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/expect-type/-/expect-type-1.3.0.tgz", {}, "sha512-knvyeauYhqjOYvQ66MznSMs83wmHrCycNEN6Ao+2AeYEfxUIkuiVxdEa1qlGEPK+We3n0THiDciYSsCcgW/DoA=="], + + "fast-check": ["fast-check@4.7.0", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/fast-check/-/fast-check-4.7.0.tgz", { "dependencies": { "pure-rand": "^8.0.0" } }, "sha512-NsZRtqvSSoCP0HbNjUD+r1JH8zqZalyp6gLY9e7OYs7NK9b6AHOs2baBFeBG7bVNsuoukh89x2Yg3rPsul8ziQ=="], + + "fast-deep-equal": ["fast-deep-equal@3.1.3", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", {}, "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q=="], + + "fast-diff": ["fast-diff@1.3.0", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/fast-diff/-/fast-diff-1.3.0.tgz", {}, "sha512-VxPP4NqbUjj6MaAOafWeUn2cXWLcCtljklUtZf0Ind4XQ+QPtmA0b18zZy0jIQx+ExRVCR/ZQpBmik5lXshNsw=="], + + "fast-glob": ["fast-glob@3.3.3", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/fast-glob/-/fast-glob-3.3.3.tgz", { "dependencies": { "@nodelib/fs.stat": "^2.0.2", "@nodelib/fs.walk": "^1.2.3", "glob-parent": "^5.1.2", "merge2": "^1.3.0", "micromatch": "^4.0.8" } }, "sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg=="], + + "fast-json-stable-stringify": ["fast-json-stable-stringify@2.1.0", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", {}, "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw=="], + + "fast-levenshtein": ["fast-levenshtein@2.0.6", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", {}, "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw=="], + + "fastq": ["fastq@1.20.1", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/fastq/-/fastq-1.20.1.tgz", { "dependencies": { "reusify": "^1.0.4" } }, "sha512-GGToxJ/w1x32s/D2EKND7kTil4n8OVk/9mycTc4VDza13lOvpUZTGX3mFSCtV9ksdGBVzvsyAVLM6mHFThxXxw=="], + + "fdir": ["fdir@6.5.0", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/fdir/-/fdir-6.5.0.tgz", { "peerDependencies": { "picomatch": "^3 || ^4" }, "optionalPeers": ["picomatch"] }, "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg=="], + + "file-entry-cache": ["file-entry-cache@8.0.0", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/file-entry-cache/-/file-entry-cache-8.0.0.tgz", { "dependencies": { "flat-cache": "^4.0.0" } }, "sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ=="], + + "fill-range": ["fill-range@7.1.1", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/fill-range/-/fill-range-7.1.1.tgz", { "dependencies": { "to-regex-range": "^5.0.1" } }, "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg=="], + + "find-my-way-ts": ["find-my-way-ts@0.1.6", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/find-my-way-ts/-/find-my-way-ts-0.1.6.tgz", {}, "sha512-a85L9ZoXtNAey3Y6Z+eBWW658kO/MwR7zIafkIUPUMf3isZG0NCs2pjW2wtjxAKuJPxMAsHUIP4ZPGv0o5gyTA=="], + + "find-up": ["find-up@5.0.0", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/find-up/-/find-up-5.0.0.tgz", { "dependencies": { "locate-path": "^6.0.0", "path-exists": "^4.0.0" } }, "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng=="], + + "flat-cache": ["flat-cache@4.0.1", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/flat-cache/-/flat-cache-4.0.1.tgz", { "dependencies": { "flatted": "^3.2.9", "keyv": "^4.5.4" } }, "sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw=="], + + "flatted": ["flatted@3.4.2", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/flatted/-/flatted-3.4.2.tgz", {}, "sha512-PjDse7RzhcPkIJwy5t7KPWQSZ9cAbzQXcafsetQoD7sOJRQlGikNbx7yZp2OotDnJyrDcbyRq3Ttb18iYOqkxA=="], + + "fsevents": ["fsevents@2.3.3", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/fsevents/-/fsevents-2.3.3.tgz", { "os": "darwin" }, "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw=="], + + "glob-parent": ["glob-parent@6.0.2", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/glob-parent/-/glob-parent-6.0.2.tgz", { "dependencies": { "is-glob": "^4.0.3" } }, "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A=="], + + "globals": ["globals@14.0.0", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/globals/-/globals-14.0.0.tgz", {}, "sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ=="], + + "graphemer": ["graphemer@1.4.0", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/graphemer/-/graphemer-1.4.0.tgz", {}, "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag=="], + + "has-flag": ["has-flag@4.0.0", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/has-flag/-/has-flag-4.0.0.tgz", {}, "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ=="], + + "ignore": ["ignore@7.0.5", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/ignore/-/ignore-7.0.5.tgz", {}, "sha512-Hs59xBNfUIunMFgWAbGX5cq6893IbWg4KnrjbYwX3tx0ztorVgTDA6B2sxf8ejHJ4wz8BqGUMYlnzNBer5NvGg=="], + + "import-fresh": ["import-fresh@3.3.1", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/import-fresh/-/import-fresh-3.3.1.tgz", { "dependencies": { "parent-module": "^1.0.0", "resolve-from": "^4.0.0" } }, "sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ=="], + + "imurmurhash": ["imurmurhash@0.1.4", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/imurmurhash/-/imurmurhash-0.1.4.tgz", {}, "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA=="], + + "ini": ["ini@6.0.0", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/ini/-/ini-6.0.0.tgz", {}, "sha512-IBTdIkzZNOpqm7q3dRqJvMaldXjDHWkEDfrwGEQTs5eaQMWV+djAhR+wahyNNMAa+qpbDUhBMVt4ZKNwpPm7xQ=="], + + "is-extglob": ["is-extglob@2.1.1", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/is-extglob/-/is-extglob-2.1.1.tgz", {}, "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ=="], + + "is-glob": ["is-glob@4.0.3", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/is-glob/-/is-glob-4.0.3.tgz", { "dependencies": { "is-extglob": "^2.1.1" } }, "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg=="], + + "is-number": ["is-number@7.0.0", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/is-number/-/is-number-7.0.0.tgz", {}, "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng=="], + + "isexe": ["isexe@2.0.0", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/isexe/-/isexe-2.0.0.tgz", {}, "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw=="], + + "js-tokens": ["js-tokens@9.0.1", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/js-tokens/-/js-tokens-9.0.1.tgz", {}, "sha512-mxa9E9ITFOt0ban3j6L5MpjwegGz6lBQmM1IJkWeBZGcMxto50+eWdjC/52xDbS2vy0k7vIMK0Fe2wfL9OQSpQ=="], + + "js-yaml": ["js-yaml@4.1.1", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/js-yaml/-/js-yaml-4.1.1.tgz", { "dependencies": { "argparse": "^2.0.1" }, "bin": { "js-yaml": "bin/js-yaml.js" } }, "sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA=="], + + "json-buffer": ["json-buffer@3.0.1", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/json-buffer/-/json-buffer-3.0.1.tgz", {}, "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ=="], + + "json-schema-traverse": ["json-schema-traverse@0.4.1", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", {}, "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg=="], + + "json-stable-stringify-without-jsonify": ["json-stable-stringify-without-jsonify@1.0.1", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", {}, "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw=="], + + "keyv": ["keyv@4.5.4", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/keyv/-/keyv-4.5.4.tgz", { "dependencies": { "json-buffer": "3.0.1" } }, "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw=="], + + "kubernetes-types": ["kubernetes-types@1.30.0", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/kubernetes-types/-/kubernetes-types-1.30.0.tgz", {}, "sha512-Dew1okvhM/SQcIa2rcgujNndZwU8VnSapDgdxlYoB84ZlpAD43U6KLAFqYo17ykSFGHNPrg0qry0bP+GJd9v7Q=="], + + "levn": ["levn@0.4.1", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/levn/-/levn-0.4.1.tgz", { "dependencies": { "prelude-ls": "^1.2.1", "type-check": "~0.4.0" } }, "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ=="], + + "locate-path": ["locate-path@6.0.0", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/locate-path/-/locate-path-6.0.0.tgz", { "dependencies": { "p-locate": "^5.0.0" } }, "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw=="], + + "lodash.merge": ["lodash.merge@4.6.2", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/lodash.merge/-/lodash.merge-4.6.2.tgz", {}, "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ=="], + + "loupe": ["loupe@3.2.1", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/loupe/-/loupe-3.2.1.tgz", {}, "sha512-CdzqowRJCeLU72bHvWqwRBBlLcMEtIvGrlvef74kMnV2AolS9Y8xUv1I0U/MNAWMhBlKIoyuEgoJ0t/bbwHbLQ=="], + + "magic-string": ["magic-string@0.30.21", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/magic-string/-/magic-string-0.30.21.tgz", { "dependencies": { "@jridgewell/sourcemap-codec": "^1.5.5" } }, "sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ=="], + + "merge2": ["merge2@1.4.1", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/merge2/-/merge2-1.4.1.tgz", {}, "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg=="], + + "micromatch": ["micromatch@4.0.8", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/micromatch/-/micromatch-4.0.8.tgz", { "dependencies": { "braces": "^3.0.3", "picomatch": "^2.3.1" } }, "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA=="], + + "minimatch": ["minimatch@3.1.5", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/minimatch/-/minimatch-3.1.5.tgz", { "dependencies": { "brace-expansion": "^1.1.7" } }, "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w=="], + + "ms": ["ms@2.1.3", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/ms/-/ms-2.1.3.tgz", {}, "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA=="], + + "msgpackr": ["msgpackr@1.11.10", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/msgpackr/-/msgpackr-1.11.10.tgz", { "optionalDependencies": { "msgpackr-extract": "^3.0.2" } }, "sha512-iCZNq+HszvF+fC3anCm4nBmWEnbeIAfpDs6IStAEKhQ2YSgkjzVG2FF9XJqwwQh5bH3N9OUTUt4QwVN6MLMLtA=="], + + "msgpackr-extract": ["msgpackr-extract@3.0.3", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/msgpackr-extract/-/msgpackr-extract-3.0.3.tgz", { "dependencies": { "node-gyp-build-optional-packages": "5.2.2" }, "optionalDependencies": { "@msgpackr-extract/msgpackr-extract-darwin-arm64": "3.0.3", "@msgpackr-extract/msgpackr-extract-darwin-x64": "3.0.3", "@msgpackr-extract/msgpackr-extract-linux-arm": "3.0.3", "@msgpackr-extract/msgpackr-extract-linux-arm64": "3.0.3", "@msgpackr-extract/msgpackr-extract-linux-x64": "3.0.3", "@msgpackr-extract/msgpackr-extract-win32-x64": "3.0.3" }, "bin": { "download-msgpackr-prebuilds": "bin/download-prebuilds.js" } }, "sha512-P0efT1C9jIdVRefqjzOQ9Xml57zpOXnIuS+csaB4MdZbTdmGDLo8XhzBG1N7aO11gKDDkJvBLULeFTo46wwreA=="], + + "multipasta": ["multipasta@0.2.7", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/multipasta/-/multipasta-0.2.7.tgz", {}, "sha512-KPA58d68KgGil15oDqXjkUBEBYc00XvbPj5/X+dyzeo/lWm9Nc25pQRlf1D+gv4OpK7NM0J1odrbu9JNNGvynA=="], + + "nanoid": ["nanoid@3.3.11", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/nanoid/-/nanoid-3.3.11.tgz", { "bin": { "nanoid": "bin/nanoid.cjs" } }, "sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w=="], + + "natural-compare": ["natural-compare@1.4.0", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/natural-compare/-/natural-compare-1.4.0.tgz", {}, "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw=="], + + "node-gyp-build-optional-packages": ["node-gyp-build-optional-packages@5.2.2", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/node-gyp-build-optional-packages/-/node-gyp-build-optional-packages-5.2.2.tgz", { "dependencies": { "detect-libc": "^2.0.1" }, "bin": { "node-gyp-build-optional-packages": "bin.js", "node-gyp-build-optional-packages-optional": "optional.js", "node-gyp-build-optional-packages-test": "build-test.js" } }, "sha512-s+w+rBWnpTMwSFbaE0UXsRlg7hU4FjekKU4eyAih5T8nJuNZT1nNsskXpxmeqSK9UzkBl6UgRlnKc8hz8IEqOw=="], + + "optionator": ["optionator@0.9.4", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/optionator/-/optionator-0.9.4.tgz", { "dependencies": { "deep-is": "^0.1.3", "fast-levenshtein": "^2.0.6", "levn": "^0.4.1", "prelude-ls": "^1.2.1", "type-check": "^0.4.0", "word-wrap": "^1.2.5" } }, "sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g=="], + + "p-limit": ["p-limit@3.1.0", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/p-limit/-/p-limit-3.1.0.tgz", { "dependencies": { "yocto-queue": "^0.1.0" } }, "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ=="], + + "p-locate": ["p-locate@5.0.0", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/p-locate/-/p-locate-5.0.0.tgz", { "dependencies": { "p-limit": "^3.0.2" } }, "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw=="], + + "parent-module": ["parent-module@1.0.1", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/parent-module/-/parent-module-1.0.1.tgz", { "dependencies": { "callsites": "^3.0.0" } }, "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g=="], + + "path-exists": ["path-exists@4.0.0", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/path-exists/-/path-exists-4.0.0.tgz", {}, "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w=="], + + "path-key": ["path-key@3.1.1", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/path-key/-/path-key-3.1.1.tgz", {}, "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q=="], + + "pathe": ["pathe@2.0.3", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/pathe/-/pathe-2.0.3.tgz", {}, "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w=="], + + "pathval": ["pathval@2.0.1", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/pathval/-/pathval-2.0.1.tgz", {}, "sha512-//nshmD55c46FuFw26xV/xFAaB5HF9Xdap7HJBBnrKdAd6/GxDBaNA1870O79+9ueg61cZLSVc+OaFlfmObYVQ=="], + + "picocolors": ["picocolors@1.1.1", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/picocolors/-/picocolors-1.1.1.tgz", {}, "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA=="], + + "picomatch": ["picomatch@4.0.4", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/picomatch/-/picomatch-4.0.4.tgz", {}, "sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A=="], + + "postcss": ["postcss@8.5.12", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/postcss/-/postcss-8.5.12.tgz", { "dependencies": { "nanoid": "^3.3.11", "picocolors": "^1.1.1", "source-map-js": "^1.2.1" } }, "sha512-W62t/Se6rA0Az3DfCL0AqJwXuKwBeYg6nOaIgzP+xZ7N5BFCI7DYi1qs6ygUYT6rvfi6t9k65UMLJC+PHZpDAA=="], + + "prelude-ls": ["prelude-ls@1.2.1", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/prelude-ls/-/prelude-ls-1.2.1.tgz", {}, "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g=="], + + "prettier": ["prettier@3.8.3", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/prettier/-/prettier-3.8.3.tgz", { "bin": { "prettier": "bin/prettier.cjs" } }, "sha512-7igPTM53cGHMW8xWuVTydi2KO233VFiTNyF5hLJqpilHfmn8C8gPf+PS7dUT64YcXFbiMGZxS9pCSxL/Dxm/Jw=="], + + "prettier-linter-helpers": ["prettier-linter-helpers@1.0.1", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/prettier-linter-helpers/-/prettier-linter-helpers-1.0.1.tgz", { "dependencies": { "fast-diff": "^1.1.2" } }, "sha512-SxToR7P8Y2lWmv/kTzVLC1t/GDI2WGjMwNhLLE9qtH8Q13C+aEmuRlzDst4Up4s0Wc8sF2M+J57iB3cMLqftfg=="], + + "punycode": ["punycode@2.3.1", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/punycode/-/punycode-2.3.1.tgz", {}, "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg=="], + + "pure-rand": ["pure-rand@8.4.0", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/pure-rand/-/pure-rand-8.4.0.tgz", {}, "sha512-IoM8YF/jY0hiugFo/wOWqfmarlE6J0wc6fDK1PhftMk7MGhVZl88sZimmqBBFomLOCSmcCCpsfj7wXASCpvK9A=="], + + "queue-microtask": ["queue-microtask@1.2.3", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/queue-microtask/-/queue-microtask-1.2.3.tgz", {}, "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A=="], + + "resolve-from": ["resolve-from@4.0.0", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/resolve-from/-/resolve-from-4.0.0.tgz", {}, "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g=="], + + "reusify": ["reusify@1.1.0", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/reusify/-/reusify-1.1.0.tgz", {}, "sha512-g6QUff04oZpHs0eG5p83rFLhHeV00ug/Yf9nZM6fLeUrPguBTkTQOdpAWWspMh55TZfVQDPaN3NQJfbVRAxdIw=="], + + "rollup": ["rollup@4.60.2", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/rollup/-/rollup-4.60.2.tgz", { "dependencies": { "@types/estree": "1.0.8" }, "optionalDependencies": { "@rollup/rollup-android-arm-eabi": "4.60.2", "@rollup/rollup-android-arm64": "4.60.2", "@rollup/rollup-darwin-arm64": "4.60.2", "@rollup/rollup-darwin-x64": "4.60.2", "@rollup/rollup-freebsd-arm64": "4.60.2", "@rollup/rollup-freebsd-x64": "4.60.2", "@rollup/rollup-linux-arm-gnueabihf": "4.60.2", "@rollup/rollup-linux-arm-musleabihf": "4.60.2", "@rollup/rollup-linux-arm64-gnu": "4.60.2", "@rollup/rollup-linux-arm64-musl": "4.60.2", "@rollup/rollup-linux-loong64-gnu": "4.60.2", "@rollup/rollup-linux-loong64-musl": "4.60.2", "@rollup/rollup-linux-ppc64-gnu": "4.60.2", "@rollup/rollup-linux-ppc64-musl": "4.60.2", "@rollup/rollup-linux-riscv64-gnu": "4.60.2", "@rollup/rollup-linux-riscv64-musl": "4.60.2", "@rollup/rollup-linux-s390x-gnu": "4.60.2", "@rollup/rollup-linux-x64-gnu": "4.60.2", "@rollup/rollup-linux-x64-musl": "4.60.2", "@rollup/rollup-openbsd-x64": "4.60.2", "@rollup/rollup-openharmony-arm64": "4.60.2", "@rollup/rollup-win32-arm64-msvc": "4.60.2", "@rollup/rollup-win32-ia32-msvc": "4.60.2", "@rollup/rollup-win32-x64-gnu": "4.60.2", "@rollup/rollup-win32-x64-msvc": "4.60.2", "fsevents": "~2.3.2" }, "bin": { "rollup": "dist/bin/rollup" } }, "sha512-J9qZyW++QK/09NyN/zeO0dG/1GdGfyp9lV8ajHnRVLfo/uFsbji5mHnDgn/qYdUHyCkM2N+8VyspgZclfAh0eQ=="], + + "run-parallel": ["run-parallel@1.2.0", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/run-parallel/-/run-parallel-1.2.0.tgz", { "dependencies": { "queue-microtask": "^1.2.2" } }, "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA=="], + + "semver": ["semver@7.7.4", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/semver/-/semver-7.7.4.tgz", { "bin": { "semver": "bin/semver.js" } }, "sha512-vFKC2IEtQnVhpT78h1Yp8wzwrf8CM+MzKMHGJZfBtzhZNycRFnXsHk6E5TxIkkMsgNS7mdX3AGB7x2QM2di4lA=="], + + "shebang-command": ["shebang-command@2.0.0", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/shebang-command/-/shebang-command-2.0.0.tgz", { "dependencies": { "shebang-regex": "^3.0.0" } }, "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA=="], + + "shebang-regex": ["shebang-regex@3.0.0", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/shebang-regex/-/shebang-regex-3.0.0.tgz", {}, "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A=="], + + "siginfo": ["siginfo@2.0.0", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/siginfo/-/siginfo-2.0.0.tgz", {}, "sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g=="], + + "source-map-js": ["source-map-js@1.2.1", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/source-map-js/-/source-map-js-1.2.1.tgz", {}, "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA=="], + + "stackback": ["stackback@0.0.2", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/stackback/-/stackback-0.0.2.tgz", {}, "sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw=="], + + "std-env": ["std-env@3.10.0", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/std-env/-/std-env-3.10.0.tgz", {}, "sha512-5GS12FdOZNliM5mAOxFRg7Ir0pWz8MdpYm6AY6VPkGpbA7ZzmbzNcBJQ0GPvvyWgcY7QAhCgf9Uy89I03faLkg=="], + + "strip-json-comments": ["strip-json-comments@3.1.1", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/strip-json-comments/-/strip-json-comments-3.1.1.tgz", {}, "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig=="], + + "strip-literal": ["strip-literal@3.1.0", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/strip-literal/-/strip-literal-3.1.0.tgz", { "dependencies": { "js-tokens": "^9.0.1" } }, "sha512-8r3mkIM/2+PpjHoOtiAW8Rg3jJLHaV7xPwG+YRGrv6FP0wwk/toTpATxWYOW0BKdWwl82VT2tFYi5DlROa0Mxg=="], + + "supports-color": ["supports-color@7.2.0", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/supports-color/-/supports-color-7.2.0.tgz", { "dependencies": { "has-flag": "^4.0.0" } }, "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw=="], + + "synckit": ["synckit@0.11.12", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/synckit/-/synckit-0.11.12.tgz", { "dependencies": { "@pkgr/core": "^0.2.9" } }, "sha512-Bh7QjT8/SuKUIfObSXNHNSK6WHo6J1tHCqJsuaFDP7gP0fkzSfTxI8y85JrppZ0h8l0maIgc2tfuZQ6/t3GtnQ=="], + + "tinybench": ["tinybench@2.9.0", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/tinybench/-/tinybench-2.9.0.tgz", {}, "sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg=="], + + "tinyexec": ["tinyexec@0.3.2", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/tinyexec/-/tinyexec-0.3.2.tgz", {}, "sha512-KQQR9yN7R5+OSwaK0XQoj22pwHoTlgYqmUscPYoknOoWCWfj/5/ABTMRi69FrKU5ffPVh5QcFikpWJI/P1ocHA=="], + + "tinyglobby": ["tinyglobby@0.2.16", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/tinyglobby/-/tinyglobby-0.2.16.tgz", { "dependencies": { "fdir": "^6.5.0", "picomatch": "^4.0.4" } }, "sha512-pn99VhoACYR8nFHhxqix+uvsbXineAasWm5ojXoN8xEwK5Kd3/TrhNn1wByuD52UxWRLy8pu+kRMniEi6Eq9Zg=="], + + "tinypool": ["tinypool@1.1.1", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/tinypool/-/tinypool-1.1.1.tgz", {}, "sha512-Zba82s87IFq9A9XmjiX5uZA/ARWDrB03OHlq+Vw1fSdt0I+4/Kutwy8BP4Y/y/aORMo61FQ0vIb5j44vSo5Pkg=="], + + "tinyrainbow": ["tinyrainbow@2.0.0", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/tinyrainbow/-/tinyrainbow-2.0.0.tgz", {}, "sha512-op4nsTR47R6p0vMUUoYl/a+ljLFVtlfaXkLQmqfLR1qHma1h/ysYk4hEXZ880bf2CYgTskvTa/e196Vd5dDQXw=="], + + "tinyspy": ["tinyspy@4.0.4", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/tinyspy/-/tinyspy-4.0.4.tgz", {}, "sha512-azl+t0z7pw/z958Gy9svOTuzqIk6xq+NSheJzn5MMWtWTFywIacg2wUlzKFGtt3cthx0r2SxMK0yzJOR0IES7Q=="], + + "to-regex-range": ["to-regex-range@5.0.1", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/to-regex-range/-/to-regex-range-5.0.1.tgz", { "dependencies": { "is-number": "^7.0.0" } }, "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ=="], + + "toml": ["toml@4.1.1", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/toml/-/toml-4.1.1.tgz", {}, "sha512-EBJnVBr3dTXdA89WVFoAIPUqkBjxPMwRqsfuo1r240tKFHXv3zgca4+NJib/h6TyvGF7vOawz0jGuryJCdNHrw=="], + + "ts-api-utils": ["ts-api-utils@2.5.0", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/ts-api-utils/-/ts-api-utils-2.5.0.tgz", { "peerDependencies": { "typescript": ">=4.8.4" } }, "sha512-OJ/ibxhPlqrMM0UiNHJ/0CKQkoKF243/AEmplt3qpRgkW8VG7IfOS41h7V8TjITqdByHzrjcS/2si+y4lIh8NA=="], + + "type-check": ["type-check@0.4.0", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/type-check/-/type-check-0.4.0.tgz", { "dependencies": { "prelude-ls": "^1.2.1" } }, "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew=="], + + "typescript": ["typescript@6.0.3", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/typescript/-/typescript-6.0.3.tgz", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw=="], + + "typescript-eslint": ["typescript-eslint@8.59.1", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/typescript-eslint/-/typescript-eslint-8.59.1.tgz", { "dependencies": { "@typescript-eslint/eslint-plugin": "8.59.1", "@typescript-eslint/parser": "8.59.1", "@typescript-eslint/typescript-estree": "8.59.1", "@typescript-eslint/utils": "8.59.1" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", "typescript": ">=4.8.4 <6.1.0" } }, "sha512-xqDcFVBmlrltH64lklOVp1wYxgJr6LVdg3NamBgH2OOQDLFdTKfIZXF5PfghrnXQKXZGTQs8tr1vL7fJvq8CTQ=="], + + "undici-types": ["undici-types@6.21.0", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/undici-types/-/undici-types-6.21.0.tgz", {}, "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ=="], + + "uri-js": ["uri-js@4.4.1", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/uri-js/-/uri-js-4.4.1.tgz", { "dependencies": { "punycode": "^2.1.0" } }, "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg=="], + + "uuid": ["uuid@13.0.0", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/uuid/-/uuid-13.0.0.tgz", { "bin": { "uuid": "dist-node/bin/uuid" } }, "sha512-XQegIaBTVUjSHliKqcnFqYypAd4S+WCYt5NIeRs6w/UAry7z8Y9j5ZwRRL4kzq9U3sD6v+85er9FvkEaBpji2w=="], + + "vite": ["vite@7.3.2", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/vite/-/vite-7.3.2.tgz", { "dependencies": { "esbuild": "^0.27.0", "fdir": "^6.5.0", "picomatch": "^4.0.3", "postcss": "^8.5.6", "rollup": "^4.43.0", "tinyglobby": "^0.2.15" }, "optionalDependencies": { "fsevents": "~2.3.3" }, "peerDependencies": { "@types/node": "^20.19.0 || >=22.12.0", "jiti": ">=1.21.0", "less": "^4.0.0", "lightningcss": "^1.21.0", "sass": "^1.70.0", "sass-embedded": "^1.70.0", "stylus": ">=0.54.8", "sugarss": "^5.0.0", "terser": "^5.16.0", "tsx": "^4.8.1", "yaml": "^2.4.2" }, "optionalPeers": ["@types/node", "jiti", "less", "lightningcss", "sass", "sass-embedded", "stylus", "sugarss", "terser", "tsx", "yaml"], "bin": { "vite": "bin/vite.js" } }, "sha512-Bby3NOsna2jsjfLVOHKes8sGwgl4TT0E6vvpYgnAYDIF/tie7MRaFthmKuHx1NSXjiTueXH3do80FMQgvEktRg=="], + + "vite-node": ["vite-node@3.2.4", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/vite-node/-/vite-node-3.2.4.tgz", { "dependencies": { "cac": "^6.7.14", "debug": "^4.4.1", "es-module-lexer": "^1.7.0", "pathe": "^2.0.3", "vite": "^5.0.0 || ^6.0.0 || ^7.0.0-0" }, "bin": { "vite-node": "vite-node.mjs" } }, "sha512-EbKSKh+bh1E1IFxeO0pg1n4dvoOTt0UDiXMd/qn++r98+jPO1xtJilvXldeuQ8giIB5IkpjCgMleHMNEsGH6pg=="], + + "vitest": ["vitest@3.2.4", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/vitest/-/vitest-3.2.4.tgz", { "dependencies": { "@types/chai": "^5.2.2", "@vitest/expect": "3.2.4", "@vitest/mocker": "3.2.4", "@vitest/pretty-format": "^3.2.4", "@vitest/runner": "3.2.4", "@vitest/snapshot": "3.2.4", "@vitest/spy": "3.2.4", "@vitest/utils": "3.2.4", "chai": "^5.2.0", "debug": "^4.4.1", "expect-type": "^1.2.1", "magic-string": "^0.30.17", "pathe": "^2.0.3", "picomatch": "^4.0.2", "std-env": "^3.9.0", "tinybench": "^2.9.0", "tinyexec": "^0.3.2", "tinyglobby": "^0.2.14", "tinypool": "^1.1.1", "tinyrainbow": "^2.0.0", "vite": "^5.0.0 || ^6.0.0 || ^7.0.0-0", "vite-node": "3.2.4", "why-is-node-running": "^2.3.0" }, "peerDependencies": { "@edge-runtime/vm": "*", "@types/debug": "^4.1.12", "@types/node": "^18.0.0 || ^20.0.0 || >=22.0.0", "@vitest/browser": "3.2.4", "@vitest/ui": "3.2.4", "happy-dom": "*", "jsdom": "*" }, "optionalPeers": ["@edge-runtime/vm", "@types/debug", "@types/node", "@vitest/browser", "@vitest/ui", "happy-dom", "jsdom"], "bin": { "vitest": "vitest.mjs" } }, "sha512-LUCP5ev3GURDysTWiP47wRRUpLKMOfPh+yKTx3kVIEiu5KOMeqzpnYNsKyOoVrULivR8tLcks4+lga33Whn90A=="], + + "which": ["which@2.0.2", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/which/-/which-2.0.2.tgz", { "dependencies": { "isexe": "^2.0.0" }, "bin": { "node-which": "./bin/node-which" } }, "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA=="], + + "why-is-node-running": ["why-is-node-running@2.3.0", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/why-is-node-running/-/why-is-node-running-2.3.0.tgz", { "dependencies": { "siginfo": "^2.0.0", "stackback": "0.0.2" }, "bin": { "why-is-node-running": "cli.js" } }, "sha512-hUrmaWBdVDcxvYqnyh09zunKzROWjbZTiNy8dBEjkS7ehEDQibXJ7XvlmtbwuTclUiIyN+CyXQD4Vmko8fNm8w=="], + + "word-wrap": ["word-wrap@1.2.5", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/word-wrap/-/word-wrap-1.2.5.tgz", {}, "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA=="], + + "yaml": ["yaml@2.8.3", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/yaml/-/yaml-2.8.3.tgz", { "bin": { "yaml": "bin.mjs" } }, "sha512-AvbaCLOO2Otw/lW5bmh9d/WEdcDFdQp2Z2ZUH3pX9U2ihyUY0nvLv7J6TrWowklRGPYbB/IuIMfYgxaCPg5Bpg=="], + + "yocto-queue": ["yocto-queue@0.1.0", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/yocto-queue/-/yocto-queue-0.1.0.tgz", {}, "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q=="], + + "zod": ["zod@4.1.8", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/zod/-/zod-4.1.8.tgz", {}, "sha512-5R1P+WwQqmmMIEACyzSvo4JXHY5WiAFHRMg+zBZKgKS+Q1viRa0C1hmUKtHltoIFKtIdki3pRxkmpP74jnNYHQ=="], + + "@eslint-community/eslint-utils/eslint-visitor-keys": ["eslint-visitor-keys@3.4.3", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", {}, "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag=="], + + "@eslint/eslintrc/ignore": ["ignore@5.3.2", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/ignore/-/ignore-5.3.2.tgz", {}, "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g=="], + + "@typescript-eslint/project-service/@typescript-eslint/tsconfig-utils": ["@typescript-eslint/tsconfig-utils@8.59.1", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.59.1.tgz", { "peerDependencies": { "typescript": ">=4.8.4 <6.1.0" } }, "sha512-/0nEyPbX7gRsk0Uwfe4ALwwgxuA66d/l2mhRDNlAvaj4U3juhUtJNq0DsY8M2AYwwb9rEq2hrC3IcIcEt++iJA=="], + + "@typescript-eslint/project-service/@typescript-eslint/types": ["@typescript-eslint/types@8.59.1", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@typescript-eslint/types/-/types-8.59.1.tgz", {}, "sha512-ZDCjgccSdYPw5Bxh+my4Z0lJU96ZDN7jbBzvmEn0FZx3RtU1C7VWl6NbDx94bwY3V5YsgwRzJPOgeY2Q/nLG8A=="], + + "@typescript-eslint/typescript-estree/minimatch": ["minimatch@9.0.9", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/minimatch/-/minimatch-9.0.9.tgz", { "dependencies": { "brace-expansion": "^2.0.2" } }, "sha512-OBwBN9AL4dqmETlpS2zasx+vTeWclWzkblfZk7KTA5j3jeOONz/tRCnZomUyvNg83wL5Zv9Ss6HMJXAgL8R2Yg=="], + + "eslint/ignore": ["ignore@5.3.2", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/ignore/-/ignore-5.3.2.tgz", {}, "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g=="], + + "fast-glob/glob-parent": ["glob-parent@5.1.2", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/glob-parent/-/glob-parent-5.1.2.tgz", { "dependencies": { "is-glob": "^4.0.1" } }, "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow=="], + + "micromatch/picomatch": ["picomatch@2.3.2", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/picomatch/-/picomatch-2.3.2.tgz", {}, "sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA=="], + + "typescript-eslint/@typescript-eslint/eslint-plugin": ["@typescript-eslint/eslint-plugin@8.59.1", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.59.1.tgz", { "dependencies": { "@eslint-community/regexpp": "^4.12.2", "@typescript-eslint/scope-manager": "8.59.1", "@typescript-eslint/type-utils": "8.59.1", "@typescript-eslint/utils": "8.59.1", "@typescript-eslint/visitor-keys": "8.59.1", "ignore": "^7.0.5", "natural-compare": "^1.4.0", "ts-api-utils": "^2.5.0" }, "peerDependencies": { "@typescript-eslint/parser": "^8.59.1", "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", "typescript": ">=4.8.4 <6.1.0" } }, "sha512-BOziFIfE+6osHO9FoJG4zjoHUcvI7fTNBSpdAwrNH0/TLvzjsk2oo8XSSOT2HhqUyhZPfHv4UOffoJ9oEEQ7Ag=="], + + "typescript-eslint/@typescript-eslint/parser": ["@typescript-eslint/parser@8.59.1", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@typescript-eslint/parser/-/parser-8.59.1.tgz", { "dependencies": { "@typescript-eslint/scope-manager": "8.59.1", "@typescript-eslint/types": "8.59.1", "@typescript-eslint/typescript-estree": "8.59.1", "@typescript-eslint/visitor-keys": "8.59.1", "debug": "^4.4.3" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", "typescript": ">=4.8.4 <6.1.0" } }, "sha512-HDQH9O/47Dxi1ceDhBXdaldtf/WV9yRYMjbjCuNk3qnaTD564qwv61Y7+gTxwxRKzSrgO5uhtw584igXVuuZkA=="], + + "typescript-eslint/@typescript-eslint/typescript-estree": ["@typescript-eslint/typescript-estree@8.59.1", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@typescript-eslint/typescript-estree/-/typescript-estree-8.59.1.tgz", { "dependencies": { "@typescript-eslint/project-service": "8.59.1", "@typescript-eslint/tsconfig-utils": "8.59.1", "@typescript-eslint/types": "8.59.1", "@typescript-eslint/visitor-keys": "8.59.1", "debug": "^4.4.3", "minimatch": "^10.2.2", "semver": "^7.7.3", "tinyglobby": "^0.2.15", "ts-api-utils": "^2.5.0" }, "peerDependencies": { "typescript": ">=4.8.4 <6.1.0" } }, "sha512-OUd+vJS05sSkOip+BkZ/2NS8RMxrAAJemsC6vU3kmfLyeaJT0TftHkV9mcx2107MmsBVXXexhVu4F0TZXyMl4g=="], + + "typescript-eslint/@typescript-eslint/utils": ["@typescript-eslint/utils@8.59.1", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@typescript-eslint/utils/-/utils-8.59.1.tgz", { "dependencies": { "@eslint-community/eslint-utils": "^4.9.1", "@typescript-eslint/scope-manager": "8.59.1", "@typescript-eslint/types": "8.59.1", "@typescript-eslint/typescript-estree": "8.59.1" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", "typescript": ">=4.8.4 <6.1.0" } }, "sha512-3pIeoXhCeYH9FSCBI8P3iNwJlGuzPlYKkTlen2O9T1DSeeg8UG8jstq6BLk+Mda0qup7mgk4z4XL4OzRaxZ8LA=="], + + "@typescript-eslint/typescript-estree/minimatch/brace-expansion": ["brace-expansion@2.1.0", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/brace-expansion/-/brace-expansion-2.1.0.tgz", { "dependencies": { "balanced-match": "^1.0.0" } }, "sha512-TN1kCZAgdgweJhWWpgKYrQaMNHcDULHkWwQIspdtjV4Y5aurRdZpjAqn6yX3FPqTA9ngHCc4hJxMAMgGfve85w=="], + + "typescript-eslint/@typescript-eslint/eslint-plugin/@typescript-eslint/scope-manager": ["@typescript-eslint/scope-manager@8.59.1", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@typescript-eslint/scope-manager/-/scope-manager-8.59.1.tgz", { "dependencies": { "@typescript-eslint/types": "8.59.1", "@typescript-eslint/visitor-keys": "8.59.1" } }, "sha512-LwuHQI4pDOYVKvmH2dkaJo6YZCSgouVgnS/z7yBPKBMvgtBvyLqiLy9Z6b7+m/TRcX1NFYUqZetI5Y+aT4GEfg=="], + + "typescript-eslint/@typescript-eslint/eslint-plugin/@typescript-eslint/type-utils": ["@typescript-eslint/type-utils@8.59.1", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@typescript-eslint/type-utils/-/type-utils-8.59.1.tgz", { "dependencies": { "@typescript-eslint/types": "8.59.1", "@typescript-eslint/typescript-estree": "8.59.1", "@typescript-eslint/utils": "8.59.1", "debug": "^4.4.3", "ts-api-utils": "^2.5.0" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", "typescript": ">=4.8.4 <6.1.0" } }, "sha512-klWPBR2ciQHS3f++ug/mVnWKPjBUo7icEL3FAO1lhAR1Z1i5NQYZ1EannMSRYcq5qCv5wNALlXr6fksRHyYl7w=="], + + "typescript-eslint/@typescript-eslint/eslint-plugin/@typescript-eslint/visitor-keys": ["@typescript-eslint/visitor-keys@8.59.1", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@typescript-eslint/visitor-keys/-/visitor-keys-8.59.1.tgz", { "dependencies": { "@typescript-eslint/types": "8.59.1", "eslint-visitor-keys": "^5.0.0" } }, "sha512-LdDNl6C5iJExcM0Yh0PwAIBb9PrSiCsWamF/JyEZawm3kFDnRoaq3LGE4bpyRao/fWeGKKyw7icx0YxrLFC5Cg=="], + + "typescript-eslint/@typescript-eslint/parser/@typescript-eslint/scope-manager": ["@typescript-eslint/scope-manager@8.59.1", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@typescript-eslint/scope-manager/-/scope-manager-8.59.1.tgz", { "dependencies": { "@typescript-eslint/types": "8.59.1", "@typescript-eslint/visitor-keys": "8.59.1" } }, "sha512-LwuHQI4pDOYVKvmH2dkaJo6YZCSgouVgnS/z7yBPKBMvgtBvyLqiLy9Z6b7+m/TRcX1NFYUqZetI5Y+aT4GEfg=="], + + "typescript-eslint/@typescript-eslint/parser/@typescript-eslint/types": ["@typescript-eslint/types@8.59.1", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@typescript-eslint/types/-/types-8.59.1.tgz", {}, "sha512-ZDCjgccSdYPw5Bxh+my4Z0lJU96ZDN7jbBzvmEn0FZx3RtU1C7VWl6NbDx94bwY3V5YsgwRzJPOgeY2Q/nLG8A=="], + + "typescript-eslint/@typescript-eslint/parser/@typescript-eslint/visitor-keys": ["@typescript-eslint/visitor-keys@8.59.1", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@typescript-eslint/visitor-keys/-/visitor-keys-8.59.1.tgz", { "dependencies": { "@typescript-eslint/types": "8.59.1", "eslint-visitor-keys": "^5.0.0" } }, "sha512-LdDNl6C5iJExcM0Yh0PwAIBb9PrSiCsWamF/JyEZawm3kFDnRoaq3LGE4bpyRao/fWeGKKyw7icx0YxrLFC5Cg=="], + + "typescript-eslint/@typescript-eslint/typescript-estree/@typescript-eslint/project-service": ["@typescript-eslint/project-service@8.59.1", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@typescript-eslint/project-service/-/project-service-8.59.1.tgz", { "dependencies": { "@typescript-eslint/tsconfig-utils": "^8.59.1", "@typescript-eslint/types": "^8.59.1", "debug": "^4.4.3" }, "peerDependencies": { "typescript": ">=4.8.4 <6.1.0" } }, "sha512-+MuHQlHiEr00Of/IQbE/MmEoi44znZHbR/Pz7Opq4HryUOlRi+/44dro9Ycy8Fyo+/024IWtw8m4JUMCGTYxDg=="], + + "typescript-eslint/@typescript-eslint/typescript-estree/@typescript-eslint/tsconfig-utils": ["@typescript-eslint/tsconfig-utils@8.59.1", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.59.1.tgz", { "peerDependencies": { "typescript": ">=4.8.4 <6.1.0" } }, "sha512-/0nEyPbX7gRsk0Uwfe4ALwwgxuA66d/l2mhRDNlAvaj4U3juhUtJNq0DsY8M2AYwwb9rEq2hrC3IcIcEt++iJA=="], + + "typescript-eslint/@typescript-eslint/typescript-estree/@typescript-eslint/types": ["@typescript-eslint/types@8.59.1", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@typescript-eslint/types/-/types-8.59.1.tgz", {}, "sha512-ZDCjgccSdYPw5Bxh+my4Z0lJU96ZDN7jbBzvmEn0FZx3RtU1C7VWl6NbDx94bwY3V5YsgwRzJPOgeY2Q/nLG8A=="], + + "typescript-eslint/@typescript-eslint/typescript-estree/@typescript-eslint/visitor-keys": ["@typescript-eslint/visitor-keys@8.59.1", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@typescript-eslint/visitor-keys/-/visitor-keys-8.59.1.tgz", { "dependencies": { "@typescript-eslint/types": "8.59.1", "eslint-visitor-keys": "^5.0.0" } }, "sha512-LdDNl6C5iJExcM0Yh0PwAIBb9PrSiCsWamF/JyEZawm3kFDnRoaq3LGE4bpyRao/fWeGKKyw7icx0YxrLFC5Cg=="], + + "typescript-eslint/@typescript-eslint/typescript-estree/minimatch": ["minimatch@10.2.5", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/minimatch/-/minimatch-10.2.5.tgz", { "dependencies": { "brace-expansion": "^5.0.5" } }, "sha512-MULkVLfKGYDFYejP07QOurDLLQpcjk7Fw+7jXS2R2czRQzR56yHRveU5NDJEOviH+hETZKSkIk5c+T23GjFUMg=="], + + "typescript-eslint/@typescript-eslint/utils/@typescript-eslint/scope-manager": ["@typescript-eslint/scope-manager@8.59.1", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@typescript-eslint/scope-manager/-/scope-manager-8.59.1.tgz", { "dependencies": { "@typescript-eslint/types": "8.59.1", "@typescript-eslint/visitor-keys": "8.59.1" } }, "sha512-LwuHQI4pDOYVKvmH2dkaJo6YZCSgouVgnS/z7yBPKBMvgtBvyLqiLy9Z6b7+m/TRcX1NFYUqZetI5Y+aT4GEfg=="], + + "typescript-eslint/@typescript-eslint/utils/@typescript-eslint/types": ["@typescript-eslint/types@8.59.1", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@typescript-eslint/types/-/types-8.59.1.tgz", {}, "sha512-ZDCjgccSdYPw5Bxh+my4Z0lJU96ZDN7jbBzvmEn0FZx3RtU1C7VWl6NbDx94bwY3V5YsgwRzJPOgeY2Q/nLG8A=="], + + "typescript-eslint/@typescript-eslint/eslint-plugin/@typescript-eslint/scope-manager/@typescript-eslint/types": ["@typescript-eslint/types@8.59.1", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@typescript-eslint/types/-/types-8.59.1.tgz", {}, "sha512-ZDCjgccSdYPw5Bxh+my4Z0lJU96ZDN7jbBzvmEn0FZx3RtU1C7VWl6NbDx94bwY3V5YsgwRzJPOgeY2Q/nLG8A=="], + + "typescript-eslint/@typescript-eslint/eslint-plugin/@typescript-eslint/type-utils/@typescript-eslint/types": ["@typescript-eslint/types@8.59.1", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@typescript-eslint/types/-/types-8.59.1.tgz", {}, "sha512-ZDCjgccSdYPw5Bxh+my4Z0lJU96ZDN7jbBzvmEn0FZx3RtU1C7VWl6NbDx94bwY3V5YsgwRzJPOgeY2Q/nLG8A=="], + + "typescript-eslint/@typescript-eslint/eslint-plugin/@typescript-eslint/visitor-keys/@typescript-eslint/types": ["@typescript-eslint/types@8.59.1", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@typescript-eslint/types/-/types-8.59.1.tgz", {}, "sha512-ZDCjgccSdYPw5Bxh+my4Z0lJU96ZDN7jbBzvmEn0FZx3RtU1C7VWl6NbDx94bwY3V5YsgwRzJPOgeY2Q/nLG8A=="], + + "typescript-eslint/@typescript-eslint/eslint-plugin/@typescript-eslint/visitor-keys/eslint-visitor-keys": ["eslint-visitor-keys@5.0.1", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/eslint-visitor-keys/-/eslint-visitor-keys-5.0.1.tgz", {}, "sha512-tD40eHxA35h0PEIZNeIjkHoDR4YjjJp34biM0mDvplBe//mB+IHCqHDGV7pxF+7MklTvighcCPPZC7ynWyjdTA=="], + + "typescript-eslint/@typescript-eslint/parser/@typescript-eslint/visitor-keys/eslint-visitor-keys": ["eslint-visitor-keys@5.0.1", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/eslint-visitor-keys/-/eslint-visitor-keys-5.0.1.tgz", {}, "sha512-tD40eHxA35h0PEIZNeIjkHoDR4YjjJp34biM0mDvplBe//mB+IHCqHDGV7pxF+7MklTvighcCPPZC7ynWyjdTA=="], + + "typescript-eslint/@typescript-eslint/typescript-estree/@typescript-eslint/visitor-keys/eslint-visitor-keys": ["eslint-visitor-keys@5.0.1", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/eslint-visitor-keys/-/eslint-visitor-keys-5.0.1.tgz", {}, "sha512-tD40eHxA35h0PEIZNeIjkHoDR4YjjJp34biM0mDvplBe//mB+IHCqHDGV7pxF+7MklTvighcCPPZC7ynWyjdTA=="], + + "typescript-eslint/@typescript-eslint/typescript-estree/minimatch/brace-expansion": ["brace-expansion@5.0.5", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/brace-expansion/-/brace-expansion-5.0.5.tgz", { "dependencies": { "balanced-match": "^4.0.2" } }, "sha512-VZznLgtwhn+Mact9tfiwx64fA9erHH/MCXEUfB/0bX/6Fz6ny5EGTXYltMocqg4xFAQZtnO3DHWWXi8RiuN7cQ=="], + + "typescript-eslint/@typescript-eslint/utils/@typescript-eslint/scope-manager/@typescript-eslint/visitor-keys": ["@typescript-eslint/visitor-keys@8.59.1", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/@typescript-eslint/visitor-keys/-/visitor-keys-8.59.1.tgz", { "dependencies": { "@typescript-eslint/types": "8.59.1", "eslint-visitor-keys": "^5.0.0" } }, "sha512-LdDNl6C5iJExcM0Yh0PwAIBb9PrSiCsWamF/JyEZawm3kFDnRoaq3LGE4bpyRao/fWeGKKyw7icx0YxrLFC5Cg=="], + + "typescript-eslint/@typescript-eslint/typescript-estree/minimatch/brace-expansion/balanced-match": ["balanced-match@4.0.4", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/balanced-match/-/balanced-match-4.0.4.tgz", {}, "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA=="], + + "typescript-eslint/@typescript-eslint/utils/@typescript-eslint/scope-manager/@typescript-eslint/visitor-keys/eslint-visitor-keys": ["eslint-visitor-keys@5.0.1", "https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/eslint-visitor-keys/-/eslint-visitor-keys-5.0.1.tgz", {}, "sha512-tD40eHxA35h0PEIZNeIjkHoDR4YjjJp34biM0mDvplBe//mB+IHCqHDGV7pxF+7MklTvighcCPPZC7ynWyjdTA=="], + } +} diff --git a/package.json b/package.json index 88dd124..84d632d 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,10 @@ { - "name": "{{moduleName}}", + "name": "opencode-jfrog-plugin", "version": "0.0.1", - "description": "{{description}}", + "description": "JFrog Plugin for seamless integration to Opencode", "author": { - "name": "{{authorName}}", - "email": "{{authorEmail}}" + "name": "JFrog", + "email": "carmith@jfrog.com" }, "type": "module", "exports": { @@ -15,7 +15,7 @@ }, "repository": { "type": "git", - "url": "{{repositoryUrl}}" + "url": "https://github.com/jfrog/opencode-jfrog-plugin.git" }, "publishConfig": { "access": "public" @@ -36,5 +36,8 @@ "prettier": "^3.2.4", "typescript-eslint": "^8.47.0", "vitest": "^3.2.4" + }, + "dependencies": { + "@opencode-ai/plugin": "^1.4.6" } } diff --git a/src/index.ts b/src/index.ts index cb0ff5c..3b4a61b 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1 +1,202 @@ -export {}; +import type { Plugin } from "@opencode-ai/plugin" +import { appendFileSync, createWriteStream, readFileSync, writeFileSync, existsSync, mkdirSync } from "fs"; +import { Readable } from "stream"; +import { pipeline } from "stream/promises"; +import { dirname, join } from "path"; + +const LOG_FILE = join(process.cwd(), ".opencode", "event-log.txt"); +const SKILLS_REGISTRY_URL = "https://releases.jfrog.io/artifactory/jfrog-skills/"; +const INSTRUCTIONS_REGISTRY_URL = "https://releases.jfrog.io/artifactory/run/ai/integrations/opencode/JFROG-INTEGRATION-MANAGEMENT.md"; + +const fetchAndSaveFile = async (url: string, destPath: string, log: (msg: string) => void): Promise<{ success: boolean; error?: string }> => { + const dir = dirname(destPath); + log("Fetching file from "+url+" and saving to "+destPath); + if (!existsSync(dir)) { + mkdirSync(dir, { recursive: true }); + } + // fetch largfile using stream and save to file + const response = await fetch(url); + if (!response.body) { + return { success: false, error: `No response body from ${url}` }; + } + const writer = createWriteStream(destPath); + await pipeline(Readable.fromWeb(response.body as Parameters[0]), writer); + return { success: true }; +} + +const extractZip = async ($: any, directory: any, skillZipFile: string, skillName: string, skillZipDir: string, log: (msg: string) => void): Promise<{ success: boolean; error?: string }> => { + // extract zip file, and check command response + const unzipResponse = await $`unzip -o ${skillZipFile} -d ${directory}/.opencode/skills/${skillName}`.nothrow().quiet(); + if (unzipResponse.exitCode !== 0) { + log(`Failed to extract JFrog ${skillName} skill: ${unzipResponse.stderr}`); + return { success: false, error: `Failed to extract JFrog ${skillName} skill: ${unzipResponse.stderr}`}; + } + log("JFrog ${skillName} skill extracted!") + // remove zip file and its version directory + await $`rm -fR ${skillZipDir}` + log(`Jfrog ${skillName} skill directory removed!`) + return { success: true }; +} + +const setupPackageManagers = async (client: any, $: any, directory: any, sessionId: any, log: (msg: string) => { success: boolean; message: string } | undefined) => { + // check if jfrog-cli is installed using jf --version + + let jfVersion: { exitCode: number } | undefined; + try { + jfVersion = await $`jf --version`.nothrow().quiet(); + } catch (e) { + log("jf version command threw: " + e); + return { success: false, message: "Jfrog cli is not installed, please use the jfrog-cli skill to install it" }; + } + + if (!jfVersion || jfVersion.exitCode !== 0) { + log("jf version command failed"); + return { success: false, message: "Jfrog cli is not installed, please use the jfrog-cli skill to install it" }; + } + const packageManagersFile = join(directory, ".jfrog", "local", "package-managers.json"); + if (!existsSync(packageManagersFile)) { + return { success: false, message: "Jfrog packages are not setup, please use the jfrog-setup-package-managers skill to complete setup. type /skill and select jfrog-setup-package-managers" }; + + } + + const packageManagersConfig = JSON.parse(readFileSync(packageManagersFile, "utf8")); + const configuredPackageManagers = packageManagersConfig.configuredPackageManagers; + if (!configuredPackageManagers) { + return { success: false, message: "Jfrog packages are not setup, please use the jfrog-setup-package-managers skill to complete setup. type /skill and select jfrog-cli" }; + } + + const results: { success: { packageManager: string }[]; error: { packageManager: string; error: string }[] } = { success: [], error: [] }; + for (const packageManager in configuredPackageManagers) { + const packageManagerConfig = configuredPackageManagers[packageManager]; + const result = await $`jf setup ${packageManager} --server-id ${packageManagerConfig.serverId} --repo ${packageManagerConfig.repository}`.nothrow().quiet(); + if (result.exitCode !== 0) { + results.error.push({ packageManager: packageManager, error: result.stderr }); + } else { + results.success.push({ packageManager: packageManager }); + } + } + + var errorMessages = ""; + if (results.error.length > 0) { + errorMessages = "Failed to configure package managers:" + results.error.map((e) => e.packageManager+" - "+e.error).join(", "); + + } + var successMessages = ""; + if (results.success.length > 0) { + successMessages = "Package managers configured successfully:" + results.success.map((s) => s.packageManager).join(", "); + } + var success = true; + if (results.error.length > 0) { + success = false; + } + log("return message="+errorMessages + successMessages); + + return { success: success, message: errorMessages + " " + successMessages}; + +} +const pullSkills = async( $, directory, log: (msg: string) => void): Promise<{ success: boolean; failedSkills?: string[] }> => { + + const failedSkills: string[] = []; + // pull JFrog instructions from Artifactory + const jfroginstructionExists = await $`test -f ${directory}/.jfrog/instructions/JFROG-INTEGRATION-MANAGEMENT.md`.nothrow().quiet() + if (jfroginstructionExists.exitCode !== 0) { + log("JFrog integration management instructions not found, importing them locally!") + const result = await fetchAndSaveFile( + `${INSTRUCTIONS_REGISTRY_URL}`, + `${directory}/.jfrog/instructions/JFROG-INTEGRATION-MANAGEMENT.md`, + log + ); + if (!result.success) { + log("Failed to import JFrog integration management instructions for Opencode: "+result.error); + failedSkills.push("JFROG-INTEGRATION-MANAGEMENT"); + } + log("JFrog integration management instructions imported!") + } + + // add array of skills to pull with their versions + const skillsToPull = [ + { name: "skill-install", version: "0.0.1" }, + { name: "skill-publish", version: "0.0.1" }, + { name: "jfrog-cli", version: "0.0.1" }, + { name: "opencode-jfrog-mcp", version: "0.0.1" }, + { name: "jfrog-setup-package-managers", version: "0.0.1" }, + { name: "jfrog-curation", version: "0.0.1" }, + { name: "jfrog-packages", version: "0.0.1" } + ]; + for (const skill of skillsToPull) { + const skillExists = await $`test -d ${directory}/.opencode/skills/${skill.name}/`.nothrow().quiet() + if (skillExists.exitCode !== 0) { + log("JFrog skill not found, importing them locally!") + const skillName = skill.name; + const skillVersion = skill.version; + const skillZipDir = `${directory}/.opencode/skills/${skillName}/${skillVersion}`; + const skillZipFile = `${skillZipDir}/${skillName}-${skillVersion}.zip`; + const result = await fetchAndSaveFile( + `${SKILLS_REGISTRY_URL}/${skillName}/${skillVersion}/${skillName}-${skillVersion}.zip`, + `${skillZipFile}`,log); + if (!result.success) { + log("Failed to import JFrog mcp skill: "+result.error); + failedSkills.push(skillName); + } + else { + const unzipResult = await extractZip($, directory, skillZipFile, skillName, skillZipDir, log); + if (!unzipResult.success) { + log(`Failed to extract ${skillName} skill: ${unzipResult.error}`); + failedSkills.push(skillName); + } + } + log(`${skillName} skill extracted!`) + } + } + // return success if no failed skills, otherwise return failed skills + if (failedSkills.length > 0) { + return { success: false, failedSkills: failedSkills }; + }else{ + return { success: true }; + } +} + +export const JfrogOpencodePlugin: Plugin = async ({ project, client, $, directory, worktree }) => { + const logDir = dirname(LOG_FILE); + if (!existsSync(logDir)) { + mkdirSync(logDir, { recursive: true }); + } + const log = (message: string) => { + //check if JFROG_DEBUG environment variable is set to true + if (process.env.JFROG_DEBUG_LOGS === "true") { + appendFileSync(LOG_FILE, message + "\n", "utf-8"); + } + }; + log("JfrogOpencodePlugin starting..."); + // check if JFrog skills management exists and if they do not, import them locally + const pullSkillsResponse = await pullSkills( $, directory, log); + // TODO add user message if skills are not imported, after checking !pullSkillsResponse.success + + return { + config: async (config) => { + config.instructions = config.instructions || []; + if (config.instructions.indexOf(".jfrog/instructions/JFROG-INTEGRATION-MANAGEMENT.md") === -1) { + config.instructions.push(".jfrog/instructions/JFROG-INTEGRATION-MANAGEMENT.md"); + log("jfrog integration management added to config"); + } + }, + event: async ({ event }) => { + if (event.type === "session.created") { + const sessionId = event.properties.info.id; + // responses list + const responses: { success: boolean; message: string }[] = []; + + var pkgMngrResponse: { success: boolean; message: string } | undefined + pkgMngrResponse = await setupPackageManagers(client, $, directory, sessionId, log); + if (pkgMngrResponse) { + responses.push(pkgMngrResponse); + } + log("pkgMngrResponse="+pkgMngrResponse?.message); + + await client.tui.showToast({ + body: { message: responses.filter((s) => !s.success).map((s) => s.message).join("\n\n"), variant: "error" , duration: 10000}, + }); + } + }, + } +} From 49379961916e806256967bb28bdf9b80be6e9a7a Mon Sep 17 00:00:00 2001 From: Carmit Hershman Date: Wed, 29 Apr 2026 11:30:13 +0300 Subject: [PATCH 03/15] chore: update version and refactor plugin export structure --- package.json | 2 +- src/index.ts | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 84d632d..7bd829d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "opencode-jfrog-plugin", - "version": "0.0.1", + "version": "0.0.1-next.2-next.2", "description": "JFrog Plugin for seamless integration to Opencode", "author": { "name": "JFrog", diff --git a/src/index.ts b/src/index.ts index 3b4a61b..ecf7815 100644 --- a/src/index.ts +++ b/src/index.ts @@ -156,7 +156,8 @@ const pullSkills = async( $, directory, log: (msg: string) => void): Promise<{ s } } -export const JfrogOpencodePlugin: Plugin = async ({ project, client, $, directory, worktree }) => { +/** OpenCode loads plugins via the `server` export (see `PluginModule` in @opencode-ai/plugin). */ +const jfrogOpencodePlugin: Plugin = async ({ project, client, $, directory, worktree }) => { const logDir = dirname(LOG_FILE); if (!existsSync(logDir)) { mkdirSync(logDir, { recursive: true }); @@ -199,4 +200,7 @@ export const JfrogOpencodePlugin: Plugin = async ({ project, client, $, director } }, } -} +}; + +export const server = jfrogOpencodePlugin; +export const JfrogOpencodePlugin = jfrogOpencodePlugin; From e6315708eb7777731f32255b2cb0fe1d17a7b542 Mon Sep 17 00:00:00 2001 From: Carmit Hershman Date: Wed, 29 Apr 2026 16:04:31 +0300 Subject: [PATCH 04/15] Resolve post-merge conflicts and align plugin with main - Keep README and package.json from merged main; restore index.ts from main (4937996) with lint-safe fixes (PluginInput typing, remove unused imports/vars, fix skill log template, stream body cast). - Add Bun tests for plugin hooks and jf CLI toast; extend ESLint for fetch and test globals. --- eslint.config.js | 16 ++ src/index.test.ts | 167 +++++++++++++++++ src/index.ts | 447 +++++++++++++++++++++++++++------------------- 3 files changed, 444 insertions(+), 186 deletions(-) create mode 100644 src/index.test.ts diff --git a/eslint.config.js b/eslint.config.js index cefff8d..173c44e 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -22,6 +22,7 @@ export default tseslint.config( console: 'readonly', process: 'readonly', Buffer: 'readonly', + fetch: 'readonly', // Bun globals Bun: 'readonly', }, @@ -35,9 +36,24 @@ export default tseslint.config( ...tseslint.configs.recommended.rules, ...prettier.rules, 'prettier/prettier': 'error', + 'no-unused-vars': 'off', + '@typescript-eslint/no-unused-vars': [ + 'error', + { argsIgnorePattern: '^_', varsIgnorePattern: '^_', caughtErrorsIgnorePattern: '^_' }, + ], '@typescript-eslint/explicit-function-return-type': 'off', '@typescript-eslint/no-explicit-any': 'warn', 'no-console': 'error', }, + }, + { + files: ['**/*.test.ts'], + languageOptions: { + globals: { + Response: 'readonly', + Request: 'readonly', + URL: 'readonly', + }, + }, } ); diff --git a/src/index.test.ts b/src/index.test.ts new file mode 100644 index 0000000..340161c --- /dev/null +++ b/src/index.test.ts @@ -0,0 +1,167 @@ +import { describe, it, expect, beforeEach, afterEach, mock } from 'bun:test'; +import { mkdirSync, writeFileSync, rmSync, mkdtempSync } from 'node:fs'; +import { tmpdir } from 'node:os'; +import { join } from 'node:path'; +import type { Config, PluginInput } from '@opencode-ai/plugin'; +import { server, JfrogOpencodePlugin } from './index.ts'; + +function tpl(strings: TemplateStringsArray, values: unknown[]): string { + let out = ''; + for (let i = 0; i < strings.length; i++) { + out += strings[i]; + if (i < values.length) { + out += String(values[i]); + } + } + return out; +} + +/** Minimal stand-in for BunShell used by the plugin (only `.nothrow().quiet()` chains). */ +function createShellMock(options: { jfVersionExitCode?: number } = {}) { + const jfVersionExitCode = options.jfVersionExitCode ?? 0; + return function $(strings: TemplateStringsArray, ...values: unknown[]) { + const cmd = tpl(strings, values); + let exitCode = 0; + let stderr = ''; + if (cmd.includes('jf --version')) { + exitCode = jfVersionExitCode; + if (jfVersionExitCode !== 0) { + stderr = 'jf: command not found'; + } + } else if (cmd.includes('test -d') && cmd.includes('.opencode/skills')) { + exitCode = 1; + } + const result = { exitCode, stderr }; + return { + nothrow() { + return { + quiet() { + return Promise.resolve(result); + }, + }; + }, + }; + } as unknown as PluginInput['$']; +} + +describe('jfrog opencode plugin exports', () => { + it('exposes the same plugin as server and JfrogOpencodePlugin', () => { + expect(server).toBe(JfrogOpencodePlugin); + }); +}); + +describe('JfrogOpencodePlugin', () => { + let projectRoot: string; + let homeDir: string; + let prevCwd: string; + let prevHome: string | undefined; + let originalFetch: typeof fetch; + let fetchMock: ReturnType; + + beforeEach(() => { + originalFetch = globalThis.fetch; + prevCwd = process.cwd(); + prevHome = process.env.HOME; + projectRoot = mkdtempSync(join(tmpdir(), 'jfrog-plugin-proj-')); + homeDir = mkdtempSync(join(tmpdir(), 'jfrog-plugin-home-')); + process.chdir(projectRoot); + process.env.HOME = homeDir; + mkdirSync(join(projectRoot, '.jfrog', 'instructions'), { recursive: true }); + writeFileSync( + join(projectRoot, '.jfrog', 'instructions', 'JFROG-INTEGRATION-MANAGEMENT.md'), + '# test instructions\n' + ); + mkdirSync(join(homeDir, '.config', 'opencode', 'skills'), { recursive: true }); + fetchMock = mock((input: string | Request) => { + const url = typeof input === 'string' ? input : input.url; + if (url.endsWith('.zip') || url.includes('.zip')) { + return Promise.resolve(new Response(null, { status: 404 })); + } + return Promise.resolve(Response.json({ skills: [] })); + }); + globalThis.fetch = fetchMock as unknown as typeof fetch; + }); + + afterEach(() => { + globalThis.fetch = originalFetch; + process.chdir(prevCwd); + if (prevHome === undefined) { + delete process.env.HOME; + } else { + process.env.HOME = prevHome; + } + rmSync(projectRoot, { recursive: true, force: true }); + rmSync(homeDir, { recursive: true, force: true }); + }); + + function createClient() { + return { + tui: { + showToast: mock(() => Promise.resolve()), + }, + } as unknown as PluginInput['client']; + } + + function pluginInput($: PluginInput['$'], client?: PluginInput['client']): PluginInput { + return { + client: client ?? createClient(), + $, + directory: projectRoot, + project: {} as PluginInput['project'], + worktree: projectRoot, + experimental_workspace: { register: () => {} }, + serverUrl: new URL('http://127.0.0.1:4096'), + }; + } + + it('loads with pullSkills using stubbed fetch and returns hooks', async () => { + const hooks = await server(pluginInput(createShellMock())); + expect(hooks.config).toBeDefined(); + expect(hooks.event).toBeDefined(); + expect(fetchMock.mock.calls.length).toBeGreaterThan(0); + }); + + it('config adds JFrog integration instructions when missing', async () => { + const hooks = await server(pluginInput(createShellMock())); + const config = { instructions: [] as string[] }; + await hooks.config?.(config as Config); + expect(config.instructions).toContain('.jfrog/instructions/JFROG-INTEGRATION-MANAGEMENT.md'); + }); + + it('config does not duplicate the JFrog instructions path', async () => { + const hooks = await server(pluginInput(createShellMock())); + const path = '.jfrog/instructions/JFROG-INTEGRATION-MANAGEMENT.md'; + const config = { instructions: [path] }; + await hooks.config?.(config as Config); + expect(config.instructions.filter((p) => p === path).length).toBe(1); + }); + + it('session.created shows error toast when jf CLI is missing', async () => { + const client = createClient(); + const hooks = await JfrogOpencodePlugin( + pluginInput(createShellMock({ jfVersionExitCode: 127 }), client) + ); + + await hooks.event?.({ + event: { + type: 'session.created', + properties: { + info: { + id: 'sess-1', + projectID: 'proj-1', + directory: projectRoot, + title: 't', + version: '1', + time: { created: 0, updated: 0 }, + }, + }, + } as never, + }); + + expect(client.tui.showToast).toHaveBeenCalled(); + const showToast = client.tui.showToast as ReturnType; + const call = showToast.mock.calls[0]?.[0]; + expect(call?.body?.variant).toBe('error'); + expect(String(call?.body?.message)).toContain('Jfrog cli is not installed'); + }); +}); diff --git a/src/index.ts b/src/index.ts index ecf7815..646955b 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,205 +1,280 @@ -import type { Plugin } from "@opencode-ai/plugin" -import { appendFileSync, createWriteStream, readFileSync, writeFileSync, existsSync, mkdirSync } from "fs"; -import { Readable } from "stream"; -import { pipeline } from "stream/promises"; -import { dirname, join } from "path"; - -const LOG_FILE = join(process.cwd(), ".opencode", "event-log.txt"); -const SKILLS_REGISTRY_URL = "https://releases.jfrog.io/artifactory/jfrog-skills/"; -const INSTRUCTIONS_REGISTRY_URL = "https://releases.jfrog.io/artifactory/run/ai/integrations/opencode/JFROG-INTEGRATION-MANAGEMENT.md"; - -const fetchAndSaveFile = async (url: string, destPath: string, log: (msg: string) => void): Promise<{ success: boolean; error?: string }> => { - const dir = dirname(destPath); - log("Fetching file from "+url+" and saving to "+destPath); - if (!existsSync(dir)) { - mkdirSync(dir, { recursive: true }); - } - // fetch largfile using stream and save to file - const response = await fetch(url); - if (!response.body) { - return { success: false, error: `No response body from ${url}` }; - } - const writer = createWriteStream(destPath); - await pipeline(Readable.fromWeb(response.body as Parameters[0]), writer); - return { success: true }; -} - -const extractZip = async ($: any, directory: any, skillZipFile: string, skillName: string, skillZipDir: string, log: (msg: string) => void): Promise<{ success: boolean; error?: string }> => { - // extract zip file, and check command response - const unzipResponse = await $`unzip -o ${skillZipFile} -d ${directory}/.opencode/skills/${skillName}`.nothrow().quiet(); - if (unzipResponse.exitCode !== 0) { - log(`Failed to extract JFrog ${skillName} skill: ${unzipResponse.stderr}`); - return { success: false, error: `Failed to extract JFrog ${skillName} skill: ${unzipResponse.stderr}`}; - } - log("JFrog ${skillName} skill extracted!") - // remove zip file and its version directory - await $`rm -fR ${skillZipDir}` - log(`Jfrog ${skillName} skill directory removed!`) - return { success: true }; -} +import type { Plugin, PluginInput } from '@opencode-ai/plugin'; +import { appendFileSync, createWriteStream, readFileSync, existsSync, mkdirSync } from 'fs'; +import { Readable } from 'stream'; +import { pipeline } from 'stream/promises'; +import { dirname, join } from 'path'; -const setupPackageManagers = async (client: any, $: any, directory: any, sessionId: any, log: (msg: string) => { success: boolean; message: string } | undefined) => { - // check if jfrog-cli is installed using jf --version +const LOG_FILE = join(process.cwd(), '.opencode', 'event-log.txt'); +const SKILLS_REGISTRY_URL = 'https://releases.jfrog.io/artifactory/jfrog-skills/'; +const INSTRUCTIONS_REGISTRY_URL = + 'https://releases.jfrog.io/artifactory/run/ai/integrations/opencode/JFROG-INTEGRATION-MANAGEMENT.md'; - let jfVersion: { exitCode: number } | undefined; - try { - jfVersion = await $`jf --version`.nothrow().quiet(); - } catch (e) { - log("jf version command threw: " + e); - return { success: false, message: "Jfrog cli is not installed, please use the jfrog-cli skill to install it" }; - } +const fetchAndSaveFile = async ( + url: string, + destPath: string, + log: (msg: string) => void +): Promise<{ success: boolean; error?: string }> => { + const dir = dirname(destPath); + log('Fetching file from ' + url + ' and saving to ' + destPath); + if (!existsSync(dir)) { + mkdirSync(dir, { recursive: true }); + } + // fetch largfile using stream and save to file + const response = await fetch(url); + if (!response.body) { + return { success: false, error: `No response body from ${url}` }; + } + const writer = createWriteStream(destPath); + await pipeline( + Readable.fromWeb(response.body as unknown as Parameters[0]), + writer + ); + return { success: true }; +}; - if (!jfVersion || jfVersion.exitCode !== 0) { - log("jf version command failed"); - return { success: false, message: "Jfrog cli is not installed, please use the jfrog-cli skill to install it" }; - } - const packageManagersFile = join(directory, ".jfrog", "local", "package-managers.json"); - if (!existsSync(packageManagersFile)) { - return { success: false, message: "Jfrog packages are not setup, please use the jfrog-setup-package-managers skill to complete setup. type /skill and select jfrog-setup-package-managers" }; - - } +const extractZip = async ( + $: any, + directory: any, + skillZipFile: string, + skillName: string, + skillZipDir: string, + log: (msg: string) => void +): Promise<{ success: boolean; error?: string }> => { + // extract zip file, and check command response + const unzipResponse = + await $`unzip -o ${skillZipFile} -d ${directory}/.opencode/skills/${skillName}` + .nothrow() + .quiet(); + if (unzipResponse.exitCode !== 0) { + log(`Failed to extract JFrog ${skillName} skill: ${unzipResponse.stderr}`); + return { + success: false, + error: `Failed to extract JFrog ${skillName} skill: ${unzipResponse.stderr}`, + }; + } + log(`JFrog ${skillName} skill extracted!`); + // remove zip file and its version directory + await $`rm -fR ${skillZipDir}`; + log(`Jfrog ${skillName} skill directory removed!`); + return { success: true }; +}; - const packageManagersConfig = JSON.parse(readFileSync(packageManagersFile, "utf8")); - const configuredPackageManagers = packageManagersConfig.configuredPackageManagers; - if (!configuredPackageManagers) { - return { success: false, message: "Jfrog packages are not setup, please use the jfrog-setup-package-managers skill to complete setup. type /skill and select jfrog-cli" }; - } +const setupPackageManagers = async ( + client: any, + $: any, + directory: any, + _sessionId: unknown, + log: (msg: string) => void +) => { + // check if jfrog-cli is installed using jf --version - const results: { success: { packageManager: string }[]; error: { packageManager: string; error: string }[] } = { success: [], error: [] }; - for (const packageManager in configuredPackageManagers) { - const packageManagerConfig = configuredPackageManagers[packageManager]; - const result = await $`jf setup ${packageManager} --server-id ${packageManagerConfig.serverId} --repo ${packageManagerConfig.repository}`.nothrow().quiet(); - if (result.exitCode !== 0) { - results.error.push({ packageManager: packageManager, error: result.stderr }); - } else { - results.success.push({ packageManager: packageManager }); - } - } + let jfVersion: { exitCode: number } | undefined; + try { + jfVersion = await $`jf --version`.nothrow().quiet(); + } catch (e) { + log('jf version command threw: ' + e); + return { + success: false, + message: 'Jfrog cli is not installed, please use the jfrog-cli skill to install it', + }; + } + + if (!jfVersion || jfVersion.exitCode !== 0) { + log('jf version command failed'); + return { + success: false, + message: 'Jfrog cli is not installed, please use the jfrog-cli skill to install it', + }; + } + const packageManagersFile = join(directory, '.jfrog', 'local', 'package-managers.json'); + if (!existsSync(packageManagersFile)) { + return { + success: false, + message: + 'Jfrog packages are not setup, please use the jfrog-setup-package-managers skill to complete setup. type /skill and select jfrog-setup-package-managers', + }; + } - var errorMessages = ""; - if (results.error.length > 0) { - errorMessages = "Failed to configure package managers:" + results.error.map((e) => e.packageManager+" - "+e.error).join(", "); + const packageManagersConfig = JSON.parse(readFileSync(packageManagersFile, 'utf8')); + const configuredPackageManagers = packageManagersConfig.configuredPackageManagers; + if (!configuredPackageManagers) { + return { + success: false, + message: + 'Jfrog packages are not setup, please use the jfrog-setup-package-managers skill to complete setup. type /skill and select jfrog-cli', + }; + } + const results: { + success: { packageManager: string }[]; + error: { packageManager: string; error: string }[]; + } = { success: [], error: [] }; + for (const packageManager in configuredPackageManagers) { + const packageManagerConfig = configuredPackageManagers[packageManager]; + const result = + await $`jf setup ${packageManager} --server-id ${packageManagerConfig.serverId} --repo ${packageManagerConfig.repository}` + .nothrow() + .quiet(); + if (result.exitCode !== 0) { + results.error.push({ packageManager: packageManager, error: result.stderr }); + } else { + results.success.push({ packageManager: packageManager }); } - var successMessages = ""; - if (results.success.length > 0) { - successMessages = "Package managers configured successfully:" + results.success.map((s) => s.packageManager).join(", "); - } - var success = true; - if (results.error.length > 0) { - success = false; - } - log("return message="+errorMessages + successMessages); - - return { success: success, message: errorMessages + " " + successMessages}; - -} -const pullSkills = async( $, directory, log: (msg: string) => void): Promise<{ success: boolean; failedSkills?: string[] }> => { - - const failedSkills: string[] = []; - // pull JFrog instructions from Artifactory - const jfroginstructionExists = await $`test -f ${directory}/.jfrog/instructions/JFROG-INTEGRATION-MANAGEMENT.md`.nothrow().quiet() - if (jfroginstructionExists.exitCode !== 0) { - log("JFrog integration management instructions not found, importing them locally!") - const result = await fetchAndSaveFile( - `${INSTRUCTIONS_REGISTRY_URL}`, - `${directory}/.jfrog/instructions/JFROG-INTEGRATION-MANAGEMENT.md`, - log - ); - if (!result.success) { - log("Failed to import JFrog integration management instructions for Opencode: "+result.error); - failedSkills.push("JFROG-INTEGRATION-MANAGEMENT"); - } - log("JFrog integration management instructions imported!") + } + + var errorMessages = ''; + if (results.error.length > 0) { + errorMessages = + 'Failed to configure package managers:' + + results.error.map((e) => e.packageManager + ' - ' + e.error).join(', '); + } + var successMessages = ''; + if (results.success.length > 0) { + successMessages = + 'Package managers configured successfully:' + + results.success.map((s) => s.packageManager).join(', '); + } + var success = true; + if (results.error.length > 0) { + success = false; + } + log('return message=' + errorMessages + successMessages); + + return { success: success, message: errorMessages + ' ' + successMessages }; +}; +const pullSkills = async ( + $: PluginInput['$'], + directory: string, + log: (msg: string) => void +): Promise<{ success: boolean; failedSkills?: string[] }> => { + const failedSkills: string[] = []; + // pull JFrog instructions from Artifactory + const jfroginstructionExists = + await $`test -f ${directory}/.jfrog/instructions/JFROG-INTEGRATION-MANAGEMENT.md` + .nothrow() + .quiet(); + if (jfroginstructionExists.exitCode !== 0) { + log('JFrog integration management instructions not found, importing them locally!'); + const result = await fetchAndSaveFile( + `${INSTRUCTIONS_REGISTRY_URL}`, + `${directory}/.jfrog/instructions/JFROG-INTEGRATION-MANAGEMENT.md`, + log + ); + if (!result.success) { + log( + 'Failed to import JFrog integration management instructions for Opencode: ' + result.error + ); + failedSkills.push('JFROG-INTEGRATION-MANAGEMENT'); } + log('JFrog integration management instructions imported!'); + } - // add array of skills to pull with their versions - const skillsToPull = [ - { name: "skill-install", version: "0.0.1" }, - { name: "skill-publish", version: "0.0.1" }, - { name: "jfrog-cli", version: "0.0.1" }, - { name: "opencode-jfrog-mcp", version: "0.0.1" }, - { name: "jfrog-setup-package-managers", version: "0.0.1" }, - { name: "jfrog-curation", version: "0.0.1" }, - { name: "jfrog-packages", version: "0.0.1" } - ]; - for (const skill of skillsToPull) { - const skillExists = await $`test -d ${directory}/.opencode/skills/${skill.name}/`.nothrow().quiet() - if (skillExists.exitCode !== 0) { - log("JFrog skill not found, importing them locally!") - const skillName = skill.name; - const skillVersion = skill.version; - const skillZipDir = `${directory}/.opencode/skills/${skillName}/${skillVersion}`; - const skillZipFile = `${skillZipDir}/${skillName}-${skillVersion}.zip`; - const result = await fetchAndSaveFile( - `${SKILLS_REGISTRY_URL}/${skillName}/${skillVersion}/${skillName}-${skillVersion}.zip`, - `${skillZipFile}`,log); - if (!result.success) { - log("Failed to import JFrog mcp skill: "+result.error); - failedSkills.push(skillName); - } - else { - const unzipResult = await extractZip($, directory, skillZipFile, skillName, skillZipDir, log); - if (!unzipResult.success) { - log(`Failed to extract ${skillName} skill: ${unzipResult.error}`); - failedSkills.push(skillName); - } - } - log(`${skillName} skill extracted!`) + // add array of skills to pull with their versions + const skillsToPull = [ + { name: 'skill-install', version: '0.0.1' }, + { name: 'skill-publish', version: '0.0.1' }, + { name: 'jfrog-cli', version: '0.0.1' }, + { name: 'opencode-jfrog-mcp', version: '0.0.1' }, + { name: 'jfrog-setup-package-managers', version: '0.0.1' }, + { name: 'jfrog-curation', version: '0.0.1' }, + { name: 'jfrog-packages', version: '0.0.1' }, + ]; + for (const skill of skillsToPull) { + const skillExists = await $`test -d ${directory}/.opencode/skills/${skill.name}/` + .nothrow() + .quiet(); + if (skillExists.exitCode !== 0) { + log('JFrog skill not found, importing them locally!'); + const skillName = skill.name; + const skillVersion = skill.version; + const skillZipDir = `${directory}/.opencode/skills/${skillName}/${skillVersion}`; + const skillZipFile = `${skillZipDir}/${skillName}-${skillVersion}.zip`; + const result = await fetchAndSaveFile( + `${SKILLS_REGISTRY_URL}/${skillName}/${skillVersion}/${skillName}-${skillVersion}.zip`, + `${skillZipFile}`, + log + ); + if (!result.success) { + log('Failed to import JFrog mcp skill: ' + result.error); + failedSkills.push(skillName); + } else { + const unzipResult = await extractZip( + $, + directory, + skillZipFile, + skillName, + skillZipDir, + log + ); + if (!unzipResult.success) { + log(`Failed to extract ${skillName} skill: ${unzipResult.error}`); + failedSkills.push(skillName); } + } + log(`${skillName} skill extracted!`); } - // return success if no failed skills, otherwise return failed skills - if (failedSkills.length > 0) { - return { success: false, failedSkills: failedSkills }; - }else{ - return { success: true }; - } -} + } + // return success if no failed skills, otherwise return failed skills + if (failedSkills.length > 0) { + return { success: false, failedSkills: failedSkills }; + } else { + return { success: true }; + } +}; /** OpenCode loads plugins via the `server` export (see `PluginModule` in @opencode-ai/plugin). */ -const jfrogOpencodePlugin: Plugin = async ({ project, client, $, directory, worktree }) => { - const logDir = dirname(LOG_FILE); - if (!existsSync(logDir)) { - mkdirSync(logDir, { recursive: true }); +const jfrogOpencodePlugin: Plugin = async ({ client, $, directory }) => { + const logDir = dirname(LOG_FILE); + if (!existsSync(logDir)) { + mkdirSync(logDir, { recursive: true }); + } + const log = (message: string) => { + //check if JFROG_DEBUG environment variable is set to true + if (process.env.JFROG_DEBUG_LOGS === 'true') { + appendFileSync(LOG_FILE, message + '\n', 'utf-8'); } - const log = (message: string) => { - //check if JFROG_DEBUG environment variable is set to true - if (process.env.JFROG_DEBUG_LOGS === "true") { - appendFileSync(LOG_FILE, message + "\n", "utf-8"); + }; + log('JfrogOpencodePlugin starting...'); + // check if JFrog skills management exists and if they do not, import them locally + await pullSkills($, directory, log); + // TODO add user message if skills are not imported (inspect pullSkills result) + + return { + config: async (config) => { + config.instructions = config.instructions || []; + if ( + config.instructions.indexOf('.jfrog/instructions/JFROG-INTEGRATION-MANAGEMENT.md') === -1 + ) { + config.instructions.push('.jfrog/instructions/JFROG-INTEGRATION-MANAGEMENT.md'); + log('jfrog integration management added to config'); + } + }, + event: async ({ event }) => { + if (event.type === 'session.created') { + const sessionId = event.properties.info.id; + // responses list + const responses: { success: boolean; message: string }[] = []; + + var pkgMngrResponse: { success: boolean; message: string } | undefined; + pkgMngrResponse = await setupPackageManagers(client, $, directory, sessionId, log); + if (pkgMngrResponse) { + responses.push(pkgMngrResponse); } - }; - log("JfrogOpencodePlugin starting..."); - // check if JFrog skills management exists and if they do not, import them locally - const pullSkillsResponse = await pullSkills( $, directory, log); - // TODO add user message if skills are not imported, after checking !pullSkillsResponse.success - - return { - config: async (config) => { - config.instructions = config.instructions || []; - if (config.instructions.indexOf(".jfrog/instructions/JFROG-INTEGRATION-MANAGEMENT.md") === -1) { - config.instructions.push(".jfrog/instructions/JFROG-INTEGRATION-MANAGEMENT.md"); - log("jfrog integration management added to config"); - } - }, - event: async ({ event }) => { - if (event.type === "session.created") { - const sessionId = event.properties.info.id; - // responses list - const responses: { success: boolean; message: string }[] = []; - - var pkgMngrResponse: { success: boolean; message: string } | undefined - pkgMngrResponse = await setupPackageManagers(client, $, directory, sessionId, log); - if (pkgMngrResponse) { - responses.push(pkgMngrResponse); - } - log("pkgMngrResponse="+pkgMngrResponse?.message); - - await client.tui.showToast({ - body: { message: responses.filter((s) => !s.success).map((s) => s.message).join("\n\n"), variant: "error" , duration: 10000}, - }); - } - }, - } + log('pkgMngrResponse=' + pkgMngrResponse?.message); + + await client.tui.showToast({ + body: { + message: responses + .filter((s) => !s.success) + .map((s) => s.message) + .join('\n\n'), + variant: 'error', + duration: 10000, + }, + }); + } + }, + }; }; export const server = jfrogOpencodePlugin; From 1218adbc96ad172b95e8870b06869db590426432 Mon Sep 17 00:00:00 2001 From: Carmit Hershman Date: Wed, 29 Apr 2026 16:12:36 +0300 Subject: [PATCH 05/15] chore: enhance ESLint configuration, update package.json, and add initial tests for plugin functionality --- src/index.ts | 95 +++++++++++++++++++++++++++++++++------------------- 1 file changed, 60 insertions(+), 35 deletions(-) diff --git a/src/index.ts b/src/index.ts index 646955b..56e077c 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,27 +1,31 @@ -import type { Plugin, PluginInput } from '@opencode-ai/plugin'; +import type { Plugin } from '@opencode-ai/plugin'; import { appendFileSync, createWriteStream, readFileSync, existsSync, mkdirSync } from 'fs'; import { Readable } from 'stream'; import { pipeline } from 'stream/promises'; import { dirname, join } from 'path'; const LOG_FILE = join(process.cwd(), '.opencode', 'event-log.txt'); -const SKILLS_REGISTRY_URL = 'https://releases.jfrog.io/artifactory/jfrog-skills/'; +const SKILLS_REGISTRY_URL = 'https://releases.jfrog.io/artifactory/jfrog-skills'; const INSTRUCTIONS_REGISTRY_URL = 'https://releases.jfrog.io/artifactory/run/ai/integrations/opencode/JFROG-INTEGRATION-MANAGEMENT.md'; +const SKILLS_TO_INSTALL_URL = + 'https://releases.jfrog.io/artifactory/run/ai/integrations/opencode/JFROG-OPENCODE_SKILLS.json'; const fetchAndSaveFile = async ( url: string, destPath: string, - log: (msg: string) => void + log: (_msg: string) => void ): Promise<{ success: boolean; error?: string }> => { const dir = dirname(destPath); log('Fetching file from ' + url + ' and saving to ' + destPath); if (!existsSync(dir)) { + log('Creating skills directory: ' + dir); mkdirSync(dir, { recursive: true }); } // fetch largfile using stream and save to file const response = await fetch(url); if (!response.body) { + log(`Failed to fetch Skill ${name} from ${url}, No response body from ${url}`); return { success: false, error: `No response body from ${url}` }; } const writer = createWriteStream(destPath); @@ -38,13 +42,10 @@ const extractZip = async ( skillZipFile: string, skillName: string, skillZipDir: string, - log: (msg: string) => void + log: (_msg: string) => void ): Promise<{ success: boolean; error?: string }> => { // extract zip file, and check command response - const unzipResponse = - await $`unzip -o ${skillZipFile} -d ${directory}/.opencode/skills/${skillName}` - .nothrow() - .quiet(); + const unzipResponse = await $`unzip -o ${skillZipFile} -d ${skillZipDir}`.nothrow().quiet(); if (unzipResponse.exitCode !== 0) { log(`Failed to extract JFrog ${skillName} skill: ${unzipResponse.stderr}`); return { @@ -54,8 +55,8 @@ const extractZip = async ( } log(`JFrog ${skillName} skill extracted!`); // remove zip file and its version directory - await $`rm -fR ${skillZipDir}`; - log(`Jfrog ${skillName} skill directory removed!`); + await $`rm -fR ${skillZipFile}`; + log(`Jfrog ${skillName} skill zip file removed!`); return { success: true }; }; @@ -63,8 +64,8 @@ const setupPackageManagers = async ( client: any, $: any, directory: any, - _sessionId: unknown, - log: (msg: string) => void + sessionId: any, + log: (_msg: string) => void ) => { // check if jfrog-cli is installed using jf --version @@ -143,9 +144,9 @@ const setupPackageManagers = async ( return { success: success, message: errorMessages + ' ' + successMessages }; }; const pullSkills = async ( - $: PluginInput['$'], - directory: string, - log: (msg: string) => void + $: any, + directory: any, + log: (_msg: string) => void ): Promise<{ success: boolean; failedSkills?: string[] }> => { const failedSkills: string[] = []; // pull JFrog instructions from Artifactory @@ -162,33 +163,57 @@ const pullSkills = async ( ); if (!result.success) { log( - 'Failed to import JFrog integration management instructions for Opencode: ' + result.error + `Failed to import JFrog integration management instructions for Opencode: ${result.error}` ); failedSkills.push('JFROG-INTEGRATION-MANAGEMENT'); } log('JFrog integration management instructions imported!'); } + // fetch base skills list + const response = await fetch(SKILLS_TO_INSTALL_URL); + if (!response.body) { + log( + `Failed to fetch base skills list from ${SKILLS_TO_INSTALL_URL}, No response body from ${SKILLS_TO_INSTALL_URL}` + ); + return { + success: false, + failedSkills: [`ALL Skills failed to fetch, No response body from ${SKILLS_TO_INSTALL_URL}, cannot install skills`], + }; + } + //read skills_body from response + const skillsBody = await response.json(); + /* + * Example skills body: + { + "skills": [ + { + "name": "skill-install", + "version": "0.0.1" + } + ] + } + */ + const skillsToPull = skillsBody.skills.map((skill: any) => ({ + name: skill.name, + version: skill.version, + })); - // add array of skills to pull with their versions - const skillsToPull = [ - { name: 'skill-install', version: '0.0.1' }, - { name: 'skill-publish', version: '0.0.1' }, - { name: 'jfrog-cli', version: '0.0.1' }, - { name: 'opencode-jfrog-mcp', version: '0.0.1' }, - { name: 'jfrog-setup-package-managers', version: '0.0.1' }, - { name: 'jfrog-curation', version: '0.0.1' }, - { name: 'jfrog-packages', version: '0.0.1' }, - ]; + // log process.env.OPENCODE_HOME + log(`HOME: ${process.env.HOME}`); + // check skills dir exists on user's home directory + const skillsDir = join(process.env.HOME || '~', '.config', 'opencode', 'skills'); + if (!existsSync(skillsDir)) { + mkdirSync(skillsDir, { recursive: true }); + log(`Skills directory created: ${skillsDir}`); + } for (const skill of skillsToPull) { - const skillExists = await $`test -d ${directory}/.opencode/skills/${skill.name}/` - .nothrow() - .quiet(); + const skillExists = await $`test -d ~/.config/opencode/skills/${skill.name}/`.nothrow().quiet(); if (skillExists.exitCode !== 0) { - log('JFrog skill not found, importing them locally!'); + log(`JFrog ${skill.name} skill not found, importing them locally!`); const skillName = skill.name; const skillVersion = skill.version; - const skillZipDir = `${directory}/.opencode/skills/${skillName}/${skillVersion}`; - const skillZipFile = `${skillZipDir}/${skillName}-${skillVersion}.zip`; + const skillZipDir = join(skillsDir, skillName, skillVersion); + const skillZipFile = join(skillZipDir, `${skillName}-${skillVersion}.zip`); const result = await fetchAndSaveFile( `${SKILLS_REGISTRY_URL}/${skillName}/${skillVersion}/${skillName}-${skillVersion}.zip`, `${skillZipFile}`, @@ -236,9 +261,9 @@ const jfrogOpencodePlugin: Plugin = async ({ client, $, directory }) => { }; log('JfrogOpencodePlugin starting...'); // check if JFrog skills management exists and if they do not, import them locally - await pullSkills($, directory, log); - // TODO add user message if skills are not imported (inspect pullSkills result) - + const pullSkillsResponse = await pullSkills($, directory, log); + // TODO consider user message if skills are not imported (inspect pullSkillsResponse) + log('pullSkillsResponse=' + JSON.stringify(pullSkillsResponse)); return { config: async (config) => { config.instructions = config.instructions || []; From 4337119f42a65dd53849134300a0de644c224565 Mon Sep 17 00:00:00 2001 From: Carmit Hershman Date: Wed, 29 Apr 2026 16:46:58 +0300 Subject: [PATCH 06/15] fix: update README to reflect correct path for skills directory --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 327d438..9164418 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ The plugin configuration looks like this: ## How this works Once opencode starts it runs the plugin. The plugin then: -1. Pulls a few base skills that allow the integration from the developer opencode instance into JFrog (can be found under `/.opencode/skills`) +1. Pulls a few base skills that allow the integration from the developer opencode instance into JFrog (can be found under `~/.config/opencode/skills`) 2. Pulls integration instructions adding LLM hints on how to integrate with JFrog (can be found under `/.jfrog/instructions`) 3. Appends integration instructions into the runtime opencode config @@ -54,7 +54,7 @@ Within opencode, when tasks require a JFrog skill, the triggered skill will guid ### Integration setup artifacts LLM instructions are automatically created at `/.jfrog/instructions` Package management mappings are created at `/.jfrog/local/package-managers.json` -Skills are created under `/.opencode/skills` +Skills are created under `~/.config/opencode/skills` ## Troubleshooting The JFrog plugin pulls a minimal set of JFrog integration skills and LLM instructions that allow for the integration. It also adds the instructions file into the opencode project configuration file. From 8436c6eee10099bfd0971d5c48ca2285074aa4ef Mon Sep 17 00:00:00 2001 From: Carmit Hershman Date: Wed, 29 Apr 2026 17:14:27 +0300 Subject: [PATCH 07/15] chore: update package.json and improve error handling in index.ts - Changed package name to @jfrog/opencode-jfrog-plugin and updated version to 0.0.1-next.11. - Added module and main entry points in package.json. - Enhanced error handling in fetchAndSaveFile and pullSkills functions to provide more informative logging and return values. --- package.json | 9 ++++++--- src/index.ts | 18 ++++++++++++++---- 2 files changed, 20 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index 7bd829d..52ade7e 100644 --- a/package.json +++ b/package.json @@ -1,12 +1,13 @@ { - "name": "opencode-jfrog-plugin", - "version": "0.0.1-next.2-next.2", + "name": "@jfrog/opencode-jfrog-plugin", + "version": "0.0.1-next.11", "description": "JFrog Plugin for seamless integration to Opencode", "author": { "name": "JFrog", "email": "carmith@jfrog.com" }, "type": "module", + "module": "src/index.ts", "exports": { ".": { "types": "./dist/index.d.ts", @@ -15,7 +16,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/jfrog/opencode-jfrog-plugin.git" + "url": "git+https://github.com/jfrog/opencode-jfrog-plugin.git" }, "publishConfig": { "access": "public" @@ -24,6 +25,8 @@ "dist", "src/version.ts" ], + "main": "dist/index.js", + "types": "dist/index.d.ts", "devDependencies": { "@eslint/js": "^9.39.1", "@types/node": "^20.11.5", diff --git a/src/index.ts b/src/index.ts index 56e077c..65aa9bf 100644 --- a/src/index.ts +++ b/src/index.ts @@ -24,8 +24,8 @@ const fetchAndSaveFile = async ( } // fetch largfile using stream and save to file const response = await fetch(url); - if (!response.body) { - log(`Failed to fetch Skill ${name} from ${url}, No response body from ${url}`); + if (!response.ok || !response.body) { + log(`Failed to fetch file from ${url}, status: ${response.status}, No response body from ${url}`); return { success: false, error: `No response body from ${url}` }; } const writer = createWriteStream(destPath); @@ -33,7 +33,8 @@ const fetchAndSaveFile = async ( Readable.fromWeb(response.body as unknown as Parameters[0]), writer ); - return { success: true }; + + return { success: true, error: undefined }; }; const extractZip = async ( @@ -193,6 +194,14 @@ const pullSkills = async ( ] } */ + if (!skillsBody.skills) { + log(`Failed to fetch base skills list from ${SKILLS_TO_INSTALL_URL}, No skills body from ${SKILLS_TO_INSTALL_URL}`); + return { + success: false, + failedSkills: [`ALL Skills failed to fetch, No skills body from ${SKILLS_TO_INSTALL_URL}, cannot install skills`], + }; + } + const skillsToPull = skillsBody.skills.map((skill: any) => ({ name: skill.name, version: skill.version, @@ -234,9 +243,10 @@ const pullSkills = async ( if (!unzipResult.success) { log(`Failed to extract ${skillName} skill: ${unzipResult.error}`); failedSkills.push(skillName); + } else { + log(`${skillName} skill extracted!`); } } - log(`${skillName} skill extracted!`); } } // return success if no failed skills, otherwise return failed skills From 2a7e3c6447024f20201feb777111f69ca83a9a8f Mon Sep 17 00:00:00 2001 From: Carmit Hershman Date: Sun, 3 May 2026 12:02:21 +0300 Subject: [PATCH 08/15] chore: update ESLint configuration and enhance GitHub Actions workflow - Added JFrog CLI setup step in the GitHub Actions workflow for improved artifact management. - Configured npm registry to use JFrog Artifactory for package management. - Fixed missing newline at the end of the ESLint configuration file. --- .github/workflows/pr.yml | 15 +++++++++++++++ eslint.config.js | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 9de84b3..92978f6 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -20,6 +20,15 @@ jobs: uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.sha || github.ref }} + + - name: Setup JFrog CLI + id: setup-cli + uses: jfrog/setup-jfrog-cli@v4.9.1 + env: + JF_URL: https://${{ vars.JF_URL }}/ + JF_PROJECT: carmit + with: + oidc-provider-name: github-carmit-project-1 - name: Setup Tooling uses: jdx/mise-action@d6e32c1796099e0f1f3ac741c220a8b7eae9e5dd @@ -28,6 +37,12 @@ jobs: cache: true experimental: true + - name: setup jfrog npm repo + run: | + npm config set registry https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/ + npm config set //ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/:_authToken ${{ steps.setup-cli.outputs.oidc-token }} + + - name: Run Checks run: | mise run setup diff --git a/eslint.config.js b/eslint.config.js index 173c44e..fa3ae2f 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -56,4 +56,4 @@ export default tseslint.config( }, }, } -); +); \ No newline at end of file From d25bda0b543df1f593b3105a1b50940bd814c179 Mon Sep 17 00:00:00 2001 From: Carmit Hershman Date: Sun, 3 May 2026 12:11:05 +0300 Subject: [PATCH 09/15] chore: update GitHub Actions workflow for OIDC provider - Changed OIDC provider name in the GitHub Actions workflow from 'github-carmit-project-1' to 'github-oidc' for improved clarity and consistency. --- .github/workflows/pr.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 92978f6..bfb7379 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -28,7 +28,7 @@ jobs: JF_URL: https://${{ vars.JF_URL }}/ JF_PROJECT: carmit with: - oidc-provider-name: github-carmit-project-1 + oidc-provider-name: github-oidc - name: Setup Tooling uses: jdx/mise-action@d6e32c1796099e0f1f3ac741c220a8b7eae9e5dd From 2da44800660dcc1924c3f4168fb61dd4caa8ed38 Mon Sep 17 00:00:00 2001 From: Carmit Hershman Date: Sun, 3 May 2026 12:22:17 +0300 Subject: [PATCH 10/15] chore: update GitHub Actions workflow permissions for OIDC token creation - Added permission for 'id-token' to enable the creation of OIDC tokens for signing in the GitHub Actions workflow. --- .github/workflows/pr.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index bfb7379..e3c58aa 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -11,6 +11,7 @@ concurrency: permissions: actions: read contents: read + id-token: write # for creating OIDC tokens for signing. jobs: Check: From c0bec25018748fbb3a5c97bdb227f84060c9ac53 Mon Sep 17 00:00:00 2001 From: Carmit Hershman Date: Sun, 3 May 2026 13:12:14 +0300 Subject: [PATCH 11/15] chore: update package.json version and enhance keywords - Updated version from 0.0.1-next.11 to 0.0.1 for release. - Added keywords to package.json for better discoverability of the plugin. --- .github/workflows/pr.yml | 10 ++++------ package.json | 8 +++++++- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index e3c58aa..79163ad 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -31,6 +31,10 @@ jobs: with: oidc-provider-name: github-oidc + - name: setup jfrog npm repo + run: | + jf npm-config --repo-resolve=carmit-carmit-npm-virtual + - name: Setup Tooling uses: jdx/mise-action@d6e32c1796099e0f1f3ac741c220a8b7eae9e5dd with: @@ -38,12 +42,6 @@ jobs: cache: true experimental: true - - name: setup jfrog npm repo - run: | - npm config set registry https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/ - npm config set //ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/:_authToken ${{ steps.setup-cli.outputs.oidc-token }} - - - name: Run Checks run: | mise run setup diff --git a/package.json b/package.json index 52ade7e..6cfaf5d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@jfrog/opencode-jfrog-plugin", - "version": "0.0.1-next.11", + "version": "0.0.1", "description": "JFrog Plugin for seamless integration to Opencode", "author": { "name": "JFrog", @@ -14,6 +14,12 @@ "default": "./dist/index.js" } }, + "keywords": [ + "jfrog", + "artifactory", + "opencode", + "plugin" + ], "repository": { "type": "git", "url": "git+https://github.com/jfrog/opencode-jfrog-plugin.git" From 61f5f5523a6a3085471ec5c3e6f03b8933d448ca Mon Sep 17 00:00:00 2001 From: Carmit Hershman Date: Sun, 3 May 2026 13:19:37 +0300 Subject: [PATCH 12/15] chore: update JFrog npm configuration in GitHub Actions workflow - Added the --global flag to the jf npm-config command for improved configuration scope. --- .github/workflows/pr.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 79163ad..4bae1b6 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -33,7 +33,7 @@ jobs: - name: setup jfrog npm repo run: | - jf npm-config --repo-resolve=carmit-carmit-npm-virtual + jf npm-config --repo-resolve=carmit-carmit-npm-virtual --global - name: Setup Tooling uses: jdx/mise-action@d6e32c1796099e0f1f3ac741c220a8b7eae9e5dd From abf1ccf6e2cd04e4fbe532f6db53a8c7599f055c Mon Sep 17 00:00:00 2001 From: Carmit Hershman Date: Sun, 3 May 2026 13:38:18 +0300 Subject: [PATCH 13/15] chore: enhance JFrog npm repository setup in GitHub Actions workflow - Added steps to create and configure bunfig.toml for JFrog npm repository. - Included echo statements for better visibility during setup. --- .github/workflows/pr.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 4bae1b6..539bcfb 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -33,6 +33,16 @@ jobs: - name: setup jfrog npm repo run: | + echo "Setting up jfrog npm repo" + # create bunfig.toml file with the following content: + echo "[npm]" > bunfig.toml + echo "registry = \"https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/\"" >> bunfig.toml + echo "_auth = \"${{ steps.setup-cli.outputs.oidc-token }}\"" >> bunfig.toml + # add always-auth + echo "always-auth = true" >> bunfig.toml + cat bunfig.toml + + # configure jfrog npm repo jf npm-config --repo-resolve=carmit-carmit-npm-virtual --global - name: Setup Tooling From 63fe546d26796ff740ddbded0ddc1dca378317ef Mon Sep 17 00:00:00 2001 From: Carmit Hershman Date: Sun, 3 May 2026 13:45:37 +0300 Subject: [PATCH 14/15] chore: refine bunfig.toml creation for JFrog npm repository in GitHub Actions workflow - Updated the bunfig.toml file creation process to use a more structured format for the npm registry configuration. - Changed the section header from [npm] to [install] for clarity and improved token handling. --- .github/workflows/pr.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 539bcfb..1f56ed3 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -35,9 +35,8 @@ jobs: run: | echo "Setting up jfrog npm repo" # create bunfig.toml file with the following content: - echo "[npm]" > bunfig.toml - echo "registry = \"https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/\"" >> bunfig.toml - echo "_auth = \"${{ steps.setup-cli.outputs.oidc-token }}\"" >> bunfig.toml + echo "[install]" > bunfig.toml + echo "registry = { token = \"${{ steps.setup-cli.outputs.oidc-token }}\", url = \"https://ctoa.jfrog.io/artifactory/api/npm/carmit-carmit-npm-virtual/\" }" >> bunfig.toml # add always-auth echo "always-auth = true" >> bunfig.toml cat bunfig.toml From 5473a20f47023a6e38cc4938e32a8d2283c0c0e2 Mon Sep 17 00:00:00 2001 From: Carmit Hershman Date: Sun, 3 May 2026 13:54:43 +0300 Subject: [PATCH 15/15] chore: improve error logging in index.ts for fetch and pullSkills functions - Enhanced logging messages in fetchAndSaveFile and pullSkills functions to include detailed response information for better debugging. - Reformatted error messages for consistency and clarity. --- src/index.ts | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/src/index.ts b/src/index.ts index 65aa9bf..5455c1b 100644 --- a/src/index.ts +++ b/src/index.ts @@ -25,7 +25,9 @@ const fetchAndSaveFile = async ( // fetch largfile using stream and save to file const response = await fetch(url); if (!response.ok || !response.body) { - log(`Failed to fetch file from ${url}, status: ${response.status}, No response body from ${url}`); + log( + `Failed to fetch file from ${url}, status: ${response.status}, No response body from ${url}, response: ${JSON.stringify(response)}` + ); return { success: false, error: `No response body from ${url}` }; } const writer = createWriteStream(destPath); @@ -178,7 +180,9 @@ const pullSkills = async ( ); return { success: false, - failedSkills: [`ALL Skills failed to fetch, No response body from ${SKILLS_TO_INSTALL_URL}, cannot install skills`], + failedSkills: [ + `ALL Skills failed to fetch, No response body from ${SKILLS_TO_INSTALL_URL}, cannot install skills`, + ], }; } //read skills_body from response @@ -195,10 +199,14 @@ const pullSkills = async ( } */ if (!skillsBody.skills) { - log(`Failed to fetch base skills list from ${SKILLS_TO_INSTALL_URL}, No skills body from ${SKILLS_TO_INSTALL_URL}`); + log( + `Failed to fetch base skills list from ${SKILLS_TO_INSTALL_URL}, No skills body from ${SKILLS_TO_INSTALL_URL}` + ); return { success: false, - failedSkills: [`ALL Skills failed to fetch, No skills body from ${SKILLS_TO_INSTALL_URL}, cannot install skills`], + failedSkills: [ + `ALL Skills failed to fetch, No skills body from ${SKILLS_TO_INSTALL_URL}, cannot install skills`, + ], }; } @@ -272,7 +280,7 @@ const jfrogOpencodePlugin: Plugin = async ({ client, $, directory }) => { log('JfrogOpencodePlugin starting...'); // check if JFrog skills management exists and if they do not, import them locally const pullSkillsResponse = await pullSkills($, directory, log); - // TODO consider user message if skills are not imported (inspect pullSkillsResponse) + // TODO consider user message if skills are not imported (inspect pullSkillsResponse) log('pullSkillsResponse=' + JSON.stringify(pullSkillsResponse)); return { config: async (config) => {