@ai-matrx/api 0.1.28 → 0.1.30

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 +32 -1
  2. package/dist/account.d.cts +2 -2
  3. package/dist/account.d.ts +2 -2
  4. package/dist/agents.cjs +11 -11
  5. package/dist/agents.d.cts +2 -2
  6. package/dist/agents.d.ts +2 -2
  7. package/dist/agents.js +1 -1
  8. package/dist/ai.cjs +2 -2
  9. package/dist/ai.d.cts +2 -2
  10. package/dist/ai.d.ts +2 -2
  11. package/dist/ai.js +1 -1
  12. package/dist/apps.cjs +5 -5
  13. package/dist/apps.d.cts +2 -2
  14. package/dist/apps.d.ts +2 -2
  15. package/dist/apps.js +1 -1
  16. package/dist/architecture.cjs +12 -12
  17. package/dist/architecture.d.cts +2 -2
  18. package/dist/architecture.d.ts +2 -2
  19. package/dist/architecture.js +1 -1
  20. package/dist/audio.cjs +39 -39
  21. package/dist/audio.d.cts +2 -2
  22. package/dist/audio.d.ts +2 -2
  23. package/dist/audio.js +2 -2
  24. package/dist/chat.cjs +11 -11
  25. package/dist/chat.d.cts +14 -2
  26. package/dist/chat.d.ts +14 -2
  27. package/dist/chat.js +1 -1
  28. package/dist/{chunk-IAB7JCVA.js → chunk-35BH3TJW.js} +1 -1
  29. package/dist/{chunk-BI6C3CD7.cjs → chunk-FFXB3EDM.cjs} +3 -3
  30. package/dist/{chunk-Z2UOMPC4.js → chunk-I4AWZ7GN.js} +1 -1
  31. package/dist/{chunk-G3OJBGCU.cjs → chunk-ILAZVNEL.cjs} +1 -1
  32. package/dist/{chunk-BIHYNQOU.js → chunk-KZD6TVJ4.js} +1 -1
  33. package/dist/{chunk-VGXUUEFE.cjs → chunk-NH7VE36B.cjs} +4 -4
  34. package/dist/{chunk-QCDALTHR.js → chunk-RIIIDGZJ.js} +1 -1
  35. package/dist/{chunk-Q6BD7FVP.cjs → chunk-VU3BK4NY.cjs} +37 -37
  36. package/dist/code.cjs +6 -6
  37. package/dist/code.d.cts +2 -2
  38. package/dist/code.d.ts +2 -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 +2 -2
  55. package/dist/crm.d.cts +2 -2
  56. package/dist/crm.d.ts +2 -2
  57. package/dist/crm.js +1 -1
  58. package/dist/data.cjs +4 -4
  59. package/dist/data.d.cts +2 -2
  60. package/dist/data.d.ts +2 -2
  61. package/dist/data.js +1 -1
  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 +2 -2
  68. package/dist/files.d.ts +2 -2
  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-B6p8TJkh.d.cts} +2 -2
  73. package/dist/{index-DyDNKgdB.d.ts → index-B6p8TJkh.d.ts} +2 -2
  74. package/dist/index.cjs +86 -64
  75. package/dist/index.d.cts +15 -4
  76. package/dist/index.d.ts +15 -4
  77. package/dist/index.js +30 -8
  78. package/dist/integrations.cjs +5 -5
  79. package/dist/integrations.d.cts +2 -2
  80. package/dist/integrations.d.ts +2 -2
  81. package/dist/integrations.js +1 -1
  82. package/dist/intelligence.cjs +16 -9
  83. package/dist/intelligence.d.cts +4 -3
  84. package/dist/intelligence.d.ts +4 -3
  85. package/dist/intelligence.js +11 -4
  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 +2 -2
  90. package/dist/knowledge.d.ts +2 -2
  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 +78 -78
  97. package/dist/marketing.d.cts +2 -2
  98. package/dist/marketing.d.ts +2 -2
  99. package/dist/marketing.js +1 -1
  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 +11 -11
  105. package/dist/media.d.cts +2 -2
  106. package/dist/media.d.ts +2 -2
  107. package/dist/media.js +1 -1
  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 +1 -1
  119. package/dist/schemas.d.ts +1 -1
  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 +3 -3
  125. package/dist/types.d.ts +3 -3
  126. package/dist/web.cjs +26 -26
  127. package/dist/web.d.cts +2 -2
  128. package/dist/web.d.ts +2 -2
  129. package/dist/web.js +1 -1
  130. package/dist/workflows.cjs +13 -13
  131. package/dist/workflows.d.cts +14 -2
  132. package/dist/workflows.d.ts +14 -2
  133. package/dist/workflows.js +1 -1
  134. package/package.json +2 -2
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 chunkNH7VE36B_cjs = require('./chunk-NH7VE36B.cjs');
4
+ require('./chunk-ILAZVNEL.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 chunkNH7VE36B_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 chunkNH7VE36B_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 chunkNH7VE36B_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 chunkNH7VE36B_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 chunkNH7VE36B_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 chunkNH7VE36B_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 chunkNH7VE36B_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 chunkNH7VE36B_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 chunkNH7VE36B_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 chunkNH7VE36B_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 chunkNH7VE36B_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 chunkNH7VE36B_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 chunkNH7VE36B_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 chunkNH7VE36B_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 chunkNH7VE36B_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 chunkNH7VE36B_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 chunkNH7VE36B_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 chunkNH7VE36B_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 chunkNH7VE36B_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 chunkNH7VE36B_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 chunkNH7VE36B_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 chunkNH7VE36B_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 chunkNH7VE36B_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 chunkNH7VE36B_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 chunkNH7VE36B_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 chunkNH7VE36B_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 chunkNH7VE36B_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 chunkNH7VE36B_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 chunkNH7VE36B_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 chunkNH7VE36B_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 chunkNH7VE36B_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 chunkNH7VE36B_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 chunkNH7VE36B_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 chunkNH7VE36B_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 chunkNH7VE36B_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 chunkNH7VE36B_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 chunkNH7VE36B_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-B6p8TJkh.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 1be6854fef4b55295a81f3b38e5801322cbf96de671625e0d642bc53c0939781
8
8
  */
9
9
 
10
10
  /** ActionResponse */
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-B6p8TJkh.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 1be6854fef4b55295a81f3b38e5801322cbf96de671625e0d642bc53c0939781
8
8
  */
9
9
 
10
10
  /** ActionResponse */
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-35BH3TJW.js';
2
+ import './chunk-KZD6TVJ4.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 chunkILAZVNEL_cjs = require('./chunk-ILAZVNEL.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 chunkILAZVNEL_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 chunkILAZVNEL_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 chunkILAZVNEL_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 chunkILAZVNEL_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 chunkILAZVNEL_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 chunkILAZVNEL_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 chunkILAZVNEL_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 chunkILAZVNEL_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 chunkILAZVNEL_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 chunkILAZVNEL_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) {
package/dist/chat.d.cts CHANGED
@@ -1,10 +1,10 @@
1
- import { A as Api, C as CallOptions, J as JsonOrStream, N as NdjsonEvent, a as ApiStream } from './index-DyDNKgdB.cjs';
1
+ import { A as Api, C as CallOptions, J as JsonOrStream, N as NdjsonEvent, a as ApiStream } from './index-B6p8TJkh.cjs';
2
2
  import { JsonValue, ResponseFormatText, ResponseFormatJsonObject, ResponseFormatJsonSchema, TtsVoiceSpeaker, TtsDialogueTurn, MediaRef, ImageLora, CustomTool, CompactionSettings, DictionaryConfig, ContextAnchor, ChatMessageInput, RegisteredToolSpec, InlineToolSpec, AgentToolSpec, ClientContext, UserOverrides, LLMParams, ResourceContextPolicy, IdeState, SandboxBindingRequest, PageContext, CacheBypass, TextPart, ThinkingPart, ToolCallPart, ToolResultPart, UserImageMediaPart, UserAudioMediaPart, UserVideoMediaPart, UserDocumentMediaPart, UserYouTubeMediaPart, CodeExecPart, CodeResultPart, WebSearchPart, WebpageInputPart, NotesInputPart, TaskInputPart, AgentInputPart, ProjectInputPart, AgentAppInputPart, TranscriptInputPart, TranscriptSessionInputPart, WorkbookInputPart, DocumentInputPart, TableInputPart, ListInputPart, DataInputPart, ContextInputPart, RemarksInputPart, DecisionQuestionsPart, DecisionAnswersPart, SpeechScriptPart, HostTurn, ActionNeeded } 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 1be6854fef4b55295a81f3b38e5801322cbf96de671625e0d642bc53c0939781
8
8
  */
9
9
 
10
10
  /** What the chooser sends. Only `provider` plus one of `resource_ref` / */
@@ -928,6 +928,18 @@ type SeesOnly = {
928
928
  };
929
929
  /** Start only, all optional: the person's agent switch and edited brief. */
930
930
  type SessionOfferActionBody = {
931
+ /** Organization context for the request; omitted to use the authenticated context. */
932
+ organization_id?: string | null;
933
+ /** Optional associated project selected by the caller. */
934
+ project_id?: string | null;
935
+ /** Optional associated task selected by the caller. */
936
+ task_id?: string | null;
937
+ /** Stable application slug that initiated the request. */
938
+ source_app?: string | null;
939
+ /** Stable feature slug within the source application. */
940
+ source_feature?: string | null;
941
+ /** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
942
+ initiation?: ("user" | "auto") | null;
931
943
  agent_id?: string | null;
932
944
  prompt?: string | null;
933
945
  };
package/dist/chat.d.ts CHANGED
@@ -1,10 +1,10 @@
1
- import { A as Api, C as CallOptions, J as JsonOrStream, N as NdjsonEvent, a as ApiStream } from './index-DyDNKgdB.js';
1
+ import { A as Api, C as CallOptions, J as JsonOrStream, N as NdjsonEvent, a as ApiStream } from './index-B6p8TJkh.js';
2
2
  import { JsonValue, ResponseFormatText, ResponseFormatJsonObject, ResponseFormatJsonSchema, TtsVoiceSpeaker, TtsDialogueTurn, MediaRef, ImageLora, CustomTool, CompactionSettings, DictionaryConfig, ContextAnchor, ChatMessageInput, RegisteredToolSpec, InlineToolSpec, AgentToolSpec, ClientContext, UserOverrides, LLMParams, ResourceContextPolicy, IdeState, SandboxBindingRequest, PageContext, CacheBypass, TextPart, ThinkingPart, ToolCallPart, ToolResultPart, UserImageMediaPart, UserAudioMediaPart, UserVideoMediaPart, UserDocumentMediaPart, UserYouTubeMediaPart, CodeExecPart, CodeResultPart, WebSearchPart, WebpageInputPart, NotesInputPart, TaskInputPart, AgentInputPart, ProjectInputPart, AgentAppInputPart, TranscriptInputPart, TranscriptSessionInputPart, WorkbookInputPart, DocumentInputPart, TableInputPart, ListInputPart, DataInputPart, ContextInputPart, RemarksInputPart, DecisionQuestionsPart, DecisionAnswersPart, SpeechScriptPart, HostTurn, ActionNeeded } 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 1be6854fef4b55295a81f3b38e5801322cbf96de671625e0d642bc53c0939781
8
8
  */
9
9
 
10
10
  /** What the chooser sends. Only `provider` plus one of `resource_ref` / */
@@ -928,6 +928,18 @@ type SeesOnly = {
928
928
  };
929
929
  /** Start only, all optional: the person's agent switch and edited brief. */
930
930
  type SessionOfferActionBody = {
931
+ /** Organization context for the request; omitted to use the authenticated context. */
932
+ organization_id?: string | null;
933
+ /** Optional associated project selected by the caller. */
934
+ project_id?: string | null;
935
+ /** Optional associated task selected by the caller. */
936
+ task_id?: string | null;
937
+ /** Stable application slug that initiated the request. */
938
+ source_app?: string | null;
939
+ /** Stable feature slug within the source application. */
940
+ source_feature?: string | null;
941
+ /** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
942
+ initiation?: ("user" | "auto") | null;
931
943
  agent_id?: string | null;
932
944
  prompt?: string | null;
933
945
  };
package/dist/chat.js CHANGED
@@ -1,4 +1,4 @@
1
- import { openJsonOrStream, openStream } from './chunk-BIHYNQOU.js';
1
+ import { openJsonOrStream, openStream } from './chunk-KZD6TVJ4.js';
2
2
  import './chunk-KIEAFMKB.js';
3
3
 
4
4
  // src/generated/chat.ts
@@ -1,4 +1,4 @@
1
- import { openStream } from './chunk-BIHYNQOU.js';
1
+ import { openStream } from './chunk-KZD6TVJ4.js';
2
2
 
3
3
  // src/generated/audio.ts
4
4
  var $createRecordingJournalChunk = { m: "POST", p: "/audio/recording-journal/chunks", d: "aidream", a: "guest", o: "required", n: "audio.create_recording_journal_chunk" };
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkG3OJBGCU_cjs = require('./chunk-G3OJBGCU.cjs');
3
+ var chunkILAZVNEL_cjs = require('./chunk-ILAZVNEL.cjs');
4
4
 
5
5
  // src/generated/platform.ts
6
6
  var $initiateOauth = { m: "GET", p: "/auth/aimatrx", d: "aidream", a: "public", o: "exempt", n: "platform.initiate_oauth" };
@@ -45,7 +45,7 @@ function getAppConfig(api, args, options) {
45
45
  }
46
46
  var $publishDictionary = { m: "POST", p: "/dictionary/publish", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "platform.publish_dictionary" };
47
47
  function publishDictionary(api, args, options) {
48
- return chunkG3OJBGCU_cjs.openStream(api, $publishDictionary, args, options);
48
+ return chunkILAZVNEL_cjs.openStream(api, $publishDictionary, args, options);
49
49
  }
50
50
  var $listPublications = { m: "GET", p: "/dictionary/publications", d: "aidream", a: "guest", o: "exempt", n: "platform.list_publications" };
51
51
  function listPublications(api, args, options) {
@@ -69,7 +69,7 @@ function getCheck(api, args, options) {
69
69
  }
70
70
  var $runCheck = { m: "POST", p: "/proof-runs/checks/{slug}/run", d: "aidream", a: "admin", o: "required", s: "ndjson", n: "platform.run_check" };
71
71
  function runCheck(api, args, options) {
72
- return chunkG3OJBGCU_cjs.openStream(api, $runCheck, args, options);
72
+ return chunkILAZVNEL_cjs.openStream(api, $runCheck, args, options);
73
73
  }
74
74
  var $listRecentRuns = { m: "GET", p: "/proof-runs/runs", d: "aidream", a: "admin", o: "optional", n: "platform.list_recent_runs" };
75
75
  function listRecentRuns(api, args, options) {
@@ -1,4 +1,4 @@
1
- import { openStream } from './chunk-BIHYNQOU.js';
1
+ import { openStream } from './chunk-KZD6TVJ4.js';
2
2
 
3
3
  // src/generated/platform.ts
4
4
  var $initiateOauth = { m: "GET", p: "/auth/aimatrx", d: "aidream", a: "public", o: "exempt", n: "platform.initiate_oauth" };
@@ -737,7 +737,7 @@ async function* readMatrxSseStream(stream, options = {}) {
737
737
  }
738
738
 
739
739
  // src/deployments.generated.ts
740
- var CONTRACT_SHA256 = "2e22230d01e754f5ae210e0932290279956cc04757022cfee77b6d128f1c667c";
740
+ var CONTRACT_SHA256 = "1be6854fef4b55295a81f3b38e5801322cbf96de671625e0d642bc53c0939781";
741
741
  var DEPLOYMENTS = {
742
742
  "files": {
743
743
  "app": "files-standalone",
@@ -735,7 +735,7 @@ async function* readMatrxSseStream(stream, options = {}) {
735
735
  }
736
736
 
737
737
  // src/deployments.generated.ts
738
- var CONTRACT_SHA256 = "2e22230d01e754f5ae210e0932290279956cc04757022cfee77b6d128f1c667c";
738
+ var CONTRACT_SHA256 = "1be6854fef4b55295a81f3b38e5801322cbf96de671625e0d642bc53c0939781";
739
739
  var DEPLOYMENTS = {
740
740
  "files": {
741
741
  "app": "files-standalone",
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkG3OJBGCU_cjs = require('./chunk-G3OJBGCU.cjs');
3
+ var chunkILAZVNEL_cjs = require('./chunk-ILAZVNEL.cjs');
4
4
 
5
5
  // src/generated/audio.ts
6
6
  var $createRecordingJournalChunk = { m: "POST", p: "/audio/recording-journal/chunks", d: "aidream", a: "guest", o: "required", n: "audio.create_recording_journal_chunk" };
@@ -45,7 +45,7 @@ function textToSpeech(api, args, options) {
45
45
  }
46
46
  var $youtubeTranscript = { m: "POST", p: "/media/youtube/transcript", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "audio.youtube_transcript" };
47
47
  function youtubeTranscript(api, args, options) {
48
- return chunkG3OJBGCU_cjs.openStream(api, $youtubeTranscript, args, options);
48
+ return chunkILAZVNEL_cjs.openStream(api, $youtubeTranscript, args, options);
49
49
  }
50
50
  var $getStatus = { m: "GET", p: "/wake-word/status", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.get_status" };
51
51
  function getStatus(api, args, options) {
@@ -81,7 +81,7 @@ function configureWakeWord(api, args, options) {
81
81
  }
82
82
  var $eventStream = { m: "GET", p: "/wake-word/stream", d: "matrx-local", a: "loopback_token", o: "exempt", s: "sse", n: "audio.event_stream" };
83
83
  function eventStream(api, args, options) {
84
- return chunkG3OJBGCU_cjs.openStream(api, $eventStream, args, options);
84
+ return chunkILAZVNEL_cjs.openStream(api, $eventStream, args, options);
85
85
  }
86
86
  var $listModels = { m: "GET", p: "/wake-word/models", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.list_models" };
87
87
  function listModels(api, args, options) {
@@ -93,7 +93,7 @@ function downloadOwwModel(api, args, options) {
93
93
  }
94
94
  var $downloadModelWithProgress = { m: "POST", p: "/wake-word/models/download-stream", d: "matrx-local", a: "loopback_token", o: "exempt", s: "sse", n: "audio.download_model_with_progress" };
95
95
  function downloadModelWithProgress(api, args, options) {
96
- return chunkG3OJBGCU_cjs.openStream(api, $downloadModelWithProgress, args, options);
96
+ return chunkILAZVNEL_cjs.openStream(api, $downloadModelWithProgress, args, options);
97
97
  }
98
98
  var $ttsStatus = { m: "GET", p: "/tts/status", d: "matrx-local", a: "loopback_token", o: "exempt", n: "audio.tts_status" };
99
99
  function ttsStatus(api, args, options) {
@@ -1,4 +1,4 @@
1
- import { openJsonOrStream, openStream } from './chunk-BIHYNQOU.js';
1
+ import { openJsonOrStream, openStream } from './chunk-KZD6TVJ4.js';
2
2
 
3
3
  // src/generated/files.ts
4
4
  var $compressPdf = { m: "POST", p: "/utilities/pdf/compress", d: "aidream", a: "guest", o: "required", s: "bytes_or_json", n: "files.compress_pdf" };