adam-community 1.0.26__tar.gz → 1.0.27__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.
- {adam_community-1.0.26 → adam_community-1.0.27}/PKG-INFO +1 -1
- adam_community-1.0.27/adam_community/__version__.py +1 -0
- {adam_community-1.0.26 → adam_community-1.0.27}/adam_community/cli/sif_build.py +2 -1
- {adam_community-1.0.26 → adam_community-1.0.27}/adam_community.egg-info/PKG-INFO +1 -1
- {adam_community-1.0.26 → adam_community-1.0.27}/test/test_sif_upload.py +2 -2
- adam_community-1.0.26/adam_community/__version__.py +0 -1
- {adam_community-1.0.26 → adam_community-1.0.27}/README.md +0 -0
- {adam_community-1.0.26 → adam_community-1.0.27}/adam_community/__init__.py +0 -0
- {adam_community-1.0.26 → adam_community-1.0.27}/adam_community/cli/__init__.py +0 -0
- {adam_community-1.0.26 → adam_community-1.0.27}/adam_community/cli/build.py +0 -0
- {adam_community-1.0.26 → adam_community-1.0.27}/adam_community/cli/cli.py +0 -0
- {adam_community-1.0.26 → adam_community-1.0.27}/adam_community/cli/init.py +0 -0
- {adam_community-1.0.26 → adam_community-1.0.27}/adam_community/cli/parser.py +0 -0
- {adam_community-1.0.26 → adam_community-1.0.27}/adam_community/cli/templates/Makefile.j2 +0 -0
- {adam_community-1.0.26 → adam_community-1.0.27}/adam_community/cli/templates/README_agent.md.j2 +0 -0
- {adam_community-1.0.26 → adam_community-1.0.27}/adam_community/cli/templates/README_kit.md.j2 +0 -0
- {adam_community-1.0.26 → adam_community-1.0.27}/adam_community/cli/templates/__init__.py +0 -0
- {adam_community-1.0.26 → adam_community-1.0.27}/adam_community/cli/templates/agent_python.py.j2 +0 -0
- {adam_community-1.0.26 → adam_community-1.0.27}/adam_community/cli/templates/configure.json.j2 +0 -0
- {adam_community-1.0.26 → adam_community-1.0.27}/adam_community/cli/templates/initial_assistant_message.md.j2 +0 -0
- {adam_community-1.0.26 → adam_community-1.0.27}/adam_community/cli/templates/initial_assistant_message_en.md.j2 +0 -0
- {adam_community-1.0.26 → adam_community-1.0.27}/adam_community/cli/templates/initial_system_prompt.md.j2 +0 -0
- {adam_community-1.0.26 → adam_community-1.0.27}/adam_community/cli/templates/initial_system_prompt_en.md.j2 +0 -0
- {adam_community-1.0.26 → adam_community-1.0.27}/adam_community/cli/templates/input.json.j2 +0 -0
- {adam_community-1.0.26 → adam_community-1.0.27}/adam_community/cli/templates/kit_python.py.j2 +0 -0
- {adam_community-1.0.26 → adam_community-1.0.27}/adam_community/cli/templates/long_description.md.j2 +0 -0
- {adam_community-1.0.26 → adam_community-1.0.27}/adam_community/cli/templates/long_description_en.md.j2 +0 -0
- {adam_community-1.0.26 → adam_community-1.0.27}/adam_community/cli/templates/rag_python.py.j2 +0 -0
- {adam_community-1.0.26 → adam_community-1.0.27}/adam_community/cli/updater.py +0 -0
- {adam_community-1.0.26 → adam_community-1.0.27}/adam_community/tool.py +0 -0
- {adam_community-1.0.26 → adam_community-1.0.27}/adam_community/util.py +0 -0
- {adam_community-1.0.26 → adam_community-1.0.27}/adam_community.egg-info/SOURCES.txt +0 -0
- {adam_community-1.0.26 → adam_community-1.0.27}/adam_community.egg-info/dependency_links.txt +0 -0
- {adam_community-1.0.26 → adam_community-1.0.27}/adam_community.egg-info/entry_points.txt +0 -0
- {adam_community-1.0.26 → adam_community-1.0.27}/adam_community.egg-info/requires.txt +0 -0
- {adam_community-1.0.26 → adam_community-1.0.27}/adam_community.egg-info/top_level.txt +0 -0
- {adam_community-1.0.26 → adam_community-1.0.27}/setup.cfg +0 -0
- {adam_community-1.0.26 → adam_community-1.0.27}/setup.py +0 -0
- {adam_community-1.0.26 → adam_community-1.0.27}/test/test_util_tool.py +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "1.0.27"
|
|
@@ -270,7 +270,8 @@ def generateDockerfile(work_dir: Path) -> Path:
|
|
|
270
270
|
"""
|
|
271
271
|
dockerfile_path = work_dir / "Dockerfile"
|
|
272
272
|
|
|
273
|
-
|
|
273
|
+
# 使用 DaoCloud 镜像加速,解决国内网络访问 Docker Hub 的问题
|
|
274
|
+
dockerfile_content = """FROM docker.m.daocloud.io/library/alpine
|
|
274
275
|
COPY . /sif
|
|
275
276
|
"""
|
|
276
277
|
|
|
@@ -330,7 +330,7 @@ class TestGenerateDockerfile(unittest.TestCase):
|
|
|
330
330
|
with open(dockerfile_path, 'r') as f:
|
|
331
331
|
content = f.read()
|
|
332
332
|
|
|
333
|
-
self.assertIn("FROM alpine", content)
|
|
333
|
+
self.assertIn("FROM docker.m.daocloud.io/library/alpine", content)
|
|
334
334
|
self.assertIn("COPY . /sif", content)
|
|
335
335
|
|
|
336
336
|
|
|
@@ -422,7 +422,7 @@ class TestIntegration(unittest.TestCase):
|
|
|
422
422
|
# 7. 验证 Dockerfile 内容
|
|
423
423
|
with open(dockerfile_path, 'r') as f:
|
|
424
424
|
content = f.read()
|
|
425
|
-
self.assertIn("FROM alpine", content)
|
|
425
|
+
self.assertIn("FROM docker.m.daocloud.io/library/alpine", content)
|
|
426
426
|
self.assertIn("COPY . /sif", content)
|
|
427
427
|
|
|
428
428
|
def test_chunk_size_boundaries(self):
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "1.0.26"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{adam_community-1.0.26 → adam_community-1.0.27}/adam_community/cli/templates/README_agent.md.j2
RENAMED
|
File without changes
|
{adam_community-1.0.26 → adam_community-1.0.27}/adam_community/cli/templates/README_kit.md.j2
RENAMED
|
File without changes
|
|
File without changes
|
{adam_community-1.0.26 → adam_community-1.0.27}/adam_community/cli/templates/agent_python.py.j2
RENAMED
|
File without changes
|
{adam_community-1.0.26 → adam_community-1.0.27}/adam_community/cli/templates/configure.json.j2
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{adam_community-1.0.26 → adam_community-1.0.27}/adam_community/cli/templates/kit_python.py.j2
RENAMED
|
File without changes
|
{adam_community-1.0.26 → adam_community-1.0.27}/adam_community/cli/templates/long_description.md.j2
RENAMED
|
File without changes
|
|
File without changes
|
{adam_community-1.0.26 → adam_community-1.0.27}/adam_community/cli/templates/rag_python.py.j2
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{adam_community-1.0.26 → adam_community-1.0.27}/adam_community.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|