txcode-sdk 0.1.0__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.
Files changed (64) hide show
  1. txcode_sdk/__init__.py +49 -0
  2. txcode_sdk/agent/__init__.py +17 -0
  3. txcode_sdk/agent/base_agent.py +475 -0
  4. txcode_sdk/agent/chat/__init__.py +4 -0
  5. txcode_sdk/agent/chat/agent_tool.py +1 -0
  6. txcode_sdk/agent/chat/chat_agent.py +26 -0
  7. txcode_sdk/agent/chat/prompts/role.txt +31 -0
  8. txcode_sdk/agent/code/__init__.py +4 -0
  9. txcode_sdk/agent/code/agent_tool.py +1 -0
  10. txcode_sdk/agent/code/code_agent.py +26 -0
  11. txcode_sdk/agent/code/prompts/role.txt +51 -0
  12. txcode_sdk/agent/common/__init__.py +3 -0
  13. txcode_sdk/agent/common/common_agent.py +23 -0
  14. txcode_sdk/agent/common/prompt/role.txt +51 -0
  15. txcode_sdk/agent/mem/__init__.py +3 -0
  16. txcode_sdk/agent/mem/agent_tool.py +1 -0
  17. txcode_sdk/agent/mem/mem_agent.py +139 -0
  18. txcode_sdk/agent/mem/prompts/role.txt +36 -0
  19. txcode_sdk/agent/summarizer/__init__.py +3 -0
  20. txcode_sdk/agent/summarizer/prompts/role.txt +31 -0
  21. txcode_sdk/agent/summarizer/summarizer_agent.py +101 -0
  22. txcode_sdk/agent/task/__init__.py +4 -0
  23. txcode_sdk/agent/task/agent_tool.py +1 -0
  24. txcode_sdk/agent/task/prompts/role.txt +51 -0
  25. txcode_sdk/agent/task/task_agent.py +26 -0
  26. txcode_sdk/agent/tool_registry.py +119 -0
  27. txcode_sdk/client.py +215 -0
  28. txcode_sdk/compact/__init__.py +3 -0
  29. txcode_sdk/compact/compressor.py +74 -0
  30. txcode_sdk/hooks/__init__.py +19 -0
  31. txcode_sdk/hooks/handlers/__init__.py +4 -0
  32. txcode_sdk/hooks/handlers/base.py +19 -0
  33. txcode_sdk/hooks/handlers/memory.py +30 -0
  34. txcode_sdk/hooks/processor.py +19 -0
  35. txcode_sdk/hooks/queue.py +29 -0
  36. txcode_sdk/hooks/types.py +10 -0
  37. txcode_sdk/provider/__init__.py +6 -0
  38. txcode_sdk/provider/base.py +34 -0
  39. txcode_sdk/provider/deepseek_provider.py +60 -0
  40. txcode_sdk/provider/openai_provider.py +209 -0
  41. txcode_sdk/provider/router.py +13 -0
  42. txcode_sdk/session/__init__.py +3 -0
  43. txcode_sdk/session/manager.py +316 -0
  44. txcode_sdk/skills/__init__.py +43 -0
  45. txcode_sdk/specs/__init__.py +132 -0
  46. txcode_sdk/tools/__init__.py +3 -0
  47. txcode_sdk/tools/bash.txt +47 -0
  48. txcode_sdk/tools/bash_tool.py +79 -0
  49. txcode_sdk/tools/edit_file.py +141 -0
  50. txcode_sdk/tools/edit_file.txt +13 -0
  51. txcode_sdk/tools/glob.txt +12 -0
  52. txcode_sdk/tools/glob_tool.py +67 -0
  53. txcode_sdk/tools/grep.txt +14 -0
  54. txcode_sdk/tools/grep_tool.py +76 -0
  55. txcode_sdk/tools/memory_tool.py +78 -0
  56. txcode_sdk/tools/read_file.py +75 -0
  57. txcode_sdk/tools/read_file.txt +17 -0
  58. txcode_sdk/tools/write_file.py +43 -0
  59. txcode_sdk/tools/write_file.txt +11 -0
  60. txcode_sdk/types.py +158 -0
  61. txcode_sdk-0.1.0.dist-info/METADATA +58 -0
  62. txcode_sdk-0.1.0.dist-info/RECORD +64 -0
  63. txcode_sdk-0.1.0.dist-info/WHEEL +4 -0
  64. txcode_sdk-0.1.0.dist-info/licenses/LICENSE +21 -0
@@ -0,0 +1,75 @@
1
+ from __future__ import annotations
2
+
3
+ from importlib.resources import files
4
+ from pathlib import Path
5
+
6
+ from ..types import Tool, ToolContext, ToolResult
7
+
8
+
9
+ def _read_tool_desc() -> str:
10
+ return files("txcode_sdk.tools").joinpath("read_file.txt").read_text("utf-8")
11
+
12
+
13
+ async def _read_file(params: dict, ctx: ToolContext) -> ToolResult:
14
+ file_path = Path(params.get("file_path", ""))
15
+ if not file_path.is_absolute():
16
+ file_path = Path(ctx.work_dir) / file_path
17
+
18
+ if not file_path.exists():
19
+ return ToolResult(success=False, output="", error=f"File not found: {file_path}")
20
+
21
+ offset = params.get("offset", 1) - 1
22
+ limit = params.get("limit", 2000)
23
+
24
+ if file_path.is_dir():
25
+ entries = sorted(file_path.iterdir(), key=lambda e: (not e.is_dir(), e.name.lower()))
26
+ lines: list[str] = []
27
+ for entry in entries:
28
+ suffix = "/" if entry.is_dir() else ""
29
+ lines.append(f"{entry.name}{suffix}")
30
+ total = len(lines)
31
+ sliced = lines[offset: offset + limit]
32
+ output = "\n".join(sliced)
33
+ return ToolResult(success=True, output=output, metadata={"total_lines": total})
34
+
35
+ try:
36
+ with open(file_path, "rb") as f:
37
+ head = f.read(1)
38
+ if head and head[0] == 0:
39
+ return ToolResult(success=True, output=f"<file_path>{file_path}</file_path>\n<type>binary</type>\n<content>Binary file, content not displayed</content>")
40
+
41
+ with open(file_path, "r", encoding="utf-8", errors="replace") as f:
42
+ all_lines = f.readlines()
43
+ except Exception as e:
44
+ return ToolResult(success=False, output="", error=str(e))
45
+
46
+ total = len(all_lines)
47
+ sliced = all_lines[offset: offset + limit]
48
+ MAX_LINE_CHARS = 2000
49
+ numbered: list[str] = []
50
+ for i, line in enumerate(sliced):
51
+ ln = line.rstrip("\n\r")
52
+ if len(ln) > MAX_LINE_CHARS:
53
+ ln = ln[:MAX_LINE_CHARS] + "..."
54
+ numbered.append(f"{offset + i + 1}: {ln}")
55
+
56
+ header = f"<file_path>{file_path}</file_path>\n<type>file</type>\n<content>"
57
+ footer = "</content>"
58
+ output = header + "\n" + "\n".join(numbered) + "\n" + footer
59
+ return ToolResult(success=True, output=output, metadata={"total_lines": total})
60
+
61
+
62
+ read_file_tool = Tool(
63
+ name="read_file",
64
+ description=_read_tool_desc(),
65
+ parameters={
66
+ "type": "object",
67
+ "properties": {
68
+ "file_path": {"type": "string", "description": "文件或目录的绝对路径"},
69
+ "offset": {"type": "integer", "description": "起始行号,默认1"},
70
+ "limit": {"type": "integer", "description": "最大读取行数,默认2000"},
71
+ },
72
+ "required": ["file_path"],
73
+ },
74
+ execute=_read_file,
75
+ )
@@ -0,0 +1,17 @@
1
+ ### 工具read_file
2
+ 从本地文件系统读取文件或目录内容。如果路径不存在,返回错误。
3
+
4
+ **功能**:
5
+ - `file_path` 参数应为绝对路径
6
+ - 默认返回文件开头最多 2000 行
7
+ - `offset` 参数是从哪一行开始(从 1 开始)
8
+ - 要读取后面的部分,用更大的 offset 再次调用
9
+ - 用 Grep 工具搜索大文件或长行文件
10
+ - 不确定正确路径时,用 Glob 工具按 glob 模式查找
11
+ - 内容返回时每行带有行号前缀:`<line>: <content>`(如 "1: foo\n")
12
+ - 目录返回时每行一个条目,子目录以 `/` 结尾
13
+ - 超过 2000 字符的行会被截断
14
+ - 可以并行调用此工具读取多个文件
15
+ - 避免频繁小量读取(30 行片段),需要更多上下文时读取更大范围
16
+ - 此工具可以读取图片和 PDF 并作为附件返回
17
+
@@ -0,0 +1,43 @@
1
+ from __future__ import annotations
2
+
3
+ from importlib.resources import files
4
+ from pathlib import Path
5
+
6
+ from ..types import Tool, ToolContext, ToolResult
7
+
8
+
9
+ def _write_tool_desc() -> str:
10
+ return files("txcode_sdk.tools").joinpath("write_file.txt").read_text("utf-8")
11
+
12
+
13
+ async def _write_file(params: dict, ctx: ToolContext) -> ToolResult:
14
+ file_path = Path(params.get("file_path", ""))
15
+ if not file_path.is_absolute():
16
+ file_path = Path(ctx.work_dir) / file_path
17
+
18
+ content = params.get("content", "")
19
+
20
+ if file_path.exists():
21
+ return ToolResult(success=False, output="", error=f"File already exists: {file_path}. Use edit_file to modify.")
22
+
23
+ try:
24
+ file_path.parent.mkdir(parents=True, exist_ok=True)
25
+ file_path.write_text(content, encoding="utf-8")
26
+ return ToolResult(success=True, output=f"File written: {file_path}")
27
+ except Exception as e:
28
+ return ToolResult(success=False, output="", error=str(e))
29
+
30
+
31
+ write_file_tool = Tool(
32
+ name="write_file",
33
+ description=_write_tool_desc(),
34
+ parameters={
35
+ "type": "object",
36
+ "properties": {
37
+ "file_path": {"type": "string", "description": "文件绝对路径"},
38
+ "content": {"type": "string", "description": "要写入文件的内容"},
39
+ },
40
+ "required": ["file_path", "content"],
41
+ },
42
+ execute=_write_file,
43
+ )
@@ -0,0 +1,11 @@
1
+ ### 工具write_file
2
+ 写入文件到本地文件系统。
3
+
4
+ **功能**:
5
+ - 如果提供的路径已存在文件,**此工具会报错**
6
+ - 如果是已存在的文件,**必须**先用 Read 工具读取文件内容,然后使用 Edit 工具修改
7
+ - **优先**编辑现有文件,**禁止**创建新文件除非明确需要
8
+ - **禁止**主动创建文档文件(*.md)或 README 文件。只有用户明确要求时才创建
9
+ - 只有用户明确要求时才使用表情符号
10
+ - 父目录不存在时会自动创建。避免写入表情符号除非被要求
11
+
txcode_sdk/types.py ADDED
@@ -0,0 +1,158 @@
1
+ from __future__ import annotations
2
+
3
+ from dataclasses import dataclass, field
4
+ from typing import Any, Callable, Literal
5
+
6
+
7
+ @dataclass
8
+ class TokenUsage:
9
+ prompt_tokens: int = 0
10
+ completion_tokens: int = 0
11
+ total_tokens: int = 0
12
+
13
+
14
+ @dataclass
15
+ class ToolCallInfo:
16
+ id: str
17
+ name: str
18
+ arguments: dict[str, Any]
19
+
20
+
21
+ @dataclass
22
+ class ToolResultInfo:
23
+ name: str
24
+ success: bool
25
+ output: str | None = None
26
+ error: str | None = None
27
+
28
+
29
+ @dataclass
30
+ class StepInfo:
31
+ reasoning: str | None
32
+ tool_calls: list[ToolCallInfo]
33
+ results: list[ToolResultInfo]
34
+ iteration: int
35
+ usage: TokenUsage | None = None
36
+ printMsg: str | None = None
37
+
38
+
39
+ @dataclass
40
+ class ChatResult:
41
+ answer: str
42
+ steps: list[StepInfo]
43
+ session_id: str
44
+ iterations: int
45
+ success: bool
46
+ error: str | None = None
47
+ usage: TokenUsage | None = None
48
+
49
+
50
+ @dataclass
51
+ class MediaFile:
52
+ file_path: str
53
+ type: str = "image/png"
54
+ data_url: str | None = None
55
+
56
+
57
+ class TextContent:
58
+ type: Literal["text"] = "text"
59
+ text: str
60
+
61
+ def __init__(self, text: str):
62
+ self.text = text
63
+
64
+ def to_dict(self) -> dict:
65
+ return {"type": "text", "text": self.text}
66
+
67
+
68
+ class ImageContent:
69
+ type: Literal["image_url"] = "image_url"
70
+ image_url: dict
71
+
72
+ def __init__(self, url: str):
73
+ self.image_url = {"url": url}
74
+
75
+ def to_dict(self) -> dict:
76
+ return {"type": "image_url", "image_url": self.image_url}
77
+
78
+
79
+ MultimodalContent = TextContent | ImageContent
80
+
81
+
82
+ @dataclass
83
+ class ChatMessage:
84
+ role: str
85
+ content: str | list[TextContent | ImageContent]
86
+ name: str | None = None
87
+ tool_call_id: str | None = None
88
+ tool_calls: list[dict] | None = None
89
+
90
+
91
+ @dataclass
92
+ class ProviderResponse:
93
+ content: str
94
+ reasoning: str | None = None
95
+ finish_reason: str = "stop"
96
+ tool_calls: list[dict] | None = None
97
+ usage: TokenUsage | None = None
98
+
99
+
100
+ @dataclass
101
+ class ToolContext:
102
+ session_id: str
103
+ work_dir: str
104
+ abort_signal: Any | None = None
105
+
106
+
107
+ @dataclass
108
+ class ToolResult:
109
+ success: bool
110
+ output: str
111
+ error: str | None = None
112
+ metadata: dict | None = None
113
+
114
+
115
+ class Tool:
116
+ def __init__(
117
+ self,
118
+ name: str,
119
+ description: str,
120
+ parameters: dict,
121
+ execute: Callable[[dict, ToolContext], ToolResult],
122
+ ):
123
+ self.name = name
124
+ self.description = description
125
+ self.parameters = parameters
126
+ self.execute = execute
127
+
128
+
129
+ AgentType = Literal["code", "chat", "common", "task"]
130
+
131
+
132
+ @dataclass
133
+ class SessionSummary:
134
+ id: str
135
+ title: str
136
+ created_at: str
137
+ updated_at: str
138
+ message_count: int
139
+ print_summary: str
140
+
141
+
142
+ @dataclass
143
+ class SessionMessages:
144
+ session_id: str
145
+ title: str
146
+ created_at: str
147
+ updated_at: str
148
+ messages: list[dict]
149
+
150
+
151
+ class PrintMsgFormat:
152
+ SUCCESS_MARK: str = "\u2713"
153
+ FAILURE_MARK: str = "\u2717"
154
+ UNKNOWN_MARK: str = "?"
155
+ USER_PREFIX: str = "User"
156
+ ASSISTANT_PREFIX: str = "Assistant"
157
+ SYSTEM_PREFIX: str = "System"
158
+ TOOL_TEMPLATE: str = "{{tool:'{mark} {name} {args}', reason:'{reason}'}}"
@@ -0,0 +1,58 @@
1
+ Metadata-Version: 2.4
2
+ Name: txcode-sdk
3
+ Version: 0.1.0
4
+ Summary: AI Agent SDK with built-in tools for Python projects
5
+ Project-URL: Repository, https://github.com/homecommunity/txcode-sdk
6
+ Author: homecommunity
7
+ License: MIT
8
+ License-File: LICENSE
9
+ Keywords: agent,ai,openai,react,tools
10
+ Classifier: Development Status :: 3 - Alpha
11
+ Classifier: Intended Audience :: Developers
12
+ Classifier: License :: OSI Approved :: MIT License
13
+ Classifier: Programming Language :: Python :: 3
14
+ Classifier: Programming Language :: Python :: 3.10
15
+ Classifier: Programming Language :: Python :: 3.11
16
+ Classifier: Programming Language :: Python :: 3.12
17
+ Requires-Python: >=3.10
18
+ Requires-Dist: openai>=1.0.0
19
+ Requires-Dist: tiktoken>=0.5.0
20
+ Description-Content-Type: text/markdown
21
+
22
+ # txcode-sdk
23
+
24
+ AI Agent SDK with built-in tools for Python projects.
25
+
26
+ ## Installation
27
+
28
+ ```bash
29
+ pip install txcode-sdk
30
+ ```
31
+
32
+ ## Quick Start
33
+
34
+ ```python
35
+ import asyncio
36
+ from txcode_sdk import TxCodeClient
37
+
38
+ async def main():
39
+ client = TxCodeClient(
40
+ api_key="sk-xxx",
41
+ base_url="https://api.openai.com/v1",
42
+ model="gpt-4",
43
+ )
44
+ result = await client.chat("Hello!")
45
+ print(result.answer)
46
+
47
+ asyncio.run(main())
48
+ ```
49
+
50
+ ## Features
51
+
52
+ - ReAct Agent loop with tool calling
53
+ - Multiple agent types: code, chat, common, task
54
+ - 6 built-in tools: read_file, write_file, edit_file, glob, grep, bash
55
+ - Session management with JSON file persistence
56
+ - Context compression for long conversations
57
+ - Multimodal input support (images)
58
+ - Extensible custom tools
@@ -0,0 +1,64 @@
1
+ txcode_sdk/__init__.py,sha256=7FGohtNLMfxLGKwiyewJme_5uVQUbeXFEclBfvKnweU,992
2
+ txcode_sdk/client.py,sha256=nu_vc4o9McDOCUxs3_zNLPlCLlT4dQuSS2MPdUsCdhU,7596
3
+ txcode_sdk/types.py,sha256=LURa7_I2LAxJZu9ZAe0ZBhvoYkAEeTU_q7ZuwMBrtvY,3074
4
+ txcode_sdk/agent/__init__.py,sha256=3qaa8aCPcvS8rfQpt7cSffY7-MPSoM5EHyFVdPTTNpI,454
5
+ txcode_sdk/agent/base_agent.py,sha256=XRONJPG-PUSdQkbEhqpv6hriT5X7ZhsML_5miwk9lR0,17008
6
+ txcode_sdk/agent/tool_registry.py,sha256=V1HXVf26LhZBHELbIG0i4QKYdx4IHki12aTayG8qa0E,4010
7
+ txcode_sdk/agent/chat/__init__.py,sha256=oHVfngeF74fQtCIwnVRgauD2RjkMfe7ToVc5tl_8z88,108
8
+ txcode_sdk/agent/chat/agent_tool.py,sha256=c7YuhAU6WNtT9MSauGh8h-73_NJZC2oVx8rrb1GYFMk,27
9
+ txcode_sdk/agent/chat/chat_agent.py,sha256=e8O_BZCBqHIzd8X48Ff3umAW3E5sD0L9YTP5arm8eo4,996
10
+ txcode_sdk/agent/chat/prompts/role.txt,sha256=XTytlSlSv8iZiA6o5103Um86vYJAFZ5X99CQ9ZTE9mY,2265
11
+ txcode_sdk/agent/code/__init__.py,sha256=D9vCJRuLuRb97seZIjyJdyzIe-V6ybQtRcHZ62d9zKU,108
12
+ txcode_sdk/agent/code/agent_tool.py,sha256=8cngZQN8rvaRy2D07pNh-I6igO2zGJPwVU4o2tBEHCM,78
13
+ txcode_sdk/agent/code/code_agent.py,sha256=aGzQSDrxDNFpwlY9tc_tocgCFP7K9mE2pTSks1d-GSI,1016
14
+ txcode_sdk/agent/code/prompts/role.txt,sha256=O2MArVM1kPC5SLkNPu9YRMPV3jSQi94teN47iZDoKsU,5201
15
+ txcode_sdk/agent/common/__init__.py,sha256=2VHddoRuWP7OFttDpFGmWKRcv0IZV8TLE-U6iZWwxSs,65
16
+ txcode_sdk/agent/common/common_agent.py,sha256=mR4OkUeIyU2cYyj-kfBFMbJPGT-T-ZPDd1zLH4mD_CE,926
17
+ txcode_sdk/agent/common/prompt/role.txt,sha256=O2MArVM1kPC5SLkNPu9YRMPV3jSQi94teN47iZDoKsU,5201
18
+ txcode_sdk/agent/mem/__init__.py,sha256=bSsqVCbYh7xR_HDRBef9rcqUUGWuuCS-kliv4sEL0jo,56
19
+ txcode_sdk/agent/mem/agent_tool.py,sha256=KB6doCnWpC0unhrTjYJ4HroHVHpimVX1FvB6poPEv-M,74
20
+ txcode_sdk/agent/mem/mem_agent.py,sha256=dPaujd10MjMtXUMMJ0st8X2ZO_fHAUrfUr3BuA0Rre0,5001
21
+ txcode_sdk/agent/mem/prompts/role.txt,sha256=Hd9TWb0uk9D98TxSpQSFaTpGLxsGq5Pkj5SfXBrX0E8,2300
22
+ txcode_sdk/agent/summarizer/__init__.py,sha256=16GA0GWqpz5SUeZMtZpHvIPIzoJiHDCFSeZL8pZFTRs,139
23
+ txcode_sdk/agent/summarizer/summarizer_agent.py,sha256=XJfSHc-GHu2sRqwiGveuyzsXvx9FrNCzhuOLnY8F3QI,3417
24
+ txcode_sdk/agent/summarizer/prompts/role.txt,sha256=H1QgHwsOHZqXcHKARZSRPHRPJH-6glHBYVsYMSCo0RE,875
25
+ txcode_sdk/agent/task/__init__.py,sha256=aqh_snmZHAFJAKJzEWwKIcT89brgsMdsJ8kXAKjtJMo,108
26
+ txcode_sdk/agent/task/agent_tool.py,sha256=J9Z334GR3e_k9OjatpUMX_183D-JgTpiom5-LTVxqO0,78
27
+ txcode_sdk/agent/task/task_agent.py,sha256=pyUo2KycTQfyZrg4WAY0VzObfzxLxHt1rL4y6kjb6gU,1018
28
+ txcode_sdk/agent/task/prompts/role.txt,sha256=oSFucAxmuBZO8jgYRAmuo3OqmKLh9q0KO-uNqvKNGx4,5013
29
+ txcode_sdk/compact/__init__.py,sha256=VEleSoMaSeyqvgi-Ty9ra79jio1_5V2l-1Um2l-eDqo,137
30
+ txcode_sdk/compact/compressor.py,sha256=PcIRHfXimLo2DzWQuTNYrYQ3x_9Y9r4062yJhA9S8PQ,2406
31
+ txcode_sdk/hooks/__init__.py,sha256=NIGkhhyk_2l0C-qxXf-BDwpaGKncxgNWf194e9O7pao,489
32
+ txcode_sdk/hooks/processor.py,sha256=Y8X_y7bPXRhcoNO7ReLyD-czx8F_oyt9-h156NFV8R0,473
33
+ txcode_sdk/hooks/queue.py,sha256=WfOXXm98OuWd6_8oS0GChNi_8PLyR1Lu5dA02o1J4Bs,839
34
+ txcode_sdk/hooks/types.py,sha256=R8Y2vCbxlHxe0c7L4M3Z-SIznmbcIusdNneKlmkDftc,200
35
+ txcode_sdk/hooks/handlers/__init__.py,sha256=5Bo0LQeTzvcgacnEdgdotCmGKaaNz-Bl6dLcWVBTpsE,116
36
+ txcode_sdk/hooks/handlers/base.py,sha256=bdExtJpmW11ToBb81jy-eEjHRlSdiVbr4YOJpCQlTkk,465
37
+ txcode_sdk/hooks/handlers/memory.py,sha256=9Ip21MLf9IBMSrllrhRmehTmmOUvTUsbCIue0B6hNzc,885
38
+ txcode_sdk/provider/__init__.py,sha256=lyvilAyXBMDv-_JB5XSu1GULuhAbxb59Hscq15G5p14,242
39
+ txcode_sdk/provider/base.py,sha256=q_gRr_5EJEtU0BkAt8vXeA3dowRMC9GbHcu9ZgzO10Q,788
40
+ txcode_sdk/provider/deepseek_provider.py,sha256=OKCf234A1vgZDcFPViqcStCG_W6PBPBbquIdpRmxhVg,1888
41
+ txcode_sdk/provider/openai_provider.py,sha256=DmIRrPSiqxMLy8R3vH1tTcEN1O_47WeSawAqnw95vOg,6953
42
+ txcode_sdk/provider/router.py,sha256=VzC5hYYmjBQNZuYCg3d2fBmBxRq1GsbL1WB9ZQwxzIU,475
43
+ txcode_sdk/session/__init__.py,sha256=cI-iPhBppvnHk0dPGjEpxcGf377BppQTf4nJZWugWkg,66
44
+ txcode_sdk/session/manager.py,sha256=7DwwISghtqEyH4xne-FFGrJfDBN1LW1cmkoglUM7Idg,11286
45
+ txcode_sdk/skills/__init__.py,sha256=XI_cJXmgfH_80_kBsr2SCGz-fGWPb-kzZoeHDOkiRSg,1690
46
+ txcode_sdk/specs/__init__.py,sha256=7ktY8s9nGS0ZXGeOBeW9RaZc7uPqdmQ8SvnkeSHUIHs,5080
47
+ txcode_sdk/tools/__init__.py,sha256=82TvX8jTezY1Kv9v3wABI3abFoKGg-IkZrSJ-egZaR8,99
48
+ txcode_sdk/tools/bash.txt,sha256=glK3S5hFIKLNmCHQaxpRP6_Ll_1pn6xpajSYCg8DtQ4,2193
49
+ txcode_sdk/tools/bash_tool.py,sha256=r-3aCRaFN9PqymtspzCo7ACDpAFEc4rWo4F8VFvfq0U,2527
50
+ txcode_sdk/tools/edit_file.py,sha256=BsXu_rZ7oLeFK3Te4FYRem19pEEOL_n8e5wZ9DSbR7k,5037
51
+ txcode_sdk/tools/edit_file.txt,sha256=NoKDis-WU4C-6PWXy2QUo-4mCSDOvniTmQBuzyzSWrc,939
52
+ txcode_sdk/tools/glob.txt,sha256=XQqJwf72S3CYaVs_T9zoWiZeCU46YpL0LHiZfX4JHRg,492
53
+ txcode_sdk/tools/glob_tool.py,sha256=xqQ6oY-Cu8TPP827KkH-d3pZyYZyms1K6wbEFsAPJOY,1985
54
+ txcode_sdk/tools/grep.txt,sha256=c7PJ79iXb45XE8Z-oJjMnJ77TbHB8o7tyzK4Ye88w0M,631
55
+ txcode_sdk/tools/grep_tool.py,sha256=reWbBuaEu8xZNl-PWdw1fE6Hfb2-ubooDlzb4blq61w,2541
56
+ txcode_sdk/tools/memory_tool.py,sha256=wzKJTqtgF3GTDCNY4ziH2bf9edxJhKYBLR446sGeoLQ,2578
57
+ txcode_sdk/tools/read_file.py,sha256=jZv8WqgrJKPMJ7DQato7_Zt5fk8hz0ruFzoDNXim-Gc,2738
58
+ txcode_sdk/tools/read_file.txt,sha256=FAZUFoXaku6QvhyLekB79KIhWFyTJcyRs8tLqIEm2Xw,823
59
+ txcode_sdk/tools/write_file.py,sha256=Yei3XaNvtx-9HlmpdOhVnPIxy9imOfS1xTtUuNyrW_k,1371
60
+ txcode_sdk/tools/write_file.txt,sha256=b-PJMcpUf31U_eGCCgIPO7hjilPtcHJYNVR3DSbghd0,562
61
+ txcode_sdk-0.1.0.dist-info/METADATA,sha256=7TtgE0oOdipbbup2K1QMZb62T6CKgvmdticmqkKvzYg,1508
62
+ txcode_sdk-0.1.0.dist-info/WHEEL,sha256=mffPy8wBnZQn2VnJUU5jE99KsxaSfiyMHV9Yt0aLVxs,87
63
+ txcode_sdk-0.1.0.dist-info/licenses/LICENSE,sha256=MgVwuuUcdnF9JsDYM5blhGjaQrIM1SYpka3glIF0fko,1070
64
+ txcode_sdk-0.1.0.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.30.1
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 homecommunity
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.