@zapier/zapier-sdk 0.112.1 → 0.112.2

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @zapier/zapier-sdk
2
2
 
3
+ ## 0.112.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 0318d77: _This release contains no user-facing changes._
8
+
3
9
  ## 0.112.1
4
10
 
5
11
  ### Patch Changes
@@ -1861,8 +1861,19 @@ var isNonEmpty = (value) => value !== "";
1861
1861
  var agentDetectors = [
1862
1862
  { name: "claude-code", key: "CLAUDECODE", predicate: isTruthy },
1863
1863
  { name: "github-copilot", key: "COPILOT_AGENT", predicate: isTruthy },
1864
+ // Copilot CLI doesn't export `COPILOT_AGENT` (that marker belongs to the
1865
+ // Copilot coding agent on GitHub Actions); its shell commands do see a
1866
+ // session id.
1867
+ {
1868
+ name: "github-copilot",
1869
+ key: "COPILOT_AGENT_SESSION_ID",
1870
+ predicate: isNonEmpty
1871
+ },
1864
1872
  { name: "cursor", key: "CURSOR_AGENT", predicate: isTruthy },
1865
1873
  { name: "codex", key: "CODEX_SANDBOX", predicate: isNonEmpty },
1874
+ // `CODEX_SANDBOX` only exists inside Codex's no-network sandbox; runs that
1875
+ // reach an API ran approved/escalated, where only `CODEX_THREAD_ID` is set.
1876
+ { name: "codex", key: "CODEX_THREAD_ID", predicate: isNonEmpty },
1866
1877
  { name: "gemini-cli", key: "GEMINI_CLI", predicate: isTruthy },
1867
1878
  { name: "augment", key: "AUGMENT_AGENT", predicate: isTruthy },
1868
1879
  { name: "cline", key: "CLINE_ACTIVE", predicate: isTruthy },
@@ -2806,7 +2817,7 @@ function logRouteOverride({
2806
2817
  }
2807
2818
 
2808
2819
  // src/sdk-version.ts
2809
- var SDK_VERSION = (typeof process !== "undefined" && process.env ? "0.112.1" : void 0) || "unknown";
2820
+ var SDK_VERSION = (typeof process !== "undefined" && process.env ? "0.112.2" : void 0) || "unknown";
2810
2821
 
2811
2822
  // src/utils/open-url.ts
2812
2823
  var nodePrefix = "node:";
@@ -1862,8 +1862,19 @@ var isNonEmpty = (value) => value !== "";
1862
1862
  var agentDetectors = [
1863
1863
  { name: "claude-code", key: "CLAUDECODE", predicate: isTruthy },
1864
1864
  { name: "github-copilot", key: "COPILOT_AGENT", predicate: isTruthy },
1865
+ // Copilot CLI doesn't export `COPILOT_AGENT` (that marker belongs to the
1866
+ // Copilot coding agent on GitHub Actions); its shell commands do see a
1867
+ // session id.
1868
+ {
1869
+ name: "github-copilot",
1870
+ key: "COPILOT_AGENT_SESSION_ID",
1871
+ predicate: isNonEmpty
1872
+ },
1865
1873
  { name: "cursor", key: "CURSOR_AGENT", predicate: isTruthy },
1866
1874
  { name: "codex", key: "CODEX_SANDBOX", predicate: isNonEmpty },
1875
+ // `CODEX_SANDBOX` only exists inside Codex's no-network sandbox; runs that
1876
+ // reach an API ran approved/escalated, where only `CODEX_THREAD_ID` is set.
1877
+ { name: "codex", key: "CODEX_THREAD_ID", predicate: isNonEmpty },
1867
1878
  { name: "gemini-cli", key: "GEMINI_CLI", predicate: isTruthy },
1868
1879
  { name: "augment", key: "AUGMENT_AGENT", predicate: isTruthy },
1869
1880
  { name: "cline", key: "CLINE_ACTIVE", predicate: isTruthy },
@@ -2807,7 +2818,7 @@ function logRouteOverride({
2807
2818
  }
2808
2819
 
2809
2820
  // src/sdk-version.ts
2810
- var SDK_VERSION = (typeof process !== "undefined" && process.env ? "0.112.1" : void 0) || "unknown";
2821
+ var SDK_VERSION = (typeof process !== "undefined" && process.env ? "0.112.2" : void 0) || "unknown";
2811
2822
 
2812
2823
  // src/utils/open-url.ts
2813
2824
  var nodePrefix = "node:";