code-puppy 0.0.85__py3-none-any.whl → 0.0.86__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.
- code_puppy/message_history_processor.py +1 -1
- code_puppy/tools/command_runner.py +2 -2
- {code_puppy-0.0.85.dist-info → code_puppy-0.0.86.dist-info}/METADATA +1 -1
- {code_puppy-0.0.85.dist-info → code_puppy-0.0.86.dist-info}/RECORD +8 -8
- {code_puppy-0.0.85.data → code_puppy-0.0.86.data}/data/code_puppy/models.json +0 -0
- {code_puppy-0.0.85.dist-info → code_puppy-0.0.86.dist-info}/WHEEL +0 -0
- {code_puppy-0.0.85.dist-info → code_puppy-0.0.86.dist-info}/entry_points.txt +0 -0
- {code_puppy-0.0.85.dist-info → code_puppy-0.0.86.dist-info}/licenses/LICENSE +0 -0
| @@ -247,7 +247,7 @@ def message_history_processor(messages: List[ModelMessage]) -> List[ModelMessage | |
| 247 247 |  | 
| 248 248 | 
             
                proportion_used = total_current_tokens / model_max
         | 
| 249 249 | 
             
                console.print(f"""
         | 
| 250 | 
            -
            [bold white on blue] Tokens in context: {total_current_tokens}, total model capacity: {model_max}, proportion used: {proportion_used}
         | 
| 250 | 
            +
            [bold white on blue] Tokens in context: {total_current_tokens}, total model capacity: {model_max}, proportion used: {proportion_used:.2f}
         | 
| 251 251 | 
             
            """)
         | 
| 252 252 |  | 
| 253 253 | 
             
                if proportion_used > 0.9:
         | 
| @@ -145,7 +145,7 @@ def run_shell_command_streaming( | |
| 145 145 | 
             
                            if line:
         | 
| 146 146 | 
             
                                line = line.rstrip("\n\r")
         | 
| 147 147 | 
             
                                stdout_lines.append(line)
         | 
| 148 | 
            -
                                console. | 
| 148 | 
            +
                                console.print(line)
         | 
| 149 149 | 
             
                                last_output_time[0] = time.time()
         | 
| 150 150 | 
             
                    except Exception:
         | 
| 151 151 | 
             
                        pass
         | 
| @@ -156,7 +156,7 @@ def run_shell_command_streaming( | |
| 156 156 | 
             
                            if line:
         | 
| 157 157 | 
             
                                line = line.rstrip("\n\r")
         | 
| 158 158 | 
             
                                stderr_lines.append(line)
         | 
| 159 | 
            -
                                console. | 
| 159 | 
            +
                                console.print(line)
         | 
| 160 160 | 
             
                                last_output_time[0] = time.time()
         | 
| 161 161 | 
             
                    except Exception:
         | 
| 162 162 | 
             
                        pass
         | 
| @@ -3,7 +3,7 @@ code_puppy/agent.py,sha256=7_1FpGPnw8U632OXP0hLmFIozfVvllF491q8gCpaa8c,3284 | |
| 3 3 | 
             
            code_puppy/agent_prompts.py,sha256=wTah_TvakCMhkb_KwuWCsw4_UR1QsjTZeOT1I8at_nc,6593
         | 
| 4 4 | 
             
            code_puppy/config.py,sha256=r5nw5ChOP8xd_K5yo8U5OtO2gy2bFhARiyNtDp1JrwQ,5013
         | 
| 5 5 | 
             
            code_puppy/main.py,sha256=qtBokZZfPQRGF91KNl_n_ywutONwF2f-zTwmt_ROsEU,11080
         | 
| 6 | 
            -
            code_puppy/message_history_processor.py,sha256= | 
| 6 | 
            +
            code_puppy/message_history_processor.py,sha256=jpoxGE6emBX3MAkeeezPZ4QEOzONRhbN6mZe_efG9vI,9248
         | 
| 7 7 | 
             
            code_puppy/model_factory.py,sha256=HXuFHNkVjkCcorAd3ScFmSvBILO932UTq6OmNAqisT8,10898
         | 
| 8 8 | 
             
            code_puppy/models.json,sha256=jr0-LW87aJS79GosVwoZdHeeq5eflPzgdPoMbcqpVA8,2728
         | 
| 9 9 | 
             
            code_puppy/state_management.py,sha256=JkTkmq6f9rl_RHPDoBqJvbAzgaMsIkJf-k38ragItIo,1692
         | 
| @@ -17,14 +17,14 @@ code_puppy/command_line/motd.py,sha256=FoZsiVpXGF8WpAmEJX4O895W7MDuzCtNWvFAOShxU | |
| 17 17 | 
             
            code_puppy/command_line/prompt_toolkit_completion.py,sha256=_gP0FIOgHDNHTTWLNL0XNzr6sO0ISe7Mec1uQNo9kcM,8337
         | 
| 18 18 | 
             
            code_puppy/command_line/utils.py,sha256=7eyxDHjPjPB9wGDJQQcXV_zOsGdYsFgI0SGCetVmTqE,1251
         | 
| 19 19 | 
             
            code_puppy/tools/__init__.py,sha256=WTHYIfRk2KMmk6o45TELpbB3GIiAm8s7GmfJ7Zy_tww,503
         | 
| 20 | 
            -
            code_puppy/tools/command_runner.py,sha256= | 
| 20 | 
            +
            code_puppy/tools/command_runner.py,sha256=9UWCSPpuEndaPx8Ecc8TRsn3rMHNd2AqerirvYPGRIw,14358
         | 
| 21 21 | 
             
            code_puppy/tools/common.py,sha256=M53zhiXZAmPdvi1Y_bzCxgvEmifOvRRJvYPARYRZqHw,2253
         | 
| 22 22 | 
             
            code_puppy/tools/file_modifications.py,sha256=BzQrGEacS2NZr2ru9N30x_Qd70JDudBKOAPO1XjBohg,13861
         | 
| 23 23 | 
             
            code_puppy/tools/file_operations.py,sha256=ypk4yL90LDSVRr0xyWafttzt956J_nXhhenCXhOOit8,11326
         | 
| 24 24 | 
             
            code_puppy/tools/ts_code_map.py,sha256=o-u8p5vsYwitfDtVEoPS-7MwWn2xHzwtIQLo1_WMhQs,17647
         | 
| 25 | 
            -
            code_puppy-0.0. | 
| 26 | 
            -
            code_puppy-0.0. | 
| 27 | 
            -
            code_puppy-0.0. | 
| 28 | 
            -
            code_puppy-0.0. | 
| 29 | 
            -
            code_puppy-0.0. | 
| 30 | 
            -
            code_puppy-0.0. | 
| 25 | 
            +
            code_puppy-0.0.86.data/data/code_puppy/models.json,sha256=jr0-LW87aJS79GosVwoZdHeeq5eflPzgdPoMbcqpVA8,2728
         | 
| 26 | 
            +
            code_puppy-0.0.86.dist-info/METADATA,sha256=MhZ1w27mLtvfIsjEztFH9BuAGabfD_uCS4ZQQnDVSwg,6351
         | 
| 27 | 
            +
            code_puppy-0.0.86.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
         | 
| 28 | 
            +
            code_puppy-0.0.86.dist-info/entry_points.txt,sha256=d8YkBvIUxF-dHNJAj-x4fPEqizbY5d_TwvYpc01U5kw,58
         | 
| 29 | 
            +
            code_puppy-0.0.86.dist-info/licenses/LICENSE,sha256=31u8x0SPgdOq3izJX41kgFazWsM43zPEF9eskzqbJMY,1075
         | 
| 30 | 
            +
            code_puppy-0.0.86.dist-info/RECORD,,
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         |