passport-bridge 0.11.2 → 0.11.3

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/cliSetup.js CHANGED
@@ -100,6 +100,8 @@ export async function setup(args, runtime, withGateway, install = runManagedSkil
100
100
  const response = await gateway.fetchApi(path, { signal: runtime.signal, redirect: "error" });
101
101
  if (!response.ok) {
102
102
  await response.body?.cancel().catch(() => undefined);
103
+ if (response.status === 402)
104
+ return failure("Team setups aren't available on this workspace's plan.", 1, "setup_unavailable");
103
105
  if (response.status === 404)
104
106
  return failure("This setup is unavailable, or the gateway needs an update. Refresh your assigned setups in Passport.", 1, "setup_unavailable");
105
107
  return failure("Passport could not authorize this employee setup. Reconnect or check your assignment.", response.status === 401 || response.status === 403 ? 2 : 1, "setup_unavailable");
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const VERSION = "0.11.2";
1
+ export declare const VERSION = "0.11.3";
package/dist/version.js CHANGED
@@ -1,3 +1,3 @@
1
1
  // Keep in lockstep with bridge/package.json. The published bridge can run from
2
2
  // a compiled sidecar where package.json is not available at runtime.
3
- export const VERSION = "0.11.2";
3
+ export const VERSION = "0.11.3";
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "passport-bridge",
3
- "version": "0.11.2",
3
+ "version": "0.11.3",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "passport-bridge",
9
- "version": "0.11.2",
9
+ "version": "0.11.3",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
12
  "@modelcontextprotocol/sdk": "1.30.0"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "passport-bridge",
3
- "version": "0.11.2",
3
+ "version": "0.11.3",
4
4
  "description": "Passport CLI for governed terminal and CI agents, plus the local stdio-to-cloud MCP bridge.",
5
5
  "license": "MIT",
6
6
  "repository": {