@ai-matrx/api 0.1.31 → 0.1.33

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 (132) hide show
  1. package/CHANGELOG.md +43 -1
  2. package/dist/account.d.cts +2 -2
  3. package/dist/account.d.ts +2 -2
  4. package/dist/agents.cjs +91 -13
  5. package/dist/agents.d.cts +444 -16
  6. package/dist/agents.d.ts +444 -16
  7. package/dist/agents.js +67 -2
  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 +30 -12
  17. package/dist/architecture.d.cts +103 -5
  18. package/dist/architecture.d.ts +103 -5
  19. package/dist/architecture.js +17 -2
  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 +2 -2
  26. package/dist/chat.d.ts +2 -2
  27. package/dist/chat.js +1 -1
  28. package/dist/{chunk-45PIBJ3K.cjs → chunk-2XQZ7UUM.cjs} +8 -2
  29. package/dist/{chunk-7GMHDVF5.js → chunk-4DIKNTZ5.js} +1 -1
  30. package/dist/{chunk-QDFU72YV.cjs → chunk-BO4DXT4E.cjs} +37 -37
  31. package/dist/{chunk-YK5KJICX.js → chunk-DVYCIFMH.js} +8 -2
  32. package/dist/{chunk-FHHE5FNM.cjs → chunk-EC2LWEXH.cjs} +4 -4
  33. package/dist/{chunk-BO5HWECS.cjs → chunk-N72EQZ4X.cjs} +3 -3
  34. package/dist/{chunk-YRZAOYRE.js → chunk-PVQZBXTU.js} +1 -1
  35. package/dist/{chunk-MY5RKVCY.js → chunk-QGHXBN6P.js} +1 -1
  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 +2 -2
  44. package/dist/communications.d.ts +2 -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 +4 -2
  60. package/dist/data.d.ts +4 -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-BneRZdQz.d.cts → index-A1nOdg4F.d.cts} +2 -2
  73. package/dist/{index-BneRZdQz.d.ts → index-A1nOdg4F.d.ts} +2 -2
  74. package/dist/index.cjs +69 -59
  75. package/dist/index.d.cts +9 -4
  76. package/dist/index.d.ts +9 -4
  77. package/dist/index.js +13 -3
  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 +7 -7
  83. package/dist/intelligence.d.cts +2 -2
  84. package/dist/intelligence.d.ts +2 -2
  85. package/dist/intelligence.js +1 -1
  86. package/dist/knowledge.cjs +42 -42
  87. package/dist/knowledge.d.cts +2 -2
  88. package/dist/knowledge.d.ts +2 -2
  89. package/dist/knowledge.js +1 -1
  90. package/dist/legal.cjs +6 -6
  91. package/dist/legal.d.cts +2 -2
  92. package/dist/legal.d.ts +2 -2
  93. package/dist/legal.js +1 -1
  94. package/dist/marketing.cjs +82 -82
  95. package/dist/marketing.d.cts +2 -2
  96. package/dist/marketing.d.ts +2 -2
  97. package/dist/marketing.js +1 -1
  98. package/dist/masterwork.cjs +32 -32
  99. package/dist/masterwork.d.cts +2 -2
  100. package/dist/masterwork.d.ts +2 -2
  101. package/dist/masterwork.js +1 -1
  102. package/dist/media.cjs +11 -11
  103. package/dist/media.d.cts +2 -2
  104. package/dist/media.d.ts +2 -2
  105. package/dist/media.js +1 -1
  106. package/dist/platform.cjs +27 -27
  107. package/dist/platform.d.cts +2 -2
  108. package/dist/platform.d.ts +2 -2
  109. package/dist/platform.js +2 -2
  110. package/dist/publish.cjs +7 -7
  111. package/dist/publish.d.cts +2 -2
  112. package/dist/publish.d.ts +2 -2
  113. package/dist/publish.js +1 -1
  114. package/dist/recording.cjs +17 -17
  115. package/dist/recording.js +4 -4
  116. package/dist/schemas.d.cts +1 -1
  117. package/dist/schemas.d.ts +1 -1
  118. package/dist/stream.cjs +10 -10
  119. package/dist/stream.d.cts +1 -1
  120. package/dist/stream.d.ts +1 -1
  121. package/dist/stream.js +1 -1
  122. package/dist/types.d.cts +375 -6
  123. package/dist/types.d.ts +375 -6
  124. package/dist/web.cjs +27 -27
  125. package/dist/web.d.cts +2 -2
  126. package/dist/web.d.ts +2 -2
  127. package/dist/web.js +1 -1
  128. package/dist/workflows.cjs +13 -13
  129. package/dist/workflows.d.cts +2 -2
  130. package/dist/workflows.d.ts +2 -2
  131. package/dist/workflows.js +1 -1
  132. package/package.json +2 -2
package/dist/agents.js CHANGED
@@ -1,4 +1,4 @@
1
- import { openJsonOrStream, openStream } from './chunk-YK5KJICX.js';
1
+ import { openJsonOrStream, openStream } from './chunk-DVYCIFMH.js';
2
2
  import './chunk-KIEAFMKB.js';
3
3
 
4
4
  // src/generated/agents.ts
@@ -106,6 +106,10 @@ var $getRealtimeSession = { m: "POST", p: "/ai/agents/{agent_id}/realtime-sessio
106
106
  function getRealtimeSession(api, args, options) {
107
107
  return api.call($getRealtimeSession, args, options);
108
108
  }
109
+ var $getRealtimeModels = { m: "GET", p: "/ai/realtime-models", d: "aidream", a: "guest", o: "required", n: "agents.get_realtime_models" };
110
+ function getRealtimeModels(api, args, options) {
111
+ return api.call($getRealtimeModels, args, options);
112
+ }
109
113
  var $executeRealtimeToolRoute = { m: "POST", p: "/ai/tools/execute", d: "aidream", a: "guest", o: "required", n: "agents.execute_realtime_tool_route" };
110
114
  function executeRealtimeToolRoute(api, args, options) {
111
115
  return api.call($executeRealtimeToolRoute, args, options);
@@ -326,6 +330,22 @@ var $cancelMatrixBattle = { m: "POST", p: "/agent-battles/{set_id}/cancel", d: "
326
330
  function cancelMatrixBattle(api, args, options) {
327
331
  return api.call($cancelMatrixBattle, args, options);
328
332
  }
333
+ var $createBattle = { m: "POST", p: "/tool-battles", d: "aidream", a: "admin", o: "required", n: "agents.create_battle" };
334
+ function createBattle(api, args, options) {
335
+ return api.call($createBattle, args, options);
336
+ }
337
+ var $runBattle = { m: "POST", p: "/tool-battles/{battle_id}/run", d: "aidream", a: "admin", o: "required", n: "agents.run_battle" };
338
+ function runBattle(api, args, options) {
339
+ return api.call($runBattle, args, options);
340
+ }
341
+ var $cancelBattle = { m: "POST", p: "/tool-battles/{battle_id}/cancel", d: "aidream", a: "admin", o: "required", n: "agents.cancel_battle" };
342
+ function cancelBattle(api, args, options) {
343
+ return api.call($cancelBattle, args, options);
344
+ }
345
+ var $promote = { m: "POST", p: "/tool-battles/{battle_id}/promote", d: "aidream", a: "admin", o: "required", n: "agents.promote" };
346
+ function promote(api, args, options) {
347
+ return api.call($promote, args, options);
348
+ }
329
349
  var $launch = { m: "POST", p: "/agent-tests/runs", d: "aidream", a: "guest", o: "required", n: "agents.launch" };
330
350
  function launch(api, args, options) {
331
351
  return api.call($launch, args, options);
@@ -354,6 +374,10 @@ var $formatCheck = { m: "POST", p: "/agent-tests/checks/format", d: "aidream", a
354
374
  function formatCheck(api, args, options) {
355
375
  return api.call($formatCheck, args, options);
356
376
  }
377
+ var $evaluateChecks = { m: "POST", p: "/agent-tests/checks/evaluate", d: "aidream", a: "guest", o: "required", n: "agents.evaluate_checks" };
378
+ function evaluateChecks(api, args, options) {
379
+ return api.call($evaluateChecks, args, options);
380
+ }
357
381
  var $catalogSearch = { m: "GET", p: "/tools/catalog/search", d: "aidream", a: "guest", o: "required", n: "agents.catalog_search" };
358
382
  function catalogSearch(api, args, options) {
359
383
  return api.call($catalogSearch, args, options);
@@ -362,6 +386,34 @@ var $toolRunForm = { m: "GET", p: "/tools/{tool_id}/run-form", d: "aidream", a:
362
386
  function toolRunForm(api, args, options) {
363
387
  return api.call($toolRunForm, args, options);
364
388
  }
389
+ var $toolAgentDoc = { m: "GET", p: "/tools/{tool_id}/agent-doc", d: "aidream", a: "guest", o: "required", n: "agents.tool_agent_doc" };
390
+ function toolAgentDoc(api, args, options) {
391
+ return api.call($toolAgentDoc, args, options);
392
+ }
393
+ var $catalogTool = { m: "GET", p: "/tools/catalog/{tool_ref}", d: "aidream", a: "guest", o: "required", n: "agents.catalog_tool" };
394
+ function catalogTool(api, args, options) {
395
+ return api.call($catalogTool, args, options);
396
+ }
397
+ var $developerUsage = { m: "GET", p: "/tools/developer/usage", d: "aidream", a: "guest", o: "required", n: "agents.developer_usage" };
398
+ function developerUsage(api, args, options) {
399
+ return api.call($developerUsage, args, options);
400
+ }
401
+ var $developerBudgets = { m: "GET", p: "/tools/developer/budgets", d: "aidream", a: "guest", o: "required", n: "agents.developer_budgets" };
402
+ function developerBudgets(api, args, options) {
403
+ return api.call($developerBudgets, args, options);
404
+ }
405
+ var $setDeveloperBudgets = { m: "PUT", p: "/tools/developer/budgets", d: "aidream", a: "guest", o: "required", n: "agents.set_developer_budgets" };
406
+ function setDeveloperBudgets(api, args, options) {
407
+ return api.call($setDeveloperBudgets, args, options);
408
+ }
409
+ var $developerDocs = { m: "GET", p: "/tools/developer/docs", d: "aidream", a: "public", o: "required", n: "agents.developer_docs" };
410
+ function developerDocs(api, args, options) {
411
+ return api.call($developerDocs, args, options);
412
+ }
413
+ var $developerLlmsTxt = { m: "GET", p: "/tools/developer/llms.txt", d: "aidream", a: "public", o: "required", n: "agents.developer_llms_txt" };
414
+ function developerLlmsTxt(api, args, options) {
415
+ return api.call($developerLlmsTxt, args, options);
416
+ }
365
417
  var $listContextOrganizations = { m: "GET", p: "/admin/agent-context/organizations", d: "aidream", a: "admin", o: "exempt", n: "agents.list_context_organizations" };
366
418
  function listContextOrganizations(api, args, options) {
367
419
  return api.call($listContextOrganizations, args, options);
@@ -479,6 +531,7 @@ var TABLE = {
479
531
  "GET /ai/context/delivered": $contextDelivered,
480
532
  "POST /ai/agents/{agent_id}/realtime-tools": $getRealtimeTools,
481
533
  "POST /ai/agents/{agent_id}/realtime-session": $getRealtimeSession,
534
+ "GET /ai/realtime-models": $getRealtimeModels,
482
535
  "POST /ai/tools/execute": $executeRealtimeToolRoute,
483
536
  "POST /ai/agents/versions/{version_id}/portable": $getPortableAgentVersion,
484
537
  "POST /ai/agents/{agent_id}/portable": $getPortableAgent,
@@ -529,14 +582,26 @@ var TABLE = {
529
582
  "GET /agents/versions/{version_id}/execution-definition": $getAgentVersionExecutionDefinition,
530
583
  "POST /agents/variable-bindings/preview": $previewVariableBinding,
531
584
  "POST /agent-battles/{set_id}/cancel": $cancelMatrixBattle,
585
+ "POST /tool-battles": $createBattle,
586
+ "POST /tool-battles/{battle_id}/run": $runBattle,
587
+ "POST /tool-battles/{battle_id}/cancel": $cancelBattle,
588
+ "POST /tool-battles/{battle_id}/promote": $promote,
532
589
  "POST /agent-tests/runs": $launch,
533
590
  "POST /agent-tests/runs/{run_id}/cancel": $cancel,
534
591
  "POST /agent-tests/runs/{run_id}/resume": $resume,
535
592
  "POST /agent-tests/runs/{run_id}/recheck": $recheck,
536
593
  "POST /agent-tests/checks/parse": $parseCheck,
537
594
  "POST /agent-tests/checks/format": $formatCheck,
595
+ "POST /agent-tests/checks/evaluate": $evaluateChecks,
538
596
  "GET /tools/catalog/search": $catalogSearch,
539
597
  "GET /tools/{tool_id}/run-form": $toolRunForm,
598
+ "GET /tools/{tool_id}/agent-doc": $toolAgentDoc,
599
+ "GET /tools/catalog/{tool_ref}": $catalogTool,
600
+ "GET /tools/developer/usage": $developerUsage,
601
+ "GET /tools/developer/budgets": $developerBudgets,
602
+ "PUT /tools/developer/budgets": $setDeveloperBudgets,
603
+ "GET /tools/developer/docs": $developerDocs,
604
+ "GET /tools/developer/llms.txt": $developerLlmsTxt,
540
605
  "GET /admin/agent-context/organizations": $listContextOrganizations,
541
606
  "POST /admin/agent-context/render": $renderContext,
542
607
  "GET /directives/catalog": $getDirectiveCatalog,
@@ -566,4 +631,4 @@ function call(api, key, args, options) {
566
631
  return api.call(TABLE[key], args, options);
567
632
  }
568
633
 
569
- export { adminAgentFromChat, adminIngestFilesystem, adminToolsListTools, agentFromChat, agentServiceListSkills, agentServiceListTools, agentsStartAgent, agentsStartAgentPost, cacheBust, call, cancel, cancelMatrixBattle, cancelToolCall, catalogSearch, confirmProposedDirective, contextDelivered, createAgent, createCategory, createSkill, createStructuredAgent, createToolCall, deleteCategory, deleteSkill, executeRealtimeToolRoute, executeToolTest, executeWriteDirective, failureAnalytics, formatCheck, getAgent, getAgentCatalog, getAgentCatalogStatus, getAgentExecution, getAgentExecutionDefinition, getAgentVersionExecutionDefinition, getAllPromptBuiltins, getAllTools, getCapabilityManifest, getDbSurfaceManifest, getDirectiveCatalog, getDirectiveNounSchemas, getLibrary, getLists, getMcpDiscoveredTools, getNativeTools, getOrCreateTestSession, getPortableAgent, getPortableAgentSummary, getPortableAgentVersion, getPrompts, getRealtimeSession, getRealtimeTools, getSkill, getTemplates, getToolById, getToolCall, getToolDetail, getToolsBySourceKind, getToolsForApp, getUserPrompts, getUserPromptsAndBuiltins, getVariationBatches, getVersion, importDraft, importPreview, invalidateAgentCache, invokeTool, judgeFirstRuns, keepBuild, launch, listAgents, listCategories, listContextOrganizations, listModels, listScenarios, listTools, listVersions, mockStream, parseCheck, patchCategory, patchSkill, postAgentCatalogRpc, previewAnswerBoth, previewContext, previewVariableBinding, promptMatrixPaths, putLibrary, putLists, putPrompts, putTemplates, putVariationBatches, readBuild, readDirectiveApplyState, recheck, renderContext, resolvePromptBlocks, resume, runAgentTests, runMatrixBattle, screenRun, skillsListSkills, startAgentBlocks, startBuild, startMandatedAgent, startPrompt, stream, toolDetail, toolRunForm, toolTestingListTools, updateAgent, updateTool, validateAll, validateSchema, warmAgent, warmAgentBlocks, warmPrompt };
634
+ export { adminAgentFromChat, adminIngestFilesystem, adminToolsListTools, agentFromChat, agentServiceListSkills, agentServiceListTools, agentsStartAgent, agentsStartAgentPost, cacheBust, call, cancel, cancelBattle, cancelMatrixBattle, cancelToolCall, catalogSearch, catalogTool, confirmProposedDirective, contextDelivered, createAgent, createBattle, createCategory, createSkill, createStructuredAgent, createToolCall, deleteCategory, deleteSkill, developerBudgets, developerDocs, developerLlmsTxt, developerUsage, evaluateChecks, executeRealtimeToolRoute, executeToolTest, executeWriteDirective, failureAnalytics, formatCheck, getAgent, getAgentCatalog, getAgentCatalogStatus, getAgentExecution, getAgentExecutionDefinition, getAgentVersionExecutionDefinition, getAllPromptBuiltins, getAllTools, getCapabilityManifest, getDbSurfaceManifest, getDirectiveCatalog, getDirectiveNounSchemas, getLibrary, getLists, getMcpDiscoveredTools, getNativeTools, getOrCreateTestSession, getPortableAgent, getPortableAgentSummary, getPortableAgentVersion, getPrompts, getRealtimeModels, getRealtimeSession, getRealtimeTools, getSkill, getTemplates, getToolById, getToolCall, getToolDetail, getToolsBySourceKind, getToolsForApp, getUserPrompts, getUserPromptsAndBuiltins, getVariationBatches, getVersion, importDraft, importPreview, invalidateAgentCache, invokeTool, judgeFirstRuns, keepBuild, launch, listAgents, listCategories, listContextOrganizations, listModels, listScenarios, listTools, listVersions, mockStream, parseCheck, patchCategory, patchSkill, postAgentCatalogRpc, previewAnswerBoth, previewContext, previewVariableBinding, promote, promptMatrixPaths, putLibrary, putLists, putPrompts, putTemplates, putVariationBatches, readBuild, readDirectiveApplyState, recheck, renderContext, resolvePromptBlocks, resume, runAgentTests, runBattle, runMatrixBattle, screenRun, setDeveloperBudgets, skillsListSkills, startAgentBlocks, startBuild, startMandatedAgent, startPrompt, stream, toolAgentDoc, toolDetail, toolRunForm, toolTestingListTools, updateAgent, updateTool, validateAll, validateSchema, warmAgent, warmAgentBlocks, warmPrompt };
package/dist/ai.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunk45PIBJ3K_cjs = require('./chunk-45PIBJ3K.cjs');
3
+ var chunk2XQZ7UUM_cjs = require('./chunk-2XQZ7UUM.cjs');
4
4
  require('./chunk-2SXAAKGV.cjs');
5
5
 
6
6
  // src/generated/ai.ts
@@ -94,7 +94,7 @@ function listModels(api, args, options) {
94
94
  }
95
95
  var $chatCompletions = { m: "POST", p: "/v1/chat/completions", d: "matrx-local", a: "loopback_token", o: "exempt", s: "sse_or_json", n: "ai.chat_completions" };
96
96
  function chatCompletions(api, args, options) {
97
- return chunk45PIBJ3K_cjs.openJsonOrStream(api, $chatCompletions, args, options);
97
+ return chunk2XQZ7UUM_cjs.openJsonOrStream(api, $chatCompletions, args, options);
98
98
  }
99
99
  var $audioSpeech = { m: "POST", p: "/v1/audio/speech", d: "matrx-local", a: "loopback_token", o: "exempt", n: "ai.audio_speech" };
100
100
  function audioSpeech(api, args, options) {
package/dist/ai.d.cts CHANGED
@@ -1,10 +1,10 @@
1
- import { A as Api, C as CallOptions, J as JsonOrStream, S as SseEvent } from './index-BneRZdQz.cjs';
1
+ import { A as Api, C as CallOptions, J as JsonOrStream, S as SseEvent } from './index-A1nOdg4F.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 28595dcf14903c62d8dfd5a95f8a0a3f823d695979b05cdb7787f1e00b2dc3fe
7
+ * CONTRACT_SHA256 c230b6e38690f213eb5f2eb413a9dbe72f3882595e8652c6e24c7a89139a0640
8
8
  */
9
9
 
10
10
  /** AgentUsageReportResponse */
package/dist/ai.d.ts CHANGED
@@ -1,10 +1,10 @@
1
- import { A as Api, C as CallOptions, J as JsonOrStream, S as SseEvent } from './index-BneRZdQz.js';
1
+ import { A as Api, C as CallOptions, J as JsonOrStream, S as SseEvent } from './index-A1nOdg4F.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 28595dcf14903c62d8dfd5a95f8a0a3f823d695979b05cdb7787f1e00b2dc3fe
7
+ * CONTRACT_SHA256 c230b6e38690f213eb5f2eb413a9dbe72f3882595e8652c6e24c7a89139a0640
8
8
  */
9
9
 
10
10
  /** AgentUsageReportResponse */
package/dist/ai.js CHANGED
@@ -1,4 +1,4 @@
1
- import { openJsonOrStream } from './chunk-YK5KJICX.js';
1
+ import { openJsonOrStream } from './chunk-DVYCIFMH.js';
2
2
  import './chunk-KIEAFMKB.js';
3
3
 
4
4
  // src/generated/ai.ts
package/dist/apps.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunk45PIBJ3K_cjs = require('./chunk-45PIBJ3K.cjs');
3
+ var chunk2XQZ7UUM_cjs = require('./chunk-2XQZ7UUM.cjs');
4
4
  require('./chunk-2SXAAKGV.cjs');
5
5
 
6
6
  // src/generated/apps.ts
@@ -214,7 +214,7 @@ function getInstallStatus(api, args, options) {
214
214
  }
215
215
  var $streamInstallProgress = { m: "GET", p: "/capabilities/install/stream", d: "matrx-local", a: "loopback_token", o: "exempt", s: "sse", n: "apps.stream_install_progress" };
216
216
  function streamInstallProgress(api, args, options) {
217
- return chunk45PIBJ3K_cjs.openStream(api, $streamInstallProgress, args, options);
217
+ return chunk2XQZ7UUM_cjs.openStream(api, $streamInstallProgress, args, options);
218
218
  }
219
219
  var $tunnelStatus = { m: "GET", p: "/tunnel/status", d: "matrx-local", a: "public", o: "exempt", n: "apps.tunnel_status" };
220
220
  function tunnelStatus(api, args, options) {
@@ -234,15 +234,15 @@ function getSetupStatus(api, args, options) {
234
234
  }
235
235
  var $runInstall = { m: "POST", p: "/setup/install", d: "matrx-local", a: "loopback_open", o: "exempt", s: "sse", n: "apps.run_install" };
236
236
  function runInstall(api, args, options) {
237
- return chunk45PIBJ3K_cjs.openStream(api, $runInstall, args, options);
237
+ return chunk2XQZ7UUM_cjs.openStream(api, $runInstall, args, options);
238
238
  }
239
239
  var $installTranscription = { m: "POST", p: "/setup/install-transcription", d: "matrx-local", a: "loopback_open", o: "exempt", s: "sse", n: "apps.install_transcription" };
240
240
  function installTranscription(api, args, options) {
241
- return chunk45PIBJ3K_cjs.openStream(api, $installTranscription, args, options);
241
+ return chunk2XQZ7UUM_cjs.openStream(api, $installTranscription, args, options);
242
242
  }
243
243
  var $streamLogs = { m: "GET", p: "/setup/logs", d: "matrx-local", a: "loopback_open", o: "exempt", s: "sse", n: "apps.stream_logs" };
244
244
  function streamLogs(api, args, options) {
245
- return chunk45PIBJ3K_cjs.openStream(api, $streamLogs, args, options);
245
+ return chunk2XQZ7UUM_cjs.openStream(api, $streamLogs, args, options);
246
246
  }
247
247
  var $debugState = { m: "GET", p: "/setup/debug", d: "matrx-local", a: "loopback_open", o: "exempt", n: "apps.debug_state" };
248
248
  function debugState(api, args, options) {
package/dist/apps.d.cts CHANGED
@@ -1,10 +1,10 @@
1
- import { A as Api, C as CallOptions, a as ApiStream, S as SseEvent } from './index-BneRZdQz.cjs';
1
+ import { A as Api, C as CallOptions, a as ApiStream, S as SseEvent } from './index-A1nOdg4F.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 28595dcf14903c62d8dfd5a95f8a0a3f823d695979b05cdb7787f1e00b2dc3fe
7
+ * CONTRACT_SHA256 c230b6e38690f213eb5f2eb413a9dbe72f3882595e8652c6e24c7a89139a0640
8
8
  */
9
9
 
10
10
  /** ApiKeySetRequest */
package/dist/apps.d.ts CHANGED
@@ -1,10 +1,10 @@
1
- import { A as Api, C as CallOptions, a as ApiStream, S as SseEvent } from './index-BneRZdQz.js';
1
+ import { A as Api, C as CallOptions, a as ApiStream, S as SseEvent } from './index-A1nOdg4F.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 28595dcf14903c62d8dfd5a95f8a0a3f823d695979b05cdb7787f1e00b2dc3fe
7
+ * CONTRACT_SHA256 c230b6e38690f213eb5f2eb413a9dbe72f3882595e8652c6e24c7a89139a0640
8
8
  */
9
9
 
10
10
  /** ApiKeySetRequest */
package/dist/apps.js CHANGED
@@ -1,4 +1,4 @@
1
- import { openStream } from './chunk-YK5KJICX.js';
1
+ import { openStream } from './chunk-DVYCIFMH.js';
2
2
  import './chunk-KIEAFMKB.js';
3
3
 
4
4
  // src/generated/apps.ts
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunk45PIBJ3K_cjs = require('./chunk-45PIBJ3K.cjs');
3
+ var chunk2XQZ7UUM_cjs = require('./chunk-2XQZ7UUM.cjs');
4
4
  require('./chunk-2SXAAKGV.cjs');
5
5
 
6
6
  // src/generated/architecture.ts
@@ -38,35 +38,35 @@ function servingCheck(api, args, options) {
38
38
  }
39
39
  var $searchAsKinds = { m: "POST", p: "/search-kinds/search", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "architecture.search_as_kinds" };
40
40
  function searchAsKinds(api, args, options) {
41
- return chunk45PIBJ3K_cjs.openStream(api, $searchAsKinds, args, options);
41
+ return chunk2XQZ7UUM_cjs.openStream(api, $searchAsKinds, args, options);
42
42
  }
43
43
  var $placeReviews = { m: "POST", p: "/search-kinds/place-reviews", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "architecture.place_reviews" };
44
44
  function placeReviews(api, args, options) {
45
- return chunk45PIBJ3K_cjs.openStream(api, $placeReviews, args, options);
45
+ return chunk2XQZ7UUM_cjs.openStream(api, $placeReviews, args, options);
46
46
  }
47
47
  var $searchByImage = { m: "POST", p: "/search-kinds/image", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "architecture.search_by_image" };
48
48
  function searchByImage(api, args, options) {
49
- return chunk45PIBJ3K_cjs.openStream(api, $searchByImage, args, options);
49
+ return chunk2XQZ7UUM_cjs.openStream(api, $searchByImage, args, options);
50
50
  }
51
51
  var $rankLandscapeAsKinds = { m: "POST", p: "/rank-kinds/landscape", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "architecture.rank_landscape_as_kinds" };
52
52
  function rankLandscapeAsKinds(api, args, options) {
53
- return chunk45PIBJ3K_cjs.openStream(api, $rankLandscapeAsKinds, args, options);
53
+ return chunk2XQZ7UUM_cjs.openStream(api, $rankLandscapeAsKinds, args, options);
54
54
  }
55
55
  var $ragSearchAsKinds = { m: "POST", p: "/rag-kinds/search", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "architecture.rag_search_as_kinds" };
56
56
  function ragSearchAsKinds(api, args, options) {
57
- return chunk45PIBJ3K_cjs.openStream(api, $ragSearchAsKinds, args, options);
57
+ return chunk2XQZ7UUM_cjs.openStream(api, $ragSearchAsKinds, args, options);
58
58
  }
59
59
  var $tableReadAsKinds = { m: "POST", p: "/table-kinds/read", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "architecture.table_read_as_kinds" };
60
60
  function tableReadAsKinds(api, args, options) {
61
- return chunk45PIBJ3K_cjs.openStream(api, $tableReadAsKinds, args, options);
61
+ return chunk2XQZ7UUM_cjs.openStream(api, $tableReadAsKinds, args, options);
62
62
  }
63
63
  var $scrapeAsKind = { m: "POST", p: "/scraper-kinds/scrape", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "architecture.scrape_as_kind" };
64
64
  function scrapeAsKind(api, args, options) {
65
- return chunk45PIBJ3K_cjs.openStream(api, $scrapeAsKind, args, options);
65
+ return chunk2XQZ7UUM_cjs.openStream(api, $scrapeAsKind, args, options);
66
66
  }
67
67
  var $scrapeManyAsKind = { m: "POST", p: "/scraper-kinds/scrape-many", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "architecture.scrape_many_as_kind" };
68
68
  function scrapeManyAsKind(api, args, options) {
69
- return chunk45PIBJ3K_cjs.openStream(api, $scrapeManyAsKind, args, options);
69
+ return chunk2XQZ7UUM_cjs.openStream(api, $scrapeManyAsKind, args, options);
70
70
  }
71
71
  var $saveOutput = { m: "POST", p: "/kind-outputs/save", d: "aidream", a: "guest", o: "required", n: "architecture.save_output" };
72
72
  function saveOutput(api, args, options) {
@@ -90,7 +90,7 @@ function operationStatus(api, args, options) {
90
90
  }
91
91
  var $rejoinOperationStream = { m: "POST", p: "/runtime/operations/{request_id}/rejoin", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "architecture.rejoin_operation_stream" };
92
92
  function rejoinOperationStream(api, args, options) {
93
- return chunk45PIBJ3K_cjs.openStream(api, $rejoinOperationStream, args, options);
93
+ return chunk2XQZ7UUM_cjs.openStream(api, $rejoinOperationStream, args, options);
94
94
  }
95
95
  var $operationsByLink = { m: "GET", p: "/runtime/operations/by-link/{link_kind}/{link_id}", d: "aidream", a: "guest", o: "optional", n: "architecture.operations_by_link" };
96
96
  function operationsByLink(api, args, options) {
@@ -102,7 +102,7 @@ function operationEvents(api, args, options) {
102
102
  }
103
103
  var $operationEventsStream = { m: "GET", p: "/runtime/executions/{execution_id}/events/stream", d: "aidream", a: "guest", o: "optional", s: "sse", n: "architecture.operation_events_stream" };
104
104
  function operationEventsStream(api, args, options) {
105
- return chunk45PIBJ3K_cjs.openStream(api, $operationEventsStream, args, options);
105
+ return chunk2XQZ7UUM_cjs.openStream(api, $operationEventsStream, args, options);
106
106
  }
107
107
  var $listComputeTargets = { m: "GET", p: "/compute-targets/", d: "aidream", a: "user", o: "required", n: "architecture.list_compute_targets" };
108
108
  function listComputeTargets(api, args, options) {
@@ -116,6 +116,14 @@ var $ciSpendStatus = { m: "GET", p: "/ci-spend/status", d: "aidream", a: "admin"
116
116
  function ciSpendStatus(api, args, options) {
117
117
  return api.call($ciSpendStatus, args, options);
118
118
  }
119
+ var $ciBuildRollup = { m: "GET", p: "/ci-spend/builds/rollup", d: "aidream", a: "admin", o: "exempt", n: "architecture.ci_build_rollup" };
120
+ function ciBuildRollup(api, args, options) {
121
+ return api.call($ciBuildRollup, args, options);
122
+ }
123
+ var $recordCiBuild = { m: "POST", p: "/ci-spend/builds", d: "aidream", a: "public", o: "exempt", n: "architecture.record_ci_build" };
124
+ function recordCiBuild(api, args, options) {
125
+ return api.call($recordCiBuild, args, options);
126
+ }
119
127
  var $costly = { m: "GET", p: "/ci-spend/costly", d: "aidream", a: "admin", o: "exempt", n: "architecture.costly" };
120
128
  function costly(api, args, options) {
121
129
  return api.call($costly, args, options);
@@ -488,6 +496,10 @@ var $moveModel = { m: "POST", p: "/admin/ai-catalog/discovery/models/{model_id}/
488
496
  function moveModel(api, args, options) {
489
497
  return api.call($moveModel, args, options);
490
498
  }
499
+ var $editFacts = { m: "POST", p: "/admin/ai-catalog/discovery/models/{model_id}/facts", d: "aidream", a: "admin", o: "exempt", n: "architecture.edit_facts" };
500
+ function editFacts(api, args, options) {
501
+ return api.call($editFacts, args, options);
502
+ }
491
503
  var $dismiss = { m: "POST", p: "/admin/ai-catalog/discovery/candidates/{candidate_id}/dismiss", d: "aidream", a: "admin", o: "exempt", n: "architecture.dismiss" };
492
504
  function dismiss(api, args, options) {
493
505
  return api.call($dismiss, args, options);
@@ -786,7 +798,7 @@ function orchestratorProxyFsDelete(api, args, options) {
786
798
  }
787
799
  var $proxyExecStream = { m: "POST", p: "/sandboxes/{sandbox_id}/exec/stream", d: "sandbox-orchestrator", a: "scoped", o: "exempt", s: "sse", n: "architecture.proxy_exec_stream" };
788
800
  function proxyExecStream(api, args, options) {
789
- return chunk45PIBJ3K_cjs.openStream(api, $proxyExecStream, args, options);
801
+ return chunk2XQZ7UUM_cjs.openStream(api, $proxyExecStream, args, options);
790
802
  }
791
803
  var $orchestratorProxyGit = { m: "GET", p: "/sandboxes/{sandbox_id}/git/{path}", d: "sandbox-orchestrator", a: "scoped", o: "exempt", n: "architecture.orchestrator_proxy_git" };
792
804
  function orchestratorProxyGit(api, args, options) {
@@ -947,6 +959,8 @@ var TABLE = {
947
959
  "GET /compute-targets/": $listComputeTargets,
948
960
  "POST /compute-targets/resolve": $resolveComputeTarget,
949
961
  "GET /ci-spend/status": $ciSpendStatus,
962
+ "GET /ci-spend/builds/rollup": $ciBuildRollup,
963
+ "POST /ci-spend/builds": $recordCiBuild,
950
964
  "GET /ci-spend/costly": $costly,
951
965
  "POST /ci-spend/pause": $pause,
952
966
  "POST /ci-spend/resume": $resume,
@@ -1035,6 +1049,7 @@ var TABLE = {
1035
1049
  "POST /admin/ai-catalog/discovery/candidates/{candidate_id}/promote": $promote,
1036
1050
  "POST /admin/ai-catalog/discovery/placement": $defaultPlacement,
1037
1051
  "POST /admin/ai-catalog/discovery/models/{model_id}/placement": $moveModel,
1052
+ "POST /admin/ai-catalog/discovery/models/{model_id}/facts": $editFacts,
1038
1053
  "POST /admin/ai-catalog/discovery/candidates/{candidate_id}/dismiss": $dismiss,
1039
1054
  "POST /admin/ai-catalog/discovery/variants/{variant_id}/test": $testVariant,
1040
1055
  "GET /admin/snapshot-retention/rollup": $getRollup,
@@ -1159,6 +1174,7 @@ exports.call = call;
1159
1174
  exports.cancelExecutionTree = cancelExecutionTree;
1160
1175
  exports.cancelVerification = cancelVerification;
1161
1176
  exports.checkDefinitionDoor = checkDefinitionDoor;
1177
+ exports.ciBuildRollup = ciBuildRollup;
1162
1178
  exports.ciSpendStatus = ciSpendStatus;
1163
1179
  exports.claimSandbox = claimSandbox;
1164
1180
  exports.computeNextDueAt = computeNextDueAt;
@@ -1186,6 +1202,7 @@ exports.detailedHealthCheckOnHostedBox = detailedHealthCheckOnHostedBox;
1186
1202
  exports.dismiss = dismiss;
1187
1203
  exports.dismissBatch = dismissBatch;
1188
1204
  exports.dismissFailure = dismissFailure;
1205
+ exports.editFacts = editFacts;
1189
1206
  exports.execCommand = execCommand;
1190
1207
  exports.execCommandOnSandboxOrchestrator = execCommandOnSandboxOrchestrator;
1191
1208
  exports.executionEvents = executionEvents;
@@ -1312,6 +1329,7 @@ exports.reapExpiredNow = reapExpiredNow;
1312
1329
  exports.recentErrors = recentErrors;
1313
1330
  exports.recentEvents = recentEvents;
1314
1331
  exports.recentExecutions = recentExecutions;
1332
+ exports.recordCiBuild = recordCiBuild;
1315
1333
  exports.recoverLifecycleOperation = recoverLifecycleOperation;
1316
1334
  exports.refreshSandboxPlatformEnv = refreshSandboxPlatformEnv;
1317
1335
  exports.rejoinOperationStream = rejoinOperationStream;