Skip to content

Commit b67a8ce

Browse files
committed
feat: commit corrected agent module and build script
1 parent 42929e1 commit b67a8ce

3 files changed

Lines changed: 61 additions & 6 deletions

File tree

python/src/openfloor/agent.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
from typing import Optional, List, Tuple, Dict
2-
import events as events_module
2+
from .envelope import Event
33
from abc import ABC, abstractmethod
44
from openfloor import Parameters, DialogEvent, TextFeature, To, Sender, Manifest, Conversation, Envelope, Event, InviteEvent, UtteranceEvent, ContextEvent, UninviteEvent, DeclineInviteEvent, ByeEvent, GetManifestsEvent, PublishManifestsEvent, RequestFloorEvent, GrantFloorEvent, RevokeFloorEvent
55

6-
class OpenFloorEvents(events_module.Events):
6+
class OpenFloorEvents(Event):
77
"""Base class for Open Floor agents that defines event handlers"""
88
__events__ = (
99
'on_envelope',

python/src/requirements.txt

Lines changed: 33 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,33 @@
1-
sphinx
2-
furo
3-
jsonpath-ng
4-
sphinx_autodoc_typehints
1+
accessible-pygments==0.0.5
2+
alabaster==1.0.0
3+
babel==2.17.0
4+
beautifulsoup4==4.13.5
5+
certifi==2025.8.3
6+
charset-normalizer==3.4.3
7+
colorama==0.4.6
8+
docutils==0.21.2
9+
furo==2025.7.19
10+
idna==3.10
11+
imagesize==1.4.1
12+
Jinja2==3.1.6
13+
jsonpath-ng==1.7.0
14+
MarkupSafe==3.0.2
15+
packaging==25.0
16+
ply==3.11
17+
Pygments==2.19.2
18+
requests==2.32.5
19+
roman-numerals-py==3.1.0
20+
snowballstemmer==3.0.1
21+
soupsieve==2.8
22+
Sphinx==8.2.3
23+
sphinx-autodoc-typehints==3.2.0
24+
sphinx-basic-ng==1.0.0b2
25+
sphinxcontrib-applehelp==2.0.0
26+
sphinxcontrib-devhelp==2.0.0
27+
sphinxcontrib-htmlhelp==2.1.0
28+
sphinxcontrib-jsmath==1.0.1
29+
sphinxcontrib-qthelp==2.0.0
30+
sphinxcontrib-serializinghtml==2.0.0
31+
typing_extensions==4.15.0
32+
urllib3==2.5.0
33+
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
@echo off
2+
REM Batch file to build Sphinx documentation
3+
4+
SET SPHINX_DOCS_DIR="C:\Users\dahl\OneDrive\Open Voice Network\GitHub\openfloor-python\python\src\sphinx_docs"
5+
6+
echo Navigating to documentation directory: %SPHINX_DOCS_DIR%
7+
cd /d %SPHINX_DOCS_DIR%
8+
9+
echo Starting Sphinx build...
10+
python -m sphinx -b html . _build
11+
12+
IF %ERRORLEVEL% NEQ 0 (
13+
echo.
14+
echo ERROR: Sphinx build failed!
15+
echo Please check the output above for details.
16+
echo.
17+
goto :end
18+
)
19+
20+
echo.
21+
echo Sphinx build completed successfully!
22+
echo You can find the generated HTML documentation in: %SPHINX_DOCS_DIR%\_build\html
23+
echo.
24+
25+
:end
26+
pause

0 commit comments

Comments
 (0)