weave-python 0.55.0__py3-none-any.whl → 0.57.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- weave/weaveapi/agent/v1/agent_pb2.py +49 -35
- weave/weaveapi/agent/v1/agent_pb2.pyi +233 -51
- weave/weaveapi/agent/v1/service_pb2.py +111 -99
- weave/weaveapi/agent/v1/service_pb2.pyi +185 -88
- weave/weaveapi/agent/v1/service_pb2_grpc.py +99 -52
- weave/weaveapi/agent/v1/service_pb2_grpc.pyi +55 -36
- weave/weaveapi/atc/v1/event_pb2.py +2 -2
- weave/weaveapi/atc/v1/message_pb2.py +2 -2
- weave/weaveapi/atc/v1/process_pb2.py +2 -2
- weave/weaveapi/atc/v1/run_pb2.py +2 -2
- weave/weaveapi/atc/v1/service_pb2.py +2 -2
- weave/weaveapi/auth/v1/auth_pb2.py +2 -2
- weave/weaveapi/auth/v1/service_pb2.py +2 -2
- weave/weaveapi/chat/v1/chat_pb2.py +28 -28
- weave/weaveapi/chat/v1/chat_pb2.pyi +21 -21
- weave/weaveapi/chat/v1/service_pb2.py +2 -2
- weave/weaveapi/consolidation/v1/consolidation_pb2.py +3 -3
- weave/weaveapi/consolidation/v1/service_pb2.py +3 -3
- weave/weaveapi/gateway/v1/gateway_pb2.py +2 -2
- weave/weaveapi/gateway/v1/service_pb2.py +2 -2
- weave/weaveapi/ingestion/v1/ingestion_pb2.py +3 -3
- weave/weaveapi/ingestion/v1/service_pb2.py +2 -2
- weave/weaveapi/model/v1/model_pb2.py +2 -2
- weave/weaveapi/model/v1/service_pb2.py +2 -2
- weave/weaveapi/organization/v1/organization_pb2.py +3 -3
- weave/weaveapi/organization/v1/service_pb2.py +3 -3
- weave/weaveapi/project/v1/project_pb2.py +2 -2
- weave/weaveapi/project/v1/service_pb2.py +2 -2
- weave/weaveapi/provider/v1/provider_pb2.py +2 -2
- weave/weaveapi/provider/v1/service_pb2.py +2 -2
- weave/weaveapi/retrieval/v1/retrieval_pb2.py +3 -3
- weave/weaveapi/retrieval/v1/service_pb2.py +2 -2
- weave/weaveapi/task/v1/service_pb2.py +2 -2
- weave/weaveapi/task/v1/task_pb2.py +2 -2
- weave/weaveapi/workflow/v1/service_pb2.py +111 -101
- weave/weaveapi/workflow/v1/service_pb2.pyi +197 -104
- weave/weaveapi/workflow/v1/service_pb2_grpc.py +99 -52
- weave/weaveapi/workflow/v1/service_pb2_grpc.pyi +57 -40
- weave/weaveapi/workflow/v1/workflow_pb2.py +68 -64
- weave/weaveapi/workflow/v1/workflow_pb2.pyi +249 -67
- weave/weavesql/weavedb/agent.py +963 -748
- weave/weavesql/weavedb/models.py +136 -100
- weave/weavesql/weavedb/workflow.py +1080 -865
- {weave_python-0.55.0.dist-info → weave_python-0.57.0.dist-info}/METADATA +1 -1
- {weave_python-0.55.0.dist-info → weave_python-0.57.0.dist-info}/RECORD +47 -47
- {weave_python-0.55.0.dist-info → weave_python-0.57.0.dist-info}/WHEEL +0 -0
- {weave_python-0.55.0.dist-info → weave_python-0.57.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
3
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
4
|
# source: weaveapi/agent/v1/agent.proto
|
|
5
|
-
# Protobuf Python Version: 7.
|
|
5
|
+
# Protobuf Python Version: 7.35.0
|
|
6
6
|
"""Generated protocol buffer code."""
|
|
7
7
|
|
|
8
8
|
from google.protobuf import descriptor as _descriptor
|
|
@@ -12,7 +12,7 @@ from google.protobuf import symbol_database as _symbol_database
|
|
|
12
12
|
from google.protobuf.internal import builder as _builder
|
|
13
13
|
|
|
14
14
|
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
15
|
-
_runtime_version.Domain.PUBLIC, 7,
|
|
15
|
+
_runtime_version.Domain.PUBLIC, 7, 35, 0, "", "weaveapi/agent/v1/agent.proto"
|
|
16
16
|
)
|
|
17
17
|
# @@protoc_insertion_point(imports)
|
|
18
18
|
|
|
@@ -20,7 +20,7 @@ _sym_db = _symbol_database.Default()
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
|
|
23
|
-
b'\n\x1dweaveapi/agent/v1/agent.proto\x12\x11weaveapi.agent.v1\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\xf7\x03\n\rAgentTemplate\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\'\n\x0forganization_id\x18\x02 \x01(\tR\x0eorganizationId\x12\x12\n\x04slug\x18\x03 \x01(\tR\x04slug\x12\x12\n\x04name\x18\x04 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x05 \x01(\tR\x0b\x64\x65scription\x12>\n\x06status\x18\x06 \x01(\x0e\x32&.weaveapi.agent.v1.AgentTemplateStatusR\x06status\x12+\n\x12\x63reated_by_user_id\x18\x07 \x01(\tR\x0f\x63reatedByUserId\x12%\n\x0e\x64raft_revision\x18\x08 \x01(\x05R\rdraftRevision\x12*\n\x11latest_version_id\x18\t \x01(\tR\x0flatestVersionId\x12%\n\x0elatest_version\x18\n \x01(\x05R\rlatestVersion\x12=\n\ncreated_at\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\tcreatedAt\x12=\n\nupdated_at\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\tupdatedAt"\x83\x06\n\nAgentDraft\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x1f\n\x0btemplate_id\x18\x02 \x01(\tR\ntemplateId\x12\'\n\x0forganization_id\x18\x03 \x01(\tR\x0eorganizationId\x12&\n\x0f\x62\x61se_version_id\x18\x04 \x01(\tR\rbaseVersionId\x12\x1a\n\x08revision\x18\x05 \x01(\x05R\x08revision\x12\x12\n\x04name\x18\x06 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x07 \x01(\tR\x0b\x64\x65scription\x12"\n\x0cinstructions\x18\x08 \x01(\tR\x0cinstructions\x12\x19\n\x08model_id\x18\t \x01(\tR\x07modelId\x12:\n\x19provider_configuration_id\x18\n \x01(\tR\x17providerConfigurationId\x12@\n\x05tools\x18\x0b \x03(\x0b\x32&.weaveapi.agent.v1.AgentToolDescriptorB\x02(\x01R\x05tools\x12>\n\x0cinput_schema\x18\x0c \x01(\x0b\x32\x17.google.protobuf.StructB\x02(\x01R\x0binputSchema\x12@\n\routput_schema\x18\r \x01(\x0b\x32\x17.google.protobuf.StructB\x02(\x01R\x0coutputSchema\x12\x37\n\x08metadata\x18\x0e \x01(\x0b\x32\x17.google.protobuf.StructB\x02(\x01R\x08metadata\x12+\n\x12updated_by_user_id\x18\x0f \x01(\tR\x0fupdatedByUserId\x12=\n\ncreated_at\x18\x10 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\tcreatedAt\x12=\n\nupdated_at\x18\x11 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\tupdatedAt"\xa6\x02\n\x0f\x41gentDraftPatch\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x1f\n\x0btemplate_id\x18\x02 \x01(\tR\ntemplateId\x12\'\n\x0forganization_id\x18\x03 \x01(\tR\x0eorganizationId\x12\x1a\n\x08revision\x18\x04 \x01(\x05R\x08revision\x12\x31\n\x05patch\x18\x05 \x01(\x0b\x32\x17.google.protobuf.StructB\x02(\x01R\x05patch\x12+\n\x12\x63reated_by_user_id\x18\x06 \x01(\tR\x0f\x63reatedByUserId\x12=\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\tcreatedAt"\xd8\x05\n\x0c\x41gentVersion\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x1f\n\x0btemplate_id\x18\x02 \x01(\tR\ntemplateId\x12\'\n\x0forganization_id\x18\x03 \x01(\tR\x0eorganizationId\x12\x18\n\x07version\x18\x04 \x01(\x05R\x07version\x12\x32\n\x15source_draft_revision\x18\x05 \x01(\x05R\x13sourceDraftRevision\x12\x12\n\x04name\x18\x06 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x07 \x01(\tR\x0b\x64\x65scription\x12"\n\x0cinstructions\x18\x08 \x01(\tR\x0cinstructions\x12\x19\n\x08model_id\x18\t \x01(\tR\x07modelId\x12:\n\x19provider_configuration_id\x18\n \x01(\tR\x17providerConfigurationId\x12@\n\x05tools\x18\x0b \x03(\x0b\x32&.weaveapi.agent.v1.AgentToolDescriptorB\x02(\x01R\x05tools\x12>\n\x0cinput_schema\x18\x0c \x01(\x0b\x32\x17.google.protobuf.StructB\x02(\x01R\x0binputSchema\x12@\n\routput_schema\x18\r \x01(\x0b\x32\x17.google.protobuf.StructB\x02(\x01R\x0coutputSchema\x12\x37\n\x08metadata\x18\x0e \x01(\x0b\x32\x17.google.protobuf.StructB\x02(\x01R\x08metadata\x12/\n\x14published_by_user_id\x18\x0f \x01(\tR\x11publishedByUserId\x12\x41\n\x0cpublished_at\x18\x10 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\x0bpublishedAt"\xb4\x03\n\x13\x41gentToolDescriptor\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12!\n\x0c\x64isplay_name\x18\x02 \x01(\tR\x0b\x64isplayName\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12>\n\x04kind\x18\x04 \x01(\x0e\x32*.weaveapi.agent.v1.AgentToolDescriptorKindR\x04kind\x12M\n\rapproval_mode\x18\x05 \x01(\x0e\x32(.weaveapi.agent.v1.AgentToolApprovalModeR\x0c\x61pprovalMode\x12>\n\x0cinput_schema\x18\x06 \x01(\x0b\x32\x17.google.protobuf.StructB\x02(\x01R\x0binputSchema\x12@\n\routput_schema\x18\x07 \x01(\x0b\x32\x17.google.protobuf.StructB\x02(\x01R\x0coutputSchema\x12\x33\n\x06\x63onfig\x18\x08 \x01(\x0b\x32\x17.google.protobuf.StructB\x02(\x01R\x06\x63onfig"\x8a\x02\n\x10\x41gentPublishPlan\x12\x1f\n\x0btemplate_id\x18\x01 \x01(\tR\ntemplateId\x12%\n\x0e\x64raft_revision\x18\x02 \x01(\x05R\rdraftRevision\x12 \n\x0bpublishable\x18\x03 \x01(\x08R\x0bpublishable\x12\x44\n\x06issues\x18\x04 \x03(\x0b\x32(.weaveapi.agent.v1.AgentPublishPlanIssueB\x02(\x01R\x06issues\x12\x46\n\x10\x63ompiled_preview\x18\x05 \x01(\x0b\x32\x17.google.protobuf.StructB\x02(\x01R\x0f\x63ompiledPreview"Y\n\x15\x41gentPublishPlanIssue\x12\x12\n\x04\x63ode\x18\x01 \x01(\tR\x04\x63ode\x12\x18\n\x07message\x18\x02 \x01(\tR\x07message\x12\x12\n\x04path\x18\x03 \x01(\tR\x04path"\xf6\x05\n\x08\x41gentRun\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\'\n\x0forganization_id\x18\x02 \x01(\tR\x0eorganizationId\x12*\n\x11\x61gent_template_id\x18\x03 \x01(\tR\x0f\x61gentTemplateId\x12(\n\x10\x61gent_version_id\x18\x04 \x01(\tR\x0e\x61gentVersionId\x12\x39\n\x06status\x18\x05 \x01(\x0e\x32!.weaveapi.agent.v1.AgentRunStatusR\x06status\x12+\n\x12\x63reated_by_user_id\x18\x06 \x01(\tR\x0f\x63reatedByUserId\x12&\n\x0f\x63hat_session_id\x18\x07 \x01(\tR\rchatSessionId\x12&\n\x0fworkflow_run_id\x18\x08 \x01(\tR\rworkflowRunId\x12/\n\x14workflow_step_run_id\x18\t \x01(\tR\x11workflowStepRunId\x12\x31\n\x05input\x18\n \x01(\x0b\x32\x17.google.protobuf.StructB\x02(\x01R\x05input\x12\x33\n\x06output\x18\x0b \x01(\x0b\x32\x17.google.protobuf.StructB\x02(\x01R\x06output\x12\x1d\n\nerror_code\x18\x0c \x01(\tR\terrorCode\x12,\n\x12safe_error_message\x18\r \x01(\tR\x10safeErrorMessage\x12=\n\ncreated_at\x18\x0e \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\tcreatedAt\x12=\n\nstarted_at\x18\x0f \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\tstartedAt\x12?\n\x0b\x66inished_at\x18\x10 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\nfinishedAt"\xd0\x02\n\rAgentRunEvent\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\'\n\x0forganization_id\x18\x02 \x01(\tR\x0eorganizationId\x12 \n\x0c\x61gent_run_id\x18\x03 \x01(\tR\nagentRunId\x12\x1a\n\x08sequence\x18\x04 \x01(\x04R\x08sequence\x12\x38\n\x04kind\x18\x05 \x01(\x0e\x32$.weaveapi.agent.v1.AgentRunEventKindR\x04kind\x12\x18\n\x07message\x18\x06 \x01(\tR\x07message\x12\x35\n\x07payload\x18\x07 \x01(\x0b\x32\x17.google.protobuf.StructB\x02(\x01R\x07payload\x12=\n\ncreated_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\tcreatedAt*\x82\x01\n\x13\x41gentTemplateStatus\x12%\n!AGENT_TEMPLATE_STATUS_UNSPECIFIED\x10\x00\x12 \n\x1c\x41GENT_TEMPLATE_STATUS_ACTIVE\x10\x01\x12"\n\x1e\x41GENT_TEMPLATE_STATUS_ARCHIVED\x10\x02*\x8f\x02\n\x17\x41gentToolDescriptorKind\x12*\n&AGENT_TOOL_DESCRIPTOR_KIND_UNSPECIFIED\x10\x00\x12,\n(AGENT_TOOL_DESCRIPTOR_KIND_WEAVE_SERVICE\x10\x01\x12$\n AGENT_TOOL_DESCRIPTOR_KIND_AGENT\x10\x02\x12\'\n#AGENT_TOOL_DESCRIPTOR_KIND_WORKFLOW\x10\x03\x12\'\n#AGENT_TOOL_DESCRIPTOR_KIND_EXTERNAL\x10\x04\x12"\n\x1e\x41GENT_TOOL_DESCRIPTOR_KIND_MCP\x10\x05*\xb1\x01\n\x15\x41gentToolApprovalMode\x12(\n$AGENT_TOOL_APPROVAL_MODE_UNSPECIFIED\x10\x00\x12"\n\x1e\x41GENT_TOOL_APPROVAL_MODE_NEVER\x10\x01\x12%\n!AGENT_TOOL_APPROVAL_MODE_MUTATION\x10\x02\x12#\n\x1f\x41GENT_TOOL_APPROVAL_MODE_ALWAYS\x10\x03*\xe8\x01\n\x0e\x41gentRunStatus\x12 \n\x1c\x41GENT_RUN_STATUS_UNSPECIFIED\x10\x00\x12\x1c\n\x18\x41GENT_RUN_STATUS_PENDING\x10\x01\x12\x1c\n\x18\x41GENT_RUN_STATUS_RUNNING\x10\x02\x12\x1c\n\x18\x41GENT_RUN_STATUS_WAITING\x10\x03\x12\x1e\n\x1a\x41GENT_RUN_STATUS_COMPLETED\x10\x04\x12\x1b\n\x17\x41GENT_RUN_STATUS_FAILED\x10\x05\x12\x1d\n\x19\x41GENT_RUN_STATUS_CANCELED\x10\x06*\xeb\x03\n\x11\x41gentRunEventKind\x12$\n AGENT_RUN_EVENT_KIND_UNSPECIFIED\x10\x00\x12 \n\x1c\x41GENT_RUN_EVENT_KIND_STARTED\x10\x01\x12(\n$AGENT_RUN_EVENT_KIND_MODEL_REQUESTED\x10\x02\x12(\n$AGENT_RUN_EVENT_KIND_MODEL_RESPONDED\x10\x03\x12+\n\'AGENT_RUN_EVENT_KIND_TOOL_CALL_PROPOSED\x10\x04\x12*\n&AGENT_RUN_EVENT_KIND_TOOL_CALL_STARTED\x10\x05\x12,\n(AGENT_RUN_EVENT_KIND_TOOL_CALL_COMPLETED\x10\x06\x12)\n%AGENT_RUN_EVENT_KIND_TOOL_CALL_FAILED\x10\x07\x12 \n\x1c\x41GENT_RUN_EVENT_KIND_WAITING\x10\x08\x12"\n\x1e\x41GENT_RUN_EVENT_KIND_COMPLETED\x10\t\x12\x1f\n\x1b\x41GENT_RUN_EVENT_KIND_FAILED\x10\n\x12!\n\x1d\x41GENT_RUN_EVENT_KIND_CANCELED\x10\x0b\x42\xc1\x01\n\x15\x63om.weaveapi.agent.v1B\nAgentProtoP\x01Z6github.com/weave-labs/weave-go/weaveapi/agent/v1;agent\xa2\x02\x03WAX\xaa\x02\x11Weaveapi.Agent.V1\xca\x02\x11Weaveapi\\Agent\\V1\xe2\x02\x1dWeaveapi\\Agent\\V1\\GPBMetadata\xea\x02\x13Weaveapi::Agent::V1b\x08\x65\x64itionsp\xe8\x07'
|
|
23
|
+
b'\n\x1dweaveapi/agent/v1/agent.proto\x12\x11weaveapi.agent.v1\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\xfb\x03\n\x0f\x41gentDefinition\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\'\n\x0forganization_id\x18\x02 \x01(\tR\x0eorganizationId\x12\x12\n\x04slug\x18\x03 \x01(\tR\x04slug\x12\x12\n\x04name\x18\x04 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x05 \x01(\tR\x0b\x64\x65scription\x12@\n\x06status\x18\x06 \x01(\x0e\x32(.weaveapi.agent.v1.AgentDefinitionStatusR\x06status\x12+\n\x12\x63reated_by_user_id\x18\x07 \x01(\tR\x0f\x63reatedByUserId\x12%\n\x0e\x64raft_revision\x18\x08 \x01(\x05R\rdraftRevision\x12*\n\x11latest_version_id\x18\t \x01(\tR\x0flatestVersionId\x12%\n\x0elatest_version\x18\n \x01(\x05R\rlatestVersion\x12=\n\ncreated_at\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\tcreatedAt\x12=\n\nupdated_at\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\tupdatedAt"\x87\x06\n\nAgentDraft\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12#\n\rdefinition_id\x18\x02 \x01(\tR\x0c\x64\x65\x66initionId\x12\'\n\x0forganization_id\x18\x03 \x01(\tR\x0eorganizationId\x12&\n\x0f\x62\x61se_version_id\x18\x04 \x01(\tR\rbaseVersionId\x12\x1a\n\x08revision\x18\x05 \x01(\x05R\x08revision\x12\x12\n\x04name\x18\x06 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x07 \x01(\tR\x0b\x64\x65scription\x12"\n\x0cinstructions\x18\x08 \x01(\tR\x0cinstructions\x12\x19\n\x08model_id\x18\t \x01(\tR\x07modelId\x12:\n\x19provider_configuration_id\x18\n \x01(\tR\x17providerConfigurationId\x12@\n\x05tools\x18\x0b \x03(\x0b\x32&.weaveapi.agent.v1.AgentToolDescriptorB\x02(\x01R\x05tools\x12>\n\x0cinput_schema\x18\x0c \x01(\x0b\x32\x17.google.protobuf.StructB\x02(\x01R\x0binputSchema\x12@\n\routput_schema\x18\r \x01(\x0b\x32\x17.google.protobuf.StructB\x02(\x01R\x0coutputSchema\x12\x37\n\x08metadata\x18\x0e \x01(\x0b\x32\x17.google.protobuf.StructB\x02(\x01R\x08metadata\x12+\n\x12updated_by_user_id\x18\x0f \x01(\tR\x0fupdatedByUserId\x12=\n\ncreated_at\x18\x10 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\tcreatedAt\x12=\n\nupdated_at\x18\x11 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\tupdatedAt"\xaa\x02\n\x0f\x41gentDraftPatch\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12#\n\rdefinition_id\x18\x02 \x01(\tR\x0c\x64\x65\x66initionId\x12\'\n\x0forganization_id\x18\x03 \x01(\tR\x0eorganizationId\x12\x1a\n\x08revision\x18\x04 \x01(\x05R\x08revision\x12\x31\n\x05patch\x18\x05 \x01(\x0b\x32\x17.google.protobuf.StructB\x02(\x01R\x05patch\x12+\n\x12\x63reated_by_user_id\x18\x06 \x01(\tR\x0f\x63reatedByUserId\x12=\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\tcreatedAt"\x81\x01\n\x17\x41gentDraftPatchConflict\x12#\n\rbase_revision\x18\x01 \x01(\x05R\x0c\x62\x61seRevision\x12)\n\x10\x63urrent_revision\x18\x02 \x01(\x05R\x0f\x63urrentRevision\x12\x16\n\x06reason\x18\x03 \x01(\tR\x06reason"\xd3\x04\n\x0f\x41gentDraftEvent\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\'\n\x0forganization_id\x18\x02 \x01(\tR\x0eorganizationId\x12#\n\rdefinition_id\x18\x03 \x01(\tR\x0c\x64\x65\x66initionId\x12\x19\n\x08\x64raft_id\x18\x04 \x01(\tR\x07\x64raftId\x12\x1a\n\x08sequence\x18\x05 \x01(\x04R\x08sequence\x12:\n\x04kind\x18\x06 \x01(\x0e\x32&.weaveapi.agent.v1.AgentDraftEventKindR\x04kind\x12#\n\rbase_revision\x18\x07 \x01(\x05R\x0c\x62\x61seRevision\x12\'\n\x0fresult_revision\x18\x08 \x01(\x05R\x0eresultRevision\x12%\n\x0e\x63hanged_fields\x18\t \x03(\tR\rchangedFields\x12\x16\n\x06source\x18\n \x01(\tR\x06source\x12*\n\x11\x63lient_request_id\x18\x0b \x01(\tR\x0f\x63lientRequestId\x12J\n\x08\x63onflict\x18\x0c \x01(\x0b\x32*.weaveapi.agent.v1.AgentDraftPatchConflictB\x02(\x01R\x08\x63onflict\x12+\n\x12\x63reated_by_user_id\x18\r \x01(\tR\x0f\x63reatedByUserId\x12=\n\ncreated_at\x18\x0e \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\tcreatedAt"\xdc\x05\n\x0c\x41gentVersion\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12#\n\rdefinition_id\x18\x02 \x01(\tR\x0c\x64\x65\x66initionId\x12\'\n\x0forganization_id\x18\x03 \x01(\tR\x0eorganizationId\x12\x18\n\x07version\x18\x04 \x01(\x05R\x07version\x12\x32\n\x15source_draft_revision\x18\x05 \x01(\x05R\x13sourceDraftRevision\x12\x12\n\x04name\x18\x06 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x07 \x01(\tR\x0b\x64\x65scription\x12"\n\x0cinstructions\x18\x08 \x01(\tR\x0cinstructions\x12\x19\n\x08model_id\x18\t \x01(\tR\x07modelId\x12:\n\x19provider_configuration_id\x18\n \x01(\tR\x17providerConfigurationId\x12@\n\x05tools\x18\x0b \x03(\x0b\x32&.weaveapi.agent.v1.AgentToolDescriptorB\x02(\x01R\x05tools\x12>\n\x0cinput_schema\x18\x0c \x01(\x0b\x32\x17.google.protobuf.StructB\x02(\x01R\x0binputSchema\x12@\n\routput_schema\x18\r \x01(\x0b\x32\x17.google.protobuf.StructB\x02(\x01R\x0coutputSchema\x12\x37\n\x08metadata\x18\x0e \x01(\x0b\x32\x17.google.protobuf.StructB\x02(\x01R\x08metadata\x12/\n\x14published_by_user_id\x18\x0f \x01(\tR\x11publishedByUserId\x12\x41\n\x0cpublished_at\x18\x10 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\x0bpublishedAt"\xb4\x03\n\x13\x41gentToolDescriptor\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12!\n\x0c\x64isplay_name\x18\x02 \x01(\tR\x0b\x64isplayName\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12>\n\x04kind\x18\x04 \x01(\x0e\x32*.weaveapi.agent.v1.AgentToolDescriptorKindR\x04kind\x12M\n\rapproval_mode\x18\x05 \x01(\x0e\x32(.weaveapi.agent.v1.AgentToolApprovalModeR\x0c\x61pprovalMode\x12>\n\x0cinput_schema\x18\x06 \x01(\x0b\x32\x17.google.protobuf.StructB\x02(\x01R\x0binputSchema\x12@\n\routput_schema\x18\x07 \x01(\x0b\x32\x17.google.protobuf.StructB\x02(\x01R\x0coutputSchema\x12\x33\n\x06\x63onfig\x18\x08 \x01(\x0b\x32\x17.google.protobuf.StructB\x02(\x01R\x06\x63onfig"\x8e\x02\n\x10\x41gentPublishPlan\x12#\n\rdefinition_id\x18\x01 \x01(\tR\x0c\x64\x65\x66initionId\x12%\n\x0e\x64raft_revision\x18\x02 \x01(\x05R\rdraftRevision\x12 \n\x0bpublishable\x18\x03 \x01(\x08R\x0bpublishable\x12\x44\n\x06issues\x18\x04 \x03(\x0b\x32(.weaveapi.agent.v1.AgentPublishPlanIssueB\x02(\x01R\x06issues\x12\x46\n\x10\x63ompiled_preview\x18\x05 \x01(\x0b\x32\x17.google.protobuf.StructB\x02(\x01R\x0f\x63ompiledPreview"Y\n\x15\x41gentPublishPlanIssue\x12\x12\n\x04\x63ode\x18\x01 \x01(\tR\x04\x63ode\x12\x18\n\x07message\x18\x02 \x01(\tR\x07message\x12\x12\n\x04path\x18\x03 \x01(\tR\x04path"\xfa\x05\n\x08\x41gentRun\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\'\n\x0forganization_id\x18\x02 \x01(\tR\x0eorganizationId\x12.\n\x13\x61gent_definition_id\x18\x03 \x01(\tR\x11\x61gentDefinitionId\x12(\n\x10\x61gent_version_id\x18\x04 \x01(\tR\x0e\x61gentVersionId\x12\x39\n\x06status\x18\x05 \x01(\x0e\x32!.weaveapi.agent.v1.AgentRunStatusR\x06status\x12+\n\x12\x63reated_by_user_id\x18\x06 \x01(\tR\x0f\x63reatedByUserId\x12&\n\x0f\x63hat_session_id\x18\x07 \x01(\tR\rchatSessionId\x12&\n\x0fworkflow_run_id\x18\x08 \x01(\tR\rworkflowRunId\x12/\n\x14workflow_step_run_id\x18\t \x01(\tR\x11workflowStepRunId\x12\x31\n\x05input\x18\n \x01(\x0b\x32\x17.google.protobuf.StructB\x02(\x01R\x05input\x12\x33\n\x06output\x18\x0b \x01(\x0b\x32\x17.google.protobuf.StructB\x02(\x01R\x06output\x12\x1d\n\nerror_code\x18\x0c \x01(\tR\terrorCode\x12,\n\x12safe_error_message\x18\r \x01(\tR\x10safeErrorMessage\x12=\n\ncreated_at\x18\x0e \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\tcreatedAt\x12=\n\nstarted_at\x18\x0f \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\tstartedAt\x12?\n\x0b\x66inished_at\x18\x10 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\nfinishedAt"\xd0\x02\n\rAgentRunEvent\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\'\n\x0forganization_id\x18\x02 \x01(\tR\x0eorganizationId\x12 \n\x0c\x61gent_run_id\x18\x03 \x01(\tR\nagentRunId\x12\x1a\n\x08sequence\x18\x04 \x01(\x04R\x08sequence\x12\x38\n\x04kind\x18\x05 \x01(\x0e\x32$.weaveapi.agent.v1.AgentRunEventKindR\x04kind\x12\x18\n\x07message\x18\x06 \x01(\tR\x07message\x12\x35\n\x07payload\x18\x07 \x01(\x0b\x32\x17.google.protobuf.StructB\x02(\x01R\x07payload\x12=\n\ncreated_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x02(\x01R\tcreatedAt*\x8a\x01\n\x15\x41gentDefinitionStatus\x12\'\n#AGENT_DEFINITION_STATUS_UNSPECIFIED\x10\x00\x12"\n\x1e\x41GENT_DEFINITION_STATUS_ACTIVE\x10\x01\x12$\n AGENT_DEFINITION_STATUS_ARCHIVED\x10\x02*\x8f\x02\n\x17\x41gentToolDescriptorKind\x12*\n&AGENT_TOOL_DESCRIPTOR_KIND_UNSPECIFIED\x10\x00\x12,\n(AGENT_TOOL_DESCRIPTOR_KIND_WEAVE_SERVICE\x10\x01\x12$\n AGENT_TOOL_DESCRIPTOR_KIND_AGENT\x10\x02\x12\'\n#AGENT_TOOL_DESCRIPTOR_KIND_WORKFLOW\x10\x03\x12\'\n#AGENT_TOOL_DESCRIPTOR_KIND_EXTERNAL\x10\x04\x12"\n\x1e\x41GENT_TOOL_DESCRIPTOR_KIND_MCP\x10\x05*\xb1\x01\n\x15\x41gentToolApprovalMode\x12(\n$AGENT_TOOL_APPROVAL_MODE_UNSPECIFIED\x10\x00\x12"\n\x1e\x41GENT_TOOL_APPROVAL_MODE_NEVER\x10\x01\x12%\n!AGENT_TOOL_APPROVAL_MODE_MUTATION\x10\x02\x12#\n\x1f\x41GENT_TOOL_APPROVAL_MODE_ALWAYS\x10\x03*\xe8\x01\n\x0e\x41gentRunStatus\x12 \n\x1c\x41GENT_RUN_STATUS_UNSPECIFIED\x10\x00\x12\x1c\n\x18\x41GENT_RUN_STATUS_PENDING\x10\x01\x12\x1c\n\x18\x41GENT_RUN_STATUS_RUNNING\x10\x02\x12\x1c\n\x18\x41GENT_RUN_STATUS_WAITING\x10\x03\x12\x1e\n\x1a\x41GENT_RUN_STATUS_COMPLETED\x10\x04\x12\x1b\n\x17\x41GENT_RUN_STATUS_FAILED\x10\x05\x12\x1d\n\x19\x41GENT_RUN_STATUS_CANCELED\x10\x06*\xeb\x03\n\x11\x41gentRunEventKind\x12$\n AGENT_RUN_EVENT_KIND_UNSPECIFIED\x10\x00\x12 \n\x1c\x41GENT_RUN_EVENT_KIND_STARTED\x10\x01\x12(\n$AGENT_RUN_EVENT_KIND_MODEL_REQUESTED\x10\x02\x12(\n$AGENT_RUN_EVENT_KIND_MODEL_RESPONDED\x10\x03\x12+\n\'AGENT_RUN_EVENT_KIND_TOOL_CALL_PROPOSED\x10\x04\x12*\n&AGENT_RUN_EVENT_KIND_TOOL_CALL_STARTED\x10\x05\x12,\n(AGENT_RUN_EVENT_KIND_TOOL_CALL_COMPLETED\x10\x06\x12)\n%AGENT_RUN_EVENT_KIND_TOOL_CALL_FAILED\x10\x07\x12 \n\x1c\x41GENT_RUN_EVENT_KIND_WAITING\x10\x08\x12"\n\x1e\x41GENT_RUN_EVENT_KIND_COMPLETED\x10\t\x12\x1f\n\x1b\x41GENT_RUN_EVENT_KIND_FAILED\x10\n\x12!\n\x1d\x41GENT_RUN_EVENT_KIND_CANCELED\x10\x0b*\x92\x01\n\x13\x41gentDraftEventKind\x12&\n"AGENT_DRAFT_EVENT_KIND_UNSPECIFIED\x10\x00\x12(\n$AGENT_DRAFT_EVENT_KIND_PATCH_APPLIED\x10\x01\x12)\n%AGENT_DRAFT_EVENT_KIND_PATCH_REJECTED\x10\x02\x42\xc1\x01\n\x15\x63om.weaveapi.agent.v1B\nAgentProtoP\x01Z6github.com/weave-labs/weave-go/weaveapi/agent/v1;agent\xa2\x02\x03WAX\xaa\x02\x11Weaveapi.Agent.V1\xca\x02\x11Weaveapi\\Agent\\V1\xe2\x02\x1dWeaveapi\\Agent\\V1\\GPBMetadata\xea\x02\x13Weaveapi::Agent::V1b\x08\x65\x64itionsp\xe8\x07'
|
|
24
24
|
)
|
|
25
25
|
|
|
26
26
|
_globals = globals()
|
|
@@ -33,12 +33,12 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
33
33
|
_globals[
|
|
34
34
|
"DESCRIPTOR"
|
|
35
35
|
]._serialized_options = b"\n\025com.weaveapi.agent.v1B\nAgentProtoP\001Z6github.com/weave-labs/weave-go/weaveapi/agent/v1;agent\242\002\003WAX\252\002\021Weaveapi.Agent.V1\312\002\021Weaveapi\\Agent\\V1\342\002\035Weaveapi\\Agent\\V1\\GPBMetadata\352\002\023Weaveapi::Agent::V1"
|
|
36
|
-
_globals["
|
|
37
|
-
_globals["
|
|
36
|
+
_globals["_AGENTDEFINITION"].fields_by_name["created_at"]._loaded_options = None
|
|
37
|
+
_globals["_AGENTDEFINITION"].fields_by_name[
|
|
38
38
|
"created_at"
|
|
39
39
|
]._serialized_options = b"(\001"
|
|
40
|
-
_globals["
|
|
41
|
-
_globals["
|
|
40
|
+
_globals["_AGENTDEFINITION"].fields_by_name["updated_at"]._loaded_options = None
|
|
41
|
+
_globals["_AGENTDEFINITION"].fields_by_name[
|
|
42
42
|
"updated_at"
|
|
43
43
|
]._serialized_options = b"(\001"
|
|
44
44
|
_globals["_AGENTDRAFT"].fields_by_name["tools"]._loaded_options = None
|
|
@@ -63,6 +63,14 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
63
63
|
_globals["_AGENTDRAFTPATCH"].fields_by_name[
|
|
64
64
|
"created_at"
|
|
65
65
|
]._serialized_options = b"(\001"
|
|
66
|
+
_globals["_AGENTDRAFTEVENT"].fields_by_name["conflict"]._loaded_options = None
|
|
67
|
+
_globals["_AGENTDRAFTEVENT"].fields_by_name[
|
|
68
|
+
"conflict"
|
|
69
|
+
]._serialized_options = b"(\001"
|
|
70
|
+
_globals["_AGENTDRAFTEVENT"].fields_by_name["created_at"]._loaded_options = None
|
|
71
|
+
_globals["_AGENTDRAFTEVENT"].fields_by_name[
|
|
72
|
+
"created_at"
|
|
73
|
+
]._serialized_options = b"(\001"
|
|
66
74
|
_globals["_AGENTVERSION"].fields_by_name["tools"]._loaded_options = None
|
|
67
75
|
_globals["_AGENTVERSION"].fields_by_name["tools"]._serialized_options = b"(\001"
|
|
68
76
|
_globals["_AGENTVERSION"].fields_by_name["input_schema"]._loaded_options = None
|
|
@@ -121,32 +129,38 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
121
129
|
_globals["_AGENTRUNEVENT"].fields_by_name[
|
|
122
130
|
"created_at"
|
|
123
131
|
]._serialized_options = b"(\001"
|
|
124
|
-
_globals["
|
|
125
|
-
_globals["
|
|
126
|
-
_globals["_AGENTTOOLDESCRIPTORKIND"]._serialized_start =
|
|
127
|
-
_globals["_AGENTTOOLDESCRIPTORKIND"]._serialized_end =
|
|
128
|
-
_globals["_AGENTTOOLAPPROVALMODE"]._serialized_start =
|
|
129
|
-
_globals["_AGENTTOOLAPPROVALMODE"]._serialized_end =
|
|
130
|
-
_globals["_AGENTRUNSTATUS"]._serialized_start =
|
|
131
|
-
_globals["_AGENTRUNSTATUS"]._serialized_end =
|
|
132
|
-
_globals["_AGENTRUNEVENTKIND"]._serialized_start =
|
|
133
|
-
_globals["_AGENTRUNEVENTKIND"]._serialized_end =
|
|
134
|
-
_globals["
|
|
135
|
-
_globals["
|
|
136
|
-
_globals["
|
|
137
|
-
_globals["
|
|
138
|
-
_globals["
|
|
139
|
-
_globals["
|
|
140
|
-
_globals["
|
|
141
|
-
_globals["
|
|
142
|
-
_globals["
|
|
143
|
-
_globals["
|
|
144
|
-
_globals["
|
|
145
|
-
_globals["
|
|
146
|
-
_globals["
|
|
147
|
-
_globals["
|
|
148
|
-
_globals["
|
|
149
|
-
_globals["
|
|
150
|
-
_globals["
|
|
151
|
-
_globals["
|
|
132
|
+
_globals["_AGENTDEFINITIONSTATUS"]._serialized_start = 5077
|
|
133
|
+
_globals["_AGENTDEFINITIONSTATUS"]._serialized_end = 5215
|
|
134
|
+
_globals["_AGENTTOOLDESCRIPTORKIND"]._serialized_start = 5218
|
|
135
|
+
_globals["_AGENTTOOLDESCRIPTORKIND"]._serialized_end = 5489
|
|
136
|
+
_globals["_AGENTTOOLAPPROVALMODE"]._serialized_start = 5492
|
|
137
|
+
_globals["_AGENTTOOLAPPROVALMODE"]._serialized_end = 5669
|
|
138
|
+
_globals["_AGENTRUNSTATUS"]._serialized_start = 5672
|
|
139
|
+
_globals["_AGENTRUNSTATUS"]._serialized_end = 5904
|
|
140
|
+
_globals["_AGENTRUNEVENTKIND"]._serialized_start = 5907
|
|
141
|
+
_globals["_AGENTRUNEVENTKIND"]._serialized_end = 6398
|
|
142
|
+
_globals["_AGENTDRAFTEVENTKIND"]._serialized_start = 6401
|
|
143
|
+
_globals["_AGENTDRAFTEVENTKIND"]._serialized_end = 6547
|
|
144
|
+
_globals["_AGENTDEFINITION"]._serialized_start = 116
|
|
145
|
+
_globals["_AGENTDEFINITION"]._serialized_end = 623
|
|
146
|
+
_globals["_AGENTDRAFT"]._serialized_start = 626
|
|
147
|
+
_globals["_AGENTDRAFT"]._serialized_end = 1401
|
|
148
|
+
_globals["_AGENTDRAFTPATCH"]._serialized_start = 1404
|
|
149
|
+
_globals["_AGENTDRAFTPATCH"]._serialized_end = 1702
|
|
150
|
+
_globals["_AGENTDRAFTPATCHCONFLICT"]._serialized_start = 1705
|
|
151
|
+
_globals["_AGENTDRAFTPATCHCONFLICT"]._serialized_end = 1834
|
|
152
|
+
_globals["_AGENTDRAFTEVENT"]._serialized_start = 1837
|
|
153
|
+
_globals["_AGENTDRAFTEVENT"]._serialized_end = 2432
|
|
154
|
+
_globals["_AGENTVERSION"]._serialized_start = 2435
|
|
155
|
+
_globals["_AGENTVERSION"]._serialized_end = 3167
|
|
156
|
+
_globals["_AGENTTOOLDESCRIPTOR"]._serialized_start = 3170
|
|
157
|
+
_globals["_AGENTTOOLDESCRIPTOR"]._serialized_end = 3606
|
|
158
|
+
_globals["_AGENTPUBLISHPLAN"]._serialized_start = 3609
|
|
159
|
+
_globals["_AGENTPUBLISHPLAN"]._serialized_end = 3879
|
|
160
|
+
_globals["_AGENTPUBLISHPLANISSUE"]._serialized_start = 3881
|
|
161
|
+
_globals["_AGENTPUBLISHPLANISSUE"]._serialized_end = 3970
|
|
162
|
+
_globals["_AGENTRUN"]._serialized_start = 3973
|
|
163
|
+
_globals["_AGENTRUN"]._serialized_end = 4735
|
|
164
|
+
_globals["_AGENTRUNEVENT"]._serialized_start = 4738
|
|
165
|
+
_globals["_AGENTRUNEVENT"]._serialized_end = 5074
|
|
152
166
|
# @@protoc_insertion_point(module_scope)
|