feat(kit): central tools for harnesses through the egress proxy and gateway task-tool RPCs

This commit is contained in:
sam committed 2026-10-17 23:42:37 +11:00
1 parent f975dccec0
commit 3f553bb6f2
41 files changed
+2187 -189

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
syntax = "proto3";
package gateway.v1;
// TaskToolsService executes central tools for a live task grant. Only the
// daemon calls it; identities, orgs and permissions are resolved by the server.
service TaskToolsService {
rpc ListTaskTools(ListTaskToolsRequest) returns (ListTaskToolsResponse);
rpc CallTaskTool(CallTaskToolRequest) returns (CallTaskToolResponse);
rpc CloseTaskTools(CloseTaskToolsRequest) returns (CloseTaskToolsResponse);
}
message ListTaskToolsRequest { string run_credential = 1; }
message ListTaskToolsResponse { bytes tools_json = 1; }
message CallTaskToolRequest {
string run_credential = 1;
string name = 2;
bytes arguments_json = 3;
}
message CallTaskToolResponse { bytes result_json = 1; }
message CloseTaskToolsRequest { string run_credential = 1; }
message CloseTaskToolsResponse {}
+2
View File
@@ -328,6 +328,8 @@ message ResolveTaskGrantResponse {
int64 task_id = 1;
// Canonical execution identity; empty names the instance root RPC route.
string execution_identity = 2;
// Canonical principal, including the instance root.
string principal_id = 3;
}
message Identity {