ai/at
2
0

fix(patch): curl URL delimiter bug, add DM grapheme limit patch

This commit is contained in:
2026-03-24 18:03:53 +09:00
parent fde5046b22
commit abfd02ecbd
9 changed files with 104 additions and 7 deletions

View File

@@ -0,0 +1,11 @@
--- a/Dockerfile
+++ b/Dockerfile
@@ -68,6 +68,8 @@
npm install --global yarn && \
yarn config set registry https://registry.npmjs.org/ && \
yarn install --frozen-lockfile --network-timeout 100000 && \
+ if [ -f 230-atproto-api-chat-grapheme-limit.patch ] && [ -d node_modules/@atproto/api ]; then \
+ patch -f -p1 -d node_modules/@atproto/api < 230-atproto-api-chat-grapheme-limit.patch || true; fi && \
yarn intl:build 2>&1 | tee i18n.log && \
if grep -q "invalid syntax" "i18n.log"; then echo "\n\nFound compilation errors!\n\n" && exit 1; else echo "\n\nNo compile errors!\n\n"; fi && \
SENTRY_AUTH_TOKEN=$SENTRY_AUTH_TOKEN SENTRY_RELEASE=$EXPO_PUBLIC_RELEASE_VERSION SENTRY_DIST=$EXPO_PUBLIC_BUNDLE_IDENTIFIER yarn build-web

View File

@@ -0,0 +1,20 @@
--- a/lexicons/chat/bsky/convo/defs.json
+++ b/lexicons/chat/bsky/convo/defs.json
@@ -18,7 +18,7 @@
"text": {
"type": "string",
"maxLength": 10000,
- "maxGraphemes": 1000
+ "maxGraphemes": 10000
},
"facets": {
"type": "array",
@@ -40,7 +40,7 @@
"text": {
"type": "string",
"maxLength": 10000,
- "maxGraphemes": 1000
+ "maxGraphemes": 10000
},
"facets": {
"type": "array",

View File

@@ -0,0 +1,20 @@
--- a/dist/client/lexicons.js 2026-04-01 12:13:01
+++ b/dist/client/lexicons.js 2026-04-01 12:13:12
@@ -9244,7 +9244,7 @@
text: {
type: 'string',
maxLength: 10000,
- maxGraphemes: 1000,
+ maxGraphemes: 10000,
},
facets: {
type: 'array',
@@ -9273,7 +9273,7 @@
text: {
type: 'string',
maxLength: 10000,
- maxGraphemes: 1000,
+ maxGraphemes: 10000,
},
facets: {
type: 'array',