rossum-agent 1.0.0rc1__py3-none-any.whl → 1.0.0rc3__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.
rossum_agent/__init__.py CHANGED
@@ -4,6 +4,6 @@ from __future__ import annotations
4
4
 
5
5
  from rossum_agent.agent import AgentConfig, AgentStep, RossumAgent, create_agent
6
6
 
7
- __version__ = "1.0.0rc1"
7
+ __version__ = "1.0.0rc3"
8
8
 
9
9
  __all__ = ["AgentConfig", "AgentStep", "RossumAgent", "create_agent"]
@@ -16,9 +16,7 @@ from fastapi import Header, HTTPException, status
16
16
  logger = logging.getLogger(__name__)
17
17
 
18
18
  # Base allowed hosts pattern
19
- _BASE_ALLOWED_HOSTS = (
20
- r"elis\.rossum\.ai|api\.elis\.rossum\.ai|(.*\.)?api\.rossum\.ai|.*\.rossum\.app|(elis|api\.elis)\.develop\.r8\.lol"
21
- )
19
+ _BASE_ALLOWED_HOSTS = r"elis\.rossum\.ai|api\.elis\.rossum\.ai|(.*\.)?api\.rossum\.ai|.*\.rossum\.(app|ai)|(elis|api\.elis)\.develop\.r8\.lol"
22
20
 
23
21
  # Additional hosts from environment variable (comma-separated regex patterns)
24
22
  # Example: ADDITIONAL_ALLOWED_ROSSUM_HOSTS=".*\.review\.r8\.lol,.*\.staging\.example\.com"
rossum_agent/api/main.py CHANGED
@@ -119,7 +119,7 @@ app.add_middleware(RequestSizeLimitMiddleware)
119
119
 
120
120
  def _build_cors_origin_regex() -> str:
121
121
  """Build CORS origin regex including any additional allowed hosts."""
122
- patterns = [r".*\.rossum\.app"]
122
+ patterns = [r".*\.rossum\.(app|ai)"]
123
123
  additional_hosts = os.environ.get("ADDITIONAL_ALLOWED_ROSSUM_HOSTS", "")
124
124
  if additional_hosts:
125
125
  patterns.extend(p.strip() for p in additional_hosts.split(",") if p.strip())
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rossum-agent
3
- Version: 1.0.0rc1
3
+ Version: 1.0.0rc3
4
4
  Summary: AI agent toolkit for Rossum: document workflows conversationally, debug pipelines automatically, and enable agentic configuration of intelligent document processing.
5
5
  Author-email: "Dan Stancl (Rossum AI)" <daniel.stancl@gmail.com>
6
6
  License: MIT
@@ -1,4 +1,4 @@
1
- rossum_agent/__init__.py,sha256=Jrd14J7pY1KGl0J3Wipi0y7WV9raTz8v85FnFFLUIH0,235
1
+ rossum_agent/__init__.py,sha256=juPhiUxMWbeEcO4SgqBAByp2b-V81RrKMBlQeSzFSQo,235
2
2
  rossum_agent/agent_logging.py,sha256=d6V-VxFEiSgaiMV7JZnUA1Chg34SLU_e3ZF42gKmoZU,1848
3
3
  rossum_agent/bedrock_client.py,sha256=Ri3CmeC3DAazT8TnRf0m8rbyd0chSU0p9nI3an04n2E,2423
4
4
  rossum_agent/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -16,8 +16,8 @@ rossum_agent/agent/skills.py,sha256=u-YarSh8I4monU0v8n74c2M_04x5oKIEOCukCgdnubQ,
16
16
  rossum_agent/agent/types.py,sha256=3wlQuHRuVRBeDo22Y-GhVsUwFyJdUdZ8QxmDFsBX6Vg,156
17
17
  rossum_agent/api/__init__.py,sha256=t3qzj02YM9fC82ZESBxPnt3z2psrFQ4uZb-iCzomm-M,47
18
18
  rossum_agent/api/cli.py,sha256=_1K2qGQ_WaSKUMbtIQvNV5iiSGf3wBxbSOXM_bPWN8Q,1681
19
- rossum_agent/api/dependencies.py,sha256=MWCMH6dfBZC5l3ARK_4ovti0Blq5gvqPB5xymA-emmg,6900
20
- rossum_agent/api/main.py,sha256=rCp7GYIJkFX8JS5PZ7aVk_53hx-gK7Giu-OCU5iZ7TA,5893
19
+ rossum_agent/api/dependencies.py,sha256=i-mDNWiEKuMEEI93o4EIv-0YKByFGw-ALOH7OnkNpg0,6897
20
+ rossum_agent/api/main.py,sha256=LAmUGcbG9hVTZZtz2Mod-b1iMrNPxGmXXYqUiEX4K0U,5898
21
21
  rossum_agent/api/models/__init__.py,sha256=j4t5I5ptWWMBA_eS5FL3X6MJiAxTDF53ACnJPAvAZbE,54
22
22
  rossum_agent/api/models/schemas.py,sha256=g01hly4XhiwlYXVT6wQHGRVttFZRARtnrTVbxra56t4,9085
23
23
  rossum_agent/api/routes/__init__.py,sha256=L2rqkYFsGSCU1Qnkgrw5ngCisTmLUPH747uX3ess2NA,26
@@ -59,9 +59,9 @@ rossum_agent/tools/subagents/hook_debug.py,sha256=5lJiIQAh1nf6uOF05KB4AAjD72cZUw
59
59
  rossum_agent/tools/subagents/knowledge_base.py,sha256=Xr1I6uscK8ETSwx_bS7ZylgtBI5Cj_p1Pmtd08655BI,10580
60
60
  rossum_agent/tools/subagents/mcp_helpers.py,sha256=1yR1gvoWJ1gfzXDcXRwO94viUrRRz7QuRUtCy0dc518,1452
61
61
  rossum_agent/tools/subagents/schema_patching.py,sha256=eJWK3HLdZ15EHr7S8myFo8AbX3N8MTN2r1-tAMb4-K4,17377
62
- rossum_agent-1.0.0rc1.dist-info/licenses/LICENSE,sha256=5nqARgtmPvoIU-1o1az3i8Qi2WOHYIn03vD6haewvEI,1087
63
- rossum_agent-1.0.0rc1.dist-info/METADATA,sha256=O5Z7kEQ9yUoMCEL4Yxz2YpwVv-qJUut8Dz2JKXBMcHw,10964
64
- rossum_agent-1.0.0rc1.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
65
- rossum_agent-1.0.0rc1.dist-info/entry_points.txt,sha256=1bbSeeptoKqT5-cWG4BuoMOGh_Crhu1sLL8AHXhbAJ0,115
66
- rossum_agent-1.0.0rc1.dist-info/top_level.txt,sha256=jQm_Tm7Yq8oB68I8Y1BEhGqMGrusIgqfvfzeO1PGQso,13
67
- rossum_agent-1.0.0rc1.dist-info/RECORD,,
62
+ rossum_agent-1.0.0rc3.dist-info/licenses/LICENSE,sha256=5nqARgtmPvoIU-1o1az3i8Qi2WOHYIn03vD6haewvEI,1087
63
+ rossum_agent-1.0.0rc3.dist-info/METADATA,sha256=UrDFNrY5Gos-nanZVlutpcGVVTWPv6Sw4jeApupOY0U,10964
64
+ rossum_agent-1.0.0rc3.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
65
+ rossum_agent-1.0.0rc3.dist-info/entry_points.txt,sha256=1bbSeeptoKqT5-cWG4BuoMOGh_Crhu1sLL8AHXhbAJ0,115
66
+ rossum_agent-1.0.0rc3.dist-info/top_level.txt,sha256=jQm_Tm7Yq8oB68I8Y1BEhGqMGrusIgqfvfzeO1PGQso,13
67
+ rossum_agent-1.0.0rc3.dist-info/RECORD,,