debuganything 1.0.0__tar.gz → 1.0.1__tar.gz

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.
@@ -8,8 +8,8 @@ examples/**/__pycache__/
8
8
  *.pcap
9
9
  *.heapsnapshot
10
10
  .vhs-out/
11
- .lab-dea/
12
- .lab-dea/
11
+ .lab-debuganything/
12
+ .lab-debuganything/
13
13
  python/dist/
14
14
  python/**/__pycache__/
15
15
  python/*.egg-info/
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2026 Shreyas Sawant and DEA contributors
3
+ Copyright (c) 2026 Shreyas Sawant and Debug Anything contributors
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: debuganything
3
- Version: 1.0.0
3
+ Version: 1.0.1
4
4
  Summary: Debug Anything from Python agents: observe running processes (strace, py-spy, perf, lsof, tcpdump, gdb/lldb, heap snapshots) and get evidence-backed findings. Wraps the Debug Anything CLI/MCP server; tool adapters for LangChain, LlamaIndex and CrewAI.
5
5
  Project-URL: Homepage, https://github.com/shreyassaw5394/debuganything
6
6
  Project-URL: Documentation, https://github.com/shreyassaw5394/debuganything/tree/main/docs
@@ -49,7 +49,7 @@ pip install 'debuganything[crewai]' # + CrewAI BaseTools
49
49
  ```python
50
50
  from debuganything import DebugAnything
51
51
 
52
- debuganything = DEA() # uses `debuganything` if installed, else `npx -y debuganything@latest`
52
+ debuganything = DebugAnything() # uses `debuganything` if installed, else `npx -y debuganything@latest`
53
53
  print(da.readiness()["findings"])
54
54
  s = da.attach(12345) # pid, "my-container", "ns/pod", or a command
55
55
  before = da.snapshot_memory(s)
@@ -21,7 +21,7 @@ pip install 'debuganything[crewai]' # + CrewAI BaseTools
21
21
  ```python
22
22
  from debuganything import DebugAnything
23
23
 
24
- debuganything = DEA() # uses `debuganything` if installed, else `npx -y debuganything@latest`
24
+ debuganything = DebugAnything() # uses `debuganything` if installed, else `npx -y debuganything@latest`
25
25
  print(da.readiness()["findings"])
26
26
  s = da.attach(12345) # pid, "my-container", "ns/pod", or a command
27
27
  before = da.snapshot_memory(s)
@@ -6,7 +6,7 @@ method returns the Debug Anything ``ToolResult`` dict: ``findings`` cite ``evide
6
6
  files under ``~/.debuganything/sessions/<id>/``.
7
7
 
8
8
  from debuganything import DebugAnything
9
- debuganything = DEA()
9
+ debuganything = DebugAnything()
10
10
  s = da.attach(12345)
11
11
  print(da.profile_cpu(s, duration_s=10)["findings"])
12
12
  da.detach(s)
@@ -32,7 +32,7 @@ def _model(tool: str) -> Type[BaseModel]:
32
32
 
33
33
 
34
34
  def dea_tools(client: Optional[DebugAnything] = None, include: Optional[List[str]] = None) -> List["BaseTool"]:
35
- debuganything = client or DEA()
35
+ debuganything = client or DebugAnything()
36
36
  out: List[BaseTool] = []
37
37
  for tool_name, desc in TOOLS.items():
38
38
  if include and tool_name not in include:
@@ -35,7 +35,7 @@ def _model(tool: str) -> Type[BaseModel]:
35
35
 
36
36
  def dea_tools(client: Optional[DebugAnything] = None, include: Optional[List[str]] = None) -> List["StructuredTool"]:
37
37
  """Build one LangChain StructuredTool per Debug Anything tool."""
38
- debuganything = client or DEA()
38
+ debuganything = client or DebugAnything()
39
39
  out: List[StructuredTool] = []
40
40
  for name, desc in TOOLS.items():
41
41
  if include and name not in include:
@@ -19,7 +19,7 @@ except ImportError as e: # pragma: no cover
19
19
 
20
20
 
21
21
  def dea_tools(client: Optional[DebugAnything] = None, include: Optional[List[str]] = None) -> List["FunctionTool"]:
22
- debuganything = client or DEA()
22
+ debuganything = client or DebugAnything()
23
23
  out: List[FunctionTool] = []
24
24
  for name, desc in TOOLS.items():
25
25
  if include and name not in include:
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "debuganything"
7
- version = "1.0.0"
7
+ version = "1.0.1"
8
8
  description = "Debug Anything from Python agents: observe running processes (strace, py-spy, perf, lsof, tcpdump, gdb/lldb, heap snapshots) and get evidence-backed findings. Wraps the Debug Anything CLI/MCP server; tool adapters for LangChain, LlamaIndex and CrewAI."
9
9
  readme = "README.md"
10
10
  license = "MIT"