@stage-labs/metro 0.1.0-beta.88 → 0.1.0-beta.89
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stage-labs/metro",
|
|
3
|
-
"version": "0.1.0-beta.
|
|
3
|
+
"version": "0.1.0-beta.89",
|
|
4
4
|
"description": "The metro command line. Sign in once per machine, then hand your MCP connector list to Claude Code without the credentials touching disk, argv or shell history.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -2,6 +2,7 @@ import { ApiError } from '@metro-labs/http/api-error';
|
|
|
2
2
|
import { errMsg, log } from '@metro-labs/core/log';
|
|
3
3
|
import { AttachSessions } from '../stations/attach-session.js';
|
|
4
4
|
import { recentSenders } from '../agents/senders.js';
|
|
5
|
+
import { syncPluginServers } from '../connectors/plugin-sync.js';
|
|
5
6
|
import type { AgentApiDeps } from '../agents/api.js';
|
|
6
7
|
import { ATTACHABLE, type AccountApiDeps } from '../agents/accounts-api.js';
|
|
7
8
|
import type { SessionApis } from './session-apis.js';
|
|
@@ -115,7 +116,11 @@ function connectorIdsOfLocalAgents(ids: string[]): Promise<Map<string, string[]>
|
|
|
115
116
|
}
|
|
116
117
|
|
|
117
118
|
const connectorApi: ConnectorApiDeps = {
|
|
118
|
-
listConnectors:
|
|
119
|
+
listConnectors: async (subject, project) => {
|
|
120
|
+
const rows = await localListConnectors(subject, project);
|
|
121
|
+
syncPluginServers();
|
|
122
|
+
return rows;
|
|
123
|
+
},
|
|
119
124
|
createConnector: localCreateConnector,
|
|
120
125
|
verifyConnector: localVerifyConnector,
|
|
121
126
|
disconnectConnector: localDisconnectConnector,
|
package/runtime/runtime.json
CHANGED