cogbox_toolbox_api_client 0.190.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 (122) hide show
  1. cogbox_toolbox_api_client-0.190.1/LICENSE +190 -0
  2. cogbox_toolbox_api_client-0.190.1/PKG-INFO +251 -0
  3. cogbox_toolbox_api_client-0.190.1/README.md +231 -0
  4. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/__init__.py +386 -0
  5. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/api/__init__.py +46 -0
  6. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/api/computer_use_api.py +9075 -0
  7. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/api/file_system_api.py +3583 -0
  8. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/api/git_api.py +2969 -0
  9. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/api/info_api.py +773 -0
  10. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/api/interpreter_api.py +1075 -0
  11. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/api/lsp_api.py +1971 -0
  12. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/api/port_api.py +543 -0
  13. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/api/process_api.py +4865 -0
  14. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/api/server_api.py +298 -0
  15. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/api_client.py +809 -0
  16. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/api_response.py +21 -0
  17. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/configuration.py +626 -0
  18. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/exceptions.py +218 -0
  19. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/__init__.py +224 -0
  20. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/accessibility_bounds.py +108 -0
  21. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/accessibility_invoke_request.py +104 -0
  22. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/accessibility_node_request.py +102 -0
  23. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/accessibility_nodes_response.py +112 -0
  24. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/accessibility_set_value_request.py +104 -0
  25. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/accessibility_tree_response.py +108 -0
  26. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/chart.py +132 -0
  27. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/chart_element.py +134 -0
  28. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/code_run_artifacts.py +110 -0
  29. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/code_run_request.py +110 -0
  30. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/code_run_response.py +110 -0
  31. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/command.py +106 -0
  32. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/completion_context.py +104 -0
  33. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/completion_item.py +114 -0
  34. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/completion_list.py +112 -0
  35. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/computer_use_accessibility_node.py +129 -0
  36. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/computer_use_start_response.py +117 -0
  37. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/computer_use_status_response.py +102 -0
  38. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/computer_use_stop_response.py +117 -0
  39. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/create_context_request.py +104 -0
  40. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/create_session_request.py +102 -0
  41. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/display_info.py +112 -0
  42. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/display_info_response.py +110 -0
  43. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/execute_request.py +108 -0
  44. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/execute_response.py +104 -0
  45. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/file_info.py +118 -0
  46. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/file_status.py +109 -0
  47. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/files_download_request.py +102 -0
  48. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/find_accessibility_nodes_request.py +114 -0
  49. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/git_add_request.py +104 -0
  50. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/git_branch_request.py +104 -0
  51. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/git_checkout_request.py +104 -0
  52. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/git_clone_request.py +114 -0
  53. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/git_commit_info.py +110 -0
  54. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/git_commit_request.py +110 -0
  55. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/git_commit_response.py +102 -0
  56. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/git_delete_branch_request.py +104 -0
  57. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/git_repo_request.py +106 -0
  58. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/git_status.py +118 -0
  59. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/initialize_request.py +102 -0
  60. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/interpreter_context.py +110 -0
  61. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/is_port_in_use_response.py +102 -0
  62. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/keyboard_hotkey_request.py +102 -0
  63. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/keyboard_press_request.py +104 -0
  64. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/keyboard_type_request.py +104 -0
  65. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/list_branch_response.py +102 -0
  66. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/list_contexts_response.py +110 -0
  67. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/list_recordings_response.py +110 -0
  68. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/lsp_completion_params.py +118 -0
  69. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/lsp_document_request.py +106 -0
  70. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/lsp_location.py +108 -0
  71. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/lsp_position.py +104 -0
  72. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/lsp_range.py +111 -0
  73. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/lsp_server_request.py +104 -0
  74. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/lsp_symbol.py +110 -0
  75. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/match.py +106 -0
  76. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/mouse_click_request.py +108 -0
  77. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/mouse_click_response.py +104 -0
  78. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/mouse_drag_request.py +110 -0
  79. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/mouse_drag_response.py +104 -0
  80. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/mouse_move_request.py +104 -0
  81. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/mouse_position_response.py +104 -0
  82. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/mouse_scroll_request.py +109 -0
  83. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/port_list.py +102 -0
  84. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/position.py +104 -0
  85. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/process_errors_response.py +104 -0
  86. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/process_logs_response.py +104 -0
  87. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/process_restart_response.py +104 -0
  88. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/process_status.py +108 -0
  89. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/process_status_response.py +104 -0
  90. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/pty_create_request.py +112 -0
  91. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/pty_create_response.py +102 -0
  92. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/pty_list_response.py +110 -0
  93. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/pty_resize_request.py +105 -0
  94. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/pty_session_info.py +116 -0
  95. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/recording.py +116 -0
  96. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/replace_request.py +106 -0
  97. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/replace_result.py +106 -0
  98. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/screenshot_response.py +110 -0
  99. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/scroll_response.py +102 -0
  100. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/search_files_response.py +102 -0
  101. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/session.py +112 -0
  102. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/session_command_logs_response.py +106 -0
  103. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/session_execute_request.py +108 -0
  104. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/session_execute_response.py +110 -0
  105. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/session_send_input_request.py +102 -0
  106. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/start_recording_request.py +102 -0
  107. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/status.py +48 -0
  108. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/stop_recording_request.py +102 -0
  109. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/user_home_dir_response.py +102 -0
  110. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/window_info.py +114 -0
  111. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/windows_response.py +110 -0
  112. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/models/work_dir_response.py +102 -0
  113. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/py.typed +0 -0
  114. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client/rest.py +263 -0
  115. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client.egg-info/PKG-INFO +251 -0
  116. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client.egg-info/SOURCES.txt +232 -0
  117. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client.egg-info/dependency_links.txt +1 -0
  118. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client.egg-info/requires.txt +4 -0
  119. cogbox_toolbox_api_client-0.190.1/cogbox_toolbox_api_client.egg-info/top_level.txt +1 -0
  120. cogbox_toolbox_api_client-0.190.1/pyproject.toml +95 -0
  121. cogbox_toolbox_api_client-0.190.1/setup.cfg +11 -0
  122. cogbox_toolbox_api_client-0.190.1/setup.py +48 -0
@@ -0,0 +1,190 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ Copyright 2025 Daytona
179
+
180
+ Licensed under the Apache License, Version 2.0 (the "License");
181
+ you may not use this file except in compliance with the License.
182
+ You may obtain a copy of the License at
183
+
184
+ http://www.apache.org/licenses/LICENSE-2.0
185
+
186
+ Unless required by applicable law or agreed to in writing, software
187
+ distributed under the License is distributed on an "AS IS" BASIS,
188
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
189
+ See the License for the specific language governing permissions and
190
+ limitations under the License.
@@ -0,0 +1,251 @@
1
+ Metadata-Version: 2.4
2
+ Name: cogbox_toolbox_api_client
3
+ Version: 0.190.1
4
+ Summary: Cogbox Toolbox API
5
+ Home-page:
6
+ Author: OpenAPI Generator community
7
+ Author-email: OpenAPI Generator Community <team@openapitools.org>
8
+ License: Apache-2.0
9
+ Project-URL: Repository, https://github.com/cognifyi/cogbox
10
+ Keywords: OpenAPI,OpenAPI-Generator,Cogbox Toolbox API
11
+ Requires-Python: >=3.9
12
+ Description-Content-Type: text/markdown
13
+ License-File: LICENSE
14
+ Requires-Dist: urllib3<3.0.0,>=2.1.0
15
+ Requires-Dist: python-dateutil>=2.8.2
16
+ Requires-Dist: pydantic>=2.11
17
+ Requires-Dist: typing-extensions>=4.7.1
18
+ Dynamic: author
19
+ Dynamic: license-file
20
+
21
+ # cogbox_toolbox_api_client
22
+
23
+ Cogbox Daemon Toolbox API for file operations, process execution, git operations, LSP, computer use, and more.
24
+
25
+ This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
26
+
27
+ - API version: v0.0.0-dev
28
+ - Package version: 0.0.0-dev
29
+ - Generator version: 7.12.0
30
+ - Build package: org.openapitools.codegen.languages.PythonClientCodegen
31
+
32
+ ## Requirements
33
+
34
+ Python 3.8+
35
+
36
+ ## Installation & Usage
37
+
38
+ ### pip install
39
+
40
+ If the python package is hosted on a repository, you can install directly using:
41
+
42
+ ```sh
43
+ pip install git+https://github.com/cognifyi/cogbox.git
44
+ ```
45
+
46
+ (you may need to run `pip` with root permission: `sudo pip install git+https://github.com/cognifyi/cogbox.git`)
47
+
48
+ Then import the package:
49
+
50
+ ```python
51
+ import cogbox_toolbox_api_client
52
+ ```
53
+
54
+ ### Setuptools
55
+
56
+ Install via [Setuptools](http://pypi.python.org/pypi/setuptools).
57
+
58
+ ```sh
59
+ python setup.py install --user
60
+ ```
61
+
62
+ (or `sudo python setup.py install` to install the package for all users)
63
+
64
+ Then import the package:
65
+
66
+ ```python
67
+ import cogbox_toolbox_api_client
68
+ ```
69
+
70
+ ### Tests
71
+
72
+ Execute `pytest` to run the tests.
73
+
74
+ ## Getting Started
75
+
76
+ Please follow the [installation procedure](#installation--usage) and then run the following:
77
+
78
+ ```python
79
+
80
+ import cogbox_toolbox_api_client
81
+ from cogbox_toolbox_api_client.rest import ApiException
82
+ from pprint import pprint
83
+
84
+ # Defining the host is optional and defaults to http://localhost:22221
85
+ # See configuration.py for a list of all supported configuration parameters.
86
+ configuration = cogbox_toolbox_api_client.Configuration(
87
+ host = "http://localhost:22221"
88
+ )
89
+
90
+
91
+
92
+ # Enter a context with an instance of the API client
93
+ with cogbox_toolbox_api_client.ApiClient(configuration) as api_client:
94
+ # Create an instance of the API class
95
+ api_instance = cogbox_toolbox_api_client.ComputerUseApi(api_client)
96
+ request = cogbox_toolbox_api_client.MouseClickRequest() # MouseClickRequest | Mouse click request
97
+
98
+ try:
99
+ # Click mouse button
100
+ api_response = api_instance.click(request)
101
+ print("The response of ComputerUseApi->click:\n")
102
+ pprint(api_response)
103
+ except ApiException as e:
104
+ print("Exception when calling ComputerUseApi->click: %s\n" % e)
105
+
106
+ ```
107
+
108
+ ## Documentation for API Endpoints
109
+
110
+ All URIs are relative to _http://localhost:22221_
111
+
112
+ | Class | Method | HTTP request | Description |
113
+ | ---------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------- | ----------------------------------- |
114
+ | _ComputerUseApi_ | [**click**](docs/ComputerUseApi.md#click) | **POST** /computeruse/mouse/click | Click mouse button |
115
+ | _ComputerUseApi_ | [**drag**](docs/ComputerUseApi.md#drag) | **POST** /computeruse/mouse/drag | Drag mouse |
116
+ | _ComputerUseApi_ | [**get_computer_use_status**](docs/ComputerUseApi.md#get_computer_use_status) | **GET** /computeruse/process-status | Get computer use process status |
117
+ | _ComputerUseApi_ | [**get_computer_use_system_status**](docs/ComputerUseApi.md#get_computer_use_system_status) | **GET** /computeruse/status | Get computer use status |
118
+ | _ComputerUseApi_ | [**get_display_info**](docs/ComputerUseApi.md#get_display_info) | **GET** /computeruse/display/info | Get display information |
119
+ | _ComputerUseApi_ | [**get_mouse_position**](docs/ComputerUseApi.md#get_mouse_position) | **GET** /computeruse/mouse/position | Get mouse position |
120
+ | _ComputerUseApi_ | [**get_process_errors**](docs/ComputerUseApi.md#get_process_errors) | **GET** /computeruse/process/{processName}/errors | Get process errors |
121
+ | _ComputerUseApi_ | [**get_process_logs**](docs/ComputerUseApi.md#get_process_logs) | **GET** /computeruse/process/{processName}/logs | Get process logs |
122
+ | _ComputerUseApi_ | [**get_process_status**](docs/ComputerUseApi.md#get_process_status) | **GET** /computeruse/process/{processName}/status | Get specific process status |
123
+ | _ComputerUseApi_ | [**get_windows**](docs/ComputerUseApi.md#get_windows) | **GET** /computeruse/display/windows | Get windows information |
124
+ | _ComputerUseApi_ | [**move_mouse**](docs/ComputerUseApi.md#move_mouse) | **POST** /computeruse/mouse/move | Move mouse cursor |
125
+ | _ComputerUseApi_ | [**press_hotkey**](docs/ComputerUseApi.md#press_hotkey) | **POST** /computeruse/keyboard/hotkey | Press hotkey |
126
+ | _ComputerUseApi_ | [**press_key**](docs/ComputerUseApi.md#press_key) | **POST** /computeruse/keyboard/key | Press key |
127
+ | _ComputerUseApi_ | [**restart_process**](docs/ComputerUseApi.md#restart_process) | **POST** /computeruse/process/{processName}/restart | Restart specific process |
128
+ | _ComputerUseApi_ | [**scroll**](docs/ComputerUseApi.md#scroll) | **POST** /computeruse/mouse/scroll | Scroll mouse wheel |
129
+ | _ComputerUseApi_ | [**start_computer_use**](docs/ComputerUseApi.md#start_computer_use) | **POST** /computeruse/start | Start computer use processes |
130
+ | _ComputerUseApi_ | [**stop_computer_use**](docs/ComputerUseApi.md#stop_computer_use) | **POST** /computeruse/stop | Stop computer use processes |
131
+ | _ComputerUseApi_ | [**take_compressed_region_screenshot**](docs/ComputerUseApi.md#take_compressed_region_screenshot) | **GET** /computeruse/screenshot/region/compressed | Take a compressed region screenshot |
132
+ | _ComputerUseApi_ | [**take_compressed_screenshot**](docs/ComputerUseApi.md#take_compressed_screenshot) | **GET** /computeruse/screenshot/compressed | Take a compressed screenshot |
133
+ | _ComputerUseApi_ | [**take_region_screenshot**](docs/ComputerUseApi.md#take_region_screenshot) | **GET** /computeruse/screenshot/region | Take a region screenshot |
134
+ | _ComputerUseApi_ | [**take_screenshot**](docs/ComputerUseApi.md#take_screenshot) | **GET** /computeruse/screenshot | Take a screenshot |
135
+ | _ComputerUseApi_ | [**type_text**](docs/ComputerUseApi.md#type_text) | **POST** /computeruse/keyboard/type | Type text |
136
+ | _FileSystemApi_ | [**create_folder**](docs/FileSystemApi.md#create_folder) | **POST** /files/folder | Create a folder |
137
+ | _FileSystemApi_ | [**delete_file**](docs/FileSystemApi.md#delete_file) | **DELETE** /files | Delete a file or directory |
138
+ | _FileSystemApi_ | [**download_file**](docs/FileSystemApi.md#download_file) | **GET** /files/download | Download a file |
139
+ | _FileSystemApi_ | [**find_in_files**](docs/FileSystemApi.md#find_in_files) | **GET** /files/find | Find text in files |
140
+ | _FileSystemApi_ | [**get_file_info**](docs/FileSystemApi.md#get_file_info) | **GET** /files/info | Get file information |
141
+ | _FileSystemApi_ | [**list_files**](docs/FileSystemApi.md#list_files) | **GET** /files | List files and directories |
142
+ | _FileSystemApi_ | [**move_file**](docs/FileSystemApi.md#move_file) | **POST** /files/move | Move or rename file/directory |
143
+ | _FileSystemApi_ | [**replace_in_files**](docs/FileSystemApi.md#replace_in_files) | **POST** /files/replace | Replace text in files |
144
+ | _FileSystemApi_ | [**search_files**](docs/FileSystemApi.md#search_files) | **GET** /files/search | Search files by pattern |
145
+ | _FileSystemApi_ | [**set_file_permissions**](docs/FileSystemApi.md#set_file_permissions) | **POST** /files/permissions | Set file permissions |
146
+ | _FileSystemApi_ | [**upload_file**](docs/FileSystemApi.md#upload_file) | **POST** /files/upload | Upload a file |
147
+ | _FileSystemApi_ | [**upload_files**](docs/FileSystemApi.md#upload_files) | **POST** /files/bulk-upload | Upload multiple files |
148
+ | _GitApi_ | [**add_files**](docs/GitApi.md#add_files) | **POST** /git/add | Add files to Git staging |
149
+ | _GitApi_ | [**checkout_branch**](docs/GitApi.md#checkout_branch) | **POST** /git/checkout | Checkout branch or commit |
150
+ | _GitApi_ | [**clone_repository**](docs/GitApi.md#clone_repository) | **POST** /git/clone | Clone a Git repository |
151
+ | _GitApi_ | [**commit_changes**](docs/GitApi.md#commit_changes) | **POST** /git/commit | Commit changes |
152
+ | _GitApi_ | [**create_branch**](docs/GitApi.md#create_branch) | **POST** /git/branches | Create a new branch |
153
+ | _GitApi_ | [**delete_branch**](docs/GitApi.md#delete_branch) | **DELETE** /git/branches | Delete a branch |
154
+ | _GitApi_ | [**get_commit_history**](docs/GitApi.md#get_commit_history) | **GET** /git/history | Get commit history |
155
+ | _GitApi_ | [**get_status**](docs/GitApi.md#get_status) | **GET** /git/status | Get Git status |
156
+ | _GitApi_ | [**list_branches**](docs/GitApi.md#list_branches) | **GET** /git/branches | List branches |
157
+ | _GitApi_ | [**pull_changes**](docs/GitApi.md#pull_changes) | **POST** /git/pull | Pull changes from remote |
158
+ | _GitApi_ | [**push_changes**](docs/GitApi.md#push_changes) | **POST** /git/push | Push changes to remote |
159
+ | _InfoApi_ | [**get_project_dir**](docs/InfoApi.md#get_project_dir) | **GET** /project-dir | Get project directory |
160
+ | _InfoApi_ | [**get_version**](docs/InfoApi.md#get_version) | **GET** /version | Get version |
161
+ | _LspApi_ | [**completions**](docs/LspApi.md#completions) | **POST** /lsp/completions | Get code completions |
162
+ | _LspApi_ | [**did_close**](docs/LspApi.md#did_close) | **POST** /lsp/did-close | Notify document closed |
163
+ | _LspApi_ | [**did_open**](docs/LspApi.md#did_open) | **POST** /lsp/did-open | Notify document opened |
164
+ | _LspApi_ | [**document_symbols**](docs/LspApi.md#document_symbols) | **GET** /lsp/document-symbols | Get document symbols |
165
+ | _LspApi_ | [**start**](docs/LspApi.md#start) | **POST** /lsp/start | Start LSP server |
166
+ | _LspApi_ | [**stop**](docs/LspApi.md#stop) | **POST** /lsp/stop | Stop LSP server |
167
+ | _LspApi_ | [**workspace_symbols**](docs/LspApi.md#workspace_symbols) | **GET** /lsp/workspaceSymbols | Get workspace symbols |
168
+ | _PortApi_ | [**get_ports**](docs/PortApi.md#get_ports) | **GET** /port | Get active ports |
169
+ | _PortApi_ | [**is_port_in_use**](docs/PortApi.md#is_port_in_use) | **GET** /port/{port}/in-use | Check if port is in use |
170
+ | _ProcessApi_ | [**create_session**](docs/ProcessApi.md#create_session) | **POST** /process/session | Create a new session |
171
+ | _ProcessApi_ | [**delete_session**](docs/ProcessApi.md#delete_session) | **DELETE** /process/session/{sessionId} | Delete a session |
172
+ | _ProcessApi_ | [**execute_command**](docs/ProcessApi.md#execute_command) | **POST** /process/execute | Execute a command |
173
+ | _ProcessApi_ | [**get_session**](docs/ProcessApi.md#get_session) | **GET** /process/session/{sessionId} | Get session details |
174
+ | _ProcessApi_ | [**get_session_command**](docs/ProcessApi.md#get_session_command) | **GET** /process/session/{sessionId}/command/{commandId} | Get session command details |
175
+ | _ProcessApi_ | [**get_session_command_logs**](docs/ProcessApi.md#get_session_command_logs) | **GET** /process/session/{sessionId}/command/{commandId}/logs | Get session command logs |
176
+ | _ProcessApi_ | [**list_sessions**](docs/ProcessApi.md#list_sessions) | **GET** /process/session | List all sessions |
177
+ | _ProcessApi_ | [**session_execute_command**](docs/ProcessApi.md#session_execute_command) | **POST** /process/session/{sessionId}/exec | Execute command in session |
178
+
179
+ ## Documentation For Models
180
+
181
+ - [Command](docs/Command.md)
182
+ - [CompletionContext](docs/CompletionContext.md)
183
+ - [CompletionItem](docs/CompletionItem.md)
184
+ - [CompletionList](docs/CompletionList.md)
185
+ - [ComputerUseStartResponse](docs/ComputerUseStartResponse.md)
186
+ - [ComputerUseStatusResponse](docs/ComputerUseStatusResponse.md)
187
+ - [ComputerUseStopResponse](docs/ComputerUseStopResponse.md)
188
+ - [CreateSessionRequest](docs/CreateSessionRequest.md)
189
+ - [DisplayInfo](docs/DisplayInfo.md)
190
+ - [DisplayInfoResponse](docs/DisplayInfoResponse.md)
191
+ - [ExecuteRequest](docs/ExecuteRequest.md)
192
+ - [ExecuteResponse](docs/ExecuteResponse.md)
193
+ - [FileInfo](docs/FileInfo.md)
194
+ - [FileStatus](docs/FileStatus.md)
195
+ - [GitAddRequest](docs/GitAddRequest.md)
196
+ - [GitBranchRequest](docs/GitBranchRequest.md)
197
+ - [GitCheckoutRequest](docs/GitCheckoutRequest.md)
198
+ - [GitCloneRequest](docs/GitCloneRequest.md)
199
+ - [GitCommitInfo](docs/GitCommitInfo.md)
200
+ - [GitCommitRequest](docs/GitCommitRequest.md)
201
+ - [GitCommitResponse](docs/GitCommitResponse.md)
202
+ - [GitGitDeleteBranchRequest](docs/GitGitDeleteBranchRequest.md)
203
+ - [GitRepoRequest](docs/GitRepoRequest.md)
204
+ - [GitStatus](docs/GitStatus.md)
205
+ - [IsPortInUseResponse](docs/IsPortInUseResponse.md)
206
+ - [KeyboardHotkeyRequest](docs/KeyboardHotkeyRequest.md)
207
+ - [KeyboardPressRequest](docs/KeyboardPressRequest.md)
208
+ - [KeyboardTypeRequest](docs/KeyboardTypeRequest.md)
209
+ - [ListBranchResponse](docs/ListBranchResponse.md)
210
+ - [LspCompletionParams](docs/LspCompletionParams.md)
211
+ - [LspDocumentRequest](docs/LspDocumentRequest.md)
212
+ - [LspLocation](docs/LspLocation.md)
213
+ - [LspPosition](docs/LspPosition.md)
214
+ - [LspRange](docs/LspRange.md)
215
+ - [LspServerRequest](docs/LspServerRequest.md)
216
+ - [LspSymbol](docs/LspSymbol.md)
217
+ - [Match](docs/Match.md)
218
+ - [MouseClickRequest](docs/MouseClickRequest.md)
219
+ - [MouseClickResponse](docs/MouseClickResponse.md)
220
+ - [MouseDragRequest](docs/MouseDragRequest.md)
221
+ - [MouseDragResponse](docs/MouseDragResponse.md)
222
+ - [MouseMoveRequest](docs/MouseMoveRequest.md)
223
+ - [MousePositionResponse](docs/MousePositionResponse.md)
224
+ - [MouseScrollRequest](docs/MouseScrollRequest.md)
225
+ - [PortList](docs/PortList.md)
226
+ - [Position](docs/Position.md)
227
+ - [ProcessErrorsResponse](docs/ProcessErrorsResponse.md)
228
+ - [ProcessLogsResponse](docs/ProcessLogsResponse.md)
229
+ - [ProcessRestartResponse](docs/ProcessRestartResponse.md)
230
+ - [ProcessStatus](docs/ProcessStatus.md)
231
+ - [ProcessStatusResponse](docs/ProcessStatusResponse.md)
232
+ - [ProjectDirResponse](docs/ProjectDirResponse.md)
233
+ - [ReplaceRequest](docs/ReplaceRequest.md)
234
+ - [ReplaceResult](docs/ReplaceResult.md)
235
+ - [ScreenshotResponse](docs/ScreenshotResponse.md)
236
+ - [ScrollResponse](docs/ScrollResponse.md)
237
+ - [SearchFilesResponse](docs/SearchFilesResponse.md)
238
+ - [Session](docs/Session.md)
239
+ - [SessionExecuteRequest](docs/SessionExecuteRequest.md)
240
+ - [SessionExecuteResponse](docs/SessionExecuteResponse.md)
241
+ - [Status](docs/Status.md)
242
+ - [WindowInfo](docs/WindowInfo.md)
243
+ - [WindowsResponse](docs/WindowsResponse.md)
244
+
245
+ <a id="documentation-for-authorization"></a>
246
+
247
+ ## Documentation For Authorization
248
+
249
+ Endpoints do not require authorization.
250
+
251
+ ## Author