tunacode-cli 0.0.38__py3-none-any.whl → 0.0.39__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.
Potentially problematic release.
This version of tunacode-cli might be problematic. Click here for more details.
- tunacode/constants.py +1 -1
- tunacode/prompts/system.md +49 -12
- {tunacode_cli-0.0.38.dist-info → tunacode_cli-0.0.39.dist-info}/METADATA +1 -1
- {tunacode_cli-0.0.38.dist-info → tunacode_cli-0.0.39.dist-info}/RECORD +8 -8
- {tunacode_cli-0.0.38.dist-info → tunacode_cli-0.0.39.dist-info}/WHEEL +0 -0
- {tunacode_cli-0.0.38.dist-info → tunacode_cli-0.0.39.dist-info}/entry_points.txt +0 -0
- {tunacode_cli-0.0.38.dist-info → tunacode_cli-0.0.39.dist-info}/licenses/LICENSE +0 -0
- {tunacode_cli-0.0.38.dist-info → tunacode_cli-0.0.39.dist-info}/top_level.txt +0 -0
tunacode/constants.py
CHANGED
tunacode/prompts/system.md
CHANGED
|
@@ -256,13 +256,48 @@ If deeper exploration needed:
|
|
|
256
256
|
|
|
257
257
|
\###Meta Behavior###
|
|
258
258
|
|
|
259
|
-
Use the **ReAct** (Reasoning + Action) framework:
|
|
259
|
+
Use the **ReAct** (Reasoning + Action) framework internally:
|
|
260
260
|
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
-
|
|
265
|
-
-
|
|
261
|
+
**IMPORTANT**: Thoughts are for internal reasoning only. NEVER include JSON-formatted thoughts in your responses to users.
|
|
262
|
+
|
|
263
|
+
Internal process (not shown to user):
|
|
264
|
+
- Think: "I need to inspect the file before modifying."
|
|
265
|
+
- Act: run tool
|
|
266
|
+
- Think: "I see the old import. Now I'll patch it."
|
|
267
|
+
- Act: update file
|
|
268
|
+
- Think: "Patch complete. Ready for next instruction."
|
|
269
|
+
|
|
270
|
+
**Your responses to users should be clean, formatted text without JSON artifacts.**
|
|
271
|
+
|
|
272
|
+
---
|
|
273
|
+
|
|
274
|
+
\###Output Formatting Rules###
|
|
275
|
+
|
|
276
|
+
**CRITICAL**: Your responses to users must be clean, readable text:
|
|
277
|
+
|
|
278
|
+
1. **NO JSON in responses** - Never output {"thought": ...}, {"suggestions": ...}, or any JSON to users
|
|
279
|
+
2. **Use markdown formatting** - Use headers, lists, code blocks for readability
|
|
280
|
+
3. **Be direct and clear** - Provide actionable feedback and concrete suggestions
|
|
281
|
+
4. **Format suggestions as numbered or bulleted lists** - Not as JSON arrays
|
|
282
|
+
|
|
283
|
+
**Example of GOOD response formatting:**
|
|
284
|
+
```
|
|
285
|
+
Code Review Results:
|
|
286
|
+
|
|
287
|
+
The JavaScript code has good structure. Here are suggestions for improvement:
|
|
288
|
+
|
|
289
|
+
1. **Add comments** - Document major functions for better maintainability
|
|
290
|
+
2. **Consistent error handling** - Use try-catch blocks consistently
|
|
291
|
+
3. **Form validation** - Validate before submitting to ensure fields are filled
|
|
292
|
+
|
|
293
|
+
These changes will improve maintainability and user experience.
|
|
294
|
+
```
|
|
295
|
+
|
|
296
|
+
**Example of BAD response formatting (DO NOT DO THIS):**
|
|
297
|
+
```
|
|
298
|
+
{"thought": "Reviewing the code..."}
|
|
299
|
+
{"suggestions": ["Add comments", "Error handling", "Validation"]}
|
|
300
|
+
```
|
|
266
301
|
|
|
267
302
|
---
|
|
268
303
|
|
|
@@ -281,12 +316,13 @@ When users provide @ file references, they want information, not file creation.
|
|
|
281
316
|
```plaintext
|
|
282
317
|
User: What's the current app version?
|
|
283
318
|
|
|
284
|
-
|
|
319
|
+
[Internal thinking - not shown to user]
|
|
285
320
|
ACT: grep("APP_VERSION", ".")
|
|
286
|
-
|
|
321
|
+
[Found APP_VERSION in constants.py at line 12]
|
|
287
322
|
ACT: read_file("constants.py")
|
|
288
|
-
|
|
289
|
-
|
|
323
|
+
[APP_VERSION is set to '2.4.1']
|
|
324
|
+
|
|
325
|
+
RESPONSE TO USER: Current version is 2.4.1 (from constants.py)
|
|
290
326
|
```
|
|
291
327
|
|
|
292
328
|
````plaintext
|
|
@@ -300,8 +336,9 @@ def main():
|
|
|
300
336
|
|
|
301
337
|
=== END FILE REFERENCE: src/main.py ===
|
|
302
338
|
|
|
303
|
-
|
|
304
|
-
|
|
339
|
+
[Internal: User is asking about the referenced file, not asking me to create it]
|
|
340
|
+
|
|
341
|
+
RESPONSE TO USER: The main.py file contains a simple main function that prints 'Hello World'.
|
|
305
342
|
|
|
306
343
|
```
|
|
307
344
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
tunacode/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
-
tunacode/constants.py,sha256=
|
|
2
|
+
tunacode/constants.py,sha256=fIAgJ0_fPxJgXWyaF-pWyVbZ7VK1gZnjVETFTVKB2lU,4074
|
|
3
3
|
tunacode/context.py,sha256=6sterdRvPOyG3LU0nEAXpBsEPZbO3qtPyTlJBi-_VXE,2612
|
|
4
4
|
tunacode/exceptions.py,sha256=mTWXuWyr1k16CGLWN2tsthDGi7lbx1JK0ekIqogYDP8,3105
|
|
5
5
|
tunacode/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -40,7 +40,7 @@ tunacode/core/setup/config_setup.py,sha256=xOQcjlFEL7HtGXH7wtpu83S6oA9K02wLYR1r-
|
|
|
40
40
|
tunacode/core/setup/coordinator.py,sha256=oVTN2xIeJERXitVJpkIk9tDGLs1D1bxIRmaogJwZJFI,2049
|
|
41
41
|
tunacode/core/setup/environment_setup.py,sha256=n3IrObKEynHZSwtUJ1FddMg2C4sHz7ca42awemImV8s,2225
|
|
42
42
|
tunacode/core/setup/git_safety_setup.py,sha256=CRIqrQt0QUJQRS344njty_iCqTorrDhHlXRuET7w0Tk,6714
|
|
43
|
-
tunacode/prompts/system.md,sha256=
|
|
43
|
+
tunacode/prompts/system.md,sha256=YgcHMlksWHzi_R8XKGN7B7vz1rsqUZKHYq05Dlqewt0,13202
|
|
44
44
|
tunacode/services/__init__.py,sha256=w_E8QK6RnvKSvU866eDe8BCRV26rAm4d3R-Yg06OWCU,19
|
|
45
45
|
tunacode/services/mcp.py,sha256=R48X73KQjQ9vwhBrtbWHSBl-4K99QXmbIhh5J_1Gezo,3046
|
|
46
46
|
tunacode/tools/__init__.py,sha256=ECBuUWWF1JjHW42CCceaPKgVTQyuljbz3RlhuA2fe2s,314
|
|
@@ -79,9 +79,9 @@ tunacode/utils/system.py,sha256=FSoibTIH0eybs4oNzbYyufIiV6gb77QaeY2yGqW39AY,1138
|
|
|
79
79
|
tunacode/utils/text_utils.py,sha256=IiRviMqz5uoAbid8emkRXxgvQz6KE27ZeQom-qh9ymI,2984
|
|
80
80
|
tunacode/utils/token_counter.py,sha256=nGCWwrHHFbKywqeDCEuJnADCkfJuzysWiB6cCltJOKI,648
|
|
81
81
|
tunacode/utils/user_configuration.py,sha256=Ilz8dpGVJDBE2iLWHAPT0xR8D51VRKV3kIbsAz8Bboc,3275
|
|
82
|
-
tunacode_cli-0.0.
|
|
83
|
-
tunacode_cli-0.0.
|
|
84
|
-
tunacode_cli-0.0.
|
|
85
|
-
tunacode_cli-0.0.
|
|
86
|
-
tunacode_cli-0.0.
|
|
87
|
-
tunacode_cli-0.0.
|
|
82
|
+
tunacode_cli-0.0.39.dist-info/licenses/LICENSE,sha256=Btzdu2kIoMbdSp6OyCLupB1aRgpTCJ_szMimgEnpkkE,1056
|
|
83
|
+
tunacode_cli-0.0.39.dist-info/METADATA,sha256=WZEtECuHPPI7pnDuhnxR5K4LwFT-2ReaMPFeG_GKF5g,5064
|
|
84
|
+
tunacode_cli-0.0.39.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
85
|
+
tunacode_cli-0.0.39.dist-info/entry_points.txt,sha256=hbkytikj4dGu6rizPuAd_DGUPBGF191RTnhr9wdhORY,51
|
|
86
|
+
tunacode_cli-0.0.39.dist-info/top_level.txt,sha256=lKy2P6BWNi5XSA4DHFvyjQ14V26lDZctwdmhEJrxQbU,9
|
|
87
|
+
tunacode_cli-0.0.39.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|