@oxygen-agent/cli 1.739.0 → 1.739.1

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/README.md CHANGED
@@ -34,4 +34,4 @@ oxygen update
34
34
 
35
35
  For product documentation, visit https://oxygen-agent.com/docs. For support, visit https://oxygen-agent.com.
36
36
 
37
- Version: 1.739.0
37
+ Version: 1.739.1
@@ -6,7 +6,9 @@ import { getCapabilityRouteMatch, inferCapabilityRoute, } from "./capability-dis
6
6
  // connection routes.
7
7
  export function inferUserCapabilityRoute(query) {
8
8
  const route = inferCapabilityRoute(query);
9
- if (route?.card.id !== "tables" || !isSimpleProviderConnectionIntent(query)) {
9
+ const providerConnectionIntent = isSimpleProviderConnectionIntent(query);
10
+ if (!providerConnectionIntent
11
+ || (route?.card.id !== "tables" && route?.card.id !== "workspace-access")) {
10
12
  return route;
11
13
  }
12
14
  return getCapabilityRouteMatch("connected-integrations") ?? route;
@@ -19,5 +21,9 @@ function isSimpleProviderConnectionIntent(query) {
19
21
  if (/\b(integration|provider|oauth|byok|api key|connected account)\b/.test(normalized)) {
20
22
  return /\b(connect|reconnect|disconnect)\b/.test(normalized);
21
23
  }
22
- return /\b(?:connect|reconnect|disconnect)\s+(?:(?:my|our|the)\s+)?(?!(?:this|that|them|us|me)\b)[a-z0-9][a-z0-9.]*\s*$/.test(normalized);
24
+ const match = normalized.match(/\b(?:connect|reconnect|disconnect)\s+(?:(?:my|our|the)\s+)?([a-z0-9][a-z0-9.]*)(?:\s+(account|workspace))?\s*$/);
25
+ if (!match)
26
+ return false;
27
+ return !new Set(["this", "that", "them", "us", "me", "account", "workspace"])
28
+ .has(match[1] ?? "");
23
29
  }
@@ -1,3 +1,3 @@
1
- export declare const OXYGEN_VERSION = "1.739.0";
1
+ export declare const OXYGEN_VERSION = "1.739.1";
2
2
  export declare const OXYGEN_MINIMUM_CLI_VERSION = "1.181.0";
3
3
  export declare const MANAGED_INBOX_MINIMUM_CLI_VERSION = "1.326.2";
@@ -1,4 +1,4 @@
1
- export const OXYGEN_VERSION = "1.739.0";
1
+ export const OXYGEN_VERSION = "1.739.1";
2
2
  // The GLOBAL CLI compatibility floor: the oldest CLI allowed to call any
3
3
  // operational route. Raising it hard-rejects every older CLI from the entire
4
4
  // product, so it obeys one law, enforced by scripts/ci/cli-min-version-gate.mjs:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oxygen-agent/cli",
3
- "version": "1.739.0",
3
+ "version": "1.739.1",
4
4
  "private": false,
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",