-
Notifications
You must be signed in to change notification settings - Fork 5
/
weave.dev.config.example.ts
104 lines (103 loc) · 2.63 KB
/
weave.dev.config.example.ts
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
import { defineConfig } from './cli/defineConfig';
export default defineConfig({
toolCurations: [
{
url: 'https://raw.githubusercontent.com/lightningrodlabs/weave-tool-curation/refs/heads/test-0.13/0.13/lists/curations-0.13.json',
useLists: ['default'],
},
],
groups: [
{
name: 'Tennis Club',
networkSeed: '098rc1m-09384u-crm-29384u-cmkj',
icon: {
type: 'filesystem',
path: './example/ui/tennis_club.png',
},
creatingAgent: {
agentIdx: 1,
agentProfile: {
nickname: 'Gaston',
avatar: {
type: 'filesystem',
path: './example/ui/gaston.jpeg',
},
},
},
joiningAgents: [
{
agentIdx: 2,
agentProfile: {
nickname: 'Marsupilami',
avatar: {
type: 'filesystem',
path: './example/ui/marsupilami.jpeg',
},
},
},
],
applets: [
{
name: 'Example Applet',
instanceName: 'Example Applet',
registeringAgent: 1,
joiningAgents: [2],
},
{
name: 'Example Applet Hot Reload',
instanceName: 'Example Applet Hot Reload',
registeringAgent: 1,
joiningAgents: [2],
},
{
name: 'notebooks',
instanceName: 'notebooks',
registeringAgent: 1,
joiningAgents: [2],
},
],
},
],
applets: [
{
name: 'Example Applet',
subtitle: 'Just an Example',
description: 'Just an example applet to show the various affordances of We',
icon: {
type: 'filesystem',
path: './example/ui/icon.png',
},
source: {
type: 'filesystem',
path: './example/workdir/example-applet.webhapp',
},
},
{
name: 'Example Applet Hot Reload',
subtitle: 'Just an Example',
description: 'Just an example applet to show the various affordances of We',
icon: {
type: 'filesystem',
path: './example/ui/icon.png',
},
source: {
type: 'localhost',
happPath: './example/workdir/example-applet.happ',
uiPort: 8888,
},
},
{
name: 'notebooks',
subtitle: 'Collaborative note taking',
description: 'Real-time notetaking based on syn',
icon: {
type: 'https',
url: 'https://lightningrodlabs.org/projects/notebooks.png',
},
source: {
type: 'https',
url: 'https://github.com/lightningrodlabs/notebooks/releases/download/v0.2.4/notebooks.webhapp',
},
},
],
});