process-gpt-agent-sdk 0.3.13__tar.gz → 0.3.14__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.

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.3.13
3
+ Version: 0.3.14
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
@@ -649,32 +649,6 @@ python sample_server/minimal_server.py
649
649
  python my_server.py
650
650
  ```
651
651
 
652
- ## 🚀 배포/버전업 (PyPI/TestPyPI)
653
-
654
- - 사전 준비: PyPI 혹은 TestPyPI 토큰 환경변수 설정
655
-
656
- macOS/Linux:
657
- ```bash
658
- # TestPyPI 배포 예시
659
- export TEST_PYPI_TOKEN="<your_testpypi_token>"
660
- ./release.sh 0.3.13 testpypi
661
-
662
- # PyPI 배포 예시
663
- export PYPI_TOKEN="<your_pypi_token>"
664
- ./release.sh 0.3.13 pypi
665
- ```
666
-
667
- Windows PowerShell:
668
- ```powershell
669
- # TestPyPI 배포 예시
670
- $env:TEST_PYPI_TOKEN="<your_testpypi_token>"
671
- ./release.ps1 -Version 0.3.13 -TestPyPI
672
-
673
- # PyPI 배포 예시
674
- $env:PYPI_TOKEN="<your_pypi_token>"
675
- ./release.ps1 -Version 0.3.13
676
- ```
677
-
678
652
  ---
679
653
 
680
654
  ## 📚 레퍼런스
@@ -625,32 +625,6 @@ python sample_server/minimal_server.py
625
625
  python my_server.py
626
626
  ```
627
627
 
628
- ## 🚀 배포/버전업 (PyPI/TestPyPI)
629
-
630
- - 사전 준비: PyPI 혹은 TestPyPI 토큰 환경변수 설정
631
-
632
- macOS/Linux:
633
- ```bash
634
- # TestPyPI 배포 예시
635
- export TEST_PYPI_TOKEN="<your_testpypi_token>"
636
- ./release.sh 0.3.13 testpypi
637
-
638
- # PyPI 배포 예시
639
- export PYPI_TOKEN="<your_pypi_token>"
640
- ./release.sh 0.3.13 pypi
641
- ```
642
-
643
- Windows PowerShell:
644
- ```powershell
645
- # TestPyPI 배포 예시
646
- $env:TEST_PYPI_TOKEN="<your_testpypi_token>"
647
- ./release.ps1 -Version 0.3.13 -TestPyPI
648
-
649
- # PyPI 배포 예시
650
- $env:PYPI_TOKEN="<your_pypi_token>"
651
- ./release.ps1 -Version 0.3.13
652
- ```
653
-
654
628
  ---
655
629
 
656
630
  ## 📚 레퍼런스
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: process-gpt-agent-sdk
3
- Version: 0.3.13
3
+ Version: 0.3.14
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
@@ -649,32 +649,6 @@ python sample_server/minimal_server.py
649
649
  python my_server.py
650
650
  ```
651
651
 
652
- ## 🚀 배포/버전업 (PyPI/TestPyPI)
653
-
654
- - 사전 준비: PyPI 혹은 TestPyPI 토큰 환경변수 설정
655
-
656
- macOS/Linux:
657
- ```bash
658
- # TestPyPI 배포 예시
659
- export TEST_PYPI_TOKEN="<your_testpypi_token>"
660
- ./release.sh 0.3.13 testpypi
661
-
662
- # PyPI 배포 예시
663
- export PYPI_TOKEN="<your_pypi_token>"
664
- ./release.sh 0.3.13 pypi
665
- ```
666
-
667
- Windows PowerShell:
668
- ```powershell
669
- # TestPyPI 배포 예시
670
- $env:TEST_PYPI_TOKEN="<your_testpypi_token>"
671
- ./release.ps1 -Version 0.3.13 -TestPyPI
672
-
673
- # PyPI 배포 예시
674
- $env:PYPI_TOKEN="<your_pypi_token>"
675
- ./release.ps1 -Version 0.3.13
676
- ```
677
-
678
652
  ---
679
653
 
680
654
  ## 📚 레퍼런스
@@ -1,23 +1,11 @@
1
- """
2
- ProcessGPT Agent SDK
3
-
4
- 이 패키지는 ProcessGPT 시스템과 통합하기 위한 Agent Framework를 제공합니다.
5
- """
6
-
7
- from .processgpt_agent_framework import (
8
- ProcessGPTAgentServer,
9
- ProcessGPTRequestContext,
10
- ProcessGPTEventQueue,
11
- TodoListRowContext,
12
- )
13
-
1
+ from .processgpt_agent_framework import ProcessGPTAgentServer
14
2
  from .database import (
15
3
  initialize_db,
4
+ get_consumer_id,
16
5
  polling_pending_todos,
17
6
  record_event,
18
7
  save_task_result,
19
8
  update_task_error,
20
- get_consumer_id,
21
9
  fetch_agent_data,
22
10
  fetch_all_agents,
23
11
  fetch_form_types,
@@ -25,24 +13,21 @@ from .database import (
25
13
  fetch_human_users_by_proc_inst_id,
26
14
  )
27
15
 
28
- __version__ = "0.3.12"
29
-
30
16
  __all__ = [
31
- # Framework classes
32
17
  "ProcessGPTAgentServer",
33
- "ProcessGPTRequestContext",
34
- "ProcessGPTEventQueue",
35
- "TodoListRowContext",
36
- # Database functions
37
18
  "initialize_db",
19
+ "get_consumer_id",
38
20
  "polling_pending_todos",
39
21
  "record_event",
40
22
  "save_task_result",
41
23
  "update_task_error",
42
- "get_consumer_id",
43
24
  "fetch_agent_data",
44
25
  "fetch_all_agents",
45
26
  "fetch_form_types",
46
27
  "fetch_tenant_mcp_config",
47
28
  "fetch_human_users_by_proc_inst_id",
48
29
  ]
30
+
31
+ __version__ = "0.3.12"
32
+
33
+
@@ -258,7 +258,7 @@ async def fetch_agent_data(user_ids: str) -> List[Dict[str, Any]]:
258
258
  resp = (
259
259
  client
260
260
  .table("users")
261
- .select("id, username, role, goal, persona, tools, profile, model, tenant_id, is_agent")
261
+ .select("id, username, role, goal, persona, tools, profile, model, tenant_id, is_agent, endpoint")
262
262
  .in_("id", valid_ids)
263
263
  .eq("is_agent", True)
264
264
  .execute()
@@ -1,3 +1,4 @@
1
+
1
2
  import asyncio
2
3
  import logging
3
4
  import json
@@ -388,7 +389,7 @@ class ProcessGPTAgentServer:
388
389
  async def mark_task_failed(self, todolist_id: str, error_message: str):
389
390
  """태스크 실패 처리 (DB 상태 업데이트)"""
390
391
  try:
391
- await update_task_error(todolist_id, error_message)
392
+ await update_task_error(todolist_id)
392
393
  except Exception as e:
393
394
  logger.exception(
394
395
  "mark_task_failed error (todolist_id=%s): %s",
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "process-gpt-agent-sdk"
7
- version = "0.3.13"
7
+ version = "0.3.14"
8
8
  description = "Supabase 기반 이벤트/작업 폴링으로 A2A AgentExecutor를 실행하는 SDK"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.9"