aicortexpy 0.2.7__tar.gz → 0.2.8__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.
- {aicortexpy-0.2.7/aicortexpy.egg-info → aicortexpy-0.2.8}/PKG-INFO +1 -1
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/__init__.py +1 -1
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/runtime_config.py +8 -1
- {aicortexpy-0.2.7 → aicortexpy-0.2.8/aicortexpy.egg-info}/PKG-INFO +1 -1
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/pyproject.toml +1 -1
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/MANIFEST.in +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/README.md +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortex/__init__.py +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortex/__main__.py +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/__main__.py +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/acp_client.py +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/acp_conn.py +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/acp_errors.py +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/agent_env.py +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/app_workdir.py +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/artifact_ws.py +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/artifacts.py +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/attachments.py +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/auto_commit.py +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/capabilities.py +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/chat_acp_pool.py +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/cli.py +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/cli_context.py +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/client.py +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/codex_config.py +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/commands/__init__.py +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/commands/agent_cmd.py +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/commands/attachment_cmd.py +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/commands/auth_cmd.py +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/commands/autopilot_cmd.py +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/commands/config_cmd.py +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/commands/daemon_cmd.py +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/commands/graph_cmd.py +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/commands/issue_cmd.py +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/commands/label_cmd.py +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/commands/meeting_cmd.py +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/commands/memory_cmd.py +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/commands/project_cmd.py +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/commands/repo_cmd.py +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/commands/runtime_cmd.py +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/commands/setup_cmd.py +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/commands/skill_cmd.py +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/commands/squad_cmd.py +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/commands/update_cmd.py +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/commands/version_cmd.py +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/commands/workspace_cmd.py +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/config.py +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/daemon.py +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/data/default_skills/agent-memory/SKILL.md +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/data/default_skills/aicorkit-atlassian/SKILL.md +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/data/default_skills/aicorkit-graph/SKILL.md +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/data/default_skills/aicorkit-outlook/SKILL.md +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/data/default_skills/aicorkit-wxmsg/SKILL.md +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/data/default_skills/aicortex-basics/SKILL.md +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/data/default_skills/aicortex-bridge-cdp/SKILL.md +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/data/default_skills/aicortex-cli-ops/SKILL.md +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/data/default_skills/aicortex-graph/SKILL.md +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/data/default_skills/graphify/SKILL.md +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/data/default_skills/question-form/SKILL.md +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/data/default_skills/test-report-generator/SKILL.md +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/data/default_skills/test-report-generator/scripts/generate_cases.py +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/data/default_skills/test-report-generator/scripts/generate_report.py +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/design_seed.py +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/diskusage.py +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/execenv.py +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/gc.py +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/handoff_bundle.py +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/health.py +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/id_resolve.py +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/local_skills.py +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/models.py +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/oauth_login.py +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/openclaw_config.py +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/output.py +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/permission.py +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/pinned_workdir.py +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/platform_client.py +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/platform_info.py +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/poisoned.py +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/process.py +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/procutil.py +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/prompt.py +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/repo.py +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/runner.py +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/sandbox.py +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/security.py +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/stream.py +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/terminal.py +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/tunnel.py +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/wakeup.py +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy.egg-info/SOURCES.txt +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy.egg-info/dependency_links.txt +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy.egg-info/entry_points.txt +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy.egg-info/requires.txt +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy.egg-info/top_level.txt +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/scripts/aicortex +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/scripts/aicortex.cmd +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/setup.cfg +0 -0
- {aicortexpy-0.2.7 → aicortexpy-0.2.8}/tests/test_app_workdir.py +0 -0
|
@@ -43,6 +43,7 @@ class TaskContextForEnv:
|
|
|
43
43
|
project_title: str = ""
|
|
44
44
|
project_prompt: str = ""
|
|
45
45
|
project_resources: list[dict[str, Any]] = field(default_factory=list)
|
|
46
|
+
project_workdir: str = ""
|
|
46
47
|
repos: list[dict[str, Any]] = field(default_factory=list)
|
|
47
48
|
is_squad_leader: bool = False
|
|
48
49
|
memory_markdown: str = ""
|
|
@@ -101,6 +102,9 @@ def task_context_from_task(task: Any) -> TaskContextForEnv:
|
|
|
101
102
|
|
|
102
103
|
|
|
103
104
|
def inject_runtime_config(work_dir: Path, provider: str, ctx: TaskContextForEnv) -> str:
|
|
105
|
+
# Prefer telling agents the real cwd over the /workspace/{id}/ alias.
|
|
106
|
+
if ctx.project_id and not ctx.project_workdir.strip() and str(work_dir).strip():
|
|
107
|
+
ctx.project_workdir = str(work_dir)
|
|
104
108
|
content = build_meta_skill_content(provider, ctx)
|
|
105
109
|
target: Path | None
|
|
106
110
|
if provider == "claude":
|
|
@@ -305,10 +309,13 @@ def _project_has_local_path(ctx: TaskContextForEnv) -> bool:
|
|
|
305
309
|
|
|
306
310
|
|
|
307
311
|
def _project_workdir_line(ctx: TaskContextForEnv) -> str:
|
|
308
|
-
"""
|
|
312
|
+
"""Prefer resolved local_path, then real process cwd, then logical alias."""
|
|
309
313
|
path = _project_local_path(ctx)
|
|
310
314
|
if path:
|
|
311
315
|
return f"Project working directory: `{path}`\n\n"
|
|
316
|
+
workdir = (ctx.project_workdir or "").strip()
|
|
317
|
+
if workdir:
|
|
318
|
+
return f"Project working directory: `{workdir}`\n\n"
|
|
312
319
|
if ctx.project_id:
|
|
313
320
|
return f"Project working directory (logical): `/workspace/{ctx.project_id}/`\n\n"
|
|
314
321
|
return ""
|
|
@@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
|
|
|
5
5
|
[project]
|
|
6
6
|
# PyPI + import + console script entry for full Go CLI replacement.
|
|
7
7
|
name = "aicortexpy"
|
|
8
|
-
version = "0.2.
|
|
8
|
+
version = "0.2.8"
|
|
9
9
|
description = "AICortex Python CLI and local agent runtime daemon (Go CLI compatible)"
|
|
10
10
|
readme = "README.md"
|
|
11
11
|
license = { text = "Apache-2.0" }
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/data/default_skills/aicorkit-atlassian/SKILL.md
RENAMED
|
File without changes
|
{aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/data/default_skills/aicorkit-graph/SKILL.md
RENAMED
|
File without changes
|
{aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/data/default_skills/aicorkit-outlook/SKILL.md
RENAMED
|
File without changes
|
{aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/data/default_skills/aicorkit-wxmsg/SKILL.md
RENAMED
|
File without changes
|
{aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/data/default_skills/aicortex-basics/SKILL.md
RENAMED
|
File without changes
|
{aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/data/default_skills/aicortex-bridge-cdp/SKILL.md
RENAMED
|
File without changes
|
{aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/data/default_skills/aicortex-cli-ops/SKILL.md
RENAMED
|
File without changes
|
{aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/data/default_skills/aicortex-graph/SKILL.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{aicortexpy-0.2.7 → aicortexpy-0.2.8}/aicortexpy/data/default_skills/test-report-generator/SKILL.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|