diff --git a/package.json b/package.json index ca116f366..f189113b9 100644 --- a/package.json +++ b/package.json @@ -36,6 +36,7 @@ "plausible-tracker": "^0.3.9", "pretty-bytes": "^6.1.1", "prismjs": "^1.29.0", + "remarkable": "^2.0.1", "svelte-confetti": "^1.4.0", "tippy.js": "^6.3.7" }, @@ -52,6 +53,7 @@ "@testing-library/user-event": "^14.5.2", "@types/deep-equal": "^1.0.4", "@types/prismjs": "^1.26.5", + "@types/remarkable": "^2.0.8", "@typescript-eslint/eslint-plugin": "^7.18.0", "@typescript-eslint/parser": "^7.18.0", "@vitest/ui": "^1.6.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e107684f4..627a97cc9 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -59,6 +59,9 @@ importers: prismjs: specifier: ^1.29.0 version: 1.29.0 + remarkable: + specifier: ^2.0.1 + version: 2.0.1 svelte-confetti: specifier: ^1.4.0 version: 1.4.0(svelte@4.2.19) @@ -102,6 +105,9 @@ importers: '@types/prismjs': specifier: ^1.26.5 version: 1.26.5 + '@types/remarkable': + specifier: ^2.0.8 + version: 2.0.8 '@typescript-eslint/eslint-plugin': specifier: ^7.18.0 version: 7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.6.3))(eslint@8.57.1)(typescript@5.6.3) @@ -1327,6 +1333,9 @@ packages: '@types/pug@2.0.10': resolution: {integrity: sha512-Sk/uYFOBAB7mb74XcpizmH0KOR2Pv3D2Hmrh1Dmy5BmK3MpdSa5kqZcg6EKBdklU0bFXX9gCfzvpnyUehrPIuA==} + '@types/remarkable@2.0.8': + resolution: {integrity: sha512-eKXqPZfpQl1kOADjdKchHrp2gwn9qMnGXhH/AtZe0UrklzhGJkawJo/Y/D0AlWcdWoWamFNIum8+/nkAISQVGg==} + '@types/shimmer@1.2.0': resolution: {integrity: sha512-UE7oxhQLLd9gub6JKIAhDq06T0F6FnztwMNRvYgjeQSBeMc1ZG/tA47EwfduvkuQS8apbkM/lpLpWsaCeYsXVg==} @@ -1559,6 +1568,9 @@ packages: asynckit@0.4.0: resolution: {integrity: sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==} + autolinker@3.16.2: + resolution: {integrity: sha512-JiYl7j2Z19F9NdTmirENSUUIIL/9MytEWtmzhfmsKPCp9E+G35Y0UNCMoM9tFigxT59qSc8Ml2dlZXOCVTYwuA==} + available-typed-arrays@1.0.7: resolution: {integrity: sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==} engines: {node: '>= 0.4'} @@ -3062,6 +3074,11 @@ packages: resolution: {integrity: sha512-vqlC04+RQoFalODCbCumG2xIOvapzVMHwsyIGM/SIE8fRhFFsXeH8/QQ+s0T0kDAhKc4k30s73/0ydkHQz6HlQ==} engines: {node: '>= 0.4'} + remarkable@2.0.1: + resolution: {integrity: sha512-YJyMcOH5lrR+kZdmB0aJJ4+93bEojRZ1HGDn9Eagu6ibg7aVZhc3OWbbShRid+Q5eAfsEqWxpe+g5W5nYNfNiA==} + engines: {node: '>= 6.0.0'} + hasBin: true + require-directory@2.1.1: resolution: {integrity: sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==} engines: {node: '>=0.10.0'} @@ -5143,6 +5160,8 @@ snapshots: '@types/pug@2.0.10': {} + '@types/remarkable@2.0.8': {} + '@types/shimmer@1.2.0': {} '@types/stack-utils@2.0.3': {} @@ -5435,6 +5454,10 @@ snapshots: asynckit@0.4.0: {} + autolinker@3.16.2: + dependencies: + tslib: 2.8.1 + available-typed-arrays@1.0.7: dependencies: possible-typed-array-names: 1.0.0 @@ -7144,6 +7167,11 @@ snapshots: es-errors: 1.3.0 set-function-name: 2.0.2 + remarkable@2.0.1: + dependencies: + argparse: 1.0.10 + autolinker: 3.16.2 + require-directory@2.1.1: {} require-in-the-middle@7.4.0: diff --git a/src/lib/commandCenter/panels/ai.svelte b/src/lib/commandCenter/panels/ai.svelte index d64c93e51..da09311f7 100644 --- a/src/lib/commandCenter/panels/ai.svelte +++ b/src/lib/commandCenter/panels/ai.svelte @@ -1,6 +1,9 @@