aicortexpy 0.2.6__tar.gz → 0.2.7__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.6/aicortexpy.egg-info → aicortexpy-0.2.7}/PKG-INFO +1 -1
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/__init__.py +1 -1
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/runtime_config.py +32 -10
- {aicortexpy-0.2.6 → aicortexpy-0.2.7/aicortexpy.egg-info}/PKG-INFO +1 -1
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/pyproject.toml +1 -1
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/MANIFEST.in +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/README.md +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortex/__init__.py +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortex/__main__.py +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/__main__.py +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/acp_client.py +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/acp_conn.py +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/acp_errors.py +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/agent_env.py +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/app_workdir.py +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/artifact_ws.py +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/artifacts.py +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/attachments.py +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/auto_commit.py +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/capabilities.py +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/chat_acp_pool.py +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/cli.py +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/cli_context.py +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/client.py +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/codex_config.py +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/commands/__init__.py +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/commands/agent_cmd.py +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/commands/attachment_cmd.py +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/commands/auth_cmd.py +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/commands/autopilot_cmd.py +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/commands/config_cmd.py +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/commands/daemon_cmd.py +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/commands/graph_cmd.py +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/commands/issue_cmd.py +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/commands/label_cmd.py +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/commands/meeting_cmd.py +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/commands/memory_cmd.py +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/commands/project_cmd.py +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/commands/repo_cmd.py +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/commands/runtime_cmd.py +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/commands/setup_cmd.py +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/commands/skill_cmd.py +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/commands/squad_cmd.py +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/commands/update_cmd.py +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/commands/version_cmd.py +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/commands/workspace_cmd.py +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/config.py +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/daemon.py +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/data/default_skills/agent-memory/SKILL.md +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/data/default_skills/aicorkit-atlassian/SKILL.md +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/data/default_skills/aicorkit-graph/SKILL.md +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/data/default_skills/aicorkit-outlook/SKILL.md +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/data/default_skills/aicorkit-wxmsg/SKILL.md +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/data/default_skills/aicortex-basics/SKILL.md +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/data/default_skills/aicortex-bridge-cdp/SKILL.md +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/data/default_skills/aicortex-cli-ops/SKILL.md +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/data/default_skills/aicortex-graph/SKILL.md +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/data/default_skills/graphify/SKILL.md +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/data/default_skills/question-form/SKILL.md +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/data/default_skills/test-report-generator/SKILL.md +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/data/default_skills/test-report-generator/scripts/generate_cases.py +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/data/default_skills/test-report-generator/scripts/generate_report.py +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/design_seed.py +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/diskusage.py +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/execenv.py +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/gc.py +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/handoff_bundle.py +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/health.py +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/id_resolve.py +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/local_skills.py +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/models.py +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/oauth_login.py +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/openclaw_config.py +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/output.py +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/permission.py +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/pinned_workdir.py +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/platform_client.py +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/platform_info.py +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/poisoned.py +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/process.py +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/procutil.py +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/prompt.py +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/repo.py +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/runner.py +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/sandbox.py +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/security.py +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/stream.py +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/terminal.py +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/tunnel.py +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/wakeup.py +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy.egg-info/SOURCES.txt +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy.egg-info/dependency_links.txt +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy.egg-info/entry_points.txt +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy.egg-info/requires.txt +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy.egg-info/top_level.txt +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/scripts/aicortex +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/scripts/aicortex.cmd +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/setup.cfg +0 -0
- {aicortexpy-0.2.6 → aicortexpy-0.2.7}/tests/test_app_workdir.py +0 -0
|
@@ -281,11 +281,37 @@ def _format_project_resource(r: dict[str, Any]) -> str:
|
|
|
281
281
|
return out
|
|
282
282
|
|
|
283
283
|
|
|
284
|
-
def
|
|
284
|
+
def _project_local_path(ctx: TaskContextForEnv) -> str:
|
|
285
|
+
"""Resolved local_path for this claim (by_daemon already narrowed)."""
|
|
285
286
|
for r in ctx.project_resources:
|
|
286
|
-
if str(r.get("resource_type") or r.get("type") or "")
|
|
287
|
-
|
|
288
|
-
|
|
287
|
+
if str(r.get("resource_type") or r.get("type") or "") != "local_path":
|
|
288
|
+
continue
|
|
289
|
+
ref = r.get("resource_ref") or r.get("ref") or {}
|
|
290
|
+
if isinstance(ref, str):
|
|
291
|
+
try:
|
|
292
|
+
ref = json.loads(ref)
|
|
293
|
+
except json.JSONDecodeError:
|
|
294
|
+
ref = {}
|
|
295
|
+
if not isinstance(ref, dict):
|
|
296
|
+
continue
|
|
297
|
+
path = str(ref.get("path") or "").strip()
|
|
298
|
+
if path:
|
|
299
|
+
return path
|
|
300
|
+
return ""
|
|
301
|
+
|
|
302
|
+
|
|
303
|
+
def _project_has_local_path(ctx: TaskContextForEnv) -> bool:
|
|
304
|
+
return bool(_project_local_path(ctx))
|
|
305
|
+
|
|
306
|
+
|
|
307
|
+
def _project_workdir_line(ctx: TaskContextForEnv) -> str:
|
|
308
|
+
"""Path agents should treat as the project root; local_path overrides logical alias."""
|
|
309
|
+
path = _project_local_path(ctx)
|
|
310
|
+
if path:
|
|
311
|
+
return f"Project working directory: `{path}`\n\n"
|
|
312
|
+
if ctx.project_id:
|
|
313
|
+
return f"Project working directory (logical): `/workspace/{ctx.project_id}/`\n\n"
|
|
314
|
+
return ""
|
|
289
315
|
|
|
290
316
|
|
|
291
317
|
def _has_project_context(ctx: TaskContextForEnv) -> bool:
|
|
@@ -321,8 +347,7 @@ def _project_context_section(ctx: TaskContextForEnv) -> str:
|
|
|
321
347
|
parts = ["## Project Context\n\n"]
|
|
322
348
|
if ctx.project_title:
|
|
323
349
|
parts.append(f"This {scope} belongs to **{ctx.project_title}**.\n\n")
|
|
324
|
-
|
|
325
|
-
parts.append(f"Project working directory (logical): `/workspace/{ctx.project_id}/`\n\n")
|
|
350
|
+
parts.append(_project_workdir_line(ctx))
|
|
326
351
|
if ctx.project_resources:
|
|
327
352
|
parts.append("Project resources (also at `.aicortex/project/resources.json`):\n\n")
|
|
328
353
|
for r in ctx.project_resources:
|
|
@@ -564,10 +589,7 @@ def _design_studio_runtime(provider: str, ctx: TaskContextForEnv) -> str:
|
|
|
564
589
|
parts.append("## Design project context\n\n")
|
|
565
590
|
if ctx.project_title:
|
|
566
591
|
parts.append(f"This design session belongs to **{ctx.project_title}**.\n\n")
|
|
567
|
-
|
|
568
|
-
parts.append(
|
|
569
|
-
f"Project working directory (logical): `/workspace/{ctx.project_id}/`\n\n"
|
|
570
|
-
)
|
|
592
|
+
parts.append(_project_workdir_line(ctx))
|
|
571
593
|
if ctx.project_resources:
|
|
572
594
|
parts.append("Project resources (tokens/branding only):\n\n")
|
|
573
595
|
for r in ctx.project_resources:
|
|
@@ -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.7"
|
|
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.6 → aicortexpy-0.2.7}/aicortexpy/data/default_skills/aicorkit-atlassian/SKILL.md
RENAMED
|
File without changes
|
{aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/data/default_skills/aicorkit-graph/SKILL.md
RENAMED
|
File without changes
|
{aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/data/default_skills/aicorkit-outlook/SKILL.md
RENAMED
|
File without changes
|
{aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/data/default_skills/aicorkit-wxmsg/SKILL.md
RENAMED
|
File without changes
|
{aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/data/default_skills/aicortex-basics/SKILL.md
RENAMED
|
File without changes
|
{aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/data/default_skills/aicortex-bridge-cdp/SKILL.md
RENAMED
|
File without changes
|
{aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/data/default_skills/aicortex-cli-ops/SKILL.md
RENAMED
|
File without changes
|
{aicortexpy-0.2.6 → aicortexpy-0.2.7}/aicortexpy/data/default_skills/aicortex-graph/SKILL.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{aicortexpy-0.2.6 → aicortexpy-0.2.7}/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
|