@hasna/connectors 1.3.32 → 1.3.33
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/index.js +19345 -804
- package/bin/mcp.js +35033 -33318
- package/bin/serve.js +26861 -7773
- package/dist/cli/auth-no-browser.test.d.ts +1 -0
- package/dist/cli/commands/auth.d.ts +3 -0
- package/dist/core/builtins.test.d.ts +1 -0
- package/dist/core/connectors/gmail.d.ts +5 -0
- package/dist/core/connectors/googledrive.d.ts +6 -0
- package/dist/core/connectors/internal-operations.test.d.ts +1 -0
- package/dist/core/connectors/internal-runtime.test.d.ts +1 -0
- package/dist/core/errors.test.d.ts +1 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.js +1399 -167
- package/dist/lib/connector-resolver.d.ts +37 -0
- package/dist/lib/connector-resolver.test.d.ts +1 -0
- package/dist/lib/lock.d.ts +1 -1
- package/dist/lib/manifest.d.ts +50 -0
- package/dist/lib/manifest.test.d.ts +1 -0
- package/dist/lib/runner-auth.test.d.ts +1 -0
- package/dist/lib/runner.d.ts +31 -0
- package/dist/lib/test-endpoints.test.d.ts +1 -0
- package/dist/lib/workflow-runner.d.ts +7 -0
- package/dist/mcp/http.d.ts +14 -0
- package/dist/mcp/http.test.d.ts +1 -0
- package/dist/mcp/index.d.ts +1 -1
- package/dist/mcp/server.d.ts +3 -0
- package/dist/server/auth-exchange.test.d.ts +1 -0
- package/dist/server/auth-refresh.test.d.ts +1 -0
- package/dist/server/auth.d.ts +4 -3
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,2 +1,5 @@
|
|
|
1
1
|
import { Command } from "commander";
|
|
2
|
+
export declare function getCurrentOAuthProfile(name: string, connectorsHome?: string): string;
|
|
3
|
+
export declare function getOAuthTokenPathsForProfile(name: string, connectorsHome?: string, profile?: string): string[];
|
|
4
|
+
export declare function hasOAuthTokenFileUpdatedSince(tokenPaths: string[], sinceMs: number): boolean;
|
|
2
5
|
export declare function registerCommands(program: Command): void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const GOOGLE_DRIVE_FOLDER_MIME = "application/vnd.google-apps.folder";
|
|
2
|
+
interface GoogleDriveContext {
|
|
3
|
+
profile: string;
|
|
4
|
+
}
|
|
5
|
+
export declare const googleDriveConnector: import("../connector.js").InternalConnectorDefinition<GoogleDriveContext>;
|
|
6
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/index.d.ts
CHANGED
|
@@ -9,5 +9,6 @@
|
|
|
9
9
|
*/
|
|
10
10
|
export { CONNECTORS, CATEGORIES, getConnector, getConnectorsByCategory, searchConnectors, loadConnectorVersions, type ConnectorMeta, type Category, type ScoredResult, type SearchContext, } from "./lib/registry.js";
|
|
11
11
|
export { installConnector, installConnectors, getInstalledConnectors, removeConnector, connectorExists, getConnectorPath, getConnectorDocs, type InstallResult, type InstallOptions, type ConnectorDocs, } from "./lib/installer.js";
|
|
12
|
-
export { runConnectorCommand, getConnectorOperations, getConnectorCommandHelp, getConnectorCliPath, hasConnectorCommandSurface, getConnectorsWithCli, type RunResult, } from "./lib/runner.js";
|
|
12
|
+
export { runConnectorCommand, runConnectorOperation, buildConnectorOperationArgs, getConnectorOperations, getConnectorCommandHelp, getConnectorCliPath, hasConnectorCommandSurface, getConnectorsWithCli, type RunResult, type RunConnectorOperationArgs, type ConnectorOperationResult, } from "./lib/runner.js";
|
|
13
13
|
export { defineConnector, executeConnectorOperation, getConnectorOperation, listConnectorOperations, ConnectorDefinitionError, ConnectorOperationNotFoundError, type ConnectorAuthDefinition, type ConnectorAuthField, type ConnectorAuthType, type ConnectorCommandDescriptor, type ConnectorCommandResult, type ConnectorCommandRuntime, type ConnectorContextFactoryArgs, type ConnectorDefinition, type ConnectorMetadata, type ConnectorOperationContext, type ConnectorOperationDefinition, type ConnectorOperationMap, type ExecuteConnectorOperationArgs, type InternalConnectorDefinition, type InternalConnectorOperationDefinition, } from "./core/index.js";
|
|
14
|
+
export { getConnectorCapability, getConnectorCapabilityManifest, type ConnectorCapability, type ConnectorCapabilityAuth, type ConnectorCapabilityDocs, type ConnectorCapabilityManifest, type ConnectorCapabilityManifestOptions, type ConnectorCapabilityOptions, type ConnectorCapabilityRuntime, } from "./lib/manifest.js";
|