process-gpt-agent-sdk 0.1.9__py3-none-any.whl → 0.2.0__py3-none-any.whl

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.

Potentially problematic release.


This version of process-gpt-agent-sdk might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: process-gpt-agent-sdk
3
- Version: 0.1.9
3
+ Version: 0.2.0
4
4
  Summary: Supabase 기반 이벤트/작업 폴링으로 A2A AgentExecutor를 실행하는 SDK
5
5
  License: MIT
6
6
  Project-URL: Homepage, https://github.com/your-org/process-gpt-agent-sdk
@@ -1,7 +1,7 @@
1
1
  processgpt_agent_sdk/__init__.py,sha256=IvAL5WBZhI83LYQogRP6-i04bxZkhmkgmES4FRQY888,185
2
- processgpt_agent_sdk/server.py,sha256=MQMAnaFFik_1h9aaQdd8yTHf6uYbLA_SMVCJAWdqMYU,8922
2
+ processgpt_agent_sdk/server.py,sha256=1RCUPNeuDJ7ZQfIiz4d0G9oWNKbYZGWls6SV2U8MR6I,8966
3
3
  processgpt_agent_sdk/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
- processgpt_agent_sdk/core/database.py,sha256=qddmyIFBZaaij-2T1i6tnRijMqj9U8Iu-doa42T6kqY,18865
4
+ processgpt_agent_sdk/core/database.py,sha256=GSXYcJXADs0wCoFo54lu82MnqQPoEvqQ6n5BDXA8o60,18956
5
5
  processgpt_agent_sdk/tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
6
  processgpt_agent_sdk/tools/human_query_tool.py,sha256=pntznVNt3FOsWunPe3-WIlRd7cB2ibyM6Tndyi6YQJk,10314
7
7
  processgpt_agent_sdk/tools/knowledge_tools.py,sha256=AOtxvLypu343877ZzzELGq3At-E_2NiAqEw0Njlephg,8937
@@ -12,7 +12,7 @@ processgpt_agent_sdk/utils/crewai_event_listener.py,sha256=343btAePWM19KbjDwElYb
12
12
  processgpt_agent_sdk/utils/event_handler.py,sha256=ogmKcfhD2PHVQCQHpjVevZOe6LThwKIsrJcWFYqGlPA,2337
13
13
  processgpt_agent_sdk/utils/logger.py,sha256=2hX1GClkrE3ZVzvV61ORlZg4QDh59g-lr3qJyIRAfD4,948
14
14
  processgpt_agent_sdk/utils/summarizer.py,sha256=j57R5TSr8QNy_INA-sh0tFEUCGcea07brT5sahHxATI,4567
15
- process_gpt_agent_sdk-0.1.9.dist-info/METADATA,sha256=Ms9SdYN9tJFv3NgGdjF9zsdkc-0-laxn4CKAHDe9rFw,12898
16
- process_gpt_agent_sdk-0.1.9.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
17
- process_gpt_agent_sdk-0.1.9.dist-info/top_level.txt,sha256=Xe6zrj3_3Vv7d0pl5RRtenVUckwOVBVLQn2P03j5REo,21
18
- process_gpt_agent_sdk-0.1.9.dist-info/RECORD,,
15
+ process_gpt_agent_sdk-0.2.0.dist-info/METADATA,sha256=4cg2HqmrXfT0dd_qgQ4JDDh7a6N828NRmsblMiNanVM,12898
16
+ process_gpt_agent_sdk-0.2.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
17
+ process_gpt_agent_sdk-0.2.0.dist-info/top_level.txt,sha256=Xe6zrj3_3Vv7d0pl5RRtenVUckwOVBVLQn2P03j5REo,21
18
+ process_gpt_agent_sdk-0.2.0.dist-info/RECORD,,
@@ -332,9 +332,10 @@ async def fetch_form_types(tool_val: str, tenant_id: str) -> Tuple[str, List[Dic
332
332
  client.table("form_def").select("fields_json").eq("id", form_id).eq("tenant_id", tenant_id).execute()
333
333
  )
334
334
  fields_json = resp.data[0].get("fields_json") if resp.data else None
335
+ form_html = resp.data[0].get('html') if resp.data else None
335
336
  if not fields_json:
336
- return form_id, [{"key": form_id, "type": "default", "text": ""}]
337
- return form_id, fields_json
337
+ return form_id, [{"key": form_id, "type": "default", "text": ""}], form_html
338
+ return form_id, fields_json, form_html
338
339
 
339
340
  resp = await _async_retry(_call, name="fetch_form_types", fallback=lambda: (tool_val, [{"key": tool_val, "type": "default", "text": ""}]))
340
341
  return resp if resp else (tool_val, [{"key": tool_val, "type": "default", "text": ""}])
@@ -86,7 +86,7 @@ class ProcessGPTAgentServer:
86
86
  mcp_config = await fetch_tenant_mcp_config(str(task_record.get("tenant_id", "")))
87
87
  write_log_message(f"[PREP] mcp_config(툴) → {mcp_config}")
88
88
 
89
- form_id, form_types = await fetch_form_types(
89
+ form_id, form_types, form_html = await fetch_form_types(
90
90
  str(task_record.get("tool", "")),
91
91
  str(task_record.get("tenant_id", ""))
92
92
  )
@@ -108,6 +108,7 @@ class ProcessGPTAgentServer:
108
108
  "mcp_config": mcp_config,
109
109
  "form_id": form_id,
110
110
  "form_types": form_types or [],
111
+ "form_html": form_html or "",
111
112
  "activity_name": str(task_record.get("activity_name", "")),
112
113
  "message": str(task_record.get("description", "")),
113
114
  "agent_orch": str(task_record.get("agent_orch", "")),