cli-community-intelligence 0.1.19 → 0.1.20
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/openclaw-extension.js +7 -1
- package/openclaw.plugin.json +1 -1
- package/package.json +7 -6
package/openclaw-extension.js
CHANGED
|
@@ -75,10 +75,15 @@ const queryFilterParams = Type.Object({
|
|
|
75
75
|
//
|
|
76
76
|
// ---------------------------------------------------------------------------------------------------------------------
|
|
77
77
|
|
|
78
|
+
// COMPLEXITY: export-structure — OpenClaw's definePluginEntry requires export default
|
|
79
|
+
// @sig OpenClawExtension :: OpenClawPluginDefinition
|
|
78
80
|
export default definePluginEntry({
|
|
79
81
|
id: 'cli-community-intelligence',
|
|
80
82
|
name: 'Community Intelligence',
|
|
81
83
|
description: 'Scrape and query posts from online communities (Reddit, YouTube)',
|
|
84
|
+
|
|
85
|
+
// Register community-intelligence tools with OpenClaw's plugin API
|
|
86
|
+
// @sig register :: OpenClawPluginApi -> void
|
|
82
87
|
register(api) {
|
|
83
88
|
api.registerTool({
|
|
84
89
|
name: 'community-intelligence-scrape',
|
|
@@ -104,7 +109,8 @@ export default definePluginEntry({
|
|
|
104
109
|
api.registerTool({
|
|
105
110
|
name: 'community-intelligence-query',
|
|
106
111
|
description:
|
|
107
|
-
'Search the scraped community posts corpus.
|
|
112
|
+
'Search the scraped community posts corpus. ' +
|
|
113
|
+
'Filter by source, channel, text, author, date range, or score.',
|
|
108
114
|
parameters: queryFilterParams,
|
|
109
115
|
execute: F.buildExecutor('query'),
|
|
110
116
|
})
|
package/openclaw.plugin.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"id": "cli-community-intelligence",
|
|
3
3
|
"name": "Community Intelligence",
|
|
4
4
|
"description": "Scrape and query posts from online communities (Reddit, YouTube)",
|
|
5
|
-
"version": "0.1.
|
|
5
|
+
"version": "0.1.20",
|
|
6
6
|
"contracts": {
|
|
7
7
|
"tools": [
|
|
8
8
|
"community-intelligence-scrape",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cli-community-intelligence",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.20",
|
|
4
4
|
"description": "Community intelligence scraper for construction industry market research",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -20,11 +20,12 @@
|
|
|
20
20
|
"minGatewayVersion": "2026.3.28"
|
|
21
21
|
}
|
|
22
22
|
},
|
|
23
|
-
"scripts": {
|
|
24
|
-
"postinstall": "npm rebuild better-sqlite3"
|
|
25
|
-
},
|
|
26
23
|
"dependencies": {
|
|
27
|
-
"better-sqlite3": "^11.0.0",
|
|
28
24
|
"@sinclair/typebox": "0.34.49"
|
|
29
|
-
}
|
|
25
|
+
},
|
|
26
|
+
"bundledDependencies": [
|
|
27
|
+
"better-sqlite3",
|
|
28
|
+
"bindings",
|
|
29
|
+
"file-uri-to-path"
|
|
30
|
+
]
|
|
30
31
|
}
|