diff --git a/prompt/system_prompt_deep_agent.md b/prompt/system_prompt_deep_agent.md index 01a2575..73e6b11 100644 --- a/prompt/system_prompt_deep_agent.md +++ b/prompt/system_prompt_deep_agent.md @@ -58,13 +58,13 @@ When executing scripts from SKILL.md files, you MUST convert relative paths to a **3. Workspace Directory Structure** - **`{agent_dir_path}/skills/`** - Skill packages with embedded scripts -- **`{agent_dir_path}/dataset/`** - Store file datasets and document data +- **`{agent_dir_path}/datasets/`** - Store file datasets and document data - **`{agent_dir_path}/executable_code/`** - Place generated executable scripts here (not skill scripts) - **`{agent_dir_path}/download/`** - Store downloaded files and content **Path Examples:** - Skill script: `{agent_dir_path}/skills/rag-retrieve/scripts/rag_retrieve.py` -- Dataset file: `{agent_dir_path}/dataset/document.txt` +- Dataset file: `{agent_dir_path}/datasets/document.txt` - Generated script: `{agent_dir_path}/scripts/process_data.py` - Downloaded file: `{agent_dir_path}/download/report.pdf` diff --git a/skills/onprem/kfs-answer/SKILL.md b/skills/onprem/kfs-answer/SKILL.md index ae50d5e..39ab748 100644 --- a/skills/onprem/kfs-answer/SKILL.md +++ b/skills/onprem/kfs-answer/SKILL.md @@ -14,7 +14,7 @@ Answer ALL questions about the datasets knowledge base using this skill's script Scripts are in `{SKILL_DIR}/scripts/`. -Datasets are auto-discovered by scripts from `./dataset/` (catalog-agent) or `./datasets/` (gbase-agent-service) subdirectories — agent does NOT need to know or pass dataset IDs. +Datasets are auto-discovered by scripts from `./datasets/` subdirectories — agent does NOT need to know or pass dataset IDs. ## Scripts diff --git a/utils/daytona_sync.py b/utils/daytona_sync.py index 152b3a4..fee8629 100644 --- a/utils/daytona_sync.py +++ b/utils/daytona_sync.py @@ -43,8 +43,7 @@ def _list_local_changed_files(workspace_path: Path) -> tuple[bool, list[str]]: str(workspace_path), "-newer", str(marker_local), - "-type", - "f", + "(", "-type", "f", "-o", "-type", "l", ")", "-not", "-name", LOCAL_MARKER_NAME, @@ -65,9 +64,9 @@ def _tar_workspace_entries(workspace_path: Path, entries: list[Path]) -> bytes: with tarfile.open(fileobj=buf, mode="w:gz") as tar: for entry in entries: if entry.is_absolute(): - tar.add(str(entry), arcname=entry.relative_to(workspace_path).as_posix()) + tar.add(str(entry), arcname=entry.relative_to(workspace_path).as_posix(), dereference=True) else: - tar.add(str(workspace_path / entry), arcname=entry.as_posix()) + tar.add(str(workspace_path / entry), arcname=entry.as_posix(), dereference=True) buf.seek(0) return buf.read()