Core & Protocols: - Native AWS SSM support added (aws ssm start-session). - Improved Pexpect logic for ssm, kubectl, and docker. - Cleaned connection success messages (omitting ports for non-IP protocols). gRPC Layer: - Migrated gRPC modules to 'connpy/grpc_layer/'. - Implemented dynamic node naming (e.g. ssm-i-xxxx@aws) for accurate server-side logging. - Added automatic sys.path resolution for gRPC generated modules. - Enhanced InteractNode response with initial connection status. Printer & Concurrency: - Implemented ThreadLocalStream for isolated thread-safe output. - Self-healing Console objects to prevent 'closed file' errors in test/async environments. - Capture clean plugin output in remote executions. AI & Services: - Improved tool registration and debug visualization. - Restored native dictionary returns for AI tools to fix Web UI rendering. - Increased backup retention to 100 copies in SyncService. - Silenced noisy auto-sync CLI messages. Quality & Docs: - Total tests: 267 (all passing). - New test suites for gRPC layer and printer concurrency. - Updated .gitignore to exclude internal planning docs. - Full technical documentation regenerated with pdoc.
26 lines
452 B
Protocol Buffer
26 lines
452 B
Protocol Buffer
syntax = "proto3";
|
|
package connpy_remote;
|
|
|
|
message IdRequest {
|
|
string id = 1;
|
|
}
|
|
|
|
message StringResponse {
|
|
string value = 1;
|
|
}
|
|
|
|
message PluginInvokeRequest {
|
|
string name = 1;
|
|
string args_json = 2;
|
|
}
|
|
|
|
message OutputChunk {
|
|
string text = 1;
|
|
bool is_error = 2;
|
|
}
|
|
|
|
service RemotePluginService {
|
|
rpc get_plugin_source(IdRequest) returns (StringResponse);
|
|
rpc invoke_plugin(PluginInvokeRequest) returns (stream OutputChunk);
|
|
}
|