@getfamiliar/plugin-web-chat 0.0.1 → 0.1.19
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/README.md +1 -1
- package/package.json +62 -56
- package/workspace-template/chat/web.md +4 -6
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Chat with familiar in the web UI. The page opens as the start page of the web UI (menu entry "Chat", weight -100) and runs on the chat channel `web`.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
It is a core plugin (`familiar.bundled`, always loaded). It needs the web UI (`web-ui` plugin, `webserver.enabled: true`).
|
|
6
6
|
|
|
7
7
|
## Features
|
|
8
8
|
|
package/package.json
CHANGED
|
@@ -1,58 +1,64 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
2
|
+
"name": "@getfamiliar/plugin-web-chat",
|
|
3
|
+
"type": "module",
|
|
4
|
+
"version": "0.1.19",
|
|
5
|
+
"description": "Familiar plugin: chat with the assistant in the web UI.",
|
|
6
|
+
"publishConfig": {
|
|
7
|
+
"access": "public"
|
|
8
|
+
},
|
|
9
|
+
"main": "build/index.js",
|
|
10
|
+
"types": "build/index.d.ts",
|
|
11
|
+
"familiar": {
|
|
12
|
+
"plugin": true,
|
|
13
|
+
"bundled": true
|
|
14
|
+
},
|
|
15
|
+
"files": [
|
|
16
|
+
"build",
|
|
17
|
+
"workspace-template"
|
|
18
|
+
],
|
|
19
|
+
"engines": {
|
|
20
|
+
"node": ">=22"
|
|
21
|
+
},
|
|
22
|
+
"scripts": {
|
|
23
|
+
"build": "tsc -p tsconfig.host.json && tsc -p tsconfig.app.json && vite build",
|
|
24
|
+
"format": "biome format --write src/",
|
|
25
|
+
"format:check": "biome format src/",
|
|
26
|
+
"lint": "biome lint src/",
|
|
27
|
+
"check": "biome check src/",
|
|
28
|
+
"test": "tsx --test 'src/**/*.test.ts'"
|
|
29
|
+
},
|
|
30
|
+
"license": "MIT",
|
|
31
|
+
"dependencies": {
|
|
32
|
+
"@getfamiliar/shared": "0.1.19",
|
|
33
|
+
"hono": "^4.13.16"
|
|
34
|
+
},
|
|
35
|
+
"devDependencies": {
|
|
36
|
+
"@biomejs/biome": "^2.4.12",
|
|
37
|
+
"@fontsource-variable/geist": "^5.3.0",
|
|
38
|
+
"@shadcn/react": "^0.3.1",
|
|
39
|
+
"@tailwindcss/vite": "^4.3.4",
|
|
40
|
+
"@types/node": "^22",
|
|
41
|
+
"@types/react": "^19.3.0",
|
|
42
|
+
"@types/react-dom": "^19.3.0",
|
|
43
|
+
"@vitejs/plugin-react": "^6.2.1",
|
|
44
|
+
"class-variance-authority": "^0.7.1",
|
|
45
|
+
"cn": "^0.5.2",
|
|
46
|
+
"lucide-react": "^1.69.0",
|
|
47
|
+
"radix-ui": "^1.8.1",
|
|
48
|
+
"react": "^19.3.1",
|
|
49
|
+
"react-dom": "^19.3.1",
|
|
50
|
+
"react-markdown": "^10.1.0",
|
|
51
|
+
"remark-gfm": "^4.0.1",
|
|
52
|
+
"shadcn": "^4.23.0",
|
|
53
|
+
"shiki": "^4.6.0",
|
|
54
|
+
"tailwindcss": "^4.3.4",
|
|
55
|
+
"tw-animate-css": "^1.4.0",
|
|
56
|
+
"typescript": "^6.0.3",
|
|
57
|
+
"vite": "^8.3.6"
|
|
58
|
+
},
|
|
59
|
+
"repository": {
|
|
60
|
+
"type": "git",
|
|
61
|
+
"url": "git+https://github.com/getfamiliar/familiar.git",
|
|
62
|
+
"directory": "plugins/web-chat"
|
|
63
|
+
}
|
|
58
64
|
}
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
---
|
|
2
|
+
serial: chat
|
|
3
|
+
model: smart
|
|
2
4
|
outputChat: true
|
|
3
5
|
---
|
|
4
6
|
|
|
5
|
-
|
|
7
|
+
{chat/index.md}
|
|
6
8
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
Your replies are rendered as markdown (GitHub flavored, with syntax-highlighted code blocks), so use it where it helps.
|
|
10
|
-
|
|
11
|
-
If a question would benefit from another tool listed in the system prompt, call that tool first and use the result in your reply.
|
|
9
|
+
You are talking to the user in the familiar web UI. Your replies are rendered as markdown (GitHub flavored, with syntax-highlighted code blocks), so use it where it helps.
|
|
12
10
|
|
|
13
11
|
## Files
|
|
14
12
|
|