mirror of
https://gh-proxy.org/https://github.com/klinsmaya/CLIProxyAPI.git
synced 2026-11-09 01:46:48 +08:00
- Implemented `RequestInterceptor`, `ResponseInterceptor`, and `StreamChunkInterceptor` using embedded JavaScript. - Added support for configuring script paths, built-in script resolution, and safe execution. - Introduced ABI lifecycle management, plugin registration, and execution monitoring. - Enhanced with extensive test coverage for both plugin behavior and configuration logic.
19 lines
532 B
AMPL
19 lines
532 B
AMPL
module github.com/router-for-me/CLIProxyAPIPlugins/jshandler
|
|
|
|
go 1.26.0
|
|
|
|
require (
|
|
github.com/dop251/goja v0.0.0-20260607120635-348e6bea910d
|
|
github.com/router-for-me/CLIProxyAPI/v7 v7.1.55
|
|
github.com/sirupsen/logrus v1.9.4
|
|
gopkg.in/yaml.v3 v3.0.1
|
|
)
|
|
|
|
require (
|
|
github.com/dlclark/regexp2/v2 v2.2.1 // indirect
|
|
github.com/go-sourcemap/sourcemap v2.1.3+incompatible // indirect
|
|
github.com/google/pprof v0.0.0-20230207041349-798e818bf904 // indirect
|
|
golang.org/x/sys v0.38.0 // indirect
|
|
golang.org/x/text v0.31.0 // indirect
|
|
)
|