Commit graph

46 commits

Author SHA1 Message Date
23fff88ccb refactor(doctor): drop redundant password check
All checks were successful
Release / release (push) Successful in 27s
Le check "password" ouvrait le store et lisait le secret indépendamment
du ConnectivityCheck, provoquant deux appels bw --version + bw status.
La connectivité échoue déjà si le mot de passe est inaccessible, donc
le check était redondant.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-13 11:51:48 +02:00
235727106d chore: upgrade framework to v1.12.0, wire login, drop manifest glue
- Bump mcp-framework v1.10.0 → v1.12.0
- Wire Login hook via BitwardenLoginHandler (backend_policy = bitwarden-cli)
- Remove ManifestDir/ManifestValidator from config test: le manifest est
  un artefact de build, pas une contrainte runtime (per framework design)
- Drop doctorManifestDir(), validateManifestUpdate() and dead imports
- Update tests accordingly (5 checks instead of 6, remove manifest test)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-13 11:39:39 +02:00
fbaea341c7 chore: upgrade framework to v1.10.0, drop login glue
All checks were successful
Release / release (push) Successful in 36s
login is now handled by default in the framework bootstrap when
Hooks.Login is nil.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-11 12:16:20 +02:00
ebd3a64522 feat: wire login hook for Bitwarden unlock
The framework v1.9.0 added a Login command/hook to authenticate and
unlock Bitwarden. App.runBootstrap was not registering it, causing
"command not configured: login".

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-11 11:36:12 +02:00
801d7fbb95 fix: preserve bitwarden backend errors 2026-05-11 11:29:25 +02:00
fe9e70b61a fix: use bitwarden secret backend 2026-05-11 11:24:56 +02:00
be2b7e631b feat: upgrade mcp framework generation 2026-05-11 11:16:37 +02:00
7315f2658c fix(cli): rely on framework doctor alias 2026-04-15 09:57:43 +02:00
ba42be8d77 refactor(cli): upgrade mcp-framework to v1.3.1 and remove glue code 2026-04-14 17:09:46 +02:00
thibaud-leclere
fcee5a0a36 refactor(cli): reduce framework command glue paths 2026-04-14 16:17:22 +02:00
thibaud-leclere
8c88084181 feat: align cli behaviors with mcp-framework rc3 2026-04-14 15:54:17 +02:00
thibaud-leclere
3ba3475753 feat(update): adopt framework rc2 release driver and checksum flow 2026-04-14 15:13:47 +02:00
thibaud-leclere
7998e049cb feat(cli): adopt framework v1.3 manifest metadata and config delete 2026-04-14 12:48:36 +02:00
thibaud-leclere
781a5985ab feat: align CLI with mcp-framework v1.2.1 config commands 2026-04-14 11:21:01 +02:00
thibaud-leclere
1da92a8240 feat(cli): adopt rc4 declarative setup engine 2026-04-14 10:13:39 +02:00
thibaud-leclere
8c79db73d7 feat: adopt rc3 credential resolution flow 2026-04-14 09:04:40 +02:00
thibaud-leclere
d1fd485fb2 feat: adopt mcp-framework rc2 bootstrap commands 2026-04-14 08:42:56 +02:00
thibaud-leclere
2aa5e92b50 feat: add doctor command 2026-04-13 22:33:37 +02:00
thibaud-leclere
15ea1e11ab feat: adopt mcp framework cli flow 2026-04-13 18:01:28 +02:00
thibaud-leclere
ffb28dbc52 fix: add required inputSchema to list_mailboxes tool
The MCP spec requires inputSchema on every tool. With the omitempty
JSON tag, the nil field was omitted entirely, causing clients to
reject the tools/list response and report 0 tools.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-10 16:15:36 +02:00
thibaud-leclere
f10b797640 fix: advertise MCP tools capability explicitly 2026-04-10 16:01:59 +02:00
thibaud-leclere
92fc30cb2d fix: tolerate unknown fields in MCP protocol messages and defer credential loading
Claude Code sends extra fields (e.g. "title") in initialize params that
caused the server to reject the request due to DisallowUnknownFields.
Use lenient JSON decoding for protocol messages while keeping strict
validation for tool arguments. Also defer KWallet credential loading
from server startup to tool invocation time, and negotiate protocol
versions per MCP spec instead of rejecting unknown ones.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-10 15:46:53 +02:00
thibaud-leclere
1472d7a107 fix: support Claude Code MCP protocol version 2026-04-10 15:38:58 +02:00
thibaud-leclere
5dbc073e5c fix: implement MCP JSON-RPC protocol 2026-04-10 15:24:37 +02:00
thibaud-leclere
9884ac40ac test: cover cli entrypoint contract 2026-04-10 12:39:10 +02:00
thibaud-leclere
afec7612aa feat: add cli setup boundary tests 2026-04-10 12:35:08 +02:00
thibaud-leclere
e09b4afa0a feat: wire email mcp application graph 2026-04-10 12:21:58 +02:00
thibaud-leclere
2c1dab1bb2 fix: align mcp mailbox and limit contracts 2026-04-10 12:14:55 +02:00
thibaud-leclere
0f622ab9d9 fix: tighten mcp runner input handling 2026-04-10 12:10:42 +02:00
thibaud-leclere
679abbe328 feat: add mcp server runner and tool handlers 2026-04-10 11:59:41 +02:00
thibaud-leclere
656d0d7f91 fix: harden imap backend decoding 2026-04-10 11:49:52 +02:00
thibaud-leclere
c688137ed3 feat: implement imap backend 2026-04-10 11:39:40 +02:00
thibaud-leclere
e360f9bffa fix: tighten imap service message contract 2026-04-10 11:17:36 +02:00
thibaud-leclere
00fa0699f5 feat: add imap service interface 2026-04-10 11:11:01 +02:00
thibaud-leclere
0406630e03 fix: reset kwallet session after transport errors 2026-04-10 11:06:39 +02:00
thibaud-leclere
2d97306ea0 fix: harden kwallet task 6 error handling 2026-04-10 10:58:51 +02:00
thibaud-leclere
14191cae1a feat: add kwallet dbus client 2026-04-10 10:47:52 +02:00
thibaud-leclere
3f75357c89 fix: harden kwallet store boundary 2026-04-10 10:31:24 +02:00
thibaud-leclere
fadf41655f feat: add kwallet secret store adapter 2026-04-10 10:26:43 +02:00
thibaud-leclere
e725cf1f61 feat: add credential serialization helpers 2026-04-10 10:21:22 +02:00
thibaud-leclere
946eed15df fix: wire default app and hide setup password input 2026-04-10 10:17:38 +02:00
thibaud-leclere
f5f13c247d feat: add cli setup prompting and mcp dispatch 2026-04-10 10:08:21 +02:00
thibaud-leclere
e63e67178a fix: tighten task 2 constructor contract 2026-04-10 09:54:38 +02:00
thibaud-leclere
4ea1573dc8 feat: add secret store credential model 2026-04-10 09:45:35 +02:00
thibaud-leclere
518b2c64d9 fix: tighten task 1 cli skeleton 2026-04-10 09:40:23 +02:00
thibaud-leclere
46fab31436 chore: initialize go cli skeleton 2026-04-10 09:34:33 +02:00