@ai-matrx/api 0.1.29 → 0.1.31

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 (134) hide show
  1. package/CHANGELOG.md +31 -1
  2. package/dist/account.d.cts +8 -8
  3. package/dist/account.d.ts +8 -8
  4. package/dist/agents.cjs +82 -12
  5. package/dist/agents.d.cts +384 -6
  6. package/dist/agents.d.ts +384 -6
  7. package/dist/agents.js +62 -4
  8. package/dist/ai.cjs +26 -2
  9. package/dist/ai.d.cts +76 -3
  10. package/dist/ai.d.ts +76 -3
  11. package/dist/ai.js +22 -2
  12. package/dist/apps.cjs +5 -11
  13. package/dist/apps.d.cts +3 -49
  14. package/dist/apps.d.ts +3 -49
  15. package/dist/apps.js +2 -7
  16. package/dist/architecture.cjs +78 -42
  17. package/dist/architecture.d.cts +169 -41
  18. package/dist/architecture.d.ts +169 -41
  19. package/dist/architecture.js +58 -28
  20. package/dist/audio.cjs +39 -39
  21. package/dist/audio.d.cts +15 -3
  22. package/dist/audio.d.ts +15 -3
  23. package/dist/audio.js +2 -2
  24. package/dist/chat.cjs +11 -11
  25. package/dist/chat.d.cts +19 -2
  26. package/dist/chat.d.ts +19 -2
  27. package/dist/chat.js +1 -1
  28. package/dist/{chunk-G3OJBGCU.cjs → chunk-45PIBJ3K.cjs} +1 -1
  29. package/dist/{chunk-Z2UOMPC4.js → chunk-7GMHDVF5.js} +1 -1
  30. package/dist/{chunk-BI6C3CD7.cjs → chunk-BO5HWECS.cjs} +3 -3
  31. package/dist/{chunk-VGXUUEFE.cjs → chunk-FHHE5FNM.cjs} +4 -4
  32. package/dist/{chunk-IAB7JCVA.js → chunk-MY5RKVCY.js} +1 -1
  33. package/dist/{chunk-Q6BD7FVP.cjs → chunk-QDFU72YV.cjs} +37 -37
  34. package/dist/{chunk-BIHYNQOU.js → chunk-YK5KJICX.js} +1 -1
  35. package/dist/{chunk-QCDALTHR.js → chunk-YRZAOYRE.js} +1 -1
  36. package/dist/code.cjs +6 -6
  37. package/dist/code.d.cts +4 -2
  38. package/dist/code.d.ts +4 -2
  39. package/dist/code.js +1 -1
  40. package/dist/commerce.d.cts +2 -2
  41. package/dist/commerce.d.ts +2 -2
  42. package/dist/communications.cjs +4 -4
  43. package/dist/communications.d.cts +4 -2
  44. package/dist/communications.d.ts +4 -2
  45. package/dist/communications.js +1 -1
  46. package/dist/computer.cjs +4 -4
  47. package/dist/computer.d.cts +2 -2
  48. package/dist/computer.d.ts +2 -2
  49. package/dist/computer.js +1 -1
  50. package/dist/content.cjs +4 -4
  51. package/dist/content.d.cts +2 -2
  52. package/dist/content.d.ts +2 -2
  53. package/dist/content.js +1 -1
  54. package/dist/crm.cjs +8 -2
  55. package/dist/crm.d.cts +26 -3
  56. package/dist/crm.d.ts +26 -3
  57. package/dist/crm.js +7 -2
  58. package/dist/data.cjs +22 -4
  59. package/dist/data.d.cts +183 -3
  60. package/dist/data.d.ts +183 -3
  61. package/dist/data.js +17 -2
  62. package/dist/education.cjs +4 -4
  63. package/dist/education.d.cts +2 -2
  64. package/dist/education.d.ts +2 -2
  65. package/dist/education.js +1 -1
  66. package/dist/files.cjs +228 -228
  67. package/dist/files.d.cts +8 -8
  68. package/dist/files.d.ts +8 -8
  69. package/dist/files.js +2 -2
  70. package/dist/human-resources.d.cts +2 -2
  71. package/dist/human-resources.d.ts +2 -2
  72. package/dist/{index-DyDNKgdB.d.cts → index-BneRZdQz.d.cts} +2 -2
  73. package/dist/{index-DyDNKgdB.d.ts → index-BneRZdQz.d.ts} +2 -2
  74. package/dist/index.cjs +58 -58
  75. package/dist/index.d.cts +4 -4
  76. package/dist/index.d.ts +4 -4
  77. package/dist/index.js +2 -2
  78. package/dist/integrations.cjs +35 -5
  79. package/dist/integrations.d.cts +97 -3
  80. package/dist/integrations.d.ts +97 -3
  81. package/dist/integrations.js +27 -2
  82. package/dist/intelligence.cjs +29 -11
  83. package/dist/intelligence.d.cts +100 -29
  84. package/dist/intelligence.d.ts +100 -29
  85. package/dist/intelligence.js +23 -7
  86. package/dist/{keys.generated-DE-t9kzx.d.ts → keys.generated-B0M-0PPo.d.cts} +11 -4
  87. package/dist/{keys.generated-DE-t9kzx.d.cts → keys.generated-B0M-0PPo.d.ts} +11 -4
  88. package/dist/knowledge.cjs +42 -42
  89. package/dist/knowledge.d.cts +11 -11
  90. package/dist/knowledge.d.ts +11 -11
  91. package/dist/knowledge.js +1 -1
  92. package/dist/legal.cjs +6 -6
  93. package/dist/legal.d.cts +2 -2
  94. package/dist/legal.d.ts +2 -2
  95. package/dist/legal.js +1 -1
  96. package/dist/marketing.cjs +194 -78
  97. package/dist/marketing.d.cts +601 -7
  98. package/dist/marketing.d.ts +601 -7
  99. package/dist/marketing.js +98 -2
  100. package/dist/masterwork.cjs +32 -32
  101. package/dist/masterwork.d.cts +2 -2
  102. package/dist/masterwork.d.ts +2 -2
  103. package/dist/masterwork.js +1 -1
  104. package/dist/media.cjs +34 -11
  105. package/dist/media.d.cts +61 -3
  106. package/dist/media.d.ts +61 -3
  107. package/dist/media.js +21 -2
  108. package/dist/platform.cjs +27 -27
  109. package/dist/platform.d.cts +2 -2
  110. package/dist/platform.d.ts +2 -2
  111. package/dist/platform.js +2 -2
  112. package/dist/publish.cjs +7 -7
  113. package/dist/publish.d.cts +2 -2
  114. package/dist/publish.d.ts +2 -2
  115. package/dist/publish.js +1 -1
  116. package/dist/recording.cjs +17 -17
  117. package/dist/recording.js +4 -4
  118. package/dist/schemas.d.cts +45 -3
  119. package/dist/schemas.d.ts +45 -3
  120. package/dist/stream.cjs +10 -10
  121. package/dist/stream.d.cts +1 -1
  122. package/dist/stream.d.ts +1 -1
  123. package/dist/stream.js +1 -1
  124. package/dist/types.d.cts +1589 -75
  125. package/dist/types.d.ts +1589 -75
  126. package/dist/web.cjs +61 -26
  127. package/dist/web.d.cts +111 -3
  128. package/dist/web.d.ts +111 -3
  129. package/dist/web.js +31 -2
  130. package/dist/workflows.cjs +13 -13
  131. package/dist/workflows.d.cts +44 -2
  132. package/dist/workflows.d.ts +44 -2
  133. package/dist/workflows.js +1 -1
  134. package/package.json +2 -2
@@ -1,4 +1,4 @@
1
- import { openStream } from './chunk-BIHYNQOU.js';
1
+ import { openStream } from './chunk-YK5KJICX.js';
2
2
  import './chunk-KIEAFMKB.js';
3
3
 
4
4
  // src/generated/architecture.ts
@@ -194,6 +194,30 @@ var $getError = { m: "GET", p: "/admin/system-errors/{error_id}", d: "aidream",
194
194
  function getError(api, args, options) {
195
195
  return api.call($getError, args, options);
196
196
  }
197
+ var $verifyEndpoint = { m: "POST", p: "/admin/tool-control/endpoints/{endpoint_id}/verify", d: "aidream", a: "admin", o: "exempt", n: "architecture.verify_endpoint" };
198
+ function verifyEndpoint(api, args, options) {
199
+ return api.call($verifyEndpoint, args, options);
200
+ }
201
+ var $turnOn = { m: "POST", p: "/admin/tool-control/endpoints/{endpoint_id}/turn-on", d: "aidream", a: "admin", o: "exempt", n: "architecture.turn_on" };
202
+ function turnOn(api, args, options) {
203
+ return api.call($turnOn, args, options);
204
+ }
205
+ var $turnOff = { m: "POST", p: "/admin/tool-control/endpoints/{endpoint_id}/turn-off", d: "aidream", a: "admin", o: "exempt", n: "architecture.turn_off" };
206
+ function turnOff(api, args, options) {
207
+ return api.call($turnOff, args, options);
208
+ }
209
+ var $cancelVerification = { m: "POST", p: "/admin/tool-control/endpoints/{endpoint_id}/cancel-verification", d: "aidream", a: "admin", o: "exempt", n: "architecture.cancel_verification" };
210
+ function cancelVerification(api, args, options) {
211
+ return api.call($cancelVerification, args, options);
212
+ }
213
+ var $pauseTool = { m: "POST", p: "/admin/tool-control/tools/{tool_id}/pause", d: "aidream", a: "admin", o: "exempt", n: "architecture.pause_tool" };
214
+ function pauseTool(api, args, options) {
215
+ return api.call($pauseTool, args, options);
216
+ }
217
+ var $setProviderState = { m: "POST", p: "/admin/tool-control/providers/{slug}/state", d: "aidream", a: "admin", o: "exempt", n: "architecture.set_provider_state" };
218
+ function setProviderState(api, args, options) {
219
+ return api.call($setProviderState, args, options);
220
+ }
197
221
  var $recentExecutions = { m: "GET", p: "/admin/runtime/recent", d: "aidream", a: "admin", o: "exempt", n: "architecture.recent_executions" };
198
222
  function recentExecutions(api, args, options) {
199
223
  return api.call($recentExecutions, args, options);
@@ -746,14 +770,14 @@ var $orchestratorProxyFsPost = { m: "POST", p: "/sandboxes/{sandbox_id}/fs/{path
746
770
  function orchestratorProxyFsPost(api, args, options) {
747
771
  return api.call($orchestratorProxyFsPost, args, options);
748
772
  }
749
- var $orchestratorProxyFs = { m: "PUT", p: "/sandboxes/{sandbox_id}/fs/{path}", d: "sandbox-orchestrator", a: "scoped", o: "exempt", n: "architecture.orchestrator_proxy_fs" };
773
+ var $orchestratorProxyFsPut = { m: "PUT", p: "/sandboxes/{sandbox_id}/fs/{path}", d: "sandbox-orchestrator", a: "scoped", o: "exempt", n: "architecture.orchestrator_proxy_fs_put" };
774
+ function orchestratorProxyFsPut(api, args, options) {
775
+ return api.call($orchestratorProxyFsPut, args, options);
776
+ }
777
+ var $orchestratorProxyFs = { m: "PATCH", p: "/sandboxes/{sandbox_id}/fs/{path}", d: "sandbox-orchestrator", a: "scoped", o: "exempt", n: "architecture.orchestrator_proxy_fs" };
750
778
  function orchestratorProxyFs(api, args, options) {
751
779
  return api.call($orchestratorProxyFs, args, options);
752
780
  }
753
- var $orchestratorProxyFsPatch = { m: "PATCH", p: "/sandboxes/{sandbox_id}/fs/{path}", d: "sandbox-orchestrator", a: "scoped", o: "exempt", n: "architecture.orchestrator_proxy_fs_patch" };
754
- function orchestratorProxyFsPatch(api, args, options) {
755
- return api.call($orchestratorProxyFsPatch, args, options);
756
- }
757
781
  var $orchestratorProxyFsDelete = { m: "DELETE", p: "/sandboxes/{sandbox_id}/fs/{path}", d: "sandbox-orchestrator", a: "scoped", o: "exempt", n: "architecture.orchestrator_proxy_fs_delete" };
758
782
  function orchestratorProxyFsDelete(api, args, options) {
759
783
  return api.call($orchestratorProxyFsDelete, args, options);
@@ -762,14 +786,14 @@ var $proxyExecStream = { m: "POST", p: "/sandboxes/{sandbox_id}/exec/stream", d:
762
786
  function proxyExecStream(api, args, options) {
763
787
  return openStream(api, $proxyExecStream, args, options);
764
788
  }
765
- var $orchestratorProxyGitGet = { m: "GET", p: "/sandboxes/{sandbox_id}/git/{path}", d: "sandbox-orchestrator", a: "scoped", o: "exempt", n: "architecture.orchestrator_proxy_git_get" };
766
- function orchestratorProxyGitGet(api, args, options) {
767
- return api.call($orchestratorProxyGitGet, args, options);
768
- }
769
- var $orchestratorProxyGit = { m: "POST", p: "/sandboxes/{sandbox_id}/git/{path}", d: "sandbox-orchestrator", a: "scoped", o: "exempt", n: "architecture.orchestrator_proxy_git" };
789
+ var $orchestratorProxyGit = { m: "GET", p: "/sandboxes/{sandbox_id}/git/{path}", d: "sandbox-orchestrator", a: "scoped", o: "exempt", n: "architecture.orchestrator_proxy_git" };
770
790
  function orchestratorProxyGit(api, args, options) {
771
791
  return api.call($orchestratorProxyGit, args, options);
772
792
  }
793
+ var $orchestratorProxyGitPost = { m: "POST", p: "/sandboxes/{sandbox_id}/git/{path}", d: "sandbox-orchestrator", a: "scoped", o: "exempt", n: "architecture.orchestrator_proxy_git_post" };
794
+ function orchestratorProxyGitPost(api, args, options) {
795
+ return api.call($orchestratorProxyGitPost, args, options);
796
+ }
773
797
  var $orchestratorProxyCredentials = { m: "POST", p: "/sandboxes/{sandbox_id}/credentials/revoke", d: "sandbox-orchestrator", a: "service", o: "exempt", n: "architecture.orchestrator_proxy_credentials" };
774
798
  function orchestratorProxyCredentials(api, args, options) {
775
799
  return api.call($orchestratorProxyCredentials, args, options);
@@ -778,14 +802,14 @@ var $orchestratorProxyCredentialsPost = { m: "POST", p: "/sandboxes/{sandbox_id}
778
802
  function orchestratorProxyCredentialsPost(api, args, options) {
779
803
  return api.call($orchestratorProxyCredentialsPost, args, options);
780
804
  }
781
- var $orchestratorProxySearchGet = { m: "GET", p: "/sandboxes/{sandbox_id}/search/{path}", d: "sandbox-orchestrator", a: "scoped", o: "exempt", n: "architecture.orchestrator_proxy_search_get" };
782
- function orchestratorProxySearchGet(api, args, options) {
783
- return api.call($orchestratorProxySearchGet, args, options);
784
- }
785
- var $orchestratorProxySearch = { m: "POST", p: "/sandboxes/{sandbox_id}/search/{path}", d: "sandbox-orchestrator", a: "scoped", o: "exempt", n: "architecture.orchestrator_proxy_search" };
805
+ var $orchestratorProxySearch = { m: "GET", p: "/sandboxes/{sandbox_id}/search/{path}", d: "sandbox-orchestrator", a: "scoped", o: "exempt", n: "architecture.orchestrator_proxy_search" };
786
806
  function orchestratorProxySearch(api, args, options) {
787
807
  return api.call($orchestratorProxySearch, args, options);
788
808
  }
809
+ var $orchestratorProxySearchPost = { m: "POST", p: "/sandboxes/{sandbox_id}/search/{path}", d: "sandbox-orchestrator", a: "scoped", o: "exempt", n: "architecture.orchestrator_proxy_search_post" };
810
+ function orchestratorProxySearchPost(api, args, options) {
811
+ return api.call($orchestratorProxySearchPost, args, options);
812
+ }
789
813
  var $orchestratorProxyProcesses = { m: "POST", p: "/sandboxes/{sandbox_id}/processes/{pid}/signal", d: "sandbox-orchestrator", a: "scoped", o: "exempt", n: "architecture.orchestrator_proxy_processes" };
790
814
  function orchestratorProxyProcesses(api, args, options) {
791
815
  return api.call($orchestratorProxyProcesses, args, options);
@@ -818,14 +842,14 @@ var $orchestratorProxyToContainerPost = { m: "POST", p: "/sandboxes/{sandbox_id}
818
842
  function orchestratorProxyToContainerPost(api, args, options) {
819
843
  return api.send($orchestratorProxyToContainerPost, args, options).then((x) => x.response);
820
844
  }
821
- var $orchestratorProxyToContainer = { m: "PUT", p: "/sandboxes/{sandbox_id}/proxy/{path}", d: "sandbox-orchestrator", a: "scoped", o: "exempt", s: "bytes", n: "architecture.orchestrator_proxy_to_container" };
845
+ var $orchestratorProxyToContainerPut = { m: "PUT", p: "/sandboxes/{sandbox_id}/proxy/{path}", d: "sandbox-orchestrator", a: "scoped", o: "exempt", s: "bytes", n: "architecture.orchestrator_proxy_to_container_put" };
846
+ function orchestratorProxyToContainerPut(api, args, options) {
847
+ return api.send($orchestratorProxyToContainerPut, args, options).then((x) => x.response);
848
+ }
849
+ var $orchestratorProxyToContainer = { m: "PATCH", p: "/sandboxes/{sandbox_id}/proxy/{path}", d: "sandbox-orchestrator", a: "scoped", o: "exempt", s: "bytes", n: "architecture.orchestrator_proxy_to_container" };
822
850
  function orchestratorProxyToContainer(api, args, options) {
823
851
  return api.send($orchestratorProxyToContainer, args, options).then((x) => x.response);
824
852
  }
825
- var $orchestratorProxyToContainerPatch = { m: "PATCH", p: "/sandboxes/{sandbox_id}/proxy/{path}", d: "sandbox-orchestrator", a: "scoped", o: "exempt", s: "bytes", n: "architecture.orchestrator_proxy_to_container_patch" };
826
- function orchestratorProxyToContainerPatch(api, args, options) {
827
- return api.send($orchestratorProxyToContainerPatch, args, options).then((x) => x.response);
828
- }
829
853
  var $orchestratorProxyToContainerDelete = { m: "DELETE", p: "/sandboxes/{sandbox_id}/proxy/{path}", d: "sandbox-orchestrator", a: "scoped", o: "exempt", s: "bytes", n: "architecture.orchestrator_proxy_to_container_delete" };
830
854
  function orchestratorProxyToContainerDelete(api, args, options) {
831
855
  return api.send($orchestratorProxyToContainerDelete, args, options).then((x) => x.response);
@@ -938,6 +962,12 @@ var TABLE = {
938
962
  "GET /admin/system-errors/recent": $recentErrors,
939
963
  "GET /admin/system-errors/open-outages": $openOutages,
940
964
  "GET /admin/system-errors/{error_id}": $getError,
965
+ "POST /admin/tool-control/endpoints/{endpoint_id}/verify": $verifyEndpoint,
966
+ "POST /admin/tool-control/endpoints/{endpoint_id}/turn-on": $turnOn,
967
+ "POST /admin/tool-control/endpoints/{endpoint_id}/turn-off": $turnOff,
968
+ "POST /admin/tool-control/endpoints/{endpoint_id}/cancel-verification": $cancelVerification,
969
+ "POST /admin/tool-control/tools/{tool_id}/pause": $pauseTool,
970
+ "POST /admin/tool-control/providers/{slug}/state": $setProviderState,
941
971
  "GET /admin/runtime/recent": $recentExecutions,
942
972
  "GET /admin/runtime/worker-health": $workerHealth,
943
973
  "GET /admin/runtime/lock-storm": $lockStorm,
@@ -1074,15 +1104,15 @@ var TABLE = {
1074
1104
  "POST /sandboxes/{sandbox_id}/extend": $extendSandbox,
1075
1105
  "GET /sandboxes/{sandbox_id}/fs/{path}": $orchestratorProxyFsGet,
1076
1106
  "POST /sandboxes/{sandbox_id}/fs/{path}": $orchestratorProxyFsPost,
1077
- "PUT /sandboxes/{sandbox_id}/fs/{path}": $orchestratorProxyFs,
1078
- "PATCH /sandboxes/{sandbox_id}/fs/{path}": $orchestratorProxyFsPatch,
1107
+ "PUT /sandboxes/{sandbox_id}/fs/{path}": $orchestratorProxyFsPut,
1108
+ "PATCH /sandboxes/{sandbox_id}/fs/{path}": $orchestratorProxyFs,
1079
1109
  "DELETE /sandboxes/{sandbox_id}/fs/{path}": $orchestratorProxyFsDelete,
1080
- "GET /sandboxes/{sandbox_id}/git/{path}": $orchestratorProxyGitGet,
1081
- "POST /sandboxes/{sandbox_id}/git/{path}": $orchestratorProxyGit,
1110
+ "GET /sandboxes/{sandbox_id}/git/{path}": $orchestratorProxyGit,
1111
+ "POST /sandboxes/{sandbox_id}/git/{path}": $orchestratorProxyGitPost,
1082
1112
  "POST /sandboxes/{sandbox_id}/credentials/revoke": $orchestratorProxyCredentials,
1083
1113
  "POST /sandboxes/{sandbox_id}/credentials": $orchestratorProxyCredentialsPost,
1084
- "GET /sandboxes/{sandbox_id}/search/{path}": $orchestratorProxySearchGet,
1085
- "POST /sandboxes/{sandbox_id}/search/{path}": $orchestratorProxySearch,
1114
+ "GET /sandboxes/{sandbox_id}/search/{path}": $orchestratorProxySearch,
1115
+ "POST /sandboxes/{sandbox_id}/search/{path}": $orchestratorProxySearchPost,
1086
1116
  "POST /sandboxes/{sandbox_id}/processes/{pid}/signal": $orchestratorProxyProcesses,
1087
1117
  "GET /sandboxes/{sandbox_id}/processes": $orchestratorProxyProcessesGet,
1088
1118
  "GET /sandboxes/{sandbox_id}/ports": $proxyPorts,
@@ -1110,4 +1140,4 @@ function call(api, key, args, options) {
1110
1140
  return api.call(TABLE[key], args, options);
1111
1141
  }
1112
1142
 
1113
- export { acceptAdapters, acceptFinding, addNormExceptionRoute, addSuppression, admitLifecycleOperation, agentBinding, anthropicCountTokens, anthropicMessages, apiSurface, batchUpdateIssueClasses, brokerJwksDocument, byCall, byConversation, call, cancelExecutionTree, checkDefinitionDoor, ciSpendStatus, claimSandbox, computeNextDueAt, configAttestationHealth, configAttestationHealthOnHostedBox, configAttestationHealthOnSandboxOrchestrator, conversationExecutions, costly, createExample, createSandbox, createTask, createTrigger, databaseIdentity, databaseIdentityOnHostedBox, defaultPlacement, deleteExample, deleteNormExceptionRoute, deleteTask, deleteTrigger, deleteUserMemory, deleteUserVolume, destroySandbox, detailedHealthCheck, detailedHealthCheckOnHostedBox, dismiss, dismissBatch, dismissFailure, execCommand, execCommandOnSandboxOrchestrator, executionEvents, executionTree, extendSandbox, failuresSince, falseReaps, fsList, fsMkdir, fsPatch, fsRead, fsStat, fsWrite, getCaptureHealth, getCodexUsage, getCodexUsageAllowance, getDefaultBrowserProfileForUser, getError, getErrorDetail, getExample, getFailureDetail, getFile, getIssueClass, getKindIncident, getRollup, getRun, getSandbox, getServerActions, getStats, getStatus, getSummary, getTask, getTraceFile, getUserPersistence, getWatchdogStatus, healthCheck, healthCheckOnHostedBox, healthCheckOnSandboxOrchestrator, heartbeatExecution, hostedSessionReady, issueAccessToken, issueClassStats, jsonrpcEndpoint, kindIncidentMetrics, lifecycleOperationStatus, listComputeTargets, listConverters, listDuplicateSchedules, listErrors, listEventsForClass, listExamples, listFailures, listFiles, listIssueClasses, listKindIncidents, listNormExceptionsRoute, listProviders, listRecentEvents, listRuns, listSandboxes, listStuckRows, listSuppressions, listTasks, listTemplates, listTraceFiles, listTriggers, listUserMemory, livenessCheck, livenessCheckOnHostedBox, lockStorm, markFalseReap, migrateAll, migrateSandboxRoute, migrationStatusRoute, mintToken, moveModel, openExecution, openOutages, openaiCodexResponses, operationEvents, operationEventsStream, operationStatus, operationsByLink, opsSummary, orchestratorProxyCredentials, orchestratorProxyCredentialsPost, orchestratorProxyFs, orchestratorProxyFsDelete, orchestratorProxyFsGet, orchestratorProxyFsPatch, orchestratorProxyFsPost, orchestratorProxyGit, orchestratorProxyGitGet, orchestratorProxyProcesses, orchestratorProxyProcessesGet, orchestratorProxySearch, orchestratorProxySearchGet, orchestratorProxyToContainer, orchestratorProxyToContainerDelete, orchestratorProxyToContainerGet, orchestratorProxyToContainerHead, orchestratorProxyToContainerOptions, orchestratorProxyToContainerPatch, orchestratorProxyToContainerPost, overview, patchTask, patchTrigger, pause, placeReviews, platformEnvCensus, postPrune, postRun, previewFires, promote, proxyExecStream, proxyPorts, putUserMemory, query, ragSearchAsKinds, rankLandscapeAsKinds, readinessCheck, reapExpiredNow, recentErrors, recentEvents, recentExecutions, recoverLifecycleOperation, refreshSandboxPlatformEnv, rejoinOperationStream, removeSuppression, replayBatch, replayCaptureDoor, replayOne, reportProviderSessionFailure, reportProviderSessionUsage, requestAccess, resetSandbox, resolveBatch, resolveComputeTarget, resolveError, resolveKindIncidents, resolveLink, resume, resumeSandbox, root, runAction, runNow, sandboxAgentEnv, sandboxComplete, sandboxDiagnostics, sandboxError, sandboxHeartbeat, sandboxLogs, saveOutput, scrapeAsKind, scrapeManyAsKind, searchAsKinds, searchByImage, searchContent, searchExamples, searchPaths, servingCheck, servingCheckOnHostedBox, settleAgentPresence, settleExecution, signals, stats, streamText, sweepWatchdogOnce, systemCosts, systemInfo, tableReadAsKinds, takeOverExecution, testVariant, topPatternsRoute, unclassified, updateExample, updateIssueClass, validateCron, versionCheck, versionCheckOnHostedBox, versionDrift, workerHealth, workflowExecutions };
1143
+ export { acceptAdapters, acceptFinding, addNormExceptionRoute, addSuppression, admitLifecycleOperation, agentBinding, anthropicCountTokens, anthropicMessages, apiSurface, batchUpdateIssueClasses, brokerJwksDocument, byCall, byConversation, call, cancelExecutionTree, cancelVerification, checkDefinitionDoor, ciSpendStatus, claimSandbox, computeNextDueAt, configAttestationHealth, configAttestationHealthOnHostedBox, configAttestationHealthOnSandboxOrchestrator, conversationExecutions, costly, createExample, createSandbox, createTask, createTrigger, databaseIdentity, databaseIdentityOnHostedBox, defaultPlacement, deleteExample, deleteNormExceptionRoute, deleteTask, deleteTrigger, deleteUserMemory, deleteUserVolume, destroySandbox, detailedHealthCheck, detailedHealthCheckOnHostedBox, dismiss, dismissBatch, dismissFailure, execCommand, execCommandOnSandboxOrchestrator, executionEvents, executionTree, extendSandbox, failuresSince, falseReaps, fsList, fsMkdir, fsPatch, fsRead, fsStat, fsWrite, getCaptureHealth, getCodexUsage, getCodexUsageAllowance, getDefaultBrowserProfileForUser, getError, getErrorDetail, getExample, getFailureDetail, getFile, getIssueClass, getKindIncident, getRollup, getRun, getSandbox, getServerActions, getStats, getStatus, getSummary, getTask, getTraceFile, getUserPersistence, getWatchdogStatus, healthCheck, healthCheckOnHostedBox, healthCheckOnSandboxOrchestrator, heartbeatExecution, hostedSessionReady, issueAccessToken, issueClassStats, jsonrpcEndpoint, kindIncidentMetrics, lifecycleOperationStatus, listComputeTargets, listConverters, listDuplicateSchedules, listErrors, listEventsForClass, listExamples, listFailures, listFiles, listIssueClasses, listKindIncidents, listNormExceptionsRoute, listProviders, listRecentEvents, listRuns, listSandboxes, listStuckRows, listSuppressions, listTasks, listTemplates, listTraceFiles, listTriggers, listUserMemory, livenessCheck, livenessCheckOnHostedBox, lockStorm, markFalseReap, migrateAll, migrateSandboxRoute, migrationStatusRoute, mintToken, moveModel, openExecution, openOutages, openaiCodexResponses, operationEvents, operationEventsStream, operationStatus, operationsByLink, opsSummary, orchestratorProxyCredentials, orchestratorProxyCredentialsPost, orchestratorProxyFs, orchestratorProxyFsDelete, orchestratorProxyFsGet, orchestratorProxyFsPost, orchestratorProxyFsPut, orchestratorProxyGit, orchestratorProxyGitPost, orchestratorProxyProcesses, orchestratorProxyProcessesGet, orchestratorProxySearch, orchestratorProxySearchPost, orchestratorProxyToContainer, orchestratorProxyToContainerDelete, orchestratorProxyToContainerGet, orchestratorProxyToContainerHead, orchestratorProxyToContainerOptions, orchestratorProxyToContainerPost, orchestratorProxyToContainerPut, overview, patchTask, patchTrigger, pause, pauseTool, placeReviews, platformEnvCensus, postPrune, postRun, previewFires, promote, proxyExecStream, proxyPorts, putUserMemory, query, ragSearchAsKinds, rankLandscapeAsKinds, readinessCheck, reapExpiredNow, recentErrors, recentEvents, recentExecutions, recoverLifecycleOperation, refreshSandboxPlatformEnv, rejoinOperationStream, removeSuppression, replayBatch, replayCaptureDoor, replayOne, reportProviderSessionFailure, reportProviderSessionUsage, requestAccess, resetSandbox, resolveBatch, resolveComputeTarget, resolveError, resolveKindIncidents, resolveLink, resume, resumeSandbox, root, runAction, runNow, sandboxAgentEnv, sandboxComplete, sandboxDiagnostics, sandboxError, sandboxHeartbeat, sandboxLogs, saveOutput, scrapeAsKind, scrapeManyAsKind, searchAsKinds, searchByImage, searchContent, searchExamples, searchPaths, servingCheck, servingCheckOnHostedBox, setProviderState, settleAgentPresence, settleExecution, signals, stats, streamText, sweepWatchdogOnce, systemCosts, systemInfo, tableReadAsKinds, takeOverExecution, testVariant, topPatternsRoute, turnOff, turnOn, unclassified, updateExample, updateIssueClass, validateCron, verifyEndpoint, versionCheck, versionCheckOnHostedBox, versionDrift, workerHealth, workflowExecutions };
package/dist/audio.cjs CHANGED
@@ -1,156 +1,156 @@
1
1
  'use strict';
2
2
 
3
- var chunkVGXUUEFE_cjs = require('./chunk-VGXUUEFE.cjs');
4
- require('./chunk-G3OJBGCU.cjs');
3
+ var chunkFHHE5FNM_cjs = require('./chunk-FHHE5FNM.cjs');
4
+ require('./chunk-45PIBJ3K.cjs');
5
5
  require('./chunk-2SXAAKGV.cjs');
6
6
 
7
7
 
8
8
 
9
9
  Object.defineProperty(exports, "blendPreview", {
10
10
  enumerable: true,
11
- get: function () { return chunkVGXUUEFE_cjs.blendPreview; }
11
+ get: function () { return chunkFHHE5FNM_cjs.blendPreview; }
12
12
  });
13
13
  Object.defineProperty(exports, "blendSave", {
14
14
  enumerable: true,
15
- get: function () { return chunkVGXUUEFE_cjs.blendSave; }
15
+ get: function () { return chunkFHHE5FNM_cjs.blendSave; }
16
16
  });
17
17
  Object.defineProperty(exports, "call", {
18
18
  enumerable: true,
19
- get: function () { return chunkVGXUUEFE_cjs.call; }
19
+ get: function () { return chunkFHHE5FNM_cjs.call; }
20
20
  });
21
21
  Object.defineProperty(exports, "completeRecordingJournal", {
22
22
  enumerable: true,
23
- get: function () { return chunkVGXUUEFE_cjs.completeRecordingJournal; }
23
+ get: function () { return chunkFHHE5FNM_cjs.completeRecordingJournal; }
24
24
  });
25
25
  Object.defineProperty(exports, "configureWakeWord", {
26
26
  enumerable: true,
27
- get: function () { return chunkVGXUUEFE_cjs.configureWakeWord; }
27
+ get: function () { return chunkFHHE5FNM_cjs.configureWakeWord; }
28
28
  });
29
29
  Object.defineProperty(exports, "createRecordingJournalChunk", {
30
30
  enumerable: true,
31
- get: function () { return chunkVGXUUEFE_cjs.createRecordingJournalChunk; }
31
+ get: function () { return chunkFHHE5FNM_cjs.createRecordingJournalChunk; }
32
32
  });
33
33
  Object.defineProperty(exports, "deleteCustomVoice", {
34
34
  enumerable: true,
35
- get: function () { return chunkVGXUUEFE_cjs.deleteCustomVoice; }
35
+ get: function () { return chunkFHHE5FNM_cjs.deleteCustomVoice; }
36
36
  });
37
37
  Object.defineProperty(exports, "deleteRecordingJournal", {
38
38
  enumerable: true,
39
- get: function () { return chunkVGXUUEFE_cjs.deleteRecordingJournal; }
39
+ get: function () { return chunkFHHE5FNM_cjs.deleteRecordingJournal; }
40
40
  });
41
41
  Object.defineProperty(exports, "dismissWakeWord", {
42
42
  enumerable: true,
43
- get: function () { return chunkVGXUUEFE_cjs.dismissWakeWord; }
43
+ get: function () { return chunkFHHE5FNM_cjs.dismissWakeWord; }
44
44
  });
45
45
  Object.defineProperty(exports, "downloadModel", {
46
46
  enumerable: true,
47
- get: function () { return chunkVGXUUEFE_cjs.downloadModel; }
47
+ get: function () { return chunkFHHE5FNM_cjs.downloadModel; }
48
48
  });
49
49
  Object.defineProperty(exports, "downloadModelWithProgress", {
50
50
  enumerable: true,
51
- get: function () { return chunkVGXUUEFE_cjs.downloadModelWithProgress; }
51
+ get: function () { return chunkFHHE5FNM_cjs.downloadModelWithProgress; }
52
52
  });
53
53
  Object.defineProperty(exports, "downloadOwwModel", {
54
54
  enumerable: true,
55
- get: function () { return chunkVGXUUEFE_cjs.downloadOwwModel; }
55
+ get: function () { return chunkFHHE5FNM_cjs.downloadOwwModel; }
56
56
  });
57
57
  Object.defineProperty(exports, "eventStream", {
58
58
  enumerable: true,
59
- get: function () { return chunkVGXUUEFE_cjs.eventStream; }
59
+ get: function () { return chunkFHHE5FNM_cjs.eventStream; }
60
60
  });
61
61
  Object.defineProperty(exports, "getRecordingJournal", {
62
62
  enumerable: true,
63
- get: function () { return chunkVGXUUEFE_cjs.getRecordingJournal; }
63
+ get: function () { return chunkFHHE5FNM_cjs.getRecordingJournal; }
64
64
  });
65
65
  Object.defineProperty(exports, "getRecordingJournals", {
66
66
  enumerable: true,
67
- get: function () { return chunkVGXUUEFE_cjs.getRecordingJournals; }
67
+ get: function () { return chunkFHHE5FNM_cjs.getRecordingJournals; }
68
68
  });
69
69
  Object.defineProperty(exports, "getStatus", {
70
70
  enumerable: true,
71
- get: function () { return chunkVGXUUEFE_cjs.getStatus; }
71
+ get: function () { return chunkFHHE5FNM_cjs.getStatus; }
72
72
  });
73
73
  Object.defineProperty(exports, "importVoiceFile", {
74
74
  enumerable: true,
75
- get: function () { return chunkVGXUUEFE_cjs.importVoiceFile; }
75
+ get: function () { return chunkFHHE5FNM_cjs.importVoiceFile; }
76
76
  });
77
77
  Object.defineProperty(exports, "listCustomVoices", {
78
78
  enumerable: true,
79
- get: function () { return chunkVGXUUEFE_cjs.listCustomVoices; }
79
+ get: function () { return chunkFHHE5FNM_cjs.listCustomVoices; }
80
80
  });
81
81
  Object.defineProperty(exports, "listModels", {
82
82
  enumerable: true,
83
- get: function () { return chunkVGXUUEFE_cjs.listModels; }
83
+ get: function () { return chunkFHHE5FNM_cjs.listModels; }
84
84
  });
85
85
  Object.defineProperty(exports, "listVoices", {
86
86
  enumerable: true,
87
- get: function () { return chunkVGXUUEFE_cjs.listVoices; }
87
+ get: function () { return chunkFHHE5FNM_cjs.listVoices; }
88
88
  });
89
89
  Object.defineProperty(exports, "muteWakeWord", {
90
90
  enumerable: true,
91
- get: function () { return chunkVGXUUEFE_cjs.muteWakeWord; }
91
+ get: function () { return chunkFHHE5FNM_cjs.muteWakeWord; }
92
92
  });
93
93
  Object.defineProperty(exports, "previewVoice", {
94
94
  enumerable: true,
95
- get: function () { return chunkVGXUUEFE_cjs.previewVoice; }
95
+ get: function () { return chunkFHHE5FNM_cjs.previewVoice; }
96
96
  });
97
97
  Object.defineProperty(exports, "renameCustomVoice", {
98
98
  enumerable: true,
99
- get: function () { return chunkVGXUUEFE_cjs.renameCustomVoice; }
99
+ get: function () { return chunkFHHE5FNM_cjs.renameCustomVoice; }
100
100
  });
101
101
  Object.defineProperty(exports, "startWakeWord", {
102
102
  enumerable: true,
103
- get: function () { return chunkVGXUUEFE_cjs.startWakeWord; }
103
+ get: function () { return chunkFHHE5FNM_cjs.startWakeWord; }
104
104
  });
105
105
  Object.defineProperty(exports, "stopWakeWord", {
106
106
  enumerable: true,
107
- get: function () { return chunkVGXUUEFE_cjs.stopWakeWord; }
107
+ get: function () { return chunkFHHE5FNM_cjs.stopWakeWord; }
108
108
  });
109
109
  Object.defineProperty(exports, "synthesize", {
110
110
  enumerable: true,
111
- get: function () { return chunkVGXUUEFE_cjs.synthesize; }
111
+ get: function () { return chunkFHHE5FNM_cjs.synthesize; }
112
112
  });
113
113
  Object.defineProperty(exports, "synthesizeStream", {
114
114
  enumerable: true,
115
- get: function () { return chunkVGXUUEFE_cjs.synthesizeStream; }
115
+ get: function () { return chunkFHHE5FNM_cjs.synthesizeStream; }
116
116
  });
117
117
  Object.defineProperty(exports, "textToSpeech", {
118
118
  enumerable: true,
119
- get: function () { return chunkVGXUUEFE_cjs.textToSpeech; }
119
+ get: function () { return chunkFHHE5FNM_cjs.textToSpeech; }
120
120
  });
121
121
  Object.defineProperty(exports, "transcribeFile", {
122
122
  enumerable: true,
123
- get: function () { return chunkVGXUUEFE_cjs.transcribeFile; }
123
+ get: function () { return chunkFHHE5FNM_cjs.transcribeFile; }
124
124
  });
125
125
  Object.defineProperty(exports, "transcribeUpload", {
126
126
  enumerable: true,
127
- get: function () { return chunkVGXUUEFE_cjs.transcribeUpload; }
127
+ get: function () { return chunkFHHE5FNM_cjs.transcribeUpload; }
128
128
  });
129
129
  Object.defineProperty(exports, "transcribeUrl", {
130
130
  enumerable: true,
131
- get: function () { return chunkVGXUUEFE_cjs.transcribeUrl; }
131
+ get: function () { return chunkFHHE5FNM_cjs.transcribeUrl; }
132
132
  });
133
133
  Object.defineProperty(exports, "triggerWakeWord", {
134
134
  enumerable: true,
135
- get: function () { return chunkVGXUUEFE_cjs.triggerWakeWord; }
135
+ get: function () { return chunkFHHE5FNM_cjs.triggerWakeWord; }
136
136
  });
137
137
  Object.defineProperty(exports, "ttsStatus", {
138
138
  enumerable: true,
139
- get: function () { return chunkVGXUUEFE_cjs.ttsStatus; }
139
+ get: function () { return chunkFHHE5FNM_cjs.ttsStatus; }
140
140
  });
141
141
  Object.defineProperty(exports, "unload", {
142
142
  enumerable: true,
143
- get: function () { return chunkVGXUUEFE_cjs.unload; }
143
+ get: function () { return chunkFHHE5FNM_cjs.unload; }
144
144
  });
145
145
  Object.defineProperty(exports, "unmuteWakeWord", {
146
146
  enumerable: true,
147
- get: function () { return chunkVGXUUEFE_cjs.unmuteWakeWord; }
147
+ get: function () { return chunkFHHE5FNM_cjs.unmuteWakeWord; }
148
148
  });
149
149
  Object.defineProperty(exports, "voicePreviewRoute", {
150
150
  enumerable: true,
151
- get: function () { return chunkVGXUUEFE_cjs.voicePreviewRoute; }
151
+ get: function () { return chunkFHHE5FNM_cjs.voicePreviewRoute; }
152
152
  });
153
153
  Object.defineProperty(exports, "youtubeTranscript", {
154
154
  enumerable: true,
155
- get: function () { return chunkVGXUUEFE_cjs.youtubeTranscript; }
155
+ get: function () { return chunkFHHE5FNM_cjs.youtubeTranscript; }
156
156
  });
package/dist/audio.d.cts CHANGED
@@ -1,10 +1,10 @@
1
- import { A as Api, C as CallOptions, a as ApiStream, S as SseEvent, N as NdjsonEvent } from './index-DyDNKgdB.cjs';
1
+ import { A as Api, C as CallOptions, a as ApiStream, S as SseEvent, N as NdjsonEvent } from './index-BneRZdQz.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 2e22230d01e754f5ae210e0932290279956cc04757022cfee77b6d128f1c667c
7
+ * CONTRACT_SHA256 28595dcf14903c62d8dfd5a95f8a0a3f823d695979b05cdb7787f1e00b2dc3fe
8
8
  */
9
9
 
10
10
  /** ActionResponse */
@@ -105,6 +105,14 @@ type RecordingCompletionRequest = {
105
105
  type RenameVoiceRequest = {
106
106
  name: string;
107
107
  };
108
+ /** One spoken word on the audio clock (seconds). ``confidence``/``speaker`` */
109
+ type STTWord = {
110
+ text: string;
111
+ start: number;
112
+ end: number;
113
+ confidence?: number | null;
114
+ speaker?: string | null;
115
+ };
108
116
  /** SaveBlendRequest */
109
117
  type SaveBlendRequest = {
110
118
  /** Filesystem-safe ID (letters, digits, _ -) */
@@ -182,6 +190,7 @@ type TranscriptionFileRequest = {
182
190
  file_id: string;
183
191
  language?: string | null;
184
192
  model?: string;
193
+ word_timestamps?: boolean;
185
194
  };
186
195
  /** TranscriptionMeta */
187
196
  type TranscriptionMeta = {
@@ -219,6 +228,7 @@ type TranscriptionUrlRequest = {
219
228
  url: string;
220
229
  language?: string | null;
221
230
  model?: string;
231
+ word_timestamps?: boolean;
222
232
  };
223
233
  /** TtsStatusResponse */
224
234
  type TtsStatusResponse = {
@@ -296,6 +306,8 @@ type aidream__services__audio__speech__TranscriptionResponse = {
296
306
  language?: string | null;
297
307
  duration?: number | null;
298
308
  segments?: TranscriptionSegment[];
309
+ words?: STTWord[];
310
+ words_status?: "not_requested" | "provided" | "unsupported_by_provider" | "none_returned";
299
311
  chapters?: TranscriptionChapter[];
300
312
  meta: TranscriptionMeta;
301
313
  };
@@ -720,4 +732,4 @@ interface Operations {
720
732
  /** Path-keyed call, scoped to this domain only (never a global path map). */
721
733
  declare function call<K extends keyof Operations>(api: Api, key: K, args?: Operations[K]["args"], options?: CallOptions): Promise<Operations[K]["result"]>;
722
734
 
723
- export { type ActionResponse, type BlendComponent, type BlendPreviewArgs, type BlendPreviewRequest, type BlendPreviewResult, type BlendSaveArgs, type BlendSaveResult, type CompleteRecordingJournalArgs, type CompleteRecordingJournalResult, type ConfigureWakeWordArgs, type ConfigureWakeWordResult, type CreateRecordingJournalChunkArgs, type CreateRecordingJournalChunkResult, type DeleteCustomVoiceArgs, type DeleteCustomVoiceResult, type DeleteRecordingJournalArgs, type DeleteRecordingJournalResult, type DismissWakeWordArgs, type DismissWakeWordResult, type DownloadModelArgs, type DownloadModelResult, type DownloadModelWithProgressArgs, type DownloadModelWithProgressResult, type DownloadOwwModelArgs, type DownloadOwwModelResult, type DownloadRequest, type DownloadResponse, type EventStreamArgs, type EventStreamResult, type GetRecordingJournalArgs, type GetRecordingJournalResult, type GetRecordingJournalsArgs, type GetRecordingJournalsResult, type GetStatusArgs, type GetStatusResult, type ImportVoiceFileArgs, type ImportVoiceFileResult, type JournalChunk, type JournalChunkRequest, type JournalDiscardResult, type JournalRecording, type ListCustomVoicesArgs, type ListCustomVoicesResult, type ListModelsArgs, type ListModelsResult, type ListVoicesArgs, type ListVoicesResult, type ModelInfoResponse, type ModelsResponse, type MuteWakeWordArgs, type MuteWakeWordResult, type Operations, type PreviewVoiceArgs, type PreviewVoiceRequest, type PreviewVoiceResult, type RecordingCompletion, type RecordingCompletionRequest, type RenameCustomVoiceArgs, type RenameCustomVoiceResult, type RenameVoiceRequest, type SaveBlendRequest, type SpeechRequest, type SpeechResponse, type StartRequest, type StartWakeWordArgs, type StartWakeWordResult, type StopWakeWordArgs, type StopWakeWordResult, type SynthesizeArgs, type SynthesizeRequest, type SynthesizeResult, type SynthesizeStreamArgs, type SynthesizeStreamResult, type TextToSpeechArgs, type TextToSpeechResult, type TranscribeFileArgs, type TranscribeFileResult, type TranscribeUploadArgs, type TranscribeUploadResult, type TranscribeUrlArgs, type TranscribeUrlResult, type TranscriptionChapter, type TranscriptionFileRequest, type TranscriptionMeta, type TranscriptionSegment, type TranscriptionUrlRequest, type TriggerWakeWordArgs, type TriggerWakeWordResult, type TtsStatusArgs, type TtsStatusResponse, type TtsStatusResult, type TtsVoiceInfo, type UnloadArgs, type UnloadResult, type UnmuteWakeWordArgs, type UnmuteWakeWordResult, type VoicePreviewRequest, type VoicePreviewResponse, type VoicePreviewRouteArgs, type VoicePreviewRouteResult, type WakeWordStatus, type YouTubeTranscriptRequest, type YoutubeTranscriptArgs, type YoutubeTranscriptResult, type aidream__services__audio__speech__TranscriptionResponse, type app__api__wake_word_routes__ConfigureRequest, blendPreview, blendSave, call, completeRecordingJournal, configureWakeWord, createRecordingJournalChunk, deleteCustomVoice, deleteRecordingJournal, dismissWakeWord, downloadModel, downloadModelWithProgress, downloadOwwModel, eventStream, getRecordingJournal, getRecordingJournals, getStatus, importVoiceFile, listCustomVoices, listModels, listVoices, muteWakeWord, previewVoice, renameCustomVoice, startWakeWord, stopWakeWord, synthesize, synthesizeStream, textToSpeech, transcribeFile, transcribeUpload, transcribeUrl, triggerWakeWord, ttsStatus, unload, unmuteWakeWord, voicePreviewRoute, youtubeTranscript };
735
+ export { type ActionResponse, type BlendComponent, type BlendPreviewArgs, type BlendPreviewRequest, type BlendPreviewResult, type BlendSaveArgs, type BlendSaveResult, type CompleteRecordingJournalArgs, type CompleteRecordingJournalResult, type ConfigureWakeWordArgs, type ConfigureWakeWordResult, type CreateRecordingJournalChunkArgs, type CreateRecordingJournalChunkResult, type DeleteCustomVoiceArgs, type DeleteCustomVoiceResult, type DeleteRecordingJournalArgs, type DeleteRecordingJournalResult, type DismissWakeWordArgs, type DismissWakeWordResult, type DownloadModelArgs, type DownloadModelResult, type DownloadModelWithProgressArgs, type DownloadModelWithProgressResult, type DownloadOwwModelArgs, type DownloadOwwModelResult, type DownloadRequest, type DownloadResponse, type EventStreamArgs, type EventStreamResult, type GetRecordingJournalArgs, type GetRecordingJournalResult, type GetRecordingJournalsArgs, type GetRecordingJournalsResult, type GetStatusArgs, type GetStatusResult, type ImportVoiceFileArgs, type ImportVoiceFileResult, type JournalChunk, type JournalChunkRequest, type JournalDiscardResult, type JournalRecording, type ListCustomVoicesArgs, type ListCustomVoicesResult, type ListModelsArgs, type ListModelsResult, type ListVoicesArgs, type ListVoicesResult, type ModelInfoResponse, type ModelsResponse, type MuteWakeWordArgs, type MuteWakeWordResult, type Operations, type PreviewVoiceArgs, type PreviewVoiceRequest, type PreviewVoiceResult, type RecordingCompletion, type RecordingCompletionRequest, type RenameCustomVoiceArgs, type RenameCustomVoiceResult, type RenameVoiceRequest, type STTWord, type SaveBlendRequest, type SpeechRequest, type SpeechResponse, type StartRequest, type StartWakeWordArgs, type StartWakeWordResult, type StopWakeWordArgs, type StopWakeWordResult, type SynthesizeArgs, type SynthesizeRequest, type SynthesizeResult, type SynthesizeStreamArgs, type SynthesizeStreamResult, type TextToSpeechArgs, type TextToSpeechResult, type TranscribeFileArgs, type TranscribeFileResult, type TranscribeUploadArgs, type TranscribeUploadResult, type TranscribeUrlArgs, type TranscribeUrlResult, type TranscriptionChapter, type TranscriptionFileRequest, type TranscriptionMeta, type TranscriptionSegment, type TranscriptionUrlRequest, type TriggerWakeWordArgs, type TriggerWakeWordResult, type TtsStatusArgs, type TtsStatusResponse, type TtsStatusResult, type TtsVoiceInfo, type UnloadArgs, type UnloadResult, type UnmuteWakeWordArgs, type UnmuteWakeWordResult, type VoicePreviewRequest, type VoicePreviewResponse, type VoicePreviewRouteArgs, type VoicePreviewRouteResult, type WakeWordStatus, type YouTubeTranscriptRequest, type YoutubeTranscriptArgs, type YoutubeTranscriptResult, type aidream__services__audio__speech__TranscriptionResponse, type app__api__wake_word_routes__ConfigureRequest, blendPreview, blendSave, call, completeRecordingJournal, configureWakeWord, createRecordingJournalChunk, deleteCustomVoice, deleteRecordingJournal, dismissWakeWord, downloadModel, downloadModelWithProgress, downloadOwwModel, eventStream, getRecordingJournal, getRecordingJournals, getStatus, importVoiceFile, listCustomVoices, listModels, listVoices, muteWakeWord, previewVoice, renameCustomVoice, startWakeWord, stopWakeWord, synthesize, synthesizeStream, textToSpeech, transcribeFile, transcribeUpload, transcribeUrl, triggerWakeWord, ttsStatus, unload, unmuteWakeWord, voicePreviewRoute, youtubeTranscript };
package/dist/audio.d.ts CHANGED
@@ -1,10 +1,10 @@
1
- import { A as Api, C as CallOptions, a as ApiStream, S as SseEvent, N as NdjsonEvent } from './index-DyDNKgdB.js';
1
+ import { A as Api, C as CallOptions, a as ApiStream, S as SseEvent, N as NdjsonEvent } from './index-BneRZdQz.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 2e22230d01e754f5ae210e0932290279956cc04757022cfee77b6d128f1c667c
7
+ * CONTRACT_SHA256 28595dcf14903c62d8dfd5a95f8a0a3f823d695979b05cdb7787f1e00b2dc3fe
8
8
  */
9
9
 
10
10
  /** ActionResponse */
@@ -105,6 +105,14 @@ type RecordingCompletionRequest = {
105
105
  type RenameVoiceRequest = {
106
106
  name: string;
107
107
  };
108
+ /** One spoken word on the audio clock (seconds). ``confidence``/``speaker`` */
109
+ type STTWord = {
110
+ text: string;
111
+ start: number;
112
+ end: number;
113
+ confidence?: number | null;
114
+ speaker?: string | null;
115
+ };
108
116
  /** SaveBlendRequest */
109
117
  type SaveBlendRequest = {
110
118
  /** Filesystem-safe ID (letters, digits, _ -) */
@@ -182,6 +190,7 @@ type TranscriptionFileRequest = {
182
190
  file_id: string;
183
191
  language?: string | null;
184
192
  model?: string;
193
+ word_timestamps?: boolean;
185
194
  };
186
195
  /** TranscriptionMeta */
187
196
  type TranscriptionMeta = {
@@ -219,6 +228,7 @@ type TranscriptionUrlRequest = {
219
228
  url: string;
220
229
  language?: string | null;
221
230
  model?: string;
231
+ word_timestamps?: boolean;
222
232
  };
223
233
  /** TtsStatusResponse */
224
234
  type TtsStatusResponse = {
@@ -296,6 +306,8 @@ type aidream__services__audio__speech__TranscriptionResponse = {
296
306
  language?: string | null;
297
307
  duration?: number | null;
298
308
  segments?: TranscriptionSegment[];
309
+ words?: STTWord[];
310
+ words_status?: "not_requested" | "provided" | "unsupported_by_provider" | "none_returned";
299
311
  chapters?: TranscriptionChapter[];
300
312
  meta: TranscriptionMeta;
301
313
  };
@@ -720,4 +732,4 @@ interface Operations {
720
732
  /** Path-keyed call, scoped to this domain only (never a global path map). */
721
733
  declare function call<K extends keyof Operations>(api: Api, key: K, args?: Operations[K]["args"], options?: CallOptions): Promise<Operations[K]["result"]>;
722
734
 
723
- export { type ActionResponse, type BlendComponent, type BlendPreviewArgs, type BlendPreviewRequest, type BlendPreviewResult, type BlendSaveArgs, type BlendSaveResult, type CompleteRecordingJournalArgs, type CompleteRecordingJournalResult, type ConfigureWakeWordArgs, type ConfigureWakeWordResult, type CreateRecordingJournalChunkArgs, type CreateRecordingJournalChunkResult, type DeleteCustomVoiceArgs, type DeleteCustomVoiceResult, type DeleteRecordingJournalArgs, type DeleteRecordingJournalResult, type DismissWakeWordArgs, type DismissWakeWordResult, type DownloadModelArgs, type DownloadModelResult, type DownloadModelWithProgressArgs, type DownloadModelWithProgressResult, type DownloadOwwModelArgs, type DownloadOwwModelResult, type DownloadRequest, type DownloadResponse, type EventStreamArgs, type EventStreamResult, type GetRecordingJournalArgs, type GetRecordingJournalResult, type GetRecordingJournalsArgs, type GetRecordingJournalsResult, type GetStatusArgs, type GetStatusResult, type ImportVoiceFileArgs, type ImportVoiceFileResult, type JournalChunk, type JournalChunkRequest, type JournalDiscardResult, type JournalRecording, type ListCustomVoicesArgs, type ListCustomVoicesResult, type ListModelsArgs, type ListModelsResult, type ListVoicesArgs, type ListVoicesResult, type ModelInfoResponse, type ModelsResponse, type MuteWakeWordArgs, type MuteWakeWordResult, type Operations, type PreviewVoiceArgs, type PreviewVoiceRequest, type PreviewVoiceResult, type RecordingCompletion, type RecordingCompletionRequest, type RenameCustomVoiceArgs, type RenameCustomVoiceResult, type RenameVoiceRequest, type SaveBlendRequest, type SpeechRequest, type SpeechResponse, type StartRequest, type StartWakeWordArgs, type StartWakeWordResult, type StopWakeWordArgs, type StopWakeWordResult, type SynthesizeArgs, type SynthesizeRequest, type SynthesizeResult, type SynthesizeStreamArgs, type SynthesizeStreamResult, type TextToSpeechArgs, type TextToSpeechResult, type TranscribeFileArgs, type TranscribeFileResult, type TranscribeUploadArgs, type TranscribeUploadResult, type TranscribeUrlArgs, type TranscribeUrlResult, type TranscriptionChapter, type TranscriptionFileRequest, type TranscriptionMeta, type TranscriptionSegment, type TranscriptionUrlRequest, type TriggerWakeWordArgs, type TriggerWakeWordResult, type TtsStatusArgs, type TtsStatusResponse, type TtsStatusResult, type TtsVoiceInfo, type UnloadArgs, type UnloadResult, type UnmuteWakeWordArgs, type UnmuteWakeWordResult, type VoicePreviewRequest, type VoicePreviewResponse, type VoicePreviewRouteArgs, type VoicePreviewRouteResult, type WakeWordStatus, type YouTubeTranscriptRequest, type YoutubeTranscriptArgs, type YoutubeTranscriptResult, type aidream__services__audio__speech__TranscriptionResponse, type app__api__wake_word_routes__ConfigureRequest, blendPreview, blendSave, call, completeRecordingJournal, configureWakeWord, createRecordingJournalChunk, deleteCustomVoice, deleteRecordingJournal, dismissWakeWord, downloadModel, downloadModelWithProgress, downloadOwwModel, eventStream, getRecordingJournal, getRecordingJournals, getStatus, importVoiceFile, listCustomVoices, listModels, listVoices, muteWakeWord, previewVoice, renameCustomVoice, startWakeWord, stopWakeWord, synthesize, synthesizeStream, textToSpeech, transcribeFile, transcribeUpload, transcribeUrl, triggerWakeWord, ttsStatus, unload, unmuteWakeWord, voicePreviewRoute, youtubeTranscript };
735
+ export { type ActionResponse, type BlendComponent, type BlendPreviewArgs, type BlendPreviewRequest, type BlendPreviewResult, type BlendSaveArgs, type BlendSaveResult, type CompleteRecordingJournalArgs, type CompleteRecordingJournalResult, type ConfigureWakeWordArgs, type ConfigureWakeWordResult, type CreateRecordingJournalChunkArgs, type CreateRecordingJournalChunkResult, type DeleteCustomVoiceArgs, type DeleteCustomVoiceResult, type DeleteRecordingJournalArgs, type DeleteRecordingJournalResult, type DismissWakeWordArgs, type DismissWakeWordResult, type DownloadModelArgs, type DownloadModelResult, type DownloadModelWithProgressArgs, type DownloadModelWithProgressResult, type DownloadOwwModelArgs, type DownloadOwwModelResult, type DownloadRequest, type DownloadResponse, type EventStreamArgs, type EventStreamResult, type GetRecordingJournalArgs, type GetRecordingJournalResult, type GetRecordingJournalsArgs, type GetRecordingJournalsResult, type GetStatusArgs, type GetStatusResult, type ImportVoiceFileArgs, type ImportVoiceFileResult, type JournalChunk, type JournalChunkRequest, type JournalDiscardResult, type JournalRecording, type ListCustomVoicesArgs, type ListCustomVoicesResult, type ListModelsArgs, type ListModelsResult, type ListVoicesArgs, type ListVoicesResult, type ModelInfoResponse, type ModelsResponse, type MuteWakeWordArgs, type MuteWakeWordResult, type Operations, type PreviewVoiceArgs, type PreviewVoiceRequest, type PreviewVoiceResult, type RecordingCompletion, type RecordingCompletionRequest, type RenameCustomVoiceArgs, type RenameCustomVoiceResult, type RenameVoiceRequest, type STTWord, type SaveBlendRequest, type SpeechRequest, type SpeechResponse, type StartRequest, type StartWakeWordArgs, type StartWakeWordResult, type StopWakeWordArgs, type StopWakeWordResult, type SynthesizeArgs, type SynthesizeRequest, type SynthesizeResult, type SynthesizeStreamArgs, type SynthesizeStreamResult, type TextToSpeechArgs, type TextToSpeechResult, type TranscribeFileArgs, type TranscribeFileResult, type TranscribeUploadArgs, type TranscribeUploadResult, type TranscribeUrlArgs, type TranscribeUrlResult, type TranscriptionChapter, type TranscriptionFileRequest, type TranscriptionMeta, type TranscriptionSegment, type TranscriptionUrlRequest, type TriggerWakeWordArgs, type TriggerWakeWordResult, type TtsStatusArgs, type TtsStatusResponse, type TtsStatusResult, type TtsVoiceInfo, type UnloadArgs, type UnloadResult, type UnmuteWakeWordArgs, type UnmuteWakeWordResult, type VoicePreviewRequest, type VoicePreviewResponse, type VoicePreviewRouteArgs, type VoicePreviewRouteResult, type WakeWordStatus, type YouTubeTranscriptRequest, type YoutubeTranscriptArgs, type YoutubeTranscriptResult, type aidream__services__audio__speech__TranscriptionResponse, type app__api__wake_word_routes__ConfigureRequest, blendPreview, blendSave, call, completeRecordingJournal, configureWakeWord, createRecordingJournalChunk, deleteCustomVoice, deleteRecordingJournal, dismissWakeWord, downloadModel, downloadModelWithProgress, downloadOwwModel, eventStream, getRecordingJournal, getRecordingJournals, getStatus, importVoiceFile, listCustomVoices, listModels, listVoices, muteWakeWord, previewVoice, renameCustomVoice, startWakeWord, stopWakeWord, synthesize, synthesizeStream, textToSpeech, transcribeFile, transcribeUpload, transcribeUrl, triggerWakeWord, ttsStatus, unload, unmuteWakeWord, voicePreviewRoute, youtubeTranscript };
package/dist/audio.js CHANGED
@@ -1,3 +1,3 @@
1
- export { blendPreview, blendSave, call, completeRecordingJournal, configureWakeWord, createRecordingJournalChunk, deleteCustomVoice, deleteRecordingJournal, dismissWakeWord, downloadModel, downloadModelWithProgress, downloadOwwModel, eventStream, getRecordingJournal, getRecordingJournals, getStatus, importVoiceFile, listCustomVoices, listModels, listVoices, muteWakeWord, previewVoice, renameCustomVoice, startWakeWord, stopWakeWord, synthesize, synthesizeStream, textToSpeech, transcribeFile, transcribeUpload, transcribeUrl, triggerWakeWord, ttsStatus, unload, unmuteWakeWord, voicePreviewRoute, youtubeTranscript } from './chunk-IAB7JCVA.js';
2
- import './chunk-BIHYNQOU.js';
1
+ export { blendPreview, blendSave, call, completeRecordingJournal, configureWakeWord, createRecordingJournalChunk, deleteCustomVoice, deleteRecordingJournal, dismissWakeWord, downloadModel, downloadModelWithProgress, downloadOwwModel, eventStream, getRecordingJournal, getRecordingJournals, getStatus, importVoiceFile, listCustomVoices, listModels, listVoices, muteWakeWord, previewVoice, renameCustomVoice, startWakeWord, stopWakeWord, synthesize, synthesizeStream, textToSpeech, transcribeFile, transcribeUpload, transcribeUrl, triggerWakeWord, ttsStatus, unload, unmuteWakeWord, voicePreviewRoute, youtubeTranscript } from './chunk-MY5RKVCY.js';
2
+ import './chunk-YK5KJICX.js';
3
3
  import './chunk-KIEAFMKB.js';
package/dist/chat.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkG3OJBGCU_cjs = require('./chunk-G3OJBGCU.cjs');
3
+ var chunk45PIBJ3K_cjs = require('./chunk-45PIBJ3K.cjs');
4
4
  require('./chunk-2SXAAKGV.cjs');
5
5
 
6
6
  // src/generated/chat.ts
@@ -14,27 +14,27 @@ function conversationsWarmConversationPost(api, args, options) {
14
14
  }
15
15
  var $chat = { m: "POST", p: "/ai/manual", d: "aidream", a: "guest", o: "required", s: "ndjson_or_json", n: "chat.chat" };
16
16
  function chat(api, args, options) {
17
- return chunkG3OJBGCU_cjs.openJsonOrStream(api, $chat, args, options);
17
+ return chunk45PIBJ3K_cjs.openJsonOrStream(api, $chat, args, options);
18
18
  }
19
19
  var $chatPost = { m: "POST", p: "/ai/chat", d: "aidream", a: "guest", o: "required", s: "ndjson_or_json", n: "chat.chat_post" };
20
20
  function chatPost(api, args, options) {
21
- return chunkG3OJBGCU_cjs.openJsonOrStream(api, $chatPost, args, options);
21
+ return chunk45PIBJ3K_cjs.openJsonOrStream(api, $chatPost, args, options);
22
22
  }
23
23
  var $conversationsContinueConversation = { m: "POST", p: "/ai/conversation/{conversation_id}", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "chat.conversations_continue_conversation" };
24
24
  function conversationsContinueConversation(api, args, options) {
25
- return chunkG3OJBGCU_cjs.openStream(api, $conversationsContinueConversation, args, options);
25
+ return chunk45PIBJ3K_cjs.openStream(api, $conversationsContinueConversation, args, options);
26
26
  }
27
27
  var $conversationsContinueConversationPost = { m: "POST", p: "/ai/conversations/{conversation_id}", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "chat.conversations_continue_conversation_post" };
28
28
  function conversationsContinueConversationPost(api, args, options) {
29
- return chunkG3OJBGCU_cjs.openStream(api, $conversationsContinueConversationPost, args, options);
29
+ return chunk45PIBJ3K_cjs.openStream(api, $conversationsContinueConversationPost, args, options);
30
30
  }
31
31
  var $conversationsForkAndRun = { m: "POST", p: "/ai/conversation/{conversation_id}/fork-and-run", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "chat.conversations_fork_and_run" };
32
32
  function conversationsForkAndRun(api, args, options) {
33
- return chunkG3OJBGCU_cjs.openStream(api, $conversationsForkAndRun, args, options);
33
+ return chunk45PIBJ3K_cjs.openStream(api, $conversationsForkAndRun, args, options);
34
34
  }
35
35
  var $conversationsForkAndRunPost = { m: "POST", p: "/ai/conversations/{conversation_id}/fork-and-run", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "chat.conversations_fork_and_run_post" };
36
36
  function conversationsForkAndRunPost(api, args, options) {
37
- return chunkG3OJBGCU_cjs.openStream(api, $conversationsForkAndRunPost, args, options);
37
+ return chunk45PIBJ3K_cjs.openStream(api, $conversationsForkAndRunPost, args, options);
38
38
  }
39
39
  var $conversationsSubmitToolResults = { m: "POST", p: "/ai/conversation/{conversation_id}/tool_results", d: "aidream", a: "guest", o: "required", n: "chat.conversations_submit_tool_results" };
40
40
  function conversationsSubmitToolResults(api, args, options) {
@@ -90,11 +90,11 @@ function conversationsCancelInboxItemDelete(api, args, options) {
90
90
  }
91
91
  var $conversationsResumeConversation = { m: "POST", p: "/ai/conversation/{conversation_id}/resume", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "chat.conversations_resume_conversation" };
92
92
  function conversationsResumeConversation(api, args, options) {
93
- return chunkG3OJBGCU_cjs.openStream(api, $conversationsResumeConversation, args, options);
93
+ return chunk45PIBJ3K_cjs.openStream(api, $conversationsResumeConversation, args, options);
94
94
  }
95
95
  var $conversationsResumeConversationPost = { m: "POST", p: "/ai/conversations/{conversation_id}/resume", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "chat.conversations_resume_conversation_post" };
96
96
  function conversationsResumeConversationPost(api, args, options) {
97
- return chunkG3OJBGCU_cjs.openStream(api, $conversationsResumeConversationPost, args, options);
97
+ return chunk45PIBJ3K_cjs.openStream(api, $conversationsResumeConversationPost, args, options);
98
98
  }
99
99
  var $conversationsGetConversationSandbox = { m: "GET", p: "/ai/conversation/{conversation_id}/sandbox", d: "aidream", a: "guest", o: "optional", n: "chat.conversations_get_conversation_sandbox" };
100
100
  function conversationsGetConversationSandbox(api, args, options) {
@@ -146,11 +146,11 @@ function warmHealthRoute(api, args, options) {
146
146
  }
147
147
  var $directChat = { m: "POST", p: "/ai/chat/direct-chat", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "chat.direct_chat" };
148
148
  function directChat(api, args, options) {
149
- return chunkG3OJBGCU_cjs.openStream(api, $directChat, args, options);
149
+ return chunk45PIBJ3K_cjs.openStream(api, $directChat, args, options);
150
150
  }
151
151
  var $promptExecution = { m: "POST", p: "/ai/chat/prompt-execution", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "chat.prompt_execution" };
152
152
  function promptExecution(api, args, options) {
153
- return chunkG3OJBGCU_cjs.openStream(api, $promptExecution, args, options);
153
+ return chunk45PIBJ3K_cjs.openStream(api, $promptExecution, args, options);
154
154
  }
155
155
  var $readSessionOffer = { m: "GET", p: "/ai/sessions/offers/{offer_id}", d: "aidream", a: "guest", o: "required", n: "chat.read_session_offer" };
156
156
  function readSessionOffer(api, args, options) {