@cat-factory/app 0.201.0 → 0.201.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app/utils/agentOutput.ts +5 -2
- package/package.json +6 -7
package/app/utils/agentOutput.ts
CHANGED
|
@@ -10,7 +10,10 @@
|
|
|
10
10
|
// the rendered document at each heading into sections we can collapse
|
|
11
11
|
// independently and link from a ToC. That split is done over the parsed DOM, so
|
|
12
12
|
// it is independent of markdown-it's token internals.
|
|
13
|
-
|
|
13
|
+
// markdown-it 15 ships its own types (the retired `@types/markdown-it` stopped at 14): the
|
|
14
|
+
// default export is the CONSTRUCTOR and the instance type is the same-named type export, so
|
|
15
|
+
// the two need distinct local names where the old merged declaration allowed one.
|
|
16
|
+
import MarkdownIt, { type MarkdownIt as MarkdownItInstance } from 'markdown-it'
|
|
14
17
|
|
|
15
18
|
/**
|
|
16
19
|
* Stamp every TOP-LEVEL block element with its source line range
|
|
@@ -21,7 +24,7 @@ import MarkdownIt from 'markdown-it'
|
|
|
21
24
|
* tracked over the flat token stream) so a comment targets a whole paragraph/list/
|
|
22
25
|
* heading rather than a nested fragment.
|
|
23
26
|
*/
|
|
24
|
-
function sourceLinePlugin(md:
|
|
27
|
+
function sourceLinePlugin(md: MarkdownItInstance): void {
|
|
25
28
|
md.core.ruler.push('source_lines', (state) => {
|
|
26
29
|
let depth = 0
|
|
27
30
|
for (const token of state.tokens) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cat-factory/app",
|
|
3
|
-
"version": "0.201.
|
|
3
|
+
"version": "0.201.1",
|
|
4
4
|
"description": "Reusable Nuxt layer for the Agent Architecture Board SPA (components, stores, composables, pages). Consume it from a thin deployment app via `extends: ['@cat-factory/app']` and point it at your backend with NUXT_PUBLIC_API_BASE. See deploy/frontend for an example.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"@modular-vue/runtime": "^1.4.1",
|
|
26
26
|
"@modular-vue/vue": "^1.4.1",
|
|
27
27
|
"@nuxt/ui": "^4.10.0",
|
|
28
|
-
"@nuxtjs/i18n": "^10.
|
|
28
|
+
"@nuxtjs/i18n": "^10.6.0",
|
|
29
29
|
"@pinia/nuxt": "^1.0.1",
|
|
30
30
|
"@toad-contracts/core": "0.4.0",
|
|
31
31
|
"@toad-contracts/frontend-http-client": "0.3.2",
|
|
@@ -33,25 +33,24 @@
|
|
|
33
33
|
"@vue-flow/background": "^1.3.2",
|
|
34
34
|
"@vue-flow/core": "^1.48.2",
|
|
35
35
|
"@vue-flow/node-resizer": "^1.5.1",
|
|
36
|
-
"@vueuse/core": "^14.
|
|
37
|
-
"markdown-it": "^
|
|
36
|
+
"@vueuse/core": "^14.4.0",
|
|
37
|
+
"markdown-it": "^15.0.0",
|
|
38
38
|
"pinia": "^4.0.2",
|
|
39
39
|
"pinia-plugin-persistedstate": "^4.7.1",
|
|
40
40
|
"valibot": "^1.4.2",
|
|
41
41
|
"vue": "3.5.40",
|
|
42
42
|
"wretch": "^3.0.9",
|
|
43
|
-
"@cat-factory/contracts": "0.210.
|
|
43
|
+
"@cat-factory/contracts": "0.210.1"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@toad-contracts/testing": "0.3.2",
|
|
47
|
-
"@types/markdown-it": "^14.1.2",
|
|
48
47
|
"happy-dom": "^20.11.1",
|
|
49
48
|
"msw": "^2.15.0",
|
|
50
49
|
"nuxt": "^4.5.1",
|
|
51
50
|
"typescript": "^6.0.3",
|
|
52
51
|
"vitest": "^4.1.10",
|
|
53
52
|
"vue-i18n-extract": "^2.0.7",
|
|
54
|
-
"vue-tsc": "^3.3.
|
|
53
|
+
"vue-tsc": "^3.3.9"
|
|
55
54
|
},
|
|
56
55
|
"peerDependencies": {
|
|
57
56
|
"nuxt": "^4.5.0"
|