@acutis/cli 0.1.2-dev.22 → 0.2.0-dev.23
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/.output/nitro.json +1 -1
- package/.output/public/_nuxt/AC3CibKK.js +1 -0
- package/.output/public/_nuxt/BGc2VNce.js +1 -0
- package/.output/public/_nuxt/BN4XOpVt.js +1 -0
- package/.output/public/_nuxt/BP52ABGx.js +1 -0
- package/.output/public/_nuxt/BWcsrofD.js +1 -0
- package/.output/public/_nuxt/{BgV7uYhh.js → Bqp63OdK.js} +1 -1
- package/.output/public/_nuxt/CF8y5KTS.js +3 -0
- package/.output/public/_nuxt/CZEhodn6.js +1 -0
- package/.output/public/_nuxt/Cym5RBDq.js +1 -0
- package/.output/public/_nuxt/D1ge6Bwo.js +1 -0
- package/.output/public/_nuxt/{C0IyPp1C.js → D2UpbqeN.js} +5 -5
- package/.output/public/_nuxt/DDKd6Dxq.js +1 -0
- package/.output/public/_nuxt/D_FJunXs.js +64 -0
- package/.output/public/_nuxt/Dc2A-6xl.js +6 -0
- package/.output/public/_nuxt/DoQkJV4U.js +1 -0
- package/.output/public/_nuxt/JwPm-b3T.js +1 -0
- package/.output/public/_nuxt/builds/latest.json +1 -1
- package/.output/public/_nuxt/builds/meta/bcd56d50-e1a9-4021-b9df-ab200a81246a.json +1 -0
- package/.output/public/_nuxt/cnFSOQCu.js +1 -0
- package/.output/public/_nuxt/entry.BmTN_nlL.css +2 -0
- package/.output/server/chunks/_/project.mjs +1 -1
- package/.output/server/chunks/_/project.service.mjs +1 -1
- package/.output/server/chunks/build/Alert-WVcujYrW.mjs +433 -0
- package/.output/server/chunks/build/Alert-WVcujYrW.mjs.map +1 -0
- package/.output/server/chunks/build/Container-C0k092cW.mjs +55 -0
- package/.output/server/chunks/build/Container-C0k092cW.mjs.map +1 -0
- package/.output/server/chunks/build/{Pagination-BuiQpYWD.mjs → Pagination-BXryRfUN.mjs} +26 -26
- package/.output/server/chunks/build/{Pagination-BuiQpYWD.mjs.map → Pagination-BXryRfUN.mjs.map} +1 -1
- package/.output/server/chunks/build/{_...scenario_-PVjOOR8j.mjs → _...scenario_-qp56INdQ.mjs} +31 -29
- package/.output/server/chunks/build/_...scenario_-qp56INdQ.mjs.map +1 -0
- package/.output/server/chunks/build/{_slug_-COpWNGAB.mjs → _slug_-dNDiCabc.mjs} +69 -67
- package/.output/server/chunks/build/{_slug_-COpWNGAB.mjs.map → _slug_-dNDiCabc.mjs.map} +1 -1
- package/.output/server/chunks/build/{origin-NWHPNXep.mjs → origin-DFFT7pGA.mjs} +18 -67
- package/.output/server/chunks/build/origin-DFFT7pGA.mjs.map +1 -0
- package/.output/server/chunks/build/{pages-C7-vXRcH.mjs → pages-NkoKH95O.mjs} +19 -18
- package/.output/server/chunks/build/{pages-C7-vXRcH.mjs.map → pages-NkoKH95O.mjs.map} +1 -1
- package/.output/server/chunks/build/{tags-X7K7nkM2.mjs → tags-DXumXgr9.mjs} +21 -447
- package/.output/server/chunks/build/tags-DXumXgr9.mjs.map +1 -0
- package/.output/server/chunks/build/telemetria-BaMsUnJ8.mjs +131 -0
- package/.output/server/chunks/build/telemetria-BaMsUnJ8.mjs.map +1 -0
- package/.output/server/chunks/nitro/nitro.mjs +187 -135
- package/.output/server/chunks/nitro/nitro.mjs.map +1 -1
- package/.output/server/chunks/routes/api/telemetry/report.post.mjs +133 -0
- package/.output/server/chunks/routes/api/telemetry/report.post.mjs.map +1 -0
- package/.output/server/chunks/routes/debug/erro-de-telemetria.get.mjs +49 -0
- package/.output/server/chunks/routes/debug/erro-de-telemetria.get.mjs.map +1 -0
- package/.output/server/chunks/routes/renderer.mjs +2 -2
- package/.output/server/chunks/virtual/entry.mjs +8758 -8695
- package/.output/server/chunks/virtual/entry.mjs.map +1 -1
- package/.output/server/chunks/virtual/precomputed.mjs +1 -1
- package/.output/server/index.mjs +1 -1
- package/.output/server/package.json +1 -1
- package/package.json +1 -1
- package/.output/public/_nuxt/1DjC7bBa.js +0 -64
- package/.output/public/_nuxt/C5NzO9dO.js +0 -1
- package/.output/public/_nuxt/DHNHaKIX.js +0 -1
- package/.output/public/_nuxt/DKFReY2j.js +0 -1
- package/.output/public/_nuxt/DXk74b-E.js +0 -1
- package/.output/public/_nuxt/Dc6npEU3.js +0 -1
- package/.output/public/_nuxt/DyrXGv84.js +0 -1
- package/.output/public/_nuxt/WurCawTj.js +0 -3
- package/.output/public/_nuxt/builds/meta/f4520b8a-9c39-4e41-af7a-b806928ef3ac.json +0 -1
- package/.output/public/_nuxt/entry.Ci6Ki0cW.css +0 -2
- package/.output/public/_nuxt/lH5PYs8w.js +0 -1
- package/.output/public/_nuxt/zH54s-gB.js +0 -6
- package/.output/server/chunks/build/_...scenario_-PVjOOR8j.mjs.map +0 -1
- package/.output/server/chunks/build/origin-NWHPNXep.mjs.map +0 -1
- package/.output/server/chunks/build/tags-X7K7nkM2.mjs.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nitro.mjs","sources":["../../../../node_modules/.pnpm/uncrypto@0.1.3/node_modules/uncrypto/dist/crypto.node.mjs","../../../../node_modules/.pnpm/crossws@0.3.5/node_modules/crossws/dist/shared/crossws.DfCzGthR.mjs","../../../../node_modules/.pnpm/crossws@0.3.5/node_modules/crossws/dist/shared/crossws.D9ehKjSh.mjs","../../../../node_modules/.pnpm/crossws@0.3.5/node_modules/crossws/dist/shared/crossws.By9qWDAI.mjs","../../../../node_modules/.pnpm/crossws@0.3.5/node_modules/crossws/dist/shared/crossws.CipVM6lf.mjs","../../../../node_modules/.pnpm/crossws@0.3.5/node_modules/crossws/dist/adapters/node.mjs","../../../../node_modules/.pnpm/destr@2.0.5/node_modules/destr/dist/index.mjs","../../../../node_modules/.pnpm/ufo@1.6.4/node_modules/ufo/dist/index.mjs","../../../../node_modules/.pnpm/cookie-es@1.2.3/node_modules/cookie-es/dist/index.mjs","../../../../node_modules/.pnpm/radix3@1.1.2/node_modules/radix3/dist/index.mjs","../../../../node_modules/.pnpm/defu@6.1.7/node_modules/defu/dist/defu.mjs","../../../../node_modules/.pnpm/node-mock-http@1.0.5/node_modules/node-mock-http/dist/index.mjs","../../../../node_modules/.pnpm/h3@1.15.11/node_modules/h3/dist/index.mjs","../../../../node_modules/.pnpm/hookable@5.5.3/node_modules/hookable/dist/index.mjs","../../../../node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/native.mjs","../../../../node_modules/.pnpm/ofetch@1.5.1/node_modules/ofetch/dist/shared/ofetch.CWycOUEr.mjs","../../../../node_modules/.pnpm/ofetch@1.5.1/node_modules/ofetch/dist/node.mjs","../../../../node_modules/.pnpm/unstorage@1.17.5_db0@0.3.4_better-sqlite3@13.0.3__ioredis@5.11.1/node_modules/unstorage/dist/shared/unstorage.zVDD2mZo.mjs","../../../../node_modules/.pnpm/unstorage@1.17.5_db0@0.3.4_better-sqlite3@13.0.3__ioredis@5.11.1/node_modules/unstorage/dist/index.mjs","../../../../node_modules/.pnpm/unstorage@1.17.5_db0@0.3.4_better-sqlite3@13.0.3__ioredis@5.11.1/node_modules/unstorage/drivers/utils/index.mjs","../../../../node_modules/.pnpm/unstorage@1.17.5_db0@0.3.4_better-sqlite3@13.0.3__ioredis@5.11.1/node_modules/unstorage/drivers/utils/node-fs.mjs","../../../../node_modules/.pnpm/unstorage@1.17.5_db0@0.3.4_better-sqlite3@13.0.3__ioredis@5.11.1/node_modules/unstorage/drivers/fs-lite.mjs","../../../../node_modules/.pnpm/nitropack@2.13.4_better-sqlite3@13.0.3_oxc-parser@0.143.0_rolldown@1.2.4_srvx@0.11.22_v_5d3bf9ea568859463be3d05244465a60/node_modules/nitropack/dist/runtime/internal/storage.mjs","../../../../node_modules/.pnpm/ohash@2.0.12/node_modules/ohash/dist/_chunks/is-equal.mjs","../../../../node_modules/.pnpm/ohash@2.0.12/node_modules/ohash/dist/crypto/node/index.mjs","../../../../node_modules/.pnpm/ohash@2.0.12/node_modules/ohash/dist/index.mjs","../../../../node_modules/.pnpm/nitropack@2.13.4_better-sqlite3@13.0.3_oxc-parser@0.143.0_rolldown@1.2.4_srvx@0.11.22_v_5d3bf9ea568859463be3d05244465a60/node_modules/nitropack/dist/runtime/internal/hash.mjs","../../../../node_modules/.pnpm/nitropack@2.13.4_better-sqlite3@13.0.3_oxc-parser@0.143.0_rolldown@1.2.4_srvx@0.11.22_v_5d3bf9ea568859463be3d05244465a60/node_modules/nitropack/dist/runtime/internal/cache.mjs","../../../../node_modules/.pnpm/klona@2.0.6/node_modules/klona/dist/index.mjs","../../../../node_modules/.pnpm/scule@1.3.0/node_modules/scule/dist/index.mjs","../../../../node_modules/.pnpm/nitropack@2.13.4_better-sqlite3@13.0.3_oxc-parser@0.143.0_rolldown@1.2.4_srvx@0.11.22_v_5d3bf9ea568859463be3d05244465a60/node_modules/nitropack/dist/runtime/internal/utils.env.mjs","../../../../node_modules/.pnpm/nitropack@2.13.4_better-sqlite3@13.0.3_oxc-parser@0.143.0_rolldown@1.2.4_srvx@0.11.22_v_5d3bf9ea568859463be3d05244465a60/node_modules/nitropack/dist/runtime/internal/config.mjs","../../../../node_modules/.pnpm/unctx@2.5.0/node_modules/unctx/dist/index.mjs","../../../../node_modules/.pnpm/nitropack@2.13.4_better-sqlite3@13.0.3_oxc-parser@0.143.0_rolldown@1.2.4_srvx@0.11.22_v_5d3bf9ea568859463be3d05244465a60/node_modules/nitropack/dist/runtime/internal/context.mjs","../../../../node_modules/.pnpm/nitropack@2.13.4_better-sqlite3@13.0.3_oxc-parser@0.143.0_rolldown@1.2.4_srvx@0.11.22_v_5d3bf9ea568859463be3d05244465a60/node_modules/nitropack/dist/runtime/internal/route-rules-utils.mjs","../../../../node_modules/.pnpm/nitropack@2.13.4_better-sqlite3@13.0.3_oxc-parser@0.143.0_rolldown@1.2.4_srvx@0.11.22_v_5d3bf9ea568859463be3d05244465a60/node_modules/nitropack/dist/runtime/internal/route-rules.mjs","../../../../node_modules/.pnpm/nitropack@2.13.4_better-sqlite3@13.0.3_oxc-parser@0.143.0_rolldown@1.2.4_srvx@0.11.22_v_5d3bf9ea568859463be3d05244465a60/node_modules/nitropack/dist/runtime/internal/utils.mjs","../../../../node_modules/.pnpm/@nuxt+nitro-server@4.5.2_bca2cb59c5edea337a1f9c5827a287b6/node_modules/@nuxt/nitro-server/dist/runtime/utils/error.mjs","../../../../node_modules/.pnpm/@nuxt+nitro-server@4.5.2_bca2cb59c5edea337a1f9c5827a287b6/node_modules/@nuxt/nitro-server/dist/runtime/handlers/error.mjs","../../../../node_modules/.pnpm/nitropack@2.13.4_better-sqlite3@13.0.3_oxc-parser@0.143.0_rolldown@1.2.4_srvx@0.11.22_v_5d3bf9ea568859463be3d05244465a60/node_modules/nitropack/dist/runtime/internal/error/utils.mjs","../../../../node_modules/.pnpm/nitropack@2.13.4_better-sqlite3@13.0.3_oxc-parser@0.143.0_rolldown@1.2.4_srvx@0.11.22_v_5d3bf9ea568859463be3d05244465a60/node_modules/nitropack/dist/runtime/internal/error/prod.mjs","../../../../node_modules/.pnpm/@nuxtjs+color-mode@4.0.1_magic-string@0.30.21_magicast@0.5.4_oxc-parser@0.143.0_rolldow_39343d5d296f571acb76ea995aeb761f/node_modules/@nuxtjs/color-mode/dist/runtime/nitro-plugin.js","../../../../node_modules/.pnpm/nitropack@2.13.4_better-sqlite3@13.0.3_oxc-parser@0.143.0_rolldown@1.2.4_srvx@0.11.22_v_5d3bf9ea568859463be3d05244465a60/node_modules/nitropack/dist/runtime/internal/plugin.mjs","../../../../core/config/env.ts","../../../../core/config/paths.ts","../../../../core/common/playwright/url.ts","../../../../core/modules/environment/providers/env-key.ts","../../../../core/modules/environment/providers/environment-var.ts","../../../../core/common/playwright/active-vars.ts","../../../../core/modules/recording/recording.ts","../../../../core/webdriver/recorder/replay.ts","../../../../core/webdriver/recorder/recorder.service.ts","../../../../core/webdriver/video/video.service.ts","../../../../server/utils/composition/recorder.ts","../../../../server/plugins/recorder-shutdown.ts","../../../../core/common/utils/acutis.ts","../../../../core/common/interceptors/request-log.interceptor.ts","../../../../server/plugins/request-log.ts","../../../../core/migrations/1737100000000-create-settings-table.ts","../../../../core/migrations/1737100001000-create-ai-settings-table.ts","../../../../core/modules/settings/entities/ai-credential.entity.ts","../../../../core/modules/settings/entities/setting.entity.ts","../../../../core/config/database.ts","../../../../core/modules/ai/providers/claude-agent.ts","../../../../core/modules/ai/providers/codex-agent.ts","../../../../core/common/exceptions/errors.ts","../../../../core/modules/ai/providers/provider-errors.ts","../../../../core/modules/ai/providers/provider-model.ts","../../../../core/modules/ai/providers/agent.ts","../../../../core/modules/ai/agents/ping.ts","../../../../core/modules/ai/providers/model-catalog.ts","../../../../core/modules/settings/providers/ai-providers.ts","../../../../core/modules/settings/providers/crypto.ts","../../../../core/modules/settings/settings.service.ts","../../../../server/utils/composition/settings.ts","../../../../server/plugins/settings-shutdown.ts","../../../../node_modules/.pnpm/pathe@2.0.3/node_modules/pathe/dist/shared/pathe.M-eThtNZ.mjs","../../../../node_modules/.pnpm/nitropack@2.13.4_better-sqlite3@13.0.3_oxc-parser@0.143.0_rolldown@1.2.4_srvx@0.11.22_v_5d3bf9ea568859463be3d05244465a60/node_modules/nitropack/dist/runtime/internal/static.mjs","../../../../node_modules/.cache/nuxt/.nuxt/nuxt-icon-server-bundle.mjs","../../../../node_modules/.pnpm/@nuxt+icon@2.5.0_magic-string@0.30.21_magicast@0.5.4_oxc-parser@0.143.0_rolldown@1.2.4__4afba74934c71b1abcae67316bd13346/node_modules/@nuxt/icon/dist/runtime/server/api.js","../../../../node_modules/.pnpm/nitropack@2.13.4_better-sqlite3@13.0.3_oxc-parser@0.143.0_rolldown@1.2.4_srvx@0.11.22_v_5d3bf9ea568859463be3d05244465a60/node_modules/nitropack/dist/runtime/internal/app.mjs","../../../../node_modules/.pnpm/nitropack@2.13.4_better-sqlite3@13.0.3_oxc-parser@0.143.0_rolldown@1.2.4_srvx@0.11.22_v_5d3bf9ea568859463be3d05244465a60/node_modules/nitropack/dist/runtime/internal/renderer.mjs","../../../../node_modules/.pnpm/nitropack@2.13.4_better-sqlite3@13.0.3_oxc-parser@0.143.0_rolldown@1.2.4_srvx@0.11.22_v_5d3bf9ea568859463be3d05244465a60/node_modules/nitropack/dist/runtime/internal/lib/http-graceful-shutdown.mjs","../../../../node_modules/.pnpm/nitropack@2.13.4_better-sqlite3@13.0.3_oxc-parser@0.143.0_rolldown@1.2.4_srvx@0.11.22_v_5d3bf9ea568859463be3d05244465a60/node_modules/nitropack/dist/runtime/internal/shutdown.mjs","../../../../node_modules/.pnpm/nitropack@2.13.4_better-sqlite3@13.0.3_oxc-parser@0.143.0_rolldown@1.2.4_srvx@0.11.22_v_5d3bf9ea568859463be3d05244465a60/node_modules/nitropack/dist/presets/node/runtime/node-server.mjs"],"names":["isPlainObject","decode","getQuery","serialize","createRouter","f","h","i","l","createError","parse$1","mergeHeaders","nodeFetch","fetch","Headers","Headers$1","AbortController$1","normalizeKey","defineDriver","DRIVER_NAME","dirname","fsPromises","resolve","fsp","hash","digest$1","_inlineAppConfig","createRadixRouter","parse","__publicField","randomUUID","_a","lookup","unlink","isAbsolute","defineCachedHandler","nitroApp","callNodeRequestHandler","fetchNodeRequestHandler","gracefulShutdown","HttpsServer","HttpServer","wsAdapter"],"mappings":"","x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,76,77,78,79,80,81,82,83,84]}
|
|
1
|
+
{"version":3,"file":"nitro.mjs","sources":["../../../../node_modules/.pnpm/uncrypto@0.1.3/node_modules/uncrypto/dist/crypto.node.mjs","../../../../node_modules/.pnpm/crossws@0.3.5/node_modules/crossws/dist/shared/crossws.DfCzGthR.mjs","../../../../node_modules/.pnpm/crossws@0.3.5/node_modules/crossws/dist/shared/crossws.D9ehKjSh.mjs","../../../../node_modules/.pnpm/crossws@0.3.5/node_modules/crossws/dist/shared/crossws.By9qWDAI.mjs","../../../../node_modules/.pnpm/crossws@0.3.5/node_modules/crossws/dist/shared/crossws.CipVM6lf.mjs","../../../../node_modules/.pnpm/crossws@0.3.5/node_modules/crossws/dist/adapters/node.mjs","../../../../node_modules/.pnpm/destr@2.0.5/node_modules/destr/dist/index.mjs","../../../../node_modules/.pnpm/ufo@1.6.4/node_modules/ufo/dist/index.mjs","../../../../node_modules/.pnpm/cookie-es@1.2.3/node_modules/cookie-es/dist/index.mjs","../../../../node_modules/.pnpm/radix3@1.1.2/node_modules/radix3/dist/index.mjs","../../../../node_modules/.pnpm/defu@6.1.7/node_modules/defu/dist/defu.mjs","../../../../node_modules/.pnpm/node-mock-http@1.0.5/node_modules/node-mock-http/dist/index.mjs","../../../../node_modules/.pnpm/h3@1.15.11/node_modules/h3/dist/index.mjs","../../../../node_modules/.pnpm/hookable@5.5.3/node_modules/hookable/dist/index.mjs","../../../../node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/native.mjs","../../../../node_modules/.pnpm/ofetch@1.5.1/node_modules/ofetch/dist/shared/ofetch.CWycOUEr.mjs","../../../../node_modules/.pnpm/ofetch@1.5.1/node_modules/ofetch/dist/node.mjs","../../../../node_modules/.pnpm/unstorage@1.17.5_db0@0.3.4_better-sqlite3@13.0.3__ioredis@5.11.1/node_modules/unstorage/dist/shared/unstorage.zVDD2mZo.mjs","../../../../node_modules/.pnpm/unstorage@1.17.5_db0@0.3.4_better-sqlite3@13.0.3__ioredis@5.11.1/node_modules/unstorage/dist/index.mjs","../../../../node_modules/.pnpm/unstorage@1.17.5_db0@0.3.4_better-sqlite3@13.0.3__ioredis@5.11.1/node_modules/unstorage/drivers/utils/index.mjs","../../../../node_modules/.pnpm/unstorage@1.17.5_db0@0.3.4_better-sqlite3@13.0.3__ioredis@5.11.1/node_modules/unstorage/drivers/utils/node-fs.mjs","../../../../node_modules/.pnpm/unstorage@1.17.5_db0@0.3.4_better-sqlite3@13.0.3__ioredis@5.11.1/node_modules/unstorage/drivers/fs-lite.mjs","../../../../node_modules/.pnpm/nitropack@2.13.4_better-sqlite3@13.0.3_oxc-parser@0.143.0_rolldown@1.2.4_srvx@0.11.22_v_5d3bf9ea568859463be3d05244465a60/node_modules/nitropack/dist/runtime/internal/storage.mjs","../../../../node_modules/.pnpm/ohash@2.0.12/node_modules/ohash/dist/_chunks/is-equal.mjs","../../../../node_modules/.pnpm/ohash@2.0.12/node_modules/ohash/dist/crypto/node/index.mjs","../../../../node_modules/.pnpm/ohash@2.0.12/node_modules/ohash/dist/index.mjs","../../../../node_modules/.pnpm/nitropack@2.13.4_better-sqlite3@13.0.3_oxc-parser@0.143.0_rolldown@1.2.4_srvx@0.11.22_v_5d3bf9ea568859463be3d05244465a60/node_modules/nitropack/dist/runtime/internal/hash.mjs","../../../../node_modules/.pnpm/nitropack@2.13.4_better-sqlite3@13.0.3_oxc-parser@0.143.0_rolldown@1.2.4_srvx@0.11.22_v_5d3bf9ea568859463be3d05244465a60/node_modules/nitropack/dist/runtime/internal/cache.mjs","../../../../node_modules/.pnpm/klona@2.0.6/node_modules/klona/dist/index.mjs","../../../../node_modules/.pnpm/scule@1.3.0/node_modules/scule/dist/index.mjs","../../../../node_modules/.pnpm/nitropack@2.13.4_better-sqlite3@13.0.3_oxc-parser@0.143.0_rolldown@1.2.4_srvx@0.11.22_v_5d3bf9ea568859463be3d05244465a60/node_modules/nitropack/dist/runtime/internal/utils.env.mjs","../../../../node_modules/.pnpm/nitropack@2.13.4_better-sqlite3@13.0.3_oxc-parser@0.143.0_rolldown@1.2.4_srvx@0.11.22_v_5d3bf9ea568859463be3d05244465a60/node_modules/nitropack/dist/runtime/internal/config.mjs","../../../../node_modules/.pnpm/unctx@2.5.0/node_modules/unctx/dist/index.mjs","../../../../node_modules/.pnpm/nitropack@2.13.4_better-sqlite3@13.0.3_oxc-parser@0.143.0_rolldown@1.2.4_srvx@0.11.22_v_5d3bf9ea568859463be3d05244465a60/node_modules/nitropack/dist/runtime/internal/context.mjs","../../../../node_modules/.pnpm/nitropack@2.13.4_better-sqlite3@13.0.3_oxc-parser@0.143.0_rolldown@1.2.4_srvx@0.11.22_v_5d3bf9ea568859463be3d05244465a60/node_modules/nitropack/dist/runtime/internal/route-rules-utils.mjs","../../../../node_modules/.pnpm/nitropack@2.13.4_better-sqlite3@13.0.3_oxc-parser@0.143.0_rolldown@1.2.4_srvx@0.11.22_v_5d3bf9ea568859463be3d05244465a60/node_modules/nitropack/dist/runtime/internal/route-rules.mjs","../../../../node_modules/.pnpm/nitropack@2.13.4_better-sqlite3@13.0.3_oxc-parser@0.143.0_rolldown@1.2.4_srvx@0.11.22_v_5d3bf9ea568859463be3d05244465a60/node_modules/nitropack/dist/runtime/internal/utils.mjs","../../../../node_modules/.pnpm/@nuxt+nitro-server@4.5.2_bca2cb59c5edea337a1f9c5827a287b6/node_modules/@nuxt/nitro-server/dist/runtime/utils/error.mjs","../../../../node_modules/.pnpm/@nuxt+nitro-server@4.5.2_bca2cb59c5edea337a1f9c5827a287b6/node_modules/@nuxt/nitro-server/dist/runtime/handlers/error.mjs","../../../../node_modules/.pnpm/nitropack@2.13.4_better-sqlite3@13.0.3_oxc-parser@0.143.0_rolldown@1.2.4_srvx@0.11.22_v_5d3bf9ea568859463be3d05244465a60/node_modules/nitropack/dist/runtime/internal/error/utils.mjs","../../../../node_modules/.pnpm/nitropack@2.13.4_better-sqlite3@13.0.3_oxc-parser@0.143.0_rolldown@1.2.4_srvx@0.11.22_v_5d3bf9ea568859463be3d05244465a60/node_modules/nitropack/dist/runtime/internal/error/prod.mjs","../../../../node_modules/.pnpm/@nuxtjs+color-mode@4.0.1_magic-string@0.30.21_magicast@0.5.4_oxc-parser@0.143.0_rolldow_39343d5d296f571acb76ea995aeb761f/node_modules/@nuxtjs/color-mode/dist/runtime/nitro-plugin.js","../../../../node_modules/.pnpm/nitropack@2.13.4_better-sqlite3@13.0.3_oxc-parser@0.143.0_rolldown@1.2.4_srvx@0.11.22_v_5d3bf9ea568859463be3d05244465a60/node_modules/nitropack/dist/runtime/internal/plugin.mjs","../../../../core/config/telemetry-endpoint.ts","../../../../core/config/env.ts","../../../../core/config/paths.ts","../../../../core/common/playwright/url.ts","../../../../core/modules/environment/providers/env-key.ts","../../../../core/modules/environment/providers/environment-var.ts","../../../../core/common/playwright/active-vars.ts","../../../../core/modules/recording/recording.ts","../../../../core/webdriver/recorder/replay.ts","../../../../core/webdriver/recorder/recorder.service.ts","../../../../core/webdriver/video/video.service.ts","../../../../server/utils/composition/recorder.ts","../../../../server/plugins/recorder-shutdown.ts","../../../../core/common/utils/acutis.ts","../../../../core/common/interceptors/request-log.interceptor.ts","../../../../server/plugins/request-log.ts","../../../../core/migrations/1737100000000-create-settings-table.ts","../../../../core/migrations/1737100001000-create-ai-settings-table.ts","../../../../core/modules/settings/entities/ai-credential.entity.ts","../../../../core/modules/settings/entities/setting.entity.ts","../../../../core/config/database.ts","../../../../core/modules/ai/providers/claude-agent.ts","../../../../core/modules/ai/providers/codex-agent.ts","../../../../core/common/exceptions/errors.ts","../../../../core/modules/ai/providers/provider-errors.ts","../../../../core/modules/ai/providers/provider-model.ts","../../../../core/modules/ai/providers/agent.ts","../../../../core/modules/ai/agents/ping.ts","../../../../core/modules/ai/providers/model-catalog.ts","../../../../core/modules/settings/providers/ai-providers.ts","../../../../core/modules/settings/providers/crypto.ts","../../../../core/modules/settings/settings.service.ts","../../../../server/utils/composition/settings.ts","../../../../server/plugins/settings-shutdown.ts","../../../../node_modules/.pnpm/pathe@2.0.3/node_modules/pathe/dist/shared/pathe.M-eThtNZ.mjs","../../../../node_modules/.pnpm/nitropack@2.13.4_better-sqlite3@13.0.3_oxc-parser@0.143.0_rolldown@1.2.4_srvx@0.11.22_v_5d3bf9ea568859463be3d05244465a60/node_modules/nitropack/dist/runtime/internal/static.mjs","../../../../node_modules/.cache/nuxt/.nuxt/nuxt-icon-server-bundle.mjs","../../../../node_modules/.pnpm/@nuxt+icon@2.5.0_magic-string@0.30.21_magicast@0.5.4_oxc-parser@0.143.0_rolldown@1.2.4__4afba74934c71b1abcae67316bd13346/node_modules/@nuxt/icon/dist/runtime/server/api.js","../../../../node_modules/.pnpm/nitropack@2.13.4_better-sqlite3@13.0.3_oxc-parser@0.143.0_rolldown@1.2.4_srvx@0.11.22_v_5d3bf9ea568859463be3d05244465a60/node_modules/nitropack/dist/runtime/internal/app.mjs","../../../../node_modules/.pnpm/nitropack@2.13.4_better-sqlite3@13.0.3_oxc-parser@0.143.0_rolldown@1.2.4_srvx@0.11.22_v_5d3bf9ea568859463be3d05244465a60/node_modules/nitropack/dist/runtime/internal/renderer.mjs","../../../../node_modules/.pnpm/nitropack@2.13.4_better-sqlite3@13.0.3_oxc-parser@0.143.0_rolldown@1.2.4_srvx@0.11.22_v_5d3bf9ea568859463be3d05244465a60/node_modules/nitropack/dist/runtime/internal/lib/http-graceful-shutdown.mjs","../../../../node_modules/.pnpm/nitropack@2.13.4_better-sqlite3@13.0.3_oxc-parser@0.143.0_rolldown@1.2.4_srvx@0.11.22_v_5d3bf9ea568859463be3d05244465a60/node_modules/nitropack/dist/runtime/internal/shutdown.mjs","../../../../node_modules/.pnpm/nitropack@2.13.4_better-sqlite3@13.0.3_oxc-parser@0.143.0_rolldown@1.2.4_srvx@0.11.22_v_5d3bf9ea568859463be3d05244465a60/node_modules/nitropack/dist/presets/node/runtime/node-server.mjs"],"names":["isPlainObject","decode","getQuery","serialize","createRouter","f","h","i","l","createError","parse$1","mergeHeaders","nodeFetch","fetch","Headers","Headers$1","AbortController$1","normalizeKey","defineDriver","DRIVER_NAME","dirname","fsPromises","resolve","fsp","hash","digest$1","_inlineAppConfig","createRadixRouter","parse","__publicField","randomUUID","_a","lookup","unlink","isAbsolute","defineCachedHandler","nitroApp","callNodeRequestHandler","fetchNodeRequestHandler","gracefulShutdown","HttpsServer","HttpServer","wsAdapter"],"mappings":"","x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,77,78,79,80,81,82,83,84,85]}
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import * as z from 'zod';
|
|
2
|
+
import { C as readAppConfig, D as acutis, d as defineEventHandler } from '../../../nitro/nitro.mjs';
|
|
3
|
+
import { homedir } from 'node:os';
|
|
4
|
+
import { randomUUID } from 'node:crypto';
|
|
5
|
+
import { readFileSync, mkdirSync, writeFileSync } from 'node:fs';
|
|
6
|
+
import { join } from 'node:path';
|
|
7
|
+
import { p as parseApiResponse } from '../../../_/contract.mjs';
|
|
8
|
+
import { v as validatedBody } from '../../../_/http.mjs';
|
|
9
|
+
import 'node:http';
|
|
10
|
+
import 'node:https';
|
|
11
|
+
import 'stream';
|
|
12
|
+
import 'events';
|
|
13
|
+
import 'http';
|
|
14
|
+
import 'crypto';
|
|
15
|
+
import 'buffer';
|
|
16
|
+
import 'zlib';
|
|
17
|
+
import 'https';
|
|
18
|
+
import 'net';
|
|
19
|
+
import 'tls';
|
|
20
|
+
import 'url';
|
|
21
|
+
import 'node:events';
|
|
22
|
+
import 'node:buffer';
|
|
23
|
+
import 'node:dns/promises';
|
|
24
|
+
import 'node:net';
|
|
25
|
+
import 'playwright';
|
|
26
|
+
import 'node:url';
|
|
27
|
+
import 'node:fs/promises';
|
|
28
|
+
import 'node:async_hooks';
|
|
29
|
+
import 'typeorm';
|
|
30
|
+
import '@langchain/langgraph';
|
|
31
|
+
import '@anthropic-ai/claude-agent-sdk';
|
|
32
|
+
import 'langchain';
|
|
33
|
+
import '@iconify/utils';
|
|
34
|
+
import 'consola';
|
|
35
|
+
|
|
36
|
+
const errorReportRequestSchema = z.object({
|
|
37
|
+
message: z.string().min(1).max(2e3),
|
|
38
|
+
stack: z.string().max(2e4).optional(),
|
|
39
|
+
context: z.string().max(500).optional()
|
|
40
|
+
});
|
|
41
|
+
const errorReportResponseSchema = z.object({ sent: z.boolean() });
|
|
42
|
+
|
|
43
|
+
function installId(root) {
|
|
44
|
+
const file = join(root, "runtime/install-id");
|
|
45
|
+
try {
|
|
46
|
+
const saved = readFileSync(file, "utf8").trim();
|
|
47
|
+
if (saved !== "") return saved;
|
|
48
|
+
} catch {
|
|
49
|
+
}
|
|
50
|
+
const created = randomUUID();
|
|
51
|
+
mkdirSync(join(root, "runtime"), { recursive: true });
|
|
52
|
+
writeFileSync(file, created);
|
|
53
|
+
return created;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
const SENSITIVE_KEY = /([\w-]*(?:password|senha|token|secret|api[_-]?key|key|authorization|bearer))(["']?\s*[:=]\s*)(["']?)(?:Bearer\s+)?[^"'\s,}]+(["']?)/gi;
|
|
57
|
+
const SHORTEST_SECRET = 8;
|
|
58
|
+
const MASK = "[redigido]";
|
|
59
|
+
function escapeRegExp(value) {
|
|
60
|
+
return value.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
61
|
+
}
|
|
62
|
+
function redact(text, { home, env = {} }) {
|
|
63
|
+
if (text === void 0) return void 0;
|
|
64
|
+
let safe = text;
|
|
65
|
+
if (home !== void 0 && home !== "") {
|
|
66
|
+
safe = safe.replaceAll(new RegExp(escapeRegExp(home), "g"), "~");
|
|
67
|
+
}
|
|
68
|
+
safe = safe.replace(SENSITIVE_KEY, `$1$2$3${MASK}$4`);
|
|
69
|
+
for (const value of Object.values(env)) {
|
|
70
|
+
if (value === void 0 || value.length < SHORTEST_SECRET) continue;
|
|
71
|
+
safe = safe.replaceAll(value, MASK);
|
|
72
|
+
}
|
|
73
|
+
return safe;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
var __defProp = Object.defineProperty;
|
|
77
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
78
|
+
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
79
|
+
const TIMEOUT_MS = 3e3;
|
|
80
|
+
class TelemetryService {
|
|
81
|
+
constructor(config, send = fetch, identify = installId) {
|
|
82
|
+
__publicField(this, "config", config);
|
|
83
|
+
__publicField(this, "send", send);
|
|
84
|
+
__publicField(this, "identify", identify);
|
|
85
|
+
}
|
|
86
|
+
async report(report) {
|
|
87
|
+
var _a;
|
|
88
|
+
if (this.config.url === "") return false;
|
|
89
|
+
const context = { home: this.config.home, env: this.config.env };
|
|
90
|
+
const body = JSON.stringify({
|
|
91
|
+
message: redact(report.message, context),
|
|
92
|
+
stack: redact(report.stack, context),
|
|
93
|
+
context: redact(report.context, context),
|
|
94
|
+
cliVersion: (_a = this.config.version) != null ? _a : "desconhecida",
|
|
95
|
+
nodeVersion: process.version,
|
|
96
|
+
platform: process.platform,
|
|
97
|
+
installId: this.identify(this.config.root)
|
|
98
|
+
});
|
|
99
|
+
try {
|
|
100
|
+
const response = await this.send(this.config.url, {
|
|
101
|
+
method: "POST",
|
|
102
|
+
headers: { "content-type": "application/json", "authorization": `Bearer ${this.config.key}` },
|
|
103
|
+
body,
|
|
104
|
+
signal: AbortSignal.timeout(TIMEOUT_MS)
|
|
105
|
+
});
|
|
106
|
+
return response.ok;
|
|
107
|
+
} catch {
|
|
108
|
+
return false;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
var version = "0.2.0-dev.23";
|
|
114
|
+
|
|
115
|
+
function telemetryReporter() {
|
|
116
|
+
const { telemetry } = readAppConfig(process.env);
|
|
117
|
+
return new TelemetryService({
|
|
118
|
+
url: telemetry.url,
|
|
119
|
+
key: telemetry.key,
|
|
120
|
+
root: acutis().root,
|
|
121
|
+
home: homedir(),
|
|
122
|
+
version,
|
|
123
|
+
env: process.env
|
|
124
|
+
});
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
const report_post = defineEventHandler(async (event) => {
|
|
128
|
+
const report = await validatedBody(event, errorReportRequestSchema);
|
|
129
|
+
return parseApiResponse(errorReportResponseSchema, { sent: await telemetryReporter().report(report) });
|
|
130
|
+
});
|
|
131
|
+
|
|
132
|
+
export { report_post as default };
|
|
133
|
+
//# sourceMappingURL=report.post.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"report.post.mjs","sources":["../../../../../../shared/contracts/telemetry.ts","../../../../../../core/modules/telemetry/install-id.ts","../../../../../../core/modules/telemetry/redact.ts","../../../../../../core/modules/telemetry/telemetry.service.ts","../../../../../../server/utils/composition/telemetry.ts","../../../../../../server/api/telemetry/report.post.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { d as defineEventHandler, e as createError } from '../../nitro/nitro.mjs';
|
|
2
|
+
import 'node:http';
|
|
3
|
+
import 'node:https';
|
|
4
|
+
import 'node:crypto';
|
|
5
|
+
import 'stream';
|
|
6
|
+
import 'events';
|
|
7
|
+
import 'http';
|
|
8
|
+
import 'crypto';
|
|
9
|
+
import 'buffer';
|
|
10
|
+
import 'zlib';
|
|
11
|
+
import 'https';
|
|
12
|
+
import 'net';
|
|
13
|
+
import 'tls';
|
|
14
|
+
import 'url';
|
|
15
|
+
import 'node:events';
|
|
16
|
+
import 'node:buffer';
|
|
17
|
+
import 'node:fs';
|
|
18
|
+
import 'node:path';
|
|
19
|
+
import 'node:dns/promises';
|
|
20
|
+
import 'node:net';
|
|
21
|
+
import 'playwright';
|
|
22
|
+
import 'zod';
|
|
23
|
+
import 'node:url';
|
|
24
|
+
import 'node:fs/promises';
|
|
25
|
+
import 'node:async_hooks';
|
|
26
|
+
import 'node:os';
|
|
27
|
+
import 'typeorm';
|
|
28
|
+
import '@langchain/langgraph';
|
|
29
|
+
import '@anthropic-ai/claude-agent-sdk';
|
|
30
|
+
import 'langchain';
|
|
31
|
+
import '@iconify/utils';
|
|
32
|
+
import 'consola';
|
|
33
|
+
|
|
34
|
+
function erroDeTeste() {
|
|
35
|
+
const causa = new Error("O provedor de IA recusou a chamada com apiKey: VALOR-FALSO-SO-PARA-O-REDATOR-LIMPAR");
|
|
36
|
+
return createError({
|
|
37
|
+
statusCode: 500,
|
|
38
|
+
data: {
|
|
39
|
+
message: `N\xE3o foi poss\xEDvel gerar o cen\xE1rio. Este \xE9 um erro de teste, em ${(/* @__PURE__ */ new Date()).toISOString()}.`,
|
|
40
|
+
stack: causa.stack
|
|
41
|
+
}
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
const erroDeTelemetria_get = defineEventHandler(() => {
|
|
45
|
+
throw createError({ statusCode: 404 });
|
|
46
|
+
});
|
|
47
|
+
|
|
48
|
+
export { erroDeTelemetria_get as default, erroDeTeste };
|
|
49
|
+
//# sourceMappingURL=erro-de-telemetria.get.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"erro-de-telemetria.get.mjs","sources":["../../../../../server/routes/debug/erro-de-telemetria.get.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGO,SAAS,WAAA,GAAc;AAC5B,EAAA,MAAM,KAAA,GAAQ,IAAI,KAAA,CAAM,qFAAqF,CAAA;AAE7G,EAAA,OAAO,WAAA,CAAY;AAAA,IACjB,UAAA,EAAY,GAAA;AAAA,IACZ,IAAA,EAAM;AAAA,MACJ,SAAS,CAAA,0EAAA,EAAA,iBAAiE,IAAI,IAAA,EAAK,EAAE,aAAa,CAAA,CAAA,CAAA;AAAA,MAClG,OAAO,KAAA,CAAM;AAAA;AACf,GACD,CAAA;AACH;AAEA,6BAAe,mBAAmB,MAAM;AACtC,EAAsB,MAAM,WAAA,CAAY,EAAE,UAAA,EAAY,KAAK,CAAA;AAG7D,CAAC,CAAA;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a8 as useRuntimeConfig, J as encodePath, a9 as joinRelativeURL, aa as defineRenderHandler, b as getQuery, e as createError, ab as destr, ac as getRouteRules, ad as relative, T as joinURL, ae as getResponseStatusText, af as getResponseStatus, ag as useNitroApp } from '../nitro/nitro.mjs';
|
|
2
2
|
import { createHead as createHead$1, propsToString, renderSSRHead } from 'unhead/server';
|
|
3
3
|
import { hasInjectionContext, inject, isRef, toValue } from 'vue';
|
|
4
4
|
import { DeprecationsPlugin } from 'unhead/legacy';
|
|
@@ -259,7 +259,7 @@ const renderSSRHeadOptions = {"omitLineBreaks":true};
|
|
|
259
259
|
|
|
260
260
|
const entryIds = [];
|
|
261
261
|
|
|
262
|
-
const entryFileName = "
|
|
262
|
+
const entryFileName = "D2UpbqeN.js";
|
|
263
263
|
|
|
264
264
|
//#region src/runtime/handlers/renderer.ts
|
|
265
265
|
globalThis.__buildAssetsURL = buildAssetsURL;
|