@coze-arch/cli 0.0.1-alpha.e8e1d7 → 0.0.1-alpha.e9ff73
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/__templates__/expo/.cozeproj/scripts/dev_run.sh +13 -12
- package/lib/__templates__/expo/.cozeproj/scripts/server_dev_run.sh +9 -8
- package/lib/__templates__/expo/client/eslint.config.mjs +4 -1
- package/lib/__templates__/expo/client/metro.config.js +3 -0
- package/lib/__templates__/expo/client/package.json +35 -35
- package/lib/__templates__/expo/client/screens/demo/index.tsx +3 -3
- package/lib/__templates__/expo/eslint-plugins/react-native/index.js +9 -0
- package/lib/__templates__/expo/eslint-plugins/react-native/rule.js +64 -0
- package/lib/__templates__/expo/package.json +1 -1
- package/lib/__templates__/expo/patches/{expo@54.0.32.patch → expo@54.0.33.patch} +3 -2
- package/lib/__templates__/expo/pnpm-lock.yaml +340 -1736
- package/lib/__templates__/expo/server/package.json +9 -7
- package/lib/__templates__/expo/server/src/index.ts +1 -0
- package/lib/__templates__/expo/template.config.js +56 -0
- package/lib/__templates__/native-static/.coze +11 -0
- package/lib/__templates__/native-static/index.html +33 -0
- package/lib/__templates__/native-static/styles/main.css +136 -0
- package/lib/__templates__/native-static/template.config.js +22 -0
- package/lib/__templates__/nextjs/_gitignore +3 -0
- package/lib/__templates__/nextjs/package.json +13 -1
- package/lib/__templates__/nextjs/pnpm-lock.yaml +183 -99
- package/lib/__templates__/nextjs/scripts/build.sh +4 -1
- package/lib/__templates__/nextjs/scripts/dev.sh +1 -1
- package/lib/__templates__/nextjs/scripts/start.sh +1 -1
- package/lib/__templates__/nextjs/server.ts +35 -0
- package/lib/__templates__/nextjs/src/app/page.tsx +18 -60
- package/lib/__templates__/nextjs/template.config.js +49 -14
- package/lib/__templates__/nuxt-app/.coze +12 -0
- package/lib/__templates__/nuxt-app/.nuxt/app.config.mjs +21 -0
- package/lib/__templates__/nuxt-app/.nuxt/components.d.ts +64 -0
- package/lib/__templates__/nuxt-app/.nuxt/imports.d.ts +31 -0
- package/lib/__templates__/nuxt-app/.nuxt/manifest/meta/f97812ec-f25e-427b-b45d-eab58fba39f9.json +1 -0
- package/lib/__templates__/nuxt-app/.nuxt/nuxt.d.ts +19 -0
- package/lib/__templates__/nuxt-app/.nuxt/nuxt.node.d.ts +14 -0
- package/lib/__templates__/nuxt-app/.nuxt/nuxt.shared.d.ts +6 -0
- package/lib/__templates__/nuxt-app/.nuxt/schema/nuxt.schema.d.ts +17 -0
- package/lib/__templates__/nuxt-app/.nuxt/schema/nuxt.schema.json +3 -0
- package/lib/__templates__/nuxt-app/.nuxt/tsconfig.app.json +201 -0
- package/lib/__templates__/nuxt-app/.nuxt/tsconfig.json +203 -0
- package/lib/__templates__/nuxt-app/.nuxt/tsconfig.node.json +110 -0
- package/lib/__templates__/nuxt-app/.nuxt/tsconfig.server.json +140 -0
- package/lib/__templates__/nuxt-app/.nuxt/tsconfig.shared.json +152 -0
- package/lib/__templates__/nuxt-app/.nuxt/types/app.config.d.ts +35 -0
- package/lib/__templates__/nuxt-app/.nuxt/types/build.d.ts +24 -0
- package/lib/__templates__/nuxt-app/.nuxt/types/builder-env.d.ts +1 -0
- package/lib/__templates__/nuxt-app/.nuxt/types/components.d.ts +69 -0
- package/lib/__templates__/nuxt-app/.nuxt/types/imports.d.ts +360 -0
- package/lib/__templates__/nuxt-app/.nuxt/types/middleware.d.ts +11 -0
- package/lib/__templates__/nuxt-app/.nuxt/types/modules.d.ts +79 -0
- package/lib/__templates__/nuxt-app/.nuxt/types/nitro-config.d.ts +14 -0
- package/lib/__templates__/nuxt-app/.nuxt/types/nitro-imports.d.ts +151 -0
- package/lib/__templates__/nuxt-app/.nuxt/types/nitro-layouts.d.ts +17 -0
- package/lib/__templates__/nuxt-app/.nuxt/types/nitro-nuxt.d.ts +64 -0
- package/lib/__templates__/nuxt-app/.nuxt/types/nitro-routes.d.ts +17 -0
- package/lib/__templates__/nuxt-app/.nuxt/types/nitro.d.ts +3 -0
- package/lib/__templates__/nuxt-app/.nuxt/types/plugins.d.ts +30 -0
- package/lib/__templates__/nuxt-app/.nuxt/types/runtime-config.d.ts +32 -0
- package/lib/__templates__/nuxt-app/.nuxt/types/shared-imports.d.ts +10 -0
- package/lib/__templates__/nuxt-app/.nuxt/types/vue-shim.d.ts +0 -0
- package/lib/__templates__/nuxt-app/README.md +83 -0
- package/lib/__templates__/nuxt-app/_gitignore +24 -0
- package/lib/__templates__/nuxt-app/_npmrc +23 -0
- package/lib/__templates__/nuxt-app/app/app.vue +193 -0
- package/lib/__templates__/nuxt-app/nuxt.config.ts +56 -0
- package/lib/__templates__/nuxt-app/package.json +28 -0
- package/lib/__templates__/nuxt-app/pnpm-lock.yaml +7202 -0
- package/lib/__templates__/nuxt-app/public/favicon.ico +0 -0
- package/lib/__templates__/nuxt-app/public/robots.txt +2 -0
- package/lib/__templates__/nuxt-app/scripts/build.sh +14 -0
- package/lib/__templates__/nuxt-app/scripts/dev.sh +33 -0
- package/lib/__templates__/nuxt-app/scripts/prepare.sh +14 -0
- package/lib/__templates__/nuxt-app/scripts/start.sh +15 -0
- package/lib/__templates__/nuxt-app/template.config.js +78 -0
- package/lib/__templates__/nuxt-app/tsconfig.json +18 -0
- package/lib/__templates__/taro/.coze +14 -0
- package/lib/__templates__/taro/.cozeproj/scripts/deploy_build.sh +19 -0
- package/lib/__templates__/taro/.cozeproj/scripts/deploy_run.sh +14 -0
- package/lib/__templates__/taro/.cozeproj/scripts/dev_build.sh +2 -0
- package/lib/__templates__/taro/.cozeproj/scripts/dev_run.sh +151 -0
- package/lib/__templates__/taro/.cozeproj/scripts/init_env.sh +5 -0
- package/lib/__templates__/taro/.cozeproj/scripts/pack.sh +24 -0
- package/lib/__templates__/taro/README.md +751 -0
- package/lib/__templates__/taro/_gitignore +40 -0
- package/lib/__templates__/taro/_npmrc +18 -0
- package/lib/__templates__/taro/babel.config.js +12 -0
- package/lib/__templates__/taro/config/dev.ts +9 -0
- package/lib/__templates__/taro/config/index.ts +223 -0
- package/lib/__templates__/taro/config/prod.ts +34 -0
- package/lib/__templates__/taro/eslint.config.mjs +80 -0
- package/lib/__templates__/taro/key/private.appid.key +0 -0
- package/lib/__templates__/taro/package.json +107 -0
- package/lib/__templates__/taro/patches/@tarojs__plugin-mini-ci@4.1.9.patch +30 -0
- package/lib/__templates__/taro/pnpm-lock.yaml +23100 -0
- package/lib/__templates__/taro/pnpm-workspace.yaml +2 -0
- package/lib/__templates__/taro/project.config.json +15 -0
- package/lib/__templates__/taro/server/nest-cli.json +10 -0
- package/lib/__templates__/taro/server/package.json +40 -0
- package/lib/__templates__/taro/server/src/app.controller.ts +23 -0
- package/lib/__templates__/taro/server/src/app.module.ts +10 -0
- package/lib/__templates__/taro/server/src/app.service.ts +8 -0
- package/lib/__templates__/taro/server/src/interceptors/http-status.interceptor.ts +23 -0
- package/lib/__templates__/taro/server/src/main.ts +49 -0
- package/lib/__templates__/taro/server/tsconfig.json +24 -0
- package/lib/__templates__/taro/src/app.config.ts +11 -0
- package/lib/__templates__/taro/src/app.css +52 -0
- package/lib/__templates__/taro/src/app.tsx +9 -0
- package/lib/__templates__/taro/src/index.html +39 -0
- package/lib/__templates__/taro/src/network.ts +39 -0
- package/lib/__templates__/taro/src/pages/index/index.config.ts +3 -0
- package/lib/__templates__/taro/src/pages/index/index.css +1 -0
- package/lib/__templates__/taro/src/pages/index/index.tsx +33 -0
- package/lib/__templates__/taro/src/presets/dev-debug.ts +23 -0
- package/lib/__templates__/taro/src/presets/h5-container.tsx +15 -0
- package/lib/__templates__/taro/src/presets/h5-navbar.tsx +201 -0
- package/lib/__templates__/taro/src/presets/h5-styles.ts +142 -0
- package/lib/__templates__/taro/src/presets/index.tsx +18 -0
- package/lib/__templates__/taro/stylelint.config.mjs +4 -0
- package/lib/__templates__/taro/template.config.js +68 -0
- package/lib/__templates__/taro/tsconfig.json +29 -0
- package/lib/__templates__/taro/types/global.d.ts +32 -0
- package/lib/__templates__/templates.json +68 -0
- package/lib/__templates__/vite/package.json +5 -1
- package/lib/__templates__/vite/pnpm-lock.yaml +146 -1659
- package/lib/__templates__/vite/src/main.ts +17 -47
- package/lib/__templates__/vite/template.config.js +49 -14
- package/lib/__templates__/vite/vite.config.ts +1 -0
- package/lib/cli.js +93 -81
- package/package.json +2 -1
|
@@ -11,6 +11,12 @@ importers:
|
|
|
11
11
|
|
|
12
12
|
.:
|
|
13
13
|
dependencies:
|
|
14
|
+
'@aws-sdk/client-s3':
|
|
15
|
+
specifier: ^3.958.0
|
|
16
|
+
version: 3.975.0
|
|
17
|
+
'@aws-sdk/lib-storage':
|
|
18
|
+
specifier: ^3.958.0
|
|
19
|
+
version: 3.975.0(@aws-sdk/client-s3@3.975.0)
|
|
14
20
|
'@hookform/resolvers':
|
|
15
21
|
specifier: ^5.2.2
|
|
16
22
|
version: 5.2.2(react-hook-form@7.71.1(react@19.2.3))
|
|
@@ -92,6 +98,9 @@ importers:
|
|
|
92
98
|
'@radix-ui/react-tooltip':
|
|
93
99
|
specifier: ^1.2.8
|
|
94
100
|
version: 1.2.8(@types/react-dom@19.2.3(@types/react@19.2.10))(@types/react@19.2.10)(react-dom@19.2.3(react@19.2.3))(react@19.2.3)
|
|
101
|
+
'@supabase/supabase-js':
|
|
102
|
+
specifier: 2.95.3
|
|
103
|
+
version: 2.95.3
|
|
95
104
|
class-variance-authority:
|
|
96
105
|
specifier: ^0.7.1
|
|
97
106
|
version: 0.7.1
|
|
@@ -102,8 +111,23 @@ importers:
|
|
|
102
111
|
specifier: ^1.1.1
|
|
103
112
|
version: 1.1.1(@types/react-dom@19.2.3(@types/react@19.2.10))(@types/react@19.2.10)(react-dom@19.2.3(react@19.2.3))(react@19.2.3)
|
|
104
113
|
coze-coding-dev-sdk:
|
|
105
|
-
specifier: ^0.7.
|
|
106
|
-
version: 0.7.
|
|
114
|
+
specifier: ^0.7.16
|
|
115
|
+
version: 0.7.16(openai@6.16.0(ws@8.19.0)(zod@4.3.6))(ws@8.19.0)
|
|
116
|
+
date-fns:
|
|
117
|
+
specifier: ^4.1.0
|
|
118
|
+
version: 4.1.0
|
|
119
|
+
dotenv:
|
|
120
|
+
specifier: ^17.2.3
|
|
121
|
+
version: 17.2.3
|
|
122
|
+
drizzle-kit:
|
|
123
|
+
specifier: ^0.31.8
|
|
124
|
+
version: 0.31.8
|
|
125
|
+
drizzle-orm:
|
|
126
|
+
specifier: ^0.45.1
|
|
127
|
+
version: 0.45.1(@types/pg@8.16.0)(pg@8.17.2)
|
|
128
|
+
drizzle-zod:
|
|
129
|
+
specifier: ^0.8.3
|
|
130
|
+
version: 0.8.3(drizzle-orm@0.45.1(@types/pg@8.16.0)(pg@8.17.2))(zod@4.3.6)
|
|
107
131
|
embla-carousel-react:
|
|
108
132
|
specifier: ^8.6.0
|
|
109
133
|
version: 8.6.0(react@19.2.3)
|
|
@@ -119,6 +143,9 @@ importers:
|
|
|
119
143
|
next-themes:
|
|
120
144
|
specifier: ^0.4.6
|
|
121
145
|
version: 0.4.6(react-dom@19.2.3(react@19.2.3))(react@19.2.3)
|
|
146
|
+
pg:
|
|
147
|
+
specifier: ^8.16.3
|
|
148
|
+
version: 8.17.2
|
|
122
149
|
react:
|
|
123
150
|
specifier: 19.2.3
|
|
124
151
|
version: 19.2.3
|
|
@@ -156,12 +183,18 @@ importers:
|
|
|
156
183
|
'@react-dev-inspector/babel-plugin':
|
|
157
184
|
specifier: ^2.0.1
|
|
158
185
|
version: 2.0.1
|
|
186
|
+
'@react-dev-inspector/middleware':
|
|
187
|
+
specifier: ^2.0.1
|
|
188
|
+
version: 2.0.1(eslint@9.39.2(jiti@2.6.1))(typescript@5.9.3)(webpack@5.104.1(esbuild@0.25.12))
|
|
159
189
|
'@tailwindcss/postcss':
|
|
160
190
|
specifier: ^4
|
|
161
191
|
version: 4.1.18
|
|
162
192
|
'@types/node':
|
|
163
193
|
specifier: ^20
|
|
164
194
|
version: 20.19.30
|
|
195
|
+
'@types/pg':
|
|
196
|
+
specifier: ^8.16.0
|
|
197
|
+
version: 8.16.0
|
|
165
198
|
'@types/react':
|
|
166
199
|
specifier: ^19
|
|
167
200
|
version: 19.2.10
|
|
@@ -186,6 +219,9 @@ importers:
|
|
|
186
219
|
tailwindcss:
|
|
187
220
|
specifier: ^4
|
|
188
221
|
version: 4.1.18
|
|
222
|
+
tsx:
|
|
223
|
+
specifier: ^4.19.2
|
|
224
|
+
version: 4.21.0
|
|
189
225
|
typescript:
|
|
190
226
|
specifier: ^5
|
|
191
227
|
version: 5.9.3
|
|
@@ -2027,6 +2063,30 @@ packages:
|
|
|
2027
2063
|
'@standard-schema/utils@0.3.0':
|
|
2028
2064
|
resolution: {integrity: sha512-e7Mew686owMaPJVNNLs55PUvgz371nKgwsc4vxE49zsODpJEnxgxRo2y/OKrqueavXgZNMDVj3DdHFlaSAeU8g==}
|
|
2029
2065
|
|
|
2066
|
+
'@supabase/auth-js@2.95.3':
|
|
2067
|
+
resolution: {integrity: sha512-vD2YoS8E2iKIX0F7EwXTmqhUpaNsmbU6X2R0/NdFcs02oEfnHyNP/3M716f3wVJ2E5XHGiTFXki6lRckhJ0Thg==}
|
|
2068
|
+
engines: {node: '>=20.0.0'}
|
|
2069
|
+
|
|
2070
|
+
'@supabase/functions-js@2.95.3':
|
|
2071
|
+
resolution: {integrity: sha512-uTuOAKzs9R/IovW1krO0ZbUHSJnsnyJElTXIRhjJTqymIVGcHzkAYnBCJqd7468Fs/Foz1BQ7Dv6DCl05lr7ig==}
|
|
2072
|
+
engines: {node: '>=20.0.0'}
|
|
2073
|
+
|
|
2074
|
+
'@supabase/postgrest-js@2.95.3':
|
|
2075
|
+
resolution: {integrity: sha512-LTrRBqU1gOovxRm1vRXPItSMPBmEFqrfTqdPTRtzOILV4jPSueFz6pES5hpb4LRlkFwCPRmv3nQJ5N625V2Xrg==}
|
|
2076
|
+
engines: {node: '>=20.0.0'}
|
|
2077
|
+
|
|
2078
|
+
'@supabase/realtime-js@2.95.3':
|
|
2079
|
+
resolution: {integrity: sha512-D7EAtfU3w6BEUxDACjowWNJo/ZRo7sDIuhuOGKHIm9FHieGeoJV5R6GKTLtga/5l/6fDr2u+WcW/m8I9SYmaIw==}
|
|
2080
|
+
engines: {node: '>=20.0.0'}
|
|
2081
|
+
|
|
2082
|
+
'@supabase/storage-js@2.95.3':
|
|
2083
|
+
resolution: {integrity: sha512-4GxkJiXI3HHWjxpC3sDx1BVrV87O0hfX+wvJdqGv67KeCu+g44SPnII8y0LL/Wr677jB7tpjAxKdtVWf+xhc9A==}
|
|
2084
|
+
engines: {node: '>=20.0.0'}
|
|
2085
|
+
|
|
2086
|
+
'@supabase/supabase-js@2.95.3':
|
|
2087
|
+
resolution: {integrity: sha512-Fukw1cUTQ6xdLiHDJhKKPu6svEPaCEDvThqCne3OaQyZvuq2qjhJAd91kJu3PXLG18aooCgYBaB6qQz35hhABg==}
|
|
2088
|
+
engines: {node: '>=20.0.0'}
|
|
2089
|
+
|
|
2030
2090
|
'@swc/helpers@0.5.15':
|
|
2031
2091
|
resolution: {integrity: sha512-JQ5TuMi45Owi4/BIMAJBoSQoOJu12oOk/gADqlcUL9JEdHB8vyjUSsxqeNXnmXHjYKMi2WcYtezGEEhqUI/E2g==}
|
|
2032
2092
|
|
|
@@ -2176,6 +2236,12 @@ packages:
|
|
|
2176
2236
|
'@types/parse-json@4.0.2':
|
|
2177
2237
|
resolution: {integrity: sha512-dISoDXWWQwUquiKsyZ4Ng+HX2KsPL7LyHKHQwgGFEA3IaKac4Obd+h2a/a6waisAoepJlBcx9paWqjA8/HVjCw==}
|
|
2178
2238
|
|
|
2239
|
+
'@types/pg@8.16.0':
|
|
2240
|
+
resolution: {integrity: sha512-RmhMd/wD+CF8Dfo+cVIy3RR5cl8CyfXQ0tGgW6XBL8L4LM/UTEbNXYRbLwU6w+CgrKBNbrQWt4FUtTfaU5jSYQ==}
|
|
2241
|
+
|
|
2242
|
+
'@types/phoenix@1.6.7':
|
|
2243
|
+
resolution: {integrity: sha512-oN9ive//QSBkf19rfDv45M7eZPi0eEXylht2OLEXicu5b4KoQ1OzXIw+xDSGWxSxe1JmepRR/ZH283vsu518/Q==}
|
|
2244
|
+
|
|
2179
2245
|
'@types/react-dom@19.2.3':
|
|
2180
2246
|
resolution: {integrity: sha512-jp2L/eY6fn+KgVVQAOqYItbF0VY/YApe5Mz2F0aykSO8gx31bYCZyvSeYxCHKvzHG5eZjc+zyaS5BrBWya2+kQ==}
|
|
2181
2247
|
peerDependencies:
|
|
@@ -2198,6 +2264,9 @@ packages:
|
|
|
2198
2264
|
'@types/validate-npm-package-name@4.0.2':
|
|
2199
2265
|
resolution: {integrity: sha512-lrpDziQipxCEeK5kWxvljWYhUvOiB2A9izZd9B2AFarYAkqZshb4lPbRs7zKEic6eGtH8V/2qJW+dPp9OtF6bw==}
|
|
2200
2266
|
|
|
2267
|
+
'@types/ws@8.18.1':
|
|
2268
|
+
resolution: {integrity: sha512-ThVF6DCVhA8kUGy+aazFQ4kXQ7E1Ty7A3ypFOe0IcJV8O/M511G99AW24irKrW56Wt44yG9+ij8FaqoBGkuBXg==}
|
|
2269
|
+
|
|
2201
2270
|
'@typescript-eslint/eslint-plugin@8.54.0':
|
|
2202
2271
|
resolution: {integrity: sha512-hAAP5io/7csFStuOmR782YmTthKBJ9ND3WVL60hcOjvtGFb+HJxH4O5huAcmcZ9v9G8P+JETiZ/G1B8MALnWZQ==}
|
|
2203
2272
|
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
|
|
@@ -2675,10 +2744,6 @@ packages:
|
|
|
2675
2744
|
resolution: {integrity: sha512-ywqV+5MmyL4E7ybXgKys4DugZbX0FC6LnwrhjuykIjnK9k8OQacQ7axGKnjDXWNhns0xot3bZI5h55H8yo9cJg==}
|
|
2676
2745
|
engines: {node: '>=6'}
|
|
2677
2746
|
|
|
2678
|
-
cli-spinners@3.4.0:
|
|
2679
|
-
resolution: {integrity: sha512-bXfOC4QcT1tKXGorxL3wbJm6XJPDqEnij2gQ2m7ESQuE+/z9YFIWnl/5RpTiKWbMq3EVKR4fRLJGn6DVfu0mpw==}
|
|
2680
|
-
engines: {node: '>=18.20'}
|
|
2681
|
-
|
|
2682
2747
|
cli-width@4.1.0:
|
|
2683
2748
|
resolution: {integrity: sha512-ouuZd4/dm2Sw5Gmqy6bGyNNNe1qt9RpmxveLSO7KcgsTnU7RXfsw+/bukWGo1abgBiMAic068rclZsO4IWmmxQ==}
|
|
2684
2749
|
engines: {node: '>= 12'}
|
|
@@ -2771,8 +2836,8 @@ packages:
|
|
|
2771
2836
|
typescript:
|
|
2772
2837
|
optional: true
|
|
2773
2838
|
|
|
2774
|
-
coze-coding-dev-sdk@0.7.
|
|
2775
|
-
resolution: {integrity: sha512-
|
|
2839
|
+
coze-coding-dev-sdk@0.7.16:
|
|
2840
|
+
resolution: {integrity: sha512-B7gRPBa+sfrZL8ur0+F/92SOgZgFaWD/fOnCN2DjthnHSdmCYhAJWCfqzG2oO2vwTiYCXkKUuTBZ3MJLMj886g==}
|
|
2776
2841
|
engines: {node: '>=18.0.0'}
|
|
2777
2842
|
hasBin: true
|
|
2778
2843
|
|
|
@@ -3063,6 +3128,12 @@ packages:
|
|
|
3063
3128
|
sqlite3:
|
|
3064
3129
|
optional: true
|
|
3065
3130
|
|
|
3131
|
+
drizzle-zod@0.8.3:
|
|
3132
|
+
resolution: {integrity: sha512-66yVOuvGhKJnTdiqj1/Xaaz9/qzOdRJADpDa68enqS6g3t0kpNkwNYjUuaeXgZfO/UWuIM9HIhSlJ6C5ZraMww==}
|
|
3133
|
+
peerDependencies:
|
|
3134
|
+
drizzle-orm: '>=0.36.0'
|
|
3135
|
+
zod: ^3.25.0 || ^4.0.0
|
|
3136
|
+
|
|
3066
3137
|
dunder-proto@1.0.1:
|
|
3067
3138
|
resolution: {integrity: sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==}
|
|
3068
3139
|
engines: {node: '>= 0.4'}
|
|
@@ -3656,6 +3727,10 @@ packages:
|
|
|
3656
3727
|
resolution: {integrity: sha512-eKCa6bwnJhvxj14kZk5NCPc6Hb6BdsU9DZcOnmQKSnO1VKrfV0zCvtttPZUsBvjmNDn8rpcJfpwSYnHBjc95MQ==}
|
|
3657
3728
|
engines: {node: '>=18.18.0'}
|
|
3658
3729
|
|
|
3730
|
+
iceberg-js@0.8.1:
|
|
3731
|
+
resolution: {integrity: sha512-1dhVQZXhcHje7798IVM+xoo/1ZdVfzOMIc8/rgVSijRK38EDqOJoGula9N/8ZI5RD8QTxNQtK/Gozpr+qUqRRA==}
|
|
3732
|
+
engines: {node: '>=20.0.0'}
|
|
3733
|
+
|
|
3659
3734
|
iconv-lite@0.7.2:
|
|
3660
3735
|
resolution: {integrity: sha512-im9DjEDQ55s9fL4EYzOAv0yMqmMBSZp6G0VvFyTMPKWxiSBHUj9NW/qqLmXUwXrrM7AvqSlTCfvqRb0cM8yYqw==}
|
|
3661
3736
|
engines: {node: '>=0.10.0'}
|
|
@@ -4113,10 +4188,6 @@ packages:
|
|
|
4113
4188
|
resolution: {integrity: sha512-i24m8rpwhmPIS4zscNzK6MSEhk0DUWa/8iYQWxhffV8jkI4Phvs3F+quL5xvS0gdQR0FyTCMMH33Y78dDTzzIw==}
|
|
4114
4189
|
engines: {node: '>=18'}
|
|
4115
4190
|
|
|
4116
|
-
log-symbols@7.0.1:
|
|
4117
|
-
resolution: {integrity: sha512-ja1E3yCr9i/0hmBVaM0bfwDjnGy8I/s6PP4DFp+yP+a+mrHO4Rm7DtmnqROTUkHIkqffC84YY7AeqX6oFk0WFg==}
|
|
4118
|
-
engines: {node: '>=18'}
|
|
4119
|
-
|
|
4120
4191
|
loose-envify@1.4.0:
|
|
4121
4192
|
resolution: {integrity: sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==}
|
|
4122
4193
|
hasBin: true
|
|
@@ -4375,10 +4446,6 @@ packages:
|
|
|
4375
4446
|
resolution: {integrity: sha512-weP+BZ8MVNnlCm8c0Qdc1WSWq4Qn7I+9CJGm7Qali6g44e/PUzbjNqJX5NJ9ljlNMosfJvg1fKEGILklK9cwnw==}
|
|
4376
4447
|
engines: {node: '>=18'}
|
|
4377
4448
|
|
|
4378
|
-
ora@9.1.0:
|
|
4379
|
-
resolution: {integrity: sha512-53uuLsXHOAJl5zLrUrzY9/kE+uIFEx7iaH4g2BIJQK4LZjY4LpCCYZVKDWIkL+F01wAaCg93duQ1whnK/AmY1A==}
|
|
4380
|
-
engines: {node: '>=20'}
|
|
4381
|
-
|
|
4382
4449
|
outvariant@1.4.3:
|
|
4383
4450
|
resolution: {integrity: sha512-+Sl2UErvtsoajRDKCE5/dBz4DIvHXQQnAxtQTF04OJxY0+DyZXSo5P5Bb7XYWOh81syohlYL24hbDwxedPUJCA==}
|
|
4384
4451
|
|
|
@@ -4950,10 +5017,6 @@ packages:
|
|
|
4950
5017
|
resolution: {integrity: sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ==}
|
|
4951
5018
|
engines: {node: '>=18'}
|
|
4952
5019
|
|
|
4953
|
-
string-width@8.1.0:
|
|
4954
|
-
resolution: {integrity: sha512-Kxl3KJGb/gxkaUMOjRsQ8IrXiGW75O4E3RPjFIINOVH8AMl2SQ/yWdTzWwF3FevIX9LcMAjJW+GRwAlAbTSXdg==}
|
|
4955
|
-
engines: {node: '>=20'}
|
|
4956
|
-
|
|
4957
5020
|
string.prototype.includes@2.0.1:
|
|
4958
5021
|
resolution: {integrity: sha512-o7+c9bW6zpAdJHTtujeePODAhkuicdAryFsfVKwA+wGw89wJ4GTY484WTucM9hLtDEOpOvI+aHnzqnC5lHp4Rg==}
|
|
4959
5022
|
engines: {node: '>= 0.4'}
|
|
@@ -5112,11 +5175,6 @@ packages:
|
|
|
5112
5175
|
resolution: {integrity: sha512-kXuRi1mtaKMrsLUxz3sQYvVl37B0Ns6MzfrtV5DvJceE9bPyspOqk9xxv7XbZWcfLWbFmm997vl83qUWVJA64w==}
|
|
5113
5176
|
engines: {node: '>=16'}
|
|
5114
5177
|
|
|
5115
|
-
transliteration@2.6.1:
|
|
5116
|
-
resolution: {integrity: sha512-hJ9BhrQAOnNTbpOr1MxsNjZISkn7ppvF5TKUeFmTE1mG4ZPD/XVxF0L0LUoIUCWmQyxH0gJpVtfYLAWf298U9w==}
|
|
5117
|
-
engines: {node: '>=20.0.0'}
|
|
5118
|
-
hasBin: true
|
|
5119
|
-
|
|
5120
5178
|
ts-api-utils@2.4.0:
|
|
5121
5179
|
resolution: {integrity: sha512-3TaVTaAv2gTiMB35i3FiGJaRfwb3Pyn/j3m/bfAvGe8FB7CF6u+LMYqYlDh7reQf7UNvoTvdfAqHGmPGOSsPmA==}
|
|
5122
5180
|
engines: {node: '>=18.12'}
|
|
@@ -5136,6 +5194,11 @@ packages:
|
|
|
5136
5194
|
tslib@2.8.1:
|
|
5137
5195
|
resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==}
|
|
5138
5196
|
|
|
5197
|
+
tsx@4.21.0:
|
|
5198
|
+
resolution: {integrity: sha512-5C1sg4USs1lfG0GFb2RLXsdpXqBSEhAaA/0kPL01wxzpMqLILNxIxIOKiILz+cdg/pLnOUxFYOR5yhHU666wbw==}
|
|
5199
|
+
engines: {node: '>=18.0.0'}
|
|
5200
|
+
hasBin: true
|
|
5201
|
+
|
|
5139
5202
|
tw-animate-css@1.4.0:
|
|
5140
5203
|
resolution: {integrity: sha512-7bziOlRqH0hJx80h/3mbicLW7o8qLsH5+RaLR2t+OHM3D0JlWGODQKQ4cxbK7WlvmUxpcj6Kgu6EKqjrGFe3QQ==}
|
|
5141
5204
|
|
|
@@ -5333,6 +5396,18 @@ packages:
|
|
|
5333
5396
|
wrappy@1.0.2:
|
|
5334
5397
|
resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==}
|
|
5335
5398
|
|
|
5399
|
+
ws@8.19.0:
|
|
5400
|
+
resolution: {integrity: sha512-blAT2mjOEIi0ZzruJfIhb3nps74PRWTCz1IjglWEEpQl5XS/UNama6u2/rjFkDDouqr4L67ry+1aGIALViWjDg==}
|
|
5401
|
+
engines: {node: '>=10.0.0'}
|
|
5402
|
+
peerDependencies:
|
|
5403
|
+
bufferutil: ^4.0.1
|
|
5404
|
+
utf-8-validate: '>=5.0.2'
|
|
5405
|
+
peerDependenciesMeta:
|
|
5406
|
+
bufferutil:
|
|
5407
|
+
optional: true
|
|
5408
|
+
utf-8-validate:
|
|
5409
|
+
optional: true
|
|
5410
|
+
|
|
5336
5411
|
wsl-utils@0.3.1:
|
|
5337
5412
|
resolution: {integrity: sha512-g/eziiSUNBSsdDJtCLB8bdYEUMj4jR7AGeUo96p/3dTafgjHhpF4RiCFPiRILwjQoDXx5MqkBr4fwWtR3Ky4Wg==}
|
|
5338
5413
|
engines: {node: '>=20'}
|
|
@@ -6502,14 +6577,14 @@ snapshots:
|
|
|
6502
6577
|
'@jridgewell/resolve-uri': 3.1.2
|
|
6503
6578
|
'@jridgewell/sourcemap-codec': 1.5.5
|
|
6504
6579
|
|
|
6505
|
-
'@langchain/core@1.1.17(openai@6.16.0(zod@4.3.6))':
|
|
6580
|
+
'@langchain/core@1.1.17(openai@6.16.0(ws@8.19.0)(zod@4.3.6))':
|
|
6506
6581
|
dependencies:
|
|
6507
6582
|
'@cfworker/json-schema': 4.1.1
|
|
6508
6583
|
ansi-styles: 5.2.0
|
|
6509
6584
|
camelcase: 6.3.0
|
|
6510
6585
|
decamelize: 1.2.0
|
|
6511
6586
|
js-tiktoken: 1.0.21
|
|
6512
|
-
langsmith: 0.4.9(openai@6.16.0(zod@4.3.6))
|
|
6587
|
+
langsmith: 0.4.9(openai@6.16.0(ws@8.19.0)(zod@4.3.6))
|
|
6513
6588
|
mustache: 4.2.0
|
|
6514
6589
|
p-queue: 6.6.2
|
|
6515
6590
|
uuid: 10.0.0
|
|
@@ -6520,11 +6595,11 @@ snapshots:
|
|
|
6520
6595
|
- '@opentelemetry/sdk-trace-base'
|
|
6521
6596
|
- openai
|
|
6522
6597
|
|
|
6523
|
-
'@langchain/openai@1.2.3(@langchain/core@1.1.17(openai@6.16.0(zod@4.3.6)))':
|
|
6598
|
+
'@langchain/openai@1.2.3(@langchain/core@1.1.17(openai@6.16.0(ws@8.19.0)(zod@4.3.6)))(ws@8.19.0)':
|
|
6524
6599
|
dependencies:
|
|
6525
|
-
'@langchain/core': 1.1.17(openai@6.16.0(zod@4.3.6))
|
|
6600
|
+
'@langchain/core': 1.1.17(openai@6.16.0(ws@8.19.0)(zod@4.3.6))
|
|
6526
6601
|
js-tiktoken: 1.0.21
|
|
6527
|
-
openai: 6.16.0(zod@4.3.6)
|
|
6602
|
+
openai: 6.16.0(ws@8.19.0)(zod@4.3.6)
|
|
6528
6603
|
zod: 4.3.6
|
|
6529
6604
|
transitivePeerDependencies:
|
|
6530
6605
|
- ws
|
|
@@ -7703,6 +7778,44 @@ snapshots:
|
|
|
7703
7778
|
|
|
7704
7779
|
'@standard-schema/utils@0.3.0': {}
|
|
7705
7780
|
|
|
7781
|
+
'@supabase/auth-js@2.95.3':
|
|
7782
|
+
dependencies:
|
|
7783
|
+
tslib: 2.8.1
|
|
7784
|
+
|
|
7785
|
+
'@supabase/functions-js@2.95.3':
|
|
7786
|
+
dependencies:
|
|
7787
|
+
tslib: 2.8.1
|
|
7788
|
+
|
|
7789
|
+
'@supabase/postgrest-js@2.95.3':
|
|
7790
|
+
dependencies:
|
|
7791
|
+
tslib: 2.8.1
|
|
7792
|
+
|
|
7793
|
+
'@supabase/realtime-js@2.95.3':
|
|
7794
|
+
dependencies:
|
|
7795
|
+
'@types/phoenix': 1.6.7
|
|
7796
|
+
'@types/ws': 8.18.1
|
|
7797
|
+
tslib: 2.8.1
|
|
7798
|
+
ws: 8.19.0
|
|
7799
|
+
transitivePeerDependencies:
|
|
7800
|
+
- bufferutil
|
|
7801
|
+
- utf-8-validate
|
|
7802
|
+
|
|
7803
|
+
'@supabase/storage-js@2.95.3':
|
|
7804
|
+
dependencies:
|
|
7805
|
+
iceberg-js: 0.8.1
|
|
7806
|
+
tslib: 2.8.1
|
|
7807
|
+
|
|
7808
|
+
'@supabase/supabase-js@2.95.3':
|
|
7809
|
+
dependencies:
|
|
7810
|
+
'@supabase/auth-js': 2.95.3
|
|
7811
|
+
'@supabase/functions-js': 2.95.3
|
|
7812
|
+
'@supabase/postgrest-js': 2.95.3
|
|
7813
|
+
'@supabase/realtime-js': 2.95.3
|
|
7814
|
+
'@supabase/storage-js': 2.95.3
|
|
7815
|
+
transitivePeerDependencies:
|
|
7816
|
+
- bufferutil
|
|
7817
|
+
- utf-8-validate
|
|
7818
|
+
|
|
7706
7819
|
'@swc/helpers@0.5.15':
|
|
7707
7820
|
dependencies:
|
|
7708
7821
|
tslib: 2.8.1
|
|
@@ -7833,6 +7946,14 @@ snapshots:
|
|
|
7833
7946
|
|
|
7834
7947
|
'@types/parse-json@4.0.2': {}
|
|
7835
7948
|
|
|
7949
|
+
'@types/pg@8.16.0':
|
|
7950
|
+
dependencies:
|
|
7951
|
+
'@types/node': 20.19.30
|
|
7952
|
+
pg-protocol: 1.11.0
|
|
7953
|
+
pg-types: 2.2.0
|
|
7954
|
+
|
|
7955
|
+
'@types/phoenix@1.6.7': {}
|
|
7956
|
+
|
|
7836
7957
|
'@types/react-dom@19.2.3(@types/react@19.2.10)':
|
|
7837
7958
|
dependencies:
|
|
7838
7959
|
'@types/react': 19.2.10
|
|
@@ -7851,6 +7972,10 @@ snapshots:
|
|
|
7851
7972
|
|
|
7852
7973
|
'@types/validate-npm-package-name@4.0.2': {}
|
|
7853
7974
|
|
|
7975
|
+
'@types/ws@8.18.1':
|
|
7976
|
+
dependencies:
|
|
7977
|
+
'@types/node': 20.19.30
|
|
7978
|
+
|
|
7854
7979
|
'@typescript-eslint/eslint-plugin@8.54.0(@typescript-eslint/parser@8.54.0(eslint@9.39.2(jiti@2.6.1))(typescript@5.9.3))(eslint@9.39.2(jiti@2.6.1))(typescript@5.9.3)':
|
|
7855
7980
|
dependencies:
|
|
7856
7981
|
'@eslint-community/regexpp': 4.12.2
|
|
@@ -8365,8 +8490,6 @@ snapshots:
|
|
|
8365
8490
|
|
|
8366
8491
|
cli-spinners@2.9.2: {}
|
|
8367
8492
|
|
|
8368
|
-
cli-spinners@3.4.0: {}
|
|
8369
|
-
|
|
8370
8493
|
cli-width@4.1.0: {}
|
|
8371
8494
|
|
|
8372
8495
|
client-only@0.0.1: {}
|
|
@@ -8449,56 +8572,22 @@ snapshots:
|
|
|
8449
8572
|
optionalDependencies:
|
|
8450
8573
|
typescript: 5.9.3
|
|
8451
8574
|
|
|
8452
|
-
coze-coding-dev-sdk@0.7.
|
|
8575
|
+
coze-coding-dev-sdk@0.7.16(openai@6.16.0(ws@8.19.0)(zod@4.3.6))(ws@8.19.0):
|
|
8453
8576
|
dependencies:
|
|
8454
|
-
'@
|
|
8455
|
-
'@
|
|
8456
|
-
'@
|
|
8457
|
-
'@langchain/openai': 1.2.3(@langchain/core@1.1.17(openai@6.16.0(zod@4.3.6)))
|
|
8577
|
+
'@langchain/core': 1.1.17(openai@6.16.0(ws@8.19.0)(zod@4.3.6))
|
|
8578
|
+
'@langchain/openai': 1.2.3(@langchain/core@1.1.17(openai@6.16.0(ws@8.19.0)(zod@4.3.6)))(ws@8.19.0)
|
|
8579
|
+
'@supabase/supabase-js': 2.95.3
|
|
8458
8580
|
axios: 1.13.4
|
|
8459
|
-
chalk: 5.6.2
|
|
8460
|
-
commander: 14.0.2
|
|
8461
|
-
drizzle-kit: 0.31.8
|
|
8462
|
-
drizzle-orm: 0.45.1(pg@8.17.2)
|
|
8463
|
-
ora: 9.1.0
|
|
8464
8581
|
pg: 8.17.2
|
|
8465
|
-
transliteration: 2.6.1
|
|
8466
8582
|
transitivePeerDependencies:
|
|
8467
|
-
- '@aws-sdk/client-rds-data'
|
|
8468
|
-
- '@cloudflare/workers-types'
|
|
8469
|
-
- '@electric-sql/pglite'
|
|
8470
|
-
- '@libsql/client'
|
|
8471
|
-
- '@libsql/client-wasm'
|
|
8472
|
-
- '@neondatabase/serverless'
|
|
8473
|
-
- '@op-engineering/op-sqlite'
|
|
8474
8583
|
- '@opentelemetry/api'
|
|
8475
8584
|
- '@opentelemetry/exporter-trace-otlp-proto'
|
|
8476
8585
|
- '@opentelemetry/sdk-trace-base'
|
|
8477
|
-
-
|
|
8478
|
-
- '@prisma/client'
|
|
8479
|
-
- '@tidbcloud/serverless'
|
|
8480
|
-
- '@types/better-sqlite3'
|
|
8481
|
-
- '@types/pg'
|
|
8482
|
-
- '@types/sql.js'
|
|
8483
|
-
- '@upstash/redis'
|
|
8484
|
-
- '@vercel/postgres'
|
|
8485
|
-
- '@xata.io/client'
|
|
8486
|
-
- aws-crt
|
|
8487
|
-
- better-sqlite3
|
|
8488
|
-
- bun-types
|
|
8586
|
+
- bufferutil
|
|
8489
8587
|
- debug
|
|
8490
|
-
- expo-sqlite
|
|
8491
|
-
- gel
|
|
8492
|
-
- knex
|
|
8493
|
-
- kysely
|
|
8494
|
-
- mysql2
|
|
8495
8588
|
- openai
|
|
8496
8589
|
- pg-native
|
|
8497
|
-
-
|
|
8498
|
-
- prisma
|
|
8499
|
-
- sql.js
|
|
8500
|
-
- sqlite3
|
|
8501
|
-
- supports-color
|
|
8590
|
+
- utf-8-validate
|
|
8502
8591
|
- ws
|
|
8503
8592
|
|
|
8504
8593
|
cross-spawn@7.0.6:
|
|
@@ -8661,10 +8750,16 @@ snapshots:
|
|
|
8661
8750
|
transitivePeerDependencies:
|
|
8662
8751
|
- supports-color
|
|
8663
8752
|
|
|
8664
|
-
drizzle-orm@0.45.1(pg@8.17.2):
|
|
8753
|
+
drizzle-orm@0.45.1(@types/pg@8.16.0)(pg@8.17.2):
|
|
8665
8754
|
optionalDependencies:
|
|
8755
|
+
'@types/pg': 8.16.0
|
|
8666
8756
|
pg: 8.17.2
|
|
8667
8757
|
|
|
8758
|
+
drizzle-zod@0.8.3(drizzle-orm@0.45.1(@types/pg@8.16.0)(pg@8.17.2))(zod@4.3.6):
|
|
8759
|
+
dependencies:
|
|
8760
|
+
drizzle-orm: 0.45.1(@types/pg@8.16.0)(pg@8.17.2)
|
|
8761
|
+
zod: 4.3.6
|
|
8762
|
+
|
|
8668
8763
|
dunder-proto@1.0.1:
|
|
8669
8764
|
dependencies:
|
|
8670
8765
|
call-bind-apply-helpers: 1.0.2
|
|
@@ -9468,6 +9563,8 @@ snapshots:
|
|
|
9468
9563
|
|
|
9469
9564
|
human-signals@8.0.1: {}
|
|
9470
9565
|
|
|
9566
|
+
iceberg-js@0.8.1: {}
|
|
9567
|
+
|
|
9471
9568
|
iconv-lite@0.7.2:
|
|
9472
9569
|
dependencies:
|
|
9473
9570
|
safer-buffer: 2.1.2
|
|
@@ -9749,7 +9846,7 @@ snapshots:
|
|
|
9749
9846
|
|
|
9750
9847
|
kleur@4.1.5: {}
|
|
9751
9848
|
|
|
9752
|
-
langsmith@0.4.9(openai@6.16.0(zod@4.3.6)):
|
|
9849
|
+
langsmith@0.4.9(openai@6.16.0(ws@8.19.0)(zod@4.3.6)):
|
|
9753
9850
|
dependencies:
|
|
9754
9851
|
'@types/uuid': 10.0.0
|
|
9755
9852
|
chalk: 4.1.2
|
|
@@ -9758,7 +9855,7 @@ snapshots:
|
|
|
9758
9855
|
semver: 7.7.3
|
|
9759
9856
|
uuid: 10.0.0
|
|
9760
9857
|
optionalDependencies:
|
|
9761
|
-
openai: 6.16.0(zod@4.3.6)
|
|
9858
|
+
openai: 6.16.0(ws@8.19.0)(zod@4.3.6)
|
|
9762
9859
|
|
|
9763
9860
|
language-subtag-registry@0.3.23: {}
|
|
9764
9861
|
|
|
@@ -9844,11 +9941,6 @@ snapshots:
|
|
|
9844
9941
|
chalk: 5.6.2
|
|
9845
9942
|
is-unicode-supported: 1.3.0
|
|
9846
9943
|
|
|
9847
|
-
log-symbols@7.0.1:
|
|
9848
|
-
dependencies:
|
|
9849
|
-
is-unicode-supported: 2.1.0
|
|
9850
|
-
yoctocolors: 2.1.2
|
|
9851
|
-
|
|
9852
9944
|
loose-envify@1.4.0:
|
|
9853
9945
|
dependencies:
|
|
9854
9946
|
js-tokens: 4.0.0
|
|
@@ -10086,8 +10178,9 @@ snapshots:
|
|
|
10086
10178
|
is-docker: 2.2.1
|
|
10087
10179
|
is-wsl: 2.2.0
|
|
10088
10180
|
|
|
10089
|
-
openai@6.16.0(zod@4.3.6):
|
|
10181
|
+
openai@6.16.0(ws@8.19.0)(zod@4.3.6):
|
|
10090
10182
|
optionalDependencies:
|
|
10183
|
+
ws: 8.19.0
|
|
10091
10184
|
zod: 4.3.6
|
|
10092
10185
|
|
|
10093
10186
|
optionator@0.9.4:
|
|
@@ -10111,17 +10204,6 @@ snapshots:
|
|
|
10111
10204
|
string-width: 7.2.0
|
|
10112
10205
|
strip-ansi: 7.1.2
|
|
10113
10206
|
|
|
10114
|
-
ora@9.1.0:
|
|
10115
|
-
dependencies:
|
|
10116
|
-
chalk: 5.6.2
|
|
10117
|
-
cli-cursor: 5.0.0
|
|
10118
|
-
cli-spinners: 3.4.0
|
|
10119
|
-
is-interactive: 2.0.0
|
|
10120
|
-
is-unicode-supported: 2.1.0
|
|
10121
|
-
log-symbols: 7.0.1
|
|
10122
|
-
stdin-discarder: 0.2.2
|
|
10123
|
-
string-width: 8.1.0
|
|
10124
|
-
|
|
10125
10207
|
outvariant@1.4.3: {}
|
|
10126
10208
|
|
|
10127
10209
|
own-keys@1.0.1:
|
|
@@ -10815,11 +10897,6 @@ snapshots:
|
|
|
10815
10897
|
get-east-asian-width: 1.4.0
|
|
10816
10898
|
strip-ansi: 7.1.2
|
|
10817
10899
|
|
|
10818
|
-
string-width@8.1.0:
|
|
10819
|
-
dependencies:
|
|
10820
|
-
get-east-asian-width: 1.4.0
|
|
10821
|
-
strip-ansi: 7.1.2
|
|
10822
|
-
|
|
10823
10900
|
string.prototype.includes@2.0.1:
|
|
10824
10901
|
dependencies:
|
|
10825
10902
|
call-bind: 1.0.8
|
|
@@ -10972,8 +11049,6 @@ snapshots:
|
|
|
10972
11049
|
dependencies:
|
|
10973
11050
|
tldts: 7.0.19
|
|
10974
11051
|
|
|
10975
|
-
transliteration@2.6.1: {}
|
|
10976
|
-
|
|
10977
11052
|
ts-api-utils@2.4.0(typescript@5.9.3):
|
|
10978
11053
|
dependencies:
|
|
10979
11054
|
typescript: 5.9.3
|
|
@@ -10998,6 +11073,13 @@ snapshots:
|
|
|
10998
11073
|
|
|
10999
11074
|
tslib@2.8.1: {}
|
|
11000
11075
|
|
|
11076
|
+
tsx@4.21.0:
|
|
11077
|
+
dependencies:
|
|
11078
|
+
esbuild: 0.25.12
|
|
11079
|
+
get-tsconfig: 4.13.0
|
|
11080
|
+
optionalDependencies:
|
|
11081
|
+
fsevents: 2.3.3
|
|
11082
|
+
|
|
11001
11083
|
tw-animate-css@1.4.0: {}
|
|
11002
11084
|
|
|
11003
11085
|
type-check@0.4.0:
|
|
@@ -11276,6 +11358,8 @@ snapshots:
|
|
|
11276
11358
|
|
|
11277
11359
|
wrappy@1.0.2: {}
|
|
11278
11360
|
|
|
11361
|
+
ws@8.19.0: {}
|
|
11362
|
+
|
|
11279
11363
|
wsl-utils@0.3.1:
|
|
11280
11364
|
dependencies:
|
|
11281
11365
|
is-wsl: 3.1.0
|
|
@@ -8,7 +8,10 @@ cd "${COZE_WORKSPACE_PATH}"
|
|
|
8
8
|
echo "Installing dependencies..."
|
|
9
9
|
pnpm install --prefer-frozen-lockfile --prefer-offline --loglevel debug --reporter=append-only
|
|
10
10
|
|
|
11
|
-
echo "Building the project..."
|
|
11
|
+
echo "Building the Next.js project..."
|
|
12
12
|
npx next build
|
|
13
13
|
|
|
14
|
+
echo "Compiling server.ts..."
|
|
15
|
+
npx tsc server.ts --module commonjs --target es2020 --esModuleInterop --skipLibCheck --outDir .
|
|
16
|
+
|
|
14
17
|
echo "Build completed successfully!"
|
|
@@ -8,7 +8,7 @@ DEPLOY_RUN_PORT="${DEPLOY_RUN_PORT:-$PORT}"
|
|
|
8
8
|
start_service() {
|
|
9
9
|
cd "${COZE_WORKSPACE_PATH}"
|
|
10
10
|
echo "Starting HTTP service on port ${DEPLOY_RUN_PORT} for deploy..."
|
|
11
|
-
|
|
11
|
+
PORT=${DEPLOY_RUN_PORT} NODE_ENV=production node server.js
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
echo "Starting HTTP service on port ${DEPLOY_RUN_PORT} for deploy..."
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { createServer } from 'http';
|
|
2
|
+
import { parse } from 'url';
|
|
3
|
+
import next from 'next';
|
|
4
|
+
|
|
5
|
+
const dev = process.env.NODE_ENV !== 'production';
|
|
6
|
+
const hostname = process.env.HOSTNAME || 'localhost';
|
|
7
|
+
const port = parseInt(process.env.PORT || '<%= port %>', 10);
|
|
8
|
+
|
|
9
|
+
// Create Next.js app
|
|
10
|
+
const app = next({ dev, hostname, port });
|
|
11
|
+
const handle = app.getRequestHandler();
|
|
12
|
+
|
|
13
|
+
app.prepare().then(() => {
|
|
14
|
+
createServer(async (req, res) => {
|
|
15
|
+
try {
|
|
16
|
+
const parsedUrl = parse(req.url!, true);
|
|
17
|
+
await handle(req, res, parsedUrl);
|
|
18
|
+
} catch (err) {
|
|
19
|
+
console.error('Error occurred handling', req.url, err);
|
|
20
|
+
res.statusCode = 500;
|
|
21
|
+
res.end('Internal server error');
|
|
22
|
+
}
|
|
23
|
+
})
|
|
24
|
+
.once('error', err => {
|
|
25
|
+
console.error(err);
|
|
26
|
+
process.exit(1);
|
|
27
|
+
})
|
|
28
|
+
.listen(port, () => {
|
|
29
|
+
console.log(
|
|
30
|
+
`> Server listening at http://${hostname}:${port} as ${
|
|
31
|
+
dev ? 'development' : process.env.NODE_ENV
|
|
32
|
+
}`,
|
|
33
|
+
);
|
|
34
|
+
});
|
|
35
|
+
});
|