返回 CodeWhale
46-activate-with-config-and-data-dir.json
根目录 / crates / tui / tests / fixtures / extension_host / protocol / 46-activate-with-config-and-data-dir.json
1 {
2 "direction": "core_to_host",
3 "valid": true,
4 "frame": {
5 "jsonrpc": "2.0",
6 "id": 8,
7 "method": "ext/activate",
8 "params": {
9 "owner": {
10 "plugin_id": "user/ab12cd34/greeter",
11 "generation": 4,
12 "owner_token": "5f0c6a3e9b2d4c1a8e7f60123456789a"
13 },
14 "plugin_name": "greeter",
15 "entry": {
16 "path": "/home/u/.codewhale/plugins/.runtime/x/index.mjs",
17 "sha256": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
18 },
19 "config": {
20 "greeting": "Hello",
21 "limit": 3,
22 "nested": {
23 "tags": [
24 "a",
25 "b"
26 ]
27 }
28 },
29 "data_dir": "/home/u/.codewhale/extension-host/data/plugins/greeter-0a1b2c3d4e5f"
30 }
31 }
32 }
33
33 lines JSON