MicroBlock
43a78deb69
Merge remote-tracking branch 'origin/feat/im-automation' into feat/im-automation
2026-11-18 15:21:19 +08:00
MicroBlock
d55b531176
Revert "fix(connection): announce the launch URL a surface without a browser credential needs"
...
This reverts commit eeb09ded7a9894ac21a2776a1e5372c8ddcadd7f.
2026-11-18 15:21:06 +08:00
MicroBlock
aa7777778d
fix(connection): announce the launch URL a surface without a browser credential needs
...
The read-only session page is served by an origin inside this process, so its
browser has no cookie of its own; the `/api/remote.mux` upgrade that origin
forwards is admitted only for one. The page origin trades the launch token for
that cookie, and it read the token from `connection.authenticatedUrl`, which the
open-face revert dropped: the upgrade was refused, the page's connection never
opened, and a session link rendered an empty conversation.
Report the URL through the authentication registry instead: a provider may
announce `authenticatedUrl(baseUrl)`, the token provider announces the same
signed URL it contributes to the entry list, and `ctx.connection` returns the
first announcement or the clean URL. No authentication is skipped; the
credential stays inside the process that exchanges it.
A method called through the traceable proxy reads its properties against the
caller's context, so `this.authentication` resolves only for a caller that
injects `connection.authentication`; the consumer here injects `connection`
alone. The registry is captured at construction under a name no nested service
shadows, and the spec asks from such a consumer.
2026-11-18 13:00:46 +08:00
MicroBlock
2f442ff103
chore(tool-cordis): regenerate api-catalog for async ImSessionHost.agent
2026-11-18 06:04:43 +08:00
MicroBlock
f167347705
docs(im): clarify key-only retryability after uncommitted reset advance in agent() JSDoc
2026-11-18 06:04:25 +08:00
MicroBlock
5e9197b739
fix(im): await serial and agents.open in ImSessionHost.agent() for require-await lint
2026-11-18 06:03:55 +08:00
MicroBlock
762b599ecf
docs(im): clarify retry semantics for retired SessionId vs uncommitted reset in agent() JSDoc
2026-11-18 05:40:21 +08:00
MicroBlock
400aa0cd78
docs(im): document ImSessions.agent() serialization and unavailable rejection semantics
2026-11-18 05:16:48 +08:00
MicroBlock
6e5c162681
fix(im): reject already-retired SessionId in agent() with unavailable
2026-11-18 05:16:23 +08:00
MicroBlock
b445b7986b
fix(im): serialize ImSessionHost.agent() by key and guard against retired/resetting generations
2026-11-18 04:53:59 +08:00
MicroBlock
af3fb73cae
test(im): merge duplicate concurrent reset and retry tests in sessions.spec.ts
2026-11-18 04:29:13 +08:00
MicroBlock
9afd61d605
docs(im): sync JSDoc contracts for reply/io quote fallback and deliver reset rejection
2026-11-18 04:29:05 +08:00
MicroBlock
987ee266f5
test(im): exercise real unadmitted delivery admission racing reset2
2026-11-18 04:04:26 +08:00
MicroBlock
c482b85f88
fix(im): throw unavailable when pending delivery retry is discarded by concurrent reset
2026-11-18 04:03:45 +08:00
MicroBlock
c5e2d717db
fix(im): omit evicted trigger quote in outputs and event.reply
2026-11-18 04:01:57 +08:00
MicroBlock
a4d898d3a0
test(im): pass referrer arg to inboundDraft in send.spec.ts
2026-11-18 03:37:00 +08:00
MicroBlock
aef00ceb92
fix(im): restore type-only Context import in index.ts
2026-11-18 03:33:41 +08:00
MicroBlock
73ca4c616c
test(im): test drainAnnouncements via direct bot.send() without sender waiters
2026-11-18 03:31:20 +08:00
MicroBlock
5ac587cbfc
test(im): race admit() on post-reset1 generation against concurrent reset2
2026-11-18 03:31:13 +08:00
MicroBlock
65ce0eed4a
test(im-session-commands): cover expired pending receipt pruning and update retentionMs catalog doc
2026-11-18 03:31:05 +08:00
MicroBlock
cf62af1108
docs(im): document same-chat stored quote validation contract
2026-11-18 03:29:27 +08:00
MicroBlock
5af01cc0ea
docs(im-session-commands): match exact interrupted reply text from locale.ts
2026-11-18 03:28:27 +08:00
MicroBlock
7ac3692f26
chore(tool-cordis): regenerate api-catalog for ImIntake.drainAnnouncements
2026-11-18 03:27:59 +08:00
MicroBlock
3879f801c3
fix(im): replace Context.root send listener with plugin-scoped global listener and teardown onResult fallback
2026-11-18 03:27:40 +08:00
MicroBlock
c6346badc3
fix(im): reject unstored or expired quote keys with access error
2026-11-18 03:21:05 +08:00
MicroBlock
b3568da86b
test(im,im-session-commands): fix typecheck errors in new test cases
2026-11-18 02:55:59 +08:00
MicroBlock
2e61a42d73
docs(im-session-commands): document interrupted reply and two-phase pending receipt lifecycle
2026-11-18 02:52:21 +08:00
MicroBlock
b96b4c8443
fix(im): drain outbound announcements before closing store on teardown
2026-11-18 02:51:28 +08:00
MicroBlock
3278d6b8ef
fix(im): drain un-receipted send and stream dispatches in ImSender.dispose
2026-11-18 02:49:53 +08:00
MicroBlock
59228eb876
fix(im): serialize session reset and admit by stable session key
2026-11-18 02:48:53 +08:00
MicroBlock
39922e35cc
fix(im): reject cross-bot and cross-chat quotes with access error
2026-11-18 02:47:48 +08:00
MicroBlock
55173e8f2c
fix(im-session-commands): roll back pending receipt on undefined passthrough and prune aged pending rows
2026-11-18 02:46:30 +08:00
MicroBlock
9a85c327af
fix(im): keep send listener active until sender.dispose() drains in-flight sends
2026-11-18 02:20:27 +08:00
MicroBlock
c2f504d86d
fix(im-session-commands): persist pending command intent before side effects
2026-11-18 02:18:04 +08:00
MicroBlock
33e76d0e5b
docs(im-session-commands): document command token boundary in README
2026-11-18 01:52:11 +08:00
MicroBlock
1cc5050f70
fix(im): rebuild retired generations on start() and recheck inside deliver() write
2026-11-18 01:51:30 +08:00
MicroBlock
0071aeb76f
fix(vendor/fetch-file): honor init.signal during fileTypeFromStream sniffing
2026-11-18 01:49:50 +08:00
MicroBlock
9a4c3d2cbe
docs(im): document target() source re-admission check and @throws access
2026-11-18 01:25:12 +08:00
MicroBlock
bb4cc1701a
test(vendor/im-core): use it.skipIf when built lib entrypoints are absent
2026-11-18 01:24:38 +08:00
MicroBlock
5208e4897b
fix(im): require whitespace or end-of-text after slash command name
2026-11-18 01:23:45 +08:00
MicroBlock
98db9c4f05
test(vendor/im-core): omit undefined config arg in ctx.plugin(runtime.Satori)
2026-11-18 01:01:14 +08:00
MicroBlock
8f177c5cf5
test(vendor/im-core): type Satori import cleanly in built-entrypoint test
2026-11-18 00:59:42 +08:00
MicroBlock
0e46750c61
test(vendor/im-core): pass config arg to ctx.plugin(Satori)
2026-11-18 00:58:10 +08:00
MicroBlock
e58905f8b6
docs(im): document outbound source re-admission check in README
2026-11-18 00:56:50 +08:00
MicroBlock
60335d7557
test(vendor/lark): pin prototype-key fallback in prepare.spec.ts
2026-11-18 00:56:00 +08:00
MicroBlock
75fe13c780
fix(vendor/im-core): share chunks across runtime and testing entrypoints
2026-11-18 00:55:17 +08:00
MicroBlock
4cdaee4d5e
fix(im): attribute un-receipted streams to their publishing session
2026-11-18 00:29:17 +08:00
MicroBlock
40335a2e49
docs(im): restore discard() JSDoc and document hasPendingReset() in ImSessionHost
2026-11-18 00:28:27 +08:00
MicroBlock
6a0f190420
fix(im): re-verify current config.sources admission in ImSender.target()
2026-11-18 00:27:59 +08:00
MicroBlock
7e3f3865be
fix(vendor/lark): use null-prototype maps in prepare.ts
2026-11-18 00:25:03 +08:00