fix(deps): address Dependabot vulnerabilities (#3450)

Co-authored-by: Kandev Agent <agent@kandev.dev>
This commit is contained in:
João Salavisa
2026-09-07 22:58:18 +01:00
committed by GitHub
parent cfd420679c
commit 3d042e9d8f
14 changed files with 878 additions and 5202 deletions
+10 -10
View File
@@ -33,10 +33,10 @@ require (
github.com/tiktoken-go/tokenizer v0.8.1 github.com/tiktoken-go/tokenizer v0.8.1
github.com/tuzig/vt10x v0.0.0-20231206072048-370e51642bf7 github.com/tuzig/vt10x v0.0.0-20231206072048-370e51642bf7
github.com/yuin/goldmark v1.7.13 github.com/yuin/goldmark v1.7.13
go.opentelemetry.io/otel v1.43.0 go.opentelemetry.io/otel v1.44.0
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.43.0 go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.44.0
go.opentelemetry.io/otel/sdk v1.43.0 go.opentelemetry.io/otel/sdk v1.44.0
go.opentelemetry.io/otel/trace v1.43.0 go.opentelemetry.io/otel/trace v1.44.0
go.uber.org/goleak v1.3.0 go.uber.org/goleak v1.3.0
go.uber.org/zap v1.26.0 go.uber.org/zap v1.26.0
golang.org/x/crypto v0.52.0 golang.org/x/crypto v0.52.0
@@ -44,7 +44,7 @@ require (
golang.org/x/sync v0.20.0 golang.org/x/sync v0.20.0
golang.org/x/sys v0.45.0 golang.org/x/sys v0.45.0
golang.org/x/text v0.37.0 golang.org/x/text v0.37.0
google.golang.org/grpc v1.82.1 google.golang.org/grpc v1.83.1
google.golang.org/protobuf v1.36.11 google.golang.org/protobuf v1.36.11
gopkg.in/natefinch/lumberjack.v2 v2.2.1 gopkg.in/natefinch/lumberjack.v2 v2.2.1
gopkg.in/yaml.v3 v3.0.1 gopkg.in/yaml.v3 v3.0.1
@@ -85,7 +85,7 @@ require (
github.com/golang/protobuf v1.5.4 // indirect github.com/golang/protobuf v1.5.4 // indirect
github.com/google/gnostic-models v0.7.0 // indirect github.com/google/gnostic-models v0.7.0 // indirect
github.com/google/jsonschema-go v0.4.2 // indirect github.com/google/jsonschema-go v0.4.2 // indirect
github.com/grpc-ecosystem/grpc-gateway/v2 v2.28.0 // indirect github.com/grpc-ecosystem/grpc-gateway/v2 v2.29.0 // indirect
github.com/hashicorp/hcl v1.0.0 // indirect github.com/hashicorp/hcl v1.0.0 // indirect
github.com/hashicorp/yamux v0.1.2 // indirect github.com/hashicorp/yamux v0.1.2 // indirect
github.com/jackc/pgpassfile v1.0.0 // indirect github.com/jackc/pgpassfile v1.0.0 // indirect
@@ -125,8 +125,8 @@ require (
github.com/yosida95/uritemplate/v3 v3.0.2 // indirect github.com/yosida95/uritemplate/v3 v3.0.2 // indirect
go.opentelemetry.io/auto/sdk v1.2.1 // indirect go.opentelemetry.io/auto/sdk v1.2.1 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.64.0 // indirect go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.64.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.43.0 // indirect go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.44.0 // indirect
go.opentelemetry.io/otel/metric v1.43.0 // indirect go.opentelemetry.io/otel/metric v1.44.0 // indirect
go.opentelemetry.io/proto/otlp v1.10.0 // indirect go.opentelemetry.io/proto/otlp v1.10.0 // indirect
go.uber.org/multierr v1.10.0 // indirect go.uber.org/multierr v1.10.0 // indirect
go.yaml.in/yaml/v2 v2.4.3 // indirect go.yaml.in/yaml/v2 v2.4.3 // indirect
@@ -135,8 +135,8 @@ require (
golang.org/x/oauth2 v0.36.0 // indirect golang.org/x/oauth2 v0.36.0 // indirect
golang.org/x/term v0.43.0 // indirect golang.org/x/term v0.43.0 // indirect
golang.org/x/time v0.11.0 // indirect golang.org/x/time v0.11.0 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20260414002931-afd174a4e478 // indirect google.golang.org/genproto/googleapis/api v0.0.0-20260526163538-3dc84a4a5aaa // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20260414002931-afd174a4e478 // indirect google.golang.org/genproto/googleapis/rpc v0.0.0-20260526163538-3dc84a4a5aaa // indirect
gopkg.in/evanphx/json-patch.v4 v4.13.0 // indirect gopkg.in/evanphx/json-patch.v4 v4.13.0 // indirect
gopkg.in/inf.v0 v0.9.1 // indirect gopkg.in/inf.v0 v0.9.1 // indirect
gopkg.in/ini.v1 v1.67.0 // indirect gopkg.in/ini.v1 v1.67.0 // indirect
+22 -22
View File
@@ -211,8 +211,8 @@ github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5m
github.com/googleapis/google-cloud-go-testing v0.0.0-20200911160855-bcd43fbb19e8/go.mod h1:dvDLG8qkwmyD9a/MJJN3XJcT3xFxOKAvTZGvuZmac9g= github.com/googleapis/google-cloud-go-testing v0.0.0-20200911160855-bcd43fbb19e8/go.mod h1:dvDLG8qkwmyD9a/MJJN3XJcT3xFxOKAvTZGvuZmac9g=
github.com/gorilla/websocket v1.5.4-0.20250319132907-e064f32e3674 h1:JeSE6pjso5THxAzdVpqr6/geYxZytqFMBCOtn/ujyeo= github.com/gorilla/websocket v1.5.4-0.20250319132907-e064f32e3674 h1:JeSE6pjso5THxAzdVpqr6/geYxZytqFMBCOtn/ujyeo=
github.com/gorilla/websocket v1.5.4-0.20250319132907-e064f32e3674/go.mod h1:r4w70xmWCQKmi1ONH4KIaBptdivuRPyosB9RmPlGEwA= github.com/gorilla/websocket v1.5.4-0.20250319132907-e064f32e3674/go.mod h1:r4w70xmWCQKmi1ONH4KIaBptdivuRPyosB9RmPlGEwA=
github.com/grpc-ecosystem/grpc-gateway/v2 v2.28.0 h1:HWRh5R2+9EifMyIHV7ZV+MIZqgz+PMpZ14Jynv3O2Zs= github.com/grpc-ecosystem/grpc-gateway/v2 v2.29.0 h1:5VipnvEpbqr2gA2VbM+nYVbkIF28c5ZQfqCBQ5g2xfk=
github.com/grpc-ecosystem/grpc-gateway/v2 v2.28.0/go.mod h1:JfhWUomR1baixubs02l85lZYYOm7LV6om4ceouMv45c= github.com/grpc-ecosystem/grpc-gateway/v2 v2.29.0/go.mod h1:Hyl3n6Twe1hvtd9XUXDec4pTvgMSEixRuQKPTMH2bNs=
github.com/hashicorp/go-hclog v1.6.3 h1:Qr2kF+eVWjTiYmU7Y31tYlP1h0q/X3Nl3tPGdaB11/k= github.com/hashicorp/go-hclog v1.6.3 h1:Qr2kF+eVWjTiYmU7Y31tYlP1h0q/X3Nl3tPGdaB11/k=
github.com/hashicorp/go-hclog v1.6.3/go.mod h1:W4Qnvbt70Wk/zYJryRzDRU/4r0kIg0PVHBcfoyhpF5M= github.com/hashicorp/go-hclog v1.6.3/go.mod h1:W4Qnvbt70Wk/zYJryRzDRU/4r0kIg0PVHBcfoyhpF5M=
github.com/hashicorp/go-plugin v1.8.0 h1:ie8S6RRY8RvB2usYZv+AAZ/wBvx2AU5p5QeP5j/FORs= github.com/hashicorp/go-plugin v1.8.0 h1:ie8S6RRY8RvB2usYZv+AAZ/wBvx2AU5p5QeP5j/FORs=
@@ -391,20 +391,20 @@ go.opentelemetry.io/auto/sdk v1.2.1 h1:jXsnJ4Lmnqd11kwkBV2LgLoFMZKizbCi5fNZ/ipaZ
go.opentelemetry.io/auto/sdk v1.2.1/go.mod h1:KRTj+aOaElaLi+wW1kO/DZRXwkF4C5xPbEe3ZiIhN7Y= go.opentelemetry.io/auto/sdk v1.2.1/go.mod h1:KRTj+aOaElaLi+wW1kO/DZRXwkF4C5xPbEe3ZiIhN7Y=
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.64.0 h1:ssfIgGNANqpVFCndZvcuyKbl0g+UAVcbBcqGkG28H0Y= go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.64.0 h1:ssfIgGNANqpVFCndZvcuyKbl0g+UAVcbBcqGkG28H0Y=
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.64.0/go.mod h1:GQ/474YrbE4Jx8gZ4q5I4hrhUzM6UPzyrqJYV2AqPoQ= go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.64.0/go.mod h1:GQ/474YrbE4Jx8gZ4q5I4hrhUzM6UPzyrqJYV2AqPoQ=
go.opentelemetry.io/otel v1.43.0 h1:mYIM03dnh5zfN7HautFE4ieIig9amkNANT+xcVxAj9I= go.opentelemetry.io/otel v1.44.0 h1:JjwHmHpA4iZ3wBxluu2fbbE7j4kqlE8jXyAyPXH7HqU=
go.opentelemetry.io/otel v1.43.0/go.mod h1:JuG+u74mvjvcm8vj8pI5XiHy1zDeoCS2LB1spIq7Ay0= go.opentelemetry.io/otel v1.44.0/go.mod h1:BMgjTHL9WPRlRjL2oZCBTL4whCGtXch2H4BhOPIAyYc=
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.43.0 h1:88Y4s2C8oTui1LGM6bTWkw0ICGcOLCAI5l6zsD1j20k= go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.44.0 h1:4YsVu3B8+3qtWYYrsUYgn0OG78pN0rnNPRGX4SbokQI=
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.43.0/go.mod h1:Vl1/iaggsuRlrHf/hfPJPvVag77kKyvrLeD10kpMl+A= go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.44.0/go.mod h1:+wnlSn0mD1ADVMe3v9Z/WIaiz6q6gL2J/ejaAmdmv80=
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.43.0 h1:3iZJKlCZufyRzPzlQhUIWVmfltrXuGyfjREgGP3UUjc= go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.44.0 h1:lgh3PiVrRUWMLOVSkQicxzZll5NjF1r+AtsX1XRIHw0=
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.43.0/go.mod h1:/G+nUPfhq2e+qiXMGxMwumDrP5jtzU+mWN7/sjT2rak= go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.44.0/go.mod h1:5Cnhth3m/AgOeTgE3ex12pPmiu/gGtZit03kSzx9X7s=
go.opentelemetry.io/otel/metric v1.43.0 h1:d7638QeInOnuwOONPp4JAOGfbCEpYb+K6DVWvdxGzgM= go.opentelemetry.io/otel/metric v1.44.0 h1:1w0gILTcHdr3YI+ixLyjemwrVnsMURbTZFrSYCdDdmc=
go.opentelemetry.io/otel/metric v1.43.0/go.mod h1:RDnPtIxvqlgO8GRW18W6Z/4P462ldprJtfxHxyKd2PY= go.opentelemetry.io/otel/metric v1.44.0/go.mod h1:8O7hanEPBNgEMmybD3s2VBKcgWOCsA6tzHBPODAiquo=
go.opentelemetry.io/otel/sdk v1.43.0 h1:pi5mE86i5rTeLXqoF/hhiBtUNcrAGHLKQdhg4h4V9Dg= go.opentelemetry.io/otel/sdk v1.44.0 h1:nHYwb9lK+fJPU/dnT6s7W7Z8itMWyqrnVfbheVYrZ58=
go.opentelemetry.io/otel/sdk v1.43.0/go.mod h1:P+IkVU3iWukmiit/Yf9AWvpyRDlUeBaRg6Y+C58QHzg= go.opentelemetry.io/otel/sdk v1.44.0/go.mod h1:Osuydd3Se74nqjAKxid74N5eC+jfEqfTegHRnq58oK0=
go.opentelemetry.io/otel/sdk/metric v1.43.0 h1:S88dyqXjJkuBNLeMcVPRFXpRw2fuwdvfCGLEo89fDkw= go.opentelemetry.io/otel/sdk/metric v1.44.0 h1:3LlKgI+VjbVsjNRFZJZAJ30WjXC5VkNRks6si09iEfI=
go.opentelemetry.io/otel/sdk/metric v1.43.0/go.mod h1:C/RJtwSEJ5hzTiUz5pXF1kILHStzb9zFlIEe85bhj6A= go.opentelemetry.io/otel/sdk/metric v1.44.0/go.mod h1:5B5pMARnXxKhltooO4xUuCBorl65a4EpnTalObqOigA=
go.opentelemetry.io/otel/trace v1.43.0 h1:BkNrHpup+4k4w+ZZ86CZoHHEkohws8AY+WTX09nk+3A= go.opentelemetry.io/otel/trace v1.44.0 h1:jxF5CsGYCe74MCRx2X4g7WsY/VBKRqqpNvXlX/6gtIk=
go.opentelemetry.io/otel/trace v1.43.0/go.mod h1:/QJhyVBUUswCphDVxq+8mld+AvhXZLhe+8WVFxiFff0= go.opentelemetry.io/otel/trace v1.44.0/go.mod h1:oLl1jrMQAVo6v3GAggN+1VH9VIz9iUSvW53sW1Q8PIE=
go.opentelemetry.io/proto/otlp v1.10.0 h1:IQRWgT5srOCYfiWnpqUYz9CVmbO8bFmKcwYxpuCSL2g= go.opentelemetry.io/proto/otlp v1.10.0 h1:IQRWgT5srOCYfiWnpqUYz9CVmbO8bFmKcwYxpuCSL2g=
go.opentelemetry.io/proto/otlp v1.10.0/go.mod h1:/CV4QoCR/S9yaPj8utp3lvQPoqMtxXdzn7ozvvozVqk= go.opentelemetry.io/proto/otlp v1.10.0/go.mod h1:/CV4QoCR/S9yaPj8utp3lvQPoqMtxXdzn7ozvvozVqk=
go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto= go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto=
@@ -699,10 +699,10 @@ google.golang.org/genproto v0.0.0-20201210142538-e3217bee35cc/go.mod h1:FWY/as6D
google.golang.org/genproto v0.0.0-20201214200347-8c77b98c765d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20201214200347-8c77b98c765d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
google.golang.org/genproto v0.0.0-20210108203827-ffc7fda8c3d7/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20210108203827-ffc7fda8c3d7/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
google.golang.org/genproto v0.0.0-20210226172003-ab064af71705/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20210226172003-ab064af71705/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
google.golang.org/genproto/googleapis/api v0.0.0-20260414002931-afd174a4e478 h1:yQugLulqltosq0B/f8l4w9VryjV+N/5gcW0jQ3N8Qec= google.golang.org/genproto/googleapis/api v0.0.0-20260526163538-3dc84a4a5aaa h1:Kjn0N0tCrDgiAFW+lGO4JZ3ck44CehvJQMAwj9QF0G8=
google.golang.org/genproto/googleapis/api v0.0.0-20260414002931-afd174a4e478/go.mod h1:C6ADNqOxbgdUUeRTU+LCHDPB9ttAMCTff6auwCVa4uc= google.golang.org/genproto/googleapis/api v0.0.0-20260526163538-3dc84a4a5aaa/go.mod h1:q4lMZS6kskjT5HvCPrnnypcDPVJqT/f4nfxmkE7gryY=
google.golang.org/genproto/googleapis/rpc v0.0.0-20260414002931-afd174a4e478 h1:RmoJA1ujG+/lRGNfUnOMfhCy5EipVMyvUE+KNbPbTlw= google.golang.org/genproto/googleapis/rpc v0.0.0-20260526163538-3dc84a4a5aaa h1:mZHHdPZl0dbGHCflZgAq/Q468DWVFcU2whhB2KAo8fk=
google.golang.org/genproto/googleapis/rpc v0.0.0-20260414002931-afd174a4e478/go.mod h1:4Hqkh8ycfw05ld/3BWL7rJOSfebL2Q+DVDeRgYgxUU8= google.golang.org/genproto/googleapis/rpc v0.0.0-20260526163538-3dc84a4a5aaa/go.mod h1:4Hqkh8ycfw05ld/3BWL7rJOSfebL2Q+DVDeRgYgxUU8=
google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c=
google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38=
google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM=
@@ -719,8 +719,8 @@ google.golang.org/grpc v1.31.1/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM
google.golang.org/grpc v1.33.2/go.mod h1:JMHMWHQWaTccqQQlmk3MJZS+GWXOdAesneDmEnv2fbc= google.golang.org/grpc v1.33.2/go.mod h1:JMHMWHQWaTccqQQlmk3MJZS+GWXOdAesneDmEnv2fbc=
google.golang.org/grpc v1.34.0/go.mod h1:WotjhfgOW/POjDeRt8vscBtXq+2VjORFy659qA51WJ8= google.golang.org/grpc v1.34.0/go.mod h1:WotjhfgOW/POjDeRt8vscBtXq+2VjORFy659qA51WJ8=
google.golang.org/grpc v1.35.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= google.golang.org/grpc v1.35.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU=
google.golang.org/grpc v1.82.1 h1:NnAxzGRA0677vCa4BUkOAnO5+FfQqVl9iUXeD0IqcGE= google.golang.org/grpc v1.83.1 h1:HIO0+BEtBP6soyqvqC8sNUjZ7bTs+0hFQuFF+RAy++Y=
google.golang.org/grpc v1.82.1/go.mod h1:yzTZ1TB1Z3SG+LIYaI+WiE8D5+PZ3ArnrSp8zF3+/ZA= google.golang.org/grpc v1.83.1/go.mod h1:kDyl6SKsiHKt0uylY5gtn5cEjkrIOhQOGDgIc4JGwzQ=
google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8=
google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0=
google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM=
+5 -2
View File
@@ -31,17 +31,20 @@
"@codemirror/state": "6.5.3", "@codemirror/state": "6.5.3",
"@codemirror/view": "6.39.10", "@codemirror/view": "6.39.10",
"@babel/core": "^7.29.6", "@babel/core": "^7.29.6",
"@babel/helper-compilation-targets>browserslist": "github:browserslist/browserslist#12ed5252dabc14fee4e97b465894b2f90910ca62",
"@hono/node-server": "^2.0.5", "@hono/node-server": "^2.0.5",
"@humanfs/node": "^0.16.8",
"@isaacs/brace-expansion": "^5.0.1", "@isaacs/brace-expansion": "^5.0.1",
"@modelcontextprotocol/sdk": "^1.26.0", "@modelcontextprotocol/sdk": "^1.26.0",
"adm-zip": "^0.6.0", "adm-zip": "^0.6.0",
"ajv@6": "6.15.0", "ajv@6": "6.15.0",
"ajv@8": "^8.18.0",
"body-parser": "^2.3.0", "body-parser": "^2.3.0",
"brace-expansion@1": "^1.1.18", "brace-expansion@1": "^1.1.18",
"brace-expansion@2": "^2.1.4", "brace-expansion@2": "^2.1.4",
"brace-expansion@5": "^5.0.9", "brace-expansion@5": "^5.0.9",
"dompurify": "^3.4.13", "dompurify": "^3.4.13",
"fast-uri": "^3.1.5", "fast-uri": "^3.1.6",
"flatted": "^3.4.2", "flatted": "^3.4.2",
"hono": "^4.12.34", "hono": "^4.12.34",
"ip-address": "^10.3.1", "ip-address": "^10.3.1",
@@ -57,8 +60,8 @@
"path-to-regexp@8": "^8.4.0", "path-to-regexp@8": "^8.4.0",
"picomatch@2": "^2.3.2", "picomatch@2": "^2.3.2",
"postcss": "^8.5.23", "postcss": "^8.5.23",
"postcss>nanoid": "github:ai/nanoid#9ad98052b316c5e707f8098ace509d2ae165e54d",
"protobufjs": "^7.6.5", "protobufjs": "^7.6.5",
"qs": "^6.15.2",
"sharp": "^0.35.0", "sharp": "^0.35.0",
"uuid@11": "^11.1.1", "uuid@11": "^11.1.1",
"ws": "^8.21.0" "ws": "^8.21.0"
+1 -1
View File
@@ -7,10 +7,10 @@
"exports": { "exports": {
"./globals.css": "./src/globals.css", "./globals.css": "./src/globals.css",
"./fonts.css": "./src/fonts.css", "./fonts.css": "./src/fonts.css",
"./shadcn-tailwind.css": "./src/shadcn-tailwind.css",
"./postcss.config.mjs": "./src/postcss.config.mjs" "./postcss.config.mjs": "./src/postcss.config.mjs"
}, },
"dependencies": { "dependencies": {
"shadcn": "^3.6.3",
"tw-animate-css": "^1.4.0" "tw-animate-css": "^1.4.0"
}, },
"devDependencies": { "devDependencies": {
+1 -1
View File
@@ -1,6 +1,6 @@
@import "tailwindcss"; @import "tailwindcss";
@import "tw-animate-css"; @import "tw-animate-css";
@import "shadcn/tailwind.css"; @import "./shadcn-tailwind.css";
@custom-variant dark (&:is(.dark *)); @custom-variant dark (&:is(.dark *));
@@ -0,0 +1,93 @@
/*
* Component state variants adapted from shadcn/ui's tailwind.css.
* Copyright (c) 2023 shadcn. Licensed under the MIT License.
*/
@theme inline {
@keyframes accordion-down {
from {
height: 0;
}
to {
height: var(--radix-accordion-content-height, var(--accordion-panel-height, auto));
}
}
@keyframes accordion-up {
from {
height: var(--radix-accordion-content-height, var(--accordion-panel-height, auto));
}
to {
height: 0;
}
}
}
/* Custom variants */
@custom-variant data-open {
&:where([data-state="open"]),
&:where([data-open]:not([data-open="false"])) {
@slot;
}
}
@custom-variant data-closed {
&:where([data-state="closed"]),
&:where([data-closed]:not([data-closed="false"])) {
@slot;
}
}
@custom-variant data-checked {
&:where([data-state="checked"]),
&:where([data-checked]:not([data-checked="false"])) {
@slot;
}
}
@custom-variant data-unchecked {
&:where([data-state="unchecked"]),
&:where([data-unchecked]:not([data-unchecked="false"])) {
@slot;
}
}
@custom-variant data-selected {
&:where([data-selected="true"]) {
@slot;
}
}
@custom-variant data-disabled {
&:where([data-disabled="true"]),
&:where([data-disabled]:not([data-disabled="false"])) {
@slot;
}
}
@custom-variant data-active {
&:where([data-state="active"]),
&:where([data-active]:not([data-active="false"])) {
@slot;
}
}
@custom-variant data-horizontal {
&:where([data-orientation="horizontal"]) {
@slot;
}
}
@custom-variant data-vertical {
&:where([data-orientation="vertical"]) {
@slot;
}
}
@utility no-scrollbar {
-ms-overflow-style: none;
scrollbar-width: none;
&::-webkit-scrollbar {
display: none;
}
}
+531 -2282
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -1,6 +1,6 @@
@import "tailwindcss"; @import "tailwindcss";
@import "tw-animate-css"; @import "tw-animate-css";
@import "shadcn/tailwind.css"; @import "@kandev/theme/shadcn-tailwind.css";
@import "@kandev/theme/fonts.css"; @import "@kandev/theme/fonts.css";
@import "dockview-react/dist/styles/dockview.css"; @import "dockview-react/dist/styles/dockview.css";
@import "./dockview-theme.css"; @import "./dockview-theme.css";
@@ -10,6 +10,21 @@ import {
import { createMentionSuggestion } from "./tiptap-suggestion"; import { createMentionSuggestion } from "./tiptap-suggestion";
import * as entityReferenceSuggestions from "./tiptap-entity-reference-suggestion"; import * as entityReferenceSuggestions from "./tiptap-entity-reference-suggestion";
function createSuggestionPositioningProps() {
return {
placement: "bottom-start" as const,
offset: { mainAxis: 4, crossAxis: 0 },
flip: true,
floatingUi: {
placement: "bottom-start" as const,
strategy: "absolute" as const,
middleware: [],
},
mount: vi.fn(() => vi.fn()),
loading: false,
};
}
describe("entity reference suggestion", () => { describe("entity reference suggestion", () => {
it("provides an independent # suggestion config", () => { it("provides an independent # suggestion config", () => {
expect( expect(
@@ -236,6 +251,7 @@ describe("entity reference suggestion lifecycle", () => {
command: vi.fn(), command: vi.fn(),
decorationNode: null, decorationNode: null,
clientRect: () => new DOMRect(10, 20, 1, 10), clientRect: () => new DOMRect(10, 20, 1, 10),
...createSuggestionPositioningProps(),
}; };
expect(lifecycle).toBeDefined(); expect(lifecycle).toBeDefined();
@@ -356,6 +372,7 @@ describe("createMentionSuggestion", () => {
command, command,
decorationNode: null, decorationNode: null,
clientRect: null, clientRect: null,
...createSuggestionPositioningProps(),
}); });
const menu = setMenuState.mock.calls[0]?.[0]; const menu = setMenuState.mock.calls[0]?.[0];
@@ -3,7 +3,7 @@ import { waitForSessionDone, seedIdleSession } from "../../helpers/session";
import { waitForActiveSessionCancellationPending } from "../../helpers/session-store"; import { waitForActiveSessionCancellationPending } from "../../helpers/session-store";
test.describe("Cancel progress across task switches", () => { test.describe("Cancel progress across task switches", () => {
test("keeps backend-owned cancel progress across task switches and reloads", async ({ test("keeps backend-owned cancel progress across task switches", async ({
testPage, testPage,
apiClient, apiClient,
seedData, seedData,
@@ -30,8 +30,8 @@ test.describe("Cancel progress across task switches", () => {
); );
const session = await seedIdleSession(testPage, apiClient, seedData, "Cancel progress A"); const session = await seedIdleSession(testPage, apiClient, seedData, "Cancel progress A");
// Keep the agent busy long enough for the task-switch and reload assertions // Reload hydration is covered independently by mobile-cancel-progress-reload.spec.ts.
// to observe the backend-owned cancellation state on slower CI runners. // Keep this regression focused on the two component remounts caused by task navigation.
await session.sendMessage("/slow 30s"); await session.sendMessage("/slow 30s");
const activeCancel = session.activeChat().getByTestId("cancel-agent-button"); const activeCancel = session.activeChat().getByTestId("cancel-agent-button");
@@ -58,15 +58,8 @@ test.describe("Cancel progress across task switches", () => {
await expect(remountedCancel).toBeDisabled(); await expect(remountedCancel).toBeDisabled();
await expect(remountedCancel.getByRole("status", { name: "Loading" })).toBeVisible(); await expect(remountedCancel.getByRole("status", { name: "Loading" })).toBeVisible();
await testPage.reload();
await session.waitForLoad();
const reloadedCancel = session.activeChat().getByTestId("cancel-agent-button");
await expect(reloadedCancel).toBeVisible({ timeout: 15_000 });
await expect(reloadedCancel).toBeDisabled();
await expect(reloadedCancel.getByRole("status", { name: "Loading" })).toBeVisible();
await expect(session.idleInput()).toBeVisible({ timeout: 30_000 }); await expect(session.idleInput()).toBeVisible({ timeout: 30_000 });
await waitForActiveSessionCancellationPending(testPage, false); await waitForActiveSessionCancellationPending(testPage, false);
await expect(reloadedCancel).not.toBeVisible({ timeout: 15_000 }); await expect(remountedCancel).not.toBeVisible({ timeout: 15_000 });
}); });
}); });
File diff suppressed because one or more lines are too long
+30 -28
View File
@@ -65,33 +65,36 @@
"@tabler/icons-react": "^3.36.1", "@tabler/icons-react": "^3.36.1",
"@tanstack/react-table": "^8.21.3", "@tanstack/react-table": "^8.21.3",
"@tanstack/react-virtual": "^3.14.10", "@tanstack/react-virtual": "^3.14.10",
"@tiptap/core": "^3.19.0", "@tiptap/core": "^3.31.3",
"@tiptap/extension-bubble-menu": "^3.19.0", "@tiptap/extension-bubble-menu": "^3.31.3",
"@tiptap/extension-code": "^3.19.0", "@tiptap/extension-code": "^3.31.3",
"@tiptap/extension-code-block-lowlight": "^3.19.0", "@tiptap/extension-code-block-lowlight": "^3.31.3",
"@tiptap/extension-document": "^3.19.0", "@tiptap/extension-collaboration": "3.31.3",
"@tiptap/extension-drag-handle": "^3.20.0", "@tiptap/extension-document": "^3.31.3",
"@tiptap/extension-drag-handle-react": "^3.20.0", "@tiptap/extension-drag-handle": "^3.31.3",
"@tiptap/extension-hard-break": "^3.19.0", "@tiptap/extension-drag-handle-react": "^3.31.3",
"@tiptap/extension-highlight": "^3.19.0", "@tiptap/extension-hard-break": "^3.31.3",
"@tiptap/extension-history": "^3.19.0", "@tiptap/extension-highlight": "^3.31.3",
"@tiptap/extension-image": "^3.19.0", "@tiptap/extension-history": "^3.31.3",
"@tiptap/extension-link": "^3.19.0", "@tiptap/extension-image": "^3.31.3",
"@tiptap/extension-mention": "^3.19.0", "@tiptap/extension-link": "^3.31.3",
"@tiptap/extension-paragraph": "^3.19.0", "@tiptap/extension-mention": "^3.31.3",
"@tiptap/extension-placeholder": "^3.19.0", "@tiptap/extension-node-range": "3.31.3",
"@tiptap/extension-table": "^3.19.0", "@tiptap/extension-paragraph": "^3.31.3",
"@tiptap/extension-table-cell": "^3.19.0", "@tiptap/extension-placeholder": "^3.31.3",
"@tiptap/extension-table-header": "^3.19.0", "@tiptap/extension-table": "^3.31.3",
"@tiptap/extension-table-row": "^3.19.0", "@tiptap/extension-table-cell": "^3.31.3",
"@tiptap/extension-task-item": "^3.19.0", "@tiptap/extension-table-header": "^3.31.3",
"@tiptap/extension-task-list": "^3.19.0", "@tiptap/extension-table-row": "^3.31.3",
"@tiptap/extension-text": "^3.19.0", "@tiptap/extension-task-item": "^3.31.3",
"@tiptap/extension-underline": "^3.19.0", "@tiptap/extension-task-list": "^3.31.3",
"@tiptap/pm": "^3.19.0", "@tiptap/extension-text": "^3.31.3",
"@tiptap/react": "^3.19.0", "@tiptap/extension-underline": "^3.31.3",
"@tiptap/starter-kit": "^3.19.0", "@tiptap/pm": "^3.31.3",
"@tiptap/suggestion": "^3.19.0", "@tiptap/react": "^3.31.3",
"@tiptap/starter-kit": "^3.31.3",
"@tiptap/suggestion": "^3.31.3",
"@tiptap/y-tiptap": "3.0.9",
"@uiw/codemirror-theme-github": "^4.25.4", "@uiw/codemirror-theme-github": "^4.25.4",
"@uiw/codemirror-theme-vscode": "^4.25.4", "@uiw/codemirror-theme-vscode": "^4.25.4",
"@uiw/react-codemirror": "^4.25.4", "@uiw/react-codemirror": "^4.25.4",
@@ -128,7 +131,6 @@
"remark-breaks": "^4.0.0", "remark-breaks": "^4.0.0",
"remark-gemoji": "^8.0.0", "remark-gemoji": "^8.0.0",
"remark-gfm": "^4.0.1", "remark-gfm": "^4.0.1",
"shadcn": "^3.6.3",
"shiki": "^3.22.0", "shiki": "^3.22.0",
"sonner": "^2.0.7", "sonner": "^2.0.7",
"tailwind-merge": "^3.4.0", "tailwind-merge": "^3.4.0",
@@ -89,4 +89,15 @@ describe("generated/licenses.json", () => {
expect(eco.has("npm")).toBe(true); expect(eco.has("npm")).toBe(true);
expect(eco.has("go")).toBe(true); expect(eco.has("go")).toBe(true);
}); });
it("contains the notice for the vendored shadcn/ui Tailwind CSS", () => {
expect(entries).toContainEqual(
expect.objectContaining({
name: "shadcn/ui Tailwind CSS",
version: "3.6.3",
license: "MIT",
ecosystem: "source",
}),
);
});
}); });
+29
View File
@@ -64,6 +64,35 @@ furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software. copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
`,
ecosystem: "source",
},
{
name: "shadcn/ui Tailwind CSS",
version: "3.6.3",
license: "MIT",
repository: "https://github.com/shadcn-ui/ui",
license_text: `MIT License
Copyright (c) 2023 shadcn
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE