mirror of
https://github.com/coder/coder.git
synced 2026-10-16 14:48:56 +08:00
chore: remove AI task support from the provisioner protocol (#28790)
Removes AI task support from the provisioner protocol: the task-related proto fields, terraform scanning for `coder_ai_task` resources, echo provisioner support, the regenerated `.pb.go` and `provisionerGenerated.ts`, and the terraform testdata that exercised them. The provisioner API version change lives in `provisionerd/proto/version.go`. **Stack context:** Coder Tasks removal stack (CODAGT-642): #28743 frontend → #28788 CLI → #28789 API → #28790 provisioner → #29084 notifications and usage → #29085 build reasons → #29086 tables → #28750 permissions. The last four PRs replace the single data-drop migration that used to live in #28750; each carries one concern and a focused migration test. **Why:** the proto fields lost their last consumer in #28789; this deletes the producer side and the wire format. **What to scrutinize:** the proto/version handling, and that `coder_ai_task` resources in existing templates are now ignored rather than errors (template imports simply no longer scan for them). **Validation:** `go build ./...`, `go test ./provisionersdk/... ./provisionerd/...`, `go test ./provisioner/terraform -run TestConvertResources`, provisioner list golden regenerated, site tsc, pre-commit hooks. **Size:** +580/-1,286 over 76 files; most files are mechanical testdata and generated-code updates. > Created by Xum (AI agent) on behalf of @ibetitsmike.
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
"last_seen_at": "====[timestamp]=====",
|
||||
"name": "test-daemon",
|
||||
"version": "v0.0.0-devel",
|
||||
"api_version": "1.18",
|
||||
"api_version": "1.19",
|
||||
"provisioners": [
|
||||
"echo"
|
||||
],
|
||||
|
||||
@@ -436,11 +436,9 @@ unused when the chat is driven by the Chats API:
|
||||
}
|
||||
```
|
||||
|
||||
> [!TIP]
|
||||
> You do not have to remove these resources immediately. Templates can
|
||||
> serve both Tasks and Chats simultaneously during a transition period.
|
||||
> The Tasks-specific resources are simply unused when work comes through
|
||||
> the Chats API.
|
||||
> [!IMPORTANT]
|
||||
> Remove the Tasks-specific Terraform when you upgrade.
|
||||
> Tasks and Chats can no longer run side by side: Coder no longer injects `CODER_TASK_ID` or `CODER_TASK_PROMPT`, so builds of a template that keeps the `coder_task` data source can no longer populate it.
|
||||
|
||||
See
|
||||
[Template Optimization](./platform-controls/template-optimization.md)
|
||||
|
||||
@@ -245,10 +245,6 @@ func (*echo) Graph(sess *provisionersdk.Session, req *proto.GraphRequest, cancel
|
||||
sess.ProvisionLog(log.Level, log.Output)
|
||||
}
|
||||
if complete := response.GetGraph(); complete != nil {
|
||||
if len(complete.AiTasks) > 0 {
|
||||
// These two fields are linked; if there are AI tasks, indicate that.
|
||||
complete.HasAiTasks = true
|
||||
}
|
||||
return complete
|
||||
}
|
||||
}
|
||||
@@ -426,10 +422,8 @@ func TarWithOptions(ctx context.Context, logger slog.Logger, responses *Response
|
||||
responses.ProvisionPlan = []*proto.Response{{
|
||||
Type: &proto.Response_Plan{
|
||||
Plan: &proto.PlanComplete{
|
||||
Plan: []byte("{}"),
|
||||
//nolint:gosec // the number of resources will not exceed int32
|
||||
AiTaskCount: int32(len(g.GetAiTasks())),
|
||||
DailyCost: dailycost,
|
||||
Plan: []byte("{}"),
|
||||
DailyCost: dailycost,
|
||||
},
|
||||
},
|
||||
}}
|
||||
|
||||
@@ -375,7 +375,6 @@ func (e *executor) plan(ctx, killCtx context.Context, env, vars []string, logr l
|
||||
Plan: planJSON,
|
||||
DailyCost: state.DailyCost,
|
||||
ResourceReplacements: resReps,
|
||||
AiTaskCount: state.AITaskCount,
|
||||
}
|
||||
|
||||
return msg, nil
|
||||
|
||||
@@ -7,8 +7,7 @@ import (
|
||||
)
|
||||
|
||||
type PlanState struct {
|
||||
DailyCost int32
|
||||
AITaskCount int32
|
||||
DailyCost int32
|
||||
}
|
||||
|
||||
func planModules(plan *tfjson.Plan) []*tfjson.StateModule {
|
||||
@@ -35,19 +34,15 @@ func ConvertPlanState(plan *tfjson.Plan) (*PlanState, error) {
|
||||
modules := planModules(plan)
|
||||
|
||||
var dailyCost int32
|
||||
var aiTaskCount int32
|
||||
for _, mod := range modules {
|
||||
err := forEachResource(mod, func(res *tfjson.StateResource) error {
|
||||
switch res.Type {
|
||||
case "coder_metadata":
|
||||
if res.Type == "coder_metadata" {
|
||||
var attrs resourceMetadataAttributes
|
||||
err := mapstructure.Decode(res.AttributeValues, &attrs)
|
||||
if err != nil {
|
||||
return xerrors.Errorf("decode metadata attributes: %w", err)
|
||||
}
|
||||
dailyCost += attrs.DailyCost
|
||||
case "coder_ai_task":
|
||||
aiTaskCount++
|
||||
}
|
||||
return nil
|
||||
})
|
||||
@@ -57,8 +52,7 @@ func ConvertPlanState(plan *tfjson.Plan) (*PlanState, error) {
|
||||
}
|
||||
|
||||
return &PlanState{
|
||||
DailyCost: dailyCost,
|
||||
AITaskCount: aiTaskCount,
|
||||
DailyCost: dailyCost,
|
||||
}, nil
|
||||
}
|
||||
|
||||
|
||||
@@ -275,8 +275,6 @@ func (s *server) Graph(
|
||||
Parameters: state.Parameters,
|
||||
ExternalAuthProviders: state.ExternalAuthProviders,
|
||||
Presets: state.Presets,
|
||||
HasAiTasks: state.HasAITasks,
|
||||
AiTasks: state.AITasks,
|
||||
HasExternalAgents: state.HasExternalAgents,
|
||||
}
|
||||
}
|
||||
@@ -379,8 +377,6 @@ func provisionEnv(
|
||||
"CODER_WORKSPACE_TEMPLATE_NAME="+metadata.GetTemplateName(),
|
||||
"CODER_WORKSPACE_TEMPLATE_VERSION="+metadata.GetTemplateVersion(),
|
||||
"CODER_WORKSPACE_BUILD_ID="+metadata.GetWorkspaceBuildId(),
|
||||
"CODER_TASK_ID="+metadata.GetTaskId(),
|
||||
"CODER_TASK_PROMPT="+metadata.GetTaskPrompt(),
|
||||
awsSDKUserAgentEnv(safeEnvironValue(env, awsSDKUserAgentEnvKey)),
|
||||
)
|
||||
if metadata.GetPrebuiltWorkspaceBuildStage().IsPrebuild() {
|
||||
|
||||
@@ -937,59 +937,6 @@ func TestProvision(t *testing.T) {
|
||||
}},
|
||||
},
|
||||
},
|
||||
{
|
||||
Name: "ai-task-multiple-allowed-in-plan",
|
||||
Files: map[string]string{
|
||||
"main.tf": `terraform {
|
||||
required_providers {
|
||||
coder = {
|
||||
source = "coder/coder"
|
||||
version = ">= 2.13.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
data "coder_task" "me" {}
|
||||
resource "coder_ai_task" "a" {
|
||||
sidebar_app {
|
||||
id = "7128be08-8722-44cb-bbe1-b5a391c4d94b" # fake ID, irrelevant here anyway but needed for validation
|
||||
}
|
||||
}
|
||||
resource "coder_ai_task" "b" {
|
||||
sidebar_app {
|
||||
id = "7128be08-8722-44cb-bbe1-b5a391c4d94b" # fake ID, irrelevant here anyway but needed for validation
|
||||
}
|
||||
}
|
||||
`,
|
||||
},
|
||||
Request: &proto.PlanRequest{},
|
||||
Response: &proto.GraphComplete{
|
||||
Resources: []*proto.Resource{
|
||||
{
|
||||
Name: "a",
|
||||
Type: "coder_ai_task",
|
||||
},
|
||||
{
|
||||
Name: "b",
|
||||
Type: "coder_ai_task",
|
||||
},
|
||||
},
|
||||
AiTasks: []*proto.AITask{
|
||||
{
|
||||
Id: "a",
|
||||
SidebarApp: &proto.AITaskSidebarApp{
|
||||
Id: "7128be08-8722-44cb-bbe1-b5a391c4d94b",
|
||||
},
|
||||
},
|
||||
{
|
||||
Id: "b",
|
||||
SidebarApp: &proto.AITaskSidebarApp{
|
||||
Id: "7128be08-8722-44cb-bbe1-b5a391c4d94b",
|
||||
},
|
||||
},
|
||||
},
|
||||
HasAiTasks: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
Name: "external-agent",
|
||||
Files: map[string]string{
|
||||
@@ -1014,38 +961,6 @@ func TestProvision(t *testing.T) {
|
||||
HasExternalAgents: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
Name: "ai-task-app-id",
|
||||
Files: map[string]string{
|
||||
"main.tf": `terraform {
|
||||
required_providers {
|
||||
coder = {
|
||||
source = "coder/coder"
|
||||
version = ">= 2.12.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
resource "coder_ai_task" "my-task" {
|
||||
app_id = "7128be08-8722-44cb-bbe1-b5a391c4d94b" # fake ID, irrelevant here anyway but needed for validation
|
||||
}
|
||||
`,
|
||||
},
|
||||
Response: &proto.GraphComplete{
|
||||
Resources: []*proto.Resource{
|
||||
{
|
||||
Name: "my-task",
|
||||
Type: "coder_ai_task",
|
||||
},
|
||||
},
|
||||
AiTasks: []*proto.AITask{
|
||||
{
|
||||
Id: "my-task",
|
||||
AppId: "7128be08-8722-44cb-bbe1-b5a391c4d94b",
|
||||
},
|
||||
},
|
||||
HasAiTasks: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
Name: "malicious-tar",
|
||||
Files: map[string]string{
|
||||
@@ -1173,7 +1088,6 @@ func TestProvision(t *testing.T) {
|
||||
require.Equal(t, string(modulesWant), string(modulesGot))
|
||||
}
|
||||
|
||||
require.Equal(t, graphComplete.HasAiTasks, testCase.Response.HasAiTasks)
|
||||
require.Equal(t, graphComplete.HasExternalAgents, testCase.Response.HasExternalAgents)
|
||||
}
|
||||
|
||||
|
||||
@@ -165,8 +165,6 @@ type State struct {
|
||||
Parameters []*proto.RichParameter
|
||||
Presets []*proto.Preset
|
||||
ExternalAuthProviders []*proto.ExternalAuthProviderResource
|
||||
AITasks []*proto.AITask
|
||||
HasAITasks bool
|
||||
HasExternalAgents bool
|
||||
}
|
||||
|
||||
@@ -209,7 +207,6 @@ func ConvertState(ctx context.Context, modules []*tfjson.StateModule, rawGraph s
|
||||
// Extra array to preserve the order of rich parameters.
|
||||
tfResourcesRichParameters := make([]*tfjson.StateResource, 0)
|
||||
tfResourcesPresets := make([]*tfjson.StateResource, 0)
|
||||
tfResourcesAITasks := make([]*tfjson.StateResource, 0)
|
||||
var findTerraformResources func(mod *tfjson.StateModule)
|
||||
findTerraformResources = func(mod *tfjson.StateModule) {
|
||||
for _, module := range mod.ChildModules {
|
||||
@@ -222,9 +219,6 @@ func ConvertState(ctx context.Context, modules []*tfjson.StateModule, rawGraph s
|
||||
if resource.Type == "coder_workspace_preset" {
|
||||
tfResourcesPresets = append(tfResourcesPresets, resource)
|
||||
}
|
||||
if resource.Type == "coder_ai_task" {
|
||||
tfResourcesAITasks = append(tfResourcesAITasks, resource)
|
||||
}
|
||||
|
||||
label := convertAddressToLabel(resource.Address)
|
||||
if tfResourcesByLabel[label] == nil {
|
||||
@@ -996,29 +990,6 @@ func ConvertState(ctx context.Context, modules []*tfjson.StateModule, rawGraph s
|
||||
return nil, xerrors.Errorf("a maximum of 1 coder_workspace_preset can be marked as default, but %d are set", defaultPresets)
|
||||
}
|
||||
|
||||
// This will only pick up resources which will actually be created.
|
||||
aiTasks := make([]*proto.AITask, 0, len(tfResourcesAITasks))
|
||||
for _, resource := range tfResourcesAITasks {
|
||||
var task provider.AITask
|
||||
err = mapstructure.Decode(resource.AttributeValues, &task)
|
||||
if err != nil {
|
||||
return nil, xerrors.Errorf("decode coder_ai_task attributes: %w", err)
|
||||
}
|
||||
|
||||
appID := task.AppID
|
||||
if appID == "" && len(task.SidebarApp) > 0 {
|
||||
appID = task.SidebarApp[0].ID
|
||||
}
|
||||
|
||||
aiTasks = append(aiTasks, &proto.AITask{
|
||||
Id: task.ID,
|
||||
AppId: appID,
|
||||
SidebarApp: &proto.AITaskSidebarApp{
|
||||
Id: appID,
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
// A map is used to ensure we don't have duplicates!
|
||||
externalAuthProvidersMap := map[string]*proto.ExternalAuthProviderResource{}
|
||||
// Process the legacy coder_git_auth type first so that
|
||||
@@ -1068,8 +1039,6 @@ func ConvertState(ctx context.Context, modules []*tfjson.StateModule, rawGraph s
|
||||
Parameters: parameters,
|
||||
Presets: presets,
|
||||
ExternalAuthProviders: externalAuthProviders,
|
||||
HasAITasks: len(aiTasks) > 0,
|
||||
AITasks: aiTasks,
|
||||
HasExternalAgents: hasExternalAgentResources(graph),
|
||||
}, nil
|
||||
}
|
||||
|
||||
@@ -1682,115 +1682,6 @@ func TestInstanceIDAssociation(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
func TestAITasks(t *testing.T) {
|
||||
t.Parallel()
|
||||
ctx, logger := ctxAndLogger(t)
|
||||
|
||||
t.Run("Multiple tasks can be defined", func(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
// nolint:dogsled
|
||||
_, filename, _, _ := runtime.Caller(0)
|
||||
|
||||
dir := filepath.Join(filepath.Dir(filename), "testdata", "resources", "ai-tasks-multiple")
|
||||
tfPlanRaw, err := os.ReadFile(filepath.Join(dir, "ai-tasks-multiple.tfplan.json"))
|
||||
require.NoError(t, err)
|
||||
var tfPlan tfjson.Plan
|
||||
err = json.Unmarshal(tfPlanRaw, &tfPlan)
|
||||
require.NoError(t, err)
|
||||
tfPlanGraph, err := os.ReadFile(filepath.Join(dir, "ai-tasks-multiple.tfplan.dot"))
|
||||
require.NoError(t, err)
|
||||
|
||||
state, err := terraform.ConvertState(ctx, []*tfjson.StateModule{tfPlan.PlannedValues.RootModule, tfPlan.PriorState.Values.RootModule}, string(tfPlanGraph), logger)
|
||||
require.NotNil(t, state)
|
||||
require.NoError(t, err)
|
||||
require.True(t, state.HasAITasks)
|
||||
// Multiple coder_ai_tasks resources can be defined, but only 1 is allowed.
|
||||
// This is validated once all parameters are resolved etc as part of the workspace build, but for now we can allow it.
|
||||
require.Len(t, state.AITasks, 2)
|
||||
})
|
||||
|
||||
t.Run("Can use sidebar app ID", func(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
// nolint:dogsled
|
||||
_, filename, _, _ := runtime.Caller(0)
|
||||
|
||||
dir := filepath.Join(filepath.Dir(filename), "testdata", "resources", "ai-tasks-sidebar")
|
||||
tfPlanRaw, err := os.ReadFile(filepath.Join(dir, "ai-tasks-sidebar.tfplan.json"))
|
||||
require.NoError(t, err)
|
||||
var tfPlan tfjson.Plan
|
||||
err = json.Unmarshal(tfPlanRaw, &tfPlan)
|
||||
require.NoError(t, err)
|
||||
tfPlanGraph, err := os.ReadFile(filepath.Join(dir, "ai-tasks-sidebar.tfplan.dot"))
|
||||
require.NoError(t, err)
|
||||
|
||||
state, err := terraform.ConvertState(ctx, []*tfjson.StateModule{tfPlan.PlannedValues.RootModule, tfPlan.PriorState.Values.RootModule}, string(tfPlanGraph), logger)
|
||||
require.NotNil(t, state)
|
||||
require.NoError(t, err)
|
||||
require.True(t, state.HasAITasks)
|
||||
require.Len(t, state.AITasks, 1)
|
||||
|
||||
sidebarApp := state.AITasks[0].GetSidebarApp()
|
||||
require.NotNil(t, sidebarApp)
|
||||
require.Equal(t, "5ece4674-dd35-4f16-88c8-82e40e72e2fd", sidebarApp.GetId())
|
||||
require.Equal(t, "5ece4674-dd35-4f16-88c8-82e40e72e2fd", state.AITasks[0].AppId)
|
||||
})
|
||||
|
||||
t.Run("Can use app ID", func(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
// nolint:dogsled
|
||||
_, filename, _, _ := runtime.Caller(0)
|
||||
|
||||
dir := filepath.Join(filepath.Dir(filename), "testdata", "resources", "ai-tasks-app")
|
||||
tfPlanRaw, err := os.ReadFile(filepath.Join(dir, "ai-tasks-app.tfplan.json"))
|
||||
require.NoError(t, err)
|
||||
var tfPlan tfjson.Plan
|
||||
err = json.Unmarshal(tfPlanRaw, &tfPlan)
|
||||
require.NoError(t, err)
|
||||
tfPlanGraph, err := os.ReadFile(filepath.Join(dir, "ai-tasks-app.tfplan.dot"))
|
||||
require.NoError(t, err)
|
||||
|
||||
state, err := terraform.ConvertState(ctx, []*tfjson.StateModule{tfPlan.PlannedValues.RootModule, tfPlan.PriorState.Values.RootModule}, string(tfPlanGraph), logger)
|
||||
require.NotNil(t, state)
|
||||
require.NoError(t, err)
|
||||
require.True(t, state.HasAITasks)
|
||||
require.Len(t, state.AITasks, 1)
|
||||
|
||||
sidebarApp := state.AITasks[0].GetSidebarApp()
|
||||
require.NotNil(t, sidebarApp)
|
||||
require.Equal(t, "5ece4674-dd35-4f16-88c8-82e40e72e2fd", sidebarApp.GetId())
|
||||
require.Equal(t, "5ece4674-dd35-4f16-88c8-82e40e72e2fd", state.AITasks[0].AppId)
|
||||
})
|
||||
|
||||
t.Run("Disabled with count zero", func(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
// nolint:dogsled
|
||||
_, filename, _, _ := runtime.Caller(0)
|
||||
|
||||
// This fixture has coder_ai_task.a in the graph (resource is defined
|
||||
// in the .tf file) but NOT in PlannedValues (count = 0). The old
|
||||
// graph-based check returned true here; the new len(aiTasks) > 0
|
||||
// check should return false.
|
||||
dir := filepath.Join(filepath.Dir(filename), "testdata", "resources", "ai-tasks-disabled")
|
||||
tfPlanRaw, err := os.ReadFile(filepath.Join(dir, "ai-tasks-disabled.tfplan.json"))
|
||||
require.NoError(t, err)
|
||||
var tfPlan tfjson.Plan
|
||||
err = json.Unmarshal(tfPlanRaw, &tfPlan)
|
||||
require.NoError(t, err)
|
||||
tfPlanGraph, err := os.ReadFile(filepath.Join(dir, "ai-tasks-disabled.tfplan.dot"))
|
||||
require.NoError(t, err)
|
||||
|
||||
state, err := terraform.ConvertState(ctx, []*tfjson.StateModule{tfPlan.PlannedValues.RootModule, tfPlan.PriorState.Values.RootModule}, string(tfPlanGraph), logger)
|
||||
require.NotNil(t, state)
|
||||
require.NoError(t, err)
|
||||
require.False(t, state.HasAITasks)
|
||||
require.Empty(t, state.AITasks)
|
||||
})
|
||||
}
|
||||
|
||||
func TestExternalAgents(t *testing.T) {
|
||||
t.Parallel()
|
||||
ctx, logger := ctxAndLogger(t)
|
||||
|
||||
-9
@@ -8,14 +8,5 @@
|
||||
"Parameters": [],
|
||||
"Presets": [],
|
||||
"ExternalAuthProviders": [],
|
||||
"AITasks": [
|
||||
{
|
||||
"sidebar_app": {
|
||||
"id": "5ece4674-dd35-4f16-88c8-82e40e72e2fd"
|
||||
},
|
||||
"app_id": "5ece4674-dd35-4f16-88c8-82e40e72e2fd"
|
||||
}
|
||||
],
|
||||
"HasAITasks": true,
|
||||
"HasExternalAgents": false
|
||||
}
|
||||
|
||||
-10
@@ -8,15 +8,5 @@
|
||||
"Parameters": [],
|
||||
"Presets": [],
|
||||
"ExternalAuthProviders": [],
|
||||
"AITasks": [
|
||||
{
|
||||
"id": "c4f032b8-97e4-42b0-aa2f-30a9e698f8d4",
|
||||
"sidebar_app": {
|
||||
"id": "5ece4674-dd35-4f16-88c8-82e40e72e2fd"
|
||||
},
|
||||
"app_id": "5ece4674-dd35-4f16-88c8-82e40e72e2fd"
|
||||
}
|
||||
],
|
||||
"HasAITasks": true,
|
||||
"HasExternalAgents": false
|
||||
}
|
||||
|
||||
-2
@@ -3,7 +3,5 @@
|
||||
"Parameters": [],
|
||||
"Presets": [],
|
||||
"ExternalAuthProviders": [],
|
||||
"AITasks": [],
|
||||
"HasAITasks": false,
|
||||
"HasExternalAgents": false
|
||||
}
|
||||
|
||||
-2
@@ -3,7 +3,5 @@
|
||||
"Parameters": [],
|
||||
"Presets": [],
|
||||
"ExternalAuthProviders": [],
|
||||
"AITasks": [],
|
||||
"HasAITasks": false,
|
||||
"HasExternalAgents": false
|
||||
}
|
||||
|
||||
-15
@@ -12,20 +12,5 @@
|
||||
"Parameters": [],
|
||||
"Presets": [],
|
||||
"ExternalAuthProviders": [],
|
||||
"AITasks": [
|
||||
{
|
||||
"sidebar_app": {
|
||||
"id": "5ece4674-dd35-4f16-88c8-82e40e72e2fd"
|
||||
},
|
||||
"app_id": "5ece4674-dd35-4f16-88c8-82e40e72e2fd"
|
||||
},
|
||||
{
|
||||
"sidebar_app": {
|
||||
"id": "5ece4674-dd35-4f16-88c8-82e40e72e2fd"
|
||||
},
|
||||
"app_id": "5ece4674-dd35-4f16-88c8-82e40e72e2fd"
|
||||
}
|
||||
],
|
||||
"HasAITasks": true,
|
||||
"HasExternalAgents": false
|
||||
}
|
||||
|
||||
-17
@@ -12,22 +12,5 @@
|
||||
"Parameters": [],
|
||||
"Presets": [],
|
||||
"ExternalAuthProviders": [],
|
||||
"AITasks": [
|
||||
{
|
||||
"id": "89e6ab36-2e98-4d13-9b4c-69b7588b7e1d",
|
||||
"sidebar_app": {
|
||||
"id": "5ece4674-dd35-4f16-88c8-82e40e72e2fd"
|
||||
},
|
||||
"app_id": "5ece4674-dd35-4f16-88c8-82e40e72e2fd"
|
||||
},
|
||||
{
|
||||
"id": "5ece4674-dd35-4f16-88c8-82e40e72e2fd",
|
||||
"sidebar_app": {
|
||||
"id": "5ece4674-dd35-4f16-88c8-82e40e72e2fd"
|
||||
},
|
||||
"app_id": "5ece4674-dd35-4f16-88c8-82e40e72e2fd"
|
||||
}
|
||||
],
|
||||
"HasAITasks": true,
|
||||
"HasExternalAgents": false
|
||||
}
|
||||
|
||||
-9
@@ -8,14 +8,5 @@
|
||||
"Parameters": [],
|
||||
"Presets": [],
|
||||
"ExternalAuthProviders": [],
|
||||
"AITasks": [
|
||||
{
|
||||
"sidebar_app": {
|
||||
"id": "5ece4674-dd35-4f16-88c8-82e40e72e2fd"
|
||||
},
|
||||
"app_id": "5ece4674-dd35-4f16-88c8-82e40e72e2fd"
|
||||
}
|
||||
],
|
||||
"HasAITasks": true,
|
||||
"HasExternalAgents": false
|
||||
}
|
||||
|
||||
-10
@@ -8,15 +8,5 @@
|
||||
"Parameters": [],
|
||||
"Presets": [],
|
||||
"ExternalAuthProviders": [],
|
||||
"AITasks": [
|
||||
{
|
||||
"id": "89e6ab36-2e98-4d13-9b4c-69b7588b7e1d",
|
||||
"sidebar_app": {
|
||||
"id": "5ece4674-dd35-4f16-88c8-82e40e72e2fd"
|
||||
},
|
||||
"app_id": "5ece4674-dd35-4f16-88c8-82e40e72e2fd"
|
||||
}
|
||||
],
|
||||
"HasAITasks": true,
|
||||
"HasExternalAgents": false
|
||||
}
|
||||
|
||||
-2
@@ -28,7 +28,5 @@
|
||||
"Parameters": [],
|
||||
"Presets": [],
|
||||
"ExternalAuthProviders": [],
|
||||
"AITasks": [],
|
||||
"HasAITasks": false,
|
||||
"HasExternalAgents": false
|
||||
}
|
||||
|
||||
-2
@@ -29,7 +29,5 @@
|
||||
"Parameters": [],
|
||||
"Presets": [],
|
||||
"ExternalAuthProviders": [],
|
||||
"AITasks": [],
|
||||
"HasAITasks": false,
|
||||
"HasExternalAgents": false
|
||||
}
|
||||
|
||||
-2
@@ -31,7 +31,5 @@
|
||||
"Parameters": [],
|
||||
"Presets": [],
|
||||
"ExternalAuthProviders": [],
|
||||
"AITasks": [],
|
||||
"HasAITasks": false,
|
||||
"HasExternalAgents": false
|
||||
}
|
||||
|
||||
-2
@@ -32,7 +32,5 @@
|
||||
"Parameters": [],
|
||||
"Presets": [],
|
||||
"ExternalAuthProviders": [],
|
||||
"AITasks": [],
|
||||
"HasAITasks": false,
|
||||
"HasExternalAgents": false
|
||||
}
|
||||
|
||||
-2
@@ -31,7 +31,5 @@
|
||||
"Parameters": [],
|
||||
"Presets": [],
|
||||
"ExternalAuthProviders": [],
|
||||
"AITasks": [],
|
||||
"HasAITasks": false,
|
||||
"HasExternalAgents": false
|
||||
}
|
||||
|
||||
Vendored
-2
@@ -32,7 +32,5 @@
|
||||
"Parameters": [],
|
||||
"Presets": [],
|
||||
"ExternalAuthProviders": [],
|
||||
"AITasks": [],
|
||||
"HasAITasks": false,
|
||||
"HasExternalAgents": false
|
||||
}
|
||||
|
||||
Vendored
-2
@@ -76,7 +76,5 @@
|
||||
"Parameters": [],
|
||||
"Presets": [],
|
||||
"ExternalAuthProviders": [],
|
||||
"AITasks": [],
|
||||
"HasAITasks": false,
|
||||
"HasExternalAgents": false
|
||||
}
|
||||
|
||||
Vendored
-2
@@ -82,7 +82,5 @@
|
||||
"Parameters": [],
|
||||
"Presets": [],
|
||||
"ExternalAuthProviders": [],
|
||||
"AITasks": [],
|
||||
"HasAITasks": false,
|
||||
"HasExternalAgents": false
|
||||
}
|
||||
|
||||
Vendored
-2
@@ -63,7 +63,5 @@
|
||||
"Parameters": [],
|
||||
"Presets": [],
|
||||
"ExternalAuthProviders": [],
|
||||
"AITasks": [],
|
||||
"HasAITasks": false,
|
||||
"HasExternalAgents": false
|
||||
}
|
||||
|
||||
Vendored
-2
@@ -66,7 +66,5 @@
|
||||
"Parameters": [],
|
||||
"Presets": [],
|
||||
"ExternalAuthProviders": [],
|
||||
"AITasks": [],
|
||||
"HasAITasks": false,
|
||||
"HasExternalAgents": false
|
||||
}
|
||||
|
||||
-2
@@ -46,7 +46,5 @@
|
||||
"Parameters": [],
|
||||
"Presets": [],
|
||||
"ExternalAuthProviders": [],
|
||||
"AITasks": [],
|
||||
"HasAITasks": false,
|
||||
"HasExternalAgents": false
|
||||
}
|
||||
|
||||
-2
@@ -51,7 +51,5 @@
|
||||
"Parameters": [],
|
||||
"Presets": [],
|
||||
"ExternalAuthProviders": [],
|
||||
"AITasks": [],
|
||||
"HasAITasks": false,
|
||||
"HasExternalAgents": false
|
||||
}
|
||||
|
||||
-2
@@ -22,7 +22,5 @@
|
||||
"Parameters": [],
|
||||
"Presets": [],
|
||||
"ExternalAuthProviders": [],
|
||||
"AITasks": [],
|
||||
"HasAITasks": false,
|
||||
"HasExternalAgents": false
|
||||
}
|
||||
|
||||
Vendored
-2
@@ -23,7 +23,5 @@
|
||||
"Parameters": [],
|
||||
"Presets": [],
|
||||
"ExternalAuthProviders": [],
|
||||
"AITasks": [],
|
||||
"HasAITasks": false,
|
||||
"HasExternalAgents": false
|
||||
}
|
||||
|
||||
-2
@@ -25,7 +25,5 @@
|
||||
"Parameters": [],
|
||||
"Presets": [],
|
||||
"ExternalAuthProviders": [],
|
||||
"AITasks": [],
|
||||
"HasAITasks": false,
|
||||
"HasExternalAgents": false
|
||||
}
|
||||
|
||||
-2
@@ -26,7 +26,5 @@
|
||||
"Parameters": [],
|
||||
"Presets": [],
|
||||
"ExternalAuthProviders": [],
|
||||
"AITasks": [],
|
||||
"HasAITasks": false,
|
||||
"HasExternalAgents": false
|
||||
}
|
||||
|
||||
-2
@@ -55,7 +55,5 @@
|
||||
"Parameters": [],
|
||||
"Presets": [],
|
||||
"ExternalAuthProviders": [],
|
||||
"AITasks": [],
|
||||
"HasAITasks": false,
|
||||
"HasExternalAgents": false
|
||||
}
|
||||
|
||||
-2
@@ -56,7 +56,5 @@
|
||||
"Parameters": [],
|
||||
"Presets": [],
|
||||
"ExternalAuthProviders": [],
|
||||
"AITasks": [],
|
||||
"HasAITasks": false,
|
||||
"HasExternalAgents": false
|
||||
}
|
||||
|
||||
-2
@@ -27,7 +27,5 @@
|
||||
"Parameters": [],
|
||||
"Presets": [],
|
||||
"ExternalAuthProviders": [],
|
||||
"AITasks": [],
|
||||
"HasAITasks": false,
|
||||
"HasExternalAgents": true
|
||||
}
|
||||
|
||||
-2
@@ -28,7 +28,5 @@
|
||||
"Parameters": [],
|
||||
"Presets": [],
|
||||
"ExternalAuthProviders": [],
|
||||
"AITasks": [],
|
||||
"HasAITasks": false,
|
||||
"HasExternalAgents": true
|
||||
}
|
||||
|
||||
Vendored
-2
@@ -35,7 +35,5 @@
|
||||
"optional": true
|
||||
}
|
||||
],
|
||||
"AITasks": [],
|
||||
"HasAITasks": false,
|
||||
"HasExternalAgents": false
|
||||
}
|
||||
|
||||
Vendored
-2
@@ -36,7 +36,5 @@
|
||||
"optional": true
|
||||
}
|
||||
],
|
||||
"AITasks": [],
|
||||
"HasAITasks": false,
|
||||
"HasExternalAgents": false
|
||||
}
|
||||
|
||||
-2
@@ -27,7 +27,5 @@
|
||||
"Parameters": [],
|
||||
"Presets": [],
|
||||
"ExternalAuthProviders": [],
|
||||
"AITasks": [],
|
||||
"HasAITasks": false,
|
||||
"HasExternalAgents": false
|
||||
}
|
||||
|
||||
-2
@@ -28,7 +28,5 @@
|
||||
"Parameters": [],
|
||||
"Presets": [],
|
||||
"ExternalAuthProviders": [],
|
||||
"AITasks": [],
|
||||
"HasAITasks": false,
|
||||
"HasExternalAgents": false
|
||||
}
|
||||
|
||||
-2
@@ -79,7 +79,5 @@
|
||||
"Parameters": [],
|
||||
"Presets": [],
|
||||
"ExternalAuthProviders": [],
|
||||
"AITasks": [],
|
||||
"HasAITasks": false,
|
||||
"HasExternalAgents": false
|
||||
}
|
||||
|
||||
-2
@@ -80,7 +80,5 @@
|
||||
"Parameters": [],
|
||||
"Presets": [],
|
||||
"ExternalAuthProviders": [],
|
||||
"AITasks": [],
|
||||
"HasAITasks": false,
|
||||
"HasExternalAgents": false
|
||||
}
|
||||
|
||||
-2
@@ -41,7 +41,5 @@
|
||||
"Parameters": [],
|
||||
"Presets": [],
|
||||
"ExternalAuthProviders": [],
|
||||
"AITasks": [],
|
||||
"HasAITasks": false,
|
||||
"HasExternalAgents": false
|
||||
}
|
||||
|
||||
-2
@@ -42,7 +42,5 @@
|
||||
"Parameters": [],
|
||||
"Presets": [],
|
||||
"ExternalAuthProviders": [],
|
||||
"AITasks": [],
|
||||
"HasAITasks": false,
|
||||
"HasExternalAgents": false
|
||||
}
|
||||
|
||||
Vendored
-2
@@ -78,7 +78,5 @@
|
||||
"Parameters": [],
|
||||
"Presets": [],
|
||||
"ExternalAuthProviders": [],
|
||||
"AITasks": [],
|
||||
"HasAITasks": false,
|
||||
"HasExternalAgents": false
|
||||
}
|
||||
|
||||
Vendored
-2
@@ -80,7 +80,5 @@
|
||||
"Parameters": [],
|
||||
"Presets": [],
|
||||
"ExternalAuthProviders": [],
|
||||
"AITasks": [],
|
||||
"HasAITasks": false,
|
||||
"HasExternalAgents": false
|
||||
}
|
||||
|
||||
Vendored
-2
@@ -81,7 +81,5 @@
|
||||
"Parameters": [],
|
||||
"Presets": [],
|
||||
"ExternalAuthProviders": [],
|
||||
"AITasks": [],
|
||||
"HasAITasks": false,
|
||||
"HasExternalAgents": false
|
||||
}
|
||||
|
||||
Vendored
-2
@@ -83,7 +83,5 @@
|
||||
"Parameters": [],
|
||||
"Presets": [],
|
||||
"ExternalAuthProviders": [],
|
||||
"AITasks": [],
|
||||
"HasAITasks": false,
|
||||
"HasExternalAgents": false
|
||||
}
|
||||
|
||||
-2
@@ -85,7 +85,5 @@
|
||||
"Parameters": [],
|
||||
"Presets": [],
|
||||
"ExternalAuthProviders": [],
|
||||
"AITasks": [],
|
||||
"HasAITasks": false,
|
||||
"HasExternalAgents": false
|
||||
}
|
||||
|
||||
-2
@@ -87,7 +87,5 @@
|
||||
"Parameters": [],
|
||||
"Presets": [],
|
||||
"ExternalAuthProviders": [],
|
||||
"AITasks": [],
|
||||
"HasAITasks": false,
|
||||
"HasExternalAgents": false
|
||||
}
|
||||
|
||||
-2
@@ -69,7 +69,5 @@
|
||||
"Parameters": [],
|
||||
"Presets": [],
|
||||
"ExternalAuthProviders": [],
|
||||
"AITasks": [],
|
||||
"HasAITasks": false,
|
||||
"HasExternalAgents": false
|
||||
}
|
||||
|
||||
-2
@@ -71,7 +71,5 @@
|
||||
"Parameters": [],
|
||||
"Presets": [],
|
||||
"ExternalAuthProviders": [],
|
||||
"AITasks": [],
|
||||
"HasAITasks": false,
|
||||
"HasExternalAgents": false
|
||||
}
|
||||
|
||||
-2
@@ -89,7 +89,5 @@
|
||||
"Parameters": [],
|
||||
"Presets": [],
|
||||
"ExternalAuthProviders": [],
|
||||
"AITasks": [],
|
||||
"HasAITasks": false,
|
||||
"HasExternalAgents": false
|
||||
}
|
||||
|
||||
-2
@@ -93,7 +93,5 @@
|
||||
"Parameters": [],
|
||||
"Presets": [],
|
||||
"ExternalAuthProviders": [],
|
||||
"AITasks": [],
|
||||
"HasAITasks": false,
|
||||
"HasExternalAgents": false
|
||||
}
|
||||
|
||||
-2
@@ -53,7 +53,5 @@
|
||||
"Parameters": [],
|
||||
"Presets": [],
|
||||
"ExternalAuthProviders": [],
|
||||
"AITasks": [],
|
||||
"HasAITasks": false,
|
||||
"HasExternalAgents": false
|
||||
}
|
||||
|
||||
-2
@@ -54,7 +54,5 @@
|
||||
"Parameters": [],
|
||||
"Presets": [],
|
||||
"ExternalAuthProviders": [],
|
||||
"AITasks": [],
|
||||
"HasAITasks": false,
|
||||
"HasExternalAgents": false
|
||||
}
|
||||
|
||||
Vendored
-2
@@ -61,7 +61,5 @@
|
||||
}
|
||||
],
|
||||
"ExternalAuthProviders": [],
|
||||
"AITasks": [],
|
||||
"HasAITasks": false,
|
||||
"HasExternalAgents": false
|
||||
}
|
||||
|
||||
Vendored
-2
@@ -62,7 +62,5 @@
|
||||
}
|
||||
],
|
||||
"ExternalAuthProviders": [],
|
||||
"AITasks": [],
|
||||
"HasAITasks": false,
|
||||
"HasExternalAgents": false
|
||||
}
|
||||
|
||||
@@ -96,7 +96,5 @@
|
||||
}
|
||||
],
|
||||
"ExternalAuthProviders": [],
|
||||
"AITasks": [],
|
||||
"HasAITasks": false,
|
||||
"HasExternalAgents": false
|
||||
}
|
||||
|
||||
@@ -97,7 +97,5 @@
|
||||
}
|
||||
],
|
||||
"ExternalAuthProviders": [],
|
||||
"AITasks": [],
|
||||
"HasAITasks": false,
|
||||
"HasExternalAgents": false
|
||||
}
|
||||
|
||||
-2
@@ -57,7 +57,5 @@
|
||||
"Parameters": [],
|
||||
"Presets": [],
|
||||
"ExternalAuthProviders": [],
|
||||
"AITasks": [],
|
||||
"HasAITasks": false,
|
||||
"HasExternalAgents": false
|
||||
}
|
||||
|
||||
-2
@@ -59,7 +59,5 @@
|
||||
"Parameters": [],
|
||||
"Presets": [],
|
||||
"ExternalAuthProviders": [],
|
||||
"AITasks": [],
|
||||
"HasAITasks": false,
|
||||
"HasExternalAgents": false
|
||||
}
|
||||
|
||||
-2
@@ -43,7 +43,5 @@
|
||||
],
|
||||
"Presets": [],
|
||||
"ExternalAuthProviders": [],
|
||||
"AITasks": [],
|
||||
"HasAITasks": false,
|
||||
"HasExternalAgents": false
|
||||
}
|
||||
|
||||
Vendored
-2
@@ -44,7 +44,5 @@
|
||||
],
|
||||
"Presets": [],
|
||||
"ExternalAuthProviders": [],
|
||||
"AITasks": [],
|
||||
"HasAITasks": false,
|
||||
"HasExternalAgents": false
|
||||
}
|
||||
|
||||
Vendored
-2
@@ -72,7 +72,5 @@
|
||||
],
|
||||
"Presets": [],
|
||||
"ExternalAuthProviders": [],
|
||||
"AITasks": [],
|
||||
"HasAITasks": false,
|
||||
"HasExternalAgents": false
|
||||
}
|
||||
|
||||
Vendored
-2
@@ -73,7 +73,5 @@
|
||||
],
|
||||
"Presets": [],
|
||||
"ExternalAuthProviders": [],
|
||||
"AITasks": [],
|
||||
"HasAITasks": false,
|
||||
"HasExternalAgents": false
|
||||
}
|
||||
|
||||
-2
@@ -113,7 +113,5 @@
|
||||
],
|
||||
"Presets": [],
|
||||
"ExternalAuthProviders": [],
|
||||
"AITasks": [],
|
||||
"HasAITasks": false,
|
||||
"HasExternalAgents": false
|
||||
}
|
||||
|
||||
-2
@@ -114,7 +114,5 @@
|
||||
],
|
||||
"Presets": [],
|
||||
"ExternalAuthProviders": [],
|
||||
"AITasks": [],
|
||||
"HasAITasks": false,
|
||||
"HasExternalAgents": false
|
||||
}
|
||||
|
||||
Generated
+158
-178
@@ -1283,7 +1283,6 @@ type CompletedJob_WorkspaceBuild struct {
|
||||
Timings []*proto.Timing `protobuf:"bytes,3,rep,name=timings,proto3" json:"timings,omitempty"`
|
||||
Modules []*proto.Module `protobuf:"bytes,4,rep,name=modules,proto3" json:"modules,omitempty"`
|
||||
ResourceReplacements []*proto.ResourceReplacement `protobuf:"bytes,5,rep,name=resource_replacements,json=resourceReplacements,proto3" json:"resource_replacements,omitempty"`
|
||||
AiTasks []*proto.AITask `protobuf:"bytes,6,rep,name=ai_tasks,json=aiTasks,proto3" json:"ai_tasks,omitempty"`
|
||||
}
|
||||
|
||||
func (x *CompletedJob_WorkspaceBuild) Reset() {
|
||||
@@ -1353,13 +1352,6 @@ func (x *CompletedJob_WorkspaceBuild) GetResourceReplacements() []*proto.Resourc
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *CompletedJob_WorkspaceBuild) GetAiTasks() []*proto.AITask {
|
||||
if x != nil {
|
||||
return x.AiTasks
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type CompletedJob_TemplateImport struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
@@ -1375,7 +1367,6 @@ type CompletedJob_TemplateImport struct {
|
||||
Plan []byte `protobuf:"bytes,9,opt,name=plan,proto3" json:"plan,omitempty"`
|
||||
ModuleFiles []byte `protobuf:"bytes,10,opt,name=module_files,json=moduleFiles,proto3" json:"module_files,omitempty"`
|
||||
ModuleFilesHash []byte `protobuf:"bytes,11,opt,name=module_files_hash,json=moduleFilesHash,proto3" json:"module_files_hash,omitempty"`
|
||||
HasAiTasks bool `protobuf:"varint,12,opt,name=has_ai_tasks,json=hasAiTasks,proto3" json:"has_ai_tasks,omitempty"`
|
||||
HasExternalAgents bool `protobuf:"varint,13,opt,name=has_external_agents,json=hasExternalAgents,proto3" json:"has_external_agents,omitempty"`
|
||||
}
|
||||
|
||||
@@ -1481,13 +1472,6 @@ func (x *CompletedJob_TemplateImport) GetModuleFilesHash() []byte {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *CompletedJob_TemplateImport) GetHasAiTasks() bool {
|
||||
if x != nil {
|
||||
return x.HasAiTasks
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (x *CompletedJob_TemplateImport) GetHasExternalAgents() bool {
|
||||
if x != nil {
|
||||
return x.HasExternalAgents
|
||||
@@ -1685,7 +1669,7 @@ var file_provisionerd_proto_provisionerd_proto_rawDesc = []byte{
|
||||
0x52, 0x07, 0x74, 0x69, 0x6d, 0x69, 0x6e, 0x67, 0x73, 0x1a, 0x10, 0x0a, 0x0e, 0x54, 0x65, 0x6d,
|
||||
0x70, 0x6c, 0x61, 0x74, 0x65, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x1a, 0x10, 0x0a, 0x0e, 0x54,
|
||||
0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x44, 0x72, 0x79, 0x52, 0x75, 0x6e, 0x42, 0x06, 0x0a,
|
||||
0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x89, 0x0b, 0x0a, 0x0c, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65,
|
||||
0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0xdb, 0x0a, 0x0a, 0x0c, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65,
|
||||
0x74, 0x65, 0x64, 0x4a, 0x6f, 0x62, 0x12, 0x15, 0x0a, 0x06, 0x6a, 0x6f, 0x62, 0x5f, 0x69, 0x64,
|
||||
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6a, 0x6f, 0x62, 0x49, 0x64, 0x12, 0x54, 0x0a,
|
||||
0x0f, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64,
|
||||
@@ -1704,7 +1688,7 @@ var file_provisionerd_proto_provisionerd_proto_rawDesc = []byte{
|
||||
0x72, 0x64, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x4a, 0x6f, 0x62, 0x2e,
|
||||
0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x44, 0x72, 0x79, 0x52, 0x75, 0x6e, 0x48, 0x00,
|
||||
0x52, 0x0e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x44, 0x72, 0x79, 0x52, 0x75, 0x6e,
|
||||
0x1a, 0xc0, 0x02, 0x0a, 0x0e, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x42, 0x75,
|
||||
0x1a, 0xa0, 0x02, 0x0a, 0x0e, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x42, 0x75,
|
||||
0x69, 0x6c, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01,
|
||||
0x28, 0x0c, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x33, 0x0a, 0x09, 0x72, 0x65, 0x73,
|
||||
0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70,
|
||||
@@ -1721,10 +1705,8 @@ var file_provisionerd_proto_provisionerd_proto_rawDesc = []byte{
|
||||
0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72,
|
||||
0x63, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x14, 0x72,
|
||||
0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x6d, 0x65,
|
||||
0x6e, 0x74, 0x73, 0x12, 0x2e, 0x0a, 0x08, 0x61, 0x69, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18,
|
||||
0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f,
|
||||
0x6e, 0x65, 0x72, 0x2e, 0x41, 0x49, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x07, 0x61, 0x69, 0x54, 0x61,
|
||||
0x73, 0x6b, 0x73, 0x1a, 0x9d, 0x05, 0x0a, 0x0e, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65,
|
||||
0x6e, 0x74, 0x73, 0x4a, 0x04, 0x08, 0x06, 0x10, 0x07, 0x52, 0x08, 0x61, 0x69, 0x5f, 0x74, 0x61,
|
||||
0x73, 0x6b, 0x73, 0x1a, 0x8f, 0x05, 0x0a, 0x0e, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65,
|
||||
0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x3e, 0x0a, 0x0f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f,
|
||||
0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
|
||||
0x15, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x2e, 0x52, 0x65,
|
||||
@@ -1760,128 +1742,128 @@ var file_provisionerd_proto_provisionerd_proto_rawDesc = []byte{
|
||||
0x28, 0x0c, 0x52, 0x0b, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x12,
|
||||
0x2a, 0x0a, 0x11, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x5f,
|
||||
0x68, 0x61, 0x73, 0x68, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x6d, 0x6f, 0x64, 0x75,
|
||||
0x6c, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x48, 0x61, 0x73, 0x68, 0x12, 0x20, 0x0a, 0x0c, 0x68,
|
||||
0x61, 0x73, 0x5f, 0x61, 0x69, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28,
|
||||
0x08, 0x52, 0x0a, 0x68, 0x61, 0x73, 0x41, 0x69, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x12, 0x2e, 0x0a,
|
||||
0x13, 0x68, 0x61, 0x73, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x61, 0x67,
|
||||
0x65, 0x6e, 0x74, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x68, 0x61, 0x73, 0x45,
|
||||
0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x73, 0x4a, 0x04, 0x08,
|
||||
0x07, 0x10, 0x08, 0x1a, 0x74, 0x0a, 0x0e, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x44,
|
||||
0x72, 0x79, 0x52, 0x75, 0x6e, 0x12, 0x33, 0x0a, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
|
||||
0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69,
|
||||
0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52,
|
||||
0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x2d, 0x0a, 0x07, 0x6d, 0x6f,
|
||||
0x64, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x70, 0x72,
|
||||
0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65,
|
||||
0x52, 0x07, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x42, 0x06, 0x0a, 0x04, 0x74, 0x79, 0x70,
|
||||
0x65, 0x22, 0xb0, 0x01, 0x0a, 0x03, 0x4c, 0x6f, 0x67, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x6f, 0x75,
|
||||
0x72, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x76,
|
||||
0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x64, 0x2e, 0x4c, 0x6f, 0x67, 0x53, 0x6f, 0x75, 0x72,
|
||||
0x63, 0x65, 0x52, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x2b, 0x0a, 0x05, 0x6c, 0x65,
|
||||
0x76, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x76,
|
||||
0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x2e, 0x4c, 0x6f, 0x67, 0x4c, 0x65, 0x76, 0x65, 0x6c,
|
||||
0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74,
|
||||
0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65,
|
||||
0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x67, 0x65, 0x18,
|
||||
0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x67, 0x65, 0x12, 0x16, 0x0a, 0x06,
|
||||
0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6f, 0x75,
|
||||
0x74, 0x70, 0x75, 0x74, 0x22, 0xa6, 0x03, 0x0a, 0x10, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4a,
|
||||
0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x15, 0x0a, 0x06, 0x6a, 0x6f, 0x62,
|
||||
0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6a, 0x6f, 0x62, 0x49, 0x64,
|
||||
0x12, 0x25, 0x0a, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11,
|
||||
0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x64, 0x2e, 0x4c, 0x6f,
|
||||
0x67, 0x52, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x12, 0x4c, 0x0a, 0x12, 0x74, 0x65, 0x6d, 0x70, 0x6c,
|
||||
0x61, 0x74, 0x65, 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x04, 0x20,
|
||||
0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65,
|
||||
0x72, 0x2e, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62,
|
||||
0x6c, 0x65, 0x52, 0x11, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x56, 0x61, 0x72, 0x69,
|
||||
0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x4c, 0x0a, 0x14, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x76, 0x61,
|
||||
0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x05, 0x20,
|
||||
0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65,
|
||||
0x72, 0x2e, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52,
|
||||
0x12, 0x75, 0x73, 0x65, 0x72, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x56, 0x61, 0x6c,
|
||||
0x75, 0x65, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x64, 0x6d, 0x65, 0x18, 0x06, 0x20,
|
||||
0x01, 0x28, 0x0c, 0x52, 0x06, 0x72, 0x65, 0x61, 0x64, 0x6d, 0x65, 0x12, 0x58, 0x0a, 0x0e, 0x77,
|
||||
0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x74, 0x61, 0x67, 0x73, 0x18, 0x07, 0x20,
|
||||
0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65,
|
||||
0x72, 0x64, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75,
|
||||
0x65, 0x73, 0x74, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x54, 0x61, 0x67,
|
||||
0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63,
|
||||
0x65, 0x54, 0x61, 0x67, 0x73, 0x1a, 0x40, 0x0a, 0x12, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61,
|
||||
0x63, 0x65, 0x54, 0x61, 0x67, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b,
|
||||
0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a,
|
||||
0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61,
|
||||
0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x22, 0x7a, 0x0a,
|
||||
0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
||||
0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x65, 0x64, 0x18, 0x01,
|
||||
0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x65, 0x64, 0x12, 0x43,
|
||||
0x0a, 0x0f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65,
|
||||
0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73,
|
||||
0x69, 0x6f, 0x6e, 0x65, 0x72, 0x2e, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x56, 0x61,
|
||||
0x6c, 0x75, 0x65, 0x52, 0x0e, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x56, 0x61, 0x6c,
|
||||
0x75, 0x65, 0x73, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x22, 0x4a, 0x0a, 0x12, 0x43, 0x6f, 0x6d,
|
||||
0x6d, 0x69, 0x74, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
||||
0x15, 0x0a, 0x06, 0x6a, 0x6f, 0x62, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||||
0x05, 0x6a, 0x6f, 0x62, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x64, 0x61, 0x69, 0x6c, 0x79, 0x5f,
|
||||
0x63, 0x6f, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x64, 0x61, 0x69, 0x6c,
|
||||
0x79, 0x43, 0x6f, 0x73, 0x74, 0x22, 0x68, 0x0a, 0x13, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x51,
|
||||
0x75, 0x6f, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02,
|
||||
0x6f, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x02, 0x6f, 0x6b, 0x12, 0x29, 0x0a, 0x10,
|
||||
0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x64,
|
||||
0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x73, 0x43,
|
||||
0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x75, 0x64, 0x67, 0x65,
|
||||
0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x62, 0x75, 0x64, 0x67, 0x65, 0x74, 0x22,
|
||||
0x0f, 0x0a, 0x0d, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x41, 0x63, 0x71, 0x75, 0x69, 0x72, 0x65,
|
||||
0x22, 0x64, 0x0a, 0x0b, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
||||
0x17, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
||||
0x52, 0x06, 0x66, 0x69, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x3c, 0x0a, 0x0b, 0x75, 0x70, 0x6c, 0x6f,
|
||||
0x61, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e,
|
||||
0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x2e, 0x44, 0x61, 0x74, 0x61,
|
||||
0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x75, 0x70, 0x6c, 0x6f,
|
||||
0x61, 0x64, 0x54, 0x79, 0x70, 0x65, 0x2a, 0x34, 0x0a, 0x09, 0x4c, 0x6f, 0x67, 0x53, 0x6f, 0x75,
|
||||
0x72, 0x63, 0x65, 0x12, 0x16, 0x0a, 0x12, 0x50, 0x52, 0x4f, 0x56, 0x49, 0x53, 0x49, 0x4f, 0x4e,
|
||||
0x45, 0x52, 0x5f, 0x44, 0x41, 0x45, 0x4d, 0x4f, 0x4e, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x50,
|
||||
0x52, 0x4f, 0x56, 0x49, 0x53, 0x49, 0x4f, 0x4e, 0x45, 0x52, 0x10, 0x01, 0x32, 0xc9, 0x04, 0x0a,
|
||||
0x11, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x44, 0x61, 0x65, 0x6d,
|
||||
0x6f, 0x6e, 0x12, 0x41, 0x0a, 0x0a, 0x41, 0x63, 0x71, 0x75, 0x69, 0x72, 0x65, 0x4a, 0x6f, 0x62,
|
||||
0x12, 0x13, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x64, 0x2e,
|
||||
0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f,
|
||||
0x6e, 0x65, 0x72, 0x64, 0x2e, 0x41, 0x63, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x4a, 0x6f, 0x62,
|
||||
0x22, 0x03, 0x88, 0x02, 0x01, 0x12, 0x52, 0x0a, 0x14, 0x41, 0x63, 0x71, 0x75, 0x69, 0x72, 0x65,
|
||||
0x4a, 0x6f, 0x62, 0x57, 0x69, 0x74, 0x68, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x12, 0x1b, 0x2e,
|
||||
0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x64, 0x2e, 0x43, 0x61, 0x6e,
|
||||
0x63, 0x65, 0x6c, 0x41, 0x63, 0x71, 0x75, 0x69, 0x72, 0x65, 0x1a, 0x19, 0x2e, 0x70, 0x72, 0x6f,
|
||||
0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x64, 0x2e, 0x41, 0x63, 0x71, 0x75, 0x69, 0x72,
|
||||
0x65, 0x64, 0x4a, 0x6f, 0x62, 0x28, 0x01, 0x30, 0x01, 0x12, 0x52, 0x0a, 0x0b, 0x43, 0x6f, 0x6d,
|
||||
0x6d, 0x69, 0x74, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x12, 0x20, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69,
|
||||
0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x64, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x51, 0x75,
|
||||
0x6f, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x70, 0x72, 0x6f,
|
||||
0x6c, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x48, 0x61, 0x73, 0x68, 0x12, 0x2e, 0x0a, 0x13, 0x68,
|
||||
0x61, 0x73, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x61, 0x67, 0x65, 0x6e,
|
||||
0x74, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x68, 0x61, 0x73, 0x45, 0x78, 0x74,
|
||||
0x65, 0x72, 0x6e, 0x61, 0x6c, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x73, 0x4a, 0x04, 0x08, 0x07, 0x10,
|
||||
0x08, 0x4a, 0x04, 0x08, 0x0c, 0x10, 0x0d, 0x52, 0x0c, 0x68, 0x61, 0x73, 0x5f, 0x61, 0x69, 0x5f,
|
||||
0x74, 0x61, 0x73, 0x6b, 0x73, 0x1a, 0x74, 0x0a, 0x0e, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74,
|
||||
0x65, 0x44, 0x72, 0x79, 0x52, 0x75, 0x6e, 0x12, 0x33, 0x0a, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75,
|
||||
0x72, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f,
|
||||
0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
|
||||
0x65, 0x52, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x2d, 0x0a, 0x07,
|
||||
0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e,
|
||||
0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x2e, 0x4d, 0x6f, 0x64, 0x75,
|
||||
0x6c, 0x65, 0x52, 0x07, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x42, 0x06, 0x0a, 0x04, 0x74,
|
||||
0x79, 0x70, 0x65, 0x22, 0xb0, 0x01, 0x0a, 0x03, 0x4c, 0x6f, 0x67, 0x12, 0x2f, 0x0a, 0x06, 0x73,
|
||||
0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x70, 0x72,
|
||||
0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x64, 0x2e, 0x4c, 0x6f, 0x67, 0x53, 0x6f,
|
||||
0x75, 0x72, 0x63, 0x65, 0x52, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x2b, 0x0a, 0x05,
|
||||
0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x70, 0x72,
|
||||
0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x2e, 0x4c, 0x6f, 0x67, 0x4c, 0x65, 0x76,
|
||||
0x65, 0x6c, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65,
|
||||
0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63,
|
||||
0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x67,
|
||||
0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x67, 0x65, 0x12, 0x16,
|
||||
0x0a, 0x06, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
|
||||
0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x22, 0xa6, 0x03, 0x0a, 0x10, 0x55, 0x70, 0x64, 0x61, 0x74,
|
||||
0x65, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x15, 0x0a, 0x06, 0x6a,
|
||||
0x6f, 0x62, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6a, 0x6f, 0x62,
|
||||
0x49, 0x64, 0x12, 0x25, 0x0a, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b,
|
||||
0x32, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x64, 0x2e,
|
||||
0x4c, 0x6f, 0x67, 0x52, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x12, 0x4c, 0x0a, 0x12, 0x74, 0x65, 0x6d,
|
||||
0x70, 0x6c, 0x61, 0x74, 0x65, 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18,
|
||||
0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f,
|
||||
0x6e, 0x65, 0x72, 0x2e, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x56, 0x61, 0x72, 0x69,
|
||||
0x61, 0x62, 0x6c, 0x65, 0x52, 0x11, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x56, 0x61,
|
||||
0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x4c, 0x0a, 0x14, 0x75, 0x73, 0x65, 0x72, 0x5f,
|
||||
0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18,
|
||||
0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f,
|
||||
0x6e, 0x65, 0x72, 0x2e, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x56, 0x61, 0x6c, 0x75,
|
||||
0x65, 0x52, 0x12, 0x75, 0x73, 0x65, 0x72, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x56,
|
||||
0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x64, 0x6d, 0x65, 0x18,
|
||||
0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x72, 0x65, 0x61, 0x64, 0x6d, 0x65, 0x12, 0x58, 0x0a,
|
||||
0x0e, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x74, 0x61, 0x67, 0x73, 0x18,
|
||||
0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f,
|
||||
0x6e, 0x65, 0x72, 0x64, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4a, 0x6f, 0x62, 0x52, 0x65,
|
||||
0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x54,
|
||||
0x61, 0x67, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70,
|
||||
0x61, 0x63, 0x65, 0x54, 0x61, 0x67, 0x73, 0x1a, 0x40, 0x0a, 0x12, 0x57, 0x6f, 0x72, 0x6b, 0x73,
|
||||
0x70, 0x61, 0x63, 0x65, 0x54, 0x61, 0x67, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a,
|
||||
0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12,
|
||||
0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
|
||||
0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x22,
|
||||
0x7a, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x73, 0x70,
|
||||
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x65, 0x64,
|
||||
0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x65, 0x64,
|
||||
0x12, 0x43, 0x0a, 0x0f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x76, 0x61, 0x6c,
|
||||
0x75, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x76,
|
||||
0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x2e, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65,
|
||||
0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0e, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x56,
|
||||
0x61, 0x6c, 0x75, 0x65, 0x73, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x22, 0x4a, 0x0a, 0x12, 0x43,
|
||||
0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
||||
0x74, 0x12, 0x15, 0x0a, 0x06, 0x6a, 0x6f, 0x62, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||
0x09, 0x52, 0x05, 0x6a, 0x6f, 0x62, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x64, 0x61, 0x69, 0x6c,
|
||||
0x79, 0x5f, 0x63, 0x6f, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x64, 0x61,
|
||||
0x69, 0x6c, 0x79, 0x43, 0x6f, 0x73, 0x74, 0x22, 0x68, 0x0a, 0x13, 0x43, 0x6f, 0x6d, 0x6d, 0x69,
|
||||
0x74, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e,
|
||||
0x0a, 0x02, 0x6f, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x02, 0x6f, 0x6b, 0x12, 0x29,
|
||||
0x0a, 0x10, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d,
|
||||
0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74,
|
||||
0x73, 0x43, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x75, 0x64,
|
||||
0x67, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x62, 0x75, 0x64, 0x67, 0x65,
|
||||
0x74, 0x22, 0x0f, 0x0a, 0x0d, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x41, 0x63, 0x71, 0x75, 0x69,
|
||||
0x72, 0x65, 0x22, 0x64, 0x0a, 0x0b, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
||||
0x74, 0x12, 0x17, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
|
||||
0x28, 0x09, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x3c, 0x0a, 0x0b, 0x75, 0x70,
|
||||
0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32,
|
||||
0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x2e, 0x44, 0x61,
|
||||
0x74, 0x61, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x75, 0x70,
|
||||
0x6c, 0x6f, 0x61, 0x64, 0x54, 0x79, 0x70, 0x65, 0x2a, 0x34, 0x0a, 0x09, 0x4c, 0x6f, 0x67, 0x53,
|
||||
0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x16, 0x0a, 0x12, 0x50, 0x52, 0x4f, 0x56, 0x49, 0x53, 0x49,
|
||||
0x4f, 0x4e, 0x45, 0x52, 0x5f, 0x44, 0x41, 0x45, 0x4d, 0x4f, 0x4e, 0x10, 0x00, 0x12, 0x0f, 0x0a,
|
||||
0x0b, 0x50, 0x52, 0x4f, 0x56, 0x49, 0x53, 0x49, 0x4f, 0x4e, 0x45, 0x52, 0x10, 0x01, 0x32, 0xc9,
|
||||
0x04, 0x0a, 0x11, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x44, 0x61,
|
||||
0x65, 0x6d, 0x6f, 0x6e, 0x12, 0x41, 0x0a, 0x0a, 0x41, 0x63, 0x71, 0x75, 0x69, 0x72, 0x65, 0x4a,
|
||||
0x6f, 0x62, 0x12, 0x13, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72,
|
||||
0x64, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73,
|
||||
0x69, 0x6f, 0x6e, 0x65, 0x72, 0x64, 0x2e, 0x41, 0x63, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x4a,
|
||||
0x6f, 0x62, 0x22, 0x03, 0x88, 0x02, 0x01, 0x12, 0x52, 0x0a, 0x14, 0x41, 0x63, 0x71, 0x75, 0x69,
|
||||
0x72, 0x65, 0x4a, 0x6f, 0x62, 0x57, 0x69, 0x74, 0x68, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x12,
|
||||
0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x64, 0x2e, 0x43,
|
||||
0x61, 0x6e, 0x63, 0x65, 0x6c, 0x41, 0x63, 0x71, 0x75, 0x69, 0x72, 0x65, 0x1a, 0x19, 0x2e, 0x70,
|
||||
0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x64, 0x2e, 0x41, 0x63, 0x71, 0x75,
|
||||
0x69, 0x72, 0x65, 0x64, 0x4a, 0x6f, 0x62, 0x28, 0x01, 0x30, 0x01, 0x12, 0x52, 0x0a, 0x0b, 0x43,
|
||||
0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x12, 0x20, 0x2e, 0x70, 0x72, 0x6f,
|
||||
0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x64, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74,
|
||||
0x51, 0x75, 0x6f, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4c, 0x0a,
|
||||
0x09, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4a, 0x6f, 0x62, 0x12, 0x1e, 0x2e, 0x70, 0x72, 0x6f,
|
||||
0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x64, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
|
||||
0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x70, 0x72, 0x6f,
|
||||
0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x64, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
|
||||
0x4a, 0x6f, 0x62, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x37, 0x0a, 0x07, 0x46,
|
||||
0x61, 0x69, 0x6c, 0x4a, 0x6f, 0x62, 0x12, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69,
|
||||
0x6f, 0x6e, 0x65, 0x72, 0x64, 0x2e, 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x4a, 0x6f, 0x62, 0x1a,
|
||||
0x13, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x64, 0x2e, 0x45,
|
||||
0x6d, 0x70, 0x74, 0x79, 0x12, 0x3e, 0x0a, 0x0b, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65,
|
||||
0x4a, 0x6f, 0x62, 0x12, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65,
|
||||
0x72, 0x64, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x4a, 0x6f, 0x62, 0x1a,
|
||||
0x13, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x64, 0x2e, 0x45,
|
||||
0x6d, 0x70, 0x74, 0x79, 0x12, 0x3c, 0x0a, 0x0a, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x46, 0x69,
|
||||
0x6c, 0x65, 0x12, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72,
|
||||
0x2e, 0x46, 0x69, 0x6c, 0x65, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x1a, 0x13, 0x2e, 0x70, 0x72,
|
||||
0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x64, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79,
|
||||
0x28, 0x01, 0x12, 0x44, 0x0a, 0x0c, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x46, 0x69,
|
||||
0x6c, 0x65, 0x12, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72,
|
||||
0x64, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e,
|
||||
0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x2e, 0x46, 0x69, 0x6c, 0x65,
|
||||
0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x30, 0x01, 0x42, 0x2e, 0x5a, 0x2c, 0x67, 0x69, 0x74, 0x68,
|
||||
0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x2f, 0x63, 0x6f, 0x64,
|
||||
0x65, 0x72, 0x2f, 0x76, 0x32, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65,
|
||||
0x72, 0x64, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
0x51, 0x75, 0x6f, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x70,
|
||||
0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x64, 0x2e, 0x43, 0x6f, 0x6d, 0x6d,
|
||||
0x69, 0x74, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
|
||||
0x4c, 0x0a, 0x09, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4a, 0x6f, 0x62, 0x12, 0x1e, 0x2e, 0x70,
|
||||
0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x64, 0x2e, 0x55, 0x70, 0x64, 0x61,
|
||||
0x74, 0x65, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x70,
|
||||
0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x64, 0x2e, 0x55, 0x70, 0x64, 0x61,
|
||||
0x74, 0x65, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x37, 0x0a,
|
||||
0x07, 0x46, 0x61, 0x69, 0x6c, 0x4a, 0x6f, 0x62, 0x12, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69,
|
||||
0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x64, 0x2e, 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x4a, 0x6f,
|
||||
0x62, 0x1a, 0x13, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x64,
|
||||
0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x3e, 0x0a, 0x0b, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65,
|
||||
0x74, 0x65, 0x4a, 0x6f, 0x62, 0x12, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f,
|
||||
0x6e, 0x65, 0x72, 0x64, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x4a, 0x6f,
|
||||
0x62, 0x1a, 0x13, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x64,
|
||||
0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x3c, 0x0a, 0x0a, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64,
|
||||
0x46, 0x69, 0x6c, 0x65, 0x12, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e,
|
||||
0x65, 0x72, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x1a, 0x13, 0x2e,
|
||||
0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x64, 0x2e, 0x45, 0x6d, 0x70,
|
||||
0x74, 0x79, 0x28, 0x01, 0x12, 0x44, 0x0a, 0x0c, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64,
|
||||
0x46, 0x69, 0x6c, 0x65, 0x12, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e,
|
||||
0x65, 0x72, 0x64, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
|
||||
0x17, 0x2e, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x2e, 0x46, 0x69,
|
||||
0x6c, 0x65, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x30, 0x01, 0x42, 0x2e, 0x5a, 0x2c, 0x67, 0x69,
|
||||
0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x2f, 0x63,
|
||||
0x6f, 0x64, 0x65, 0x72, 0x2f, 0x76, 0x32, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x73, 0x69, 0x6f,
|
||||
0x6e, 0x65, 0x72, 0x64, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
|
||||
0x6f, 0x33,
|
||||
}
|
||||
|
||||
var (
|
||||
@@ -1933,11 +1915,10 @@ var file_provisionerd_proto_provisionerd_proto_goTypes = []interface{}{
|
||||
(*proto.Resource)(nil), // 31: provisioner.Resource
|
||||
(*proto.Module)(nil), // 32: provisioner.Module
|
||||
(*proto.ResourceReplacement)(nil), // 33: provisioner.ResourceReplacement
|
||||
(*proto.AITask)(nil), // 34: provisioner.AITask
|
||||
(*proto.RichParameter)(nil), // 35: provisioner.RichParameter
|
||||
(*proto.ExternalAuthProviderResource)(nil), // 36: provisioner.ExternalAuthProviderResource
|
||||
(*proto.Preset)(nil), // 37: provisioner.Preset
|
||||
(*proto.FileUpload)(nil), // 38: provisioner.FileUpload
|
||||
(*proto.RichParameter)(nil), // 34: provisioner.RichParameter
|
||||
(*proto.ExternalAuthProviderResource)(nil), // 35: provisioner.ExternalAuthProviderResource
|
||||
(*proto.Preset)(nil), // 36: provisioner.Preset
|
||||
(*proto.FileUpload)(nil), // 37: provisioner.FileUpload
|
||||
}
|
||||
var file_provisionerd_proto_provisionerd_proto_depIdxs = []int32{
|
||||
12, // 0: provisionerd.AcquiredJob.workspace_build:type_name -> provisionerd.AcquiredJob.WorkspaceBuild
|
||||
@@ -1973,36 +1954,35 @@ var file_provisionerd_proto_provisionerd_proto_depIdxs = []int32{
|
||||
30, // 30: provisionerd.CompletedJob.WorkspaceBuild.timings:type_name -> provisioner.Timing
|
||||
32, // 31: provisionerd.CompletedJob.WorkspaceBuild.modules:type_name -> provisioner.Module
|
||||
33, // 32: provisionerd.CompletedJob.WorkspaceBuild.resource_replacements:type_name -> provisioner.ResourceReplacement
|
||||
34, // 33: provisionerd.CompletedJob.WorkspaceBuild.ai_tasks:type_name -> provisioner.AITask
|
||||
31, // 34: provisionerd.CompletedJob.TemplateImport.start_resources:type_name -> provisioner.Resource
|
||||
31, // 35: provisionerd.CompletedJob.TemplateImport.stop_resources:type_name -> provisioner.Resource
|
||||
35, // 36: provisionerd.CompletedJob.TemplateImport.rich_parameters:type_name -> provisioner.RichParameter
|
||||
36, // 37: provisionerd.CompletedJob.TemplateImport.external_auth_providers:type_name -> provisioner.ExternalAuthProviderResource
|
||||
32, // 38: provisionerd.CompletedJob.TemplateImport.start_modules:type_name -> provisioner.Module
|
||||
37, // 39: provisionerd.CompletedJob.TemplateImport.presets:type_name -> provisioner.Preset
|
||||
31, // 40: provisionerd.CompletedJob.TemplateDryRun.resources:type_name -> provisioner.Resource
|
||||
32, // 41: provisionerd.CompletedJob.TemplateDryRun.modules:type_name -> provisioner.Module
|
||||
1, // 42: provisionerd.ProvisionerDaemon.AcquireJob:input_type -> provisionerd.Empty
|
||||
10, // 43: provisionerd.ProvisionerDaemon.AcquireJobWithCancel:input_type -> provisionerd.CancelAcquire
|
||||
8, // 44: provisionerd.ProvisionerDaemon.CommitQuota:input_type -> provisionerd.CommitQuotaRequest
|
||||
6, // 45: provisionerd.ProvisionerDaemon.UpdateJob:input_type -> provisionerd.UpdateJobRequest
|
||||
3, // 46: provisionerd.ProvisionerDaemon.FailJob:input_type -> provisionerd.FailedJob
|
||||
4, // 47: provisionerd.ProvisionerDaemon.CompleteJob:input_type -> provisionerd.CompletedJob
|
||||
38, // 48: provisionerd.ProvisionerDaemon.UploadFile:input_type -> provisioner.FileUpload
|
||||
11, // 49: provisionerd.ProvisionerDaemon.DownloadFile:input_type -> provisionerd.FileRequest
|
||||
2, // 50: provisionerd.ProvisionerDaemon.AcquireJob:output_type -> provisionerd.AcquiredJob
|
||||
2, // 51: provisionerd.ProvisionerDaemon.AcquireJobWithCancel:output_type -> provisionerd.AcquiredJob
|
||||
9, // 52: provisionerd.ProvisionerDaemon.CommitQuota:output_type -> provisionerd.CommitQuotaResponse
|
||||
7, // 53: provisionerd.ProvisionerDaemon.UpdateJob:output_type -> provisionerd.UpdateJobResponse
|
||||
1, // 54: provisionerd.ProvisionerDaemon.FailJob:output_type -> provisionerd.Empty
|
||||
1, // 55: provisionerd.ProvisionerDaemon.CompleteJob:output_type -> provisionerd.Empty
|
||||
1, // 56: provisionerd.ProvisionerDaemon.UploadFile:output_type -> provisionerd.Empty
|
||||
38, // 57: provisionerd.ProvisionerDaemon.DownloadFile:output_type -> provisioner.FileUpload
|
||||
50, // [50:58] is the sub-list for method output_type
|
||||
42, // [42:50] is the sub-list for method input_type
|
||||
42, // [42:42] is the sub-list for extension type_name
|
||||
42, // [42:42] is the sub-list for extension extendee
|
||||
0, // [0:42] is the sub-list for field type_name
|
||||
31, // 33: provisionerd.CompletedJob.TemplateImport.start_resources:type_name -> provisioner.Resource
|
||||
31, // 34: provisionerd.CompletedJob.TemplateImport.stop_resources:type_name -> provisioner.Resource
|
||||
34, // 35: provisionerd.CompletedJob.TemplateImport.rich_parameters:type_name -> provisioner.RichParameter
|
||||
35, // 36: provisionerd.CompletedJob.TemplateImport.external_auth_providers:type_name -> provisioner.ExternalAuthProviderResource
|
||||
32, // 37: provisionerd.CompletedJob.TemplateImport.start_modules:type_name -> provisioner.Module
|
||||
36, // 38: provisionerd.CompletedJob.TemplateImport.presets:type_name -> provisioner.Preset
|
||||
31, // 39: provisionerd.CompletedJob.TemplateDryRun.resources:type_name -> provisioner.Resource
|
||||
32, // 40: provisionerd.CompletedJob.TemplateDryRun.modules:type_name -> provisioner.Module
|
||||
1, // 41: provisionerd.ProvisionerDaemon.AcquireJob:input_type -> provisionerd.Empty
|
||||
10, // 42: provisionerd.ProvisionerDaemon.AcquireJobWithCancel:input_type -> provisionerd.CancelAcquire
|
||||
8, // 43: provisionerd.ProvisionerDaemon.CommitQuota:input_type -> provisionerd.CommitQuotaRequest
|
||||
6, // 44: provisionerd.ProvisionerDaemon.UpdateJob:input_type -> provisionerd.UpdateJobRequest
|
||||
3, // 45: provisionerd.ProvisionerDaemon.FailJob:input_type -> provisionerd.FailedJob
|
||||
4, // 46: provisionerd.ProvisionerDaemon.CompleteJob:input_type -> provisionerd.CompletedJob
|
||||
37, // 47: provisionerd.ProvisionerDaemon.UploadFile:input_type -> provisioner.FileUpload
|
||||
11, // 48: provisionerd.ProvisionerDaemon.DownloadFile:input_type -> provisionerd.FileRequest
|
||||
2, // 49: provisionerd.ProvisionerDaemon.AcquireJob:output_type -> provisionerd.AcquiredJob
|
||||
2, // 50: provisionerd.ProvisionerDaemon.AcquireJobWithCancel:output_type -> provisionerd.AcquiredJob
|
||||
9, // 51: provisionerd.ProvisionerDaemon.CommitQuota:output_type -> provisionerd.CommitQuotaResponse
|
||||
7, // 52: provisionerd.ProvisionerDaemon.UpdateJob:output_type -> provisionerd.UpdateJobResponse
|
||||
1, // 53: provisionerd.ProvisionerDaemon.FailJob:output_type -> provisionerd.Empty
|
||||
1, // 54: provisionerd.ProvisionerDaemon.CompleteJob:output_type -> provisionerd.Empty
|
||||
1, // 55: provisionerd.ProvisionerDaemon.UploadFile:output_type -> provisionerd.Empty
|
||||
37, // 56: provisionerd.ProvisionerDaemon.DownloadFile:output_type -> provisioner.FileUpload
|
||||
49, // [49:57] is the sub-list for method output_type
|
||||
41, // [41:49] is the sub-list for method input_type
|
||||
41, // [41:41] is the sub-list for extension type_name
|
||||
41, // [41:41] is the sub-list for extension extendee
|
||||
0, // [0:41] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_provisionerd_proto_provisionerd_proto_init() }
|
||||
|
||||
@@ -85,7 +85,8 @@ message CompletedJob {
|
||||
repeated provisioner.Timing timings = 3;
|
||||
repeated provisioner.Module modules = 4;
|
||||
repeated provisioner.ResourceReplacement resource_replacements = 5;
|
||||
repeated provisioner.AITask ai_tasks = 6;
|
||||
reserved 6;
|
||||
reserved "ai_tasks";
|
||||
}
|
||||
message TemplateImport {
|
||||
repeated provisioner.Resource start_resources = 1;
|
||||
@@ -99,7 +100,8 @@ message CompletedJob {
|
||||
bytes plan = 9;
|
||||
bytes module_files = 10;
|
||||
bytes module_files_hash = 11;
|
||||
bool has_ai_tasks = 12;
|
||||
reserved 12;
|
||||
reserved "has_ai_tasks";
|
||||
bool has_external_agents = 13;
|
||||
}
|
||||
message TemplateDryRun {
|
||||
|
||||
@@ -92,9 +92,18 @@ import "github.com/coder/coder/v2/apiversion"
|
||||
// `coder_secret` Terraform integration is being removed; user secrets are
|
||||
// still delivered to running workspaces via the agent manifest path, which
|
||||
// is independent of this proto.
|
||||
//
|
||||
// API v1.19:
|
||||
// - Removed `ai_tasks` (field 6) and `has_ai_tasks` (field 12) from
|
||||
// provisionerd.proto `CompletedJob.WorkspaceBuild` and
|
||||
// `CompletedJob.TemplateImport`.
|
||||
// - Removed `ai_tasks` (field 8), `has_ai_tasks` (field 7), `ai_task_count`
|
||||
// (field 6), `task_id` (field 22), `task_prompt` (field 23), and the
|
||||
// `AITask` / `AITaskSidebarApp` messages from provisioner.proto. Coder
|
||||
// Tasks is being removed.
|
||||
const (
|
||||
CurrentMajor = 1
|
||||
CurrentMinor = 18
|
||||
CurrentMinor = 19
|
||||
)
|
||||
|
||||
// CurrentVersion is the current provisionerd API version.
|
||||
|
||||
@@ -620,7 +620,6 @@ func (r *Runner) runTemplateImport(ctx context.Context) (*proto.CompletedJob, *p
|
||||
ModuleFiles: initResp.ModuleFiles,
|
||||
// ModuleFileHash will be populated if the file is uploaded async
|
||||
ModuleFilesHash: []byte{},
|
||||
HasAiTasks: startProvision.HasAITasks,
|
||||
HasExternalAgents: startProvision.HasExternalAgents,
|
||||
},
|
||||
},
|
||||
@@ -683,7 +682,6 @@ type templateImportProvision struct {
|
||||
ExternalAuthProviders []*sdkproto.ExternalAuthProviderResource
|
||||
Presets []*sdkproto.Preset
|
||||
Plan json.RawMessage
|
||||
HasAITasks bool
|
||||
HasExternalAgents bool
|
||||
}
|
||||
|
||||
@@ -751,7 +749,6 @@ func (r *Runner) runTemplateImportProvisionWithRichParameters(
|
||||
ExternalAuthProviders: graphComplete.ExternalAuthProviders,
|
||||
Presets: graphComplete.Presets,
|
||||
Plan: planComplete.Plan,
|
||||
HasAITasks: graphComplete.HasAiTasks,
|
||||
HasExternalAgents: graphComplete.HasExternalAgents,
|
||||
}, nil
|
||||
}
|
||||
@@ -988,10 +985,6 @@ func (r *Runner) runWorkspaceBuild(ctx context.Context) (*proto.CompletedJob, *p
|
||||
}
|
||||
}
|
||||
|
||||
if planComplete.AiTaskCount > 1 {
|
||||
return nil, r.failedWorkspaceBuildf("only one 'coder_ai_task' resource can be provisioned per template, found %d", planComplete.AiTaskCount)
|
||||
}
|
||||
|
||||
r.logger.Info(context.Background(), "plan request successful")
|
||||
r.flushQueuedLogs(ctx)
|
||||
if commitQuota {
|
||||
@@ -1089,7 +1082,6 @@ func (r *Runner) runWorkspaceBuild(ctx context.Context) (*proto.CompletedJob, *p
|
||||
Modules: initComplete.Modules,
|
||||
// Resource replacements are discovered at plan time, only.
|
||||
ResourceReplacements: planComplete.ResourceReplacements,
|
||||
AiTasks: graphComplete.AiTasks,
|
||||
},
|
||||
},
|
||||
}, nil
|
||||
|
||||
Generated
+398
-595
File diff suppressed because it is too large
Load Diff
@@ -338,15 +338,6 @@ enum PrebuiltWorkspaceBuildStage {
|
||||
CLAIM = 2; // A prebuilt workspace is being claimed.
|
||||
}
|
||||
|
||||
message AITaskSidebarApp {
|
||||
string id = 1;
|
||||
}
|
||||
|
||||
message AITask {
|
||||
string id = 1;
|
||||
optional AITaskSidebarApp sidebar_app = 2;
|
||||
string app_id = 3;
|
||||
}
|
||||
|
||||
// Metadata is information about a workspace used in the execution of a build
|
||||
message Metadata {
|
||||
@@ -371,8 +362,8 @@ message Metadata {
|
||||
repeated Role workspace_owner_rbac_roles = 19;
|
||||
PrebuiltWorkspaceBuildStage prebuilt_workspace_build_stage = 20; // Indicates that a prebuilt workspace is being built.
|
||||
repeated RunningAgentAuthToken running_agent_auth_tokens = 21;
|
||||
string task_id = 22;
|
||||
string task_prompt = 23;
|
||||
reserved 22, 23;
|
||||
reserved "task_id", "task_prompt";
|
||||
string template_version_id = 24;
|
||||
string template_version_modules_file = 25;
|
||||
}
|
||||
@@ -445,7 +436,8 @@ message PlanComplete {
|
||||
bytes plan = 3;
|
||||
int32 dailyCost = 4;
|
||||
repeated ResourceReplacement resource_replacements = 5;
|
||||
int32 ai_task_count = 6;
|
||||
reserved 6;
|
||||
reserved "ai_task_count";
|
||||
}
|
||||
|
||||
// ApplyRequest asks the provisioner to apply the changes. Apply MUST be preceded by a successful plan request/response
|
||||
@@ -479,10 +471,8 @@ message GraphComplete {
|
||||
repeated RichParameter parameters = 4;
|
||||
repeated ExternalAuthProviderResource external_auth_providers = 5;
|
||||
repeated Preset presets = 6;
|
||||
// Whether actual `coder_ai_task` resource instances exist.
|
||||
// Resources defined with count = 0 do not set this flag.
|
||||
bool has_ai_tasks = 7;
|
||||
repeated provisioner.AITask ai_tasks = 8;
|
||||
reserved 7, 8;
|
||||
reserved "has_ai_tasks", "ai_tasks";
|
||||
bool has_external_agents = 9;
|
||||
}
|
||||
|
||||
|
||||
@@ -850,7 +850,6 @@ const createTemplateVersionTar = async (
|
||||
timings: [],
|
||||
presets: [],
|
||||
resourceReplacements: [],
|
||||
aiTasks: [],
|
||||
...response.graph,
|
||||
} as GraphComplete;
|
||||
response.graph.resources = response.graph.resources?.map(fillResource);
|
||||
|
||||
Generated
-58
@@ -387,16 +387,6 @@ export interface RunningAgentAuthToken {
|
||||
token: string;
|
||||
}
|
||||
|
||||
export interface AITaskSidebarApp {
|
||||
id: string;
|
||||
}
|
||||
|
||||
export interface AITask {
|
||||
id: string;
|
||||
sidebarApp?: AITaskSidebarApp | undefined;
|
||||
appId: string;
|
||||
}
|
||||
|
||||
/** Metadata is information about a workspace used in the execution of a build */
|
||||
export interface Metadata {
|
||||
coderUrl: string;
|
||||
@@ -421,8 +411,6 @@ export interface Metadata {
|
||||
/** Indicates that a prebuilt workspace is being built. */
|
||||
prebuiltWorkspaceBuildStage: PrebuiltWorkspaceBuildStage;
|
||||
runningAgentAuthTokens: RunningAgentAuthToken[];
|
||||
taskId: string;
|
||||
taskPrompt: string;
|
||||
templateVersionId: string;
|
||||
templateVersionModulesFile: string;
|
||||
}
|
||||
@@ -495,7 +483,6 @@ export interface PlanComplete {
|
||||
plan: Uint8Array;
|
||||
dailyCost: number;
|
||||
resourceReplacements: ResourceReplacement[];
|
||||
aiTaskCount: number;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -525,12 +512,6 @@ export interface GraphComplete {
|
||||
parameters: RichParameter[];
|
||||
externalAuthProviders: ExternalAuthProviderResource[];
|
||||
presets: Preset[];
|
||||
/**
|
||||
* Whether actual `coder_ai_task` resource instances exist.
|
||||
* Resources defined with count = 0 do not set this flag.
|
||||
*/
|
||||
hasAiTasks: boolean;
|
||||
aiTasks: AITask[];
|
||||
hasExternalAgents: boolean;
|
||||
}
|
||||
|
||||
@@ -1284,30 +1265,6 @@ export const RunningAgentAuthToken = {
|
||||
},
|
||||
};
|
||||
|
||||
export const AITaskSidebarApp = {
|
||||
encode(message: AITaskSidebarApp, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
||||
if (message.id !== "") {
|
||||
writer.uint32(10).string(message.id);
|
||||
}
|
||||
return writer;
|
||||
},
|
||||
};
|
||||
|
||||
export const AITask = {
|
||||
encode(message: AITask, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
||||
if (message.id !== "") {
|
||||
writer.uint32(10).string(message.id);
|
||||
}
|
||||
if (message.sidebarApp !== undefined) {
|
||||
AITaskSidebarApp.encode(message.sidebarApp, writer.uint32(18).fork()).ldelim();
|
||||
}
|
||||
if (message.appId !== "") {
|
||||
writer.uint32(26).string(message.appId);
|
||||
}
|
||||
return writer;
|
||||
},
|
||||
};
|
||||
|
||||
export const Metadata = {
|
||||
encode(message: Metadata, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
||||
if (message.coderUrl !== "") {
|
||||
@@ -1373,12 +1330,6 @@ export const Metadata = {
|
||||
for (const v of message.runningAgentAuthTokens) {
|
||||
RunningAgentAuthToken.encode(v!, writer.uint32(170).fork()).ldelim();
|
||||
}
|
||||
if (message.taskId !== "") {
|
||||
writer.uint32(178).string(message.taskId);
|
||||
}
|
||||
if (message.taskPrompt !== "") {
|
||||
writer.uint32(186).string(message.taskPrompt);
|
||||
}
|
||||
if (message.templateVersionId !== "") {
|
||||
writer.uint32(194).string(message.templateVersionId);
|
||||
}
|
||||
@@ -1517,9 +1468,6 @@ export const PlanComplete = {
|
||||
for (const v of message.resourceReplacements) {
|
||||
ResourceReplacement.encode(v!, writer.uint32(42).fork()).ldelim();
|
||||
}
|
||||
if (message.aiTaskCount !== 0) {
|
||||
writer.uint32(48).int32(message.aiTaskCount);
|
||||
}
|
||||
return writer;
|
||||
},
|
||||
};
|
||||
@@ -1580,12 +1528,6 @@ export const GraphComplete = {
|
||||
for (const v of message.presets) {
|
||||
Preset.encode(v!, writer.uint32(50).fork()).ldelim();
|
||||
}
|
||||
if (message.hasAiTasks !== false) {
|
||||
writer.uint32(56).bool(message.hasAiTasks);
|
||||
}
|
||||
for (const v of message.aiTasks) {
|
||||
AITask.encode(v!, writer.uint32(66).fork()).ldelim();
|
||||
}
|
||||
if (message.hasExternalAgents !== false) {
|
||||
writer.uint32(72).bool(message.hasExternalAgents);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user