tinyagent-py 0.0.13__py3-none-any.whl → 0.0.16__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tinyagent-py
3
- Version: 0.0.13
3
+ Version: 0.0.16
4
4
  Summary: TinyAgent with MCP Client, Code Agent (Thinking, Planning, and Executing in Python), and Extendable Hooks, Tiny but powerful
5
5
  Author-email: Mahdi Golchin <golchin@askdev.ai>
6
6
  Project-URL: Homepage, https://github.com/askbudi/tinyagent
@@ -274,6 +274,30 @@ agent = TinyCodeAgent(
274
274
  )
275
275
  ```
276
276
 
277
+ ### Automatic Git Checkpoints
278
+
279
+ TinyCodeAgent can automatically create Git checkpoints after each successful shell command execution. This helps track changes made by the agent and provides a safety net for reverting changes if needed.
280
+
281
+ ```python
282
+ # Enable automatic Git checkpoints during initialization
283
+ agent = TinyCodeAgent(
284
+ model="gpt-4.1-mini",
285
+ auto_git_checkpoint=True # Enable automatic Git checkpoints
286
+ )
287
+
288
+ # Or enable/disable it later
289
+ agent.enable_auto_git_checkpoint(True) # Enable
290
+ agent.enable_auto_git_checkpoint(False) # Disable
291
+
292
+ # Check current status
293
+ is_enabled = agent.get_auto_git_checkpoint_status()
294
+ ```
295
+
296
+ Each checkpoint includes:
297
+ - Descriptive commit message with the command description
298
+ - Timestamp of when the command was executed
299
+ - The actual command that was run
300
+
277
301
  For detailed documentation, see the [TinyCodeAgent README](tinyagent/code_agent/README.md).
278
302
 
279
303
  ## How the TinyAgent Hook System Works
@@ -0,0 +1,38 @@
1
+ tinyagent/__init__.py,sha256=-3ZN8unMZDrA366BET1HKp-fnFCyXCAD1fPVbHkJSsY,172
2
+ tinyagent/mcp_client.py,sha256=9dmLtJ8CTwKWKTH6K9z8CaCQuaicOH9ifAuNyX7Kdo0,6030
3
+ tinyagent/memory_manager.py,sha256=tAaZZdxBJ235wJIyr04n3f2Damok4s2UXunTtur_p-4,44916
4
+ tinyagent/tiny_agent.py,sha256=wa2Fpokn2nupD25E7Xew2_QbgvvkHy7dHvRkyA4WlzE,79009
5
+ tinyagent/code_agent/__init__.py,sha256=YSOblSwRS1QcAYUu--GvF4fKeQX1KRTj9P8CWySY3pY,327
6
+ tinyagent/code_agent/example.py,sha256=qC6i3auUT1YwXS9WK1Ovq-9oDOUgzRxDegYdlVcVcfA,5861
7
+ tinyagent/code_agent/helper.py,sha256=Z_89CtEiyURW_zFwlbsAk_DApNlCycVsScpWcygk5l0,7217
8
+ tinyagent/code_agent/modal_sandbox.py,sha256=4HLcbf53eQm7oGidOTNFd12DL4FsGPue7tj8mHndll4,16398
9
+ tinyagent/code_agent/safety.py,sha256=RF93d6oYiVjdm5nU5jKbnRVtnPmC93AOy8Hg1LrBGtA,22494
10
+ tinyagent/code_agent/tiny_code_agent.py,sha256=HrH1ooOfTDrWx2cVgPIEHw-2g9cdc0OQQnqNN_ZcBpk,71797
11
+ tinyagent/code_agent/utils.py,sha256=0svM0gqbSDCtudOvnSSJ5mgSDCHByzeVNzVrokomd88,17905
12
+ tinyagent/code_agent/providers/__init__.py,sha256=Q3h5LEnMbceOYOg25e2AFZzPfbGXXIfp9-HnbvpVxjs,612
13
+ tinyagent/code_agent/providers/base.py,sha256=_Eq64ppgteqVhhrPbadsS13XfAwDspu81neWbEkpQyA,16300
14
+ tinyagent/code_agent/providers/modal_provider.py,sha256=53p7Ey6Bc9E7sh1MV8M0P2JnvGAQot9yUDFxnxHCrtM,16318
15
+ tinyagent/code_agent/providers/seatbelt_provider.py,sha256=3KJh4nt1Zxz0-wRRSx3Ixlhx00mkxugH6Mk_ykeQnd8,42765
16
+ tinyagent/code_agent/tools/__init__.py,sha256=0XtrgYBgBayOffW50KyrlmrXXs9iu6z1DHu7-D8WGqY,94
17
+ tinyagent/code_agent/tools/example_tools.py,sha256=YbXb7PKuvvxh-LV12Y4n_Ez3RyLA95gWOcZrKsa7UHg,1203
18
+ tinyagent/hooks/__init__.py,sha256=dva7ZeghQ7BorIcYCI1rpg0MiN61O90CPy1Uc-aWamk,383
19
+ tinyagent/hooks/gradio_callback.py,sha256=78x2x9AbYoLV-qwCxn2sH4s39DLlhNCzL7qCkVR-vy4,56911
20
+ tinyagent/hooks/jupyter_notebook_callback.py,sha256=XjzX0EJXLbGYYZVqeqnWnVZ4KRj_uX5cUQ6oBsmCcus,65787
21
+ tinyagent/hooks/logging_manager.py,sha256=UpdmpQ7HRPyer-jrmQSXcBwi409tV9LnGvXSHjTcYTI,7935
22
+ tinyagent/hooks/rich_code_ui_callback.py,sha256=PLcu5MOSoP4oZR3BtvcV9DquxcIT_d0WzSlkvaDcGOk,19820
23
+ tinyagent/hooks/rich_ui_callback.py,sha256=5iCNOiJmhc1lOL7ZjaOt5Sk3rompko4zu_pAxfTVgJQ,22897
24
+ tinyagent/hooks/token_tracker.py,sha256=t5BfDE1fFrDYzIAnaxLxSyCAmWlsHeEIjZSkrxbTcWI,23133
25
+ tinyagent/prompts/code_agent.yaml,sha256=xkHhR75t6N_O0VbOpXWLVjg37XHNvfOIDCmfEeUBgU4,16516
26
+ tinyagent/prompts/summarize.yaml,sha256=-Omdjq0hDjwJPKLE75UlU2Pbgmr7qV14XKtkaQNNhgA,6344
27
+ tinyagent/prompts/truncation.yaml,sha256=NdxfLIKvsOsyoD4Ju-YnMaRRbpvuZpmnkgO3lPFzwUU,609
28
+ tinyagent/storage/__init__.py,sha256=7qwfdD4smCl891xaRuiReSUgfOJFy7jJZsN0ul1iQdY,173
29
+ tinyagent/storage/base.py,sha256=GGAMvOoslmm1INLFG_jtwOkRk2Qg39QXx-1LnN7fxDI,1474
30
+ tinyagent/storage/json_file_storage.py,sha256=SYD8lvTHu2-FEHm1tZmsrcgEOirBrlUsUM186X-UPgI,1114
31
+ tinyagent/storage/postgres_storage.py,sha256=IGwan8UXHNnTZFK1F8x4kvMDex3GAAGWUg9ePx_5IF4,9018
32
+ tinyagent/storage/redis_storage.py,sha256=hu3y7wHi49HkpiR-AW7cWVQuTVOUk1WaB8TEPGUKVJ8,1742
33
+ tinyagent/storage/sqlite_storage.py,sha256=ZyOYe0d_oHO1wOIT8FxKIbc67tP_0e_8FnM2Zq8Pwj8,5915
34
+ tinyagent_py-0.0.16.dist-info/licenses/LICENSE,sha256=YIogcVQnknaaE4K-oaQylFWo8JGRBWnwmGb3fWB_Pww,1064
35
+ tinyagent_py-0.0.16.dist-info/METADATA,sha256=RYllyTeLGQB7XLSKwBCewPWxDQB-J7f9VKHuVmh6Yug,14642
36
+ tinyagent_py-0.0.16.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
37
+ tinyagent_py-0.0.16.dist-info/top_level.txt,sha256=Ny8aJNchZpc2Vvhp3306L5vjceJakvFxBk-UjjVeA_I,10
38
+ tinyagent_py-0.0.16.dist-info/RECORD,,
@@ -1,33 +0,0 @@
1
- tinyagent/__init__.py,sha256=-3ZN8unMZDrA366BET1HKp-fnFCyXCAD1fPVbHkJSsY,172
2
- tinyagent/mcp_client.py,sha256=9dmLtJ8CTwKWKTH6K9z8CaCQuaicOH9ifAuNyX7Kdo0,6030
3
- tinyagent/memory_manager.py,sha256=tAaZZdxBJ235wJIyr04n3f2Damok4s2UXunTtur_p-4,44916
4
- tinyagent/tiny_agent.py,sha256=X-rh8gCxeVSNS4RJ9vdtqTKf8ksDGrXsV1jwprW6Fj8,41049
5
- tinyagent/code_agent/__init__.py,sha256=YSOblSwRS1QcAYUu--GvF4fKeQX1KRTj9P8CWySY3pY,327
6
- tinyagent/code_agent/example.py,sha256=qC6i3auUT1YwXS9WK1Ovq-9oDOUgzRxDegYdlVcVcfA,5861
7
- tinyagent/code_agent/helper.py,sha256=oZnpo-_H3cB12LxNN7Ztd-31EiUcuI2UpWP69xuF8oE,7205
8
- tinyagent/code_agent/modal_sandbox.py,sha256=RcQ5a-UFyqV7xSHnttpgAQQ-mNWk-9Z0tb836ua7C0E,16381
9
- tinyagent/code_agent/safety.py,sha256=WHad2ypzfsdKnXG6FcgXcgGiMC-H4KTmOzhP9S9i3Zw,22209
10
- tinyagent/code_agent/tiny_code_agent.py,sha256=UrNjmJSrDC493bXGARrt0tDd1Bn56FgNlxuQSu4J614,28194
11
- tinyagent/code_agent/utils.py,sha256=FxHnpb06S2o2-xPRHgf9zAnzbXvGWs5QApNI4DEH__U,7870
12
- tinyagent/code_agent/providers/__init__.py,sha256=myfy9qsBDjNOhcgXJ2E9jO1q5eo6jHp43I2k0k8esLY,136
13
- tinyagent/code_agent/providers/base.py,sha256=LfmahpulNbnivn5m91GTAo6ityjidq05dC3qx9EtJ80,8203
14
- tinyagent/code_agent/providers/modal_provider.py,sha256=R0qt8XlTMFMbznMHN32pQxupDE9KR18NpQ3l1wJJP0w,10799
15
- tinyagent/code_agent/tools/__init__.py,sha256=0XtrgYBgBayOffW50KyrlmrXXs9iu6z1DHu7-D8WGqY,94
16
- tinyagent/code_agent/tools/example_tools.py,sha256=YbXb7PKuvvxh-LV12Y4n_Ez3RyLA95gWOcZrKsa7UHg,1203
17
- tinyagent/hooks/__init__.py,sha256=RZow2r0XHLJ3-tnmecScdc0_wrEdmOy5dtXqoiRME5Y,254
18
- tinyagent/hooks/gradio_callback.py,sha256=78x2x9AbYoLV-qwCxn2sH4s39DLlhNCzL7qCkVR-vy4,56911
19
- tinyagent/hooks/logging_manager.py,sha256=UpdmpQ7HRPyer-jrmQSXcBwi409tV9LnGvXSHjTcYTI,7935
20
- tinyagent/hooks/rich_code_ui_callback.py,sha256=PLcu5MOSoP4oZR3BtvcV9DquxcIT_d0WzSlkvaDcGOk,19820
21
- tinyagent/hooks/rich_ui_callback.py,sha256=5iCNOiJmhc1lOL7ZjaOt5Sk3rompko4zu_pAxfTVgJQ,22897
22
- tinyagent/prompts/code_agent.yaml,sha256=xkHhR75t6N_O0VbOpXWLVjg37XHNvfOIDCmfEeUBgU4,16516
23
- tinyagent/storage/__init__.py,sha256=7qwfdD4smCl891xaRuiReSUgfOJFy7jJZsN0ul1iQdY,173
24
- tinyagent/storage/base.py,sha256=GGAMvOoslmm1INLFG_jtwOkRk2Qg39QXx-1LnN7fxDI,1474
25
- tinyagent/storage/json_file_storage.py,sha256=SYD8lvTHu2-FEHm1tZmsrcgEOirBrlUsUM186X-UPgI,1114
26
- tinyagent/storage/postgres_storage.py,sha256=IGwan8UXHNnTZFK1F8x4kvMDex3GAAGWUg9ePx_5IF4,9018
27
- tinyagent/storage/redis_storage.py,sha256=hu3y7wHi49HkpiR-AW7cWVQuTVOUk1WaB8TEPGUKVJ8,1742
28
- tinyagent/storage/sqlite_storage.py,sha256=ZyOYe0d_oHO1wOIT8FxKIbc67tP_0e_8FnM2Zq8Pwj8,5915
29
- tinyagent_py-0.0.13.dist-info/licenses/LICENSE,sha256=YIogcVQnknaaE4K-oaQylFWo8JGRBWnwmGb3fWB_Pww,1064
30
- tinyagent_py-0.0.13.dist-info/METADATA,sha256=qr6akWcOHEZNUtQ34H_XalRWtJD-mK6WLiwmlcTH_N0,13848
31
- tinyagent_py-0.0.13.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
32
- tinyagent_py-0.0.13.dist-info/top_level.txt,sha256=Ny8aJNchZpc2Vvhp3306L5vjceJakvFxBk-UjjVeA_I,10
33
- tinyagent_py-0.0.13.dist-info/RECORD,,