@ai-matrx/agents 0.59.267 → 0.59.269

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 (89) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/dist/catalog/index.d.cts +2 -1
  3. package/dist/catalog/index.d.ts +2 -1
  4. package/dist/catalog/native/index.d.cts +2 -1
  5. package/dist/catalog/native/index.d.ts +2 -1
  6. package/dist/catalog/react/index.d.cts +2 -1
  7. package/dist/catalog/react/index.d.ts +2 -1
  8. package/dist/content-transfer/index.d.cts +2 -1
  9. package/dist/content-transfer/index.d.ts +2 -1
  10. package/dist/content-transfer/react/index.d.cts +2 -1
  11. package/dist/content-transfer/react/index.d.ts +2 -1
  12. package/dist/context/index.d.cts +2 -1
  13. package/dist/context/index.d.ts +2 -1
  14. package/dist/context/react/index.cjs +12 -1
  15. package/dist/context/react/index.d.cts +2 -1
  16. package/dist/context/react/index.d.ts +2 -1
  17. package/dist/context/react/index.js +12 -1
  18. package/dist/envelope/index.d.cts +2 -1
  19. package/dist/envelope/index.d.ts +2 -1
  20. package/dist/field-flags/index.d.cts +2 -1
  21. package/dist/field-flags/index.d.ts +2 -1
  22. package/dist/generated/llm-enums.d.cts +2 -1
  23. package/dist/generated/llm-enums.d.ts +2 -1
  24. package/dist/generated/provision-offers.d.cts +2 -1
  25. package/dist/generated/provision-offers.d.ts +2 -1
  26. package/dist/generated/source-attribution.d.cts +2 -1
  27. package/dist/generated/source-attribution.d.ts +2 -1
  28. package/dist/generated/stream-events.d.cts +2 -1
  29. package/dist/generated/stream-events.d.ts +2 -1
  30. package/dist/generated/workflow-events.d.cts +2 -1
  31. package/dist/generated/workflow-events.d.ts +2 -1
  32. package/dist/index.d.cts +2 -1
  33. package/dist/index.d.ts +2 -1
  34. package/dist/intelligence/index.d.cts +2 -1
  35. package/dist/intelligence/index.d.ts +2 -1
  36. package/dist/intelligence/react/index.d.cts +2 -1
  37. package/dist/intelligence/react/index.d.ts +2 -1
  38. package/dist/mandates/index.d.cts +2 -1
  39. package/dist/mandates/index.d.ts +2 -1
  40. package/dist/mandates/runs.d.cts +2 -1
  41. package/dist/mandates/runs.d.ts +2 -1
  42. package/dist/message-parts/index.d.cts +2 -1
  43. package/dist/message-parts/index.d.ts +2 -1
  44. package/dist/models/index.cjs +364 -238
  45. package/dist/models/index.d.cts +141 -14
  46. package/dist/models/index.d.ts +141 -14
  47. package/dist/models/index.js +364 -238
  48. package/dist/models/react/index.d.cts +11 -2
  49. package/dist/models/react/index.d.ts +11 -2
  50. package/dist/portable/index.d.cts +4 -3
  51. package/dist/portable/index.d.ts +4 -3
  52. package/dist/portable/mcp.d.cts +3 -2
  53. package/dist/portable/mcp.d.ts +3 -2
  54. package/dist/presentation/decision-answers.d.cts +2 -1
  55. package/dist/presentation/decision-answers.d.ts +2 -1
  56. package/dist/projection/request.d.cts +2 -1
  57. package/dist/projection/request.d.ts +2 -1
  58. package/dist/projection/workflow.d.cts +2 -1
  59. package/dist/projection/workflow.d.ts +2 -1
  60. package/dist/quick/index.d.cts +2 -1
  61. package/dist/quick/index.d.ts +2 -1
  62. package/dist/react/index.d.cts +2 -1
  63. package/dist/react/index.d.ts +2 -1
  64. package/dist/runtime/index.d.cts +2 -1
  65. package/dist/runtime/index.d.ts +2 -1
  66. package/dist/settings/index.d.cts +2 -1
  67. package/dist/settings/index.d.ts +2 -1
  68. package/dist/settings/react/index.d.cts +2 -1
  69. package/dist/settings/react/index.d.ts +2 -1
  70. package/dist/skills/index.d.cts +2 -1
  71. package/dist/skills/index.d.ts +2 -1
  72. package/dist/skills/react/index.d.cts +2 -1
  73. package/dist/skills/react/index.d.ts +2 -1
  74. package/dist/sources/index.d.cts +2 -1
  75. package/dist/sources/index.d.ts +2 -1
  76. package/dist/sources/react/index.d.cts +2 -1
  77. package/dist/sources/react/index.d.ts +2 -1
  78. package/dist/sources/runtime/index.d.cts +2 -1
  79. package/dist/sources/runtime/index.d.ts +2 -1
  80. package/dist/tools/index.d.cts +2 -1
  81. package/dist/tools/index.d.ts +2 -1
  82. package/dist/{types.generated-BDphyhqo.d.cts → types.generated-BP2_h0te.d.cts} +2 -1
  83. package/dist/{types.generated-BDphyhqo.d.ts → types.generated-BP2_h0te.d.ts} +2 -1
  84. package/dist/versions/index.d.cts +2 -1
  85. package/dist/versions/index.d.ts +2 -1
  86. package/dist/versions/react/index.d.cts +2 -1
  87. package/dist/versions/react/index.d.ts +2 -1
  88. package/package.json +2 -2
  89. package/scripts/check-model-catalog-reads.mjs +11 -6
@@ -804,7 +804,15 @@ interface LocalModel {
804
804
  /** At least one variant is offered (Matrx 2 lists it). */
805
805
  offered?: boolean;
806
806
  /** The later of the model's and its presentation's updated_at: what an admin edit sends as expected_updated_at. */
807
- updated_at?: string | null;
807
+ updated_at?: string | null; /**
808
+ * Set only when `readModelCatalog(client, { devices })` asked: the computers that hold every required file of
809
+ * one of this model's listed variants (models/device-models.ts `availableOnDevices`). Absent otherwise.
810
+ */
811
+ available_on?: Array<{
812
+ app_instance_id: string;
813
+ variant_id: string;
814
+ device_model_file_ids: string[];
815
+ }>;
808
816
  }
809
817
  interface LocalCompatRow {
810
818
  hardware_class: HardwareClass;
@@ -1046,4 +1054,5 @@ interface DiscoveryResultViewProps {
1046
1054
  /** A resolved model: its header, the source's reason when the originals will not run, and every version judged. */
1047
1055
  declare function DiscoveryResultView({ result, device, runtimes, want, chooseLabel, mode, onChoose, renderVariantActions, renderActions }: DiscoveryResultViewProps): react.JSX.Element;
1048
1056
 
1049
- export { type DiscoveryKind, type DiscoveryMode, type DiscoveryPort, DiscoveryResultView, type DiscoveryResultViewProps, type DiscoverySearchHit, type DiscoverySearchPage, type DiscoverySearchQuery, type DiscoverySort, type LocalModelEntry, type LocalModelsPort, type ModelAccessPort, type ModelCatalogLinkComponent, ModelCatalogProvider, type ModelCatalogProviderProps, type ModelCatalogUiPorts, ModelDiscovery, type ModelDiscoveryProps, ModelListDropdown, type ModelListDropdownProps, YOUR_KEY_LABEL, useLocalModels, useModelAccess, useModelCatalog, useModelCatalogRevision, useModelCatalogStore, useModelCatalogUiPorts, useModelFavorites, useModelRecordsSelector, useOnModelCatalogChanged };
1057
+ export { DiscoveryResultView, ModelCatalogProvider, ModelDiscovery, ModelListDropdown, YOUR_KEY_LABEL, useLocalModels, useModelAccess, useModelCatalog, useModelCatalogRevision, useModelCatalogStore, useModelCatalogUiPorts, useModelFavorites, useModelRecordsSelector, useOnModelCatalogChanged };
1058
+ export type { DiscoveryKind, DiscoveryMode, DiscoveryPort, DiscoveryResultViewProps, DiscoverySearchHit, DiscoverySearchPage, DiscoverySearchQuery, DiscoverySort, LocalModelEntry, LocalModelsPort, ModelAccessPort, ModelCatalogLinkComponent, ModelCatalogProviderProps, ModelCatalogUiPorts, ModelDiscoveryProps, ModelListDropdownProps };
@@ -804,7 +804,15 @@ interface LocalModel {
804
804
  /** At least one variant is offered (Matrx 2 lists it). */
805
805
  offered?: boolean;
806
806
  /** The later of the model's and its presentation's updated_at: what an admin edit sends as expected_updated_at. */
807
- updated_at?: string | null;
807
+ updated_at?: string | null; /**
808
+ * Set only when `readModelCatalog(client, { devices })` asked: the computers that hold every required file of
809
+ * one of this model's listed variants (models/device-models.ts `availableOnDevices`). Absent otherwise.
810
+ */
811
+ available_on?: Array<{
812
+ app_instance_id: string;
813
+ variant_id: string;
814
+ device_model_file_ids: string[];
815
+ }>;
808
816
  }
809
817
  interface LocalCompatRow {
810
818
  hardware_class: HardwareClass;
@@ -1046,4 +1054,5 @@ interface DiscoveryResultViewProps {
1046
1054
  /** A resolved model: its header, the source's reason when the originals will not run, and every version judged. */
1047
1055
  declare function DiscoveryResultView({ result, device, runtimes, want, chooseLabel, mode, onChoose, renderVariantActions, renderActions }: DiscoveryResultViewProps): react.JSX.Element;
1048
1056
 
1049
- export { type DiscoveryKind, type DiscoveryMode, type DiscoveryPort, DiscoveryResultView, type DiscoveryResultViewProps, type DiscoverySearchHit, type DiscoverySearchPage, type DiscoverySearchQuery, type DiscoverySort, type LocalModelEntry, type LocalModelsPort, type ModelAccessPort, type ModelCatalogLinkComponent, ModelCatalogProvider, type ModelCatalogProviderProps, type ModelCatalogUiPorts, ModelDiscovery, type ModelDiscoveryProps, ModelListDropdown, type ModelListDropdownProps, YOUR_KEY_LABEL, useLocalModels, useModelAccess, useModelCatalog, useModelCatalogRevision, useModelCatalogStore, useModelCatalogUiPorts, useModelFavorites, useModelRecordsSelector, useOnModelCatalogChanged };
1057
+ export { DiscoveryResultView, ModelCatalogProvider, ModelDiscovery, ModelListDropdown, YOUR_KEY_LABEL, useLocalModels, useModelAccess, useModelCatalog, useModelCatalogRevision, useModelCatalogStore, useModelCatalogUiPorts, useModelFavorites, useModelRecordsSelector, useOnModelCatalogChanged };
1058
+ export type { DiscoveryKind, DiscoveryMode, DiscoveryPort, DiscoveryResultViewProps, DiscoverySearchHit, DiscoverySearchPage, DiscoverySearchQuery, DiscoverySort, LocalModelEntry, LocalModelsPort, ModelAccessPort, ModelCatalogLinkComponent, ModelCatalogProviderProps, ModelCatalogUiPorts, ModelDiscoveryProps, ModelListDropdownProps };
@@ -1,6 +1,6 @@
1
1
  import { MatrxTransport } from '@ai-matrx/api';
2
- import { J as JsonValue, P as PortableAgentBundle, a as PortableAgentSummary } from '../types.generated-BDphyhqo.cjs';
3
- export { b as PORTABLE_AGENT_CONTRACT, c as PortableAgentRequest, d as PortableSkill, e as PortableTool, f as PortableUnavailable } from '../types.generated-BDphyhqo.cjs';
2
+ import { J as JsonValue, P as PortableAgentBundle, a as PortableAgentSummary } from '../types.generated-BP2_h0te.cjs';
3
+ export { b as PORTABLE_AGENT_CONTRACT, c as PortableAgentRequest, d as PortableSkill, e as PortableTool, f as PortableUnavailable } from '../types.generated-BP2_h0te.cjs';
4
4
 
5
5
  /**
6
6
  * `@ai-matrx/agents/portable` — an AI Matrx agent as pieces a coding CLI loads.
@@ -80,4 +80,5 @@ interface PortableAgentLoadSummary {
80
80
  /** Count what a bundle carries against what the agent declares. */
81
81
  declare function summarizePortableAgent(bundle: PortableAgentBundle): PortableAgentLoadSummary;
82
82
 
83
- export { type FetchPortableAgentOptions, JsonValue, PortableAgentBundle, type PortableAgentLoadSummary, PortableAgentSummary, type PortableAgentTarget, type PortableAgentVersion, fetchPortableAgent, fetchPortableAgentSummary, fetchPortableAgentVersions, portableAgentPath, summarizePortableAgent };
83
+ export { JsonValue, PortableAgentBundle, PortableAgentSummary, fetchPortableAgent, fetchPortableAgentSummary, fetchPortableAgentVersions, portableAgentPath, summarizePortableAgent };
84
+ export type { FetchPortableAgentOptions, PortableAgentLoadSummary, PortableAgentTarget, PortableAgentVersion };
@@ -1,6 +1,6 @@
1
1
  import { MatrxTransport } from '@ai-matrx/api';
2
- import { J as JsonValue, P as PortableAgentBundle, a as PortableAgentSummary } from '../types.generated-BDphyhqo.js';
3
- export { b as PORTABLE_AGENT_CONTRACT, c as PortableAgentRequest, d as PortableSkill, e as PortableTool, f as PortableUnavailable } from '../types.generated-BDphyhqo.js';
2
+ import { J as JsonValue, P as PortableAgentBundle, a as PortableAgentSummary } from '../types.generated-BP2_h0te.js';
3
+ export { b as PORTABLE_AGENT_CONTRACT, c as PortableAgentRequest, d as PortableSkill, e as PortableTool, f as PortableUnavailable } from '../types.generated-BP2_h0te.js';
4
4
 
5
5
  /**
6
6
  * `@ai-matrx/agents/portable` — an AI Matrx agent as pieces a coding CLI loads.
@@ -80,4 +80,5 @@ interface PortableAgentLoadSummary {
80
80
  /** Count what a bundle carries against what the agent declares. */
81
81
  declare function summarizePortableAgent(bundle: PortableAgentBundle): PortableAgentLoadSummary;
82
82
 
83
- export { type FetchPortableAgentOptions, JsonValue, PortableAgentBundle, type PortableAgentLoadSummary, PortableAgentSummary, type PortableAgentTarget, type PortableAgentVersion, fetchPortableAgent, fetchPortableAgentSummary, fetchPortableAgentVersions, portableAgentPath, summarizePortableAgent };
83
+ export { JsonValue, PortableAgentBundle, PortableAgentSummary, fetchPortableAgent, fetchPortableAgentSummary, fetchPortableAgentVersions, portableAgentPath, summarizePortableAgent };
84
+ export type { FetchPortableAgentOptions, PortableAgentLoadSummary, PortableAgentTarget, PortableAgentVersion };
@@ -1,6 +1,6 @@
1
1
  import { CredentialsPort } from '@ai-matrx/data';
2
2
  import { MatrxTransport } from '@ai-matrx/api';
3
- import { J as JsonValue, P as PortableAgentBundle } from '../types.generated-BDphyhqo.cjs';
3
+ import { JsonValue, PortableAgentBundle } from './index.cjs';
4
4
 
5
5
  /**
6
6
  * `@ai-matrx/agents/portable/mcp` — an agent's server tools as an MCP server.
@@ -78,4 +78,5 @@ interface McpToolDescriptor {
78
78
  }
79
79
  declare function createAgentToolsMcpHandler(options: AgentToolsMcpOptions): AgentToolsMcpHandler;
80
80
 
81
- export { AGENT_TOOLS_MCP_PROTOCOL_VERSIONS, AGENT_TOOLS_MCP_SERVER_NAME, type AgentToolsMcpHandler, type AgentToolsMcpOptions, type McpHttpReply, type McpJsonRpcMessage, type McpToolDescriptor, NO_ORGANIZATION_TOOL_MESSAGE, SIGNED_OUT_TOOL_MESSAGE, createAgentToolsMcpHandler };
81
+ export { AGENT_TOOLS_MCP_PROTOCOL_VERSIONS, AGENT_TOOLS_MCP_SERVER_NAME, NO_ORGANIZATION_TOOL_MESSAGE, SIGNED_OUT_TOOL_MESSAGE, createAgentToolsMcpHandler };
82
+ export type { AgentToolsMcpHandler, AgentToolsMcpOptions, McpHttpReply, McpJsonRpcMessage, McpToolDescriptor };
@@ -1,6 +1,6 @@
1
1
  import { CredentialsPort } from '@ai-matrx/data';
2
2
  import { MatrxTransport } from '@ai-matrx/api';
3
- import { J as JsonValue, P as PortableAgentBundle } from '../types.generated-BDphyhqo.js';
3
+ import { JsonValue, PortableAgentBundle } from './index.js';
4
4
 
5
5
  /**
6
6
  * `@ai-matrx/agents/portable/mcp` — an agent's server tools as an MCP server.
@@ -78,4 +78,5 @@ interface McpToolDescriptor {
78
78
  }
79
79
  declare function createAgentToolsMcpHandler(options: AgentToolsMcpOptions): AgentToolsMcpHandler;
80
80
 
81
- export { AGENT_TOOLS_MCP_PROTOCOL_VERSIONS, AGENT_TOOLS_MCP_SERVER_NAME, type AgentToolsMcpHandler, type AgentToolsMcpOptions, type McpHttpReply, type McpJsonRpcMessage, type McpToolDescriptor, NO_ORGANIZATION_TOOL_MESSAGE, SIGNED_OUT_TOOL_MESSAGE, createAgentToolsMcpHandler };
81
+ export { AGENT_TOOLS_MCP_PROTOCOL_VERSIONS, AGENT_TOOLS_MCP_SERVER_NAME, NO_ORGANIZATION_TOOL_MESSAGE, SIGNED_OUT_TOOL_MESSAGE, createAgentToolsMcpHandler };
82
+ export type { AgentToolsMcpHandler, AgentToolsMcpOptions, McpHttpReply, McpJsonRpcMessage, McpToolDescriptor };
@@ -110,4 +110,5 @@ declare const METHOD_EXPLANATIONS: Record<DecisionMethod, string>;
110
110
  */
111
111
  declare function decisionAnswersText(payload: unknown): string | null;
112
112
 
113
- export { DECISION_ANSWERS_KIND, type DecisionAnswerView, type DecisionAnswersView, type DecisionMethod, METHOD_EXPLANATIONS, METHOD_LABELS, answerProbability, decisionAnswersText, formatAnswerHeadline, formatDecisionAnswer, probabilityOfTrue, readDecisionAnswers };
113
+ export { DECISION_ANSWERS_KIND, METHOD_EXPLANATIONS, METHOD_LABELS, answerProbability, decisionAnswersText, formatAnswerHeadline, formatDecisionAnswer, probabilityOfTrue, readDecisionAnswers };
114
+ export type { DecisionAnswerView, DecisionAnswersView, DecisionMethod };
@@ -110,4 +110,5 @@ declare const METHOD_EXPLANATIONS: Record<DecisionMethod, string>;
110
110
  */
111
111
  declare function decisionAnswersText(payload: unknown): string | null;
112
112
 
113
- export { DECISION_ANSWERS_KIND, type DecisionAnswerView, type DecisionAnswersView, type DecisionMethod, METHOD_EXPLANATIONS, METHOD_LABELS, answerProbability, decisionAnswersText, formatAnswerHeadline, formatDecisionAnswer, probabilityOfTrue, readDecisionAnswers };
113
+ export { DECISION_ANSWERS_KIND, METHOD_EXPLANATIONS, METHOD_LABELS, answerProbability, decisionAnswersText, formatAnswerHeadline, formatDecisionAnswer, probabilityOfTrue, readDecisionAnswers };
114
+ export type { DecisionAnswerView, DecisionAnswersView, DecisionMethod };
@@ -55,4 +55,5 @@ declare function createAgentRequestProjection(input: {
55
55
  declare function projectAgentEvent(current: AgentRequestProjection, event: AgentProjectionEvent): AgentRequestProjection;
56
56
  declare function projectAgentEvents(initial: AgentRequestProjection, events: readonly AgentProjectionEvent[]): AgentRequestProjection;
57
57
 
58
- export { type AgentProjectionEvent, type AgentProjectionOperation, type AgentProjectionRenderBlock, type AgentProjectionStatus, type AgentProjectionTool, type AgentRequestProjection, createAgentRequestProjection, projectAgentEvent, projectAgentEvents };
58
+ export { createAgentRequestProjection, projectAgentEvent, projectAgentEvents };
59
+ export type { AgentProjectionEvent, AgentProjectionOperation, AgentProjectionRenderBlock, AgentProjectionStatus, AgentProjectionTool, AgentRequestProjection };
@@ -55,4 +55,5 @@ declare function createAgentRequestProjection(input: {
55
55
  declare function projectAgentEvent(current: AgentRequestProjection, event: AgentProjectionEvent): AgentRequestProjection;
56
56
  declare function projectAgentEvents(initial: AgentRequestProjection, events: readonly AgentProjectionEvent[]): AgentRequestProjection;
57
57
 
58
- export { type AgentProjectionEvent, type AgentProjectionOperation, type AgentProjectionRenderBlock, type AgentProjectionStatus, type AgentProjectionTool, type AgentRequestProjection, createAgentRequestProjection, projectAgentEvent, projectAgentEvents };
58
+ export { createAgentRequestProjection, projectAgentEvent, projectAgentEvents };
59
+ export type { AgentProjectionEvent, AgentProjectionOperation, AgentProjectionRenderBlock, AgentProjectionStatus, AgentProjectionTool, AgentRequestProjection };
@@ -76,4 +76,5 @@ declare function createWorkflowNodeProjection(input: {
76
76
  }): WorkflowNodeProjection;
77
77
  declare function projectWorkflowNodeEvent(current: WorkflowNodeProjection, event: WorkflowNodeStreamEvent): WorkflowNodeProjection;
78
78
 
79
- export { DEFAULT_WORKFLOW_PROJECTION_LIMITS, type WorkflowNodeProjection, type WorkflowNodeStreamEvent, type WorkflowProjectionLimits, type WorkflowRenderBlockIssue, type WorkflowRenderBlockIssueCode, type WorkflowRenderFrameSet, createWorkflowNodeProjection, projectWorkflowNodeEvent };
79
+ export { DEFAULT_WORKFLOW_PROJECTION_LIMITS, createWorkflowNodeProjection, projectWorkflowNodeEvent };
80
+ export type { WorkflowNodeProjection, WorkflowNodeStreamEvent, WorkflowProjectionLimits, WorkflowRenderBlockIssue, WorkflowRenderBlockIssueCode, WorkflowRenderFrameSet };
@@ -76,4 +76,5 @@ declare function createWorkflowNodeProjection(input: {
76
76
  }): WorkflowNodeProjection;
77
77
  declare function projectWorkflowNodeEvent(current: WorkflowNodeProjection, event: WorkflowNodeStreamEvent): WorkflowNodeProjection;
78
78
 
79
- export { DEFAULT_WORKFLOW_PROJECTION_LIMITS, type WorkflowNodeProjection, type WorkflowNodeStreamEvent, type WorkflowProjectionLimits, type WorkflowRenderBlockIssue, type WorkflowRenderBlockIssueCode, type WorkflowRenderFrameSet, createWorkflowNodeProjection, projectWorkflowNodeEvent };
79
+ export { DEFAULT_WORKFLOW_PROJECTION_LIMITS, createWorkflowNodeProjection, projectWorkflowNodeEvent };
80
+ export type { WorkflowNodeProjection, WorkflowNodeStreamEvent, WorkflowProjectionLimits, WorkflowRenderBlockIssue, WorkflowRenderBlockIssueCode, WorkflowRenderFrameSet };
@@ -206,4 +206,5 @@ declare function createQuickAgent(client: QuickAgentClient, def: QuickAgentDefin
206
206
  declare function updateQuickAgent(client: QuickAgentClient, id: string, def: QuickAgentDefinition): Promise<QuickAgent>;
207
207
  declare function deleteQuickAgent(client: QuickAgentClient, id: string): Promise<void>;
208
208
 
209
- export { LEGACY_LIMITS, type ModelSettingRow, type ModelSettingRows, QUICK_AGENT_BOUNDS, QUICK_AGENT_DEFAULT_SETTINGS, QUICK_AGENT_KIND, QUICK_AGENT_KNOBS, QUICK_AGENT_TAG, type QuickAgent, type QuickAgentClient, type QuickAgentDefinition, type QuickAgentKnobValues, type QuickAgentLimits, type QuickAgentSettingLimit, type QuickAgentSettings, type QuickAgentSystemMessage, clampQuickAgentSettings, createQuickAgent, defaultQuickAgentSettings, deleteQuickAgent, isQuickAgentSummary, listMyQuickAgents, listQuickAgents, quickAgentFields, quickAgentFromRow, quickAgentMessages, quickAgentProblems, quickAgentSettingsJson, readQuickAgent, resolveQuickAgentLimits, sliderStep, updateQuickAgent, withoutQuickAgents };
209
+ export { LEGACY_LIMITS, QUICK_AGENT_BOUNDS, QUICK_AGENT_DEFAULT_SETTINGS, QUICK_AGENT_KIND, QUICK_AGENT_KNOBS, QUICK_AGENT_TAG, clampQuickAgentSettings, createQuickAgent, defaultQuickAgentSettings, deleteQuickAgent, isQuickAgentSummary, listMyQuickAgents, listQuickAgents, quickAgentFields, quickAgentFromRow, quickAgentMessages, quickAgentProblems, quickAgentSettingsJson, readQuickAgent, resolveQuickAgentLimits, sliderStep, updateQuickAgent, withoutQuickAgents };
210
+ export type { ModelSettingRow, ModelSettingRows, QuickAgent, QuickAgentClient, QuickAgentDefinition, QuickAgentKnobValues, QuickAgentLimits, QuickAgentSettingLimit, QuickAgentSettings, QuickAgentSystemMessage };
@@ -206,4 +206,5 @@ declare function createQuickAgent(client: QuickAgentClient, def: QuickAgentDefin
206
206
  declare function updateQuickAgent(client: QuickAgentClient, id: string, def: QuickAgentDefinition): Promise<QuickAgent>;
207
207
  declare function deleteQuickAgent(client: QuickAgentClient, id: string): Promise<void>;
208
208
 
209
- export { LEGACY_LIMITS, type ModelSettingRow, type ModelSettingRows, QUICK_AGENT_BOUNDS, QUICK_AGENT_DEFAULT_SETTINGS, QUICK_AGENT_KIND, QUICK_AGENT_KNOBS, QUICK_AGENT_TAG, type QuickAgent, type QuickAgentClient, type QuickAgentDefinition, type QuickAgentKnobValues, type QuickAgentLimits, type QuickAgentSettingLimit, type QuickAgentSettings, type QuickAgentSystemMessage, clampQuickAgentSettings, createQuickAgent, defaultQuickAgentSettings, deleteQuickAgent, isQuickAgentSummary, listMyQuickAgents, listQuickAgents, quickAgentFields, quickAgentFromRow, quickAgentMessages, quickAgentProblems, quickAgentSettingsJson, readQuickAgent, resolveQuickAgentLimits, sliderStep, updateQuickAgent, withoutQuickAgents };
209
+ export { LEGACY_LIMITS, QUICK_AGENT_BOUNDS, QUICK_AGENT_DEFAULT_SETTINGS, QUICK_AGENT_KIND, QUICK_AGENT_KNOBS, QUICK_AGENT_TAG, clampQuickAgentSettings, createQuickAgent, defaultQuickAgentSettings, deleteQuickAgent, isQuickAgentSummary, listMyQuickAgents, listQuickAgents, quickAgentFields, quickAgentFromRow, quickAgentMessages, quickAgentProblems, quickAgentSettingsJson, readQuickAgent, resolveQuickAgentLimits, sliderStep, updateQuickAgent, withoutQuickAgents };
210
+ export type { ModelSettingRow, ModelSettingRows, QuickAgent, QuickAgentClient, QuickAgentDefinition, QuickAgentKnobValues, QuickAgentLimits, QuickAgentSettingLimit, QuickAgentSettings, QuickAgentSystemMessage };
@@ -122,4 +122,5 @@ declare function useWarmup(): Warmup | null;
122
122
  */
123
123
  declare function useWarmOnMount(items: readonly WarmItem[], reason: WarmReason): void;
124
124
 
125
- export { type UseFollowRuntimeOperation, type UseFollowRuntimeOperationOptions, type UseServerJob, type UseServerJobOptions, WarmupProvider, useFollowRuntimeOperation, useServerJob, useWarmOnMount, useWarmup };
125
+ export { WarmupProvider, useFollowRuntimeOperation, useServerJob, useWarmOnMount, useWarmup };
126
+ export type { UseFollowRuntimeOperation, UseFollowRuntimeOperationOptions, UseServerJob, UseServerJobOptions };
@@ -122,4 +122,5 @@ declare function useWarmup(): Warmup | null;
122
122
  */
123
123
  declare function useWarmOnMount(items: readonly WarmItem[], reason: WarmReason): void;
124
124
 
125
- export { type UseFollowRuntimeOperation, type UseFollowRuntimeOperationOptions, type UseServerJob, type UseServerJobOptions, WarmupProvider, useFollowRuntimeOperation, useServerJob, useWarmOnMount, useWarmup };
125
+ export { WarmupProvider, useFollowRuntimeOperation, useServerJob, useWarmOnMount, useWarmup };
126
+ export type { UseFollowRuntimeOperation, UseFollowRuntimeOperationOptions, UseServerJob, UseServerJobOptions };
@@ -221,4 +221,5 @@ interface RunControlCountsInput {
221
221
  }
222
222
  declare function computeRunControlCounts(input: RunControlCountsInput): RunControlCounts;
223
223
 
224
- export { type AgentAccessLevelRow, type AgentRunControlsRow, type AgentRunCounts, type AgentRunTierRow, type RunControlCounts, type RunControlCountsInput, type RunTierClient, type RunTierEntry, type RunTierErrorSink, RunTierNotReadableError, type RunTierPgError, RunTierReadError, type RunTierRpcResult, type RunTierState, type RunTierStatus, type RunTierStore, type RunTierStoreConfig, RunTierTimeoutError, type SharedAgentForChat, type SharedAgentItem, computeRunControlCounts, createRunTierStore, runCountsOf };
224
+ export { RunTierNotReadableError, RunTierReadError, RunTierTimeoutError, computeRunControlCounts, createRunTierStore, runCountsOf };
225
+ export type { AgentAccessLevelRow, AgentRunControlsRow, AgentRunCounts, AgentRunTierRow, RunControlCounts, RunControlCountsInput, RunTierClient, RunTierEntry, RunTierErrorSink, RunTierPgError, RunTierRpcResult, RunTierState, RunTierStatus, RunTierStore, RunTierStoreConfig, SharedAgentForChat, SharedAgentItem };
@@ -221,4 +221,5 @@ interface RunControlCountsInput {
221
221
  }
222
222
  declare function computeRunControlCounts(input: RunControlCountsInput): RunControlCounts;
223
223
 
224
- export { type AgentAccessLevelRow, type AgentRunControlsRow, type AgentRunCounts, type AgentRunTierRow, type RunControlCounts, type RunControlCountsInput, type RunTierClient, type RunTierEntry, type RunTierErrorSink, RunTierNotReadableError, type RunTierPgError, RunTierReadError, type RunTierRpcResult, type RunTierState, type RunTierStatus, type RunTierStore, type RunTierStoreConfig, RunTierTimeoutError, type SharedAgentForChat, type SharedAgentItem, computeRunControlCounts, createRunTierStore, runCountsOf };
224
+ export { RunTierNotReadableError, RunTierReadError, RunTierTimeoutError, computeRunControlCounts, createRunTierStore, runCountsOf };
225
+ export type { AgentAccessLevelRow, AgentRunControlsRow, AgentRunCounts, AgentRunTierRow, RunControlCounts, RunControlCountsInput, RunTierClient, RunTierEntry, RunTierErrorSink, RunTierPgError, RunTierRpcResult, RunTierState, RunTierStatus, RunTierStore, RunTierStoreConfig, SharedAgentForChat, SharedAgentItem };
@@ -746,4 +746,5 @@ interface CapabilitiesWriteTarget {
746
746
  error?: string | null;
747
747
  }
748
748
 
749
- export { AUTO_MEANS_UNSET_KEYS, AUTO_VALUE, type AgentContext, type AgentSettings, type AgentSettingsEntry, type AgentSettingsState, type AgentSource, type AgentVariable, CATALOGUE_KEYS, type CapabilitiesWriteTarget, type CatalogueEntry, type CatalogueGroup, type ConflictAction, type ConflictItem, type ConflictReason, type ConflictSummary, type ControlDefinition, type ControlType, EMPTY_UI_GATES, ENUM_OFF_VALUE, type ExtraSettingKeys, type InitializeSettingsInput, type LLMParams, type ModelRowTarget, type ModelSettingRow, type NormalizedControls, PARAM_ALIASES, type PendingModelSwitch, type RenderGroup, type ResolutionMode, SETTINGS_CATALOGUE, type SettingRowFacts, type SettingRowRead, type SettingRowView, type SettingState, type SettingsGroupId, type SettingsModelInfo, type SettingsStore, type SettingsStoreConfig, type SettingsWriteTarget, UI_GATE_EDITABLE_KEYS, UI_GATE_KEYS, type UiGateEditableKey, type UiGateKey, type UiGates, type VariableCustomComponentRef, buildApiPayload, buildSettingsRows, computeOverrideDiff, createSettingsStore, detectConflicts, effectiveOfferingPinOf, extraSettingKeys, extractModelDefaults, gateEnabled, getActionForMode, isOffValue, isUiGateKey, isUnsetChoice, mergeEffectiveSettings, mergeVariableValues, offValueFor, parseModelControls, parseUiGates, readApiPayload, readConflictActions, readConflictSummary, readEffectiveModelId, readEffectiveSettings, readEffectiveVariableValues, readPreviewedResolution, readSettingsEntry, resolveConflicts, sanitizeSettings, settingControl, settingLabel, settingStateOf, startingValueFor, withSettingState };
749
+ export { AUTO_MEANS_UNSET_KEYS, AUTO_VALUE, CATALOGUE_KEYS, EMPTY_UI_GATES, ENUM_OFF_VALUE, PARAM_ALIASES, SETTINGS_CATALOGUE, UI_GATE_EDITABLE_KEYS, UI_GATE_KEYS, buildApiPayload, buildSettingsRows, computeOverrideDiff, createSettingsStore, detectConflicts, effectiveOfferingPinOf, extraSettingKeys, extractModelDefaults, gateEnabled, getActionForMode, isOffValue, isUiGateKey, isUnsetChoice, mergeEffectiveSettings, mergeVariableValues, offValueFor, parseModelControls, parseUiGates, readApiPayload, readConflictActions, readConflictSummary, readEffectiveModelId, readEffectiveSettings, readEffectiveVariableValues, readPreviewedResolution, readSettingsEntry, resolveConflicts, sanitizeSettings, settingControl, settingLabel, settingStateOf, startingValueFor, withSettingState };
750
+ export type { AgentContext, AgentSettings, AgentSettingsEntry, AgentSettingsState, AgentSource, AgentVariable, CapabilitiesWriteTarget, CatalogueEntry, CatalogueGroup, ConflictAction, ConflictItem, ConflictReason, ConflictSummary, ControlDefinition, ControlType, ExtraSettingKeys, InitializeSettingsInput, LLMParams, ModelRowTarget, ModelSettingRow, NormalizedControls, PendingModelSwitch, RenderGroup, ResolutionMode, SettingRowFacts, SettingRowRead, SettingRowView, SettingState, SettingsGroupId, SettingsModelInfo, SettingsStore, SettingsStoreConfig, SettingsWriteTarget, UiGateEditableKey, UiGateKey, UiGates, VariableCustomComponentRef };
@@ -746,4 +746,5 @@ interface CapabilitiesWriteTarget {
746
746
  error?: string | null;
747
747
  }
748
748
 
749
- export { AUTO_MEANS_UNSET_KEYS, AUTO_VALUE, type AgentContext, type AgentSettings, type AgentSettingsEntry, type AgentSettingsState, type AgentSource, type AgentVariable, CATALOGUE_KEYS, type CapabilitiesWriteTarget, type CatalogueEntry, type CatalogueGroup, type ConflictAction, type ConflictItem, type ConflictReason, type ConflictSummary, type ControlDefinition, type ControlType, EMPTY_UI_GATES, ENUM_OFF_VALUE, type ExtraSettingKeys, type InitializeSettingsInput, type LLMParams, type ModelRowTarget, type ModelSettingRow, type NormalizedControls, PARAM_ALIASES, type PendingModelSwitch, type RenderGroup, type ResolutionMode, SETTINGS_CATALOGUE, type SettingRowFacts, type SettingRowRead, type SettingRowView, type SettingState, type SettingsGroupId, type SettingsModelInfo, type SettingsStore, type SettingsStoreConfig, type SettingsWriteTarget, UI_GATE_EDITABLE_KEYS, UI_GATE_KEYS, type UiGateEditableKey, type UiGateKey, type UiGates, type VariableCustomComponentRef, buildApiPayload, buildSettingsRows, computeOverrideDiff, createSettingsStore, detectConflicts, effectiveOfferingPinOf, extraSettingKeys, extractModelDefaults, gateEnabled, getActionForMode, isOffValue, isUiGateKey, isUnsetChoice, mergeEffectiveSettings, mergeVariableValues, offValueFor, parseModelControls, parseUiGates, readApiPayload, readConflictActions, readConflictSummary, readEffectiveModelId, readEffectiveSettings, readEffectiveVariableValues, readPreviewedResolution, readSettingsEntry, resolveConflicts, sanitizeSettings, settingControl, settingLabel, settingStateOf, startingValueFor, withSettingState };
749
+ export { AUTO_MEANS_UNSET_KEYS, AUTO_VALUE, CATALOGUE_KEYS, EMPTY_UI_GATES, ENUM_OFF_VALUE, PARAM_ALIASES, SETTINGS_CATALOGUE, UI_GATE_EDITABLE_KEYS, UI_GATE_KEYS, buildApiPayload, buildSettingsRows, computeOverrideDiff, createSettingsStore, detectConflicts, effectiveOfferingPinOf, extraSettingKeys, extractModelDefaults, gateEnabled, getActionForMode, isOffValue, isUiGateKey, isUnsetChoice, mergeEffectiveSettings, mergeVariableValues, offValueFor, parseModelControls, parseUiGates, readApiPayload, readConflictActions, readConflictSummary, readEffectiveModelId, readEffectiveSettings, readEffectiveVariableValues, readPreviewedResolution, readSettingsEntry, resolveConflicts, sanitizeSettings, settingControl, settingLabel, settingStateOf, startingValueFor, withSettingState };
750
+ export type { AgentContext, AgentSettings, AgentSettingsEntry, AgentSettingsState, AgentSource, AgentVariable, CapabilitiesWriteTarget, CatalogueEntry, CatalogueGroup, ConflictAction, ConflictItem, ConflictReason, ConflictSummary, ControlDefinition, ControlType, ExtraSettingKeys, InitializeSettingsInput, LLMParams, ModelRowTarget, ModelSettingRow, NormalizedControls, PendingModelSwitch, RenderGroup, ResolutionMode, SettingRowFacts, SettingRowRead, SettingRowView, SettingState, SettingsGroupId, SettingsModelInfo, SettingsStore, SettingsStoreConfig, SettingsWriteTarget, UiGateEditableKey, UiGateKey, UiGates, VariableCustomComponentRef };
@@ -360,4 +360,5 @@ declare function useSettingsEntry(store: SettingsStore, agentId: string | null |
360
360
  /** Defaults merged with overrides for one agent; recomputed only when the entry changes. */
361
361
  declare function useEffectiveSettings(store: SettingsStore, agentId: string | null | undefined): Partial<AgentSettings>;
362
362
 
363
- export { ModelSettingsPanel, type ModelSettingsPanelProps, useEffectiveSettings, useSettingsEntry, useSettingsSelector };
363
+ export { ModelSettingsPanel, useEffectiveSettings, useSettingsEntry, useSettingsSelector };
364
+ export type { ModelSettingsPanelProps };
@@ -360,4 +360,5 @@ declare function useSettingsEntry(store: SettingsStore, agentId: string | null |
360
360
  /** Defaults merged with overrides for one agent; recomputed only when the entry changes. */
361
361
  declare function useEffectiveSettings(store: SettingsStore, agentId: string | null | undefined): Partial<AgentSettings>;
362
362
 
363
- export { ModelSettingsPanel, type ModelSettingsPanelProps, useEffectiveSettings, useSettingsEntry, useSettingsSelector };
363
+ export { ModelSettingsPanel, useEffectiveSettings, useSettingsEntry, useSettingsSelector };
364
+ export type { ModelSettingsPanelProps };
@@ -473,4 +473,5 @@ interface SkillCatalog {
473
473
  }
474
474
  declare function createSkillCatalog(config: SkillCatalogConfig): SkillCatalog;
475
475
 
476
- export { type AsyncStatus, type CategoryListWire, type CategoryRow, type CategoryRowWire, type FetchSkillsArgs, type IngestReport, type IngestReportWire, type IngestRequestWire, type IngestSkillStatus, PLATFORM_SKILL_CATEGORY_SELECT, type PlatformCategorySelectRow, type ProjectAssociationWire, type ResourceDraft, type ResourceRow, type ResourceRowWire, type SkillCatalog, type SkillCatalogAssociations, type SkillCatalogClient, type SkillCatalogConfig, type SkillCatalogErrorSink, type SkillCatalogPgError, type SkillCatalogPgResult, type SkillCatalogQuery, SkillCatalogReadError, type SkillCatalogState, type SkillConfig, type SkillCreateWire, type SkillDraft, type SkillPatchWire, type SkillRow, type SkillRowWire, type SkillStreamEventPayload, type SkillTier, type SkillType, type SkillsListWire, type SklCategoryRow, type SklDefinitionRow, createSkillCatalog, platformCategoryToSklRow, skillsListKey, supabaseRowToCategoryRow, supabaseRowToSkillRow, wireToCategoryRow, wireToIngestReport, wireToSkillRow };
476
+ export { PLATFORM_SKILL_CATEGORY_SELECT, SkillCatalogReadError, createSkillCatalog, platformCategoryToSklRow, skillsListKey, supabaseRowToCategoryRow, supabaseRowToSkillRow, wireToCategoryRow, wireToIngestReport, wireToSkillRow };
477
+ export type { AsyncStatus, CategoryListWire, CategoryRow, CategoryRowWire, FetchSkillsArgs, IngestReport, IngestReportWire, IngestRequestWire, IngestSkillStatus, PlatformCategorySelectRow, ProjectAssociationWire, ResourceDraft, ResourceRow, ResourceRowWire, SkillCatalog, SkillCatalogAssociations, SkillCatalogClient, SkillCatalogConfig, SkillCatalogErrorSink, SkillCatalogPgError, SkillCatalogPgResult, SkillCatalogQuery, SkillCatalogState, SkillConfig, SkillCreateWire, SkillDraft, SkillPatchWire, SkillRow, SkillRowWire, SkillStreamEventPayload, SkillTier, SkillType, SkillsListWire, SklCategoryRow, SklDefinitionRow };
@@ -473,4 +473,5 @@ interface SkillCatalog {
473
473
  }
474
474
  declare function createSkillCatalog(config: SkillCatalogConfig): SkillCatalog;
475
475
 
476
- export { type AsyncStatus, type CategoryListWire, type CategoryRow, type CategoryRowWire, type FetchSkillsArgs, type IngestReport, type IngestReportWire, type IngestRequestWire, type IngestSkillStatus, PLATFORM_SKILL_CATEGORY_SELECT, type PlatformCategorySelectRow, type ProjectAssociationWire, type ResourceDraft, type ResourceRow, type ResourceRowWire, type SkillCatalog, type SkillCatalogAssociations, type SkillCatalogClient, type SkillCatalogConfig, type SkillCatalogErrorSink, type SkillCatalogPgError, type SkillCatalogPgResult, type SkillCatalogQuery, SkillCatalogReadError, type SkillCatalogState, type SkillConfig, type SkillCreateWire, type SkillDraft, type SkillPatchWire, type SkillRow, type SkillRowWire, type SkillStreamEventPayload, type SkillTier, type SkillType, type SkillsListWire, type SklCategoryRow, type SklDefinitionRow, createSkillCatalog, platformCategoryToSklRow, skillsListKey, supabaseRowToCategoryRow, supabaseRowToSkillRow, wireToCategoryRow, wireToIngestReport, wireToSkillRow };
476
+ export { PLATFORM_SKILL_CATEGORY_SELECT, SkillCatalogReadError, createSkillCatalog, platformCategoryToSklRow, skillsListKey, supabaseRowToCategoryRow, supabaseRowToSkillRow, wireToCategoryRow, wireToIngestReport, wireToSkillRow };
477
+ export type { AsyncStatus, CategoryListWire, CategoryRow, CategoryRowWire, FetchSkillsArgs, IngestReport, IngestReportWire, IngestRequestWire, IngestSkillStatus, PlatformCategorySelectRow, ProjectAssociationWire, ResourceDraft, ResourceRow, ResourceRowWire, SkillCatalog, SkillCatalogAssociations, SkillCatalogClient, SkillCatalogConfig, SkillCatalogErrorSink, SkillCatalogPgError, SkillCatalogPgResult, SkillCatalogQuery, SkillCatalogState, SkillConfig, SkillCreateWire, SkillDraft, SkillPatchWire, SkillRow, SkillRowWire, SkillStreamEventPayload, SkillTier, SkillType, SkillsListWire, SklCategoryRow, SklDefinitionRow };
@@ -155,4 +155,5 @@ interface UseSkillsResult {
155
155
  /** The canonical "give me the skills list" over a catalog: reads once per filter key, reloads when a skill stream event lands. */
156
156
  declare function useSkills(catalog: SkillCatalog, args?: UseSkillsArgs): UseSkillsResult;
157
157
 
158
- export { type UseSkillsArgs, type UseSkillsResult, useSkillCatalogSelector, useSkills };
158
+ export { useSkillCatalogSelector, useSkills };
159
+ export type { UseSkillsArgs, UseSkillsResult };
@@ -155,4 +155,5 @@ interface UseSkillsResult {
155
155
  /** The canonical "give me the skills list" over a catalog: reads once per filter key, reloads when a skill stream event lands. */
156
156
  declare function useSkills(catalog: SkillCatalog, args?: UseSkillsArgs): UseSkillsResult;
157
157
 
158
- export { type UseSkillsArgs, type UseSkillsResult, useSkillCatalogSelector, useSkills };
158
+ export { useSkillCatalogSelector, useSkills };
159
+ export type { UseSkillsArgs, UseSkillsResult };
@@ -190,4 +190,5 @@ declare function isSourceSet(value: unknown): value is SourceSet;
190
190
  */
191
191
  declare function totalChars(value: SourceManifest | ResolvedSourceSet): number;
192
192
 
193
- export { type DroppedSource, type DroppedSourceReason, RESOLVED_SOURCE_SET_KIND, RESOURCE_REF_KIND, type ResolvedSource, type ResolvedSourceSegment, type ResolvedSourceSet, type ResourcePromotion, SOURCE_MANIFEST_KIND, SOURCE_SET_KIND, SOURCE_SET_VERSION, type SourceDelivery, type SourceGrounding, type SourceManifest, type SourceManifestEntry, type SourceManifestForm, type SourceManifestSegment, type SourceRef, type SourceRefOptions, type SourceSet, type SourceSetOptions, type SourceState, createSourceRef, createSourceSet, isSourceRef, isSourceSet, totalChars };
193
+ export { RESOLVED_SOURCE_SET_KIND, RESOURCE_REF_KIND, SOURCE_MANIFEST_KIND, SOURCE_SET_KIND, SOURCE_SET_VERSION, createSourceRef, createSourceSet, isSourceRef, isSourceSet, totalChars };
194
+ export type { DroppedSource, DroppedSourceReason, ResolvedSource, ResolvedSourceSegment, ResolvedSourceSet, ResourcePromotion, SourceDelivery, SourceGrounding, SourceManifest, SourceManifestEntry, SourceManifestForm, SourceManifestSegment, SourceRef, SourceRefOptions, SourceSet, SourceSetOptions, SourceState };
@@ -190,4 +190,5 @@ declare function isSourceSet(value: unknown): value is SourceSet;
190
190
  */
191
191
  declare function totalChars(value: SourceManifest | ResolvedSourceSet): number;
192
192
 
193
- export { type DroppedSource, type DroppedSourceReason, RESOLVED_SOURCE_SET_KIND, RESOURCE_REF_KIND, type ResolvedSource, type ResolvedSourceSegment, type ResolvedSourceSet, type ResourcePromotion, SOURCE_MANIFEST_KIND, SOURCE_SET_KIND, SOURCE_SET_VERSION, type SourceDelivery, type SourceGrounding, type SourceManifest, type SourceManifestEntry, type SourceManifestForm, type SourceManifestSegment, type SourceRef, type SourceRefOptions, type SourceSet, type SourceSetOptions, type SourceState, createSourceRef, createSourceSet, isSourceRef, isSourceSet, totalChars };
193
+ export { RESOLVED_SOURCE_SET_KIND, RESOURCE_REF_KIND, SOURCE_MANIFEST_KIND, SOURCE_SET_KIND, SOURCE_SET_VERSION, createSourceRef, createSourceSet, isSourceRef, isSourceSet, totalChars };
194
+ export type { DroppedSource, DroppedSourceReason, ResolvedSource, ResolvedSourceSegment, ResolvedSourceSet, ResourcePromotion, SourceDelivery, SourceGrounding, SourceManifest, SourceManifestEntry, SourceManifestForm, SourceManifestSegment, SourceRef, SourceRefOptions, SourceSet, SourceSetOptions, SourceState };
@@ -785,4 +785,5 @@ interface SourcePartsSearchState {
785
785
  */
786
786
  declare function useSourcePartsSearch(client: Pick<SourcesClient, "searchParts">, ref: SourceRef | null, query: string): SourcePartsSearchState;
787
787
 
788
- export { type SourcePartsSearchState, type UseSourceRecoveryOptions, type UseSourceSetOptions, type UseSourceSetResult, useSourceIntake, useSourcePartsSearch, useSourceRecovery, useSourceSet };
788
+ export { useSourceIntake, useSourcePartsSearch, useSourceRecovery, useSourceSet };
789
+ export type { SourcePartsSearchState, UseSourceRecoveryOptions, UseSourceSetOptions, UseSourceSetResult };
@@ -785,4 +785,5 @@ interface SourcePartsSearchState {
785
785
  */
786
786
  declare function useSourcePartsSearch(client: Pick<SourcesClient, "searchParts">, ref: SourceRef | null, query: string): SourcePartsSearchState;
787
787
 
788
- export { type SourcePartsSearchState, type UseSourceRecoveryOptions, type UseSourceSetOptions, type UseSourceSetResult, useSourceIntake, useSourcePartsSearch, useSourceRecovery, useSourceSet };
788
+ export { useSourceIntake, useSourcePartsSearch, useSourceRecovery, useSourceSet };
789
+ export type { SourcePartsSearchState, UseSourceRecoveryOptions, UseSourceSetOptions, UseSourceSetResult };
@@ -1066,4 +1066,5 @@ declare function lookAtFileCards(cards: readonly SourceCardModel[], ctx: {
1066
1066
  signal: AbortSignal;
1067
1067
  } & FileRecoveryDeps): Promise<boolean>;
1068
1068
 
1069
- export { ASKING_FOR_ORGANIZATION, type BudgetVerdict, DELIVERY_CHOICES, DELIVERY_WORDS, type DeliveryWords, EMPTY_SOURCE_SET_STATE, type FetchSourcesTransportOptions, type FileRecoveryDeps, type FileSourceContext, type FileSourceStatus, type FileSourceStep, HEAVY_SHARE, KEEP_WAITING_FOR_ORGANIZATION, MAX_KEPT_TEXT_KNOB, NOT_KEPT_FOR_RELOAD, PARTS_MATCHED_BY_PAGE, PARTS_NOT_MATCHED, type PartMatchIds, type PersistedSourceCard, type PersistedSourceInput, type PlanInput, RELOADED_RESUMING, RELOADED_WHILE_ADDING, type ReloadedCard, SAME_SOURCE_AGAIN, SOURCE_CHARS_PER_TOKEN, type ScrapedSourcePage, type SourceAssociationEdge, type SourceAssociationResult, type SourceAttachTarget, type SourceAttachTo, type SourceCallOptions, type SourceCardModel, type SourceCardState, type SourceCardStatus, SourceDelivery, type SourceDoorCalls, SourceDoorError, type SourceDoorPath, type SourceDraft, type SourceDraftStorage, type SourceFileRunner, type SourceIntake, type SourceIntakeDeps, type SourceIntakeDoors, type SourceIntakeInput, type SourceKindId, type SourceLandingAnswer, type SourceLandingBodyBase, type SourceLandingNotice, type SourcePart, type SourcePartsSearchResult, type SourcePickedPart, type SourcePlan, type SourcePlanEntry, type SourcePlanStatus, type SourceSetActions, type SourceSetAdapter, type SourceSetConfig, type SourceSetController, type SourceSetMeta, type SourceSetState, type SourceSetStore, type SourceTileId, type SourceTransportOptions, type SourcesClient, type SourcesTransport, type UploadedSourceFile, WAITING_FOR_ORGANIZATION, type YouTubeTranscriptResult, addPendingCard, addReadyCard, allowedDeliveries, applyManifest, applyReviewedSourceSet, cardsToResume, cardsWaitingForOrganization, carryPickedParts, chosenForm, continueAfterOrganization, createFetchSourcesTransport, createMemorySourceDraftStorage, createMemorySourceSetStore, createSourceIntake, createSourceSetController, createSourcesClient, deliveryChoicesFor, deliveryPatch, deliverySwitchedNote, draftKindForToken, estimateSourceTokens, failCard, fileCardHeldForOrganization, fileSourcePollDelayMs, findParts, fitCardDeliveries, fitDelivery, hasSourceRef, isAskableFileCard, isSourceDraft, isWaitingFileCard, isWordQuery, lookAtFileCards, matchesPart, nextFileStep, partPages, planSourceReview, readPersistedSourceInput, readySourceRefs, registeredFileEdge, reloadedCard, rememberPickedParts, removeCard, removedInReview, renderedPartChars, restartCard, restoredCards, resumableInput, resumeInterrupted, sameSourceRef, selectSettled, selectSourceSet, selectTotalChars, setCardWaitForClean, setSourceTopic, settleCard, sourceAttachTargets, sourceCardChars, sourceCardMeasuredState, sourceCardState, sourceDelivery, sourceEntryChars, sourceKey, sourceRecoveryGuards, sourceRoomLeft, toPersistedSourceInput, updateCardDraft, updateCardRef, uploadCutOffSentence, withDefaultForm, withDisplayNames };
1069
+ export { ASKING_FOR_ORGANIZATION, DELIVERY_CHOICES, DELIVERY_WORDS, EMPTY_SOURCE_SET_STATE, HEAVY_SHARE, KEEP_WAITING_FOR_ORGANIZATION, MAX_KEPT_TEXT_KNOB, NOT_KEPT_FOR_RELOAD, PARTS_MATCHED_BY_PAGE, PARTS_NOT_MATCHED, RELOADED_RESUMING, RELOADED_WHILE_ADDING, SAME_SOURCE_AGAIN, SOURCE_CHARS_PER_TOKEN, SourceDelivery, SourceDoorError, WAITING_FOR_ORGANIZATION, addPendingCard, addReadyCard, allowedDeliveries, applyManifest, applyReviewedSourceSet, cardsToResume, cardsWaitingForOrganization, carryPickedParts, chosenForm, continueAfterOrganization, createFetchSourcesTransport, createMemorySourceDraftStorage, createMemorySourceSetStore, createSourceIntake, createSourceSetController, createSourcesClient, deliveryChoicesFor, deliveryPatch, deliverySwitchedNote, draftKindForToken, estimateSourceTokens, failCard, fileCardHeldForOrganization, fileSourcePollDelayMs, findParts, fitCardDeliveries, fitDelivery, hasSourceRef, isAskableFileCard, isSourceDraft, isWaitingFileCard, isWordQuery, lookAtFileCards, matchesPart, nextFileStep, partPages, planSourceReview, readPersistedSourceInput, readySourceRefs, registeredFileEdge, reloadedCard, rememberPickedParts, removeCard, removedInReview, renderedPartChars, restartCard, restoredCards, resumableInput, resumeInterrupted, sameSourceRef, selectSettled, selectSourceSet, selectTotalChars, setCardWaitForClean, setSourceTopic, settleCard, sourceAttachTargets, sourceCardChars, sourceCardMeasuredState, sourceCardState, sourceDelivery, sourceEntryChars, sourceKey, sourceRecoveryGuards, sourceRoomLeft, toPersistedSourceInput, updateCardDraft, updateCardRef, uploadCutOffSentence, withDefaultForm, withDisplayNames };
1070
+ export type { BudgetVerdict, DeliveryWords, FetchSourcesTransportOptions, FileRecoveryDeps, FileSourceContext, FileSourceStatus, FileSourceStep, PartMatchIds, PersistedSourceCard, PersistedSourceInput, PlanInput, ReloadedCard, ScrapedSourcePage, SourceAssociationEdge, SourceAssociationResult, SourceAttachTarget, SourceAttachTo, SourceCallOptions, SourceCardModel, SourceCardState, SourceCardStatus, SourceDoorCalls, SourceDoorPath, SourceDraft, SourceDraftStorage, SourceFileRunner, SourceIntake, SourceIntakeDeps, SourceIntakeDoors, SourceIntakeInput, SourceKindId, SourceLandingAnswer, SourceLandingBodyBase, SourceLandingNotice, SourcePart, SourcePartsSearchResult, SourcePickedPart, SourcePlan, SourcePlanEntry, SourcePlanStatus, SourceSetActions, SourceSetAdapter, SourceSetConfig, SourceSetController, SourceSetMeta, SourceSetState, SourceSetStore, SourceTileId, SourceTransportOptions, SourcesClient, SourcesTransport, UploadedSourceFile, YouTubeTranscriptResult };
@@ -1066,4 +1066,5 @@ declare function lookAtFileCards(cards: readonly SourceCardModel[], ctx: {
1066
1066
  signal: AbortSignal;
1067
1067
  } & FileRecoveryDeps): Promise<boolean>;
1068
1068
 
1069
- export { ASKING_FOR_ORGANIZATION, type BudgetVerdict, DELIVERY_CHOICES, DELIVERY_WORDS, type DeliveryWords, EMPTY_SOURCE_SET_STATE, type FetchSourcesTransportOptions, type FileRecoveryDeps, type FileSourceContext, type FileSourceStatus, type FileSourceStep, HEAVY_SHARE, KEEP_WAITING_FOR_ORGANIZATION, MAX_KEPT_TEXT_KNOB, NOT_KEPT_FOR_RELOAD, PARTS_MATCHED_BY_PAGE, PARTS_NOT_MATCHED, type PartMatchIds, type PersistedSourceCard, type PersistedSourceInput, type PlanInput, RELOADED_RESUMING, RELOADED_WHILE_ADDING, type ReloadedCard, SAME_SOURCE_AGAIN, SOURCE_CHARS_PER_TOKEN, type ScrapedSourcePage, type SourceAssociationEdge, type SourceAssociationResult, type SourceAttachTarget, type SourceAttachTo, type SourceCallOptions, type SourceCardModel, type SourceCardState, type SourceCardStatus, SourceDelivery, type SourceDoorCalls, SourceDoorError, type SourceDoorPath, type SourceDraft, type SourceDraftStorage, type SourceFileRunner, type SourceIntake, type SourceIntakeDeps, type SourceIntakeDoors, type SourceIntakeInput, type SourceKindId, type SourceLandingAnswer, type SourceLandingBodyBase, type SourceLandingNotice, type SourcePart, type SourcePartsSearchResult, type SourcePickedPart, type SourcePlan, type SourcePlanEntry, type SourcePlanStatus, type SourceSetActions, type SourceSetAdapter, type SourceSetConfig, type SourceSetController, type SourceSetMeta, type SourceSetState, type SourceSetStore, type SourceTileId, type SourceTransportOptions, type SourcesClient, type SourcesTransport, type UploadedSourceFile, WAITING_FOR_ORGANIZATION, type YouTubeTranscriptResult, addPendingCard, addReadyCard, allowedDeliveries, applyManifest, applyReviewedSourceSet, cardsToResume, cardsWaitingForOrganization, carryPickedParts, chosenForm, continueAfterOrganization, createFetchSourcesTransport, createMemorySourceDraftStorage, createMemorySourceSetStore, createSourceIntake, createSourceSetController, createSourcesClient, deliveryChoicesFor, deliveryPatch, deliverySwitchedNote, draftKindForToken, estimateSourceTokens, failCard, fileCardHeldForOrganization, fileSourcePollDelayMs, findParts, fitCardDeliveries, fitDelivery, hasSourceRef, isAskableFileCard, isSourceDraft, isWaitingFileCard, isWordQuery, lookAtFileCards, matchesPart, nextFileStep, partPages, planSourceReview, readPersistedSourceInput, readySourceRefs, registeredFileEdge, reloadedCard, rememberPickedParts, removeCard, removedInReview, renderedPartChars, restartCard, restoredCards, resumableInput, resumeInterrupted, sameSourceRef, selectSettled, selectSourceSet, selectTotalChars, setCardWaitForClean, setSourceTopic, settleCard, sourceAttachTargets, sourceCardChars, sourceCardMeasuredState, sourceCardState, sourceDelivery, sourceEntryChars, sourceKey, sourceRecoveryGuards, sourceRoomLeft, toPersistedSourceInput, updateCardDraft, updateCardRef, uploadCutOffSentence, withDefaultForm, withDisplayNames };
1069
+ export { ASKING_FOR_ORGANIZATION, DELIVERY_CHOICES, DELIVERY_WORDS, EMPTY_SOURCE_SET_STATE, HEAVY_SHARE, KEEP_WAITING_FOR_ORGANIZATION, MAX_KEPT_TEXT_KNOB, NOT_KEPT_FOR_RELOAD, PARTS_MATCHED_BY_PAGE, PARTS_NOT_MATCHED, RELOADED_RESUMING, RELOADED_WHILE_ADDING, SAME_SOURCE_AGAIN, SOURCE_CHARS_PER_TOKEN, SourceDelivery, SourceDoorError, WAITING_FOR_ORGANIZATION, addPendingCard, addReadyCard, allowedDeliveries, applyManifest, applyReviewedSourceSet, cardsToResume, cardsWaitingForOrganization, carryPickedParts, chosenForm, continueAfterOrganization, createFetchSourcesTransport, createMemorySourceDraftStorage, createMemorySourceSetStore, createSourceIntake, createSourceSetController, createSourcesClient, deliveryChoicesFor, deliveryPatch, deliverySwitchedNote, draftKindForToken, estimateSourceTokens, failCard, fileCardHeldForOrganization, fileSourcePollDelayMs, findParts, fitCardDeliveries, fitDelivery, hasSourceRef, isAskableFileCard, isSourceDraft, isWaitingFileCard, isWordQuery, lookAtFileCards, matchesPart, nextFileStep, partPages, planSourceReview, readPersistedSourceInput, readySourceRefs, registeredFileEdge, reloadedCard, rememberPickedParts, removeCard, removedInReview, renderedPartChars, restartCard, restoredCards, resumableInput, resumeInterrupted, sameSourceRef, selectSettled, selectSourceSet, selectTotalChars, setCardWaitForClean, setSourceTopic, settleCard, sourceAttachTargets, sourceCardChars, sourceCardMeasuredState, sourceCardState, sourceDelivery, sourceEntryChars, sourceKey, sourceRecoveryGuards, sourceRoomLeft, toPersistedSourceInput, updateCardDraft, updateCardRef, uploadCutOffSentence, withDefaultForm, withDisplayNames };
1070
+ export type { BudgetVerdict, DeliveryWords, FetchSourcesTransportOptions, FileRecoveryDeps, FileSourceContext, FileSourceStatus, FileSourceStep, PartMatchIds, PersistedSourceCard, PersistedSourceInput, PlanInput, ReloadedCard, ScrapedSourcePage, SourceAssociationEdge, SourceAssociationResult, SourceAttachTarget, SourceAttachTo, SourceCallOptions, SourceCardModel, SourceCardState, SourceCardStatus, SourceDoorCalls, SourceDoorPath, SourceDraft, SourceDraftStorage, SourceFileRunner, SourceIntake, SourceIntakeDeps, SourceIntakeDoors, SourceIntakeInput, SourceKindId, SourceLandingAnswer, SourceLandingBodyBase, SourceLandingNotice, SourcePart, SourcePartsSearchResult, SourcePickedPart, SourcePlan, SourcePlanEntry, SourcePlanStatus, SourceSetActions, SourceSetAdapter, SourceSetConfig, SourceSetController, SourceSetMeta, SourceSetState, SourceSetStore, SourceTileId, SourceTransportOptions, SourcesClient, SourcesTransport, UploadedSourceFile, YouTubeTranscriptResult };
@@ -303,4 +303,5 @@ declare function runToolCall(runner: ToolCallRunner, options: RunToolCallOptions
303
303
  /** Pick a call up again by id (a reload, `?call=`): same loop as `runToolCall`, no new spend. */
304
304
  declare function resumeToolCall(runner: ToolCallRunner, callId: string, options?: Omit<RunToolCallOptions, "request">): Promise<ToolCallView>;
305
305
 
306
- export { CATALOG_MAX_PAGE, CATALOG_SEARCH_PATH, CATALOG_UNAVAILABLE_RETRY_MS, type CatalogCompareSource, type CatalogReliability, type CatalogSearch, type CatalogSearchConfig, type CatalogSearchRequest, type CatalogSearchResponse, type CatalogSearchState, type CatalogSearchStatus, type CatalogToolHit, type CatalogToolState, CatalogUnavailableError, type CatalogVerdict, EMPTY_CATALOG_SEARCH_STATE, EMPTY_TOOL_CATALOG_STATE, type RunToolCallOptions, TERMINAL_CALL_STATUSES, TOOL_CALLS_PATH, TOOL_CALL_POLL_MS, type ToolCachePolicy, type ToolCallApproval, type ToolCallCache, type ToolCallError, ToolCallLostError, type ToolCallRequest, type ToolCallRunner, type ToolCallStatus, type ToolCallView, type ToolCatalog, type ToolCatalogClient, type ToolCatalogConfig, type ToolCatalogPgError, type ToolCatalogQuery, type ToolCatalogResult, type ToolCatalogState, type ToolCatalogStatus, type ToolRowBase, catalogSearchQuery, createToolCatalog, createToolCatalogSearch, isBundleListerName, isCallRunning, isCallSettled, newToolCallKey, resumeToolCall, runToolCall, selectAllTools, selectCatalogHasMore, selectCatalogHits, selectCatalogKnown, selectCatalogStatus, selectToolById, selectToolIdentityMap, selectToolLookupStatus, selectToolsError, selectToolsReady, selectToolsStatus };
306
+ export { CATALOG_MAX_PAGE, CATALOG_SEARCH_PATH, CATALOG_UNAVAILABLE_RETRY_MS, CatalogUnavailableError, EMPTY_CATALOG_SEARCH_STATE, EMPTY_TOOL_CATALOG_STATE, TERMINAL_CALL_STATUSES, TOOL_CALLS_PATH, TOOL_CALL_POLL_MS, ToolCallLostError, catalogSearchQuery, createToolCatalog, createToolCatalogSearch, isBundleListerName, isCallRunning, isCallSettled, newToolCallKey, resumeToolCall, runToolCall, selectAllTools, selectCatalogHasMore, selectCatalogHits, selectCatalogKnown, selectCatalogStatus, selectToolById, selectToolIdentityMap, selectToolLookupStatus, selectToolsError, selectToolsReady, selectToolsStatus };
307
+ export type { CatalogCompareSource, CatalogReliability, CatalogSearch, CatalogSearchConfig, CatalogSearchRequest, CatalogSearchResponse, CatalogSearchState, CatalogSearchStatus, CatalogToolHit, CatalogToolState, CatalogVerdict, RunToolCallOptions, ToolCachePolicy, ToolCallApproval, ToolCallCache, ToolCallError, ToolCallRequest, ToolCallRunner, ToolCallStatus, ToolCallView, ToolCatalog, ToolCatalogClient, ToolCatalogConfig, ToolCatalogPgError, ToolCatalogQuery, ToolCatalogResult, ToolCatalogState, ToolCatalogStatus, ToolRowBase };
@@ -303,4 +303,5 @@ declare function runToolCall(runner: ToolCallRunner, options: RunToolCallOptions
303
303
  /** Pick a call up again by id (a reload, `?call=`): same loop as `runToolCall`, no new spend. */
304
304
  declare function resumeToolCall(runner: ToolCallRunner, callId: string, options?: Omit<RunToolCallOptions, "request">): Promise<ToolCallView>;
305
305
 
306
- export { CATALOG_MAX_PAGE, CATALOG_SEARCH_PATH, CATALOG_UNAVAILABLE_RETRY_MS, type CatalogCompareSource, type CatalogReliability, type CatalogSearch, type CatalogSearchConfig, type CatalogSearchRequest, type CatalogSearchResponse, type CatalogSearchState, type CatalogSearchStatus, type CatalogToolHit, type CatalogToolState, CatalogUnavailableError, type CatalogVerdict, EMPTY_CATALOG_SEARCH_STATE, EMPTY_TOOL_CATALOG_STATE, type RunToolCallOptions, TERMINAL_CALL_STATUSES, TOOL_CALLS_PATH, TOOL_CALL_POLL_MS, type ToolCachePolicy, type ToolCallApproval, type ToolCallCache, type ToolCallError, ToolCallLostError, type ToolCallRequest, type ToolCallRunner, type ToolCallStatus, type ToolCallView, type ToolCatalog, type ToolCatalogClient, type ToolCatalogConfig, type ToolCatalogPgError, type ToolCatalogQuery, type ToolCatalogResult, type ToolCatalogState, type ToolCatalogStatus, type ToolRowBase, catalogSearchQuery, createToolCatalog, createToolCatalogSearch, isBundleListerName, isCallRunning, isCallSettled, newToolCallKey, resumeToolCall, runToolCall, selectAllTools, selectCatalogHasMore, selectCatalogHits, selectCatalogKnown, selectCatalogStatus, selectToolById, selectToolIdentityMap, selectToolLookupStatus, selectToolsError, selectToolsReady, selectToolsStatus };
306
+ export { CATALOG_MAX_PAGE, CATALOG_SEARCH_PATH, CATALOG_UNAVAILABLE_RETRY_MS, CatalogUnavailableError, EMPTY_CATALOG_SEARCH_STATE, EMPTY_TOOL_CATALOG_STATE, TERMINAL_CALL_STATUSES, TOOL_CALLS_PATH, TOOL_CALL_POLL_MS, ToolCallLostError, catalogSearchQuery, createToolCatalog, createToolCatalogSearch, isBundleListerName, isCallRunning, isCallSettled, newToolCallKey, resumeToolCall, runToolCall, selectAllTools, selectCatalogHasMore, selectCatalogHits, selectCatalogKnown, selectCatalogStatus, selectToolById, selectToolIdentityMap, selectToolLookupStatus, selectToolsError, selectToolsReady, selectToolsStatus };
307
+ export type { CatalogCompareSource, CatalogReliability, CatalogSearch, CatalogSearchConfig, CatalogSearchRequest, CatalogSearchResponse, CatalogSearchState, CatalogSearchStatus, CatalogToolHit, CatalogToolState, CatalogVerdict, RunToolCallOptions, ToolCachePolicy, ToolCallApproval, ToolCallCache, ToolCallError, ToolCallRequest, ToolCallRunner, ToolCallStatus, ToolCallView, ToolCatalog, ToolCatalogClient, ToolCatalogConfig, ToolCatalogPgError, ToolCatalogQuery, ToolCatalogResult, ToolCatalogState, ToolCatalogStatus, ToolRowBase };
@@ -61,4 +61,5 @@ interface PortableAgentSummary {
61
61
  versions: PortableAgentVersion[];
62
62
  }
63
63
 
64
- export { type JsonValue as J, type PortableAgentBundle as P, type PortableAgentSummary as a, PORTABLE_AGENT_CONTRACT as b, type PortableAgentRequest as c, type PortableSkill as d, type PortableTool as e, type PortableUnavailable as f };
64
+ export { PORTABLE_AGENT_CONTRACT as b };
65
+ export type { JsonValue as J, PortableAgentBundle as P, PortableAgentSummary as a, PortableAgentRequest as c, PortableSkill as d, PortableTool as e, PortableUnavailable as f };
@@ -61,4 +61,5 @@ interface PortableAgentSummary {
61
61
  versions: PortableAgentVersion[];
62
62
  }
63
63
 
64
- export { type JsonValue as J, type PortableAgentBundle as P, type PortableAgentSummary as a, PORTABLE_AGENT_CONTRACT as b, type PortableAgentRequest as c, type PortableSkill as d, type PortableTool as e, type PortableUnavailable as f };
64
+ export { PORTABLE_AGENT_CONTRACT as b };
65
+ export type { JsonValue as J, PortableAgentBundle as P, PortableAgentSummary as a, PortableAgentRequest as c, PortableSkill as d, PortableTool as e, PortableUnavailable as f };
@@ -185,4 +185,5 @@ declare function declareContractBreak(client: VersionsClient, query: {
185
185
  kind: ContractBreakKind | null;
186
186
  }): Promise<void>;
187
187
 
188
- export { AGENT_DIFF_OPTIONS, AGENT_EXCLUDE_PATHS, AGENT_IDENTITY_KEYS, type AgentDefinitionComparison, type AgentVersionHistoryEntry, type AgentVersionLookup, AgentVersionsError, type ComparableAgent, type ContractBreakKind, type EnrichedVersion, PROMOTE_HISTORY_OUTCOME, type PromoteOutcome, type PromoteVersionResult, type VersionHistoryLoad, type VersionsClient, type VersionsDbError, compareAgentDefinitions, computeVersionFetchTargets, declareContractBreak, enrichVersions, listAgentVersions, promoteAgentVersion, promoteConfirmMessage, promoteFailureMessage, promoteSuccessMessage, readAgentCurrentVersion, readAgentVersionSnapshot, resolveAgentVersionId, snapshotToComparable };
188
+ export { AGENT_DIFF_OPTIONS, AGENT_EXCLUDE_PATHS, AGENT_IDENTITY_KEYS, AgentVersionsError, PROMOTE_HISTORY_OUTCOME, compareAgentDefinitions, computeVersionFetchTargets, declareContractBreak, enrichVersions, listAgentVersions, promoteAgentVersion, promoteConfirmMessage, promoteFailureMessage, promoteSuccessMessage, readAgentCurrentVersion, readAgentVersionSnapshot, resolveAgentVersionId, snapshotToComparable };
189
+ export type { AgentDefinitionComparison, AgentVersionHistoryEntry, AgentVersionLookup, ComparableAgent, ContractBreakKind, EnrichedVersion, PromoteOutcome, PromoteVersionResult, VersionHistoryLoad, VersionsClient, VersionsDbError };
@@ -185,4 +185,5 @@ declare function declareContractBreak(client: VersionsClient, query: {
185
185
  kind: ContractBreakKind | null;
186
186
  }): Promise<void>;
187
187
 
188
- export { AGENT_DIFF_OPTIONS, AGENT_EXCLUDE_PATHS, AGENT_IDENTITY_KEYS, type AgentDefinitionComparison, type AgentVersionHistoryEntry, type AgentVersionLookup, AgentVersionsError, type ComparableAgent, type ContractBreakKind, type EnrichedVersion, PROMOTE_HISTORY_OUTCOME, type PromoteOutcome, type PromoteVersionResult, type VersionHistoryLoad, type VersionsClient, type VersionsDbError, compareAgentDefinitions, computeVersionFetchTargets, declareContractBreak, enrichVersions, listAgentVersions, promoteAgentVersion, promoteConfirmMessage, promoteFailureMessage, promoteSuccessMessage, readAgentCurrentVersion, readAgentVersionSnapshot, resolveAgentVersionId, snapshotToComparable };
188
+ export { AGENT_DIFF_OPTIONS, AGENT_EXCLUDE_PATHS, AGENT_IDENTITY_KEYS, AgentVersionsError, PROMOTE_HISTORY_OUTCOME, compareAgentDefinitions, computeVersionFetchTargets, declareContractBreak, enrichVersions, listAgentVersions, promoteAgentVersion, promoteConfirmMessage, promoteFailureMessage, promoteSuccessMessage, readAgentCurrentVersion, readAgentVersionSnapshot, resolveAgentVersionId, snapshotToComparable };
189
+ export type { AgentDefinitionComparison, AgentVersionHistoryEntry, AgentVersionLookup, ComparableAgent, ContractBreakKind, EnrichedVersion, PromoteOutcome, PromoteVersionResult, VersionHistoryLoad, VersionsClient, VersionsDbError };
@@ -134,4 +134,5 @@ interface ModelTierIdentity {
134
134
  /** The named model identities inside an agent's nested `modelTiers` object (default first). */
135
135
  declare function readModelTierIdentities(value: unknown): ModelTierIdentity[];
136
136
 
137
- export { type AgentDiffRefPorts, AgentDiffRefsProvider, AgentDiffViewer, type AgentDiffViewerProps, type AgentModelRefProps, type AgentToolRefProps, VersionHistoryTimeline, type VersionHistoryTimelineProps, type VersionTimelineNotify, buildAgentAdapterRegistry, readModelTierIdentities, useAgentDiffRefs };
137
+ export { AgentDiffRefsProvider, AgentDiffViewer, VersionHistoryTimeline, buildAgentAdapterRegistry, readModelTierIdentities, useAgentDiffRefs };
138
+ export type { AgentDiffRefPorts, AgentDiffViewerProps, AgentModelRefProps, AgentToolRefProps, VersionHistoryTimelineProps, VersionTimelineNotify };
@@ -134,4 +134,5 @@ interface ModelTierIdentity {
134
134
  /** The named model identities inside an agent's nested `modelTiers` object (default first). */
135
135
  declare function readModelTierIdentities(value: unknown): ModelTierIdentity[];
136
136
 
137
- export { type AgentDiffRefPorts, AgentDiffRefsProvider, AgentDiffViewer, type AgentDiffViewerProps, type AgentModelRefProps, type AgentToolRefProps, VersionHistoryTimeline, type VersionHistoryTimelineProps, type VersionTimelineNotify, buildAgentAdapterRegistry, readModelTierIdentities, useAgentDiffRefs };
137
+ export { AgentDiffRefsProvider, AgentDiffViewer, VersionHistoryTimeline, buildAgentAdapterRegistry, readModelTierIdentities, useAgentDiffRefs };
138
+ export type { AgentDiffRefPorts, AgentDiffViewerProps, AgentModelRefProps, AgentToolRefProps, VersionHistoryTimelineProps, VersionTimelineNotify };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-matrx/agents",
3
- "version": "0.59.267",
3
+ "version": "0.59.269",
4
4
  "description": "Portable AI Matrx agent stream protocol, event projection, and safe result-presentation primitives.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -536,5 +536,5 @@
536
536
  ],
537
537
  "layer": 5
538
538
  },
539
- "gitHead": "06a190b44e4a1374047a5922da7e8b77a48555f8"
539
+ "gitHead": "4c08cba6c4ebffa2299d1307c43d2229e29a8afb"
540
540
  }
@@ -8,7 +8,10 @@
8
8
  * Fails when a file outside apps/shared/matrx-agents/models/:
9
9
  * R1 reads ai.model_definition / model_public / model_offering / model_config / model_variant /
10
10
  * model_presentation (`.from("…")`) or the catalog RPCs (`admin_model_catalog`, `resolve_model_config`);
11
- * R2 computes a model label by hand (`x.common_name || x.name`, `?? …name`) instead of `modelDisplayLabel`.
11
+ * R2 computes a model label by hand (`x.common_name || x.name`, `?? …name`) instead of `modelDisplayLabel`;
12
+ * R3 reads ai.device_model_file (`.from("device_model_file").select(`) to decide which computer holds a
13
+ * model, instead of readModelCatalog({ devices }) / resolveDeviceModel. Writes (the computer publishing
14
+ * its own files) are not reads and pass.
12
15
  * ALLOWED lists the few readers that keep their own read on purpose, each with why and how it follows the
13
16
  * event. Test files are fixtures and are not scanned.
14
17
  *
@@ -55,6 +58,7 @@ const SKIP_DIR = new Set(["node_modules", "dist", ".next", ".next-preview", ".tu
55
58
  const isTest = (p) => /\.(test|spec)\.[cm]?[jt]sx?$/.test(p) || /\.d\.ts$/.test(p) || /\.generated\./.test(p);
56
59
 
57
60
  const R1 = /\.from\(\s*["'`](model_definition|model_public|model_offering|model_config|model_variant|model_presentation)["'`]|\.rpc\(\s*["'`](admin_model_catalog|resolve_model_config)["'`]/g;
61
+ const R3 = /\.from\(\s*["'`]device_model_file["'`]\s*\)\s*\.select\(/g;
58
62
  const R2 = /\bcommon_name\s*(\|\||\?\?)\s*[\w$?.]*\bname\b/g;
59
63
 
60
64
  function* walk(dir) {
@@ -85,6 +89,7 @@ function scan(roots) {
85
89
  for (const [rule, re, what] of [
86
90
  ["R1", R1, "reads the model catalog directly — use @ai-matrx/agents/models (records / chat's useModelLabel / readModelIdentities)"],
87
91
  ["R2", R2, "computes a model label by hand — use modelDisplayLabel(row) from @ai-matrx/agents/models"],
92
+ ["R3", R3, "reads device model placement directly — use readModelCatalog(client, { devices }) / resolveDeviceModel from @ai-matrx/agents/models"],
88
93
  ]) {
89
94
  re.lastIndex = 0;
90
95
  for (let m; (m = re.exec(src)); ) findings.push(`${rel}:${lineOf(src, m.index)} ${rule} ${what} [${m[0].replace(/\s+/g, " ")}]`);
@@ -98,15 +103,15 @@ if (args.includes("--self-test")) {
98
103
  // Falsifiability: a planted direct read and a hand-made label must each fail; the lawful form must pass.
99
104
  const dir = mkdtempSync(join(tmpdir(), "model-catalog-reads-"));
100
105
  try {
101
- writeFileSync(join(dir, "bad.ts"), 'export const r = (db: any) => db.schema("ai").from("model_definition").select("id");\nexport const l = (m: any) =>\n m?.common_name ??\n m?.name;\n');
102
- writeFileSync(join(dir, "good.ts"), 'import { modelDisplayLabel } from "@ai-matrx/agents/models";\nexport const l = (m: any) => modelDisplayLabel(m) ?? m.common_name ?? null;\n');
106
+ writeFileSync(join(dir, "bad.ts"), 'export const r = (db: any) => db.schema("ai").from("model_definition").select("id");\nexport const l = (m: any) =>\n m?.common_name ??\n m?.name;\nexport const d = (db: any) => db.schema("ai").from("device_model_file").select("*");\n');
107
+ writeFileSync(join(dir, "good.ts"), 'import { modelDisplayLabel } from "@ai-matrx/agents/models";\nexport const l = (m: any) => modelDisplayLabel(m) ?? m.common_name ?? null;\nexport const w = (db: any, rows: any[]) => db.schema("ai").from("device_model_file").upsert(rows);\n');
103
108
  const got = scan([dir]);
104
- const ok = got.length === 2 && got.some((f) => f.includes("bad.ts:1 R1")) && got.some((f) => f.includes("bad.ts:3 R2"));
109
+ const ok = got.length === 3 && got.some((f) => f.includes("bad.ts:1 R1")) && got.some((f) => f.includes("bad.ts:3 R2")) && got.some((f) => f.includes("bad.ts:5 R3"));
105
110
  if (!ok) {
106
- console.error(`check-model-catalog-reads --self-test: FAILED — expected R1+R2 on bad.ts only, got:\n ${got.join("\n ") || "(nothing)"}`);
111
+ console.error(`check-model-catalog-reads --self-test: FAILED — expected R1+R2+R3 on bad.ts only, got:\n ${got.join("\n ") || "(nothing)"}`);
107
112
  process.exit(1);
108
113
  }
109
- console.log("check-model-catalog-reads --self-test: OK — a planted read and a hand-made label both go red; modelDisplayLabel passes.");
114
+ console.log("check-model-catalog-reads --self-test: OK — a planted catalog read, a hand-made label and a device placement read all go red; modelDisplayLabel and a device file write pass.");
110
115
  process.exit(0);
111
116
  } finally {
112
117
  rmSync(dir, { recursive: true, force: true });