pycoze 0.1.400__py3-none-any.whl → 0.1.401__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 +4 -4
- {pycoze-0.1.400.dist-info → pycoze-0.1.401.dist-info}/METADATA +1 -1
- {pycoze-0.1.400.dist-info → pycoze-0.1.401.dist-info}/RECORD +6 -6
- {pycoze-0.1.400.dist-info → pycoze-0.1.401.dist-info}/LICENSE +0 -0
- {pycoze-0.1.400.dist-info → pycoze-0.1.401.dist-info}/WHEEL +0 -0
- {pycoze-0.1.400.dist-info → pycoze-0.1.401.dist-info}/top_level.txt +0 -0
pycoze/bot/prompt.md
CHANGED
@@ -44,7 +44,7 @@ def read_multiple_files(paths_list: list) -> dict:
|
|
44
44
|
Reads the contents of multiple files listed in the specified paths.
|
45
45
|
|
46
46
|
Parameters:
|
47
|
-
paths_list (list): A list of file paths to read.
|
47
|
+
paths_list (list): A list of file paths to read, which can be relative paths.
|
48
48
|
|
49
49
|
Returns:
|
50
50
|
dict: Each file path mapped to its content.
|
@@ -102,7 +102,7 @@ def write_or_overwrite_file(path: str, content: str) -> None:
|
|
102
102
|
Writes content to a file at a specified path. If the file exists, it will be overwritten with the provided content. If the file does not exist, it will be created. This tool automatically creates any directories needed for writing or overwriting files.
|
103
103
|
|
104
104
|
Parameters:
|
105
|
-
path (str): The file path to write.
|
105
|
+
path (str): The file path to write, which can be a relative path.
|
106
106
|
content (str): The content to write or overwrite into the file. Always provide the full content of the file, do not truncate or omit parts. You must include all sections of the file, even those that haven't been modified!
|
107
107
|
|
108
108
|
Returns:
|
@@ -191,7 +191,7 @@ def search_files(path: str, regex: str, file_pattern: str = "*") -> dict:
|
|
191
191
|
Performs a regular expression search across files in a specified directory, providing rich contextual results.
|
192
192
|
|
193
193
|
Parameters:
|
194
|
-
path (str): The directory path to search. This directory will be recursively searched.
|
194
|
+
path (str): The directory path to search, which can be a relative path. This directory will be recursively searched.
|
195
195
|
regex (str): The regular expression pattern to search. Use Rust regex syntax.
|
196
196
|
file_pattern (str, optional): A Glob pattern to filter files (e.g., "*.ts" for TypeScript files). If not provided, searches all files ("*").
|
197
197
|
|
@@ -223,7 +223,7 @@ def list_files(path: str, recursive: bool = False) -> list:
|
|
223
223
|
Lists files and directories in a specified directory.
|
224
224
|
|
225
225
|
Parameters:
|
226
|
-
path (str): The directory path to list contents.
|
226
|
+
path (str): The directory path to list contents, which can be a relative path.
|
227
227
|
recursive (bool, optional): Whether to list files recursively. Use `true` for recursive listing, `false` or omit for listing top-level contents only.
|
228
228
|
|
229
229
|
Returns:
|
@@ -15,7 +15,7 @@ pycoze/bot/chat.py,sha256=qEuMxH0cVFU9QSU36FrOsjhRAxtsvOv7CQtuXvM3F6Y,6446
|
|
15
15
|
pycoze/bot/chat_base.py,sha256=u2TDvXwtxcboXq8zixck1A6HHgQ1kDEMXFMON--fBLM,10314
|
16
16
|
pycoze/bot/lib.py,sha256=_bQ52mKsWgFGAogFHnmRBJbvK_tPOwsAJ8NqJNMR5K4,7210
|
17
17
|
pycoze/bot/message.py,sha256=udnIi-h4QgGzkbr_5VcAsVGjoLp9wXJSfBCeuOz7_Bk,802
|
18
|
-
pycoze/bot/prompt.md,sha256=
|
18
|
+
pycoze/bot/prompt.md,sha256=t7NQdiiNe-jCDVfeVbvTPfq5WK5nF8CxFUQUFMyXJlo,13880
|
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.
|
36
|
-
pycoze-0.1.
|
37
|
-
pycoze-0.1.
|
38
|
-
pycoze-0.1.
|
39
|
-
pycoze-0.1.
|
35
|
+
pycoze-0.1.401.dist-info/LICENSE,sha256=QStd_Qsd0-kAam_-sOesCIp_uKrGWeoKwt9M49NVkNU,1090
|
36
|
+
pycoze-0.1.401.dist-info/METADATA,sha256=kgswMzXYsNrr-4w2DPPEq0WmQUVU2-0HPi4famlcvjM,854
|
37
|
+
pycoze-0.1.401.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
38
|
+
pycoze-0.1.401.dist-info/top_level.txt,sha256=76dPeDhKvOCleL3ZC5gl1-y4vdS1tT_U1hxWVAn7sFo,7
|
39
|
+
pycoze-0.1.401.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|