Commit Graph
893 Commits
Author SHA1 Message Date
Chesterkxng 4241ca6746 chore: confilct resolved 2026-07-31 15:07:26 +02:00
Chesterkxng 648c721920 Merge branch 'main' into pr/Archit1235/283 2026-07-31 15:00:35 +02:00
Chesterkxng f3155df5a1 chore: dedicated service file 2026-07-31 14:46:55 +02:00
Chesterkxng 84bab29a4d chore: full i8n support 2026-07-31 14:45:55 +02:00
Chesterkxng 49a541c64a chore:
- function signature fix
- updated types for matching purpose
2026-07-30 18:39:22 +02:00
Chesterkxng 9664dad55a chore: json-escape updated for full i8n support and correction 2026-07-30 18:10:48 +02:00
Chesterkxng 7f6078b183 chore: json-minify updated for ToolCodeResult use 2026-07-30 17:29:55 +02:00
Chesterkxng 6fd4e21e6a chore: json-sort updated for ToolCodeResult use 2026-07-30 17:22:51 +02:00
Chesterkxng bfecd9a538 chore: stringify json updated
- full i8n
- eval fix handled in service
- ToolResultCode used instead of ToolTextResult
- types.ts file
- error handling
2026-07-30 17:19:53 +02:00
Chesterkxng b14a89a6f9 chore: json-to-xml updated to use ToolCodeResult 2026-07-30 12:17:53 +02:00
Chesterkxng a547c1146d chore: updated prettify json
- initialvaluestype added
- ToolCodeResult imported
2026-07-30 11:44:20 +02:00
Chesterkxng 5d5cb7e220 chore: new ToolCodeResult component 2026-07-30 11:38:18 +02:00
Chesterkxng 77e50ecbb4 chore : flebox use for display coherence 2026-07-30 11:05:53 +02:00
Chesterkxng 1547f7cd59 chore: enforcing collapsible nodes dropdown icons 2026-07-30 09:24:53 +02:00
Chesterkxng 6ca627e7ee chore:
- InitialValuesType import
- corrected example
2026-07-29 14:15:30 +02:00
Chesterkxng f307fee772 chore: icon changed 2026-07-29 14:09:55 +02:00
Chesterkxng 98d649e360 chore: updated test with default lang change 2026-07-29 14:06:45 +02:00
Chesterkxng 4fc59f4981 chore:
- use of en-US
- InitialValuesType import
2026-07-29 14:02:44 +02:00
Chesterkxng 458afa6627 chore: types.ts file 2026-07-29 14:01:03 +02:00
Paras Agarwalandrebelroot 33da7c4676 refactor(number-to-words): use to-words package for i18n support
Replace the hand-rolled English-only converter with the actively
maintained `to-words` package (v5.6.1), which supports 132 locales.

Changes per maintainer feedback (iib0011):
- Import `toWords` from `to-words` instead of custom conversion logic
- Auto-detect locale from localStorage (same pattern as crontab-guru)
- Map omni-tools' 10 supported languages to to-words locale codes
- Output now matches the user's selected UI language automatically
- Renamed `includeAnd` option to `useAnd` to match to-words API
- Updated all 20 tests to match to-words output format
- Updated i18n keys and example cards

Co-authored-by: rebelroot <262209644+rebelroot@users.noreply.github.com>
2026-07-29 14:23:28 +05:30
Paras Agarwalandrebelroot 812c0c22b2 fix(number-to-words): accept leading/trailing decimal points
Normalize edge-case decimal inputs so '.25' is read as 'zero point two
five' and '5.' as 'five'. A lone '.' is still rejected. Adds 3 tests.

Co-authored-by: rebelroot <262209644+rebelroot@users.noreply.github.com>
2026-07-29 08:42:19 +05:30
Paras Agarwalandrebelroot fe0c9ca274 feat: add number to words converter tool
Add a new number tool that converts numbers into their English word
representation. Supports integers up to trillions, decimal fractions
(read digit-by-digit after 'point'), and negative values.

Options:
- Uppercase output (cheque/legal document style)
- Include 'and' between hundreds and tens (e.g. 'one hundred and twenty')

Processes one number per line, preserving line structure. Includes 17
unit tests covering edge cases (zero, teens, hyphenated tens, zero
groups within large numbers, trailing fractional zeros, non-numeric
input, empty lines).

Co-authored-by: rebelroot <262209644+rebelroot@users.noreply.github.com>
2026-07-29 07:03:00 +05:30
Chesterkxng b6777c91b5 Merge branch 'main' into pr/RajivRatan27/415 2026-07-26 21:05:08 +02:00
Chesterkxng e3cdcb966b chore: max day per month handled to avoid inconsistent selection 2026-07-26 21:04:45 +02:00
Chesterkxng 0e09b68c4a Merge branch 'main' into pr/smz202000/407 2026-07-26 19:34:40 +02:00
Chesterkxng cec53699ff chore: imports updated in compare text 2026-07-26 19:31:21 +02:00
Chesterkxng ec5ec65149 chore: imports updated in json-to-xml 2026-07-26 19:30:50 +02:00
Chesterkxng c012ec038c chore: corrected csv-to-xml tool 2026-07-26 19:30:20 +02:00
Chesterkxng 2c397d2481 chore: markup and xml util 2026-07-26 19:28:12 +02:00
Chesterkxng f3fa38c217 chore: input type specifying (json-to-xml) 2026-07-26 16:05:41 +02:00
Chesterkxng 694dadccad chore: input type specifying 2026-07-26 15:47:25 +02:00
Chesterkxng f55113c4c5 chore: input type specifiy to monaco editor (where simple !) 2026-07-26 15:19:21 +02:00
Chesterkxng d446fcd21b chore: json-to-xml handling jsonl 2026-07-26 14:25:02 +02:00
Chesterkxng 1c1c49dde5 Merge branch 'main' into pr/arimu1/385 2026-07-26 04:22:30 +02:00
Chesterkxng 876608c032 chore: (fix) tsv to json (minify) 2026-07-26 04:13:56 +02:00
Chesterkxng 6584d7e226 chore: safe typing 2026-07-26 03:30:44 +02:00
Chesterkxng 63bd26009d chore: updated minify json to handle Jsonl 2026-07-26 03:28:50 +02:00
Chesterkxng d57017ddac chore: updated sort json to handle Jsonl 2026-07-26 02:52:43 +02:00
Chesterkxng 094ed16a39 chore: initial error on validate json handling 2026-07-26 02:23:31 +02:00
Chesterkxng d75f108ab4 chore: updated util to specify the json format 2026-07-26 02:19:21 +02:00
Chesterkxng 5c71fb126d chore: update validate json service to handle JSONL 2026-07-26 02:03:21 +02:00
Chesterkxng 21a2f43a1b chore: error formatting 2026-07-26 01:49:57 +02:00
Chesterkxng 10c06f4df5 chore: rewritten test case to handle changes 2026-07-26 01:47:38 +02:00
Chesterkxng 8e5af48da5 chore: try catch block removed 2026-07-26 01:47:06 +02:00
Chesterkxng 2254b559a7 chore: improved jsonparser util function 2026-07-26 01:46:26 +02:00
Chesterkxng 6ba71199c3 chore: updated error messages in test cases file 2026-07-25 21:12:07 +02:00
Chesterkxng 0741bf755b chore: hybrid approach implemented (perfomance) 2026-07-25 21:07:24 +02:00
RajivRatan27 2e8e8e88af feat: add date weekday calculator tool 2026-07-25 11:41:09 +05:30
arimu1 c0a7b58d9c fix(random-number): bound unique decimal domain to [min, max] (#404)
Unique generation validated capacity with the integer formula max-min+1
even for decimals, and built the decimal pool by adding min..max inclusive
each with 0.00-0.99, so valid decimal counts were rejected while drawn
values could exceed the inclusive maximum. Both the capacity check and the
pool now share one bounded hundredths domain over [min, max].
2026-07-22 23:13:18 +07:00
Chesterkxng 8db2edd016 Merge branch 'main' into pr/Dame5211/375 2026-07-17 12:56:56 +02:00