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 CHANGED
@@ -7,7 +7,7 @@ Centralizes all magic strings, UI text, error messages, and application constant
7
7
 
8
8
  # Application info
9
9
  APP_NAME = "TunaCode"
10
- APP_VERSION = "0.0.38"
10
+ APP_VERSION = "0.0.39"
11
11
 
12
12
  # File patterns
13
13
  GUIDE_FILE_PATTERN = "{name}.md"
@@ -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
- - {"thought": "I need to inspect the file before modifying."}
262
- - → run tool
263
- - {"thought": "I see the old import. Now I'll patch it."}
264
- - update file
265
- - {"thought": "Patch complete. Ready for next instruction."}
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
- THINK: {"thought": "I should search for APP_VERSION. I'll use grep for parallel capability."}
319
+ [Internal thinking - not shown to user]
285
320
  ACT: grep("APP_VERSION", ".")
286
- OBSERVE: {"thought": "Found APP_VERSION in constants.py at line 12."}
321
+ [Found APP_VERSION in constants.py at line 12]
287
322
  ACT: read_file("constants.py")
288
- OBSERVE: {"thought": "APP_VERSION is set to '2.4.1'. This is the current version."}
289
- RESPONSE: "Current version is 2.4.1 (from constants.py)"
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
- THINK: {"thought": "User is asking about the referenced file, not asking me to create it."}
304
- RESPONSE: "The main.py file contains a simple main function that prints 'Hello World'."
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,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tunacode-cli
3
- Version: 0.0.38
3
+ Version: 0.0.39
4
4
  Summary: Your agentic CLI developer.
5
5
  Author-email: larock22 <noreply@github.com>
6
6
  License-Expression: MIT
@@ -1,5 +1,5 @@
1
1
  tunacode/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- tunacode/constants.py,sha256=jeHuCL2EDeSD4sheoW_Sxx50SyuojIo_1RrhqelGIWo,4074
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=qnTXKEVsQY7o54B2kFNsdkbbCHhxdqVXytUQbhKy7PM,12027
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.38.dist-info/licenses/LICENSE,sha256=Btzdu2kIoMbdSp6OyCLupB1aRgpTCJ_szMimgEnpkkE,1056
83
- tunacode_cli-0.0.38.dist-info/METADATA,sha256=ZZQZxF20NxdGVHTGu5q0KV1vniDyg9QmPSD4vKfRVlI,5064
84
- tunacode_cli-0.0.38.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
85
- tunacode_cli-0.0.38.dist-info/entry_points.txt,sha256=hbkytikj4dGu6rizPuAd_DGUPBGF191RTnhr9wdhORY,51
86
- tunacode_cli-0.0.38.dist-info/top_level.txt,sha256=lKy2P6BWNi5XSA4DHFvyjQ14V26lDZctwdmhEJrxQbU,9
87
- tunacode_cli-0.0.38.dist-info/RECORD,,
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,,