integrate: resolve header collisions, keep both plexer-flow drivers in separate namespaces, rename shell pty to ptyproc, link -lz -pthread -lutil

Everything compiles; main.cpp still uses the removed placeholder agent API.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-25 06:48:34 +01:00
co-authored by Claude Sonnet 5.5
parent 2308e9e3df
commit f44e505b0f
23 changed files with 1401 additions and 1156 deletions
+2 -2
View File
@@ -18,7 +18,7 @@
#include "mplex_copymode.h"
#include "mplex_options.h"
#include "mplex_server.h"
#include "plexer_flow.h"
#include "mplex_plexer_flow.h"
using namespace detz::mplex;
@@ -201,7 +201,7 @@ int main(int argc, char** argv) {
"PLEXER_FLOW_TIMEOUT_DEFAULT", "PLEXER_FLOW_TIMEOUT_MAX", "PLEXER_FLOW_POLL", "MPLEX_FLOW_MAX",
"MPLEX_FLOW_KEEP"};
for (const auto& name : caps) check(contains(flow, "`" + name + "`"), "flow cap documented: " + name);
namespace pf = detz::plexer;
namespace pf = detz::mplex_flow;
check(pf::PLEXER_FLOW_VERSION == 1 && pf::PLEXER_FLOW_SCREENS_MAX == 32 && pf::PLEXER_FLOW_FIELDS_MAX == 12 &&
pf::PLEXER_FLOW_OPTIONS_MAX == 12 && pf::PLEXER_FLOW_ACTIONS_MAX == 12 && pf::PLEXER_FLOW_VISITS_MAX == 64 &&
pf::PLEXER_FLOW_ID_MAX == 64 && pf::PLEXER_FLOW_TITLE_MAX == 200 && pf::PLEXER_FLOW_TEXT_MAX == 2000 &&