cogbox_toolbox_api_client_async 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_async-0.190.1/LICENSE +190 -0
  2. cogbox_toolbox_api_client_async-0.190.1/PKG-INFO +20 -0
  3. cogbox_toolbox_api_client_async-0.190.1/README.md +0 -0
  4. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/__init__.py +386 -0
  5. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/api/__init__.py +46 -0
  6. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/api/computer_use_api.py +9075 -0
  7. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/api/file_system_api.py +3583 -0
  8. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/api/git_api.py +2969 -0
  9. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/api/info_api.py +773 -0
  10. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/api/interpreter_api.py +1075 -0
  11. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/api/lsp_api.py +1971 -0
  12. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/api/port_api.py +543 -0
  13. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/api/process_api.py +4865 -0
  14. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/api/server_api.py +298 -0
  15. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/api_client.py +812 -0
  16. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/api_response.py +21 -0
  17. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/configuration.py +624 -0
  18. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/exceptions.py +218 -0
  19. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/__init__.py +224 -0
  20. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/accessibility_bounds.py +108 -0
  21. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/accessibility_invoke_request.py +104 -0
  22. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/accessibility_node_request.py +102 -0
  23. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/accessibility_nodes_response.py +112 -0
  24. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/accessibility_set_value_request.py +104 -0
  25. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/accessibility_tree_response.py +108 -0
  26. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/chart.py +132 -0
  27. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/chart_element.py +134 -0
  28. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/code_run_artifacts.py +110 -0
  29. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/code_run_request.py +110 -0
  30. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/code_run_response.py +110 -0
  31. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/command.py +106 -0
  32. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/completion_context.py +104 -0
  33. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/completion_item.py +114 -0
  34. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/completion_list.py +112 -0
  35. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/computer_use_accessibility_node.py +129 -0
  36. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/computer_use_start_response.py +117 -0
  37. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/computer_use_status_response.py +102 -0
  38. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/computer_use_stop_response.py +117 -0
  39. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/create_context_request.py +104 -0
  40. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/create_session_request.py +102 -0
  41. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/display_info.py +112 -0
  42. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/display_info_response.py +110 -0
  43. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/execute_request.py +108 -0
  44. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/execute_response.py +104 -0
  45. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/file_info.py +118 -0
  46. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/file_status.py +109 -0
  47. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/files_download_request.py +102 -0
  48. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/find_accessibility_nodes_request.py +114 -0
  49. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/git_add_request.py +104 -0
  50. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/git_branch_request.py +104 -0
  51. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/git_checkout_request.py +104 -0
  52. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/git_clone_request.py +114 -0
  53. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/git_commit_info.py +110 -0
  54. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/git_commit_request.py +110 -0
  55. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/git_commit_response.py +102 -0
  56. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/git_delete_branch_request.py +104 -0
  57. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/git_repo_request.py +106 -0
  58. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/git_status.py +118 -0
  59. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/initialize_request.py +102 -0
  60. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/interpreter_context.py +110 -0
  61. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/is_port_in_use_response.py +102 -0
  62. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/keyboard_hotkey_request.py +102 -0
  63. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/keyboard_press_request.py +104 -0
  64. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/keyboard_type_request.py +104 -0
  65. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/list_branch_response.py +102 -0
  66. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/list_contexts_response.py +110 -0
  67. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/list_recordings_response.py +110 -0
  68. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/lsp_completion_params.py +118 -0
  69. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/lsp_document_request.py +106 -0
  70. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/lsp_location.py +108 -0
  71. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/lsp_position.py +104 -0
  72. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/lsp_range.py +111 -0
  73. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/lsp_server_request.py +104 -0
  74. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/lsp_symbol.py +110 -0
  75. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/match.py +106 -0
  76. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/mouse_click_request.py +108 -0
  77. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/mouse_click_response.py +104 -0
  78. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/mouse_drag_request.py +110 -0
  79. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/mouse_drag_response.py +104 -0
  80. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/mouse_move_request.py +104 -0
  81. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/mouse_position_response.py +104 -0
  82. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/mouse_scroll_request.py +109 -0
  83. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/port_list.py +102 -0
  84. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/position.py +104 -0
  85. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/process_errors_response.py +104 -0
  86. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/process_logs_response.py +104 -0
  87. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/process_restart_response.py +104 -0
  88. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/process_status.py +108 -0
  89. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/process_status_response.py +104 -0
  90. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/pty_create_request.py +112 -0
  91. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/pty_create_response.py +102 -0
  92. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/pty_list_response.py +110 -0
  93. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/pty_resize_request.py +105 -0
  94. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/pty_session_info.py +116 -0
  95. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/recording.py +116 -0
  96. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/replace_request.py +106 -0
  97. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/replace_result.py +106 -0
  98. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/screenshot_response.py +110 -0
  99. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/scroll_response.py +102 -0
  100. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/search_files_response.py +102 -0
  101. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/session.py +112 -0
  102. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/session_command_logs_response.py +106 -0
  103. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/session_execute_request.py +108 -0
  104. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/session_execute_response.py +110 -0
  105. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/session_send_input_request.py +102 -0
  106. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/start_recording_request.py +102 -0
  107. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/status.py +48 -0
  108. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/stop_recording_request.py +102 -0
  109. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/user_home_dir_response.py +102 -0
  110. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/window_info.py +114 -0
  111. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/windows_response.py +110 -0
  112. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/models/work_dir_response.py +102 -0
  113. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/py.typed +0 -0
  114. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async/rest.py +226 -0
  115. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async.egg-info/PKG-INFO +20 -0
  116. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async.egg-info/SOURCES.txt +232 -0
  117. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async.egg-info/dependency_links.txt +1 -0
  118. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async.egg-info/requires.txt +5 -0
  119. cogbox_toolbox_api_client_async-0.190.1/cogbox_toolbox_api_client_async.egg-info/top_level.txt +1 -0
  120. cogbox_toolbox_api_client_async-0.190.1/pyproject.toml +96 -0
  121. cogbox_toolbox_api_client_async-0.190.1/setup.cfg +11 -0
  122. cogbox_toolbox_api_client_async-0.190.1/setup.py +49 -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,20 @@
1
+ Metadata-Version: 2.4
2
+ Name: cogbox_toolbox_api_client_async
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: python-dateutil>=2.8.2
15
+ Requires-Dist: aiohttp>=3.8.4
16
+ Requires-Dist: aiohttp-retry>=2.8.3
17
+ Requires-Dist: pydantic>=2.11
18
+ Requires-Dist: typing-extensions>=4.7.1
19
+ Dynamic: author
20
+ Dynamic: license-file
File without changes
@@ -0,0 +1,386 @@
1
+ # coding: utf-8
2
+
3
+ from __future__ import annotations
4
+
5
+ # flake8: noqa
6
+
7
+ """
8
+ Cogbox Toolbox API
9
+
10
+ Cogbox Toolbox API. The base URL comes from the sandbox's `toolboxProxyUrl` field (returned in sandbox DTO by the main Cogbox API) plus the sandbox ID: `{toolboxProxyUrl}/{sandboxId}/{endpoint}`. Default for Cogbox Cloud: `https://proxy.cogbox.pazity.com/toolbox/{sandboxId}`.
11
+
12
+ The version of the OpenAPI document: v0.0.0-dev
13
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
14
+
15
+ Do not edit the class manually.
16
+ """ # noqa: E501
17
+
18
+ __version__ = "v0.190.1"
19
+
20
+ import importlib
21
+ from typing import TYPE_CHECKING
22
+
23
+ if TYPE_CHECKING:
24
+ # import apis into sdk package
25
+ from cogbox_toolbox_api_client_async.api.computer_use_api import ComputerUseApi
26
+ from cogbox_toolbox_api_client_async.api.file_system_api import FileSystemApi
27
+ from cogbox_toolbox_api_client_async.api.git_api import GitApi
28
+ from cogbox_toolbox_api_client_async.api.info_api import InfoApi
29
+ from cogbox_toolbox_api_client_async.api.interpreter_api import InterpreterApi
30
+ from cogbox_toolbox_api_client_async.api.lsp_api import LspApi
31
+ from cogbox_toolbox_api_client_async.api.port_api import PortApi
32
+ from cogbox_toolbox_api_client_async.api.process_api import ProcessApi
33
+ from cogbox_toolbox_api_client_async.api.server_api import ServerApi
34
+ # import ApiClient
35
+ from cogbox_toolbox_api_client_async.api_response import ApiResponse
36
+ from cogbox_toolbox_api_client_async.api_client import ApiClient
37
+ from cogbox_toolbox_api_client_async.configuration import Configuration
38
+ from cogbox_toolbox_api_client_async.exceptions import OpenApiException
39
+ from cogbox_toolbox_api_client_async.exceptions import ApiTypeError
40
+ from cogbox_toolbox_api_client_async.exceptions import ApiValueError
41
+ from cogbox_toolbox_api_client_async.exceptions import ApiKeyError
42
+ from cogbox_toolbox_api_client_async.exceptions import ApiAttributeError
43
+ from cogbox_toolbox_api_client_async.exceptions import ApiException
44
+
45
+ # import models into sdk package
46
+ from cogbox_toolbox_api_client_async.models.accessibility_bounds import AccessibilityBounds
47
+ from cogbox_toolbox_api_client_async.models.accessibility_invoke_request import AccessibilityInvokeRequest
48
+ from cogbox_toolbox_api_client_async.models.accessibility_node_request import AccessibilityNodeRequest
49
+ from cogbox_toolbox_api_client_async.models.accessibility_nodes_response import AccessibilityNodesResponse
50
+ from cogbox_toolbox_api_client_async.models.accessibility_set_value_request import AccessibilitySetValueRequest
51
+ from cogbox_toolbox_api_client_async.models.accessibility_tree_response import AccessibilityTreeResponse
52
+ from cogbox_toolbox_api_client_async.models.chart import Chart
53
+ from cogbox_toolbox_api_client_async.models.chart_element import ChartElement
54
+ from cogbox_toolbox_api_client_async.models.code_run_artifacts import CodeRunArtifacts
55
+ from cogbox_toolbox_api_client_async.models.code_run_request import CodeRunRequest
56
+ from cogbox_toolbox_api_client_async.models.code_run_response import CodeRunResponse
57
+ from cogbox_toolbox_api_client_async.models.command import Command
58
+ from cogbox_toolbox_api_client_async.models.completion_context import CompletionContext
59
+ from cogbox_toolbox_api_client_async.models.completion_item import CompletionItem
60
+ from cogbox_toolbox_api_client_async.models.completion_list import CompletionList
61
+ from cogbox_toolbox_api_client_async.models.computer_use_accessibility_node import ComputerUseAccessibilityNode
62
+ from cogbox_toolbox_api_client_async.models.computer_use_start_response import ComputerUseStartResponse
63
+ from cogbox_toolbox_api_client_async.models.computer_use_status_response import ComputerUseStatusResponse
64
+ from cogbox_toolbox_api_client_async.models.computer_use_stop_response import ComputerUseStopResponse
65
+ from cogbox_toolbox_api_client_async.models.create_context_request import CreateContextRequest
66
+ from cogbox_toolbox_api_client_async.models.create_session_request import CreateSessionRequest
67
+ from cogbox_toolbox_api_client_async.models.display_info import DisplayInfo
68
+ from cogbox_toolbox_api_client_async.models.display_info_response import DisplayInfoResponse
69
+ from cogbox_toolbox_api_client_async.models.execute_request import ExecuteRequest
70
+ from cogbox_toolbox_api_client_async.models.execute_response import ExecuteResponse
71
+ from cogbox_toolbox_api_client_async.models.file_info import FileInfo
72
+ from cogbox_toolbox_api_client_async.models.file_status import FileStatus
73
+ from cogbox_toolbox_api_client_async.models.files_download_request import FilesDownloadRequest
74
+ from cogbox_toolbox_api_client_async.models.find_accessibility_nodes_request import FindAccessibilityNodesRequest
75
+ from cogbox_toolbox_api_client_async.models.git_add_request import GitAddRequest
76
+ from cogbox_toolbox_api_client_async.models.git_branch_request import GitBranchRequest
77
+ from cogbox_toolbox_api_client_async.models.git_checkout_request import GitCheckoutRequest
78
+ from cogbox_toolbox_api_client_async.models.git_clone_request import GitCloneRequest
79
+ from cogbox_toolbox_api_client_async.models.git_commit_info import GitCommitInfo
80
+ from cogbox_toolbox_api_client_async.models.git_commit_request import GitCommitRequest
81
+ from cogbox_toolbox_api_client_async.models.git_commit_response import GitCommitResponse
82
+ from cogbox_toolbox_api_client_async.models.git_delete_branch_request import GitDeleteBranchRequest
83
+ from cogbox_toolbox_api_client_async.models.git_repo_request import GitRepoRequest
84
+ from cogbox_toolbox_api_client_async.models.git_status import GitStatus
85
+ from cogbox_toolbox_api_client_async.models.initialize_request import InitializeRequest
86
+ from cogbox_toolbox_api_client_async.models.interpreter_context import InterpreterContext
87
+ from cogbox_toolbox_api_client_async.models.is_port_in_use_response import IsPortInUseResponse
88
+ from cogbox_toolbox_api_client_async.models.keyboard_hotkey_request import KeyboardHotkeyRequest
89
+ from cogbox_toolbox_api_client_async.models.keyboard_press_request import KeyboardPressRequest
90
+ from cogbox_toolbox_api_client_async.models.keyboard_type_request import KeyboardTypeRequest
91
+ from cogbox_toolbox_api_client_async.models.list_branch_response import ListBranchResponse
92
+ from cogbox_toolbox_api_client_async.models.list_contexts_response import ListContextsResponse
93
+ from cogbox_toolbox_api_client_async.models.list_recordings_response import ListRecordingsResponse
94
+ from cogbox_toolbox_api_client_async.models.lsp_completion_params import LspCompletionParams
95
+ from cogbox_toolbox_api_client_async.models.lsp_document_request import LspDocumentRequest
96
+ from cogbox_toolbox_api_client_async.models.lsp_location import LspLocation
97
+ from cogbox_toolbox_api_client_async.models.lsp_position import LspPosition
98
+ from cogbox_toolbox_api_client_async.models.lsp_range import LspRange
99
+ from cogbox_toolbox_api_client_async.models.lsp_server_request import LspServerRequest
100
+ from cogbox_toolbox_api_client_async.models.lsp_symbol import LspSymbol
101
+ from cogbox_toolbox_api_client_async.models.match import Match
102
+ from cogbox_toolbox_api_client_async.models.mouse_click_request import MouseClickRequest
103
+ from cogbox_toolbox_api_client_async.models.mouse_click_response import MouseClickResponse
104
+ from cogbox_toolbox_api_client_async.models.mouse_drag_request import MouseDragRequest
105
+ from cogbox_toolbox_api_client_async.models.mouse_drag_response import MouseDragResponse
106
+ from cogbox_toolbox_api_client_async.models.mouse_move_request import MouseMoveRequest
107
+ from cogbox_toolbox_api_client_async.models.mouse_position_response import MousePositionResponse
108
+ from cogbox_toolbox_api_client_async.models.mouse_scroll_request import MouseScrollRequest
109
+ from cogbox_toolbox_api_client_async.models.port_list import PortList
110
+ from cogbox_toolbox_api_client_async.models.position import Position
111
+ from cogbox_toolbox_api_client_async.models.process_errors_response import ProcessErrorsResponse
112
+ from cogbox_toolbox_api_client_async.models.process_logs_response import ProcessLogsResponse
113
+ from cogbox_toolbox_api_client_async.models.process_restart_response import ProcessRestartResponse
114
+ from cogbox_toolbox_api_client_async.models.process_status import ProcessStatus
115
+ from cogbox_toolbox_api_client_async.models.process_status_response import ProcessStatusResponse
116
+ from cogbox_toolbox_api_client_async.models.pty_create_request import PtyCreateRequest
117
+ from cogbox_toolbox_api_client_async.models.pty_create_response import PtyCreateResponse
118
+ from cogbox_toolbox_api_client_async.models.pty_list_response import PtyListResponse
119
+ from cogbox_toolbox_api_client_async.models.pty_resize_request import PtyResizeRequest
120
+ from cogbox_toolbox_api_client_async.models.pty_session_info import PtySessionInfo
121
+ from cogbox_toolbox_api_client_async.models.recording import Recording
122
+ from cogbox_toolbox_api_client_async.models.replace_request import ReplaceRequest
123
+ from cogbox_toolbox_api_client_async.models.replace_result import ReplaceResult
124
+ from cogbox_toolbox_api_client_async.models.screenshot_response import ScreenshotResponse
125
+ from cogbox_toolbox_api_client_async.models.scroll_response import ScrollResponse
126
+ from cogbox_toolbox_api_client_async.models.search_files_response import SearchFilesResponse
127
+ from cogbox_toolbox_api_client_async.models.session import Session
128
+ from cogbox_toolbox_api_client_async.models.session_command_logs_response import SessionCommandLogsResponse
129
+ from cogbox_toolbox_api_client_async.models.session_execute_request import SessionExecuteRequest
130
+ from cogbox_toolbox_api_client_async.models.session_execute_response import SessionExecuteResponse
131
+ from cogbox_toolbox_api_client_async.models.session_send_input_request import SessionSendInputRequest
132
+ from cogbox_toolbox_api_client_async.models.start_recording_request import StartRecordingRequest
133
+ from cogbox_toolbox_api_client_async.models.status import Status
134
+ from cogbox_toolbox_api_client_async.models.stop_recording_request import StopRecordingRequest
135
+ from cogbox_toolbox_api_client_async.models.user_home_dir_response import UserHomeDirResponse
136
+ from cogbox_toolbox_api_client_async.models.window_info import WindowInfo
137
+ from cogbox_toolbox_api_client_async.models.windows_response import WindowsResponse
138
+ from cogbox_toolbox_api_client_async.models.work_dir_response import WorkDirResponse
139
+
140
+ _DYNAMIC_IMPORTS: dict[str, str] = {
141
+ # apis
142
+ "ComputerUseApi": "cogbox_toolbox_api_client_async.api.computer_use_api",
143
+ "FileSystemApi": "cogbox_toolbox_api_client_async.api.file_system_api",
144
+ "GitApi": "cogbox_toolbox_api_client_async.api.git_api",
145
+ "InfoApi": "cogbox_toolbox_api_client_async.api.info_api",
146
+ "InterpreterApi": "cogbox_toolbox_api_client_async.api.interpreter_api",
147
+ "LspApi": "cogbox_toolbox_api_client_async.api.lsp_api",
148
+ "PortApi": "cogbox_toolbox_api_client_async.api.port_api",
149
+ "ProcessApi": "cogbox_toolbox_api_client_async.api.process_api",
150
+ "ServerApi": "cogbox_toolbox_api_client_async.api.server_api",
151
+ # ApiClient
152
+ "ApiResponse": "cogbox_toolbox_api_client_async.api_response",
153
+ "ApiClient": "cogbox_toolbox_api_client_async.api_client",
154
+ "Configuration": "cogbox_toolbox_api_client_async.configuration",
155
+ "OpenApiException": "cogbox_toolbox_api_client_async.exceptions",
156
+ "ApiTypeError": "cogbox_toolbox_api_client_async.exceptions",
157
+ "ApiValueError": "cogbox_toolbox_api_client_async.exceptions",
158
+ "ApiKeyError": "cogbox_toolbox_api_client_async.exceptions",
159
+ "ApiAttributeError": "cogbox_toolbox_api_client_async.exceptions",
160
+ "ApiException": "cogbox_toolbox_api_client_async.exceptions",
161
+ # models
162
+ "AccessibilityBounds": "cogbox_toolbox_api_client_async.models.accessibility_bounds",
163
+ "AccessibilityInvokeRequest": "cogbox_toolbox_api_client_async.models.accessibility_invoke_request",
164
+ "AccessibilityNodeRequest": "cogbox_toolbox_api_client_async.models.accessibility_node_request",
165
+ "AccessibilityNodesResponse": "cogbox_toolbox_api_client_async.models.accessibility_nodes_response",
166
+ "AccessibilitySetValueRequest": "cogbox_toolbox_api_client_async.models.accessibility_set_value_request",
167
+ "AccessibilityTreeResponse": "cogbox_toolbox_api_client_async.models.accessibility_tree_response",
168
+ "Chart": "cogbox_toolbox_api_client_async.models.chart",
169
+ "ChartElement": "cogbox_toolbox_api_client_async.models.chart_element",
170
+ "CodeRunArtifacts": "cogbox_toolbox_api_client_async.models.code_run_artifacts",
171
+ "CodeRunRequest": "cogbox_toolbox_api_client_async.models.code_run_request",
172
+ "CodeRunResponse": "cogbox_toolbox_api_client_async.models.code_run_response",
173
+ "Command": "cogbox_toolbox_api_client_async.models.command",
174
+ "CompletionContext": "cogbox_toolbox_api_client_async.models.completion_context",
175
+ "CompletionItem": "cogbox_toolbox_api_client_async.models.completion_item",
176
+ "CompletionList": "cogbox_toolbox_api_client_async.models.completion_list",
177
+ "ComputerUseAccessibilityNode": "cogbox_toolbox_api_client_async.models.computer_use_accessibility_node",
178
+ "ComputerUseStartResponse": "cogbox_toolbox_api_client_async.models.computer_use_start_response",
179
+ "ComputerUseStatusResponse": "cogbox_toolbox_api_client_async.models.computer_use_status_response",
180
+ "ComputerUseStopResponse": "cogbox_toolbox_api_client_async.models.computer_use_stop_response",
181
+ "CreateContextRequest": "cogbox_toolbox_api_client_async.models.create_context_request",
182
+ "CreateSessionRequest": "cogbox_toolbox_api_client_async.models.create_session_request",
183
+ "DisplayInfo": "cogbox_toolbox_api_client_async.models.display_info",
184
+ "DisplayInfoResponse": "cogbox_toolbox_api_client_async.models.display_info_response",
185
+ "ExecuteRequest": "cogbox_toolbox_api_client_async.models.execute_request",
186
+ "ExecuteResponse": "cogbox_toolbox_api_client_async.models.execute_response",
187
+ "FileInfo": "cogbox_toolbox_api_client_async.models.file_info",
188
+ "FileStatus": "cogbox_toolbox_api_client_async.models.file_status",
189
+ "FilesDownloadRequest": "cogbox_toolbox_api_client_async.models.files_download_request",
190
+ "FindAccessibilityNodesRequest": "cogbox_toolbox_api_client_async.models.find_accessibility_nodes_request",
191
+ "GitAddRequest": "cogbox_toolbox_api_client_async.models.git_add_request",
192
+ "GitBranchRequest": "cogbox_toolbox_api_client_async.models.git_branch_request",
193
+ "GitCheckoutRequest": "cogbox_toolbox_api_client_async.models.git_checkout_request",
194
+ "GitCloneRequest": "cogbox_toolbox_api_client_async.models.git_clone_request",
195
+ "GitCommitInfo": "cogbox_toolbox_api_client_async.models.git_commit_info",
196
+ "GitCommitRequest": "cogbox_toolbox_api_client_async.models.git_commit_request",
197
+ "GitCommitResponse": "cogbox_toolbox_api_client_async.models.git_commit_response",
198
+ "GitDeleteBranchRequest": "cogbox_toolbox_api_client_async.models.git_delete_branch_request",
199
+ "GitRepoRequest": "cogbox_toolbox_api_client_async.models.git_repo_request",
200
+ "GitStatus": "cogbox_toolbox_api_client_async.models.git_status",
201
+ "InitializeRequest": "cogbox_toolbox_api_client_async.models.initialize_request",
202
+ "InterpreterContext": "cogbox_toolbox_api_client_async.models.interpreter_context",
203
+ "IsPortInUseResponse": "cogbox_toolbox_api_client_async.models.is_port_in_use_response",
204
+ "KeyboardHotkeyRequest": "cogbox_toolbox_api_client_async.models.keyboard_hotkey_request",
205
+ "KeyboardPressRequest": "cogbox_toolbox_api_client_async.models.keyboard_press_request",
206
+ "KeyboardTypeRequest": "cogbox_toolbox_api_client_async.models.keyboard_type_request",
207
+ "ListBranchResponse": "cogbox_toolbox_api_client_async.models.list_branch_response",
208
+ "ListContextsResponse": "cogbox_toolbox_api_client_async.models.list_contexts_response",
209
+ "ListRecordingsResponse": "cogbox_toolbox_api_client_async.models.list_recordings_response",
210
+ "LspCompletionParams": "cogbox_toolbox_api_client_async.models.lsp_completion_params",
211
+ "LspDocumentRequest": "cogbox_toolbox_api_client_async.models.lsp_document_request",
212
+ "LspLocation": "cogbox_toolbox_api_client_async.models.lsp_location",
213
+ "LspPosition": "cogbox_toolbox_api_client_async.models.lsp_position",
214
+ "LspRange": "cogbox_toolbox_api_client_async.models.lsp_range",
215
+ "LspServerRequest": "cogbox_toolbox_api_client_async.models.lsp_server_request",
216
+ "LspSymbol": "cogbox_toolbox_api_client_async.models.lsp_symbol",
217
+ "Match": "cogbox_toolbox_api_client_async.models.match",
218
+ "MouseClickRequest": "cogbox_toolbox_api_client_async.models.mouse_click_request",
219
+ "MouseClickResponse": "cogbox_toolbox_api_client_async.models.mouse_click_response",
220
+ "MouseDragRequest": "cogbox_toolbox_api_client_async.models.mouse_drag_request",
221
+ "MouseDragResponse": "cogbox_toolbox_api_client_async.models.mouse_drag_response",
222
+ "MouseMoveRequest": "cogbox_toolbox_api_client_async.models.mouse_move_request",
223
+ "MousePositionResponse": "cogbox_toolbox_api_client_async.models.mouse_position_response",
224
+ "MouseScrollRequest": "cogbox_toolbox_api_client_async.models.mouse_scroll_request",
225
+ "PortList": "cogbox_toolbox_api_client_async.models.port_list",
226
+ "Position": "cogbox_toolbox_api_client_async.models.position",
227
+ "ProcessErrorsResponse": "cogbox_toolbox_api_client_async.models.process_errors_response",
228
+ "ProcessLogsResponse": "cogbox_toolbox_api_client_async.models.process_logs_response",
229
+ "ProcessRestartResponse": "cogbox_toolbox_api_client_async.models.process_restart_response",
230
+ "ProcessStatus": "cogbox_toolbox_api_client_async.models.process_status",
231
+ "ProcessStatusResponse": "cogbox_toolbox_api_client_async.models.process_status_response",
232
+ "PtyCreateRequest": "cogbox_toolbox_api_client_async.models.pty_create_request",
233
+ "PtyCreateResponse": "cogbox_toolbox_api_client_async.models.pty_create_response",
234
+ "PtyListResponse": "cogbox_toolbox_api_client_async.models.pty_list_response",
235
+ "PtyResizeRequest": "cogbox_toolbox_api_client_async.models.pty_resize_request",
236
+ "PtySessionInfo": "cogbox_toolbox_api_client_async.models.pty_session_info",
237
+ "Recording": "cogbox_toolbox_api_client_async.models.recording",
238
+ "ReplaceRequest": "cogbox_toolbox_api_client_async.models.replace_request",
239
+ "ReplaceResult": "cogbox_toolbox_api_client_async.models.replace_result",
240
+ "ScreenshotResponse": "cogbox_toolbox_api_client_async.models.screenshot_response",
241
+ "ScrollResponse": "cogbox_toolbox_api_client_async.models.scroll_response",
242
+ "SearchFilesResponse": "cogbox_toolbox_api_client_async.models.search_files_response",
243
+ "Session": "cogbox_toolbox_api_client_async.models.session",
244
+ "SessionCommandLogsResponse": "cogbox_toolbox_api_client_async.models.session_command_logs_response",
245
+ "SessionExecuteRequest": "cogbox_toolbox_api_client_async.models.session_execute_request",
246
+ "SessionExecuteResponse": "cogbox_toolbox_api_client_async.models.session_execute_response",
247
+ "SessionSendInputRequest": "cogbox_toolbox_api_client_async.models.session_send_input_request",
248
+ "StartRecordingRequest": "cogbox_toolbox_api_client_async.models.start_recording_request",
249
+ "Status": "cogbox_toolbox_api_client_async.models.status",
250
+ "StopRecordingRequest": "cogbox_toolbox_api_client_async.models.stop_recording_request",
251
+ "UserHomeDirResponse": "cogbox_toolbox_api_client_async.models.user_home_dir_response",
252
+ "WindowInfo": "cogbox_toolbox_api_client_async.models.window_info",
253
+ "WindowsResponse": "cogbox_toolbox_api_client_async.models.windows_response",
254
+ "WorkDirResponse": "cogbox_toolbox_api_client_async.models.work_dir_response",
255
+ }
256
+
257
+
258
+ def __getattr__(attr_name: str) -> object:
259
+ module_path = _DYNAMIC_IMPORTS.get(attr_name)
260
+ if module_path is None:
261
+ raise AttributeError(f"module {__name__!r} has no attribute {attr_name!r}")
262
+ mod = importlib.import_module(module_path)
263
+ value = getattr(mod, attr_name)
264
+ globals()[attr_name] = value
265
+ return value
266
+
267
+
268
+ def __dir__() -> list[str]:
269
+ return list(_DYNAMIC_IMPORTS.keys())
270
+
271
+
272
+ # --- Static __all__ generated by Mustache ---
273
+ __all__ = [
274
+ "ApiResponse",
275
+ "ApiClient",
276
+ "Configuration",
277
+ "OpenApiException",
278
+ "ApiTypeError",
279
+ "ApiValueError",
280
+ "ApiKeyError",
281
+ "ApiAttributeError",
282
+ "ApiException",
283
+ "ComputerUseApi",
284
+ "FileSystemApi",
285
+ "GitApi",
286
+ "InfoApi",
287
+ "InterpreterApi",
288
+ "LspApi",
289
+ "PortApi",
290
+ "ProcessApi",
291
+ "ServerApi",
292
+ "AccessibilityBounds",
293
+ "AccessibilityInvokeRequest",
294
+ "AccessibilityNodeRequest",
295
+ "AccessibilityNodesResponse",
296
+ "AccessibilitySetValueRequest",
297
+ "AccessibilityTreeResponse",
298
+ "Chart",
299
+ "ChartElement",
300
+ "CodeRunArtifacts",
301
+ "CodeRunRequest",
302
+ "CodeRunResponse",
303
+ "Command",
304
+ "CompletionContext",
305
+ "CompletionItem",
306
+ "CompletionList",
307
+ "ComputerUseAccessibilityNode",
308
+ "ComputerUseStartResponse",
309
+ "ComputerUseStatusResponse",
310
+ "ComputerUseStopResponse",
311
+ "CreateContextRequest",
312
+ "CreateSessionRequest",
313
+ "DisplayInfo",
314
+ "DisplayInfoResponse",
315
+ "ExecuteRequest",
316
+ "ExecuteResponse",
317
+ "FileInfo",
318
+ "FileStatus",
319
+ "FilesDownloadRequest",
320
+ "FindAccessibilityNodesRequest",
321
+ "GitAddRequest",
322
+ "GitBranchRequest",
323
+ "GitCheckoutRequest",
324
+ "GitCloneRequest",
325
+ "GitCommitInfo",
326
+ "GitCommitRequest",
327
+ "GitCommitResponse",
328
+ "GitDeleteBranchRequest",
329
+ "GitRepoRequest",
330
+ "GitStatus",
331
+ "InitializeRequest",
332
+ "InterpreterContext",
333
+ "IsPortInUseResponse",
334
+ "KeyboardHotkeyRequest",
335
+ "KeyboardPressRequest",
336
+ "KeyboardTypeRequest",
337
+ "ListBranchResponse",
338
+ "ListContextsResponse",
339
+ "ListRecordingsResponse",
340
+ "LspCompletionParams",
341
+ "LspDocumentRequest",
342
+ "LspLocation",
343
+ "LspPosition",
344
+ "LspRange",
345
+ "LspServerRequest",
346
+ "LspSymbol",
347
+ "Match",
348
+ "MouseClickRequest",
349
+ "MouseClickResponse",
350
+ "MouseDragRequest",
351
+ "MouseDragResponse",
352
+ "MouseMoveRequest",
353
+ "MousePositionResponse",
354
+ "MouseScrollRequest",
355
+ "PortList",
356
+ "Position",
357
+ "ProcessErrorsResponse",
358
+ "ProcessLogsResponse",
359
+ "ProcessRestartResponse",
360
+ "ProcessStatus",
361
+ "ProcessStatusResponse",
362
+ "PtyCreateRequest",
363
+ "PtyCreateResponse",
364
+ "PtyListResponse",
365
+ "PtyResizeRequest",
366
+ "PtySessionInfo",
367
+ "Recording",
368
+ "ReplaceRequest",
369
+ "ReplaceResult",
370
+ "ScreenshotResponse",
371
+ "ScrollResponse",
372
+ "SearchFilesResponse",
373
+ "Session",
374
+ "SessionCommandLogsResponse",
375
+ "SessionExecuteRequest",
376
+ "SessionExecuteResponse",
377
+ "SessionSendInputRequest",
378
+ "StartRecordingRequest",
379
+ "Status",
380
+ "StopRecordingRequest",
381
+ "UserHomeDirResponse",
382
+ "WindowInfo",
383
+ "WindowsResponse",
384
+ "WorkDirResponse",
385
+
386
+ ]
@@ -0,0 +1,46 @@
1
+ from __future__ import annotations
2
+
3
+ # flake8: noqa
4
+
5
+ # import apis into api package
6
+ import importlib
7
+ from typing import TYPE_CHECKING
8
+
9
+ if TYPE_CHECKING:
10
+ from cogbox_toolbox_api_client_async.api.computer_use_api import ComputerUseApi
11
+ from cogbox_toolbox_api_client_async.api.file_system_api import FileSystemApi
12
+ from cogbox_toolbox_api_client_async.api.git_api import GitApi
13
+ from cogbox_toolbox_api_client_async.api.info_api import InfoApi
14
+ from cogbox_toolbox_api_client_async.api.interpreter_api import InterpreterApi
15
+ from cogbox_toolbox_api_client_async.api.lsp_api import LspApi
16
+ from cogbox_toolbox_api_client_async.api.port_api import PortApi
17
+ from cogbox_toolbox_api_client_async.api.process_api import ProcessApi
18
+ from cogbox_toolbox_api_client_async.api.server_api import ServerApi
19
+
20
+
21
+ _DYNAMIC_IMPORTS: dict[str, str] = {
22
+ "ComputerUseApi": "cogbox_toolbox_api_client_async.api.computer_use_api",
23
+ "FileSystemApi": "cogbox_toolbox_api_client_async.api.file_system_api",
24
+ "GitApi": "cogbox_toolbox_api_client_async.api.git_api",
25
+ "InfoApi": "cogbox_toolbox_api_client_async.api.info_api",
26
+ "InterpreterApi": "cogbox_toolbox_api_client_async.api.interpreter_api",
27
+ "LspApi": "cogbox_toolbox_api_client_async.api.lsp_api",
28
+ "PortApi": "cogbox_toolbox_api_client_async.api.port_api",
29
+ "ProcessApi": "cogbox_toolbox_api_client_async.api.process_api",
30
+ "ServerApi": "cogbox_toolbox_api_client_async.api.server_api",
31
+
32
+ }
33
+
34
+
35
+ def __getattr__(attr_name: str) -> object:
36
+ module_path = _DYNAMIC_IMPORTS.get(attr_name)
37
+ if module_path is None:
38
+ raise AttributeError(f"module {__name__!r} has no attribute {attr_name!r}")
39
+ mod = importlib.import_module(module_path)
40
+ value = getattr(mod, attr_name)
41
+ globals()[attr_name] = value
42
+ return value
43
+
44
+
45
+ def __dir__() -> list[str]:
46
+ return list(_DYNAMIC_IMPORTS.keys())