@alicloud/agentloop20260520 2.4.2 → 2.4.3

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 (37) hide show
  1. package/dist/client.d.ts +2 -2
  2. package/dist/client.js +8 -2
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateContextStoreRequest.d.ts +69 -48
  5. package/dist/models/CreateContextStoreRequest.js.map +1 -1
  6. package/dist/models/CreateContextStoreResponseBody.d.ts +1 -1
  7. package/dist/models/GetContextStoreResponseBody.d.ts +132 -55
  8. package/dist/models/GetContextStoreResponseBody.js +31 -1
  9. package/dist/models/GetContextStoreResponseBody.js.map +1 -1
  10. package/dist/models/ListContextStoresRequest.d.ts +1 -1
  11. package/dist/models/ListContextStoresResponseBody.d.ts +10 -6
  12. package/dist/models/ListContextStoresResponseBody.js.map +1 -1
  13. package/dist/models/SearchContextRequest.d.ts +8 -8
  14. package/dist/models/SearchContextResponseBody.d.ts +54 -3
  15. package/dist/models/SearchContextResponseBody.js +23 -0
  16. package/dist/models/SearchContextResponseBody.js.map +1 -1
  17. package/dist/models/UpdateContextStoreRequest.d.ts +88 -33
  18. package/dist/models/UpdateContextStoreRequest.js +6 -0
  19. package/dist/models/UpdateContextStoreRequest.js.map +1 -1
  20. package/dist/models/UpdateContextStoreResponseBody.d.ts +32 -2
  21. package/dist/models/UpdateContextStoreResponseBody.js +27 -1
  22. package/dist/models/UpdateContextStoreResponseBody.js.map +1 -1
  23. package/dist/models/model.d.ts +2 -0
  24. package/dist/models/model.js +38 -34
  25. package/dist/models/model.js.map +1 -1
  26. package/package.json +1 -1
  27. package/src/client.ts +10 -2
  28. package/src/models/CreateContextStoreRequest.ts +69 -48
  29. package/src/models/CreateContextStoreResponseBody.ts +1 -1
  30. package/src/models/GetContextStoreResponseBody.ts +153 -55
  31. package/src/models/ListContextStoresRequest.ts +1 -1
  32. package/src/models/ListContextStoresResponseBody.ts +10 -6
  33. package/src/models/SearchContextRequest.ts +8 -8
  34. package/src/models/SearchContextResponseBody.ts +73 -3
  35. package/src/models/UpdateContextStoreRequest.ts +94 -33
  36. package/src/models/UpdateContextStoreResponseBody.ts +49 -2
  37. package/src/models/model.ts +2 -0
@@ -2,10 +2,52 @@
2
2
  import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
+ export class UpdateContextStoreResponseBodyConfig extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * Indicates whether runtime recall is allowed after the experience library is updated.
9
+ */
10
+ runtimeRecallEnabled?: boolean;
11
+ /**
12
+ * @remarks
13
+ * The runtime recall property version that takes effect after this update.
14
+ *
15
+ * @example
16
+ * 1
17
+ */
18
+ runtimeRecallRevision?: number;
19
+ static names(): { [key: string]: string } {
20
+ return {
21
+ runtimeRecallEnabled: 'runtimeRecallEnabled',
22
+ runtimeRecallRevision: 'runtimeRecallRevision',
23
+ };
24
+ }
25
+
26
+ static types(): { [key: string]: any } {
27
+ return {
28
+ runtimeRecallEnabled: 'boolean',
29
+ runtimeRecallRevision: 'number',
30
+ };
31
+ }
32
+
33
+ validate() {
34
+ super.validate();
35
+ }
36
+
37
+ constructor(map?: { [key: string]: any }) {
38
+ super(map);
39
+ }
40
+ }
41
+
5
42
  export class UpdateContextStoreResponseBody extends $dara.Model {
6
43
  /**
7
44
  * @remarks
8
- * The request ID, which is used to locate the request when troubleshooting issues.
45
+ * The configuration properties after the runtime recall switch is updated. This block is not returned for other library update operations.
46
+ */
47
+ config?: UpdateContextStoreResponseBodyConfig;
48
+ /**
49
+ * @remarks
50
+ * The request ID, which is used to locate this request during troubleshooting.
9
51
  *
10
52
  * @example
11
53
  * 9ACFB10A-1B2C-3D4E-5F6G-7H8I9J0K1L2M
@@ -13,7 +55,7 @@ export class UpdateContextStoreResponseBody extends $dara.Model {
13
55
  requestId?: string;
14
56
  /**
15
57
  * @remarks
16
- * The strategy version that takes effect after the update for the memory type. If the strategy remains unchanged, the version is the same as the one before the update.
58
+ * The strategy version number that takes effect after the update for the memory type. If the strategy remains unchanged, the version number is the same as before the update.
17
59
  *
18
60
  * @example
19
61
  * 2
@@ -21,6 +63,7 @@ export class UpdateContextStoreResponseBody extends $dara.Model {
21
63
  strategyVersion?: number;
22
64
  static names(): { [key: string]: string } {
23
65
  return {
66
+ config: 'config',
24
67
  requestId: 'requestId',
25
68
  strategyVersion: 'strategyVersion',
26
69
  };
@@ -28,12 +71,16 @@ export class UpdateContextStoreResponseBody extends $dara.Model {
28
71
 
29
72
  static types(): { [key: string]: any } {
30
73
  return {
74
+ config: UpdateContextStoreResponseBodyConfig,
31
75
  requestId: 'string',
32
76
  strategyVersion: 'number',
33
77
  };
34
78
  }
35
79
 
36
80
  validate() {
81
+ if(this.config && typeof (this.config as any).validate === 'function') {
82
+ (this.config as any).validate();
83
+ }
37
84
  super.validate();
38
85
  }
39
86
 
@@ -45,6 +45,7 @@ export { ExecuteQueryResponseBodyMetaTruncation } from './ExecuteQueryResponseBo
45
45
  export { ExecuteQueryResponseBodyMeta } from './ExecuteQueryResponseBody';
46
46
  export { GetAgentSpaceResponseBodyMseNamespace } from './GetAgentSpaceResponseBody';
47
47
  export { GetContextStoreResponseBodyConfigAudit } from './GetContextStoreResponseBody';
48
+ export { GetContextStoreResponseBodyConfigAuditLogStore } from './GetContextStoreResponseBody';
48
49
  export { GetContextStoreResponseBodyConfigExtractionPoliciesModel } from './GetContextStoreResponseBody';
49
50
  export { GetContextStoreResponseBodyConfigExtractionPoliciesStoragePolicy } from './GetContextStoreResponseBody';
50
51
  export { GetContextStoreResponseBodyConfigExtractionPolicies } from './GetContextStoreResponseBody';
@@ -152,6 +153,7 @@ export { UpdateContextStoreRequestConfigSourceTrajectory } from './UpdateContext
152
153
  export { UpdateContextStoreRequestConfigSource } from './UpdateContextStoreRequest';
153
154
  export { UpdateContextStoreRequestConfigStoragePolicy } from './UpdateContextStoreRequest';
154
155
  export { UpdateContextStoreRequestConfig } from './UpdateContextStoreRequest';
156
+ export { UpdateContextStoreResponseBodyConfig } from './UpdateContextStoreResponseBody';
155
157
  export { UpdateDatasetRequestRenames } from './UpdateDatasetRequest';
156
158
  export { UpdateEvaluatorSkillRequestFiles } from './UpdateEvaluatorSkillRequest';
157
159
  export { UpdatePipelineRequestExecutePolicyContinuous } from './UpdatePipelineRequest';