-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcopilot-extension.json
More file actions
148 lines (148 loc) · 4.19 KB
/
copilot-extension.json
File metadata and controls
148 lines (148 loc) · 4.19 KB
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
{
"$schema": "https://github.com/copilot-extensions/schema/copilot-extension.json",
"name": "plasmate",
"displayName": "Plasmate Web Browser",
"version": "1.0.0",
"description": "Web browsing for AI agents with 10-100x token compression. Fetch pages, extract text, find links, and search the web efficiently.",
"publisher": "plasmate",
"categories": ["Tools", "Web", "AI"],
"icon": "icon.png",
"homepage": "https://plasmate.app",
"repository": {
"type": "git",
"url": "https://github.com/plasmate/copilot-plasmate"
},
"bugs": {
"url": "https://github.com/plasmate/copilot-plasmate/issues"
},
"license": "MIT",
"engines": {
"copilot": "^1.0.0"
},
"runtime": {
"type": "node",
"version": ">=18.0.0",
"entry": "dist/index.js"
},
"authentication": {
"type": "none"
},
"permissions": [
"network:fetch"
],
"skills": [
{
"name": "plasmate",
"description": "Web browsing capabilities powered by Plasmate's Semantic Object Model",
"tools": [
{
"name": "plasmate_fetch_page",
"description": "Fetch a web page and return structured content (SOM, text, or JSON)",
"parameters": {
"url": {
"type": "string",
"required": true,
"description": "URL to fetch"
},
"format": {
"type": "string",
"required": false,
"enum": ["som", "text", "json"],
"description": "Output format"
},
"selector": {
"type": "string",
"required": false,
"description": "CSS selector to extract specific elements"
}
}
},
{
"name": "plasmate_extract_text",
"description": "Extract readable text content from a web page",
"parameters": {
"url": {
"type": "string",
"required": true,
"description": "URL to extract text from"
},
"selector": {
"type": "string",
"required": false,
"description": "CSS selector to limit scope"
},
"maxLength": {
"type": "number",
"required": false,
"description": "Maximum text length"
}
}
},
{
"name": "plasmate_extract_links",
"description": "Extract all links from a web page",
"parameters": {
"url": {
"type": "string",
"required": true,
"description": "URL to extract links from"
},
"selector": {
"type": "string",
"required": false,
"description": "CSS selector to limit scope"
},
"pattern": {
"type": "string",
"required": false,
"description": "Regex to filter links"
},
"internalOnly": {
"type": "boolean",
"required": false,
"description": "Only return internal links"
}
}
},
{
"name": "plasmate_search_web",
"description": "Search the web and optionally fetch result pages",
"parameters": {
"query": {
"type": "string",
"required": true,
"description": "Search query"
},
"maxResults": {
"type": "number",
"required": false,
"description": "Max results (default 5, max 10)"
},
"fetchResults": {
"type": "boolean",
"required": false,
"description": "Fetch each result page"
}
}
}
]
}
],
"configuration": {
"plasmatePath": {
"type": "string",
"description": "Path to plasmate binary",
"default": "plasmate"
},
"timeout": {
"type": "number",
"description": "Request timeout in milliseconds",
"default": 30000
},
"debug": {
"type": "boolean",
"description": "Enable debug logging",
"default": false
}
}
}