Commit Graph

72 Commits

Author SHA1 Message Date
github-actions[bot] a79f606705 chore(main): release authsome 0.7.2 2026-06-17 13:07:27 +00:00
github-actions[bot] 4c0a171f0f chore(main): release authsome 0.7.1 2026-06-17 00:10:19 +00:00
github-actions[bot] cbda1e4f50 chore(main): release authsome 0.7.0 2026-06-16 20:12:00 +00:00
beubax 69b263b071 fix: exclude local build artifacts from package 2026-06-10 16:51:25 +05:30
beubax f4a6cf5a16 feat: add production backend config 2026-06-10 15:28:16 +05:30
github-actions[bot] 933ac63752 chore(main): release authsome 0.6.4 2026-06-09 14:30:32 +00:00
Manoj Bajaj d312e535f6 chore: manually bump yanked version 2026-06-09 13:46:02 +05:30
Manoj Bajaj 50827dcc4d chore: manually bump yanked version 2026-06-09 13:43:22 +05:30
github-actions[bot] 1e3a6826b5 chore(main): release authsome 0.6.2 2026-06-09 08:07:53 +00:00
Manoj Bajaj f345a189bf fix: use artifacts instead of force-include for wheel UI assets
force-include errors during editable installs (uv pip install -e)
when src/authsome/ui/web doesn't exist on a fresh checkout, breaking
lint and test CI jobs. artifacts bypasses .gitignore for matched files
but silently skips missing paths, so editable installs succeed without
requiring build-ui.sh to have run first.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-09 13:36:17 +05:30
Manoj Bajaj 745f1a28d4 fix: bundle static UI assets into wheel
Hatchling respects .gitignore by default, so the generated
src/authsome/ui/web/* assets were excluded from the wheel even though
build-ui.sh populates them before uv build runs in CI.

- Add force-include for the wheel target (sdist already had this) with
  the correct installed path (authsome/ui/web, not src/authsome/ui/web)
- Remove .gitkeep — build-ui.sh's mkdir -p creates the directory;
  no placeholder needed
- Drop the .gitignore exception for .gitkeep

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-09 13:15:21 +05:30
Manoj Bajaj 6fe11073c8 feat: Fix failing tests 2026-06-09 09:06:58 +05:30
github-actions[bot] 53d2674e4e chore(main): release authsome 0.6.1 2026-06-06 04:27:26 +00:00
github-actions[bot] 20f44759a5 chore(main): release authsome 0.6.0 2026-06-06 04:19:33 +00:00
Manoj Bajaj a033bfe93f chore: satisfy pylint ruff checks 2026-06-04 22:22:50 +05:30
Manoj Bajaj 3aab2fbd48 chore: run ruff lint 2026-06-04 16:14:00 +05:30
Manoj Bajaj b96d593883 fix: resolve pre-commit failures 2026-06-04 11:50:56 +05:30
Manoj Bajaj e69508552f Merge remote-tracking branch 'origin/main' into feature/nextjs-static-ui
# Conflicts:
#	src/authsome/server/routes/audit.py
#	src/authsome/server/routes/connections.py
#	src/authsome/server/routes/health.py
#	src/authsome/server/routes/ui.py
2026-06-01 19:24:29 +05:30
Manoj Bajaj 29bb29a388 refactor: remove legacy dashboard routes
Delete the server-rendered dashboard pages, remove the static asset mount, and route the Next dashboard provider login form through the browser-session auth path.
2026-06-01 16:04:36 +05:30
Manoj Bajaj e0a2cd9158 feat: add static Next.js dashboard
Mount the exported dashboard at the daemon root, build it into the Python package, and use existing daemon endpoints for SWR data fetching.
2026-06-01 15:43:15 +05:30
Manoj Bajaj 3a6e7e5231 refactor: Simplify server logic for clear reparation, reduce slop
Entire-Checkpoint: 34c348b255f6
2026-05-31 01:41:05 +05:30
github-actions[bot] fea1f7e6bc chore(main): release authsome 0.5.0 2026-05-29 08:32:22 +00:00
Manoj Bajaj 0ed077b9df feat: implement audit events and principal roles
Implement ADR 005 by routing audit events through OpenTelemetry with a server-owned SQLite exporter and query endpoint. Implement ADR 006 by persisting principal roles, assigning first principal admin, and enforcing admin-only routes at the FastAPI dependency layer.

Entire-Checkpoint: df60966364f1
2026-05-28 15:13:56 +05:30
beubax 3ac75aa74a refactor: remove server config dependency from vault initialization 2026-05-27 16:09:57 +05:30
beubax 5a6c12cd75 Merge branch 'main' into feature/server-store-refactor 2026-05-27 16:06:30 +05:30
beubax 6f0f61c372 refactor: replace file-based registry storage with a unified SQL-backed ServerStore implementation 2026-05-27 16:02:24 +05:30
Manoj Bajaj aeb426357f feat: add browser SSO via Chrome cookie reading (browser-cookie3)
Enables authenticated access to sites like X/Twitter and LinkedIn that
use browser session cookies rather than OAuth or API keys.

Core logic lives entirely in auth/ — BrowserFlow.run_login() reads
Chrome's on-disk SQLite cookie database via browser-cookie3 (macOS
Keychain / Linux GNOME Keyring / Windows DPAPI), opens the site in the
user's default browser if no valid session exists, then polls until the
required auth cookies appear.  No separate Chrome profile, no Playwright.

- auth/browser_cookies.py: read_chrome_cookies(), cookies_are_valid(),
  normalize_jsessionid() with lazy browser-cookie3 import
- auth/flows/browser.py: BrowserFlow (begin/resume/refresh) + static
  run_login() for CLI use
- auth/models/: AuthType.BROWSER, FlowType.BROWSER, BrowserConfig,
  ExtractRule, ConnectionRecord.credentials field
- server/: register flow, header rendering, export branch, BrowserAction
  schema, _session_response wiring (~35 lines total)
- cli/main.py: 8-line elif block calling BrowserFlow.run_login()
- Bundled providers: x-browser, linkedin-browser
- 30 new tests in tests/auth/

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Entire-Checkpoint: 3753e27e5941
2026-05-27 12:27:28 +05:30
github-actions[bot] d4b105832b chore(main): release authsome 0.4.2 2026-05-25 13:28:15 +00:00
github-actions[bot] 0a8e2982c3 chore(main): release authsome 0.4.1 2026-05-25 10:29:25 +00:00
github-actions[bot] 9d30cae727 chore(main): release authsome 0.4.0 2026-05-25 05:47:03 +00:00
beubax c161ab96d0 feat: implement HostedAccountService for email/password authentication and JWT session management 2026-05-22 18:13:06 +05:30
github-actions[bot] 218ffca0f2 chore(main): release authsome 0.3.2 2026-05-20 13:17:12 +00:00
Manoj Bajaj 8797a94b40 feat: Add posthog telemetry events
Entire-Checkpoint: f82a78beeea3
2026-05-19 12:45:59 +05:30
nishant f68fbd8f5b chore: clean up branch for PR
- Revert version to 0.3.1 and drop anthropic from dev deps
- Point run-evals to evals/evals.json (root) instead of skills/authsome/evals/
- Untrack .claude/commands/authsome.md (generated at eval time) and gitignore it
- Untrack docs/superpowers/ planning artifacts and gitignore the directory

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-18 10:56:48 +05:30
nishant cce757052c chore: stage remaining branch changes
Remove evals/run_evals.py (replaced by inline orchestration in
run-evals.md), bump version to 0.3.2, update lockfile, and add
authsome skill command file.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-18 10:23:07 +05:30
nishant fa85d5fe55 Merge remote-tracking branch 'origin/main' into feat/skill-rewrite 2026-05-18 09:11:08 +05:30
Nishant Gaurav b790c63298 fix(evals): use claude --system-prompt for judge, grade on rate limit
Switch grading from anthropic SDK to `claude -p` subprocess to avoid
a hard dependency. Truncate transcript to last 4000 chars to stay within
CLI arg limits. Grade partial transcripts even when rate limit is hit
(emit WARNING instead of skipping).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-17 17:06:44 +05:30
github-actions[bot] 1312d20022 chore(main): release authsome 0.3.1 2026-05-17 11:14:43 +00:00
Nishant Gaurav 689d33e2ed chore(evals): add evals directory and anthropic dev dep 2026-05-17 14:20:56 +05:30
Manoj Bajaj 7ad14f60a3 feat: add did pop daemon authorization
Entire-Checkpoint: a6b771e5077a
2026-05-12 19:18:25 +05:30
beubax 9e6d87a2a7 chore: update project dependencies in pyproject.toml 2026-05-12 16:14:21 +05:30
beubax 807f0250e8 refactor: centralize proxy route and credential resolution logic in AuthService and update async testing patterns 2026-05-12 16:02:32 +05:30
beubax d3372f50d2 chore: update dependency versions in pyproject.toml 2026-05-12 12:57:01 +05:30
github-actions[bot] e50ff7647e chore(main): release authsome 0.2.4 2026-05-08 13:10:31 +00:00
beubax 006ce3f19a fix: resolve circular import in server dependencies 2026-05-08 14:37:34 +05:30
Manoj Bajaj 9193ed9efb Merge pull request #165 from manojbajaj95/chore/agent-readiness-improvements
chore: agent readiness improvements
2026-05-08 14:04:46 +05:30
Manoj Bajaj e9f0053d21 chore: replace renovate with uv exclude-newer for min_release_age
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
Entire-Checkpoint: d0701895e702
2026-05-08 13:58:52 +05:30
Manoj Bajaj 7db1f5aa97 chore: agent readiness improvements
- Added PR template
- Configured dependabot and renovate for min_release_age
- Enabled secret scanning via gitleaks pre-commit hook
- Enabled naming (N) and cyclomatic complexity (C90) checks in ruff

Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
Entire-Checkpoint: 81809e52b50a
2026-05-08 13:51:36 +05:30
rishabhraj36 3867a96bb0 feat: added an interractive dashboard 2026-05-08 10:18:14 +05:30
beubax 078fc2d709 refactor: introduce AppStore interface and replace synchronous login flow with input discovery method 2026-05-06 15:54:20 +05:30