@cadenya/cadenya 0.106.0 → 0.108.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 (119) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/package.json +1 -1
  3. package/resources/agents/agents.d.mts +6 -0
  4. package/resources/agents/agents.d.mts.map +1 -1
  5. package/resources/agents/agents.d.ts +6 -0
  6. package/resources/agents/agents.d.ts.map +1 -1
  7. package/resources/agents/agents.js.map +1 -1
  8. package/resources/agents/agents.mjs.map +1 -1
  9. package/resources/agents/feedback.d.mts +6 -0
  10. package/resources/agents/feedback.d.mts.map +1 -1
  11. package/resources/agents/feedback.d.ts +6 -0
  12. package/resources/agents/feedback.d.ts.map +1 -1
  13. package/resources/agents/schedules.d.mts +6 -0
  14. package/resources/agents/schedules.d.mts.map +1 -1
  15. package/resources/agents/schedules.d.ts +6 -0
  16. package/resources/agents/schedules.d.ts.map +1 -1
  17. package/resources/agents/variations.d.mts +17 -5
  18. package/resources/agents/variations.d.mts.map +1 -1
  19. package/resources/agents/variations.d.ts +17 -5
  20. package/resources/agents/variations.d.ts.map +1 -1
  21. package/resources/agents/webhook-deliveries.d.mts +6 -0
  22. package/resources/agents/webhook-deliveries.d.mts.map +1 -1
  23. package/resources/agents/webhook-deliveries.d.ts +6 -0
  24. package/resources/agents/webhook-deliveries.d.ts.map +1 -1
  25. package/resources/ai-provider-keys.d.mts +6 -0
  26. package/resources/ai-provider-keys.d.mts.map +1 -1
  27. package/resources/ai-provider-keys.d.ts +6 -0
  28. package/resources/ai-provider-keys.d.ts.map +1 -1
  29. package/resources/api-keys/access.d.mts +6 -0
  30. package/resources/api-keys/access.d.mts.map +1 -1
  31. package/resources/api-keys/access.d.ts +6 -0
  32. package/resources/api-keys/access.d.ts.map +1 -1
  33. package/resources/api-keys/api-keys.d.mts +6 -0
  34. package/resources/api-keys/api-keys.d.mts.map +1 -1
  35. package/resources/api-keys/api-keys.d.ts +6 -0
  36. package/resources/api-keys/api-keys.d.ts.map +1 -1
  37. package/resources/api-keys/api-keys.js.map +1 -1
  38. package/resources/api-keys/api-keys.mjs.map +1 -1
  39. package/resources/memory-layers/entries.d.mts +6 -0
  40. package/resources/memory-layers/entries.d.mts.map +1 -1
  41. package/resources/memory-layers/entries.d.ts +6 -0
  42. package/resources/memory-layers/entries.d.ts.map +1 -1
  43. package/resources/memory-layers/memory-layers.d.mts +6 -0
  44. package/resources/memory-layers/memory-layers.d.mts.map +1 -1
  45. package/resources/memory-layers/memory-layers.d.ts +6 -0
  46. package/resources/memory-layers/memory-layers.d.ts.map +1 -1
  47. package/resources/memory-layers/memory-layers.js.map +1 -1
  48. package/resources/memory-layers/memory-layers.mjs.map +1 -1
  49. package/resources/models.d.mts +6 -0
  50. package/resources/models.d.mts.map +1 -1
  51. package/resources/models.d.ts +6 -0
  52. package/resources/models.d.ts.map +1 -1
  53. package/resources/objectives/feedback.d.mts +6 -0
  54. package/resources/objectives/feedback.d.mts.map +1 -1
  55. package/resources/objectives/feedback.d.ts +6 -0
  56. package/resources/objectives/feedback.d.ts.map +1 -1
  57. package/resources/objectives/objectives.d.mts +18 -0
  58. package/resources/objectives/objectives.d.mts.map +1 -1
  59. package/resources/objectives/objectives.d.ts +18 -0
  60. package/resources/objectives/objectives.d.ts.map +1 -1
  61. package/resources/objectives/objectives.js.map +1 -1
  62. package/resources/objectives/objectives.mjs.map +1 -1
  63. package/resources/objectives/tool-calls.d.mts +6 -0
  64. package/resources/objectives/tool-calls.d.mts.map +1 -1
  65. package/resources/objectives/tool-calls.d.ts +6 -0
  66. package/resources/objectives/tool-calls.d.ts.map +1 -1
  67. package/resources/tool-sets/tool-sets.d.mts +12 -0
  68. package/resources/tool-sets/tool-sets.d.mts.map +1 -1
  69. package/resources/tool-sets/tool-sets.d.ts +12 -0
  70. package/resources/tool-sets/tool-sets.d.ts.map +1 -1
  71. package/resources/tool-sets/tool-sets.js.map +1 -1
  72. package/resources/tool-sets/tool-sets.mjs.map +1 -1
  73. package/resources/tool-sets/tools.d.mts +6 -0
  74. package/resources/tool-sets/tools.d.mts.map +1 -1
  75. package/resources/tool-sets/tools.d.ts +6 -0
  76. package/resources/tool-sets/tools.d.ts.map +1 -1
  77. package/resources/workspace-admin/profiles.d.mts +6 -0
  78. package/resources/workspace-admin/profiles.d.mts.map +1 -1
  79. package/resources/workspace-admin/profiles.d.ts +6 -0
  80. package/resources/workspace-admin/profiles.d.ts.map +1 -1
  81. package/resources/workspace-admin/workspace-admin.d.mts +6 -0
  82. package/resources/workspace-admin/workspace-admin.d.mts.map +1 -1
  83. package/resources/workspace-admin/workspace-admin.d.ts +6 -0
  84. package/resources/workspace-admin/workspace-admin.d.ts.map +1 -1
  85. package/resources/workspace-admin/workspace-admin.js.map +1 -1
  86. package/resources/workspace-admin/workspace-admin.mjs.map +1 -1
  87. package/resources/workspace-secrets.d.mts +6 -0
  88. package/resources/workspace-secrets.d.mts.map +1 -1
  89. package/resources/workspace-secrets.d.ts +6 -0
  90. package/resources/workspace-secrets.d.ts.map +1 -1
  91. package/resources/workspaces.d.mts +6 -0
  92. package/resources/workspaces.d.mts.map +1 -1
  93. package/resources/workspaces.d.ts +6 -0
  94. package/resources/workspaces.d.ts.map +1 -1
  95. package/src/resources/agents/agents.ts +7 -0
  96. package/src/resources/agents/feedback.ts +7 -0
  97. package/src/resources/agents/schedules.ts +7 -0
  98. package/src/resources/agents/variations.ts +17 -4
  99. package/src/resources/agents/webhook-deliveries.ts +7 -0
  100. package/src/resources/ai-provider-keys.ts +7 -0
  101. package/src/resources/api-keys/access.ts +8 -1
  102. package/src/resources/api-keys/api-keys.ts +7 -0
  103. package/src/resources/memory-layers/entries.ts +7 -0
  104. package/src/resources/memory-layers/memory-layers.ts +7 -0
  105. package/src/resources/models.ts +7 -0
  106. package/src/resources/objectives/feedback.ts +7 -0
  107. package/src/resources/objectives/objectives.ts +21 -0
  108. package/src/resources/objectives/tool-calls.ts +7 -0
  109. package/src/resources/tool-sets/tool-sets.ts +14 -0
  110. package/src/resources/tool-sets/tools.ts +7 -0
  111. package/src/resources/workspace-admin/profiles.ts +7 -0
  112. package/src/resources/workspace-admin/workspace-admin.ts +7 -0
  113. package/src/resources/workspace-secrets.ts +7 -0
  114. package/src/resources/workspaces.ts +7 -0
  115. package/src/version.ts +1 -1
  116. package/version.d.mts +1 -1
  117. package/version.d.ts +1 -1
  118. package/version.js +1 -1
  119. package/version.mjs +1 -1
@@ -57,6 +57,13 @@ export interface FeedbackListParams extends CursorPaginationParams {
57
57
  */
58
58
  includeInfo?: boolean;
59
59
 
60
+ /**
61
+ * Query param: Filters by metadata labels. Comma-separated key=value pairs, e.g.
62
+ * "env=prod,team=ai". A resource matches only if every pair matches exactly (AND
63
+ * semantics).
64
+ */
65
+ labels?: string;
66
+
60
67
  /**
61
68
  * Query param: Free-text search applied to the feedback comment. Case-insensitive
62
69
  * substring match.
@@ -374,6 +374,13 @@ export interface ScheduleListParams extends CursorPaginationParams {
374
374
  */
375
375
  includeInfo?: boolean;
376
376
 
377
+ /**
378
+ * Query param: Filters by metadata labels. Comma-separated key=value pairs, e.g.
379
+ * "env=prod,team=ai". A resource matches only if every pair matches exactly (AND
380
+ * semantics).
381
+ */
382
+ labels?: string;
383
+
377
384
  /**
378
385
  * Query param: Filter expression (query param: prefix).
379
386
  */
@@ -329,11 +329,17 @@ export interface AgentVariationSpecCompactionConfig {
329
329
  export interface AgentVariationSpecConstraints {
330
330
  /**
331
331
  * How long an objective may sit with no activity (no user messages, no LLM calls)
332
- * before it is finalized as timed out. Between 1 minute and 24 hours. When not
333
- * set, objectives are still swept at the system-wide 24 hour maximum — every
334
- * objective eventually reaches a terminal state.
332
+ * before it is finalized as timed out. Between 1 minute and 24 hours, expressed as
333
+ * a duration string in seconds (e.g. "7200s"). When not set, objectives are still
334
+ * swept at the system-wide 24 hour maximum — every objective eventually reaches a
335
+ * terminal state.
336
+ *
337
+ * Note: no gnostic integer hint here on purpose. The Envoy gRPC-JSON transcoder
338
+ * only accepts the canonical protobuf JSON form for Durations — a "<seconds>s"
339
+ * string — so the SDKs must type this as a string (like AgentScheduleSpec.every),
340
+ * not an integer.
335
341
  */
336
- inactivityTimeout?: number;
342
+ inactivityTimeout?: string;
337
343
 
338
344
  /**
339
345
  * The maximum number of sub-objectives that can be created. 0 means no limit.
@@ -568,6 +574,13 @@ export interface VariationListParams extends CursorPaginationParams {
568
574
  */
569
575
  includeInfo?: boolean;
570
576
 
577
+ /**
578
+ * Query param: Filters by metadata labels. Comma-separated key=value pairs, e.g.
579
+ * "env=prod,team=ai". A resource matches only if every pair matches exactly (AND
580
+ * semantics).
581
+ */
582
+ labels?: string;
583
+
571
584
  /**
572
585
  * Query param: Sort order for results (asc or desc by creation time)
573
586
  */
@@ -142,6 +142,13 @@ export interface WebhookDeliveryListParams extends CursorPaginationParams {
142
142
  | 'OBJECTIVE_EVENT_TYPE_NOTICE'
143
143
  | 'OBJECTIVE_EVENT_TYPE_TIMED_OUT';
144
144
 
145
+ /**
146
+ * Query param: Filters by metadata labels. Comma-separated key=value pairs, e.g.
147
+ * "env=prod,team=ai". A resource matches only if every pair matches exactly (AND
148
+ * semantics).
149
+ */
150
+ labels?: string;
151
+
145
152
  /**
146
153
  * Query param: Optional filter by objective ID
147
154
  */
@@ -295,6 +295,13 @@ export interface AIProviderKeyListParams extends CursorPaginationParams {
295
295
  */
296
296
  includeInfo?: boolean;
297
297
 
298
+ /**
299
+ * Filters by metadata labels. Comma-separated key=value pairs, e.g.
300
+ * "env=prod,team=ai". A resource matches only if every pair matches exactly (AND
301
+ * semantics).
302
+ */
303
+ labels?: string;
304
+
298
305
  /**
299
306
  * Filter expression (query param: prefix)
300
307
  */
@@ -52,7 +52,14 @@ export class Access extends APIResource {
52
52
  }
53
53
  }
54
54
 
55
- export interface AccessListParams extends CursorPaginationParams {}
55
+ export interface AccessListParams extends CursorPaginationParams {
56
+ /**
57
+ * Filters by metadata labels. Comma-separated key=value pairs, e.g.
58
+ * "env=prod,team=ai". A resource matches only if every pair matches exactly (AND
59
+ * semantics).
60
+ */
61
+ labels?: string;
62
+ }
56
63
 
57
64
  export interface AccessAddParams {
58
65
  /**
@@ -239,6 +239,13 @@ export interface APIKeyListParams extends CursorPaginationParams {
239
239
  */
240
240
  includeInfo?: boolean;
241
241
 
242
+ /**
243
+ * Filters by metadata labels. Comma-separated key=value pairs, e.g.
244
+ * "env=prod,team=ai". A resource matches only if every pair matches exactly (AND
245
+ * semantics).
246
+ */
247
+ labels?: string;
248
+
242
249
  /**
243
250
  * Filter by ID prefix.
244
251
  */
@@ -308,6 +308,13 @@ export interface EntryListParams extends CursorPaginationParams {
308
308
  */
309
309
  includeInfo?: boolean;
310
310
 
311
+ /**
312
+ * Query param: Filters by metadata labels. Comma-separated key=value pairs, e.g.
313
+ * "env=prod,team=ai". A resource matches only if every pair matches exactly (AND
314
+ * semantics).
315
+ */
316
+ labels?: string;
317
+
311
318
  /**
312
319
  * Query param: Filter by key prefix (e.g., "skills/postmortem/" to list all
313
320
  * entries under that hierarchy). Matches against the entry's key, not its name.
@@ -228,6 +228,13 @@ export interface MemoryLayerListParams extends CursorPaginationParams {
228
228
  */
229
229
  includeInfo?: boolean;
230
230
 
231
+ /**
232
+ * Filters by metadata labels. Comma-separated key=value pairs, e.g.
233
+ * "env=prod,team=ai". A resource matches only if every pair matches exactly (AND
234
+ * semantics).
235
+ */
236
+ labels?: string;
237
+
231
238
  /**
232
239
  * Filter expression (query param: prefix)
233
240
  */
@@ -182,6 +182,13 @@ export interface ModelListParams extends CursorPaginationParams {
182
182
  */
183
183
  isAssigned?: boolean;
184
184
 
185
+ /**
186
+ * Filters by metadata labels. Comma-separated key=value pairs, e.g.
187
+ * "env=prod,team=ai". A resource matches only if every pair matches exactly (AND
188
+ * semantics).
189
+ */
190
+ labels?: string;
191
+
185
192
  /**
186
193
  * Filter by name prefix
187
194
  */
@@ -128,6 +128,13 @@ export interface FeedbackListParams extends CursorPaginationParams {
128
128
  * Path param
129
129
  */
130
130
  workspaceId: string;
131
+
132
+ /**
133
+ * Query param: Filters by metadata labels. Comma-separated key=value pairs, e.g.
134
+ * "env=prod,team=ai". A resource matches only if every pair matches exactly (AND
135
+ * semantics).
136
+ */
137
+ labels?: string;
131
138
  }
132
139
 
133
140
  export declare namespace Feedback {
@@ -1172,6 +1172,13 @@ export interface ObjectiveListParams extends CursorPaginationParams {
1172
1172
  */
1173
1173
  includeInfo?: boolean;
1174
1174
 
1175
+ /**
1176
+ * Filters by metadata labels. Comma-separated key=value pairs, e.g.
1177
+ * "env=prod,team=ai". A resource matches only if every pair matches exactly (AND
1178
+ * semantics).
1179
+ */
1180
+ labels?: string;
1181
+
1175
1182
  /**
1176
1183
  * Optional filters
1177
1184
  */
@@ -1252,6 +1259,13 @@ export interface ObjectiveListContextWindowsParams extends CursorPaginationParam
1252
1259
  * Query param: When set to true you may use more of your alloted API rate-limit
1253
1260
  */
1254
1261
  includeInfo?: boolean;
1262
+
1263
+ /**
1264
+ * Query param: Filters by metadata labels. Comma-separated key=value pairs, e.g.
1265
+ * "env=prod,team=ai". A resource matches only if every pair matches exactly (AND
1266
+ * semantics).
1267
+ */
1268
+ labels?: string;
1255
1269
  }
1256
1270
 
1257
1271
  export interface ObjectiveListEventsParams extends CursorPaginationParams {
@@ -1265,6 +1279,13 @@ export interface ObjectiveListEventsParams extends CursorPaginationParams {
1265
1279
  */
1266
1280
  includeInfo?: boolean;
1267
1281
 
1282
+ /**
1283
+ * Query param: Filters by metadata labels. Comma-separated key=value pairs, e.g.
1284
+ * "env=prod,team=ai". A resource matches only if every pair matches exactly (AND
1285
+ * semantics).
1286
+ */
1287
+ labels?: string;
1288
+
1268
1289
  /**
1269
1290
  * Query param: Optional string to fetch events since an ID
1270
1291
  */
@@ -405,6 +405,13 @@ export interface ToolCallListParams extends CursorPaginationParams {
405
405
  */
406
406
  includeInfo?: boolean;
407
407
 
408
+ /**
409
+ * Query param: Filters by metadata labels. Comma-separated key=value pairs, e.g.
410
+ * "env=prod,team=ai". A resource matches only if every pair matches exactly (AND
411
+ * semantics).
412
+ */
413
+ labels?: string;
414
+
408
415
  /**
409
416
  * Query param: Filter by tool call status
410
417
  */
@@ -554,6 +554,13 @@ export interface ToolSetListParams extends CursorPaginationParams {
554
554
  */
555
555
  includeInfo?: boolean;
556
556
 
557
+ /**
558
+ * Filters by metadata labels. Comma-separated key=value pairs, e.g.
559
+ * "env=prod,team=ai". A resource matches only if every pair matches exactly (AND
560
+ * semantics).
561
+ */
562
+ labels?: string;
563
+
557
564
  /**
558
565
  * Filter expression (query param: prefix)
559
566
  */
@@ -608,6 +615,13 @@ export interface ToolSetListEventsParams extends CursorPaginationParams {
608
615
  */
609
616
  includeInfo?: boolean;
610
617
 
618
+ /**
619
+ * Query param: Filters by metadata labels. Comma-separated key=value pairs, e.g.
620
+ * "env=prod,team=ai". A resource matches only if every pair matches exactly (AND
621
+ * semantics).
622
+ */
623
+ labels?: string;
624
+
611
625
  /**
612
626
  * Query param: Sort order for results (asc or desc by creation time)
613
627
  */
@@ -335,6 +335,13 @@ export interface ToolListParams extends CursorPaginationParams {
335
335
  */
336
336
  includeInfo?: boolean;
337
337
 
338
+ /**
339
+ * Query param: Filters by metadata labels. Comma-separated key=value pairs, e.g.
340
+ * "env=prod,team=ai". A resource matches only if every pair matches exactly (AND
341
+ * semantics).
342
+ */
343
+ labels?: string;
344
+
338
345
  /**
339
346
  * Query param: Filter by tool name (exact match). Multiple values are OR'd
340
347
  * together.
@@ -31,6 +31,13 @@ export class Profiles extends APIResource {
31
31
  }
32
32
 
33
33
  export interface ProfileListParams extends CursorPaginationParams {
34
+ /**
35
+ * Filters by metadata labels. Comma-separated key=value pairs, e.g.
36
+ * "env=prod,team=ai". A resource matches only if every pair matches exactly (AND
37
+ * semantics).
38
+ */
39
+ labels?: string;
40
+
34
41
  /**
35
42
  * Free-form search over profile name and email. Case-insensitive substring match;
36
43
  * empty returns all profiles.
@@ -196,6 +196,13 @@ export interface WorkspaceAdminListParams extends CursorPaginationParams {
196
196
  * (active workspaces only).
197
197
  */
198
198
  includeArchived?: boolean;
199
+
200
+ /**
201
+ * Filters by metadata labels. Comma-separated key=value pairs, e.g.
202
+ * "env=prod,team=ai". A resource matches only if every pair matches exactly (AND
203
+ * semantics).
204
+ */
205
+ labels?: string;
199
206
  }
200
207
 
201
208
  WorkspaceAdmin.Members = Members;
@@ -155,6 +155,13 @@ export interface WorkspaceSecretListParams extends CursorPaginationParams {
155
155
  */
156
156
  includeInfo?: boolean;
157
157
 
158
+ /**
159
+ * Filters by metadata labels. Comma-separated key=value pairs, e.g.
160
+ * "env=prod,team=ai". A resource matches only if every pair matches exactly (AND
161
+ * semantics).
162
+ */
163
+ labels?: string;
164
+
158
165
  /**
159
166
  * Filter expression (query param: prefix)
160
167
  */
@@ -82,6 +82,13 @@ export interface WorkspaceListParams extends CursorPaginationParams {
82
82
  */
83
83
  includeInfo?: boolean;
84
84
 
85
+ /**
86
+ * Filters by metadata labels. Comma-separated key=value pairs, e.g.
87
+ * "env=prod,team=ai". A resource matches only if every pair matches exactly (AND
88
+ * semantics).
89
+ */
90
+ labels?: string;
91
+
85
92
  /**
86
93
  * Sort order for results (asc or desc by creation time)
87
94
  */
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.106.0'; // x-release-please-version
1
+ export const VERSION = '0.108.0'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.106.0";
1
+ export declare const VERSION = "0.108.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.106.0";
1
+ export declare const VERSION = "0.108.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '0.106.0'; // x-release-please-version
4
+ exports.VERSION = '0.108.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.106.0'; // x-release-please-version
1
+ export const VERSION = '0.108.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map