@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 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
- Until its first npm release the plugin is `private` and not `familiar.bundled`; enable it by adding `@getfamiliar/plugin-web-chat` to `config/plugins`. It needs the web UI (`web-ui` plugin, `webserver.enabled: true`).
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
- "name": "@getfamiliar/plugin-web-chat",
3
- "type": "module",
4
- "version": "0.0.1",
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
- },
14
- "files": [
15
- "build",
16
- "workspace-template"
17
- ],
18
- "engines": {
19
- "node": ">=22"
20
- },
21
- "scripts": {
22
- "build": "tsc -p tsconfig.host.json && tsc -p tsconfig.app.json && vite build",
23
- "format": "biome format --write src/",
24
- "format:check": "biome format src/",
25
- "lint": "biome lint src/",
26
- "check": "biome check src/",
27
- "test": "tsx --test 'src/**/*.test.ts'"
28
- },
29
- "license": "MIT",
30
- "dependencies": {
31
- "@getfamiliar/shared": "*",
32
- "hono": "^4.13.16"
33
- },
34
- "devDependencies": {
35
- "@biomejs/biome": "^2.4.12",
36
- "@fontsource-variable/geist": "^5.3.0",
37
- "@shadcn/react": "^0.3.1",
38
- "@tailwindcss/vite": "^4.3.4",
39
- "@types/node": "^22",
40
- "@types/react": "^19.3.0",
41
- "@types/react-dom": "^19.3.0",
42
- "@vitejs/plugin-react": "^6.2.1",
43
- "class-variance-authority": "^0.7.1",
44
- "cn": "^0.5.2",
45
- "lucide-react": "^1.69.0",
46
- "radix-ui": "^1.8.1",
47
- "react": "^19.3.1",
48
- "react-dom": "^19.3.1",
49
- "react-markdown": "^10.1.0",
50
- "remark-gfm": "^4.0.1",
51
- "shadcn": "^4.23.0",
52
- "shiki": "^4.6.0",
53
- "tailwindcss": "^4.3.4",
54
- "tw-animate-css": "^1.4.0",
55
- "typescript": "^6.0.3",
56
- "vite": "^8.3.6"
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
- You are a chat assistant, talking to the user in the familiar web UI. The conversation history is provided as messages; the latest user message is the one you must respond to.
7
+ {chat/index.md}
6
8
 
7
- Do not use the send_chat tool to respond to the user, your normal plain text reply will be sent to the user automatically. Use send_chat only for follow-up questions or proactive notifications.
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