crucible 0.1.5 → 0.1.7

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5d114209ba5bb5fa541f65747389b48c4b074bf947482697e9438994a2fca193
4
- data.tar.gz: 27bac72f974e0af3397d8a6da864f8672a6f8a5535c7bc5a8eb34821cd23cf2c
3
+ metadata.gz: 7663272e309f6f9de63f7faee4fd6fb2aefc6482de60d6785dbdafaa6d8929bd
4
+ data.tar.gz: dfe69632fa2df1480fac7524368827d1b407a0dfb588b662817da8bab06bbfb1
5
5
  SHA512:
6
- metadata.gz: bffe986b41fb2150493f5164ed1ad64bfbd5bf573cfc546d46ad88a4008b818502b60ddbb294ab7e327b088998ae8636452ec6b67b44b1e792dec7364da59340
7
- data.tar.gz: 84e6552d826c7abe0b72300764cd7cdd1c1ada144b0148f26117ca225f16117fd9b0cff9032b42c9cba12c56dbffd97fe9eb804efef1ab04912fcd452231926b
6
+ metadata.gz: ec445d529e92c77f596f6578e42882fc3fcfb469ddb27487efe52cb32d6e9620007a2a52d91f59109f27a7f5be85b34da89062e2f1185c2f2127b74056845a75
7
+ data.tar.gz: 1485d88fe2b7d6109c5e8baeecc635314814c724240d00833f6d23c9119ca5d8a1b1bd7ef9bec75e51b56742f9f336264ad7baddc3bb66c257c3c3dc3c462703
data/README.md CHANGED
@@ -22,13 +22,13 @@ bundle install
22
22
 
23
23
  ```bash
24
24
  # Run with defaults (headless, 1280x720 viewport, 30s timeout)
25
- ./exe/crucible
25
+ crucible
26
26
 
27
27
  # Run with visible browser
28
- ./exe/crucible --no-headless
28
+ crucible --no-headless
29
29
 
30
30
  # Full options
31
- ./exe/crucible \
31
+ crucible \
32
32
  --no-headless \
33
33
  --width 1920 \
34
34
  --height 1080 \
@@ -351,12 +351,9 @@ bundle exec rake server
351
351
 
352
352
  ```bash
353
353
  bin/release 0.2.0
354
- git push origin main --tags
355
- gh release create v0.2.0 --generate-notes
356
- gem push crucible-*.gem
357
354
  ```
358
355
 
359
- The release workflow builds the gem and attaches it to the GitHub release.
356
+ This script bumps the version, commits, tags, pushes, creates a GitHub release, builds the gem, and pushes to RubyGems (you'll handle MFA via browser).
360
357
 
361
358
  ## Requirements
362
359
 
@@ -52,12 +52,10 @@ module Crucible
52
52
  sessions.enable_stealth(session, profile: profile_sym)
53
53
 
54
54
  info = sessions.stealth_info(session)
55
- MCP::Tool::Response.new([{
56
- type: 'text',
57
- text: "Stealth mode enabled for session '#{session}' with profile: #{info[:profile]}"
58
- }])
55
+ msg = "Stealth mode enabled for session '#{session}' with profile: #{info[:profile]}"
56
+ MCP::Tool::Response.new([{ type: 'text', text: msg }])
59
57
  rescue Crucible::SessionNotFoundError, Crucible::Error => e
60
- MCP::Tool::Response.new([{ type: 'text', text: e.message }], is_error: true)
58
+ MCP::Tool::Response.new([{ type: 'text', text: e.message }], error: true)
61
59
  end
62
60
  end
63
61
 
@@ -82,11 +80,11 @@ module Crucible
82
80
  sessions.disable_stealth(session)
83
81
 
84
82
  MCP::Tool::Response.new([{
85
- type: 'text',
86
- text: "Stealth mode disabled for session '#{session}'"
87
- }])
83
+ type: 'text',
84
+ text: "Stealth mode disabled for session '#{session}'"
85
+ }])
88
86
  rescue Crucible::SessionNotFoundError => e
89
- MCP::Tool::Response.new([{ type: 'text', text: e.message }], is_error: true)
87
+ MCP::Tool::Response.new([{ type: 'text', text: e.message }], error: true)
90
88
  end
91
89
  end
92
90
 
@@ -116,11 +114,11 @@ module Crucible
116
114
  }
117
115
 
118
116
  MCP::Tool::Response.new([{
119
- type: 'text',
120
- text: JSON.pretty_generate(status)
121
- }])
117
+ type: 'text',
118
+ text: JSON.pretty_generate(status)
119
+ }])
122
120
  rescue Crucible::SessionNotFoundError => e
123
- MCP::Tool::Response.new([{ type: 'text', text: e.message }], is_error: true)
121
+ MCP::Tool::Response.new([{ type: 'text', text: e.message }], error: true)
124
122
  end
125
123
  end
126
124
 
@@ -154,11 +152,11 @@ module Crucible
154
152
  sessions.enable_stealth(session, profile: profile.to_sym)
155
153
 
156
154
  MCP::Tool::Response.new([{
157
- type: 'text',
158
- text: "Stealth profile set to '#{profile}' for session '#{session}'"
159
- }])
155
+ type: 'text',
156
+ text: "Stealth profile set to '#{profile}' for session '#{session}'"
157
+ }])
160
158
  rescue Crucible::SessionNotFoundError, Crucible::Error => e
161
- MCP::Tool::Response.new([{ type: 'text', text: e.message }], is_error: true)
159
+ MCP::Tool::Response.new([{ type: 'text', text: e.message }], error: true)
162
160
  end
163
161
  end
164
162
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Crucible
4
- VERSION = '0.1.5'
4
+ VERSION = '0.1.7'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: crucible
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh Frye