soturail 1.0.0 → 1.1.0

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.
Files changed (63) hide show
  1. package/LICENSE +17 -15
  2. package/README.md +27 -13
  3. package/dist/commands/agents.js +37 -7
  4. package/dist/commands/agents.js.map +1 -1
  5. package/dist/commands/mcp.js +10 -1
  6. package/dist/commands/mcp.js.map +1 -1
  7. package/dist/commands/report.js +14 -3
  8. package/dist/commands/report.js.map +1 -1
  9. package/dist/core/agent-exporter.d.ts +39 -2
  10. package/dist/core/agent-exporter.js +290 -24
  11. package/dist/core/agent-exporter.js.map +1 -1
  12. package/dist/core/agent-profile.d.ts +1 -1
  13. package/dist/core/agent-registry.js +12 -0
  14. package/dist/core/agent-registry.js.map +1 -1
  15. package/dist/core/agent-runtime.d.ts +15 -1
  16. package/dist/core/agent-runtime.js +120 -14
  17. package/dist/core/agent-runtime.js.map +1 -1
  18. package/dist/core/code-health.js +3 -0
  19. package/dist/core/code-health.js.map +1 -1
  20. package/dist/core/mcp-resources.d.ts +27 -0
  21. package/dist/core/mcp-resources.js +104 -1
  22. package/dist/core/mcp-resources.js.map +1 -1
  23. package/dist/core/release-preflight.js +3 -0
  24. package/dist/core/release-preflight.js.map +1 -1
  25. package/dist/core/report-rail.d.ts +1 -1
  26. package/dist/core/report-rail.js +33 -8
  27. package/dist/core/report-rail.js.map +1 -1
  28. package/dist/core/schema-readiness.js +3 -0
  29. package/dist/core/schema-readiness.js.map +1 -1
  30. package/dist/core/skill-schema.d.ts +2 -2
  31. package/dist/core/version.d.ts +1 -1
  32. package/dist/core/version.js +1 -1
  33. package/docs/agent-export-contract.md +42 -0
  34. package/docs/agent-hosts.md +12 -5
  35. package/docs/agents.md +18 -9
  36. package/docs/assets/demos/README.md +3 -0
  37. package/docs/assets/screenshots/agents-matrix.svg +35 -0
  38. package/docs/assets/screenshots/host-doctor.svg +21 -0
  39. package/docs/assets/screenshots/status-json.svg +30 -0
  40. package/docs/benchmarking.md +2 -2
  41. package/docs/future-rails-index.md +6 -6
  42. package/docs/host-compatibility-rail.md +12 -6
  43. package/docs/host-matrix-schema.md +43 -0
  44. package/docs/licensing-strategy.md +133 -61
  45. package/docs/mcp-host-manifest.md +33 -0
  46. package/docs/mcp-report-resources.md +9 -0
  47. package/docs/mcp.md +4 -0
  48. package/docs/media-guide.md +27 -0
  49. package/docs/quickstart.md +1 -1
  50. package/docs/release-workflow.md +12 -1
  51. package/docs/releases/README.md +2 -0
  52. package/docs/releases/RELEASE_NOTES_v1.0.1.md +11 -0
  53. package/docs/releases/RELEASE_NOTES_v1.1.0.md +55 -0
  54. package/docs/schema-contracts.md +15 -0
  55. package/docs/stable-command-surface.md +7 -1
  56. package/docs/tutorial-antigravity.md +7 -2
  57. package/docs/tutorial-deep-agents-role-packs.md +4 -0
  58. package/docs/tutorial-gemini-cli.md +4 -0
  59. package/docs/tutorial-opencode.md +37 -0
  60. package/docs/v1-contract.md +4 -3
  61. package/examples/agents/README.md +6 -1
  62. package/examples/agents/opencode.md +26 -0
  63. package/package.json +3 -3
package/LICENSE CHANGED
@@ -1,15 +1,17 @@
1
- SotuRail Reserved Rights Notice
2
-
3
- Copyright (c) 2026 Rafael Ryan Ramos de Souza.
4
- All rights reserved.
5
-
6
- No open-source license is currently granted for this repository or for future unreleased versions unless a later LICENSE file or written agreement explicitly says otherwise.
7
-
8
- This repository may be publicly visible for portfolio, planning, research, documentation, and evaluation purposes, but public visibility does not grant permission to copy, redistribute, sublicense, sell, commercialize, or create derivative works from the source code, documentation, assets, designs, roadmap, benchmarks, or related project materials.
9
-
10
- You may view the repository through GitHub according to GitHub's platform terms. Any additional use requires explicit written permission from the copyright holder.
11
-
12
- Important historical note:
13
- Previous published versions or copies of SotuRail that were explicitly released under the MIT License remain governed by the license terms that applied to those specific versions at the time of release. This notice is intended for the current repository state and future versions unless changed later.
14
-
15
- This notice is not legal advice. For commercial distribution, open-source release, dual licensing, or contributor agreements, consult a qualified legal professional.
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ Copyright 2026 Rafael Ryan Ramos de Souza
6
+
7
+ Licensed under the Apache License, Version 2.0 (the "License");
8
+ you may not use this file except in compliance with the License.
9
+ You may obtain a copy of the License at
10
+
11
+ http://www.apache.org/licenses/LICENSE-2.0
12
+
13
+ Unless required by applicable law or agreed to in writing, software
14
+ distributed under the License is distributed on an "AS IS" BASIS,
15
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ See the License for the specific language governing permissions and
17
+ limitations under the License.
package/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  [![Node.js >=20](https://img.shields.io/badge/node-%3E%3D20-3c873a)](package.json)
8
8
  [![TypeScript](https://img.shields.io/badge/TypeScript-strict-3178c6)](tsconfig.json)
9
- [![License: Reserved Rights](https://img.shields.io/badge/license-reserved--rights-red)](LICENSE)
9
+ [![License: Apache-2.0](https://img.shields.io/badge/license-Apache--2.0-blue)](LICENSE)
10
10
  [![CI](https://github.com/Soturine/soturail/actions/workflows/ci.yml/badge.svg)](https://github.com/Soturine/soturail/actions/workflows/ci.yml)
11
11
  [![npm version](https://img.shields.io/npm/v/soturail.svg)](https://www.npmjs.com/package/soturail)
12
12
  [![npm downloads](https://img.shields.io/npm/dm/soturail.svg)](https://www.npmjs.com/package/soturail)
@@ -26,9 +26,9 @@ SotuRail is not the agent, not a Claude-only harness, not a Mermaid-only workflo
26
26
 
27
27
  ## Project Status
28
28
 
29
- v1.0.0 freezes the first stable local Context OS surface for AI coding agents. The stable surface covers status, reports, dashboard, observability, Project Brain, evaluation, benchmarks, native candidate reporting, baseline snapshots, release checks, workflow/harness/diagram rails, agent exports and read-only MCP report resources.
29
+ v1.1.0 keeps the stable local Context OS surface and adds Host Compatibility Rail 1.0. The stable surface covers status, reports, dashboard, observability, Project Brain, evaluation, benchmarks, native candidate reporting, baseline snapshots, release checks, workflow/harness/diagram rails, agent exports, host doctors and read-only MCP report/host resources.
30
30
 
31
- Experimental rails remain available but are not part of the stable contract until promoted. SotuRail does not add cloud telemetry, a required dashboard server, destructive MCP tools or a native-only runtime. TypeScript remains the portable fallback. See [ROADMAP.md](ROADMAP.md), [docs/v1-contract.md](docs/v1-contract.md), [docs/schema-contracts.md](docs/schema-contracts.md), [docs/stable-command-surface.md](docs/stable-command-surface.md) and [docs/future-rails-index.md](docs/future-rails-index.md).
31
+ Experimental host runtimes remain documented but are not part of the stable contract until promoted. SotuRail does not add cloud telemetry, a required dashboard server, destructive MCP tools, shell execution through MCP or a native-only runtime. TypeScript remains the portable fallback. See [ROADMAP.md](ROADMAP.md), [docs/v1-contract.md](docs/v1-contract.md), [docs/schema-contracts.md](docs/schema-contracts.md), [docs/stable-command-surface.md](docs/stable-command-surface.md), [docs/agent-hosts.md](docs/agent-hosts.md) and [docs/future-rails-index.md](docs/future-rails-index.md).
32
32
 
33
33
  ## v0.5.x MVP Rails
34
34
 
@@ -209,6 +209,21 @@ soturail release check --strict
209
209
 
210
210
  v1.0.0 adds strict schema/readiness/release gates, lightweight code-health and architecture checks, a documented v1 contract, a host compatibility matrix and a golden smoke suite for stable commands. See [docs/quickstart.md](docs/quickstart.md), [docs/v1-contract.md](docs/v1-contract.md), [docs/schema-contracts.md](docs/schema-contracts.md), [docs/clean-code-guidelines.md](docs/clean-code-guidelines.md), [docs/architecture-boundaries.md](docs/architecture-boundaries.md) and [docs/agent-hosts.md](docs/agent-hosts.md).
211
211
 
212
+ ## v1.1.0 Host Compatibility Rail
213
+
214
+ ```bash
215
+ soturail agents matrix --json
216
+ soturail agents export --agent opencode
217
+ soturail agents export --agent antigravity
218
+ soturail agents export --agent deepagents --role reviewer
219
+ soturail agents doctor --host codex
220
+ soturail agents doctor --all --json
221
+ soturail mcp resources host-manifest --host codex
222
+ soturail report agent --agent opencode
223
+ ```
224
+
225
+ v1.1.0 adds host matrix 2.0 fields, mirrored exports under `.soturail/agents/<host>/`, per-host doctor reports, OpenCode-compatible exports, Antigravity transition guidance, Gemini legacy-compatible exports, DeepAgents role-pack exports and read-only MCP host manifests. See [docs/host-matrix-schema.md](docs/host-matrix-schema.md), [docs/agent-export-contract.md](docs/agent-export-contract.md), [docs/mcp-host-manifest.md](docs/mcp-host-manifest.md), [docs/tutorial-opencode.md](docs/tutorial-opencode.md) and [docs/media-guide.md](docs/media-guide.md).
226
+
212
227
  ## Why SotuRail Exists
213
228
 
214
229
  AI coding agents often receive too much unstable context: full files, noisy test logs, repeated terminal output and long conversational summaries. SotuRail is designed to unify those workflows into one independent local-first tool without sending telemetry or inventing provider metrics.
@@ -270,7 +285,7 @@ Reports are written to `.soturail/reports/self-dogfood.md` with stable project c
270
285
  - Agent response compression modes.
271
286
  - Knowledge-to-Rules ingestion and validators.
272
287
  - Prompt-only and hook-style agent integrations.
273
- - Agent exports for Claude, Codex, Gemini, Cursor, Antigravity and generic hosts.
288
+ - Agent exports for Claude, Codex, Gemini/Gemini-compatible, Cursor, Antigravity, OpenCode, generic hosts and DeepAgents-style role packs.
274
289
  - MCP-compatible local stdio server and config helpers.
275
290
  - Workflow Rail for local task records, phase evidence and optional worktree planning.
276
291
  - Memory Rail with explicit local records, recall, capture and consolidation.
@@ -283,15 +298,14 @@ Reports are written to `.soturail/reports/self-dogfood.md` with stable project c
283
298
 
284
299
  ## Planned Next Features
285
300
 
286
- Post-v1 work is staged so the stable Context OS surface stays reliable:
301
+ Post-v1 work is staged so the stable Context OS surface stays reliable. v1.1.0 Host Compatibility Rail is now delivered; the next staged rails remain:
287
302
 
288
- - v1.1.0 Host Compatibility Rail;
289
303
  - v1.2.0 Spec, Design And Diagram Rail;
290
304
  - v1.3.0 Knowledge Graph Rail;
291
305
  - v1.4.0 Skill Rail 2.0;
292
306
  - v1.5.0 Governance And Cost Rail.
293
307
 
294
- These are not v1.0.0 stable contracts until promoted.
308
+ Experimental portions of those rails are not stable contracts until promoted.
295
309
 
296
310
  ## Future Rails Documentation
297
311
 
@@ -354,7 +368,7 @@ soturail --version
354
368
  Install the stable v1 release exactly with:
355
369
 
356
370
  ```bash
357
- npm install -g soturail@1.0.0
371
+ npm install -g soturail@1.1.0
358
372
  ```
359
373
 
360
374
  For local development from source:
@@ -609,7 +623,7 @@ The latest report is written to [benchmarks/reports/latest.md](benchmarks/report
609
623
 
610
624
  Local token counts are deterministic estimates. SotuRail reports raw payload tokens, reduced payload tokens, metadata overhead and net estimated tokens. For tiny outputs, compression may be ineffective once recovery metadata is included; SotuRail says that directly while preserving raw recovery paths.
611
625
 
612
- Benchmark Rail 2.0 writes `.soturail/bench/latest.json`, `.soturail/bench/latest.md` and versioned reports such as `benchmarks/reports/bench-v1.0.0.json`. It covers `brain-scan`, `brain-stale`, `brain-consolidate`, `reverse-claims`, `reducer-large-log`, `jsonl-read-write`, `range-hash`, `file-scan`, `workflow-evidence`, `format-compare`, `json-validate` and `release-preflight`.
626
+ Benchmark Rail 2.0 writes `.soturail/bench/latest.json`, `.soturail/bench/latest.md` and versioned reports such as `benchmarks/reports/bench-v<version>.json`. It covers `brain-scan`, `brain-stale`, `brain-consolidate`, `reverse-claims`, `reducer-large-log`, `jsonl-read-write`, `range-hash`, `file-scan`, `workflow-evidence`, `format-compare`, `json-validate` and `release-preflight`.
613
627
 
614
628
  ## Knowledge-to-Rules Engine
615
629
 
@@ -698,12 +712,12 @@ v1.5.0 Governance And Cost Rail
698
712
 
699
713
  See [CONTRIBUTING.md](CONTRIBUTING.md). Reducers, hooks and rules should include tests, safety notes and benchmark impact when relevant.
700
714
 
701
- ## License Status
715
+ ## License
702
716
 
703
- SotuRail is not currently licensed as open source for the current repository state or future versions.
717
+ SotuRail is licensed under the [Apache License 2.0](LICENSE).
704
718
 
705
- All rights are reserved unless a later LICENSE file or written agreement explicitly grants permissions. This repository may be public for portfolio, planning, research, documentation and evaluation visibility, but broad copying, redistribution, sublicensing, commercial use or derivative works are not granted by default.
719
+ This means you can use, copy, modify, distribute and build on the project under the Apache-2.0 terms, including commercial use, as long as the license notice is preserved.
706
720
 
707
- Important: older SotuRail versions or copies that were explicitly released under MIT remain governed by the MIT terms that applied to those specific versions at the time of release.
721
+ Older releases remain governed by the license terms that applied at the time of each release.
708
722
 
709
723
  See [docs/licensing-strategy.md](docs/licensing-strategy.md).
@@ -1,5 +1,5 @@
1
1
  import { explainAgents, lintAgentDocs, splitContextPlan } from "../core/agent-docs-hygiene.js";
2
- import { agentDoctor, exportAgents, installAgent, uninstallAgent } from "../core/agent-exporter.js";
2
+ import { agentDoctor, agentHostDoctor, agentHostDoctorAll, exportAgents, installAgent, renderAgentHostDoctor, renderAgentHostDoctorSummary, uninstallAgent } from "../core/agent-exporter.js";
3
3
  import { formatAgentList } from "../core/agent-registry.js";
4
4
  import { agentStatus, buildAgentHostMatrix, listAgentCapabilities, renderAgentCapabilities, renderAgentHostMatrix, renderAgentStatus } from "../core/agent-runtime.js";
5
5
  import { SOTURAIL_VERSION } from "../core/version.js";
@@ -43,7 +43,24 @@ export function registerAgentsCommand(program) {
43
43
  const status = await agentStatus();
44
44
  process.stdout.write(options.json ? `${JSON.stringify(status, null, 2)}\n` : renderAgentStatus(status));
45
45
  });
46
- agents.command("doctor").description("Check agent integration readiness.").option("--verbose", "Include host matrix, policy and dry-run guidance").action(async (options) => {
46
+ agents
47
+ .command("doctor")
48
+ .description("Check agent integration readiness.")
49
+ .option("--verbose", "Include host matrix, policy and dry-run guidance")
50
+ .option("--host <host>", "Run host-specific v1.1 doctor")
51
+ .option("--all", "Run host-specific doctor checks for every host")
52
+ .option("--json", "Print machine-readable JSON for host-specific doctor output")
53
+ .action(async (options) => {
54
+ if (options.all) {
55
+ const summary = await agentHostDoctorAll(process.cwd());
56
+ process.stdout.write(options.json ? `${JSON.stringify(summary, null, 2)}\n` : renderAgentHostDoctorSummary(summary));
57
+ return;
58
+ }
59
+ if (options.host) {
60
+ const report = await agentHostDoctor(options.host, process.cwd());
61
+ process.stdout.write(options.json ? `${JSON.stringify(report, null, 2)}\n` : renderAgentHostDoctor(report));
62
+ return;
63
+ }
47
64
  process.stdout.write(await agentDoctor(process.cwd(), { verbose: options.verbose === true }));
48
65
  });
49
66
  agents.command("lint").description("Lint root agent docs for size, freshness and safety notes.").action(async () => {
@@ -55,22 +72,35 @@ export function registerAgentsCommand(program) {
55
72
  agents
56
73
  .command("explain")
57
74
  .description("Explain what each agent export receives and what stays local.")
58
- .requiredOption("--agent <agent>", "claude, codex, gemini, cursor, antigravity, generic, opencode, amp, kiro, deepagents, deepagents-js, or all")
75
+ .requiredOption("--agent <agent>", "claude, codex, gemini, gemini-legacy, cursor, antigravity, generic, opencode, amp, kiro, deepagents, deepagents-js, or all")
59
76
  .action((options) => {
60
77
  process.stdout.write(explainAgents(options.agent));
61
78
  });
62
79
  agents
63
80
  .command("export")
64
81
  .description("Export prompt/context integration files for review.")
65
- .requiredOption("--agent <agent>", "claude, codex, gemini, cursor, antigravity, generic, opencode, amp, kiro, deepagents, deepagents-js, or all")
82
+ .requiredOption("--agent <agent>", "claude, codex, gemini, gemini-legacy, cursor, antigravity, generic, opencode, amp, kiro, deepagents, deepagents-js, or all")
83
+ .option("--out <path>", "Override the output directory for exports")
84
+ .option("--format <format>", "Export format hint: markdown, tagged, or json")
85
+ .option("--include <scope>", "Include hint for safe context selection")
86
+ .option("--role <role>", "Role hint for role-pack style exports")
66
87
  .action(async (options) => {
67
- const result = await exportAgents(options.agent ?? "all");
88
+ const exportOptions = {};
89
+ if (options.out)
90
+ exportOptions.out = options.out;
91
+ if (options.format)
92
+ exportOptions.format = options.format;
93
+ if (options.include)
94
+ exportOptions.include = options.include;
95
+ if (options.role)
96
+ exportOptions.role = options.role;
97
+ const result = await exportAgents(options.agent ?? "all", exportOptions, process.cwd());
68
98
  process.stdout.write(`Agent exports written:\n${result.written.join("\n")}\n`);
69
99
  });
70
100
  agents
71
101
  .command("install")
72
102
  .description("Install reviewed project-local agent integration files.")
73
- .requiredOption("--agent <agent>", "claude, codex, gemini, cursor, antigravity, generic, opencode, amp, kiro, deepagents, deepagents-js, or all")
103
+ .requiredOption("--agent <agent>", "claude, codex, gemini, gemini-legacy, cursor, antigravity, generic, opencode, amp, kiro, deepagents, deepagents-js, or all")
74
104
  .option("--mode <mode>", "prompt-only, mcp, safe-hooks, or rules")
75
105
  .option("--dry-run", "Print planned changes without writing")
76
106
  .option("--yes", "Acknowledge reviewed project-local install")
@@ -83,7 +113,7 @@ export function registerAgentsCommand(program) {
83
113
  agents
84
114
  .command("uninstall")
85
115
  .description("Restore backups for project-local agent integration files when available.")
86
- .requiredOption("--agent <agent>", "claude, codex, gemini, cursor, antigravity, generic, opencode, amp, kiro, deepagents, deepagents-js, or all")
116
+ .requiredOption("--agent <agent>", "claude, codex, gemini, gemini-legacy, cursor, antigravity, generic, opencode, amp, kiro, deepagents, deepagents-js, or all")
87
117
  .option("--dry-run", "Print planned rollback without writing")
88
118
  .action(async (options) => {
89
119
  process.stdout.write(await uninstallAgent(options.agent ?? "all", options.dryRun === undefined ? {} : { dryRun: options.dryRun }));
@@ -1 +1 @@
1
- {"version":3,"file":"agents.js","sourceRoot":"","sources":["../../src/commands/agents.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAC/F,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AACpG,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,qBAAqB,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AACvK,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAWtD,MAAM,UAAU,qBAAqB,CAAC,OAAgB;IACpD,MAAM,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,WAAW,CAAC,qDAAqD,CAAC,CAAC;IAE5G,MA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,CAAC"}
@@ -3,7 +3,7 @@ import path from "node:path";
3
3
  import { ensureWorkspace, getWorkspacePaths, relativeToRoot } from "../core/config.js";
4
4
  import { mcpConfig } from "../core/agent-exporter.js";
5
5
  import { mcpExposureReport, renderMcpExposure } from "../core/mcp-exposure.js";
6
- import { writeReportResourceManifest } from "../core/mcp-resources.js";
6
+ import { writeHostResourceManifest, writeReportResourceManifest } from "../core/mcp-resources.js";
7
7
  import { mcpDoctor, mcpManifest, mcpSmoke, serveMcpStdio } from "../core/mcp-server.js";
8
8
  import { SOTURAIL_VERSION } from "../core/version.js";
9
9
  export function registerMcpCommand(program) {
@@ -18,6 +18,15 @@ export function registerMcpCommand(program) {
18
18
  resources.command("report").description("Write a static manifest for read-only report resources.").action(async () => {
19
19
  process.stdout.write((await writeReportResourceManifest(process.cwd())).output);
20
20
  });
21
+ resources
22
+ .command("host-manifest")
23
+ .description("Write a host-specific read-only MCP resource manifest.")
24
+ .option("--host <host>", "Agent host id", "generic")
25
+ .option("--json", "Print machine-readable JSON")
26
+ .action(async (options) => {
27
+ const result = await writeHostResourceManifest(process.cwd(), options.host ?? "generic");
28
+ process.stdout.write(options.json ? `${JSON.stringify(result.manifest, null, 2)}\n` : result.output);
29
+ });
21
30
  mcp.command("exposure").description("Report MCP tools/resources/prompts and risk notes.").option("--json", "Print machine-readable JSON").action(async (options) => {
22
31
  const report = await mcpExposureReport();
23
32
  process.stdout.write(options.json ? `${JSON.stringify(report, null, 2)}\n` : renderMcpExposure(report));
@@ -1 +1 @@
1
- {"version":3,"file":"mcp.js","sourceRoot":"","sources":["../../src/commands/mcp.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,IAAI,EAAE,EAAE,MAAM,SAAS,CAAC;AACzC,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,eAAe,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACvF,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,C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AAM,CAAC,KAAK,IAAI,EAAE;QACjG,MAAM,MAAM,GAAG,MAAM,QAAQ,CAAC,OAAO,CAAC,GAAG,EAAE,EAAE,gBAAgB,CAAC,CAAC;QAC/D,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;QACpC,IAAI,CAAC,MAAM,CAAC,EAAE;YAAE,OAAO,CAAC,QAAQ,GAAG,CAAC,CAAC;IACvC,CAAC,CAAC,CAAC;IAEH,GAAG;SACA,OAAO,CAAC,OAAO,CAAC;SAChB,WAAW,CAAC,mDAAmD,CAAC;SAChE,MAAM,CAAC,yBAAyB,EAAE,OAAO,EAAE,OAAO,CAAC;SACnD,MAAM,CAAC,KAAK,EAAE,OAA8B,EAAE,EAAE;QAC/C,IAAI,OAAO,CAAC,SAAS,KAAK,OAAO;YAAE,MAAM,IAAI,KAAK,CAAC,gDAAgD,CAAC,CAAC;QACrG,MAAM,aAAa,CAAC,OAAO,CAAC,GAAG,EAAE,EAAE,gBAAgB,CAAC,CAAC;IACvD,CAAC,CAAC,CAAC;AACP,CAAC"}
@@ -23,7 +23,7 @@ export function registerReportCommand(program) {
23
23
  report.command("github-summary").description("Write a GitHub Actions step summary artifact.").action(async () => {
24
24
  process.stdout.write(await reportGithubSummary());
25
25
  });
26
- report.command("agent").description("Write an agent-readable report.").requiredOption("--agent <agent>", "codex, claude, gemini, or generic").action(async (options) => {
26
+ report.command("agent").description("Write an agent-readable report.").requiredOption("--agent <agent>", "codex, claude, gemini, gemini-legacy, cursor, opencode, antigravity, deepagents, deepagents-js, amp, kiro, or generic").action(async (options) => {
27
27
  process.stdout.write(await reportAgent(process.cwd(), parseAgent(options.agent)));
28
28
  });
29
29
  report.command("diff").description("Compare latest report with previous report history.").action(async () => {
@@ -36,8 +36,19 @@ function parseFormat(value) {
36
36
  throw new Error("Supported report formats: html, md, json.");
37
37
  }
38
38
  function parseAgent(value) {
39
- if (value === "codex" || value === "claude" || value === "gemini" || value === "generic")
39
+ if (value === "codex"
40
+ || value === "claude"
41
+ || value === "gemini"
42
+ || value === "gemini-legacy"
43
+ || value === "cursor"
44
+ || value === "opencode"
45
+ || value === "antigravity"
46
+ || value === "deepagents"
47
+ || value === "deepagents-js"
48
+ || value === "generic"
49
+ || value === "amp"
50
+ || value === "kiro")
40
51
  return value;
41
- throw new Error("Supported report agents: codex, claude, gemini, generic.");
52
+ throw new Error("Supported report agents: codex, claude, gemini, gemini-legacy, cursor, opencode, antigravity, deepagents, deepagents-js, amp, kiro, generic.");
42
53
  }
43
54
  //# sourceMappingURL=report.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"report.js","sourceRoot":"","sources":["../../src/commands/report.ts"],"names":[],"mappings":"AACA,OAAO,EACL,WAAW,EACX,YAAY,EACZ,WAAW,EACX,UAAU,EACV,YAAY,EACZ,mBAAmB,EACnB,YAAY,EACZ,UAAU,EACV,YAAY,EAGb,MAAM,wBAAwB,CAAC;AAEhC,MAAM,UAAU,qBAAqB,CAAC,OAAgB;IACpD,MAAM,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,WAAW,CAAC,yDAAyD,CAAC,CAAC;IAEhH,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,WAAW,CAAC,gEAAgE,CAAC,CAAC,MAAM,CAAC,KAAK,IAAI,EAAE;QACtH,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,MAAM,WAAW,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC;IACrD,CAAC,CAAC,CAAC;IAEH,MAAM,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,WAAW,CAAC,4CAA4C,CAAC,CAAC,MAAM,CAAC,KAAK,IAAI,EAAE;QACnG,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,YAAY,EAAE,CAAC,CAAC;IAC7C,CAAC,CAAC,CAAC;IAEH,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,mC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K,CAAC;IACzE,MAAM,IAAI,KAAK,CAAC,2CAA2C,CAAC,CAAC;AAC/D,CAAC;AAED,SAAS,UAAU,CAAC,KAAa;IAC/B,IACE,KAAK,KAAK,OAAO;WACd,KAAK,KAAK,QAAQ;WAClB,KAAK,KAAK,QAAQ;WAClB,KAAK,KAAK,eAAe;WACzB,KAAK,KAAK,QAAQ;WAClB,KAAK,KAAK,UAAU;WACpB,KAAK,KAAK,aAAa;WACvB,KAAK,KAAK,YAAY;WACtB,KAAK,KAAK,eAAe;WACzB,KAAK,KAAK,SAAS;WACnB,KAAK,KAAK,KAAK;WACf,KAAK,KAAK,MAAM;QACnB,OAAO,KAAK,CAAC;IACf,MAAM,IAAI,KAAK,CAAC,8IAA8I,CAAC,CAAC;AAClK,CAAC"}
@@ -2,10 +2,43 @@ import type { AgentExportFile, AgentId, AgentInstallOptions } from "./agent-prof
2
2
  export interface AgentExportResult {
3
3
  written: string[];
4
4
  }
5
+ export interface AgentExportOptions {
6
+ out?: string;
7
+ format?: string;
8
+ include?: string;
9
+ role?: string;
10
+ }
5
11
  export interface AgentInstallResult {
6
12
  lines: string[];
7
13
  }
8
- export declare function exportAgents(agentValue: string, root?: string): Promise<AgentExportResult>;
14
+ export interface AgentHostDoctorReport {
15
+ schemaVersion: "soturail.agent-host-doctor.v1";
16
+ createdAt: string;
17
+ version: string;
18
+ host: string;
19
+ status: "passed" | "warning" | "failed";
20
+ matrixStatus: string;
21
+ exportPaths: string[];
22
+ checks: Array<{
23
+ id: string;
24
+ status: "passed" | "warning" | "failed";
25
+ summary: string;
26
+ }>;
27
+ warnings: string[];
28
+ blockingIssues: string[];
29
+ nextCommands: string[];
30
+ }
31
+ export interface AgentHostDoctorSummary {
32
+ schemaVersion: "soturail.agent-host-doctor-summary.v1";
33
+ createdAt: string;
34
+ version: string;
35
+ status: "passed" | "warning" | "failed";
36
+ hosts: AgentHostDoctorReport[];
37
+ warnings: string[];
38
+ blockingIssues: string[];
39
+ nextCommands: string[];
40
+ }
41
+ export declare function exportAgents(agentValue: string, rootOrOptions?: string | AgentExportOptions, maybeRoot?: string): Promise<AgentExportResult>;
9
42
  export declare function installAgent(agentValue: string, options?: AgentInstallOptions, root?: string): Promise<AgentInstallResult>;
10
43
  export declare function uninstallAgent(agentValue: string, options?: {
11
44
  dryRun?: boolean;
@@ -13,5 +46,9 @@ export declare function uninstallAgent(agentValue: string, options?: {
13
46
  export declare function agentDoctor(root?: string, options?: {
14
47
  verbose?: boolean;
15
48
  }): Promise<string>;
16
- export declare function buildAgentExportFiles(agent: AgentId, root?: string): Promise<AgentExportFile[]>;
49
+ export declare function agentHostDoctor(agentValue: string, root?: string): Promise<AgentHostDoctorReport>;
50
+ export declare function agentHostDoctorAll(root?: string): Promise<AgentHostDoctorSummary>;
51
+ export declare function renderAgentHostDoctor(report: AgentHostDoctorReport): string;
52
+ export declare function renderAgentHostDoctorSummary(summary: AgentHostDoctorSummary): string;
53
+ export declare function buildAgentExportFiles(agent: AgentId, root?: string, options?: AgentExportOptions): Promise<AgentExportFile[]>;
17
54
  export declare function mcpConfig(agent?: AgentId | "cursor" | "generic"): Record<string, unknown>;