Adding transaction state

This commit is contained in:
2026-08-21 17:56:22 -03:00
parent 838a0b916f
commit 1c069b560d
11 changed files with 518 additions and 36 deletions

54
.idea/workspace.xml generated
View File

@@ -47,6 +47,8 @@
<change beforePath="$PROJECT_DIR$/agent_framework_oci/libs/agent_framework/src/agent_framework/guardrails/rails.py" beforeDir="false" afterPath="$PROJECT_DIR$/agent_framework_oci/libs/agent_framework/src/agent_framework/guardrails/rails.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/agent_framework_oci/libs/agent_framework/src/agent_framework/mcp/models.py" beforeDir="false" afterPath="$PROJECT_DIR$/agent_framework_oci/libs/agent_framework/src/agent_framework/mcp/models.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/agent_framework_oci/libs/agent_framework/src/agent_framework/mcp/registry.py" beforeDir="false" afterPath="$PROJECT_DIR$/agent_framework_oci/libs/agent_framework/src/agent_framework/mcp/registry.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/agent_framework_oci/libs/agent_framework/src/agent_framework/mcp/tool_policy.py" beforeDir="false" afterPath="$PROJECT_DIR$/agent_framework_oci/libs/agent_framework/src/agent_framework/mcp/tool_policy.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/agent_framework_oci/libs/agent_framework/src/agent_framework/mcp/tool_router.py" beforeDir="false" afterPath="$PROJECT_DIR$/agent_framework_oci/libs/agent_framework/src/agent_framework/mcp/tool_router.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/agent_framework_oci/libs/agent_framework/src/agent_framework/routing/enterprise_router.py" beforeDir="false" afterPath="$PROJECT_DIR$/agent_framework_oci/libs/agent_framework/src/agent_framework/routing/enterprise_router.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/agent_framework_oci/libs/agent_framework/src/agent_framework/runtime/agent_runtime.py" beforeDir="false" afterPath="$PROJECT_DIR$/agent_framework_oci/libs/agent_framework/src/agent_framework/runtime/agent_runtime.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/agent_framework_oci/libs/agent_framework/src/agent_framework/workflows/runtime.py" beforeDir="false" afterPath="$PROJECT_DIR$/agent_framework_oci/libs/agent_framework/src/agent_framework/workflows/runtime.py" afterDir="false" />
@@ -60,6 +62,7 @@
<change beforePath="$PROJECT_DIR$/agent_framework_oci/templates/agent_template_backend/config/routing.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/agent_framework_oci/templates/agent_template_backend/config/routing.yaml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/agent_framework_oci/templates/agent_template_backend/config/tool_policies.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/agent_framework_oci/templates/agent_template_backend/config/tool_policies.yaml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/agent_framework_oci/templates/agent_template_backend/config/tools.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/agent_framework_oci/templates/agent_template_backend/config/tools.yaml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/agent_framework_oci/templates/agent_template_backend_day_zero/app/state.py" beforeDir="false" afterPath="$PROJECT_DIR$/agent_framework_oci/templates/agent_template_backend_day_zero/app/state.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/agent_framework_oci/templates/agent_template_backend_day_zero/config/mcp_parameter_mapping.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/agent_framework_oci/templates/agent_template_backend_day_zero/config/mcp_parameter_mapping.yaml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/agent_framework_oci/templates/agent_template_backend_day_zero/config/routing.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/agent_framework_oci/templates/agent_template_backend_day_zero/config/routing.yaml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/agent_framework_oci/templates/agent_template_backend_day_zero/config/tool_policies.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/agent_framework_oci/templates/agent_template_backend_day_zero/config/tool_policies.yaml" afterDir="false" />
@@ -78,6 +81,7 @@
<change beforePath="$PROJECT_DIR$/config/prompts/contestation.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/config/prompts/contestation.yaml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/config/prompts/vas.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/config/prompts/vas.yaml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/config/routing.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/config/routing.yaml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/config/tool_policies.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/config/tool_policies.yaml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/config/tools.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/config/tools.yaml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/contas_mcp/servers/contas_mcp_server/main.py" beforeDir="false" afterPath="$PROJECT_DIR$/contas_mcp/servers/contas_mcp_server/main.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/tests/migration/test_original_contestation_validation.py" beforeDir="false" afterPath="$PROJECT_DIR$/tests/migration/test_original_contestation_validation.py" afterDir="false" />
@@ -122,32 +126,31 @@
<option name="hideEmptyMiddlePackages" value="true" />
<option name="showLibraryContents" value="true" />
</component>
<component name="PropertiesComponent">{
&quot;keyToString&quot;: {
&quot;ASKED_SHARE_PROJECT_CONFIGURATION_FILES&quot;: &quot;true&quot;,
&quot;ModuleVcsDetector.initialDetectionPerformed&quot;: &quot;true&quot;,
&quot;RunOnceActivity.ShowReadmeOnStart&quot;: &quot;true&quot;,
&quot;RunOnceActivity.TerminalTabsStorage.copyFrom.TerminalArrangementManager.252&quot;: &quot;true&quot;,
&quot;RunOnceActivity.git.unshallow&quot;: &quot;true&quot;,
&quot;RunOnceActivity.typescript.service.memoryLimit.init&quot;: &quot;true&quot;,
&quot;SHARE_PROJECT_CONFIGURATION_FILES&quot;: &quot;true&quot;,
&quot;Shell Script.agent_contas.executor&quot;: &quot;Run&quot;,
&quot;Shell Script.agent_frontend.executor&quot;: &quot;Run&quot;,
&quot;Shell Script.agent_template_backend.executor&quot;: &quot;Run&quot;,
&quot;Shell Script.mcp gateway.executor&quot;: &quot;Run&quot;,
&quot;Shell Script.mcp servers.executor&quot;: &quot;Run&quot;,
&quot;git-widget-placeholder&quot;: &quot;main&quot;,
&quot;kotlin-language-version-configured&quot;: &quot;true&quot;,
&quot;last_opened_file_path&quot;: &quot;D:/MSI_Projects/agent_framework_oci&quot;,
&quot;node.js.detected.package.eslint&quot;: &quot;true&quot;,
&quot;node.js.detected.package.tslint&quot;: &quot;true&quot;,
&quot;node.js.selected.package.eslint&quot;: &quot;(autodetect)&quot;,
&quot;node.js.selected.package.tslint&quot;: &quot;(autodetect)&quot;,
&quot;nodejs_package_manager_path&quot;: &quot;npm&quot;,
&quot;settings.editor.selected.configurable&quot;: &quot;project.propVCSSupport.DirectoryMappings&quot;,
&quot;vue.rearranger.settings.migration&quot;: &quot;true&quot;
<component name="PropertiesComponent"><![CDATA[{
"keyToString": {
"ASKED_SHARE_PROJECT_CONFIGURATION_FILES": "true",
"ModuleVcsDetector.initialDetectionPerformed": "true",
"RunOnceActivity.ShowReadmeOnStart": "true",
"RunOnceActivity.TerminalTabsStorage.copyFrom.TerminalArrangementManager.252": "true",
"RunOnceActivity.git.unshallow": "true",
"RunOnceActivity.typescript.service.memoryLimit.init": "true",
"Shell Script.agent_contas.executor": "Run",
"Shell Script.agent_frontend.executor": "Run",
"Shell Script.agent_template_backend.executor": "Run",
"Shell Script.mcp gateway.executor": "Run",
"Shell Script.mcp servers.executor": "Run",
"git-widget-placeholder": "main",
"kotlin-language-version-configured": "true",
"last_opened_file_path": "D:/MSI_Projects/agent_framework_oci",
"node.js.detected.package.eslint": "true",
"node.js.detected.package.tslint": "true",
"node.js.selected.package.eslint": "(autodetect)",
"node.js.selected.package.tslint": "(autodetect)",
"nodejs_package_manager_path": "npm",
"settings.editor.selected.configurable": "project.propVCSSupport.DirectoryMappings",
"vue.rearranger.settings.migration": "true"
}
}</component>
}]]></component>
<component name="RunManager" selected="Shell Script.agent_contas">
<configuration name="agent_contas" type="ShConfigurationType">
<option name="SCRIPT_TEXT" value="wsl bash -lc &quot;source .venv/bin/activate &amp;&amp; python -m uvicorn app.main:app --host 0.0.0.0 --port 8000 --reload&quot;" />
@@ -231,6 +234,7 @@
<workItem from="1786739151301" duration="953000" />
<workItem from="1787159165094" duration="10002000" />
<workItem from="1787241513239" duration="1241000" />
<workItem from="1787272670429" duration="822000" />
</task>
<task id="LOCAL-00001" summary="Ajustes na documentação e remanejamento dos folders">
<option name="closed" value="true" />