feat: enrich search with msglib display entities
This commit is contained in:
@@ -94,8 +94,10 @@ func main() {
|
||||
ctx, cancel := context.WithTimeout(context.Background(), 20*time.Second)
|
||||
defer cancel()
|
||||
|
||||
if err := os.Unsetenv("ISPHERE_PACKET_LOG_FILE"); err != nil {
|
||||
fail("server/env", err)
|
||||
for _, key := range []string{"ISPHERE_PACKET_LOG_FILE", "ISPHERE_PACKET_LOG_DIR", "ISPHERE_MSGLIB_SIDECAR_EXE", "ISPHERE_MSGLIB_SQLITE_DLL", "ISPHERE_MSGLIB_DB", "ISPHERE_MSGLIB_PASSWORD"} {
|
||||
if err := os.Unsetenv(key); err != nil {
|
||||
fail("server/env", err)
|
||||
}
|
||||
}
|
||||
|
||||
serverTransport, clientTransport := mcp.NewInMemoryTransports()
|
||||
@@ -230,6 +232,7 @@ func main() {
|
||||
"real_isphere_login_required": false,
|
||||
"python_runtime_required": false,
|
||||
"action_tools_present": false,
|
||||
"msglib_configured": false,
|
||||
}
|
||||
encoded, _ := json.Marshal(result)
|
||||
fmt.Println(string(encoded))
|
||||
@@ -698,6 +701,7 @@ func fail(step string, err error) {
|
||||
python_runtime_required = $false
|
||||
real_isphere_login_required = $false
|
||||
action_tools_present = $false
|
||||
msglib_configured = $script:harnessJson.msglib_configured
|
||||
} | ConvertTo-Json -Depth 8 -Compress
|
||||
}
|
||||
finally {
|
||||
|
||||
Reference in New Issue
Block a user