@agentforge-io/sdk-server 4.10.0 → 4.11.0
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/dist/types.d.ts +11 -0
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -390,6 +390,17 @@ export interface ConnectorStatus {
|
|
|
390
390
|
/** ¿Tiene selector de recursos real implementado (nivel 2 del picker)?
|
|
391
391
|
* false = se puede conectar pero `listResources()` devuelve `unsupported`. */
|
|
392
392
|
browsable: boolean;
|
|
393
|
+
/** Display name, when the connector is registered in that deploy. */
|
|
394
|
+
name?: string;
|
|
395
|
+
/** How it connects: 'oauth' → `authorizeForTenant()`; 'api_key' → the user
|
|
396
|
+
* pastes a key, saved with `saveApiKeyForTenant()`. Absent on older
|
|
397
|
+
* platforms or for connectors not registered there. */
|
|
398
|
+
authKind?: 'oauth' | 'api_key';
|
|
399
|
+
/** `api_key` only: where the user generates the key, and an input placeholder. */
|
|
400
|
+
apiKey?: {
|
|
401
|
+
instructionsUrl?: string;
|
|
402
|
+
placeholder?: string;
|
|
403
|
+
};
|
|
393
404
|
}
|
|
394
405
|
export interface AppUserConnectorStatus {
|
|
395
406
|
connectorId: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agentforge-io/sdk-server",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.11.0",
|
|
4
4
|
"description": "Server-side SDK for backend apps integrating with AgentForge platform. Auth via ChatToken, ak_live_ API key or App secret (sk_live_), with App installations across tenants.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/index.js",
|