Skip to content

feat: Add Kavenegar (کاوه‌نگار) platform plugin - #4

Merged
m4tinbeigi-official merged 1 commit into
mainfrom
feature/kavenegar-plugin
Jun 26, 2026
Merged

m4tinbeigi-official merged 1 commit into
mainfrom
feature/kavenegar-plugin

Conversation

@m4tinbeigi-official

Copy link
Copy Markdown
Owner

Adds support for Kavenegar (کاوه‌نگار) API integration.\n\nCreated automatically by Hermes Agent.

@github-actions

Copy link
Copy Markdown

🔎 Lint report: feature/kavenegar-plugin vs origin/main

ruff

Total: 11 on HEAD, 0 on base (🆕 +11)

🆕 New issues (7):

Rule Count
unknown 7
First entries
plugins/platforms/kavenegar/__init__.py:1: [unknown] Expected `,`, found `=`
plugins/platforms/kavenegar/adapter.py:59: [unknown] Unexpected indentation
plugins/platforms/kavenegar/__init__.py:1: [unknown] Expected a newline after line continuation character
plugins/platforms/kavenegar/adapter.py:64: [unknown] Expected a statement
plugins/platforms/kavenegar/adapter.py:49: [unknown] Expected an indented block after `try` statement
plugins/platforms/kavenegar/__init__.py:1: [unknown] Simple statements must be separated by newlines or semicolons
plugins/platforms/kavenegar/adapter.py:58: [unknown] Expected an expression

✅ Fixed issues: none

Unchanged: 0 pre-existing issues carried over.

ty (type checker)

Total: 11507 on HEAD, 11493 on base (🆕 +14)

🆕 New issues (12):

Rule Count
invalid-syntax 7
unresolved-import 3
invalid-argument-type 1
invalid-assignment 1
First entries
plugins/platforms/kavenegar/__init__.py:1: [unresolved-import] unresolved-import: Module `plugins.platforms.kavenegar.adapter` has no member `n`
plugins/platforms/kavenegar/__init__.py:1: [invalid-syntax] invalid-syntax: Simple statements must be separated by newlines or semicolons
plugins/platforms/kavenegar/__init__.py:1: [unresolved-import] unresolved-import: Module `plugins.platforms.kavenegar.adapter` has no member `n__all__`
plugins/platforms/kavenegar/adapter.py:49: [invalid-syntax] invalid-syntax: Expected an indented block after `try` statement
plugins/platforms/kavenegar/adapter.py:59: [invalid-syntax] invalid-syntax: Unexpected indentation
plugins/platforms/kavenegar/__init__.py:1: [invalid-syntax] invalid-syntax: Expected `,`, found `=`
plugins/platforms/kavenegar/adapter.py:64: [invalid-syntax] invalid-syntax: Expected a statement
plugins/platforms/kavenegar/adapter.py:58: [invalid-syntax] invalid-syntax: Expected an expression
plugins/platforms/kavenegar/adapter.py:15: [unresolved-import] unresolved-import: Cannot resolve imported module `aiohttp`
plugins/platforms/kavenegar/adapter.py:27: [invalid-argument-type] invalid-argument-type: Argument to `BasePlatformAdapter.__init__` is incorrect: Expected `Platform`, found `Literal["kavenegar"]`
tests/run_agent/test_credits_notices_toggle.py:76: [invalid-assignment] invalid-assignment: Object of type `None` is not assignable to attribute `_credits_session_start_micros` of type `int`
plugins/platforms/kavenegar/__init__.py:1: [invalid-syntax] invalid-syntax: Expected a newline after line continuation character

✅ Fixed issues (2):

Rule Count
unresolved-attribute 2
First entries
tests/run_agent/test_credits_notices_toggle.py:76: [unresolved-attribute] unresolved-attribute: Unresolved attribute `_credits_session_start_micros` on type `AIAgent`
run_agent.py:3002: [unresolved-attribute] unresolved-attribute: Object of type `Self@get_credits_spent_micros` has no attribute `_credits_session_start_micros`

Unchanged: 6037 pre-existing issues carried over.

Diagnostics are surfaced as warnings — this check never fails the build.

@m4tinbeigi-official
m4tinbeigi-official merged commit 4275513 into main Jun 26, 2026
23 of 24 checks passed
@m4tinbeigi-official
m4tinbeigi-official deleted the feature/kavenegar-plugin branch June 26, 2026 20:28
@m4tinbeigi-official
m4tinbeigi-official restored the feature/kavenegar-plugin branch June 26, 2026 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant