@meistrari/chat-ui-lang 0.4.0 → 0.5.0-rc.0

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/dist/index.js CHANGED
@@ -301,7 +301,7 @@ var componentNames = Object.keys(library.components);
301
301
  import { createLibrary as createLibrary2 } from "@openuidev/lang-core";
302
302
 
303
303
  // src/version.ts
304
- var LIBRARY_VERSION = "0.4.0";
304
+ var LIBRARY_VERSION = "0.5.0";
305
305
  var UI_LANG_FENCE = "openui-lang";
306
306
 
307
307
  // src/profiles.ts
@@ -877,7 +877,7 @@ function describe(element) {
877
877
  return fields.length ? `Para continuar, responda com: ${fields.join(", ")}.` : "";
878
878
  }
879
879
  case "FileCard":
880
- return markdownLink(text(props.name), text(props.vaultRef), /^vault:\/\//);
880
+ return markdownLink(text(props.name), text(props.vaultRef), /^(?:https:|vault:)\/\//);
881
881
  case "Image":
882
882
  return markdownLink(text(props.alt) || "Imagem", text(props.src), /^(?:https:|vault:)\/\//);
883
883
  case "Citation":
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@meistrari/chat-ui-lang/nuxt",
3
3
  "configKey": "@meistrari/chat-ui-lang/nuxt",
4
- "version": "0.4.0-rc.0",
4
+ "version": "0.5.0-rc.0",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "unknown"
package/dist/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const LIBRARY_VERSION = "0.4.0";
1
+ export declare const LIBRARY_VERSION = "0.5.0";
2
2
  export declare const UI_LANG_FENCE = "openui-lang";
package/package.json CHANGED
@@ -1,78 +1,78 @@
1
1
  {
2
- "name": "@meistrari/chat-ui-lang",
3
- "version": "0.4.0",
4
- "type": "module",
5
- "main": "./dist/index.js",
6
- "types": "./dist/index.d.ts",
7
- "exports": {
8
- ".": {
9
- "types": "./dist/index.d.ts",
10
- "import": "./dist/index.js"
11
- },
12
- "./nuxt": {
13
- "types": "./dist/nuxt/module.d.mts",
14
- "import": "./dist/nuxt/module.mjs"
15
- }
16
- },
17
- "files": [
18
- "dist",
19
- "README.md"
20
- ],
21
- "scripts": {
22
- "build": "bun run build:catalogue && bun run build:nuxt",
23
- "build:catalogue": "rm -rf dist && bun build src/index.ts --outdir dist --target node --format esm --packages external && tsc -p tsconfig.build.json",
24
- "build:nuxt": "mkdir -p .nuxt && { [ -f .nuxt/tsconfig.json ] || printf '{}' > .nuxt/tsconfig.json; } && { [ -f .nuxt/tsconfig.server.json ] || printf '{}' > .nuxt/tsconfig.server.json; } && nuxt-module-build build --outDir dist/nuxt",
25
- "prepack": "bun run build",
26
- "test": "bun test ./test && vitest run",
27
- "typecheck": "tsc --noEmit && nuxi prepare && vue-tsc --noEmit -p src/nuxt/tsconfig.json"
28
- },
29
- "dependencies": {
30
- "@openuidev/lang-core": "1.0.0",
31
- "zod": "^4.1.13"
32
- },
33
- "peerDependencies": {
34
- "@meistrari/tela-build": "^1.79.0",
35
- "nuxt": "^3.17.0 || ^4.0.0",
36
- "vue": "^3.5.0"
37
- },
38
- "peerDependenciesMeta": {
39
- "@meistrari/tela-build": {
40
- "optional": true
41
- },
42
- "nuxt": {
43
- "optional": true
44
- },
45
- "vue": {
46
- "optional": true
47
- }
48
- },
49
- "devDependencies": {
50
- "@nuxt/module-builder": "1.0.2",
51
- "nuxt": "4.4.8",
52
- "typescript": "5.9.3",
53
- "vitest": "3.2.4",
54
- "vue-tsc": "3.2.7"
55
- },
56
- "description": "Catalogue of chat widgets the Tela agent may emit as OpenUI Lang, shared by chat-nuxt and agent-api, and its Nuxt renderer",
57
- "license": "UNLICENSED",
58
- "repository": {
59
- "type": "git",
60
- "url": "https://github.com/meistrari/chat-app.git",
61
- "directory": "packages/ui-lang"
62
- },
63
- "publishConfig": {
64
- "access": "public",
2
+ "name": "@meistrari/chat-ui-lang",
3
+ "version": "0.5.0-rc.0",
4
+ "type": "module",
65
5
  "main": "./dist/index.js",
66
6
  "types": "./dist/index.d.ts",
67
7
  "exports": {
68
- ".": {
8
+ ".": {
9
+ "types": "./dist/index.d.ts",
10
+ "import": "./dist/index.js"
11
+ },
12
+ "./nuxt": {
13
+ "types": "./dist/nuxt/module.d.mts",
14
+ "import": "./dist/nuxt/module.mjs"
15
+ }
16
+ },
17
+ "files": [
18
+ "dist",
19
+ "README.md"
20
+ ],
21
+ "scripts": {
22
+ "build": "bun run build:catalogue && bun run build:nuxt",
23
+ "build:catalogue": "rm -rf dist && bun build src/index.ts --outdir dist --target node --format esm --packages external && tsc -p tsconfig.build.json",
24
+ "build:nuxt": "mkdir -p .nuxt && { [ -f .nuxt/tsconfig.json ] || printf '{}' > .nuxt/tsconfig.json; } && { [ -f .nuxt/tsconfig.server.json ] || printf '{}' > .nuxt/tsconfig.server.json; } && nuxt-module-build build --outDir dist/nuxt",
25
+ "prepack": "bun run build",
26
+ "test": "bun test ./test && vitest run",
27
+ "typecheck": "tsc --noEmit && nuxi prepare && vue-tsc --noEmit -p src/nuxt/tsconfig.json"
28
+ },
29
+ "dependencies": {
30
+ "@openuidev/lang-core": "1.0.0",
31
+ "zod": "^4.1.13"
32
+ },
33
+ "peerDependencies": {
34
+ "@meistrari/tela-build": "^1.79.0",
35
+ "nuxt": "^3.17.0 || ^4.0.0",
36
+ "vue": "^3.5.0"
37
+ },
38
+ "peerDependenciesMeta": {
39
+ "@meistrari/tela-build": {
40
+ "optional": true
41
+ },
42
+ "nuxt": {
43
+ "optional": true
44
+ },
45
+ "vue": {
46
+ "optional": true
47
+ }
48
+ },
49
+ "devDependencies": {
50
+ "@nuxt/module-builder": "1.0.2",
51
+ "nuxt": "4.4.8",
52
+ "typescript": "5.9.3",
53
+ "vitest": "3.2.4",
54
+ "vue-tsc": "3.2.7"
55
+ },
56
+ "description": "Catalogue of chat widgets the Tela agent may emit as OpenUI Lang, shared by chat-nuxt and agent-api, and its Nuxt renderer",
57
+ "license": "UNLICENSED",
58
+ "repository": {
59
+ "type": "git",
60
+ "url": "https://github.com/meistrari/chat-app.git",
61
+ "directory": "packages/ui-lang"
62
+ },
63
+ "publishConfig": {
64
+ "access": "public",
65
+ "main": "./dist/index.js",
69
66
  "types": "./dist/index.d.ts",
70
- "import": "./dist/index.js"
71
- },
72
- "./nuxt": {
73
- "types": "./dist/nuxt/module.d.mts",
74
- "import": "./dist/nuxt/module.mjs"
75
- }
67
+ "exports": {
68
+ ".": {
69
+ "types": "./dist/index.d.ts",
70
+ "import": "./dist/index.js"
71
+ },
72
+ "./nuxt": {
73
+ "types": "./dist/nuxt/module.d.mts",
74
+ "import": "./dist/nuxt/module.mjs"
75
+ }
76
+ }
76
77
  }
77
- }
78
78
  }