@alicloud/agentloop20260520 2.6.1 → 2.7.1

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 (157) hide show
  1. package/dist/client.d.ts +54 -12
  2. package/dist/client.js +165 -12
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateContextStoreRequest.d.ts +1 -1
  5. package/dist/models/CreateEvaluationTaskRequest.d.ts +1 -1
  6. package/dist/models/CreateEvaluatorRequest.d.ts +109 -12
  7. package/dist/models/CreateEvaluatorRequest.js +59 -1
  8. package/dist/models/CreateEvaluatorRequest.js.map +1 -1
  9. package/dist/models/CreateEvaluatorResponseBody.d.ts +2 -2
  10. package/dist/models/CreateEvaluatorSkillRequest.d.ts +15 -7
  11. package/dist/models/CreateEvaluatorSkillRequest.js +2 -0
  12. package/dist/models/CreateEvaluatorSkillRequest.js.map +1 -1
  13. package/dist/models/CreateExperimentPlanRequest.d.ts +1 -1
  14. package/dist/models/CreateMultiModalTaskRequest.d.ts +77 -0
  15. package/dist/models/CreateMultiModalTaskRequest.js +73 -0
  16. package/dist/models/CreateMultiModalTaskRequest.js.map +1 -0
  17. package/dist/models/CreateMultiModalTaskResponse.d.ts +19 -0
  18. package/dist/models/CreateMultiModalTaskResponse.js +69 -0
  19. package/dist/models/CreateMultiModalTaskResponse.js.map +1 -0
  20. package/dist/models/CreateMultiModalTaskResponseBody.d.ts +45 -0
  21. package/dist/models/CreateMultiModalTaskResponseBody.js +64 -0
  22. package/dist/models/CreateMultiModalTaskResponseBody.js.map +1 -0
  23. package/dist/models/CreateOptimizeTaskRequest.d.ts +1 -1
  24. package/dist/models/CreatePipelineRequest.d.ts +44 -36
  25. package/dist/models/CreatePipelineRequest.js +2 -0
  26. package/dist/models/CreatePipelineRequest.js.map +1 -1
  27. package/dist/models/CreatePipelineResponseBody.d.ts +1 -1
  28. package/dist/models/DataFilter.d.ts +1 -1
  29. package/dist/models/DeleteEvaluatorSkillRequest.d.ts +9 -1
  30. package/dist/models/DeleteEvaluatorSkillRequest.js +2 -0
  31. package/dist/models/DeleteEvaluatorSkillRequest.js.map +1 -1
  32. package/dist/models/Evaluator.d.ts +1 -1
  33. package/dist/models/GetContextStoreResponseBody.d.ts +1 -1
  34. package/dist/models/GetEvaluationTaskResponseBody.d.ts +1 -1
  35. package/dist/models/GetEvaluatorResponseBody.d.ts +109 -9
  36. package/dist/models/GetEvaluatorResponseBody.js +43 -1
  37. package/dist/models/GetEvaluatorResponseBody.js.map +1 -1
  38. package/dist/models/GetEvaluatorSkillRequest.d.ts +10 -2
  39. package/dist/models/GetEvaluatorSkillRequest.js +2 -0
  40. package/dist/models/GetEvaluatorSkillRequest.js.map +1 -1
  41. package/dist/models/GetEvaluatorSkillResponseBody.d.ts +8 -8
  42. package/dist/models/GetExperimentPlanResponseBody.d.ts +1 -1
  43. package/dist/models/GetOptimizeTaskResponseBody.d.ts +1 -1
  44. package/dist/models/GetPipelineResponseBody.d.ts +69 -37
  45. package/dist/models/GetPipelineResponseBody.js +8 -0
  46. package/dist/models/GetPipelineResponseBody.js.map +1 -1
  47. package/dist/models/GetPipelineRunResponseBody.d.ts +547 -7
  48. package/dist/models/GetPipelineRunResponseBody.js +244 -1
  49. package/dist/models/GetPipelineRunResponseBody.js.map +1 -1
  50. package/dist/models/ListEvaluatorSkillsRequest.d.ts +9 -1
  51. package/dist/models/ListEvaluatorSkillsRequest.js +2 -0
  52. package/dist/models/ListEvaluatorSkillsRequest.js.map +1 -1
  53. package/dist/models/ListEvaluatorSkillsResponseBody.d.ts +8 -8
  54. package/dist/models/ListEvaluatorsRequest.d.ts +1 -1
  55. package/dist/models/ListEvaluatorsResponseBody.d.ts +20 -4
  56. package/dist/models/ListEvaluatorsResponseBody.js +4 -0
  57. package/dist/models/ListEvaluatorsResponseBody.js.map +1 -1
  58. package/dist/models/ListExperimentPlansResponseBody.d.ts +1 -1
  59. package/dist/models/ListOptimizeTasksResponseBody.d.ts +1 -1
  60. package/dist/models/ListPipelineRunsRequest.d.ts +5 -5
  61. package/dist/models/ListPipelineRunsResponseBody.d.ts +26 -10
  62. package/dist/models/ListPipelineRunsResponseBody.js +4 -0
  63. package/dist/models/ListPipelineRunsResponseBody.js.map +1 -1
  64. package/dist/models/ListPipelinesRequest.d.ts +25 -5
  65. package/dist/models/ListPipelinesRequest.js +2 -0
  66. package/dist/models/ListPipelinesRequest.js.map +1 -1
  67. package/dist/models/ListPipelinesResponseBody.d.ts +156 -40
  68. package/dist/models/ListPipelinesResponseBody.js +68 -1
  69. package/dist/models/ListPipelinesResponseBody.js.map +1 -1
  70. package/dist/models/ListTagResourcesRequest.d.ts +3 -3
  71. package/dist/models/ListTagResourcesResponseBody.d.ts +2 -2
  72. package/dist/models/ListTagResourcesShrinkRequest.d.ts +2 -2
  73. package/dist/models/ModelParameters.d.ts +2 -2
  74. package/dist/models/PreviewPipelineRequest.d.ts +2 -2
  75. package/dist/models/PreviewPipelineResponseBody.d.ts +1 -1
  76. package/dist/models/SearchContextResponseBody.d.ts +1 -1
  77. package/dist/models/TagResourcesRequest.d.ts +6 -6
  78. package/dist/models/UntagResourcesRequest.d.ts +3 -3
  79. package/dist/models/UntagResourcesShrinkRequest.d.ts +3 -3
  80. package/dist/models/UpdateContextStoreRequest.d.ts +1 -1
  81. package/dist/models/UpdateEvaluationTaskRequest.d.ts +1 -1
  82. package/dist/models/UpdateEvaluatorRequest.d.ts +112 -4
  83. package/dist/models/UpdateEvaluatorRequest.js +61 -1
  84. package/dist/models/UpdateEvaluatorRequest.js.map +1 -1
  85. package/dist/models/UpdateEvaluatorSkillRequest.d.ts +12 -4
  86. package/dist/models/UpdateEvaluatorSkillRequest.js +2 -0
  87. package/dist/models/UpdateEvaluatorSkillRequest.js.map +1 -1
  88. package/dist/models/UpdateEvaluatorVersionStatusRequest.d.ts +51 -0
  89. package/dist/models/UpdateEvaluatorVersionStatusRequest.js +64 -0
  90. package/dist/models/UpdateEvaluatorVersionStatusRequest.js.map +1 -0
  91. package/dist/models/UpdateEvaluatorVersionStatusResponse.d.ts +19 -0
  92. package/dist/models/UpdateEvaluatorVersionStatusResponse.js +69 -0
  93. package/dist/models/UpdateEvaluatorVersionStatusResponse.js.map +1 -0
  94. package/dist/models/UpdateEvaluatorVersionStatusResponseBody.d.ts +21 -0
  95. package/dist/models/UpdateEvaluatorVersionStatusResponseBody.js +58 -0
  96. package/dist/models/UpdateEvaluatorVersionStatusResponseBody.js.map +1 -0
  97. package/dist/models/UpdateOptimizeTaskRequest.d.ts +1 -1
  98. package/dist/models/UpdatePipelineRequest.d.ts +3 -3
  99. package/dist/models/model.d.ts +19 -0
  100. package/dist/models/model.js +75 -37
  101. package/dist/models/model.js.map +1 -1
  102. package/package.json +1 -1
  103. package/src/client.ts +192 -12
  104. package/src/models/CreateContextStoreRequest.ts +1 -1
  105. package/src/models/CreateEvaluationTaskRequest.ts +1 -1
  106. package/src/models/CreateEvaluatorRequest.ts +149 -12
  107. package/src/models/CreateEvaluatorResponseBody.ts +2 -2
  108. package/src/models/CreateEvaluatorSkillRequest.ts +17 -7
  109. package/src/models/CreateExperimentPlanRequest.ts +1 -1
  110. package/src/models/CreateMultiModalTaskRequest.ts +103 -0
  111. package/src/models/CreateMultiModalTaskResponse.ts +40 -0
  112. package/src/models/CreateMultiModalTaskResponseBody.ts +64 -0
  113. package/src/models/CreateOptimizeTaskRequest.ts +1 -1
  114. package/src/models/CreatePipelineRequest.ts +46 -36
  115. package/src/models/CreatePipelineResponseBody.ts +1 -1
  116. package/src/models/DataFilter.ts +1 -1
  117. package/src/models/DeleteEvaluatorSkillRequest.ts +11 -1
  118. package/src/models/Evaluator.ts +1 -1
  119. package/src/models/GetContextStoreResponseBody.ts +1 -1
  120. package/src/models/GetEvaluationTaskResponseBody.ts +1 -1
  121. package/src/models/GetEvaluatorResponseBody.ts +142 -9
  122. package/src/models/GetEvaluatorSkillRequest.ts +12 -2
  123. package/src/models/GetEvaluatorSkillResponseBody.ts +8 -8
  124. package/src/models/GetExperimentPlanResponseBody.ts +1 -1
  125. package/src/models/GetOptimizeTaskResponseBody.ts +1 -1
  126. package/src/models/GetPipelineResponseBody.ts +77 -37
  127. package/src/models/GetPipelineRunResponseBody.ts +734 -7
  128. package/src/models/ListEvaluatorSkillsRequest.ts +11 -1
  129. package/src/models/ListEvaluatorSkillsResponseBody.ts +8 -8
  130. package/src/models/ListEvaluatorsRequest.ts +1 -1
  131. package/src/models/ListEvaluatorsResponseBody.ts +24 -4
  132. package/src/models/ListExperimentPlansResponseBody.ts +1 -1
  133. package/src/models/ListOptimizeTasksResponseBody.ts +1 -1
  134. package/src/models/ListPipelineRunsRequest.ts +5 -5
  135. package/src/models/ListPipelineRunsResponseBody.ts +30 -10
  136. package/src/models/ListPipelinesRequest.ts +27 -5
  137. package/src/models/ListPipelinesResponseBody.ts +203 -40
  138. package/src/models/ListTagResourcesRequest.ts +3 -3
  139. package/src/models/ListTagResourcesResponseBody.ts +2 -2
  140. package/src/models/ListTagResourcesShrinkRequest.ts +2 -2
  141. package/src/models/ModelParameters.ts +2 -2
  142. package/src/models/PreviewPipelineRequest.ts +2 -2
  143. package/src/models/PreviewPipelineResponseBody.ts +1 -1
  144. package/src/models/SearchContextResponseBody.ts +1 -1
  145. package/src/models/TagResourcesRequest.ts +6 -6
  146. package/src/models/UntagResourcesRequest.ts +3 -3
  147. package/src/models/UntagResourcesShrinkRequest.ts +3 -3
  148. package/src/models/UpdateContextStoreRequest.ts +1 -1
  149. package/src/models/UpdateEvaluationTaskRequest.ts +1 -1
  150. package/src/models/UpdateEvaluatorRequest.ts +154 -4
  151. package/src/models/UpdateEvaluatorSkillRequest.ts +14 -4
  152. package/src/models/UpdateEvaluatorVersionStatusRequest.ts +70 -0
  153. package/src/models/UpdateEvaluatorVersionStatusResponse.ts +40 -0
  154. package/src/models/UpdateEvaluatorVersionStatusResponseBody.ts +34 -0
  155. package/src/models/UpdateOptimizeTaskRequest.ts +1 -1
  156. package/src/models/UpdatePipelineRequest.ts +3 -3
  157. package/src/models/model.ts +19 -0
@@ -25,7 +25,7 @@ export class CreateEvaluatorSkillRequestFiles extends $dara.Model {
25
25
  name?: string;
26
26
  /**
27
27
  * @remarks
28
- * The remark for the file.
28
+ * The remark of the file.
29
29
  *
30
30
  * @example
31
31
  * Main skill description
@@ -59,7 +59,7 @@ export class CreateEvaluatorSkillRequestFiles extends $dara.Model {
59
59
  export class CreateEvaluatorSkillRequest extends $dara.Model {
60
60
  /**
61
61
  * @remarks
62
- * The AgentSpace name.
62
+ * The name of the AgentSpace.
63
63
  *
64
64
  * This parameter is required.
65
65
  *
@@ -69,10 +69,10 @@ export class CreateEvaluatorSkillRequest extends $dara.Model {
69
69
  agentSpace?: string;
70
70
  /**
71
71
  * @remarks
72
- * The skill description.
72
+ * The description of the skill.
73
73
  *
74
74
  * @example
75
- * Reads trace context to assist evaluation
75
+ * Read trace context to assist evaluation
76
76
  */
77
77
  description?: string;
78
78
  /**
@@ -80,7 +80,7 @@ export class CreateEvaluatorSkillRequest extends $dara.Model {
80
80
  * The display name of the skill.
81
81
  *
82
82
  * @example
83
- * Trace Context Loader
83
+ * Read Trace Context
84
84
  */
85
85
  displayName?: string;
86
86
  /**
@@ -91,6 +91,14 @@ export class CreateEvaluatorSkillRequest extends $dara.Model {
91
91
  * true
92
92
  */
93
93
  enable?: boolean;
94
+ /**
95
+ * @remarks
96
+ * The target evaluator version number for creating the skill. If omitted, the latestVersion of the evaluator is used.
97
+ *
98
+ * @example
99
+ * v2
100
+ */
101
+ evaluatorVersion?: string;
94
102
  /**
95
103
  * @remarks
96
104
  * The list of skill files.
@@ -103,7 +111,7 @@ export class CreateEvaluatorSkillRequest extends $dara.Model {
103
111
  files?: CreateEvaluatorSkillRequestFiles[];
104
112
  /**
105
113
  * @remarks
106
- * The skill name.
114
+ * The name of the skill.
107
115
  *
108
116
  * This parameter is required.
109
117
  *
@@ -113,7 +121,7 @@ export class CreateEvaluatorSkillRequest extends $dara.Model {
113
121
  skillName?: string;
114
122
  /**
115
123
  * @remarks
116
- * The idempotency token. CloudSpec declares this query parameter, but the backend does not currently perform idempotency comparison.
124
+ * The idempotency token. CloudSpec declares this query parameter, but the backend does not currently perform idempotency checks.
117
125
  *
118
126
  * @example
119
127
  * a1b2c3d4-1234-5678-90ab-cdef12345678
@@ -125,6 +133,7 @@ export class CreateEvaluatorSkillRequest extends $dara.Model {
125
133
  description: 'description',
126
134
  displayName: 'displayName',
127
135
  enable: 'enable',
136
+ evaluatorVersion: 'evaluatorVersion',
128
137
  files: 'files',
129
138
  skillName: 'skillName',
130
139
  clientToken: 'clientToken',
@@ -137,6 +146,7 @@ export class CreateEvaluatorSkillRequest extends $dara.Model {
137
146
  description: 'string',
138
147
  displayName: 'string',
139
148
  enable: 'boolean',
149
+ evaluatorVersion: 'string',
140
150
  files: { 'type': 'array', 'itemType': CreateEvaluatorSkillRequestFiles },
141
151
  skillName: 'string',
142
152
  clientToken: 'string',
@@ -80,7 +80,7 @@ export class CreateExperimentPlanRequest extends $dara.Model {
80
80
  * The custom query SQL clause in partial dataset mode. This parameter can be used when `selectedItemIds` is empty.
81
81
  *
82
82
  * @example
83
- * status=\\"OK\\"
83
+ * status=\"OK\"
84
84
  */
85
85
  querySql?: string;
86
86
  /**
@@ -0,0 +1,103 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class CreateMultiModalTaskRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The AgentSpace name. It must be 3 to 63 characters in length and can contain only lowercase letters, digits, and hyphens. It must start and end with a letter or a digit.
9
+ *
10
+ * This parameter is required.
11
+ *
12
+ * @example
13
+ * example-space
14
+ */
15
+ agentSpace?: string;
16
+ /**
17
+ * @remarks
18
+ * The input parameters for the evaluator. The keys are defined by the evaluator specified by evaluatorRef. Example for national subsidy image inspection: {"imageUrl":"https://example.com/label.jpg"}.
19
+ *
20
+ * This parameter is required.
21
+ *
22
+ * @example
23
+ * {"imageUrl":"https://example-bucket.oss-cn-hangzhou.aliyuncs.com/label.jpg"}
24
+ */
25
+ args?: { [key: string]: any };
26
+ /**
27
+ * @remarks
28
+ * The ARN of the role used to access OSS or SLS, such as acs:ram::<accountId>:role/<roleName>. It is used to derive the signature region.
29
+ *
30
+ * @example
31
+ * acs:ram::1234567890123456:role/media-reader
32
+ */
33
+ arn?: string;
34
+ /**
35
+ * @remarks
36
+ * The name of the evaluator registered as a public API. If the evaluator is not registered, not exposed as a public API, or the current version is invalid, a 400 error is returned.
37
+ *
38
+ * This parameter is required.
39
+ *
40
+ * @example
41
+ * Builtin.subsidy_api
42
+ */
43
+ evaluatorRef?: string;
44
+ /**
45
+ * @remarks
46
+ * The signature region when the media is stored in OSS or SLS, such as cn-hangzhou. This parameter is used only when the region cannot be determined from the URL itself.
47
+ *
48
+ * @example
49
+ * cn-hangzhou
50
+ */
51
+ ossRegion?: string;
52
+ /**
53
+ * @remarks
54
+ * The evaluation prompt. If omitted, it is processed as an empty string. The maximum length is 2,000 characters, counted by Unicode code points.
55
+ *
56
+ * @example
57
+ * Verify whether the image is complete
58
+ */
59
+ prompt?: string;
60
+ /**
61
+ * @remarks
62
+ * The task name, used to group multiple calls of the same business line in the console. If omitted or empty, agentloop-media-process is used. The maximum length is 128 characters. Control characters are not allowed.
63
+ *
64
+ * @example
65
+ * agentloop-media-process
66
+ */
67
+ taskName?: string;
68
+ static names(): { [key: string]: string } {
69
+ return {
70
+ agentSpace: 'agentSpace',
71
+ args: 'args',
72
+ arn: 'arn',
73
+ evaluatorRef: 'evaluatorRef',
74
+ ossRegion: 'ossRegion',
75
+ prompt: 'prompt',
76
+ taskName: 'taskName',
77
+ };
78
+ }
79
+
80
+ static types(): { [key: string]: any } {
81
+ return {
82
+ agentSpace: 'string',
83
+ args: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
84
+ arn: 'string',
85
+ evaluatorRef: 'string',
86
+ ossRegion: 'string',
87
+ prompt: 'string',
88
+ taskName: 'string',
89
+ };
90
+ }
91
+
92
+ validate() {
93
+ if(this.args) {
94
+ $dara.Model.validateMap(this.args);
95
+ }
96
+ super.validate();
97
+ }
98
+
99
+ constructor(map?: { [key: string]: any }) {
100
+ super(map);
101
+ }
102
+ }
103
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { CreateMultiModalTaskResponseBody } from "./CreateMultiModalTaskResponseBody";
4
+
5
+
6
+ export class CreateMultiModalTaskResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: CreateMultiModalTaskResponseBody;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ headers: 'headers',
13
+ statusCode: 'statusCode',
14
+ body: 'body',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
+ statusCode: 'number',
22
+ body: CreateMultiModalTaskResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+
@@ -0,0 +1,64 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class CreateMultiModalTaskResponseBody extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The evaluation message. It is the description returned by the backend upon success, or the customer-visible error message upon failure.
9
+ *
10
+ * @example
11
+ * The image is complete and the inspection is passed
12
+ */
13
+ msg?: string;
14
+ /**
15
+ * @remarks
16
+ * The score, ranging from 0 to 1. It is null when the evaluation fails. If the backend returns a percentage score greater than 1, it is converted to score/100 and rounded to a maximum of 4 decimal places.
17
+ *
18
+ * @example
19
+ * 1
20
+ */
21
+ score?: number;
22
+ /**
23
+ * @remarks
24
+ * The task ID, in the format of eval-task-<32hex>. It can be used for tracing in the console or query API. It is null if the failure occurs before the task is created.
25
+ *
26
+ * @example
27
+ * eval-task-0123456789abcdef0123456789abcdef
28
+ */
29
+ taskId?: string;
30
+ /**
31
+ * @remarks
32
+ * The task name used for this call. It is also returned upon failure if the request body has been parsed.
33
+ *
34
+ * @example
35
+ * agentloop-media-process
36
+ */
37
+ taskName?: string;
38
+ static names(): { [key: string]: string } {
39
+ return {
40
+ msg: 'msg',
41
+ score: 'score',
42
+ taskId: 'taskId',
43
+ taskName: 'taskName',
44
+ };
45
+ }
46
+
47
+ static types(): { [key: string]: any } {
48
+ return {
49
+ msg: 'string',
50
+ score: 'number',
51
+ taskId: 'string',
52
+ taskName: 'string',
53
+ };
54
+ }
55
+
56
+ validate() {
57
+ super.validate();
58
+ }
59
+
60
+ constructor(map?: { [key: string]: any }) {
61
+ super(map);
62
+ }
63
+ }
64
+
@@ -8,7 +8,7 @@ export class CreateOptimizeTaskRequest extends $dara.Model {
8
8
  * The type-specific configurations. Optional prompts for ExperienceMining and SkillOptimize only support inline Markdown. The main text is saved to inputs.prompt.content (non-empty UTF-8, up to 16 KiB).
9
9
  *
10
10
  * @example
11
- * {"ioVersion":2,"inputs":{"experienceLibrary":{"type":"dataset","dataset":"experiences"},"trajectory":{"type":"sls","project":"my-project","logstore":"agent-trajectory","format":"atif"},"prompt":{"type":"inline","format":"markdown","content":"# Guidance\\\\nExtract evidence-backed tool contracts."}},"outputs":{"changePlan":{"type":"dataset","dataset":"experience-plans"}},"operators":["tool_contract"],"application":{"mode":"manual"}}
11
+ * {"ioVersion":2,"inputs":{"experienceLibrary":{"type":"dataset","dataset":"experiences"},"trajectory":{"type":"sls","project":"my-project","logstore":"agent-trajectory","format":"atif"},"prompt":{"type":"inline","format":"markdown","content":"# Guidance\\nExtract evidence-backed tool contracts."}},"outputs":{"changePlan":{"type":"dataset","dataset":"experience-plans"}},"operators":["tool_contract"],"application":{"mode":"manual"}}
12
12
  */
13
13
  config?: { [key: string]: any };
14
14
  /**
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class CreatePipelineRequestExecutePolicyContinuous extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The bootstrap historical start point as a UNIX timestamp in seconds. It shares the same precision as runOnce or scheduled fromTime. Millisecond values greater than or equal to 1e12 are automatically converted. The cursor starts from this time aligned to the grid and catches up window by window. After catching up, it switches to minute intervals. By default, it starts from the current time and processes only incremental data.
8
+ * The historical starting point for bootstrap, specified as a Unix timestamp in seconds. It shares the same precision as runOnce/scheduled.fromTime, and millisecond values greater than or equal to 1e12 are automatically converted for compatibility. The cursor starts from this time, aligns to the time grid, and catches up window by window. After catching up, it switches to minute intervals. By default, it starts from the current time and processes only incremental data.
9
9
  *
10
10
  * @example
11
11
  * 1735660800
@@ -35,7 +35,7 @@ export class CreatePipelineRequestExecutePolicyContinuous extends $dara.Model {
35
35
  export class CreatePipelineRequestExecutePolicyRunOnce extends $dara.Model {
36
36
  /**
37
37
  * @remarks
38
- * The start time of the data processing window as a UNIX timestamp in seconds. The value must be less than the toTime value.
38
+ * The start time of the data processing window. The value is a UNIX timestamp in seconds and must be less than the value of toTime.
39
39
  *
40
40
  * @example
41
41
  * 1735660800
@@ -43,7 +43,7 @@ export class CreatePipelineRequestExecutePolicyRunOnce extends $dara.Model {
43
43
  fromTime?: number;
44
44
  /**
45
45
  * @remarks
46
- * The end time of the data processing window as a UNIX timestamp in seconds. The value must be greater than the fromTime value.
46
+ * The end time of the data processing window. The value is a UNIX timestamp in seconds and must be greater than the value of fromTime.
47
47
  *
48
48
  * @example
49
49
  * 1735747200
@@ -75,7 +75,7 @@ export class CreatePipelineRequestExecutePolicyRunOnce extends $dara.Model {
75
75
  export class CreatePipelineRequestExecutePolicyScheduled extends $dara.Model {
76
76
  /**
77
77
  * @remarks
78
- * The scheduling start time as a UNIX timestamp in milliseconds.
78
+ * The scheduling start time. The value is a UNIX timestamp in milliseconds.
79
79
  *
80
80
  * @example
81
81
  * 1735660800000
@@ -115,7 +115,7 @@ export class CreatePipelineRequestExecutePolicyScheduled extends $dara.Model {
115
115
  export class CreatePipelineRequestExecutePolicy extends $dara.Model {
116
116
  /**
117
117
  * @remarks
118
- * The continuous execution configuration. This is used when the type is trace. The processing frequency is a fixed value managed by the server.
118
+ * The continuous execution configuration. This parameter is used when type is set to trace. The processing frequency is a fixed value managed by the server.
119
119
  *
120
120
  * @example
121
121
  * {"fromTime":1735660800}
@@ -131,7 +131,7 @@ export class CreatePipelineRequestExecutePolicy extends $dara.Model {
131
131
  mode?: string;
132
132
  /**
133
133
  * @remarks
134
- * The single execution configuration. This parameter is required only when the mode is RunOnce.
134
+ * The single execution configuration. This parameter is required only when mode is set to RunOnce.
135
135
  *
136
136
  * @example
137
137
  * {"fromTime":1735660800,"toTime":1735664400}
@@ -139,7 +139,7 @@ export class CreatePipelineRequestExecutePolicy extends $dara.Model {
139
139
  runOnce?: CreatePipelineRequestExecutePolicyRunOnce;
140
140
  /**
141
141
  * @remarks
142
- * The periodic scheduling configuration. This parameter is required only when the mode is Scheduled.
142
+ * The periodic scheduling configuration. This parameter is required only when mode is set to Scheduled.
143
143
  *
144
144
  * @example
145
145
  * {"interval":"1h","fromTime":1735660800}
@@ -192,7 +192,7 @@ export class CreatePipelineRequestPipelineNodes extends $dara.Model {
192
192
  id?: string;
193
193
  /**
194
194
  * @remarks
195
- * The parameters of the node. This is a key-value structure that varies based on the node type.
195
+ * The parameters of the node. The parameters are in key-value pairs and vary based on the node type.
196
196
  *
197
197
  * @example
198
198
  * {"ID": "ID"}
@@ -315,7 +315,7 @@ export class CreatePipelineRequestSinkConditionDefaultSink extends $dara.Model {
315
315
  dataset?: CreatePipelineRequestSinkConditionDefaultSinkDataset;
316
316
  /**
317
317
  * @remarks
318
- * The default destination type. Currently, only dataset is supported.
318
+ * The default destination type. Valid values: dataset.
319
319
  *
320
320
  * @example
321
321
  * dataset
@@ -390,12 +390,12 @@ export class CreatePipelineRequestSinkConditionRoutesSinkDataset extends $dara.M
390
390
  export class CreatePipelineRequestSinkConditionRoutesSink extends $dara.Model {
391
391
  /**
392
392
  * @remarks
393
- * The destination dataset for the route.
393
+ * The route destination dataset.
394
394
  */
395
395
  dataset?: CreatePipelineRequestSinkConditionRoutesSinkDataset;
396
396
  /**
397
397
  * @remarks
398
- * The route destination type. Currently, only dataset is supported.
398
+ * The route destination type. Valid values: dataset.
399
399
  *
400
400
  * @example
401
401
  * dataset
@@ -433,7 +433,7 @@ export class CreatePipelineRequestSinkConditionRoutes extends $dara.Model {
433
433
  * The route expression in Search Processing Language (SPL). Only where, project, and extend are supported.
434
434
  *
435
435
  * @example
436
- * * | where intent = \\"refund\\"
436
+ * * | where intent = \"refund\"
437
437
  */
438
438
  expression?: string;
439
439
  /**
@@ -446,7 +446,7 @@ export class CreatePipelineRequestSinkConditionRoutes extends $dara.Model {
446
446
  id?: string;
447
447
  /**
448
448
  * @remarks
449
- * The sink for the route.
449
+ * The destination for the route.
450
450
  */
451
451
  sink?: CreatePipelineRequestSinkConditionRoutesSink;
452
452
  static names(): { [key: string]: string } {
@@ -480,12 +480,12 @@ export class CreatePipelineRequestSinkConditionRoutes extends $dara.Model {
480
480
  export class CreatePipelineRequestSinkCondition extends $dara.Model {
481
481
  /**
482
482
  * @remarks
483
- * The default sink used when no conditional route is matched.
483
+ * The default destination used when no conditional route is matched.
484
484
  */
485
485
  defaultSink?: CreatePipelineRequestSinkConditionDefaultSink;
486
486
  /**
487
487
  * @remarks
488
- * The route matching mode. Currently, only all is supported.
488
+ * The route matching mode. Valid values: all.
489
489
  *
490
490
  * @example
491
491
  * all
@@ -570,7 +570,7 @@ export class CreatePipelineRequestSinkDataset extends $dara.Model {
570
570
  export class CreatePipelineRequestSink extends $dara.Model {
571
571
  /**
572
572
  * @remarks
573
- * The conditional routing configuration, which is used only when sink.type is set to condition.
573
+ * The conditional routing configuration. This parameter is used only when sink.type is set to condition.
574
574
  */
575
575
  condition?: CreatePipelineRequestSinkCondition;
576
576
  /**
@@ -580,7 +580,7 @@ export class CreatePipelineRequestSink extends $dara.Model {
580
580
  dataset?: CreatePipelineRequestSinkDataset;
581
581
  /**
582
582
  * @remarks
583
- * The destination type. Currently, dataset is supported.
583
+ * The destination type. Valid values: dataset.
584
584
  *
585
585
  * @example
586
586
  * Dataset
@@ -628,10 +628,10 @@ export class CreatePipelineRequestSourceDataset extends $dara.Model {
628
628
  dataset?: string;
629
629
  /**
630
630
  * @remarks
631
- * The data filter condition for the dataset.
631
+ * The filter condition for the dataset data.
632
632
  *
633
633
  * @example
634
- * status = \\"pending\\"
634
+ * status = \"pending\"
635
635
  */
636
636
  filter?: string;
637
637
  static names(): { [key: string]: string } {
@@ -668,7 +668,7 @@ export class CreatePipelineRequestSourceInputFields extends $dara.Model {
668
668
  name?: string;
669
669
  /**
670
670
  * @remarks
671
- * The type of the field. Valid values: text, long, double, and json.
671
+ * The data type of the field. Valid values: text, long, double, and json.
672
672
  *
673
673
  * @example
674
674
  * text
@@ -716,7 +716,7 @@ export class CreatePipelineRequestSourceLogstore extends $dara.Model {
716
716
  project?: string;
717
717
  /**
718
718
  * @remarks
719
- * The filtered query statement for data in SLS query and analysis syntax.
719
+ * The filtered query statement (SLS query and analysis syntax).
720
720
  *
721
721
  * @example
722
722
  * * | SELECT *
@@ -750,7 +750,7 @@ export class CreatePipelineRequestSourceLogstore extends $dara.Model {
750
750
  export class CreatePipelineRequestSourceTrajectoryEnrich extends $dara.Model {
751
751
  /**
752
752
  * @remarks
753
- * The list of enrichment columns. This parameter is retained for compatibility. The current implementation outputs only the fixed column agent_trajectory, so this parameter no longer affects the output.
753
+ * The list of enrichment columns. This parameter is retained for compatibility. The current implementation outputs a single fixed column named agent_trajectory, and this parameter no longer affects the output.
754
754
  *
755
755
  * @example
756
756
  * ["input","output","session_id"]
@@ -793,7 +793,7 @@ export class CreatePipelineRequestSourceTrajectoryEnrich extends $dara.Model {
793
793
  export class CreatePipelineRequestSourceTrajectory extends $dara.Model {
794
794
  /**
795
795
  * @remarks
796
- * The trajectory enrichment configuration. It mounts trajectory data into the scrubbing result based on trace_id. When writing to the dataset, the data is stored in the fixed column agent_trajectory, where the column value is the trajectory JSON content.
796
+ * The trajectory enrichment configuration. It mounts trajectory data into the cleansing result based on the trace_id. When writing to the dataset, the data is stored in the fixed column agent_trajectory, where the column value is the JSON content of the trajectory.
797
797
  *
798
798
  * @example
799
799
  * {"enabled":true,"columns":["input","output"]}
@@ -826,15 +826,15 @@ export class CreatePipelineRequestSourceTrajectory extends $dara.Model {
826
826
  export class CreatePipelineRequestSource extends $dara.Model {
827
827
  /**
828
828
  * @remarks
829
- * The Dataset datasource config under the current AgentSpace.
829
+ * The Dataset datasource config in the current AgentSpace.
830
830
  *
831
831
  * @example
832
- * {"dataset":"my-dataset","filter":"status = \\"pending\\""}
832
+ * {"dataset":"my-dataset","filter":"status = \"pending\""}
833
833
  */
834
834
  dataset?: CreatePipelineRequestSourceDataset;
835
835
  /**
836
836
  * @remarks
837
- * The input fields and their types. This applies to all data source types.
837
+ * The input fields and their data types. This applies to all data source types.
838
838
  *
839
839
  * @example
840
840
  * [{"name":"question","type":"text"}]
@@ -842,7 +842,7 @@ export class CreatePipelineRequestSource extends $dara.Model {
842
842
  inputFields?: CreatePipelineRequestSourceInputFields[];
843
843
  /**
844
844
  * @remarks
845
- * The Simple Log Service (SLS) Logstore datasource config.
845
+ * The SLS Logstore datasource config.
846
846
  *
847
847
  * @example
848
848
  * {"project":"my-sls-project","logstore":"agent-logs"}
@@ -850,7 +850,7 @@ export class CreatePipelineRequestSource extends $dara.Model {
850
850
  logstore?: CreatePipelineRequestSourceLogstore;
851
851
  /**
852
852
  * @remarks
853
- * The trajectory data configuration. This is optional and takes effect only when the type is trace. It retrieves ATIF standard trajectory data from the trajectory scrubbing service and extends it by feature.
853
+ * The configuration of the trajectory data. This parameter is optional and takes effect only when the type is set to trace. It obtains ATIF standard trajectory data from the trajectory cleansing service and extends it based on features.
854
854
  *
855
855
  * @example
856
856
  * {"enrich":{"enabled":true,"columns":["input","output"]}}
@@ -858,7 +858,7 @@ export class CreatePipelineRequestSource extends $dara.Model {
858
858
  trajectory?: CreatePipelineRequestSourceTrajectory;
859
859
  /**
860
860
  * @remarks
861
- * The data source type. Currently, SLS is supported.
861
+ * The type of the data source. Currently, only SLS is supported.
862
862
  *
863
863
  * @example
864
864
  * SLS
@@ -908,15 +908,15 @@ export class CreatePipelineRequestSource extends $dara.Model {
908
908
  export class CreatePipelineRequest extends $dara.Model {
909
909
  /**
910
910
  * @remarks
911
- * The description of the pipeline. Maximum length: 256 characters.
911
+ * The description of the pipeline. The description can be up to 256 characters in length.
912
912
  *
913
913
  * @example
914
- * Collect trace data from SLS and perform data cleaning into a Dataset
914
+ * Collect trace data from SLS and perform data cleaning into a dataset
915
915
  */
916
916
  description?: string;
917
917
  /**
918
918
  * @remarks
919
- * The scheduling method.
919
+ * The scheduling policy.
920
920
  *
921
921
  * @example
922
922
  * {"mode":"RunOnce","runOnce":{"fromTime":1735660800,"toTime":1735664400}}
@@ -924,12 +924,20 @@ export class CreatePipelineRequest extends $dara.Model {
924
924
  executePolicy?: CreatePipelineRequestExecutePolicy;
925
925
  /**
926
926
  * @remarks
927
- * The pipeline configuration for node orchestration.
927
+ * The pipeline configuration, including node orchestration.
928
928
  *
929
929
  * @example
930
930
  * {"nodes":[{"id":"select-fields","type":"project","parameters":{"question":"user_query"}}]}
931
931
  */
932
932
  pipeline?: CreatePipelineRequestPipeline;
933
+ /**
934
+ * @remarks
935
+ * The pipeline type. Valid values: PROCESSING (data processing) and ORCHESTRATION (orchestration task).
936
+ *
937
+ * @example
938
+ * ORCHESTRATION
939
+ */
940
+ pipelineKind?: string;
933
941
  /**
934
942
  * @remarks
935
943
  * The name of the pipeline. The name must be 3 to 63 characters in length and can contain only lowercase letters, digits, and hyphens.
@@ -940,12 +948,12 @@ export class CreatePipelineRequest extends $dara.Model {
940
948
  pipelineName?: string;
941
949
  /**
942
950
  * @remarks
943
- * The pipeline sink, which is the data write destination.
951
+ * The pipeline destination for writing data.
944
952
  */
945
953
  sink?: CreatePipelineRequestSink;
946
954
  /**
947
955
  * @remarks
948
- * The pipeline data source.
956
+ * The data source of the pipeline.
949
957
  *
950
958
  * @example
951
959
  * {"type":"logstore","logstore":{"project":"my-sls-project","logstore":"agent-logs"},"inputFields":[{"name":"question","type":"text"}]}
@@ -953,7 +961,7 @@ export class CreatePipelineRequest extends $dara.Model {
953
961
  source?: CreatePipelineRequestSource;
954
962
  /**
955
963
  * @remarks
956
- * The idempotency token. It is a unique string generated by the client to ensure the idempotence of the create operation.
964
+ * The client token that is used to ensure the idempotency of the request. The token is a unique string generated by the client.
957
965
  *
958
966
  * @example
959
967
  * a1b2c3d4-1234-5678-90ab-cdef12345678
@@ -964,6 +972,7 @@ export class CreatePipelineRequest extends $dara.Model {
964
972
  description: 'description',
965
973
  executePolicy: 'executePolicy',
966
974
  pipeline: 'pipeline',
975
+ pipelineKind: 'pipelineKind',
967
976
  pipelineName: 'pipelineName',
968
977
  sink: 'sink',
969
978
  source: 'source',
@@ -976,6 +985,7 @@ export class CreatePipelineRequest extends $dara.Model {
976
985
  description: 'string',
977
986
  executePolicy: CreatePipelineRequestExecutePolicy,
978
987
  pipeline: CreatePipelineRequestPipeline,
988
+ pipelineKind: 'string',
979
989
  pipelineName: 'string',
980
990
  sink: CreatePipelineRequestSink,
981
991
  source: CreatePipelineRequestSource,
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class CreatePipelineResponseBody extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The request ID used to locate the request for troubleshooting.
8
+ * The request ID. You can use the ID to troubleshoot issues and locate the request.
9
9
  *
10
10
  * @example
11
11
  * 9ACFB10A-1B2C-3D4E-5F6G-7H8I9J0K1L2M
@@ -24,7 +24,7 @@ export class DataFilter extends $dara.Model {
24
24
  * The data query filter conditions that take effect together with the evaluator-level filters.query. For trace scenarios, you can specify filter expressions such as service name, environment, and tags.
25
25
  *
26
26
  * @example
27
- * serviceName=\\"checkout-service\\"
27
+ * serviceName=\"checkout-service\"
28
28
  */
29
29
  query?: string;
30
30
  /**