@meetkai/mka1 0.49.2 → 0.49.4
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/bin/mcp-server.js +6 -6
- package/bin/mcp-server.js.map +9 -9
- package/dist/commonjs/funcs/agentConnectorsCreateAgentConnector.d.ts +1 -1
- package/dist/commonjs/funcs/agentConnectorsCreateAgentConnector.js +1 -1
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.js +1 -1
- package/dist/commonjs/mcp-server/tools/agentConnectorsCreateAgentConnector.js +1 -1
- package/dist/commonjs/mcp-server/tools/agentConnectorsCreateAgentConnector.js.map +1 -1
- package/dist/commonjs/models/components/createagentconnectorrequest.d.ts +9 -0
- package/dist/commonjs/models/components/createagentconnectorrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/createagentconnectorrequest.js +3 -0
- package/dist/commonjs/models/components/createagentconnectorrequest.js.map +1 -1
- package/dist/commonjs/models/components/createvectorstorefilebatchrequest.d.ts +4 -4
- package/dist/commonjs/react-query/agentConnectorsCreateAgentConnector.d.ts +1 -1
- package/dist/commonjs/react-query/agentConnectorsCreateAgentConnector.js +1 -1
- package/dist/commonjs/sdk/agentconnectors.d.ts +1 -1
- package/dist/commonjs/sdk/agentconnectors.js +1 -1
- package/dist/esm/funcs/agentConnectorsCreateAgentConnector.d.ts +1 -1
- package/dist/esm/funcs/agentConnectorsCreateAgentConnector.js +1 -1
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.js +1 -1
- package/dist/esm/mcp-server/tools/agentConnectorsCreateAgentConnector.js +1 -1
- package/dist/esm/mcp-server/tools/agentConnectorsCreateAgentConnector.js.map +1 -1
- package/dist/esm/models/components/createagentconnectorrequest.d.ts +9 -0
- package/dist/esm/models/components/createagentconnectorrequest.d.ts.map +1 -1
- package/dist/esm/models/components/createagentconnectorrequest.js +3 -0
- package/dist/esm/models/components/createagentconnectorrequest.js.map +1 -1
- package/dist/esm/models/components/createvectorstorefilebatchrequest.d.ts +4 -4
- package/dist/esm/react-query/agentConnectorsCreateAgentConnector.d.ts +1 -1
- package/dist/esm/react-query/agentConnectorsCreateAgentConnector.js +1 -1
- package/dist/esm/sdk/agentconnectors.d.ts +1 -1
- package/dist/esm/sdk/agentconnectors.js +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/agentConnectorsCreateAgentConnector.ts +1 -1
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/mcp-server/tools/agentConnectorsCreateAgentConnector.ts +1 -1
- package/src/models/components/createagentconnectorrequest.ts +9 -0
- package/src/models/components/createvectorstorefilebatchrequest.ts +4 -4
- package/src/react-query/agentConnectorsCreateAgentConnector.ts +1 -1
- package/src/sdk/agentconnectors.ts +1 -1
|
@@ -32,7 +32,7 @@ export type CreateVectorStoreFileBatchRequestAttributes =
|
|
|
32
32
|
| number;
|
|
33
33
|
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
35
|
+
* Batch-wide default chunking strategy, applied to every file that does not carry its own (a 'files' entry's chunking_strategy overrides this).
|
|
36
36
|
*/
|
|
37
37
|
export type CreateVectorStoreFileBatchRequestChunkingStrategy =
|
|
38
38
|
| AutoChunkingStrategy
|
|
@@ -47,15 +47,15 @@ export type CreateVectorStoreFileBatchRequest = {
|
|
|
47
47
|
*/
|
|
48
48
|
fileIds?: Array<string> | undefined;
|
|
49
49
|
/**
|
|
50
|
-
* A list of objects that each include a file_id plus optional attributes or chunking_strategy. Use this when you need to override metadata for specific files.
|
|
50
|
+
* A list of objects that each include a file_id plus optional attributes or chunking_strategy. Use this when you need to override metadata for specific files. Entries without their own attributes or chunking_strategy fall back to the request-level values. Mutually exclusive with 'file_ids'. At most 500 per batch.
|
|
51
51
|
*/
|
|
52
52
|
files?: Array<FileWithMetadata> | undefined;
|
|
53
53
|
/**
|
|
54
|
-
*
|
|
54
|
+
* Batch-wide default attributes, applied to every file that does not carry its own (a 'files' entry's attributes override this).
|
|
55
55
|
*/
|
|
56
56
|
attributes?: { [k: string]: string | boolean | number } | undefined;
|
|
57
57
|
/**
|
|
58
|
-
*
|
|
58
|
+
* Batch-wide default chunking strategy, applied to every file that does not carry its own (a 'files' entry's chunking_strategy overrides this).
|
|
59
59
|
*/
|
|
60
60
|
chunkingStrategy?: AutoChunkingStrategy | StaticChunkingStrategy | undefined;
|
|
61
61
|
};
|
|
@@ -51,7 +51,7 @@ export type AgentConnectorsCreateAgentConnectorMutationError =
|
|
|
51
51
|
* Create a connector
|
|
52
52
|
*
|
|
53
53
|
* @remarks
|
|
54
|
-
* Connects the agent to a Telegram bot, validates the bot token, and registers the agent's webhook. An API key with every listed scope is required; its identity tuple and current scopes are stored as a non-widening ceiling, then revalidated with mk-authentication before every connector run; session and delegated end-user contexts are rejected. The required access policy controls which Telegram chats may invoke the agent.
|
|
54
|
+
* Connects the agent to a Telegram bot, validates the bot token, and registers the agent's webhook. Telegram text, photos, and gateway-supported documents can invoke the agent; inbound media additionally requires write:files. Managed outbound files require read:files, and generated images require both file scopes so their transient provider URLs can be materialized before delivery. These conditional scopes are deliberately not part of x-required-scopes because text-only connectors do not need them. An API key with every listed scope is required; its identity tuple and current scopes are stored as a non-widening ceiling, then revalidated with mk-authentication before every connector run; session and delegated end-user contexts are rejected. The required access policy controls which Telegram chats may invoke the agent.
|
|
55
55
|
*/
|
|
56
56
|
export function useAgentConnectorsCreateAgentConnectorMutation(
|
|
57
57
|
options?: MutationHookOptions<
|
|
@@ -34,7 +34,7 @@ export class AgentConnectors extends ClientSDK {
|
|
|
34
34
|
* Create a connector
|
|
35
35
|
*
|
|
36
36
|
* @remarks
|
|
37
|
-
* Connects the agent to a Telegram bot, validates the bot token, and registers the agent's webhook. An API key with every listed scope is required; its identity tuple and current scopes are stored as a non-widening ceiling, then revalidated with mk-authentication before every connector run; session and delegated end-user contexts are rejected. The required access policy controls which Telegram chats may invoke the agent.
|
|
37
|
+
* Connects the agent to a Telegram bot, validates the bot token, and registers the agent's webhook. Telegram text, photos, and gateway-supported documents can invoke the agent; inbound media additionally requires write:files. Managed outbound files require read:files, and generated images require both file scopes so their transient provider URLs can be materialized before delivery. These conditional scopes are deliberately not part of x-required-scopes because text-only connectors do not need them. An API key with every listed scope is required; its identity tuple and current scopes are stored as a non-widening ceiling, then revalidated with mk-authentication before every connector run; session and delegated end-user contexts are rejected. The required access policy controls which Telegram chats may invoke the agent.
|
|
38
38
|
*/
|
|
39
39
|
async createAgentConnector(
|
|
40
40
|
request: operations.CreateAgentConnectorRequest,
|