diff --git a/internal/app/controlplane/controlplane.go b/internal/app/controlplane/controlplane.go index cd76064ff..70bd30fc9 100644 --- a/internal/app/controlplane/controlplane.go +++ b/internal/app/controlplane/controlplane.go @@ -220,11 +220,20 @@ func (s *Server) Watch(request *pb.WatchRequest, stream pb.ControlPlaneService_W } } +// orgSeededKinds are the kinds every organisation holds its own document of. +// Reading one an org has never written answers with the empty document: an +// org that has configured nothing has nothing, rather than the system org's +// configuration or a not-found the dashboard cannot tell from a failure. +var orgSeededKinds = map[string]bool{ + WorkflowDefinitionsKind: true, WorkflowEnablementKind: true, + ForgeConnectionsKind: true, +} + // resource seeds an org's workflow documents on first use, including orgs // created after this process started. File-derived settings are never copied. func (s *Server) resource(ctx context.Context, orgID, kind string) (storecontract.Resource, error) { resource, err := s.store.Resource(ctx, orgID, kind) - if !errors.Is(err, storecontract.ErrResourceNotFound) || (kind != WorkflowDefinitionsKind && kind != WorkflowEnablementKind) { + if !errors.Is(err, storecontract.ErrResourceNotFound) || !orgSeededKinds[kind] { // Serve the current channel schema so stored settings remain editable. if err == nil && kind == ChannelSettingsKind { resource.Value, err = normalizeChannels(resource.Value) diff --git a/internal/app/controlplane/definitions.go b/internal/app/controlplane/definitions.go index 146368bb2..b3a7f26d8 100644 --- a/internal/app/controlplane/definitions.go +++ b/internal/app/controlplane/definitions.go @@ -8,7 +8,7 @@ import ( // Schemas are not declared here: each Definition names its document type, and // Definition.Descriptor derives the JSON Schema from it (internal/app/controlplane/schema.go). func builtinDefinitions(steps workflow.StepRegistry, settings map[string]any) []Definition { - definitions := []Definition{taskPolicyDefinition(), workflowDefinition(), workflowDefinitionsDefinition(steps, settings), workflowEnablementDefinition(), curatorDefinition(), soulDefinition(), scheduleDefinition(), agentProfileDefinition(), playbooksDefinition(), skillsDefinition(), credentialBindingsDefinition(), identityGrantsDefinition(), reviewSettingsDefinition(), orgModelPolicyDefinition()} + definitions := []Definition{taskPolicyDefinition(), workflowDefinition(), workflowDefinitionsDefinition(steps, settings), workflowEnablementDefinition(), curatorDefinition(), soulDefinition(), scheduleDefinition(), agentProfileDefinition(), playbooksDefinition(), skillsDefinition(), credentialBindingsDefinition(), identityGrantsDefinition(), reviewSettingsDefinition(), orgModelPolicyDefinition(), forgeConnectionsDefinition()} definitions = append(definitions, modelDefinitions()...) definitions = append(definitions, operationalDefinitions()...) return definitions diff --git a/internal/app/controlplane/forge_connections.go b/internal/app/controlplane/forge_connections.go new file mode 100644 index 000000000..62d960fed --- /dev/null +++ b/internal/app/controlplane/forge_connections.go @@ -0,0 +1,128 @@ +package controlplane + +import ( + "fmt" + "maps" + "slices" + "strings" + + "github.com/samcharles93/archie-core/internal/config" + "github.com/samcharles93/archie-core/internal/domain/identity" +) + +// ForgeConnectionsKind is the resource holding an organisation's external +// forge connections. Its document is []config.ForgeConnection, the same shape +// the runtime resolves, so a stored connection and a resolved one cannot +// disagree about what a connection is. +const ForgeConnectionsKind = "forge-connections" + +// rootConnectionID names the connection the file's [forge] section migrates +// into: the instance root's own account, used by root tasks. +const rootConnectionID = "default" + +func forgeConnectionsDefinition() Definition { + return Definition{ + Kind: ForgeConnectionsKind, + Title: "Forge connections", + ApplyMode: "live", + Document: []config.ForgeConnection{}, + Seed: seedForgeConnections, + Validate: validateForgeConnections, + } +} + +// seedForgeConnections migrates the file's forge configuration into +// connections: the root's [forge] becomes the root connection, and each +// identity that declared its own forge becomes that identity's connection. +// The permissions reproduce what the file already granted -- the root +// connection to root tasks, each identity's own forge to that identity -- so +// the migration neither widens nor narrows access. The file never recorded +// which external account a credential belongs to, so Account is seeded empty +// and is filled by a verification. +func seedForgeConnections(cfg config.Config) any { + out := []config.ForgeConnection{} + if c, ok := connectionFromForge(rootConnectionID, "Instance forge", cfg.Forge); ok { + // Root tasks act as the instance, not as an organisation execution + // identity, so they take this connection without a permit entry. An + // execution identity needs one, and the file granted it none. + out = append(out, c) + } + for _, id := range cfg.Identities { + c, ok := connectionFromForge("identity-"+id.Name, id.Name, id.Forge) + if !ok { + continue + } + // The file gave this identity its own credential and no limit on what + // it did with it; keeping that exact grant is what a migration owes. + c.Permits = map[string][]string{string(identity.StableID(id.Name)): config.Operations()} + out = append(out, c) + } + return out +} + +// connectionFromForge reads one file forge section as a connection. A forge +// with no type is not configured and seeds nothing. +func connectionFromForge(id, name string, cfg config.Forge) (config.ForgeConnection, bool) { + if strings.TrimSpace(cfg.Type) == "" { + return config.ForgeConnection{}, false + } + return config.ForgeConnection{ + ID: id, Name: name, Type: cfg.Type, Host: cfg.Host, Token: cfg.Token, + }, true +} + +func validateForgeConnections(input []byte) error { + return validateAs(input, func(connections []config.ForgeConnection) error { + seen := make(map[string]struct{}, len(connections)) + for _, c := range connections { + if err := validateForgeConnection(c); err != nil { + return err + } + if _, dup := seen[c.ID]; dup { + return fmt.Errorf("duplicate connection %q", c.ID) + } + seen[c.ID] = struct{}{} + } + return nil + }) +} + +func validateForgeConnection(c config.ForgeConnection) error { + // A slash would let an ID spell another resource's audit record key, the + // same reason resource keys refuse one. + if strings.TrimSpace(c.ID) == "" || strings.Contains(c.ID, "/") { + return fmt.Errorf("connection ID is required and may not contain %q", "/") + } + if strings.TrimSpace(c.Name) == "" { + return fmt.Errorf("connection %q needs a name", c.ID) + } + if strings.TrimSpace(c.Type) == "" { + return fmt.Errorf("connection %q needs a forge type", c.ID) + } + if strings.TrimSpace(c.Host) == "" { + return fmt.Errorf("connection %q needs a host", c.ID) + } + if (c.Token.Engine == "") != (c.Token.Key == "") { + return fmt.Errorf("connection %q: the credential reference needs both an engine and a key", c.ID) + } + for _, id := range slices.Sorted(maps.Keys(c.Permits)) { + operations := c.Permits[id] + if strings.TrimSpace(id) == "" { + return fmt.Errorf("connection %q: a permitted identity is empty", c.ID) + } + if len(operations) == 0 { + return fmt.Errorf("connection %q: identity %s is permitted nothing; remove the entry instead", c.ID, id) + } + seen := make(map[string]struct{}, len(operations)) + for _, op := range operations { + if !config.ValidOperation(op) { + return fmt.Errorf("connection %q: identity %s: unknown operation %q (want clone, push or pr)", c.ID, id, op) + } + if _, dup := seen[op]; dup { + return fmt.Errorf("connection %q: identity %s lists %q twice", c.ID, id, op) + } + seen[op] = struct{}{} + } + } + return nil +} diff --git a/internal/app/controlplane/forge_connections_test.go b/internal/app/controlplane/forge_connections_test.go new file mode 100644 index 000000000..e3a3f5d52 --- /dev/null +++ b/internal/app/controlplane/forge_connections_test.go @@ -0,0 +1,129 @@ +package controlplane + +import ( + "encoding/json" + "errors" + "slices" + "testing" + + "github.com/samcharles93/archie-core/internal/config" + "github.com/samcharles93/archie-core/internal/domain/identity" +) + +func TestForgeConnectionValidation(t *testing.T) { + tests := []struct { + name string + doc string + refused bool + }{ + { + name: "a host, a credential reference and a permitted operation", + doc: `[{"id":"gh","name":"GitHub","type":"github","host":"github.com","token":{"engine":"env","key":"GH_TOKEN"},"permits":{"bot-1":["clone","push"]}}]`, + }, + { + name: "a connection with no external account is still configurable", + doc: `[{"id":"gh","name":"GitHub","type":"github","host":"github.com"}]`, + }, + { + name: "no host", + doc: `[{"id":"gh","name":"GitHub","type":"github"}]`, + refused: true, + }, + { + name: "no forge type", + doc: `[{"id":"gh","name":"GitHub","host":"github.com"}]`, + refused: true, + }, + { + name: "an ID that would spell another record key", + doc: `[{"id":"org-sys/gh","name":"GitHub","type":"github","host":"github.com"}]`, + refused: true, + }, + { + name: "two connections claiming one ID", + doc: `[{"id":"gh","name":"GitHub","type":"github","host":"github.com"},{"id":"gh","name":"Other","type":"gitea","host":"gitea.example.com"}]`, + refused: true, + }, + { + name: "half a credential reference", + doc: `[{"id":"gh","name":"GitHub","type":"github","host":"github.com","token":{"key":"GH_TOKEN"}}]`, + refused: true, + }, + { + name: "an operation the runtime cannot perform", + doc: `[{"id":"gh","name":"GitHub","type":"github","host":"github.com","permits":{"bot-1":["clone","admin"]}}]`, + refused: true, + }, + { + name: "the same operation twice", + doc: `[{"id":"gh","name":"GitHub","type":"github","host":"github.com","permits":{"bot-1":["push","push"]}}]`, + refused: true, + }, + { + name: "an identity permitted nothing", + doc: `[{"id":"gh","name":"GitHub","type":"github","host":"github.com","permits":{"bot-1":[]}}]`, + refused: true, + }, + { + name: "a connection with no name", + doc: `[{"id":"gh","type":"github","host":"github.com"}]`, + refused: true, + }, + { + name: "a document that names a field the connection does not have", + doc: `[{"id":"gh","name":"GitHub","type":"github","host":"github.com","token_value":"ghp_literal"}]`, + refused: true, + }, + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + err := forgeConnectionsDefinition().Validate([]byte(tt.doc)) + if refused := errors.Is(err, ErrValidation) || err != nil; refused != tt.refused { + t.Fatalf("refused = %v, want %v (err %v)", refused, tt.refused, err) + } + }) + } +} + +// TestConnectionMigrationKeepsTheFilesGrants is the migration's security +// claim: what the file granted, the connections grant, and nothing more. The +// root connection takes no permit entry, so no execution identity reaches it; +// each identity's own forge becomes a connection only that identity may use. +func TestConnectionMigrationKeepsTheFilesGrants(t *testing.T) { + cfg := config.Config{ + Forge: config.Forge{Type: "github", Host: "github.com", Token: config.SecretRef{Engine: "env", Key: "ROOT_TOKEN"}}, + Identities: []config.IdentityConfig{ + {Name: "reviewer", Forge: config.Forge{Type: "github", Host: "github.com", Token: config.SecretRef{Engine: "env", Key: "REVIEWER_TOKEN"}}}, + {Name: "silent"}, + }, + } + seeded, err := forgeConnectionsDefinition().seededValue(cfg) + if err != nil { + t.Fatalf("seed: %v", err) + } + var connections []config.ForgeConnection + if err := json.Unmarshal(seeded, &connections); err != nil { + t.Fatalf("decode seed: %v", err) + } + if len(connections) != 2 { + t.Fatalf("seeded %d connections, want the root's and the one identity that declared a forge: %+v", len(connections), connections) + } + root, reviewer := connections[0], connections[1] + if root.ID != rootConnectionID || len(root.Permits) != 0 { + t.Fatalf("root connection = %+v, want the root's forge and no permitted execution identity", root) + } + if root.Token.Key != "ROOT_TOKEN" { + t.Fatalf("root connection credential = %+v, want the file's reference", root.Token) + } + if reviewer.ID != "identity-reviewer" { + t.Fatalf("second connection = %q, want the declaring identity's", reviewer.ID) + } + if permitted := reviewer.Permits[string(identity.StableID("reviewer"))]; !slices.Equal(permitted, config.Operations()) { + t.Fatalf("reviewer permits = %v, want every operation it already had (%v)", permitted, config.Operations()) + } + for id := range reviewer.Permits { + if id != string(identity.StableID("reviewer")) { + t.Fatalf("reviewer connection permits %q as well; an identity with no forge of its own must not gain one", id) + } + } +} diff --git a/internal/app/controlplane/instance_only_test.go b/internal/app/controlplane/instance_only_test.go index 0f257ff89..e27ee7d37 100644 --- a/internal/app/controlplane/instance_only_test.go +++ b/internal/app/controlplane/instance_only_test.go @@ -15,6 +15,7 @@ func TestInstanceOnlyKindsRefuseOtherOrgs(t *testing.T) { {"another org writes an instance setting", "acme", ToolSettingsKind, true}, {"the system org writes an instance setting", storecontract.DefaultOrgID, ToolSettingsKind, false}, {"another org writes an org-scoped kind", "acme", SoulKind, false}, + {"another org writes a forge connection", "acme", ForgeConnectionsKind, false}, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { diff --git a/internal/config/config.go b/internal/config/config.go index a7da9425c..65802ca64 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -7,9 +7,11 @@ import ( "fmt" "maps" "net" + "slices" "strings" "time" + "github.com/samcharles93/archie-core/internal/domain/identity" orgdomain "github.com/samcharles93/archie-core/internal/domain/org" ) @@ -41,10 +43,61 @@ func (d *Duration) UnmarshalJSON(data []byte) error { func (d Duration) Std() time.Duration { return time.Duration(d) } +// The operations an execution identity may be permitted through a forge +// connection. Read-only is the clone; a task that writes asks for push, and +// one that opens or updates a pull request asks for pr. +const ( + OperationClone = "clone" + OperationPush = "push" + OperationPR = "pr" +) + +// Operations is every operation, in vocabulary order. +func Operations() []string { return []string{OperationClone, OperationPush, OperationPR} } + +// ValidOperation reports whether op is one of the shipped operations. +func ValidOperation(op string) bool { return slices.Contains(Operations(), op) } + +// ForgeConnection is one organisation-owned connection to a forge: where it +// is, how to authenticate and which external account that authentication +// belongs to. It is the organisation's own resource, not a copy of the +// instance's root configuration. +type ForgeConnection struct { + // ID is the stable reference a repository binding and a permission name. + ID string `toml:"id" json:"id" yaml:"id"` + // Name is the operator-facing label. + Name string `toml:"name" json:"name" yaml:"name"` + // Type selects the forge implementation: the name of an enabled forge + // extension, or the compiled-in forge of that name. + Type string `toml:"type" json:"type" yaml:"type"` + // Host is the forge's host, e.g. "github.com". + Host string `toml:"host" json:"host" yaml:"host"` + // Account is the external account the credential authenticates as. It is + // recorded, and checked against the account a verification actually + // reached; it is never used to infer authority. + Account string `toml:"account" json:"account" yaml:"account"` + // Token references the credential. The connection records the reference, + // never a token value. + Token SecretRef `toml:"token" json:"token" yaml:"token"` + // Permits names, per execution identity ID, the operations that identity + // may perform through this connection. An identity with no entry may + // perform none: the connection itself is not a grant. + Permits map[string][]string `toml:"permits" json:"permits,omitempty" yaml:"permits"` +} + +// Permitted reports whether the identity may perform op through this +// connection. +func (c ForgeConnection) Permitted(identityID, op string) bool { + return slices.Contains(c.Permits[identityID], op) +} + // Repo is one managed repository. type Repo struct { Owner string `toml:"owner" json:"owner" yaml:"owner"` Name string `toml:"name" json:"name" yaml:"name"` + // Connection names the ForgeConnection this repository is reached + // through. Empty is a repository the instance's root forge owns. + Connection string `toml:"connection" json:"connection" yaml:"connection"` // Base is the branch PRs target. Defaults to "main". Base string `toml:"base" json:"base" yaml:"base"` // Gate is the repo's gate command list, e.g. [["go","vet","./..."], @@ -731,11 +784,14 @@ func (c ContainerConfig) BoundCredentials(org string, granted, declared []string // CredentialAccess returns the org and granted credential services of the // identity named name: the root's, each overridden by the identity's own when -// it sets one. An unknown name is the root. +// it sets one. Unknown identities receive no grants. func (c Config) CredentialAccess(name string) (org string, granted []string) { org, granted = c.Org, c.GrantedCredentials + if name == "" { + return credentialOrg(org), granted + } for _, id := range c.Identities { - if id.Name != name { + if id.Name != name && string(identity.StableID(id.Name)) != name { continue } if id.Org != "" { @@ -744,8 +800,9 @@ func (c Config) CredentialAccess(name string) (org string, granted []string) { if id.GrantedCredentials != nil { granted = *id.GrantedCredentials } + return credentialOrg(org), granted } - return credentialOrg(org), granted + return credentialOrg(org), nil } func credentialOrg(value string) string { diff --git a/internal/contracts/state/v1/state.pb.go b/internal/contracts/state/v1/state.pb.go index 01b1a7749..8df2ec981 100644 --- a/internal/contracts/state/v1/state.pb.go +++ b/internal/contracts/state/v1/state.pb.go @@ -246,10 +246,12 @@ func (x *ResolveTaskGrantRequest) GetToken() string { } type ResolveTaskGrantResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - TaskId int64 `protobuf:"varint,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + TaskId int64 `protobuf:"varint,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` + // Canonical execution identity; empty names the instance root RPC route. + ExecutionIdentity string `protobuf:"bytes,2,opt,name=execution_identity,json=executionIdentity,proto3" json:"execution_identity,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ResolveTaskGrantResponse) Reset() { @@ -289,6 +291,13 @@ func (x *ResolveTaskGrantResponse) GetTaskId() int64 { return 0 } +func (x *ResolveTaskGrantResponse) GetExecutionIdentity() string { + if x != nil { + return x.ExecutionIdentity + } + return "" +} + type Identity struct { state protoimpl.MessageState `protogen:"open.v1"` Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` @@ -19230,6 +19239,146 @@ func (*RecoverAccountResponse) Descriptor() ([]byte, []int) { return file_state_v1_state_proto_rawDescGZIP(), []int{356} } +type ListOrgAgentsRequest struct { + state protoimpl.MessageState `protogen:"open.v1"` + OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *ListOrgAgentsRequest) Reset() { + *x = ListOrgAgentsRequest{} + mi := &file_state_v1_state_proto_msgTypes[357] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *ListOrgAgentsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListOrgAgentsRequest) ProtoMessage() {} + +func (x *ListOrgAgentsRequest) ProtoReflect() protoreflect.Message { + mi := &file_state_v1_state_proto_msgTypes[357] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ListOrgAgentsRequest.ProtoReflect.Descriptor instead. +func (*ListOrgAgentsRequest) Descriptor() ([]byte, []int) { + return file_state_v1_state_proto_rawDescGZIP(), []int{357} +} + +func (x *ListOrgAgentsRequest) GetOrgId() string { + if x != nil { + return x.OrgId + } + return "" +} + +type AgentAssignment struct { + state protoimpl.MessageState `protogen:"open.v1"` + IdentityId string `protobuf:"bytes,1,opt,name=identity_id,json=identityId,proto3" json:"identity_id,omitempty"` + OrgId string `protobuf:"bytes,2,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *AgentAssignment) Reset() { + *x = AgentAssignment{} + mi := &file_state_v1_state_proto_msgTypes[358] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *AgentAssignment) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AgentAssignment) ProtoMessage() {} + +func (x *AgentAssignment) ProtoReflect() protoreflect.Message { + mi := &file_state_v1_state_proto_msgTypes[358] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AgentAssignment.ProtoReflect.Descriptor instead. +func (*AgentAssignment) Descriptor() ([]byte, []int) { + return file_state_v1_state_proto_rawDescGZIP(), []int{358} +} + +func (x *AgentAssignment) GetIdentityId() string { + if x != nil { + return x.IdentityId + } + return "" +} + +func (x *AgentAssignment) GetOrgId() string { + if x != nil { + return x.OrgId + } + return "" +} + +type ListOrgAgentsResponse struct { + state protoimpl.MessageState `protogen:"open.v1"` + Agents []*AgentAssignment `protobuf:"bytes,1,rep,name=agents,proto3" json:"agents,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache +} + +func (x *ListOrgAgentsResponse) Reset() { + *x = ListOrgAgentsResponse{} + mi := &file_state_v1_state_proto_msgTypes[359] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) +} + +func (x *ListOrgAgentsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListOrgAgentsResponse) ProtoMessage() {} + +func (x *ListOrgAgentsResponse) ProtoReflect() protoreflect.Message { + mi := &file_state_v1_state_proto_msgTypes[359] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ListOrgAgentsResponse.ProtoReflect.Descriptor instead. +func (*ListOrgAgentsResponse) Descriptor() ([]byte, []int) { + return file_state_v1_state_proto_rawDescGZIP(), []int{359} +} + +func (x *ListOrgAgentsResponse) GetAgents() []*AgentAssignment { + if x != nil { + return x.Agents + } + return nil +} + var File_state_v1_state_proto protoreflect.FileDescriptor const file_state_v1_state_proto_rawDesc = "" + @@ -19244,9 +19393,10 @@ const file_state_v1_state_proto_rawDesc = "" + "\x05token\x18\x01 \x01(\tR\x05token\"\x19\n" + "\x17RevokeTaskGrantResponse\"/\n" + "\x17ResolveTaskGrantRequest\x12\x14\n" + - "\x05token\x18\x01 \x01(\tR\x05token\"3\n" + + "\x05token\x18\x01 \x01(\tR\x05token\"b\n" + "\x18ResolveTaskGrantResponse\x12\x17\n" + - "\atask_id\x18\x01 \x01(\x03R\x06taskId\"\xff\x01\n" + + "\atask_id\x18\x01 \x01(\x03R\x06taskId\x12-\n" + + "\x12execution_identity\x18\x02 \x01(\tR\x11executionIdentity\"\xff\x01\n" + "\bIdentity\x12\x0e\n" + "\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n" + "\x04kind\x18\x02 \x01(\tR\x04kind\x12!\n" + @@ -20489,7 +20639,15 @@ const file_state_v1_state_proto_rawDesc = "" + "\x05email\x18\x01 \x01(\tR\x05email\x12\x12\n" + "\x04code\x18\x02 \x01(\tR\x04code\x12\x1a\n" + "\bpassword\x18\x03 \x01(\tR\bpassword\"\x18\n" + - "\x16RecoverAccountResponse2\xe8h\n" + + "\x16RecoverAccountResponse\"-\n" + + "\x14ListOrgAgentsRequest\x12\x15\n" + + "\x06org_id\x18\x01 \x01(\tR\x05orgId\"I\n" + + "\x0fAgentAssignment\x12\x1f\n" + + "\videntity_id\x18\x01 \x01(\tR\n" + + "identityId\x12\x15\n" + + "\x06org_id\x18\x02 \x01(\tR\x05orgId\"J\n" + + "\x15ListOrgAgentsResponse\x121\n" + + "\x06agents\x18\x01 \x03(\v2\x19.state.v1.AgentAssignmentR\x06agents2\xbai\n" + "\x11StateStoreService\x12G\n" + "\n" + "RecentLogs\x12\x1b.state.v1.RecentLogsRequest\x1a\x1c.state.v1.RecentLogsResponse\x12S\n" + @@ -20646,7 +20804,8 @@ const file_state_v1_state_proto_rawDesc = "" + "\x0fCreateWorkspace\x12 .state.v1.CreateWorkspaceRequest\x1a!.state.v1.CreateWorkspaceResponse\x12J\n" + "\vListMembers\x12\x1c.state.v1.ListMembersRequest\x1a\x1d.state.v1.ListMembersResponse\x12P\n" + "\rSetMembership\x12\x1e.state.v1.SetMembershipRequest\x1a\x1f.state.v1.SetMembershipResponse\x12Y\n" + - "\x10RemoveMembership\x12!.state.v1.RemoveMembershipRequest\x1a\".state.v1.RemoveMembershipResponse\x12J\n" + + "\x10RemoveMembership\x12!.state.v1.RemoveMembershipRequest\x1a\".state.v1.RemoveMembershipResponse\x12P\n" + + "\rListOrgAgents\x12\x1e.state.v1.ListOrgAgentsRequest\x1a\x1f.state.v1.ListOrgAgentsResponse\x12J\n" + "\vAssignAgent\x12\x1c.state.v1.AssignAgentRequest\x1a\x1d.state.v1.AssignAgentResponse\x12G\n" + "\n" + "RaiseAlert\x12\x1b.state.v1.RaiseAlertRequest\x1a\x1c.state.v1.RaiseAlertResponse\x12M\n" + @@ -20671,7 +20830,7 @@ func file_state_v1_state_proto_rawDescGZIP() []byte { return file_state_v1_state_proto_rawDescData } -var file_state_v1_state_proto_msgTypes = make([]protoimpl.MessageInfo, 362) +var file_state_v1_state_proto_msgTypes = make([]protoimpl.MessageInfo, 365) var file_state_v1_state_proto_goTypes = []any{ (*RegisterTaskGrantRequest)(nil), // 0: state.v1.RegisterTaskGrantRequest (*RegisterTaskGrantResponse)(nil), // 1: state.v1.RegisterTaskGrantResponse @@ -21030,18 +21189,21 @@ var file_state_v1_state_proto_goTypes = []any{ (*CreateAccountRecoveryResponse)(nil), // 354: state.v1.CreateAccountRecoveryResponse (*RecoverAccountRequest)(nil), // 355: state.v1.RecoverAccountRequest (*RecoverAccountResponse)(nil), // 356: state.v1.RecoverAccountResponse - nil, // 357: state.v1.EventType.SchemaEntry - nil, // 358: state.v1.StatusCountsResponse.CountsEntry - nil, // 359: state.v1.TaskModelsResponse.AliasesEntry - nil, // 360: state.v1.TaskModelsResponse.ProvidersEntry - nil, // 361: state.v1.CallerModelsResponse.AliasesEntry - (*timestamppb.Timestamp)(nil), // 362: google.protobuf.Timestamp - (*v1.LogQuery)(nil), // 363: logging.v1.LogQuery - (*v1.LogSnapshot)(nil), // 364: logging.v1.LogSnapshot + (*ListOrgAgentsRequest)(nil), // 357: state.v1.ListOrgAgentsRequest + (*AgentAssignment)(nil), // 358: state.v1.AgentAssignment + (*ListOrgAgentsResponse)(nil), // 359: state.v1.ListOrgAgentsResponse + nil, // 360: state.v1.EventType.SchemaEntry + nil, // 361: state.v1.StatusCountsResponse.CountsEntry + nil, // 362: state.v1.TaskModelsResponse.AliasesEntry + nil, // 363: state.v1.TaskModelsResponse.ProvidersEntry + nil, // 364: state.v1.CallerModelsResponse.AliasesEntry + (*timestamppb.Timestamp)(nil), // 365: google.protobuf.Timestamp + (*v1.LogQuery)(nil), // 366: logging.v1.LogQuery + (*v1.LogSnapshot)(nil), // 367: logging.v1.LogSnapshot } var file_state_v1_state_proto_depIdxs = []int32{ - 362, // 0: state.v1.Identity.created_at:type_name -> google.protobuf.Timestamp - 362, // 1: state.v1.Identity.updated_at:type_name -> google.protobuf.Timestamp + 365, // 0: state.v1.Identity.created_at:type_name -> google.protobuf.Timestamp + 365, // 1: state.v1.Identity.updated_at:type_name -> google.protobuf.Timestamp 6, // 2: state.v1.ListIdentitiesResponse.identities:type_name -> state.v1.Identity 6, // 3: state.v1.GetIdentityResponse.identity:type_name -> state.v1.Identity 7, // 4: state.v1.CreateIdentityRequest.audit:type_name -> state.v1.IdentityAudit @@ -21058,26 +21220,26 @@ var file_state_v1_state_proto_depIdxs = []int32{ 7, // 15: state.v1.BindIdentitySubjectRequest.audit:type_name -> state.v1.IdentityAudit 6, // 16: state.v1.BindIdentitySubjectResponse.identity:type_name -> state.v1.Identity 6, // 17: state.v1.ClaimIdentitySubjectResponse.identity:type_name -> state.v1.Identity - 362, // 18: state.v1.PersonalToken.created_at:type_name -> google.protobuf.Timestamp + 365, // 18: state.v1.PersonalToken.created_at:type_name -> google.protobuf.Timestamp 28, // 19: state.v1.ListPersonalTokensResponse.tokens:type_name -> state.v1.PersonalToken - 362, // 20: state.v1.Task.created_at:type_name -> google.protobuf.Timestamp - 362, // 21: state.v1.Task.updated_at:type_name -> google.protobuf.Timestamp - 362, // 22: state.v1.Event.at:type_name -> google.protobuf.Timestamp - 362, // 23: state.v1.CapturedEvent.received_at:type_name -> google.protobuf.Timestamp + 365, // 20: state.v1.Task.created_at:type_name -> google.protobuf.Timestamp + 365, // 21: state.v1.Task.updated_at:type_name -> google.protobuf.Timestamp + 365, // 22: state.v1.Event.at:type_name -> google.protobuf.Timestamp + 365, // 23: state.v1.CapturedEvent.received_at:type_name -> google.protobuf.Timestamp 38, // 24: state.v1.EventType.header_conditions:type_name -> state.v1.EventTypeHeaderCondition 39, // 25: state.v1.EventType.payload_conditions:type_name -> state.v1.EventTypePayloadCondition - 357, // 26: state.v1.EventType.schema:type_name -> state.v1.EventType.SchemaEntry - 362, // 27: state.v1.EventType.created_at:type_name -> google.protobuf.Timestamp - 362, // 28: state.v1.EventType.updated_at:type_name -> google.protobuf.Timestamp + 360, // 26: state.v1.EventType.schema:type_name -> state.v1.EventType.SchemaEntry + 365, // 27: state.v1.EventType.created_at:type_name -> google.protobuf.Timestamp + 365, // 28: state.v1.EventType.updated_at:type_name -> google.protobuf.Timestamp 41, // 29: state.v1.Mapping.fields:type_name -> state.v1.MappingField - 362, // 30: state.v1.Mapping.created_at:type_name -> google.protobuf.Timestamp - 362, // 31: state.v1.Mapping.updated_at:type_name -> google.protobuf.Timestamp - 362, // 32: state.v1.Mapping.last_matched_at:type_name -> google.protobuf.Timestamp + 365, // 30: state.v1.Mapping.created_at:type_name -> google.protobuf.Timestamp + 365, // 31: state.v1.Mapping.updated_at:type_name -> google.protobuf.Timestamp + 365, // 32: state.v1.Mapping.last_matched_at:type_name -> google.protobuf.Timestamp 43, // 33: state.v1.Binding.matcher:type_name -> state.v1.BindingMatcher - 362, // 34: state.v1.Binding.created_at:type_name -> google.protobuf.Timestamp - 362, // 35: state.v1.Binding.updated_at:type_name -> google.protobuf.Timestamp - 362, // 36: state.v1.Source.created_at:type_name -> google.protobuf.Timestamp - 362, // 37: state.v1.Source.updated_at:type_name -> google.protobuf.Timestamp + 365, // 34: state.v1.Binding.created_at:type_name -> google.protobuf.Timestamp + 365, // 35: state.v1.Binding.updated_at:type_name -> google.protobuf.Timestamp + 365, // 36: state.v1.Source.created_at:type_name -> google.protobuf.Timestamp + 365, // 37: state.v1.Source.updated_at:type_name -> google.protobuf.Timestamp 35, // 38: state.v1.ActiveTasksByOriginResponse.tasks:type_name -> state.v1.Task 35, // 39: state.v1.UnpostedOutcomesResponse.tasks:type_name -> state.v1.Task 35, // 40: state.v1.EnqueueChatTaskResponse.task:type_name -> state.v1.Task @@ -21085,11 +21247,11 @@ var file_state_v1_state_proto_depIdxs = []int32{ 35, // 42: state.v1.ClaimByIssueResponse.task:type_name -> state.v1.Task 36, // 43: state.v1.StartStepResponse.event:type_name -> state.v1.Event 36, // 44: state.v1.FinishStepResponse.event:type_name -> state.v1.Event - 362, // 45: state.v1.StepExecution.started_at:type_name -> google.protobuf.Timestamp - 362, // 46: state.v1.StepExecution.finished_at:type_name -> google.protobuf.Timestamp + 365, // 45: state.v1.StepExecution.started_at:type_name -> google.protobuf.Timestamp + 365, // 46: state.v1.StepExecution.finished_at:type_name -> google.protobuf.Timestamp 71, // 47: state.v1.ListStepsResponse.steps:type_name -> state.v1.StepExecution - 362, // 48: state.v1.HarnessSecret.expires_at:type_name -> google.protobuf.Timestamp - 362, // 49: state.v1.HarnessSecret.updated_at:type_name -> google.protobuf.Timestamp + 365, // 48: state.v1.HarnessSecret.expires_at:type_name -> google.protobuf.Timestamp + 365, // 49: state.v1.HarnessSecret.updated_at:type_name -> google.protobuf.Timestamp 74, // 50: state.v1.GetHarnessSecretResponse.secret:type_name -> state.v1.HarnessSecret 74, // 51: state.v1.PutHarnessSecretRequest.secret:type_name -> state.v1.HarnessSecret 35, // 52: state.v1.UpdateRequest.task:type_name -> state.v1.Task @@ -21098,35 +21260,35 @@ var file_state_v1_state_proto_depIdxs = []int32{ 35, // 55: state.v1.OpenTaskByPRResponse.task:type_name -> state.v1.Task 35, // 56: state.v1.TaskByIDResponse.task:type_name -> state.v1.Task 35, // 57: state.v1.OpenPRsResponse.tasks:type_name -> state.v1.Task - 362, // 58: state.v1.TasksRequest.after_updated_at:type_name -> google.protobuf.Timestamp + 365, // 58: state.v1.TasksRequest.after_updated_at:type_name -> google.protobuf.Timestamp 35, // 59: state.v1.TasksResponse.tasks:type_name -> state.v1.Task - 358, // 60: state.v1.StatusCountsResponse.counts:type_name -> state.v1.StatusCountsResponse.CountsEntry + 361, // 60: state.v1.StatusCountsResponse.counts:type_name -> state.v1.StatusCountsResponse.CountsEntry 36, // 61: state.v1.InsertEventRequest.event:type_name -> state.v1.Event 36, // 62: state.v1.EventsSinceResponse.events:type_name -> state.v1.Event 36, // 63: state.v1.TaskEventsResponse.events:type_name -> state.v1.Event 46, // 64: state.v1.WorkflowStatsResponse.stats:type_name -> state.v1.WorkflowStat 47, // 65: state.v1.StageStatsResponse.stats:type_name -> state.v1.StageStat 48, // 66: state.v1.TokensByDayResponse.tokens:type_name -> state.v1.DayTokens - 362, // 67: state.v1.ConfigSnapshot.published_at:type_name -> google.protobuf.Timestamp + 365, // 67: state.v1.ConfigSnapshot.published_at:type_name -> google.protobuf.Timestamp 125, // 68: state.v1.PutConfigSnapshotRequest.snapshot:type_name -> state.v1.ConfigSnapshot 125, // 69: state.v1.GetConfigSnapshotResponse.snapshot:type_name -> state.v1.ConfigSnapshot - 362, // 70: state.v1.ChannelStatus.observed_at:type_name -> google.protobuf.Timestamp + 365, // 70: state.v1.ChannelStatus.observed_at:type_name -> google.protobuf.Timestamp 130, // 71: state.v1.PutChannelStatusRequest.channels:type_name -> state.v1.ChannelStatus 130, // 72: state.v1.ListChannelStatusResponse.channels:type_name -> state.v1.ChannelStatus - 362, // 73: state.v1.ApplyStatus.reported_at:type_name -> google.protobuf.Timestamp + 365, // 73: state.v1.ApplyStatus.reported_at:type_name -> google.protobuf.Timestamp 135, // 74: state.v1.PutApplyStatusRequest.status:type_name -> state.v1.ApplyStatus 135, // 75: state.v1.ListApplyStatusResponse.statuses:type_name -> state.v1.ApplyStatus - 362, // 76: state.v1.Presence.started_at:type_name -> google.protobuf.Timestamp - 362, // 77: state.v1.Presence.reported_at:type_name -> google.protobuf.Timestamp + 365, // 76: state.v1.Presence.started_at:type_name -> google.protobuf.Timestamp + 365, // 77: state.v1.Presence.reported_at:type_name -> google.protobuf.Timestamp 140, // 78: state.v1.Presence.checks:type_name -> state.v1.DependencyCheck - 362, // 79: state.v1.RecordCaptureRefusalRequest.refused_at:type_name -> google.protobuf.Timestamp - 362, // 80: state.v1.ListCaptureRefusalsRequest.since:type_name -> google.protobuf.Timestamp + 365, // 79: state.v1.RecordCaptureRefusalRequest.refused_at:type_name -> google.protobuf.Timestamp + 365, // 80: state.v1.ListCaptureRefusalsRequest.since:type_name -> google.protobuf.Timestamp 145, // 81: state.v1.ListCaptureRefusalsResponse.sources:type_name -> state.v1.CaptureRefusals 141, // 82: state.v1.PutPresenceRequest.presence:type_name -> state.v1.Presence 141, // 83: state.v1.ListPresenceResponse.presences:type_name -> state.v1.Presence - 362, // 84: state.v1.TaskLogEntry.time:type_name -> google.protobuf.Timestamp - 362, // 85: state.v1.ReadTaskLogRequest.since:type_name -> google.protobuf.Timestamp - 362, // 86: state.v1.ReadTaskLogRequest.until:type_name -> google.protobuf.Timestamp + 365, // 84: state.v1.TaskLogEntry.time:type_name -> google.protobuf.Timestamp + 365, // 85: state.v1.ReadTaskLogRequest.since:type_name -> google.protobuf.Timestamp + 365, // 86: state.v1.ReadTaskLogRequest.until:type_name -> google.protobuf.Timestamp 151, // 87: state.v1.ReadTaskLogResponse.entries:type_name -> state.v1.TaskLogEntry 37, // 88: state.v1.InsertCaptureRequest.capture:type_name -> state.v1.CapturedEvent 37, // 89: state.v1.StreamCapturesResponse.capture:type_name -> state.v1.CapturedEvent @@ -21145,7 +21307,7 @@ var file_state_v1_state_proto_depIdxs = []int32{ 45, // 102: state.v1.GetSourceResponse.source:type_name -> state.v1.Source 45, // 103: state.v1.ListSourcesResponse.sources:type_name -> state.v1.Source 44, // 104: state.v1.ArmedBindingsForSourceResponse.bindings:type_name -> state.v1.Binding - 362, // 105: state.v1.Dispatch.dispatched_at:type_name -> google.protobuf.Timestamp + 365, // 105: state.v1.Dispatch.dispatched_at:type_name -> google.protobuf.Timestamp 217, // 106: state.v1.ListDispatchesResponse.dispatches:type_name -> state.v1.Dispatch 37, // 107: state.v1.StreamUndispatchedCapturesResponse.capture:type_name -> state.v1.CapturedEvent 35, // 108: state.v1.EnqueueBindingTaskResponse.task:type_name -> state.v1.Task @@ -21172,7 +21334,7 @@ var file_state_v1_state_proto_depIdxs = []int32{ 262, // 129: state.v1.ListPoliciesResponse.policies:type_name -> state.v1.AccessPolicy 262, // 130: state.v1.PutPolicyRequest.policy:type_name -> state.v1.AccessPolicy 262, // 131: state.v1.DeletePolicyRequest.policy:type_name -> state.v1.AccessPolicy - 362, // 132: state.v1.AccessDenial.at:type_name -> google.protobuf.Timestamp + 365, // 132: state.v1.AccessDenial.at:type_name -> google.protobuf.Timestamp 271, // 133: state.v1.RecordDenialRequest.denial:type_name -> state.v1.AccessDenial 271, // 134: state.v1.ListDenialsResponse.denials:type_name -> state.v1.AccessDenial 276, // 135: state.v1.ListOrgsResponse.orgs:type_name -> state.v1.Org @@ -21181,20 +21343,20 @@ var file_state_v1_state_proto_depIdxs = []int32{ 277, // 138: state.v1.ListWorkspacesResponse.workspaces:type_name -> state.v1.Workspace 277, // 139: state.v1.CreateWorkspaceResponse.workspace:type_name -> state.v1.Workspace 278, // 140: state.v1.ListMembersResponse.members:type_name -> state.v1.Member - 363, // 141: state.v1.RecentLogsRequest.query:type_name -> logging.v1.LogQuery - 364, // 142: state.v1.RecentLogsResponse.snapshot:type_name -> logging.v1.LogSnapshot - 362, // 143: state.v1.UsageRecord.at:type_name -> google.protobuf.Timestamp + 366, // 141: state.v1.RecentLogsRequest.query:type_name -> logging.v1.LogQuery + 367, // 142: state.v1.RecentLogsResponse.snapshot:type_name -> logging.v1.LogSnapshot + 365, // 143: state.v1.UsageRecord.at:type_name -> google.protobuf.Timestamp 299, // 144: state.v1.RecordUsageRequest.record:type_name -> state.v1.UsageRecord - 359, // 145: state.v1.TaskModelsResponse.aliases:type_name -> state.v1.TaskModelsResponse.AliasesEntry - 360, // 146: state.v1.TaskModelsResponse.providers:type_name -> state.v1.TaskModelsResponse.ProvidersEntry - 361, // 147: state.v1.CallerModelsResponse.aliases:type_name -> state.v1.CallerModelsResponse.AliasesEntry - 362, // 148: state.v1.Alert.first_raised:type_name -> google.protobuf.Timestamp - 362, // 149: state.v1.Alert.last_seen:type_name -> google.protobuf.Timestamp - 362, // 150: state.v1.Alert.closed_at:type_name -> google.protobuf.Timestamp + 362, // 145: state.v1.TaskModelsResponse.aliases:type_name -> state.v1.TaskModelsResponse.AliasesEntry + 363, // 146: state.v1.TaskModelsResponse.providers:type_name -> state.v1.TaskModelsResponse.ProvidersEntry + 364, // 147: state.v1.CallerModelsResponse.aliases:type_name -> state.v1.CallerModelsResponse.AliasesEntry + 365, // 148: state.v1.Alert.first_raised:type_name -> google.protobuf.Timestamp + 365, // 149: state.v1.Alert.last_seen:type_name -> google.protobuf.Timestamp + 365, // 150: state.v1.Alert.closed_at:type_name -> google.protobuf.Timestamp 308, // 151: state.v1.Alert.deliveries:type_name -> state.v1.AlertDelivery - 362, // 152: state.v1.AlertDelivery.created_at:type_name -> google.protobuf.Timestamp + 365, // 152: state.v1.AlertDelivery.created_at:type_name -> google.protobuf.Timestamp 309, // 153: state.v1.AlertDelivery.attempts:type_name -> state.v1.AlertAttempt - 362, // 154: state.v1.AlertAttempt.at:type_name -> google.protobuf.Timestamp + 365, // 154: state.v1.AlertAttempt.at:type_name -> google.protobuf.Timestamp 307, // 155: state.v1.RaiseAlertResponse.alert:type_name -> state.v1.Alert 307, // 156: state.v1.ListAlertsResponse.alerts:type_name -> state.v1.Alert 308, // 157: state.v1.DueAlertDelivery.delivery:type_name -> state.v1.AlertDelivery @@ -21202,332 +21364,335 @@ var file_state_v1_state_proto_depIdxs = []int32{ 319, // 159: state.v1.ClaimAlertDeliveriesResponse.due:type_name -> state.v1.DueAlertDelivery 6, // 160: state.v1.RegisterAccountResponse.identity:type_name -> state.v1.Identity 6, // 161: state.v1.SignInAccountResponse.identity:type_name -> state.v1.Identity - 362, // 162: state.v1.SignInAccountResponse.expires_at:type_name -> google.protobuf.Timestamp + 365, // 162: state.v1.SignInAccountResponse.expires_at:type_name -> google.protobuf.Timestamp 6, // 163: state.v1.ResolveAccountSessionResponse.identity:type_name -> state.v1.Identity 335, // 164: state.v1.GetAuthenticationSettingsResponse.settings:type_name -> state.v1.AuthenticationSettings 335, // 165: state.v1.SaveAuthenticationSettingsRequest.settings:type_name -> state.v1.AuthenticationSettings 6, // 166: state.v1.FinishPasskeyResponse.identity:type_name -> state.v1.Identity - 362, // 167: state.v1.FinishPasskeyResponse.expires_at:type_name -> google.protobuf.Timestamp + 365, // 167: state.v1.FinishPasskeyResponse.expires_at:type_name -> google.protobuf.Timestamp 344, // 168: state.v1.ListPasskeysResponse.passkeys:type_name -> state.v1.Passkey - 362, // 169: state.v1.OpenAccountSessionRequest.expires_at:type_name -> google.protobuf.Timestamp + 365, // 169: state.v1.OpenAccountSessionRequest.expires_at:type_name -> google.protobuf.Timestamp 6, // 170: state.v1.OpenAccountSessionResponse.identity:type_name -> state.v1.Identity - 362, // 171: state.v1.OpenAccountSessionResponse.expires_at:type_name -> google.protobuf.Timestamp - 304, // 172: state.v1.TaskModelsResponse.ProvidersEntry.value:type_name -> state.v1.ModelProvider - 297, // 173: state.v1.StateStoreService.RecentLogs:input_type -> state.v1.RecentLogsRequest - 234, // 174: state.v1.StateStoreService.InstallPackage:input_type -> state.v1.InstallPackageRequest - 237, // 175: state.v1.StateStoreService.ListCatalogue:input_type -> state.v1.ListCatalogueRequest - 239, // 176: state.v1.StateStoreService.InstallFromCatalogue:input_type -> state.v1.InstallFromCatalogueRequest - 241, // 177: state.v1.StateStoreService.GetInstalledPackage:input_type -> state.v1.GetInstalledPackageRequest - 243, // 178: state.v1.StateStoreService.ListInstalledPackages:input_type -> state.v1.ListInstalledPackagesRequest - 245, // 179: state.v1.StateStoreService.AcceptPackageAuthority:input_type -> state.v1.AcceptPackageAuthorityRequest - 247, // 180: state.v1.StateStoreService.RemoveInstalledPackage:input_type -> state.v1.RemoveInstalledPackageRequest - 249, // 181: state.v1.StateStoreService.UpdatePackage:input_type -> state.v1.UpdatePackageRequest - 251, // 182: state.v1.StateStoreService.ApprovePackageUpdate:input_type -> state.v1.ApprovePackageUpdateRequest - 253, // 183: state.v1.StateStoreService.RollbackPackage:input_type -> state.v1.RollbackPackageRequest - 255, // 184: state.v1.StateStoreService.SetPackageUpdatePolicy:input_type -> state.v1.SetPackageUpdatePolicyRequest - 0, // 185: state.v1.StateStoreService.RegisterTaskGrant:input_type -> state.v1.RegisterTaskGrantRequest - 2, // 186: state.v1.StateStoreService.RevokeTaskGrant:input_type -> state.v1.RevokeTaskGrantRequest - 4, // 187: state.v1.StateStoreService.ResolveTaskGrant:input_type -> state.v1.ResolveTaskGrantRequest - 8, // 188: state.v1.StateStoreService.ListIdentities:input_type -> state.v1.ListIdentitiesRequest - 336, // 189: state.v1.StateStoreService.GetAuthenticationSettings:input_type -> state.v1.GetAuthenticationSettingsRequest - 338, // 190: state.v1.StateStoreService.SaveAuthenticationSettings:input_type -> state.v1.SaveAuthenticationSettingsRequest - 340, // 191: state.v1.StateStoreService.BeginPasskey:input_type -> state.v1.BeginPasskeyRequest - 342, // 192: state.v1.StateStoreService.FinishPasskey:input_type -> state.v1.FinishPasskeyRequest - 345, // 193: state.v1.StateStoreService.ListPasskeys:input_type -> state.v1.ListPasskeysRequest - 347, // 194: state.v1.StateStoreService.DeletePasskey:input_type -> state.v1.DeletePasskeyRequest - 349, // 195: state.v1.StateStoreService.OpenAccountSession:input_type -> state.v1.OpenAccountSessionRequest - 351, // 196: state.v1.StateStoreService.RequireFreshAccountSession:input_type -> state.v1.RequireFreshAccountSessionRequest - 353, // 197: state.v1.StateStoreService.CreateAccountRecovery:input_type -> state.v1.CreateAccountRecoveryRequest - 355, // 198: state.v1.StateStoreService.RecoverAccount:input_type -> state.v1.RecoverAccountRequest - 323, // 199: state.v1.StateStoreService.AccountSetup:input_type -> state.v1.AccountSetupRequest - 325, // 200: state.v1.StateStoreService.RegisterAccount:input_type -> state.v1.RegisterAccountRequest - 327, // 201: state.v1.StateStoreService.SignInAccount:input_type -> state.v1.SignInAccountRequest - 329, // 202: state.v1.StateStoreService.ResolveAccountSession:input_type -> state.v1.ResolveAccountSessionRequest - 331, // 203: state.v1.StateStoreService.SignOutAccount:input_type -> state.v1.SignOutAccountRequest - 333, // 204: state.v1.StateStoreService.ChangeAccountPassword:input_type -> state.v1.ChangeAccountPasswordRequest - 10, // 205: state.v1.StateStoreService.GetIdentity:input_type -> state.v1.GetIdentityRequest - 12, // 206: state.v1.StateStoreService.CreateIdentity:input_type -> state.v1.CreateIdentityRequest - 13, // 207: state.v1.StateStoreService.RenameIdentity:input_type -> state.v1.RenameIdentityRequest - 14, // 208: state.v1.StateStoreService.SuspendIdentity:input_type -> state.v1.SuspendIdentityRequest - 15, // 209: state.v1.StateStoreService.ReactivateIdentity:input_type -> state.v1.ReactivateIdentityRequest - 16, // 210: state.v1.StateStoreService.RetireIdentity:input_type -> state.v1.RetireIdentityRequest - 22, // 211: state.v1.StateStoreService.ResolveIdentitySubject:input_type -> state.v1.ResolveIdentitySubjectRequest - 24, // 212: state.v1.StateStoreService.BindIdentitySubject:input_type -> state.v1.BindIdentitySubjectRequest - 26, // 213: state.v1.StateStoreService.ClaimIdentitySubject:input_type -> state.v1.ClaimIdentitySubjectRequest - 29, // 214: state.v1.StateStoreService.AddPersonalToken:input_type -> state.v1.AddPersonalTokenRequest - 31, // 215: state.v1.StateStoreService.ListPersonalTokens:input_type -> state.v1.ListPersonalTokensRequest - 33, // 216: state.v1.StateStoreService.RevokePersonalToken:input_type -> state.v1.RevokePersonalTokenRequest - 49, // 217: state.v1.StateStoreService.EnqueueIssue:input_type -> state.v1.EnqueueIssueRequest - 57, // 218: state.v1.StateStoreService.EnqueueChatTask:input_type -> state.v1.EnqueueChatTaskRequest - 51, // 219: state.v1.StateStoreService.ActiveTasksByOrigin:input_type -> state.v1.ActiveTasksByOriginRequest - 53, // 220: state.v1.StateStoreService.UnpostedOutcomes:input_type -> state.v1.UnpostedOutcomesRequest - 55, // 221: state.v1.StateStoreService.MarkOutcomePosted:input_type -> state.v1.MarkOutcomePostedRequest - 59, // 222: state.v1.StateStoreService.ClaimNext:input_type -> state.v1.ClaimNextRequest - 61, // 223: state.v1.StateStoreService.ClaimByIssue:input_type -> state.v1.ClaimByIssueRequest - 63, // 224: state.v1.StateStoreService.Transition:input_type -> state.v1.TransitionRequest - 79, // 225: state.v1.StateStoreService.Update:input_type -> state.v1.UpdateRequest - 65, // 226: state.v1.StateStoreService.StartStep:input_type -> state.v1.StartStepRequest - 300, // 227: state.v1.StateStoreService.RecordUsage:input_type -> state.v1.RecordUsageRequest - 302, // 228: state.v1.StateStoreService.TaskModels:input_type -> state.v1.TaskModelsRequest - 305, // 229: state.v1.StateStoreService.CallerModels:input_type -> state.v1.CallerModelsRequest - 67, // 230: state.v1.StateStoreService.FinishStep:input_type -> state.v1.FinishStepRequest - 69, // 231: state.v1.StateStoreService.CancelExecution:input_type -> state.v1.CancelExecutionRequest - 72, // 232: state.v1.StateStoreService.ListSteps:input_type -> state.v1.ListStepsRequest - 75, // 233: state.v1.StateStoreService.GetHarnessSecret:input_type -> state.v1.GetHarnessSecretRequest - 77, // 234: state.v1.StateStoreService.PutHarnessSecret:input_type -> state.v1.PutHarnessSecretRequest - 81, // 235: state.v1.StateStoreService.Requeue:input_type -> state.v1.RequeueRequest - 83, // 236: state.v1.StateStoreService.ParkTask:input_type -> state.v1.ParkTaskRequest - 85, // 237: state.v1.StateStoreService.RecoverStale:input_type -> state.v1.RecoverStaleRequest - 87, // 238: state.v1.StateStoreService.ArchiveTask:input_type -> state.v1.ArchiveTaskRequest - 89, // 239: state.v1.StateStoreService.RetryTask:input_type -> state.v1.RetryTaskRequest - 91, // 240: state.v1.StateStoreService.RespondReviewGate:input_type -> state.v1.RespondReviewGateRequest - 93, // 241: state.v1.StateStoreService.BeginRemediation:input_type -> state.v1.BeginRemediationRequest - 95, // 242: state.v1.StateStoreService.UpdateReviewPayload:input_type -> state.v1.UpdateReviewPayloadRequest - 97, // 243: state.v1.StateStoreService.SetReviewCursors:input_type -> state.v1.SetReviewCursorsRequest - 99, // 244: state.v1.StateStoreService.TaskByIssue:input_type -> state.v1.TaskByIssueRequest - 101, // 245: state.v1.StateStoreService.OpenTaskByPR:input_type -> state.v1.OpenTaskByPRRequest - 103, // 246: state.v1.StateStoreService.TaskByID:input_type -> state.v1.TaskByIDRequest - 105, // 247: state.v1.StateStoreService.OpenPRs:input_type -> state.v1.OpenPRsRequest - 107, // 248: state.v1.StateStoreService.ClearTerminalTasks:input_type -> state.v1.ClearTerminalTasksRequest - 109, // 249: state.v1.StateStoreService.Tasks:input_type -> state.v1.TasksRequest - 111, // 250: state.v1.StateStoreService.StatusCounts:input_type -> state.v1.StatusCountsRequest - 113, // 251: state.v1.StateStoreService.InsertEvent:input_type -> state.v1.InsertEventRequest - 115, // 252: state.v1.StateStoreService.EventsSince:input_type -> state.v1.EventsSinceRequest - 117, // 253: state.v1.StateStoreService.TaskEvents:input_type -> state.v1.TaskEventsRequest - 119, // 254: state.v1.StateStoreService.WorkflowStats:input_type -> state.v1.WorkflowStatsRequest - 121, // 255: state.v1.StateStoreService.StageStats:input_type -> state.v1.StageStatsRequest - 123, // 256: state.v1.StateStoreService.TokensByDay:input_type -> state.v1.TokensByDayRequest - 126, // 257: state.v1.StateStoreService.PutConfigSnapshot:input_type -> state.v1.PutConfigSnapshotRequest - 128, // 258: state.v1.StateStoreService.GetConfigSnapshot:input_type -> state.v1.GetConfigSnapshotRequest - 131, // 259: state.v1.StateStoreService.PutChannelStatus:input_type -> state.v1.PutChannelStatusRequest - 133, // 260: state.v1.StateStoreService.ListChannelStatus:input_type -> state.v1.ListChannelStatusRequest - 136, // 261: state.v1.StateStoreService.PutApplyStatus:input_type -> state.v1.PutApplyStatusRequest - 138, // 262: state.v1.StateStoreService.ListApplyStatus:input_type -> state.v1.ListApplyStatusRequest - 147, // 263: state.v1.StateStoreService.PutPresence:input_type -> state.v1.PutPresenceRequest - 142, // 264: state.v1.StateStoreService.RecordCaptureRefusal:input_type -> state.v1.RecordCaptureRefusalRequest - 144, // 265: state.v1.StateStoreService.ListCaptureRefusals:input_type -> state.v1.ListCaptureRefusalsRequest - 149, // 266: state.v1.StateStoreService.ListPresence:input_type -> state.v1.ListPresenceRequest - 152, // 267: state.v1.StateStoreService.ReadTaskLog:input_type -> state.v1.ReadTaskLogRequest - 154, // 268: state.v1.StateStoreService.StreamTaskLogContent:input_type -> state.v1.StreamTaskLogContentRequest - 156, // 269: state.v1.StateStoreService.InsertCapture:input_type -> state.v1.InsertCaptureRequest - 158, // 270: state.v1.StateStoreService.StreamCaptures:input_type -> state.v1.StreamCapturesRequest - 160, // 271: state.v1.StateStoreService.InsertMapping:input_type -> state.v1.InsertMappingRequest - 162, // 272: state.v1.StateStoreService.GetMapping:input_type -> state.v1.GetMappingRequest - 164, // 273: state.v1.StateStoreService.ListMappings:input_type -> state.v1.ListMappingsRequest - 166, // 274: state.v1.StateStoreService.UpdateMapping:input_type -> state.v1.UpdateMappingRequest - 168, // 275: state.v1.StateStoreService.DeleteMapping:input_type -> state.v1.DeleteMappingRequest - 170, // 276: state.v1.StateStoreService.RecordMappingMatch:input_type -> state.v1.RecordMappingMatchRequest - 172, // 277: state.v1.StateStoreService.InsertEventType:input_type -> state.v1.InsertEventTypeRequest - 174, // 278: state.v1.StateStoreService.UpdateEventType:input_type -> state.v1.UpdateEventTypeRequest - 176, // 279: state.v1.StateStoreService.DeleteEventType:input_type -> state.v1.DeleteEventTypeRequest - 178, // 280: state.v1.StateStoreService.ListEventTypes:input_type -> state.v1.ListEventTypesRequest - 180, // 281: state.v1.StateStoreService.InsertBinding:input_type -> state.v1.InsertBindingRequest - 182, // 282: state.v1.StateStoreService.GetBinding:input_type -> state.v1.GetBindingRequest - 184, // 283: state.v1.StateStoreService.ListBindings:input_type -> state.v1.ListBindingsRequest - 216, // 284: state.v1.StateStoreService.ListDispatches:input_type -> state.v1.ListDispatchesRequest - 186, // 285: state.v1.StateStoreService.UpdateBinding:input_type -> state.v1.UpdateBindingRequest - 188, // 286: state.v1.StateStoreService.DeleteBinding:input_type -> state.v1.DeleteBindingRequest - 190, // 287: state.v1.StateStoreService.ApproveBinding:input_type -> state.v1.ApproveBindingRequest - 198, // 288: state.v1.StateStoreService.PauseBinding:input_type -> state.v1.PauseBindingRequest - 200, // 289: state.v1.StateStoreService.ResumeBinding:input_type -> state.v1.ResumeBindingRequest - 202, // 290: state.v1.StateStoreService.InsertSource:input_type -> state.v1.InsertSourceRequest - 204, // 291: state.v1.StateStoreService.GetSource:input_type -> state.v1.GetSourceRequest - 206, // 292: state.v1.StateStoreService.ListSources:input_type -> state.v1.ListSourcesRequest - 208, // 293: state.v1.StateStoreService.SetSourceSigning:input_type -> state.v1.SetSourceSigningRequest - 210, // 294: state.v1.StateStoreService.SetSourceSecret:input_type -> state.v1.SetSourceSecretRequest - 192, // 295: state.v1.StateStoreService.SetSourceName:input_type -> state.v1.SetSourceNameRequest - 194, // 296: state.v1.StateStoreService.SetSourceDeliveryHeader:input_type -> state.v1.SetSourceDeliveryHeaderRequest - 196, // 297: state.v1.StateStoreService.DeleteSource:input_type -> state.v1.DeleteSourceRequest - 212, // 298: state.v1.StateStoreService.ArmedBindingsForSource:input_type -> state.v1.ArmedBindingsForSourceRequest - 214, // 299: state.v1.StateStoreService.RecordDispatch:input_type -> state.v1.RecordDispatchRequest - 219, // 300: state.v1.StateStoreService.RecordPlaybookDispatch:input_type -> state.v1.RecordPlaybookDispatchRequest - 221, // 301: state.v1.StateStoreService.DeletePlaybookDispatches:input_type -> state.v1.DeletePlaybookDispatchesRequest - 223, // 302: state.v1.StateStoreService.StreamUndispatchedCaptures:input_type -> state.v1.StreamUndispatchedCapturesRequest - 225, // 303: state.v1.StateStoreService.EnqueueBindingTask:input_type -> state.v1.EnqueueBindingTaskRequest - 227, // 304: state.v1.StateStoreService.EnqueueCallTask:input_type -> state.v1.EnqueueCallTaskRequest - 229, // 305: state.v1.StateStoreService.WorkflowCallStatus:input_type -> state.v1.WorkflowCallStatusRequest - 257, // 306: state.v1.StateStoreService.GetPrincipal:input_type -> state.v1.GetPrincipalRequest - 263, // 307: state.v1.StateStoreService.ListPolicies:input_type -> state.v1.ListPoliciesRequest - 265, // 308: state.v1.StateStoreService.PutPolicy:input_type -> state.v1.PutPolicyRequest - 267, // 309: state.v1.StateStoreService.DeletePolicy:input_type -> state.v1.DeletePolicyRequest - 269, // 310: state.v1.StateStoreService.EnsureShippedOrgPolicies:input_type -> state.v1.EnsureShippedOrgPoliciesRequest - 272, // 311: state.v1.StateStoreService.RecordDenial:input_type -> state.v1.RecordDenialRequest - 274, // 312: state.v1.StateStoreService.ListDenials:input_type -> state.v1.ListDenialsRequest - 279, // 313: state.v1.StateStoreService.ListOrgs:input_type -> state.v1.ListOrgsRequest - 281, // 314: state.v1.StateStoreService.GetOrg:input_type -> state.v1.GetOrgRequest - 283, // 315: state.v1.StateStoreService.CreateOrg:input_type -> state.v1.CreateOrgRequest - 285, // 316: state.v1.StateStoreService.ListWorkspaces:input_type -> state.v1.ListWorkspacesRequest - 287, // 317: state.v1.StateStoreService.CreateWorkspace:input_type -> state.v1.CreateWorkspaceRequest - 289, // 318: state.v1.StateStoreService.ListMembers:input_type -> state.v1.ListMembersRequest - 291, // 319: state.v1.StateStoreService.SetMembership:input_type -> state.v1.SetMembershipRequest - 293, // 320: state.v1.StateStoreService.RemoveMembership:input_type -> state.v1.RemoveMembershipRequest - 295, // 321: state.v1.StateStoreService.AssignAgent:input_type -> state.v1.AssignAgentRequest - 310, // 322: state.v1.StateStoreService.RaiseAlert:input_type -> state.v1.RaiseAlertRequest - 312, // 323: state.v1.StateStoreService.ResolveAlert:input_type -> state.v1.ResolveAlertRequest - 314, // 324: state.v1.StateStoreService.DismissAlert:input_type -> state.v1.DismissAlertRequest - 316, // 325: state.v1.StateStoreService.ListAlerts:input_type -> state.v1.ListAlertsRequest - 318, // 326: state.v1.StateStoreService.ClaimAlertDeliveries:input_type -> state.v1.ClaimAlertDeliveriesRequest - 321, // 327: state.v1.StateStoreService.RecordAlertAttempt:input_type -> state.v1.RecordAlertAttemptRequest - 298, // 328: state.v1.StateStoreService.RecentLogs:output_type -> state.v1.RecentLogsResponse - 235, // 329: state.v1.StateStoreService.InstallPackage:output_type -> state.v1.InstallPackageResponse - 238, // 330: state.v1.StateStoreService.ListCatalogue:output_type -> state.v1.ListCatalogueResponse - 240, // 331: state.v1.StateStoreService.InstallFromCatalogue:output_type -> state.v1.InstallFromCatalogueResponse - 242, // 332: state.v1.StateStoreService.GetInstalledPackage:output_type -> state.v1.GetInstalledPackageResponse - 244, // 333: state.v1.StateStoreService.ListInstalledPackages:output_type -> state.v1.ListInstalledPackagesResponse - 246, // 334: state.v1.StateStoreService.AcceptPackageAuthority:output_type -> state.v1.AcceptPackageAuthorityResponse - 248, // 335: state.v1.StateStoreService.RemoveInstalledPackage:output_type -> state.v1.RemoveInstalledPackageResponse - 250, // 336: state.v1.StateStoreService.UpdatePackage:output_type -> state.v1.UpdatePackageResponse - 252, // 337: state.v1.StateStoreService.ApprovePackageUpdate:output_type -> state.v1.ApprovePackageUpdateResponse - 254, // 338: state.v1.StateStoreService.RollbackPackage:output_type -> state.v1.RollbackPackageResponse - 256, // 339: state.v1.StateStoreService.SetPackageUpdatePolicy:output_type -> state.v1.SetPackageUpdatePolicyResponse - 1, // 340: state.v1.StateStoreService.RegisterTaskGrant:output_type -> state.v1.RegisterTaskGrantResponse - 3, // 341: state.v1.StateStoreService.RevokeTaskGrant:output_type -> state.v1.RevokeTaskGrantResponse - 5, // 342: state.v1.StateStoreService.ResolveTaskGrant:output_type -> state.v1.ResolveTaskGrantResponse - 9, // 343: state.v1.StateStoreService.ListIdentities:output_type -> state.v1.ListIdentitiesResponse - 337, // 344: state.v1.StateStoreService.GetAuthenticationSettings:output_type -> state.v1.GetAuthenticationSettingsResponse - 339, // 345: state.v1.StateStoreService.SaveAuthenticationSettings:output_type -> state.v1.SaveAuthenticationSettingsResponse - 341, // 346: state.v1.StateStoreService.BeginPasskey:output_type -> state.v1.BeginPasskeyResponse - 343, // 347: state.v1.StateStoreService.FinishPasskey:output_type -> state.v1.FinishPasskeyResponse - 346, // 348: state.v1.StateStoreService.ListPasskeys:output_type -> state.v1.ListPasskeysResponse - 348, // 349: state.v1.StateStoreService.DeletePasskey:output_type -> state.v1.DeletePasskeyResponse - 350, // 350: state.v1.StateStoreService.OpenAccountSession:output_type -> state.v1.OpenAccountSessionResponse - 352, // 351: state.v1.StateStoreService.RequireFreshAccountSession:output_type -> state.v1.RequireFreshAccountSessionResponse - 354, // 352: state.v1.StateStoreService.CreateAccountRecovery:output_type -> state.v1.CreateAccountRecoveryResponse - 356, // 353: state.v1.StateStoreService.RecoverAccount:output_type -> state.v1.RecoverAccountResponse - 324, // 354: state.v1.StateStoreService.AccountSetup:output_type -> state.v1.AccountSetupResponse - 326, // 355: state.v1.StateStoreService.RegisterAccount:output_type -> state.v1.RegisterAccountResponse - 328, // 356: state.v1.StateStoreService.SignInAccount:output_type -> state.v1.SignInAccountResponse - 330, // 357: state.v1.StateStoreService.ResolveAccountSession:output_type -> state.v1.ResolveAccountSessionResponse - 332, // 358: state.v1.StateStoreService.SignOutAccount:output_type -> state.v1.SignOutAccountResponse - 334, // 359: state.v1.StateStoreService.ChangeAccountPassword:output_type -> state.v1.ChangeAccountPasswordResponse - 11, // 360: state.v1.StateStoreService.GetIdentity:output_type -> state.v1.GetIdentityResponse - 17, // 361: state.v1.StateStoreService.CreateIdentity:output_type -> state.v1.CreateIdentityResponse - 18, // 362: state.v1.StateStoreService.RenameIdentity:output_type -> state.v1.RenameIdentityResponse - 19, // 363: state.v1.StateStoreService.SuspendIdentity:output_type -> state.v1.SuspendIdentityResponse - 20, // 364: state.v1.StateStoreService.ReactivateIdentity:output_type -> state.v1.ReactivateIdentityResponse - 21, // 365: state.v1.StateStoreService.RetireIdentity:output_type -> state.v1.RetireIdentityResponse - 23, // 366: state.v1.StateStoreService.ResolveIdentitySubject:output_type -> state.v1.ResolveIdentitySubjectResponse - 25, // 367: state.v1.StateStoreService.BindIdentitySubject:output_type -> state.v1.BindIdentitySubjectResponse - 27, // 368: state.v1.StateStoreService.ClaimIdentitySubject:output_type -> state.v1.ClaimIdentitySubjectResponse - 30, // 369: state.v1.StateStoreService.AddPersonalToken:output_type -> state.v1.AddPersonalTokenResponse - 32, // 370: state.v1.StateStoreService.ListPersonalTokens:output_type -> state.v1.ListPersonalTokensResponse - 34, // 371: state.v1.StateStoreService.RevokePersonalToken:output_type -> state.v1.RevokePersonalTokenResponse - 50, // 372: state.v1.StateStoreService.EnqueueIssue:output_type -> state.v1.EnqueueIssueResponse - 58, // 373: state.v1.StateStoreService.EnqueueChatTask:output_type -> state.v1.EnqueueChatTaskResponse - 52, // 374: state.v1.StateStoreService.ActiveTasksByOrigin:output_type -> state.v1.ActiveTasksByOriginResponse - 54, // 375: state.v1.StateStoreService.UnpostedOutcomes:output_type -> state.v1.UnpostedOutcomesResponse - 56, // 376: state.v1.StateStoreService.MarkOutcomePosted:output_type -> state.v1.MarkOutcomePostedResponse - 60, // 377: state.v1.StateStoreService.ClaimNext:output_type -> state.v1.ClaimNextResponse - 62, // 378: state.v1.StateStoreService.ClaimByIssue:output_type -> state.v1.ClaimByIssueResponse - 64, // 379: state.v1.StateStoreService.Transition:output_type -> state.v1.TransitionResponse - 80, // 380: state.v1.StateStoreService.Update:output_type -> state.v1.UpdateResponse - 66, // 381: state.v1.StateStoreService.StartStep:output_type -> state.v1.StartStepResponse - 301, // 382: state.v1.StateStoreService.RecordUsage:output_type -> state.v1.RecordUsageResponse - 303, // 383: state.v1.StateStoreService.TaskModels:output_type -> state.v1.TaskModelsResponse - 306, // 384: state.v1.StateStoreService.CallerModels:output_type -> state.v1.CallerModelsResponse - 68, // 385: state.v1.StateStoreService.FinishStep:output_type -> state.v1.FinishStepResponse - 70, // 386: state.v1.StateStoreService.CancelExecution:output_type -> state.v1.CancelExecutionResponse - 73, // 387: state.v1.StateStoreService.ListSteps:output_type -> state.v1.ListStepsResponse - 76, // 388: state.v1.StateStoreService.GetHarnessSecret:output_type -> state.v1.GetHarnessSecretResponse - 78, // 389: state.v1.StateStoreService.PutHarnessSecret:output_type -> state.v1.PutHarnessSecretResponse - 82, // 390: state.v1.StateStoreService.Requeue:output_type -> state.v1.RequeueResponse - 84, // 391: state.v1.StateStoreService.ParkTask:output_type -> state.v1.ParkTaskResponse - 86, // 392: state.v1.StateStoreService.RecoverStale:output_type -> state.v1.RecoverStaleResponse - 88, // 393: state.v1.StateStoreService.ArchiveTask:output_type -> state.v1.ArchiveTaskResponse - 90, // 394: state.v1.StateStoreService.RetryTask:output_type -> state.v1.RetryTaskResponse - 92, // 395: state.v1.StateStoreService.RespondReviewGate:output_type -> state.v1.RespondReviewGateResponse - 94, // 396: state.v1.StateStoreService.BeginRemediation:output_type -> state.v1.BeginRemediationResponse - 96, // 397: state.v1.StateStoreService.UpdateReviewPayload:output_type -> state.v1.UpdateReviewPayloadResponse - 98, // 398: state.v1.StateStoreService.SetReviewCursors:output_type -> state.v1.SetReviewCursorsResponse - 100, // 399: state.v1.StateStoreService.TaskByIssue:output_type -> state.v1.TaskByIssueResponse - 102, // 400: state.v1.StateStoreService.OpenTaskByPR:output_type -> state.v1.OpenTaskByPRResponse - 104, // 401: state.v1.StateStoreService.TaskByID:output_type -> state.v1.TaskByIDResponse - 106, // 402: state.v1.StateStoreService.OpenPRs:output_type -> state.v1.OpenPRsResponse - 108, // 403: state.v1.StateStoreService.ClearTerminalTasks:output_type -> state.v1.ClearTerminalTasksResponse - 110, // 404: state.v1.StateStoreService.Tasks:output_type -> state.v1.TasksResponse - 112, // 405: state.v1.StateStoreService.StatusCounts:output_type -> state.v1.StatusCountsResponse - 114, // 406: state.v1.StateStoreService.InsertEvent:output_type -> state.v1.InsertEventResponse - 116, // 407: state.v1.StateStoreService.EventsSince:output_type -> state.v1.EventsSinceResponse - 118, // 408: state.v1.StateStoreService.TaskEvents:output_type -> state.v1.TaskEventsResponse - 120, // 409: state.v1.StateStoreService.WorkflowStats:output_type -> state.v1.WorkflowStatsResponse - 122, // 410: state.v1.StateStoreService.StageStats:output_type -> state.v1.StageStatsResponse - 124, // 411: state.v1.StateStoreService.TokensByDay:output_type -> state.v1.TokensByDayResponse - 127, // 412: state.v1.StateStoreService.PutConfigSnapshot:output_type -> state.v1.PutConfigSnapshotResponse - 129, // 413: state.v1.StateStoreService.GetConfigSnapshot:output_type -> state.v1.GetConfigSnapshotResponse - 132, // 414: state.v1.StateStoreService.PutChannelStatus:output_type -> state.v1.PutChannelStatusResponse - 134, // 415: state.v1.StateStoreService.ListChannelStatus:output_type -> state.v1.ListChannelStatusResponse - 137, // 416: state.v1.StateStoreService.PutApplyStatus:output_type -> state.v1.PutApplyStatusResponse - 139, // 417: state.v1.StateStoreService.ListApplyStatus:output_type -> state.v1.ListApplyStatusResponse - 148, // 418: state.v1.StateStoreService.PutPresence:output_type -> state.v1.PutPresenceResponse - 143, // 419: state.v1.StateStoreService.RecordCaptureRefusal:output_type -> state.v1.RecordCaptureRefusalResponse - 146, // 420: state.v1.StateStoreService.ListCaptureRefusals:output_type -> state.v1.ListCaptureRefusalsResponse - 150, // 421: state.v1.StateStoreService.ListPresence:output_type -> state.v1.ListPresenceResponse - 153, // 422: state.v1.StateStoreService.ReadTaskLog:output_type -> state.v1.ReadTaskLogResponse - 155, // 423: state.v1.StateStoreService.StreamTaskLogContent:output_type -> state.v1.StreamTaskLogContentResponse - 157, // 424: state.v1.StateStoreService.InsertCapture:output_type -> state.v1.InsertCaptureResponse - 159, // 425: state.v1.StateStoreService.StreamCaptures:output_type -> state.v1.StreamCapturesResponse - 161, // 426: state.v1.StateStoreService.InsertMapping:output_type -> state.v1.InsertMappingResponse - 163, // 427: state.v1.StateStoreService.GetMapping:output_type -> state.v1.GetMappingResponse - 165, // 428: state.v1.StateStoreService.ListMappings:output_type -> state.v1.ListMappingsResponse - 167, // 429: state.v1.StateStoreService.UpdateMapping:output_type -> state.v1.UpdateMappingResponse - 169, // 430: state.v1.StateStoreService.DeleteMapping:output_type -> state.v1.DeleteMappingResponse - 171, // 431: state.v1.StateStoreService.RecordMappingMatch:output_type -> state.v1.RecordMappingMatchResponse - 173, // 432: state.v1.StateStoreService.InsertEventType:output_type -> state.v1.InsertEventTypeResponse - 175, // 433: state.v1.StateStoreService.UpdateEventType:output_type -> state.v1.UpdateEventTypeResponse - 177, // 434: state.v1.StateStoreService.DeleteEventType:output_type -> state.v1.DeleteEventTypeResponse - 179, // 435: state.v1.StateStoreService.ListEventTypes:output_type -> state.v1.ListEventTypesResponse - 181, // 436: state.v1.StateStoreService.InsertBinding:output_type -> state.v1.InsertBindingResponse - 183, // 437: state.v1.StateStoreService.GetBinding:output_type -> state.v1.GetBindingResponse - 185, // 438: state.v1.StateStoreService.ListBindings:output_type -> state.v1.ListBindingsResponse - 218, // 439: state.v1.StateStoreService.ListDispatches:output_type -> state.v1.ListDispatchesResponse - 187, // 440: state.v1.StateStoreService.UpdateBinding:output_type -> state.v1.UpdateBindingResponse - 189, // 441: state.v1.StateStoreService.DeleteBinding:output_type -> state.v1.DeleteBindingResponse - 191, // 442: state.v1.StateStoreService.ApproveBinding:output_type -> state.v1.ApproveBindingResponse - 199, // 443: state.v1.StateStoreService.PauseBinding:output_type -> state.v1.PauseBindingResponse - 201, // 444: state.v1.StateStoreService.ResumeBinding:output_type -> state.v1.ResumeBindingResponse - 203, // 445: state.v1.StateStoreService.InsertSource:output_type -> state.v1.InsertSourceResponse - 205, // 446: state.v1.StateStoreService.GetSource:output_type -> state.v1.GetSourceResponse - 207, // 447: state.v1.StateStoreService.ListSources:output_type -> state.v1.ListSourcesResponse - 209, // 448: state.v1.StateStoreService.SetSourceSigning:output_type -> state.v1.SetSourceSigningResponse - 211, // 449: state.v1.StateStoreService.SetSourceSecret:output_type -> state.v1.SetSourceSecretResponse - 193, // 450: state.v1.StateStoreService.SetSourceName:output_type -> state.v1.SetSourceNameResponse - 195, // 451: state.v1.StateStoreService.SetSourceDeliveryHeader:output_type -> state.v1.SetSourceDeliveryHeaderResponse - 197, // 452: state.v1.StateStoreService.DeleteSource:output_type -> state.v1.DeleteSourceResponse - 213, // 453: state.v1.StateStoreService.ArmedBindingsForSource:output_type -> state.v1.ArmedBindingsForSourceResponse - 215, // 454: state.v1.StateStoreService.RecordDispatch:output_type -> state.v1.RecordDispatchResponse - 220, // 455: state.v1.StateStoreService.RecordPlaybookDispatch:output_type -> state.v1.RecordPlaybookDispatchResponse - 222, // 456: state.v1.StateStoreService.DeletePlaybookDispatches:output_type -> state.v1.DeletePlaybookDispatchesResponse - 224, // 457: state.v1.StateStoreService.StreamUndispatchedCaptures:output_type -> state.v1.StreamUndispatchedCapturesResponse - 226, // 458: state.v1.StateStoreService.EnqueueBindingTask:output_type -> state.v1.EnqueueBindingTaskResponse - 228, // 459: state.v1.StateStoreService.EnqueueCallTask:output_type -> state.v1.EnqueueCallTaskResponse - 230, // 460: state.v1.StateStoreService.WorkflowCallStatus:output_type -> state.v1.WorkflowCallStatusResponse - 261, // 461: state.v1.StateStoreService.GetPrincipal:output_type -> state.v1.GetPrincipalResponse - 264, // 462: state.v1.StateStoreService.ListPolicies:output_type -> state.v1.ListPoliciesResponse - 266, // 463: state.v1.StateStoreService.PutPolicy:output_type -> state.v1.PutPolicyResponse - 268, // 464: state.v1.StateStoreService.DeletePolicy:output_type -> state.v1.DeletePolicyResponse - 270, // 465: state.v1.StateStoreService.EnsureShippedOrgPolicies:output_type -> state.v1.EnsureShippedOrgPoliciesResponse - 273, // 466: state.v1.StateStoreService.RecordDenial:output_type -> state.v1.RecordDenialResponse - 275, // 467: state.v1.StateStoreService.ListDenials:output_type -> state.v1.ListDenialsResponse - 280, // 468: state.v1.StateStoreService.ListOrgs:output_type -> state.v1.ListOrgsResponse - 282, // 469: state.v1.StateStoreService.GetOrg:output_type -> state.v1.GetOrgResponse - 284, // 470: state.v1.StateStoreService.CreateOrg:output_type -> state.v1.CreateOrgResponse - 286, // 471: state.v1.StateStoreService.ListWorkspaces:output_type -> state.v1.ListWorkspacesResponse - 288, // 472: state.v1.StateStoreService.CreateWorkspace:output_type -> state.v1.CreateWorkspaceResponse - 290, // 473: state.v1.StateStoreService.ListMembers:output_type -> state.v1.ListMembersResponse - 292, // 474: state.v1.StateStoreService.SetMembership:output_type -> state.v1.SetMembershipResponse - 294, // 475: state.v1.StateStoreService.RemoveMembership:output_type -> state.v1.RemoveMembershipResponse - 296, // 476: state.v1.StateStoreService.AssignAgent:output_type -> state.v1.AssignAgentResponse - 311, // 477: state.v1.StateStoreService.RaiseAlert:output_type -> state.v1.RaiseAlertResponse - 313, // 478: state.v1.StateStoreService.ResolveAlert:output_type -> state.v1.ResolveAlertResponse - 315, // 479: state.v1.StateStoreService.DismissAlert:output_type -> state.v1.DismissAlertResponse - 317, // 480: state.v1.StateStoreService.ListAlerts:output_type -> state.v1.ListAlertsResponse - 320, // 481: state.v1.StateStoreService.ClaimAlertDeliveries:output_type -> state.v1.ClaimAlertDeliveriesResponse - 322, // 482: state.v1.StateStoreService.RecordAlertAttempt:output_type -> state.v1.RecordAlertAttemptResponse - 328, // [328:483] is the sub-list for method output_type - 173, // [173:328] is the sub-list for method input_type - 173, // [173:173] is the sub-list for extension type_name - 173, // [173:173] is the sub-list for extension extendee - 0, // [0:173] is the sub-list for field type_name + 365, // 171: state.v1.OpenAccountSessionResponse.expires_at:type_name -> google.protobuf.Timestamp + 358, // 172: state.v1.ListOrgAgentsResponse.agents:type_name -> state.v1.AgentAssignment + 304, // 173: state.v1.TaskModelsResponse.ProvidersEntry.value:type_name -> state.v1.ModelProvider + 297, // 174: state.v1.StateStoreService.RecentLogs:input_type -> state.v1.RecentLogsRequest + 234, // 175: state.v1.StateStoreService.InstallPackage:input_type -> state.v1.InstallPackageRequest + 237, // 176: state.v1.StateStoreService.ListCatalogue:input_type -> state.v1.ListCatalogueRequest + 239, // 177: state.v1.StateStoreService.InstallFromCatalogue:input_type -> state.v1.InstallFromCatalogueRequest + 241, // 178: state.v1.StateStoreService.GetInstalledPackage:input_type -> state.v1.GetInstalledPackageRequest + 243, // 179: state.v1.StateStoreService.ListInstalledPackages:input_type -> state.v1.ListInstalledPackagesRequest + 245, // 180: state.v1.StateStoreService.AcceptPackageAuthority:input_type -> state.v1.AcceptPackageAuthorityRequest + 247, // 181: state.v1.StateStoreService.RemoveInstalledPackage:input_type -> state.v1.RemoveInstalledPackageRequest + 249, // 182: state.v1.StateStoreService.UpdatePackage:input_type -> state.v1.UpdatePackageRequest + 251, // 183: state.v1.StateStoreService.ApprovePackageUpdate:input_type -> state.v1.ApprovePackageUpdateRequest + 253, // 184: state.v1.StateStoreService.RollbackPackage:input_type -> state.v1.RollbackPackageRequest + 255, // 185: state.v1.StateStoreService.SetPackageUpdatePolicy:input_type -> state.v1.SetPackageUpdatePolicyRequest + 0, // 186: state.v1.StateStoreService.RegisterTaskGrant:input_type -> state.v1.RegisterTaskGrantRequest + 2, // 187: state.v1.StateStoreService.RevokeTaskGrant:input_type -> state.v1.RevokeTaskGrantRequest + 4, // 188: state.v1.StateStoreService.ResolveTaskGrant:input_type -> state.v1.ResolveTaskGrantRequest + 8, // 189: state.v1.StateStoreService.ListIdentities:input_type -> state.v1.ListIdentitiesRequest + 336, // 190: state.v1.StateStoreService.GetAuthenticationSettings:input_type -> state.v1.GetAuthenticationSettingsRequest + 338, // 191: state.v1.StateStoreService.SaveAuthenticationSettings:input_type -> state.v1.SaveAuthenticationSettingsRequest + 340, // 192: state.v1.StateStoreService.BeginPasskey:input_type -> state.v1.BeginPasskeyRequest + 342, // 193: state.v1.StateStoreService.FinishPasskey:input_type -> state.v1.FinishPasskeyRequest + 345, // 194: state.v1.StateStoreService.ListPasskeys:input_type -> state.v1.ListPasskeysRequest + 347, // 195: state.v1.StateStoreService.DeletePasskey:input_type -> state.v1.DeletePasskeyRequest + 349, // 196: state.v1.StateStoreService.OpenAccountSession:input_type -> state.v1.OpenAccountSessionRequest + 351, // 197: state.v1.StateStoreService.RequireFreshAccountSession:input_type -> state.v1.RequireFreshAccountSessionRequest + 353, // 198: state.v1.StateStoreService.CreateAccountRecovery:input_type -> state.v1.CreateAccountRecoveryRequest + 355, // 199: state.v1.StateStoreService.RecoverAccount:input_type -> state.v1.RecoverAccountRequest + 323, // 200: state.v1.StateStoreService.AccountSetup:input_type -> state.v1.AccountSetupRequest + 325, // 201: state.v1.StateStoreService.RegisterAccount:input_type -> state.v1.RegisterAccountRequest + 327, // 202: state.v1.StateStoreService.SignInAccount:input_type -> state.v1.SignInAccountRequest + 329, // 203: state.v1.StateStoreService.ResolveAccountSession:input_type -> state.v1.ResolveAccountSessionRequest + 331, // 204: state.v1.StateStoreService.SignOutAccount:input_type -> state.v1.SignOutAccountRequest + 333, // 205: state.v1.StateStoreService.ChangeAccountPassword:input_type -> state.v1.ChangeAccountPasswordRequest + 10, // 206: state.v1.StateStoreService.GetIdentity:input_type -> state.v1.GetIdentityRequest + 12, // 207: state.v1.StateStoreService.CreateIdentity:input_type -> state.v1.CreateIdentityRequest + 13, // 208: state.v1.StateStoreService.RenameIdentity:input_type -> state.v1.RenameIdentityRequest + 14, // 209: state.v1.StateStoreService.SuspendIdentity:input_type -> state.v1.SuspendIdentityRequest + 15, // 210: state.v1.StateStoreService.ReactivateIdentity:input_type -> state.v1.ReactivateIdentityRequest + 16, // 211: state.v1.StateStoreService.RetireIdentity:input_type -> state.v1.RetireIdentityRequest + 22, // 212: state.v1.StateStoreService.ResolveIdentitySubject:input_type -> state.v1.ResolveIdentitySubjectRequest + 24, // 213: state.v1.StateStoreService.BindIdentitySubject:input_type -> state.v1.BindIdentitySubjectRequest + 26, // 214: state.v1.StateStoreService.ClaimIdentitySubject:input_type -> state.v1.ClaimIdentitySubjectRequest + 29, // 215: state.v1.StateStoreService.AddPersonalToken:input_type -> state.v1.AddPersonalTokenRequest + 31, // 216: state.v1.StateStoreService.ListPersonalTokens:input_type -> state.v1.ListPersonalTokensRequest + 33, // 217: state.v1.StateStoreService.RevokePersonalToken:input_type -> state.v1.RevokePersonalTokenRequest + 49, // 218: state.v1.StateStoreService.EnqueueIssue:input_type -> state.v1.EnqueueIssueRequest + 57, // 219: state.v1.StateStoreService.EnqueueChatTask:input_type -> state.v1.EnqueueChatTaskRequest + 51, // 220: state.v1.StateStoreService.ActiveTasksByOrigin:input_type -> state.v1.ActiveTasksByOriginRequest + 53, // 221: state.v1.StateStoreService.UnpostedOutcomes:input_type -> state.v1.UnpostedOutcomesRequest + 55, // 222: state.v1.StateStoreService.MarkOutcomePosted:input_type -> state.v1.MarkOutcomePostedRequest + 59, // 223: state.v1.StateStoreService.ClaimNext:input_type -> state.v1.ClaimNextRequest + 61, // 224: state.v1.StateStoreService.ClaimByIssue:input_type -> state.v1.ClaimByIssueRequest + 63, // 225: state.v1.StateStoreService.Transition:input_type -> state.v1.TransitionRequest + 79, // 226: state.v1.StateStoreService.Update:input_type -> state.v1.UpdateRequest + 65, // 227: state.v1.StateStoreService.StartStep:input_type -> state.v1.StartStepRequest + 300, // 228: state.v1.StateStoreService.RecordUsage:input_type -> state.v1.RecordUsageRequest + 302, // 229: state.v1.StateStoreService.TaskModels:input_type -> state.v1.TaskModelsRequest + 305, // 230: state.v1.StateStoreService.CallerModels:input_type -> state.v1.CallerModelsRequest + 67, // 231: state.v1.StateStoreService.FinishStep:input_type -> state.v1.FinishStepRequest + 69, // 232: state.v1.StateStoreService.CancelExecution:input_type -> state.v1.CancelExecutionRequest + 72, // 233: state.v1.StateStoreService.ListSteps:input_type -> state.v1.ListStepsRequest + 75, // 234: state.v1.StateStoreService.GetHarnessSecret:input_type -> state.v1.GetHarnessSecretRequest + 77, // 235: state.v1.StateStoreService.PutHarnessSecret:input_type -> state.v1.PutHarnessSecretRequest + 81, // 236: state.v1.StateStoreService.Requeue:input_type -> state.v1.RequeueRequest + 83, // 237: state.v1.StateStoreService.ParkTask:input_type -> state.v1.ParkTaskRequest + 85, // 238: state.v1.StateStoreService.RecoverStale:input_type -> state.v1.RecoverStaleRequest + 87, // 239: state.v1.StateStoreService.ArchiveTask:input_type -> state.v1.ArchiveTaskRequest + 89, // 240: state.v1.StateStoreService.RetryTask:input_type -> state.v1.RetryTaskRequest + 91, // 241: state.v1.StateStoreService.RespondReviewGate:input_type -> state.v1.RespondReviewGateRequest + 93, // 242: state.v1.StateStoreService.BeginRemediation:input_type -> state.v1.BeginRemediationRequest + 95, // 243: state.v1.StateStoreService.UpdateReviewPayload:input_type -> state.v1.UpdateReviewPayloadRequest + 97, // 244: state.v1.StateStoreService.SetReviewCursors:input_type -> state.v1.SetReviewCursorsRequest + 99, // 245: state.v1.StateStoreService.TaskByIssue:input_type -> state.v1.TaskByIssueRequest + 101, // 246: state.v1.StateStoreService.OpenTaskByPR:input_type -> state.v1.OpenTaskByPRRequest + 103, // 247: state.v1.StateStoreService.TaskByID:input_type -> state.v1.TaskByIDRequest + 105, // 248: state.v1.StateStoreService.OpenPRs:input_type -> state.v1.OpenPRsRequest + 107, // 249: state.v1.StateStoreService.ClearTerminalTasks:input_type -> state.v1.ClearTerminalTasksRequest + 109, // 250: state.v1.StateStoreService.Tasks:input_type -> state.v1.TasksRequest + 111, // 251: state.v1.StateStoreService.StatusCounts:input_type -> state.v1.StatusCountsRequest + 113, // 252: state.v1.StateStoreService.InsertEvent:input_type -> state.v1.InsertEventRequest + 115, // 253: state.v1.StateStoreService.EventsSince:input_type -> state.v1.EventsSinceRequest + 117, // 254: state.v1.StateStoreService.TaskEvents:input_type -> state.v1.TaskEventsRequest + 119, // 255: state.v1.StateStoreService.WorkflowStats:input_type -> state.v1.WorkflowStatsRequest + 121, // 256: state.v1.StateStoreService.StageStats:input_type -> state.v1.StageStatsRequest + 123, // 257: state.v1.StateStoreService.TokensByDay:input_type -> state.v1.TokensByDayRequest + 126, // 258: state.v1.StateStoreService.PutConfigSnapshot:input_type -> state.v1.PutConfigSnapshotRequest + 128, // 259: state.v1.StateStoreService.GetConfigSnapshot:input_type -> state.v1.GetConfigSnapshotRequest + 131, // 260: state.v1.StateStoreService.PutChannelStatus:input_type -> state.v1.PutChannelStatusRequest + 133, // 261: state.v1.StateStoreService.ListChannelStatus:input_type -> state.v1.ListChannelStatusRequest + 136, // 262: state.v1.StateStoreService.PutApplyStatus:input_type -> state.v1.PutApplyStatusRequest + 138, // 263: state.v1.StateStoreService.ListApplyStatus:input_type -> state.v1.ListApplyStatusRequest + 147, // 264: state.v1.StateStoreService.PutPresence:input_type -> state.v1.PutPresenceRequest + 142, // 265: state.v1.StateStoreService.RecordCaptureRefusal:input_type -> state.v1.RecordCaptureRefusalRequest + 144, // 266: state.v1.StateStoreService.ListCaptureRefusals:input_type -> state.v1.ListCaptureRefusalsRequest + 149, // 267: state.v1.StateStoreService.ListPresence:input_type -> state.v1.ListPresenceRequest + 152, // 268: state.v1.StateStoreService.ReadTaskLog:input_type -> state.v1.ReadTaskLogRequest + 154, // 269: state.v1.StateStoreService.StreamTaskLogContent:input_type -> state.v1.StreamTaskLogContentRequest + 156, // 270: state.v1.StateStoreService.InsertCapture:input_type -> state.v1.InsertCaptureRequest + 158, // 271: state.v1.StateStoreService.StreamCaptures:input_type -> state.v1.StreamCapturesRequest + 160, // 272: state.v1.StateStoreService.InsertMapping:input_type -> state.v1.InsertMappingRequest + 162, // 273: state.v1.StateStoreService.GetMapping:input_type -> state.v1.GetMappingRequest + 164, // 274: state.v1.StateStoreService.ListMappings:input_type -> state.v1.ListMappingsRequest + 166, // 275: state.v1.StateStoreService.UpdateMapping:input_type -> state.v1.UpdateMappingRequest + 168, // 276: state.v1.StateStoreService.DeleteMapping:input_type -> state.v1.DeleteMappingRequest + 170, // 277: state.v1.StateStoreService.RecordMappingMatch:input_type -> state.v1.RecordMappingMatchRequest + 172, // 278: state.v1.StateStoreService.InsertEventType:input_type -> state.v1.InsertEventTypeRequest + 174, // 279: state.v1.StateStoreService.UpdateEventType:input_type -> state.v1.UpdateEventTypeRequest + 176, // 280: state.v1.StateStoreService.DeleteEventType:input_type -> state.v1.DeleteEventTypeRequest + 178, // 281: state.v1.StateStoreService.ListEventTypes:input_type -> state.v1.ListEventTypesRequest + 180, // 282: state.v1.StateStoreService.InsertBinding:input_type -> state.v1.InsertBindingRequest + 182, // 283: state.v1.StateStoreService.GetBinding:input_type -> state.v1.GetBindingRequest + 184, // 284: state.v1.StateStoreService.ListBindings:input_type -> state.v1.ListBindingsRequest + 216, // 285: state.v1.StateStoreService.ListDispatches:input_type -> state.v1.ListDispatchesRequest + 186, // 286: state.v1.StateStoreService.UpdateBinding:input_type -> state.v1.UpdateBindingRequest + 188, // 287: state.v1.StateStoreService.DeleteBinding:input_type -> state.v1.DeleteBindingRequest + 190, // 288: state.v1.StateStoreService.ApproveBinding:input_type -> state.v1.ApproveBindingRequest + 198, // 289: state.v1.StateStoreService.PauseBinding:input_type -> state.v1.PauseBindingRequest + 200, // 290: state.v1.StateStoreService.ResumeBinding:input_type -> state.v1.ResumeBindingRequest + 202, // 291: state.v1.StateStoreService.InsertSource:input_type -> state.v1.InsertSourceRequest + 204, // 292: state.v1.StateStoreService.GetSource:input_type -> state.v1.GetSourceRequest + 206, // 293: state.v1.StateStoreService.ListSources:input_type -> state.v1.ListSourcesRequest + 208, // 294: state.v1.StateStoreService.SetSourceSigning:input_type -> state.v1.SetSourceSigningRequest + 210, // 295: state.v1.StateStoreService.SetSourceSecret:input_type -> state.v1.SetSourceSecretRequest + 192, // 296: state.v1.StateStoreService.SetSourceName:input_type -> state.v1.SetSourceNameRequest + 194, // 297: state.v1.StateStoreService.SetSourceDeliveryHeader:input_type -> state.v1.SetSourceDeliveryHeaderRequest + 196, // 298: state.v1.StateStoreService.DeleteSource:input_type -> state.v1.DeleteSourceRequest + 212, // 299: state.v1.StateStoreService.ArmedBindingsForSource:input_type -> state.v1.ArmedBindingsForSourceRequest + 214, // 300: state.v1.StateStoreService.RecordDispatch:input_type -> state.v1.RecordDispatchRequest + 219, // 301: state.v1.StateStoreService.RecordPlaybookDispatch:input_type -> state.v1.RecordPlaybookDispatchRequest + 221, // 302: state.v1.StateStoreService.DeletePlaybookDispatches:input_type -> state.v1.DeletePlaybookDispatchesRequest + 223, // 303: state.v1.StateStoreService.StreamUndispatchedCaptures:input_type -> state.v1.StreamUndispatchedCapturesRequest + 225, // 304: state.v1.StateStoreService.EnqueueBindingTask:input_type -> state.v1.EnqueueBindingTaskRequest + 227, // 305: state.v1.StateStoreService.EnqueueCallTask:input_type -> state.v1.EnqueueCallTaskRequest + 229, // 306: state.v1.StateStoreService.WorkflowCallStatus:input_type -> state.v1.WorkflowCallStatusRequest + 257, // 307: state.v1.StateStoreService.GetPrincipal:input_type -> state.v1.GetPrincipalRequest + 263, // 308: state.v1.StateStoreService.ListPolicies:input_type -> state.v1.ListPoliciesRequest + 265, // 309: state.v1.StateStoreService.PutPolicy:input_type -> state.v1.PutPolicyRequest + 267, // 310: state.v1.StateStoreService.DeletePolicy:input_type -> state.v1.DeletePolicyRequest + 269, // 311: state.v1.StateStoreService.EnsureShippedOrgPolicies:input_type -> state.v1.EnsureShippedOrgPoliciesRequest + 272, // 312: state.v1.StateStoreService.RecordDenial:input_type -> state.v1.RecordDenialRequest + 274, // 313: state.v1.StateStoreService.ListDenials:input_type -> state.v1.ListDenialsRequest + 279, // 314: state.v1.StateStoreService.ListOrgs:input_type -> state.v1.ListOrgsRequest + 281, // 315: state.v1.StateStoreService.GetOrg:input_type -> state.v1.GetOrgRequest + 283, // 316: state.v1.StateStoreService.CreateOrg:input_type -> state.v1.CreateOrgRequest + 285, // 317: state.v1.StateStoreService.ListWorkspaces:input_type -> state.v1.ListWorkspacesRequest + 287, // 318: state.v1.StateStoreService.CreateWorkspace:input_type -> state.v1.CreateWorkspaceRequest + 289, // 319: state.v1.StateStoreService.ListMembers:input_type -> state.v1.ListMembersRequest + 291, // 320: state.v1.StateStoreService.SetMembership:input_type -> state.v1.SetMembershipRequest + 293, // 321: state.v1.StateStoreService.RemoveMembership:input_type -> state.v1.RemoveMembershipRequest + 357, // 322: state.v1.StateStoreService.ListOrgAgents:input_type -> state.v1.ListOrgAgentsRequest + 295, // 323: state.v1.StateStoreService.AssignAgent:input_type -> state.v1.AssignAgentRequest + 310, // 324: state.v1.StateStoreService.RaiseAlert:input_type -> state.v1.RaiseAlertRequest + 312, // 325: state.v1.StateStoreService.ResolveAlert:input_type -> state.v1.ResolveAlertRequest + 314, // 326: state.v1.StateStoreService.DismissAlert:input_type -> state.v1.DismissAlertRequest + 316, // 327: state.v1.StateStoreService.ListAlerts:input_type -> state.v1.ListAlertsRequest + 318, // 328: state.v1.StateStoreService.ClaimAlertDeliveries:input_type -> state.v1.ClaimAlertDeliveriesRequest + 321, // 329: state.v1.StateStoreService.RecordAlertAttempt:input_type -> state.v1.RecordAlertAttemptRequest + 298, // 330: state.v1.StateStoreService.RecentLogs:output_type -> state.v1.RecentLogsResponse + 235, // 331: state.v1.StateStoreService.InstallPackage:output_type -> state.v1.InstallPackageResponse + 238, // 332: state.v1.StateStoreService.ListCatalogue:output_type -> state.v1.ListCatalogueResponse + 240, // 333: state.v1.StateStoreService.InstallFromCatalogue:output_type -> state.v1.InstallFromCatalogueResponse + 242, // 334: state.v1.StateStoreService.GetInstalledPackage:output_type -> state.v1.GetInstalledPackageResponse + 244, // 335: state.v1.StateStoreService.ListInstalledPackages:output_type -> state.v1.ListInstalledPackagesResponse + 246, // 336: state.v1.StateStoreService.AcceptPackageAuthority:output_type -> state.v1.AcceptPackageAuthorityResponse + 248, // 337: state.v1.StateStoreService.RemoveInstalledPackage:output_type -> state.v1.RemoveInstalledPackageResponse + 250, // 338: state.v1.StateStoreService.UpdatePackage:output_type -> state.v1.UpdatePackageResponse + 252, // 339: state.v1.StateStoreService.ApprovePackageUpdate:output_type -> state.v1.ApprovePackageUpdateResponse + 254, // 340: state.v1.StateStoreService.RollbackPackage:output_type -> state.v1.RollbackPackageResponse + 256, // 341: state.v1.StateStoreService.SetPackageUpdatePolicy:output_type -> state.v1.SetPackageUpdatePolicyResponse + 1, // 342: state.v1.StateStoreService.RegisterTaskGrant:output_type -> state.v1.RegisterTaskGrantResponse + 3, // 343: state.v1.StateStoreService.RevokeTaskGrant:output_type -> state.v1.RevokeTaskGrantResponse + 5, // 344: state.v1.StateStoreService.ResolveTaskGrant:output_type -> state.v1.ResolveTaskGrantResponse + 9, // 345: state.v1.StateStoreService.ListIdentities:output_type -> state.v1.ListIdentitiesResponse + 337, // 346: state.v1.StateStoreService.GetAuthenticationSettings:output_type -> state.v1.GetAuthenticationSettingsResponse + 339, // 347: state.v1.StateStoreService.SaveAuthenticationSettings:output_type -> state.v1.SaveAuthenticationSettingsResponse + 341, // 348: state.v1.StateStoreService.BeginPasskey:output_type -> state.v1.BeginPasskeyResponse + 343, // 349: state.v1.StateStoreService.FinishPasskey:output_type -> state.v1.FinishPasskeyResponse + 346, // 350: state.v1.StateStoreService.ListPasskeys:output_type -> state.v1.ListPasskeysResponse + 348, // 351: state.v1.StateStoreService.DeletePasskey:output_type -> state.v1.DeletePasskeyResponse + 350, // 352: state.v1.StateStoreService.OpenAccountSession:output_type -> state.v1.OpenAccountSessionResponse + 352, // 353: state.v1.StateStoreService.RequireFreshAccountSession:output_type -> state.v1.RequireFreshAccountSessionResponse + 354, // 354: state.v1.StateStoreService.CreateAccountRecovery:output_type -> state.v1.CreateAccountRecoveryResponse + 356, // 355: state.v1.StateStoreService.RecoverAccount:output_type -> state.v1.RecoverAccountResponse + 324, // 356: state.v1.StateStoreService.AccountSetup:output_type -> state.v1.AccountSetupResponse + 326, // 357: state.v1.StateStoreService.RegisterAccount:output_type -> state.v1.RegisterAccountResponse + 328, // 358: state.v1.StateStoreService.SignInAccount:output_type -> state.v1.SignInAccountResponse + 330, // 359: state.v1.StateStoreService.ResolveAccountSession:output_type -> state.v1.ResolveAccountSessionResponse + 332, // 360: state.v1.StateStoreService.SignOutAccount:output_type -> state.v1.SignOutAccountResponse + 334, // 361: state.v1.StateStoreService.ChangeAccountPassword:output_type -> state.v1.ChangeAccountPasswordResponse + 11, // 362: state.v1.StateStoreService.GetIdentity:output_type -> state.v1.GetIdentityResponse + 17, // 363: state.v1.StateStoreService.CreateIdentity:output_type -> state.v1.CreateIdentityResponse + 18, // 364: state.v1.StateStoreService.RenameIdentity:output_type -> state.v1.RenameIdentityResponse + 19, // 365: state.v1.StateStoreService.SuspendIdentity:output_type -> state.v1.SuspendIdentityResponse + 20, // 366: state.v1.StateStoreService.ReactivateIdentity:output_type -> state.v1.ReactivateIdentityResponse + 21, // 367: state.v1.StateStoreService.RetireIdentity:output_type -> state.v1.RetireIdentityResponse + 23, // 368: state.v1.StateStoreService.ResolveIdentitySubject:output_type -> state.v1.ResolveIdentitySubjectResponse + 25, // 369: state.v1.StateStoreService.BindIdentitySubject:output_type -> state.v1.BindIdentitySubjectResponse + 27, // 370: state.v1.StateStoreService.ClaimIdentitySubject:output_type -> state.v1.ClaimIdentitySubjectResponse + 30, // 371: state.v1.StateStoreService.AddPersonalToken:output_type -> state.v1.AddPersonalTokenResponse + 32, // 372: state.v1.StateStoreService.ListPersonalTokens:output_type -> state.v1.ListPersonalTokensResponse + 34, // 373: state.v1.StateStoreService.RevokePersonalToken:output_type -> state.v1.RevokePersonalTokenResponse + 50, // 374: state.v1.StateStoreService.EnqueueIssue:output_type -> state.v1.EnqueueIssueResponse + 58, // 375: state.v1.StateStoreService.EnqueueChatTask:output_type -> state.v1.EnqueueChatTaskResponse + 52, // 376: state.v1.StateStoreService.ActiveTasksByOrigin:output_type -> state.v1.ActiveTasksByOriginResponse + 54, // 377: state.v1.StateStoreService.UnpostedOutcomes:output_type -> state.v1.UnpostedOutcomesResponse + 56, // 378: state.v1.StateStoreService.MarkOutcomePosted:output_type -> state.v1.MarkOutcomePostedResponse + 60, // 379: state.v1.StateStoreService.ClaimNext:output_type -> state.v1.ClaimNextResponse + 62, // 380: state.v1.StateStoreService.ClaimByIssue:output_type -> state.v1.ClaimByIssueResponse + 64, // 381: state.v1.StateStoreService.Transition:output_type -> state.v1.TransitionResponse + 80, // 382: state.v1.StateStoreService.Update:output_type -> state.v1.UpdateResponse + 66, // 383: state.v1.StateStoreService.StartStep:output_type -> state.v1.StartStepResponse + 301, // 384: state.v1.StateStoreService.RecordUsage:output_type -> state.v1.RecordUsageResponse + 303, // 385: state.v1.StateStoreService.TaskModels:output_type -> state.v1.TaskModelsResponse + 306, // 386: state.v1.StateStoreService.CallerModels:output_type -> state.v1.CallerModelsResponse + 68, // 387: state.v1.StateStoreService.FinishStep:output_type -> state.v1.FinishStepResponse + 70, // 388: state.v1.StateStoreService.CancelExecution:output_type -> state.v1.CancelExecutionResponse + 73, // 389: state.v1.StateStoreService.ListSteps:output_type -> state.v1.ListStepsResponse + 76, // 390: state.v1.StateStoreService.GetHarnessSecret:output_type -> state.v1.GetHarnessSecretResponse + 78, // 391: state.v1.StateStoreService.PutHarnessSecret:output_type -> state.v1.PutHarnessSecretResponse + 82, // 392: state.v1.StateStoreService.Requeue:output_type -> state.v1.RequeueResponse + 84, // 393: state.v1.StateStoreService.ParkTask:output_type -> state.v1.ParkTaskResponse + 86, // 394: state.v1.StateStoreService.RecoverStale:output_type -> state.v1.RecoverStaleResponse + 88, // 395: state.v1.StateStoreService.ArchiveTask:output_type -> state.v1.ArchiveTaskResponse + 90, // 396: state.v1.StateStoreService.RetryTask:output_type -> state.v1.RetryTaskResponse + 92, // 397: state.v1.StateStoreService.RespondReviewGate:output_type -> state.v1.RespondReviewGateResponse + 94, // 398: state.v1.StateStoreService.BeginRemediation:output_type -> state.v1.BeginRemediationResponse + 96, // 399: state.v1.StateStoreService.UpdateReviewPayload:output_type -> state.v1.UpdateReviewPayloadResponse + 98, // 400: state.v1.StateStoreService.SetReviewCursors:output_type -> state.v1.SetReviewCursorsResponse + 100, // 401: state.v1.StateStoreService.TaskByIssue:output_type -> state.v1.TaskByIssueResponse + 102, // 402: state.v1.StateStoreService.OpenTaskByPR:output_type -> state.v1.OpenTaskByPRResponse + 104, // 403: state.v1.StateStoreService.TaskByID:output_type -> state.v1.TaskByIDResponse + 106, // 404: state.v1.StateStoreService.OpenPRs:output_type -> state.v1.OpenPRsResponse + 108, // 405: state.v1.StateStoreService.ClearTerminalTasks:output_type -> state.v1.ClearTerminalTasksResponse + 110, // 406: state.v1.StateStoreService.Tasks:output_type -> state.v1.TasksResponse + 112, // 407: state.v1.StateStoreService.StatusCounts:output_type -> state.v1.StatusCountsResponse + 114, // 408: state.v1.StateStoreService.InsertEvent:output_type -> state.v1.InsertEventResponse + 116, // 409: state.v1.StateStoreService.EventsSince:output_type -> state.v1.EventsSinceResponse + 118, // 410: state.v1.StateStoreService.TaskEvents:output_type -> state.v1.TaskEventsResponse + 120, // 411: state.v1.StateStoreService.WorkflowStats:output_type -> state.v1.WorkflowStatsResponse + 122, // 412: state.v1.StateStoreService.StageStats:output_type -> state.v1.StageStatsResponse + 124, // 413: state.v1.StateStoreService.TokensByDay:output_type -> state.v1.TokensByDayResponse + 127, // 414: state.v1.StateStoreService.PutConfigSnapshot:output_type -> state.v1.PutConfigSnapshotResponse + 129, // 415: state.v1.StateStoreService.GetConfigSnapshot:output_type -> state.v1.GetConfigSnapshotResponse + 132, // 416: state.v1.StateStoreService.PutChannelStatus:output_type -> state.v1.PutChannelStatusResponse + 134, // 417: state.v1.StateStoreService.ListChannelStatus:output_type -> state.v1.ListChannelStatusResponse + 137, // 418: state.v1.StateStoreService.PutApplyStatus:output_type -> state.v1.PutApplyStatusResponse + 139, // 419: state.v1.StateStoreService.ListApplyStatus:output_type -> state.v1.ListApplyStatusResponse + 148, // 420: state.v1.StateStoreService.PutPresence:output_type -> state.v1.PutPresenceResponse + 143, // 421: state.v1.StateStoreService.RecordCaptureRefusal:output_type -> state.v1.RecordCaptureRefusalResponse + 146, // 422: state.v1.StateStoreService.ListCaptureRefusals:output_type -> state.v1.ListCaptureRefusalsResponse + 150, // 423: state.v1.StateStoreService.ListPresence:output_type -> state.v1.ListPresenceResponse + 153, // 424: state.v1.StateStoreService.ReadTaskLog:output_type -> state.v1.ReadTaskLogResponse + 155, // 425: state.v1.StateStoreService.StreamTaskLogContent:output_type -> state.v1.StreamTaskLogContentResponse + 157, // 426: state.v1.StateStoreService.InsertCapture:output_type -> state.v1.InsertCaptureResponse + 159, // 427: state.v1.StateStoreService.StreamCaptures:output_type -> state.v1.StreamCapturesResponse + 161, // 428: state.v1.StateStoreService.InsertMapping:output_type -> state.v1.InsertMappingResponse + 163, // 429: state.v1.StateStoreService.GetMapping:output_type -> state.v1.GetMappingResponse + 165, // 430: state.v1.StateStoreService.ListMappings:output_type -> state.v1.ListMappingsResponse + 167, // 431: state.v1.StateStoreService.UpdateMapping:output_type -> state.v1.UpdateMappingResponse + 169, // 432: state.v1.StateStoreService.DeleteMapping:output_type -> state.v1.DeleteMappingResponse + 171, // 433: state.v1.StateStoreService.RecordMappingMatch:output_type -> state.v1.RecordMappingMatchResponse + 173, // 434: state.v1.StateStoreService.InsertEventType:output_type -> state.v1.InsertEventTypeResponse + 175, // 435: state.v1.StateStoreService.UpdateEventType:output_type -> state.v1.UpdateEventTypeResponse + 177, // 436: state.v1.StateStoreService.DeleteEventType:output_type -> state.v1.DeleteEventTypeResponse + 179, // 437: state.v1.StateStoreService.ListEventTypes:output_type -> state.v1.ListEventTypesResponse + 181, // 438: state.v1.StateStoreService.InsertBinding:output_type -> state.v1.InsertBindingResponse + 183, // 439: state.v1.StateStoreService.GetBinding:output_type -> state.v1.GetBindingResponse + 185, // 440: state.v1.StateStoreService.ListBindings:output_type -> state.v1.ListBindingsResponse + 218, // 441: state.v1.StateStoreService.ListDispatches:output_type -> state.v1.ListDispatchesResponse + 187, // 442: state.v1.StateStoreService.UpdateBinding:output_type -> state.v1.UpdateBindingResponse + 189, // 443: state.v1.StateStoreService.DeleteBinding:output_type -> state.v1.DeleteBindingResponse + 191, // 444: state.v1.StateStoreService.ApproveBinding:output_type -> state.v1.ApproveBindingResponse + 199, // 445: state.v1.StateStoreService.PauseBinding:output_type -> state.v1.PauseBindingResponse + 201, // 446: state.v1.StateStoreService.ResumeBinding:output_type -> state.v1.ResumeBindingResponse + 203, // 447: state.v1.StateStoreService.InsertSource:output_type -> state.v1.InsertSourceResponse + 205, // 448: state.v1.StateStoreService.GetSource:output_type -> state.v1.GetSourceResponse + 207, // 449: state.v1.StateStoreService.ListSources:output_type -> state.v1.ListSourcesResponse + 209, // 450: state.v1.StateStoreService.SetSourceSigning:output_type -> state.v1.SetSourceSigningResponse + 211, // 451: state.v1.StateStoreService.SetSourceSecret:output_type -> state.v1.SetSourceSecretResponse + 193, // 452: state.v1.StateStoreService.SetSourceName:output_type -> state.v1.SetSourceNameResponse + 195, // 453: state.v1.StateStoreService.SetSourceDeliveryHeader:output_type -> state.v1.SetSourceDeliveryHeaderResponse + 197, // 454: state.v1.StateStoreService.DeleteSource:output_type -> state.v1.DeleteSourceResponse + 213, // 455: state.v1.StateStoreService.ArmedBindingsForSource:output_type -> state.v1.ArmedBindingsForSourceResponse + 215, // 456: state.v1.StateStoreService.RecordDispatch:output_type -> state.v1.RecordDispatchResponse + 220, // 457: state.v1.StateStoreService.RecordPlaybookDispatch:output_type -> state.v1.RecordPlaybookDispatchResponse + 222, // 458: state.v1.StateStoreService.DeletePlaybookDispatches:output_type -> state.v1.DeletePlaybookDispatchesResponse + 224, // 459: state.v1.StateStoreService.StreamUndispatchedCaptures:output_type -> state.v1.StreamUndispatchedCapturesResponse + 226, // 460: state.v1.StateStoreService.EnqueueBindingTask:output_type -> state.v1.EnqueueBindingTaskResponse + 228, // 461: state.v1.StateStoreService.EnqueueCallTask:output_type -> state.v1.EnqueueCallTaskResponse + 230, // 462: state.v1.StateStoreService.WorkflowCallStatus:output_type -> state.v1.WorkflowCallStatusResponse + 261, // 463: state.v1.StateStoreService.GetPrincipal:output_type -> state.v1.GetPrincipalResponse + 264, // 464: state.v1.StateStoreService.ListPolicies:output_type -> state.v1.ListPoliciesResponse + 266, // 465: state.v1.StateStoreService.PutPolicy:output_type -> state.v1.PutPolicyResponse + 268, // 466: state.v1.StateStoreService.DeletePolicy:output_type -> state.v1.DeletePolicyResponse + 270, // 467: state.v1.StateStoreService.EnsureShippedOrgPolicies:output_type -> state.v1.EnsureShippedOrgPoliciesResponse + 273, // 468: state.v1.StateStoreService.RecordDenial:output_type -> state.v1.RecordDenialResponse + 275, // 469: state.v1.StateStoreService.ListDenials:output_type -> state.v1.ListDenialsResponse + 280, // 470: state.v1.StateStoreService.ListOrgs:output_type -> state.v1.ListOrgsResponse + 282, // 471: state.v1.StateStoreService.GetOrg:output_type -> state.v1.GetOrgResponse + 284, // 472: state.v1.StateStoreService.CreateOrg:output_type -> state.v1.CreateOrgResponse + 286, // 473: state.v1.StateStoreService.ListWorkspaces:output_type -> state.v1.ListWorkspacesResponse + 288, // 474: state.v1.StateStoreService.CreateWorkspace:output_type -> state.v1.CreateWorkspaceResponse + 290, // 475: state.v1.StateStoreService.ListMembers:output_type -> state.v1.ListMembersResponse + 292, // 476: state.v1.StateStoreService.SetMembership:output_type -> state.v1.SetMembershipResponse + 294, // 477: state.v1.StateStoreService.RemoveMembership:output_type -> state.v1.RemoveMembershipResponse + 359, // 478: state.v1.StateStoreService.ListOrgAgents:output_type -> state.v1.ListOrgAgentsResponse + 296, // 479: state.v1.StateStoreService.AssignAgent:output_type -> state.v1.AssignAgentResponse + 311, // 480: state.v1.StateStoreService.RaiseAlert:output_type -> state.v1.RaiseAlertResponse + 313, // 481: state.v1.StateStoreService.ResolveAlert:output_type -> state.v1.ResolveAlertResponse + 315, // 482: state.v1.StateStoreService.DismissAlert:output_type -> state.v1.DismissAlertResponse + 317, // 483: state.v1.StateStoreService.ListAlerts:output_type -> state.v1.ListAlertsResponse + 320, // 484: state.v1.StateStoreService.ClaimAlertDeliveries:output_type -> state.v1.ClaimAlertDeliveriesResponse + 322, // 485: state.v1.StateStoreService.RecordAlertAttempt:output_type -> state.v1.RecordAlertAttemptResponse + 330, // [330:486] is the sub-list for method output_type + 174, // [174:330] is the sub-list for method input_type + 174, // [174:174] is the sub-list for extension type_name + 174, // [174:174] is the sub-list for extension extendee + 0, // [0:174] is the sub-list for field type_name } func init() { file_state_v1_state_proto_init() } @@ -21541,7 +21706,7 @@ func file_state_v1_state_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_state_v1_state_proto_rawDesc), len(file_state_v1_state_proto_rawDesc)), NumEnums: 0, - NumMessages: 362, + NumMessages: 365, NumExtensions: 0, NumServices: 1, }, diff --git a/internal/contracts/state/v1/state_grpc.pb.go b/internal/contracts/state/v1/state_grpc.pb.go index e7a60fce3..e9750c046 100644 --- a/internal/contracts/state/v1/state_grpc.pb.go +++ b/internal/contracts/state/v1/state_grpc.pb.go @@ -167,6 +167,7 @@ const ( StateStoreService_ListMembers_FullMethodName = "/state.v1.StateStoreService/ListMembers" StateStoreService_SetMembership_FullMethodName = "/state.v1.StateStoreService/SetMembership" StateStoreService_RemoveMembership_FullMethodName = "/state.v1.StateStoreService/RemoveMembership" + StateStoreService_ListOrgAgents_FullMethodName = "/state.v1.StateStoreService/ListOrgAgents" StateStoreService_AssignAgent_FullMethodName = "/state.v1.StateStoreService/AssignAgent" StateStoreService_RaiseAlert_FullMethodName = "/state.v1.StateStoreService/RaiseAlert" StateStoreService_ResolveAlert_FullMethodName = "/state.v1.StateStoreService/ResolveAlert" @@ -450,6 +451,7 @@ type StateStoreServiceClient interface { ListMembers(ctx context.Context, in *ListMembersRequest, opts ...grpc.CallOption) (*ListMembersResponse, error) SetMembership(ctx context.Context, in *SetMembershipRequest, opts ...grpc.CallOption) (*SetMembershipResponse, error) RemoveMembership(ctx context.Context, in *RemoveMembershipRequest, opts ...grpc.CallOption) (*RemoveMembershipResponse, error) + ListOrgAgents(ctx context.Context, in *ListOrgAgentsRequest, opts ...grpc.CallOption) (*ListOrgAgentsResponse, error) AssignAgent(ctx context.Context, in *AssignAgentRequest, opts ...grpc.CallOption) (*AssignAgentResponse, error) // Operator alerts (internal/domain/alert). A caller acting for a principal // reads, dismisses and raises only in that principal's org; a request org is @@ -1980,6 +1982,16 @@ func (c *stateStoreServiceClient) RemoveMembership(ctx context.Context, in *Remo return out, nil } +func (c *stateStoreServiceClient) ListOrgAgents(ctx context.Context, in *ListOrgAgentsRequest, opts ...grpc.CallOption) (*ListOrgAgentsResponse, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(ListOrgAgentsResponse) + err := c.cc.Invoke(ctx, StateStoreService_ListOrgAgents_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *stateStoreServiceClient) AssignAgent(ctx context.Context, in *AssignAgentRequest, opts ...grpc.CallOption) (*AssignAgentResponse, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(AssignAgentResponse) @@ -2324,6 +2336,7 @@ type StateStoreServiceServer interface { ListMembers(context.Context, *ListMembersRequest) (*ListMembersResponse, error) SetMembership(context.Context, *SetMembershipRequest) (*SetMembershipResponse, error) RemoveMembership(context.Context, *RemoveMembershipRequest) (*RemoveMembershipResponse, error) + ListOrgAgents(context.Context, *ListOrgAgentsRequest) (*ListOrgAgentsResponse, error) AssignAgent(context.Context, *AssignAgentRequest) (*AssignAgentResponse, error) // Operator alerts (internal/domain/alert). A caller acting for a principal // reads, dismisses and raises only in that principal's org; a request org is @@ -2791,6 +2804,9 @@ func (UnimplementedStateStoreServiceServer) SetMembership(context.Context, *SetM func (UnimplementedStateStoreServiceServer) RemoveMembership(context.Context, *RemoveMembershipRequest) (*RemoveMembershipResponse, error) { return nil, status.Error(codes.Unimplemented, "method RemoveMembership not implemented") } +func (UnimplementedStateStoreServiceServer) ListOrgAgents(context.Context, *ListOrgAgentsRequest) (*ListOrgAgentsResponse, error) { + return nil, status.Error(codes.Unimplemented, "method ListOrgAgents not implemented") +} func (UnimplementedStateStoreServiceServer) AssignAgent(context.Context, *AssignAgentRequest) (*AssignAgentResponse, error) { return nil, status.Error(codes.Unimplemented, "method AssignAgent not implemented") } @@ -5476,6 +5492,24 @@ func _StateStoreService_RemoveMembership_Handler(srv interface{}, ctx context.Co return interceptor(ctx, in, info, handler) } +func _StateStoreService_ListOrgAgents_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListOrgAgentsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(StateStoreServiceServer).ListOrgAgents(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: StateStoreService_ListOrgAgents_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(StateStoreServiceServer).ListOrgAgents(ctx, req.(*ListOrgAgentsRequest)) + } + return interceptor(ctx, in, info, handler) +} + func _StateStoreService_AssignAgent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(AssignAgentRequest) if err := dec(in); err != nil { @@ -6189,6 +6223,10 @@ var StateStoreService_ServiceDesc = grpc.ServiceDesc{ MethodName: "RemoveMembership", Handler: _StateStoreService_RemoveMembership_Handler, }, + { + MethodName: "ListOrgAgents", + Handler: _StateStoreService_ListOrgAgents_Handler, + }, { MethodName: "AssignAgent", Handler: _StateStoreService_AssignAgent_Handler,