dominus-sdk-nodejs 1.9.2 → 1.11.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.
@@ -0,0 +1,514 @@
1
+ /**
2
+ * Workflow Namespace - Workflow management operations.
3
+ *
4
+ * Provides CRUD operations for workflows, categories/pipelines, templates, and tools.
5
+ * Routes through gateway to dominus-workflow-manager service.
6
+ *
7
+ * Usage:
8
+ * import { dominus } from 'dominus-sdk-nodejs';
9
+ *
10
+ * // Workflow CRUD
11
+ * const workflow = await dominus.workflow.save({
12
+ * name: "My Workflow",
13
+ * yamlContent: "name: My Workflow\nnodes: []",
14
+ * description: "A test workflow"
15
+ * });
16
+ * const workflows = await dominus.workflow.list();
17
+ * const wf = await dominus.workflow.get(workflowId, { includeContent: true });
18
+ * await dominus.workflow.delete(workflowId);
19
+ *
20
+ * // Categories (execution pipelines)
21
+ * const category = await dominus.workflow.createCategory({
22
+ * name: "Intake Pipeline",
23
+ * description: "Patient intake workflow sequence"
24
+ * });
25
+ * await dominus.workflow.addToCategory(categoryId, workflowId);
26
+ *
27
+ * // Execution
28
+ * const result = await dominus.workflow.execute(workflowId, { key: "value" });
29
+ * const asyncResult = await dominus.workflow.executeAsync(workflowId, { callbackUrl: "..." });
30
+ *
31
+ * // Admin operations
32
+ * await dominus.workflow.seed(); // Seed templates and tools
33
+ * await dominus.workflow.factoryReset({ confirm: true, reseed: true }); // Reset and reseed
34
+ *
35
+ * // Tools management
36
+ * const tools = await dominus.workflow.listTools({ is_enabled: true });
37
+ * const tool = await dominus.workflow.registerTool({
38
+ * slug: "my_tool",
39
+ * name: "My Tool",
40
+ * tool_type: "http",
41
+ * endpoint_url: "https://api.example.com/tool"
42
+ * });
43
+ * await dominus.workflow.enableTool(toolId);
44
+ * await dominus.workflow.deleteTool(toolId);
45
+ */
46
+ // ========================================
47
+ // Namespace
48
+ // ========================================
49
+ export class WorkflowNamespace {
50
+ client;
51
+ constructor(client) {
52
+ this.client = client;
53
+ }
54
+ // ========================================
55
+ // Workflow CRUD
56
+ // ========================================
57
+ /**
58
+ * Save a workflow (create or update).
59
+ */
60
+ async save(options) {
61
+ const body = {
62
+ name: options.name,
63
+ yaml_content: options.yamlContent,
64
+ };
65
+ if (options.workflowId)
66
+ body.workflow_id = options.workflowId;
67
+ if (options.tenantSlug)
68
+ body.tenant_slug = options.tenantSlug;
69
+ if (options.description)
70
+ body.description = options.description;
71
+ if (options.categoryId)
72
+ body.category_id = options.categoryId;
73
+ if (options.tags)
74
+ body.tags = options.tags;
75
+ if (options.isTemplate)
76
+ body.is_template = options.isTemplate;
77
+ return this.client.request({
78
+ endpoint: '/api/workflow/workflows',
79
+ method: 'POST',
80
+ body,
81
+ useGateway: true,
82
+ });
83
+ }
84
+ /**
85
+ * Get a workflow by ID.
86
+ */
87
+ async get(workflowId, options) {
88
+ let endpoint = `/api/workflow/workflows/${workflowId}`;
89
+ if (options?.includeContent) {
90
+ endpoint += '?include_content=true';
91
+ }
92
+ return this.client.request({
93
+ endpoint,
94
+ method: 'GET',
95
+ useGateway: true,
96
+ });
97
+ }
98
+ /**
99
+ * List workflows.
100
+ */
101
+ async list(options) {
102
+ const body = {
103
+ limit: options?.limit ?? 100,
104
+ offset: options?.offset ?? 0,
105
+ };
106
+ if (options?.tenantSlug)
107
+ body.tenant_slug = options.tenantSlug;
108
+ if (options?.categoryId)
109
+ body.category_id = options.categoryId;
110
+ if (options?.tags)
111
+ body.tags = options.tags;
112
+ if (options?.isTemplate !== undefined)
113
+ body.is_template = options.isTemplate;
114
+ if (options?.search)
115
+ body.search = options.search;
116
+ const result = await this.client.request({
117
+ endpoint: '/api/workflow/workflows/list',
118
+ method: 'POST',
119
+ body,
120
+ useGateway: true,
121
+ });
122
+ if (Array.isArray(result))
123
+ return result;
124
+ return result.workflows ?? [];
125
+ }
126
+ /**
127
+ * Delete a workflow.
128
+ */
129
+ async delete(workflowId) {
130
+ return this.client.request({
131
+ endpoint: `/api/workflow/workflows/${workflowId}`,
132
+ method: 'DELETE',
133
+ useGateway: true,
134
+ });
135
+ }
136
+ // ========================================
137
+ // Categories (Execution Pipelines)
138
+ // ========================================
139
+ /**
140
+ * Create a category (execution pipeline).
141
+ */
142
+ async createCategory(options) {
143
+ const body = { name: options.name };
144
+ if (options.tenantSlug)
145
+ body.tenant_slug = options.tenantSlug;
146
+ if (options.description)
147
+ body.description = options.description;
148
+ return this.client.request({
149
+ endpoint: '/api/workflow/categories',
150
+ method: 'POST',
151
+ body,
152
+ useGateway: true,
153
+ });
154
+ }
155
+ /**
156
+ * Get a category by ID.
157
+ */
158
+ async getCategory(categoryId, options) {
159
+ let endpoint = `/api/workflow/categories/${categoryId}`;
160
+ if (options?.includeWorkflows) {
161
+ endpoint += '?include_workflows=true';
162
+ }
163
+ return this.client.request({
164
+ endpoint,
165
+ method: 'GET',
166
+ useGateway: true,
167
+ });
168
+ }
169
+ /**
170
+ * List categories.
171
+ */
172
+ async listCategories(options) {
173
+ const body = {
174
+ limit: options?.limit ?? 100,
175
+ offset: options?.offset ?? 0,
176
+ };
177
+ if (options?.tenantSlug)
178
+ body.tenant_slug = options.tenantSlug;
179
+ const result = await this.client.request({
180
+ endpoint: '/api/workflow/categories/list',
181
+ method: 'POST',
182
+ body,
183
+ useGateway: true,
184
+ });
185
+ if (Array.isArray(result))
186
+ return result;
187
+ return result.categories ?? [];
188
+ }
189
+ /**
190
+ * Delete a category.
191
+ */
192
+ async deleteCategory(categoryId) {
193
+ return this.client.request({
194
+ endpoint: `/api/workflow/categories/${categoryId}`,
195
+ method: 'DELETE',
196
+ useGateway: true,
197
+ });
198
+ }
199
+ /**
200
+ * Add a workflow to a category.
201
+ */
202
+ async addToCategory(categoryId, workflowId, position) {
203
+ const body = { workflow_id: workflowId };
204
+ if (position !== undefined)
205
+ body.position = position;
206
+ return this.client.request({
207
+ endpoint: `/api/workflow/categories/${categoryId}/workflows`,
208
+ method: 'POST',
209
+ body,
210
+ useGateway: true,
211
+ });
212
+ }
213
+ /**
214
+ * Remove a workflow from a category.
215
+ */
216
+ async removeFromCategory(categoryId, workflowId) {
217
+ return this.client.request({
218
+ endpoint: `/api/workflow/categories/${categoryId}/workflows/${workflowId}`,
219
+ method: 'DELETE',
220
+ useGateway: true,
221
+ });
222
+ }
223
+ /**
224
+ * Reorder workflows in a category.
225
+ */
226
+ async reorderCategory(categoryId, workflowOrder) {
227
+ return this.client.request({
228
+ endpoint: `/api/workflow/categories/${categoryId}/reorder`,
229
+ method: 'POST',
230
+ body: { workflow_order: workflowOrder },
231
+ useGateway: true,
232
+ });
233
+ }
234
+ // ========================================
235
+ // Templates
236
+ // ========================================
237
+ /**
238
+ * List available templates.
239
+ */
240
+ async listTemplates() {
241
+ const result = await this.client.request({
242
+ endpoint: '/api/workflow/templates',
243
+ method: 'GET',
244
+ useGateway: true,
245
+ });
246
+ if (Array.isArray(result))
247
+ return result;
248
+ return result.templates ?? [];
249
+ }
250
+ /**
251
+ * Get a template by ID.
252
+ */
253
+ async getTemplate(templateId, options) {
254
+ let endpoint = `/api/workflow/templates/${templateId}`;
255
+ if (options?.includeContent) {
256
+ endpoint += '?include_content=true';
257
+ }
258
+ return this.client.request({
259
+ endpoint,
260
+ method: 'GET',
261
+ useGateway: true,
262
+ });
263
+ }
264
+ /**
265
+ * Copy a template to create a new workflow.
266
+ */
267
+ async copyTemplate(templateId, options) {
268
+ const body = {};
269
+ if (options?.name)
270
+ body.name = options.name;
271
+ if (options?.tenantSlug)
272
+ body.tenant_slug = options.tenantSlug;
273
+ return this.client.request({
274
+ endpoint: `/api/workflow/templates/${templateId}/copy`,
275
+ method: 'POST',
276
+ body,
277
+ useGateway: true,
278
+ });
279
+ }
280
+ // ========================================
281
+ // Execution
282
+ // ========================================
283
+ /**
284
+ * Execute a workflow synchronously.
285
+ */
286
+ async execute(workflowId, context) {
287
+ const body = {
288
+ workflow_id: workflowId,
289
+ async_mode: false,
290
+ };
291
+ if (context)
292
+ body.context = context;
293
+ return this.client.request({
294
+ endpoint: '/api/workflow/execute/workflow',
295
+ method: 'POST',
296
+ body,
297
+ useGateway: true,
298
+ });
299
+ }
300
+ /**
301
+ * Execute a workflow asynchronously.
302
+ */
303
+ async executeAsync(workflowId, options) {
304
+ const body = {
305
+ workflow_id: workflowId,
306
+ async_mode: true,
307
+ };
308
+ if (options?.context)
309
+ body.context = options.context;
310
+ if (options?.callbackUrl)
311
+ body.callback_url = options.callbackUrl;
312
+ return this.client.request({
313
+ endpoint: '/api/workflow/execute/workflow',
314
+ method: 'POST',
315
+ body,
316
+ useGateway: true,
317
+ });
318
+ }
319
+ /**
320
+ * Execute a category/pipeline (all workflows in sequence).
321
+ * Categories always execute asynchronously.
322
+ */
323
+ async executeCategory(categoryId, options) {
324
+ const body = { category_id: categoryId };
325
+ if (options?.context)
326
+ body.context = options.context;
327
+ if (options?.callbackUrl)
328
+ body.callback_url = options.callbackUrl;
329
+ return this.client.request({
330
+ endpoint: '/api/workflow/execute/category',
331
+ method: 'POST',
332
+ body,
333
+ useGateway: true,
334
+ });
335
+ }
336
+ // ========================================
337
+ // Admin Operations
338
+ // ========================================
339
+ /**
340
+ * Seed workflow storage with base templates and builtin tools.
341
+ * Safe to call multiple times - uses deterministic IDs.
342
+ */
343
+ async seed(options) {
344
+ const body = {};
345
+ if (options?.force)
346
+ body.force = options.force;
347
+ return this.client.request({
348
+ endpoint: '/api/workflow/admin/seed',
349
+ method: 'POST',
350
+ body,
351
+ useGateway: true,
352
+ });
353
+ }
354
+ /**
355
+ * Factory reset all workflow data - deletes workflows, tools, and B2 objects.
356
+ * Optionally reseeds with base templates and tools.
357
+ *
358
+ * WARNING: This is a destructive operation. Requires confirm: true.
359
+ */
360
+ async factoryReset(options) {
361
+ if (!options.confirm) {
362
+ throw new Error('Factory reset requires confirm: true');
363
+ }
364
+ return this.client.request({
365
+ endpoint: '/api/workflow/admin/factory-reset',
366
+ method: 'POST',
367
+ body: {
368
+ confirm: options.confirm,
369
+ reseed: options.reseed ?? false,
370
+ },
371
+ useGateway: true,
372
+ });
373
+ }
374
+ // ========================================
375
+ // Tools Management
376
+ // ========================================
377
+ /**
378
+ * List tools in the registry.
379
+ */
380
+ async listTools(options) {
381
+ const params = new URLSearchParams();
382
+ if (options?.tool_type)
383
+ params.set('tool_type', options.tool_type);
384
+ if (options?.tenant_id)
385
+ params.set('tenant_id', options.tenant_id);
386
+ if (options?.is_enabled !== undefined)
387
+ params.set('is_enabled', String(options.is_enabled));
388
+ if (options?.is_builtin !== undefined)
389
+ params.set('is_builtin', String(options.is_builtin));
390
+ if (options?.limit)
391
+ params.set('limit', String(options.limit));
392
+ if (options?.offset)
393
+ params.set('offset', String(options.offset));
394
+ const query = params.toString();
395
+ const endpoint = query ? `/api/workflow/tools?${query}` : '/api/workflow/tools';
396
+ const result = await this.client.request({
397
+ endpoint,
398
+ method: 'GET',
399
+ useGateway: true,
400
+ });
401
+ return result.tools ?? [];
402
+ }
403
+ /**
404
+ * Get a tool by ID.
405
+ */
406
+ async getTool(toolId) {
407
+ return this.client.request({
408
+ endpoint: `/api/workflow/tools/${toolId}`,
409
+ method: 'GET',
410
+ useGateway: true,
411
+ });
412
+ }
413
+ /**
414
+ * Register a new tool.
415
+ */
416
+ async registerTool(options) {
417
+ const body = {
418
+ slug: options.slug,
419
+ name: options.name,
420
+ tool_type: options.tool_type,
421
+ };
422
+ if (options.description)
423
+ body.description = options.description;
424
+ if (options.tenant_id)
425
+ body.tenant_id = options.tenant_id;
426
+ if (options.definition)
427
+ body.definition = options.definition;
428
+ if (options.input_schema)
429
+ body.input_schema = options.input_schema;
430
+ if (options.output_schema)
431
+ body.output_schema = options.output_schema;
432
+ if (options.endpoint_url)
433
+ body.endpoint_url = options.endpoint_url;
434
+ if (options.http_method)
435
+ body.http_method = options.http_method;
436
+ if (options.http_headers)
437
+ body.http_headers = options.http_headers;
438
+ if (options.forward_jwt !== undefined)
439
+ body.forward_jwt = options.forward_jwt;
440
+ if (options.timeout_seconds !== undefined)
441
+ body.timeout_seconds = options.timeout_seconds;
442
+ if (options.is_enabled !== undefined)
443
+ body.is_enabled = options.is_enabled;
444
+ return this.client.request({
445
+ endpoint: '/api/workflow/tools',
446
+ method: 'POST',
447
+ body,
448
+ useGateway: true,
449
+ });
450
+ }
451
+ /**
452
+ * Update a tool. Builtin tools cannot be modified.
453
+ */
454
+ async updateTool(toolId, options) {
455
+ const body = {};
456
+ if (options.name !== undefined)
457
+ body.name = options.name;
458
+ if (options.description !== undefined)
459
+ body.description = options.description;
460
+ if (options.definition !== undefined)
461
+ body.definition = options.definition;
462
+ if (options.input_schema !== undefined)
463
+ body.input_schema = options.input_schema;
464
+ if (options.output_schema !== undefined)
465
+ body.output_schema = options.output_schema;
466
+ if (options.endpoint_url !== undefined)
467
+ body.endpoint_url = options.endpoint_url;
468
+ if (options.http_method !== undefined)
469
+ body.http_method = options.http_method;
470
+ if (options.http_headers !== undefined)
471
+ body.http_headers = options.http_headers;
472
+ if (options.forward_jwt !== undefined)
473
+ body.forward_jwt = options.forward_jwt;
474
+ if (options.timeout_seconds !== undefined)
475
+ body.timeout_seconds = options.timeout_seconds;
476
+ return this.client.request({
477
+ endpoint: `/api/workflow/tools/${toolId}`,
478
+ method: 'PUT',
479
+ body,
480
+ useGateway: true,
481
+ });
482
+ }
483
+ /**
484
+ * Delete a tool. Builtin tools cannot be deleted.
485
+ */
486
+ async deleteTool(toolId) {
487
+ return this.client.request({
488
+ endpoint: `/api/workflow/tools/${toolId}`,
489
+ method: 'DELETE',
490
+ useGateway: true,
491
+ });
492
+ }
493
+ /**
494
+ * Enable a tool.
495
+ */
496
+ async enableTool(toolId) {
497
+ return this.client.request({
498
+ endpoint: `/api/workflow/tools/${toolId}/enable`,
499
+ method: 'POST',
500
+ useGateway: true,
501
+ });
502
+ }
503
+ /**
504
+ * Disable a tool.
505
+ */
506
+ async disableTool(toolId) {
507
+ return this.client.request({
508
+ endpoint: `/api/workflow/tools/${toolId}/disable`,
509
+ method: 'POST',
510
+ useGateway: true,
511
+ });
512
+ }
513
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C,eAAe,GAAG,OAAO,CAAC,eAAe,CAAC;QAE1F,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC;YACzB,QAAQ,EAAE,uBAAuB,MAAM,EAAE;YACzC,MAAM,EAAE,KAAK;YACb,IAAI;YACJ,UAAU,EAAE,IAAI;SACjB,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,UAAU,CAAC,MAAc;QAC7B,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC;YACzB,QAAQ,EAAE,uBAAuB,MAAM,EAAE;YACzC,MAAM,EAAE,QAAQ;YAChB,UAAU,EAAE,IAAI;SACjB,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,UAAU,CAAC,MAAc;QAC7B,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC;YACzB,QAAQ,EAAE,uBAAuB,MAAM,SAAS;YAChD,MAAM,EAAE,MAAM;YACd,UAAU,EAAE,IAAI;SACjB,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,WAAW,CAAC,MAAc;QAC9B,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC;YACzB,QAAQ,EAAE,uBAAuB,MAAM,UAAU;YACjD,MAAM,EAAE,MAAM;YACd,UAAU,EAAE,IAAI;SACjB,CAAC,CAAC;IACL,CAAC;CACF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dominus-sdk-nodejs",
3
- "version": "1.9.2",
3
+ "version": "1.11.0",
4
4
  "description": "Node.js SDK for the Dominus Orchestrator Platform",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -41,6 +41,6 @@
41
41
  "files": [
42
42
  "dist",
43
43
  "README.md",
44
- "LLM-GUIDE.md"
44
+ "docs"
45
45
  ]
46
46
  }