deepagents 0.1.3__py3-none-any.whl → 0.1.4__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.
@@ -207,6 +207,8 @@ def _create_file_data(
207
207
  ```
208
208
  """
209
209
  lines = content.split("\n") if isinstance(content, str) else content
210
+ # Split any lines exceeding MAX_LINE_LENGTH into chunks
211
+ lines = [line[i:i+MAX_LINE_LENGTH] for line in lines for i in range(0, len(line) or 1, MAX_LINE_LENGTH)]
210
212
  now = datetime.now(UTC).isoformat()
211
213
 
212
214
  return {
@@ -239,6 +241,8 @@ def _update_file_data(
239
241
  ```
240
242
  """
241
243
  lines = content.split("\n") if isinstance(content, str) else content
244
+ # Split any lines exceeding MAX_LINE_LENGTH into chunks
245
+ lines = [line[i:i+MAX_LINE_LENGTH] for line in lines for i in range(0, len(line) or 1, MAX_LINE_LENGTH)]
242
246
  now = datetime.now(UTC).isoformat()
243
247
 
244
248
  return {
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: deepagents
3
- Version: 0.1.3
3
+ Version: 0.1.4
4
4
  Summary: General purpose 'deep agent' with sub-agent spawning, todo list capabilities, and mock file system. Built on LangGraph.
5
5
  License: MIT
6
6
  Requires-Python: <4.0,>=3.11
@@ -1,11 +1,11 @@
1
1
  deepagents/__init__.py,sha256=9BVNn4lfF5N8l2KY8Ttxi82zO609I-fGqoSIF7DAxiU,342
2
2
  deepagents/graph.py,sha256=biCHO7RbtOVkHh2q4u4yP4lv5QkBb6rAPKAg2mJRFwU,6010
3
3
  deepagents/middleware/__init__.py,sha256=J7372TNGR27OU4C3uuQMryHHpXOBjFV_4aEZ_AoQ6n0,284
4
- deepagents/middleware/filesystem.py,sha256=XT8otjSpSxJ_iwGu9JN20SGQciYzVk9KuCDxPmAJmkk,44146
4
+ deepagents/middleware/filesystem.py,sha256=jETA-Z1ZvSAAyhN8LshucEQl5mvGiltKoQSkCIfLoLQ,44484
5
5
  deepagents/middleware/patch_tool_calls.py,sha256=Cu8rUpt1GjrYgfMvZG6wOowvnmFeYTCauOJhlltNPmo,2045
6
6
  deepagents/middleware/subagents.py,sha256=NH7QEShEPAosc3HLbSFwlgtlZv3SZpkPEAqHRbuqE_c,23538
7
- deepagents-0.1.3.dist-info/licenses/LICENSE,sha256=c__BaxUCK69leo2yEKynf8lWndu8iwYwge1CbyqAe-E,1071
8
- deepagents-0.1.3.dist-info/METADATA,sha256=RF4c09O3Qhetgql2LR7GAn6SCcC6WGgek9PoGjwHkDs,19093
9
- deepagents-0.1.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
10
- deepagents-0.1.3.dist-info/top_level.txt,sha256=drAzchOzPNePwpb3_pbPuvLuayXkN7SNqeIKMBWJoAo,11
11
- deepagents-0.1.3.dist-info/RECORD,,
7
+ deepagents-0.1.4.dist-info/licenses/LICENSE,sha256=c__BaxUCK69leo2yEKynf8lWndu8iwYwge1CbyqAe-E,1071
8
+ deepagents-0.1.4.dist-info/METADATA,sha256=XxJ_T-2NT6MnnSisL1S356_Qnbcjehi5d_f9P0wqJQ0,19093
9
+ deepagents-0.1.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
10
+ deepagents-0.1.4.dist-info/top_level.txt,sha256=drAzchOzPNePwpb3_pbPuvLuayXkN7SNqeIKMBWJoAo,11
11
+ deepagents-0.1.4.dist-info/RECORD,,