opencode-swarm 6.15.0 → 6.16.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -357,7 +357,7 @@ Per-agent overrides:
357
357
 
358
358
  | Tool | What It Does |
359
359
  |------|-------------|
360
- | syntax_check | Tree-sitter validation across 9+ languages |
360
+ | syntax_check | Tree-sitter validation across 11 languages |
361
361
  | placeholder_scan | Catches TODOs, FIXMEs, stubs, placeholder text |
362
362
  | sast_scan | Offline security analysis, 63+ rules, 9 languages |
363
363
  | sbom_generate | CycloneDX dependency tracking, 8 ecosystems |
@@ -712,6 +712,33 @@ bun test
712
712
 
713
713
  ---
714
714
 
715
+ ## Supported Languages
716
+
717
+ OpenCode Swarm v6.16+ ships with language profiles for 11 languages across three quality tiers. All tools use graceful degradation — if a binary is not on PATH, the tool skips with a soft warning rather than a hard failure.
718
+
719
+ | Language | Tier | Syntax | Build | Test | Lint | Audit | SAST |
720
+ |---|:---:|:---:|:---:|:---:|:---:|:---:|:---:|
721
+ | TypeScript / JavaScript | 1 | ✅ | ✅ | ✅ | ✅ Biome / ESLint | ✅ npm audit | ✅ Semgrep |
722
+ | Python | 1 | ✅ | ✅ | ✅ pytest | ✅ ruff | ✅ pip-audit | ✅ Semgrep |
723
+ | Rust | 1 | ✅ | ✅ | ✅ cargo test | ✅ clippy | ✅ cargo audit | ✅ Semgrep |
724
+ | Go | 1 | ✅ | ✅ | ✅ go test | ✅ golangci-lint | ✅ govulncheck | ✅ Semgrep |
725
+ | Java | 2 | ✅ | ✅ Gradle / Maven | ✅ JUnit | ✅ Checkstyle | — | ✅ Semgrep |
726
+ | Kotlin | 2 | ✅ | ✅ Gradle | ✅ JUnit | ✅ ktlint | — | 🔶 Semgrep beta |
727
+ | C# / .NET | 2 | ✅ | ✅ dotnet build | ✅ dotnet test | ✅ dotnet format | ✅ dotnet list | ✅ Semgrep |
728
+ | C / C++ | 2 | ✅ | ✅ cmake / make | ✅ ctest | ✅ cppcheck | — | 🔶 Semgrep exp. |
729
+ | Swift | 2 | ✅ | ✅ swift build | ✅ swift test | ✅ swiftlint | — | 🔶 Semgrep exp. |
730
+ | Dart / Flutter | 3 | ✅ | ✅ dart pub | ✅ dart test | ✅ dart analyze | ✅ dart pub outdated | — |
731
+ | Ruby | 3 | ✅ | — | ✅ RSpec / minitest | ✅ RuboCop | ✅ bundle-audit | 🔶 Semgrep exp. |
732
+
733
+ **Tier definitions:**
734
+ - **Tier 1** — Full pipeline: all tools integrated and tested end-to-end.
735
+ - **Tier 2** — Strong coverage: most tools integrated; some optional (audit, SAST).
736
+ - **Tier 3** — Basic coverage: core tools integrated; advanced tooling limited.
737
+
738
+ > All binaries are optional. Missing tools produce a soft warning and skip — the pipeline never hard-fails on a missing linter or auditor.
739
+
740
+ ---
741
+
715
742
  ## Roadmap
716
743
 
717
744
  See [CHANGELOG.md](CHANGELOG.md) for shipped features.
@@ -21,6 +21,10 @@ export interface BuildDiscoveryOptions {
21
21
  * Uses 'where' on Windows, 'which' on Unix
22
22
  */
23
23
  export declare function isCommandAvailable(command: string): boolean;
24
+ /**
25
+ * Discover build commands using language profiles (primary detection path)
26
+ */
27
+ export declare function discoverBuildCommandsFromProfiles(workingDir: string): Promise<BuildDiscoveryResult>;
24
28
  /**
25
29
  * Discover build commands for a given working directory
26
30
  */