build: declare cflags/ldflags_posix so scorpiox-cli-botplugin build compiles the vendored SQLite directly (lessons ak/ah)
AuthorPico <picobot@scorpioplayer.com>
Date2026-11-12 00:17:47
Commit559cd836
Parents4e8f4e60
Changed files
plugin.json+15−2■■■■■
1 file+15−2
Diff
plugin.json+15−2■■■■■
index fdecf99..e12f3f1 100644
--- a/plugin.json
+++ b/plugin.json
@@ -8,6 +8,19 @@
88 "category": "devtools",
99 "version": "1.0.1",
1010 "license": "MIT",
11- "capabilities": ["local_filesystem_read", "sqlite_readonly_open", "bounded_directory_walk"],
12- "trust_notice": "Executes native C code on your node. Opens databases with SQLITE_OPEN_READONLY and installs an authorizer that permits only SELECT, READ, FUNCTION and read-only PRAGMA statements, so INSERT/UPDATE/DELETE/DROP/ALTER/ATTACH/CREATE are refused by the engine. Only .db/.sqlite/.sqlite3 files under /workspace, /codebases, $HOME or $SQLITE_ALLOWED_ROOT are browsable; results are capped at 500 rows and about 2 seconds per statement. Makes zero outbound network requests and opens no sockets."
11+ "capabilities": [
12+ "local_filesystem_read",
13+ "sqlite_readonly_open",
14+ "bounded_directory_walk"
15+ ],
16+ "trust_notice": "Executes native C code on your node. Opens databases with SQLITE_OPEN_READONLY and installs an authorizer that permits only SELECT, READ, FUNCTION and read-only PRAGMA statements, so INSERT/UPDATE/DELETE/DROP/ALTER/ATTACH/CREATE are refused by the engine. Only .db/.sqlite/.sqlite3 files under /workspace, /codebases, $HOME or $SQLITE_ALLOWED_ROOT are browsable; results are capped at 500 rows and about 2 seconds per statement. Makes zero outbound network requests and opens no sockets.",
17+ "cflags": [
18+ "-DSQLITE_OMIT_LOAD_EXTENSION",
19+ "-DSQLITE_THREADSAFE=0",
20+ "-DSQLITE_OMIT_DEPRECATED"
21+ ],
22+ "ldflags_posix": [
23+ "-lm",
24+ "-lpthread"
25+ ]
1326 }
1427
plugin.json+15−2■■■■■
index fdecf99..e12f3f1 100644index fdecf99..e12f3f1 100644
--- a/plugin.json--- a/plugin.json
+++ b/plugin.json+++ b/plugin.json
@@ -8,6 +8,19 @@@@ -8,6 +8,19 @@
8 "category": "devtools",8 "category": "devtools",
9 "version": "1.0.1",9 "version": "1.0.1",
10 "license": "MIT",10 "license": "MIT",
11- "capabilities": ["local_filesystem_read", "sqlite_readonly_open", "bounded_directory_walk"],11+ "capabilities": [
12- "trust_notice": "Executes native C code on your node. Opens databases with SQLITE_OPEN_READONLY and installs an authorizer that permits only SELECT, READ, FUNCTION and read-only PRAGMA statements, so INSERT/UPDATE/DELETE/DROP/ALTER/ATTACH/CREATE are refused by the engine. Only .db/.sqlite/.sqlite3 files under /workspace, /codebases, $HOME or $SQLITE_ALLOWED_ROOT are browsable; results are capped at 500 rows and about 2 seconds per statement. Makes zero outbound network requests and opens no sockets."12+ "local_filesystem_read",
13+ "sqlite_readonly_open",
14+ "bounded_directory_walk"
15+ ],
16+ "trust_notice": "Executes native C code on your node. Opens databases with SQLITE_OPEN_READONLY and installs an authorizer that permits only SELECT, READ, FUNCTION and read-only PRAGMA statements, so INSERT/UPDATE/DELETE/DROP/ALTER/ATTACH/CREATE are refused by the engine. Only .db/.sqlite/.sqlite3 files under /workspace, /codebases, $HOME or $SQLITE_ALLOWED_ROOT are browsable; results are capped at 500 rows and about 2 seconds per statement. Makes zero outbound network requests and opens no sockets.",
17+ "cflags": [
18+ "-DSQLITE_OMIT_LOAD_EXTENSION",
19+ "-DSQLITE_THREADSAFE=0",
20+ "-DSQLITE_OMIT_DEPRECATED"
21+ ],
22+ "ldflags_posix": [
23+ "-lm",
24+ "-lpthread"
25+ ]
13 }26 }
1427