@nimble-way/nimble-js 0.19.0 → 0.20.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 (82) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/package.json +1 -1
  3. package/resources/agent.d.mts +9 -26
  4. package/resources/agent.d.mts.map +1 -1
  5. package/resources/agent.d.ts +9 -26
  6. package/resources/agent.d.ts.map +1 -1
  7. package/resources/agent.js +4 -21
  8. package/resources/agent.js.map +1 -1
  9. package/resources/agent.mjs +4 -21
  10. package/resources/agent.mjs.map +1 -1
  11. package/resources/jobs/jobs.d.mts +18 -6
  12. package/resources/jobs/jobs.d.mts.map +1 -1
  13. package/resources/jobs/jobs.d.ts +18 -6
  14. package/resources/jobs/jobs.d.ts.map +1 -1
  15. package/resources/jobs/jobs.js +12 -0
  16. package/resources/jobs/jobs.js.map +1 -1
  17. package/resources/jobs/jobs.mjs +12 -0
  18. package/resources/jobs/jobs.mjs.map +1 -1
  19. package/resources/jobs/runs/artifacts.d.mts +11 -13
  20. package/resources/jobs/runs/artifacts.d.mts.map +1 -1
  21. package/resources/jobs/runs/artifacts.d.ts +11 -13
  22. package/resources/jobs/runs/artifacts.d.ts.map +1 -1
  23. package/resources/jobs/runs/artifacts.js +8 -0
  24. package/resources/jobs/runs/artifacts.js.map +1 -1
  25. package/resources/jobs/runs/artifacts.mjs +8 -0
  26. package/resources/jobs/runs/artifacts.mjs.map +1 -1
  27. package/resources/jobs/runs/runs.d.mts +12 -6
  28. package/resources/jobs/runs/runs.d.mts.map +1 -1
  29. package/resources/jobs/runs/runs.d.ts +12 -6
  30. package/resources/jobs/runs/runs.d.ts.map +1 -1
  31. package/resources/jobs/runs/runs.js +6 -0
  32. package/resources/jobs/runs/runs.js.map +1 -1
  33. package/resources/jobs/runs/runs.mjs +6 -0
  34. package/resources/jobs/runs/runs.mjs.map +1 -1
  35. package/resources/task-agent/index.d.mts +1 -1
  36. package/resources/task-agent/index.d.mts.map +1 -1
  37. package/resources/task-agent/index.d.ts +1 -1
  38. package/resources/task-agent/index.d.ts.map +1 -1
  39. package/resources/task-agent/index.js.map +1 -1
  40. package/resources/task-agent/index.mjs.map +1 -1
  41. package/resources/task-agent/runs.d.mts +246 -110
  42. package/resources/task-agent/runs.d.mts.map +1 -1
  43. package/resources/task-agent/runs.d.ts +246 -110
  44. package/resources/task-agent/runs.d.ts.map +1 -1
  45. package/resources/task-agent/runs.js +12 -14
  46. package/resources/task-agent/runs.js.map +1 -1
  47. package/resources/task-agent/runs.mjs +12 -14
  48. package/resources/task-agent/runs.mjs.map +1 -1
  49. package/resources/task-agent/task-agent.d.mts +557 -65
  50. package/resources/task-agent/task-agent.d.mts.map +1 -1
  51. package/resources/task-agent/task-agent.d.ts +557 -65
  52. package/resources/task-agent/task-agent.d.ts.map +1 -1
  53. package/resources/task-agent/task-agent.js +12 -0
  54. package/resources/task-agent/task-agent.js.map +1 -1
  55. package/resources/task-agent/task-agent.mjs +12 -0
  56. package/resources/task-agent/task-agent.mjs.map +1 -1
  57. package/resources/task-agent/templates.d.mts +167 -13
  58. package/resources/task-agent/templates.d.mts.map +1 -1
  59. package/resources/task-agent/templates.d.ts +167 -13
  60. package/resources/task-agent/templates.d.ts.map +1 -1
  61. package/resources/task-agent/templates.js +4 -0
  62. package/resources/task-agent/templates.js.map +1 -1
  63. package/resources/task-agent/templates.mjs +4 -0
  64. package/resources/task-agent/templates.mjs.map +1 -1
  65. package/resources/top-level.d.mts +0 -6
  66. package/resources/top-level.d.mts.map +1 -1
  67. package/resources/top-level.d.ts +0 -6
  68. package/resources/top-level.d.ts.map +1 -1
  69. package/src/resources/agent.ts +10 -27
  70. package/src/resources/jobs/jobs.ts +18 -6
  71. package/src/resources/jobs/runs/artifacts.ts +11 -13
  72. package/src/resources/jobs/runs/runs.ts +12 -6
  73. package/src/resources/task-agent/index.ts +0 -2
  74. package/src/resources/task-agent/runs.ts +251 -129
  75. package/src/resources/task-agent/task-agent.ts +559 -79
  76. package/src/resources/task-agent/templates.ts +170 -15
  77. package/src/resources/top-level.ts +0 -5
  78. package/src/version.ts +1 -1
  79. package/version.d.mts +1 -1
  80. package/version.d.ts +1 -1
  81. package/version.js +1 -1
  82. package/version.mjs +1 -1
@@ -4,100 +4,254 @@ import { RequestOptions } from "../../internal/request-options.js";
4
4
  export declare class Templates extends APIResource {
5
5
  /**
6
6
  * List Templates
7
+ *
8
+ * @deprecated
7
9
  */
8
10
  list(query?: TemplateListParams | null | undefined, options?: RequestOptions): APIPromise<TemplateListResponse>;
9
11
  /**
10
12
  * Get Template
13
+ *
14
+ * @deprecated
11
15
  */
12
16
  get(templateName: string, options?: RequestOptions): APIPromise<TemplateGetResponse>;
13
17
  }
14
- export type TemplateListResponse = Array<TemplateListResponse.TemplateListResponseItem>;
18
+ export interface TemplateListResponse {
19
+ /**
20
+ * Items returned in this page.
21
+ */
22
+ items: Array<TemplateListResponse.Item>;
23
+ /**
24
+ * Maximum number of items returned.
25
+ */
26
+ limit: number;
27
+ /**
28
+ * Number of items skipped before this page.
29
+ */
30
+ offset: number;
31
+ /**
32
+ * Total number of items matching the query.
33
+ */
34
+ total: number;
35
+ }
15
36
  export declare namespace TemplateListResponse {
16
- interface TemplateListResponseItem {
37
+ interface Item {
38
+ /**
39
+ * Unique template identifier (wsat\_<uuid>).
40
+ */
17
41
  id: string;
42
+ /**
43
+ * When the template was created.
44
+ */
18
45
  created_at: string;
46
+ /**
47
+ * Template description shown to users.
48
+ */
19
49
  description: string;
50
+ /**
51
+ * Human-friendly template name shown to users.
52
+ */
20
53
  display_name: string;
54
+ /**
55
+ * Domain expertise or operating context for the template.
56
+ */
21
57
  domain_expertise: string;
22
58
  /**
23
- * Canonical effort tier names for the research graph.
59
+ * Default effort level for runs created from this template.
24
60
  */
25
61
  effort: 'low' | 'medium' | 'high' | 'x-high' | 'max';
26
- goals: Array<TemplateListResponseItem.Goal>;
62
+ /**
63
+ * Ordered goals for the template.
64
+ */
65
+ goals: Array<Item.Goal>;
66
+ /**
67
+ * Icon identifier used when presenting the template.
68
+ */
27
69
  icon: string;
70
+ /**
71
+ * JSON schema describing the structured output the agent should produce.
72
+ */
28
73
  output_schema: {
29
74
  [key: string]: unknown;
30
75
  } | null;
31
- sources: Array<TemplateListResponseItem.Source>;
32
- suggested_questions: Array<TemplateListResponseItem.SuggestedQuestion>;
76
+ /**
77
+ * Ordered source groups for the template.
78
+ */
79
+ sources: Array<Item.Source>;
80
+ /**
81
+ * Suggested prompts for the template.
82
+ */
83
+ suggested_questions: Array<Item.SuggestedQuestion>;
84
+ /**
85
+ * Stable template name used to create agent instances.
86
+ */
33
87
  template_name: string;
88
+ /**
89
+ * When the template was last updated.
90
+ */
34
91
  updated_at: string;
92
+ /**
93
+ * Primary use case supported by the template.
94
+ */
35
95
  use_case: 'research' | 'enrichment' | 'dataset_building';
36
96
  }
37
- namespace TemplateListResponseItem {
97
+ namespace Item {
38
98
  interface Goal {
99
+ /**
100
+ * Unique goal identifier (wsag\_<uuid>).
101
+ */
39
102
  id: string;
103
+ /**
104
+ * Goal text.
105
+ */
40
106
  goal: string;
107
+ /**
108
+ * Zero-based goal position.
109
+ */
41
110
  order: number;
42
111
  }
43
112
  interface Source {
113
+ /**
114
+ * Unique source group identifier (wsas\_<uuid>).
115
+ */
44
116
  id: string;
117
+ /**
118
+ * Domains included in this source group.
119
+ */
45
120
  domains: Array<string>;
121
+ /**
122
+ * Zero-based source group position.
123
+ */
46
124
  order: number;
125
+ /**
126
+ * Source group title.
127
+ */
47
128
  title: string;
48
129
  }
49
130
  interface SuggestedQuestion {
131
+ /**
132
+ * Unique suggested question identifier (wsasq\_<uuid>).
133
+ */
50
134
  id: string;
135
+ /**
136
+ * Zero-based suggested question position.
137
+ */
51
138
  order: number;
139
+ /**
140
+ * Suggested prompt text.
141
+ */
52
142
  question: string;
53
143
  }
54
144
  }
55
145
  }
56
146
  export interface TemplateGetResponse {
147
+ /**
148
+ * Unique template identifier (wsat\_<uuid>).
149
+ */
57
150
  id: string;
151
+ /**
152
+ * When the template was created.
153
+ */
58
154
  created_at: string;
155
+ /**
156
+ * Template description shown to users.
157
+ */
59
158
  description: string;
159
+ /**
160
+ * Human-friendly template name shown to users.
161
+ */
60
162
  display_name: string;
163
+ /**
164
+ * Domain expertise or operating context for the template.
165
+ */
61
166
  domain_expertise: string;
62
167
  /**
63
- * Canonical effort tier names for the research graph.
168
+ * Default effort level for runs created from this template.
64
169
  */
65
170
  effort: 'low' | 'medium' | 'high' | 'x-high' | 'max';
171
+ /**
172
+ * Ordered goals for the template.
173
+ */
66
174
  goals: Array<TemplateGetResponse.Goal>;
175
+ /**
176
+ * Icon identifier used when presenting the template.
177
+ */
67
178
  icon: string;
179
+ /**
180
+ * JSON schema describing the structured output the agent should produce.
181
+ */
68
182
  output_schema: {
69
183
  [key: string]: unknown;
70
184
  } | null;
185
+ /**
186
+ * Ordered source groups for the template.
187
+ */
71
188
  sources: Array<TemplateGetResponse.Source>;
189
+ /**
190
+ * Suggested prompts for the template.
191
+ */
72
192
  suggested_questions: Array<TemplateGetResponse.SuggestedQuestion>;
193
+ /**
194
+ * Stable template name used to create agent instances.
195
+ */
73
196
  template_name: string;
197
+ /**
198
+ * When the template was last updated.
199
+ */
74
200
  updated_at: string;
201
+ /**
202
+ * Primary use case supported by the template.
203
+ */
75
204
  use_case: 'research' | 'enrichment' | 'dataset_building';
76
205
  }
77
206
  export declare namespace TemplateGetResponse {
78
207
  interface Goal {
208
+ /**
209
+ * Unique goal identifier (wsag\_<uuid>).
210
+ */
79
211
  id: string;
212
+ /**
213
+ * Goal text.
214
+ */
80
215
  goal: string;
216
+ /**
217
+ * Zero-based goal position.
218
+ */
81
219
  order: number;
82
220
  }
83
221
  interface Source {
222
+ /**
223
+ * Unique source group identifier (wsas\_<uuid>).
224
+ */
84
225
  id: string;
226
+ /**
227
+ * Domains included in this source group.
228
+ */
85
229
  domains: Array<string>;
230
+ /**
231
+ * Zero-based source group position.
232
+ */
86
233
  order: number;
234
+ /**
235
+ * Source group title.
236
+ */
87
237
  title: string;
88
238
  }
89
239
  interface SuggestedQuestion {
240
+ /**
241
+ * Unique suggested question identifier (wsasq\_<uuid>).
242
+ */
90
243
  id: string;
244
+ /**
245
+ * Zero-based suggested question position.
246
+ */
91
247
  order: number;
248
+ /**
249
+ * Suggested prompt text.
250
+ */
92
251
  question: string;
93
252
  }
94
253
  }
95
254
  export interface TemplateListParams {
96
- /**
97
- * Canonical effort tier names for the research graph.
98
- */
99
- filter_effort?: 'low' | 'medium' | 'high' | 'x-high' | 'max' | null;
100
- filter_use_case?: 'research' | 'enrichment' | 'dataset_building' | null;
101
255
  limit?: number;
102
256
  offset?: number;
103
257
  }
@@ -1 +1 @@
1
- {"version":3,"file":"templates.d.ts","sourceRoot":"","sources":["../../src/resources/task-agent/templates.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAGhE,qBAAa,SAAU,SAAQ,WAAW;IACxC;;OAEG;IACH,IAAI,CACF,KAAK,GAAE,kBAAkB,GAAG,IAAI,GAAG,SAAc,EACjD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,oBAAoB,CAAC;IAInC;;OAEG;IACH,GAAG,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,mBAAmB,CAAC;CAGrF;AAED,MAAM,MAAM,oBAAoB,GAAG,KAAK,CAAC,oBAAoB,CAAC,wBAAwB,CAAC,CAAC;AAExF,yBAAiB,oBAAoB,CAAC;IACpC,UAAiB,wBAAwB;QACvC,EAAE,EAAE,MAAM,CAAC;QAEX,UAAU,EAAE,MAAM,CAAC;QAEnB,WAAW,EAAE,MAAM,CAAC;QAEpB,YAAY,EAAE,MAAM,CAAC;QAErB,gBAAgB,EAAE,MAAM,CAAC;QAEzB;;WAEG;QACH,MAAM,E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ACjC,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,CAAC,OAAO,WAAW,SAAS,CAAC;IACjC,OAAO,EACL,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,kBAAkB,IAAI,kBAAkB,GAC9C,CAAC;CACH"}
@@ -7,12 +7,16 @@ const path_1 = require("../../internal/utils/path.js");
7
7
  class Templates extends resource_1.APIResource {
8
8
  /**
9
9
  * List Templates
10
+ *
11
+ * @deprecated
10
12
  */
11
13
  list(query = {}, options) {
12
14
  return this._client.get('/v1/task-agents/templates', { query, ...options });
13
15
  }
14
16
  /**
15
17
  * Get Template
18
+ *
19
+ * @deprecated
16
20
  */
17
21
  get(templateName, options) {
18
22
  return this._client.get((0, path_1.path) `/v1/task-agents/templates/${templateName}`, options);
@@ -1 +1 @@
1
- {"version":3,"file":"templates.js","sourceRoot":"","sources":["../../src/resources/task-agent/templates.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAGlD,uDAAiD;AAEjD,MAAa,SAAU,SAAQ,sBAAW;IACxC;;OAEG;IACH,IAAI,CACF,QAA+C,EAAE,EACjD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,2BAA2B,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9E,CAAC;IAED;;OAEG;IACH,GAAG,CAAC,YAAoB,EAAE,OAAwB;QAChD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,6BAA6B,YAAY,EAAE,EAAE,OAAO,CAAC,CAAC;IACpF,CAAC;CACF;AAjBD,8BAiBC"}
1
+ {"version":3,"file":"templates.js","sourceRoot":"","sources":["../../src/resources/task-agent/templates.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAGlD,uDAAiD;AAEjD,MAAa,SAAU,SAAQ,sBAAW;IACxC;;;;OAIG;IACH,IAAI,CACF,QAA+C,EAAE,EACjD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,2BAA2B,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9E,CAAC;IAED;;;;OAIG;IACH,GAAG,CAAC,YAAoB,EAAE,OAAwB;QAChD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,6BAA6B,YAAY,EAAE,EAAE,OAAO,CAAC,CAAC;IACpF,CAAC;CACF;AArBD,8BAqBC"}
@@ -4,12 +4,16 @@ import { path } from "../../internal/utils/path.mjs";
4
4
  export class Templates extends APIResource {
5
5
  /**
6
6
  * List Templates
7
+ *
8
+ * @deprecated
7
9
  */
8
10
  list(query = {}, options) {
9
11
  return this._client.get('/v1/task-agents/templates', { query, ...options });
10
12
  }
11
13
  /**
12
14
  * Get Template
15
+ *
16
+ * @deprecated
13
17
  */
14
18
  get(templateName, options) {
15
19
  return this._client.get(path `/v1/task-agents/templates/${templateName}`, options);
@@ -1 +1 @@
1
- {"version":3,"file":"templates.mjs","sourceRoot":"","sources":["../../src/resources/task-agent/templates.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAGlD,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD,MAAM,OAAO,SAAU,SAAQ,WAAW;IACxC;;OAEG;IACH,IAAI,CACF,QAA+C,EAAE,EACjD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,2BAA2B,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9E,CAAC;IAED;;OAEG;IACH,GAAG,CAAC,YAAoB,EAAE,OAAwB;QAChD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,6BAA6B,YAAY,EAAE,EAAE,OAAO,CAAC,CAAC;IACpF,CAAC;CACF"}
1
+ {"version":3,"file":"templates.mjs","sourceRoot":"","sources":["../../src/resources/task-agent/templates.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAGlD,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD,MAAM,OAAO,SAAU,SAAQ,WAAW;IACxC;;;;OAIG;IACH,IAAI,CACF,QAA+C,EAAE,EACjD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,2BAA2B,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9E,CAAC;IAED;;;;OAIG;IACH,GAAG,CAAC,YAAoB,EAAE,OAAwB;QAChD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,6BAA6B,YAAY,EAAE,EAAE,OAAO,CAAC,CAAC;IACpF,CAAC;CACF"}
@@ -1349,12 +1349,6 @@ export interface SearchParams {
1349
1349
  * Country code for geo-targeted results (e.g., 'US', 'GB', 'IL')
1350
1350
  */
1351
1351
  country?: string;
1352
- /**
1353
- * Internal-only. Gated to allowlisted accounts; ignored otherwise.
1354
- */
1355
- debug_params?: {
1356
- [key: string]: unknown;
1357
- } | null;
1358
1352
  /**
1359
1353
  * Deprecated. Use search_depth instead. true maps to 'deep', false maps to 'lite'.
1360
1354
  */