Initial commit with Advoware proxy

This commit is contained in:
root
2025-10-19 14:57:07 +00:00
commit 273aa8b549
45771 changed files with 5534555 additions and 0 deletions

11
steps/hello_step.py Normal file
View File

@@ -0,0 +1,11 @@
config = {
"name": "HelloWorld",
"type": "api",
"path": "/hello",
"method": "GET",
"emits": ["hello.triggered"]
}
async def handler(req, context):
await context.emit({"topic": "hello.triggered", "data": {"message": "Event from API"}})
return {"status": 200, "body": {"message": "Hello World from Motia!"}}