Peter Steinberger
4336a7f3a9
refactor(plugin-sdk): narrow config runtime imports
2026-04-27 14:58:32 +01:00
Peter Steinberger
9b0a0fb0a7
refactor: tighten plugin boundary surfaces
2026-04-27 11:19:09 +01:00
Peter Steinberger
4f91d81e1d
fix(googlechat): preserve reply text after typing update failures
...
Preserve Google Chat reply text when typing indicator cleanup or update fails.
- Extract Google Chat reply delivery into a focused module
- Retry the failed first text chunk as a new message after placeholder update failure
- Cover media caption and chunk fallback regressions
Thanks @colin-lgtm.
2026-04-25 10:30:41 +01:00
Yao
0e50fee996
fix(googlechat): log webhook auth reject reasons and warn on appPrincipal misconfig ( #71145 )
...
* fix(googlechat): log webhook auth reject reasons and warn on appPrincipal misconfig
Closes #71078
Webhook auth failures previously returned 401 with no log line, leaving
operators no signal to diagnose. Additionally, app-url audience requires
a numeric OAuth 2.0 client ID as appPrincipal, but a misconfigured email
or empty value silently caused all requests to be rejected.
Changes:
- Log a WARN with accountId and reject reason when verifyGoogleChatRequest fails.
- Add warnAppPrincipalMisconfiguration() called at provider init: warns when
audienceType=app-url and appPrincipal is missing or contains '@'.
Tests: +9 cases in monitor-webhook.test.ts (3 reject-reason scenarios + 4 warner cases).
* fix(googlechat): defer auth rejection logs
* docs: note googlechat webhook auth fix
---------
Co-authored-by: luyao618 <luyao618@users.noreply.github.com >
Co-authored-by: Peter Steinberger <steipete@gmail.com >
2026-04-24 20:10:57 +01:00
Peter Steinberger
d32fdcebc1
fix(channels): keep bundled setup entries dependency-light
2026-04-24 06:10:07 +01:00
Peter Steinberger
921a5416e4
refactor: move channel doctor migrations to plugins
2026-04-22 18:55:18 +01:00
Vincent Koc
6d6845ea9d
fix(googlechat): harden google auth transport ( #69812 )
...
* fix(googlechat): localize google auth gaxios compat
* fix(googlechat): declare undici for staged runtime deps
* fix(googlechat): harden google auth transport
* fix(googlechat): narrow credential file reads
* fix(googlechat): preserve auth proxy transport
* fix(googlechat): allow symlinked auth files
* fix(googlechat): atomically load auth files
* fix(googlechat): eagerly buffer auth responses
* fix(googlechat): cap auth response buffering
* fix(googlechat): pin staged auth runtime deps
* fix(googlechat): buffer auth responses as array buffers
* Update CHANGELOG.md
* fix(googlechat): reject unstreamed auth responses
* fix(googlechat): use ambient fetch for auth transport
* fix(googlechat): keep guarded auth fetch on runtime path
* fix(googlechat): align staged zod range
* chore(lockfile): sync googlechat zod spec
2026-04-21 22:40:57 -07:00
Peter Steinberger
28d6aa5514
refactor: reuse text runtime in google chat
2026-04-21 00:06:19 +01:00
Peter Steinberger
3a7a1f156d
test(extensions): move remaining channel schema tests
2026-04-20 21:54:49 +01:00
Peter Steinberger
1f1ff0567a
refactor(lint): reduce map spread patterns
2026-04-18 19:27:43 +01:00
Peter Steinberger
66385670e4
refactor: reduce unnecessary dynamic imports
2026-04-18 16:15:33 +01:00
Peter Steinberger
41ef752dd8
fix(extensions): guard channel runtime fetches
2026-04-17 17:28:21 +01:00
Peter Steinberger
af954a81d1
perf: optimize bundled extension tests
2026-04-17 16:05:09 +01:00
Gustavo Madeira Santana
78ac118427
fix(plugins): stabilize bundled setup runtimes ( #67200 )
...
Merged via squash.
Prepared head SHA: e8d6738fd0
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com >
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com >
Reviewed-by: @gumadeiras
2026-04-15 12:35:18 -04:00
Peter Steinberger
85c7748520
lint: enable no extraneous class
2026-04-11 01:45:06 +01:00
Peter Steinberger
a94b926944
refactor: simplify messaging conversions
2026-04-11 01:04:46 +01:00
Peter Steinberger
22c2af0065
test: isolate qa network fetches
2026-04-10 23:46:20 +01:00
Vincent Koc
d752ff7191
fix(extensions): split runtime store type imports
2026-04-10 08:16:27 +01:00
Vignesh Natarajan
2484064c48
chore(lint): clear extension lint regressions and add #63416 changelog
2026-04-08 17:17:29 -07:00
Peter Steinberger
95e397a266
refactor: dedupe repeated test helpers
2026-04-08 09:58:22 +01:00
Peter Steinberger
aec24f4599
refactor: dedupe messaging trimmed readers
2026-04-08 01:36:39 +01:00
Gustavo Madeira Santana
d78512b09d
Refactor: centralize native approval lifecycle assembly ( #62135 )
...
Merged via squash.
Prepared head SHA: b7c20a7398
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com >
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com >
Reviewed-by: @gumadeiras
2026-04-07 14:40:26 -04:00
Peter Steinberger
a563f1f4a0
Messaging: remove stale adapter imports
2026-04-07 16:48:54 +01:00
Peter Steinberger
96724e5a4b
Messaging: align adapter compile surfaces
2026-04-07 16:46:21 +01:00
Peter Steinberger
ba6213bc14
fix(extensions): restore package boundary type coverage
2026-04-07 16:44:47 +01:00
Peter Steinberger
9975e3172d
test: speed up chat channel adapter tests
2026-04-07 16:13:57 +01:00
Peter Steinberger
83d08440dc
fix(boundary): align channel gateway context types
2026-04-07 14:22:14 +01:00
Peter Steinberger
3f8d7bb1fe
test: speed up googlechat setup tests
2026-04-07 14:15:42 +01:00
Peter Steinberger
f09cee84f2
refactor: dedupe google chat lowercase helpers
2026-04-07 13:44:42 +01:00
Vincent Koc
dfb6c9c920
perf(plugin-sdk): split channel secret runtime helpers
2026-04-07 13:09:12 +01:00
Peter Steinberger
f54a57b80a
refactor: dedupe lowercase string helpers
2026-04-07 10:37:39 +01:00
Peter Steinberger
fd6d3f270d
fix: repair ci lockfile and boundary drift
2026-04-07 09:02:26 +01:00
Peter Steinberger
a5ff85f01c
refactor: dedupe lowercased readers
2026-04-07 08:40:34 +01:00
Peter Steinberger
ce19b6bf6a
refactor: dedupe channel extension readers
2026-04-07 08:40:34 +01:00
Vincent Koc
c19f322ff9
perf(secrets): move plugin-owned coverage out of core matrix
2026-04-07 08:35:27 +01:00
Peter Steinberger
625fd5b3e3
refactor: centralize inbound mention policy
2026-04-07 07:51:00 +01:00
Vincent Koc
e318f48ff2
perf(secrets): narrow channel secret-ref imports
2026-04-07 07:38:34 +01:00
Peter Steinberger
325ff24bae
refactor: dedupe probe error formatting
2026-04-07 02:03:34 +01:00
Vincent Koc
78639eff76
perf(secrets): narrow channel secret sdk seam
2026-04-06 20:40:11 +01:00
Vincent Koc
c3b19d204a
perf(test): lazy-load bundled channel secrets
2026-04-06 16:40:41 +01:00
Vincent Koc
6067f2d9ad
chore(plugins): drop dead channel test any suppressions
2026-04-06 15:45:18 +01:00
Peter Steinberger
af62a2c2e4
style: fix extension lint violations
2026-04-06 14:53:55 +01:00
Peter Steinberger
89e8c8672c
fix: break bundled channel bootstrap cycles
2026-04-05 14:20:31 +01:00
Peter Steinberger
41e39eb46f
refactor: register channel bootstrap capabilities
2026-04-05 09:13:48 +01:00
Peter Steinberger
4dbc66b1ed
fix: remove bundled channel startup reentry
2026-04-04 15:39:12 +01:00
Peter Steinberger
edfaa01d1d
refactor(plugin-sdk): split runtime helper seams
2026-04-04 08:53:19 +01:00
Peter Steinberger
fd75d214f2
style(extensions): format channel integration updates
2026-04-04 06:02:37 +01:00
Peter Steinberger
b0e1551eb8
refactor(extensions): add channel-owned config schema seams
2026-04-04 05:31:11 +01:00
Vincent Koc
9e389cff3d
fix(config): migrate legacy group allow aliases ( #60597 )
...
* fix(config): migrate legacy group allow aliases
* fix(config): inline legacy streaming migration helpers
* refactor(config): rename legacy account matcher helper
* chore(agents): codify config contract boundaries
* fix(config): keep legacy allow aliases writable
* Update AGENTS.md
2026-04-04 11:15:32 +09:00
Peter Steinberger
1e6e685347
fix: unblock cli startup metadata
2026-04-04 02:35:36 +01:00