executor 1.1.5 → 1.1.6

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/bin/executor.mjs CHANGED
@@ -227575,13 +227575,16 @@ var tryDetectOpenApi = (input) => gen2(function* () {
227575
227575
  headers: input.headers
227576
227576
  }));
227577
227577
  if (response._tag === "Left") {
227578
+ console.warn(`[discovery] OpenAPI probe HTTP fetch failed for ${input.normalizedUrl}:`, response.left.message);
227578
227579
  return null;
227579
227580
  }
227580
227581
  if (response.right.status < 200 || response.right.status >= 300) {
227582
+ console.warn(`[discovery] OpenAPI probe got status ${response.right.status} for ${input.normalizedUrl}`);
227581
227583
  return null;
227582
227584
  }
227583
227585
  const manifest = yield* either3(extractOpenApiManifest(input.normalizedUrl, response.right.text));
227584
227586
  if (manifest._tag === "Left") {
227587
+ console.warn(`[discovery] OpenAPI manifest extraction failed for ${input.normalizedUrl}:`, manifest.left instanceof Error ? manifest.left.message : String(manifest.left));
227585
227588
  return null;
227586
227589
  }
227587
227590
  const document2 = yield* either3(try_3({
@@ -227608,7 +227611,10 @@ var tryDetectOpenApi = (input) => gen2(function* () {
227608
227611
  warnings: []
227609
227612
  }
227610
227613
  };
227611
- }).pipe(catchAll2(() => succeed8(null)));
227614
+ }).pipe(catchAll2((error51) => {
227615
+ console.warn(`[discovery] OpenAPI detection unexpected error for ${input.normalizedUrl}:`, error51 instanceof Error ? error51.message : String(error51));
227616
+ return succeed8(null);
227617
+ }));
227612
227618
  var looksLikeGraphqlEndpoint = (normalizedUrl) => /graphql/i.test(new URL(normalizedUrl).pathname);
227613
227619
  var tryParseJson = (value6) => {
227614
227620
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "executor",
3
- "version": "1.1.5",
3
+ "version": "1.1.6",
4
4
  "description": "Local AI executor with a CLI, local API server, and web UI.",
5
5
  "keywords": [
6
6
  "executor",
@@ -1 +1 @@
1
- import{r,R as c,M as p,B as x}from"./mermaid-O7DHMXV3-Dxron3oj.js";import{j as d}from"./index-CRuElBS1.js";var R=({code:i,language:e,raw:t,className:g,startLine:u,...m})=>{let{shikiTheme:o}=r.useContext(c),a=p(),[n,s]=r.useState(t);return r.useEffect(()=>{if(!a){s(t);return}let l=a.highlight({code:i,language:e,themes:o},h=>{s(h)});l&&s(l)},[i,e,o,a,t]),d.jsx(x,{className:g,language:e,result:n,startLine:u,...m})};export{R as HighlightedCodeBlockBody};
1
+ import{r,R as c,M as p,B as x}from"./mermaid-O7DHMXV3-DacUyMKV.js";import{j as d}from"./index-CRuElBS1.js";var R=({code:i,language:e,raw:t,className:g,startLine:u,...m})=>{let{shikiTheme:o}=r.useContext(c),a=p(),[n,s]=r.useState(t);return r.useEffect(()=>{if(!a){s(t);return}let l=a.highlight({code:i,language:e,themes:o},h=>{s(h)});l&&s(l)},[i,e,o,a,t]),d.jsx(x,{className:g,language:e,result:n,startLine:u,...m})};export{R as HighlightedCodeBlockBody};