Files
kandev/apps/backend/proto/kandev/plugin/v1/plugin.pb.go
T
João Salavisa fae2303db3 feat(plugins): per-plugin settings pages driven by manifest config_schema (#1761)
* feat(plugins): per-plugin settings pages driven by manifest config_schema

Settings > Plugins rows now open /settings/plugins/:id — a detail page
showing the manifest plus a settings form generated from the plugin
author's config_schema. Secret fields (secret: true / format: password)
are masked on the operator API and kept on masked re-submits; a running
plugin restarts on save and reads its config (cleartext secrets included)
through the new Host GetConfig gRPC RPC.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* fix(plugins): write plugin config file owner-only (0600)

Operator config can now carry cleartext secret values (config_schema
fields marked secret), so <id>.config.yml must not be world-readable —
match the 0600 mode the record file already uses.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* feat(plugins): vault-backed plugin secrets — Get/Set/DeleteSecret RPCs and encrypted config secrets

Plugins get vault-backed secret primitives on the Host API
(GetSecret/SetSecret/DeleteSecret, capability-gated, namespaced to
plugin:<id>㊙️<key> so a plugin can only touch its own entries;
purged on uninstall). Secret config_schema fields now live in kandev's
AES-256-GCM vault too — <id>.config.yml persists only a vault reference,
and the Host GetConfig RPC resolves it back to cleartext for the plugin.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* chore(plugins): serve PR screenshots from the media/pr-1761-screenshots ref instead of the repo

The PR body now points at raw URLs pinned to an unmerged media ref, so
the binaries never land in main (PRs are squash-merged; only the branch
tip tree merges).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* fix(plugins): address review feedback on settings validation and save flow

- integer form fields reject non-integral input instead of parseInt-truncating
- enum selections keep their schema-declared types (numeric enums round-trip)
- backend enum validation normalizes int-vs-float64 before comparison
- maskSecrets masks any non-zero secret value regardless of runtime type
- save flow splits PATCH from refetch: a refetch failure no longer reports a
  successful save as an error, and typed secrets are masked on screen
- optional enum fields gain a 'Not set' option so they can be cleared
- resolveConfigSecrets copies before mutating; restart-failure SetStatus
  errors are logged; SDK test fake returns a non-nil empty config map
- add missing tests: usePluginConfigForm hook, getPluginConfig client,
  integer/enum regression cases

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* fix(plugins): harden secret config invariants from review

- reject non-string values on declared secret fields at validation time,
  closing the path where a numeric/boolean secret bypassed the vault and
  persisted cleartext in the config file
- delete removed secret fields' vault entries only AFTER the config commit
  succeeds, so a failed SetConfig never leaves the still-current config
  referencing a deleted vault entry
- uninstall fails closed: the plugin's vault namespace is purged before any
  destructive step, and a cleanup failure aborts the uninstall (retryable)
  instead of letting a reinstall inherit stale secrets

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* fix(plugins): failure-atomic config secrets, quiesced uninstall purge, ctx propagation

- UpdateConfig is now failure-atomic for secret overwrites: storeConfigSecrets
  snapshots each vault entry before writing and returns a rollback that
  restores prior values (or deletes newly-created ones). A vault.Set failure
  mid-loop or a failed SetConfig commit rolls back, so a request reported as
  failed never changes the value a still-current config ref resolves to.
- Uninstall stops the plugin process BEFORE purging its vault namespace, so
  the plugin can no longer race the cleanup with a SetSecret between ListIDs
  and the deletes; the purge stays fail-closed and retryable.
- Thread the request context through Uninstall -> deletePluginSecrets instead
  of context.Background(), per the pass-context-through-chains convention.
- Consolidate the 'secret not found:' prefix check into isSecretNotFound
  (host.go + service rollback share one definition).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* fix(plugins): detach rollback context, fail closed without a vault, reconcile uninstall status

- vault rollback closures now run on context.WithoutCancel(ctx): a request
  cancelled mid-save (browser closed) can no longer abort the rollback and
  leave the vault holding new values while the unchanged config still points
  at them (Greptile P1).
- storeConfigSecrets fails closed (errSecretVaultRequired) when a plugin
  declares secret config fields but no vault is wired, instead of silently
  persisting the secret in cleartext.
- vaultRestoreFunc distinguishes not-found from a genuine Reveal error: a
  backend read failure aborts the update before writing rather than risk a
  rollback that deletes a real secret; rollback now returns errors, joined
  into UpdateConfig's failure so an inconsistent vault is surfaced, not just
  logged.
- Uninstall reconciles lifecycle status when a secret-purge failure aborts
  after the process was stopped: a previously-running plugin transitions to
  error and notifies observers instead of being reported active with no
  process running.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* fix(plugins): detach removed-secret cleanup ctx and clear stale save dirty flag

- cleanupRemovedConfigSecrets now runs on context.WithoutCancel(ctx), matching
  the rollback path, so a client disconnect right after the config commit can
  no longer cancel the delete and orphan now-unreferenced vault entries.
- tests: assert GetConfig succeeds before treating an empty map as proof that
  nothing persisted (a swallowed read error would be a false pass).
- web: on a post-save refetch failure, rebase initialValues onto the masked
  snapshot so the saved form no longer reads as dirty.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* fix(plugins): fail tests on discarded GetConfig errors, drop setState-in-updater

- config_test: capture and fatal on GetConfig errors at the four remaining
  positive-assertion sites (a nil from a failed read would panic on the next
  map access instead of giving a clear failure), matching the earlier fix.
- web hook: compute the masked post-save snapshot from the current values and
  apply it to setValues + setInitialValues directly, instead of calling
  setInitialValues inside a setValues functional updater (a React anti-pattern
  that runs twice under StrictMode).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* fix(plugins): skip validation of a secret field's own vault ref

- validateConfigSchema takes the plugin id and skips a secret field whose
  value is that field's config vault ref (an internal storage marker,
  already validated when first set). Without this, a field declaring both
  secret: true and enum: [...] 400s on every save that keeps the mask,
  because the enum check saw the vault ref instead of a user value. Freshly
  entered secret values are still validated; a foreign plugin's ref is not
  skipped. Covered by unit + service-level regression tests.
- surface mid-loop vault rollback failures in storeConfigSecrets via a
  warning instead of discarding them (double-fault observability).
- web: integer inputs get step=1 so browsers flag non-integral input in
  place (serializeConfigValues remains the backstop).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* test(plugins): split config secret tests into config_secrets_test.go

config_test.go had grown past the 800-line backend file-length limit
(revive), failing CI lint. Move the vault-backed config and plugin-scoped
secret tests (plus their fake-vault/store helpers) into a sibling file;
no test logic changes.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

---------

Co-authored-by: Kandev Agent <agent@kandev.dev>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-07-17 22:13:58 +01:00

4439 lines
141 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.11
// protoc (unknown)
// source: kandev/plugin/v1/plugin.proto
package pluginv1
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
structpb "google.golang.org/protobuf/types/known/structpb"
reflect "reflect"
sync "sync"
unsafe "unsafe"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
type Event struct {
state protoimpl.MessageState `protogen:"open.v1"`
EventId string `protobuf:"bytes,1,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"` // fresh uuid per delivery
EventType string `protobuf:"bytes,2,opt,name=event_type,json=eventType,proto3" json:"event_type,omitempty"` // bus subject, e.g. "task.created"
OccurredAt string `protobuf:"bytes,3,opt,name=occurred_at,json=occurredAt,proto3" json:"occurred_at,omitempty"` // RFC3339 UTC
WorkspaceId string `protobuf:"bytes,4,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"` // empty if not derivable
Payload *structpb.Struct `protobuf:"bytes,5,opt,name=payload,proto3" json:"payload,omitempty"` // marshaled bus event.Data
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Event) Reset() {
*x = Event{}
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Event) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Event) ProtoMessage() {}
func (x *Event) ProtoReflect() protoreflect.Message {
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[0]
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 Event.ProtoReflect.Descriptor instead.
func (*Event) Descriptor() ([]byte, []int) {
return file_kandev_plugin_v1_plugin_proto_rawDescGZIP(), []int{0}
}
func (x *Event) GetEventId() string {
if x != nil {
return x.EventId
}
return ""
}
func (x *Event) GetEventType() string {
if x != nil {
return x.EventType
}
return ""
}
func (x *Event) GetOccurredAt() string {
if x != nil {
return x.OccurredAt
}
return ""
}
func (x *Event) GetWorkspaceId() string {
if x != nil {
return x.WorkspaceId
}
return ""
}
func (x *Event) GetPayload() *structpb.Struct {
if x != nil {
return x.Payload
}
return nil
}
type EventAck struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *EventAck) Reset() {
*x = EventAck{}
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *EventAck) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*EventAck) ProtoMessage() {}
func (x *EventAck) ProtoReflect() protoreflect.Message {
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[1]
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 EventAck.ProtoReflect.Descriptor instead.
func (*EventAck) Descriptor() ([]byte, []int) {
return file_kandev_plugin_v1_plugin_proto_rawDescGZIP(), []int{1}
}
type ToolRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
ToolCallId string `protobuf:"bytes,1,opt,name=tool_call_id,json=toolCallId,proto3" json:"tool_call_id,omitempty"`
ToolName string `protobuf:"bytes,2,opt,name=tool_name,json=toolName,proto3" json:"tool_name,omitempty"`
Input *structpb.Struct `protobuf:"bytes,3,opt,name=input,proto3" json:"input,omitempty"`
Context *ToolContext `protobuf:"bytes,4,opt,name=context,proto3" json:"context,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ToolRequest) Reset() {
*x = ToolRequest{}
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ToolRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ToolRequest) ProtoMessage() {}
func (x *ToolRequest) ProtoReflect() protoreflect.Message {
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[2]
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 ToolRequest.ProtoReflect.Descriptor instead.
func (*ToolRequest) Descriptor() ([]byte, []int) {
return file_kandev_plugin_v1_plugin_proto_rawDescGZIP(), []int{2}
}
func (x *ToolRequest) GetToolCallId() string {
if x != nil {
return x.ToolCallId
}
return ""
}
func (x *ToolRequest) GetToolName() string {
if x != nil {
return x.ToolName
}
return ""
}
func (x *ToolRequest) GetInput() *structpb.Struct {
if x != nil {
return x.Input
}
return nil
}
func (x *ToolRequest) GetContext() *ToolContext {
if x != nil {
return x.Context
}
return nil
}
type ToolContext struct {
state protoimpl.MessageState `protogen:"open.v1"`
TaskId string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
AgentInstanceId string `protobuf:"bytes,2,opt,name=agent_instance_id,json=agentInstanceId,proto3" json:"agent_instance_id,omitempty"`
SessionId string `protobuf:"bytes,3,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ToolContext) Reset() {
*x = ToolContext{}
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ToolContext) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ToolContext) ProtoMessage() {}
func (x *ToolContext) ProtoReflect() protoreflect.Message {
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[3]
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 ToolContext.ProtoReflect.Descriptor instead.
func (*ToolContext) Descriptor() ([]byte, []int) {
return file_kandev_plugin_v1_plugin_proto_rawDescGZIP(), []int{3}
}
func (x *ToolContext) GetTaskId() string {
if x != nil {
return x.TaskId
}
return ""
}
func (x *ToolContext) GetAgentInstanceId() string {
if x != nil {
return x.AgentInstanceId
}
return ""
}
func (x *ToolContext) GetSessionId() string {
if x != nil {
return x.SessionId
}
return ""
}
type ToolResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Output *structpb.Struct `protobuf:"bytes,1,opt,name=output,proto3" json:"output,omitempty"`
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ToolResponse) Reset() {
*x = ToolResponse{}
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ToolResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ToolResponse) ProtoMessage() {}
func (x *ToolResponse) ProtoReflect() protoreflect.Message {
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[4]
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 ToolResponse.ProtoReflect.Descriptor instead.
func (*ToolResponse) Descriptor() ([]byte, []int) {
return file_kandev_plugin_v1_plugin_proto_rawDescGZIP(), []int{4}
}
func (x *ToolResponse) GetOutput() *structpb.Struct {
if x != nil {
return x.Output
}
return nil
}
func (x *ToolResponse) GetError() string {
if x != nil {
return x.Error
}
return ""
}
type WebhookRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
WebhookKey string `protobuf:"bytes,1,opt,name=webhook_key,json=webhookKey,proto3" json:"webhook_key,omitempty"`
Method string `protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"`
Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` // remainder after the key
Query string `protobuf:"bytes,4,opt,name=query,proto3" json:"query,omitempty"`
Headers map[string]string `protobuf:"bytes,5,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // single-valued; multi joined by ", "
Body []byte `protobuf:"bytes,6,opt,name=body,proto3" json:"body,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *WebhookRequest) Reset() {
*x = WebhookRequest{}
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *WebhookRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*WebhookRequest) ProtoMessage() {}
func (x *WebhookRequest) ProtoReflect() protoreflect.Message {
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[5]
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 WebhookRequest.ProtoReflect.Descriptor instead.
func (*WebhookRequest) Descriptor() ([]byte, []int) {
return file_kandev_plugin_v1_plugin_proto_rawDescGZIP(), []int{5}
}
func (x *WebhookRequest) GetWebhookKey() string {
if x != nil {
return x.WebhookKey
}
return ""
}
func (x *WebhookRequest) GetMethod() string {
if x != nil {
return x.Method
}
return ""
}
func (x *WebhookRequest) GetPath() string {
if x != nil {
return x.Path
}
return ""
}
func (x *WebhookRequest) GetQuery() string {
if x != nil {
return x.Query
}
return ""
}
func (x *WebhookRequest) GetHeaders() map[string]string {
if x != nil {
return x.Headers
}
return nil
}
func (x *WebhookRequest) GetBody() []byte {
if x != nil {
return x.Body
}
return nil
}
type WebhookResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Status int32 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
Headers map[string]string `protobuf:"bytes,2,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
Body []byte `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *WebhookResponse) Reset() {
*x = WebhookResponse{}
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *WebhookResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*WebhookResponse) ProtoMessage() {}
func (x *WebhookResponse) ProtoReflect() protoreflect.Message {
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[6]
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 WebhookResponse.ProtoReflect.Descriptor instead.
func (*WebhookResponse) Descriptor() ([]byte, []int) {
return file_kandev_plugin_v1_plugin_proto_rawDescGZIP(), []int{6}
}
func (x *WebhookResponse) GetStatus() int32 {
if x != nil {
return x.Status
}
return 0
}
func (x *WebhookResponse) GetHeaders() map[string]string {
if x != nil {
return x.Headers
}
return nil
}
func (x *WebhookResponse) GetBody() []byte {
if x != nil {
return x.Body
}
return nil
}
type GetStateRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Scope string `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"`
ScopeId string `protobuf:"bytes,2,opt,name=scope_id,json=scopeId,proto3" json:"scope_id,omitempty"`
Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetStateRequest) Reset() {
*x = GetStateRequest{}
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetStateRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetStateRequest) ProtoMessage() {}
func (x *GetStateRequest) ProtoReflect() protoreflect.Message {
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[7]
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 GetStateRequest.ProtoReflect.Descriptor instead.
func (*GetStateRequest) Descriptor() ([]byte, []int) {
return file_kandev_plugin_v1_plugin_proto_rawDescGZIP(), []int{7}
}
func (x *GetStateRequest) GetScope() string {
if x != nil {
return x.Scope
}
return ""
}
func (x *GetStateRequest) GetScopeId() string {
if x != nil {
return x.ScopeId
}
return ""
}
func (x *GetStateRequest) GetKey() string {
if x != nil {
return x.Key
}
return ""
}
type GetStateResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Found bool `protobuf:"varint,1,opt,name=found,proto3" json:"found,omitempty"`
Value *structpb.Struct `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetStateResponse) Reset() {
*x = GetStateResponse{}
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetStateResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetStateResponse) ProtoMessage() {}
func (x *GetStateResponse) ProtoReflect() protoreflect.Message {
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[8]
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 GetStateResponse.ProtoReflect.Descriptor instead.
func (*GetStateResponse) Descriptor() ([]byte, []int) {
return file_kandev_plugin_v1_plugin_proto_rawDescGZIP(), []int{8}
}
func (x *GetStateResponse) GetFound() bool {
if x != nil {
return x.Found
}
return false
}
func (x *GetStateResponse) GetValue() *structpb.Struct {
if x != nil {
return x.Value
}
return nil
}
type SetStateRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Scope string `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"`
ScopeId string `protobuf:"bytes,2,opt,name=scope_id,json=scopeId,proto3" json:"scope_id,omitempty"`
Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"`
Value *structpb.Struct `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SetStateRequest) Reset() {
*x = SetStateRequest{}
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SetStateRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SetStateRequest) ProtoMessage() {}
func (x *SetStateRequest) ProtoReflect() protoreflect.Message {
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[9]
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 SetStateRequest.ProtoReflect.Descriptor instead.
func (*SetStateRequest) Descriptor() ([]byte, []int) {
return file_kandev_plugin_v1_plugin_proto_rawDescGZIP(), []int{9}
}
func (x *SetStateRequest) GetScope() string {
if x != nil {
return x.Scope
}
return ""
}
func (x *SetStateRequest) GetScopeId() string {
if x != nil {
return x.ScopeId
}
return ""
}
func (x *SetStateRequest) GetKey() string {
if x != nil {
return x.Key
}
return ""
}
func (x *SetStateRequest) GetValue() *structpb.Struct {
if x != nil {
return x.Value
}
return nil
}
type SetStateResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SetStateResponse) Reset() {
*x = SetStateResponse{}
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SetStateResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SetStateResponse) ProtoMessage() {}
func (x *SetStateResponse) ProtoReflect() protoreflect.Message {
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[10]
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 SetStateResponse.ProtoReflect.Descriptor instead.
func (*SetStateResponse) Descriptor() ([]byte, []int) {
return file_kandev_plugin_v1_plugin_proto_rawDescGZIP(), []int{10}
}
type DeleteStateRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Scope string `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"`
ScopeId string `protobuf:"bytes,2,opt,name=scope_id,json=scopeId,proto3" json:"scope_id,omitempty"`
Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DeleteStateRequest) Reset() {
*x = DeleteStateRequest{}
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DeleteStateRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteStateRequest) ProtoMessage() {}
func (x *DeleteStateRequest) ProtoReflect() protoreflect.Message {
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[11]
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 DeleteStateRequest.ProtoReflect.Descriptor instead.
func (*DeleteStateRequest) Descriptor() ([]byte, []int) {
return file_kandev_plugin_v1_plugin_proto_rawDescGZIP(), []int{11}
}
func (x *DeleteStateRequest) GetScope() string {
if x != nil {
return x.Scope
}
return ""
}
func (x *DeleteStateRequest) GetScopeId() string {
if x != nil {
return x.ScopeId
}
return ""
}
func (x *DeleteStateRequest) GetKey() string {
if x != nil {
return x.Key
}
return ""
}
type DeleteStateResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DeleteStateResponse) Reset() {
*x = DeleteStateResponse{}
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DeleteStateResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteStateResponse) ProtoMessage() {}
func (x *DeleteStateResponse) ProtoReflect() protoreflect.Message {
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[12]
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 DeleteStateResponse.ProtoReflect.Descriptor instead.
func (*DeleteStateResponse) Descriptor() ([]byte, []int) {
return file_kandev_plugin_v1_plugin_proto_rawDescGZIP(), []int{12}
}
type ListStateRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Scope string `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"`
ScopeId string `protobuf:"bytes,2,opt,name=scope_id,json=scopeId,proto3" json:"scope_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListStateRequest) Reset() {
*x = ListStateRequest{}
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListStateRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListStateRequest) ProtoMessage() {}
func (x *ListStateRequest) ProtoReflect() protoreflect.Message {
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[13]
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 ListStateRequest.ProtoReflect.Descriptor instead.
func (*ListStateRequest) Descriptor() ([]byte, []int) {
return file_kandev_plugin_v1_plugin_proto_rawDescGZIP(), []int{13}
}
func (x *ListStateRequest) GetScope() string {
if x != nil {
return x.Scope
}
return ""
}
func (x *ListStateRequest) GetScopeId() string {
if x != nil {
return x.ScopeId
}
return ""
}
type ListStateResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Entries []*StateEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListStateResponse) Reset() {
*x = ListStateResponse{}
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[14]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListStateResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListStateResponse) ProtoMessage() {}
func (x *ListStateResponse) ProtoReflect() protoreflect.Message {
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[14]
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 ListStateResponse.ProtoReflect.Descriptor instead.
func (*ListStateResponse) Descriptor() ([]byte, []int) {
return file_kandev_plugin_v1_plugin_proto_rawDescGZIP(), []int{14}
}
func (x *ListStateResponse) GetEntries() []*StateEntry {
if x != nil {
return x.Entries
}
return nil
}
type StateEntry struct {
state protoimpl.MessageState `protogen:"open.v1"`
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
Value *structpb.Struct `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
UpdatedAt string `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *StateEntry) Reset() {
*x = StateEntry{}
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[15]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *StateEntry) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*StateEntry) ProtoMessage() {}
func (x *StateEntry) ProtoReflect() protoreflect.Message {
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[15]
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 StateEntry.ProtoReflect.Descriptor instead.
func (*StateEntry) Descriptor() ([]byte, []int) {
return file_kandev_plugin_v1_plugin_proto_rawDescGZIP(), []int{15}
}
func (x *StateEntry) GetKey() string {
if x != nil {
return x.Key
}
return ""
}
func (x *StateEntry) GetValue() *structpb.Struct {
if x != nil {
return x.Value
}
return nil
}
func (x *StateEntry) GetUpdatedAt() string {
if x != nil {
return x.UpdatedAt
}
return ""
}
type GetConfigRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetConfigRequest) Reset() {
*x = GetConfigRequest{}
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[16]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetConfigRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetConfigRequest) ProtoMessage() {}
func (x *GetConfigRequest) ProtoReflect() protoreflect.Message {
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[16]
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 GetConfigRequest.ProtoReflect.Descriptor instead.
func (*GetConfigRequest) Descriptor() ([]byte, []int) {
return file_kandev_plugin_v1_plugin_proto_rawDescGZIP(), []int{16}
}
type GetConfigResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Config *structpb.Struct `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetConfigResponse) Reset() {
*x = GetConfigResponse{}
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[17]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetConfigResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetConfigResponse) ProtoMessage() {}
func (x *GetConfigResponse) ProtoReflect() protoreflect.Message {
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[17]
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 GetConfigResponse.ProtoReflect.Descriptor instead.
func (*GetConfigResponse) Descriptor() ([]byte, []int) {
return file_kandev_plugin_v1_plugin_proto_rawDescGZIP(), []int{17}
}
func (x *GetConfigResponse) GetConfig() *structpb.Struct {
if x != nil {
return x.Config
}
return nil
}
type GetSecretRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetSecretRequest) Reset() {
*x = GetSecretRequest{}
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[18]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetSecretRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetSecretRequest) ProtoMessage() {}
func (x *GetSecretRequest) ProtoReflect() protoreflect.Message {
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[18]
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 GetSecretRequest.ProtoReflect.Descriptor instead.
func (*GetSecretRequest) Descriptor() ([]byte, []int) {
return file_kandev_plugin_v1_plugin_proto_rawDescGZIP(), []int{18}
}
func (x *GetSecretRequest) GetKey() string {
if x != nil {
return x.Key
}
return ""
}
type GetSecretResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Found bool `protobuf:"varint,1,opt,name=found,proto3" json:"found,omitempty"`
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetSecretResponse) Reset() {
*x = GetSecretResponse{}
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[19]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetSecretResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetSecretResponse) ProtoMessage() {}
func (x *GetSecretResponse) ProtoReflect() protoreflect.Message {
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[19]
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 GetSecretResponse.ProtoReflect.Descriptor instead.
func (*GetSecretResponse) Descriptor() ([]byte, []int) {
return file_kandev_plugin_v1_plugin_proto_rawDescGZIP(), []int{19}
}
func (x *GetSecretResponse) GetFound() bool {
if x != nil {
return x.Found
}
return false
}
func (x *GetSecretResponse) GetValue() string {
if x != nil {
return x.Value
}
return ""
}
type SetSecretRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SetSecretRequest) Reset() {
*x = SetSecretRequest{}
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[20]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SetSecretRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SetSecretRequest) ProtoMessage() {}
func (x *SetSecretRequest) ProtoReflect() protoreflect.Message {
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[20]
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 SetSecretRequest.ProtoReflect.Descriptor instead.
func (*SetSecretRequest) Descriptor() ([]byte, []int) {
return file_kandev_plugin_v1_plugin_proto_rawDescGZIP(), []int{20}
}
func (x *SetSecretRequest) GetKey() string {
if x != nil {
return x.Key
}
return ""
}
func (x *SetSecretRequest) GetValue() string {
if x != nil {
return x.Value
}
return ""
}
type SetSecretResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SetSecretResponse) Reset() {
*x = SetSecretResponse{}
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[21]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SetSecretResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SetSecretResponse) ProtoMessage() {}
func (x *SetSecretResponse) ProtoReflect() protoreflect.Message {
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[21]
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 SetSecretResponse.ProtoReflect.Descriptor instead.
func (*SetSecretResponse) Descriptor() ([]byte, []int) {
return file_kandev_plugin_v1_plugin_proto_rawDescGZIP(), []int{21}
}
type DeleteSecretRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DeleteSecretRequest) Reset() {
*x = DeleteSecretRequest{}
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[22]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DeleteSecretRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteSecretRequest) ProtoMessage() {}
func (x *DeleteSecretRequest) ProtoReflect() protoreflect.Message {
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[22]
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 DeleteSecretRequest.ProtoReflect.Descriptor instead.
func (*DeleteSecretRequest) Descriptor() ([]byte, []int) {
return file_kandev_plugin_v1_plugin_proto_rawDescGZIP(), []int{22}
}
func (x *DeleteSecretRequest) GetKey() string {
if x != nil {
return x.Key
}
return ""
}
type DeleteSecretResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DeleteSecretResponse) Reset() {
*x = DeleteSecretResponse{}
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[23]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DeleteSecretResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteSecretResponse) ProtoMessage() {}
func (x *DeleteSecretResponse) ProtoReflect() protoreflect.Message {
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[23]
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 DeleteSecretResponse.ProtoReflect.Descriptor instead.
func (*DeleteSecretResponse) Descriptor() ([]byte, []int) {
return file_kandev_plugin_v1_plugin_proto_rawDescGZIP(), []int{23}
}
type RevealSecretRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Ref string `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *RevealSecretRequest) Reset() {
*x = RevealSecretRequest{}
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[24]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RevealSecretRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RevealSecretRequest) ProtoMessage() {}
func (x *RevealSecretRequest) ProtoReflect() protoreflect.Message {
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[24]
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 RevealSecretRequest.ProtoReflect.Descriptor instead.
func (*RevealSecretRequest) Descriptor() ([]byte, []int) {
return file_kandev_plugin_v1_plugin_proto_rawDescGZIP(), []int{24}
}
func (x *RevealSecretRequest) GetRef() string {
if x != nil {
return x.Ref
}
return ""
}
type RevealSecretResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *RevealSecretResponse) Reset() {
*x = RevealSecretResponse{}
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[25]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RevealSecretResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RevealSecretResponse) ProtoMessage() {}
func (x *RevealSecretResponse) ProtoReflect() protoreflect.Message {
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[25]
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 RevealSecretResponse.ProtoReflect.Descriptor instead.
func (*RevealSecretResponse) Descriptor() ([]byte, []int) {
return file_kandev_plugin_v1_plugin_proto_rawDescGZIP(), []int{25}
}
func (x *RevealSecretResponse) GetValue() string {
if x != nil {
return x.Value
}
return ""
}
type EmitEventRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
EventName string `protobuf:"bytes,1,opt,name=event_name,json=eventName,proto3" json:"event_name,omitempty"`
Payload *structpb.Struct `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *EmitEventRequest) Reset() {
*x = EmitEventRequest{}
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[26]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *EmitEventRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*EmitEventRequest) ProtoMessage() {}
func (x *EmitEventRequest) ProtoReflect() protoreflect.Message {
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[26]
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 EmitEventRequest.ProtoReflect.Descriptor instead.
func (*EmitEventRequest) Descriptor() ([]byte, []int) {
return file_kandev_plugin_v1_plugin_proto_rawDescGZIP(), []int{26}
}
func (x *EmitEventRequest) GetEventName() string {
if x != nil {
return x.EventName
}
return ""
}
func (x *EmitEventRequest) GetPayload() *structpb.Struct {
if x != nil {
return x.Payload
}
return nil
}
type EmitEventResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *EmitEventResponse) Reset() {
*x = EmitEventResponse{}
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[27]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *EmitEventResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*EmitEventResponse) ProtoMessage() {}
func (x *EmitEventResponse) ProtoReflect() protoreflect.Message {
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[27]
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 EmitEventResponse.ProtoReflect.Descriptor instead.
func (*EmitEventResponse) Descriptor() ([]byte, []int) {
return file_kandev_plugin_v1_plugin_proto_rawDescGZIP(), []int{27}
}
// ── Host data API (ADR 0043) ─────────────────────────────────────────────────
// Pagination is opaque-cursor based so the server can change the underlying
// ordering/store without breaking plugins.
type Page struct {
state protoimpl.MessageState `protogen:"open.v1"`
Limit int32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"` // 0 → server default (e.g. 50); server caps the max
Cursor string `protobuf:"bytes,2,opt,name=cursor,proto3" json:"cursor,omitempty"` // empty → first page; echo next_cursor to continue
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Page) Reset() {
*x = Page{}
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[28]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Page) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Page) ProtoMessage() {}
func (x *Page) ProtoReflect() protoreflect.Message {
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[28]
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 Page.ProtoReflect.Descriptor instead.
func (*Page) Descriptor() ([]byte, []int) {
return file_kandev_plugin_v1_plugin_proto_rawDescGZIP(), []int{28}
}
func (x *Page) GetLimit() int32 {
if x != nil {
return x.Limit
}
return 0
}
func (x *Page) GetCursor() string {
if x != nil {
return x.Cursor
}
return ""
}
type PageInfo struct {
state protoimpl.MessageState `protogen:"open.v1"`
NextCursor string `protobuf:"bytes,1,opt,name=next_cursor,json=nextCursor,proto3" json:"next_cursor,omitempty"`
HasMore bool `protobuf:"varint,2,opt,name=has_more,json=hasMore,proto3" json:"has_more,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *PageInfo) Reset() {
*x = PageInfo{}
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[29]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *PageInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PageInfo) ProtoMessage() {}
func (x *PageInfo) ProtoReflect() protoreflect.Message {
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[29]
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 PageInfo.ProtoReflect.Descriptor instead.
func (*PageInfo) Descriptor() ([]byte, []int) {
return file_kandev_plugin_v1_plugin_proto_rawDescGZIP(), []int{29}
}
func (x *PageInfo) GetNextCursor() string {
if x != nil {
return x.NextCursor
}
return ""
}
func (x *PageInfo) GetHasMore() bool {
if x != nil {
return x.HasMore
}
return false
}
// ── Task ────────────────────────────────────────────────────────────────────
type Task struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
WorkspaceId string `protobuf:"bytes,2,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"`
WorkflowId string `protobuf:"bytes,3,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"`
Title string `protobuf:"bytes,4,opt,name=title,proto3" json:"title,omitempty"`
Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
State string `protobuf:"bytes,6,opt,name=state,proto3" json:"state,omitempty"` // TaskState enum value as a string, stable
Priority string `protobuf:"bytes,7,opt,name=priority,proto3" json:"priority,omitempty"`
CreatedBy string `protobuf:"bytes,8,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"`
CreatedAt string `protobuf:"bytes,9,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // RFC3339
UpdatedAt string `protobuf:"bytes,10,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
StartedAt *string `protobuf:"bytes,11,opt,name=started_at,json=startedAt,proto3,oneof" json:"started_at,omitempty"`
CompletedAt *string `protobuf:"bytes,12,opt,name=completed_at,json=completedAt,proto3,oneof" json:"completed_at,omitempty"`
ParentId *string `protobuf:"bytes,13,opt,name=parent_id,json=parentId,proto3,oneof" json:"parent_id,omitempty"`
Identifier string `protobuf:"bytes,14,opt,name=identifier,proto3" json:"identifier,omitempty"`
IsEphemeral bool `protobuf:"varint,15,opt,name=is_ephemeral,json=isEphemeral,proto3" json:"is_ephemeral,omitempty"`
Repositories []*TaskRepository `protobuf:"bytes,16,rep,name=repositories,proto3" json:"repositories,omitempty"`
Metadata *structpb.Struct `protobuf:"bytes,17,opt,name=metadata,proto3" json:"metadata,omitempty"` // free-form; plugin-tolerant
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Task) Reset() {
*x = Task{}
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[30]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Task) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Task) ProtoMessage() {}
func (x *Task) ProtoReflect() protoreflect.Message {
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[30]
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 Task.ProtoReflect.Descriptor instead.
func (*Task) Descriptor() ([]byte, []int) {
return file_kandev_plugin_v1_plugin_proto_rawDescGZIP(), []int{30}
}
func (x *Task) GetId() string {
if x != nil {
return x.Id
}
return ""
}
func (x *Task) GetWorkspaceId() string {
if x != nil {
return x.WorkspaceId
}
return ""
}
func (x *Task) GetWorkflowId() string {
if x != nil {
return x.WorkflowId
}
return ""
}
func (x *Task) GetTitle() string {
if x != nil {
return x.Title
}
return ""
}
func (x *Task) GetDescription() string {
if x != nil {
return x.Description
}
return ""
}
func (x *Task) GetState() string {
if x != nil {
return x.State
}
return ""
}
func (x *Task) GetPriority() string {
if x != nil {
return x.Priority
}
return ""
}
func (x *Task) GetCreatedBy() string {
if x != nil {
return x.CreatedBy
}
return ""
}
func (x *Task) GetCreatedAt() string {
if x != nil {
return x.CreatedAt
}
return ""
}
func (x *Task) GetUpdatedAt() string {
if x != nil {
return x.UpdatedAt
}
return ""
}
func (x *Task) GetStartedAt() string {
if x != nil && x.StartedAt != nil {
return *x.StartedAt
}
return ""
}
func (x *Task) GetCompletedAt() string {
if x != nil && x.CompletedAt != nil {
return *x.CompletedAt
}
return ""
}
func (x *Task) GetParentId() string {
if x != nil && x.ParentId != nil {
return *x.ParentId
}
return ""
}
func (x *Task) GetIdentifier() string {
if x != nil {
return x.Identifier
}
return ""
}
func (x *Task) GetIsEphemeral() bool {
if x != nil {
return x.IsEphemeral
}
return false
}
func (x *Task) GetRepositories() []*TaskRepository {
if x != nil {
return x.Repositories
}
return nil
}
func (x *Task) GetMetadata() *structpb.Struct {
if x != nil {
return x.Metadata
}
return nil
}
type TaskRepository struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
RepositoryId string `protobuf:"bytes,2,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"`
BaseBranch string `protobuf:"bytes,3,opt,name=base_branch,json=baseBranch,proto3" json:"base_branch,omitempty"`
Position int32 `protobuf:"varint,4,opt,name=position,proto3" json:"position,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *TaskRepository) Reset() {
*x = TaskRepository{}
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[31]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *TaskRepository) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TaskRepository) ProtoMessage() {}
func (x *TaskRepository) ProtoReflect() protoreflect.Message {
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[31]
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 TaskRepository.ProtoReflect.Descriptor instead.
func (*TaskRepository) Descriptor() ([]byte, []int) {
return file_kandev_plugin_v1_plugin_proto_rawDescGZIP(), []int{31}
}
func (x *TaskRepository) GetId() string {
if x != nil {
return x.Id
}
return ""
}
func (x *TaskRepository) GetRepositoryId() string {
if x != nil {
return x.RepositoryId
}
return ""
}
func (x *TaskRepository) GetBaseBranch() string {
if x != nil {
return x.BaseBranch
}
return ""
}
func (x *TaskRepository) GetPosition() int32 {
if x != nil {
return x.Position
}
return 0
}
type TaskFilter struct {
state protoimpl.MessageState `protogen:"open.v1"`
WorkspaceIds []string `protobuf:"bytes,1,rep,name=workspace_ids,json=workspaceIds,proto3" json:"workspace_ids,omitempty"` // empty → all the plugin may see
WorkflowIds []string `protobuf:"bytes,2,rep,name=workflow_ids,json=workflowIds,proto3" json:"workflow_ids,omitempty"`
States []string `protobuf:"bytes,3,rep,name=states,proto3" json:"states,omitempty"`
ParentId *string `protobuf:"bytes,4,opt,name=parent_id,json=parentId,proto3,oneof" json:"parent_id,omitempty"`
IncludeEphemeral bool `protobuf:"varint,5,opt,name=include_ephemeral,json=includeEphemeral,proto3" json:"include_ephemeral,omitempty"` // default false (kanban-visible only)
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *TaskFilter) Reset() {
*x = TaskFilter{}
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[32]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *TaskFilter) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TaskFilter) ProtoMessage() {}
func (x *TaskFilter) ProtoReflect() protoreflect.Message {
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[32]
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 TaskFilter.ProtoReflect.Descriptor instead.
func (*TaskFilter) Descriptor() ([]byte, []int) {
return file_kandev_plugin_v1_plugin_proto_rawDescGZIP(), []int{32}
}
func (x *TaskFilter) GetWorkspaceIds() []string {
if x != nil {
return x.WorkspaceIds
}
return nil
}
func (x *TaskFilter) GetWorkflowIds() []string {
if x != nil {
return x.WorkflowIds
}
return nil
}
func (x *TaskFilter) GetStates() []string {
if x != nil {
return x.States
}
return nil
}
func (x *TaskFilter) GetParentId() string {
if x != nil && x.ParentId != nil {
return *x.ParentId
}
return ""
}
func (x *TaskFilter) GetIncludeEphemeral() bool {
if x != nil {
return x.IncludeEphemeral
}
return false
}
type ListTasksRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Filter *TaskFilter `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"`
Page *Page `protobuf:"bytes,2,opt,name=page,proto3" json:"page,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListTasksRequest) Reset() {
*x = ListTasksRequest{}
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[33]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListTasksRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListTasksRequest) ProtoMessage() {}
func (x *ListTasksRequest) ProtoReflect() protoreflect.Message {
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[33]
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 ListTasksRequest.ProtoReflect.Descriptor instead.
func (*ListTasksRequest) Descriptor() ([]byte, []int) {
return file_kandev_plugin_v1_plugin_proto_rawDescGZIP(), []int{33}
}
func (x *ListTasksRequest) GetFilter() *TaskFilter {
if x != nil {
return x.Filter
}
return nil
}
func (x *ListTasksRequest) GetPage() *Page {
if x != nil {
return x.Page
}
return nil
}
type ListTasksResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Tasks []*Task `protobuf:"bytes,1,rep,name=tasks,proto3" json:"tasks,omitempty"`
PageInfo *PageInfo `protobuf:"bytes,2,opt,name=page_info,json=pageInfo,proto3" json:"page_info,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListTasksResponse) Reset() {
*x = ListTasksResponse{}
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[34]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListTasksResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListTasksResponse) ProtoMessage() {}
func (x *ListTasksResponse) ProtoReflect() protoreflect.Message {
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[34]
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 ListTasksResponse.ProtoReflect.Descriptor instead.
func (*ListTasksResponse) Descriptor() ([]byte, []int) {
return file_kandev_plugin_v1_plugin_proto_rawDescGZIP(), []int{34}
}
func (x *ListTasksResponse) GetTasks() []*Task {
if x != nil {
return x.Tasks
}
return nil
}
func (x *ListTasksResponse) GetPageInfo() *PageInfo {
if x != nil {
return x.PageInfo
}
return nil
}
type GetTaskRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetTaskRequest) Reset() {
*x = GetTaskRequest{}
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[35]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetTaskRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetTaskRequest) ProtoMessage() {}
func (x *GetTaskRequest) ProtoReflect() protoreflect.Message {
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[35]
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 GetTaskRequest.ProtoReflect.Descriptor instead.
func (*GetTaskRequest) Descriptor() ([]byte, []int) {
return file_kandev_plugin_v1_plugin_proto_rawDescGZIP(), []int{35}
}
func (x *GetTaskRequest) GetId() string {
if x != nil {
return x.Id
}
return ""
}
type GetTaskResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Task *Task `protobuf:"bytes,1,opt,name=task,proto3" json:"task,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetTaskResponse) Reset() {
*x = GetTaskResponse{}
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[36]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetTaskResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetTaskResponse) ProtoMessage() {}
func (x *GetTaskResponse) ProtoReflect() protoreflect.Message {
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[36]
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 GetTaskResponse.ProtoReflect.Descriptor instead.
func (*GetTaskResponse) Descriptor() ([]byte, []int) {
return file_kandev_plugin_v1_plugin_proto_rawDescGZIP(), []int{36}
}
func (x *GetTaskResponse) GetTask() *Task {
if x != nil {
return x.Task
}
return nil
}
// ── Workspace / Workflow / Steps ─────────────────────────────────────────────
type Workspace struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Description *string `protobuf:"bytes,3,opt,name=description,proto3,oneof" json:"description,omitempty"`
OwnerId string `protobuf:"bytes,4,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"`
DefaultExecutorId *string `protobuf:"bytes,5,opt,name=default_executor_id,json=defaultExecutorId,proto3,oneof" json:"default_executor_id,omitempty"`
DefaultAgentProfileId *string `protobuf:"bytes,6,opt,name=default_agent_profile_id,json=defaultAgentProfileId,proto3,oneof" json:"default_agent_profile_id,omitempty"`
CreatedAt string `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
UpdatedAt string `protobuf:"bytes,8,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Workspace) Reset() {
*x = Workspace{}
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[37]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Workspace) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Workspace) ProtoMessage() {}
func (x *Workspace) ProtoReflect() protoreflect.Message {
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[37]
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 Workspace.ProtoReflect.Descriptor instead.
func (*Workspace) Descriptor() ([]byte, []int) {
return file_kandev_plugin_v1_plugin_proto_rawDescGZIP(), []int{37}
}
func (x *Workspace) GetId() string {
if x != nil {
return x.Id
}
return ""
}
func (x *Workspace) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *Workspace) GetDescription() string {
if x != nil && x.Description != nil {
return *x.Description
}
return ""
}
func (x *Workspace) GetOwnerId() string {
if x != nil {
return x.OwnerId
}
return ""
}
func (x *Workspace) GetDefaultExecutorId() string {
if x != nil && x.DefaultExecutorId != nil {
return *x.DefaultExecutorId
}
return ""
}
func (x *Workspace) GetDefaultAgentProfileId() string {
if x != nil && x.DefaultAgentProfileId != nil {
return *x.DefaultAgentProfileId
}
return ""
}
func (x *Workspace) GetCreatedAt() string {
if x != nil {
return x.CreatedAt
}
return ""
}
func (x *Workspace) GetUpdatedAt() string {
if x != nil {
return x.UpdatedAt
}
return ""
}
type ListWorkspacesRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Page *Page `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListWorkspacesRequest) Reset() {
*x = ListWorkspacesRequest{}
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[38]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListWorkspacesRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListWorkspacesRequest) ProtoMessage() {}
func (x *ListWorkspacesRequest) ProtoReflect() protoreflect.Message {
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[38]
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 ListWorkspacesRequest.ProtoReflect.Descriptor instead.
func (*ListWorkspacesRequest) Descriptor() ([]byte, []int) {
return file_kandev_plugin_v1_plugin_proto_rawDescGZIP(), []int{38}
}
func (x *ListWorkspacesRequest) GetPage() *Page {
if x != nil {
return x.Page
}
return nil
}
type ListWorkspacesResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Workspaces []*Workspace `protobuf:"bytes,1,rep,name=workspaces,proto3" json:"workspaces,omitempty"`
PageInfo *PageInfo `protobuf:"bytes,2,opt,name=page_info,json=pageInfo,proto3" json:"page_info,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListWorkspacesResponse) Reset() {
*x = ListWorkspacesResponse{}
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[39]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListWorkspacesResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListWorkspacesResponse) ProtoMessage() {}
func (x *ListWorkspacesResponse) ProtoReflect() protoreflect.Message {
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[39]
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 ListWorkspacesResponse.ProtoReflect.Descriptor instead.
func (*ListWorkspacesResponse) Descriptor() ([]byte, []int) {
return file_kandev_plugin_v1_plugin_proto_rawDescGZIP(), []int{39}
}
func (x *ListWorkspacesResponse) GetWorkspaces() []*Workspace {
if x != nil {
return x.Workspaces
}
return nil
}
func (x *ListWorkspacesResponse) GetPageInfo() *PageInfo {
if x != nil {
return x.PageInfo
}
return nil
}
type Workflow struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
WorkspaceId string `protobuf:"bytes,2,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"`
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
Description *string `protobuf:"bytes,4,opt,name=description,proto3,oneof" json:"description,omitempty"`
SortOrder int32 `protobuf:"varint,5,opt,name=sort_order,json=sortOrder,proto3" json:"sort_order,omitempty"`
CreatedAt string `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
UpdatedAt string `protobuf:"bytes,7,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Workflow) Reset() {
*x = Workflow{}
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[40]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Workflow) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Workflow) ProtoMessage() {}
func (x *Workflow) ProtoReflect() protoreflect.Message {
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[40]
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 Workflow.ProtoReflect.Descriptor instead.
func (*Workflow) Descriptor() ([]byte, []int) {
return file_kandev_plugin_v1_plugin_proto_rawDescGZIP(), []int{40}
}
func (x *Workflow) GetId() string {
if x != nil {
return x.Id
}
return ""
}
func (x *Workflow) GetWorkspaceId() string {
if x != nil {
return x.WorkspaceId
}
return ""
}
func (x *Workflow) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *Workflow) GetDescription() string {
if x != nil && x.Description != nil {
return *x.Description
}
return ""
}
func (x *Workflow) GetSortOrder() int32 {
if x != nil {
return x.SortOrder
}
return 0
}
func (x *Workflow) GetCreatedAt() string {
if x != nil {
return x.CreatedAt
}
return ""
}
func (x *Workflow) GetUpdatedAt() string {
if x != nil {
return x.UpdatedAt
}
return ""
}
type ListWorkflowsRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
WorkspaceId string `protobuf:"bytes,1,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"`
Page *Page `protobuf:"bytes,2,opt,name=page,proto3" json:"page,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListWorkflowsRequest) Reset() {
*x = ListWorkflowsRequest{}
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[41]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListWorkflowsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListWorkflowsRequest) ProtoMessage() {}
func (x *ListWorkflowsRequest) ProtoReflect() protoreflect.Message {
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[41]
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 ListWorkflowsRequest.ProtoReflect.Descriptor instead.
func (*ListWorkflowsRequest) Descriptor() ([]byte, []int) {
return file_kandev_plugin_v1_plugin_proto_rawDescGZIP(), []int{41}
}
func (x *ListWorkflowsRequest) GetWorkspaceId() string {
if x != nil {
return x.WorkspaceId
}
return ""
}
func (x *ListWorkflowsRequest) GetPage() *Page {
if x != nil {
return x.Page
}
return nil
}
type ListWorkflowsResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Workflows []*Workflow `protobuf:"bytes,1,rep,name=workflows,proto3" json:"workflows,omitempty"`
PageInfo *PageInfo `protobuf:"bytes,2,opt,name=page_info,json=pageInfo,proto3" json:"page_info,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListWorkflowsResponse) Reset() {
*x = ListWorkflowsResponse{}
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[42]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListWorkflowsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListWorkflowsResponse) ProtoMessage() {}
func (x *ListWorkflowsResponse) ProtoReflect() protoreflect.Message {
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[42]
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 ListWorkflowsResponse.ProtoReflect.Descriptor instead.
func (*ListWorkflowsResponse) Descriptor() ([]byte, []int) {
return file_kandev_plugin_v1_plugin_proto_rawDescGZIP(), []int{42}
}
func (x *ListWorkflowsResponse) GetWorkflows() []*Workflow {
if x != nil {
return x.Workflows
}
return nil
}
func (x *ListWorkflowsResponse) GetPageInfo() *PageInfo {
if x != nil {
return x.PageInfo
}
return nil
}
type WorkflowStep struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
WorkflowId string `protobuf:"bytes,2,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"`
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
Position int32 `protobuf:"varint,4,opt,name=position,proto3" json:"position,omitempty"`
StageType string `protobuf:"bytes,5,opt,name=stage_type,json=stageType,proto3" json:"stage_type,omitempty"` // work | review | approval | custom
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *WorkflowStep) Reset() {
*x = WorkflowStep{}
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[43]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *WorkflowStep) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*WorkflowStep) ProtoMessage() {}
func (x *WorkflowStep) ProtoReflect() protoreflect.Message {
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[43]
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 WorkflowStep.ProtoReflect.Descriptor instead.
func (*WorkflowStep) Descriptor() ([]byte, []int) {
return file_kandev_plugin_v1_plugin_proto_rawDescGZIP(), []int{43}
}
func (x *WorkflowStep) GetId() string {
if x != nil {
return x.Id
}
return ""
}
func (x *WorkflowStep) GetWorkflowId() string {
if x != nil {
return x.WorkflowId
}
return ""
}
func (x *WorkflowStep) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *WorkflowStep) GetPosition() int32 {
if x != nil {
return x.Position
}
return 0
}
func (x *WorkflowStep) GetStageType() string {
if x != nil {
return x.StageType
}
return ""
}
type ListWorkflowStepsRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
WorkflowId string `protobuf:"bytes,1,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListWorkflowStepsRequest) Reset() {
*x = ListWorkflowStepsRequest{}
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[44]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListWorkflowStepsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListWorkflowStepsRequest) ProtoMessage() {}
func (x *ListWorkflowStepsRequest) ProtoReflect() protoreflect.Message {
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[44]
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 ListWorkflowStepsRequest.ProtoReflect.Descriptor instead.
func (*ListWorkflowStepsRequest) Descriptor() ([]byte, []int) {
return file_kandev_plugin_v1_plugin_proto_rawDescGZIP(), []int{44}
}
func (x *ListWorkflowStepsRequest) GetWorkflowId() string {
if x != nil {
return x.WorkflowId
}
return ""
}
type ListWorkflowStepsResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Steps []*WorkflowStep `protobuf:"bytes,1,rep,name=steps,proto3" json:"steps,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListWorkflowStepsResponse) Reset() {
*x = ListWorkflowStepsResponse{}
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[45]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListWorkflowStepsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListWorkflowStepsResponse) ProtoMessage() {}
func (x *ListWorkflowStepsResponse) ProtoReflect() protoreflect.Message {
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[45]
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 ListWorkflowStepsResponse.ProtoReflect.Descriptor instead.
func (*ListWorkflowStepsResponse) Descriptor() ([]byte, []int) {
return file_kandev_plugin_v1_plugin_proto_rawDescGZIP(), []int{45}
}
func (x *ListWorkflowStepsResponse) GetSteps() []*WorkflowStep {
if x != nil {
return x.Steps
}
return nil
}
// ── Agent profiles / Repositories (read-only context) ────────────────────────
type AgentProfile struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
AgentId string `protobuf:"bytes,2,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"`
DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
Model string `protobuf:"bytes,5,opt,name=model,proto3" json:"model,omitempty"`
Mode string `protobuf:"bytes,6,opt,name=mode,proto3" json:"mode,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *AgentProfile) Reset() {
*x = AgentProfile{}
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[46]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *AgentProfile) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AgentProfile) ProtoMessage() {}
func (x *AgentProfile) ProtoReflect() protoreflect.Message {
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[46]
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 AgentProfile.ProtoReflect.Descriptor instead.
func (*AgentProfile) Descriptor() ([]byte, []int) {
return file_kandev_plugin_v1_plugin_proto_rawDescGZIP(), []int{46}
}
func (x *AgentProfile) GetId() string {
if x != nil {
return x.Id
}
return ""
}
func (x *AgentProfile) GetAgentId() string {
if x != nil {
return x.AgentId
}
return ""
}
func (x *AgentProfile) GetDisplayName() string {
if x != nil {
return x.DisplayName
}
return ""
}
func (x *AgentProfile) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *AgentProfile) GetModel() string {
if x != nil {
return x.Model
}
return ""
}
func (x *AgentProfile) GetMode() string {
if x != nil {
return x.Mode
}
return ""
}
type ListAgentProfilesRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Page *Page `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListAgentProfilesRequest) Reset() {
*x = ListAgentProfilesRequest{}
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[47]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListAgentProfilesRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListAgentProfilesRequest) ProtoMessage() {}
func (x *ListAgentProfilesRequest) ProtoReflect() protoreflect.Message {
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[47]
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 ListAgentProfilesRequest.ProtoReflect.Descriptor instead.
func (*ListAgentProfilesRequest) Descriptor() ([]byte, []int) {
return file_kandev_plugin_v1_plugin_proto_rawDescGZIP(), []int{47}
}
func (x *ListAgentProfilesRequest) GetPage() *Page {
if x != nil {
return x.Page
}
return nil
}
type ListAgentProfilesResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Profiles []*AgentProfile `protobuf:"bytes,1,rep,name=profiles,proto3" json:"profiles,omitempty"`
PageInfo *PageInfo `protobuf:"bytes,2,opt,name=page_info,json=pageInfo,proto3" json:"page_info,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListAgentProfilesResponse) Reset() {
*x = ListAgentProfilesResponse{}
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[48]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListAgentProfilesResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListAgentProfilesResponse) ProtoMessage() {}
func (x *ListAgentProfilesResponse) ProtoReflect() protoreflect.Message {
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[48]
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 ListAgentProfilesResponse.ProtoReflect.Descriptor instead.
func (*ListAgentProfilesResponse) Descriptor() ([]byte, []int) {
return file_kandev_plugin_v1_plugin_proto_rawDescGZIP(), []int{48}
}
func (x *ListAgentProfilesResponse) GetProfiles() []*AgentProfile {
if x != nil {
return x.Profiles
}
return nil
}
func (x *ListAgentProfilesResponse) GetPageInfo() *PageInfo {
if x != nil {
return x.PageInfo
}
return nil
}
type Repository struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
WorkspaceId string `protobuf:"bytes,2,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"`
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // owner/repo slug when known, else name
DefaultBranch *string `protobuf:"bytes,4,opt,name=default_branch,json=defaultBranch,proto3,oneof" json:"default_branch,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Repository) Reset() {
*x = Repository{}
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[49]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Repository) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Repository) ProtoMessage() {}
func (x *Repository) ProtoReflect() protoreflect.Message {
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[49]
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 Repository.ProtoReflect.Descriptor instead.
func (*Repository) Descriptor() ([]byte, []int) {
return file_kandev_plugin_v1_plugin_proto_rawDescGZIP(), []int{49}
}
func (x *Repository) GetId() string {
if x != nil {
return x.Id
}
return ""
}
func (x *Repository) GetWorkspaceId() string {
if x != nil {
return x.WorkspaceId
}
return ""
}
func (x *Repository) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *Repository) GetDefaultBranch() string {
if x != nil && x.DefaultBranch != nil {
return *x.DefaultBranch
}
return ""
}
type ListRepositoriesRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
WorkspaceId string `protobuf:"bytes,1,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"`
Page *Page `protobuf:"bytes,2,opt,name=page,proto3" json:"page,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListRepositoriesRequest) Reset() {
*x = ListRepositoriesRequest{}
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[50]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListRepositoriesRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListRepositoriesRequest) ProtoMessage() {}
func (x *ListRepositoriesRequest) ProtoReflect() protoreflect.Message {
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[50]
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 ListRepositoriesRequest.ProtoReflect.Descriptor instead.
func (*ListRepositoriesRequest) Descriptor() ([]byte, []int) {
return file_kandev_plugin_v1_plugin_proto_rawDescGZIP(), []int{50}
}
func (x *ListRepositoriesRequest) GetWorkspaceId() string {
if x != nil {
return x.WorkspaceId
}
return ""
}
func (x *ListRepositoriesRequest) GetPage() *Page {
if x != nil {
return x.Page
}
return nil
}
type ListRepositoriesResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Repositories []*Repository `protobuf:"bytes,1,rep,name=repositories,proto3" json:"repositories,omitempty"`
PageInfo *PageInfo `protobuf:"bytes,2,opt,name=page_info,json=pageInfo,proto3" json:"page_info,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListRepositoriesResponse) Reset() {
*x = ListRepositoriesResponse{}
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[51]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListRepositoriesResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListRepositoriesResponse) ProtoMessage() {}
func (x *ListRepositoriesResponse) ProtoReflect() protoreflect.Message {
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[51]
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 ListRepositoriesResponse.ProtoReflect.Descriptor instead.
func (*ListRepositoriesResponse) Descriptor() ([]byte, []int) {
return file_kandev_plugin_v1_plugin_proto_rawDescGZIP(), []int{51}
}
func (x *ListRepositoriesResponse) GetRepositories() []*Repository {
if x != nil {
return x.Repositories
}
return nil
}
func (x *ListRepositoriesResponse) GetPageInfo() *PageInfo {
if x != nil {
return x.PageInfo
}
return nil
}
// ── Sessions ─────────────────────────────────────────────────────────────────
// Identity + agent context for one agent run on a task. acp_session_id is the
// join key an external usage tool (e.g. tokscale) uses to attribute tokens —
// so kandev exposes it and stays out of the token business entirely.
//
// acp_session_id resolution (host-side, not the plugin's concern): read
// session metadata key `$.acp.session_id` first; if absent, fall back to
// `executors_running.resume_token` for the session's agent execution. Either
// source may be empty for a session that never reached the ACP handshake, in
// which case acp_session_id is returned empty.
type Session struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
AgentProfileId string `protobuf:"bytes,3,opt,name=agent_profile_id,json=agentProfileId,proto3" json:"agent_profile_id,omitempty"`
AgentDisplayName string `protobuf:"bytes,4,opt,name=agent_display_name,json=agentDisplayName,proto3" json:"agent_display_name,omitempty"` // from the profile snapshot at run time
Model string `protobuf:"bytes,5,opt,name=model,proto3" json:"model,omitempty"` // resolved model at run time
AcpSessionId string `protobuf:"bytes,6,opt,name=acp_session_id,json=acpSessionId,proto3" json:"acp_session_id,omitempty"` // external usage-attribution join key
State string `protobuf:"bytes,7,opt,name=state,proto3" json:"state,omitempty"`
StartedAt string `protobuf:"bytes,8,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
EndedAt *string `protobuf:"bytes,9,opt,name=ended_at,json=endedAt,proto3,oneof" json:"ended_at,omitempty"`
AgentProfileName string `protobuf:"bytes,10,opt,name=agent_profile_name,json=agentProfileName,proto3" json:"agent_profile_name,omitempty"` // profile name from the snapshot at run time
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Session) Reset() {
*x = Session{}
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[52]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Session) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Session) ProtoMessage() {}
func (x *Session) ProtoReflect() protoreflect.Message {
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[52]
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 Session.ProtoReflect.Descriptor instead.
func (*Session) Descriptor() ([]byte, []int) {
return file_kandev_plugin_v1_plugin_proto_rawDescGZIP(), []int{52}
}
func (x *Session) GetId() string {
if x != nil {
return x.Id
}
return ""
}
func (x *Session) GetTaskId() string {
if x != nil {
return x.TaskId
}
return ""
}
func (x *Session) GetAgentProfileId() string {
if x != nil {
return x.AgentProfileId
}
return ""
}
func (x *Session) GetAgentDisplayName() string {
if x != nil {
return x.AgentDisplayName
}
return ""
}
func (x *Session) GetModel() string {
if x != nil {
return x.Model
}
return ""
}
func (x *Session) GetAcpSessionId() string {
if x != nil {
return x.AcpSessionId
}
return ""
}
func (x *Session) GetState() string {
if x != nil {
return x.State
}
return ""
}
func (x *Session) GetStartedAt() string {
if x != nil {
return x.StartedAt
}
return ""
}
func (x *Session) GetEndedAt() string {
if x != nil && x.EndedAt != nil {
return *x.EndedAt
}
return ""
}
func (x *Session) GetAgentProfileName() string {
if x != nil {
return x.AgentProfileName
}
return ""
}
type SessionFilter struct {
state protoimpl.MessageState `protogen:"open.v1"`
TaskIds []string `protobuf:"bytes,1,rep,name=task_ids,json=taskIds,proto3" json:"task_ids,omitempty"`
WorkspaceIds []string `protobuf:"bytes,2,rep,name=workspace_ids,json=workspaceIds,proto3" json:"workspace_ids,omitempty"`
States []string `protobuf:"bytes,3,rep,name=states,proto3" json:"states,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SessionFilter) Reset() {
*x = SessionFilter{}
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[53]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SessionFilter) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SessionFilter) ProtoMessage() {}
func (x *SessionFilter) ProtoReflect() protoreflect.Message {
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[53]
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 SessionFilter.ProtoReflect.Descriptor instead.
func (*SessionFilter) Descriptor() ([]byte, []int) {
return file_kandev_plugin_v1_plugin_proto_rawDescGZIP(), []int{53}
}
func (x *SessionFilter) GetTaskIds() []string {
if x != nil {
return x.TaskIds
}
return nil
}
func (x *SessionFilter) GetWorkspaceIds() []string {
if x != nil {
return x.WorkspaceIds
}
return nil
}
func (x *SessionFilter) GetStates() []string {
if x != nil {
return x.States
}
return nil
}
type ListSessionsRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Filter *SessionFilter `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"`
Page *Page `protobuf:"bytes,2,opt,name=page,proto3" json:"page,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListSessionsRequest) Reset() {
*x = ListSessionsRequest{}
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[54]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListSessionsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListSessionsRequest) ProtoMessage() {}
func (x *ListSessionsRequest) ProtoReflect() protoreflect.Message {
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[54]
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 ListSessionsRequest.ProtoReflect.Descriptor instead.
func (*ListSessionsRequest) Descriptor() ([]byte, []int) {
return file_kandev_plugin_v1_plugin_proto_rawDescGZIP(), []int{54}
}
func (x *ListSessionsRequest) GetFilter() *SessionFilter {
if x != nil {
return x.Filter
}
return nil
}
func (x *ListSessionsRequest) GetPage() *Page {
if x != nil {
return x.Page
}
return nil
}
type ListSessionsResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Sessions []*Session `protobuf:"bytes,1,rep,name=sessions,proto3" json:"sessions,omitempty"`
PageInfo *PageInfo `protobuf:"bytes,2,opt,name=page_info,json=pageInfo,proto3" json:"page_info,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListSessionsResponse) Reset() {
*x = ListSessionsResponse{}
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[55]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListSessionsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListSessionsResponse) ProtoMessage() {}
func (x *ListSessionsResponse) ProtoReflect() protoreflect.Message {
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[55]
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 ListSessionsResponse.ProtoReflect.Descriptor instead.
func (*ListSessionsResponse) Descriptor() ([]byte, []int) {
return file_kandev_plugin_v1_plugin_proto_rawDescGZIP(), []int{55}
}
func (x *ListSessionsResponse) GetSessions() []*Session {
if x != nil {
return x.Sessions
}
return nil
}
func (x *ListSessionsResponse) GetPageInfo() *PageInfo {
if x != nil {
return x.PageInfo
}
return nil
}
// Computed code metrics per session — the aggregate the agent-stats plugin
// re-derived by hand from commits + git snapshots. Exposed as a stable shape
// so plugins never touch task_session_commits / task_session_git_snapshots.
type SessionCodeStats struct {
state protoimpl.MessageState `protogen:"open.v1"`
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
LinesAddedCommitted int64 `protobuf:"varint,2,opt,name=lines_added_committed,json=linesAddedCommitted,proto3" json:"lines_added_committed,omitempty"` // SUM of commit insertions
LinesDeletedCommitted int64 `protobuf:"varint,3,opt,name=lines_deleted_committed,json=linesDeletedCommitted,proto3" json:"lines_deleted_committed,omitempty"` // SUM of commit deletions
LinesAddedPeakPending int64 `protobuf:"varint,4,opt,name=lines_added_peak_pending,json=linesAddedPeakPending,proto3" json:"lines_added_peak_pending,omitempty"` // peak uncommitted diff additions across snapshots
LinesDeletedPeakPending int64 `protobuf:"varint,5,opt,name=lines_deleted_peak_pending,json=linesDeletedPeakPending,proto3" json:"lines_deleted_peak_pending,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SessionCodeStats) Reset() {
*x = SessionCodeStats{}
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[56]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SessionCodeStats) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SessionCodeStats) ProtoMessage() {}
func (x *SessionCodeStats) ProtoReflect() protoreflect.Message {
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[56]
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 SessionCodeStats.ProtoReflect.Descriptor instead.
func (*SessionCodeStats) Descriptor() ([]byte, []int) {
return file_kandev_plugin_v1_plugin_proto_rawDescGZIP(), []int{56}
}
func (x *SessionCodeStats) GetSessionId() string {
if x != nil {
return x.SessionId
}
return ""
}
func (x *SessionCodeStats) GetLinesAddedCommitted() int64 {
if x != nil {
return x.LinesAddedCommitted
}
return 0
}
func (x *SessionCodeStats) GetLinesDeletedCommitted() int64 {
if x != nil {
return x.LinesDeletedCommitted
}
return 0
}
func (x *SessionCodeStats) GetLinesAddedPeakPending() int64 {
if x != nil {
return x.LinesAddedPeakPending
}
return 0
}
func (x *SessionCodeStats) GetLinesDeletedPeakPending() int64 {
if x != nil {
return x.LinesDeletedPeakPending
}
return 0
}
type ListSessionCodeStatsRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Filter *SessionFilter `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"`
Page *Page `protobuf:"bytes,2,opt,name=page,proto3" json:"page,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListSessionCodeStatsRequest) Reset() {
*x = ListSessionCodeStatsRequest{}
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[57]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListSessionCodeStatsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListSessionCodeStatsRequest) ProtoMessage() {}
func (x *ListSessionCodeStatsRequest) ProtoReflect() protoreflect.Message {
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[57]
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 ListSessionCodeStatsRequest.ProtoReflect.Descriptor instead.
func (*ListSessionCodeStatsRequest) Descriptor() ([]byte, []int) {
return file_kandev_plugin_v1_plugin_proto_rawDescGZIP(), []int{57}
}
func (x *ListSessionCodeStatsRequest) GetFilter() *SessionFilter {
if x != nil {
return x.Filter
}
return nil
}
func (x *ListSessionCodeStatsRequest) GetPage() *Page {
if x != nil {
return x.Page
}
return nil
}
type ListSessionCodeStatsResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Stats []*SessionCodeStats `protobuf:"bytes,1,rep,name=stats,proto3" json:"stats,omitempty"`
PageInfo *PageInfo `protobuf:"bytes,2,opt,name=page_info,json=pageInfo,proto3" json:"page_info,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListSessionCodeStatsResponse) Reset() {
*x = ListSessionCodeStatsResponse{}
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[58]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListSessionCodeStatsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListSessionCodeStatsResponse) ProtoMessage() {}
func (x *ListSessionCodeStatsResponse) ProtoReflect() protoreflect.Message {
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[58]
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 ListSessionCodeStatsResponse.ProtoReflect.Descriptor instead.
func (*ListSessionCodeStatsResponse) Descriptor() ([]byte, []int) {
return file_kandev_plugin_v1_plugin_proto_rawDescGZIP(), []int{58}
}
func (x *ListSessionCodeStatsResponse) GetStats() []*SessionCodeStats {
if x != nil {
return x.Stats
}
return nil
}
func (x *ListSessionCodeStatsResponse) GetPageInfo() *PageInfo {
if x != nil {
return x.PageInfo
}
return nil
}
// ── Writes (phase 2; api_write) ──────────────────────────────────────────────
type CreateTaskRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
WorkspaceId string `protobuf:"bytes,1,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"`
WorkflowId string `protobuf:"bytes,2,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"`
WorkflowStepId *string `protobuf:"bytes,3,opt,name=workflow_step_id,json=workflowStepId,proto3,oneof" json:"workflow_step_id,omitempty"`
Title string `protobuf:"bytes,4,opt,name=title,proto3" json:"title,omitempty"`
Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
ParentId *string `protobuf:"bytes,6,opt,name=parent_id,json=parentId,proto3,oneof" json:"parent_id,omitempty"`
StartAgent bool `protobuf:"varint,7,opt,name=start_agent,json=startAgent,proto3" json:"start_agent,omitempty"` // kandev stamps source = "plugin:<id>" server-side; not settable here.
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateTaskRequest) Reset() {
*x = CreateTaskRequest{}
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[59]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateTaskRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateTaskRequest) ProtoMessage() {}
func (x *CreateTaskRequest) ProtoReflect() protoreflect.Message {
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[59]
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 CreateTaskRequest.ProtoReflect.Descriptor instead.
func (*CreateTaskRequest) Descriptor() ([]byte, []int) {
return file_kandev_plugin_v1_plugin_proto_rawDescGZIP(), []int{59}
}
func (x *CreateTaskRequest) GetWorkspaceId() string {
if x != nil {
return x.WorkspaceId
}
return ""
}
func (x *CreateTaskRequest) GetWorkflowId() string {
if x != nil {
return x.WorkflowId
}
return ""
}
func (x *CreateTaskRequest) GetWorkflowStepId() string {
if x != nil && x.WorkflowStepId != nil {
return *x.WorkflowStepId
}
return ""
}
func (x *CreateTaskRequest) GetTitle() string {
if x != nil {
return x.Title
}
return ""
}
func (x *CreateTaskRequest) GetDescription() string {
if x != nil {
return x.Description
}
return ""
}
func (x *CreateTaskRequest) GetParentId() string {
if x != nil && x.ParentId != nil {
return *x.ParentId
}
return ""
}
func (x *CreateTaskRequest) GetStartAgent() bool {
if x != nil {
return x.StartAgent
}
return false
}
type CreateTaskResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Task *Task `protobuf:"bytes,1,opt,name=task,proto3" json:"task,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateTaskResponse) Reset() {
*x = CreateTaskResponse{}
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[60]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateTaskResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateTaskResponse) ProtoMessage() {}
func (x *CreateTaskResponse) ProtoReflect() protoreflect.Message {
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[60]
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 CreateTaskResponse.ProtoReflect.Descriptor instead.
func (*CreateTaskResponse) Descriptor() ([]byte, []int) {
return file_kandev_plugin_v1_plugin_proto_rawDescGZIP(), []int{60}
}
func (x *CreateTaskResponse) GetTask() *Task {
if x != nil {
return x.Task
}
return nil
}
type UpdateTaskRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Title *string `protobuf:"bytes,2,opt,name=title,proto3,oneof" json:"title,omitempty"`
Description *string `protobuf:"bytes,3,opt,name=description,proto3,oneof" json:"description,omitempty"`
State *string `protobuf:"bytes,4,opt,name=state,proto3,oneof" json:"state,omitempty"`
WorkflowStepId *string `protobuf:"bytes,5,opt,name=workflow_step_id,json=workflowStepId,proto3,oneof" json:"workflow_step_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpdateTaskRequest) Reset() {
*x = UpdateTaskRequest{}
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[61]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpdateTaskRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateTaskRequest) ProtoMessage() {}
func (x *UpdateTaskRequest) ProtoReflect() protoreflect.Message {
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[61]
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 UpdateTaskRequest.ProtoReflect.Descriptor instead.
func (*UpdateTaskRequest) Descriptor() ([]byte, []int) {
return file_kandev_plugin_v1_plugin_proto_rawDescGZIP(), []int{61}
}
func (x *UpdateTaskRequest) GetId() string {
if x != nil {
return x.Id
}
return ""
}
func (x *UpdateTaskRequest) GetTitle() string {
if x != nil && x.Title != nil {
return *x.Title
}
return ""
}
func (x *UpdateTaskRequest) GetDescription() string {
if x != nil && x.Description != nil {
return *x.Description
}
return ""
}
func (x *UpdateTaskRequest) GetState() string {
if x != nil && x.State != nil {
return *x.State
}
return ""
}
func (x *UpdateTaskRequest) GetWorkflowStepId() string {
if x != nil && x.WorkflowStepId != nil {
return *x.WorkflowStepId
}
return ""
}
type UpdateTaskResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Task *Task `protobuf:"bytes,1,opt,name=task,proto3" json:"task,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpdateTaskResponse) Reset() {
*x = UpdateTaskResponse{}
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[62]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpdateTaskResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateTaskResponse) ProtoMessage() {}
func (x *UpdateTaskResponse) ProtoReflect() protoreflect.Message {
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[62]
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 UpdateTaskResponse.ProtoReflect.Descriptor instead.
func (*UpdateTaskResponse) Descriptor() ([]byte, []int) {
return file_kandev_plugin_v1_plugin_proto_rawDescGZIP(), []int{62}
}
func (x *UpdateTaskResponse) GetTask() *Task {
if x != nil {
return x.Task
}
return nil
}
type Comment struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
TaskId string `protobuf:"bytes,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
Body string `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"`
Source string `protobuf:"bytes,4,opt,name=source,proto3" json:"source,omitempty"` // "plugin:<id>"
CreatedAt string `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Comment) Reset() {
*x = Comment{}
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[63]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Comment) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Comment) ProtoMessage() {}
func (x *Comment) ProtoReflect() protoreflect.Message {
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[63]
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 Comment.ProtoReflect.Descriptor instead.
func (*Comment) Descriptor() ([]byte, []int) {
return file_kandev_plugin_v1_plugin_proto_rawDescGZIP(), []int{63}
}
func (x *Comment) GetId() string {
if x != nil {
return x.Id
}
return ""
}
func (x *Comment) GetTaskId() string {
if x != nil {
return x.TaskId
}
return ""
}
func (x *Comment) GetBody() string {
if x != nil {
return x.Body
}
return ""
}
func (x *Comment) GetSource() string {
if x != nil {
return x.Source
}
return ""
}
func (x *Comment) GetCreatedAt() string {
if x != nil {
return x.CreatedAt
}
return ""
}
type CreateCommentRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
TaskId string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
Body string `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateCommentRequest) Reset() {
*x = CreateCommentRequest{}
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[64]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateCommentRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateCommentRequest) ProtoMessage() {}
func (x *CreateCommentRequest) ProtoReflect() protoreflect.Message {
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[64]
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 CreateCommentRequest.ProtoReflect.Descriptor instead.
func (*CreateCommentRequest) Descriptor() ([]byte, []int) {
return file_kandev_plugin_v1_plugin_proto_rawDescGZIP(), []int{64}
}
func (x *CreateCommentRequest) GetTaskId() string {
if x != nil {
return x.TaskId
}
return ""
}
func (x *CreateCommentRequest) GetBody() string {
if x != nil {
return x.Body
}
return ""
}
type CreateCommentResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Comment *Comment `protobuf:"bytes,1,opt,name=comment,proto3" json:"comment,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateCommentResponse) Reset() {
*x = CreateCommentResponse{}
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[65]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateCommentResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateCommentResponse) ProtoMessage() {}
func (x *CreateCommentResponse) ProtoReflect() protoreflect.Message {
mi := &file_kandev_plugin_v1_plugin_proto_msgTypes[65]
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 CreateCommentResponse.ProtoReflect.Descriptor instead.
func (*CreateCommentResponse) Descriptor() ([]byte, []int) {
return file_kandev_plugin_v1_plugin_proto_rawDescGZIP(), []int{65}
}
func (x *CreateCommentResponse) GetComment() *Comment {
if x != nil {
return x.Comment
}
return nil
}
var File_kandev_plugin_v1_plugin_proto protoreflect.FileDescriptor
const file_kandev_plugin_v1_plugin_proto_rawDesc = "" +
"\n" +
"\x1dkandev/plugin/v1/plugin.proto\x12\x10kandev.plugin.v1\x1a\x1cgoogle/protobuf/struct.proto\"\xb8\x01\n" +
"\x05Event\x12\x19\n" +
"\bevent_id\x18\x01 \x01(\tR\aeventId\x12\x1d\n" +
"\n" +
"event_type\x18\x02 \x01(\tR\teventType\x12\x1f\n" +
"\voccurred_at\x18\x03 \x01(\tR\n" +
"occurredAt\x12!\n" +
"\fworkspace_id\x18\x04 \x01(\tR\vworkspaceId\x121\n" +
"\apayload\x18\x05 \x01(\v2\x17.google.protobuf.StructR\apayload\"\n" +
"\n" +
"\bEventAck\"\xb4\x01\n" +
"\vToolRequest\x12 \n" +
"\ftool_call_id\x18\x01 \x01(\tR\n" +
"toolCallId\x12\x1b\n" +
"\ttool_name\x18\x02 \x01(\tR\btoolName\x12-\n" +
"\x05input\x18\x03 \x01(\v2\x17.google.protobuf.StructR\x05input\x127\n" +
"\acontext\x18\x04 \x01(\v2\x1d.kandev.plugin.v1.ToolContextR\acontext\"q\n" +
"\vToolContext\x12\x17\n" +
"\atask_id\x18\x01 \x01(\tR\x06taskId\x12*\n" +
"\x11agent_instance_id\x18\x02 \x01(\tR\x0fagentInstanceId\x12\x1d\n" +
"\n" +
"session_id\x18\x03 \x01(\tR\tsessionId\"U\n" +
"\fToolResponse\x12/\n" +
"\x06output\x18\x01 \x01(\v2\x17.google.protobuf.StructR\x06output\x12\x14\n" +
"\x05error\x18\x02 \x01(\tR\x05error\"\x8c\x02\n" +
"\x0eWebhookRequest\x12\x1f\n" +
"\vwebhook_key\x18\x01 \x01(\tR\n" +
"webhookKey\x12\x16\n" +
"\x06method\x18\x02 \x01(\tR\x06method\x12\x12\n" +
"\x04path\x18\x03 \x01(\tR\x04path\x12\x14\n" +
"\x05query\x18\x04 \x01(\tR\x05query\x12G\n" +
"\aheaders\x18\x05 \x03(\v2-.kandev.plugin.v1.WebhookRequest.HeadersEntryR\aheaders\x12\x12\n" +
"\x04body\x18\x06 \x01(\fR\x04body\x1a:\n" +
"\fHeadersEntry\x12\x10\n" +
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\xc3\x01\n" +
"\x0fWebhookResponse\x12\x16\n" +
"\x06status\x18\x01 \x01(\x05R\x06status\x12H\n" +
"\aheaders\x18\x02 \x03(\v2..kandev.plugin.v1.WebhookResponse.HeadersEntryR\aheaders\x12\x12\n" +
"\x04body\x18\x03 \x01(\fR\x04body\x1a:\n" +
"\fHeadersEntry\x12\x10\n" +
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"T\n" +
"\x0fGetStateRequest\x12\x14\n" +
"\x05scope\x18\x01 \x01(\tR\x05scope\x12\x19\n" +
"\bscope_id\x18\x02 \x01(\tR\ascopeId\x12\x10\n" +
"\x03key\x18\x03 \x01(\tR\x03key\"W\n" +
"\x10GetStateResponse\x12\x14\n" +
"\x05found\x18\x01 \x01(\bR\x05found\x12-\n" +
"\x05value\x18\x02 \x01(\v2\x17.google.protobuf.StructR\x05value\"\x83\x01\n" +
"\x0fSetStateRequest\x12\x14\n" +
"\x05scope\x18\x01 \x01(\tR\x05scope\x12\x19\n" +
"\bscope_id\x18\x02 \x01(\tR\ascopeId\x12\x10\n" +
"\x03key\x18\x03 \x01(\tR\x03key\x12-\n" +
"\x05value\x18\x04 \x01(\v2\x17.google.protobuf.StructR\x05value\"\x12\n" +
"\x10SetStateResponse\"W\n" +
"\x12DeleteStateRequest\x12\x14\n" +
"\x05scope\x18\x01 \x01(\tR\x05scope\x12\x19\n" +
"\bscope_id\x18\x02 \x01(\tR\ascopeId\x12\x10\n" +
"\x03key\x18\x03 \x01(\tR\x03key\"\x15\n" +
"\x13DeleteStateResponse\"C\n" +
"\x10ListStateRequest\x12\x14\n" +
"\x05scope\x18\x01 \x01(\tR\x05scope\x12\x19\n" +
"\bscope_id\x18\x02 \x01(\tR\ascopeId\"K\n" +
"\x11ListStateResponse\x126\n" +
"\aentries\x18\x01 \x03(\v2\x1c.kandev.plugin.v1.StateEntryR\aentries\"l\n" +
"\n" +
"StateEntry\x12\x10\n" +
"\x03key\x18\x01 \x01(\tR\x03key\x12-\n" +
"\x05value\x18\x02 \x01(\v2\x17.google.protobuf.StructR\x05value\x12\x1d\n" +
"\n" +
"updated_at\x18\x03 \x01(\tR\tupdatedAt\"\x12\n" +
"\x10GetConfigRequest\"D\n" +
"\x11GetConfigResponse\x12/\n" +
"\x06config\x18\x01 \x01(\v2\x17.google.protobuf.StructR\x06config\"$\n" +
"\x10GetSecretRequest\x12\x10\n" +
"\x03key\x18\x01 \x01(\tR\x03key\"?\n" +
"\x11GetSecretResponse\x12\x14\n" +
"\x05found\x18\x01 \x01(\bR\x05found\x12\x14\n" +
"\x05value\x18\x02 \x01(\tR\x05value\":\n" +
"\x10SetSecretRequest\x12\x10\n" +
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
"\x05value\x18\x02 \x01(\tR\x05value\"\x13\n" +
"\x11SetSecretResponse\"'\n" +
"\x13DeleteSecretRequest\x12\x10\n" +
"\x03key\x18\x01 \x01(\tR\x03key\"\x16\n" +
"\x14DeleteSecretResponse\"'\n" +
"\x13RevealSecretRequest\x12\x10\n" +
"\x03ref\x18\x01 \x01(\tR\x03ref\",\n" +
"\x14RevealSecretResponse\x12\x14\n" +
"\x05value\x18\x01 \x01(\tR\x05value\"d\n" +
"\x10EmitEventRequest\x12\x1d\n" +
"\n" +
"event_name\x18\x01 \x01(\tR\teventName\x121\n" +
"\apayload\x18\x02 \x01(\v2\x17.google.protobuf.StructR\apayload\"\x13\n" +
"\x11EmitEventResponse\"4\n" +
"\x04Page\x12\x14\n" +
"\x05limit\x18\x01 \x01(\x05R\x05limit\x12\x16\n" +
"\x06cursor\x18\x02 \x01(\tR\x06cursor\"F\n" +
"\bPageInfo\x12\x1f\n" +
"\vnext_cursor\x18\x01 \x01(\tR\n" +
"nextCursor\x12\x19\n" +
"\bhas_more\x18\x02 \x01(\bR\ahasMore\"\xfb\x04\n" +
"\x04Task\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\x12!\n" +
"\fworkspace_id\x18\x02 \x01(\tR\vworkspaceId\x12\x1f\n" +
"\vworkflow_id\x18\x03 \x01(\tR\n" +
"workflowId\x12\x14\n" +
"\x05title\x18\x04 \x01(\tR\x05title\x12 \n" +
"\vdescription\x18\x05 \x01(\tR\vdescription\x12\x14\n" +
"\x05state\x18\x06 \x01(\tR\x05state\x12\x1a\n" +
"\bpriority\x18\a \x01(\tR\bpriority\x12\x1d\n" +
"\n" +
"created_by\x18\b \x01(\tR\tcreatedBy\x12\x1d\n" +
"\n" +
"created_at\x18\t \x01(\tR\tcreatedAt\x12\x1d\n" +
"\n" +
"updated_at\x18\n" +
" \x01(\tR\tupdatedAt\x12\"\n" +
"\n" +
"started_at\x18\v \x01(\tH\x00R\tstartedAt\x88\x01\x01\x12&\n" +
"\fcompleted_at\x18\f \x01(\tH\x01R\vcompletedAt\x88\x01\x01\x12 \n" +
"\tparent_id\x18\r \x01(\tH\x02R\bparentId\x88\x01\x01\x12\x1e\n" +
"\n" +
"identifier\x18\x0e \x01(\tR\n" +
"identifier\x12!\n" +
"\fis_ephemeral\x18\x0f \x01(\bR\visEphemeral\x12D\n" +
"\frepositories\x18\x10 \x03(\v2 .kandev.plugin.v1.TaskRepositoryR\frepositories\x123\n" +
"\bmetadata\x18\x11 \x01(\v2\x17.google.protobuf.StructR\bmetadataB\r\n" +
"\v_started_atB\x0f\n" +
"\r_completed_atB\f\n" +
"\n" +
"_parent_id\"\x82\x01\n" +
"\x0eTaskRepository\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\x12#\n" +
"\rrepository_id\x18\x02 \x01(\tR\frepositoryId\x12\x1f\n" +
"\vbase_branch\x18\x03 \x01(\tR\n" +
"baseBranch\x12\x1a\n" +
"\bposition\x18\x04 \x01(\x05R\bposition\"\xc9\x01\n" +
"\n" +
"TaskFilter\x12#\n" +
"\rworkspace_ids\x18\x01 \x03(\tR\fworkspaceIds\x12!\n" +
"\fworkflow_ids\x18\x02 \x03(\tR\vworkflowIds\x12\x16\n" +
"\x06states\x18\x03 \x03(\tR\x06states\x12 \n" +
"\tparent_id\x18\x04 \x01(\tH\x00R\bparentId\x88\x01\x01\x12+\n" +
"\x11include_ephemeral\x18\x05 \x01(\bR\x10includeEphemeralB\f\n" +
"\n" +
"_parent_id\"t\n" +
"\x10ListTasksRequest\x124\n" +
"\x06filter\x18\x01 \x01(\v2\x1c.kandev.plugin.v1.TaskFilterR\x06filter\x12*\n" +
"\x04page\x18\x02 \x01(\v2\x16.kandev.plugin.v1.PageR\x04page\"z\n" +
"\x11ListTasksResponse\x12,\n" +
"\x05tasks\x18\x01 \x03(\v2\x16.kandev.plugin.v1.TaskR\x05tasks\x127\n" +
"\tpage_info\x18\x02 \x01(\v2\x1a.kandev.plugin.v1.PageInfoR\bpageInfo\" \n" +
"\x0eGetTaskRequest\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\"=\n" +
"\x0fGetTaskResponse\x12*\n" +
"\x04task\x18\x01 \x01(\v2\x16.kandev.plugin.v1.TaskR\x04task\"\xe7\x02\n" +
"\tWorkspace\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n" +
"\x04name\x18\x02 \x01(\tR\x04name\x12%\n" +
"\vdescription\x18\x03 \x01(\tH\x00R\vdescription\x88\x01\x01\x12\x19\n" +
"\bowner_id\x18\x04 \x01(\tR\aownerId\x123\n" +
"\x13default_executor_id\x18\x05 \x01(\tH\x01R\x11defaultExecutorId\x88\x01\x01\x12<\n" +
"\x18default_agent_profile_id\x18\x06 \x01(\tH\x02R\x15defaultAgentProfileId\x88\x01\x01\x12\x1d\n" +
"\n" +
"created_at\x18\a \x01(\tR\tcreatedAt\x12\x1d\n" +
"\n" +
"updated_at\x18\b \x01(\tR\tupdatedAtB\x0e\n" +
"\f_descriptionB\x16\n" +
"\x14_default_executor_idB\x1b\n" +
"\x19_default_agent_profile_id\"C\n" +
"\x15ListWorkspacesRequest\x12*\n" +
"\x04page\x18\x01 \x01(\v2\x16.kandev.plugin.v1.PageR\x04page\"\x8e\x01\n" +
"\x16ListWorkspacesResponse\x12;\n" +
"\n" +
"workspaces\x18\x01 \x03(\v2\x1b.kandev.plugin.v1.WorkspaceR\n" +
"workspaces\x127\n" +
"\tpage_info\x18\x02 \x01(\v2\x1a.kandev.plugin.v1.PageInfoR\bpageInfo\"\xe5\x01\n" +
"\bWorkflow\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\x12!\n" +
"\fworkspace_id\x18\x02 \x01(\tR\vworkspaceId\x12\x12\n" +
"\x04name\x18\x03 \x01(\tR\x04name\x12%\n" +
"\vdescription\x18\x04 \x01(\tH\x00R\vdescription\x88\x01\x01\x12\x1d\n" +
"\n" +
"sort_order\x18\x05 \x01(\x05R\tsortOrder\x12\x1d\n" +
"\n" +
"created_at\x18\x06 \x01(\tR\tcreatedAt\x12\x1d\n" +
"\n" +
"updated_at\x18\a \x01(\tR\tupdatedAtB\x0e\n" +
"\f_description\"e\n" +
"\x14ListWorkflowsRequest\x12!\n" +
"\fworkspace_id\x18\x01 \x01(\tR\vworkspaceId\x12*\n" +
"\x04page\x18\x02 \x01(\v2\x16.kandev.plugin.v1.PageR\x04page\"\x8a\x01\n" +
"\x15ListWorkflowsResponse\x128\n" +
"\tworkflows\x18\x01 \x03(\v2\x1a.kandev.plugin.v1.WorkflowR\tworkflows\x127\n" +
"\tpage_info\x18\x02 \x01(\v2\x1a.kandev.plugin.v1.PageInfoR\bpageInfo\"\x8e\x01\n" +
"\fWorkflowStep\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\x12\x1f\n" +
"\vworkflow_id\x18\x02 \x01(\tR\n" +
"workflowId\x12\x12\n" +
"\x04name\x18\x03 \x01(\tR\x04name\x12\x1a\n" +
"\bposition\x18\x04 \x01(\x05R\bposition\x12\x1d\n" +
"\n" +
"stage_type\x18\x05 \x01(\tR\tstageType\";\n" +
"\x18ListWorkflowStepsRequest\x12\x1f\n" +
"\vworkflow_id\x18\x01 \x01(\tR\n" +
"workflowId\"Q\n" +
"\x19ListWorkflowStepsResponse\x124\n" +
"\x05steps\x18\x01 \x03(\v2\x1e.kandev.plugin.v1.WorkflowStepR\x05steps\"\x9a\x01\n" +
"\fAgentProfile\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\x12\x19\n" +
"\bagent_id\x18\x02 \x01(\tR\aagentId\x12!\n" +
"\fdisplay_name\x18\x03 \x01(\tR\vdisplayName\x12\x12\n" +
"\x04name\x18\x04 \x01(\tR\x04name\x12\x14\n" +
"\x05model\x18\x05 \x01(\tR\x05model\x12\x12\n" +
"\x04mode\x18\x06 \x01(\tR\x04mode\"F\n" +
"\x18ListAgentProfilesRequest\x12*\n" +
"\x04page\x18\x01 \x01(\v2\x16.kandev.plugin.v1.PageR\x04page\"\x90\x01\n" +
"\x19ListAgentProfilesResponse\x12:\n" +
"\bprofiles\x18\x01 \x03(\v2\x1e.kandev.plugin.v1.AgentProfileR\bprofiles\x127\n" +
"\tpage_info\x18\x02 \x01(\v2\x1a.kandev.plugin.v1.PageInfoR\bpageInfo\"\x92\x01\n" +
"\n" +
"Repository\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\x12!\n" +
"\fworkspace_id\x18\x02 \x01(\tR\vworkspaceId\x12\x12\n" +
"\x04name\x18\x03 \x01(\tR\x04name\x12*\n" +
"\x0edefault_branch\x18\x04 \x01(\tH\x00R\rdefaultBranch\x88\x01\x01B\x11\n" +
"\x0f_default_branch\"h\n" +
"\x17ListRepositoriesRequest\x12!\n" +
"\fworkspace_id\x18\x01 \x01(\tR\vworkspaceId\x12*\n" +
"\x04page\x18\x02 \x01(\v2\x16.kandev.plugin.v1.PageR\x04page\"\x95\x01\n" +
"\x18ListRepositoriesResponse\x12@\n" +
"\frepositories\x18\x01 \x03(\v2\x1c.kandev.plugin.v1.RepositoryR\frepositories\x127\n" +
"\tpage_info\x18\x02 \x01(\v2\x1a.kandev.plugin.v1.PageInfoR\bpageInfo\"\xd6\x02\n" +
"\aSession\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n" +
"\atask_id\x18\x02 \x01(\tR\x06taskId\x12(\n" +
"\x10agent_profile_id\x18\x03 \x01(\tR\x0eagentProfileId\x12,\n" +
"\x12agent_display_name\x18\x04 \x01(\tR\x10agentDisplayName\x12\x14\n" +
"\x05model\x18\x05 \x01(\tR\x05model\x12$\n" +
"\x0eacp_session_id\x18\x06 \x01(\tR\facpSessionId\x12\x14\n" +
"\x05state\x18\a \x01(\tR\x05state\x12\x1d\n" +
"\n" +
"started_at\x18\b \x01(\tR\tstartedAt\x12\x1e\n" +
"\bended_at\x18\t \x01(\tH\x00R\aendedAt\x88\x01\x01\x12,\n" +
"\x12agent_profile_name\x18\n" +
" \x01(\tR\x10agentProfileNameB\v\n" +
"\t_ended_at\"g\n" +
"\rSessionFilter\x12\x19\n" +
"\btask_ids\x18\x01 \x03(\tR\ataskIds\x12#\n" +
"\rworkspace_ids\x18\x02 \x03(\tR\fworkspaceIds\x12\x16\n" +
"\x06states\x18\x03 \x03(\tR\x06states\"z\n" +
"\x13ListSessionsRequest\x127\n" +
"\x06filter\x18\x01 \x01(\v2\x1f.kandev.plugin.v1.SessionFilterR\x06filter\x12*\n" +
"\x04page\x18\x02 \x01(\v2\x16.kandev.plugin.v1.PageR\x04page\"\x86\x01\n" +
"\x14ListSessionsResponse\x125\n" +
"\bsessions\x18\x01 \x03(\v2\x19.kandev.plugin.v1.SessionR\bsessions\x127\n" +
"\tpage_info\x18\x02 \x01(\v2\x1a.kandev.plugin.v1.PageInfoR\bpageInfo\"\x93\x02\n" +
"\x10SessionCodeStats\x12\x1d\n" +
"\n" +
"session_id\x18\x01 \x01(\tR\tsessionId\x122\n" +
"\x15lines_added_committed\x18\x02 \x01(\x03R\x13linesAddedCommitted\x126\n" +
"\x17lines_deleted_committed\x18\x03 \x01(\x03R\x15linesDeletedCommitted\x127\n" +
"\x18lines_added_peak_pending\x18\x04 \x01(\x03R\x15linesAddedPeakPending\x12;\n" +
"\x1alines_deleted_peak_pending\x18\x05 \x01(\x03R\x17linesDeletedPeakPending\"\x82\x01\n" +
"\x1bListSessionCodeStatsRequest\x127\n" +
"\x06filter\x18\x01 \x01(\v2\x1f.kandev.plugin.v1.SessionFilterR\x06filter\x12*\n" +
"\x04page\x18\x02 \x01(\v2\x16.kandev.plugin.v1.PageR\x04page\"\x91\x01\n" +
"\x1cListSessionCodeStatsResponse\x128\n" +
"\x05stats\x18\x01 \x03(\v2\".kandev.plugin.v1.SessionCodeStatsR\x05stats\x127\n" +
"\tpage_info\x18\x02 \x01(\v2\x1a.kandev.plugin.v1.PageInfoR\bpageInfo\"\xa4\x02\n" +
"\x11CreateTaskRequest\x12!\n" +
"\fworkspace_id\x18\x01 \x01(\tR\vworkspaceId\x12\x1f\n" +
"\vworkflow_id\x18\x02 \x01(\tR\n" +
"workflowId\x12-\n" +
"\x10workflow_step_id\x18\x03 \x01(\tH\x00R\x0eworkflowStepId\x88\x01\x01\x12\x14\n" +
"\x05title\x18\x04 \x01(\tR\x05title\x12 \n" +
"\vdescription\x18\x05 \x01(\tR\vdescription\x12 \n" +
"\tparent_id\x18\x06 \x01(\tH\x01R\bparentId\x88\x01\x01\x12\x1f\n" +
"\vstart_agent\x18\a \x01(\bR\n" +
"startAgentB\x13\n" +
"\x11_workflow_step_idB\f\n" +
"\n" +
"_parent_id\"@\n" +
"\x12CreateTaskResponse\x12*\n" +
"\x04task\x18\x01 \x01(\v2\x16.kandev.plugin.v1.TaskR\x04task\"\xe8\x01\n" +
"\x11UpdateTaskRequest\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\x12\x19\n" +
"\x05title\x18\x02 \x01(\tH\x00R\x05title\x88\x01\x01\x12%\n" +
"\vdescription\x18\x03 \x01(\tH\x01R\vdescription\x88\x01\x01\x12\x19\n" +
"\x05state\x18\x04 \x01(\tH\x02R\x05state\x88\x01\x01\x12-\n" +
"\x10workflow_step_id\x18\x05 \x01(\tH\x03R\x0eworkflowStepId\x88\x01\x01B\b\n" +
"\x06_titleB\x0e\n" +
"\f_descriptionB\b\n" +
"\x06_stateB\x13\n" +
"\x11_workflow_step_id\"@\n" +
"\x12UpdateTaskResponse\x12*\n" +
"\x04task\x18\x01 \x01(\v2\x16.kandev.plugin.v1.TaskR\x04task\"}\n" +
"\aComment\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n" +
"\atask_id\x18\x02 \x01(\tR\x06taskId\x12\x12\n" +
"\x04body\x18\x03 \x01(\tR\x04body\x12\x16\n" +
"\x06source\x18\x04 \x01(\tR\x06source\x12\x1d\n" +
"\n" +
"created_at\x18\x05 \x01(\tR\tcreatedAt\"C\n" +
"\x14CreateCommentRequest\x12\x17\n" +
"\atask_id\x18\x01 \x01(\tR\x06taskId\x12\x12\n" +
"\x04body\x18\x02 \x01(\tR\x04body\"L\n" +
"\x15CreateCommentResponse\x123\n" +
"\acomment\x18\x01 \x01(\v2\x19.kandev.plugin.v1.CommentR\acomment2\xf0\x01\n" +
"\x06Plugin\x12C\n" +
"\fDeliverEvent\x12\x17.kandev.plugin.v1.Event\x1a\x1a.kandev.plugin.v1.EventAck\x12K\n" +
"\n" +
"InvokeTool\x12\x1d.kandev.plugin.v1.ToolRequest\x1a\x1e.kandev.plugin.v1.ToolResponse\x12T\n" +
"\rHandleWebhook\x12 .kandev.plugin.v1.WebhookRequest\x1a!.kandev.plugin.v1.WebhookResponse2\x92\x10\n" +
"\x04Host\x12Q\n" +
"\bGetState\x12!.kandev.plugin.v1.GetStateRequest\x1a\".kandev.plugin.v1.GetStateResponse\x12Q\n" +
"\bSetState\x12!.kandev.plugin.v1.SetStateRequest\x1a\".kandev.plugin.v1.SetStateResponse\x12Z\n" +
"\vDeleteState\x12$.kandev.plugin.v1.DeleteStateRequest\x1a%.kandev.plugin.v1.DeleteStateResponse\x12T\n" +
"\tListState\x12\".kandev.plugin.v1.ListStateRequest\x1a#.kandev.plugin.v1.ListStateResponse\x12]\n" +
"\fRevealSecret\x12%.kandev.plugin.v1.RevealSecretRequest\x1a&.kandev.plugin.v1.RevealSecretResponse\x12T\n" +
"\tEmitEvent\x12\".kandev.plugin.v1.EmitEventRequest\x1a#.kandev.plugin.v1.EmitEventResponse\x12T\n" +
"\tGetSecret\x12\".kandev.plugin.v1.GetSecretRequest\x1a#.kandev.plugin.v1.GetSecretResponse\x12T\n" +
"\tSetSecret\x12\".kandev.plugin.v1.SetSecretRequest\x1a#.kandev.plugin.v1.SetSecretResponse\x12]\n" +
"\fDeleteSecret\x12%.kandev.plugin.v1.DeleteSecretRequest\x1a&.kandev.plugin.v1.DeleteSecretResponse\x12T\n" +
"\tGetConfig\x12\".kandev.plugin.v1.GetConfigRequest\x1a#.kandev.plugin.v1.GetConfigResponse\x12T\n" +
"\tListTasks\x12\".kandev.plugin.v1.ListTasksRequest\x1a#.kandev.plugin.v1.ListTasksResponse\x12N\n" +
"\aGetTask\x12 .kandev.plugin.v1.GetTaskRequest\x1a!.kandev.plugin.v1.GetTaskResponse\x12c\n" +
"\x0eListWorkspaces\x12'.kandev.plugin.v1.ListWorkspacesRequest\x1a(.kandev.plugin.v1.ListWorkspacesResponse\x12`\n" +
"\rListWorkflows\x12&.kandev.plugin.v1.ListWorkflowsRequest\x1a'.kandev.plugin.v1.ListWorkflowsResponse\x12l\n" +
"\x11ListWorkflowSteps\x12*.kandev.plugin.v1.ListWorkflowStepsRequest\x1a+.kandev.plugin.v1.ListWorkflowStepsResponse\x12l\n" +
"\x11ListAgentProfiles\x12*.kandev.plugin.v1.ListAgentProfilesRequest\x1a+.kandev.plugin.v1.ListAgentProfilesResponse\x12i\n" +
"\x10ListRepositories\x12).kandev.plugin.v1.ListRepositoriesRequest\x1a*.kandev.plugin.v1.ListRepositoriesResponse\x12]\n" +
"\fListSessions\x12%.kandev.plugin.v1.ListSessionsRequest\x1a&.kandev.plugin.v1.ListSessionsResponse\x12u\n" +
"\x14ListSessionCodeStats\x12-.kandev.plugin.v1.ListSessionCodeStatsRequest\x1a..kandev.plugin.v1.ListSessionCodeStatsResponse\x12W\n" +
"\n" +
"CreateTask\x12#.kandev.plugin.v1.CreateTaskRequest\x1a$.kandev.plugin.v1.CreateTaskResponse\x12W\n" +
"\n" +
"UpdateTask\x12#.kandev.plugin.v1.UpdateTaskRequest\x1a$.kandev.plugin.v1.UpdateTaskResponse\x12`\n" +
"\rCreateComment\x12&.kandev.plugin.v1.CreateCommentRequest\x1a'.kandev.plugin.v1.CreateCommentResponseB:Z8github.com/kandev/kandev/proto/kandev/plugin/v1;pluginv1b\x06proto3"
var (
file_kandev_plugin_v1_plugin_proto_rawDescOnce sync.Once
file_kandev_plugin_v1_plugin_proto_rawDescData []byte
)
func file_kandev_plugin_v1_plugin_proto_rawDescGZIP() []byte {
file_kandev_plugin_v1_plugin_proto_rawDescOnce.Do(func() {
file_kandev_plugin_v1_plugin_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_kandev_plugin_v1_plugin_proto_rawDesc), len(file_kandev_plugin_v1_plugin_proto_rawDesc)))
})
return file_kandev_plugin_v1_plugin_proto_rawDescData
}
var file_kandev_plugin_v1_plugin_proto_msgTypes = make([]protoimpl.MessageInfo, 68)
var file_kandev_plugin_v1_plugin_proto_goTypes = []any{
(*Event)(nil), // 0: kandev.plugin.v1.Event
(*EventAck)(nil), // 1: kandev.plugin.v1.EventAck
(*ToolRequest)(nil), // 2: kandev.plugin.v1.ToolRequest
(*ToolContext)(nil), // 3: kandev.plugin.v1.ToolContext
(*ToolResponse)(nil), // 4: kandev.plugin.v1.ToolResponse
(*WebhookRequest)(nil), // 5: kandev.plugin.v1.WebhookRequest
(*WebhookResponse)(nil), // 6: kandev.plugin.v1.WebhookResponse
(*GetStateRequest)(nil), // 7: kandev.plugin.v1.GetStateRequest
(*GetStateResponse)(nil), // 8: kandev.plugin.v1.GetStateResponse
(*SetStateRequest)(nil), // 9: kandev.plugin.v1.SetStateRequest
(*SetStateResponse)(nil), // 10: kandev.plugin.v1.SetStateResponse
(*DeleteStateRequest)(nil), // 11: kandev.plugin.v1.DeleteStateRequest
(*DeleteStateResponse)(nil), // 12: kandev.plugin.v1.DeleteStateResponse
(*ListStateRequest)(nil), // 13: kandev.plugin.v1.ListStateRequest
(*ListStateResponse)(nil), // 14: kandev.plugin.v1.ListStateResponse
(*StateEntry)(nil), // 15: kandev.plugin.v1.StateEntry
(*GetConfigRequest)(nil), // 16: kandev.plugin.v1.GetConfigRequest
(*GetConfigResponse)(nil), // 17: kandev.plugin.v1.GetConfigResponse
(*GetSecretRequest)(nil), // 18: kandev.plugin.v1.GetSecretRequest
(*GetSecretResponse)(nil), // 19: kandev.plugin.v1.GetSecretResponse
(*SetSecretRequest)(nil), // 20: kandev.plugin.v1.SetSecretRequest
(*SetSecretResponse)(nil), // 21: kandev.plugin.v1.SetSecretResponse
(*DeleteSecretRequest)(nil), // 22: kandev.plugin.v1.DeleteSecretRequest
(*DeleteSecretResponse)(nil), // 23: kandev.plugin.v1.DeleteSecretResponse
(*RevealSecretRequest)(nil), // 24: kandev.plugin.v1.RevealSecretRequest
(*RevealSecretResponse)(nil), // 25: kandev.plugin.v1.RevealSecretResponse
(*EmitEventRequest)(nil), // 26: kandev.plugin.v1.EmitEventRequest
(*EmitEventResponse)(nil), // 27: kandev.plugin.v1.EmitEventResponse
(*Page)(nil), // 28: kandev.plugin.v1.Page
(*PageInfo)(nil), // 29: kandev.plugin.v1.PageInfo
(*Task)(nil), // 30: kandev.plugin.v1.Task
(*TaskRepository)(nil), // 31: kandev.plugin.v1.TaskRepository
(*TaskFilter)(nil), // 32: kandev.plugin.v1.TaskFilter
(*ListTasksRequest)(nil), // 33: kandev.plugin.v1.ListTasksRequest
(*ListTasksResponse)(nil), // 34: kandev.plugin.v1.ListTasksResponse
(*GetTaskRequest)(nil), // 35: kandev.plugin.v1.GetTaskRequest
(*GetTaskResponse)(nil), // 36: kandev.plugin.v1.GetTaskResponse
(*Workspace)(nil), // 37: kandev.plugin.v1.Workspace
(*ListWorkspacesRequest)(nil), // 38: kandev.plugin.v1.ListWorkspacesRequest
(*ListWorkspacesResponse)(nil), // 39: kandev.plugin.v1.ListWorkspacesResponse
(*Workflow)(nil), // 40: kandev.plugin.v1.Workflow
(*ListWorkflowsRequest)(nil), // 41: kandev.plugin.v1.ListWorkflowsRequest
(*ListWorkflowsResponse)(nil), // 42: kandev.plugin.v1.ListWorkflowsResponse
(*WorkflowStep)(nil), // 43: kandev.plugin.v1.WorkflowStep
(*ListWorkflowStepsRequest)(nil), // 44: kandev.plugin.v1.ListWorkflowStepsRequest
(*ListWorkflowStepsResponse)(nil), // 45: kandev.plugin.v1.ListWorkflowStepsResponse
(*AgentProfile)(nil), // 46: kandev.plugin.v1.AgentProfile
(*ListAgentProfilesRequest)(nil), // 47: kandev.plugin.v1.ListAgentProfilesRequest
(*ListAgentProfilesResponse)(nil), // 48: kandev.plugin.v1.ListAgentProfilesResponse
(*Repository)(nil), // 49: kandev.plugin.v1.Repository
(*ListRepositoriesRequest)(nil), // 50: kandev.plugin.v1.ListRepositoriesRequest
(*ListRepositoriesResponse)(nil), // 51: kandev.plugin.v1.ListRepositoriesResponse
(*Session)(nil), // 52: kandev.plugin.v1.Session
(*SessionFilter)(nil), // 53: kandev.plugin.v1.SessionFilter
(*ListSessionsRequest)(nil), // 54: kandev.plugin.v1.ListSessionsRequest
(*ListSessionsResponse)(nil), // 55: kandev.plugin.v1.ListSessionsResponse
(*SessionCodeStats)(nil), // 56: kandev.plugin.v1.SessionCodeStats
(*ListSessionCodeStatsRequest)(nil), // 57: kandev.plugin.v1.ListSessionCodeStatsRequest
(*ListSessionCodeStatsResponse)(nil), // 58: kandev.plugin.v1.ListSessionCodeStatsResponse
(*CreateTaskRequest)(nil), // 59: kandev.plugin.v1.CreateTaskRequest
(*CreateTaskResponse)(nil), // 60: kandev.plugin.v1.CreateTaskResponse
(*UpdateTaskRequest)(nil), // 61: kandev.plugin.v1.UpdateTaskRequest
(*UpdateTaskResponse)(nil), // 62: kandev.plugin.v1.UpdateTaskResponse
(*Comment)(nil), // 63: kandev.plugin.v1.Comment
(*CreateCommentRequest)(nil), // 64: kandev.plugin.v1.CreateCommentRequest
(*CreateCommentResponse)(nil), // 65: kandev.plugin.v1.CreateCommentResponse
nil, // 66: kandev.plugin.v1.WebhookRequest.HeadersEntry
nil, // 67: kandev.plugin.v1.WebhookResponse.HeadersEntry
(*structpb.Struct)(nil), // 68: google.protobuf.Struct
}
var file_kandev_plugin_v1_plugin_proto_depIdxs = []int32{
68, // 0: kandev.plugin.v1.Event.payload:type_name -> google.protobuf.Struct
68, // 1: kandev.plugin.v1.ToolRequest.input:type_name -> google.protobuf.Struct
3, // 2: kandev.plugin.v1.ToolRequest.context:type_name -> kandev.plugin.v1.ToolContext
68, // 3: kandev.plugin.v1.ToolResponse.output:type_name -> google.protobuf.Struct
66, // 4: kandev.plugin.v1.WebhookRequest.headers:type_name -> kandev.plugin.v1.WebhookRequest.HeadersEntry
67, // 5: kandev.plugin.v1.WebhookResponse.headers:type_name -> kandev.plugin.v1.WebhookResponse.HeadersEntry
68, // 6: kandev.plugin.v1.GetStateResponse.value:type_name -> google.protobuf.Struct
68, // 7: kandev.plugin.v1.SetStateRequest.value:type_name -> google.protobuf.Struct
15, // 8: kandev.plugin.v1.ListStateResponse.entries:type_name -> kandev.plugin.v1.StateEntry
68, // 9: kandev.plugin.v1.StateEntry.value:type_name -> google.protobuf.Struct
68, // 10: kandev.plugin.v1.GetConfigResponse.config:type_name -> google.protobuf.Struct
68, // 11: kandev.plugin.v1.EmitEventRequest.payload:type_name -> google.protobuf.Struct
31, // 12: kandev.plugin.v1.Task.repositories:type_name -> kandev.plugin.v1.TaskRepository
68, // 13: kandev.plugin.v1.Task.metadata:type_name -> google.protobuf.Struct
32, // 14: kandev.plugin.v1.ListTasksRequest.filter:type_name -> kandev.plugin.v1.TaskFilter
28, // 15: kandev.plugin.v1.ListTasksRequest.page:type_name -> kandev.plugin.v1.Page
30, // 16: kandev.plugin.v1.ListTasksResponse.tasks:type_name -> kandev.plugin.v1.Task
29, // 17: kandev.plugin.v1.ListTasksResponse.page_info:type_name -> kandev.plugin.v1.PageInfo
30, // 18: kandev.plugin.v1.GetTaskResponse.task:type_name -> kandev.plugin.v1.Task
28, // 19: kandev.plugin.v1.ListWorkspacesRequest.page:type_name -> kandev.plugin.v1.Page
37, // 20: kandev.plugin.v1.ListWorkspacesResponse.workspaces:type_name -> kandev.plugin.v1.Workspace
29, // 21: kandev.plugin.v1.ListWorkspacesResponse.page_info:type_name -> kandev.plugin.v1.PageInfo
28, // 22: kandev.plugin.v1.ListWorkflowsRequest.page:type_name -> kandev.plugin.v1.Page
40, // 23: kandev.plugin.v1.ListWorkflowsResponse.workflows:type_name -> kandev.plugin.v1.Workflow
29, // 24: kandev.plugin.v1.ListWorkflowsResponse.page_info:type_name -> kandev.plugin.v1.PageInfo
43, // 25: kandev.plugin.v1.ListWorkflowStepsResponse.steps:type_name -> kandev.plugin.v1.WorkflowStep
28, // 26: kandev.plugin.v1.ListAgentProfilesRequest.page:type_name -> kandev.plugin.v1.Page
46, // 27: kandev.plugin.v1.ListAgentProfilesResponse.profiles:type_name -> kandev.plugin.v1.AgentProfile
29, // 28: kandev.plugin.v1.ListAgentProfilesResponse.page_info:type_name -> kandev.plugin.v1.PageInfo
28, // 29: kandev.plugin.v1.ListRepositoriesRequest.page:type_name -> kandev.plugin.v1.Page
49, // 30: kandev.plugin.v1.ListRepositoriesResponse.repositories:type_name -> kandev.plugin.v1.Repository
29, // 31: kandev.plugin.v1.ListRepositoriesResponse.page_info:type_name -> kandev.plugin.v1.PageInfo
53, // 32: kandev.plugin.v1.ListSessionsRequest.filter:type_name -> kandev.plugin.v1.SessionFilter
28, // 33: kandev.plugin.v1.ListSessionsRequest.page:type_name -> kandev.plugin.v1.Page
52, // 34: kandev.plugin.v1.ListSessionsResponse.sessions:type_name -> kandev.plugin.v1.Session
29, // 35: kandev.plugin.v1.ListSessionsResponse.page_info:type_name -> kandev.plugin.v1.PageInfo
53, // 36: kandev.plugin.v1.ListSessionCodeStatsRequest.filter:type_name -> kandev.plugin.v1.SessionFilter
28, // 37: kandev.plugin.v1.ListSessionCodeStatsRequest.page:type_name -> kandev.plugin.v1.Page
56, // 38: kandev.plugin.v1.ListSessionCodeStatsResponse.stats:type_name -> kandev.plugin.v1.SessionCodeStats
29, // 39: kandev.plugin.v1.ListSessionCodeStatsResponse.page_info:type_name -> kandev.plugin.v1.PageInfo
30, // 40: kandev.plugin.v1.CreateTaskResponse.task:type_name -> kandev.plugin.v1.Task
30, // 41: kandev.plugin.v1.UpdateTaskResponse.task:type_name -> kandev.plugin.v1.Task
63, // 42: kandev.plugin.v1.CreateCommentResponse.comment:type_name -> kandev.plugin.v1.Comment
0, // 43: kandev.plugin.v1.Plugin.DeliverEvent:input_type -> kandev.plugin.v1.Event
2, // 44: kandev.plugin.v1.Plugin.InvokeTool:input_type -> kandev.plugin.v1.ToolRequest
5, // 45: kandev.plugin.v1.Plugin.HandleWebhook:input_type -> kandev.plugin.v1.WebhookRequest
7, // 46: kandev.plugin.v1.Host.GetState:input_type -> kandev.plugin.v1.GetStateRequest
9, // 47: kandev.plugin.v1.Host.SetState:input_type -> kandev.plugin.v1.SetStateRequest
11, // 48: kandev.plugin.v1.Host.DeleteState:input_type -> kandev.plugin.v1.DeleteStateRequest
13, // 49: kandev.plugin.v1.Host.ListState:input_type -> kandev.plugin.v1.ListStateRequest
24, // 50: kandev.plugin.v1.Host.RevealSecret:input_type -> kandev.plugin.v1.RevealSecretRequest
26, // 51: kandev.plugin.v1.Host.EmitEvent:input_type -> kandev.plugin.v1.EmitEventRequest
18, // 52: kandev.plugin.v1.Host.GetSecret:input_type -> kandev.plugin.v1.GetSecretRequest
20, // 53: kandev.plugin.v1.Host.SetSecret:input_type -> kandev.plugin.v1.SetSecretRequest
22, // 54: kandev.plugin.v1.Host.DeleteSecret:input_type -> kandev.plugin.v1.DeleteSecretRequest
16, // 55: kandev.plugin.v1.Host.GetConfig:input_type -> kandev.plugin.v1.GetConfigRequest
33, // 56: kandev.plugin.v1.Host.ListTasks:input_type -> kandev.plugin.v1.ListTasksRequest
35, // 57: kandev.plugin.v1.Host.GetTask:input_type -> kandev.plugin.v1.GetTaskRequest
38, // 58: kandev.plugin.v1.Host.ListWorkspaces:input_type -> kandev.plugin.v1.ListWorkspacesRequest
41, // 59: kandev.plugin.v1.Host.ListWorkflows:input_type -> kandev.plugin.v1.ListWorkflowsRequest
44, // 60: kandev.plugin.v1.Host.ListWorkflowSteps:input_type -> kandev.plugin.v1.ListWorkflowStepsRequest
47, // 61: kandev.plugin.v1.Host.ListAgentProfiles:input_type -> kandev.plugin.v1.ListAgentProfilesRequest
50, // 62: kandev.plugin.v1.Host.ListRepositories:input_type -> kandev.plugin.v1.ListRepositoriesRequest
54, // 63: kandev.plugin.v1.Host.ListSessions:input_type -> kandev.plugin.v1.ListSessionsRequest
57, // 64: kandev.plugin.v1.Host.ListSessionCodeStats:input_type -> kandev.plugin.v1.ListSessionCodeStatsRequest
59, // 65: kandev.plugin.v1.Host.CreateTask:input_type -> kandev.plugin.v1.CreateTaskRequest
61, // 66: kandev.plugin.v1.Host.UpdateTask:input_type -> kandev.plugin.v1.UpdateTaskRequest
64, // 67: kandev.plugin.v1.Host.CreateComment:input_type -> kandev.plugin.v1.CreateCommentRequest
1, // 68: kandev.plugin.v1.Plugin.DeliverEvent:output_type -> kandev.plugin.v1.EventAck
4, // 69: kandev.plugin.v1.Plugin.InvokeTool:output_type -> kandev.plugin.v1.ToolResponse
6, // 70: kandev.plugin.v1.Plugin.HandleWebhook:output_type -> kandev.plugin.v1.WebhookResponse
8, // 71: kandev.plugin.v1.Host.GetState:output_type -> kandev.plugin.v1.GetStateResponse
10, // 72: kandev.plugin.v1.Host.SetState:output_type -> kandev.plugin.v1.SetStateResponse
12, // 73: kandev.plugin.v1.Host.DeleteState:output_type -> kandev.plugin.v1.DeleteStateResponse
14, // 74: kandev.plugin.v1.Host.ListState:output_type -> kandev.plugin.v1.ListStateResponse
25, // 75: kandev.plugin.v1.Host.RevealSecret:output_type -> kandev.plugin.v1.RevealSecretResponse
27, // 76: kandev.plugin.v1.Host.EmitEvent:output_type -> kandev.plugin.v1.EmitEventResponse
19, // 77: kandev.plugin.v1.Host.GetSecret:output_type -> kandev.plugin.v1.GetSecretResponse
21, // 78: kandev.plugin.v1.Host.SetSecret:output_type -> kandev.plugin.v1.SetSecretResponse
23, // 79: kandev.plugin.v1.Host.DeleteSecret:output_type -> kandev.plugin.v1.DeleteSecretResponse
17, // 80: kandev.plugin.v1.Host.GetConfig:output_type -> kandev.plugin.v1.GetConfigResponse
34, // 81: kandev.plugin.v1.Host.ListTasks:output_type -> kandev.plugin.v1.ListTasksResponse
36, // 82: kandev.plugin.v1.Host.GetTask:output_type -> kandev.plugin.v1.GetTaskResponse
39, // 83: kandev.plugin.v1.Host.ListWorkspaces:output_type -> kandev.plugin.v1.ListWorkspacesResponse
42, // 84: kandev.plugin.v1.Host.ListWorkflows:output_type -> kandev.plugin.v1.ListWorkflowsResponse
45, // 85: kandev.plugin.v1.Host.ListWorkflowSteps:output_type -> kandev.plugin.v1.ListWorkflowStepsResponse
48, // 86: kandev.plugin.v1.Host.ListAgentProfiles:output_type -> kandev.plugin.v1.ListAgentProfilesResponse
51, // 87: kandev.plugin.v1.Host.ListRepositories:output_type -> kandev.plugin.v1.ListRepositoriesResponse
55, // 88: kandev.plugin.v1.Host.ListSessions:output_type -> kandev.plugin.v1.ListSessionsResponse
58, // 89: kandev.plugin.v1.Host.ListSessionCodeStats:output_type -> kandev.plugin.v1.ListSessionCodeStatsResponse
60, // 90: kandev.plugin.v1.Host.CreateTask:output_type -> kandev.plugin.v1.CreateTaskResponse
62, // 91: kandev.plugin.v1.Host.UpdateTask:output_type -> kandev.plugin.v1.UpdateTaskResponse
65, // 92: kandev.plugin.v1.Host.CreateComment:output_type -> kandev.plugin.v1.CreateCommentResponse
68, // [68:93] is the sub-list for method output_type
43, // [43:68] is the sub-list for method input_type
43, // [43:43] is the sub-list for extension type_name
43, // [43:43] is the sub-list for extension extendee
0, // [0:43] is the sub-list for field type_name
}
func init() { file_kandev_plugin_v1_plugin_proto_init() }
func file_kandev_plugin_v1_plugin_proto_init() {
if File_kandev_plugin_v1_plugin_proto != nil {
return
}
file_kandev_plugin_v1_plugin_proto_msgTypes[30].OneofWrappers = []any{}
file_kandev_plugin_v1_plugin_proto_msgTypes[32].OneofWrappers = []any{}
file_kandev_plugin_v1_plugin_proto_msgTypes[37].OneofWrappers = []any{}
file_kandev_plugin_v1_plugin_proto_msgTypes[40].OneofWrappers = []any{}
file_kandev_plugin_v1_plugin_proto_msgTypes[49].OneofWrappers = []any{}
file_kandev_plugin_v1_plugin_proto_msgTypes[52].OneofWrappers = []any{}
file_kandev_plugin_v1_plugin_proto_msgTypes[59].OneofWrappers = []any{}
file_kandev_plugin_v1_plugin_proto_msgTypes[61].OneofWrappers = []any{}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_kandev_plugin_v1_plugin_proto_rawDesc), len(file_kandev_plugin_v1_plugin_proto_rawDesc)),
NumEnums: 0,
NumMessages: 68,
NumExtensions: 0,
NumServices: 2,
},
GoTypes: file_kandev_plugin_v1_plugin_proto_goTypes,
DependencyIndexes: file_kandev_plugin_v1_plugin_proto_depIdxs,
MessageInfos: file_kandev_plugin_v1_plugin_proto_msgTypes,
}.Build()
File_kandev_plugin_v1_plugin_proto = out.File
file_kandev_plugin_v1_plugin_proto_goTypes = nil
file_kandev_plugin_v1_plugin_proto_depIdxs = nil
}