@ai-matrx/api 0.1.24 → 0.1.26
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.
- package/CHANGELOG.md +10 -1
- package/dist/account.d.cts +2 -2
- package/dist/account.d.ts +2 -2
- package/dist/agents.cjs +11 -11
- package/dist/agents.d.cts +2 -2
- package/dist/agents.d.ts +2 -2
- package/dist/agents.js +1 -1
- package/dist/ai.cjs +2 -2
- package/dist/ai.d.cts +2 -2
- package/dist/ai.d.ts +2 -2
- package/dist/ai.js +1 -1
- package/dist/apps.cjs +5 -5
- package/dist/apps.d.cts +2 -2
- package/dist/apps.d.ts +2 -2
- package/dist/apps.js +1 -1
- package/dist/architecture.cjs +92 -40
- package/dist/architecture.d.cts +236 -40
- package/dist/architecture.d.ts +236 -40
- package/dist/architecture.js +71 -28
- package/dist/audio.cjs +151 -220
- package/dist/audio.d.cts +2 -2
- package/dist/audio.d.ts +2 -2
- package/dist/audio.js +2 -186
- package/dist/chat.cjs +11 -11
- package/dist/chat.d.cts +2 -2
- package/dist/chat.d.ts +2 -2
- package/dist/chat.js +1 -1
- package/dist/chunk-6GYZDL2H.js +186 -0
- package/dist/chunk-76S6F7O3.cjs +224 -0
- package/dist/{chunk-ZOZOF5DN.cjs → chunk-BHSHMV22.cjs} +1 -1
- package/dist/chunk-G6FXF44G.js +128 -0
- package/dist/{chunk-E3PGCGP7.js → chunk-MFZXWYK6.js} +1 -1
- package/dist/chunk-MKN4EXSQ.cjs +1317 -0
- package/dist/chunk-OVQM6CSX.cjs +154 -0
- package/dist/chunk-OWI6FDHV.js +1090 -0
- package/dist/code.cjs +6 -6
- package/dist/code.d.cts +5 -4
- package/dist/code.d.ts +5 -4
- package/dist/code.js +1 -1
- package/dist/commerce.d.cts +2 -2
- package/dist/commerce.d.ts +2 -2
- package/dist/communications.cjs +4 -4
- package/dist/communications.d.cts +4 -2
- package/dist/communications.d.ts +4 -2
- package/dist/communications.js +1 -1
- package/dist/computer.cjs +4 -4
- package/dist/computer.d.cts +2 -2
- package/dist/computer.d.ts +2 -2
- package/dist/computer.js +1 -1
- package/dist/content.cjs +10 -4
- package/dist/content.d.cts +14 -3
- package/dist/content.d.ts +14 -3
- package/dist/content.js +7 -2
- package/dist/crm.cjs +2 -2
- package/dist/crm.d.cts +2 -2
- package/dist/crm.d.ts +2 -2
- package/dist/crm.js +1 -1
- package/dist/data.cjs +50 -3
- package/dist/data.d.cts +199 -3
- package/dist/data.d.ts +199 -3
- package/dist/data.js +41 -2
- package/dist/education.cjs +4 -4
- package/dist/education.d.cts +2 -2
- package/dist/education.d.ts +2 -2
- package/dist/education.js +1 -1
- package/dist/files.cjs +907 -1330
- package/dist/files.d.cts +36 -104
- package/dist/files.d.ts +36 -104
- package/dist/files.js +2 -1107
- package/dist/human-resources.d.cts +2 -2
- package/dist/human-resources.d.ts +2 -2
- package/dist/{index-BgjdVvrS.d.cts → index-DseWSnYe.d.cts} +2 -2
- package/dist/{index-BgjdVvrS.d.ts → index-DseWSnYe.d.ts} +2 -2
- package/dist/index.cjs +62 -58
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +7 -3
- package/dist/integrations.cjs +51 -5
- package/dist/integrations.d.cts +136 -4
- package/dist/integrations.d.ts +136 -4
- package/dist/integrations.js +42 -4
- package/dist/intelligence.cjs +6 -6
- package/dist/intelligence.d.cts +2 -2
- package/dist/intelligence.d.ts +2 -2
- package/dist/intelligence.js +1 -1
- package/dist/knowledge.cjs +42 -42
- package/dist/knowledge.d.cts +3 -3
- package/dist/knowledge.d.ts +3 -3
- package/dist/knowledge.js +1 -1
- package/dist/legal.cjs +6 -6
- package/dist/legal.d.cts +2 -2
- package/dist/legal.d.ts +2 -2
- package/dist/legal.js +1 -1
- package/dist/marketing.cjs +97 -81
- package/dist/marketing.d.cts +81 -8
- package/dist/marketing.d.ts +81 -8
- package/dist/marketing.js +19 -6
- package/dist/masterwork.cjs +32 -32
- package/dist/masterwork.d.cts +2 -2
- package/dist/masterwork.d.ts +2 -2
- package/dist/masterwork.js +1 -1
- package/dist/media.cjs +11 -11
- package/dist/media.d.cts +9 -9
- package/dist/media.d.ts +9 -9
- package/dist/media.js +1 -1
- package/dist/platform.cjs +103 -150
- package/dist/platform.d.cts +2 -2
- package/dist/platform.d.ts +2 -2
- package/dist/platform.js +2 -128
- package/dist/publish.cjs +7 -7
- package/dist/publish.d.cts +2 -2
- package/dist/publish.d.ts +2 -2
- package/dist/publish.js +1 -1
- package/dist/recording.cjs +278 -0
- package/dist/recording.d.cts +44 -0
- package/dist/recording.d.ts +44 -0
- package/dist/recording.js +275 -0
- package/dist/schemas.d.cts +4 -1
- package/dist/schemas.d.ts +4 -1
- package/dist/stream.cjs +10 -10
- package/dist/stream.d.cts +1 -1
- package/dist/stream.d.ts +1 -1
- package/dist/stream.js +1 -1
- package/dist/types.d.cts +735 -32
- package/dist/types.d.ts +735 -32
- package/dist/web.cjs +26 -26
- package/dist/web.d.cts +2 -2
- package/dist/web.d.ts +2 -2
- package/dist/web.js +1 -1
- package/dist/workflows.cjs +32 -14
- package/dist/workflows.d.cts +132 -40
- package/dist/workflows.d.ts +132 -40
- package/dist/workflows.js +18 -3
- package/package.json +14 -3
package/dist/web.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkBHSHMV22_cjs = require('./chunk-BHSHMV22.cjs');
|
|
4
4
|
require('./chunk-2SXAAKGV.cjs');
|
|
5
5
|
|
|
6
6
|
// src/generated/web.ts
|
|
@@ -66,19 +66,19 @@ function browserInspect(api, args, options) {
|
|
|
66
66
|
}
|
|
67
67
|
var $quickScrape = { m: "POST", p: "/scraper/quick-scrape", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "web.quick_scrape" };
|
|
68
68
|
function quickScrape(api, args, options) {
|
|
69
|
-
return
|
|
69
|
+
return chunkBHSHMV22_cjs.openStream(api, $quickScrape, args, options);
|
|
70
70
|
}
|
|
71
71
|
var $searchKeywords = { m: "POST", p: "/scraper/search", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "web.search_keywords" };
|
|
72
72
|
function searchKeywords(api, args, options) {
|
|
73
|
-
return
|
|
73
|
+
return chunkBHSHMV22_cjs.openStream(api, $searchKeywords, args, options);
|
|
74
74
|
}
|
|
75
75
|
var $searchAndScrape = { m: "POST", p: "/scraper/search-and-scrape", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "web.search_and_scrape" };
|
|
76
76
|
function searchAndScrape(api, args, options) {
|
|
77
|
-
return
|
|
77
|
+
return chunkBHSHMV22_cjs.openStream(api, $searchAndScrape, args, options);
|
|
78
78
|
}
|
|
79
79
|
var $searchAndScrapeLimited = { m: "POST", p: "/scraper/search-and-scrape-limited", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "web.search_and_scrape_limited" };
|
|
80
80
|
function searchAndScrapeLimited(api, args, options) {
|
|
81
|
-
return
|
|
81
|
+
return chunkBHSHMV22_cjs.openStream(api, $searchAndScrapeLimited, args, options);
|
|
82
82
|
}
|
|
83
83
|
var $batchScrape = { m: "POST", p: "/scraper/batch", d: "aidream", a: "guest", o: "required", n: "web.batch_scrape" };
|
|
84
84
|
function batchScrape(api, args, options) {
|
|
@@ -290,7 +290,7 @@ function browserRuntimeStatus(api, args, options) {
|
|
|
290
290
|
}
|
|
291
291
|
var $installBrowserRuntime = { m: "POST", p: "/browser-runtime/install", d: "matrx-local", a: "loopback_open", o: "exempt", s: "sse", n: "web.install_browser_runtime" };
|
|
292
292
|
function installBrowserRuntime(api, args, options) {
|
|
293
|
-
return
|
|
293
|
+
return chunkBHSHMV22_cjs.openStream(api, $installBrowserRuntime, args, options);
|
|
294
294
|
}
|
|
295
295
|
var $remoteScraperStatus = { m: "GET", p: "/remote-scraper/status", d: "matrx-local", a: "public", o: "exempt", n: "web.remote_scraper_status" };
|
|
296
296
|
function remoteScraperStatus(api, args, options) {
|
|
@@ -302,7 +302,7 @@ function remoteScrape(api, args, options) {
|
|
|
302
302
|
}
|
|
303
303
|
var $remoteScrapeStream = { m: "POST", p: "/remote-scraper/scrape/stream", d: "matrx-local", a: "loopback_token", o: "exempt", s: "sse", n: "web.remote_scrape_stream" };
|
|
304
304
|
function remoteScrapeStream(api, args, options) {
|
|
305
|
-
return
|
|
305
|
+
return chunkBHSHMV22_cjs.openStream(api, $remoteScrapeStream, args, options);
|
|
306
306
|
}
|
|
307
307
|
var $remoteSearch = { m: "POST", p: "/remote-scraper/search", d: "matrx-local", a: "loopback_token", o: "exempt", n: "web.remote_search" };
|
|
308
308
|
function remoteSearch(api, args, options) {
|
|
@@ -314,7 +314,7 @@ function remoteSearchAndScrape(api, args, options) {
|
|
|
314
314
|
}
|
|
315
315
|
var $remoteSearchAndScrapeStream = { m: "POST", p: "/remote-scraper/search-and-scrape/stream", d: "matrx-local", a: "loopback_token", o: "exempt", s: "sse", n: "web.remote_search_and_scrape_stream" };
|
|
316
316
|
function remoteSearchAndScrapeStream(api, args, options) {
|
|
317
|
-
return
|
|
317
|
+
return chunkBHSHMV22_cjs.openStream(api, $remoteSearchAndScrapeStream, args, options);
|
|
318
318
|
}
|
|
319
319
|
var $remoteResearch = { m: "POST", p: "/remote-scraper/research", d: "matrx-local", a: "loopback_token", o: "exempt", n: "web.remote_research" };
|
|
320
320
|
function remoteResearch(api, args, options) {
|
|
@@ -322,7 +322,7 @@ function remoteResearch(api, args, options) {
|
|
|
322
322
|
}
|
|
323
323
|
var $remoteResearchStream = { m: "POST", p: "/remote-scraper/research/stream", d: "matrx-local", a: "loopback_token", o: "exempt", s: "sse", n: "web.remote_research_stream" };
|
|
324
324
|
function remoteResearchStream(api, args, options) {
|
|
325
|
-
return
|
|
325
|
+
return chunkBHSHMV22_cjs.openStream(api, $remoteResearchStream, args, options);
|
|
326
326
|
}
|
|
327
327
|
var $saveContent = { m: "POST", p: "/remote-scraper/content/save", d: "matrx-local", a: "loopback_token", o: "exempt", n: "web.save_content" };
|
|
328
328
|
function saveContent(api, args, options) {
|
|
@@ -466,19 +466,19 @@ function browserInspectOnScraper(api, args, options) {
|
|
|
466
466
|
}
|
|
467
467
|
var $quickScrapeOnScraper = { m: "POST", p: "/api/scraper/quick-scrape", d: "scraper", a: "user", o: "required", s: "ndjson", n: "web.quick_scrape" };
|
|
468
468
|
function quickScrapeOnScraper(api, args, options) {
|
|
469
|
-
return
|
|
469
|
+
return chunkBHSHMV22_cjs.openStream(api, $quickScrapeOnScraper, args, options);
|
|
470
470
|
}
|
|
471
471
|
var $searchKeywordsOnScraper = { m: "POST", p: "/api/scraper/search", d: "scraper", a: "user", o: "required", s: "ndjson", n: "web.search_keywords" };
|
|
472
472
|
function searchKeywordsOnScraper(api, args, options) {
|
|
473
|
-
return
|
|
473
|
+
return chunkBHSHMV22_cjs.openStream(api, $searchKeywordsOnScraper, args, options);
|
|
474
474
|
}
|
|
475
475
|
var $searchAndScrapeOnScraper = { m: "POST", p: "/api/scraper/search-and-scrape", d: "scraper", a: "user", o: "required", s: "ndjson", n: "web.search_and_scrape" };
|
|
476
476
|
function searchAndScrapeOnScraper(api, args, options) {
|
|
477
|
-
return
|
|
477
|
+
return chunkBHSHMV22_cjs.openStream(api, $searchAndScrapeOnScraper, args, options);
|
|
478
478
|
}
|
|
479
479
|
var $searchAndScrapeLimitedOnScraper = { m: "POST", p: "/api/scraper/search-and-scrape-limited", d: "scraper", a: "user", o: "required", s: "ndjson", n: "web.search_and_scrape_limited" };
|
|
480
480
|
function searchAndScrapeLimitedOnScraper(api, args, options) {
|
|
481
|
-
return
|
|
481
|
+
return chunkBHSHMV22_cjs.openStream(api, $searchAndScrapeLimitedOnScraper, args, options);
|
|
482
482
|
}
|
|
483
483
|
var $batchScrapeOnScraper = { m: "POST", p: "/api/scraper/batch", d: "scraper", a: "user", o: "required", n: "web.batch_scrape" };
|
|
484
484
|
function batchScrapeOnScraper(api, args, options) {
|
|
@@ -590,51 +590,51 @@ function preview(api, args, options) {
|
|
|
590
590
|
}
|
|
591
591
|
var $startCrawl = { m: "POST", p: "/api/scraper/crawler/sites/{site_id}/sessions", d: "scraper", a: "user", o: "required", s: "ndjson", n: "web.start_crawl" };
|
|
592
592
|
function startCrawl(api, args, options) {
|
|
593
|
-
return
|
|
593
|
+
return chunkBHSHMV22_cjs.openStream(api, $startCrawl, args, options);
|
|
594
594
|
}
|
|
595
595
|
var $resumeCrawl = { m: "POST", p: "/api/scraper/crawler/sessions/{session_id}/resume", d: "scraper", a: "user", o: "required", s: "ndjson", n: "web.resume_crawl" };
|
|
596
596
|
function resumeCrawl(api, args, options) {
|
|
597
|
-
return
|
|
597
|
+
return chunkBHSHMV22_cjs.openStream(api, $resumeCrawl, args, options);
|
|
598
598
|
}
|
|
599
599
|
var $bootstrapSite = { m: "POST", p: "/api/scraper/crawler/sites/{site_id}/bootstrap", d: "scraper", a: "user", o: "required", s: "ndjson", n: "web.bootstrap_site" };
|
|
600
600
|
function bootstrapSite(api, args, options) {
|
|
601
|
-
return
|
|
601
|
+
return chunkBHSHMV22_cjs.openStream(api, $bootstrapSite, args, options);
|
|
602
602
|
}
|
|
603
603
|
var $fetchPage = { m: "POST", p: "/api/scraper/crawler/sites/{site_id}/pages/fetch", d: "scraper", a: "user", o: "required", s: "ndjson", n: "web.fetch_page" };
|
|
604
604
|
function fetchPage(api, args, options) {
|
|
605
|
-
return
|
|
605
|
+
return chunkBHSHMV22_cjs.openStream(api, $fetchPage, args, options);
|
|
606
606
|
}
|
|
607
607
|
var $initializeSite = { m: "POST", p: "/api/scraper/crawler/sites/{site_id}/initialize", d: "scraper", a: "user", o: "required", s: "ndjson", n: "web.initialize_site" };
|
|
608
608
|
function initializeSite(api, args, options) {
|
|
609
|
-
return
|
|
609
|
+
return chunkBHSHMV22_cjs.openStream(api, $initializeSite, args, options);
|
|
610
610
|
}
|
|
611
611
|
var $syncSitemaps = { m: "POST", p: "/api/scraper/crawler/sites/{site_id}/sitemaps/sync", d: "scraper", a: "user", o: "required", s: "ndjson", n: "web.sync_sitemaps" };
|
|
612
612
|
function syncSitemaps(api, args, options) {
|
|
613
|
-
return
|
|
613
|
+
return chunkBHSHMV22_cjs.openStream(api, $syncSitemaps, args, options);
|
|
614
614
|
}
|
|
615
615
|
var $syncGsc = { m: "POST", p: "/api/scraper/crawler/sites/{site_id}/gsc/sync", d: "scraper", a: "user", o: "required", s: "ndjson", n: "web.sync_gsc" };
|
|
616
616
|
function syncGsc(api, args, options) {
|
|
617
|
-
return
|
|
617
|
+
return chunkBHSHMV22_cjs.openStream(api, $syncGsc, args, options);
|
|
618
618
|
}
|
|
619
619
|
var $resolveLinks = { m: "POST", p: "/api/scraper/crawler/sites/{site_id}/links/resolve", d: "scraper", a: "user", o: "required", s: "ndjson", n: "web.resolve_links" };
|
|
620
620
|
function resolveLinks(api, args, options) {
|
|
621
|
-
return
|
|
621
|
+
return chunkBHSHMV22_cjs.openStream(api, $resolveLinks, args, options);
|
|
622
622
|
}
|
|
623
623
|
var $scoreLinks = { m: "POST", p: "/api/scraper/crawler/sites/{site_id}/links/score", d: "scraper", a: "user", o: "required", s: "ndjson", n: "web.score_links" };
|
|
624
624
|
function scoreLinks(api, args, options) {
|
|
625
|
-
return
|
|
625
|
+
return chunkBHSHMV22_cjs.openStream(api, $scoreLinks, args, options);
|
|
626
626
|
}
|
|
627
627
|
var $reconcileUrls = { m: "POST", p: "/api/scraper/crawler/sites/{site_id}/urls/reconcile", d: "scraper", a: "user", o: "required", s: "ndjson", n: "web.reconcile_urls" };
|
|
628
628
|
function reconcileUrls(api, args, options) {
|
|
629
|
-
return
|
|
629
|
+
return chunkBHSHMV22_cjs.openStream(api, $reconcileUrls, args, options);
|
|
630
630
|
}
|
|
631
631
|
var $checkLinks = { m: "POST", p: "/api/scraper/crawler/sites/{site_id}/links/check", d: "scraper", a: "user", o: "required", s: "ndjson", n: "web.check_links" };
|
|
632
632
|
function checkLinks(api, args, options) {
|
|
633
|
-
return
|
|
633
|
+
return chunkBHSHMV22_cjs.openStream(api, $checkLinks, args, options);
|
|
634
634
|
}
|
|
635
635
|
var $analyzeSite = { m: "POST", p: "/api/scraper/crawler/sites/{site_id}/analyze", d: "scraper", a: "user", o: "required", s: "ndjson", n: "web.analyze_site" };
|
|
636
636
|
function analyzeSite(api, args, options) {
|
|
637
|
-
return
|
|
637
|
+
return chunkBHSHMV22_cjs.openStream(api, $analyzeSite, args, options);
|
|
638
638
|
}
|
|
639
639
|
var $cancelCrawl = { m: "POST", p: "/api/scraper/crawler/sessions/{session_id}/cancel", d: "scraper", a: "user", o: "required", n: "web.cancel_crawl" };
|
|
640
640
|
function cancelCrawl(api, args, options) {
|
|
@@ -694,7 +694,7 @@ function previewRecrawlConfig(api, args, options) {
|
|
|
694
694
|
}
|
|
695
695
|
var $rescrapeSite = { m: "POST", p: "/api/scraper/crawler/sites/{site_id}/rescrape", d: "scraper", a: "user", o: "required", s: "ndjson", n: "web.rescrape_site" };
|
|
696
696
|
function rescrapeSite(api, args, options) {
|
|
697
|
-
return
|
|
697
|
+
return chunkBHSHMV22_cjs.openStream(api, $rescrapeSite, args, options);
|
|
698
698
|
}
|
|
699
699
|
var $healthOnScraper = { m: "GET", p: "/health", d: "scraper", a: "public", o: "exempt", n: "web.health" };
|
|
700
700
|
function healthOnScraper(api, args, options) {
|
package/dist/web.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent, S as SseEvent } from './index-
|
|
1
|
+
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent, S as SseEvent } from './index-DseWSnYe.cjs';
|
|
2
2
|
import { JsonValue } from './schemas.cjs';
|
|
3
3
|
import '@ai-matrx/auth/credentials';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* GENERATED by @ai-matrx/api scripts/generate.mjs from aidream/api-contract — never edit by hand.
|
|
7
|
-
* CONTRACT_SHA256
|
|
7
|
+
* CONTRACT_SHA256 ed1fe1df59e1acd74be297d45d5b1b9f1bb7a637bdc54c53928db1f876875ce9
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/** ActionEventFacts */
|
package/dist/web.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent, S as SseEvent } from './index-
|
|
1
|
+
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent, S as SseEvent } from './index-DseWSnYe.js';
|
|
2
2
|
import { JsonValue } from './schemas.js';
|
|
3
3
|
import '@ai-matrx/auth/credentials';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* GENERATED by @ai-matrx/api scripts/generate.mjs from aidream/api-contract — never edit by hand.
|
|
7
|
-
* CONTRACT_SHA256
|
|
7
|
+
* CONTRACT_SHA256 ed1fe1df59e1acd74be297d45d5b1b9f1bb7a637bdc54c53928db1f876875ce9
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/** ActionEventFacts */
|
package/dist/web.js
CHANGED
package/dist/workflows.cjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkBHSHMV22_cjs = require('./chunk-BHSHMV22.cjs');
|
|
4
4
|
require('./chunk-2SXAAKGV.cjs');
|
|
5
5
|
|
|
6
6
|
// src/generated/workflows.ts
|
|
7
7
|
var $runAssignments = { m: "POST", p: "/ai/agent-assignments", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "workflows.run_assignments" };
|
|
8
8
|
function runAssignments(api, args, options) {
|
|
9
|
-
return
|
|
9
|
+
return chunkBHSHMV22_cjs.openStream(api, $runAssignments, args, options);
|
|
10
10
|
}
|
|
11
11
|
var $getSession = { m: "GET", p: "/ai/agent-assignments/sessions/{session_id}", d: "aidream", a: "guest", o: "required", n: "workflows.get_session" };
|
|
12
12
|
function getSession(api, args, options) {
|
|
@@ -130,7 +130,7 @@ function validateWorkflow(api, args, options) {
|
|
|
130
130
|
}
|
|
131
131
|
var $testSingleNode = { m: "POST", p: "/workflows/{definition_id}/nodes/{node_id}/test", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "workflows.test_single_node" };
|
|
132
132
|
function testSingleNode(api, args, options) {
|
|
133
|
-
return
|
|
133
|
+
return chunkBHSHMV22_cjs.openStream(api, $testSingleNode, args, options);
|
|
134
134
|
}
|
|
135
135
|
var $getNodeDataSlots = { m: "GET", p: "/workflows/{definition_id}/nodes/{node_id}/slots", d: "aidream", a: "guest", o: "optional", n: "workflows.get_node_data_slots" };
|
|
136
136
|
function getNodeDataSlots(api, args, options) {
|
|
@@ -210,11 +210,11 @@ function listRunsForWorkflow(api, args, options) {
|
|
|
210
210
|
}
|
|
211
211
|
var $startWorkflowRun = { m: "POST", p: "/workflows/{definition_id}/runs", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "workflows.start_workflow_run" };
|
|
212
212
|
function startWorkflowRun(api, args, options) {
|
|
213
|
-
return
|
|
213
|
+
return chunkBHSHMV22_cjs.openStream(api, $startWorkflowRun, args, options);
|
|
214
214
|
}
|
|
215
215
|
var $resumeWorkflowRun = { m: "POST", p: "/runs/{run_id}/resume", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "workflows.resume_workflow_run" };
|
|
216
216
|
function resumeWorkflowRun(api, args, options) {
|
|
217
|
-
return
|
|
217
|
+
return chunkBHSHMV22_cjs.openStream(api, $resumeWorkflowRun, args, options);
|
|
218
218
|
}
|
|
219
219
|
var $listRuns = { m: "GET", p: "/runs", d: "aidream", a: "guest", o: "optional", n: "workflows.list_runs" };
|
|
220
220
|
function listRuns(api, args, options) {
|
|
@@ -222,7 +222,7 @@ function listRuns(api, args, options) {
|
|
|
222
222
|
}
|
|
223
223
|
var $streamRunAnnouncements = { m: "GET", p: "/runs/stream", d: "aidream", a: "guest", o: "optional", s: "sse", n: "workflows.stream_run_announcements" };
|
|
224
224
|
function streamRunAnnouncements(api, args, options) {
|
|
225
|
-
return
|
|
225
|
+
return chunkBHSHMV22_cjs.openStream(api, $streamRunAnnouncements, args, options);
|
|
226
226
|
}
|
|
227
227
|
var $listOpenGatesEndpoint = { m: "GET", p: "/runs/gates", d: "aidream", a: "guest", o: "optional", n: "workflows.list_open_gates_endpoint" };
|
|
228
228
|
function listOpenGatesEndpoint(api, args, options) {
|
|
@@ -246,7 +246,7 @@ function pauseRun(api, args, options) {
|
|
|
246
246
|
}
|
|
247
247
|
var $resumePausedRun = { m: "POST", p: "/runs/{run_id}/resume-paused", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "workflows.resume_paused_run" };
|
|
248
248
|
function resumePausedRun(api, args, options) {
|
|
249
|
-
return
|
|
249
|
+
return chunkBHSHMV22_cjs.openStream(api, $resumePausedRun, args, options);
|
|
250
250
|
}
|
|
251
251
|
var $injectRun = { m: "POST", p: "/runs/{run_id}/inject", d: "aidream", a: "guest", o: "required", n: "workflows.inject_run" };
|
|
252
252
|
function injectRun(api, args, options) {
|
|
@@ -294,7 +294,7 @@ function streamRunEvents(api, args, options) {
|
|
|
294
294
|
}
|
|
295
295
|
var $streamRunDebug = { m: "GET", p: "/runs/{run_id}/stream/debug", d: "aidream", a: "guest", o: "optional", s: "sse", n: "workflows.stream_run_debug" };
|
|
296
296
|
function streamRunDebug(api, args, options) {
|
|
297
|
-
return
|
|
297
|
+
return chunkBHSHMV22_cjs.openStream(api, $streamRunDebug, args, options);
|
|
298
298
|
}
|
|
299
299
|
var $listRunEvents = { m: "GET", p: "/runs/{run_id}/events", d: "aidream", a: "guest", o: "optional", n: "workflows.list_run_events" };
|
|
300
300
|
function listRunEvents(api, args, options) {
|
|
@@ -350,7 +350,7 @@ function getSystemRun(api, args, options) {
|
|
|
350
350
|
}
|
|
351
351
|
var $startSystemRun = { m: "POST", p: "/workflows/system/{key}/runs", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "workflows.start_system_run" };
|
|
352
352
|
function startSystemRun(api, args, options) {
|
|
353
|
-
return
|
|
353
|
+
return chunkBHSHMV22_cjs.openStream(api, $startSystemRun, args, options);
|
|
354
354
|
}
|
|
355
355
|
var $createBuilderWorkflow = { m: "POST", p: "/workflow-builder/workflows", d: "aidream", a: "guest", o: "required", n: "workflows.create_builder_workflow" };
|
|
356
356
|
function createBuilderWorkflow(api, args, options) {
|
|
@@ -454,7 +454,7 @@ function dissolvePlan(api, args, options) {
|
|
|
454
454
|
}
|
|
455
455
|
var $planAssist = { m: "POST", p: "/plans/{plan_id}/assist", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "workflows.plan_assist" };
|
|
456
456
|
function planAssist(api, args, options) {
|
|
457
|
-
return
|
|
457
|
+
return chunkBHSHMV22_cjs.openStream(api, $planAssist, args, options);
|
|
458
458
|
}
|
|
459
459
|
var $syncPlanAnchor = { m: "POST", p: "/plans/{plan_id}/sync", d: "aidream", a: "guest", o: "required", n: "workflows.sync_plan_anchor" };
|
|
460
460
|
function syncPlanAnchor(api, args, options) {
|
|
@@ -474,7 +474,7 @@ function applyWorkflowPatchEndpoint(api, args, options) {
|
|
|
474
474
|
}
|
|
475
475
|
var $runSuggestions = { m: "POST", p: "/runs/{run_id}/suggestions", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "workflows.run_suggestions" };
|
|
476
476
|
function runSuggestions(api, args, options) {
|
|
477
|
-
return
|
|
477
|
+
return chunkBHSHMV22_cjs.openStream(api, $runSuggestions, args, options);
|
|
478
478
|
}
|
|
479
479
|
var $getExtractProposal = { m: "GET", p: "/workflows/{definition_id}/extract-proposal", d: "aidream", a: "guest", o: "optional", n: "workflows.get_extract_proposal" };
|
|
480
480
|
function getExtractProposal(api, args, options) {
|
|
@@ -518,11 +518,11 @@ function getPublicWorkflow(api, args, options) {
|
|
|
518
518
|
}
|
|
519
519
|
var $startComparison = { m: "POST", p: "/workflows/comparisons", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "workflows.start_comparison" };
|
|
520
520
|
function startComparison(api, args, options) {
|
|
521
|
-
return
|
|
521
|
+
return chunkBHSHMV22_cjs.openStream(api, $startComparison, args, options);
|
|
522
522
|
}
|
|
523
523
|
var $rerunComparisonArm = { m: "POST", p: "/workflows/comparisons/{comparison_id}/arms/{arm_index}/rerun", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "workflows.rerun_comparison_arm" };
|
|
524
524
|
function rerunComparisonArm(api, args, options) {
|
|
525
|
-
return
|
|
525
|
+
return chunkBHSHMV22_cjs.openStream(api, $rerunComparisonArm, args, options);
|
|
526
526
|
}
|
|
527
527
|
var $validateCron = { m: "POST", p: "/scheduling/validate-cron", d: "aidream", a: "guest", o: "required", n: "workflows.validate_cron" };
|
|
528
528
|
function validateCron(api, args, options) {
|
|
@@ -568,6 +568,18 @@ var $adminRunNow = { m: "POST", p: "/scheduling/admin/run-now/{task_id}", d: "ai
|
|
|
568
568
|
function adminRunNow(api, args, options) {
|
|
569
569
|
return api.call($adminRunNow, args, options);
|
|
570
570
|
}
|
|
571
|
+
var $runAgentOnDevice = { m: "POST", p: "/scheduling/device-runs/{run_id}/agent", d: "aidream", a: "guest", o: "required", n: "workflows.run_agent_on_device" };
|
|
572
|
+
function runAgentOnDevice(api, args, options) {
|
|
573
|
+
return api.call($runAgentOnDevice, args, options);
|
|
574
|
+
}
|
|
575
|
+
var $createDeviceTask = { m: "POST", p: "/scheduling/device-tasks", d: "aidream", a: "guest", o: "required", n: "workflows.create_device_task" };
|
|
576
|
+
function createDeviceTask(api, args, options) {
|
|
577
|
+
return api.call($createDeviceTask, args, options);
|
|
578
|
+
}
|
|
579
|
+
var $updateDeviceTask = { m: "PATCH", p: "/scheduling/device-tasks/{task_id}", d: "aidream", a: "guest", o: "required", n: "workflows.update_device_task" };
|
|
580
|
+
function updateDeviceTask(api, args, options) {
|
|
581
|
+
return api.call($updateDeviceTask, args, options);
|
|
582
|
+
}
|
|
571
583
|
var TABLE = {
|
|
572
584
|
"GET /ai/agent-assignments/sessions/{session_id}": $getSession,
|
|
573
585
|
"POST /ai/agent-assignments/sessions/{session_id}/cancel": $cancelSession,
|
|
@@ -697,7 +709,10 @@ var TABLE = {
|
|
|
697
709
|
"GET /scheduling/admin/db-jobs": $adminListDbJobs,
|
|
698
710
|
"PATCH /scheduling/admin/db-jobs/{jobid}": $adminPatchDbJob,
|
|
699
711
|
"POST /scheduling/admin/force-disable/{task_id}": $adminForceDisable,
|
|
700
|
-
"POST /scheduling/admin/run-now/{task_id}": $adminRunNow
|
|
712
|
+
"POST /scheduling/admin/run-now/{task_id}": $adminRunNow,
|
|
713
|
+
"POST /scheduling/device-runs/{run_id}/agent": $runAgentOnDevice,
|
|
714
|
+
"POST /scheduling/device-tasks": $createDeviceTask,
|
|
715
|
+
"PATCH /scheduling/device-tasks/{task_id}": $updateDeviceTask
|
|
701
716
|
};
|
|
702
717
|
function call(api, key, args, options) {
|
|
703
718
|
return api.call(TABLE[key], args, options);
|
|
@@ -727,6 +742,7 @@ exports.cloneTemplate = cloneTemplate;
|
|
|
727
742
|
exports.computeNextDueAt = computeNextDueAt;
|
|
728
743
|
exports.contractAudit = contractAudit;
|
|
729
744
|
exports.createBuilderWorkflow = createBuilderWorkflow;
|
|
745
|
+
exports.createDeviceTask = createDeviceTask;
|
|
730
746
|
exports.createPlan = createPlan;
|
|
731
747
|
exports.createTrigger = createTrigger;
|
|
732
748
|
exports.createWorkflow = createWorkflow;
|
|
@@ -811,6 +827,7 @@ exports.resumeErroredRun = resumeErroredRun;
|
|
|
811
827
|
exports.resumePausedRun = resumePausedRun;
|
|
812
828
|
exports.resumeWorkflowRun = resumeWorkflowRun;
|
|
813
829
|
exports.retryNode = retryNode;
|
|
830
|
+
exports.runAgentOnDevice = runAgentOnDevice;
|
|
814
831
|
exports.runAssignments = runAssignments;
|
|
815
832
|
exports.runNow = runNow;
|
|
816
833
|
exports.runSuggestions = runSuggestions;
|
|
@@ -841,6 +858,7 @@ exports.testSpawnDetached = testSpawnDetached;
|
|
|
841
858
|
exports.turnBuilderWorkflowOff = turnBuilderWorkflowOff;
|
|
842
859
|
exports.turnBuilderWorkflowOn = turnBuilderWorkflowOn;
|
|
843
860
|
exports.unarchiveWorkflow = unarchiveWorkflow;
|
|
861
|
+
exports.updateDeviceTask = updateDeviceTask;
|
|
844
862
|
exports.updatePlan = updatePlan;
|
|
845
863
|
exports.updateTrigger = updateTrigger;
|
|
846
864
|
exports.validateCron = validateCron;
|