@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
@@ -1,10 +1,10 @@
1
- import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-DyDNKgdB.js';
1
+ import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-B6p8TJkh.js';
2
2
  import { JsonValue, CalendarLocalRefreshResult, CalendarCreateResult, CalendarEventAttendee, StorageImportResult } 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
  /** Safe aggregate status projection for AWeber's fixed status page. */
@@ -1,4 +1,4 @@
1
- import { openStream } from './chunk-BIHYNQOU.js';
1
+ import { openStream } from './chunk-KZD6TVJ4.js';
2
2
  import './chunk-KIEAFMKB.js';
3
3
 
4
4
  // src/generated/integrations.ts
@@ -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/intelligence/keys.generated.ts
@@ -400,7 +400,6 @@ var MANDATE_KEYS = {
400
400
  pdf__chunk_clean_ocr_text: "pdf.chunk_clean_ocr_text",
401
401
  pdf__chunk_flashcards_json: "pdf.chunk_flashcards_json",
402
402
  pdf__chunk_flashcards_typescript: "pdf.chunk_flashcards_typescript",
403
- pdf__content_cleaner: "pdf.content_cleaner",
404
403
  personal_staff__escalation: "personal_staff.escalation",
405
404
  personal_staff__front_line: "personal_staff.front_line",
406
405
  podcast__audience_adapter: "podcast.audience_adapter",
@@ -594,10 +593,18 @@ var MANDATE_KEYS = {
594
593
  workflow__steward__data: "workflow.steward.data",
595
594
  workflow__steward__decision: "workflow.steward.decision",
596
595
  workflow__steward__user_input: "workflow.steward.user_input",
597
- workflow__wizard__agent_run: "workflow.wizard.agent_run"
596
+ workflow__wizard__agent_run: "workflow.wizard.agent_run",
597
+ /**
598
+ * @deprecated retiring since 0.59.0 — no longer declared in
599
+ * aidream. It leaves this union once no snapshot within the last
600
+ * 3 published versions still carries it as active.
601
+ */
602
+ pdf__content_cleaner: "pdf.content_cleaner"
598
603
  };
599
604
  var ALL_MANDATE_KEYS = Object.values(MANDATE_KEYS);
600
- var RETIRING_MANDATE_KEYS = {};
605
+ var RETIRING_MANDATE_KEYS = {
606
+ "pdf.content_cleaner": "0.59.0"
607
+ };
601
608
  var MANDATE_FAMILIES = {
602
609
  "ambient.page_guidance_overrides": [
603
610
  "data.page_guidance",
@@ -729,7 +736,7 @@ function getAgentCalibration(api, args, options) {
729
736
  }
730
737
  var $createDecision = { m: "POST", p: "/ai/decisions", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "intelligence.create_decision" };
731
738
  function createDecision(api, args, options) {
732
- return chunkG3OJBGCU_cjs.openStream(api, $createDecision, args, options);
739
+ return chunkILAZVNEL_cjs.openStream(api, $createDecision, args, options);
733
740
  }
734
741
  var $readDecision = { m: "GET", p: "/ai/decisions/{execution_id}", d: "aidream", a: "guest", o: "required", n: "intelligence.read_decision" };
735
742
  function readDecision(api, args, options) {
@@ -877,11 +884,11 @@ function captureProvisionDoor(api, args, options) {
877
884
  }
878
885
  var $runInitial = { m: "POST", p: "/agent-iteration/run-initial", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "intelligence.run_initial" };
879
886
  function runInitial(api, args, options) {
880
- return chunkG3OJBGCU_cjs.openStream(api, $runInitial, args, options);
887
+ return chunkILAZVNEL_cjs.openStream(api, $runInitial, args, options);
881
888
  }
882
889
  var $runFeedback = { m: "POST", p: "/agent-iteration/feedback", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "intelligence.run_feedback" };
883
890
  function runFeedback(api, args, options) {
884
- return chunkG3OJBGCU_cjs.openStream(api, $runFeedback, args, options);
891
+ return chunkILAZVNEL_cjs.openStream(api, $runFeedback, args, options);
885
892
  }
886
893
  var $commitChoice = { m: "POST", p: "/agent-iteration/commit-choice", d: "aidream", a: "guest", o: "required", n: "intelligence.commit_choice" };
887
894
  function commitChoice(api, args, options) {
@@ -1037,7 +1044,7 @@ function getMandateRun(api, args, options) {
1037
1044
  }
1038
1045
  var $replayMandateRun = { m: "POST", p: "/mandates/runs/{conversation_id}/replay", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "intelligence.replay_mandate_run" };
1039
1046
  function replayMandateRun(api, args, options) {
1040
- return chunkG3OJBGCU_cjs.openStream(api, $replayMandateRun, args, options);
1047
+ return chunkILAZVNEL_cjs.openStream(api, $replayMandateRun, args, options);
1041
1048
  }
1042
1049
  var $getMandateRunResult = { m: "GET", p: "/mandates/runs/{request_id}/result", d: "aidream", a: "guest", o: "optional", n: "intelligence.get_mandate_run_result" };
1043
1050
  function getMandateRunResult(api, args, options) {
@@ -1045,7 +1052,7 @@ function getMandateRunResult(api, args, options) {
1045
1052
  }
1046
1053
  var $answerMandateRun = { m: "POST", p: "/mandates/runs/{request_id}/answer", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "intelligence.answer_mandate_run" };
1047
1054
  function answerMandateRun(api, args, options) {
1048
- return chunkG3OJBGCU_cjs.openStream(api, $answerMandateRun, args, options);
1055
+ return chunkILAZVNEL_cjs.openStream(api, $answerMandateRun, args, options);
1049
1056
  }
1050
1057
  var $getMandateRuns = { m: "GET", p: "/mandates/{mandate_key}/runs", d: "aidream", a: "guest", o: "optional", n: "intelligence.get_mandate_runs" };
1051
1058
  function getMandateRuns(api, args, options) {
@@ -1,11 +1,11 @@
1
- import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-DyDNKgdB.cjs';
1
+ import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-B6p8TJkh.cjs';
2
2
  import { JsonValue, MandateTestHolder } from './schemas.cjs';
3
- export { A as ALL_MANDATE_KEYS, D as DYNAMIC_MANDATE_FAMILIES, a as DynamicMandateFamilyPrefix, b as DynamicMandateKey, M as MANDATE_FAMILIES, c as MANDATE_KEYS, d as MANDATE_KEYS_META, e as MandateFamilyMember, f as MandateFamilyPrefix, g as MandateKey, R as RETIRING_MANDATE_KEYS, m as mandateKeyOfApp, h as mandateKeyOfShortcut } from './keys.generated-DE-t9kzx.cjs';
3
+ export { A as ALL_MANDATE_KEYS, D as DYNAMIC_MANDATE_FAMILIES, a as DynamicMandateFamilyPrefix, b as DynamicMandateKey, M as MANDATE_FAMILIES, c as MANDATE_KEYS, d as MANDATE_KEYS_META, e as MandateFamilyMember, f as MandateFamilyPrefix, g as MandateKey, R as RETIRING_MANDATE_KEYS, m as mandateKeyOfApp, h as mandateKeyOfShortcut } from './keys.generated-B0M-0PPo.cjs';
4
4
  import '@ai-matrx/auth/credentials';
5
5
 
6
6
  /**
7
7
  * GENERATED by @ai-matrx/api scripts/generate.mjs from aidream/api-contract — never edit by hand.
8
- * CONTRACT_SHA256 2e22230d01e754f5ae210e0932290279956cc04757022cfee77b6d128f1c667c
8
+ * CONTRACT_SHA256 1be6854fef4b55295a81f3b38e5801322cbf96de671625e0d642bc53c0939781
9
9
  */
10
10
 
11
11
  /** The floor math, in full, with its inputs. */
@@ -1141,6 +1141,7 @@ type MandateAnswerRequest = {
1141
1141
  values?: {
1142
1142
  [key: string]: JsonValue;
1143
1143
  };
1144
+ initiation?: ("user" | "auto") | null;
1144
1145
  };
1145
1146
  /** MandateBindingDeleteRequest */
1146
1147
  type MandateBindingDeleteRequest = {
@@ -1,11 +1,11 @@
1
- import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-DyDNKgdB.js';
1
+ import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-B6p8TJkh.js';
2
2
  import { JsonValue, MandateTestHolder } from './schemas.js';
3
- export { A as ALL_MANDATE_KEYS, D as DYNAMIC_MANDATE_FAMILIES, a as DynamicMandateFamilyPrefix, b as DynamicMandateKey, M as MANDATE_FAMILIES, c as MANDATE_KEYS, d as MANDATE_KEYS_META, e as MandateFamilyMember, f as MandateFamilyPrefix, g as MandateKey, R as RETIRING_MANDATE_KEYS, m as mandateKeyOfApp, h as mandateKeyOfShortcut } from './keys.generated-DE-t9kzx.js';
3
+ export { A as ALL_MANDATE_KEYS, D as DYNAMIC_MANDATE_FAMILIES, a as DynamicMandateFamilyPrefix, b as DynamicMandateKey, M as MANDATE_FAMILIES, c as MANDATE_KEYS, d as MANDATE_KEYS_META, e as MandateFamilyMember, f as MandateFamilyPrefix, g as MandateKey, R as RETIRING_MANDATE_KEYS, m as mandateKeyOfApp, h as mandateKeyOfShortcut } from './keys.generated-B0M-0PPo.js';
4
4
  import '@ai-matrx/auth/credentials';
5
5
 
6
6
  /**
7
7
  * GENERATED by @ai-matrx/api scripts/generate.mjs from aidream/api-contract — never edit by hand.
8
- * CONTRACT_SHA256 2e22230d01e754f5ae210e0932290279956cc04757022cfee77b6d128f1c667c
8
+ * CONTRACT_SHA256 1be6854fef4b55295a81f3b38e5801322cbf96de671625e0d642bc53c0939781
9
9
  */
10
10
 
11
11
  /** The floor math, in full, with its inputs. */
@@ -1141,6 +1141,7 @@ type MandateAnswerRequest = {
1141
1141
  values?: {
1142
1142
  [key: string]: JsonValue;
1143
1143
  };
1144
+ initiation?: ("user" | "auto") | null;
1144
1145
  };
1145
1146
  /** MandateBindingDeleteRequest */
1146
1147
  type MandateBindingDeleteRequest = {
@@ -1,4 +1,4 @@
1
- import { openStream } from './chunk-BIHYNQOU.js';
1
+ import { openStream } from './chunk-KZD6TVJ4.js';
2
2
  import './chunk-KIEAFMKB.js';
3
3
 
4
4
  // src/intelligence/keys.generated.ts
@@ -398,7 +398,6 @@ var MANDATE_KEYS = {
398
398
  pdf__chunk_clean_ocr_text: "pdf.chunk_clean_ocr_text",
399
399
  pdf__chunk_flashcards_json: "pdf.chunk_flashcards_json",
400
400
  pdf__chunk_flashcards_typescript: "pdf.chunk_flashcards_typescript",
401
- pdf__content_cleaner: "pdf.content_cleaner",
402
401
  personal_staff__escalation: "personal_staff.escalation",
403
402
  personal_staff__front_line: "personal_staff.front_line",
404
403
  podcast__audience_adapter: "podcast.audience_adapter",
@@ -592,10 +591,18 @@ var MANDATE_KEYS = {
592
591
  workflow__steward__data: "workflow.steward.data",
593
592
  workflow__steward__decision: "workflow.steward.decision",
594
593
  workflow__steward__user_input: "workflow.steward.user_input",
595
- workflow__wizard__agent_run: "workflow.wizard.agent_run"
594
+ workflow__wizard__agent_run: "workflow.wizard.agent_run",
595
+ /**
596
+ * @deprecated retiring since 0.59.0 — no longer declared in
597
+ * aidream. It leaves this union once no snapshot within the last
598
+ * 3 published versions still carries it as active.
599
+ */
600
+ pdf__content_cleaner: "pdf.content_cleaner"
596
601
  };
597
602
  var ALL_MANDATE_KEYS = Object.values(MANDATE_KEYS);
598
- var RETIRING_MANDATE_KEYS = {};
603
+ var RETIRING_MANDATE_KEYS = {
604
+ "pdf.content_cleaner": "0.59.0"
605
+ };
599
606
  var MANDATE_FAMILIES = {
600
607
  "ambient.page_guidance_overrides": [
601
608
  "data.page_guidance",
@@ -9,8 +9,8 @@
9
9
  * aidream revision: bdb99c5fe277dae3e3ab171f84c452a32cabf5c6
10
10
  * generator version: 1.0.0
11
11
  * package version: 0.59.0
12
- * active keys: 584
13
- * retiring keys: 0
12
+ * active keys: 583
13
+ * retiring keys: 1
14
14
  *
15
15
  * THE IDENTIFIER RULE: every `.` in a key becomes `__`, any character outside
16
16
  * [A-Za-z0-9_] becomes `_`, a leading digit gets an `_` prefix. So
@@ -415,7 +415,6 @@ declare const MANDATE_KEYS: {
415
415
  readonly pdf__chunk_clean_ocr_text: "pdf.chunk_clean_ocr_text";
416
416
  readonly pdf__chunk_flashcards_json: "pdf.chunk_flashcards_json";
417
417
  readonly pdf__chunk_flashcards_typescript: "pdf.chunk_flashcards_typescript";
418
- readonly pdf__content_cleaner: "pdf.content_cleaner";
419
418
  readonly personal_staff__escalation: "personal_staff.escalation";
420
419
  readonly personal_staff__front_line: "personal_staff.front_line";
421
420
  readonly podcast__audience_adapter: "podcast.audience_adapter";
@@ -610,13 +609,21 @@ declare const MANDATE_KEYS: {
610
609
  readonly workflow__steward__decision: "workflow.steward.decision";
611
610
  readonly workflow__steward__user_input: "workflow.steward.user_input";
612
611
  readonly workflow__wizard__agent_run: "workflow.wizard.agent_run";
612
+ /**
613
+ * @deprecated retiring since 0.59.0 — no longer declared in
614
+ * aidream. It leaves this union once no snapshot within the last
615
+ * 3 published versions still carries it as active.
616
+ */
617
+ readonly pdf__content_cleaner: "pdf.content_cleaner";
613
618
  };
614
619
  /** Every key this package version accepts — active plus retiring. */
615
620
  type MandateKey = (typeof MANDATE_KEYS)[keyof typeof MANDATE_KEYS];
616
621
  /** The key set as a runtime array, in generated order. */
617
622
  declare const ALL_MANDATE_KEYS: readonly MandateKey[];
618
623
  /** Keys still in the union but no longer declared (two-phase retire, phase 1). */
619
- declare const RETIRING_MANDATE_KEYS: {};
624
+ declare const RETIRING_MANDATE_KEYS: {
625
+ readonly "pdf.content_cleaner": "0.59.0";
626
+ };
620
627
  /**
621
628
  * Declared FAMILIES — a prefix the feature's own roster owns, and its members.
622
629
  * Emitted from `declared_families()` (aidream `services/mandates/carriers.py`).
@@ -9,8 +9,8 @@
9
9
  * aidream revision: bdb99c5fe277dae3e3ab171f84c452a32cabf5c6
10
10
  * generator version: 1.0.0
11
11
  * package version: 0.59.0
12
- * active keys: 584
13
- * retiring keys: 0
12
+ * active keys: 583
13
+ * retiring keys: 1
14
14
  *
15
15
  * THE IDENTIFIER RULE: every `.` in a key becomes `__`, any character outside
16
16
  * [A-Za-z0-9_] becomes `_`, a leading digit gets an `_` prefix. So
@@ -415,7 +415,6 @@ declare const MANDATE_KEYS: {
415
415
  readonly pdf__chunk_clean_ocr_text: "pdf.chunk_clean_ocr_text";
416
416
  readonly pdf__chunk_flashcards_json: "pdf.chunk_flashcards_json";
417
417
  readonly pdf__chunk_flashcards_typescript: "pdf.chunk_flashcards_typescript";
418
- readonly pdf__content_cleaner: "pdf.content_cleaner";
419
418
  readonly personal_staff__escalation: "personal_staff.escalation";
420
419
  readonly personal_staff__front_line: "personal_staff.front_line";
421
420
  readonly podcast__audience_adapter: "podcast.audience_adapter";
@@ -610,13 +609,21 @@ declare const MANDATE_KEYS: {
610
609
  readonly workflow__steward__decision: "workflow.steward.decision";
611
610
  readonly workflow__steward__user_input: "workflow.steward.user_input";
612
611
  readonly workflow__wizard__agent_run: "workflow.wizard.agent_run";
612
+ /**
613
+ * @deprecated retiring since 0.59.0 — no longer declared in
614
+ * aidream. It leaves this union once no snapshot within the last
615
+ * 3 published versions still carries it as active.
616
+ */
617
+ readonly pdf__content_cleaner: "pdf.content_cleaner";
613
618
  };
614
619
  /** Every key this package version accepts — active plus retiring. */
615
620
  type MandateKey = (typeof MANDATE_KEYS)[keyof typeof MANDATE_KEYS];
616
621
  /** The key set as a runtime array, in generated order. */
617
622
  declare const ALL_MANDATE_KEYS: readonly MandateKey[];
618
623
  /** Keys still in the union but no longer declared (two-phase retire, phase 1). */
619
- declare const RETIRING_MANDATE_KEYS: {};
624
+ declare const RETIRING_MANDATE_KEYS: {
625
+ readonly "pdf.content_cleaner": "0.59.0";
626
+ };
620
627
  /**
621
628
  * Declared FAMILIES — a prefix the feature's own roster owns, and its members.
622
629
  * Emitted from `declared_families()` (aidream `services/mandates/carriers.py`).
@@ -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/knowledge.ts
@@ -10,7 +10,7 @@ function getSetupFacts(api, args, options) {
10
10
  }
11
11
  var $proposeSetup = { m: "POST", p: "/news/setup/propose", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "knowledge.propose_setup" };
12
12
  function proposeSetup(api, args, options) {
13
- return chunkG3OJBGCU_cjs.openStream(api, $proposeSetup, args, options);
13
+ return chunkILAZVNEL_cjs.openStream(api, $proposeSetup, args, options);
14
14
  }
15
15
  var $resumeCostPause = { m: "POST", p: "/news/cost/resume", d: "aidream", a: "guest", o: "required", n: "knowledge.resume_cost_pause" };
16
16
  function resumeCostPause(api, args, options) {
@@ -34,7 +34,7 @@ function processYoutubeVideo(api, args, options) {
34
34
  }
35
35
  var $streamYoutubeVideoAnalysis = { m: "POST", p: "/research/youtube/videos/{video_id}/process/stream", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "knowledge.stream_youtube_video_analysis" };
36
36
  function streamYoutubeVideoAnalysis(api, args, options) {
37
- return chunkG3OJBGCU_cjs.openStream(api, $streamYoutubeVideoAnalysis, args, options);
37
+ return chunkILAZVNEL_cjs.openStream(api, $streamYoutubeVideoAnalysis, args, options);
38
38
  }
39
39
  var $enrichYoutubeVideoComments = { m: "POST", p: "/research/youtube/videos/{video_id}/comments", d: "aidream", a: "guest", o: "required", n: "knowledge.enrich_youtube_video_comments" };
40
40
  function enrichYoutubeVideoComments(api, args, options) {
@@ -70,7 +70,7 @@ function findSourcesByUrl(api, args, options) {
70
70
  }
71
71
  var $suggestSetup = { m: "POST", p: "/research/suggest", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "knowledge.suggest_setup" };
72
72
  function suggestSetup(api, args, options) {
73
- return chunkG3OJBGCU_cjs.openStream(api, $suggestSetup, args, options);
73
+ return chunkILAZVNEL_cjs.openStream(api, $suggestSetup, args, options);
74
74
  }
75
75
  var $listTopics = { m: "GET", p: "/research/projects/{project_id}/topics", d: "aidream", a: "guest", o: "optional", n: "knowledge.list_topics" };
76
76
  function listTopics(api, args, options) {
@@ -126,15 +126,15 @@ function reorderKeywords(api, args, options) {
126
126
  }
127
127
  var $triggerSearch = { m: "POST", p: "/research/topics/{topic_id}/search", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "knowledge.trigger_search" };
128
128
  function triggerSearch(api, args, options) {
129
- return chunkG3OJBGCU_cjs.openStream(api, $triggerSearch, args, options);
129
+ return chunkILAZVNEL_cjs.openStream(api, $triggerSearch, args, options);
130
130
  }
131
131
  var $triggerScrape = { m: "POST", p: "/research/topics/{topic_id}/scrape", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "knowledge.trigger_scrape" };
132
132
  function triggerScrape(api, args, options) {
133
- return chunkG3OJBGCU_cjs.openStream(api, $triggerScrape, args, options);
133
+ return chunkILAZVNEL_cjs.openStream(api, $triggerScrape, args, options);
134
134
  }
135
135
  var $rescrapeSource = { m: "POST", p: "/research/topics/{topic_id}/sources/{source_id}/rescrape", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "knowledge.rescrape_source" };
136
136
  function rescrapeSource(api, args, options) {
137
- return chunkG3OJBGCU_cjs.openStream(api, $rescrapeSource, args, options);
137
+ return chunkILAZVNEL_cjs.openStream(api, $rescrapeSource, args, options);
138
138
  }
139
139
  var $getSources = { m: "GET", p: "/research/topics/{topic_id}/sources", d: "aidream", a: "guest", o: "optional", n: "knowledge.get_sources" };
140
140
  function getSources(api, args, options) {
@@ -166,27 +166,27 @@ function editContent(api, args, options) {
166
166
  }
167
167
  var $analyzeSource = { m: "POST", p: "/research/topics/{topic_id}/sources/{source_id}/analyze", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "knowledge.analyze_source" };
168
168
  function analyzeSource(api, args, options) {
169
- return chunkG3OJBGCU_cjs.openStream(api, $analyzeSource, args, options);
169
+ return chunkILAZVNEL_cjs.openStream(api, $analyzeSource, args, options);
170
170
  }
171
171
  var $retryAnalysis = { m: "POST", p: "/research/topics/{topic_id}/analyses/{analysis_id}/retry", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "knowledge.retry_analysis" };
172
172
  function retryAnalysis(api, args, options) {
173
- return chunkG3OJBGCU_cjs.openStream(api, $retryAnalysis, args, options);
173
+ return chunkILAZVNEL_cjs.openStream(api, $retryAnalysis, args, options);
174
174
  }
175
175
  var $retryAllFailedAnalyses = { m: "POST", p: "/research/topics/{topic_id}/retry-failed", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "knowledge.retry_all_failed_analyses" };
176
176
  function retryAllFailedAnalyses(api, args, options) {
177
- return chunkG3OJBGCU_cjs.openStream(api, $retryAllFailedAnalyses, args, options);
177
+ return chunkILAZVNEL_cjs.openStream(api, $retryAllFailedAnalyses, args, options);
178
178
  }
179
179
  var $analyzeAll = { m: "POST", p: "/research/topics/{topic_id}/analyze-all", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "knowledge.analyze_all" };
180
180
  function analyzeAll(api, args, options) {
181
- return chunkG3OJBGCU_cjs.openStream(api, $analyzeAll, args, options);
181
+ return chunkILAZVNEL_cjs.openStream(api, $analyzeAll, args, options);
182
182
  }
183
183
  var $rankSourceAuthority = { m: "POST", p: "/research/topics/{topic_id}/sources/rank-authority", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "knowledge.rank_source_authority" };
184
184
  function rankSourceAuthority(api, args, options) {
185
- return chunkG3OJBGCU_cjs.openStream(api, $rankSourceAuthority, args, options);
185
+ return chunkILAZVNEL_cjs.openStream(api, $rankSourceAuthority, args, options);
186
186
  }
187
187
  var $generateTagSuggestions = { m: "POST", p: "/research/topics/{topic_id}/generate-tag-suggestions", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "knowledge.generate_tag_suggestions" };
188
188
  function generateTagSuggestions(api, args, options) {
189
- return chunkG3OJBGCU_cjs.openStream(api, $generateTagSuggestions, args, options);
189
+ return chunkILAZVNEL_cjs.openStream(api, $generateTagSuggestions, args, options);
190
190
  }
191
191
  var $applyTagSuggestionsRoute = { m: "POST", p: "/research/topics/{topic_id}/apply-tag-suggestions", d: "aidream", a: "guest", o: "required", n: "knowledge.apply_tag_suggestions_route" };
192
192
  function applyTagSuggestionsRoute(api, args, options) {
@@ -210,19 +210,19 @@ function promoteTopicExperts(api, args, options) {
210
210
  }
211
211
  var $scoreSources = { m: "POST", p: "/research/topics/{topic_id}/score-sources", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "knowledge.score_sources" };
212
212
  function scoreSources(api, args, options) {
213
- return chunkG3OJBGCU_cjs.openStream(api, $scoreSources, args, options);
213
+ return chunkILAZVNEL_cjs.openStream(api, $scoreSources, args, options);
214
214
  }
215
215
  var $runAutoTag = { m: "POST", p: "/research/topics/{topic_id}/auto-tag", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "knowledge.run_auto_tag" };
216
216
  function runAutoTag(api, args, options) {
217
- return chunkG3OJBGCU_cjs.openStream(api, $runAutoTag, args, options);
217
+ return chunkILAZVNEL_cjs.openStream(api, $runAutoTag, args, options);
218
218
  }
219
219
  var $runAutoConsolidate = { m: "POST", p: "/research/topics/{topic_id}/auto-consolidate", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "knowledge.run_auto_consolidate" };
220
220
  function runAutoConsolidate(api, args, options) {
221
- return chunkG3OJBGCU_cjs.openStream(api, $runAutoConsolidate, args, options);
221
+ return chunkILAZVNEL_cjs.openStream(api, $runAutoConsolidate, args, options);
222
222
  }
223
223
  var $synthesize = { m: "POST", p: "/research/topics/{topic_id}/synthesize", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "knowledge.synthesize" };
224
224
  function synthesize(api, args, options) {
225
- return chunkG3OJBGCU_cjs.openStream(api, $synthesize, args, options);
225
+ return chunkILAZVNEL_cjs.openStream(api, $synthesize, args, options);
226
226
  }
227
227
  var $getSynthesis = { m: "GET", p: "/research/topics/{topic_id}/synthesis", d: "aidream", a: "guest", o: "optional", n: "knowledge.get_synthesis" };
228
228
  function getSynthesis(api, args, options) {
@@ -242,7 +242,7 @@ function setTopicRefreshSchedule(api, args, options) {
242
242
  }
243
243
  var $runPipeline = { m: "POST", p: "/research/topics/{topic_id}/run", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "knowledge.run_pipeline" };
244
244
  function runPipeline(api, args, options) {
245
- return chunkG3OJBGCU_cjs.openStream(api, $runPipeline, args, options);
245
+ return chunkILAZVNEL_cjs.openStream(api, $runPipeline, args, options);
246
246
  }
247
247
  var $getTags = { m: "GET", p: "/research/topics/{topic_id}/tags", d: "aidream", a: "guest", o: "optional", n: "knowledge.get_tags" };
248
248
  function getTags(api, args, options) {
@@ -266,11 +266,11 @@ function assignTagsToSource(api, args, options) {
266
266
  }
267
267
  var $consolidateTag = { m: "POST", p: "/research/topics/{topic_id}/tags/{tag_id}/consolidate", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "knowledge.consolidate_tag" };
268
268
  function consolidateTag(api, args, options) {
269
- return chunkG3OJBGCU_cjs.openStream(api, $consolidateTag, args, options);
269
+ return chunkILAZVNEL_cjs.openStream(api, $consolidateTag, args, options);
270
270
  }
271
271
  var $suggestTags = { m: "POST", p: "/research/topics/{topic_id}/sources/{source_id}/suggest-tags", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "knowledge.suggest_tags" };
272
272
  function suggestTags(api, args, options) {
273
- return chunkG3OJBGCU_cjs.openStream(api, $suggestTags, args, options);
273
+ return chunkILAZVNEL_cjs.openStream(api, $suggestTags, args, options);
274
274
  }
275
275
  var $getDocument = { m: "GET", p: "/research/topics/{topic_id}/document", d: "aidream", a: "guest", o: "optional", n: "knowledge.get_document" };
276
276
  function getDocument(api, args, options) {
@@ -278,7 +278,7 @@ function getDocument(api, args, options) {
278
278
  }
279
279
  var $generateDocument = { m: "POST", p: "/research/topics/{topic_id}/document", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "knowledge.generate_document" };
280
280
  function generateDocument(api, args, options) {
281
- return chunkG3OJBGCU_cjs.openStream(api, $generateDocument, args, options);
281
+ return chunkILAZVNEL_cjs.openStream(api, $generateDocument, args, options);
282
282
  }
283
283
  var $getDocumentVersions = { m: "GET", p: "/research/topics/{topic_id}/document/versions", d: "aidream", a: "guest", o: "optional", n: "knowledge.get_document_versions" };
284
284
  function getDocumentVersions(api, args, options) {
@@ -334,7 +334,7 @@ function exportDocument(api, args, options) {
334
334
  }
335
335
  var $runExtractionStream = { m: "POST", p: "/page-extraction/runs/stream", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "knowledge.run_extraction_stream" };
336
336
  function runExtractionStream(api, args, options) {
337
- return chunkG3OJBGCU_cjs.openStream(api, $runExtractionStream, args, options);
337
+ return chunkILAZVNEL_cjs.openStream(api, $runExtractionStream, args, options);
338
338
  }
339
339
  var $retryPageRun = { m: "POST", p: "/page-extraction/page-runs/{page_run_id}/retry", d: "aidream", a: "guest", o: "required", n: "knowledge.retry_page_run" };
340
340
  function retryPageRun(api, args, options) {
@@ -346,11 +346,11 @@ function cancelRun(api, args, options) {
346
346
  }
347
347
  var $indexRunIntoRag = { m: "POST", p: "/page-extraction/runs/{run_id}/index", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "knowledge.index_run_into_rag" };
348
348
  function indexRunIntoRag(api, args, options) {
349
- return chunkG3OJBGCU_cjs.openStream(api, $indexRunIntoRag, args, options);
349
+ return chunkILAZVNEL_cjs.openStream(api, $indexRunIntoRag, args, options);
350
350
  }
351
351
  var $knowledgeSearch = { m: "POST", p: "/knowledge/search", d: "aidream", a: "guest", o: "optional", s: "ndjson", n: "knowledge.knowledge_search" };
352
352
  function knowledgeSearch(api, args, options) {
353
- return chunkG3OJBGCU_cjs.openStream(api, $knowledgeSearch, args, options);
353
+ return chunkILAZVNEL_cjs.openStream(api, $knowledgeSearch, args, options);
354
354
  }
355
355
  var $knowledgeView = { m: "POST", p: "/knowledge/view", d: "aidream", a: "guest", o: "required", n: "knowledge.knowledge_view" };
356
356
  function knowledgeView(api, args, options) {
@@ -358,27 +358,27 @@ function knowledgeView(api, args, options) {
358
358
  }
359
359
  var $ragSearchEndpoint = { m: "POST", p: "/rag/search", d: "aidream", a: "guest", o: "optional", s: "ndjson", n: "knowledge.rag_search_endpoint" };
360
360
  function ragSearchEndpoint(api, args, options) {
361
- return chunkG3OJBGCU_cjs.openStream(api, $ragSearchEndpoint, args, options);
361
+ return chunkILAZVNEL_cjs.openStream(api, $ragSearchEndpoint, args, options);
362
362
  }
363
363
  var $ragSearchStream = { m: "POST", p: "/rag/search/stream", d: "aidream", a: "guest", o: "optional", s: "ndjson", n: "knowledge.rag_search_stream" };
364
364
  function ragSearchStream(api, args, options) {
365
- return chunkG3OJBGCU_cjs.openStream(api, $ragSearchStream, args, options);
365
+ return chunkILAZVNEL_cjs.openStream(api, $ragSearchStream, args, options);
366
366
  }
367
367
  var $ragIngestEndpoint = { m: "POST", p: "/rag/ingest", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "knowledge.rag_ingest_endpoint" };
368
368
  function ragIngestEndpoint(api, args, options) {
369
- return chunkG3OJBGCU_cjs.openStream(api, $ragIngestEndpoint, args, options);
369
+ return chunkILAZVNEL_cjs.openStream(api, $ragIngestEndpoint, args, options);
370
370
  }
371
371
  var $ragIngestConversation = { m: "POST", p: "/rag/conversations/{conversation_id}/ingest", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "knowledge.rag_ingest_conversation" };
372
372
  function ragIngestConversation(api, args, options) {
373
- return chunkG3OJBGCU_cjs.openStream(api, $ragIngestConversation, args, options);
373
+ return chunkILAZVNEL_cjs.openStream(api, $ragIngestConversation, args, options);
374
374
  }
375
375
  var $ragIngestStream = { m: "POST", p: "/rag/ingest/stream", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "knowledge.rag_ingest_stream" };
376
376
  function ragIngestStream(api, args, options) {
377
- return chunkG3OJBGCU_cjs.openStream(api, $ragIngestStream, args, options);
377
+ return chunkILAZVNEL_cjs.openStream(api, $ragIngestStream, args, options);
378
378
  }
379
379
  var $ragVerifyEndpoint = { m: "POST", p: "/rag/verify", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "knowledge.rag_verify_endpoint" };
380
380
  function ragVerifyEndpoint(api, args, options) {
381
- return chunkG3OJBGCU_cjs.openStream(api, $ragVerifyEndpoint, args, options);
381
+ return chunkILAZVNEL_cjs.openStream(api, $ragVerifyEndpoint, args, options);
382
382
  }
383
383
  var $ragHealth = { m: "GET", p: "/rag/health", d: "aidream", a: "guest", o: "optional", n: "knowledge.rag_health" };
384
384
  function ragHealth(api, args, options) {
@@ -438,7 +438,7 @@ function unsubscribeLibraryEp(api, args, options) {
438
438
  }
439
439
  var $ingestLibraryStoreDocument = { m: "POST", p: "/rag/library/stores/{store_id}/ingest", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "knowledge.ingest_library_store_document" };
440
440
  function ingestLibraryStoreDocument(api, args, options) {
441
- return chunkG3OJBGCU_cjs.openStream(api, $ingestLibraryStoreDocument, args, options);
441
+ return chunkILAZVNEL_cjs.openStream(api, $ingestLibraryStoreDocument, args, options);
442
442
  }
443
443
  var $listLibraryDocuments = { m: "GET", p: "/rag/library", d: "aidream", a: "guest", o: "optional", n: "knowledge.list_library_documents" };
444
444
  function listLibraryDocuments(api, args, options) {
@@ -474,7 +474,7 @@ function bulkDeleteLibraryDocuments(api, args, options) {
474
474
  }
475
475
  var $reprocessLibraryDocument = { m: "POST", p: "/rag/library/{processed_document_id}/reprocess", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "knowledge.reprocess_library_document" };
476
476
  function reprocessLibraryDocument(api, args, options) {
477
- return chunkG3OJBGCU_cjs.openStream(api, $reprocessLibraryDocument, args, options);
477
+ return chunkILAZVNEL_cjs.openStream(api, $reprocessLibraryDocument, args, options);
478
478
  }
479
479
  var $testSearchLibraryDocument = { m: "POST", p: "/rag/library/{processed_document_id}/test-search", d: "aidream", a: "guest", o: "optional", n: "knowledge.test_search_library_document" };
480
480
  function testSearchLibraryDocument(api, args, options) {
@@ -502,23 +502,23 @@ function getLibraryStagesStatus(api, args, options) {
502
502
  }
503
503
  var $stageExtract = { m: "POST", p: "/rag/library/{processed_document_id}/extract", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "knowledge.stage_extract" };
504
504
  function stageExtract(api, args, options) {
505
- return chunkG3OJBGCU_cjs.openStream(api, $stageExtract, args, options);
505
+ return chunkILAZVNEL_cjs.openStream(api, $stageExtract, args, options);
506
506
  }
507
507
  var $stageClean = { m: "POST", p: "/rag/library/{processed_document_id}/clean", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "knowledge.stage_clean" };
508
508
  function stageClean(api, args, options) {
509
- return chunkG3OJBGCU_cjs.openStream(api, $stageClean, args, options);
509
+ return chunkILAZVNEL_cjs.openStream(api, $stageClean, args, options);
510
510
  }
511
511
  var $stageChunk = { m: "POST", p: "/rag/library/{processed_document_id}/chunk", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "knowledge.stage_chunk" };
512
512
  function stageChunk(api, args, options) {
513
- return chunkG3OJBGCU_cjs.openStream(api, $stageChunk, args, options);
513
+ return chunkILAZVNEL_cjs.openStream(api, $stageChunk, args, options);
514
514
  }
515
515
  var $stageEmbed = { m: "POST", p: "/rag/library/{processed_document_id}/embed", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "knowledge.stage_embed" };
516
516
  function stageEmbed(api, args, options) {
517
- return chunkG3OJBGCU_cjs.openStream(api, $stageEmbed, args, options);
517
+ return chunkILAZVNEL_cjs.openStream(api, $stageEmbed, args, options);
518
518
  }
519
519
  var $stageRunAll = { m: "POST", p: "/rag/library/{processed_document_id}/run-all", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "knowledge.stage_run_all" };
520
520
  function stageRunAll(api, args, options) {
521
- return chunkG3OJBGCU_cjs.openStream(api, $stageRunAll, args, options);
521
+ return chunkILAZVNEL_cjs.openStream(api, $stageRunAll, args, options);
522
522
  }
523
523
  var $prepareDerivationRebuild = { m: "POST", p: "/rag/library/{processed_document_id}/derive/{kind}/rebuild-preview", d: "aidream", a: "guest", o: "required", n: "knowledge.prepare_derivation_rebuild" };
524
524
  function prepareDerivationRebuild(api, args, options) {
@@ -526,7 +526,7 @@ function prepareDerivationRebuild(api, args, options) {
526
526
  }
527
527
  var $deriveStream = { m: "POST", p: "/rag/library/{processed_document_id}/derive/{kind}", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "knowledge.derive_stream" };
528
528
  function deriveStream(api, args, options) {
529
- return chunkG3OJBGCU_cjs.openStream(api, $deriveStream, args, options);
529
+ return chunkILAZVNEL_cjs.openStream(api, $deriveStream, args, options);
530
530
  }
531
531
  var $listDerivations = { m: "GET", p: "/rag/library/{processed_document_id}/derivations", d: "aidream", a: "guest", o: "optional", n: "knowledge.list_derivations" };
532
532
  function listDerivations(api, args, options) {
@@ -542,7 +542,7 @@ function cancelDeriveRun(api, args, options) {
542
542
  }
543
543
  var $triggerSweep = { m: "POST", p: "/rag/sweeps", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "knowledge.trigger_sweep" };
544
544
  function triggerSweep(api, args, options) {
545
- return chunkG3OJBGCU_cjs.openStream(api, $triggerSweep, args, options);
545
+ return chunkILAZVNEL_cjs.openStream(api, $triggerSweep, args, options);
546
546
  }
547
547
  var $overview = { m: "GET", p: "/rag/admin/overview", d: "aidream", a: "admin", o: "exempt", n: "knowledge.overview" };
548
548
  function overview(api, args, options) {
@@ -630,7 +630,7 @@ function adminSearchLabDiagnose(api, args, options) {
630
630
  }
631
631
  var $adminSearchLabDiagnoseStream = { m: "POST", p: "/admin/rag/search-lab/diagnose/stream", d: "aidream", a: "admin", o: "exempt", s: "ndjson", n: "knowledge.admin_search_lab_diagnose_stream" };
632
632
  function adminSearchLabDiagnoseStream(api, args, options) {
633
- return chunkG3OJBGCU_cjs.openStream(api, $adminSearchLabDiagnoseStream, args, options);
633
+ return chunkILAZVNEL_cjs.openStream(api, $adminSearchLabDiagnoseStream, args, options);
634
634
  }
635
635
  var $getGraph = { m: "GET", p: "/kg/graph", d: "aidream", a: "guest", o: "optional", n: "knowledge.get_graph" };
636
636
  function getGraph(api, args, options) {
@@ -654,7 +654,7 @@ function diagnoseEndpoint(api, args, options) {
654
654
  }
655
655
  var $diagnoseStreamEndpoint = { m: "POST", p: "/rag/search-lab/diagnose/stream", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "knowledge.diagnose_stream_endpoint" };
656
656
  function diagnoseStreamEndpoint(api, args, options) {
657
- return chunkG3OJBGCU_cjs.openStream(api, $diagnoseStreamEndpoint, args, options);
657
+ return chunkILAZVNEL_cjs.openStream(api, $diagnoseStreamEndpoint, args, options);
658
658
  }
659
659
  var $agentToolSearchEndpoint = { m: "POST", p: "/rag/search-lab/tool/search", d: "aidream", a: "guest", o: "required", n: "knowledge.agent_tool_search_endpoint" };
660
660
  function agentToolSearchEndpoint(api, args, options) {
@@ -678,7 +678,7 @@ function readExport(api, args, options) {
678
678
  }
679
679
  var $indexExport = { m: "POST", p: "/media/libraries/{library_id}/index", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "knowledge.index_export" };
680
680
  function indexExport(api, args, options) {
681
- return chunkG3OJBGCU_cjs.openStream(api, $indexExport, args, options);
681
+ return chunkILAZVNEL_cjs.openStream(api, $indexExport, args, options);
682
682
  }
683
683
  var $listItems = { m: "GET", p: "/media/libraries/{library_id}/items", d: "aidream", a: "guest", o: "optional", n: "knowledge.list_items" };
684
684
  function listItems(api, args, options) {
@@ -1,10 +1,10 @@
1
- import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-DyDNKgdB.cjs';
1
+ import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-B6p8TJkh.cjs';
2
2
  import { JsonValue, ResourcePromotion } 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
  /** AddLinksToScope */
@@ -1,10 +1,10 @@
1
- import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-DyDNKgdB.js';
1
+ import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-B6p8TJkh.js';
2
2
  import { JsonValue, ResourcePromotion } 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
  /** AddLinksToScope */
package/dist/knowledge.js CHANGED
@@ -1,4 +1,4 @@
1
- import { openStream } from './chunk-BIHYNQOU.js';
1
+ import { openStream } from './chunk-KZD6TVJ4.js';
2
2
  import './chunk-KIEAFMKB.js';
3
3
 
4
4
  // src/generated/knowledge.ts