appydave-tools 0.83.0 → 0.85.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +19 -0
- data/CLAUDE.md +1 -1
- data/CONTEXT.md +133 -23
- data/bin/configuration.rb +20 -0
- data/bin/query_apps.rb +74 -0
- data/config/examples/locations.example.json +48 -0
- data/config/examples/settings.example.json +9 -0
- data/config/random-queries.yml +24 -45
- data/context.globs.json +24 -0
- data/docs/planning/multi-user-support.md +108 -0
- data/docs/planning/query-apps-design.md +344 -0
- data/docs/planning/query-location-feature/IMPLEMENTATION_PLAN.md +142 -0
- data/docs/planning/query-location-feature/system-context-gap-analysis.md +107 -0
- data/docs/planning/query-skills-plan.md +354 -0
- data/docs/specs/jump-add-display-fix.md +249 -0
- data/exe/query_apps +7 -0
- data/lib/appydave/tools/app_context/app_finder.rb +176 -0
- data/lib/appydave/tools/app_context/globs_loader.rb +116 -0
- data/lib/appydave/tools/app_context/options.rb +28 -0
- data/lib/appydave/tools/brain_context/options.rb +19 -2
- data/lib/appydave/tools/configuration/example_installer.rb +72 -0
- data/lib/appydave/tools/configuration/models/settings_config.rb +12 -0
- data/lib/appydave/tools/jump/cli.rb +78 -0
- data/lib/appydave/tools/jump/commands/query.rb +112 -0
- data/lib/appydave/tools/jump/formatters/table_formatter.rb +16 -5
- data/lib/appydave/tools/version.rb +1 -1
- data/lib/appydave/tools/zsh_history/config.rb +2 -2
- data/lib/appydave/tools/zsh_history/filter.rb +10 -4
- data/lib/appydave/tools.rb +6 -0
- data/package.json +1 -1
- metadata +19 -2
|
@@ -24,11 +24,12 @@ module Appydave
|
|
|
24
24
|
#
|
|
25
25
|
# @return [String] Formatted table
|
|
26
26
|
def format
|
|
27
|
-
return format_error
|
|
28
|
-
return format_info
|
|
29
|
-
return format_summary
|
|
30
|
-
return format_groups
|
|
31
|
-
return
|
|
27
|
+
return format_error unless success?
|
|
28
|
+
return format_info if info_result?
|
|
29
|
+
return format_summary if summary_result?
|
|
30
|
+
return format_groups unless groups.empty?
|
|
31
|
+
return format_mutation if mutation_result?
|
|
32
|
+
return format_empty if results.empty?
|
|
32
33
|
return format_definition_report if definition_report?
|
|
33
34
|
return format_count_report if count_report?
|
|
34
35
|
return format_category_report if category_report?
|
|
@@ -45,6 +46,16 @@ module Appydave
|
|
|
45
46
|
lines.join("\n")
|
|
46
47
|
end
|
|
47
48
|
|
|
49
|
+
def mutation_result?
|
|
50
|
+
data.key?(:message) && (data.key?(:location) || data[:message].to_s.match?(/removed|updated|added/i))
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
def format_mutation
|
|
54
|
+
lines = [colorize(data[:message], :green)]
|
|
55
|
+
lines << colorize(data[:warning], :yellow) if data[:warning]
|
|
56
|
+
lines.join("\n")
|
|
57
|
+
end
|
|
58
|
+
|
|
48
59
|
def format_empty
|
|
49
60
|
message = case data[:report]
|
|
50
61
|
when 'brands'
|
|
@@ -108,8 +108,8 @@ module Appydave
|
|
|
108
108
|
^Finished in \\d
|
|
109
109
|
^\\d+ examples, \\d+ failures
|
|
110
110
|
|
|
111
|
-
# Process listing output
|
|
112
|
-
|
|
111
|
+
# Process listing output (current user)
|
|
112
|
+
^#{ENV.fetch('USER', ENV.fetch('USERNAME', ''))}\\s+\\d+
|
|
113
113
|
PATTERNS
|
|
114
114
|
|
|
115
115
|
# Create crash-recovery profile
|
|
@@ -34,8 +34,7 @@ module Appydave
|
|
|
34
34
|
'^head ',
|
|
35
35
|
'^tail ',
|
|
36
36
|
'^echo \\$',
|
|
37
|
-
'^\\[\\d+\\]',
|
|
38
|
-
'^davidcruwys\\s+\\d+', # Process listing output
|
|
37
|
+
'^\\[\\d+\\]', # Output like [1234]
|
|
39
38
|
'^zsh: command not found',
|
|
40
39
|
'^X Process completed',
|
|
41
40
|
'^Coverage report',
|
|
@@ -138,9 +137,16 @@ module Appydave
|
|
|
138
137
|
end
|
|
139
138
|
|
|
140
139
|
def load_exclude_patterns
|
|
141
|
-
# Try loading from config, fall back to defaults
|
|
140
|
+
# Try loading from config, fall back to defaults (with dynamic user pattern appended)
|
|
142
141
|
config_patterns = config.exclude_patterns
|
|
143
|
-
config_patterns ||
|
|
142
|
+
config_patterns || default_exclude_patterns_with_user
|
|
143
|
+
end
|
|
144
|
+
|
|
145
|
+
def default_exclude_patterns_with_user
|
|
146
|
+
username = ENV.fetch('USER', ENV.fetch('USERNAME', ''))
|
|
147
|
+
return DEFAULT_EXCLUDE_PATTERNS if username.empty?
|
|
148
|
+
|
|
149
|
+
DEFAULT_EXCLUDE_PATTERNS + ["^#{username}\\s+\\d+"]
|
|
144
150
|
end
|
|
145
151
|
|
|
146
152
|
def load_include_patterns
|
data/lib/appydave/tools.rb
CHANGED
|
@@ -41,6 +41,10 @@ require 'appydave/tools/brain_context/options'
|
|
|
41
41
|
require 'appydave/tools/brain_context/brain_finder'
|
|
42
42
|
require 'appydave/tools/brain_context/omi_finder'
|
|
43
43
|
|
|
44
|
+
require 'appydave/tools/app_context/options'
|
|
45
|
+
require 'appydave/tools/app_context/globs_loader'
|
|
46
|
+
require 'appydave/tools/app_context/app_finder'
|
|
47
|
+
|
|
44
48
|
require 'appydave/tools/random_context/query_entry'
|
|
45
49
|
require 'appydave/tools/random_context/randomizer'
|
|
46
50
|
|
|
@@ -52,6 +56,7 @@ require 'appydave/tools/configuration/models/settings_config'
|
|
|
52
56
|
require 'appydave/tools/configuration/models/brands_config'
|
|
53
57
|
require 'appydave/tools/configuration/models/channels_config'
|
|
54
58
|
require 'appydave/tools/configuration/models/youtube_automation_config'
|
|
59
|
+
require 'appydave/tools/configuration/example_installer'
|
|
55
60
|
require 'appydave/tools/name_manager/project_name'
|
|
56
61
|
|
|
57
62
|
require 'appydave/tools/prompt_tools/prompt_completion'
|
|
@@ -109,6 +114,7 @@ require 'appydave/tools/jump/commands/remove'
|
|
|
109
114
|
require 'appydave/tools/jump/commands/validate'
|
|
110
115
|
require 'appydave/tools/jump/commands/report'
|
|
111
116
|
require 'appydave/tools/jump/commands/generate'
|
|
117
|
+
require 'appydave/tools/jump/commands/query'
|
|
112
118
|
require 'appydave/tools/jump/cli'
|
|
113
119
|
|
|
114
120
|
require 'appydave/tools/youtube_manager/models/youtube_details'
|
data/package.json
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: appydave-tools
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.85.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- David Cruwys
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-04-
|
|
11
|
+
date: 2026-04-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activemodel
|
|
@@ -190,6 +190,7 @@ executables:
|
|
|
190
190
|
- jump
|
|
191
191
|
- llm_context
|
|
192
192
|
- prompt_tools
|
|
193
|
+
- query_apps
|
|
193
194
|
- query_brain
|
|
194
195
|
- query_omi
|
|
195
196
|
- subtitle_processor
|
|
@@ -231,6 +232,7 @@ files:
|
|
|
231
232
|
- bin/llm_context.rb
|
|
232
233
|
- bin/move_images.rb
|
|
233
234
|
- bin/prompt_tools.rb
|
|
235
|
+
- bin/query_apps.rb
|
|
234
236
|
- bin/query_brain.rb
|
|
235
237
|
- bin/query_omi.rb
|
|
236
238
|
- bin/random_context.rb
|
|
@@ -242,7 +244,10 @@ files:
|
|
|
242
244
|
- bin/youtube_automation.rb
|
|
243
245
|
- bin/youtube_manager.rb
|
|
244
246
|
- bin/zsh_history.rb
|
|
247
|
+
- config/examples/locations.example.json
|
|
248
|
+
- config/examples/settings.example.json
|
|
245
249
|
- config/random-queries.yml
|
|
250
|
+
- context.globs.json
|
|
246
251
|
- docs/README.md
|
|
247
252
|
- docs/ai-instructions/behavioral-regression-audit.md
|
|
248
253
|
- docs/ai-instructions/code-quality-retrospective.md
|
|
@@ -329,6 +334,11 @@ files:
|
|
|
329
334
|
- docs/planning/micro-cleanup/AGENTS.md
|
|
330
335
|
- docs/planning/micro-cleanup/IMPLEMENTATION_PLAN.md
|
|
331
336
|
- docs/planning/micro-cleanup/assessment.md
|
|
337
|
+
- docs/planning/multi-user-support.md
|
|
338
|
+
- docs/planning/query-apps-design.md
|
|
339
|
+
- docs/planning/query-location-feature/IMPLEMENTATION_PLAN.md
|
|
340
|
+
- docs/planning/query-location-feature/system-context-gap-analysis.md
|
|
341
|
+
- docs/planning/query-skills-plan.md
|
|
332
342
|
- docs/planning/s3-operations-split/AGENTS.md
|
|
333
343
|
- docs/planning/s3-operations-split/IMPLEMENTATION_PLAN.md
|
|
334
344
|
- docs/planning/test-coverage-gaps/AGENTS.md
|
|
@@ -336,6 +346,7 @@ files:
|
|
|
336
346
|
- docs/planning/test-coverage-gaps/assessment.md
|
|
337
347
|
- docs/specs/fr-002-gpt-context-help-system.md
|
|
338
348
|
- docs/specs/fr-003-jump-location-tool.md
|
|
349
|
+
- docs/specs/jump-add-display-fix.md
|
|
339
350
|
- docs/specs/zsh-history-tool.md
|
|
340
351
|
- docs/templates/.env.example
|
|
341
352
|
- docs/templates/channels.example.json
|
|
@@ -346,6 +357,7 @@ files:
|
|
|
346
357
|
- exe/jump
|
|
347
358
|
- exe/llm_context
|
|
348
359
|
- exe/prompt_tools
|
|
360
|
+
- exe/query_apps
|
|
349
361
|
- exe/query_brain
|
|
350
362
|
- exe/query_omi
|
|
351
363
|
- exe/subtitle_processor
|
|
@@ -354,6 +366,9 @@ files:
|
|
|
354
366
|
- exe/zsh_history
|
|
355
367
|
- images.log
|
|
356
368
|
- lib/appydave/tools.rb
|
|
369
|
+
- lib/appydave/tools/app_context/app_finder.rb
|
|
370
|
+
- lib/appydave/tools/app_context/globs_loader.rb
|
|
371
|
+
- lib/appydave/tools/app_context/options.rb
|
|
357
372
|
- lib/appydave/tools/brain_context/brain_finder.rb
|
|
358
373
|
- lib/appydave/tools/brain_context/omi_finder.rb
|
|
359
374
|
- lib/appydave/tools/brain_context/options.rb
|
|
@@ -365,6 +380,7 @@ files:
|
|
|
365
380
|
- lib/appydave/tools/configuration/_doc.md
|
|
366
381
|
- lib/appydave/tools/configuration/config.rb
|
|
367
382
|
- lib/appydave/tools/configuration/configurable.rb
|
|
383
|
+
- lib/appydave/tools/configuration/example_installer.rb
|
|
368
384
|
- lib/appydave/tools/configuration/models/brands_config.rb
|
|
369
385
|
- lib/appydave/tools/configuration/models/channels_config.rb
|
|
370
386
|
- lib/appydave/tools/configuration/models/config_base.rb
|
|
@@ -404,6 +420,7 @@ files:
|
|
|
404
420
|
- lib/appydave/tools/jump/commands/add.rb
|
|
405
421
|
- lib/appydave/tools/jump/commands/base.rb
|
|
406
422
|
- lib/appydave/tools/jump/commands/generate.rb
|
|
423
|
+
- lib/appydave/tools/jump/commands/query.rb
|
|
407
424
|
- lib/appydave/tools/jump/commands/remove.rb
|
|
408
425
|
- lib/appydave/tools/jump/commands/report.rb
|
|
409
426
|
- lib/appydave/tools/jump/commands/update.rb
|