ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/cvsroot/AnyEvent-MCP/Changes
Revision: 1.51
Committed: Thu Nov 5 00:39:05 2026 UTC (2 weeks, 1 day ago) by root
Branch: MAIN
Changes since 1.50: +5 -2 lines
Log Message:
*** empty log message ***

File Contents

# User Rev Content
1 root 1.2 Revision history for AnyEvent::MCP
2    
3 root 1.49 - INCOMPATIBLE CHANGE: due to the added user management, existing
4     url tokens have been invalidated.
5 root 1.51 - refresh the introductory guide and mcp-imap/mcp-http manuals
6     with first-use workflows, OAuth2 setup, mailbox/search examples
7     and reverse-TLS troubleshooting; correct stale retry documentation.
8 root 1.50 - extend mcp-imap SEARCH filters with recursive AND/OR/NOT, header,
9     text/body, date, size and flag criteria; use explicitly quoted
10     IMAP arguments and bounded filter complexity.
11     - capture deliberately triggered connection errors in test assertions,
12     avoiding noisy successful test runs.
13 root 1.49 - expose IMAP LSUB to inspect subscribed mailboxes, alongside
14     subscribe/unsubscribe; return the same format as LIST.
15     - remove superseded IMAP OAuth provider and pagination prototypes
16     and their obsolete reference tests.
17 root 1.51 - defer outgoing mail submission research (mcp-smtp or mcp-imap)
18     in TODO.md.
19 root 1.48 - retry reverse connections only for TCP connection refusal and
20     unexpected disconnects; report and stop on other TCP errors or
21     TLS handshake/verification failures.
22     - force scalar context when checking Mail::IMAPTalk results;
23     list context truncated LIST responses and could corrupt SEARCH
24     results. Test with context-sensitive IMAP mocks.
25     - report HTTPS reverse-connection handshake failures rather than
26     silently retrying; send credentials only after verified TLS succeeds.
27     - omit pointless mailbox permission dimension for mcp-imap mailboxes.
28     - clarify expected OAuth redirect error page and account selection.
29     - implement mcp-imap OAuth2 authorization-code login with PKCE,
30     human-pasted headless browser redirect, HTTPS token exchange,
31     refresh-token persistence/rotation and IMAP SASL XOAUTH2.
32     Keep interactive credentials outside MCP tools and argv.
33     - omit unnecessary shell quotes in mcp-imap providers commands.
34     - expand mcp-imap providers with Thunderbird ISPDB domain search,
35     provider-hosted HTTPS autoconfig lookup and ISPDB fallback,
36     password-based IMAP alternatives and provider setup instructions;
37     continue printing optional OAuth configuration without saving it.
38 root 1.47 - add per-downstream --hidden to mcp-multibroker, omitting a
39     server's tools from normal discovery while retaining explicit
40     list-tools, discover-brokers and call-tool access.
41 root 1.46 - number the user management test consecutively as t/27_users.t.
42 root 1.45 - tidy Perl import grouping, internal comments and source layout
43     in the command-line tools and library modules.
44     - stop imposing an IMAP account file mode check; access is governed
45     by ordinary filesystem permissions.
46 root 1.44 - use the permission engine's literal matching convention for exact
47     user identities and test positive permission-scope validation.
48     - reject invalid browser WebSocket credentials via the documented
49     handshake exception interface, producing one specific warning.
50     - apply the same handshake rejection handling to Vim WebSocket
51     connections, including peer and invalid-token/path warnings.
52     - document user-management scopes and URL examples in command help.
53 root 1.43 - add scoped, revocable MCP users with HKDF-derived credentials,
54     an implicit global default user, and atomic user management;
55     list effective user URLs with --print-url[=USER], also accepting
56     --print-urls, without binding the advertised listener port.
57     - associate HTTP credentials with per-request users, bind user
58     identity to persistent permissions and permission continuations,
59     and delegate original users through trusted multibrokers.
60     - select the effective connect_user (default: default) for reverse
61     MCP, private Vim and browser connections, independently of normal
62     authenticated HTTP tool calls.
63 root 1.42 - treat empty directory paths as "." in mcp-fs list, find, grep and
64     VCS cwd, without accepting empty filenames.
65 root 1.41 - support opportunistic HTTP/HTTPS and reverse MCP connections on the
66     same listener, TLS certificate/key CLI options, and dual URL discovery;
67     support verified HTTPS for outgoing reverse connections.
68 root 1.39 - treat idle HTTP disconnects as normal EOF while retaining errors
69     for clients disconnecting during request headers or bodies.
70     - identify failing MCP connections by client name, remote address
71     and connection id, including modern per-request client metadata.
72 root 1.38 - trace local multibroker prompt starts, outcomes and cancellations
73     with elapsed time to diagnose disappearing permission dialogs.
74     - use an 8 MiB default MCP message size across JSONL and HTTP
75     clients and servers, allowing large base64 tool requests through
76     mcp-multibroker; log server transport errors at warn level
77     instead of silently closing connections.
78 root 1.37 - load AnyEvent::Log at compile time so its format_time call is parsed
79     as a function, fixing activity logging on Perl 5.10.
80    
81 root 1.36 0.71 Fri 30 Oct 2026 18:01:51 CET
82 root 1.35 - make multibroker-spawned children ask for permissions through MCP,
83     independently of the multibroker's own permission prompt mode.
84 root 1.36 - log VCS backend and a bounded, JSON-quoted preview of filenames for
85     vcs-diff, vcs-status and vcs-log.
86     - load only core modules in t/00_load.t; optional IMAP dependencies
87     are tested separately when available.
88     - let the fake bubblewrap test use the host temporary directory on
89     systems without /tmp (notably Termux).
90     - suppress Perl startup locale warnings in sandbox workers when
91     the requested C.UTF-8 locale is unavailable.
92     - canonicalize temporary test paths to match mcp-fs on systems with
93     symlinked temp directories; diagnose failing filesystem assertions.
94     - test SSE notification ordering at client delivery rather than
95     server enqueue time, avoiding a network scheduling race.
96     - diagnose failing multibroker HTTP integration tests with preflight
97     responses, RPC results and bounded server startup diagnostics.
98 root 1.35
99 root 1.34 0.7 Fri 30 Oct 2026 14:56:18 CET
100     - WARNING: mcp-imap is unfinished and has not been tested against a real IMAP server.
101     - INCOMPATIBLE CHANGE: rules have changed, old rules will be erased.
102     - declare the same license terms as Perl itself in distribution metadata.
103     - new mcp servers in this release: mcp-http
104     - accept optional dimension default matcher for persistent-rule prompts;
105 root 1.33 - clarify that mcp-fs exec has private /tmp by default; shared-tmp
106     exposes host /tmp and is not needed for ordinary temporary files or IPC.
107 root 1.32 - add mcp-fs vcs-log for Git, SVN, CVS and Mercurial, reusing bounded
108     output and dedicated permission actions; SVN log receives network
109     and SSH-agent grants alongside CVS operations.
110 root 1.31 mcp-webbrowser prefers any JavaScript in the current tab, while the
111     independent origin dimension remains scoped to the current origin.
112 root 1.30 - log mcp-http requests with their method and a sanitized URL preview;
113     identify mcp-http/$VERSION in User-Agent unless overridden by the caller.
114 root 1.31 Allow generic key=value context in the shared mcp_log_request formatter.
115 root 1.29 - silently treat invalid saved permission-rule files as empty, prompting
116     instead of aborting broker startup; subsequent saves replace the old file.
117 root 1.30 - add mcp-http for arbitrary HTTP methods with URL-scoped approvals,
118     caller-managed cookie jars, bounded bodies and text grep/regex/substitution.
119     Disable redirects, retries and proxies; verify HTTPS certificates.
120     - derive browser permission origins from reported URLs, not a new
121     userscript field; keep older browser clients able to execute with
122     origin-scoped permissions.
123     - accept compatible browser-protocol minor versions; return empty
124     operation discovery for 1.0 clients instead of disconnecting them.
125 root 1.29 Direct rule saves no longer perform semantic validation.
126 root 1.28 - replace special-case subject, origin and workdir permission scopes with
127     named dimensions: metadata-driven prompts, generic match.NAME rule keys,
128     and engine-enforced matcher choices. Reject old request and rule fields;
129     no conversion or backward-compatible rule loading.
130 root 1.27 - preserve selected origin scopes when external permission helpers
131     forward persistent decisions through native MCP elicitation.
132 root 1.26 - add origin-scoped MCP permission rules, selectable independently of
133 root 1.30 code/tab scopes; mcp-webbrowser derives browser origins for
134 root 1.26 JavaScript and tab operations, with exact, any-port and any-origin
135     choices. Existing rules without origins continue to match all origins.
136 root 1.25 - use POSIX::uname instead of nonportable hostname -f for the XPCSE
137     browser nickname, consistent with HTTP URL wildcard host selection.
138     - make form helper test run via explicit ./ path, avoid early HTTP
139     timer races, and test filesystem discovery with optional tools absent.
140 root 1.23 - report browser protocol rejections through bounded WebSocket close
141     reasons; show abnormal disconnects in the userscript console and toast.
142     - document browser wire-protocol minor-version compatibility: accept
143     compatible older and newer clients without breaking base functionality.
144     - remove the obsolete private stdio permission-result bridge from
145     mcp-multibroker; use ordinary form elicitation.
146 root 1.22 - add per-tab operation discovery and calls to mcp-webbrowser, with
147     per-tab routing, ordinary MCP permissions and browser protocol 1.1;
148     the userscript initially advertises no extra operations.
149     - make the unsandboxed-warning test tolerate diagnostic output from
150     non-GNU utility probes (FreeBSD and BusyBox).
151     - add mcp-imap with one named password-authenticated account per instance,
152     bounded UID search, MIME reads, explicit mailbox/message mutations,
153     UIDPLUS-only targeted expunge, forked worker and MCP permissions.
154 root 1.21 - propagate XPCSE save response ETags back to Vim session metadata;
155     make stale upload HTTP status an editor error.
156     - require GNU sed in worker tool discovery; report missing-Perl diagnostics in tests.
157 root 1.18 - xpcse: forward Vim's :write! flag through mcp-vim to browser
158     uploads, without changing upload behavior yet.
159 root 1.19 - recommend rather than require WebSocket modules: only mcp-vim and
160     mcp-webbrowser use them; mcp-vim loads them only for browser clients,
161     and tests skip optional WebSocket coverage when unavailable.
162 root 1.18
163 root 1.17 0.65 Fri 23 Oct 2026 22:41:32 CEST
164 root 1.14 - fix mcp-webbrowser userscript title indicator duplicating prefixes on empty titles.
165 root 1.17 - use built scripts in make test PATH, avoiding source shebangs and
166     accidentally installed helpers in rule management tests.
167 root 1.15 - clarify browser execute code wrapper and reject function/symbol return
168     values instead of silently converting them to null.
169 root 1.17 - fix many bugs in the testsuite.
170 root 1.13
171 root 1.12 0.62 Thu 22 Oct 2026 13:32:52 CEST
172 root 1.16 - INCOMPATIBLE API CHANGE: mcp_getoptions now returns a hash reference instead of
173     a key/value list.
174 root 1.11 - Simple accepts server_name/server_version independently of the local
175     instance name, leaving server_info as an unmodified protocol override.
176     - query multibroker children in parallel for tool and broker discovery,
177     preserving tool order and returning partial results after 15 seconds
178     instead of blocking on an unresponsive child.
179 root 1.8 - accept a missing trailing slash on HTTP MCP endpoint URLs, working
180 root 1.10 around Claude's MCP connector wrongly dropping it from the configured URL,
181 root 1.18 thus corrupting it.
182 root 1.7 - allow omitted ports in reverse extension URLs, defaulting to port 80.
183 root 1.9 - fix MCP client/server version fields serialized as JSON numbers in 0.61.
184 root 1.7
185 root 1.6 0.61 Thu 22 Oct 2026 08:57:42 CEST
186 root 1.5 - resolve bind hostnames via AnyEvent::Socket instead of Socket::getaddrinfo.
187 root 1.4 - honor user-selected file permissions and preserve them across replacements.
188     - fix permission test fixture grants.
189     - fix activity log timestamp formatting on older perl versions.
190     - correct multibroker test tool count (including meta-instructions).
191     - fix perl 5.12 syntax errors in mcp-fs and mcp-vim.
192    
193 root 1.3 0.6 Wed 21 Oct 2026 20:43:20 CEST
194 root 1.2 - 34k LOC of pure llm madness. but seems to work. yay.
195 root 1.1
196     0.0 Sat 03 Oct 2026 07:29:39 CEST
197     - original version, an AnyEvent::HTTP clone.