@opsee/mcp-server 0.1.0

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.
Files changed (136) hide show
  1. package/bin/opsee-mcp.js +21 -0
  2. package/gen/api/v1/account_pb.d.ts +393 -0
  3. package/gen/api/v1/account_pb.js +111 -0
  4. package/gen/api/v1/activity_log_pb.d.ts +297 -0
  5. package/gen/api/v1/activity_log_pb.js +89 -0
  6. package/gen/api/v1/ai_run_status_pb.d.ts +237 -0
  7. package/gen/api/v1/ai_run_status_pb.js +89 -0
  8. package/gen/api/v1/ai_unit_category_pb.d.ts +237 -0
  9. package/gen/api/v1/ai_unit_category_pb.js +89 -0
  10. package/gen/api/v1/ai_unit_stage_pb.d.ts +347 -0
  11. package/gen/api/v1/ai_unit_stage_pb.js +117 -0
  12. package/gen/api/v1/ai_unit_status_pb.d.ts +237 -0
  13. package/gen/api/v1/ai_unit_status_pb.js +89 -0
  14. package/gen/api/v1/ai_workflow_run_pb.d.ts +542 -0
  15. package/gen/api/v1/ai_workflow_run_pb.js +159 -0
  16. package/gen/api/v1/ai_workflow_unit_pb.d.ts +431 -0
  17. package/gen/api/v1/ai_workflow_unit_pb.js +103 -0
  18. package/gen/api/v1/attachment_pb.d.ts +297 -0
  19. package/gen/api/v1/attachment_pb.js +89 -0
  20. package/gen/api/v1/billing_pb.d.ts +1206 -0
  21. package/gen/api/v1/billing_pb.js +288 -0
  22. package/gen/api/v1/board_column_pb.d.ts +282 -0
  23. package/gen/api/v1/board_column_pb.js +89 -0
  24. package/gen/api/v1/board_pb.d.ts +296 -0
  25. package/gen/api/v1/board_pb.js +96 -0
  26. package/gen/api/v1/comment_pb.d.ts +277 -0
  27. package/gen/api/v1/comment_pb.js +89 -0
  28. package/gen/api/v1/company_pb.d.ts +452 -0
  29. package/gen/api/v1/company_pb.js +110 -0
  30. package/gen/api/v1/component_pb.d.ts +267 -0
  31. package/gen/api/v1/component_pb.js +89 -0
  32. package/gen/api/v1/contact_pb.d.ts +58 -0
  33. package/gen/api/v1/contact_pb.js +28 -0
  34. package/gen/api/v1/country_pb.d.ts +257 -0
  35. package/gen/api/v1/country_pb.js +89 -0
  36. package/gen/api/v1/credit_transaction_pb.d.ts +277 -0
  37. package/gen/api/v1/credit_transaction_pb.js +89 -0
  38. package/gen/api/v1/cycle_pb.d.ts +281 -0
  39. package/gen/api/v1/cycle_pb.js +87 -0
  40. package/gen/api/v1/deployment_pb.d.ts +277 -0
  41. package/gen/api/v1/deployment_pb.js +89 -0
  42. package/gen/api/v1/doc_page_pb.d.ts +505 -0
  43. package/gen/api/v1/doc_page_pb.js +138 -0
  44. package/gen/api/v1/doc_page_version_pb.d.ts +287 -0
  45. package/gen/api/v1/doc_page_version_pb.js +89 -0
  46. package/gen/api/v1/doc_space_pb.d.ts +297 -0
  47. package/gen/api/v1/doc_space_pb.js +89 -0
  48. package/gen/api/v1/document_link_pb.d.ts +174 -0
  49. package/gen/api/v1/document_link_pb.js +61 -0
  50. package/gen/api/v1/document_pb.d.ts +548 -0
  51. package/gen/api/v1/document_pb.js +152 -0
  52. package/gen/api/v1/environment_pb.d.ts +277 -0
  53. package/gen/api/v1/environment_pb.js +89 -0
  54. package/gen/api/v1/filter_pb.d.ts +66 -0
  55. package/gen/api/v1/filter_pb.js +26 -0
  56. package/gen/api/v1/label_pb.d.ts +267 -0
  57. package/gen/api/v1/label_pb.js +89 -0
  58. package/gen/api/v1/models_pb.d.ts +3137 -0
  59. package/gen/api/v1/models_pb.js +357 -0
  60. package/gen/api/v1/notification_pb.d.ts +317 -0
  61. package/gen/api/v1/notification_pb.js +89 -0
  62. package/gen/api/v1/orchestrator_pb.d.ts +1813 -0
  63. package/gen/api/v1/orchestrator_pb.js +353 -0
  64. package/gen/api/v1/pagination_pb.d.ts +92 -0
  65. package/gen/api/v1/pagination_pb.js +33 -0
  66. package/gen/api/v1/permission_pb.d.ts +222 -0
  67. package/gen/api/v1/permission_pb.js +89 -0
  68. package/gen/api/v1/preference_pb.d.ts +109 -0
  69. package/gen/api/v1/preference_pb.js +42 -0
  70. package/gen/api/v1/project_membership_pb.d.ts +321 -0
  71. package/gen/api/v1/project_membership_pb.js +103 -0
  72. package/gen/api/v1/project_pb.d.ts +473 -0
  73. package/gen/api/v1/project_pb.js +145 -0
  74. package/gen/api/v1/reporting_pb.d.ts +1481 -0
  75. package/gen/api/v1/reporting_pb.js +373 -0
  76. package/gen/api/v1/role_pb.d.ts +252 -0
  77. package/gen/api/v1/role_pb.js +101 -0
  78. package/gen/api/v1/subscription_pb.d.ts +307 -0
  79. package/gen/api/v1/subscription_pb.js +89 -0
  80. package/gen/api/v1/swagger_pb.d.ts +11 -0
  81. package/gen/api/v1/swagger_pb.js +13 -0
  82. package/gen/api/v1/task_component_pb.d.ts +242 -0
  83. package/gen/api/v1/task_component_pb.js +89 -0
  84. package/gen/api/v1/task_contributor_pb.d.ts +252 -0
  85. package/gen/api/v1/task_contributor_pb.js +89 -0
  86. package/gen/api/v1/task_doc_page_pb.d.ts +186 -0
  87. package/gen/api/v1/task_doc_page_pb.js +73 -0
  88. package/gen/api/v1/task_document_pb.d.ts +186 -0
  89. package/gen/api/v1/task_document_pb.js +73 -0
  90. package/gen/api/v1/task_label_pb.d.ts +242 -0
  91. package/gen/api/v1/task_label_pb.js +89 -0
  92. package/gen/api/v1/task_pb.d.ts +780 -0
  93. package/gen/api/v1/task_pb.js +173 -0
  94. package/gen/api/v1/task_priority_pb.d.ts +267 -0
  95. package/gen/api/v1/task_priority_pb.js +89 -0
  96. package/gen/api/v1/task_repository_pb.d.ts +242 -0
  97. package/gen/api/v1/task_repository_pb.js +89 -0
  98. package/gen/api/v1/task_type_pb.d.ts +277 -0
  99. package/gen/api/v1/task_type_pb.js +89 -0
  100. package/gen/api/v1/test_run_pb.d.ts +277 -0
  101. package/gen/api/v1/test_run_pb.js +89 -0
  102. package/gen/api/v1/user_pb.d.ts +366 -0
  103. package/gen/api/v1/user_pb.js +117 -0
  104. package/gen/api/v1/vcs_connection_pb.d.ts +964 -0
  105. package/gen/api/v1/vcs_connection_pb.js +228 -0
  106. package/gen/api/v1/vcs_integration_pb.d.ts +479 -0
  107. package/gen/api/v1/vcs_integration_pb.js +125 -0
  108. package/gen/api/v1/vcs_pb.d.ts +36 -0
  109. package/gen/api/v1/vcs_pb.js +24 -0
  110. package/gen/api/v1/view_pb.d.ts +337 -0
  111. package/gen/api/v1/view_pb.js +102 -0
  112. package/gen/google/api/annotations_pb.d.ts +34 -0
  113. package/gen/google/api/annotations_pb.js +36 -0
  114. package/gen/google/api/http_pb.d.ts +477 -0
  115. package/gen/google/api/http_pb.js +47 -0
  116. package/gen/protoc-gen-openapiv2/options/annotations_pb.d.ts +63 -0
  117. package/gen/protoc-gen-openapiv2/options/annotations_pb.js +69 -0
  118. package/gen/protoc-gen-openapiv2/options/openapiv2_pb.d.ts +1497 -0
  119. package/gen/protoc-gen-openapiv2/options/openapiv2_pb.js +232 -0
  120. package/gen/validate/validate_pb.d.ts +1953 -0
  121. package/gen/validate/validate_pb.js +223 -0
  122. package/package.json +37 -0
  123. package/src/auth/credentials.ts +65 -0
  124. package/src/auth/login.ts +96 -0
  125. package/src/auth/manager.ts +49 -0
  126. package/src/client/api.ts +91 -0
  127. package/src/index.ts +13 -0
  128. package/src/server.ts +26 -0
  129. package/src/tools/cycles.ts +77 -0
  130. package/src/tools/docs.ts +148 -0
  131. package/src/tools/projects.ts +40 -0
  132. package/src/tools/repositories.ts +41 -0
  133. package/src/tools/task-metadata.ts +96 -0
  134. package/src/tools/tasks.ts +228 -0
  135. package/src/tools/user.ts +33 -0
  136. package/src/utils/format.ts +141 -0
@@ -0,0 +1,89 @@
1
+ // @generated by protoc-gen-es v2.2.3
2
+ // @generated from file api/v1/ai_unit_status.proto (package api.v1, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1";
6
+ import { file_google_protobuf_empty } from "@bufbuild/protobuf/wkt";
7
+ import { file_google_api_annotations } from "../../google/api/annotations_pb";
8
+ import { file_validate_validate } from "../../validate/validate_pb";
9
+ import { file_api_v1_pagination } from "./pagination_pb";
10
+ import { file_api_v1_filter } from "./filter_pb";
11
+ import { file_api_v1_models } from "./models_pb";
12
+
13
+ /**
14
+ * Describes the file api/v1/ai_unit_status.proto.
15
+ */
16
+ export const file_api_v1_ai_unit_status = /*@__PURE__*/
17
+ fileDesc("ChthcGkvdjEvYWlfdW5pdF9zdGF0dXMucHJvdG8SBmFwaS52MSJZChZBZGRBSVVuaXRTdGF0dXNSZXF1ZXN0EhUKBG5hbWUYASABKAlCB/pCBHICEDISGAoLZGVzY3JpcHRpb24YAiABKAlIAIgBAUIOCgxfZGVzY3JpcHRpb24ibwoXRWRpdEFJVW5pdFN0YXR1c1JlcXVlc3QSEwoCaWQYASABKA1CB/pCBCoCKAESFQoEbmFtZRgCIAEoCUIH+kIEcgIQMhIYCgtkZXNjcmlwdGlvbhgDIAEoCUgAiAEBQg4KDF9kZXNjcmlwdGlvbiIkChZHZXRBSVVuaXRTdGF0dXNSZXF1ZXN0EgoKAmlkGAEgASgNInsKGEdldEFJVW5pdFN0YXR1c2VzUmVxdWVzdBIwCgpwYWdpbmF0aW9uGAEgASgLMhIuYXBpLnYxLlBhZ2luYXRpb25CCPpCBYoBAhABEi0KDmZpbHRlcl9vcHRpb25zGAIgASgLMhUuYXBpLnYxLkZpbHRlck9wdGlvbnMiJwoZRGVsZXRlQUlVbml0U3RhdHVzUmVxdWVzdBIKCgJpZBgBIAEoDSJzChlHZXRBSVVuaXRTdGF0dXNlc1Jlc3BvbnNlEi4KEGFpX3VuaXRfc3RhdHVzZXMYASADKAsyFC5hcGkudjEuQUlVbml0U3RhdHVzEiYKCnBhZ2luYXRpb24YAiABKAsyEi5hcGkudjEuUGFnaW5hdGlvbiJHChdBZGRBSVVuaXRTdGF0dXNSZXNwb25zZRIsCg5haV91bml0X3N0YXR1cxgBIAEoCzIULmFwaS52MS5BSVVuaXRTdGF0dXMiSAoYRWRpdEFJVW5pdFN0YXR1c1Jlc3BvbnNlEiwKDmFpX3VuaXRfc3RhdHVzGAEgASgLMhQuYXBpLnYxLkFJVW5pdFN0YXR1cyJHChdHZXRBSVVuaXRTdGF0dXNSZXNwb25zZRIsCg5haV91bml0X3N0YXR1cxgBIAEoCzIULmFwaS52MS5BSVVuaXRTdGF0dXMy/gQKE0FJVW5pdFN0YXR1c1NlcnZpY2USdwoPQWRkQUlVbml0U3RhdHVzEh4uYXBpLnYxLkFkZEFJVW5pdFN0YXR1c1JlcXVlc3QaHy5hcGkudjEuQWRkQUlVbml0U3RhdHVzUmVzcG9uc2UiI4LT5JMCHToBKiIYL2FwaS92MS9haV91bml0X3N0YXR1c2VzEn8KEEVkaXRBSVVuaXRTdGF0dXMSHy5hcGkudjEuRWRpdEFJVW5pdFN0YXR1c1JlcXVlc3QaIC5hcGkudjEuRWRpdEFJVW5pdFN0YXR1c1Jlc3BvbnNlIiiC0+STAiI6ASoaHS9hcGkvdjEvYWlfdW5pdF9zdGF0dXNlcy97aWR9EnkKD0dldEFJVW5pdFN0YXR1cxIeLmFwaS52MS5HZXRBSVVuaXRTdGF0dXNSZXF1ZXN0Gh8uYXBpLnYxLkdldEFJVW5pdFN0YXR1c1Jlc3BvbnNlIiWC0+STAh8SHS9hcGkvdjEvYWlfdW5pdF9zdGF0dXNlcy97aWR9EnoKEUdldEFJVW5pdFN0YXR1c2VzEiAuYXBpLnYxLkdldEFJVW5pdFN0YXR1c2VzUmVxdWVzdBohLmFwaS52MS5HZXRBSVVuaXRTdGF0dXNlc1Jlc3BvbnNlIiCC0+STAhoSGC9hcGkvdjEvYWlfdW5pdF9zdGF0dXNlcxJ2ChJEZWxldGVBSVVuaXRTdGF0dXMSIS5hcGkudjEuRGVsZXRlQUlVbml0U3RhdHVzUmVxdWVzdBoWLmdvb2dsZS5wcm90b2J1Zi5FbXB0eSIlgtPkkwIfKh0vYXBpL3YxL2FpX3VuaXRfc3RhdHVzZXMve2lkfUJ2Cgpjb20uYXBpLnYxQhFBaVVuaXRTdGF0dXNQcm90b1ABWhxvcHNlZS9iYWNrZW5kL2dlbi9hcGkvdjE7Z2VuogIDQVhYqgIGQXBpLlYxygIGQXBpXFYx4gISQXBpXFYxXEdQQk1ldGFkYXRh6gIHQXBpOjpWMWIGcHJvdG8z", [file_google_protobuf_empty, file_google_api_annotations, file_validate_validate, file_api_v1_pagination, file_api_v1_filter, file_api_v1_models]);
18
+
19
+ /**
20
+ * Describes the message api.v1.AddAIUnitStatusRequest.
21
+ * Use `create(AddAIUnitStatusRequestSchema)` to create a new message.
22
+ */
23
+ export const AddAIUnitStatusRequestSchema = /*@__PURE__*/
24
+ messageDesc(file_api_v1_ai_unit_status, 0);
25
+
26
+ /**
27
+ * Describes the message api.v1.EditAIUnitStatusRequest.
28
+ * Use `create(EditAIUnitStatusRequestSchema)` to create a new message.
29
+ */
30
+ export const EditAIUnitStatusRequestSchema = /*@__PURE__*/
31
+ messageDesc(file_api_v1_ai_unit_status, 1);
32
+
33
+ /**
34
+ * Describes the message api.v1.GetAIUnitStatusRequest.
35
+ * Use `create(GetAIUnitStatusRequestSchema)` to create a new message.
36
+ */
37
+ export const GetAIUnitStatusRequestSchema = /*@__PURE__*/
38
+ messageDesc(file_api_v1_ai_unit_status, 2);
39
+
40
+ /**
41
+ * Describes the message api.v1.GetAIUnitStatusesRequest.
42
+ * Use `create(GetAIUnitStatusesRequestSchema)` to create a new message.
43
+ */
44
+ export const GetAIUnitStatusesRequestSchema = /*@__PURE__*/
45
+ messageDesc(file_api_v1_ai_unit_status, 3);
46
+
47
+ /**
48
+ * Describes the message api.v1.DeleteAIUnitStatusRequest.
49
+ * Use `create(DeleteAIUnitStatusRequestSchema)` to create a new message.
50
+ */
51
+ export const DeleteAIUnitStatusRequestSchema = /*@__PURE__*/
52
+ messageDesc(file_api_v1_ai_unit_status, 4);
53
+
54
+ /**
55
+ * Describes the message api.v1.GetAIUnitStatusesResponse.
56
+ * Use `create(GetAIUnitStatusesResponseSchema)` to create a new message.
57
+ */
58
+ export const GetAIUnitStatusesResponseSchema = /*@__PURE__*/
59
+ messageDesc(file_api_v1_ai_unit_status, 5);
60
+
61
+ /**
62
+ * Describes the message api.v1.AddAIUnitStatusResponse.
63
+ * Use `create(AddAIUnitStatusResponseSchema)` to create a new message.
64
+ */
65
+ export const AddAIUnitStatusResponseSchema = /*@__PURE__*/
66
+ messageDesc(file_api_v1_ai_unit_status, 6);
67
+
68
+ /**
69
+ * Describes the message api.v1.EditAIUnitStatusResponse.
70
+ * Use `create(EditAIUnitStatusResponseSchema)` to create a new message.
71
+ */
72
+ export const EditAIUnitStatusResponseSchema = /*@__PURE__*/
73
+ messageDesc(file_api_v1_ai_unit_status, 7);
74
+
75
+ /**
76
+ * Describes the message api.v1.GetAIUnitStatusResponse.
77
+ * Use `create(GetAIUnitStatusResponseSchema)` to create a new message.
78
+ */
79
+ export const GetAIUnitStatusResponseSchema = /*@__PURE__*/
80
+ messageDesc(file_api_v1_ai_unit_status, 8);
81
+
82
+ /**
83
+ * Service definition
84
+ *
85
+ * @generated from service api.v1.AIUnitStatusService
86
+ */
87
+ export const AIUnitStatusService = /*@__PURE__*/
88
+ serviceDesc(file_api_v1_ai_unit_status, 0);
89
+
@@ -0,0 +1,542 @@
1
+ // @generated by protoc-gen-es v2.2.3
2
+ // @generated from file api/v1/ai_workflow_run.proto (package api.v1, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv1";
6
+ import type { Message } from "@bufbuild/protobuf";
7
+ import type { Pagination } from "./pagination_pb";
8
+ import type { FilterOptions } from "./filter_pb";
9
+ import type { AIWorkflowRun, AIWorkflowUnit } from "./models_pb";
10
+ import type { EmptySchema, Timestamp } from "@bufbuild/protobuf/wkt";
11
+
12
+ /**
13
+ * Describes the file api/v1/ai_workflow_run.proto.
14
+ */
15
+ export declare const file_api_v1_ai_workflow_run: GenFile;
16
+
17
+ /**
18
+ * Request definitions
19
+ *
20
+ * @generated from message api.v1.AddAIWorkflowRunRequest
21
+ */
22
+ export declare type AddAIWorkflowRunRequest = Message<"api.v1.AddAIWorkflowRunRequest"> & {
23
+ /**
24
+ * @generated from field: int32 ai_credits_used_total = 1;
25
+ */
26
+ aiCreditsUsedTotal: number;
27
+
28
+ /**
29
+ * @generated from field: optional string metadata_json = 2;
30
+ */
31
+ metadataJson?: string;
32
+
33
+ /**
34
+ * @generated from field: uint32 task_id = 3;
35
+ */
36
+ taskId: number;
37
+
38
+ /**
39
+ * @generated from field: uint32 triggered_by_user_id = 4;
40
+ */
41
+ triggeredByUserId: number;
42
+
43
+ /**
44
+ * @generated from field: uint32 ai_run_status_id = 5;
45
+ */
46
+ aiRunStatusId: number;
47
+
48
+ /**
49
+ * @generated from field: optional uint32 current_stage_id = 6;
50
+ */
51
+ currentStageId?: number;
52
+ };
53
+
54
+ /**
55
+ * Describes the message api.v1.AddAIWorkflowRunRequest.
56
+ * Use `create(AddAIWorkflowRunRequestSchema)` to create a new message.
57
+ */
58
+ export declare const AddAIWorkflowRunRequestSchema: GenMessage<AddAIWorkflowRunRequest>;
59
+
60
+ /**
61
+ * @generated from message api.v1.EditAIWorkflowRunRequest
62
+ */
63
+ export declare type EditAIWorkflowRunRequest = Message<"api.v1.EditAIWorkflowRunRequest"> & {
64
+ /**
65
+ * @generated from field: uint32 id = 1;
66
+ */
67
+ id: number;
68
+
69
+ /**
70
+ * @generated from field: int32 ai_credits_used_total = 2;
71
+ */
72
+ aiCreditsUsedTotal: number;
73
+
74
+ /**
75
+ * @generated from field: optional string metadata_json = 3;
76
+ */
77
+ metadataJson?: string;
78
+
79
+ /**
80
+ * @generated from field: uint32 task_id = 4;
81
+ */
82
+ taskId: number;
83
+
84
+ /**
85
+ * @generated from field: uint32 triggered_by_user_id = 5;
86
+ */
87
+ triggeredByUserId: number;
88
+
89
+ /**
90
+ * @generated from field: uint32 ai_run_status_id = 6;
91
+ */
92
+ aiRunStatusId: number;
93
+
94
+ /**
95
+ * @generated from field: optional uint32 current_stage_id = 7;
96
+ */
97
+ currentStageId?: number;
98
+ };
99
+
100
+ /**
101
+ * Describes the message api.v1.EditAIWorkflowRunRequest.
102
+ * Use `create(EditAIWorkflowRunRequestSchema)` to create a new message.
103
+ */
104
+ export declare const EditAIWorkflowRunRequestSchema: GenMessage<EditAIWorkflowRunRequest>;
105
+
106
+ /**
107
+ * @generated from message api.v1.GetAIWorkflowRunRequest
108
+ */
109
+ export declare type GetAIWorkflowRunRequest = Message<"api.v1.GetAIWorkflowRunRequest"> & {
110
+ /**
111
+ * @generated from field: uint32 id = 1;
112
+ */
113
+ id: number;
114
+ };
115
+
116
+ /**
117
+ * Describes the message api.v1.GetAIWorkflowRunRequest.
118
+ * Use `create(GetAIWorkflowRunRequestSchema)` to create a new message.
119
+ */
120
+ export declare const GetAIWorkflowRunRequestSchema: GenMessage<GetAIWorkflowRunRequest>;
121
+
122
+ /**
123
+ * @generated from message api.v1.GetAIWorkflowRunsRequest
124
+ */
125
+ export declare type GetAIWorkflowRunsRequest = Message<"api.v1.GetAIWorkflowRunsRequest"> & {
126
+ /**
127
+ * @generated from field: api.v1.Pagination pagination = 1;
128
+ */
129
+ pagination?: Pagination;
130
+
131
+ /**
132
+ * @generated from field: api.v1.FilterOptions filter_options = 2;
133
+ */
134
+ filterOptions?: FilterOptions;
135
+ };
136
+
137
+ /**
138
+ * Describes the message api.v1.GetAIWorkflowRunsRequest.
139
+ * Use `create(GetAIWorkflowRunsRequestSchema)` to create a new message.
140
+ */
141
+ export declare const GetAIWorkflowRunsRequestSchema: GenMessage<GetAIWorkflowRunsRequest>;
142
+
143
+ /**
144
+ * @generated from message api.v1.DeleteAIWorkflowRunRequest
145
+ */
146
+ export declare type DeleteAIWorkflowRunRequest = Message<"api.v1.DeleteAIWorkflowRunRequest"> & {
147
+ /**
148
+ * @generated from field: uint32 id = 1;
149
+ */
150
+ id: number;
151
+ };
152
+
153
+ /**
154
+ * Describes the message api.v1.DeleteAIWorkflowRunRequest.
155
+ * Use `create(DeleteAIWorkflowRunRequestSchema)` to create a new message.
156
+ */
157
+ export declare const DeleteAIWorkflowRunRequestSchema: GenMessage<DeleteAIWorkflowRunRequest>;
158
+
159
+ /**
160
+ * Response definitions
161
+ *
162
+ * @generated from message api.v1.GetAIWorkflowRunsResponse
163
+ */
164
+ export declare type GetAIWorkflowRunsResponse = Message<"api.v1.GetAIWorkflowRunsResponse"> & {
165
+ /**
166
+ * @generated from field: repeated api.v1.AIWorkflowRun ai_workflow_runs = 1;
167
+ */
168
+ aiWorkflowRuns: AIWorkflowRun[];
169
+
170
+ /**
171
+ * @generated from field: api.v1.Pagination pagination = 2;
172
+ */
173
+ pagination?: Pagination;
174
+ };
175
+
176
+ /**
177
+ * Describes the message api.v1.GetAIWorkflowRunsResponse.
178
+ * Use `create(GetAIWorkflowRunsResponseSchema)` to create a new message.
179
+ */
180
+ export declare const GetAIWorkflowRunsResponseSchema: GenMessage<GetAIWorkflowRunsResponse>;
181
+
182
+ /**
183
+ * @generated from message api.v1.AddAIWorkflowRunResponse
184
+ */
185
+ export declare type AddAIWorkflowRunResponse = Message<"api.v1.AddAIWorkflowRunResponse"> & {
186
+ /**
187
+ * @generated from field: api.v1.AIWorkflowRun ai_workflow_run = 1;
188
+ */
189
+ aiWorkflowRun?: AIWorkflowRun;
190
+ };
191
+
192
+ /**
193
+ * Describes the message api.v1.AddAIWorkflowRunResponse.
194
+ * Use `create(AddAIWorkflowRunResponseSchema)` to create a new message.
195
+ */
196
+ export declare const AddAIWorkflowRunResponseSchema: GenMessage<AddAIWorkflowRunResponse>;
197
+
198
+ /**
199
+ * @generated from message api.v1.EditAIWorkflowRunResponse
200
+ */
201
+ export declare type EditAIWorkflowRunResponse = Message<"api.v1.EditAIWorkflowRunResponse"> & {
202
+ /**
203
+ * @generated from field: api.v1.AIWorkflowRun ai_workflow_run = 1;
204
+ */
205
+ aiWorkflowRun?: AIWorkflowRun;
206
+ };
207
+
208
+ /**
209
+ * Describes the message api.v1.EditAIWorkflowRunResponse.
210
+ * Use `create(EditAIWorkflowRunResponseSchema)` to create a new message.
211
+ */
212
+ export declare const EditAIWorkflowRunResponseSchema: GenMessage<EditAIWorkflowRunResponse>;
213
+
214
+ /**
215
+ * @generated from message api.v1.GetAIWorkflowRunResponse
216
+ */
217
+ export declare type GetAIWorkflowRunResponse = Message<"api.v1.GetAIWorkflowRunResponse"> & {
218
+ /**
219
+ * @generated from field: api.v1.AIWorkflowRun ai_workflow_run = 1;
220
+ */
221
+ aiWorkflowRun?: AIWorkflowRun;
222
+ };
223
+
224
+ /**
225
+ * Describes the message api.v1.GetAIWorkflowRunResponse.
226
+ * Use `create(GetAIWorkflowRunResponseSchema)` to create a new message.
227
+ */
228
+ export declare const GetAIWorkflowRunResponseSchema: GenMessage<GetAIWorkflowRunResponse>;
229
+
230
+ /**
231
+ * Additional request/response definitions for streaming and task-specific queries
232
+ *
233
+ * @generated from message api.v1.GetAIWorkflowRunsByTaskRequest
234
+ */
235
+ export declare type GetAIWorkflowRunsByTaskRequest = Message<"api.v1.GetAIWorkflowRunsByTaskRequest"> & {
236
+ /**
237
+ * @generated from field: uint32 task_id = 1;
238
+ */
239
+ taskId: number;
240
+
241
+ /**
242
+ * @generated from field: api.v1.Pagination pagination = 2;
243
+ */
244
+ pagination?: Pagination;
245
+ };
246
+
247
+ /**
248
+ * Describes the message api.v1.GetAIWorkflowRunsByTaskRequest.
249
+ * Use `create(GetAIWorkflowRunsByTaskRequestSchema)` to create a new message.
250
+ */
251
+ export declare const GetAIWorkflowRunsByTaskRequestSchema: GenMessage<GetAIWorkflowRunsByTaskRequest>;
252
+
253
+ /**
254
+ * @generated from message api.v1.GetAIWorkflowRunsByTaskResponse
255
+ */
256
+ export declare type GetAIWorkflowRunsByTaskResponse = Message<"api.v1.GetAIWorkflowRunsByTaskResponse"> & {
257
+ /**
258
+ * @generated from field: repeated api.v1.AIWorkflowRun ai_workflow_runs = 1;
259
+ */
260
+ aiWorkflowRuns: AIWorkflowRun[];
261
+
262
+ /**
263
+ * @generated from field: api.v1.Pagination pagination = 2;
264
+ */
265
+ pagination?: Pagination;
266
+ };
267
+
268
+ /**
269
+ * Describes the message api.v1.GetAIWorkflowRunsByTaskResponse.
270
+ * Use `create(GetAIWorkflowRunsByTaskResponseSchema)` to create a new message.
271
+ */
272
+ export declare const GetAIWorkflowRunsByTaskResponseSchema: GenMessage<GetAIWorkflowRunsByTaskResponse>;
273
+
274
+ /**
275
+ * @generated from message api.v1.StreamWorkflowProgressRequest
276
+ */
277
+ export declare type StreamWorkflowProgressRequest = Message<"api.v1.StreamWorkflowProgressRequest"> & {
278
+ /**
279
+ * @generated from field: uint32 task_id = 1;
280
+ */
281
+ taskId: number;
282
+
283
+ /**
284
+ * Optional: stream specific run or all runs for task
285
+ *
286
+ * @generated from field: optional uint32 workflow_run_id = 2;
287
+ */
288
+ workflowRunId?: number;
289
+ };
290
+
291
+ /**
292
+ * Describes the message api.v1.StreamWorkflowProgressRequest.
293
+ * Use `create(StreamWorkflowProgressRequestSchema)` to create a new message.
294
+ */
295
+ export declare const StreamWorkflowProgressRequestSchema: GenMessage<StreamWorkflowProgressRequest>;
296
+
297
+ /**
298
+ * @generated from message api.v1.WorkflowProgressUpdate
299
+ */
300
+ export declare type WorkflowProgressUpdate = Message<"api.v1.WorkflowProgressUpdate"> & {
301
+ /**
302
+ * @generated from field: api.v1.AIWorkflowUnit unit = 1;
303
+ */
304
+ unit?: AIWorkflowUnit;
305
+
306
+ /**
307
+ * @generated from field: api.v1.WorkflowUpdateType update_type = 2;
308
+ */
309
+ updateType: WorkflowUpdateType;
310
+
311
+ /**
312
+ * Updated run metadata (credits, status, etc)
313
+ *
314
+ * @generated from field: api.v1.AIWorkflowRun run_metadata = 3;
315
+ */
316
+ runMetadata?: AIWorkflowRun;
317
+
318
+ /**
319
+ * @generated from field: google.protobuf.Timestamp timestamp = 4;
320
+ */
321
+ timestamp?: Timestamp;
322
+
323
+ /**
324
+ * Optional human-readable message about the update
325
+ *
326
+ * @generated from field: optional string message = 5;
327
+ */
328
+ message?: string;
329
+ };
330
+
331
+ /**
332
+ * Describes the message api.v1.WorkflowProgressUpdate.
333
+ * Use `create(WorkflowProgressUpdateSchema)` to create a new message.
334
+ */
335
+ export declare const WorkflowProgressUpdateSchema: GenMessage<WorkflowProgressUpdate>;
336
+
337
+ /**
338
+ * New message definitions for active runs management
339
+ *
340
+ * @generated from message api.v1.GetActiveWorkflowRunsRequest
341
+ */
342
+ export declare type GetActiveWorkflowRunsRequest = Message<"api.v1.GetActiveWorkflowRunsRequest"> & {
343
+ /**
344
+ * @generated from field: uint32 task_id = 1;
345
+ */
346
+ taskId: number;
347
+ };
348
+
349
+ /**
350
+ * Describes the message api.v1.GetActiveWorkflowRunsRequest.
351
+ * Use `create(GetActiveWorkflowRunsRequestSchema)` to create a new message.
352
+ */
353
+ export declare const GetActiveWorkflowRunsRequestSchema: GenMessage<GetActiveWorkflowRunsRequest>;
354
+
355
+ /**
356
+ * @generated from message api.v1.GetActiveWorkflowRunsResponse
357
+ */
358
+ export declare type GetActiveWorkflowRunsResponse = Message<"api.v1.GetActiveWorkflowRunsResponse"> & {
359
+ /**
360
+ * @generated from field: repeated api.v1.AIWorkflowRun active_runs = 1;
361
+ */
362
+ activeRuns: AIWorkflowRun[];
363
+ };
364
+
365
+ /**
366
+ * Describes the message api.v1.GetActiveWorkflowRunsResponse.
367
+ * Use `create(GetActiveWorkflowRunsResponseSchema)` to create a new message.
368
+ */
369
+ export declare const GetActiveWorkflowRunsResponseSchema: GenMessage<GetActiveWorkflowRunsResponse>;
370
+
371
+ /**
372
+ * @generated from message api.v1.CancelWorkflowRunRequest
373
+ */
374
+ export declare type CancelWorkflowRunRequest = Message<"api.v1.CancelWorkflowRunRequest"> & {
375
+ /**
376
+ * @generated from field: uint32 workflow_run_id = 1;
377
+ */
378
+ workflowRunId: number;
379
+
380
+ /**
381
+ * Optional cancellation reason
382
+ *
383
+ * @generated from field: optional string reason = 2;
384
+ */
385
+ reason?: string;
386
+ };
387
+
388
+ /**
389
+ * Describes the message api.v1.CancelWorkflowRunRequest.
390
+ * Use `create(CancelWorkflowRunRequestSchema)` to create a new message.
391
+ */
392
+ export declare const CancelWorkflowRunRequestSchema: GenMessage<CancelWorkflowRunRequest>;
393
+
394
+ /**
395
+ * @generated from message api.v1.CancelWorkflowRunResponse
396
+ */
397
+ export declare type CancelWorkflowRunResponse = Message<"api.v1.CancelWorkflowRunResponse"> & {
398
+ /**
399
+ * @generated from field: api.v1.AIWorkflowRun workflow_run = 1;
400
+ */
401
+ workflowRun?: AIWorkflowRun;
402
+ };
403
+
404
+ /**
405
+ * Describes the message api.v1.CancelWorkflowRunResponse.
406
+ * Use `create(CancelWorkflowRunResponseSchema)` to create a new message.
407
+ */
408
+ export declare const CancelWorkflowRunResponseSchema: GenMessage<CancelWorkflowRunResponse>;
409
+
410
+ /**
411
+ * Enum for workflow progress update types
412
+ *
413
+ * @generated from enum api.v1.WorkflowUpdateType
414
+ */
415
+ export enum WorkflowUpdateType {
416
+ /**
417
+ * @generated from enum value: WORKFLOW_UPDATE_TYPE_UNSPECIFIED = 0;
418
+ */
419
+ UNSPECIFIED = 0,
420
+
421
+ /**
422
+ * @generated from enum value: WORKFLOW_UPDATE_TYPE_CREATED = 1;
423
+ */
424
+ CREATED = 1,
425
+
426
+ /**
427
+ * @generated from enum value: WORKFLOW_UPDATE_TYPE_UPDATED = 2;
428
+ */
429
+ UPDATED = 2,
430
+
431
+ /**
432
+ * @generated from enum value: WORKFLOW_UPDATE_TYPE_COMPLETED = 3;
433
+ */
434
+ COMPLETED = 3,
435
+
436
+ /**
437
+ * @generated from enum value: WORKFLOW_UPDATE_TYPE_FAILED = 4;
438
+ */
439
+ FAILED = 4,
440
+
441
+ /**
442
+ * @generated from enum value: WORKFLOW_UPDATE_TYPE_STAGE_CHANGED = 5;
443
+ */
444
+ STAGE_CHANGED = 5,
445
+
446
+ /**
447
+ * @generated from enum value: WORKFLOW_UPDATE_TYPE_STATUS_CHANGED = 6;
448
+ */
449
+ STATUS_CHANGED = 6,
450
+ }
451
+
452
+ /**
453
+ * Describes the enum api.v1.WorkflowUpdateType.
454
+ */
455
+ export declare const WorkflowUpdateTypeSchema: GenEnum<WorkflowUpdateType>;
456
+
457
+ /**
458
+ * Service definition
459
+ *
460
+ * @generated from service api.v1.AIWorkflowRunService
461
+ */
462
+ export declare const AIWorkflowRunService: GenService<{
463
+ /**
464
+ * @generated from rpc api.v1.AIWorkflowRunService.AddAIWorkflowRun
465
+ */
466
+ addAIWorkflowRun: {
467
+ methodKind: "unary";
468
+ input: typeof AddAIWorkflowRunRequestSchema;
469
+ output: typeof AddAIWorkflowRunResponseSchema;
470
+ },
471
+ /**
472
+ * @generated from rpc api.v1.AIWorkflowRunService.EditAIWorkflowRun
473
+ */
474
+ editAIWorkflowRun: {
475
+ methodKind: "unary";
476
+ input: typeof EditAIWorkflowRunRequestSchema;
477
+ output: typeof EditAIWorkflowRunResponseSchema;
478
+ },
479
+ /**
480
+ * @generated from rpc api.v1.AIWorkflowRunService.GetAIWorkflowRun
481
+ */
482
+ getAIWorkflowRun: {
483
+ methodKind: "unary";
484
+ input: typeof GetAIWorkflowRunRequestSchema;
485
+ output: typeof GetAIWorkflowRunResponseSchema;
486
+ },
487
+ /**
488
+ * @generated from rpc api.v1.AIWorkflowRunService.GetAIWorkflowRuns
489
+ */
490
+ getAIWorkflowRuns: {
491
+ methodKind: "unary";
492
+ input: typeof GetAIWorkflowRunsRequestSchema;
493
+ output: typeof GetAIWorkflowRunsResponseSchema;
494
+ },
495
+ /**
496
+ * @generated from rpc api.v1.AIWorkflowRunService.DeleteAIWorkflowRun
497
+ */
498
+ deleteAIWorkflowRun: {
499
+ methodKind: "unary";
500
+ input: typeof DeleteAIWorkflowRunRequestSchema;
501
+ output: typeof EmptySchema;
502
+ },
503
+ /**
504
+ * New endpoints for AI workflow details screen
505
+ *
506
+ * @generated from rpc api.v1.AIWorkflowRunService.GetAIWorkflowRunsByTask
507
+ */
508
+ getAIWorkflowRunsByTask: {
509
+ methodKind: "unary";
510
+ input: typeof GetAIWorkflowRunsByTaskRequestSchema;
511
+ output: typeof GetAIWorkflowRunsByTaskResponseSchema;
512
+ },
513
+ /**
514
+ * Streaming endpoint for real-time workflow progress
515
+ *
516
+ * @generated from rpc api.v1.AIWorkflowRunService.StreamWorkflowProgress
517
+ */
518
+ streamWorkflowProgress: {
519
+ methodKind: "server_streaming";
520
+ input: typeof StreamWorkflowProgressRequestSchema;
521
+ output: typeof WorkflowProgressUpdateSchema;
522
+ },
523
+ /**
524
+ * New endpoints for active runs management
525
+ *
526
+ * @generated from rpc api.v1.AIWorkflowRunService.GetActiveWorkflowRuns
527
+ */
528
+ getActiveWorkflowRuns: {
529
+ methodKind: "unary";
530
+ input: typeof GetActiveWorkflowRunsRequestSchema;
531
+ output: typeof GetActiveWorkflowRunsResponseSchema;
532
+ },
533
+ /**
534
+ * @generated from rpc api.v1.AIWorkflowRunService.CancelWorkflowRun
535
+ */
536
+ cancelWorkflowRun: {
537
+ methodKind: "unary";
538
+ input: typeof CancelWorkflowRunRequestSchema;
539
+ output: typeof CancelWorkflowRunResponseSchema;
540
+ },
541
+ }>;
542
+