19 Commits

Author SHA1 Message Date
henryruhs cdd7c25586 once invalid value causes other to fail too 2026-04-06 20:42:26 +02:00
Harisreedhar b1daf2bc03 Ignore set state for non api scope (#1073)
* ignore set state for non api scope

* replace 404 with 422

* remove two loops

* use HTTP_422_UNPROCESSABLE_CONTENT
2026-04-06 20:27:23 +02:00
Harisreedhar ab24cd3f2e Implement basic webrtc stream (#1054)
* implement basic webrtc_stream

* add aiortc to requirements.txt

* update aiortc version

* rename variables with rtc_ prefix

* changes

* changes

* change helper to assert_helper and stream_helper

* rename variables with rtc_ prefix

* add error handling

* return whole connection

* remove monkey patch and some cleaning

* cleanup

* tiny adjustments

* tiny adjustments

* proper typing and naming for rtc offer set

* - remove async from on_video_track method
- rename source -> target
- add audio

* audio always before video

---------

Co-authored-by: henryruhs <info@henryruhs.com>
2026-03-17 14:02:40 +01:00
Henry Ruhs c25e0a2f88 rename args store to capability store (#1048)
* rename args store to capability store

* fix lint and remove unused types
2026-03-17 14:02:16 +01:00
Harisreedhar 08653f85ff Feat/refactor args (#1045)
* follow the new argument naming convention

* revert

* use get_xxx_arguments

* Simple fix Args

* Fix more stuff

---------

Co-authored-by: henryruhs <info@henryruhs.com>
2026-03-17 14:02:16 +01:00
henryruhs 2b447503d5 allow register_arguments to be nested, fix types, adjust processors 2026-03-17 14:02:16 +01:00
harisreedhar f36ae318fd reformat test_api_state.py 2026-03-17 14:02:16 +01:00
harisreedhar eb72ec461b remove value None as default 2026-03-17 14:02:16 +01:00
harisreedhar 4fae6af88d fix test 2026-03-17 14:02:13 +01:00
harisreedhar 88b3241b61 add capabilities 2026-03-17 14:02:13 +01:00
henryruhs 4ba6f7643e Revamp the upload 2026-03-17 14:01:49 +01:00
harisreedhar 6f66937e72 upload asset endpoint 2026-03-17 14:01:49 +01:00
harisreedhar 771ffe3081 asset store update 2026-03-17 14:01:49 +01:00
henryruhs f59bf04bc2 Minor cleanup 2026-03-17 14:01:49 +01:00
harisreedhar 5a2eb2059d state api updates 2026-03-17 14:01:49 +01:00
harisreedhar b1aff93617 state api updates 2026-03-17 14:01:49 +01:00
harisreedhar 151ec22a35 state api updates 2026-03-17 14:01:49 +01:00
Henry Ruhs 051aed6133 Scope for Args (#988)
* Add API scopes

* Add API scopes

* Add API scopes

* Add API scopes

* Add API scopes

* Add API scopes

* Add API scopes

* Add API scopes

* Remove system memory limit (#986)

* Add session_id, make token size more reasonable (#983)

* Add session_id, make token size more reasonable

* Use more direct approach

* Fix more stuff

* Fix ignore comments

* Fix naming

* Fix lint
2026-03-17 14:01:46 +01:00
Henry Ruhs 04f6a2c758 Local API (#982)
* Introduce API scelleton

* Raw impl for session

* Simple state endpoint

* Apply _body naming

* Finalize session testing and comment out tons of useless code

* Clean and refactor part1

* Clean and refactor part2

* Clean and refactor part2

* Clean and refactor part2

* Clean and refactor part2

* Refactor middleware

* Refactor middleware

* Clean and refactor part3

* TDD and 2 beers

* TDD and 2 beers

* Complete state endpoints

* You can only set what is already present

* Use only JSON as response

* Use default logger

* Improve auth extraction

* Extend api command with more args

* Adjust API messages
2026-03-17 14:01:35 +01:00