473 Commits

Author SHA1 Message Date
Tejas 67d234145a Merge pull request #219 from agentrhq/minor-refactor-main
chore: minor refactor
2026-05-12 12:31:40 +05:30
Tejas 92a1cf5a4a Merge pull request #227 from agentrhq/refactor/deduplicate-AES-256-GCM
refactor: introduce _AesGcmCrypto base class to unify encryption logic across implementations
2026-05-12 12:27:10 +05:30
Tejas 74b96a319c Merge pull request #228 from agentrhq/refactor/delegate-token-revocation-to-flows
feat: add RFC 7009 token revocation support to BaseFlow and integrate into Auth service
2026-05-12 12:16:29 +05:30
Tejas 8f4d236d04 Merge pull request #229 from agentrhq/perf/fix-double-get_connection()-call
refactor: extract authentication token and header generation into private helper methods
2026-05-12 12:13:27 +05:30
Ankit Ranjan f0fd5d87b4 refactor: move registration_endpoint from OAuthConfig to a dedicated ClientRegistrationConfig model 2026-05-11 18:19:10 +05:30
Ankit Ranjan 730af7e3f8 refactor: simplify _get_auth_headers_from_record method signature formatting 2026-05-11 18:09:49 +05:30
Ankit Ranjan 4a95d4e4f3 refactor: extract authentication token and header generation into private helper methods 2026-05-11 18:09:09 +05:30
Ankit Ranjan 7af96fc563 feat: add RFC 7009 token revocation support to BaseFlow and integrate into Auth service 2026-05-11 18:01:01 +05:30
Ankit Ranjan 20c7c70621 refactor: introduce _AesGcmCrypto base class to unify encryption logic across implementations 2026-05-11 17:48:09 +05:30
Ankit Ranjan 77b07d0b41 feat: move OAuth2 refresh token logic to BaseFlow and update service to use flow-specific handlers 2026-05-11 17:41:21 +05:30
Ankit Ranjan 78ac38ceaa feat: introduce parse_store_key utility and integrate into service for robust key parsing 2026-05-11 17:29:32 +05:30
Manoj Bajaj e5c26992ff chore: derive __version__ from package metadata; add no-direct-main rule
pyproject.toml is now the single source of truth for the version.
__init__.py no longer hardcodes a duplicate string that can drift out of
sync on every release.

Also adds an AI agent rule to AGENTS.md: never commit directly to main —
always open a PR.

Closes #222

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Entire-Checkpoint: d9b357881fc6
2026-05-11 17:06:02 +05:30
Ankit Ranjan 44ac9a3933 style: apply PEP 8 formatting to multi-line import in cli/main.py 2026-05-11 16:32:29 +05:30
Ankit Ranjan 4ac8199c1c Merge branch 'main' into minor-refactor-main 2026-05-11 16:29:21 +05:30
Ankit Ranjan 475ef2a44e refactor: introduce auth_command decorator to consolidate CLI command boilerplate 2026-05-11 16:23:35 +05:30
Manoj Bajaj 9f9b8d4de7 Merge pull request #217 from manojbajaj95/69-feat-headless-api-key-import-via-provider-declared-env-var
feat(cli): add scan command for env provider detection
2026-05-11 15:17:32 +05:30
Ankit Ranjan f806a07af5 refactor: remove unused LocalAppStore import 2026-05-11 15:07:00 +05:30
Ankit Ranjan 7698afdb2d refactor: simplify local key path resolution in health check route 2026-05-11 15:06:36 +05:30
Ankit Ranjan da86f62fc2 refactor: remove master key permission checks 2026-05-11 15:05:09 +05:30
rishabhraj36 33298b8141 Merge branch 'main' into 69-feat-headless-api-key-import-via-provider-declared-env-var 2026-05-11 15:00:48 +05:30
Ankit Ranjan 54903b7845 refactor: clean up code formatting and enforce strict permissions on storage files 2026-05-11 14:43:57 +05:30
Ankit Ranjan dede72a1a6 feat: enhance system health checks with permission, integrity, and key rotation monitoring 2026-05-11 14:43:21 +05:30
Ankit Ranjan 40fb056175 refactor: clean up redundant imports and utility exports in utils.py and cli/main.py 2026-05-11 14:26:34 +05:30
Ankit Ranjan 45b4752dfc Merge branch 'main' into refactor-main 2026-05-11 14:24:59 +05:30
Ankit Ranjan 67fc18509e Merge branch 'refactor-main' of https://github.com/manojbajaj95/authsome into refactor-main 2026-05-11 14:20:10 +05:30
Ankit Ranjan 292af5278d refactor: modularize CLI architecture by migrating context management and helpers to dedicated modules 2026-05-11 14:14:46 +05:30
Ankit Ranjan 0048f47296 refactor: simplify daemon lifecycle management by removing PID-based process tracking from the health schema and stop logic 2026-05-11 14:07:44 +05:30
Ankit Ranjan e05c84e8a8 refactor: add vertical whitespace 2026-05-11 13:26:56 +05:30
rishabhraj36 9dee261c01 feat(cli): add scan command for env provider detection and optional import 2026-05-11 13:26:17 +05:30
Ankit Ranjan c25fe9c2ca fix: prevent accidental termination of unrelated processes by validating daemon PID against local lock record during shutdown 2026-05-11 13:24:16 +05:30
Tejas f6d4ec5184 Merge branch 'main' into fix/warn-when-token-refresh-fails 2026-05-11 13:08:54 +05:30
Tejas 9f40cc6e02 Merge pull request #208 from manojbajaj95/feat/structured-exit-code-map
feat: stabilize and document specific CLI exit codes for error states
2026-05-11 13:03:26 +05:30
Tejas 8fea50e09a Merge pull request #213 from manojbajaj95/daemon-reload
feat: add --reload flag to daemon serve command and replace custom file watcher
2026-05-11 13:01:41 +05:30
Tejas c1c4fec7a0 Merge pull request #209 from manojbajaj95/feat/JSON-output-schema-versioning
feat: standardize CLI JSON output format with versioning
2026-05-11 13:00:43 +05:30
Ankit Ranjan 2faa3c957b feat: add --reload flag to daemon serve command and replace custom file watcher with uvicorn native reload 2026-05-11 12:41:10 +05:30
Manoj Bajaj 703aa77ff8 Merge branch 'develop' 2026-05-11 12:36:55 +05:30
rishabhraj36 e0802865bc feat(cli): add import-env for headless API key ingestion 2026-05-11 12:14:58 +05:30
Ankit Ranjan 006ebe44a0 refactor: modularize CLI architecture by migrating context management and helpers to dedicated modules 2026-05-10 22:23:16 +05:30
Ankit Ranjan f9b5b8995a feat: implement centralized audit logging and refactor duration formatting utility 2026-05-10 21:59:38 +05:30
Ankit Ranjan 933d106f1f feat: standardize CLI JSON output format with versioning and stable schema fields 2026-05-10 21:48:53 +05:30
Ankit Ranjan 80244339c9 feat: standardize CLI exit codes and add comprehensive documentation for error states 2026-05-10 16:31:30 +05:30
Ankit Ranjan e92bdad5bb fix: correct daemon health check logic to properly validate client status and readiness 2026-05-09 02:52:06 +05:30
Ankit Ranjan ff5ecff0f4 Merge branch 'develop' into fix-daemon 2026-05-09 02:50:13 +05:30
Ankit Ranjan d32012bc24 Revert "feat: expand health checks with integrity, permission, and rotation w…" 2026-05-09 02:44:06 +05:30
Ankit Ranjan 0956ef1688 Merge pull request #202 from manojbajaj95/feat--expand-doctor-checks
feat: expand health checks with integrity, permission, and rotation w…
2026-05-09 02:42:49 +05:30
Ankit Ranjan 32e77ff685 refactor: simplify health check logic to verify status and readiness independently 2026-05-09 02:39:36 +05:30
Ankit Ranjan c885067f04 feat: expand health checks with integrity, permission, and rotation warnings and update CLI UI to support warn status 2026-05-09 02:36:16 +05:30
Ankit Ranjan 4c169853aa refactor: add vertical whitespace for readability in daemon version check 2026-05-09 02:27:16 +05:30
Ankit Ranjan 6fd7a6b34b feat: implement auto-restart for daemon when source files are modified during development 2026-05-09 02:15:51 +05:30
Ankit Ranjan ecd5c86ae3 refactor: improve daemon lifecycle management by validating version consistency and fetching PID from API health checks 2026-05-09 02:10:38 +05:30