tandem-editor 0.20.0 → 0.20.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.
@@ -1,4 +1,4 @@
1
- import{W as e}from"./index-DpPw5n4m.js";var t=typeof __SENTRY_DEBUG__>`u`||__SENTRY_DEBUG__,n=globalThis,r=`10.56.0`;function i(){return a(n),n}function a(e){let t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||`10.56.0`,t[r]=t[`10.56.0`]||{}}function o(e,t,i=n){let a=i.__SENTRY__=i.__SENTRY__||{},o=a[r]=a[`10.56.0`]||{};return o[e]||(o[e]=t())}var s=[`debug`,`info`,`warn`,`error`,`log`,`assert`,`trace`],c=`Sentry Logger `,l={};function u(e){if(!(`console`in n))return e();let t=n.console,r={},i=Object.keys(l);i.forEach(e=>{let n=l[e];r[e]=t[e],t[e]=n});try{return e()}finally{i.forEach(e=>{t[e]=r[e]})}}function d(){v().enabled=!0}function f(){v().enabled=!1}function p(){return v().enabled}function m(...e){_(`log`,...e)}function h(...e){_(`warn`,...e)}function g(...e){_(`error`,...e)}function _(e,...r){t&&p()&&u(()=>{n.console[e](`${c}[${e}]:`,...r)})}function v(){return t?o(`loggerSettings`,()=>({enabled:!1})):{enabled:!1}}var y={enable:d,disable:f,isEnabled:p,log:m,warn:h,error:g},b=50,x=/\(error: (.*)\)/,S=/captureMessage|captureException/;function C(...e){let t=e.sort((e,t)=>e[0]-t[0]).map(e=>e[1]);return(e,n=0,r=0)=>{let i=[],a=e.split(`
1
+ import{W as e}from"./index-9gBq7QKg.js";var t=typeof __SENTRY_DEBUG__>`u`||__SENTRY_DEBUG__,n=globalThis,r=`10.56.0`;function i(){return a(n),n}function a(e){let t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||`10.56.0`,t[r]=t[`10.56.0`]||{}}function o(e,t,i=n){let a=i.__SENTRY__=i.__SENTRY__||{},o=a[r]=a[`10.56.0`]||{};return o[e]||(o[e]=t())}var s=[`debug`,`info`,`warn`,`error`,`log`,`assert`,`trace`],c=`Sentry Logger `,l={};function u(e){if(!(`console`in n))return e();let t=n.console,r={},i=Object.keys(l);i.forEach(e=>{let n=l[e];r[e]=t[e],t[e]=n});try{return e()}finally{i.forEach(e=>{t[e]=r[e]})}}function d(){v().enabled=!0}function f(){v().enabled=!1}function p(){return v().enabled}function m(...e){_(`log`,...e)}function h(...e){_(`warn`,...e)}function g(...e){_(`error`,...e)}function _(e,...r){t&&p()&&u(()=>{n.console[e](`${c}[${e}]:`,...r)})}function v(){return t?o(`loggerSettings`,()=>({enabled:!1})):{enabled:!1}}var y={enable:d,disable:f,isEnabled:p,log:m,warn:h,error:g},b=50,x=/\(error: (.*)\)/,S=/captureMessage|captureException/;function C(...e){let t=e.sort((e,t)=>e[0]-t[0]).map(e=>e[1]);return(e,n=0,r=0)=>{let i=[],a=e.split(`
2
2
  `);for(let e=n;e<a.length;e++){let n=a[e];n.length>1024&&(n=n.slice(0,1024));let o=x.test(n)?n.replace(x,`$1`):n;if(!o.includes(`Error: `)){for(let e of t){let t=e(o);if(t){i.push(t);break}}if(i.length>=b+r)break}}return T(i.slice(r))}}function w(e){return Array.isArray(e)?C(...e):e}function T(e){if(!e.length)return[];let t=Array.from(e);return/sentryWrapped/.test(ee(t).function||``)&&t.pop(),t.reverse(),S.test(ee(t).function||``)&&(t.pop(),S.test(ee(t).function||``)&&t.pop()),t.slice(0,b).map(e=>({...e,filename:e.filename||ee(t).filename,function:e.function||`?`}))}function ee(e){return e[e.length-1]||{}}var te=`<anonymous>`;function E(e){try{return!e||typeof e!=`function`?te:e.name||te}catch{return te}}function ne(e){let t=e.exception;if(t){let e=[];try{return t.values.forEach(t=>{t.stacktrace.frames&&e.push(...t.stacktrace.frames)}),e}catch{return}}}function re(e){let t=e?.startsWith(`file://`)?e.slice(7):e;return t?.match(/\/[A-Z]:/)&&(t=t.slice(1)),t}var ie={},ae={};function oe(e,t){return ie[e]=ie[e]||[],ie[e].push(t),()=>{let n=ie[e];if(n){let e=n.indexOf(t);e!==-1&&n.splice(e,1)}}}function D(e,n){if(!ae[e]){ae[e]=!0;try{n()}catch(n){t&&y.error(`Error while instrumenting ${e}`,n)}}}function O(e,n){let r=e&&ie[e];if(r)for(let i of r)try{i(n)}catch(n){t&&y.error(`Error while triggering instrumentation handler.
3
3
  Type: ${e}
4
4
  Name: ${E(i)}
@@ -714,7 +714,7 @@
714
714
  line-height: var(--tandem-ui-leading);
715
715
  }
716
716
  </style>
717
- <script type="module" crossorigin src="/assets/index-DpPw5n4m.js"></script>
717
+ <script type="module" crossorigin src="/assets/index-9gBq7QKg.js"></script>
718
718
  <link rel="stylesheet" crossorigin href="/assets/index-DGXEGm21.css">
719
719
  </head>
720
720
  <body>
@@ -94815,8 +94815,8 @@ function resolveChannelDist(env3 = process.env, exists = existsSync) {
94815
94815
  return resolve3(PACKAGE_ROOT, "dist/channel/index.js");
94816
94816
  }
94817
94817
  function resolveCliVersion() {
94818
- if (true) return "0.20.0";
94819
- if (true) return "0.20.0";
94818
+ if (true) return "0.20.1";
94819
+ if (true) return "0.20.1";
94820
94820
  for (const rel of ["../../package.json", "../../../package.json"]) {
94821
94821
  try {
94822
94822
  const pkg = JSON.parse(readFileSync2(resolve3(__dirname2, rel), "utf8"));
@@ -132411,7 +132411,7 @@ function evaluateStaleGlobal(bundled, globalVersion) {
132411
132411
  };
132412
132412
  }
132413
132413
  async function checkStaleGlobal(r) {
132414
- const bundled = true ? "0.20.0" : null;
132414
+ const bundled = true ? "0.20.1" : null;
132415
132415
  if (!bundled) return;
132416
132416
  let globalVersion;
132417
132417
  try {
@@ -191406,7 +191406,7 @@ function createMcpSessionRegistry(opts = {}) {
191406
191406
 
191407
191407
  // src/server/mcp/server.ts
191408
191408
  var esmRequire2 = createRequire2(import.meta.url);
191409
- var APP_VERSION = true ? "0.20.0" : _readVersionFromDisk();
191409
+ var APP_VERSION = true ? "0.20.1" : _readVersionFromDisk();
191410
191410
  var MCP_SDK_VERSION = true ? "1.30.0" : "0.0.0-unknown";
191411
191411
  var __dirname3 = dirname3(fileURLToPath4(import.meta.url));
191412
191412
  var CLIENT_DIST = join8(__dirname3, "../client");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tandem-editor",
3
- "version": "0.20.0",
3
+ "version": "0.20.1",
4
4
  "description": "Edit and iterate on documents with any MCP-capable AI (Claude by default). Real-time push via the channel shim.",
5
5
  "repository": {
6
6
  "type": "git",