openclacky 0.7.1 → 0.7.3
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 +83 -0
- data/README.md +70 -161
- data/bin/clarky +11 -0
- data/lib/clacky/agent.rb +10 -1
- data/lib/clacky/cli.rb +0 -4
- data/lib/clacky/default_skills/code-explorer/SKILL.md +11 -18
- data/lib/clacky/default_skills/new/SKILL.md +2 -2
- data/lib/clacky/providers.rb +109 -0
- data/lib/clacky/ui2/components/modal_component.rb +8 -6
- data/lib/clacky/ui2/ui_controller.rb +65 -14
- data/lib/clacky/utils/file_processor.rb +13 -18
- data/lib/clacky/version.rb +1 -1
- data/lib/clacky.rb +1 -0
- data/scripts/install.sh +274 -97
- data/scripts/uninstall.sh +12 -12
- metadata +4 -2
- data/.clacky/skills/test-skill/SKILL.md +0 -15
data/scripts/uninstall.sh
CHANGED
|
@@ -50,7 +50,7 @@ uninstall_homebrew() {
|
|
|
50
50
|
if brew list openclacky >/dev/null 2>&1; then
|
|
51
51
|
print_step "Uninstalling via Homebrew..."
|
|
52
52
|
brew uninstall openclacky
|
|
53
|
-
|
|
53
|
+
|
|
54
54
|
# Optionally untap
|
|
55
55
|
if brew tap | grep -q "clacky-ai/openclacky"; then
|
|
56
56
|
read -p "$(echo -e ${YELLOW}?${NC}) Remove Homebrew tap (clacky-ai/openclacky)? [y/N] " -n 1 -r
|
|
@@ -60,7 +60,7 @@ uninstall_homebrew() {
|
|
|
60
60
|
print_success "Tap removed"
|
|
61
61
|
fi
|
|
62
62
|
fi
|
|
63
|
-
|
|
63
|
+
|
|
64
64
|
return 0
|
|
65
65
|
fi
|
|
66
66
|
fi
|
|
@@ -82,12 +82,12 @@ uninstall_gem() {
|
|
|
82
82
|
# Remove configuration files
|
|
83
83
|
remove_config() {
|
|
84
84
|
CONFIG_DIR="$HOME/.clacky"
|
|
85
|
-
|
|
85
|
+
|
|
86
86
|
if [ -d "$CONFIG_DIR" ]; then
|
|
87
87
|
print_warning "Configuration directory found: $CONFIG_DIR"
|
|
88
88
|
read -p "$(echo -e ${YELLOW}?${NC}) Remove configuration files (including API keys)? [y/N] " -n 1 -r
|
|
89
89
|
echo
|
|
90
|
-
|
|
90
|
+
|
|
91
91
|
if [[ $REPLY =~ ^[Yy]$ ]]; then
|
|
92
92
|
rm -rf "$CONFIG_DIR"
|
|
93
93
|
print_success "Configuration removed"
|
|
@@ -106,24 +106,24 @@ main() {
|
|
|
106
106
|
echo "║ ║"
|
|
107
107
|
echo "╚═══════════════════════════════════════════════════════════╝"
|
|
108
108
|
echo ""
|
|
109
|
-
|
|
109
|
+
|
|
110
110
|
if ! check_installation; then
|
|
111
111
|
print_warning "OpenClacky does not appear to be installed"
|
|
112
112
|
exit 0
|
|
113
113
|
fi
|
|
114
|
-
|
|
114
|
+
|
|
115
115
|
UNINSTALLED=false
|
|
116
|
-
|
|
116
|
+
|
|
117
117
|
# Try Homebrew first
|
|
118
118
|
if uninstall_homebrew; then
|
|
119
119
|
UNINSTALLED=true
|
|
120
120
|
fi
|
|
121
|
-
|
|
121
|
+
|
|
122
122
|
# Try gem
|
|
123
123
|
if uninstall_gem; then
|
|
124
124
|
UNINSTALLED=true
|
|
125
125
|
fi
|
|
126
|
-
|
|
126
|
+
|
|
127
127
|
if [ "$UNINSTALLED" = false ]; then
|
|
128
128
|
print_error "Could not automatically uninstall OpenClacky"
|
|
129
129
|
print_info "You may need to uninstall manually:"
|
|
@@ -131,12 +131,12 @@ main() {
|
|
|
131
131
|
echo " - Via RubyGems: gem uninstall openclacky"
|
|
132
132
|
exit 1
|
|
133
133
|
fi
|
|
134
|
-
|
|
134
|
+
|
|
135
135
|
print_success "OpenClacky uninstalled successfully"
|
|
136
|
-
|
|
136
|
+
|
|
137
137
|
# Ask about config removal
|
|
138
138
|
remove_config
|
|
139
|
-
|
|
139
|
+
|
|
140
140
|
echo ""
|
|
141
141
|
print_success "Uninstallation complete!"
|
|
142
142
|
print_info "Thank you for using OpenClacky 👋"
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: openclacky
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.7.
|
|
4
|
+
version: 0.7.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- windy
|
|
@@ -142,13 +142,13 @@ email:
|
|
|
142
142
|
- yafei@dao42.com
|
|
143
143
|
executables:
|
|
144
144
|
- clacky
|
|
145
|
+
- clarky
|
|
145
146
|
- openclacky
|
|
146
147
|
extensions: []
|
|
147
148
|
extra_rdoc_files: []
|
|
148
149
|
files:
|
|
149
150
|
- ".clacky/skills/commit/SKILL.md"
|
|
150
151
|
- ".clacky/skills/gem-release/SKILL.md"
|
|
151
|
-
- ".clacky/skills/test-skill/SKILL.md"
|
|
152
152
|
- ".clackyrules"
|
|
153
153
|
- ".rspec"
|
|
154
154
|
- ".rubocop.yml"
|
|
@@ -158,6 +158,7 @@ files:
|
|
|
158
158
|
- README.md
|
|
159
159
|
- Rakefile
|
|
160
160
|
- bin/clacky
|
|
161
|
+
- bin/clarky
|
|
161
162
|
- bin/openclacky
|
|
162
163
|
- clacky-legacy/clacky.gemspec
|
|
163
164
|
- clacky-legacy/clarky.gemspec
|
|
@@ -199,6 +200,7 @@ files:
|
|
|
199
200
|
- lib/clacky/default_skills/new/SKILL.md
|
|
200
201
|
- lib/clacky/default_skills/skill-add/SKILL.md
|
|
201
202
|
- lib/clacky/json_ui_controller.rb
|
|
203
|
+
- lib/clacky/providers.rb
|
|
202
204
|
- lib/clacky/session_manager.rb
|
|
203
205
|
- lib/clacky/skill.rb
|
|
204
206
|
- lib/clacky/skill_loader.rb
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: test-skill
|
|
3
|
-
description: A test skill for demonstrating skill loading
|
|
4
|
-
disable-model-invocation: false
|
|
5
|
-
user-invocable: true
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
# Test Skill
|
|
9
|
-
|
|
10
|
-
This is a test skill to verify that skills are being loaded into the system prompt.
|
|
11
|
-
|
|
12
|
-
When you see this skill in your context, you should:
|
|
13
|
-
1. Acknowledge that you have access to this skill
|
|
14
|
-
2. Explain what this skill does
|
|
15
|
-
3. Demonstrate that you can use it
|