diff --git a/app/modules/documents/agent_package.py b/app/modules/documents/agent_package.py index f0ddb37..300e939 100644 --- a/app/modules/documents/agent_package.py +++ b/app/modules/documents/agent_package.py @@ -4,7 +4,7 @@ import io from pathlib import Path import zipfile -ERP_LOCAL_AGENT_VERSION = "1.7.0" +ERP_LOCAL_AGENT_VERSION = "1.7.1" ERP_LOCAL_AGENT_NAME = "ERP Local Agent" RUNTIME_ROOT = Path(__file__).resolve().parent / "local_agent_runtime" _DETERMINISTIC_ZIP_TIMESTAMP = (2026, 1, 1, 0, 0, 0) diff --git a/app/modules/documents/local_agent_runtime/README_ERP_LOCAL_AGENT.txt b/app/modules/documents/local_agent_runtime/README_ERP_LOCAL_AGENT.txt index 6dae74c..7fcccc0 100644 --- a/app/modules/documents/local_agent_runtime/README_ERP_LOCAL_AGENT.txt +++ b/app/modules/documents/local_agent_runtime/README_ERP_LOCAL_AGENT.txt @@ -1,4 +1,4 @@ -ERP Local Agent 1.7.0 +ERP Local Agent 1.7.1 Existing storage, WebSocket tunnel, Tally and client .act functionality are preserved. @@ -26,3 +26,5 @@ Version 1.6.0: Phase 4 read-only Tally transaction synchronization (vouchers, le Phase 5 adds draft-only Income-tax depreciation calculations from synchronized .act data. No Tally write-back. Phase 6: approved Income-tax depreciation Journal write-back is available only after explicit Partner approval and POST confirmation. All other Tally operations remain read-only. + +Hotfix 1.7.1: accepts phase6_status as a status alias; no accounting behavior changed. diff --git a/app/modules/documents/local_agent_runtime/erp_local_agent/__init__.py b/app/modules/documents/local_agent_runtime/erp_local_agent/__init__.py index 632e9d7..55fed7d 100644 --- a/app/modules/documents/local_agent_runtime/erp_local_agent/__init__.py +++ b/app/modules/documents/local_agent_runtime/erp_local_agent/__init__.py @@ -1,2 +1,2 @@ -__version__ = "1.7.0" +__version__ = "1.7.1" AGENT_NAME = "ERP Local Agent" diff --git a/app/modules/documents/local_agent_runtime/erp_local_agent/commands.py b/app/modules/documents/local_agent_runtime/erp_local_agent/commands.py index e1f0781..5bf1d7b 100644 --- a/app/modules/documents/local_agent_runtime/erp_local_agent/commands.py +++ b/app/modules/documents/local_agent_runtime/erp_local_agent/commands.py @@ -23,7 +23,7 @@ class AgentCommandProcessor: error: str | None = None ok = False try: - if action in {"tally_status", "phase1_status", "phase2_status", "phase3_status", "phase4_status", "phase5_status"}: + if action in {"tally_status", "phase1_status", "phase2_status", "phase3_status", "phase4_status", "phase5_status", "phase6_status"}: result = self._status(payload) elif action == "accounting_initialize": result = self._initialize(payload)