rosett-ai 1.8.1 → 1.11.9
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +253 -0
- data/README.md +2 -2
- data/conf/schemas/rai_config_schema.json +10 -0
- data/lib/rosett_ai/compiler/backends/agents_md_backend.rb +10 -3
- data/lib/rosett_ai/compiler/backends/claude_backend.rb +11 -1
- data/lib/rosett_ai/compiler/compilation_pipeline.rb +25 -0
- data/lib/rosett_ai/compiler/lean_bundle.rb +150 -0
- data/lib/rosett_ai/compiler/lean_emitter.rb +76 -0
- data/lib/rosett_ai/desktop/gui_logger.rb +1 -1
- data/lib/rosett_ai/exit_codes.rb +2 -1
- data/lib/rosett_ai/init/mcp_registrar.rb +56 -19
- data/lib/rosett_ai/mcp/governance.rb +1 -0
- data/lib/rosett_ai/mcp/tools/compile_status_tool.rb +58 -13
- data/lib/rosett_ai/mcp/tools/config_compile_tool.rb +40 -7
- data/lib/rosett_ai/mcp/tools/optimize_tool.rb +73 -0
- data/lib/rosett_ai/optimize/corpus.rb +79 -0
- data/lib/rosett_ai/optimize/detector.rb +27 -0
- data/lib/rosett_ai/optimize/detectors/conflict.rb +50 -0
- data/lib/rosett_ai/optimize/detectors/overlap.rb +74 -0
- data/lib/rosett_ai/optimize/detectors/staleness.rb +61 -0
- data/lib/rosett_ai/optimize/detectors/token_cost.rb +44 -0
- data/lib/rosett_ai/optimize/finding.rb +36 -0
- data/lib/rosett_ai/optimize/proposal_writer.rb +54 -0
- data/lib/rosett_ai/optimize/report_writer.rb +72 -0
- data/lib/rosett_ai/optimize/runner.rb +38 -0
- data/lib/rosett_ai/optimize/thresholds.rb +52 -0
- data/lib/rosett_ai/optimize.rb +33 -0
- data/lib/rosett_ai/path_resolver.rb +25 -0
- data/lib/rosett_ai/plugins/registry.rb +45 -15
- data/lib/rosett_ai/provenance/entry.rb +1 -2
- data/lib/rosett_ai/rai_config.rb +3 -0
- data/lib/rosett_ai/rules/status_checker.rb +144 -0
- data/lib/rosett_ai/telemetry/json_lines_writer.rb +1 -1
- data/lib/rosett_ai/thor/cli.rb +7 -61
- data/lib/rosett_ai/thor/command_tree.rb +79 -0
- data/lib/rosett_ai/thor/tasks/compile.rb +137 -2
- data/lib/rosett_ai/thor/tasks/optimize.rb +103 -0
- data/lib/rosett_ai/thor/tasks/rules.rb +125 -0
- data/lib/rosett_ai/version.rb +1 -1
- data/lib/rosett_ai.rb +2 -0
- data/locales/en.yml +15 -0
- metadata +22 -3
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rosett-ai
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.11.9
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Hugo Antonio Sepulveda Manriquez
|
|
@@ -155,14 +155,14 @@ dependencies:
|
|
|
155
155
|
requirements:
|
|
156
156
|
- - "~>"
|
|
157
157
|
- !ruby/object:Gem::Version
|
|
158
|
-
version: '
|
|
158
|
+
version: '3.6'
|
|
159
159
|
type: :runtime
|
|
160
160
|
prerelease: false
|
|
161
161
|
version_requirements: !ruby/object:Gem::Requirement
|
|
162
162
|
requirements:
|
|
163
163
|
- - "~>"
|
|
164
164
|
- !ruby/object:Gem::Version
|
|
165
|
-
version: '
|
|
165
|
+
version: '3.6'
|
|
166
166
|
- !ruby/object:Gem::Dependency
|
|
167
167
|
name: terminal-table
|
|
168
168
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -324,6 +324,8 @@ files:
|
|
|
324
324
|
- lib/rosett_ai/compiler/capability_checker.rb
|
|
325
325
|
- lib/rosett_ai/compiler/compilation_pipeline.rb
|
|
326
326
|
- lib/rosett_ai/compiler/compiled_output.rb
|
|
327
|
+
- lib/rosett_ai/compiler/lean_bundle.rb
|
|
328
|
+
- lib/rosett_ai/compiler/lean_emitter.rb
|
|
327
329
|
- lib/rosett_ai/compiler/locale_compiler.rb
|
|
328
330
|
- lib/rosett_ai/compiler/target_profile.rb
|
|
329
331
|
- lib/rosett_ai/completion/generator.rb
|
|
@@ -468,6 +470,7 @@ files:
|
|
|
468
470
|
- lib/rosett_ai/mcp/tools/hooks_status_tool.rb
|
|
469
471
|
- lib/rosett_ai/mcp/tools/init_tool.rb
|
|
470
472
|
- lib/rosett_ai/mcp/tools/license_status_tool.rb
|
|
473
|
+
- lib/rosett_ai/mcp/tools/optimize_tool.rb
|
|
471
474
|
- lib/rosett_ai/mcp/tools/project_tool.rb
|
|
472
475
|
- lib/rosett_ai/mcp/tools/provenance_tool.rb
|
|
473
476
|
- lib/rosett_ai/mcp/tools/provenance_write_tool.rb
|
|
@@ -482,6 +485,18 @@ files:
|
|
|
482
485
|
- lib/rosett_ai/migration/nncc_config_migrator.rb
|
|
483
486
|
- lib/rosett_ai/migration/nncc_project_migrator.rb
|
|
484
487
|
- lib/rosett_ai/migration/xdg_migrator.rb
|
|
488
|
+
- lib/rosett_ai/optimize.rb
|
|
489
|
+
- lib/rosett_ai/optimize/corpus.rb
|
|
490
|
+
- lib/rosett_ai/optimize/detector.rb
|
|
491
|
+
- lib/rosett_ai/optimize/detectors/conflict.rb
|
|
492
|
+
- lib/rosett_ai/optimize/detectors/overlap.rb
|
|
493
|
+
- lib/rosett_ai/optimize/detectors/staleness.rb
|
|
494
|
+
- lib/rosett_ai/optimize/detectors/token_cost.rb
|
|
495
|
+
- lib/rosett_ai/optimize/finding.rb
|
|
496
|
+
- lib/rosett_ai/optimize/proposal_writer.rb
|
|
497
|
+
- lib/rosett_ai/optimize/report_writer.rb
|
|
498
|
+
- lib/rosett_ai/optimize/runner.rb
|
|
499
|
+
- lib/rosett_ai/optimize/thresholds.rb
|
|
485
500
|
- lib/rosett_ai/package_manager/apt.rb
|
|
486
501
|
- lib/rosett_ai/package_manager/base.rb
|
|
487
502
|
- lib/rosett_ai/package_manager/gem_backend.rb
|
|
@@ -525,6 +540,7 @@ files:
|
|
|
525
540
|
- lib/rosett_ai/retrofit/round_trip_validator.rb
|
|
526
541
|
- lib/rosett_ai/retrofit/scanner.rb
|
|
527
542
|
- lib/rosett_ai/retrofit/secret_detector.rb
|
|
543
|
+
- lib/rosett_ai/rules/status_checker.rb
|
|
528
544
|
- lib/rosett_ai/secrets_resolver.rb
|
|
529
545
|
- lib/rosett_ai/session_hooks/installer.rb
|
|
530
546
|
- lib/rosett_ai/smart_feedback/suggester.rb
|
|
@@ -537,6 +553,7 @@ files:
|
|
|
537
553
|
- lib/rosett_ai/telemetry/reporter.rb
|
|
538
554
|
- lib/rosett_ai/text_sanitizer.rb
|
|
539
555
|
- lib/rosett_ai/thor/cli.rb
|
|
556
|
+
- lib/rosett_ai/thor/command_tree.rb
|
|
540
557
|
- lib/rosett_ai/thor/tasks/adopt.rb
|
|
541
558
|
- lib/rosett_ai/thor/tasks/backfill_user_yml.rb
|
|
542
559
|
- lib/rosett_ai/thor/tasks/backup.rb
|
|
@@ -558,11 +575,13 @@ files:
|
|
|
558
575
|
- lib/rosett_ai/thor/tasks/license.rb
|
|
559
576
|
- lib/rosett_ai/thor/tasks/mcp.rb
|
|
560
577
|
- lib/rosett_ai/thor/tasks/migrate.rb
|
|
578
|
+
- lib/rosett_ai/thor/tasks/optimize.rb
|
|
561
579
|
- lib/rosett_ai/thor/tasks/plugins.rb
|
|
562
580
|
- lib/rosett_ai/thor/tasks/project.rb
|
|
563
581
|
- lib/rosett_ai/thor/tasks/provenance.rb
|
|
564
582
|
- lib/rosett_ai/thor/tasks/release.rb
|
|
565
583
|
- lib/rosett_ai/thor/tasks/retrofit.rb
|
|
584
|
+
- lib/rosett_ai/thor/tasks/rules.rb
|
|
566
585
|
- lib/rosett_ai/thor/tasks/tooling.rb
|
|
567
586
|
- lib/rosett_ai/thor/tasks/validate.rb
|
|
568
587
|
- lib/rosett_ai/thor/tasks/workflow.rb
|