@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.
- package/CHANGELOG.md +10 -0
- package/dist/catalog/index.d.cts +2 -1
- package/dist/catalog/index.d.ts +2 -1
- package/dist/catalog/native/index.d.cts +2 -1
- package/dist/catalog/native/index.d.ts +2 -1
- package/dist/catalog/react/index.d.cts +2 -1
- package/dist/catalog/react/index.d.ts +2 -1
- package/dist/content-transfer/index.d.cts +2 -1
- package/dist/content-transfer/index.d.ts +2 -1
- package/dist/content-transfer/react/index.d.cts +2 -1
- package/dist/content-transfer/react/index.d.ts +2 -1
- package/dist/context/index.d.cts +2 -1
- package/dist/context/index.d.ts +2 -1
- package/dist/context/react/index.cjs +12 -1
- package/dist/context/react/index.d.cts +2 -1
- package/dist/context/react/index.d.ts +2 -1
- package/dist/context/react/index.js +12 -1
- package/dist/envelope/index.d.cts +2 -1
- package/dist/envelope/index.d.ts +2 -1
- package/dist/field-flags/index.d.cts +2 -1
- package/dist/field-flags/index.d.ts +2 -1
- package/dist/generated/llm-enums.d.cts +2 -1
- package/dist/generated/llm-enums.d.ts +2 -1
- package/dist/generated/provision-offers.d.cts +2 -1
- package/dist/generated/provision-offers.d.ts +2 -1
- package/dist/generated/source-attribution.d.cts +2 -1
- package/dist/generated/source-attribution.d.ts +2 -1
- package/dist/generated/stream-events.d.cts +2 -1
- package/dist/generated/stream-events.d.ts +2 -1
- package/dist/generated/workflow-events.d.cts +2 -1
- package/dist/generated/workflow-events.d.ts +2 -1
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/intelligence/index.d.cts +2 -1
- package/dist/intelligence/index.d.ts +2 -1
- package/dist/intelligence/react/index.d.cts +2 -1
- package/dist/intelligence/react/index.d.ts +2 -1
- package/dist/mandates/index.d.cts +2 -1
- package/dist/mandates/index.d.ts +2 -1
- package/dist/mandates/runs.d.cts +2 -1
- package/dist/mandates/runs.d.ts +2 -1
- package/dist/message-parts/index.d.cts +2 -1
- package/dist/message-parts/index.d.ts +2 -1
- package/dist/models/index.cjs +364 -238
- package/dist/models/index.d.cts +141 -14
- package/dist/models/index.d.ts +141 -14
- package/dist/models/index.js +364 -238
- package/dist/models/react/index.d.cts +11 -2
- package/dist/models/react/index.d.ts +11 -2
- package/dist/portable/index.d.cts +4 -3
- package/dist/portable/index.d.ts +4 -3
- package/dist/portable/mcp.d.cts +3 -2
- package/dist/portable/mcp.d.ts +3 -2
- package/dist/presentation/decision-answers.d.cts +2 -1
- package/dist/presentation/decision-answers.d.ts +2 -1
- package/dist/projection/request.d.cts +2 -1
- package/dist/projection/request.d.ts +2 -1
- package/dist/projection/workflow.d.cts +2 -1
- package/dist/projection/workflow.d.ts +2 -1
- package/dist/quick/index.d.cts +2 -1
- package/dist/quick/index.d.ts +2 -1
- package/dist/react/index.d.cts +2 -1
- package/dist/react/index.d.ts +2 -1
- package/dist/runtime/index.d.cts +2 -1
- package/dist/runtime/index.d.ts +2 -1
- package/dist/settings/index.d.cts +2 -1
- package/dist/settings/index.d.ts +2 -1
- package/dist/settings/react/index.d.cts +2 -1
- package/dist/settings/react/index.d.ts +2 -1
- package/dist/skills/index.d.cts +2 -1
- package/dist/skills/index.d.ts +2 -1
- package/dist/skills/react/index.d.cts +2 -1
- package/dist/skills/react/index.d.ts +2 -1
- package/dist/sources/index.d.cts +2 -1
- package/dist/sources/index.d.ts +2 -1
- package/dist/sources/react/index.d.cts +2 -1
- package/dist/sources/react/index.d.ts +2 -1
- package/dist/sources/runtime/index.d.cts +2 -1
- package/dist/sources/runtime/index.d.ts +2 -1
- package/dist/tools/index.d.cts +2 -1
- package/dist/tools/index.d.ts +2 -1
- package/dist/{types.generated-BDphyhqo.d.cts → types.generated-BP2_h0te.d.cts} +2 -1
- package/dist/{types.generated-BDphyhqo.d.ts → types.generated-BP2_h0te.d.ts} +2 -1
- package/dist/versions/index.d.cts +2 -1
- package/dist/versions/index.d.ts +2 -1
- package/dist/versions/react/index.d.cts +2 -1
- package/dist/versions/react/index.d.ts +2 -1
- package/package.json +2 -2
- 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 {
|
|
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 {
|
|
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-
|
|
3
|
-
export { b as PORTABLE_AGENT_CONTRACT, c as PortableAgentRequest, d as PortableSkill, e as PortableTool, f as PortableUnavailable } from '../types.generated-
|
|
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 {
|
|
83
|
+
export { JsonValue, PortableAgentBundle, PortableAgentSummary, fetchPortableAgent, fetchPortableAgentSummary, fetchPortableAgentVersions, portableAgentPath, summarizePortableAgent };
|
|
84
|
+
export type { FetchPortableAgentOptions, PortableAgentLoadSummary, PortableAgentTarget, PortableAgentVersion };
|
package/dist/portable/index.d.ts
CHANGED
|
@@ -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-
|
|
3
|
-
export { b as PORTABLE_AGENT_CONTRACT, c as PortableAgentRequest, d as PortableSkill, e as PortableTool, f as PortableUnavailable } from '../types.generated-
|
|
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 {
|
|
83
|
+
export { JsonValue, PortableAgentBundle, PortableAgentSummary, fetchPortableAgent, fetchPortableAgentSummary, fetchPortableAgentVersions, portableAgentPath, summarizePortableAgent };
|
|
84
|
+
export type { FetchPortableAgentOptions, PortableAgentLoadSummary, PortableAgentTarget, PortableAgentVersion };
|
package/dist/portable/mcp.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CredentialsPort } from '@ai-matrx/data';
|
|
2
2
|
import { MatrxTransport } from '@ai-matrx/api';
|
|
3
|
-
import {
|
|
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,
|
|
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 };
|
package/dist/portable/mcp.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CredentialsPort } from '@ai-matrx/data';
|
|
2
2
|
import { MatrxTransport } from '@ai-matrx/api';
|
|
3
|
-
import {
|
|
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,
|
|
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,
|
|
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,
|
|
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 {
|
|
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 {
|
|
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,
|
|
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,
|
|
79
|
+
export { DEFAULT_WORKFLOW_PROJECTION_LIMITS, createWorkflowNodeProjection, projectWorkflowNodeEvent };
|
|
80
|
+
export type { WorkflowNodeProjection, WorkflowNodeStreamEvent, WorkflowProjectionLimits, WorkflowRenderBlockIssue, WorkflowRenderBlockIssueCode, WorkflowRenderFrameSet };
|
package/dist/quick/index.d.cts
CHANGED
|
@@ -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,
|
|
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 };
|
package/dist/quick/index.d.ts
CHANGED
|
@@ -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,
|
|
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 };
|
package/dist/react/index.d.cts
CHANGED
|
@@ -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 {
|
|
125
|
+
export { WarmupProvider, useFollowRuntimeOperation, useServerJob, useWarmOnMount, useWarmup };
|
|
126
|
+
export type { UseFollowRuntimeOperation, UseFollowRuntimeOperationOptions, UseServerJob, UseServerJobOptions };
|
package/dist/react/index.d.ts
CHANGED
|
@@ -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 {
|
|
125
|
+
export { WarmupProvider, useFollowRuntimeOperation, useServerJob, useWarmOnMount, useWarmup };
|
|
126
|
+
export type { UseFollowRuntimeOperation, UseFollowRuntimeOperationOptions, UseServerJob, UseServerJobOptions };
|
package/dist/runtime/index.d.cts
CHANGED
|
@@ -221,4 +221,5 @@ interface RunControlCountsInput {
|
|
|
221
221
|
}
|
|
222
222
|
declare function computeRunControlCounts(input: RunControlCountsInput): RunControlCounts;
|
|
223
223
|
|
|
224
|
-
export {
|
|
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 };
|
package/dist/runtime/index.d.ts
CHANGED
|
@@ -221,4 +221,5 @@ interface RunControlCountsInput {
|
|
|
221
221
|
}
|
|
222
222
|
declare function computeRunControlCounts(input: RunControlCountsInput): RunControlCounts;
|
|
223
223
|
|
|
224
|
-
export {
|
|
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,
|
|
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 };
|
package/dist/settings/index.d.ts
CHANGED
|
@@ -746,4 +746,5 @@ interface CapabilitiesWriteTarget {
|
|
|
746
746
|
error?: string | null;
|
|
747
747
|
}
|
|
748
748
|
|
|
749
|
-
export { AUTO_MEANS_UNSET_KEYS, AUTO_VALUE,
|
|
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,
|
|
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,
|
|
363
|
+
export { ModelSettingsPanel, useEffectiveSettings, useSettingsEntry, useSettingsSelector };
|
|
364
|
+
export type { ModelSettingsPanelProps };
|
package/dist/skills/index.d.cts
CHANGED
|
@@ -473,4 +473,5 @@ interface SkillCatalog {
|
|
|
473
473
|
}
|
|
474
474
|
declare function createSkillCatalog(config: SkillCatalogConfig): SkillCatalog;
|
|
475
475
|
|
|
476
|
-
export {
|
|
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 };
|
package/dist/skills/index.d.ts
CHANGED
|
@@ -473,4 +473,5 @@ interface SkillCatalog {
|
|
|
473
473
|
}
|
|
474
474
|
declare function createSkillCatalog(config: SkillCatalogConfig): SkillCatalog;
|
|
475
475
|
|
|
476
|
-
export {
|
|
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 {
|
|
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 {
|
|
158
|
+
export { useSkillCatalogSelector, useSkills };
|
|
159
|
+
export type { UseSkillsArgs, UseSkillsResult };
|
package/dist/sources/index.d.cts
CHANGED
|
@@ -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 {
|
|
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 };
|
package/dist/sources/index.d.ts
CHANGED
|
@@ -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 {
|
|
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 {
|
|
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 {
|
|
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,
|
|
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,
|
|
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 };
|
package/dist/tools/index.d.cts
CHANGED
|
@@ -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,
|
|
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 };
|
package/dist/tools/index.d.ts
CHANGED
|
@@ -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,
|
|
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 {
|
|
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 {
|
|
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,
|
|
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 };
|
package/dist/versions/index.d.ts
CHANGED
|
@@ -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,
|
|
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 {
|
|
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 {
|
|
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.
|
|
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": "
|
|
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 ===
|
|
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
|
|
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 });
|