@ai-matrx/api 0.1.21 → 0.1.22
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 +6 -0
- package/dist/account.d.cts +2 -2
- package/dist/account.d.ts +2 -2
- package/dist/agents.cjs +11 -11
- package/dist/agents.d.cts +126 -4
- package/dist/agents.d.ts +126 -4
- package/dist/agents.js +1 -1
- package/dist/ai.cjs +2 -2
- package/dist/ai.d.cts +2 -2
- package/dist/ai.d.ts +2 -2
- package/dist/ai.js +1 -1
- package/dist/apps.cjs +5 -5
- package/dist/apps.d.cts +2 -2
- package/dist/apps.d.ts +2 -2
- package/dist/apps.js +1 -1
- package/dist/architecture.cjs +10 -10
- package/dist/architecture.d.cts +2 -2
- package/dist/architecture.d.ts +2 -2
- package/dist/architecture.js +1 -1
- package/dist/audio.cjs +4 -4
- package/dist/audio.d.cts +2 -2
- package/dist/audio.d.ts +2 -2
- package/dist/audio.js +1 -1
- package/dist/chat.cjs +11 -59
- package/dist/chat.d.cts +4 -116
- package/dist/chat.d.ts +4 -116
- package/dist/chat.js +2 -42
- package/dist/{chunk-ER7WV43R.js → chunk-3M4Y376I.js} +1 -1
- package/dist/{chunk-SME66TWP.cjs → chunk-FSXBRXRX.cjs} +1 -1
- package/dist/code.cjs +6 -6
- package/dist/code.d.cts +2 -2
- package/dist/code.d.ts +2 -2
- package/dist/code.js +1 -1
- package/dist/commerce.d.cts +2 -2
- package/dist/commerce.d.ts +2 -2
- package/dist/communications.cjs +4 -4
- package/dist/communications.d.cts +2 -2
- package/dist/communications.d.ts +2 -2
- package/dist/communications.js +1 -1
- package/dist/computer.cjs +4 -4
- package/dist/computer.d.cts +2 -2
- package/dist/computer.d.ts +2 -2
- package/dist/computer.js +1 -1
- package/dist/content.cjs +4 -4
- package/dist/content.d.cts +2 -2
- package/dist/content.d.ts +2 -2
- package/dist/content.js +1 -1
- package/dist/crm.cjs +2 -2
- package/dist/crm.d.cts +2 -2
- package/dist/crm.d.ts +2 -2
- package/dist/crm.js +1 -1
- package/dist/data.cjs +3 -3
- package/dist/data.d.cts +2 -2
- package/dist/data.d.ts +2 -2
- package/dist/data.js +1 -1
- package/dist/education.cjs +4 -4
- package/dist/education.d.cts +2 -2
- package/dist/education.d.ts +2 -2
- package/dist/education.js +1 -1
- package/dist/files.cjs +20 -20
- package/dist/files.d.cts +2 -2
- package/dist/files.d.ts +2 -2
- package/dist/files.js +1 -1
- package/dist/human-resources.d.cts +2 -2
- package/dist/human-resources.d.ts +2 -2
- package/dist/{index-BXLIDtlM.d.cts → index-oZNMwcTG.d.cts} +2 -2
- package/dist/{index-BXLIDtlM.d.ts → index-oZNMwcTG.d.ts} +2 -2
- package/dist/index.cjs +58 -58
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/integrations.cjs +3 -3
- package/dist/integrations.d.cts +2 -2
- package/dist/integrations.d.ts +2 -2
- package/dist/integrations.js +1 -1
- package/dist/intelligence.cjs +6 -6
- package/dist/intelligence.d.cts +2 -2
- package/dist/intelligence.d.ts +2 -2
- package/dist/intelligence.js +1 -1
- package/dist/knowledge.cjs +42 -42
- package/dist/knowledge.d.cts +2 -2
- package/dist/knowledge.d.ts +2 -2
- package/dist/knowledge.js +1 -1
- package/dist/legal.cjs +6 -6
- package/dist/legal.d.cts +2 -2
- package/dist/legal.d.ts +2 -2
- package/dist/legal.js +1 -1
- package/dist/marketing.cjs +76 -76
- package/dist/marketing.d.cts +2 -2
- package/dist/marketing.d.ts +2 -2
- package/dist/marketing.js +1 -1
- package/dist/masterwork.cjs +32 -32
- package/dist/masterwork.d.cts +2 -2
- package/dist/masterwork.d.ts +2 -2
- package/dist/masterwork.js +1 -1
- package/dist/media.cjs +11 -11
- package/dist/media.d.cts +2 -2
- package/dist/media.d.ts +2 -2
- package/dist/media.js +1 -1
- package/dist/platform.cjs +3 -3
- package/dist/platform.d.cts +2 -2
- package/dist/platform.d.ts +2 -2
- package/dist/platform.js +1 -1
- package/dist/publish.cjs +7 -7
- package/dist/publish.d.cts +2 -2
- package/dist/publish.d.ts +2 -2
- package/dist/publish.js +1 -1
- package/dist/schemas.d.cts +3 -125
- package/dist/schemas.d.ts +3 -125
- package/dist/stream.cjs +10 -10
- package/dist/stream.d.cts +1 -1
- package/dist/stream.d.ts +1 -1
- package/dist/stream.js +1 -1
- package/dist/types.d.cts +5 -209
- package/dist/types.d.ts +5 -209
- package/dist/web.cjs +26 -26
- package/dist/web.d.cts +2 -2
- package/dist/web.d.ts +2 -2
- package/dist/web.js +1 -1
- package/dist/workflows.cjs +13 -13
- package/dist/workflows.d.cts +2 -2
- package/dist/workflows.d.ts +2 -2
- package/dist/workflows.js +1 -1
- package/package.json +2 -2
package/dist/schemas.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* GENERATED by @ai-matrx/api scripts/generate.mjs from aidream/api-contract — never edit by hand.
|
|
3
|
-
* CONTRACT_SHA256
|
|
3
|
+
* CONTRACT_SHA256 605c060bacf38697b876c603bf0260b9b2941fe22b1da1722810724c3d0c39be
|
|
4
4
|
*/
|
|
5
|
-
/** Every schema reached from more than one domain (
|
|
5
|
+
/** Every schema reached from more than one domain (119). Types only — importing this costs nothing at runtime. */
|
|
6
6
|
/** ActionNeeded */
|
|
7
7
|
type ActionNeeded = {
|
|
8
8
|
/** Stable source-owned dedupe key; never a random notification id */
|
|
@@ -69,83 +69,6 @@ type AgentInputPart = {
|
|
|
69
69
|
type: "input_agent";
|
|
70
70
|
agent_ids: string[];
|
|
71
71
|
};
|
|
72
|
-
/** AgentStartRequest */
|
|
73
|
-
type AgentStartRequest = {
|
|
74
|
-
/** Organization explicitly selected for this new AI conversation. Required except for fingerprint guests, whose organization is resolved by the AI funnel. */
|
|
75
|
-
organization_id?: string | null;
|
|
76
|
-
/** Optional associated project selected by the caller. */
|
|
77
|
-
project_id?: string | null;
|
|
78
|
-
/** Optional associated task selected by the caller. */
|
|
79
|
-
task_id?: string | null;
|
|
80
|
-
/** Stable application slug that initiated the request. */
|
|
81
|
-
source_app?: string | null;
|
|
82
|
-
/** Stable feature slug within the source application. */
|
|
83
|
-
source_feature?: string | null;
|
|
84
|
-
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
85
|
-
initiation?: ("user" | "auto") | null;
|
|
86
|
-
/** Active context-scope ids selected by the caller and membership-validated server-side. */
|
|
87
|
-
scope_ids?: string[] | null;
|
|
88
|
-
/** Active scope-type ids selected by the caller (type-level selection with no specific scope chosen). */
|
|
89
|
-
active_scope_type_ids?: string[] | null;
|
|
90
|
-
/** Durable resource identity from which authoritative organization and task context is reloaded. */
|
|
91
|
-
context_anchor?: ContextAnchor | null;
|
|
92
|
-
store: boolean;
|
|
93
|
-
/** Specific connected desktop instance allowed to claim delegated local tools. */
|
|
94
|
-
target_instance_id?: string | null;
|
|
95
|
-
conversation_id: string;
|
|
96
|
-
is_new: boolean;
|
|
97
|
-
user_input?: string | ((TextPart | ThinkingPart | ToolCallPart | ToolResultPart | (UserImageMediaPart | UserAudioMediaPart | UserVideoMediaPart | UserDocumentMediaPart | UserYouTubeMediaPart) | CodeExecPart | CodeResultPart | WebSearchPart | WebpageInputPart | NotesInputPart | TaskInputPart | AgentInputPart | ProjectInputPart | AgentAppInputPart | TranscriptInputPart | TranscriptSessionInputPart | WorkbookInputPart | DocumentInputPart | TableInputPart | ListInputPart | DataInputPart | ContextInputPart | RemarksInputPart | DecisionQuestionsPart | DecisionAnswersPart | SpeechScriptPart)[]) | null;
|
|
98
|
-
host_turn?: HostTurn | null;
|
|
99
|
-
model_this_turn_only?: boolean;
|
|
100
|
-
applet_id?: string | null;
|
|
101
|
-
test_holder?: MandateTestHolder | null;
|
|
102
|
-
variables?: {
|
|
103
|
-
[key: string]: unknown;
|
|
104
|
-
} | null;
|
|
105
|
-
per_turn_variables?: string[] | null;
|
|
106
|
-
variable_resource_context?: {
|
|
107
|
-
[key: string]: ResourceContextPolicy;
|
|
108
|
-
} | null;
|
|
109
|
-
config_overrides?: LLMParams | null;
|
|
110
|
-
stream?: boolean;
|
|
111
|
-
debug?: boolean;
|
|
112
|
-
dry_run?: boolean;
|
|
113
|
-
tools?: (RegisteredToolSpec | InlineToolSpec | AgentToolSpec)[];
|
|
114
|
-
tools_replace?: ((RegisteredToolSpec | InlineToolSpec | AgentToolSpec)[]) | null;
|
|
115
|
-
client?: ClientContext | null;
|
|
116
|
-
user?: UserOverrides | null;
|
|
117
|
-
ide_state?: IdeState | null;
|
|
118
|
-
sandbox?: SandboxBindingRequest | null;
|
|
119
|
-
context?: {
|
|
120
|
-
[key: string]: unknown;
|
|
121
|
-
};
|
|
122
|
-
/** The context keys the client withheld this turn (off by the page, the agent or the person's rule). When sent, the context receipt lists saved-rule rows only for these keys; omitted, it lists every save */
|
|
123
|
-
context_withheld?: string[] | null;
|
|
124
|
-
/** This conversation is the page's own (mode 'own') or the person switched the page off (mode 'off'): the page's values, the screens around it and what identifies the conversation are withheld by the con */
|
|
125
|
-
page_context?: PageContext | null;
|
|
126
|
-
/** The surface whose page published each context value that the primary surface (client.surface) does not declare: a screen mounted inside the page (a transcript open on the Knowledge page). Sent or with */
|
|
127
|
-
context_surfaces?: {
|
|
128
|
-
[key: string]: string;
|
|
129
|
-
} | null;
|
|
130
|
-
writable_variables?: string[];
|
|
131
|
-
allow_context_create?: boolean;
|
|
132
|
-
prior_messages?: ChatMessageInput[];
|
|
133
|
-
is_version?: boolean;
|
|
134
|
-
block_mode?: boolean;
|
|
135
|
-
snapshot?: boolean | null;
|
|
136
|
-
memory?: boolean | null;
|
|
137
|
-
memory_model?: string | null;
|
|
138
|
-
memory_offering_id?: string | null;
|
|
139
|
-
memory_scope?: string;
|
|
140
|
-
cache_bypass?: CacheBypass | null;
|
|
141
|
-
max_iterations?: number;
|
|
142
|
-
max_retries_per_iteration?: number;
|
|
143
|
-
skill_config?: {
|
|
144
|
-
[key: string]: unknown;
|
|
145
|
-
} | null;
|
|
146
|
-
/** Shapes (content_ir kind slugs) picked for this chat. The server resolves each to the skill that teaches it. Omit to use the chat's saved picks; send [] for none. */
|
|
147
|
-
output_kinds?: string[] | null;
|
|
148
|
-
};
|
|
149
72
|
/** AgentToolSpec */
|
|
150
73
|
type AgentToolSpec = {
|
|
151
74
|
kind: "agent";
|
|
@@ -871,51 +794,6 @@ type ProjectInputPart = {
|
|
|
871
794
|
type: "input_project";
|
|
872
795
|
project_ids: string[];
|
|
873
796
|
};
|
|
874
|
-
/** PromptStartRequest */
|
|
875
|
-
type PromptStartRequest = {
|
|
876
|
-
/** Organization explicitly selected for this new AI conversation. Required except for fingerprint guests, whose organization is resolved by the AI funnel. */
|
|
877
|
-
organization_id?: string | null;
|
|
878
|
-
/** Optional associated project selected by the caller. */
|
|
879
|
-
project_id?: string | null;
|
|
880
|
-
/** Optional associated task selected by the caller. */
|
|
881
|
-
task_id?: string | null;
|
|
882
|
-
/** Stable application slug that initiated the request. */
|
|
883
|
-
source_app?: string | null;
|
|
884
|
-
/** Stable feature slug within the source application. */
|
|
885
|
-
source_feature?: string | null;
|
|
886
|
-
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
887
|
-
initiation?: ("user" | "auto") | null;
|
|
888
|
-
/** Active context-scope ids selected by the caller and membership-validated server-side. */
|
|
889
|
-
scope_ids?: string[] | null;
|
|
890
|
-
/** Active scope-type ids selected by the caller (type-level selection with no specific scope chosen). */
|
|
891
|
-
active_scope_type_ids?: string[] | null;
|
|
892
|
-
/** Durable resource identity from which authoritative organization and task context is reloaded. */
|
|
893
|
-
context_anchor?: ContextAnchor | null;
|
|
894
|
-
store: boolean;
|
|
895
|
-
/** Specific connected desktop instance allowed to claim delegated local tools. */
|
|
896
|
-
target_instance_id?: string | null;
|
|
897
|
-
conversation_id: string;
|
|
898
|
-
is_new: boolean;
|
|
899
|
-
user_input?: string | ((TextPart | ThinkingPart | ToolCallPart | ToolResultPart | (UserImageMediaPart | UserAudioMediaPart | UserVideoMediaPart | UserDocumentMediaPart | UserYouTubeMediaPart) | CodeExecPart | CodeResultPart | WebSearchPart | WebpageInputPart | NotesInputPart | TaskInputPart | AgentInputPart | ProjectInputPart | AgentAppInputPart | TranscriptInputPart | TranscriptSessionInputPart | WorkbookInputPart | DocumentInputPart | TableInputPart | ListInputPart | DataInputPart | ContextInputPart | RemarksInputPart | DecisionQuestionsPart | DecisionAnswersPart | SpeechScriptPart)[]) | null;
|
|
900
|
-
variables?: {
|
|
901
|
-
[key: string]: unknown;
|
|
902
|
-
} | null;
|
|
903
|
-
config_overrides?: LLMParams | null;
|
|
904
|
-
stream?: boolean;
|
|
905
|
-
debug?: boolean;
|
|
906
|
-
tools?: (RegisteredToolSpec | InlineToolSpec | AgentToolSpec)[];
|
|
907
|
-
tools_replace?: ((RegisteredToolSpec | InlineToolSpec | AgentToolSpec)[]) | null;
|
|
908
|
-
client?: ClientContext | null;
|
|
909
|
-
user?: UserOverrides | null;
|
|
910
|
-
ide_state?: IdeState | null;
|
|
911
|
-
context?: {
|
|
912
|
-
[key: string]: unknown;
|
|
913
|
-
};
|
|
914
|
-
/** The context keys the client withheld this turn (off by the page, the agent or the person's rule). When sent, the context receipt lists saved-rule rows only for these keys; omitted, it lists every save */
|
|
915
|
-
context_withheld?: string[] | null;
|
|
916
|
-
/** This conversation is the page's own (mode 'own') or the person switched the page off (mode 'off'): the page's values, the screens around it and what identifies the conversation are withheld by the con */
|
|
917
|
-
page_context?: PageContext | null;
|
|
918
|
-
};
|
|
919
797
|
/** RegisteredToolSpec */
|
|
920
798
|
type RegisteredToolSpec = {
|
|
921
799
|
kind: "registered";
|
|
@@ -1426,4 +1304,4 @@ type WorkbookInputPart = {
|
|
|
1426
1304
|
workbook_ids: (string | LiveResourceRefInput)[];
|
|
1427
1305
|
};
|
|
1428
1306
|
|
|
1429
|
-
export type { ActionNeeded, ActionNeededAction, ActionNeededChoice, ActionNeededKind, ActionNeededStatus, AgentAppInputPart, AgentInputPart,
|
|
1307
|
+
export type { ActionNeeded, ActionNeededAction, ActionNeededChoice, ActionNeededKind, ActionNeededStatus, AgentAppInputPart, AgentInputPart, AgentToolSpec, Asset, AssetVariant, BlockStateRef, CacheBypass, CalendarCreateResult, CalendarEventAttendee, CalendarLocalRefreshResult, ChatMessageInput, ChatToolCallInput, ClientContext, CodeExecPart, CodeResultPart, CompactionSettings, ComputeNextDueResponse, ContextAnchor, ContextInputPart, CustomTool, CustomToolInputSchema, DataInputPart, DataRefSort, DbFieldRef, DbQueryRef, DbRecordRef, DecisionAnswer, DecisionAnswersPart, DecisionQuestion, DecisionQuestionsPart, DecisionUsage_Input, DictionaryConfig, DictionaryEntry, DirectiveItemApplied, DirectiveItemFailed, DocumentInputPart, ExternalSourceMetadata, FullListBookmark, FullTableBookmark, GlossaryEntry, HostTurn, IdeDiagnostic, IdeFileState, IdeGitState, IdeState, IdeWorkspaceState, ImageLora, InlineToolSpec, JsonSchemaObjectDocument, JsonSchemaProperty, JsonValue, LLMParams, ListGroupBookmark, ListInputPart, ListItemBookmark, LiveResourceRefInput, MandateTestHolder, MediaRef, NormalizedCitation, NotesInputPart, OutputSchemaEnvelope, PageContext, PreFetchedUrl, ProjectInputPart, RegisteredToolSpec, RemarkAnswer, RemarkItem, RemarkTarget, RemarkThreadEntry, RemarksInputPart, ResourceContextPolicy, ResourcePromotion, ResourceRefInput, ResponseFormatJsonObject, ResponseFormatJsonSchema, ResponseFormatText, RunNowResponse, SandboxBindingRequest, SnapshotBodyResourceRefInput, SnapshotContentResourceRefInput, SnapshotDescriptionResourceRefInput, SnapshotTextResourceRefInput, SnapshotValueResourceRefInput, SpeechScriptPart, SpeechTurn, StorageImportResult, SurfaceAmendments, TableCellBookmark, TableColumnBookmark, TableInputPart, TableRowBookmark, TableSchemaBookmark, TaskInputPart, TextPart, ThinkingPart, ThreadLink, ToolCallPart, ToolResultPart, TranscriptInputPart, TranscriptSessionInputPart, TtsDialogueTurn, TtsVoiceSpeaker, UserAnalysisPreferencesResponse, UserAudioMediaPart, UserDocumentMediaPart, UserImageMediaPart, UserOverrides, UserVideoMediaPart, UserYouTubeMediaPart, ValidateCronRequest, ValidateCronResponse, WebSearchPart, WebpageInputPart, WorkbookInputPart };
|
package/dist/schemas.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* GENERATED by @ai-matrx/api scripts/generate.mjs from aidream/api-contract — never edit by hand.
|
|
3
|
-
* CONTRACT_SHA256
|
|
3
|
+
* CONTRACT_SHA256 605c060bacf38697b876c603bf0260b9b2941fe22b1da1722810724c3d0c39be
|
|
4
4
|
*/
|
|
5
|
-
/** Every schema reached from more than one domain (
|
|
5
|
+
/** Every schema reached from more than one domain (119). Types only — importing this costs nothing at runtime. */
|
|
6
6
|
/** ActionNeeded */
|
|
7
7
|
type ActionNeeded = {
|
|
8
8
|
/** Stable source-owned dedupe key; never a random notification id */
|
|
@@ -69,83 +69,6 @@ type AgentInputPart = {
|
|
|
69
69
|
type: "input_agent";
|
|
70
70
|
agent_ids: string[];
|
|
71
71
|
};
|
|
72
|
-
/** AgentStartRequest */
|
|
73
|
-
type AgentStartRequest = {
|
|
74
|
-
/** Organization explicitly selected for this new AI conversation. Required except for fingerprint guests, whose organization is resolved by the AI funnel. */
|
|
75
|
-
organization_id?: string | null;
|
|
76
|
-
/** Optional associated project selected by the caller. */
|
|
77
|
-
project_id?: string | null;
|
|
78
|
-
/** Optional associated task selected by the caller. */
|
|
79
|
-
task_id?: string | null;
|
|
80
|
-
/** Stable application slug that initiated the request. */
|
|
81
|
-
source_app?: string | null;
|
|
82
|
-
/** Stable feature slug within the source application. */
|
|
83
|
-
source_feature?: string | null;
|
|
84
|
-
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
85
|
-
initiation?: ("user" | "auto") | null;
|
|
86
|
-
/** Active context-scope ids selected by the caller and membership-validated server-side. */
|
|
87
|
-
scope_ids?: string[] | null;
|
|
88
|
-
/** Active scope-type ids selected by the caller (type-level selection with no specific scope chosen). */
|
|
89
|
-
active_scope_type_ids?: string[] | null;
|
|
90
|
-
/** Durable resource identity from which authoritative organization and task context is reloaded. */
|
|
91
|
-
context_anchor?: ContextAnchor | null;
|
|
92
|
-
store: boolean;
|
|
93
|
-
/** Specific connected desktop instance allowed to claim delegated local tools. */
|
|
94
|
-
target_instance_id?: string | null;
|
|
95
|
-
conversation_id: string;
|
|
96
|
-
is_new: boolean;
|
|
97
|
-
user_input?: string | ((TextPart | ThinkingPart | ToolCallPart | ToolResultPart | (UserImageMediaPart | UserAudioMediaPart | UserVideoMediaPart | UserDocumentMediaPart | UserYouTubeMediaPart) | CodeExecPart | CodeResultPart | WebSearchPart | WebpageInputPart | NotesInputPart | TaskInputPart | AgentInputPart | ProjectInputPart | AgentAppInputPart | TranscriptInputPart | TranscriptSessionInputPart | WorkbookInputPart | DocumentInputPart | TableInputPart | ListInputPart | DataInputPart | ContextInputPart | RemarksInputPart | DecisionQuestionsPart | DecisionAnswersPart | SpeechScriptPart)[]) | null;
|
|
98
|
-
host_turn?: HostTurn | null;
|
|
99
|
-
model_this_turn_only?: boolean;
|
|
100
|
-
applet_id?: string | null;
|
|
101
|
-
test_holder?: MandateTestHolder | null;
|
|
102
|
-
variables?: {
|
|
103
|
-
[key: string]: unknown;
|
|
104
|
-
} | null;
|
|
105
|
-
per_turn_variables?: string[] | null;
|
|
106
|
-
variable_resource_context?: {
|
|
107
|
-
[key: string]: ResourceContextPolicy;
|
|
108
|
-
} | null;
|
|
109
|
-
config_overrides?: LLMParams | null;
|
|
110
|
-
stream?: boolean;
|
|
111
|
-
debug?: boolean;
|
|
112
|
-
dry_run?: boolean;
|
|
113
|
-
tools?: (RegisteredToolSpec | InlineToolSpec | AgentToolSpec)[];
|
|
114
|
-
tools_replace?: ((RegisteredToolSpec | InlineToolSpec | AgentToolSpec)[]) | null;
|
|
115
|
-
client?: ClientContext | null;
|
|
116
|
-
user?: UserOverrides | null;
|
|
117
|
-
ide_state?: IdeState | null;
|
|
118
|
-
sandbox?: SandboxBindingRequest | null;
|
|
119
|
-
context?: {
|
|
120
|
-
[key: string]: unknown;
|
|
121
|
-
};
|
|
122
|
-
/** The context keys the client withheld this turn (off by the page, the agent or the person's rule). When sent, the context receipt lists saved-rule rows only for these keys; omitted, it lists every save */
|
|
123
|
-
context_withheld?: string[] | null;
|
|
124
|
-
/** This conversation is the page's own (mode 'own') or the person switched the page off (mode 'off'): the page's values, the screens around it and what identifies the conversation are withheld by the con */
|
|
125
|
-
page_context?: PageContext | null;
|
|
126
|
-
/** The surface whose page published each context value that the primary surface (client.surface) does not declare: a screen mounted inside the page (a transcript open on the Knowledge page). Sent or with */
|
|
127
|
-
context_surfaces?: {
|
|
128
|
-
[key: string]: string;
|
|
129
|
-
} | null;
|
|
130
|
-
writable_variables?: string[];
|
|
131
|
-
allow_context_create?: boolean;
|
|
132
|
-
prior_messages?: ChatMessageInput[];
|
|
133
|
-
is_version?: boolean;
|
|
134
|
-
block_mode?: boolean;
|
|
135
|
-
snapshot?: boolean | null;
|
|
136
|
-
memory?: boolean | null;
|
|
137
|
-
memory_model?: string | null;
|
|
138
|
-
memory_offering_id?: string | null;
|
|
139
|
-
memory_scope?: string;
|
|
140
|
-
cache_bypass?: CacheBypass | null;
|
|
141
|
-
max_iterations?: number;
|
|
142
|
-
max_retries_per_iteration?: number;
|
|
143
|
-
skill_config?: {
|
|
144
|
-
[key: string]: unknown;
|
|
145
|
-
} | null;
|
|
146
|
-
/** Shapes (content_ir kind slugs) picked for this chat. The server resolves each to the skill that teaches it. Omit to use the chat's saved picks; send [] for none. */
|
|
147
|
-
output_kinds?: string[] | null;
|
|
148
|
-
};
|
|
149
72
|
/** AgentToolSpec */
|
|
150
73
|
type AgentToolSpec = {
|
|
151
74
|
kind: "agent";
|
|
@@ -871,51 +794,6 @@ type ProjectInputPart = {
|
|
|
871
794
|
type: "input_project";
|
|
872
795
|
project_ids: string[];
|
|
873
796
|
};
|
|
874
|
-
/** PromptStartRequest */
|
|
875
|
-
type PromptStartRequest = {
|
|
876
|
-
/** Organization explicitly selected for this new AI conversation. Required except for fingerprint guests, whose organization is resolved by the AI funnel. */
|
|
877
|
-
organization_id?: string | null;
|
|
878
|
-
/** Optional associated project selected by the caller. */
|
|
879
|
-
project_id?: string | null;
|
|
880
|
-
/** Optional associated task selected by the caller. */
|
|
881
|
-
task_id?: string | null;
|
|
882
|
-
/** Stable application slug that initiated the request. */
|
|
883
|
-
source_app?: string | null;
|
|
884
|
-
/** Stable feature slug within the source application. */
|
|
885
|
-
source_feature?: string | null;
|
|
886
|
-
/** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
|
|
887
|
-
initiation?: ("user" | "auto") | null;
|
|
888
|
-
/** Active context-scope ids selected by the caller and membership-validated server-side. */
|
|
889
|
-
scope_ids?: string[] | null;
|
|
890
|
-
/** Active scope-type ids selected by the caller (type-level selection with no specific scope chosen). */
|
|
891
|
-
active_scope_type_ids?: string[] | null;
|
|
892
|
-
/** Durable resource identity from which authoritative organization and task context is reloaded. */
|
|
893
|
-
context_anchor?: ContextAnchor | null;
|
|
894
|
-
store: boolean;
|
|
895
|
-
/** Specific connected desktop instance allowed to claim delegated local tools. */
|
|
896
|
-
target_instance_id?: string | null;
|
|
897
|
-
conversation_id: string;
|
|
898
|
-
is_new: boolean;
|
|
899
|
-
user_input?: string | ((TextPart | ThinkingPart | ToolCallPart | ToolResultPart | (UserImageMediaPart | UserAudioMediaPart | UserVideoMediaPart | UserDocumentMediaPart | UserYouTubeMediaPart) | CodeExecPart | CodeResultPart | WebSearchPart | WebpageInputPart | NotesInputPart | TaskInputPart | AgentInputPart | ProjectInputPart | AgentAppInputPart | TranscriptInputPart | TranscriptSessionInputPart | WorkbookInputPart | DocumentInputPart | TableInputPart | ListInputPart | DataInputPart | ContextInputPart | RemarksInputPart | DecisionQuestionsPart | DecisionAnswersPart | SpeechScriptPart)[]) | null;
|
|
900
|
-
variables?: {
|
|
901
|
-
[key: string]: unknown;
|
|
902
|
-
} | null;
|
|
903
|
-
config_overrides?: LLMParams | null;
|
|
904
|
-
stream?: boolean;
|
|
905
|
-
debug?: boolean;
|
|
906
|
-
tools?: (RegisteredToolSpec | InlineToolSpec | AgentToolSpec)[];
|
|
907
|
-
tools_replace?: ((RegisteredToolSpec | InlineToolSpec | AgentToolSpec)[]) | null;
|
|
908
|
-
client?: ClientContext | null;
|
|
909
|
-
user?: UserOverrides | null;
|
|
910
|
-
ide_state?: IdeState | null;
|
|
911
|
-
context?: {
|
|
912
|
-
[key: string]: unknown;
|
|
913
|
-
};
|
|
914
|
-
/** The context keys the client withheld this turn (off by the page, the agent or the person's rule). When sent, the context receipt lists saved-rule rows only for these keys; omitted, it lists every save */
|
|
915
|
-
context_withheld?: string[] | null;
|
|
916
|
-
/** This conversation is the page's own (mode 'own') or the person switched the page off (mode 'off'): the page's values, the screens around it and what identifies the conversation are withheld by the con */
|
|
917
|
-
page_context?: PageContext | null;
|
|
918
|
-
};
|
|
919
797
|
/** RegisteredToolSpec */
|
|
920
798
|
type RegisteredToolSpec = {
|
|
921
799
|
kind: "registered";
|
|
@@ -1426,4 +1304,4 @@ type WorkbookInputPart = {
|
|
|
1426
1304
|
workbook_ids: (string | LiveResourceRefInput)[];
|
|
1427
1305
|
};
|
|
1428
1306
|
|
|
1429
|
-
export type { ActionNeeded, ActionNeededAction, ActionNeededChoice, ActionNeededKind, ActionNeededStatus, AgentAppInputPart, AgentInputPart,
|
|
1307
|
+
export type { ActionNeeded, ActionNeededAction, ActionNeededChoice, ActionNeededKind, ActionNeededStatus, AgentAppInputPart, AgentInputPart, AgentToolSpec, Asset, AssetVariant, BlockStateRef, CacheBypass, CalendarCreateResult, CalendarEventAttendee, CalendarLocalRefreshResult, ChatMessageInput, ChatToolCallInput, ClientContext, CodeExecPart, CodeResultPart, CompactionSettings, ComputeNextDueResponse, ContextAnchor, ContextInputPart, CustomTool, CustomToolInputSchema, DataInputPart, DataRefSort, DbFieldRef, DbQueryRef, DbRecordRef, DecisionAnswer, DecisionAnswersPart, DecisionQuestion, DecisionQuestionsPart, DecisionUsage_Input, DictionaryConfig, DictionaryEntry, DirectiveItemApplied, DirectiveItemFailed, DocumentInputPart, ExternalSourceMetadata, FullListBookmark, FullTableBookmark, GlossaryEntry, HostTurn, IdeDiagnostic, IdeFileState, IdeGitState, IdeState, IdeWorkspaceState, ImageLora, InlineToolSpec, JsonSchemaObjectDocument, JsonSchemaProperty, JsonValue, LLMParams, ListGroupBookmark, ListInputPart, ListItemBookmark, LiveResourceRefInput, MandateTestHolder, MediaRef, NormalizedCitation, NotesInputPart, OutputSchemaEnvelope, PageContext, PreFetchedUrl, ProjectInputPart, RegisteredToolSpec, RemarkAnswer, RemarkItem, RemarkTarget, RemarkThreadEntry, RemarksInputPart, ResourceContextPolicy, ResourcePromotion, ResourceRefInput, ResponseFormatJsonObject, ResponseFormatJsonSchema, ResponseFormatText, RunNowResponse, SandboxBindingRequest, SnapshotBodyResourceRefInput, SnapshotContentResourceRefInput, SnapshotDescriptionResourceRefInput, SnapshotTextResourceRefInput, SnapshotValueResourceRefInput, SpeechScriptPart, SpeechTurn, StorageImportResult, SurfaceAmendments, TableCellBookmark, TableColumnBookmark, TableInputPart, TableRowBookmark, TableSchemaBookmark, TaskInputPart, TextPart, ThinkingPart, ThreadLink, ToolCallPart, ToolResultPart, TranscriptInputPart, TranscriptSessionInputPart, TtsDialogueTurn, TtsVoiceSpeaker, UserAnalysisPreferencesResponse, UserAudioMediaPart, UserDocumentMediaPart, UserImageMediaPart, UserOverrides, UserVideoMediaPart, UserYouTubeMediaPart, ValidateCronRequest, ValidateCronResponse, WebSearchPart, WebpageInputPart, WorkbookInputPart };
|
package/dist/stream.cjs
CHANGED
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkFSXBRXRX_cjs = require('./chunk-FSXBRXRX.cjs');
|
|
4
4
|
require('./chunk-2SXAAKGV.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "DEFAULT_MATRX_NDJSON_READ_AHEAD", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkFSXBRXRX_cjs.DEFAULT_MATRX_NDJSON_READ_AHEAD; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "createMatrxNdjsonFramer", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkFSXBRXRX_cjs.createMatrxNdjsonFramer; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "createMatrxSseFramer", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkFSXBRXRX_cjs.createMatrxSseFramer; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "normalizeMatrxStreamEnvelope", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkFSXBRXRX_cjs.normalizeMatrxStreamEnvelope; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "openJsonOrStream", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkFSXBRXRX_cjs.openJsonOrStream; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "openStream", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkFSXBRXRX_cjs.openStream; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "parseMatrxSseFrame", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkFSXBRXRX_cjs.parseMatrxSseFrame; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "readMatrxNdjsonStream", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkFSXBRXRX_cjs.readMatrxNdjsonStream; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "readMatrxSseStream", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkFSXBRXRX_cjs.readMatrxSseStream; }
|
|
43
43
|
});
|
package/dist/stream.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { a as ApiStream, r as DEFAULT_MATRX_NDJSON_READ_AHEAD, J as JsonOrStream, s as MatrxNdjsonFramer, t as MatrxNdjsonFramerOptions, b as MatrxNdjsonIssue, d as MatrxSseFrame, u as MatrxSseFramer, M as MatrxStreamEnvelope, c as MatrxStreamEnvelopeObservation, N as NdjsonEvent, R as ReadMatrxNdjsonOptions, v as ReadMatrxSseOptions, S as SseEvent, w as createMatrxNdjsonFramer, x as createMatrxSseFramer, y as normalizeMatrxStreamEnvelope, p as openJsonOrStream, q as openStream, z as parseMatrxSseFrame, B as readMatrxNdjsonStream, F as readMatrxSseStream } from './index-
|
|
1
|
+
export { a as ApiStream, r as DEFAULT_MATRX_NDJSON_READ_AHEAD, J as JsonOrStream, s as MatrxNdjsonFramer, t as MatrxNdjsonFramerOptions, b as MatrxNdjsonIssue, d as MatrxSseFrame, u as MatrxSseFramer, M as MatrxStreamEnvelope, c as MatrxStreamEnvelopeObservation, N as NdjsonEvent, R as ReadMatrxNdjsonOptions, v as ReadMatrxSseOptions, S as SseEvent, w as createMatrxNdjsonFramer, x as createMatrxSseFramer, y as normalizeMatrxStreamEnvelope, p as openJsonOrStream, q as openStream, z as parseMatrxSseFrame, B as readMatrxNdjsonStream, F as readMatrxSseStream } from './index-oZNMwcTG.cjs';
|
|
2
2
|
import '@ai-matrx/auth/credentials';
|
package/dist/stream.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { a as ApiStream, r as DEFAULT_MATRX_NDJSON_READ_AHEAD, J as JsonOrStream, s as MatrxNdjsonFramer, t as MatrxNdjsonFramerOptions, b as MatrxNdjsonIssue, d as MatrxSseFrame, u as MatrxSseFramer, M as MatrxStreamEnvelope, c as MatrxStreamEnvelopeObservation, N as NdjsonEvent, R as ReadMatrxNdjsonOptions, v as ReadMatrxSseOptions, S as SseEvent, w as createMatrxNdjsonFramer, x as createMatrxSseFramer, y as normalizeMatrxStreamEnvelope, p as openJsonOrStream, q as openStream, z as parseMatrxSseFrame, B as readMatrxNdjsonStream, F as readMatrxSseStream } from './index-
|
|
1
|
+
export { a as ApiStream, r as DEFAULT_MATRX_NDJSON_READ_AHEAD, J as JsonOrStream, s as MatrxNdjsonFramer, t as MatrxNdjsonFramerOptions, b as MatrxNdjsonIssue, d as MatrxSseFrame, u as MatrxSseFramer, M as MatrxStreamEnvelope, c as MatrxStreamEnvelopeObservation, N as NdjsonEvent, R as ReadMatrxNdjsonOptions, v as ReadMatrxSseOptions, S as SseEvent, w as createMatrxNdjsonFramer, x as createMatrxSseFramer, y as normalizeMatrxStreamEnvelope, p as openJsonOrStream, q as openStream, z as parseMatrxSseFrame, B as readMatrxNdjsonStream, F as readMatrxSseStream } from './index-oZNMwcTG.js';
|
|
2
2
|
import '@ai-matrx/auth/credentials';
|
package/dist/stream.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { DEFAULT_MATRX_NDJSON_READ_AHEAD, createMatrxNdjsonFramer, createMatrxSseFramer, normalizeMatrxStreamEnvelope, openJsonOrStream, openStream, parseMatrxSseFrame, readMatrxNdjsonStream, readMatrxSseStream } from './chunk-
|
|
1
|
+
export { DEFAULT_MATRX_NDJSON_READ_AHEAD, createMatrxNdjsonFramer, createMatrxSseFramer, normalizeMatrxStreamEnvelope, openJsonOrStream, openStream, parseMatrxSseFrame, readMatrxNdjsonStream, readMatrxSseStream } from './chunk-3M4Y376I.js';
|
|
2
2
|
import './chunk-KIEAFMKB.js';
|