115 Commits

Author SHA1 Message Date
rishabhraj36 57c8409e6e docs: updated self hosting docs 2026-06-17 16:20:42 +05:30
rishabhraj36 48f7c6fbb7 docs: fix self-hosting quick start and first-run flow 2026-06-17 15:33:16 +05:30
Manoj Bajaj 0a5126cc0f merge: resolve origin/main into docs-site cleanup branch
Keep v0.7 Mintlify refresh while adopting onboard/init renames and onboard
flow updates from main.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-16 13:10:02 -07:00
Manoj Bajaj 61515356a2 docs: refresh Mintlify site for v0.7 and remove stale profile/library references
Align public docs with Principal/Vault/Identity terminology, current daemon API paths, and the CLI/proxy/export integration surface instead of the removed AuthService library API.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-16 13:02:11 -07:00
Manoj Bajaj 9253aa8d97 Merge pull request #437 from agentrhq/417-comparison-with-one-cli-secrets-manager
docs: updated broker credentials comparison
2026-06-16 21:33:52 +05:30
Manoj Bajaj e341d4ed3b Merge pull request #438 from agentrhq/feature/authsome-onboard
feat!: Add authsome onboard, remove init and scan
2026-06-16 21:33:28 +05:30
rishabhraj36 44b37bf6f0 docs: refine credential broker comparison 2026-06-16 15:42:52 +05:30
Manoj Bajaj d9936d5699 feat!: replace init and scan with authsome onboard
Unifies first-run setup into a single idempotent command that registers
identity, completes claim, and imports API keys from env. Persists
--base-url in client config for remote daemon connections.

Closes #434

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-16 02:22:10 -07:00
rishabhraj36 6c0fd60664 Merge branch 'main' into 417-comparison-with-one-cli-secrets-manager 2026-06-16 14:36:35 +05:30
rishabhraj36 d9d2c60563 feat: derive agent identity from a single private-key env var 2026-06-16 13:32:04 +05:30
rishabhraj36 4c79bb0a59 feat: added support for agents 2026-06-16 11:49:02 +05:30
Ankit Ranjan 6645d7ef21 Merge branch 'main' into feature/expand-settings-page 2026-06-15 18:29:07 +05:30
beubax 71d52ad0f8 refactor: remove audit event filters 2026-06-15 18:06:50 +05:30
Ankit Ranjan 972e00c575 refactor: rename identity to agent throughout CLI and UI for improved terminology consistency 2026-06-15 17:27:10 +05:30
beubax 711b8509aa chore: remove obsolete implementation plans and design specifications 2026-06-15 14:18:07 +05:30
beubax 80cb249984 docs: describe scoped audit log access 2026-06-15 14:07:51 +05:30
beubax 32a7275b0c docs: plan user-scoped audit log 2026-06-15 13:09:35 +05:30
beubax 224be18855 docs: design user-scoped audit log 2026-06-15 12:56:42 +05:30
beubax be5c646b5b fix: require production backend URLs 2026-06-12 12:42:06 +05:30
beubax ff3d5426a5 fix: harden container startup path 2026-06-10 16:59:43 +05:30
beubax b374fb49a0 fix: address production readiness review 2026-06-10 16:55:14 +05:30
beubax ee25d5ce49 fix: clarify compose master key secret 2026-06-10 16:44:40 +05:30
beubax 5a15e4179b fix: avoid hardcoded compose secrets 2026-06-10 16:42:14 +05:30
beubax ea4eaa791b docs: add production self-hosting path 2026-06-10 16:37:57 +05:30
beubax 80e5ad9218 docs: design stateless production deployments 2026-06-10 15:13:06 +05:30
Manoj Bajaj ea42284ff8 feat: add ProviderType classification and JSONC support for providers
Adds a `type` field (app | llm | mcp) to ProviderDefinition so consumers
can filter and display providers by category. Backfills all 71 bundled
providers. Also introduces a `parse_jsonc` utility that strips // and /* */
comments before JSON parsing, and wires it into the bundled loader and the
CLI register command so both .json and .jsonc provider files are accepted.

Closes #362

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-10 01:33:13 +05:30
Manoj Bajaj 54d7c3a200 docs: Update documentation to correctly reference current authsome state 2026-06-05 14:21:35 +05:30
Manoj Bajaj 07dbb8705f feat: Update docs 2026-06-04 19:45:39 +05:30
Manoj Bajaj f661d8d360 feature!: Cleaner architechture, multi server compatible identities and cleaner ui 2026-06-03 15:34:55 +05:30
Manoj Bajaj 635285a565 feat: add provider dashboard metadata 2026-06-03 15:17:43 +05:30
Manoj Bajaj 52fe7dc5c3 fix: move dashboard auth flow to Next routes 2026-06-03 14:49:56 +05:30
Manoj Bajaj 6231674610 feat: add Dockerfile, docker-compose, and self-hosting guide
Enables single-command self-deployment of the authsome daemon in a
container without requiring Python or uv on the host.

- Multi-stage Dockerfile: ui-builder (Node 24/pnpm) → py-builder (uv
  wheel) → slim Python 3.13 runtime, non-root authsome user
- docker-compose.yml with named volume and restart: unless-stopped
- .dockerignore to keep the build context minimal
- docs/guides/self-hosting.md covering quick-start, env vars, volume
  backup/restore, TLS with Caddy, and local builds
- .github/workflows/docker.yml CI job that builds the image on every PR
- README.md self-hosting quick-start section

Closes #366

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-02 16:45:48 +05:30
Manoj Bajaj df165b8b42 chore(docs): apply DESIGN.md tokens to Mintlify config
Update docs.json to match the Authsome Secure Console design system:

- colors.primary: #83CA16 (lime) → #10B981 (Deep Emerald)
- colors.light:   #A3E635      → #4EDEA3 (emerald tint)
- colors.dark:    #65A30D      → #059669 (deep emerald)
- background.dark: #0A0A0A    → #09090B (Obsidian)
- font: add Hanken Grotesk for headings and body (matches DESIGN.md
  typography spec)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-02 16:35:39 +05:30
Manoj Bajaj cac5f9f2c4 fix(docs): remove all broken links to missing pages
Remove references to five pages that do not exist:
reference/provider-schema, reference/file-layout,
concepts/profiles-vs-connections, security/hosted-deployment,
guides/profiles.

Strategy: strip the links/sentences from the 59 source files rather than
creating stub pages. Card blocks pointing to missing pages are removed;
inline sentence references are removed or reworded so the surrounding
prose stays coherent.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-02 16:33:45 +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 d76304a911 docs: Update documentation
Entire-Checkpoint: cce258bcd5e8
2026-05-29 16:11:12 +05:30
Manoj Bajaj 30ec8d4ff6 docs: Update documentation
Entire-Checkpoint: fe02c73a3964
2026-05-29 16:00:30 +05:30
Tejas e4a17790f7 Merge branch 'main' into feature/orthogonal-authsome-modules 2026-05-29 13:51:07 +05:30
Manoj Bajaj 0a7c379c00 docs: correct manual testing guide against the current CLI surface
The guide had drifted well beyond the deployment-flow change:

- Commands moved under the `provider` and `connections` groups
  (`provider list`, `provider inspect`, `provider register|remove|revoke`,
  `connections inspect`, `connections set-default`). Update every invocation.
- Remove the documented `get`, `export`, `--show-secret`, and `--json`
  commands/flags — none exist. `connections inspect` is always redacted
  and there is no human-table mode; output is always JSON (`{"v": 1, ...}`).
- Add sections for `scan`, `profile`, and `daemon restart`/`logs`.
- Note admin-only operations (register/revoke) and JSON-shaped expected
  output throughout; fix the `daemon status` health block (no `mode`).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Entire-Checkpoint: b68c1ae5d66c
2026-05-29 13:25:15 +05:30
Tejas a3e52688ad Merge branch 'main' into feature/orthogonal-authsome-modules 2026-05-29 13:22:28 +05:30
Manoj Bajaj 70e5539a59 docs: update manual testing guide for the unified claim flow
The first protected command now registers the identity and blocks on a
browser email+password registration + claim (first account = admin),
matching the single deployment flow. Also drop the removed `mode` field
from the daemon health block.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Entire-Checkpoint: 68b4ca3c1fc0
2026-05-29 13:21:30 +05:30
Manoj Bajaj 63bd4c90aa refactor!: unify local and hosted into a single deployment flow
The daemon branched on AUTHSOME_DEPLOYMENT_MODE and ran two parallel
implementations of nearly every ownership concept. "Local and hosted
behave the same" was asserted in prose (ADR 0006) but never enforced in
code, so the paths were free to drift, and the synthetic local principal
let a second local identity silently inherit the admin principal.

Collapse to one flow, identical for every deployment: authsome init
registers an identity and gets back a browser claim URL; the user
registers email+password (first principal becomes admin); that principal
confirms the claim; PoP calls are then authorized.

- Remove AUTHSOME_DEPLOYMENT_MODE, get_deployment_mode(),
  LOCAL_PRINCIPAL_EMAIL, the Local*/Hosted* resolver and bootstrap
  classes, and the AuthService(deployment_mode=...) parameter.
- OwnershipResolver and IdentityBootstrapService become single concrete
  classes (the former hosted, claim-based implementations).
- Admin gating is purely role-based: non-admin principals are blocked in
  every deployment (previously implicitly allowed in local mode).
- The server UI always requires a hosted browser session; remove the
  vestigial HealthResponse.mode field.
- CLI ensure_identity_ready was already mode-agnostic; it now prints the
  claim URL to stderr for headless use.

Add ADR 0007 recording the decision; amend ADR 0006 and CONTEXT.md.

BREAKING CHANGE: existing local installs have an unclaimed identity under
local@authsome.internal and are rejected until the user registers a
principal (email+password) and claims the identity.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Entire-Checkpoint: d31cf246f6f2
2026-05-29 13:18:41 +05:30
beubax fbdf580cd6 refactor: introduce CredentialRepository and ProviderRepository to centralize storage and management logic; move functions into their respective domains 2026-05-28 18:30:14 +05:30
Manoj Bajaj de33f8a514 feat: Add docs for design of principal roles and audit
Entire-Checkpoint: 48bda8cba15d
2026-05-28 13:51:03 +05:30
Manoj Bajaj 6e83c93dba chore: Add roadmap
Entire-Checkpoint: e13091236fcc
2026-05-27 23:12:46 +05:30
Priyansh Khodiyar e12082f078 docs: add dedicated Hermes Agent integration page, drop stale Hermes refs 2026-05-25 11:14:35 +05:30
Priyansh Khodiyar 8764e6d887 chore: refresh brand logo across favicon, navbar wordmarks, and README 2026-05-23 15:32:08 +05:30
Manoj Bajaj 3719d13a96 docs: rewrite login and proxy sections in manual-testing guide
Login sections (§2–4) now include explicit human action steps — what
to open in the browser, what credentials to enter, and how to confirm
completion. Proxy section (§9) simplified to a single GitHub whoami
call through the proxy. Daemon note updated to reflect the orphaned-
process fix.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Entire-Checkpoint: e51d7e04524d
2026-05-21 04:25:41 +05:30
Manoj Bajaj 76e2320c96 fix: deduplicate error class name in daemon responses and stop orphaned daemon
Two bugs found during manual testing:

- `AuthsomeError.__str__` already prepends the class name, but
  `app.py` was passing `str(exc)` as the `message` field in error
  responses. The client then reconstructed the exception with that
  string as its args[0], causing `str()` to prepend the class name a
  second time (e.g. "ProviderNotFoundError: ProviderNotFoundError: …").
  Fixed by using `Exception.__str__(exc)` so the server sends the raw
  message without the class-name prefix.

- `daemon stop` returned a no-op message when no PID file existed,
  leaving an orphaned daemon (e.g. after `rm -rf ~/.authsome`) running
  on port 7998. Added `_find_pid_by_port` as a fallback: if there is
  no PID record but a process is listening on the daemon port, it is
  terminated through the normal SIGTERM→SIGKILL path.

Also updates the manual-testing guide to reflect the secure local
browser bridge used by all login flows.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Entire-Checkpoint: 37d02f2f4c99
2026-05-21 04:22:57 +05:30
Manoj Bajaj bb5a2a6152 refactor!: Create version 0.4 which adds support for principal, identity, vault key loading precedence and many more fixes 2026-05-20 21:29:50 +05:30