7568 lines
207 KiB
JSON
7568 lines
207 KiB
JSON
{
|
|
"ai_models_credentials": {
|
|
"package_name": "shared",
|
|
"imports": [],
|
|
"structs": [
|
|
{
|
|
"name": "ModelProviderOption",
|
|
"fields": [
|
|
{
|
|
"name": "Publishers",
|
|
"type_name": "map[ModelPublisher]bool",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": true
|
|
},
|
|
{
|
|
"name": "Config",
|
|
"type_name": "ModelProviderConfigSchema",
|
|
"omitempty": false,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Priority",
|
|
"type_name": "int",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/ai_models_credentials.go",
|
|
"line_number": 3,
|
|
"is_exported": true
|
|
}
|
|
],
|
|
"enums": [],
|
|
"type_aliases": [
|
|
{
|
|
"name": "ModelProviderOptions",
|
|
"underlying_type": "map[string]ModelProviderOption",
|
|
"file_path": "/app/plandex/app/shared/ai_models_credentials.go",
|
|
"line_number": 9
|
|
}
|
|
]
|
|
},
|
|
"ai_models_custom": {
|
|
"package_name": "shared",
|
|
"imports": [
|
|
"crypto/sha256",
|
|
"encoding/hex",
|
|
"encoding/json",
|
|
"fmt",
|
|
"strings",
|
|
"time",
|
|
"github.com/google/go-cmp/cmp",
|
|
"github.com/google/go-cmp/cmp/cmpopts"
|
|
],
|
|
"structs": [
|
|
{
|
|
"name": "CustomModel",
|
|
"fields": [
|
|
{
|
|
"name": "Id",
|
|
"type_name": "string",
|
|
"json_tag": "id",
|
|
"omitempty": true,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "ModelId",
|
|
"type_name": "ModelId",
|
|
"json_tag": "modelId",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Publisher",
|
|
"type_name": "ModelPublisher",
|
|
"json_tag": "publisher",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Description",
|
|
"type_name": "string",
|
|
"json_tag": "description",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Providers",
|
|
"type_name": "BaseModelUsesProvider",
|
|
"json_tag": "providers",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": true,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "CreatedAt",
|
|
"type_name": "time.Time",
|
|
"json_tag": "createdAt",
|
|
"omitempty": true,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "UpdatedAt",
|
|
"type_name": "time.Time",
|
|
"json_tag": "updatedAt",
|
|
"omitempty": true,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/ai_models_custom.go",
|
|
"line_number": 25,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "CustomProvider",
|
|
"fields": [
|
|
{
|
|
"name": "Id",
|
|
"type_name": "string",
|
|
"json_tag": "id",
|
|
"omitempty": true,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Name",
|
|
"type_name": "string",
|
|
"json_tag": "name",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "BaseUrl",
|
|
"type_name": "string",
|
|
"json_tag": "baseUrl",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false,
|
|
"comment": "for AWS Bedrock models"
|
|
},
|
|
{
|
|
"name": "HasAWSAuth",
|
|
"type_name": "bool",
|
|
"json_tag": "hasAWSAuth",
|
|
"omitempty": true,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false,
|
|
"comment": "for local models that don't require auth (ollama, etc.)"
|
|
},
|
|
{
|
|
"name": "SkipAuth",
|
|
"type_name": "bool",
|
|
"json_tag": "skipAuth",
|
|
"omitempty": true,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "ApiKeyEnvVar",
|
|
"type_name": "string",
|
|
"json_tag": "apiKeyEnvVar",
|
|
"omitempty": true,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "ExtraAuthVars",
|
|
"type_name": "ModelProviderExtraAuthVars",
|
|
"json_tag": "extraAuthVars",
|
|
"omitempty": true,
|
|
"is_optional": false,
|
|
"is_array": true,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "CreatedAt",
|
|
"type_name": "time.Time",
|
|
"json_tag": "createdAt",
|
|
"omitempty": true,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "UpdatedAt",
|
|
"type_name": "time.Time",
|
|
"json_tag": "updatedAt",
|
|
"omitempty": true,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/ai_models_custom.go",
|
|
"line_number": 39,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "ModelsInput",
|
|
"fields": [
|
|
{
|
|
"name": "CustomModels",
|
|
"type_name": "*CustomModel",
|
|
"json_tag": "models",
|
|
"omitempty": true,
|
|
"is_optional": false,
|
|
"is_array": true,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "CustomProviders",
|
|
"type_name": "*CustomProvider",
|
|
"json_tag": "providers",
|
|
"omitempty": true,
|
|
"is_optional": false,
|
|
"is_array": true,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "CustomModelPacks",
|
|
"type_name": "*ModelPackSchema",
|
|
"json_tag": "modelPacks",
|
|
"omitempty": true,
|
|
"is_optional": false,
|
|
"is_array": true,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/ai_models_custom.go",
|
|
"line_number": 57,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "ClientModelPackSchema",
|
|
"fields": [
|
|
{
|
|
"name": "Name",
|
|
"type_name": "string",
|
|
"json_tag": "name",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Description",
|
|
"type_name": "string",
|
|
"json_tag": "description",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/ai_models_custom.go",
|
|
"line_number": 191,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "ClientModelsInput",
|
|
"fields": [
|
|
{
|
|
"name": "SchemaUrl",
|
|
"type_name": "SchemaUrl",
|
|
"json_tag": "$schema",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "CustomModels",
|
|
"type_name": "*CustomModel",
|
|
"json_tag": "models",
|
|
"omitempty": true,
|
|
"is_optional": false,
|
|
"is_array": true,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "CustomProviders",
|
|
"type_name": "*CustomProvider",
|
|
"json_tag": "providers",
|
|
"omitempty": true,
|
|
"is_optional": false,
|
|
"is_array": true,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "CustomModelPacks",
|
|
"type_name": "*ClientModelPackSchema",
|
|
"json_tag": "modelPacks",
|
|
"omitempty": true,
|
|
"is_optional": false,
|
|
"is_array": true,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/ai_models_custom.go",
|
|
"line_number": 214,
|
|
"is_exported": true
|
|
}
|
|
],
|
|
"enums": [
|
|
{
|
|
"name": "SchemaUrl",
|
|
"type_name": "string",
|
|
"values": [
|
|
"SchemaUrlInputConfig",
|
|
"SchemaUrlPlanConfig",
|
|
"SchemaUrlInlineModelPack"
|
|
],
|
|
"file_path": "/app/plandex/app/shared/ai_models_custom.go",
|
|
"line_number": 17
|
|
}
|
|
],
|
|
"type_aliases": [
|
|
{
|
|
"name": "SchemaUrl",
|
|
"underlying_type": "string",
|
|
"file_path": "/app/plandex/app/shared/ai_models_custom.go",
|
|
"line_number": 15
|
|
}
|
|
]
|
|
},
|
|
"ai_models_data_models": {
|
|
"package_name": "shared",
|
|
"imports": [
|
|
"crypto/sha256",
|
|
"database/sql/driver",
|
|
"encoding/hex",
|
|
"encoding/json",
|
|
"fmt",
|
|
"reflect",
|
|
"strings",
|
|
"time"
|
|
],
|
|
"structs": [
|
|
{
|
|
"name": "ModelCompatibility",
|
|
"fields": [
|
|
{
|
|
"name": "HasImageSupport",
|
|
"type_name": "bool",
|
|
"json_tag": "hasImageSupport",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/ai_models_data_models.go",
|
|
"line_number": 14,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "BaseModelShared",
|
|
"fields": [
|
|
{
|
|
"name": "DefaultMaxConvoTokens",
|
|
"type_name": "int",
|
|
"json_tag": "defaultMaxConvoTokens",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "MaxTokens",
|
|
"type_name": "int",
|
|
"json_tag": "maxTokens",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "MaxOutputTokens",
|
|
"type_name": "int",
|
|
"json_tag": "maxOutputTokens",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "ReservedOutputTokens",
|
|
"type_name": "int",
|
|
"json_tag": "reservedOutputTokens",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "PreferredOutputFormat",
|
|
"type_name": "ModelOutputFormat",
|
|
"json_tag": "preferredOutputFormat",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "SystemPromptDisabled",
|
|
"type_name": "bool",
|
|
"json_tag": "systemPromptDisabled",
|
|
"omitempty": true,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "RoleParamsDisabled",
|
|
"type_name": "bool",
|
|
"json_tag": "roleParamsDisabled",
|
|
"omitempty": true,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "StopDisabled",
|
|
"type_name": "bool",
|
|
"json_tag": "stopDisabled",
|
|
"omitempty": true,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "PredictedOutputEnabled",
|
|
"type_name": "bool",
|
|
"json_tag": "predictedOutputEnabled",
|
|
"omitempty": true,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "ReasoningEffortEnabled",
|
|
"type_name": "bool",
|
|
"json_tag": "reasoningEffortEnabled",
|
|
"omitempty": true,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "ReasoningEffort",
|
|
"type_name": "ReasoningEffort",
|
|
"json_tag": "reasoningEffort",
|
|
"omitempty": true,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "IncludeReasoning",
|
|
"type_name": "bool",
|
|
"json_tag": "includeReasoning",
|
|
"omitempty": true,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "HideReasoning",
|
|
"type_name": "bool",
|
|
"json_tag": "hideReasoning",
|
|
"omitempty": true,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "ReasoningBudget",
|
|
"type_name": "int",
|
|
"json_tag": "reasoningBudget",
|
|
"omitempty": true,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "SupportsCacheControl",
|
|
"type_name": "bool",
|
|
"json_tag": "supportsCacheControl",
|
|
"omitempty": true,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "SingleMessageNoSystemPrompt",
|
|
"type_name": "bool",
|
|
"json_tag": "singleMessageNoSystemPrompt",
|
|
"omitempty": true,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "TokenEstimatePaddingPct",
|
|
"type_name": "float64",
|
|
"json_tag": "tokenEstimatePaddingPct",
|
|
"omitempty": true,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/ai_models_data_models.go",
|
|
"line_number": 31,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "BaseModelProviderConfig",
|
|
"fields": [
|
|
{
|
|
"name": "ModelName",
|
|
"type_name": "ModelName",
|
|
"json_tag": "modelName",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/ai_models_data_models.go",
|
|
"line_number": 52,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "BaseModelConfig",
|
|
"fields": [
|
|
{
|
|
"name": "ModelTag",
|
|
"type_name": "ModelTag",
|
|
"json_tag": "modelTag",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "ModelId",
|
|
"type_name": "ModelId",
|
|
"json_tag": "modelId",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Publisher",
|
|
"type_name": "ModelPublisher",
|
|
"json_tag": "publisher",
|
|
"omitempty": true,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "BaseModelShared",
|
|
"type_name": "BaseModelProviderConfig",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/ai_models_data_models.go",
|
|
"line_number": 57,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "BaseModelUsesProvider",
|
|
"fields": [
|
|
{
|
|
"name": "Provider",
|
|
"type_name": "ModelProvider",
|
|
"json_tag": "provider",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "CustomProvider",
|
|
"type_name": "string",
|
|
"json_tag": "customProvider",
|
|
"omitempty": true,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "ModelName",
|
|
"type_name": "ModelName",
|
|
"json_tag": "modelName",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/ai_models_data_models.go",
|
|
"line_number": 65,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "BaseModelConfigSchema",
|
|
"fields": [
|
|
{
|
|
"name": "ModelTag",
|
|
"type_name": "ModelTag",
|
|
"json_tag": "modelTag",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "ModelId",
|
|
"type_name": "ModelId",
|
|
"json_tag": "modelId",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Publisher",
|
|
"type_name": "ModelPublisher",
|
|
"json_tag": "publisher",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Description",
|
|
"type_name": "string",
|
|
"json_tag": "description",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "RequiresVariantOverrides",
|
|
"type_name": "string",
|
|
"json_tag": "requiresVariantOverrides",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": true,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Variants",
|
|
"type_name": "BaseModelConfigVariant",
|
|
"json_tag": "variants",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": true,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Providers",
|
|
"type_name": "BaseModelUsesProvider",
|
|
"json_tag": "providers",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": true,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/ai_models_data_models.go",
|
|
"line_number": 78,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "BaseModelConfigVariant",
|
|
"fields": [
|
|
{
|
|
"name": "IsBaseVariant",
|
|
"type_name": "bool",
|
|
"json_tag": "isBaseVariant",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "VariantTag",
|
|
"type_name": "VariantTag",
|
|
"json_tag": "variantTag",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Description",
|
|
"type_name": "string",
|
|
"json_tag": "description",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Overrides",
|
|
"type_name": "BaseModelShared",
|
|
"json_tag": "overrides",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Variants",
|
|
"type_name": "BaseModelConfigVariant",
|
|
"json_tag": "variants",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": true,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "RequiresVariantOverrides",
|
|
"type_name": "string",
|
|
"json_tag": "requiresVariantOverrides",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": true,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "IsDefaultVariant",
|
|
"type_name": "bool",
|
|
"json_tag": "isDefaultVariant",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/ai_models_data_models.go",
|
|
"line_number": 92,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "AvailableModel",
|
|
"fields": [
|
|
{
|
|
"name": "Id",
|
|
"type_name": "string",
|
|
"json_tag": "id",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Description",
|
|
"type_name": "string",
|
|
"json_tag": "description",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "DefaultMaxConvoTokens",
|
|
"type_name": "int",
|
|
"json_tag": "defaultMaxConvoTokens",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "CreatedAt",
|
|
"type_name": "time.Time",
|
|
"json_tag": "createdAt",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "UpdatedAt",
|
|
"type_name": "time.Time",
|
|
"json_tag": "updatedAt",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/ai_models_data_models.go",
|
|
"line_number": 256,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "PlannerModelConfig",
|
|
"fields": [
|
|
{
|
|
"name": "MaxConvoTokens",
|
|
"type_name": "int",
|
|
"json_tag": "maxConvoTokens",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/ai_models_data_models.go",
|
|
"line_number": 274,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "ModelRoleConfig",
|
|
"fields": [
|
|
{
|
|
"name": "Role",
|
|
"type_name": "ModelRole",
|
|
"json_tag": "role",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "ModelId",
|
|
"type_name": "ModelId",
|
|
"json_tag": "modelId",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false,
|
|
"comment": "new in 2.2.0 refactor \u2014 uses provider lookup instead of BaseModelConfig and MissingKeyFallback"
|
|
},
|
|
{
|
|
"name": "BaseModelConfig",
|
|
"type_name": "BaseModelConfig",
|
|
"json_tag": "baseModelConfig",
|
|
"omitempty": true,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Temperature",
|
|
"type_name": "float32",
|
|
"json_tag": "temperature",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "TopP",
|
|
"type_name": "float32",
|
|
"json_tag": "topP",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "ReservedOutputTokens",
|
|
"type_name": "int",
|
|
"json_tag": "reservedOutputTokens",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "LargeContextFallback",
|
|
"type_name": "ModelRoleConfig",
|
|
"json_tag": "largeContextFallback",
|
|
"omitempty": false,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "LargeOutputFallback",
|
|
"type_name": "ModelRoleConfig",
|
|
"json_tag": "largeOutputFallback",
|
|
"omitempty": false,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "ErrorFallback",
|
|
"type_name": "ModelRoleConfig",
|
|
"json_tag": "errorFallback",
|
|
"omitempty": false,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false,
|
|
"comment": "MissingKeyFallback *ModelRoleConfig // removed in 2.2.0 refactor \u2014"
|
|
},
|
|
{
|
|
"name": "StrongModel",
|
|
"type_name": "ModelRoleConfig",
|
|
"json_tag": "strongModel",
|
|
"omitempty": false,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "LocalProvider",
|
|
"type_name": "ModelProvider",
|
|
"json_tag": "localProvider",
|
|
"omitempty": true,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/ai_models_data_models.go",
|
|
"line_number": 286,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "ModelRoleModelConfig",
|
|
"fields": [
|
|
{
|
|
"name": "Provider",
|
|
"type_name": "ModelProvider",
|
|
"json_tag": "provider",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "CustomProvider",
|
|
"type_name": "string",
|
|
"json_tag": "customProvider",
|
|
"omitempty": true,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "ModelTag",
|
|
"type_name": "ModelTag",
|
|
"json_tag": "modelTag",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/ai_models_data_models.go",
|
|
"line_number": 305,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "ModelRoleConfigSchema",
|
|
"fields": [
|
|
{
|
|
"name": "ModelId",
|
|
"type_name": "ModelId",
|
|
"json_tag": "modelId",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Temperature",
|
|
"type_name": "float32",
|
|
"json_tag": "temperature",
|
|
"omitempty": true,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "TopP",
|
|
"type_name": "float32",
|
|
"json_tag": "topP",
|
|
"omitempty": true,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "ReservedOutputTokens",
|
|
"type_name": "int",
|
|
"json_tag": "reservedOutputTokens",
|
|
"omitempty": true,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "MaxConvoTokens",
|
|
"type_name": "int",
|
|
"json_tag": "maxConvoTokens",
|
|
"omitempty": true,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "LargeContextFallback",
|
|
"type_name": "ModelRoleConfigSchema",
|
|
"json_tag": "largeContextFallback",
|
|
"omitempty": true,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "LargeOutputFallback",
|
|
"type_name": "ModelRoleConfigSchema",
|
|
"json_tag": "largeOutputFallback",
|
|
"omitempty": true,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "ErrorFallback",
|
|
"type_name": "ModelRoleConfigSchema",
|
|
"json_tag": "errorFallback",
|
|
"omitempty": true,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "StrongModel",
|
|
"type_name": "ModelRoleConfigSchema",
|
|
"json_tag": "strongModel",
|
|
"omitempty": true,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/ai_models_data_models.go",
|
|
"line_number": 311,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "PlannerRoleConfig",
|
|
"fields": [
|
|
{
|
|
"name": "ModelRoleConfig",
|
|
"type_name": "PlannerModelConfig",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/ai_models_data_models.go",
|
|
"line_number": 677,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "ClientModelPackSchemaRoles",
|
|
"fields": [
|
|
{
|
|
"name": "SchemaUrl",
|
|
"type_name": "SchemaUrl",
|
|
"json_tag": "$schema",
|
|
"omitempty": true,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "LocalProvider",
|
|
"type_name": "ModelProvider",
|
|
"json_tag": "localProvider",
|
|
"omitempty": true,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false,
|
|
"comment": "in the JSON, these can either be a role as a string or a ModelRoleConfigSchema object for more complex config"
|
|
},
|
|
{
|
|
"name": "Planner",
|
|
"type_name": "RoleJSON",
|
|
"json_tag": "planner",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Architect",
|
|
"type_name": "RoleJSON",
|
|
"json_tag": "architect",
|
|
"omitempty": true,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Coder",
|
|
"type_name": "RoleJSON",
|
|
"json_tag": "coder",
|
|
"omitempty": true,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "PlanSummary",
|
|
"type_name": "RoleJSON",
|
|
"json_tag": "summarizer",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Builder",
|
|
"type_name": "RoleJSON",
|
|
"json_tag": "builder",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "WholeFileBuilder",
|
|
"type_name": "RoleJSON",
|
|
"json_tag": "wholeFileBuilder",
|
|
"omitempty": true,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Namer",
|
|
"type_name": "RoleJSON",
|
|
"json_tag": "names",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "CommitMsg",
|
|
"type_name": "RoleJSON",
|
|
"json_tag": "commitMessages",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "ExecStatus",
|
|
"type_name": "RoleJSON",
|
|
"json_tag": "autoContinue",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/ai_models_data_models.go",
|
|
"line_number": 710,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "ModelPackSchemaRoles",
|
|
"fields": [
|
|
{
|
|
"name": "LocalProvider",
|
|
"type_name": "ModelProvider",
|
|
"json_tag": "localProvider",
|
|
"omitempty": true,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Planner",
|
|
"type_name": "ModelRoleConfigSchema",
|
|
"json_tag": "planner",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Coder",
|
|
"type_name": "ModelRoleConfigSchema",
|
|
"json_tag": "coder",
|
|
"omitempty": true,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "PlanSummary",
|
|
"type_name": "ModelRoleConfigSchema",
|
|
"json_tag": "planSummary",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Builder",
|
|
"type_name": "ModelRoleConfigSchema",
|
|
"json_tag": "builder",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "WholeFileBuilder",
|
|
"type_name": "ModelRoleConfigSchema",
|
|
"json_tag": "wholeFileBuilder",
|
|
"omitempty": true,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false,
|
|
"comment": "optional, defaults to builder model \u2014 access via GetWholeFileBuilder()"
|
|
},
|
|
{
|
|
"name": "Namer",
|
|
"type_name": "ModelRoleConfigSchema",
|
|
"json_tag": "namer",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "CommitMsg",
|
|
"type_name": "ModelRoleConfigSchema",
|
|
"json_tag": "commitMsg",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "ExecStatus",
|
|
"type_name": "ModelRoleConfigSchema",
|
|
"json_tag": "execStatus",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Architect",
|
|
"type_name": "ModelRoleConfigSchema",
|
|
"json_tag": "contextLoader",
|
|
"omitempty": true,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/ai_models_data_models.go",
|
|
"line_number": 797,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "ModelPackSchema",
|
|
"fields": [
|
|
{
|
|
"name": "Name",
|
|
"type_name": "string",
|
|
"json_tag": "name",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Description",
|
|
"type_name": "string",
|
|
"json_tag": "description",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/ai_models_data_models.go",
|
|
"line_number": 838,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "ModelPack",
|
|
"fields": [
|
|
{
|
|
"name": "Id",
|
|
"type_name": "string",
|
|
"json_tag": "id",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Name",
|
|
"type_name": "string",
|
|
"json_tag": "name",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "LocalProvider",
|
|
"type_name": "ModelProvider",
|
|
"json_tag": "localProvider",
|
|
"omitempty": true,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Description",
|
|
"type_name": "string",
|
|
"json_tag": "description",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Planner",
|
|
"type_name": "PlannerRoleConfig",
|
|
"json_tag": "planner",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Coder",
|
|
"type_name": "ModelRoleConfig",
|
|
"json_tag": "coder",
|
|
"omitempty": false,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "PlanSummary",
|
|
"type_name": "ModelRoleConfig",
|
|
"json_tag": "planSummary",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Builder",
|
|
"type_name": "ModelRoleConfig",
|
|
"json_tag": "builder",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "WholeFileBuilder",
|
|
"type_name": "ModelRoleConfig",
|
|
"json_tag": "wholeFileBuilder",
|
|
"omitempty": false,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false,
|
|
"comment": "optional, defaults to builder model \u2014 access via GetWholeFileBuilder()"
|
|
},
|
|
{
|
|
"name": "Namer",
|
|
"type_name": "ModelRoleConfig",
|
|
"json_tag": "namer",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "CommitMsg",
|
|
"type_name": "ModelRoleConfig",
|
|
"json_tag": "commitMsg",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "ExecStatus",
|
|
"type_name": "ModelRoleConfig",
|
|
"json_tag": "execStatus",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Architect",
|
|
"type_name": "ModelRoleConfig",
|
|
"json_tag": "contextLoader",
|
|
"omitempty": false,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/ai_models_data_models.go",
|
|
"line_number": 920,
|
|
"is_exported": true
|
|
}
|
|
],
|
|
"enums": [
|
|
{
|
|
"name": "ModelOutputFormat",
|
|
"type_name": "string",
|
|
"values": [
|
|
"ModelOutputFormatToolCallJson",
|
|
"ModelOutputFormatXml"
|
|
],
|
|
"file_path": "/app/plandex/app/shared/ai_models_data_models.go",
|
|
"line_number": 20
|
|
},
|
|
{
|
|
"name": "ReasoningEffort",
|
|
"type_name": "string",
|
|
"values": [
|
|
"ReasoningEffortLow",
|
|
"ReasoningEffortMedium",
|
|
"ReasoningEffortHigh"
|
|
],
|
|
"file_path": "/app/plandex/app/shared/ai_models_data_models.go",
|
|
"line_number": 280
|
|
}
|
|
],
|
|
"type_aliases": [
|
|
{
|
|
"name": "ModelOutputFormat",
|
|
"underlying_type": "string",
|
|
"file_path": "/app/plandex/app/shared/ai_models_data_models.go",
|
|
"line_number": 18
|
|
},
|
|
{
|
|
"name": "ModelName",
|
|
"underlying_type": "string",
|
|
"file_path": "/app/plandex/app/shared/ai_models_data_models.go",
|
|
"line_number": 26
|
|
},
|
|
{
|
|
"name": "ModelId",
|
|
"underlying_type": "string",
|
|
"file_path": "/app/plandex/app/shared/ai_models_data_models.go",
|
|
"line_number": 27
|
|
},
|
|
{
|
|
"name": "ModelTag",
|
|
"underlying_type": "string",
|
|
"file_path": "/app/plandex/app/shared/ai_models_data_models.go",
|
|
"line_number": 28
|
|
},
|
|
{
|
|
"name": "VariantTag",
|
|
"underlying_type": "string",
|
|
"file_path": "/app/plandex/app/shared/ai_models_data_models.go",
|
|
"line_number": 29
|
|
},
|
|
{
|
|
"name": "ReasoningEffort",
|
|
"underlying_type": "string",
|
|
"file_path": "/app/plandex/app/shared/ai_models_data_models.go",
|
|
"line_number": 278
|
|
},
|
|
{
|
|
"name": "RoleJSON",
|
|
"underlying_type": "any",
|
|
"file_path": "/app/plandex/app/shared/ai_models_data_models.go",
|
|
"line_number": 708
|
|
}
|
|
]
|
|
},
|
|
"ai_models_errors": {
|
|
"package_name": "shared",
|
|
"imports": [
|
|
"log",
|
|
"github.com/davecgh/go-spew/spew",
|
|
"github.com/jinzhu/copier"
|
|
],
|
|
"structs": [
|
|
{
|
|
"name": "ModelError",
|
|
"fields": [
|
|
{
|
|
"name": "Kind",
|
|
"type_name": "ModelErrKind",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Retriable",
|
|
"type_name": "bool",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "RetryAfterSeconds",
|
|
"type_name": "int",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/ai_models_errors.go",
|
|
"line_number": 21,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "FallbackResult",
|
|
"fields": [
|
|
{
|
|
"name": "ModelRoleConfig",
|
|
"type_name": "ModelRoleConfig",
|
|
"omitempty": false,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "IsFallback",
|
|
"type_name": "bool",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "FallbackType",
|
|
"type_name": "FallbackType",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "BaseModelConfig",
|
|
"type_name": "BaseModelConfig",
|
|
"omitempty": false,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/ai_models_errors.go",
|
|
"line_number": 40,
|
|
"is_exported": true
|
|
}
|
|
],
|
|
"enums": [
|
|
{
|
|
"name": "ModelErrKind",
|
|
"type_name": "string",
|
|
"values": [
|
|
"ErrOverloaded",
|
|
"ErrContextTooLong",
|
|
"ErrRateLimited",
|
|
"ErrSubscriptionQuotaExhausted",
|
|
"ErrOther",
|
|
"ErrCacheSupport"
|
|
],
|
|
"file_path": "/app/plandex/app/shared/ai_models_errors.go",
|
|
"line_number": 12
|
|
},
|
|
{
|
|
"name": "FallbackType",
|
|
"type_name": "string",
|
|
"values": [
|
|
"FallbackTypeError",
|
|
"FallbackTypeContext",
|
|
"FallbackTypeProvider"
|
|
],
|
|
"file_path": "/app/plandex/app/shared/ai_models_errors.go",
|
|
"line_number": 34
|
|
}
|
|
],
|
|
"type_aliases": [
|
|
{
|
|
"name": "ModelErrKind",
|
|
"underlying_type": "string",
|
|
"file_path": "/app/plandex/app/shared/ai_models_errors.go",
|
|
"line_number": 10
|
|
},
|
|
{
|
|
"name": "FallbackType",
|
|
"underlying_type": "string",
|
|
"file_path": "/app/plandex/app/shared/ai_models_errors.go",
|
|
"line_number": 32
|
|
}
|
|
]
|
|
},
|
|
"ai_models_openrouter": {
|
|
"package_name": "shared",
|
|
"imports": [],
|
|
"structs": [],
|
|
"enums": [
|
|
{
|
|
"name": "OpenRouterFamily",
|
|
"type_name": "string",
|
|
"values": [
|
|
"OpenRouterFamilyAnthropic",
|
|
"OpenRouterFamilyGoogle",
|
|
"OpenRouterFamilyOpenAI",
|
|
"OpenRouterFamilyQwen",
|
|
"OpenRouterFamilyDeepSeek"
|
|
],
|
|
"file_path": "/app/plandex/app/shared/ai_models_openrouter.go",
|
|
"line_number": 5
|
|
}
|
|
],
|
|
"type_aliases": [
|
|
{
|
|
"name": "OpenRouterFamily",
|
|
"underlying_type": "string",
|
|
"file_path": "/app/plandex/app/shared/ai_models_openrouter.go",
|
|
"line_number": 3
|
|
}
|
|
]
|
|
},
|
|
"ai_models_providers": {
|
|
"package_name": "shared",
|
|
"imports": [
|
|
"fmt"
|
|
],
|
|
"structs": [
|
|
{
|
|
"name": "ModelProviderExtraAuthVars",
|
|
"fields": [
|
|
{
|
|
"name": "Var",
|
|
"type_name": "string",
|
|
"json_tag": "var",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "MaybeJSONFilePath",
|
|
"type_name": "bool",
|
|
"json_tag": "maybeJSONFilePath",
|
|
"omitempty": true,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Required",
|
|
"type_name": "bool",
|
|
"json_tag": "required",
|
|
"omitempty": true,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Default",
|
|
"type_name": "string",
|
|
"json_tag": "default",
|
|
"omitempty": true,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/ai_models_providers.go",
|
|
"line_number": 79,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "ModelProviderConfigSchema",
|
|
"fields": [
|
|
{
|
|
"name": "Provider",
|
|
"type_name": "ModelProvider",
|
|
"json_tag": "provider",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "CustomProvider",
|
|
"type_name": "string",
|
|
"json_tag": "customProvider",
|
|
"omitempty": true,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "BaseUrl",
|
|
"type_name": "string",
|
|
"json_tag": "baseUrl",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false,
|
|
"comment": "for AWS Bedrock models"
|
|
},
|
|
{
|
|
"name": "HasAWSAuth",
|
|
"type_name": "bool",
|
|
"json_tag": "hasAWSAuth",
|
|
"omitempty": true,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false,
|
|
"comment": "for Claude Max integration"
|
|
},
|
|
{
|
|
"name": "HasClaudeMaxAuth",
|
|
"type_name": "bool",
|
|
"json_tag": "hasClaudeMaxAuth",
|
|
"omitempty": true,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false,
|
|
"comment": "for local models that don't require auth (ollama, etc.)"
|
|
},
|
|
{
|
|
"name": "SkipAuth",
|
|
"type_name": "bool",
|
|
"json_tag": "skipAuth",
|
|
"omitempty": true,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "LocalOnly",
|
|
"type_name": "bool",
|
|
"json_tag": "localOnly",
|
|
"omitempty": true,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "ApiKeyEnvVar",
|
|
"type_name": "string",
|
|
"json_tag": "apiKeyEnvVar",
|
|
"omitempty": true,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "ExtraAuthVars",
|
|
"type_name": "ModelProviderExtraAuthVars",
|
|
"json_tag": "extraAuthVars",
|
|
"omitempty": true,
|
|
"is_optional": false,
|
|
"is_array": true,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/ai_models_providers.go",
|
|
"line_number": 86,
|
|
"is_exported": true
|
|
}
|
|
],
|
|
"enums": [
|
|
{
|
|
"name": "ModelPublisher",
|
|
"type_name": "string",
|
|
"values": [
|
|
"ModelPublisherOpenAI",
|
|
"ModelPublisherAnthropic",
|
|
"ModelPublisherGoogle",
|
|
"ModelPublisherDeepSeek",
|
|
"ModelPublisherPerplexity",
|
|
"ModelPublisherQwen",
|
|
"ModelPublisherMistral"
|
|
],
|
|
"file_path": "/app/plandex/app/shared/ai_models_providers.go",
|
|
"line_number": 26
|
|
},
|
|
{
|
|
"name": "ModelProvider",
|
|
"type_name": "string",
|
|
"values": [
|
|
"ModelProviderOpenRouter",
|
|
"ModelProviderOpenAI",
|
|
"ModelProviderAnthropic",
|
|
"ModelProviderAnthropicClaudeMax",
|
|
"ModelProviderGoogleAIStudio",
|
|
"ModelProviderGoogleVertex",
|
|
"ModelProviderAzureOpenAI",
|
|
"ModelProviderDeepSeek",
|
|
"ModelProviderPerplexity",
|
|
"ModelProviderAmazonBedrock",
|
|
"ModelProviderOllama",
|
|
"ModelProviderCustom"
|
|
],
|
|
"file_path": "/app/plandex/app/shared/ai_models_providers.go",
|
|
"line_number": 38
|
|
}
|
|
],
|
|
"type_aliases": [
|
|
{
|
|
"name": "ModelPublisher",
|
|
"underlying_type": "string",
|
|
"file_path": "/app/plandex/app/shared/ai_models_providers.go",
|
|
"line_number": 24
|
|
},
|
|
{
|
|
"name": "ModelProvider",
|
|
"underlying_type": "string",
|
|
"file_path": "/app/plandex/app/shared/ai_models_providers.go",
|
|
"line_number": 36
|
|
}
|
|
]
|
|
},
|
|
"ai_models_roles": {
|
|
"package_name": "shared",
|
|
"imports": [],
|
|
"structs": [],
|
|
"enums": [
|
|
{
|
|
"name": "ModelRole",
|
|
"type_name": "string",
|
|
"values": [
|
|
"ModelRolePlanner",
|
|
"ModelRoleCoder",
|
|
"ModelRoleArchitect",
|
|
"ModelRolePlanSummary",
|
|
"ModelRoleBuilder",
|
|
"ModelRoleWholeFileBuilder",
|
|
"ModelRoleName",
|
|
"ModelRoleCommitMsg",
|
|
"ModelRoleExecStatus"
|
|
],
|
|
"file_path": "/app/plandex/app/shared/ai_models_roles.go",
|
|
"line_number": 5
|
|
}
|
|
],
|
|
"type_aliases": [
|
|
{
|
|
"name": "ModelRole",
|
|
"underlying_type": "string",
|
|
"file_path": "/app/plandex/app/shared/ai_models_roles.go",
|
|
"line_number": 3
|
|
}
|
|
]
|
|
},
|
|
"auth": {
|
|
"package_name": "shared",
|
|
"imports": [
|
|
"crypto/sha256",
|
|
"encoding/hex",
|
|
"fmt",
|
|
"strconv",
|
|
"strings"
|
|
],
|
|
"structs": [
|
|
{
|
|
"name": "AuthHeader",
|
|
"fields": [
|
|
{
|
|
"name": "Token",
|
|
"type_name": "string",
|
|
"json_tag": "token",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "OrgId",
|
|
"type_name": "string",
|
|
"json_tag": "orgId",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Hash",
|
|
"type_name": "string",
|
|
"json_tag": "hash",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/auth.go",
|
|
"line_number": 11,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "TrialPlansExceededError",
|
|
"fields": [
|
|
{
|
|
"name": "MaxPlans",
|
|
"type_name": "int",
|
|
"json_tag": "maxPlans",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/auth.go",
|
|
"line_number": 36,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "TrialMessagesExceededError",
|
|
"fields": [
|
|
{
|
|
"name": "MaxReplies",
|
|
"type_name": "int",
|
|
"json_tag": "maxMessages",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/auth.go",
|
|
"line_number": 40,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "BillingError",
|
|
"fields": [
|
|
{
|
|
"name": "HasBillingPermission",
|
|
"type_name": "bool",
|
|
"json_tag": "hasBillingPermission",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "IsTrial",
|
|
"type_name": "bool",
|
|
"json_tag": "isTrial",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/auth.go",
|
|
"line_number": 44,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "ApiError",
|
|
"fields": [
|
|
{
|
|
"name": "Type",
|
|
"type_name": "ApiErrorType",
|
|
"json_tag": "type",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Status",
|
|
"type_name": "int",
|
|
"json_tag": "status",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Msg",
|
|
"type_name": "string",
|
|
"json_tag": "msg",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false,
|
|
"comment": "only used for trial plans exceeded error"
|
|
},
|
|
{
|
|
"name": "TrialPlansExceededError",
|
|
"type_name": "TrialPlansExceededError",
|
|
"json_tag": "trialPlansExceededError",
|
|
"omitempty": true,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false,
|
|
"comment": "only used for trial messages exceeded error"
|
|
},
|
|
{
|
|
"name": "TrialMessagesExceededError",
|
|
"type_name": "TrialMessagesExceededError",
|
|
"json_tag": "trialMessagesExceededError",
|
|
"omitempty": true,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false,
|
|
"comment": "only used for billing errors"
|
|
},
|
|
{
|
|
"name": "BillingError",
|
|
"type_name": "BillingError",
|
|
"json_tag": "billingError",
|
|
"omitempty": true,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/auth.go",
|
|
"line_number": 49,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "ClientAccount",
|
|
"fields": [
|
|
{
|
|
"name": "IsCloud",
|
|
"type_name": "bool",
|
|
"json_tag": "isCloud",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Host",
|
|
"type_name": "string",
|
|
"json_tag": "host",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Email",
|
|
"type_name": "string",
|
|
"json_tag": "email",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "UserName",
|
|
"type_name": "string",
|
|
"json_tag": "userName",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "UserId",
|
|
"type_name": "string",
|
|
"json_tag": "userId",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Token",
|
|
"type_name": "string",
|
|
"json_tag": "token",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "IsLocalMode",
|
|
"type_name": "bool",
|
|
"json_tag": "isLocalMode",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "IsTrial",
|
|
"type_name": "bool",
|
|
"json_tag": "isTrial",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false,
|
|
"comment": "legacy field"
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/auth.go",
|
|
"line_number": 68,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "ClientAuth",
|
|
"fields": [
|
|
{
|
|
"name": "OrgId",
|
|
"type_name": "string",
|
|
"json_tag": "orgId",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "OrgName",
|
|
"type_name": "string",
|
|
"json_tag": "orgName",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "OrgIsTrial",
|
|
"type_name": "bool",
|
|
"json_tag": "orgIsTrial",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "IntegratedModelsMode",
|
|
"type_name": "bool",
|
|
"json_tag": "integratedModelsMode",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/auth.go",
|
|
"line_number": 80,
|
|
"is_exported": true
|
|
}
|
|
],
|
|
"enums": [
|
|
{
|
|
"name": "ApiErrorType",
|
|
"type_name": "string",
|
|
"values": [
|
|
"ApiErrorTypeInvalidToken",
|
|
"ApiErrorTypeAuthOutdated",
|
|
"ApiErrorTypeTrialPlansExceeded",
|
|
"ApiErrorTypeTrialMessagesExceeded",
|
|
"ApiErrorTypeTrialActionNotAllowed",
|
|
"ApiErrorTypeContinueNoMessages",
|
|
"ApiErrorTypeCloudInsufficientCredits",
|
|
"ApiErrorTypeCloudMonthlyMaxReached",
|
|
"ApiErrorTypeCloudSubscriptionPaused",
|
|
"ApiErrorTypeCloudSubscriptionOverdue",
|
|
"ApiErrorTypeOther"
|
|
],
|
|
"file_path": "/app/plandex/app/shared/auth.go",
|
|
"line_number": 19
|
|
}
|
|
],
|
|
"type_aliases": [
|
|
{
|
|
"name": "ApiErrorType",
|
|
"underlying_type": "string",
|
|
"file_path": "/app/plandex/app/shared/auth.go",
|
|
"line_number": 17
|
|
}
|
|
]
|
|
},
|
|
"context": {
|
|
"package_name": "shared",
|
|
"imports": [
|
|
"fmt",
|
|
"math",
|
|
"strconv",
|
|
"strings",
|
|
"github.com/olekukonko/tablewriter"
|
|
],
|
|
"structs": [
|
|
{
|
|
"name": "ContextUpdateResult",
|
|
"fields": [
|
|
{
|
|
"name": "UpdatedContexts",
|
|
"type_name": "*Context",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": true,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "TokenDiffsById",
|
|
"type_name": "map[string]int",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": true
|
|
},
|
|
{
|
|
"name": "TokensDiff",
|
|
"type_name": "int",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "TotalTokens",
|
|
"type_name": "int",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "NumFiles",
|
|
"type_name": "int",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "NumUrls",
|
|
"type_name": "int",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "NumImages",
|
|
"type_name": "int",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "NumTrees",
|
|
"type_name": "int",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "NumMaps",
|
|
"type_name": "int",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "MaxTokens",
|
|
"type_name": "int",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/context.go",
|
|
"line_number": 24,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "SummaryForUpdateContextParams",
|
|
"fields": [
|
|
{
|
|
"name": "NumFiles",
|
|
"type_name": "int",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "NumTrees",
|
|
"type_name": "int",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "NumUrls",
|
|
"type_name": "int",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "NumMaps",
|
|
"type_name": "int",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "TokensDiff",
|
|
"type_name": "int",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "TotalTokens",
|
|
"type_name": "int",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/context.go",
|
|
"line_number": 237,
|
|
"is_exported": true
|
|
}
|
|
],
|
|
"enums": [
|
|
{
|
|
"name": "MaxContextCount",
|
|
"type_name": "string",
|
|
"values": [
|
|
"25MB"
|
|
],
|
|
"file_path": "/app/plandex/app/shared/context.go",
|
|
"line_number": 12
|
|
}
|
|
],
|
|
"type_aliases": []
|
|
},
|
|
"data_models": {
|
|
"package_name": "shared",
|
|
"imports": [
|
|
"time",
|
|
"github.com/sashabaranov/go-openai",
|
|
"github.com/shopspring/decimal"
|
|
],
|
|
"structs": [
|
|
{
|
|
"name": "Org",
|
|
"fields": [
|
|
{
|
|
"name": "Id",
|
|
"type_name": "string",
|
|
"json_tag": "id",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Name",
|
|
"type_name": "string",
|
|
"json_tag": "name",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "IsTrial",
|
|
"type_name": "bool",
|
|
"json_tag": "isTrial",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "AutoAddDomainUsers",
|
|
"type_name": "bool",
|
|
"json_tag": "autoAddDomainUsers",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false,
|
|
"comment": "optional cloud attributes"
|
|
},
|
|
{
|
|
"name": "IntegratedModelsMode",
|
|
"type_name": "bool",
|
|
"json_tag": "integratedModelsMode",
|
|
"omitempty": true,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "CloudBillingFields",
|
|
"type_name": "CloudBillingFields",
|
|
"json_tag": "cloudBillingFields",
|
|
"omitempty": true,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/data_models.go",
|
|
"line_number": 10,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "User",
|
|
"fields": [
|
|
{
|
|
"name": "Id",
|
|
"type_name": "string",
|
|
"json_tag": "id",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Name",
|
|
"type_name": "string",
|
|
"json_tag": "name",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Email",
|
|
"type_name": "string",
|
|
"json_tag": "email",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "IsTrial",
|
|
"type_name": "bool",
|
|
"json_tag": "isTrial",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "NumNonDraftPlans",
|
|
"type_name": "int",
|
|
"json_tag": "numNonDraftPlans",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "DefaultPlanConfig",
|
|
"type_name": "PlanConfig",
|
|
"json_tag": "defaultPlanConfig",
|
|
"omitempty": true,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/data_models.go",
|
|
"line_number": 21,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "OrgUser",
|
|
"fields": [
|
|
{
|
|
"name": "OrgId",
|
|
"type_name": "string",
|
|
"json_tag": "orgId",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "UserId",
|
|
"type_name": "string",
|
|
"json_tag": "userId",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "OrgRoleId",
|
|
"type_name": "string",
|
|
"json_tag": "orgRoleId",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Config",
|
|
"type_name": "OrgUserConfig",
|
|
"json_tag": "config",
|
|
"omitempty": true,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/data_models.go",
|
|
"line_number": 31,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "Invite",
|
|
"fields": [
|
|
{
|
|
"name": "Id",
|
|
"type_name": "string",
|
|
"json_tag": "id",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "OrgId",
|
|
"type_name": "string",
|
|
"json_tag": "orgId",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Email",
|
|
"type_name": "string",
|
|
"json_tag": "email",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Name",
|
|
"type_name": "string",
|
|
"json_tag": "name",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "OrgRoleId",
|
|
"type_name": "string",
|
|
"json_tag": "orgRoleId",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "InviterId",
|
|
"type_name": "string",
|
|
"json_tag": "inviterId",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "InviteeId",
|
|
"type_name": "string",
|
|
"json_tag": "inviteeId",
|
|
"omitempty": false,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "AcceptedAt",
|
|
"type_name": "time.Time",
|
|
"json_tag": "acceptedAt",
|
|
"omitempty": false,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "CreatedAt",
|
|
"type_name": "time.Time",
|
|
"json_tag": "createdAt",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/data_models.go",
|
|
"line_number": 39,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "Project",
|
|
"fields": [
|
|
{
|
|
"name": "Id",
|
|
"type_name": "string",
|
|
"json_tag": "id",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Name",
|
|
"type_name": "string",
|
|
"json_tag": "name",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/data_models.go",
|
|
"line_number": 51,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "Plan",
|
|
"fields": [
|
|
{
|
|
"name": "Id",
|
|
"type_name": "string",
|
|
"json_tag": "id",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "OwnerId",
|
|
"type_name": "string",
|
|
"json_tag": "ownerId",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "ProjectId",
|
|
"type_name": "string",
|
|
"json_tag": "projectId",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Name",
|
|
"type_name": "string",
|
|
"json_tag": "name",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "SharedWithOrgAt",
|
|
"type_name": "time.Time",
|
|
"json_tag": "sharedWithOrgAt",
|
|
"omitempty": true,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "TotalReplies",
|
|
"type_name": "int",
|
|
"json_tag": "totalReplies",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "ActiveBranches",
|
|
"type_name": "int",
|
|
"json_tag": "activeBranches",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "PlanConfig",
|
|
"type_name": "PlanConfig",
|
|
"json_tag": "planConfig",
|
|
"omitempty": true,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "ArchivedAt",
|
|
"type_name": "time.Time",
|
|
"json_tag": "archivedAt",
|
|
"omitempty": true,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "CreatedAt",
|
|
"type_name": "time.Time",
|
|
"json_tag": "createdAt",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "UpdatedAt",
|
|
"type_name": "time.Time",
|
|
"json_tag": "updatedAt",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/data_models.go",
|
|
"line_number": 56,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "Branch",
|
|
"fields": [
|
|
{
|
|
"name": "Id",
|
|
"type_name": "string",
|
|
"json_tag": "id",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "PlanId",
|
|
"type_name": "string",
|
|
"json_tag": "planId",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "OwnerId",
|
|
"type_name": "string",
|
|
"json_tag": "ownerId",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "ParentBranchId",
|
|
"type_name": "string",
|
|
"json_tag": "parentBranchId",
|
|
"omitempty": false,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Name",
|
|
"type_name": "string",
|
|
"json_tag": "name",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Status",
|
|
"type_name": "PlanStatus",
|
|
"json_tag": "status",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "ContextTokens",
|
|
"type_name": "int",
|
|
"json_tag": "contextTokens",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "ConvoTokens",
|
|
"type_name": "int",
|
|
"json_tag": "convoTokens",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "SharedWithOrgAt",
|
|
"type_name": "time.Time",
|
|
"json_tag": "sharedWithOrgAt",
|
|
"omitempty": true,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "ArchivedAt",
|
|
"type_name": "time.Time",
|
|
"json_tag": "archivedAt",
|
|
"omitempty": true,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "CreatedAt",
|
|
"type_name": "time.Time",
|
|
"json_tag": "createdAt",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "UpdatedAt",
|
|
"type_name": "time.Time",
|
|
"json_tag": "updatedAt",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/data_models.go",
|
|
"line_number": 70,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "Context",
|
|
"fields": [
|
|
{
|
|
"name": "Id",
|
|
"type_name": "string",
|
|
"json_tag": "id",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "OwnerId",
|
|
"type_name": "string",
|
|
"json_tag": "ownerId",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "ContextType",
|
|
"type_name": "ContextType",
|
|
"json_tag": "contextType",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Name",
|
|
"type_name": "string",
|
|
"json_tag": "name",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Url",
|
|
"type_name": "string",
|
|
"json_tag": "url",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "FilePath",
|
|
"type_name": "string",
|
|
"json_tag": "file_path",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Sha",
|
|
"type_name": "string",
|
|
"json_tag": "sha",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "NumTokens",
|
|
"type_name": "int",
|
|
"json_tag": "numTokens",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Body",
|
|
"type_name": "string",
|
|
"json_tag": "body",
|
|
"omitempty": true,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "BodySize",
|
|
"type_name": "int64",
|
|
"json_tag": "bodySize",
|
|
"omitempty": true,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "ForceSkipIgnore",
|
|
"type_name": "bool",
|
|
"json_tag": "forceSkipIgnore",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "ImageDetail",
|
|
"type_name": "openai.ImageURLDetail",
|
|
"json_tag": "imageDetail",
|
|
"omitempty": true,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "MapParts",
|
|
"type_name": "FileMapBodies",
|
|
"json_tag": "mapParts",
|
|
"omitempty": true,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "MapShas",
|
|
"type_name": "map[string]string",
|
|
"json_tag": "mapShas",
|
|
"omitempty": true,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": true
|
|
},
|
|
{
|
|
"name": "MapTokens",
|
|
"type_name": "map[string]int",
|
|
"json_tag": "mapTokens",
|
|
"omitempty": true,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": true
|
|
},
|
|
{
|
|
"name": "MapSizes",
|
|
"type_name": "map[string]int64",
|
|
"json_tag": "mapSizes",
|
|
"omitempty": true,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": true
|
|
},
|
|
{
|
|
"name": "AutoLoaded",
|
|
"type_name": "bool",
|
|
"json_tag": "autoLoaded",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "CreatedAt",
|
|
"type_name": "time.Time",
|
|
"json_tag": "createdAt",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "UpdatedAt",
|
|
"type_name": "time.Time",
|
|
"json_tag": "updatedAt",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/data_models.go",
|
|
"line_number": 99,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "CurrentStage",
|
|
"fields": [
|
|
{
|
|
"name": "TellStage",
|
|
"type_name": "TellStage",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "PlanningPhase",
|
|
"type_name": "PlanningPhase",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/data_models.go",
|
|
"line_number": 135,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "ConvoMessageFlags",
|
|
"fields": [
|
|
{
|
|
"name": "DidMakePlan",
|
|
"type_name": "bool",
|
|
"json_tag": "didMakePlan",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "DidRemoveTasks",
|
|
"type_name": "bool",
|
|
"json_tag": "didRemoveTasks",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "DidMakeDebuggingPlan",
|
|
"type_name": "bool",
|
|
"json_tag": "didMakeDebuggingPlan",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "DidLoadContext",
|
|
"type_name": "bool",
|
|
"json_tag": "didLoadContext",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "CurrentStage",
|
|
"type_name": "CurrentStage",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "IsChat",
|
|
"type_name": "bool",
|
|
"json_tag": "isChat",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "DidWriteCode",
|
|
"type_name": "bool",
|
|
"json_tag": "didWriteCode",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "DidCompleteTask",
|
|
"type_name": "bool",
|
|
"json_tag": "didCompleteTask",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "DidCompletePlan",
|
|
"type_name": "bool",
|
|
"json_tag": "didCompletePlan",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "HasUnfinishedSubtasks",
|
|
"type_name": "bool",
|
|
"json_tag": "hasUnfinishedSubtasks",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "IsApplyDebug",
|
|
"type_name": "bool",
|
|
"json_tag": "isApplyDebug",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "IsUserDebug",
|
|
"type_name": "bool",
|
|
"json_tag": "isUserDebug",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "HasError",
|
|
"type_name": "bool",
|
|
"json_tag": "hasError",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/data_models.go",
|
|
"line_number": 140,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "Subtask",
|
|
"fields": [
|
|
{
|
|
"name": "Title",
|
|
"type_name": "string",
|
|
"json_tag": "title",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Description",
|
|
"type_name": "string",
|
|
"json_tag": "description",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "UsesFiles",
|
|
"type_name": "string",
|
|
"json_tag": "usesFiles",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": true,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "IsFinished",
|
|
"type_name": "bool",
|
|
"json_tag": "isFinished",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/data_models.go",
|
|
"line_number": 156,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "ConvoMessage",
|
|
"fields": [
|
|
{
|
|
"name": "Id",
|
|
"type_name": "string",
|
|
"json_tag": "id",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "UserId",
|
|
"type_name": "string",
|
|
"json_tag": "userId",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Role",
|
|
"type_name": "string",
|
|
"json_tag": "role",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Tokens",
|
|
"type_name": "int",
|
|
"json_tag": "tokens",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Num",
|
|
"type_name": "int",
|
|
"json_tag": "num",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Message",
|
|
"type_name": "string",
|
|
"json_tag": "message",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Stopped",
|
|
"type_name": "bool",
|
|
"json_tag": "stopped",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Flags",
|
|
"type_name": "ConvoMessageFlags",
|
|
"json_tag": "flags",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Subtask",
|
|
"type_name": "Subtask",
|
|
"json_tag": "subtask",
|
|
"omitempty": true,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "AddedSubtasks",
|
|
"type_name": "*Subtask",
|
|
"json_tag": "addedSubtasks",
|
|
"omitempty": true,
|
|
"is_optional": false,
|
|
"is_array": true,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "RemovedSubtasks",
|
|
"type_name": "string",
|
|
"json_tag": "removedSubtasks",
|
|
"omitempty": true,
|
|
"is_optional": false,
|
|
"is_array": true,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "ActiveContextIds",
|
|
"type_name": "string",
|
|
"json_tag": "activeContextIds",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": true,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "CreatedAt",
|
|
"type_name": "time.Time",
|
|
"json_tag": "createdAt",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/data_models.go",
|
|
"line_number": 163,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "ConvoSummary",
|
|
"fields": [
|
|
{
|
|
"name": "Id",
|
|
"type_name": "string",
|
|
"json_tag": "id",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "LatestConvoMessageCreatedAt",
|
|
"type_name": "time.Time",
|
|
"json_tag": "latestConvoMessageCreatedAt",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "LatestConvoMessageId",
|
|
"type_name": "string",
|
|
"json_tag": "lastestConvoMessageId",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Summary",
|
|
"type_name": "string",
|
|
"json_tag": "summary",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Tokens",
|
|
"type_name": "int",
|
|
"json_tag": "tokens",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "NumMessages",
|
|
"type_name": "int",
|
|
"json_tag": "numMessages",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "CreatedAt",
|
|
"type_name": "time.Time",
|
|
"json_tag": "createdAt",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/data_models.go",
|
|
"line_number": 179,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "Operation",
|
|
"fields": [
|
|
{
|
|
"name": "Type",
|
|
"type_name": "OperationType",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Path",
|
|
"type_name": "string",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Destination",
|
|
"type_name": "string",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Content",
|
|
"type_name": "string",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Description",
|
|
"type_name": "string",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "ReplyBefore",
|
|
"type_name": "string",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "NumTokens",
|
|
"type_name": "int",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/data_models.go",
|
|
"line_number": 198,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "ConvoMessageDescription",
|
|
"fields": [
|
|
{
|
|
"name": "Id",
|
|
"type_name": "string",
|
|
"json_tag": "id",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "ConvoMessageId",
|
|
"type_name": "string",
|
|
"json_tag": "convoMessageId",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "SummarizedToMessageId",
|
|
"type_name": "string",
|
|
"json_tag": "summarizedToMessageId",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "WroteFiles",
|
|
"type_name": "bool",
|
|
"json_tag": "wroteFiles",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "CommitMsg",
|
|
"type_name": "string",
|
|
"json_tag": "commitMsg",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false,
|
|
"comment": "Files []string"
|
|
},
|
|
{
|
|
"name": "Operations",
|
|
"type_name": "*Operation",
|
|
"json_tag": "operations",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": true,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "DidBuild",
|
|
"type_name": "bool",
|
|
"json_tag": "didBuild",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "BuildPathsInvalidated",
|
|
"type_name": "map[string]bool",
|
|
"json_tag": "buildPathsInvalidated",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": true
|
|
},
|
|
{
|
|
"name": "Error",
|
|
"type_name": "string",
|
|
"json_tag": "error",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "AppliedAt",
|
|
"type_name": "time.Time",
|
|
"json_tag": "appliedAt",
|
|
"omitempty": true,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "CreatedAt",
|
|
"type_name": "time.Time",
|
|
"json_tag": "createdAt",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "UpdatedAt",
|
|
"type_name": "time.Time",
|
|
"json_tag": "updatedAt",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/data_models.go",
|
|
"line_number": 216,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "PlanBuild",
|
|
"fields": [
|
|
{
|
|
"name": "Id",
|
|
"type_name": "string",
|
|
"json_tag": "id",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "ConvoMessageId",
|
|
"type_name": "string",
|
|
"json_tag": "convoMessageId",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "FilePath",
|
|
"type_name": "string",
|
|
"json_tag": "filePath",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Error",
|
|
"type_name": "string",
|
|
"json_tag": "error",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "CreatedAt",
|
|
"type_name": "time.Time",
|
|
"json_tag": "createdAt",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "UpdatedAt",
|
|
"type_name": "time.Time",
|
|
"json_tag": "updatedAt",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/data_models.go",
|
|
"line_number": 232,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "Replacement",
|
|
"fields": [
|
|
{
|
|
"name": "Id",
|
|
"type_name": "string",
|
|
"json_tag": "id",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Old",
|
|
"type_name": "string",
|
|
"json_tag": "old",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Summary",
|
|
"type_name": "string",
|
|
"json_tag": "summary",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "EntireFile",
|
|
"type_name": "bool",
|
|
"json_tag": "entireFile",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "New",
|
|
"type_name": "string",
|
|
"json_tag": "new",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Failed",
|
|
"type_name": "bool",
|
|
"json_tag": "failed",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "RejectedAt",
|
|
"type_name": "time.Time",
|
|
"json_tag": "rejectedAt",
|
|
"omitempty": true,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "StreamedChange",
|
|
"type_name": "StreamedChangeWithLineNums",
|
|
"json_tag": "streamedChange",
|
|
"omitempty": false,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/data_models.go",
|
|
"line_number": 241,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "PlanFileResult",
|
|
"fields": [
|
|
{
|
|
"name": "Id",
|
|
"type_name": "string",
|
|
"json_tag": "id",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "TypeVersion",
|
|
"type_name": "int",
|
|
"json_tag": "typeVersion",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "ReplaceWithLineNums",
|
|
"type_name": "bool",
|
|
"json_tag": "replaceWithLineNums",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "ConvoMessageId",
|
|
"type_name": "string",
|
|
"json_tag": "convoMessageId",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "PlanBuildId",
|
|
"type_name": "string",
|
|
"json_tag": "planBuildId",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Path",
|
|
"type_name": "string",
|
|
"json_tag": "path",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Content",
|
|
"type_name": "string",
|
|
"json_tag": "content",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "AnyFailed",
|
|
"type_name": "bool",
|
|
"json_tag": "anyFailed",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "AppliedAt",
|
|
"type_name": "time.Time",
|
|
"json_tag": "appliedAt",
|
|
"omitempty": true,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "RejectedAt",
|
|
"type_name": "time.Time",
|
|
"json_tag": "rejectedAt",
|
|
"omitempty": true,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Replacements",
|
|
"type_name": "*Replacement",
|
|
"json_tag": "replacements",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": true,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "RemovedFile",
|
|
"type_name": "bool",
|
|
"json_tag": "removedFile",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "CreatedAt",
|
|
"type_name": "time.Time",
|
|
"json_tag": "createdAt",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "UpdatedAt",
|
|
"type_name": "time.Time",
|
|
"json_tag": "updatedAt",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/data_models.go",
|
|
"line_number": 252,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "CurrentPlanFiles",
|
|
"fields": [
|
|
{
|
|
"name": "Files",
|
|
"type_name": "map[string]string",
|
|
"json_tag": "files",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": true
|
|
},
|
|
{
|
|
"name": "Removed",
|
|
"type_name": "map[string]bool",
|
|
"json_tag": "removedByPath",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": true
|
|
},
|
|
{
|
|
"name": "UpdatedAtByPath",
|
|
"type_name": "map[string]time.Time",
|
|
"json_tag": "updatedAtByPath",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": true
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/data_models.go",
|
|
"line_number": 271,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "PlanResult",
|
|
"fields": [
|
|
{
|
|
"name": "SortedPaths",
|
|
"type_name": "string",
|
|
"json_tag": "sortedPaths",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": true,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "FileResultsByPath",
|
|
"type_name": "PlanFileResultsByPath",
|
|
"json_tag": "fileResultsByPath",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Results",
|
|
"type_name": "*PlanFileResult",
|
|
"json_tag": "results",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": true,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "ReplacementsByPath",
|
|
"type_name": "map[string][]*Replacement",
|
|
"json_tag": "replacementsByPath",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": true
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/data_models.go",
|
|
"line_number": 278,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "PlanApply",
|
|
"fields": [
|
|
{
|
|
"name": "Id",
|
|
"type_name": "string",
|
|
"json_tag": "id",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "UserId",
|
|
"type_name": "string",
|
|
"json_tag": "userId",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "ConvoMessageIds",
|
|
"type_name": "string",
|
|
"json_tag": "convoMessageIds",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": true,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "ConvoMessageDescriptionIds",
|
|
"type_name": "string",
|
|
"json_tag": "convoMessageDescriptionIds",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": true,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "PlanFileResultIds",
|
|
"type_name": "string",
|
|
"json_tag": "planFileResultIds",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": true,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "CommitMsg",
|
|
"type_name": "string",
|
|
"json_tag": "commitMsg",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "CreatedAt",
|
|
"type_name": "time.Time",
|
|
"json_tag": "createdAt",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/data_models.go",
|
|
"line_number": 285,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "CurrentPlanState",
|
|
"fields": [
|
|
{
|
|
"name": "PlanResult",
|
|
"type_name": "PlanResult",
|
|
"json_tag": "planResult",
|
|
"omitempty": false,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "CurrentPlanFiles",
|
|
"type_name": "CurrentPlanFiles",
|
|
"json_tag": "currentPlanFiles",
|
|
"omitempty": false,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "ConvoMessageDescriptions",
|
|
"type_name": "*ConvoMessageDescription",
|
|
"json_tag": "convoMessageDescriptions",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": true,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "PlanApplies",
|
|
"type_name": "*PlanApply",
|
|
"json_tag": "planApplies",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": true,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "ContextsByPath",
|
|
"type_name": "map[string]*Context",
|
|
"json_tag": "contextsByPath",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": true
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/data_models.go",
|
|
"line_number": 295,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "OrgRole",
|
|
"fields": [
|
|
{
|
|
"name": "Id",
|
|
"type_name": "string",
|
|
"json_tag": "id",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "IsDefault",
|
|
"type_name": "bool",
|
|
"json_tag": "isDefault",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Label",
|
|
"type_name": "string",
|
|
"json_tag": "label",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Description",
|
|
"type_name": "string",
|
|
"json_tag": "description",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/data_models.go",
|
|
"line_number": 303,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "CloudBillingFields",
|
|
"fields": [
|
|
{
|
|
"name": "CreditsBalance",
|
|
"type_name": "decimal.Decimal",
|
|
"json_tag": "creditsBalance",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "MonthlyGrant",
|
|
"type_name": "decimal.Decimal",
|
|
"json_tag": "monthlyGrant",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "AutoRebuyEnabled",
|
|
"type_name": "bool",
|
|
"json_tag": "autoRebuyEnabled",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "AutoRebuyMinThreshold",
|
|
"type_name": "decimal.Decimal",
|
|
"json_tag": "autoRebuyMinThreshold",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "AutoRebuyToBalance",
|
|
"type_name": "decimal.Decimal",
|
|
"json_tag": "autoRebuyToBalance",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "NotifyThreshold",
|
|
"type_name": "decimal.Decimal",
|
|
"json_tag": "notifyThreshold",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "MaxThresholdPerMonth",
|
|
"type_name": "decimal.Decimal",
|
|
"json_tag": "maxThresholdPerMonth",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "BillingCycleStartedAt",
|
|
"type_name": "time.Time",
|
|
"json_tag": "billingCycleStartedAt",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "ChangedBillingMode",
|
|
"type_name": "bool",
|
|
"json_tag": "changedBillingMode",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "TrialPaid",
|
|
"type_name": "bool",
|
|
"json_tag": "trialPaid",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "StripeSubscriptionId",
|
|
"type_name": "string",
|
|
"json_tag": "stripeSubscriptionId",
|
|
"omitempty": false,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "SubscriptionStatus",
|
|
"type_name": "string",
|
|
"json_tag": "subscriptionStatus",
|
|
"omitempty": false,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "SubscriptionPausedAt",
|
|
"type_name": "time.Time",
|
|
"json_tag": "subscriptionPausedAt",
|
|
"omitempty": false,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "StripePaymentMethod",
|
|
"type_name": "string",
|
|
"json_tag": "stripePaymentMethod",
|
|
"omitempty": false,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "SubscriptionActionRequired",
|
|
"type_name": "bool",
|
|
"json_tag": "subscriptionActionRequired",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false,
|
|
"comment": "for 3ds/sca approvals"
|
|
},
|
|
{
|
|
"name": "SubscriptionActionRequiredInvoiceUrl",
|
|
"type_name": "string",
|
|
"json_tag": "subscriptionActionRequiredInvoiceUrl",
|
|
"omitempty": false,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/data_models.go",
|
|
"line_number": 310,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "CreditsTransaction",
|
|
"fields": [
|
|
{
|
|
"name": "Id",
|
|
"type_name": "string",
|
|
"json_tag": "id",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "OrgId",
|
|
"type_name": "string",
|
|
"json_tag": "orgId",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "OrgName",
|
|
"type_name": "string",
|
|
"json_tag": "orgName",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "UserId",
|
|
"type_name": "string",
|
|
"json_tag": "userId",
|
|
"omitempty": false,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "UserEmail",
|
|
"type_name": "string",
|
|
"json_tag": "userEmail",
|
|
"omitempty": false,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "UserName",
|
|
"type_name": "string",
|
|
"json_tag": "userName",
|
|
"omitempty": false,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "TransactionType",
|
|
"type_name": "CreditsTransactionType",
|
|
"json_tag": "transactionType",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Amount",
|
|
"type_name": "decimal.Decimal",
|
|
"json_tag": "amount",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "StartBalance",
|
|
"type_name": "decimal.Decimal",
|
|
"json_tag": "startBalance",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "EndBalance",
|
|
"type_name": "decimal.Decimal",
|
|
"json_tag": "endBalance",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "CreditType",
|
|
"type_name": "CreditType",
|
|
"json_tag": "creditType",
|
|
"omitempty": true,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "CreditIsAutoRebuy",
|
|
"type_name": "bool",
|
|
"json_tag": "creditIsAutoRebuy",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "CreditAutoRebuyMinThreshold",
|
|
"type_name": "decimal.Decimal",
|
|
"json_tag": "creditAutoRebuyMinThreshold",
|
|
"omitempty": true,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "CreditAutoRebuyToBalance",
|
|
"type_name": "decimal.Decimal",
|
|
"json_tag": "creditAutoRebuyToBalance",
|
|
"omitempty": true,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "DebitInputTokens",
|
|
"type_name": "int",
|
|
"json_tag": "debitInputTokens",
|
|
"omitempty": true,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "DebitOutputTokens",
|
|
"type_name": "int",
|
|
"json_tag": "debitOutputTokens",
|
|
"omitempty": true,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "DebitModelInputPricePerToken",
|
|
"type_name": "decimal.Decimal",
|
|
"json_tag": "debitModelInputPricePerToken",
|
|
"omitempty": true,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "DebitModelOutputPricePerToken",
|
|
"type_name": "decimal.Decimal",
|
|
"json_tag": "debitModelOutputPricePerToken",
|
|
"omitempty": true,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "DebitBaseAmount",
|
|
"type_name": "decimal.Decimal",
|
|
"json_tag": "debitBaseAmount",
|
|
"omitempty": true,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "DebitSurcharge",
|
|
"type_name": "decimal.Decimal",
|
|
"json_tag": "debitSurcharge",
|
|
"omitempty": true,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "DebitModelProvider",
|
|
"type_name": "ModelProvider",
|
|
"json_tag": "debitModelProvider",
|
|
"omitempty": true,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "DebitModelName",
|
|
"type_name": "string",
|
|
"json_tag": "debitModelName",
|
|
"omitempty": true,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "DebitModelPackName",
|
|
"type_name": "string",
|
|
"json_tag": "debitModelPackName",
|
|
"omitempty": true,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "DebitModelRole",
|
|
"type_name": "ModelRole",
|
|
"json_tag": "debitModelRole",
|
|
"omitempty": true,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "DebitPurpose",
|
|
"type_name": "string",
|
|
"json_tag": "debitPurpose",
|
|
"omitempty": true,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "DebitPlanId",
|
|
"type_name": "string",
|
|
"json_tag": "debitPlanId",
|
|
"omitempty": true,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "DebitPlanName",
|
|
"type_name": "string",
|
|
"json_tag": "debitPlanName",
|
|
"omitempty": true,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "DebitId",
|
|
"type_name": "string",
|
|
"json_tag": "debitId",
|
|
"omitempty": true,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "DebitCacheDiscount",
|
|
"type_name": "decimal.Decimal",
|
|
"json_tag": "debitCacheDiscount",
|
|
"omitempty": true,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "DebitSessionId",
|
|
"type_name": "string",
|
|
"json_tag": "debitSessionId",
|
|
"omitempty": true,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "CreatedAt",
|
|
"type_name": "time.Time",
|
|
"json_tag": "createdAt",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/data_models.go",
|
|
"line_number": 348,
|
|
"is_exported": true
|
|
}
|
|
],
|
|
"enums": [
|
|
{
|
|
"name": "ContextType",
|
|
"type_name": "string",
|
|
"values": [
|
|
"ContextFileType",
|
|
"ContextURLType",
|
|
"ContextNoteType",
|
|
"ContextDirectoryTreeType",
|
|
"ContextPipedDataType",
|
|
"ContextImageType",
|
|
"ContextMapType"
|
|
],
|
|
"file_path": "/app/plandex/app/shared/data_models.go",
|
|
"line_number": 87
|
|
},
|
|
{
|
|
"name": "TellStage",
|
|
"type_name": "string",
|
|
"values": [
|
|
"TellStagePlanning",
|
|
"TellStageImplementation"
|
|
],
|
|
"file_path": "/app/plandex/app/shared/data_models.go",
|
|
"line_number": 123
|
|
},
|
|
{
|
|
"name": "PlanningPhase",
|
|
"type_name": "string",
|
|
"values": [
|
|
"PlanningPhaseContext",
|
|
"PlanningPhaseTasks"
|
|
],
|
|
"file_path": "/app/plandex/app/shared/data_models.go",
|
|
"line_number": 130
|
|
},
|
|
{
|
|
"name": "OperationType",
|
|
"type_name": "string",
|
|
"values": [
|
|
"OperationTypeFile",
|
|
"OperationTypeMove",
|
|
"OperationTypeRemove",
|
|
"OperationTypeReset"
|
|
],
|
|
"file_path": "/app/plandex/app/shared/data_models.go",
|
|
"line_number": 191
|
|
},
|
|
{
|
|
"name": "CreditsTransactionType",
|
|
"type_name": "string",
|
|
"values": [
|
|
"CreditsTransactionTypeCredit",
|
|
"CreditsTransactionTypeDebit"
|
|
],
|
|
"file_path": "/app/plandex/app/shared/data_models.go",
|
|
"line_number": 333
|
|
},
|
|
{
|
|
"name": "CreditType",
|
|
"type_name": "string",
|
|
"values": [
|
|
"CreditTypeTrial",
|
|
"CreditTypeGrant",
|
|
"CreditTypeAdminGrant",
|
|
"CreditTypePurchase",
|
|
"CreditTypeSwitch"
|
|
],
|
|
"file_path": "/app/plandex/app/shared/data_models.go",
|
|
"line_number": 340
|
|
}
|
|
],
|
|
"type_aliases": [
|
|
{
|
|
"name": "ContextType",
|
|
"underlying_type": "string",
|
|
"file_path": "/app/plandex/app/shared/data_models.go",
|
|
"line_number": 85
|
|
},
|
|
{
|
|
"name": "FileMapBodies",
|
|
"underlying_type": "map[string]string",
|
|
"file_path": "/app/plandex/app/shared/data_models.go",
|
|
"line_number": 97
|
|
},
|
|
{
|
|
"name": "TellStage",
|
|
"underlying_type": "string",
|
|
"file_path": "/app/plandex/app/shared/data_models.go",
|
|
"line_number": 121
|
|
},
|
|
{
|
|
"name": "PlanningPhase",
|
|
"underlying_type": "string",
|
|
"file_path": "/app/plandex/app/shared/data_models.go",
|
|
"line_number": 128
|
|
},
|
|
{
|
|
"name": "OperationType",
|
|
"underlying_type": "string",
|
|
"file_path": "/app/plandex/app/shared/data_models.go",
|
|
"line_number": 189
|
|
},
|
|
{
|
|
"name": "PlanFileResultsByPath",
|
|
"underlying_type": "map[string][]*PlanFileResult",
|
|
"file_path": "/app/plandex/app/shared/data_models.go",
|
|
"line_number": 277
|
|
},
|
|
{
|
|
"name": "CreditsTransactionType",
|
|
"underlying_type": "string",
|
|
"file_path": "/app/plandex/app/shared/data_models.go",
|
|
"line_number": 331
|
|
},
|
|
{
|
|
"name": "CreditType",
|
|
"underlying_type": "string",
|
|
"file_path": "/app/plandex/app/shared/data_models.go",
|
|
"line_number": 338
|
|
}
|
|
]
|
|
},
|
|
"org_user_config": {
|
|
"package_name": "shared",
|
|
"imports": [
|
|
"database/sql/driver",
|
|
"encoding/json",
|
|
"fmt",
|
|
"time"
|
|
],
|
|
"structs": [
|
|
{
|
|
"name": "OrgUserConfig",
|
|
"fields": [
|
|
{
|
|
"name": "PromptedClaudeMax",
|
|
"type_name": "bool",
|
|
"json_tag": "promptedClaudeMax",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "UseClaudeSubscription",
|
|
"type_name": "bool",
|
|
"json_tag": "useClaudeSubscription",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "ClaudeSubscriptionCooldownStartedAt",
|
|
"type_name": "time.Time",
|
|
"json_tag": "claudeSubscriptionCooldownStartedAt",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/org_user_config.go",
|
|
"line_number": 14,
|
|
"is_exported": true
|
|
}
|
|
],
|
|
"enums": [],
|
|
"type_aliases": []
|
|
},
|
|
"plan_config": {
|
|
"package_name": "shared",
|
|
"imports": [
|
|
"database/sql/driver",
|
|
"encoding/json",
|
|
"fmt",
|
|
"strings"
|
|
],
|
|
"structs": [
|
|
{
|
|
"name": "PlanConfig",
|
|
"fields": [
|
|
{
|
|
"name": "AutoMode",
|
|
"type_name": "AutoModeType",
|
|
"json_tag": "autoMode",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false,
|
|
"comment": "QuietMode bool"
|
|
},
|
|
{
|
|
"name": "Editor",
|
|
"type_name": "string",
|
|
"json_tag": "editor",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "EditorCommand",
|
|
"type_name": "string",
|
|
"json_tag": "editorCommand",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "EditorArgs",
|
|
"type_name": "string",
|
|
"json_tag": "editorArgs",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": true,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "EditorOpenManually",
|
|
"type_name": "bool",
|
|
"json_tag": "editorOpenManually",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "AutoContinue",
|
|
"type_name": "bool",
|
|
"json_tag": "autoContinue",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "AutoBuild",
|
|
"type_name": "bool",
|
|
"json_tag": "autoBuild",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "AutoUpdateContext",
|
|
"type_name": "bool",
|
|
"json_tag": "autoUpdateContext",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "AutoLoadContext",
|
|
"type_name": "bool",
|
|
"json_tag": "autoContext",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "SmartContext",
|
|
"type_name": "bool",
|
|
"json_tag": "smartContext",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false,
|
|
"comment": "AutoApproveContext bool"
|
|
},
|
|
{
|
|
"name": "AutoApply",
|
|
"type_name": "bool",
|
|
"json_tag": "autoApply",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "AutoCommit",
|
|
"type_name": "bool",
|
|
"json_tag": "autoCommit",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "SkipCommit",
|
|
"type_name": "bool",
|
|
"json_tag": "skipCommit",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "CanExec",
|
|
"type_name": "bool",
|
|
"json_tag": "canExec",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "AutoExec",
|
|
"type_name": "bool",
|
|
"json_tag": "autoExec",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "AutoDebug",
|
|
"type_name": "bool",
|
|
"json_tag": "autoDebug",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "AutoDebugTries",
|
|
"type_name": "int",
|
|
"json_tag": "autoDebugTries",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "AutoRevertOnRewind",
|
|
"type_name": "bool",
|
|
"json_tag": "autoRevertOnRewind",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "SkipChangesMenu",
|
|
"type_name": "bool",
|
|
"json_tag": "skipChangesMenu",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false,
|
|
"comment": "ReplMode bool"
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/plan_config.go",
|
|
"line_number": 53,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "ConfigSetting",
|
|
"fields": [
|
|
{
|
|
"name": "Name",
|
|
"type_name": "string",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Desc",
|
|
"type_name": "string",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Choices",
|
|
"type_name": "string",
|
|
"omitempty": false,
|
|
"is_optional": true,
|
|
"is_array": true,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "HasCustomChoice",
|
|
"type_name": "bool",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "SortKey",
|
|
"type_name": "string",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/plan_config.go",
|
|
"line_number": 205,
|
|
"is_exported": true
|
|
}
|
|
],
|
|
"enums": [
|
|
{
|
|
"name": "string",
|
|
"type_name": "string",
|
|
"values": [
|
|
"EditorTypeVim",
|
|
"EditorTypeNano"
|
|
],
|
|
"file_path": "/app/plandex/app/shared/plan_config.go",
|
|
"line_number": 12
|
|
},
|
|
{
|
|
"name": "AutoModeType",
|
|
"type_name": "string",
|
|
"values": [
|
|
"AutoModeFull",
|
|
"AutoModeSemi",
|
|
"AutoModePlus",
|
|
"AutoModeBasic",
|
|
"AutoModeNone",
|
|
"AutoModeCustom"
|
|
],
|
|
"file_path": "/app/plandex/app/shared/plan_config.go",
|
|
"line_number": 21
|
|
}
|
|
],
|
|
"type_aliases": [
|
|
{
|
|
"name": "AutoModeType",
|
|
"underlying_type": "string",
|
|
"file_path": "/app/plandex/app/shared/plan_config.go",
|
|
"line_number": 19
|
|
}
|
|
]
|
|
},
|
|
"plan_model_settings": {
|
|
"package_name": "shared",
|
|
"imports": [
|
|
"database/sql/driver",
|
|
"encoding/json",
|
|
"fmt",
|
|
"time"
|
|
],
|
|
"structs": [
|
|
{
|
|
"name": "PlanSettings",
|
|
"fields": [
|
|
{
|
|
"name": "ModelPackName",
|
|
"type_name": "string",
|
|
"json_tag": "modelPackName",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "ModelPack",
|
|
"type_name": "ModelPack",
|
|
"json_tag": "modelPack",
|
|
"omitempty": false,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "CustomModelPacks",
|
|
"type_name": "*ModelPack",
|
|
"json_tag": "customModelPacks",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": true,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "CustomModels",
|
|
"type_name": "*CustomModel",
|
|
"json_tag": "customModels",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": true,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "CustomModelsById",
|
|
"type_name": "map[ModelId]*CustomModel",
|
|
"json_tag": "customModelsById",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": true
|
|
},
|
|
{
|
|
"name": "CustomProviders",
|
|
"type_name": "*CustomProvider",
|
|
"json_tag": "customProviders",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": true,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "UsesCustomProviderByModelId",
|
|
"type_name": "map[ModelId][]BaseModelUsesProvider",
|
|
"json_tag": "usesCustomProviderByModelId",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": true
|
|
},
|
|
{
|
|
"name": "IsCloud",
|
|
"type_name": "bool",
|
|
"json_tag": "isCloud",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Configured",
|
|
"type_name": "bool",
|
|
"json_tag": "configured",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "UpdatedAt",
|
|
"type_name": "time.Time",
|
|
"json_tag": "updatedAt",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/plan_model_settings.go",
|
|
"line_number": 10,
|
|
"is_exported": true
|
|
}
|
|
],
|
|
"enums": [],
|
|
"type_aliases": []
|
|
},
|
|
"plan_status": {
|
|
"package_name": "shared",
|
|
"imports": [],
|
|
"structs": [],
|
|
"enums": [
|
|
{
|
|
"name": "PlanStatus",
|
|
"type_name": "string",
|
|
"values": [
|
|
"PlanStatusDraft",
|
|
"PlanStatusReplying",
|
|
"PlanStatusDescribing",
|
|
"PlanStatusBuilding",
|
|
"PlanStatusMissingFile",
|
|
"PlanStatusFinished",
|
|
"PlanStatusStopped",
|
|
"PlanStatusError"
|
|
],
|
|
"file_path": "/app/plandex/app/shared/plan_status.go",
|
|
"line_number": 5
|
|
}
|
|
],
|
|
"type_aliases": [
|
|
{
|
|
"name": "PlanStatus",
|
|
"underlying_type": "string",
|
|
"file_path": "/app/plandex/app/shared/plan_status.go",
|
|
"line_number": 3
|
|
}
|
|
]
|
|
},
|
|
"rbac": {
|
|
"package_name": "shared",
|
|
"imports": [
|
|
"strings"
|
|
],
|
|
"structs": [],
|
|
"enums": [
|
|
{
|
|
"name": "Permission",
|
|
"type_name": "string",
|
|
"values": [
|
|
"PermissionDeleteOrg",
|
|
"PermissionManageEmailDomainAuth",
|
|
"PermissionManageBilling",
|
|
"PermissionInviteUser",
|
|
"PermissionRemoveUser",
|
|
"PermissionSetUserRole",
|
|
"PermissionListOrgRoles",
|
|
"PermissionCreateProject",
|
|
"PermissionRenameAnyProject",
|
|
"PermissionDeleteAnyProject",
|
|
"PermissionCreatePlan",
|
|
"PermissionManageAnyPlanShares",
|
|
"PermissionRenameAnyPlan",
|
|
"PermissionDeleteAnyPlan",
|
|
"PermissionUpdateAnyPlan",
|
|
"PermissionArchiveAnyPlan"
|
|
],
|
|
"file_path": "/app/plandex/app/shared/rbac.go",
|
|
"line_number": 9
|
|
}
|
|
],
|
|
"type_aliases": [
|
|
{
|
|
"name": "Permission",
|
|
"underlying_type": "string",
|
|
"file_path": "/app/plandex/app/shared/rbac.go",
|
|
"line_number": 7
|
|
},
|
|
{
|
|
"name": "Permissions",
|
|
"underlying_type": "map[string]bool",
|
|
"file_path": "/app/plandex/app/shared/rbac.go",
|
|
"line_number": 28
|
|
}
|
|
]
|
|
},
|
|
"req_res": {
|
|
"package_name": "shared",
|
|
"imports": [
|
|
"time",
|
|
"github.com/sashabaranov/go-openai",
|
|
"github.com/shopspring/decimal"
|
|
],
|
|
"structs": [
|
|
{
|
|
"name": "CreateEmailVerificationRequest",
|
|
"fields": [
|
|
{
|
|
"name": "Email",
|
|
"type_name": "string",
|
|
"json_tag": "email",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "UserId",
|
|
"type_name": "string",
|
|
"json_tag": "userId",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "RequireUser",
|
|
"type_name": "bool",
|
|
"json_tag": "requireUser",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "RequireNoUser",
|
|
"type_name": "bool",
|
|
"json_tag": "requireNoUser",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/req_res.go",
|
|
"line_number": 10,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "CreateEmailVerificationResponse",
|
|
"fields": [
|
|
{
|
|
"name": "HasAccount",
|
|
"type_name": "bool",
|
|
"json_tag": "hasAccount",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "IsLocalMode",
|
|
"type_name": "bool",
|
|
"json_tag": "isLocalMode",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/req_res.go",
|
|
"line_number": 17,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "VerifyEmailPinRequest",
|
|
"fields": [
|
|
{
|
|
"name": "Email",
|
|
"type_name": "string",
|
|
"json_tag": "email",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Pin",
|
|
"type_name": "string",
|
|
"json_tag": "pin",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/req_res.go",
|
|
"line_number": 22,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "SignInRequest",
|
|
"fields": [
|
|
{
|
|
"name": "Email",
|
|
"type_name": "string",
|
|
"json_tag": "email",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Pin",
|
|
"type_name": "string",
|
|
"json_tag": "pin",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "IsSignInCode",
|
|
"type_name": "bool",
|
|
"json_tag": "isSignInCode",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/req_res.go",
|
|
"line_number": 27,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "UiSignInToken",
|
|
"fields": [
|
|
{
|
|
"name": "Pin",
|
|
"type_name": "string",
|
|
"json_tag": "pin",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "RedirectTo",
|
|
"type_name": "string",
|
|
"json_tag": "redirectTo",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/req_res.go",
|
|
"line_number": 33,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "CreateAccountRequest",
|
|
"fields": [
|
|
{
|
|
"name": "Email",
|
|
"type_name": "string",
|
|
"json_tag": "email",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Pin",
|
|
"type_name": "string",
|
|
"json_tag": "pin",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "UserName",
|
|
"type_name": "string",
|
|
"json_tag": "userName",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/req_res.go",
|
|
"line_number": 38,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "SessionResponse",
|
|
"fields": [
|
|
{
|
|
"name": "UserId",
|
|
"type_name": "string",
|
|
"json_tag": "userId",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Token",
|
|
"type_name": "string",
|
|
"json_tag": "token",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Email",
|
|
"type_name": "string",
|
|
"json_tag": "email",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "UserName",
|
|
"type_name": "string",
|
|
"json_tag": "userName",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Orgs",
|
|
"type_name": "*Org",
|
|
"json_tag": "orgs",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": true,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "IsLocalMode",
|
|
"type_name": "bool",
|
|
"json_tag": "isLocalMode",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/req_res.go",
|
|
"line_number": 44,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "CreateOrgRequest",
|
|
"fields": [
|
|
{
|
|
"name": "Name",
|
|
"type_name": "string",
|
|
"json_tag": "name",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "AutoAddDomainUsers",
|
|
"type_name": "bool",
|
|
"json_tag": "autoAddDomainUsers",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/req_res.go",
|
|
"line_number": 53,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "ConvertTrialRequest",
|
|
"fields": [
|
|
{
|
|
"name": "Email",
|
|
"type_name": "string",
|
|
"json_tag": "email",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Pin",
|
|
"type_name": "string",
|
|
"json_tag": "pin",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "UserName",
|
|
"type_name": "string",
|
|
"json_tag": "userName",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "OrgName",
|
|
"type_name": "string",
|
|
"json_tag": "orgName",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "OrgAutoAddDomainUsers",
|
|
"type_name": "bool",
|
|
"json_tag": "orgAutoAddDomainUsers",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/req_res.go",
|
|
"line_number": 58,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "CreateOrgResponse",
|
|
"fields": [
|
|
{
|
|
"name": "Id",
|
|
"type_name": "string",
|
|
"json_tag": "id",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/req_res.go",
|
|
"line_number": 66,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "InviteRequest",
|
|
"fields": [
|
|
{
|
|
"name": "Email",
|
|
"type_name": "string",
|
|
"json_tag": "email",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Name",
|
|
"type_name": "string",
|
|
"json_tag": "name",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "OrgRoleId",
|
|
"type_name": "string",
|
|
"json_tag": "orgRoleId",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/req_res.go",
|
|
"line_number": 70,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "CreateProjectRequest",
|
|
"fields": [
|
|
{
|
|
"name": "Name",
|
|
"type_name": "string",
|
|
"json_tag": "name",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/req_res.go",
|
|
"line_number": 76,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "CreateProjectResponse",
|
|
"fields": [
|
|
{
|
|
"name": "Id",
|
|
"type_name": "string",
|
|
"json_tag": "id",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/req_res.go",
|
|
"line_number": 80,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "SetProjectPlanRequest",
|
|
"fields": [
|
|
{
|
|
"name": "PlanId",
|
|
"type_name": "string",
|
|
"json_tag": "planId",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/req_res.go",
|
|
"line_number": 84,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "RenameProjectRequest",
|
|
"fields": [
|
|
{
|
|
"name": "Name",
|
|
"type_name": "string",
|
|
"json_tag": "name",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/req_res.go",
|
|
"line_number": 88,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "CreatePlanRequest",
|
|
"fields": [
|
|
{
|
|
"name": "Name",
|
|
"type_name": "string",
|
|
"json_tag": "name",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/req_res.go",
|
|
"line_number": 92,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "CreatePlanResponse",
|
|
"fields": [
|
|
{
|
|
"name": "Id",
|
|
"type_name": "string",
|
|
"json_tag": "id",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Name",
|
|
"type_name": "string",
|
|
"json_tag": "name",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/req_res.go",
|
|
"line_number": 96,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "GetCurrentBranchByPlanIdRequest",
|
|
"fields": [
|
|
{
|
|
"name": "CurrentBranchByPlanId",
|
|
"type_name": "map[string]string",
|
|
"json_tag": "currentBranchByPlanId",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": true
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/req_res.go",
|
|
"line_number": 101,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "ListPlansRunningResponse",
|
|
"fields": [
|
|
{
|
|
"name": "Branches",
|
|
"type_name": "*Branch",
|
|
"json_tag": "branches",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": true,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "StreamStartedAtByBranchId",
|
|
"type_name": "map[string]time.Time",
|
|
"json_tag": "streamStartedAtByBranchId",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": true
|
|
},
|
|
{
|
|
"name": "StreamFinishedAtByBranchId",
|
|
"type_name": "map[string]time.Time",
|
|
"json_tag": "streamFinishedAtByBranchId",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": true
|
|
},
|
|
{
|
|
"name": "StreamIdByBranchId",
|
|
"type_name": "map[string]string",
|
|
"json_tag": "streamIdByBranchId",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": true
|
|
},
|
|
{
|
|
"name": "PlansById",
|
|
"type_name": "map[string]*Plan",
|
|
"json_tag": "plansById",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": true
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/req_res.go",
|
|
"line_number": 105,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "TellPlanRequest",
|
|
"fields": [
|
|
{
|
|
"name": "Prompt",
|
|
"type_name": "string",
|
|
"json_tag": "prompt",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "BuildMode",
|
|
"type_name": "BuildMode",
|
|
"json_tag": "buildMode",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "ConnectStream",
|
|
"type_name": "bool",
|
|
"json_tag": "connectStream",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "AutoContinue",
|
|
"type_name": "bool",
|
|
"json_tag": "autoContinue",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "IsUserContinue",
|
|
"type_name": "bool",
|
|
"json_tag": "isUserContinue",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "IsUserDebug",
|
|
"type_name": "bool",
|
|
"json_tag": "isUserDebug",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "IsApplyDebug",
|
|
"type_name": "bool",
|
|
"json_tag": "isApplyDebug",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "IsChatOnly",
|
|
"type_name": "bool",
|
|
"json_tag": "isChatOnly",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "AutoContext",
|
|
"type_name": "bool",
|
|
"json_tag": "autoContext",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "SmartContext",
|
|
"type_name": "bool",
|
|
"json_tag": "smartContext",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "ExecEnabled",
|
|
"type_name": "bool",
|
|
"json_tag": "execEnabled",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "OsDetails",
|
|
"type_name": "string",
|
|
"json_tag": "osDetails",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "ApiKeys",
|
|
"type_name": "map[string]string",
|
|
"json_tag": "apiKeys",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": true,
|
|
"comment": "deprecated"
|
|
},
|
|
{
|
|
"name": "OpenAIOrgId",
|
|
"type_name": "string",
|
|
"json_tag": "openAIOrgId",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false,
|
|
"comment": "deprecated"
|
|
},
|
|
{
|
|
"name": "AuthVars",
|
|
"type_name": "map[string]string",
|
|
"json_tag": "authVars",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": true
|
|
},
|
|
{
|
|
"name": "ProjectPaths",
|
|
"type_name": "map[string]bool",
|
|
"json_tag": "projectPaths",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": true
|
|
},
|
|
{
|
|
"name": "IsImplementationOfChat",
|
|
"type_name": "bool",
|
|
"json_tag": "isImplementationOfChat",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "IsGitRepo",
|
|
"type_name": "bool",
|
|
"json_tag": "isGitRepo",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "SessionId",
|
|
"type_name": "string",
|
|
"json_tag": "sessionId",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/req_res.go",
|
|
"line_number": 120,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "BuildPlanRequest",
|
|
"fields": [
|
|
{
|
|
"name": "ConnectStream",
|
|
"type_name": "bool",
|
|
"json_tag": "connectStream",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "ApiKeys",
|
|
"type_name": "map[string]string",
|
|
"json_tag": "apiKeys",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": true,
|
|
"comment": "deprecated"
|
|
},
|
|
{
|
|
"name": "OpenAIOrgId",
|
|
"type_name": "string",
|
|
"json_tag": "openAIOrgId",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false,
|
|
"comment": "deprecated"
|
|
},
|
|
{
|
|
"name": "AuthVars",
|
|
"type_name": "map[string]string",
|
|
"json_tag": "authVars",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": true
|
|
},
|
|
{
|
|
"name": "ProjectPaths",
|
|
"type_name": "map[string]bool",
|
|
"json_tag": "projectPaths",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": true
|
|
},
|
|
{
|
|
"name": "SessionId",
|
|
"type_name": "string",
|
|
"json_tag": "sessionId",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/req_res.go",
|
|
"line_number": 145,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "RespondMissingFileRequest",
|
|
"fields": [
|
|
{
|
|
"name": "Choice",
|
|
"type_name": "RespondMissingFileChoice",
|
|
"json_tag": "choice",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "FilePath",
|
|
"type_name": "string",
|
|
"json_tag": "filePath",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Body",
|
|
"type_name": "string",
|
|
"json_tag": "body",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/req_res.go",
|
|
"line_number": 167,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "LoadContextParams",
|
|
"fields": [
|
|
{
|
|
"name": "ContextType",
|
|
"type_name": "ContextType",
|
|
"json_tag": "contextType",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Name",
|
|
"type_name": "string",
|
|
"json_tag": "name",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Url",
|
|
"type_name": "string",
|
|
"json_tag": "url",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "FilePath",
|
|
"type_name": "string",
|
|
"json_tag": "file_path",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Body",
|
|
"type_name": "string",
|
|
"json_tag": "body",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "ForceSkipIgnore",
|
|
"type_name": "bool",
|
|
"json_tag": "forceSkipIgnore",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "ImageDetail",
|
|
"type_name": "openai.ImageURLDetail",
|
|
"json_tag": "imageDetail",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "AutoLoaded",
|
|
"type_name": "bool",
|
|
"json_tag": "autoLoaded",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "InputShas",
|
|
"type_name": "map[string]string",
|
|
"json_tag": "inputShas",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": true
|
|
},
|
|
{
|
|
"name": "InputTokens",
|
|
"type_name": "map[string]int",
|
|
"json_tag": "inputTokens",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": true
|
|
},
|
|
{
|
|
"name": "InputSizes",
|
|
"type_name": "map[string]int64",
|
|
"json_tag": "inputSizes",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": true
|
|
},
|
|
{
|
|
"name": "MapBodies",
|
|
"type_name": "FileMapBodies",
|
|
"json_tag": "mapBodies",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false,
|
|
"comment": "For naming piped data"
|
|
},
|
|
{
|
|
"name": "ApiKeys",
|
|
"type_name": "map[string]string",
|
|
"json_tag": "apiKeys",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": true,
|
|
"comment": "deprecated"
|
|
},
|
|
{
|
|
"name": "OpenAIBase",
|
|
"type_name": "string",
|
|
"json_tag": "openAIBase",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false,
|
|
"comment": "deprecated"
|
|
},
|
|
{
|
|
"name": "OpenAIOrgId",
|
|
"type_name": "string",
|
|
"json_tag": "openAIOrgId",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false,
|
|
"comment": "deprecated"
|
|
},
|
|
{
|
|
"name": "AuthVars",
|
|
"type_name": "map[string]string",
|
|
"json_tag": "authVars",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": true
|
|
},
|
|
{
|
|
"name": "SessionId",
|
|
"type_name": "string",
|
|
"json_tag": "sessionId",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/req_res.go",
|
|
"line_number": 187,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "LoadContextResponse",
|
|
"fields": [
|
|
{
|
|
"name": "TokensAdded",
|
|
"type_name": "int",
|
|
"json_tag": "tokensAdded",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "TotalTokens",
|
|
"type_name": "int",
|
|
"json_tag": "totalTokens",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "MaxTokensExceeded",
|
|
"type_name": "bool",
|
|
"json_tag": "maxTokensExceeded",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "MaxTokens",
|
|
"type_name": "int",
|
|
"json_tag": "maxTokens",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Msg",
|
|
"type_name": "string",
|
|
"json_tag": "msg",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/req_res.go",
|
|
"line_number": 214,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "UpdateContextParams",
|
|
"fields": [
|
|
{
|
|
"name": "Body",
|
|
"type_name": "string",
|
|
"json_tag": "body",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "InputShas",
|
|
"type_name": "map[string]string",
|
|
"json_tag": "inputShas",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": true
|
|
},
|
|
{
|
|
"name": "InputTokens",
|
|
"type_name": "map[string]int",
|
|
"json_tag": "inputTokens",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": true
|
|
},
|
|
{
|
|
"name": "InputSizes",
|
|
"type_name": "map[string]int64",
|
|
"json_tag": "inputSizes",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": true
|
|
},
|
|
{
|
|
"name": "MapBodies",
|
|
"type_name": "FileMapBodies",
|
|
"json_tag": "mapBodies",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "RemovedMapPaths",
|
|
"type_name": "string",
|
|
"json_tag": "removedMapPaths",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": true,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/req_res.go",
|
|
"line_number": 222,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "GetFileMapRequest",
|
|
"fields": [
|
|
{
|
|
"name": "MapInputs",
|
|
"type_name": "FileMapInputs",
|
|
"json_tag": "mapInputs",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/req_res.go",
|
|
"line_number": 231,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "GetFileMapResponse",
|
|
"fields": [
|
|
{
|
|
"name": "MapBodies",
|
|
"type_name": "FileMapBodies",
|
|
"json_tag": "mapBodies",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/req_res.go",
|
|
"line_number": 235,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "LoadCachedFileMapRequest",
|
|
"fields": [
|
|
{
|
|
"name": "FilePaths",
|
|
"type_name": "string",
|
|
"json_tag": "filePaths",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": true,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/req_res.go",
|
|
"line_number": 239,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "LoadCachedFileMapResponse",
|
|
"fields": [
|
|
{
|
|
"name": "LoadRes",
|
|
"type_name": "LoadContextResponse",
|
|
"json_tag": "loadRes",
|
|
"omitempty": false,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "CachedByPath",
|
|
"type_name": "map[string]bool",
|
|
"json_tag": "cachedByPath",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": true
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/req_res.go",
|
|
"line_number": 243,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "GetContextBodyRequest",
|
|
"fields": [
|
|
{
|
|
"name": "ContextId",
|
|
"type_name": "string",
|
|
"json_tag": "contextId",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/req_res.go",
|
|
"line_number": 248,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "GetContextBodyResponse",
|
|
"fields": [
|
|
{
|
|
"name": "Body",
|
|
"type_name": "string",
|
|
"json_tag": "body",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/req_res.go",
|
|
"line_number": 252,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "DeleteContextRequest",
|
|
"fields": [
|
|
{
|
|
"name": "Ids",
|
|
"type_name": "map[string]bool",
|
|
"json_tag": "ids",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": true
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/req_res.go",
|
|
"line_number": 260,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "DeleteContextResponse",
|
|
"fields": [
|
|
{
|
|
"name": "TokensRemoved",
|
|
"type_name": "int",
|
|
"json_tag": "tokensRemoved",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "TotalTokens",
|
|
"type_name": "int",
|
|
"json_tag": "totalTokens",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Msg",
|
|
"type_name": "string",
|
|
"json_tag": "msg",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/req_res.go",
|
|
"line_number": 264,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "RejectFileRequest",
|
|
"fields": [
|
|
{
|
|
"name": "FilePath",
|
|
"type_name": "string",
|
|
"json_tag": "filePath",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/req_res.go",
|
|
"line_number": 270,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "RejectFilesRequest",
|
|
"fields": [
|
|
{
|
|
"name": "Paths",
|
|
"type_name": "string",
|
|
"json_tag": "paths",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": true,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/req_res.go",
|
|
"line_number": 274,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "RewindPlanRequest",
|
|
"fields": [
|
|
{
|
|
"name": "Sha",
|
|
"type_name": "string",
|
|
"json_tag": "sha",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/req_res.go",
|
|
"line_number": 278,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "RewindPlanResponse",
|
|
"fields": [
|
|
{
|
|
"name": "LatestSha",
|
|
"type_name": "string",
|
|
"json_tag": "latestSha",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "LatestCommit",
|
|
"type_name": "string",
|
|
"json_tag": "latestCommit",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/req_res.go",
|
|
"line_number": 282,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "LogResponse",
|
|
"fields": [
|
|
{
|
|
"name": "Shas",
|
|
"type_name": "string",
|
|
"json_tag": "shas",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": true,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Body",
|
|
"type_name": "string",
|
|
"json_tag": "body",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/req_res.go",
|
|
"line_number": 287,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "CreateBranchRequest",
|
|
"fields": [
|
|
{
|
|
"name": "Name",
|
|
"type_name": "string",
|
|
"json_tag": "name",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/req_res.go",
|
|
"line_number": 292,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "UpdateSettingsRequest",
|
|
"fields": [
|
|
{
|
|
"name": "ModelPackName",
|
|
"type_name": "string",
|
|
"json_tag": "modelPackName",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "ModelPack",
|
|
"type_name": "ModelPack",
|
|
"json_tag": "modelPack",
|
|
"omitempty": false,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/req_res.go",
|
|
"line_number": 296,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "UpdateSettingsResponse",
|
|
"fields": [
|
|
{
|
|
"name": "Msg",
|
|
"type_name": "string",
|
|
"json_tag": "msg",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/req_res.go",
|
|
"line_number": 301,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "UpdatePlanConfigRequest",
|
|
"fields": [
|
|
{
|
|
"name": "Config",
|
|
"type_name": "PlanConfig",
|
|
"json_tag": "config",
|
|
"omitempty": false,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/req_res.go",
|
|
"line_number": 305,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "UpdateDefaultPlanConfigRequest",
|
|
"fields": [
|
|
{
|
|
"name": "Config",
|
|
"type_name": "PlanConfig",
|
|
"json_tag": "config",
|
|
"omitempty": false,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/req_res.go",
|
|
"line_number": 309,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "GetPlanConfigResponse",
|
|
"fields": [
|
|
{
|
|
"name": "Config",
|
|
"type_name": "PlanConfig",
|
|
"json_tag": "config",
|
|
"omitempty": false,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/req_res.go",
|
|
"line_number": 313,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "GetDefaultPlanConfigResponse",
|
|
"fields": [
|
|
{
|
|
"name": "Config",
|
|
"type_name": "PlanConfig",
|
|
"json_tag": "config",
|
|
"omitempty": false,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/req_res.go",
|
|
"line_number": 317,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "ListUsersResponse",
|
|
"fields": [
|
|
{
|
|
"name": "Users",
|
|
"type_name": "*User",
|
|
"json_tag": "users",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": true,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "OrgUsersByUserId",
|
|
"type_name": "map[string]*OrgUser",
|
|
"json_tag": "orgUsersByUserId",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": true
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/req_res.go",
|
|
"line_number": 321,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "ApplyPlanRequest",
|
|
"fields": [
|
|
{
|
|
"name": "ApiKeys",
|
|
"type_name": "map[string]string",
|
|
"json_tag": "apiKeys",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": true,
|
|
"comment": "deprecated"
|
|
},
|
|
{
|
|
"name": "OpenAIBase",
|
|
"type_name": "string",
|
|
"json_tag": "openAIBase",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false,
|
|
"comment": "deprecated"
|
|
},
|
|
{
|
|
"name": "OpenAIOrgId",
|
|
"type_name": "string",
|
|
"json_tag": "openAIOrgId",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false,
|
|
"comment": "deprecated"
|
|
},
|
|
{
|
|
"name": "AuthVars",
|
|
"type_name": "map[string]string",
|
|
"json_tag": "authVars",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": true
|
|
},
|
|
{
|
|
"name": "SessionId",
|
|
"type_name": "string",
|
|
"json_tag": "sessionId",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/req_res.go",
|
|
"line_number": 326,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "RenamePlanRequest",
|
|
"fields": [
|
|
{
|
|
"name": "Name",
|
|
"type_name": "string",
|
|
"json_tag": "name",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/req_res.go",
|
|
"line_number": 336,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "GetBuildStatusResponse",
|
|
"fields": [
|
|
{
|
|
"name": "BuiltFiles",
|
|
"type_name": "map[string]bool",
|
|
"json_tag": "builtFiles",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": true
|
|
},
|
|
{
|
|
"name": "IsBuildingByPath",
|
|
"type_name": "map[string]bool",
|
|
"json_tag": "isBuildingByPath",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": true
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/req_res.go",
|
|
"line_number": 340,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "CreditsLogRequest",
|
|
"fields": [
|
|
{
|
|
"name": "TransactionType",
|
|
"type_name": "CreditsTransactionType",
|
|
"json_tag": "transactionType",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "PlanId",
|
|
"type_name": "string",
|
|
"json_tag": "planId",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "SessionId",
|
|
"type_name": "string",
|
|
"json_tag": "sessionId",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "DayStart",
|
|
"type_name": "time.Time",
|
|
"json_tag": "dayStart",
|
|
"omitempty": false,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Month",
|
|
"type_name": "bool",
|
|
"json_tag": "month",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/req_res.go",
|
|
"line_number": 346,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "CreditsLogResponse",
|
|
"fields": [
|
|
{
|
|
"name": "Transactions",
|
|
"type_name": "*CreditsTransaction",
|
|
"json_tag": "transactions",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": true,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "NumPages",
|
|
"type_name": "int",
|
|
"json_tag": "numPages",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "NumPagesMax",
|
|
"type_name": "bool",
|
|
"json_tag": "numPagesMax",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "MonthStart",
|
|
"type_name": "time.Time",
|
|
"json_tag": "monthStart",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "PlanNamesById",
|
|
"type_name": "map[string]string",
|
|
"json_tag": "planNamesById",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": true
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/req_res.go",
|
|
"line_number": 354,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "CreditsSummaryResponse",
|
|
"fields": [
|
|
{
|
|
"name": "Balance",
|
|
"type_name": "decimal.Decimal",
|
|
"json_tag": "balance",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "TotalSpend",
|
|
"type_name": "decimal.Decimal",
|
|
"json_tag": "totalSpend",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "MonthStart",
|
|
"type_name": "time.Time",
|
|
"json_tag": "monthStart",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "ByPlanId",
|
|
"type_name": "map[string]decimal.Decimal",
|
|
"json_tag": "byPlanId",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": true
|
|
},
|
|
{
|
|
"name": "PlanNamesById",
|
|
"type_name": "map[string]string",
|
|
"json_tag": "planNamesById",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": true
|
|
},
|
|
{
|
|
"name": "ByModelName",
|
|
"type_name": "map[string]decimal.Decimal",
|
|
"json_tag": "byModelName",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": true
|
|
},
|
|
{
|
|
"name": "ByPurpose",
|
|
"type_name": "map[string]decimal.Decimal",
|
|
"json_tag": "byPurpose",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": true
|
|
},
|
|
{
|
|
"name": "CacheSavings",
|
|
"type_name": "decimal.Decimal",
|
|
"json_tag": "cacheSavings",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/req_res.go",
|
|
"line_number": 362,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "GetBalanceResponse",
|
|
"fields": [
|
|
{
|
|
"name": "Balance",
|
|
"type_name": "decimal.Decimal",
|
|
"json_tag": "balance",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/req_res.go",
|
|
"line_number": 378,
|
|
"is_exported": true
|
|
}
|
|
],
|
|
"enums": [
|
|
{
|
|
"name": "BuildMode",
|
|
"type_name": "string",
|
|
"values": [
|
|
"BuildModeAuto",
|
|
"BuildModeNone"
|
|
],
|
|
"file_path": "/app/plandex/app/shared/req_res.go",
|
|
"line_number": 115
|
|
},
|
|
{
|
|
"name": "RespondMissingFileChoice",
|
|
"type_name": "string",
|
|
"values": [
|
|
"RespondMissingFileChoiceLoad",
|
|
"RespondMissingFileChoiceSkip",
|
|
"RespondMissingFileChoiceOverwrite"
|
|
],
|
|
"file_path": "/app/plandex/app/shared/req_res.go",
|
|
"line_number": 161
|
|
}
|
|
],
|
|
"type_aliases": [
|
|
{
|
|
"name": "BuildMode",
|
|
"underlying_type": "string",
|
|
"file_path": "/app/plandex/app/shared/req_res.go",
|
|
"line_number": 113
|
|
},
|
|
{
|
|
"name": "RespondMissingFileChoice",
|
|
"underlying_type": "string",
|
|
"file_path": "/app/plandex/app/shared/req_res.go",
|
|
"line_number": 159
|
|
},
|
|
{
|
|
"name": "FileMapInputs",
|
|
"underlying_type": "map[string]string",
|
|
"file_path": "/app/plandex/app/shared/req_res.go",
|
|
"line_number": 173
|
|
},
|
|
{
|
|
"name": "LoadContextRequest",
|
|
"underlying_type": "[]*LoadContextParams",
|
|
"file_path": "/app/plandex/app/shared/req_res.go",
|
|
"line_number": 212
|
|
},
|
|
{
|
|
"name": "UpdateContextRequest",
|
|
"underlying_type": "map[string]*UpdateContextParams",
|
|
"file_path": "/app/plandex/app/shared/req_res.go",
|
|
"line_number": 256
|
|
},
|
|
{
|
|
"name": "UpdateContextResponse",
|
|
"underlying_type": "=",
|
|
"file_path": "/app/plandex/app/shared/req_res.go",
|
|
"line_number": 258
|
|
}
|
|
]
|
|
},
|
|
"stream": {
|
|
"package_name": "shared",
|
|
"imports": [],
|
|
"structs": [
|
|
{
|
|
"name": "BuildInfo",
|
|
"fields": [
|
|
{
|
|
"name": "Path",
|
|
"type_name": "string",
|
|
"json_tag": "path",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "NumTokens",
|
|
"type_name": "int",
|
|
"json_tag": "numTokens",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Finished",
|
|
"type_name": "bool",
|
|
"json_tag": "finished",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Removed",
|
|
"type_name": "bool",
|
|
"json_tag": "removed",
|
|
"omitempty": true,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/stream.go",
|
|
"line_number": 5,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "StreamMessage",
|
|
"fields": [
|
|
{
|
|
"name": "Type",
|
|
"type_name": "StreamMessageType",
|
|
"json_tag": "type",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "ReplyChunk",
|
|
"type_name": "string",
|
|
"json_tag": "replyChunk",
|
|
"omitempty": true,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "BuildInfo",
|
|
"type_name": "BuildInfo",
|
|
"json_tag": "buildInfo",
|
|
"omitempty": true,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Description",
|
|
"type_name": "ConvoMessageDescription",
|
|
"json_tag": "description",
|
|
"omitempty": true,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "Error",
|
|
"type_name": "ApiError",
|
|
"json_tag": "error",
|
|
"omitempty": true,
|
|
"is_optional": true,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "MissingFilePath",
|
|
"type_name": "string",
|
|
"json_tag": "missingFilePath",
|
|
"omitempty": true,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "MissingFileAutoContext",
|
|
"type_name": "bool",
|
|
"json_tag": "missingFileAutoContext",
|
|
"omitempty": true,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "ModelStreamId",
|
|
"type_name": "string",
|
|
"json_tag": "modelStreamId",
|
|
"omitempty": true,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "LoadContextFiles",
|
|
"type_name": "string",
|
|
"json_tag": "loadContextFiles",
|
|
"omitempty": true,
|
|
"is_optional": false,
|
|
"is_array": true,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "InitPrompt",
|
|
"type_name": "string",
|
|
"json_tag": "initPrompt",
|
|
"omitempty": true,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "InitReplies",
|
|
"type_name": "string",
|
|
"json_tag": "initReplies",
|
|
"omitempty": true,
|
|
"is_optional": false,
|
|
"is_array": true,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "InitBuildOnly",
|
|
"type_name": "bool",
|
|
"json_tag": "initBuildOnly",
|
|
"omitempty": true,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "StreamMessages",
|
|
"type_name": "StreamMessage",
|
|
"json_tag": "streamMessages",
|
|
"omitempty": true,
|
|
"is_optional": false,
|
|
"is_array": true,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/stream.go",
|
|
"line_number": 31,
|
|
"is_exported": true
|
|
}
|
|
],
|
|
"enums": [
|
|
{
|
|
"name": "StreamMessageType",
|
|
"type_name": "string",
|
|
"values": [
|
|
"StreamMessageStart",
|
|
"StreamMessageConnectActive",
|
|
"StreamMessageHeartbeat",
|
|
"StreamMessageReply",
|
|
"StreamMessageDescribing",
|
|
"StreamMessageRepliesFinished",
|
|
"StreamMessageBuildInfo",
|
|
"StreamMessagePromptMissingFile",
|
|
"StreamMessageLoadContext",
|
|
"StreamMessageAborted",
|
|
"StreamMessageFinished",
|
|
"StreamMessageError",
|
|
"StreamMessageMulti"
|
|
],
|
|
"file_path": "/app/plandex/app/shared/stream.go",
|
|
"line_number": 14
|
|
}
|
|
],
|
|
"type_aliases": [
|
|
{
|
|
"name": "StreamMessageType",
|
|
"underlying_type": "string",
|
|
"file_path": "/app/plandex/app/shared/stream.go",
|
|
"line_number": 12
|
|
}
|
|
]
|
|
},
|
|
"streamed_change": {
|
|
"package_name": "shared",
|
|
"imports": [
|
|
"fmt",
|
|
"log",
|
|
"strconv",
|
|
"strings"
|
|
],
|
|
"structs": [
|
|
{
|
|
"name": "StreamedChangeSection",
|
|
"fields": [
|
|
{
|
|
"name": "StartLine",
|
|
"type_name": "int",
|
|
"json_tag": "startLine",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "EndLine",
|
|
"type_name": "int",
|
|
"json_tag": "endLine",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "StartLineString",
|
|
"type_name": "string",
|
|
"json_tag": "startLineString",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "EndLineString",
|
|
"type_name": "string",
|
|
"json_tag": "endLineString",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/streamed_change.go",
|
|
"line_number": 10,
|
|
"is_exported": true
|
|
},
|
|
{
|
|
"name": "StreamedChangeWithLineNums",
|
|
"fields": [
|
|
{
|
|
"name": "Old",
|
|
"type_name": "StreamedChangeSection",
|
|
"json_tag": "old",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "StartLineIncluded",
|
|
"type_name": "bool",
|
|
"json_tag": "startLineIncluded",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "EndLineIncluded",
|
|
"type_name": "bool",
|
|
"json_tag": "endLineIncluded",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
},
|
|
{
|
|
"name": "New",
|
|
"type_name": "string",
|
|
"json_tag": "new",
|
|
"omitempty": false,
|
|
"is_optional": false,
|
|
"is_array": false,
|
|
"is_map": false
|
|
}
|
|
],
|
|
"file_path": "/app/plandex/app/shared/streamed_change.go",
|
|
"line_number": 17,
|
|
"is_exported": true
|
|
}
|
|
],
|
|
"enums": [],
|
|
"type_aliases": []
|
|
},
|
|
"syntax": {
|
|
"package_name": "shared",
|
|
"imports": [
|
|
"path/filepath",
|
|
"strings"
|
|
],
|
|
"structs": [],
|
|
"enums": [
|
|
{
|
|
"name": "Language",
|
|
"type_name": "string",
|
|
"values": [
|
|
"LanguageBash",
|
|
"LanguageC",
|
|
"LanguageCpp",
|
|
"LanguageCsharp",
|
|
"LanguageCss",
|
|
"LanguageCue",
|
|
"LanguageDockerfile",
|
|
"LanguageElixir",
|
|
"LanguageElm",
|
|
"LanguageGo",
|
|
"LanguageGroovy",
|
|
"LanguageHcl",
|
|
"LanguageHtml",
|
|
"LanguageJava",
|
|
"LanguageJavascript",
|
|
"LanguageJson",
|
|
"LanguageKotlin",
|
|
"LanguageLua",
|
|
"LanguageOCaml",
|
|
"LanguagePhp",
|
|
"LanguageProtobuf",
|
|
"LanguagePython",
|
|
"LanguageRuby",
|
|
"LanguageRust",
|
|
"LanguageScala",
|
|
"LanguageSvelte",
|
|
"LanguageSwift",
|
|
"LanguageToml",
|
|
"LanguageTypescript",
|
|
"LanguageJsx",
|
|
"LanguageTsx",
|
|
"LanguageYaml",
|
|
"LanguageMarkdown"
|
|
],
|
|
"file_path": "/app/plandex/app/shared/syntax.go",
|
|
"line_number": 10
|
|
}
|
|
],
|
|
"type_aliases": [
|
|
{
|
|
"name": "Language",
|
|
"underlying_type": "string",
|
|
"file_path": "/app/plandex/app/shared/syntax.go",
|
|
"line_number": 8
|
|
}
|
|
]
|
|
},
|
|
"utils": {
|
|
"package_name": "shared",
|
|
"imports": [
|
|
"bytes",
|
|
"crypto/rand",
|
|
"fmt",
|
|
"regexp",
|
|
"strings",
|
|
"time",
|
|
"unicode/utf8"
|
|
],
|
|
"structs": [],
|
|
"enums": [],
|
|
"type_aliases": [
|
|
{
|
|
"name": "LineNumberedTextType",
|
|
"underlying_type": "string",
|
|
"file_path": "/app/plandex/app/shared/utils.go",
|
|
"line_number": 74
|
|
}
|
|
]
|
|
}
|
|
} |