Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
ruby:
- '3.4'
- '3.3'
- '3.2'
- '3.2' # EOL: 2026-03-31 (expected)
Copy link
Contributor Author

@corsonknowles corsonknowles Nov 19, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No problem if you don't want this, I just always go to check these are current when I see a testing matrix


steps:
- uses: actions/checkout@v4
Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,16 @@ Chatwerk provides AI tool integration for the [QueryPackwerk](https://github.com

## Installation

Install the gem, either add in to your packwerk'd application's Gemfile:
Install the gem.

Either add it to your packwerk'd application's Gemfile:

```ruby
$ bundle add chatwerk
$ bundle install
```

or install it on its own:
Or, install it on its own:

```bash
$ gem install chatwerk
Expand Down
1 change: 0 additions & 1 deletion lib/chatwerk/cli.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

require 'thor'
Expand Down
2 changes: 2 additions & 0 deletions lib/chatwerk/helpers.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

module Chatwerk
module Helpers
def chdir(&)
Expand Down
2 changes: 2 additions & 0 deletions lib/chatwerk/mcp.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

require 'mcp'

module Chatwerk
Expand Down
2 changes: 2 additions & 0 deletions lib/chatwerk/tools/print_env_tool.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

require 'mcp'
require_relative '../helpers'

Expand Down
1 change: 0 additions & 1 deletion lib/chatwerk/version.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

module Chatwerk
Expand Down
2 changes: 2 additions & 0 deletions lib/chatwerk/views.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

module Chatwerk
module Views
autoload :NoPackagesView, 'chatwerk/views/no_packages_view'
Expand Down
3 changes: 0 additions & 3 deletions spec/chatwerk/api_spec.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# typed: false
# frozen_string_literal: true

require 'spec_helper'

RSpec.describe Chatwerk::Api do
let(:pwd) { '/test/workspace' }
let(:package_path) { 'packs/test_package' }
Expand Down
2 changes: 1 addition & 1 deletion spec/chatwerk/error_spec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require 'spec_helper'
# frozen_string_literal: true

RSpec.describe Chatwerk::Error do
context 'with a Chatwerk::Error' do
Expand Down
2 changes: 1 addition & 1 deletion spec/chatwerk/helpers_spec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require 'spec_helper'
# frozen_string_literal: true

RSpec.describe Chatwerk::Helpers do
describe '.chdir' do
Expand Down
4 changes: 0 additions & 4 deletions spec/chatwerk/mcp_tools_spec.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
# typed: false
# frozen_string_literal: true

require 'spec_helper'
require 'chatwerk/mcp'

RSpec.describe 'MCP Tools' do
let(:server_context) { double('server_context') }

Expand Down
2 changes: 1 addition & 1 deletion spec/chatwerk/views/no_packages_view_spec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require 'spec_helper'
# frozen_string_literal: true

RSpec.describe Chatwerk::Views::NoPackagesView do
context 'when packwerk.yml exists' do
Expand Down
2 changes: 1 addition & 1 deletion spec/chatwerk/views/no_violations_view_spec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require 'spec_helper'
# frozen_string_literal: true

RSpec.describe Chatwerk::Views::NoViolationsView do
it 'renders a message indicating no violations found' do
Expand Down
2 changes: 1 addition & 1 deletion spec/chatwerk/views/package_view_spec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require 'spec_helper'
# frozen_string_literal: true

RSpec.describe Chatwerk::Views::PackageView do
context 'with a valid package' do
Expand Down
2 changes: 1 addition & 1 deletion spec/chatwerk/views/packages_view_spec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require 'spec_helper'
# frozen_string_literal: true

RSpec.describe Chatwerk::Views::PackagesView do
context 'when packages are found' do
Expand Down
2 changes: 1 addition & 1 deletion spec/chatwerk/views/violations_details_view_spec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require 'spec_helper'
# frozen_string_literal: true

RSpec.describe Chatwerk::Views::ViolationsDetailsView do
context 'with violations having source locations' do
Expand Down
2 changes: 1 addition & 1 deletion spec/chatwerk/views/violations_list_view_spec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require 'spec_helper'
# frozen_string_literal: true

RSpec.describe Chatwerk::Views::ViolationsListView do
context 'with multiple violations' do
Expand Down
1 change: 0 additions & 1 deletion spec/chatwerk_spec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

RSpec.describe Chatwerk do
Expand Down
1 change: 0 additions & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# typed: false
# frozen_string_literal: true

require 'chatwerk'
Expand Down