agent-shim 7.9.0 → 7.10.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/cli.cjs CHANGED
@@ -60955,7 +60955,7 @@ function registerIdentityCommand(program2, deps) {
60955
60955
  // package.json
60956
60956
  var package_default = {
60957
60957
  name: "agent-shim",
60958
- version: "7.9.0",
60958
+ version: "7.10.0",
60959
60959
  description: "A profile manager and launcher for Claude Code that lets one person run multiple logins from one machine while controlling what gets shared between them.",
60960
60960
  license: "MIT",
60961
60961
  author: "Joseph Mearman <joseph@mearman.co.uk>",
@@ -64499,7 +64499,7 @@ async function startConnectServer(config2, effects, preferredPort) {
64499
64499
  ${request6.rawHeaders.reduce((accumulated, value, index) => index % 2 === 0 ? `${accumulated}${value}: ` : `${accumulated}${value}\r
64500
64500
  `, "")}\r
64501
64501
  `;
64502
- pumpTapSession(socket, async (clientAlpn) => await effects.connectTlsUpstream(host, HTTPS_PORT, clientAlpn), void 0, Buffer.from(headText, "utf8"));
64502
+ pumpTapSession(socket, async (clientAlpn) => await effects.connectTlsUpstream(host, HTTPS_PORT, clientAlpn), config2.capture?.tapStream?.(host), Buffer.from(headText, "utf8"));
64503
64503
  };
64504
64504
  const sessions = config2.interceptHosts.map((host) => {
64505
64505
  if (config2.tapHosts.includes(host)) {
package/dist/index.cjs CHANGED
@@ -2905,7 +2905,7 @@ async function startConnectServer(config, effects, preferredPort) {
2905
2905
  ${request3.rawHeaders.reduce((accumulated, value, index) => index % 2 === 0 ? `${accumulated}${value}: ` : `${accumulated}${value}\r
2906
2906
  `, "")}\r
2907
2907
  `;
2908
- pumpTapSession(socket, async (clientAlpn) => await effects.connectTlsUpstream(host, HTTPS_PORT, clientAlpn), void 0, Buffer.from(headText, "utf8"));
2908
+ pumpTapSession(socket, async (clientAlpn) => await effects.connectTlsUpstream(host, HTTPS_PORT, clientAlpn), config.capture?.tapStream?.(host), Buffer.from(headText, "utf8"));
2909
2909
  };
2910
2910
  const sessions = config.interceptHosts.map((host) => {
2911
2911
  if (config.tapHosts.includes(host)) {
package/dist/index.mjs CHANGED
@@ -2742,7 +2742,7 @@ async function startConnectServer(config, effects, preferredPort) {
2742
2742
  ${request3.rawHeaders.reduce((accumulated, value, index) => index % 2 === 0 ? `${accumulated}${value}: ` : `${accumulated}${value}\r
2743
2743
  `, "")}\r
2744
2744
  `;
2745
- pumpTapSession(socket, async (clientAlpn) => await effects.connectTlsUpstream(host, HTTPS_PORT, clientAlpn), void 0, Buffer.from(headText, "utf8"));
2745
+ pumpTapSession(socket, async (clientAlpn) => await effects.connectTlsUpstream(host, HTTPS_PORT, clientAlpn), config.capture?.tapStream?.(host), Buffer.from(headText, "utf8"));
2746
2746
  };
2747
2747
  const sessions = config.interceptHosts.map((host) => {
2748
2748
  if (config.tapHosts.includes(host)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-shim",
3
- "version": "7.9.0",
3
+ "version": "7.10.0",
4
4
  "description": "A profile manager and launcher for Claude Code that lets one person run multiple logins from one machine while controlling what gets shared between them.",
5
5
  "license": "MIT",
6
6
  "author": "Joseph Mearman <joseph@mearman.co.uk>",