codemaster-cli 1.0.1__tar.gz

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.
Files changed (176) hide show
  1. codemaster_cli-1.0.1/.gitignore +201 -0
  2. codemaster_cli-1.0.1/PKG-INFO +645 -0
  3. codemaster_cli-1.0.1/README.md +595 -0
  4. codemaster_cli-1.0.1/docs/README.md +8 -0
  5. codemaster_cli-1.0.1/pyproject.toml +174 -0
  6. codemaster_cli-1.0.1/scripts/README.md +20 -0
  7. codemaster_cli-1.0.1/vibe/__init__.py +6 -0
  8. codemaster_cli-1.0.1/vibe/acp/__init__.py +0 -0
  9. codemaster_cli-1.0.1/vibe/acp/acp_agent_loop.py +746 -0
  10. codemaster_cli-1.0.1/vibe/acp/entrypoint.py +81 -0
  11. codemaster_cli-1.0.1/vibe/acp/tools/__init__.py +0 -0
  12. codemaster_cli-1.0.1/vibe/acp/tools/base.py +100 -0
  13. codemaster_cli-1.0.1/vibe/acp/tools/builtins/bash.py +134 -0
  14. codemaster_cli-1.0.1/vibe/acp/tools/builtins/read_file.py +54 -0
  15. codemaster_cli-1.0.1/vibe/acp/tools/builtins/search_replace.py +129 -0
  16. codemaster_cli-1.0.1/vibe/acp/tools/builtins/todo.py +65 -0
  17. codemaster_cli-1.0.1/vibe/acp/tools/builtins/write_file.py +98 -0
  18. codemaster_cli-1.0.1/vibe/acp/tools/session_update.py +118 -0
  19. codemaster_cli-1.0.1/vibe/acp/utils.py +213 -0
  20. codemaster_cli-1.0.1/vibe/cli/__init__.py +0 -0
  21. codemaster_cli-1.0.1/vibe/cli/autocompletion/__init__.py +0 -0
  22. codemaster_cli-1.0.1/vibe/cli/autocompletion/base.py +22 -0
  23. codemaster_cli-1.0.1/vibe/cli/autocompletion/path_completion.py +177 -0
  24. codemaster_cli-1.0.1/vibe/cli/autocompletion/slash_command.py +99 -0
  25. codemaster_cli-1.0.1/vibe/cli/cli.py +229 -0
  26. codemaster_cli-1.0.1/vibe/cli/clipboard.py +69 -0
  27. codemaster_cli-1.0.1/vibe/cli/commands.py +116 -0
  28. codemaster_cli-1.0.1/vibe/cli/entrypoint.py +173 -0
  29. codemaster_cli-1.0.1/vibe/cli/history_manager.py +91 -0
  30. codemaster_cli-1.0.1/vibe/cli/plan_offer/adapters/http_whoami_gateway.py +67 -0
  31. codemaster_cli-1.0.1/vibe/cli/plan_offer/decide_plan_offer.py +87 -0
  32. codemaster_cli-1.0.1/vibe/cli/plan_offer/ports/whoami_gateway.py +23 -0
  33. codemaster_cli-1.0.1/vibe/cli/terminal_setup.py +323 -0
  34. codemaster_cli-1.0.1/vibe/cli/textual_ui/__init__.py +0 -0
  35. codemaster_cli-1.0.1/vibe/cli/textual_ui/ansi_markdown.py +58 -0
  36. codemaster_cli-1.0.1/vibe/cli/textual_ui/app.py +1546 -0
  37. codemaster_cli-1.0.1/vibe/cli/textual_ui/app.tcss +1020 -0
  38. codemaster_cli-1.0.1/vibe/cli/textual_ui/external_editor.py +32 -0
  39. codemaster_cli-1.0.1/vibe/cli/textual_ui/handlers/__init__.py +5 -0
  40. codemaster_cli-1.0.1/vibe/cli/textual_ui/handlers/event_handler.py +147 -0
  41. codemaster_cli-1.0.1/vibe/cli/textual_ui/widgets/__init__.py +0 -0
  42. codemaster_cli-1.0.1/vibe/cli/textual_ui/widgets/approval_app.py +192 -0
  43. codemaster_cli-1.0.1/vibe/cli/textual_ui/widgets/banner/banner.py +85 -0
  44. codemaster_cli-1.0.1/vibe/cli/textual_ui/widgets/banner/petit_chat.py +176 -0
  45. codemaster_cli-1.0.1/vibe/cli/textual_ui/widgets/braille_renderer.py +58 -0
  46. codemaster_cli-1.0.1/vibe/cli/textual_ui/widgets/chat_input/__init__.py +7 -0
  47. codemaster_cli-1.0.1/vibe/cli/textual_ui/widgets/chat_input/body.py +214 -0
  48. codemaster_cli-1.0.1/vibe/cli/textual_ui/widgets/chat_input/completion_manager.py +58 -0
  49. codemaster_cli-1.0.1/vibe/cli/textual_ui/widgets/chat_input/completion_popup.py +43 -0
  50. codemaster_cli-1.0.1/vibe/cli/textual_ui/widgets/chat_input/container.py +195 -0
  51. codemaster_cli-1.0.1/vibe/cli/textual_ui/widgets/chat_input/text_area.py +365 -0
  52. codemaster_cli-1.0.1/vibe/cli/textual_ui/widgets/compact.py +41 -0
  53. codemaster_cli-1.0.1/vibe/cli/textual_ui/widgets/config_app.py +171 -0
  54. codemaster_cli-1.0.1/vibe/cli/textual_ui/widgets/context_progress.py +30 -0
  55. codemaster_cli-1.0.1/vibe/cli/textual_ui/widgets/load_more.py +43 -0
  56. codemaster_cli-1.0.1/vibe/cli/textual_ui/widgets/loading.py +201 -0
  57. codemaster_cli-1.0.1/vibe/cli/textual_ui/widgets/messages.py +277 -0
  58. codemaster_cli-1.0.1/vibe/cli/textual_ui/widgets/no_markup_static.py +11 -0
  59. codemaster_cli-1.0.1/vibe/cli/textual_ui/widgets/path_display.py +28 -0
  60. codemaster_cli-1.0.1/vibe/cli/textual_ui/widgets/proxy_setup_app.py +127 -0
  61. codemaster_cli-1.0.1/vibe/cli/textual_ui/widgets/question_app.py +496 -0
  62. codemaster_cli-1.0.1/vibe/cli/textual_ui/widgets/spinner.py +194 -0
  63. codemaster_cli-1.0.1/vibe/cli/textual_ui/widgets/status_message.py +76 -0
  64. codemaster_cli-1.0.1/vibe/cli/textual_ui/widgets/teleport_message.py +31 -0
  65. codemaster_cli-1.0.1/vibe/cli/textual_ui/widgets/tool_widgets.py +371 -0
  66. codemaster_cli-1.0.1/vibe/cli/textual_ui/widgets/tools.py +201 -0
  67. codemaster_cli-1.0.1/vibe/cli/textual_ui/windowing/__init__.py +29 -0
  68. codemaster_cli-1.0.1/vibe/cli/textual_ui/windowing/history.py +105 -0
  69. codemaster_cli-1.0.1/vibe/cli/textual_ui/windowing/history_windowing.py +71 -0
  70. codemaster_cli-1.0.1/vibe/cli/textual_ui/windowing/state.py +105 -0
  71. codemaster_cli-1.0.1/vibe/cli/update_notifier/__init__.py +47 -0
  72. codemaster_cli-1.0.1/vibe/cli/update_notifier/adapters/filesystem_update_cache_repository.py +59 -0
  73. codemaster_cli-1.0.1/vibe/cli/update_notifier/adapters/github_update_gateway.py +101 -0
  74. codemaster_cli-1.0.1/vibe/cli/update_notifier/adapters/pypi_update_gateway.py +107 -0
  75. codemaster_cli-1.0.1/vibe/cli/update_notifier/ports/update_cache_repository.py +16 -0
  76. codemaster_cli-1.0.1/vibe/cli/update_notifier/ports/update_gateway.py +53 -0
  77. codemaster_cli-1.0.1/vibe/cli/update_notifier/update.py +139 -0
  78. codemaster_cli-1.0.1/vibe/cli/update_notifier/whats_new.py +49 -0
  79. codemaster_cli-1.0.1/vibe/core/__init__.py +5 -0
  80. codemaster_cli-1.0.1/vibe/core/agent_loop.py +1075 -0
  81. codemaster_cli-1.0.1/vibe/core/agents/__init__.py +31 -0
  82. codemaster_cli-1.0.1/vibe/core/agents/manager.py +166 -0
  83. codemaster_cli-1.0.1/vibe/core/agents/models.py +143 -0
  84. codemaster_cli-1.0.1/vibe/core/auth/__init__.py +6 -0
  85. codemaster_cli-1.0.1/vibe/core/auth/crypto.py +137 -0
  86. codemaster_cli-1.0.1/vibe/core/auth/github.py +178 -0
  87. codemaster_cli-1.0.1/vibe/core/autocompletion/__init__.py +0 -0
  88. codemaster_cli-1.0.1/vibe/core/autocompletion/completers.py +257 -0
  89. codemaster_cli-1.0.1/vibe/core/autocompletion/file_indexer/__init__.py +10 -0
  90. codemaster_cli-1.0.1/vibe/core/autocompletion/file_indexer/ignore_rules.py +156 -0
  91. codemaster_cli-1.0.1/vibe/core/autocompletion/file_indexer/indexer.py +179 -0
  92. codemaster_cli-1.0.1/vibe/core/autocompletion/file_indexer/store.py +169 -0
  93. codemaster_cli-1.0.1/vibe/core/autocompletion/file_indexer/watcher.py +71 -0
  94. codemaster_cli-1.0.1/vibe/core/autocompletion/fuzzy.py +189 -0
  95. codemaster_cli-1.0.1/vibe/core/autocompletion/path_prompt.py +108 -0
  96. codemaster_cli-1.0.1/vibe/core/autocompletion/path_prompt_adapter.py +149 -0
  97. codemaster_cli-1.0.1/vibe/core/config.py +983 -0
  98. codemaster_cli-1.0.1/vibe/core/config_PATCH_INSTRUCTIONS.md +77 -0
  99. codemaster_cli-1.0.1/vibe/core/llm/__init__.py +0 -0
  100. codemaster_cli-1.0.1/vibe/core/llm/backend/anthropic.py +630 -0
  101. codemaster_cli-1.0.1/vibe/core/llm/backend/base.py +38 -0
  102. codemaster_cli-1.0.1/vibe/core/llm/backend/factory.py +7 -0
  103. codemaster_cli-1.0.1/vibe/core/llm/backend/generic.py +425 -0
  104. codemaster_cli-1.0.1/vibe/core/llm/backend/mistral.py +381 -0
  105. codemaster_cli-1.0.1/vibe/core/llm/backend/vertex.py +115 -0
  106. codemaster_cli-1.0.1/vibe/core/llm/exceptions.py +195 -0
  107. codemaster_cli-1.0.1/vibe/core/llm/format.py +184 -0
  108. codemaster_cli-1.0.1/vibe/core/llm/message_utils.py +24 -0
  109. codemaster_cli-1.0.1/vibe/core/llm/types.py +120 -0
  110. codemaster_cli-1.0.1/vibe/core/middleware.py +209 -0
  111. codemaster_cli-1.0.1/vibe/core/output_formatters.py +85 -0
  112. codemaster_cli-1.0.1/vibe/core/paths/__init__.py +0 -0
  113. codemaster_cli-1.0.1/vibe/core/paths/config_paths.py +68 -0
  114. codemaster_cli-1.0.1/vibe/core/paths/global_paths.py +40 -0
  115. codemaster_cli-1.0.1/vibe/core/programmatic.py +56 -0
  116. codemaster_cli-1.0.1/vibe/core/prompts/__init__.py +33 -0
  117. codemaster_cli-1.0.1/vibe/core/prompts/cli.md +111 -0
  118. codemaster_cli-1.0.1/vibe/core/prompts/compact.md +48 -0
  119. codemaster_cli-1.0.1/vibe/core/prompts/dangerous_directory.md +5 -0
  120. codemaster_cli-1.0.1/vibe/core/prompts/explore.md +50 -0
  121. codemaster_cli-1.0.1/vibe/core/prompts/gitmaster.md +38 -0
  122. codemaster_cli-1.0.1/vibe/core/prompts/project_context.md +8 -0
  123. codemaster_cli-1.0.1/vibe/core/prompts/tests.md +1 -0
  124. codemaster_cli-1.0.1/vibe/core/proxy_setup.py +65 -0
  125. codemaster_cli-1.0.1/vibe/core/session/session_loader.py +222 -0
  126. codemaster_cli-1.0.1/vibe/core/session/session_logger.py +318 -0
  127. codemaster_cli-1.0.1/vibe/core/session/session_migration.py +41 -0
  128. codemaster_cli-1.0.1/vibe/core/skills/__init__.py +7 -0
  129. codemaster_cli-1.0.1/vibe/core/skills/manager.py +132 -0
  130. codemaster_cli-1.0.1/vibe/core/skills/models.py +92 -0
  131. codemaster_cli-1.0.1/vibe/core/skills/parser.py +39 -0
  132. codemaster_cli-1.0.1/vibe/core/system_prompt.py +466 -0
  133. codemaster_cli-1.0.1/vibe/core/telemetry/__init__.py +0 -0
  134. codemaster_cli-1.0.1/vibe/core/telemetry/send.py +185 -0
  135. codemaster_cli-1.0.1/vibe/core/teleport/errors.py +9 -0
  136. codemaster_cli-1.0.1/vibe/core/teleport/git.py +196 -0
  137. codemaster_cli-1.0.1/vibe/core/teleport/nuage.py +180 -0
  138. codemaster_cli-1.0.1/vibe/core/teleport/teleport.py +208 -0
  139. codemaster_cli-1.0.1/vibe/core/teleport/types.py +54 -0
  140. codemaster_cli-1.0.1/vibe/core/tools/base.py +338 -0
  141. codemaster_cli-1.0.1/vibe/core/tools/builtins/ask_user_question.py +134 -0
  142. codemaster_cli-1.0.1/vibe/core/tools/builtins/bash.py +454 -0
  143. codemaster_cli-1.0.1/vibe/core/tools/builtins/git_clone.py +861 -0
  144. codemaster_cli-1.0.1/vibe/core/tools/builtins/grep.py +310 -0
  145. codemaster_cli-1.0.1/vibe/core/tools/builtins/prompts/__init__.py +0 -0
  146. codemaster_cli-1.0.1/vibe/core/tools/builtins/prompts/ask_user_question.md +84 -0
  147. codemaster_cli-1.0.1/vibe/core/tools/builtins/prompts/bash.md +73 -0
  148. codemaster_cli-1.0.1/vibe/core/tools/builtins/prompts/git_clone.md +43 -0
  149. codemaster_cli-1.0.1/vibe/core/tools/builtins/prompts/gitmaster.md +38 -0
  150. codemaster_cli-1.0.1/vibe/core/tools/builtins/prompts/grep.md +4 -0
  151. codemaster_cli-1.0.1/vibe/core/tools/builtins/prompts/read_file.md +13 -0
  152. codemaster_cli-1.0.1/vibe/core/tools/builtins/prompts/search_replace.md +43 -0
  153. codemaster_cli-1.0.1/vibe/core/tools/builtins/prompts/task.md +24 -0
  154. codemaster_cli-1.0.1/vibe/core/tools/builtins/prompts/todo.md +199 -0
  155. codemaster_cli-1.0.1/vibe/core/tools/builtins/prompts/write_file.md +42 -0
  156. codemaster_cli-1.0.1/vibe/core/tools/builtins/read_file.py +222 -0
  157. codemaster_cli-1.0.1/vibe/core/tools/builtins/search_replace.py +456 -0
  158. codemaster_cli-1.0.1/vibe/core/tools/builtins/task.py +154 -0
  159. codemaster_cli-1.0.1/vibe/core/tools/builtins/todo.py +134 -0
  160. codemaster_cli-1.0.1/vibe/core/tools/builtins/write_file.py +160 -0
  161. codemaster_cli-1.0.1/vibe/core/tools/manager.py +341 -0
  162. codemaster_cli-1.0.1/vibe/core/tools/mcp.py +397 -0
  163. codemaster_cli-1.0.1/vibe/core/tools/ui.py +68 -0
  164. codemaster_cli-1.0.1/vibe/core/trusted_folders.py +86 -0
  165. codemaster_cli-1.0.1/vibe/core/types.py +401 -0
  166. codemaster_cli-1.0.1/vibe/core/utils.py +396 -0
  167. codemaster_cli-1.0.1/vibe/setup/onboarding/__init__.py +39 -0
  168. codemaster_cli-1.0.1/vibe/setup/onboarding/base.py +14 -0
  169. codemaster_cli-1.0.1/vibe/setup/onboarding/onboarding.tcss +134 -0
  170. codemaster_cli-1.0.1/vibe/setup/onboarding/screens/__init__.py +5 -0
  171. codemaster_cli-1.0.1/vibe/setup/onboarding/screens/api_key.py +200 -0
  172. codemaster_cli-1.0.1/vibe/setup/onboarding/screens/provider_selection.py +184 -0
  173. codemaster_cli-1.0.1/vibe/setup/onboarding/screens/welcome.py +136 -0
  174. codemaster_cli-1.0.1/vibe/setup/trusted_folders/trust_folder_dialog.py +180 -0
  175. codemaster_cli-1.0.1/vibe/setup/trusted_folders/trust_folder_dialog.tcss +83 -0
  176. codemaster_cli-1.0.1/vibe/whats_new.md +5 -0
@@ -0,0 +1,201 @@
1
+ # General
2
+ .DS_Store
3
+ .AppleDouble
4
+ .LSOverride
5
+
6
+ # Icon must end with two \r
7
+ Icon
8
+
9
+
10
+ # Thumbnails
11
+ ._*
12
+
13
+ # Files that might appear in the root of a volume
14
+ .DocumentRevisions-V100
15
+ .fseventsd
16
+ .Spotlight-V100
17
+ .TemporaryItems
18
+ .Trashes
19
+ .VolumeIcon.icns
20
+ .com.apple.timemachine.donotpresent
21
+
22
+ # Directories potentially created on remote AFP share
23
+ .AppleDB
24
+ .AppleDesktop
25
+ Network Trash Folder
26
+ Temporary Items
27
+ .apdisk
28
+
29
+ # Byte-compiled / optimized / DLL files
30
+ __pycache__/
31
+ *.py[cod]
32
+ *$py.class
33
+
34
+ # C extensions
35
+ *.so
36
+
37
+ # Distribution / packaging
38
+ .Python
39
+ build/
40
+ develop-eggs/
41
+ dist/
42
+ downloads/
43
+ eggs/
44
+ .eggs/
45
+ lib/
46
+ lib64/
47
+ parts/
48
+ sdist/
49
+ var/
50
+ wheels/
51
+ share/python-wheels/
52
+ *.egg-info/
53
+ .installed.cfg
54
+ *.egg
55
+ MANIFEST
56
+
57
+ # PyInstaller
58
+ # Usually these files are written by a python script from a template
59
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
60
+ *.manifest
61
+
62
+ # Installer logs
63
+ pip-log.txt
64
+ pip-delete-this-directory.txt
65
+
66
+ # Unit test / coverage reports
67
+ htmlcov/
68
+ .tox/
69
+ .nox/
70
+ .coverage
71
+ .coverage.*
72
+ .*cache
73
+ nosetests.xml
74
+ coverage.xml
75
+ *.cover
76
+ *.py,cover
77
+ .hypothesis/
78
+ .pytest_cache/
79
+ cover/
80
+
81
+ # Translations
82
+ *.mo
83
+ *.pot
84
+
85
+ # Django stuff:
86
+ *.log
87
+ local_settings.py
88
+ db.sqlite3
89
+ db.sqlite3-journal
90
+
91
+ # Flask stuff:
92
+ instance/
93
+ .webassets-cache
94
+
95
+ # Scrapy stuff:
96
+ .scrapy
97
+
98
+ # Sphinx documentation
99
+ docs/_build/
100
+
101
+ # PyBuilder
102
+ .pybuilder/
103
+ target/
104
+
105
+ # Jupyter Notebook
106
+ .ipynb_checkpoints
107
+
108
+ # IPython
109
+ profile_default/
110
+ ipython_config.py
111
+
112
+ # pyenv
113
+ # For a library or package, you might want to ignore these files since the code is
114
+ # intended to run in multiple environments; otherwise, check them in:
115
+ # .python-version
116
+
117
+ # pipenv
118
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
119
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
120
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
121
+ # install all needed dependencies.
122
+ #Pipfile.lock
123
+
124
+ # poetry
125
+ # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
126
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
127
+ # commonly ignored for libraries.
128
+ # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
129
+ #poetry.lock
130
+
131
+ # pdm
132
+ # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
133
+ #pdm.lock
134
+ # pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
135
+ # in version control.
136
+ # https://pdm.fming.dev/latest/usage/project/#working-with-version-control
137
+ .pdm.toml
138
+ .pdm-python
139
+ .pdm-build/
140
+
141
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
142
+ __pypackages__/
143
+
144
+ # Celery stuff
145
+ celerybeat-schedule
146
+ celerybeat.pid
147
+
148
+ # SageMath parsed files
149
+ *.sage.py
150
+
151
+ # Environments
152
+ .env
153
+ .venv
154
+ env/
155
+ venv/
156
+ ENV/
157
+ env.bak/
158
+ venv.bak/
159
+
160
+ # Spyder project settings
161
+ .spyderproject
162
+ .spyproject
163
+
164
+ # Rope project settings
165
+ .ropeproject
166
+
167
+ # mkdocs documentation
168
+ /site
169
+
170
+ # mypy
171
+ .mypy_cache/
172
+ .dmypy.json
173
+ dmypy.json
174
+
175
+ # Pyre type checker
176
+ .pyre/
177
+
178
+ # pytype static type analyzer
179
+ .pytype/
180
+
181
+ # Cython debug symbols
182
+ cython_debug/
183
+
184
+ # PyCharm
185
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
186
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
187
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
188
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
189
+ .idea/
190
+
191
+ # nix / direnv
192
+ .direnv/
193
+ result
194
+ result-*
195
+
196
+ # Vibe runtime/session files; keep tools as part of repo when needed
197
+ .vibe/*
198
+
199
+ # Tests run the agent in the playground, we don't need to keep the session files
200
+ tests/playground/*
201
+ .