pycoze 0.1.390__py3-none-any.whl → 0.1.393__py3-none-any.whl

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.
pycoze/bot/prompt.md CHANGED
@@ -43,7 +43,7 @@ Always follow this format to ensure that tool usage is correctly parsed and exec
43
43
  ```python
44
44
  def read_multiple_files(paths_list: list) -> dict:
45
45
  """
46
- Reads the contents of multiple files listed in the specified paths. Use this tool when you need to inspect the contents of multiple existing files, such as analyzing code, viewing text files, or extracting information from configuration files. Automatically extracts raw text from PDF and DOCX files. May not work well with other types of binary files as it returns raw content as a string.
46
+ Reads the contents of multiple files listed in the specified paths.
47
47
 
48
48
  Parameters:
49
49
  paths_list (list): A list of file paths to read.
@@ -71,11 +71,11 @@ def read_multiple_files(paths_list: list) -> dict:
71
71
  ```python
72
72
  def execute_command(command: str, requires_approval: bool) -> any:
73
73
  """
74
- Executes a CLI command on the system. Use this tool when you need to perform system operations or run specific commands to accomplish any step of the user's task. Customize commands based on the user's system and clearly explain what each command does. Prefer executing complex CLI commands over creating executable scripts due to their flexibility and ease of use.
74
+ Executes a CLI command on the system.
75
75
 
76
76
  Parameters:
77
77
  command (str): The CLI command to execute. This should be suitable for the current operating system. Ensure the command is correctly formatted and contains no harmful instructions.
78
- requires_approval (bool): A boolean indicating whether explicit user approval is needed for this command when the user has enabled automatic approval mode. Set to `true` for potentially impactful actions, such as installing/uninstalling packages, deleting/overwriting files, system configuration changes, network operations, or any command with potential unintended side effects. Set to `false` for safe operations like reading files/directories, running development servers, building projects, and other non-destructive actions.
78
+ requires_approval (bool): A boolean indicating whether explicit user approval is needed for this command when the user has enabled automatic approval mode.
79
79
 
80
80
  Returns:
81
81
  any: The result of the executed command.
@@ -190,7 +190,7 @@ int main() {
190
190
  ```python
191
191
  def search_files(path: str, regex: str, file_pattern: str = "*") -> dict:
192
192
  """
193
- Performs a regular expression search across files in a specified directory, providing rich contextual results. This tool searches patterns or specific content across multiple files, displaying each match with its surrounding context.
193
+ Performs a regular expression search across files in a specified directory, providing rich contextual results.
194
194
 
195
195
  Parameters:
196
196
  path (str): The directory path to search. This directory will be recursively searched.
@@ -222,7 +222,7 @@ def search_files(path: str, regex: str, file_pattern: str = "*") -> dict:
222
222
  ```python
223
223
  def list_files(path: str, recursive: bool = False) -> list:
224
224
  """
225
- Lists files and directories in a specified directory. If `recursive` is `true`, lists all files and directories recursively. If `recursive` is `false` or not provided, lists only top-level contents. Do not use this tool to confirm the existence of files you may have created, as users will inform you if files were successfully created.
225
+ Lists files and directories in a specified directory.
226
226
 
227
227
  Parameters:
228
228
  path (str): The directory path to list contents.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: pycoze
3
- Version: 0.1.390
3
+ Version: 0.1.393
4
4
  Summary: Package for pycoze only!
5
5
  Author: Yuan Jie Xiong
6
6
  Author-email: aiqqqqqqq@qq.com
@@ -15,7 +15,7 @@ pycoze/bot/chat.py,sha256=4RGMwg2TjFERd-4LTIpQ6ilaRx4eP566KaQma2jg2O4,6296
15
15
  pycoze/bot/chat_base.py,sha256=wDPSGuIr4osM-LP0Np3TnNI1hsGWhtX0BE_RJupqUgU,10218
16
16
  pycoze/bot/lib.py,sha256=WMVhyKFXvNoLrS2wvNOakIJXyUmVE6ujCV6XVDV0M6A,7213
17
17
  pycoze/bot/message.py,sha256=udnIi-h4QgGzkbr_5VcAsVGjoLp9wXJSfBCeuOz7_Bk,802
18
- pycoze/bot/prompt.md,sha256=Km8GzmmC44HN0rnZh8txZxY52_0KWgyKh6GkjGQ3bCI,15379
18
+ pycoze/bot/prompt.md,sha256=YafQyrBhRGny_RrOWW0kk1IVf_MUxcdDH1dAh_-eHmM,13948
19
19
  pycoze/bot/tools.py,sha256=X5gpYbiRQZMvduhfXZy8VGYwjXGw5ndqbGHb-gXTQIE,10276
20
20
  pycoze/reference/__init__.py,sha256=zgqGqvmA9HaqytEM33B6vi0kQVk8IiCwJaXa22xsFz8,114
21
21
  pycoze/reference/bot.py,sha256=UZK24Qm8kpqpwXJy_zNZeTEEDee05luXdSBeUm0NCt0,2029
@@ -32,8 +32,8 @@ pycoze/utils/arg.py,sha256=jop1tBfe5hYkHW1NSpCeaZBEznkgguBscj_7M2dWfrs,503
32
32
  pycoze/utils/env.py,sha256=5pWlXfM1F5ZU9hhv1rHlDEanjEW5wf0nbyez9bNRqqA,559
33
33
  pycoze/utils/socket.py,sha256=bZbFFRH4mfThzRqt55BAAGQ6eICx_ja4x8UGGrUdAm8,2428
34
34
  pycoze/utils/text_or_file.py,sha256=gpxZVWt2DW6YiEg_MnMuwg36VNf3TX383QD_1oZNB0Y,551
35
- pycoze-0.1.390.dist-info/LICENSE,sha256=QStd_Qsd0-kAam_-sOesCIp_uKrGWeoKwt9M49NVkNU,1090
36
- pycoze-0.1.390.dist-info/METADATA,sha256=jxXBcl2f3zX8nMSJuWCZzC_wuge-oA8DnmMC26LB7Qg,854
37
- pycoze-0.1.390.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
38
- pycoze-0.1.390.dist-info/top_level.txt,sha256=76dPeDhKvOCleL3ZC5gl1-y4vdS1tT_U1hxWVAn7sFo,7
39
- pycoze-0.1.390.dist-info/RECORD,,
35
+ pycoze-0.1.393.dist-info/LICENSE,sha256=QStd_Qsd0-kAam_-sOesCIp_uKrGWeoKwt9M49NVkNU,1090
36
+ pycoze-0.1.393.dist-info/METADATA,sha256=5Yuivz2A3xItLwWrlFR9tfrKDzsmUirV37TVfeGT9mY,854
37
+ pycoze-0.1.393.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
38
+ pycoze-0.1.393.dist-info/top_level.txt,sha256=76dPeDhKvOCleL3ZC5gl1-y4vdS1tT_U1hxWVAn7sFo,7
39
+ pycoze-0.1.393.dist-info/RECORD,,