-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathai-code-autoloads.el
More file actions
956 lines (759 loc) · 44.9 KB
/
ai-code-autoloads.el
File metadata and controls
956 lines (759 loc) · 44.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
;;; ai-code-autoloads.el --- Generated autoloads for AI Code -*- lexical-binding: t; -*-
;; SPDX-License-Identifier: Apache-2.0
;; Generated by the `loaddefs-generate' function.
;;; Commentary:
;; Generated autoload definitions for the AI Code package.
;;; Code:
(add-to-list 'load-path (or (and load-file-name (directory-file-name (file-name-directory load-file-name))) (car load-path)))
;;; Generated autoloads from ai-code.el
(defvar ai-code-menu-layout 'default "\
Layout used by `ai-code-menu`.
`default' keeps the original wide multi-column transient.
`two-columns' uses a narrower two-column transient with the same commands.")
(custom-autoload 'ai-code-menu-layout "ai-code" t)
(defvar ai-code-use-gptel-headline nil "\
Whether to use GPTel to generate headlines for prompt sections.
If non-nil, call `gptel-get-answer` from gptel-assistant.el to generate
headlines instead of using the current time string.")
(custom-autoload 'ai-code-use-gptel-headline "ai-code" t)
(defvar ai-code-prompt-suffix nil "\
Suffix text to append to prompts after a new line.
If non-nil, this text will be appended to the end of each prompt
with a newline separator.")
(custom-autoload 'ai-code-prompt-suffix "ai-code" t)
(defvar ai-code-use-prompt-suffix t "\
When non-nil, append `ai-code-prompt-suffix` where supported.")
(custom-autoload 'ai-code-use-prompt-suffix "ai-code" t)
(defvar ai-code-use-gptel-classify-prompt nil "\
Whether to use GPTel to classify prompts in `ask-me` auto test mode.
When non-nil and `ai-code-auto-test-type` is not nil, classify whether
the current prompt is about code changes. If not, skip test type selection
and do not append auto test suffix.")
(custom-autoload 'ai-code-use-gptel-classify-prompt "ai-code" t)
(defvar ai-code-cli "claude" "\
The command-line AI tool to use for `ai-code-apply-prompt-on-current-file`.")
(custom-autoload 'ai-code-cli "ai-code" t)
(autoload 'ai-code-send-command "ai-code" "\
Read a prompt from the user and send it to the AI service.
With \\[universal-argument], append files and repo context.
With \\[universal-argument] \\[universal-argument], also append clipboard context.
ARG is the prefix argument.
(fn ARG)" t)
(autoload 'ai-code-cli-switch-to-buffer-or-hide "ai-code" "\
Hide the current buffer when its name both begins and ends with '*'.
Otherwise switch to AI CLI buffer." t)
(autoload 'ai-code-menu "ai-code" "\
Show the AI Code transient menu selected by `ai-code-menu-layout`." t)
(register-definition-prefixes "ai-code" '("ai-code-"))
;;; Generated autoloads from ai-code-agent-shell.el
(autoload 'ai-code-agent-shell "ai-code-agent-shell" "\
Start or reuse an agent-shell session.
With prefix ARG, forward the prefix to `agent-shell'.
(fn &optional ARG)" t)
(autoload 'ai-code-agent-shell-switch-to-buffer "ai-code-agent-shell" "\
Switch to an existing agent-shell buffer.
When FORCE-PROMPT is non-nil, prompt to choose a shell.
(fn &optional FORCE-PROMPT)" t)
(autoload 'ai-code-agent-shell-send-command "ai-code-agent-shell" "\
Send LINE to agent-shell.
(fn LINE)" t)
(autoload 'ai-code-agent-shell-resume "ai-code-agent-shell" "\
Resume an agent-shell ACP session.
Without ARG use `latest' strategy, with ARG use `prompt' strategy.
(fn &optional ARG)" t)
(register-definition-prefixes "ai-code-agent-shell" '("ai-code-agent-shell--ensure-available"))
;;; Generated autoloads from ai-code-agile.el
(autoload 'ai-code-refactor-book-method "ai-code-agile" "\
Apply refactoring techniques or request suggestions.
Uses current context (function, class, selected region).
If TDD-MODE is non-nil, adjusts prompts and instructions for the
TDD refactor stage.
(fn &optional TDD-MODE)" t)
(autoload 'ai-code-run-test "ai-code-agile" "\
Ask AI to run the relevant tests for the current context." t)
(autoload 'ai-code-tdd-cycle "ai-code-agile" "\
Guide through Test Driven Development cycle (Red-Green-Refactor).
Helps users follow Kent Beck's TDD methodology with AI assistance.
Works with both source code and test files that have been added to ai-code." t)
(register-definition-prefixes "ai-code-agile" '("ai-code--"))
;;; Generated autoloads from ai-code-ai.el
(autoload 'ai-code-debug-mcp "ai-code-ai" "\
Debug MCP by choosing to run mcp, inspector, or generate a config.
If current buffer is a python file, ask user to choose either
\\='Run mcp\\=', \\='Run inspector\\=', \\='Open inspector.sh\\=',
or \\='Generate mcp config\\=', and call the matching helper." t)
(autoload 'ai-code-mcp-generate-config "ai-code-ai" "\
Generate an MCP config snippet tailored for the active backend.
Claude-oriented backends receive JSON, while the Codex backend outputs toml.
The snippet is shown in *<base-dir-name>:mcp config*." t)
(autoload 'ai-code-mcp-run "ai-code-ai" "\
Run python mcp with uv command.
Run command: uv --directory PROJECT-ROOT-BASE-DIR run
RELATIVE-PATH-TO-CURRENT-BUFFER-FILE.
Execute in compilation buffer named
*ai-code-mcp-run:FULL-PATH-OF-PYTHON-FILE*.
If current buffer is not a python file, message user and quit." t)
(autoload 'ai-code-mcp-open-inspector-script "ai-code-ai" "\
Open inspector.sh file in other window.
First find project root with `ai-code-mcp-inspector--find-project-root',
then open inspector.sh in the project root.
If the file does not exist, still open it and show message in minibuffer." t)
(autoload 'ai-code-mcp-inspector-run "ai-code-ai" "\
Run MCP inspector for the current context.
If inspector.sh is found in an ancestor directory, use that directory as
working directory and run it with bash.
Otherwise, for Python buffers, locate the project root via pyproject.toml and
run the inspector against the active file. For Dired buffers, prompt for an
inspector command, prefix the required ports, and execute it inside the listed
directory." t)
(register-definition-prefixes "ai-code-ai" '("ai-code-"))
;;; Generated autoloads from ai-code-aider-cli.el
(autoload 'ai-code-aider-cli "ai-code-aider-cli" "\
Start Aider (uses `ai-code-backends-infra' logic).
With prefix ARG, prompt for CLI args using
`ai-code-aider-cli-program-switches' as the default input.
(fn &optional ARG)" t)
(autoload 'ai-code-aider-cli-switch-to-buffer "ai-code-aider-cli" "\
Switch to the Aider CLI buffer.
When FORCE-PROMPT is non-nil, prompt to select a session.
(fn &optional FORCE-PROMPT)" t)
(autoload 'ai-code-aider-cli-send-command "ai-code-aider-cli" "\
Send LINE to Aider CLI.
(fn LINE)" t)
(autoload 'ai-code-aider-cli-send-escape "ai-code-aider-cli" "\
Send escape key to Aider CLI." t)
(register-definition-prefixes "ai-code-aider-cli" '("ai-code-aider-cli-"))
;;; Generated autoloads from ai-code-backends.el
(autoload 'ai-code-cli-start "ai-code-backends" "\
Start the current backend's CLI session when supported.
Argument ARG is passed to the backend's start function.
(fn &optional ARG)" t)
(autoload 'ai-code-cli-resume "ai-code-backends" "\
Resume the current backend's CLI session when supported.
Noninteractive callers pass ARG to the backend resume function.
When called interactively, any prefix argument is forwarded via
`current-prefix-arg', and it is up to the backend how to interpret
it (for example, some backends may use a non-nil prefix to prompt for
additional CLI arguments).
(fn &optional ARG)" t)
(autoload 'ai-code-cli-switch-to-buffer "ai-code-backends" "\
Switch to the current backend's CLI buffer when supported.
Argument ARG is passed to the backend's switch function.
(fn &optional ARG)" t)
(autoload 'ai-code-cli-send-command "ai-code-backends" "\
Send COMMAND to the current backend when supported.
When called interactively, prompt for COMMAND.
Noninteractive callers must supply COMMAND.
(fn &optional COMMAND)" t)
(autoload 'ai-code-claude-code-el-send-command "ai-code-backends" "\
Send CMD to claude-code programmatically or interactively.
This wrapper function works around the signature change in
`claude-code-send-command' which no longer accepts a command parameter.
When called interactively, prompts for the command.
When called from Lisp code, sends CMD directly without prompting.
(fn CMD)" t)
(defvar ai-code-backends '((claude-code :label "Claude Code" :require ai-code-claude-code :start ai-code-claude-code :switch ai-code-claude-code-switch-to-buffer :send ai-code-claude-code-send-command :resume ai-code-claude-code-resume :config "~/.claude.json" :agent-file "CLAUDE.md" :upgrade "npm install -g @anthropic-ai/claude-code@latest" :install-skills ai-code-claude-code-install-skills :cli "claude") (gemini :label "Gemini CLI" :require ai-code-gemini-cli :start ai-code-gemini-cli :switch ai-code-gemini-cli-switch-to-buffer :send ai-code-gemini-cli-send-command :resume ai-code-gemini-cli-resume :config "~/.gemini/settings.json" :agent-file "GEMINI.md" :upgrade "npm install -g @google/gemini-cli" :install-skills nil :cli "gemini") (github-copilot-cli :label "GitHub Copilot CLI" :require ai-code-github-copilot-cli :start ai-code-github-copilot-cli :switch ai-code-github-copilot-cli-switch-to-buffer :send ai-code-github-copilot-cli-send-command :resume ai-code-github-copilot-cli-resume :config "~/.copilot/mcp-config.json" :agent-file nil :upgrade "npm install -g @github/copilot" :install-skills nil :cli "copilot") (codex :label "OpenAI Codex CLI" :require ai-code-codex-cli :start ai-code-codex-cli :switch ai-code-codex-cli-switch-to-buffer :send ai-code-codex-cli-send-command :resume ai-code-codex-cli-resume :config "~/.codex/config.toml" :agent-file "AGENTS.md" :upgrade "npm install -g @openai/codex@latest" :install-skills nil :cli "codex") (opencode :label "Opencode" :require ai-code-opencode :start ai-code-opencode :switch ai-code-opencode-switch-to-buffer :send ai-code-opencode-send-command :resume ai-code-opencode-resume :config "~/.config/opencode/opencode.jsonc" :agent-file nil :upgrade "npm i -g opencode-ai@latest" :install-skills nil :cli "opencode") (grok :label "Grok CLI" :require ai-code-grok-cli :start ai-code-grok-cli :switch ai-code-grok-cli-switch-to-buffer :send ai-code-grok-cli-send-command :resume ai-code-grok-cli-resume :config "~/.config/grok/config.json" :agent-file nil :upgrade "bun add -g @vibe-kit/grok-cli" :install-skills nil :cli "grok") (cursor :label "Cursor CLI" :require ai-code-cursor-cli :start ai-code-cursor-cli :switch ai-code-cursor-cli-switch-to-buffer :send ai-code-cursor-cli-send-command :resume ai-code-cursor-cli-resume :config "~/.cursor" :agent-file nil :upgrade "cursor-agent update" :install-skills nil :cli "cursor-agent") (kiro :label "Kiro CLI" :require ai-code-kiro-cli :start ai-code-kiro-cli :switch ai-code-kiro-cli-switch-to-buffer :send ai-code-kiro-cli-send-command :resume ai-code-kiro-cli-resume :config "~/.kiro/settings/cli.json" :agent-file nil :upgrade "kiro-cli update" :install-skills nil :cli "kiro-cli") (codebuddy :label "CodeBuddy Code" :require ai-code-codebuddy-cli :start ai-code-codebuddy-cli :switch ai-code-codebuddy-cli-switch-to-buffer :send ai-code-codebuddy-cli-send-command :resume ai-code-codebuddy-cli-resume :config "~/.codebuddy" :agent-file nil :upgrade "codebuddy update" :install-skills nil :cli "codebuddy") (aider :label "Aider CLI" :require ai-code-aider-cli :start ai-code-aider-cli :switch ai-code-aider-cli-switch-to-buffer :send ai-code-aider-cli-send-command :resume nil :config "~/.aider.conf.yml" :agent-file nil :upgrade nil :install-skills nil :cli "aider") (eca :label "ECA (Editor Code Assistant)" :require ai-code-eca :start ai-code-eca-start :switch ai-code-eca-switch :send ai-code-eca-send :resume ai-code-eca-resume :config "~/.config/eca/config.json" :agent-file "AGENTS.md" :upgrade ai-code-eca-upgrade :install-skills ai-code-eca-install-skills :cli nil) (agent-shell :label "agent-shell" :require ai-code-agent-shell :start ai-code-agent-shell :switch ai-code-agent-shell-switch-to-buffer :send ai-code-agent-shell-send-command :resume ai-code-agent-shell-resume :config nil :agent-file nil :upgrade nil :install-skills nil :cli "agent-shell") (gptel-agent :label "GPTel Agent" :require ai-code-gptel-agent :start ai-code-gptel-agent :switch ai-code-gptel-agent-switch-to-buffer :send ai-code-gptel-agent-send-command :resume nil :config nil :agent-file nil :upgrade nil :install-skills nil :cli nil) (claude-code-ide :label "claude-code-ide.el" :require claude-code-ide :start claude-code-ide--start-if-no-session :switch claude-code-ide-switch-to-buffer :send claude-code-ide-send-prompt :resume claude-code-ide-resume :config "~/.claude.json" :agent-file "CLAUDE.md" :upgrade "npm install -g @anthropic-ai/claude-code@latest" :install-skills nil :cli "claude") (claude-code-el :label "claude-code.el" :require claude-code :start claude-code :switch claude-code-switch-to-buffer :send ai-code-claude-code-el-send-command :resume claude-code-resume :config "~/.claude.json" :agent-file "CLAUDE.md" :upgrade "npm install -g @anthropic-ai/claude-code@latest" :install-skills nil :cli "claude")) "\
Available AI backends and how to integrate with them.
Each entry is (KEY :label STRING :require FEATURE :start FN :switch FN
:send FN :resume FN-or-nil :upgrade STRING-or-nil :cli STRING
:agent-file STRING-or-nil :install-skills STRING-or-SYMBOL-or-nil).
The :upgrade property can be either a string shell command or nil.
The :install-skills property can be a string shell command, a function symbol, or nil.")
(custom-autoload 'ai-code-backends "ai-code-backends" t)
(autoload 'ai-code-cli-start-or-resume "ai-code-backends" "\
Start or resume the CLI depending on prefix argument.
If called with \\[universal-argument] (raw prefix ARG \\='(4)),
invoke `ai-code-cli-resume'; otherwise call `ai-code-cli-start'.
(fn &optional ARG)" t)
(autoload 'ai-code-select-backend "ai-code-backends" "\
Interactively select and apply an AI backend from `ai-code-backends'." t)
(autoload 'ai-code-open-backend-config "ai-code-backends" "\
Open the current backend's configuration file in another window." t)
(autoload 'ai-code-open-backend-agent-file "ai-code-backends" "\
Open the current backend's agent file from the git repository root." t)
(autoload 'ai-code-upgrade-backend "ai-code-backends" "\
Run the upgrade command for the currently selected backend.
If the backend defines an :upgrade property, use it:
- string: run as a shell command via `compile'.
- symbol: call the function with prefix arg forwarded.
ARG is the prefix argument to pass to the upgrade function.
(fn &optional ARG)" t)
(autoload 'ai-code-install-backend-skills "ai-code-backends" "\
Install skills for the currently selected backend.
If the backend defines an :install-skills property, use it:
- string: run as a shell command via `compile'.
- symbol: call the function.
Otherwise fall back to prompting the AI session to install from a
skills repository URL." t)
(register-definition-prefixes "ai-code-backends" '("ai-code-"))
;;; Generated autoloads from ai-code-backends-infra.el
(autoload 'ai-code-backends-infra-evil-setup "ai-code-backends-infra" "\
Setup AI Code integration with Evil mode.
This function configures SPC key binding in Evil normal state for
AI session buffers. Call this function after Evil is loaded,
typically in your Emacs configuration with:
(with-eval-after-load \\='evil (ai-code-backends-infra-evil-setup))" t)
(register-definition-prefixes "ai-code-backends-infra" '("ai-code-"))
;;; Generated autoloads from ai-code-behaviors.el
(autoload 'ai-code-behaviors-agent-shell-setup "ai-code-behaviors" "\
Set up ai-code-behaviors integration with agent-shell.
Adds the request decorator to inject behaviors into agent-shell prompts.
Also advises file completion to skip when @preset is typed.
Adds preset completion to agent-shell buffers." t)
(register-definition-prefixes "ai-code-behaviors" '("ai-code-"))
;;; Generated autoloads from ai-code-change.el
(autoload 'ai-code-code-change "ai-code-change" "\
Generate prompt to change code under cursor or in selected region.
If the cursor is on a TODO comment or a region with a TODO comment is
selected, it will generate a prompt to implement the TODO in-place.
With a prefix argument [universal-argument], append the clipboard
contents as context. If a region is selected, change that specific
region. Otherwise, change the function under cursor. If nothing is
selected and no function context, prompts for general code change.
Inserts the prompt into the AI prompt file and optionally sends to AI.
Argument ARG is the prefix argument.
(fn ARG)" t)
(autoload 'ai-code-implement-todo "ai-code-change" "\
Generate prompt to implement TODO comments in current context.
Implements code after TODO comments instead of replacing them in-place.
With a prefix argument \\[universal-argument], append the clipboard
contents as context. If region is selected, implement that specific
region. If cursor is on a comment line, implement that specific comment.
If the current line is blank, ask user to input TODO comment.
The input string will be prefixed with TODO: and insert to the current
line, with proper indentation. If cursor is inside a function, implement
comments for that function.
Otherwise implement comments for the entire current file.
Argument ARG is the prefix argument.
(fn ARG)" t)
(autoload 'ai-code-flycheck-fix-errors-in-scope "ai-code-change" "\
Ask AI to generate a patch fixing Flycheck errors.
If a region is active, operate on that region.
Otherwise prompt to choose scope: current line, current function (if any),
or whole file. Requires the `flycheck` package to be installed and available." t)
(register-definition-prefixes "ai-code-change" '("ai-code-"))
;;; Generated autoloads from ai-code-claude-code.el
(autoload 'ai-code-claude-code "ai-code-claude-code" "\
Start Claude Code (uses `ai-code-backends-infra' logic).
With prefix ARG, prompt for CLI args using
`ai-code-claude-code-program-switches' as the default input.
(fn &optional ARG)" t)
(autoload 'ai-code-claude-code-switch-to-buffer "ai-code-claude-code" "\
Switch to the Claude Code CLI buffer.
When FORCE-PROMPT is non-nil, prompt to select a session.
(fn &optional FORCE-PROMPT)" t)
(autoload 'ai-code-claude-code-send-command "ai-code-claude-code" "\
Send LINE to Claude Code CLI.
(fn LINE)" t)
(autoload 'ai-code-claude-code-send-escape "ai-code-claude-code" "\
Send escape key to Claude Code CLI." t)
(autoload 'ai-code-claude-code-resume "ai-code-claude-code" "\
Resume a previous Claude Code CLI session.
With prefix ARG, prompt for additional CLI args.
(fn &optional ARG)" t)
(register-definition-prefixes "ai-code-claude-code" '("ai-code-claude-code-"))
;;; Generated autoloads from ai-code-codebuddy-cli.el
(autoload 'ai-code-codebuddy-cli "ai-code-codebuddy-cli" "\
Start CodeBuddy (uses `ai-code-backends-infra' logic).
With prefix ARG, prompt for CLI args using
`ai-code-codebuddy-cli-program-switches' as the default input.
(fn &optional ARG)" t)
(autoload 'ai-code-codebuddy-cli-switch-to-buffer "ai-code-codebuddy-cli" "\
Switch to the CodeBuddy CLI buffer.
When FORCE-PROMPT is non-nil, prompt to select a session.
(fn &optional FORCE-PROMPT)" t)
(autoload 'ai-code-codebuddy-cli-send-command "ai-code-codebuddy-cli" "\
Send LINE to the CodeBuddy CLI.
(fn LINE)" t)
(autoload 'ai-code-codebuddy-cli-send-escape "ai-code-codebuddy-cli" "\
Send escape key to the CodeBuddy CLI." t)
(autoload 'ai-code-codebuddy-cli-resume "ai-code-codebuddy-cli" "\
Resume a previous CodeBuddy CLI session.
Argument ARG is passed to the start command.
(fn &optional ARG)" t)
(register-definition-prefixes "ai-code-codebuddy-cli" '("ai-code-codebuddy-cli-"))
;;; Generated autoloads from ai-code-codex-cli.el
(autoload 'ai-code-codex-cli "ai-code-codex-cli" "\
Start Codex (uses `ai-code-backends-infra' logic).
With prefix ARG, prompt for CLI args using
`ai-code-codex-cli-program-switches' as the default input.
(fn &optional ARG)" t)
(autoload 'ai-code-codex-cli-switch-to-buffer "ai-code-codex-cli" "\
Switch to the Codex CLI buffer.
When FORCE-PROMPT is non-nil, prompt to select a session.
(fn &optional FORCE-PROMPT)" t)
(autoload 'ai-code-codex-cli-send-command "ai-code-codex-cli" "\
Send LINE to Codex CLI.
(fn LINE)" t)
(autoload 'ai-code-codex-cli-send-escape "ai-code-codex-cli" "\
Send escape key to Codex CLI." t)
(autoload 'ai-code-codex-cli-resume "ai-code-codex-cli" "\
Resume a previous Codex CLI session.
(fn &optional ARG)" t)
(register-definition-prefixes "ai-code-codex-cli" '("ai-code-codex-cli-"))
;;; Generated autoloads from ai-code-cursor-cli.el
(autoload 'ai-code-cursor-cli "ai-code-cursor-cli" "\
Start Cursor CLI (uses `ai-code-backends-infra' logic).
With prefix ARG, prompt for CLI args using
`ai-code-cursor-cli-program-switches' as the default input.
(fn &optional ARG)" t)
(autoload 'ai-code-cursor-cli-switch-to-buffer "ai-code-cursor-cli" "\
Switch to the Cursor CLI buffer.
When FORCE-PROMPT is non-nil, prompt to select a session.
(fn &optional FORCE-PROMPT)" t)
(autoload 'ai-code-cursor-cli-send-command "ai-code-cursor-cli" "\
Send LINE to Cursor CLI.
(fn LINE)" t)
(autoload 'ai-code-cursor-cli-send-escape "ai-code-cursor-cli" "\
Send escape key to Cursor CLI." t)
(autoload 'ai-code-cursor-cli-resume "ai-code-cursor-cli" "\
Resume a previous Cursor CLI session.
(fn &optional ARG)" t)
(register-definition-prefixes "ai-code-cursor-cli" '("ai-code-cursor-cli-"))
;;; Generated autoloads from ai-code-discussion.el
(autoload 'ai-code-ask-question "ai-code-discussion" "\
Generate prompt to ask questions about specific code.
With a prefix argument [universal-argument], append the clipboard
contents as context. If current buffer is a file, keep existing logic.
If current buffer is a Dired buffer:
- If there are files or directories marked, use them as context
(use git repo relative path, start with @ character)
- If there are no files or dirs marked, but under cursor there is
file or dir, use it as context of prompt
If a region is selected, ask about that specific region.
If cursor is in a function, ask about that function.
Otherwise, ask a general question about the file.
Inserts the prompt into the AI prompt file and optionally sends to AI.
Argument ARG is the prefix argument.
(fn ARG)" t)
(autoload 'ai-code-investigate-exception "ai-code-discussion" "\
Generate prompt to investigate exceptions or errors in code.
With a prefix argument [universal-argument], use context from clipboard
as the error to investigate. If a *compilation* buffer is visible in
the current window, use its full content as context. If a region is
selected, investigate that specific error or exception. If cursor is
in a function, investigate exceptions in that function. Otherwise,
investigate general exception handling in the file. Inserts the prompt
into the AI prompt file and optionally sends to AI.
Argument ARG is the prefix argument.
(fn ARG)" t)
(autoload 'ai-code-explain "ai-code-discussion" "\
Generate prompt to explain code at different levels.
If current buffer is a Dired buffer and under cursor is a directory or
file, explain that directory or file using relative path as context
(start with @ character). If a region is selected, explain that
specific region using function/file as context. Otherwise, prompt user
to select scope: symbol, line, function, or file. Inserts the prompt
into the AI prompt file and optionally sends to AI." t)
(defvar ai-code-notes-file-name ".ai.code.notes.org" "\
Default note file name relative to the project root.
This value is used by `ai-code-take-notes' when suggesting where to store notes.")
(custom-autoload 'ai-code-notes-file-name "ai-code-discussion" t)
(defvar ai-code-notes-use-gptel-headline nil "\
Whether to use GPTel to generate headline for notes.
If non-nil, call `ai-code-call-gptel-sync` to generate a smart default
headline based on the selected content. Otherwise, prompt with empty default.")
(custom-autoload 'ai-code-notes-use-gptel-headline "ai-code-discussion" t)
(autoload 'ai-code-take-notes "ai-code-discussion" "\
Take notes from selected region and save to a note file.
When there is a selected region, prompt to select from currently open
org buffers or the default note file path (.ai.code.notes.org in the
.ai.code.files/ directory). Add the section title as a headline at the
end of the note file, and put the selected region as content of that section." t)
(register-definition-prefixes "ai-code-discussion" '("ai-code--"))
;;; Generated autoloads from ai-code-eca.el
(autoload 'ai-code-eca-start "ai-code-eca" "\
Start or resume an ECA session.
With prefix ARG, force new session.
(fn &optional ARG)" t)
(autoload 'ai-code-eca-switch "ai-code-eca" "\
Switch to ECA chat buffer.
With FORCE-PROMPT (prefix arg), force new session.
(fn &optional FORCE-PROMPT)" t)
(autoload 'ai-code-eca-menu "ai-code-eca" "\
ECA session management menu.
(fn)" t)
(autoload 'ai-code-eca-upgrade-binary "ai-code-eca" "\
Check for a newer ECA binary and update if available.
Compares installed version against latest GitHub release.
If update available, downloads platform zip, verifies SHA256,
installs new binary into `eca-server-install-path'.
Progress shown in *eca-update* buffer.
With prefix arg or SILent non-nil, suppress buffer.
(fn &optional SILENT)" t)
(autoload 'ai-code-eca-upgrade "ai-code-eca" "\
Upgrade ECA.
Without ARG, show upgrade status buffer.
With \\[universal-argument] (C-u), upgrade the ECA binary from GitHub releases.
With \\[universal-argument] \\[universal-argument] (C-u C-u), upgrade the ECA Emacs package.
(fn &optional ARG)" t)
(register-definition-prefixes "ai-code-eca" '("ai-code-eca-" "eca-" "package-vc-selected-packages"))
;;; Generated autoloads from ai-code-file.el
(autoload 'ai-code-copy-buffer-file-name-to-clipboard "ai-code-file" "\
Copy the current buffer's file path or selected text to clipboard.
If in a magit status buffer, copy the current branch name.
If in a Dired buffer, copy the file at point or directory path.
If in a regular file buffer with selected text, copy text with file path.
Otherwise, copy the file path of the current buffer.
With prefix argument ARG [universal-argument], always return full path
instead of processed path. File paths are processed to relative paths
with @ prefix if within git repo.
(fn &optional ARG)" t)
(autoload 'ai-code-open-clipboard-file-path-as-dired "ai-code-file" "\
Open the file or directory path from clipboard in Dired.
If the clipboard contains a valid file path, open its directory in Dired
in another window and move the cursor to that file. If the clipboard
contains a directory path, open it directly in Dired in another window." t)
(autoload 'ai-code-run-current-file "ai-code-file" "\
Generate command to run current script file (.py, .js, .ts, or .sh).
Let user modify the command before running it in a comint buffer.
Maintains a dedicated history list for this command." t)
(autoload 'ai-code-apply-prompt-on-current-file "ai-code-file" "\
Apply a user prompt to the current file and send to an AI CLI tool.
The file can be the one in the current buffer or at point in a Dired
buffer. It constructs a shell command:
sed \"1i <prompt>: \" <file> | <ai-code-cli>
and runs it in a compilation buffer." t)
(autoload 'ai-code-shell-cmd "ai-code-file" "\
Run shell command in Dired directory or insert command in shell buffers.
If current buffer is a Dired buffer, get user input shell command with
`read-string', then run it under the directory of Dired buffer, in a
buffer with name as *ai-code-shell-cmd: <current-dir>*. If current
buffer is `shell-mode', `eshell-mode' or `sh-mode', get input and insert
command under cursor, do not run it. If the command starts with
\\=':\\=', it means it is a prompt. In this case, ask gptel to generate
the corresponding shell command, and call `ai-code-shell-cmd' with that
command as candidate. INITIAL-INPUT is the initial text to populate the
shell command prompt.
(fn &optional INITIAL-INPUT)" t)
(autoload 'ai-code-run-current-file-or-shell-cmd "ai-code-file" "\
Run current file or shell command based on buffer state.
Call `ai-code-shell-cmd` when in Dired mode, shell modes or a region
is active; otherwise run the current file." t)
(autoload 'ai-code-build-or-test-project "ai-code-file" "\
Build or test the current project based on user choice.
If user chooses to build, check for build.sh in the project root
and send to AI for execution. Otherwise, ask AI to generate a build command.
If user chooses to test the whole project, call `ai-code-test-project'.
If user chooses scoped testing, call `ai-code-run-test'.
If user chooses linting, call `ai-code-lint-current-file'." t)
(autoload 'ai-code-lint-current-file "ai-code-file" "\
Ask AI to lint the current file with Emacs diagnostics and explain issues." t)
(autoload 'ai-code-build-project "ai-code-file" "\
Build the current project.
Check for build.sh in the project root and send to AI for execution.
Otherwise, ask AI to generate a build command." t)
(autoload 'ai-code-test-project "ai-code-file" "\
Ask AI to run test on the whole project and provide failure analysis." t)
(autoload 'ai-code-add-context "ai-code-file" "\
Capture current buffer context and store it per Git repository.
When no region is selected, use the full file path and current function
(if any). When a region is active, use the file path with line range
in the form filepath#Lstart-Lend." t)
(autoload 'ai-code-toggle-current-buffer-dedicated "ai-code-file" "\
Toggle the dedicated state of the current buffer's window.
When a window is dedicated, Emacs will not automatically reuse it for
displaying other buffers. With prefix ARG [universal-argument],
toggle dedication for every window in the current frame.
(fn ARG)" t)
(autoload 'ai-code-create-file-or-dir "ai-code-file" "\
Generate and create a new file or directory under current directory.
Use GPTel to generate the name, ask user to confirm, then create and open
it in another window." t)
(register-definition-prefixes "ai-code-file" '("ai-code-"))
;;; Generated autoloads from ai-code-gemini-cli.el
(autoload 'ai-code-gemini-cli "ai-code-gemini-cli" "\
Start Gemini (uses `ai-code-backends-infra' logic).
With prefix ARG, prompt for CLI args using
`ai-code-gemini-cli-program-switches' as the default input.
(fn &optional ARG)" t)
(autoload 'ai-code-gemini-cli-switch-to-buffer "ai-code-gemini-cli" "\
Switch to the Gemini CLI buffer.
When FORCE-PROMPT is non-nil, prompt to select a session.
(fn &optional FORCE-PROMPT)" t)
(autoload 'ai-code-gemini-cli-send-command "ai-code-gemini-cli" "\
Send LINE to Gemini CLI.
(fn LINE)" t)
(autoload 'ai-code-gemini-cli-send-escape "ai-code-gemini-cli" "\
Send escape key to Gemini CLI." t)
(autoload 'ai-code-gemini-cli-resume "ai-code-gemini-cli" "\
Resume a previous Gemini CLI session.
(fn &optional ARG)" t)
(register-definition-prefixes "ai-code-gemini-cli" '("ai-code-gemini-cli-"))
;;; Generated autoloads from ai-code-git.el
(autoload 'ai-code-pull-or-review-diff-file "ai-code-git" "\
Review a diff file with AI Code or generate one if not viewing a diff.
If current buffer is a .diff file, ask AI Code to review it.
Otherwise, generate the diff." t)
(autoload 'ai-code-magit-blame-analyze "ai-code-git" "\
Analyze current file or region Git history with AI for deeper insights.
If region is active, analyze just that region. Otherwise analyze entire file.
Combines `magit-blame' history tracking with AI analysis to help understand
code evolution and the reasoning behind changes." t)
(autoload 'ai-code-magit-blame-or-log-analyze "ai-code-git" "\
If current buffer is git.log, run log analysis.
Otherwise if prefix ARG, run log analysis; else run blame analysis.
ARG is the prefix argument.
(fn &optional ARG)" t)
(autoload 'ai-code-magit-setup-transients "ai-code-git" "\
Configure AI Code's transient menu entries in Magit.
This function uses `with-eval-after-load` to ensure that the
Magit transients are modified only after Magit itself has been loaded.
Call this function to register the AI Code commands with Magit." t)
(autoload 'ai-code-init-project "ai-code-git" "\
Initialize project helpers for Projectile and Helm-Gtags.
If either package is available, prompt for a project directory
defaulting to the Magit repository root, initialize the project in
Projectile, and configure Helm-Gtags with a pygments label. Show a
summary message of performed actions.
PREFIX is the prefix argument.
(fn PREFIX)" t)
(autoload 'ai-code-update-git-ignore "ai-code-git" "\
Ensure repository .gitignore contains AI Code related entries.
If not inside a Git repository, do nothing." t)
(autoload 'ai-code--git-repo-recent-modified-files "ai-code-git" "\
Return up to LIMIT most recently modified files under BASE-DIR.
If BASE-DIR is in a Git repository, use `git ls-files' to enumerate files.
(fn BASE-DIR LIMIT)")
(autoload 'ai-code-git-repo-recent-modified-files "ai-code-git" "\
Open or insert one of the most recently modified files in the repo or current dir.
With no PREFIX argument, prompt for a recently modified file and open it
with `find-file'.
With a PREFIX argument (e.g., when called via `C-u'), prompt for a recently
modified file and insert \"@\" followed by the selected filename into the
buffer from which this command was invoked, instead of visiting the file.
(fn PREFIX)" t)
(autoload 'ai-code-git-worktree-branch "ai-code-git" "\
Create BRANCH and check it out in a new centralized worktree.
The worktree path is
`ai-code-git-worktree-root/REPO-NAME/BRANCH'.
(fn BRANCH START-POINT)" t)
(autoload 'ai-code-git-worktree-action "ai-code-git" "\
Dispatch worktree action by PREFIX.
Without PREFIX, call `ai-code-git-worktree-branch'.
With PREFIX (for example C-u), call `magit-worktree-status'.
(fn &optional PREFIX)" t)
(register-definition-prefixes "ai-code-git" '("ai-code-"))
;;; Generated autoloads from ai-code-github-copilot-cli.el
(autoload 'ai-code-github-copilot-cli "ai-code-github-copilot-cli" "\
Start GitHub Copilot CLI (uses `ai-code-backends-infra' logic).
With prefix ARG, prompt for CLI args using
`ai-code-github-copilot-cli-program-switches' as the default input.
(fn &optional ARG)" t)
(autoload 'ai-code-github-copilot-cli-switch-to-buffer "ai-code-github-copilot-cli" "\
Switch to the GitHub Copilot CLI buffer.
When FORCE-PROMPT is non-nil, prompt to select a session.
(fn &optional FORCE-PROMPT)" t)
(autoload 'ai-code-github-copilot-cli-send-command "ai-code-github-copilot-cli" "\
Send LINE to GitHub Copilot CLI.
(fn LINE)" t)
(autoload 'ai-code-github-copilot-cli-send-escape "ai-code-github-copilot-cli" "\
Send escape key to GitHub Copilot CLI." t)
(autoload 'ai-code-github-copilot-cli-resume "ai-code-github-copilot-cli" "\
Resume a previous GitHub Copilot CLI session.
(fn &optional ARG)" t)
(register-definition-prefixes "ai-code-github-copilot-cli" '("ai-code-github-copilot-cli-"))
;;; Generated autoloads from ai-code-gptel-agent.el
(autoload 'ai-code-gptel-agent "ai-code-gptel-agent" "\
Start gptel-agent session for current project.
With prefix ARG, prompt for project directory.
(fn &optional ARG)" t)
(autoload 'ai-code-gptel-agent-switch-to-buffer "ai-code-gptel-agent" "\
Switch to gptel-agent buffer for current project.
(fn &optional ARG)" t)
(autoload 'ai-code-gptel-agent-send-command "ai-code-gptel-agent" "\
Send PROMPT to gptel-agent buffer for current project.
(fn PROMPT)" t)
(register-definition-prefixes "ai-code-gptel-agent" '("ai-code-gptel-agent--"))
;;; Generated autoloads from ai-code-grok-cli.el
(autoload 'ai-code-grok-cli "ai-code-grok-cli" "\
Start Grok CLI (uses `ai-code-backends-infra' logic).
With prefix ARG, prompt for CLI args using
`ai-code-grok-cli-program-switches' as the default input.
(fn &optional ARG)" t)
(autoload 'ai-code-grok-cli-switch-to-buffer "ai-code-grok-cli" "\
Switch to the Grok CLI buffer.
When FORCE-PROMPT is non-nil, prompt to select a session.
(fn &optional FORCE-PROMPT)" t)
(autoload 'ai-code-grok-cli-send-command "ai-code-grok-cli" "\
Send LINE to Grok CLI programmatically or interactively.
When called interactively, prompts for the command.
When called from Lisp code, sends LINE directly without prompting.
(fn LINE)" t)
(autoload 'ai-code-grok-cli-resume "ai-code-grok-cli" "\
Resume the previous Grok CLI session, when supported.
ARG is passed to the underlying start function.
(fn &optional ARG)" t)
(register-definition-prefixes "ai-code-grok-cli" '("ai-code-grok-cli-"))
;;; Generated autoloads from ai-code-input.el
(autoload 'ai-code-plain-read-string "ai-code-input" "\
Read a string from the user with PROMPT and optional INITIAL-INPUT.
CANDIDATE-LIST provides additional completion options if provided.
This function combines candidate-list with history for better completion.
(fn PROMPT &optional INITIAL-INPUT CANDIDATE-LIST)")
(autoload 'ai-code-read-string "ai-code-input" "\
Read a string from the user with PROMPT and optional INITIAL-INPUT.
CANDIDATE-LIST provides additional completion options if provided.
(fn PROMPT &optional INITIAL-INPUT CANDIDATE-LIST)")
(when (featurep 'helm) (setq ai-code--read-string-fn #'ai-code-helm-read-string))
(autoload 'ai-code-insert-function-at-point "ai-code-input" "\
Insert a function name selected from current windows' prog-mode buffers." t)
(defvar ai-code-prompt-filepath-completion-mode nil "\
Non-nil if Ai-Code-Prompt-Filepath-Completion mode is enabled.
See the `ai-code-prompt-filepath-completion-mode' command
for a description of this minor mode.
Setting this variable directly does not take effect;
either customize it (see the info node `Easy Customization')
or call the function `ai-code-prompt-filepath-completion-mode'.")
(custom-autoload 'ai-code-prompt-filepath-completion-mode "ai-code-input" nil)
(autoload 'ai-code-prompt-filepath-completion-mode "ai-code-input" "\
Toggle @ file completion in comments and AI sessions across all buffers.
This is a global minor mode. If called interactively, toggle the
`Ai-Code-Prompt-Filepath-Completion mode' mode. If the prefix argument
is positive, enable the mode, and if it is zero or negative, disable the
mode.
If called from Lisp, toggle the mode if ARG is `toggle'. Enable the
mode if ARG is nil, omitted, or is a positive number. Disable the mode
if ARG is a negative number.
To check whether the minor mode is enabled in the current buffer,
evaluate `(default-value \\='ai-code-prompt-filepath-completion-mode)'.
The mode's hook is called both when the mode is enabled and when it is
disabled.
(fn &optional ARG)" t)
(autoload 'ai-code-toggle-filepath-completion "ai-code-input" "\
Toggle @ file completion in comments and AI sessions across all buffers." t)
(autoload 'ai-code-session-navigate-link-at-point "ai-code-input" "\
Navigate to the file or URL session link at point." t)
(register-definition-prefixes "ai-code-input" '("ai-code-"))
;;; Generated autoloads from ai-code-kiro-cli.el
(autoload 'ai-code-kiro-cli "ai-code-kiro-cli" "\
Start Kiro CLI chat session.
With prefix ARG, prompt for CLI args using the current defaults
(chat, agent, trust flags, and `ai-code-kiro-cli-program-switches').
(fn &optional ARG)" t)
(autoload 'ai-code-kiro-cli-switch-to-buffer "ai-code-kiro-cli" "\
Switch to the Kiro CLI buffer.
When FORCE-PROMPT is non-nil, prompt to select a session.
(fn &optional FORCE-PROMPT)" t)
(autoload 'ai-code-kiro-cli-send-command "ai-code-kiro-cli" "\
Send LINE to Kiro CLI.
(fn LINE)" t)
(autoload 'ai-code-kiro-cli-send-escape "ai-code-kiro-cli" "\
Send escape key to Kiro CLI." t)
(autoload 'ai-code-kiro-cli-resume "ai-code-kiro-cli" "\
Resume a previous Kiro CLI session.
(fn &optional ARG)" t)
(register-definition-prefixes "ai-code-kiro-cli" '("ai-code-kiro-cli-"))
;;; Generated autoloads from ai-code-mcp-agent.el
(autoload 'ai-code-mcp-agent-show-buffer-status "ai-code-mcp-agent" "\
Display MCP status for BUFFER or the current buffer.
(fn &optional BUFFER)" t)
(register-definition-prefixes "ai-code-mcp-agent" '("ai-code-mcp-agent-"))
;;; Generated autoloads from ai-code-mcp-http-server.el
(register-definition-prefixes "ai-code-mcp-http-server" '("ai-code-mcp-http-server-"))
;;; Generated autoloads from ai-code-mcp-server.el
(register-definition-prefixes "ai-code-mcp-server" '("ai-code-mcp-"))
;;; Generated autoloads from ai-code-notifications.el
(autoload 'ai-code-notifications-toggle "ai-code-notifications" "\
Toggle desktop notifications on/off." t)
(register-definition-prefixes "ai-code-notifications" '("ai-code-notifications-"))
;;; Generated autoloads from ai-code-opencode.el
(autoload 'ai-code-opencode "ai-code-opencode" "\
Start Opencode (uses `ai-code-backends-infra' logic).
With prefix ARG, prompt for CLI args using
`ai-code-opencode-program-switches' as the default input.
(fn &optional ARG)" t)
(autoload 'ai-code-opencode-switch-to-buffer "ai-code-opencode" "\
Switch to the Opencode buffer.
When FORCE-PROMPT is non-nil, prompt to select a session.
(fn &optional FORCE-PROMPT)" t)
(autoload 'ai-code-opencode-send-command "ai-code-opencode" "\
Send LINE to Opencode.
When called interactively, prompts for the command.
(fn LINE)" t)
(autoload 'ai-code-opencode-resume "ai-code-opencode" "\
Resume a previous Opencode session.
This command starts Opencode with the --resume flag to resume
a specific past session. The CLI will present an interactive list of past
sessions to choose from.
If current buffer belongs to a project, start in the project's root
directory. Otherwise start in the directory of the current buffer file,
or the current value of `default-directory' if no project and no buffer file.
With double prefix ARG (\\[universal-argument] \\[universal-argument]),
prompt for the project directory.
(fn &optional ARG)" t)
(register-definition-prefixes "ai-code-opencode" '("ai-code-opencode-"))
;;; Generated autoloads from ai-code-prompt-mode.el
(defvar ai-code-prompt-file-name ".ai.code.prompt.org" "\
File name that will automatically enable `ai-code-prompt-mode` when opened.
This is the file name without path.")
(custom-autoload 'ai-code-prompt-file-name "ai-code-prompt-mode" t)
(autoload 'ai-code-open-prompt-file "ai-code-prompt-mode" "\
Open AI prompt file under .ai.code.files/ directory.
If file doesn't exist, create it with sample prompt." t)
(autoload 'ai-code-prompt-mode "ai-code-prompt-mode" "\
Major mode derived from `org-mode` for editing AI prompt files.
Special commands:
{ai-code-prompt-mode-map}
(fn)" t)
(autoload 'ai-code-prompt-send-block "ai-code-prompt-mode" "\
Send the current text block (paragraph) to the AI service.
The block is the text separated by blank lines.
It trims leading/trailing whitespace." t)
(defconst ai-code-files-dir-name ".ai.code.files" "\
Directory name for storing AI task files.")
(defvar ai-code-task-use-gptel-filename nil "\
Whether to use GPTel to generate filename for task files.
If non-nil, call `ai-code-call-gptel-sync` to generate a smart filename
based on the task name. Otherwise, use cleaned-up task name directly.")
(custom-autoload 'ai-code-task-use-gptel-filename "ai-code-prompt-mode" t)
(autoload 'ai-code-create-or-open-task-file "ai-code-prompt-mode" "\
Create or open an AI task file.
Prompts for a task name. If empty, opens the task directory.
If non-empty, optionally prompts for a URL, generates a filename
using GPTel, and creates the task file." t)
(add-to-list 'auto-mode-alist '("/\\.ai\\.code\\.files/.*\\.org\\'" . ai-code-prompt-mode))
(register-definition-prefixes "ai-code-prompt-mode" '("ai-code-"))
;;; Generated autoloads from ai-code-session-link.el
(autoload 'ai-code-session-link-navigate-symbol-at-point "ai-code-session-link" "\
Navigate using the clickable symbol at point." t)
(autoload 'ai-code-session-link-navigate-symbol-at-mouse "ai-code-session-link" "\
Navigate using the clickable symbol clicked by mouse EVENT.
(fn EVENT)" t)
(register-definition-prefixes "ai-code-session-link" '("ai-code-"))
;;; Generated autoloads from ai-code-onboarding.el
(defvar ai-code-onboarding-auto-show t "\
When non-nil, show the quickstart automatically for first-run usage.")
(custom-autoload 'ai-code-onboarding-auto-show "ai-code-onboarding" t)
(defvar ai-code-onboarding-seen nil "\
Whether the user has already seen the onboarding quickstart.")
(custom-autoload 'ai-code-onboarding-seen "ai-code-onboarding" t)
(autoload 'ai-code-onboarding-open-quickstart "ai-code-onboarding" "\
Open the onboarding quickstart buffer." t)
(autoload 'ai-code-onboarding-disable-auto-show "ai-code-onboarding" "\
Disable future auto-display of the onboarding quickstart." t)
(register-definition-prefixes "ai-code-onboarding" '("ai-code-onboarding-"))
;;; Generated autoloads from ai-code-harness.el
(defvar ai-code-test-after-code-change-suffix "If any program code changes, run unit-tests and follow up on the test-result (fix code if there is an error)." "\
User-provided prompt suffix for test-after-code-change.")
(custom-autoload 'ai-code-test-after-code-change-suffix "ai-code-harness" t)
(defvar ai-code-auto-test-harness-cache-directory nil "\
Directory used to cache generated auto-test harness files.
When nil, store harness files under `harness/` inside the directory returned
by `ai-code--ensure-files-directory`. In a Git repository, that is typically
`.ai.code.files/harness/` under the current repository so prompts can cite
them with `@`-prefixed repo-relative paths. Outside a Git repository, this
falls back to `harness/` under `default-directory`.
Set this to a directory path to override the default location.")
(custom-autoload 'ai-code-auto-test-harness-cache-directory "ai-code-harness" t)
(register-definition-prefixes "ai-code-harness" '("ai-code--"))
;;; End of scraped data
(provide 'ai-code-autoloads)
;; Local Variables:
;; version-control: never
;; no-byte-compile: t
;; no-update-autoloads: t
;; no-native-compile: t
;; coding: utf-8-emacs-unix
;; End:
;;; ai-code-autoloads.el ends here