@yukino.js/yukino 0.0.21 → 0.0.22

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.
Files changed (71) hide show
  1. package/README.md +1 -1
  2. package/dist/{anthropic-LB4T3BEN.js → anthropic-5FTO3Q7W.js} +1 -1
  3. package/dist/browser/dist/static/{highlight-KNDEBJWF.js → highlight-7IMT657L.js} +9 -9
  4. package/dist/browser/dist/static/index.css +2 -2
  5. package/dist/browser/dist/static/index.js +81 -75
  6. package/dist/browser/dist/static/webapi-433PWHPB.js +4 -0
  7. package/dist/{chunk-NPIMUWFO.js → chunk-3FNHYMQD.js} +1 -1
  8. package/dist/{chunk-D6YQITPD.js → chunk-4UBQFHOG.js} +1 -1
  9. package/dist/{chunk-N7G2FDAI.js → chunk-5JFKXDO6.js} +1 -1
  10. package/dist/chunk-6YD572HB.js +4 -0
  11. package/dist/{chunk-XDERLDVW.js → chunk-7R67JSKQ.js} +1 -1
  12. package/dist/{chunk-FNQMXCCE.js → chunk-D5XGRVMZ.js} +1 -1
  13. package/dist/{chunk-WKKH2UE5.js → chunk-FOFOAOHI.js} +1 -1
  14. package/dist/{chunk-QYUIIFJY.js → chunk-GQKXEVHQ.js} +1 -1
  15. package/dist/{chunk-5D3QKHYQ.js → chunk-HNVICTWL.js} +1 -1
  16. package/dist/{chunk-ENUOAMFA.js → chunk-HQ6FH7CR.js} +1 -1
  17. package/dist/{chunk-FCZRCSNM.js → chunk-I2KB6I3D.js} +2 -2
  18. package/dist/chunk-KBRCX7GE.js +30 -0
  19. package/dist/chunk-LLPVYWAK.js +10 -0
  20. package/dist/{chunk-XXTMMEVY.js → chunk-TVVVY2T4.js} +173 -173
  21. package/dist/{chunk-6SWKDCK3.js → chunk-WXCPYSJ3.js} +1 -1
  22. package/dist/{chunk-57IGGFHK.js → chunk-XB5QPPSI.js} +1 -1
  23. package/dist/{chunk-CEP5W4VW.js → chunk-YWUBKWGK.js} +1 -1
  24. package/dist/{devtools-UVGRIXO2.js → devtools-BODX7K3L.js} +1 -1
  25. package/dist/{esm-HB7M3TZY.js → esm-4BJKCG42.js} +1 -1
  26. package/dist/{esm-63A57VQM.js → esm-AWTGQAUK.js} +1 -1
  27. package/dist/{esm-FURF4AWD.js → esm-JKMLEWEU.js} +1 -1
  28. package/dist/{esm-46K5BSA6.js → esm-MG7NDA4I.js} +1 -1
  29. package/dist/{esm-73AG4F4H.js → esm-NCNRWOJD.js} +1 -1
  30. package/dist/{esm-QAEO3U72.js → esm-QVP2GBDR.js} +1 -1
  31. package/dist/esm-ZR7DS25X.js +225 -0
  32. package/dist/file-type-Z4DPJWZH.js +12 -0
  33. package/dist/getMachineId-bsd-RSPO2LUX.js +4 -0
  34. package/dist/getMachineId-bsd-YMN7H6LU.js +4 -0
  35. package/dist/getMachineId-darwin-AOWQPOSH.js +5 -0
  36. package/dist/getMachineId-darwin-FEQVNOUN.js +5 -0
  37. package/dist/{getMachineId-win-2ZKMVYDE.js → getMachineId-win-H5SABCRW.js} +1 -1
  38. package/dist/{getMachineId-win-JOM5JSRW.js → getMachineId-win-RV3BPBHF.js} +1 -1
  39. package/dist/image-worker.js +1 -1
  40. package/dist/lib/{chunk-ZNDE6BQM.js → chunk-IOPSBIYR.js} +1 -1
  41. package/dist/lib/index.d.ts +802 -802
  42. package/dist/lib/index.js +19 -17
  43. package/dist/lib/{providers-RONNZOUT.js → providers-U3O7GOPH.js} +1 -1
  44. package/dist/{main-V4RKN5MY.js → main-BIBLUWZX.js} +219 -213
  45. package/dist/main.js +2 -2
  46. package/dist/{openai-UOCUBMFA.js → openai-AYEJOJTA.js} +1 -1
  47. package/dist/{providers-NYJNJO7D.js → providers-USI6GYZC.js} +9 -9
  48. package/dist/{server-XFB4HEJU.js → server-RGAJNHA4.js} +1 -1
  49. package/dist/{server-7QJH5UCM.js → server-XHQ7YJGI.js} +2 -2
  50. package/dist/{src-CHQYSTW5.js → src-E2NOTM6J.js} +1 -1
  51. package/dist/{src-HH6MC5CF.js → src-EBGRLYAR.js} +1 -1
  52. package/dist/{src-YWYPK5QA.js → src-HBBKRA75.js} +1 -1
  53. package/dist/src-P77FB5XW.js +12 -0
  54. package/dist/{turndown.es-NQ3KDXM7.js → turndown.es-E6SHSU5B.js} +13 -13
  55. package/package.json +2 -2
  56. package/dist/browser/dist/static/webapi-HZESKPJE.js +0 -4
  57. package/dist/chunk-5AOJ5ZSQ.js +0 -30
  58. package/dist/chunk-VM4YKTHC.js +0 -10
  59. package/dist/chunk-WKTO7XPO.js +0 -4
  60. package/dist/esm-6D27H27M.js +0 -225
  61. package/dist/file-type-PSFVPAEH.js +0 -12
  62. package/dist/getMachineId-bsd-2MDOCJCH.js +0 -4
  63. package/dist/getMachineId-bsd-L5XEQF74.js +0 -4
  64. package/dist/getMachineId-darwin-SMQEPEZ2.js +0 -5
  65. package/dist/getMachineId-darwin-V3OSZDJX.js +0 -5
  66. package/dist/src-P2WNZ6IY.js +0 -12
  67. /package/dist/{chunk-HKQWGX5S.js → chunk-UJIMMEIV.js} +0 -0
  68. /package/dist/{getMachineId-linux-OWR5YFVH.js → getMachineId-linux-337SESKP.js} +0 -0
  69. /package/dist/{getMachineId-linux-C4WJW6ZL.js → getMachineId-linux-P6HXMSZR.js} +0 -0
  70. /package/dist/{getMachineId-unsupported-M7AEHRA4.js → getMachineId-unsupported-52TDEFNE.js} +0 -0
  71. /package/dist/{getMachineId-unsupported-J7U5FNFT.js → getMachineId-unsupported-FWRH7XFO.js} +0 -0
@@ -1,4 +1,4 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire as __yukinoCreateRequire } from "node:module";
3
3
  const require = __yukinoCreateRequire(import.meta.url);
4
- import{a as L,d as B,e as n,o as g,r as h,s as A,t as U,u as S,w as v}from"./chunk-NPIMUWFO.js";import{e as R,p as I,q as i,r as t,t as M,x as D}from"./chunk-WKKH2UE5.js";import{n as u,q as N}from"./chunk-456FRBGE.js";import{b as o,d as y}from"./chunk-7MKA3SHV.js";var E,p=o(()=>{"use strict";(function(e){e[e.DELTA=0]="DELTA",e[e.CUMULATIVE=1]="CUMULATIVE",e[e.LOWMEMORY=2]="LOWMEMORY"})(E||(E={}))});function G(){let e=(R("OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE")??"cumulative").toLowerCase();return e==="cumulative"?c:e==="delta"?s:e==="lowmemory"?l:(u.warn(`OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE is set to '${e}', but only 'cumulative' and 'delta' are allowed. Using default ('cumulative') instead.`),c)}function V(e){return e!=null?e===E.DELTA?s:e===E.LOWMEMORY?l:c:G()}function w(e){return e?.aggregationPreference??(()=>d)}var c,s,l,d,a,O=o(()=>{"use strict";I();D();p();B();N();c=()=>i.CUMULATIVE,s=e=>{switch(e){case t.COUNTER:case t.OBSERVABLE_COUNTER:case t.GAUGE:case t.HISTOGRAM:case t.OBSERVABLE_GAUGE:return i.DELTA;case t.UP_DOWN_COUNTER:case t.OBSERVABLE_UP_DOWN_COUNTER:return i.CUMULATIVE}},l=e=>{switch(e){case t.COUNTER:case t.HISTOGRAM:return i.DELTA;case t.GAUGE:case t.UP_DOWN_COUNTER:case t.OBSERVABLE_UP_DOWN_COUNTER:case t.OBSERVABLE_COUNTER:case t.OBSERVABLE_GAUGE:return i.CUMULATIVE}};d=Object.freeze({type:M.DEFAULT});a=class extends L{_aggregationTemporalitySelector;_aggregationSelector;constructor(r,m){super(r),this._aggregationSelector=w(m),this._aggregationTemporalitySelector=V(m?.temporalityPreference)}selectAggregation(r){return this._aggregationSelector(r)}selectAggregationTemporality(r){return this._aggregationTemporalitySelector(r)}}});var _,C=o(()=>{"use strict";_="otlp_http_metric_exporter"});var T,P=o(()=>{"use strict";O();h();v();C();T=class extends a{_url;constructor(r){super(U(S(r??{},"METRICS","v1/metrics",{"Content-Type":"application/json"}),g,_,n,r?.selfObsMeterProvider),r),this._url=r?.url}setSelfObsMeterProvider(r){this.setMetrics(A(_,n,this._url,r))}}});var f=o(()=>{"use strict";P()});var x=o(()=>{"use strict";f()});var H={};y(H,{AggregationTemporalityPreference:()=>E,CumulativeTemporalitySelector:()=>c,DeltaTemporalitySelector:()=>s,LowMemoryTemporalitySelector:()=>l,OTLPMetricExporter:()=>T,OTLPMetricExporterBase:()=>a});var W=o(()=>{x();p();O()});export{E as a,c as b,s as c,l as d,a as e,T as f,H as g,W as h};
4
+ import{a as L,d as B,e as n,o as g,r as h,s as A,t as U,u as S,w as v}from"./chunk-3FNHYMQD.js";import{e as R,p as I,q as i,r as t,t as M,x as D}from"./chunk-FOFOAOHI.js";import{n as u,q as N}from"./chunk-456FRBGE.js";import{b as o,d as y}from"./chunk-7MKA3SHV.js";var E,p=o(()=>{"use strict";(function(e){e[e.DELTA=0]="DELTA",e[e.CUMULATIVE=1]="CUMULATIVE",e[e.LOWMEMORY=2]="LOWMEMORY"})(E||(E={}))});function G(){let e=(R("OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE")??"cumulative").toLowerCase();return e==="cumulative"?c:e==="delta"?s:e==="lowmemory"?l:(u.warn(`OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE is set to '${e}', but only 'cumulative' and 'delta' are allowed. Using default ('cumulative') instead.`),c)}function V(e){return e!=null?e===E.DELTA?s:e===E.LOWMEMORY?l:c:G()}function w(e){return e?.aggregationPreference??(()=>d)}var c,s,l,d,a,O=o(()=>{"use strict";I();D();p();B();N();c=()=>i.CUMULATIVE,s=e=>{switch(e){case t.COUNTER:case t.OBSERVABLE_COUNTER:case t.GAUGE:case t.HISTOGRAM:case t.OBSERVABLE_GAUGE:return i.DELTA;case t.UP_DOWN_COUNTER:case t.OBSERVABLE_UP_DOWN_COUNTER:return i.CUMULATIVE}},l=e=>{switch(e){case t.COUNTER:case t.HISTOGRAM:return i.DELTA;case t.GAUGE:case t.UP_DOWN_COUNTER:case t.OBSERVABLE_UP_DOWN_COUNTER:case t.OBSERVABLE_COUNTER:case t.OBSERVABLE_GAUGE:return i.CUMULATIVE}};d=Object.freeze({type:M.DEFAULT});a=class extends L{_aggregationTemporalitySelector;_aggregationSelector;constructor(r,m){super(r),this._aggregationSelector=w(m),this._aggregationTemporalitySelector=V(m?.temporalityPreference)}selectAggregation(r){return this._aggregationSelector(r)}selectAggregationTemporality(r){return this._aggregationTemporalitySelector(r)}}});var _,C=o(()=>{"use strict";_="otlp_http_metric_exporter"});var T,P=o(()=>{"use strict";O();h();v();C();T=class extends a{_url;constructor(r){super(U(S(r??{},"METRICS","v1/metrics",{"Content-Type":"application/json"}),g,_,n,r?.selfObsMeterProvider),r),this._url=r?.url}setSelfObsMeterProvider(r){this.setMetrics(A(_,n,this._url,r))}}});var f=o(()=>{"use strict";P()});var x=o(()=>{"use strict";f()});var H={};y(H,{AggregationTemporalityPreference:()=>E,CumulativeTemporalitySelector:()=>c,DeltaTemporalitySelector:()=>s,LowMemoryTemporalitySelector:()=>l,OTLPMetricExporter:()=>T,OTLPMetricExporterBase:()=>a});var W=o(()=>{x();p();O()});export{E as a,c as b,s as c,l as d,a as e,T as f,H as g,W as h};
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire as __yukinoCreateRequire } from "node:module";
3
3
  const require = __yukinoCreateRequire(import.meta.url);
4
- import{Bc as O,Ec as l,Ib as I,Jb as R,Pa as y,jc as S,kc as C,ob as E,zc as p}from"./chunk-5AOJ5ZSQ.js";function u(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function L(e){return E.has(e)}function h(e){return u(e)&&e.type==="text"&&typeof e.text=="string"?{type:"text",text:e.text}:null}function x(e){return!u(e)||e.type!=="image"||!u(e.source)?null:e.source.type==="url"&&typeof e.source.url=="string"?{type:"image",source:{type:"url",url:e.source.url}}:e.source.type==="base64"&&typeof e.source.media_type=="string"&&L(e.source.media_type)&&typeof e.source.data=="string"?{type:"image",source:{type:"base64",media_type:e.source.media_type,data:e.source.data}}:null}function U(e){if(e.type!=="document"||!u(e.source))return null;let t=null;if(e.source.type==="url"&&typeof e.source.url=="string")t={type:"url",url:e.source.url};else if(e.source.type==="base64"&&e.source.media_type==="application/pdf"&&typeof e.source.data=="string")t={type:"base64",media_type:"application/pdf",data:e.source.data};else if(e.source.type==="text"&&e.source.media_type==="text/plain"&&typeof e.source.data=="string")t={type:"text",media_type:"text/plain",data:e.source.data};else if(e.source.type==="content"){if(typeof e.source.content=="string")t={type:"content",content:e.source.content};else if(Array.isArray(e.source.content)){let o=[];for(let r of e.source.content){let s=h(r)??x(r);if(!s)return null;o.push(s)}t={type:"content",content:o}}}return t?{type:"document",source:t,...typeof e.title=="string"||e.title===null?{title:e.title}:{},...typeof e.context=="string"||e.context===null?{context:e.context}:{}}:null}function $(e){let t=h(e);if(t)return t;let o=x(e);if(o)return o;if(!u(e))return null;if(e.type==="tool_reference"&&typeof e.tool_name=="string")return{type:"tool_reference",tool_name:e.tool_name};if(e.type==="search_result"&&typeof e.source=="string"&&typeof e.title=="string"&&Array.isArray(e.content)){let r=[];for(let s of e.content){let n=h(s);if(!n)return null;r.push(n)}return{type:"search_result",source:e.source,title:e.title,content:r}}return U(e)}var J="# MCP Server Instructions",a="mcp__",Q="io.modelcontextprotocol/ui",V="text/html;profile=mcp-app",Z="ui://";var ee="advanced-tool-use-2025-11-20",P=new Set(["api.anthropic.com"]),te=new Set(["image/png","image/jpeg","image/gif","image/webp"]),oe="Not connected";var v=y({module:"mcp"});function d(e){return e.replace(/[^a-zA-Z0-9_]/g,"_")}function F(e){return`${a}${d(e)}${"__"}`}function f(e,t){return F(e)+d(t)}var k=class{name;description;category="command";deferred=!0;mcpServerName;client;originalName;inputSchema;constructor(t,o,r){this.name=f(o,r.name),this.description=r.description,this.originalName=r.name,this.client=t,this.inputSchema=r.inputSchema,this.mcpServerName=o}mcpInputSchema(){return this.inputSchema??{}}setDeferLoading(t){this.deferred=t}schema(){return{name:this.name,description:this.description,input_schema:this.inputSchema}}async execute(t,o){try{return await this.client.callTool(this.originalName,o,t.abortSignal)}catch(r){return v.error({err:r},"mcp operation failed"),{output:`MCP tool error: ${O(r)}`,isError:!0}}}};function ce(e,t,o){switch(e){case"explicit":return`Command running in background (task_id: ${t}). You will be notified when it completes; do not poll. Use TaskStop with task_id to kill it early.`;case"timeout":return`Command exceeded its ${String(o)}s timeout and was moved to the background (task_id: ${t}). It is still running \u2014 you will be notified when it completes.`;case"user":return`Command was manually backgrounded by the user (task_id: ${t}). It is still running \u2014 you will be notified when it completes.`}}var A="Git: commit or push only when requested. Destructive operations (push --force, reset --hard, checkout ., clean -f, branch -D), amending, or skipping hooks/signing require explicit authorization; never bypass permission/hook denials. Prefer new commits. When committing, include Co-Authored-By: Yukino <usr161043261@outlook.com>.",le=`Execute command in Bash; return stdout and stderr. Prefer PowerShell on Windows.
4
+ import{Bc as O,Ec as l,Ib as I,Jb as R,Pa as y,jc as S,kc as C,ob as E,zc as p}from"./chunk-KBRCX7GE.js";function u(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function L(e){return E.has(e)}function h(e){return u(e)&&e.type==="text"&&typeof e.text=="string"?{type:"text",text:e.text}:null}function x(e){return!u(e)||e.type!=="image"||!u(e.source)?null:e.source.type==="url"&&typeof e.source.url=="string"?{type:"image",source:{type:"url",url:e.source.url}}:e.source.type==="base64"&&typeof e.source.media_type=="string"&&L(e.source.media_type)&&typeof e.source.data=="string"?{type:"image",source:{type:"base64",media_type:e.source.media_type,data:e.source.data}}:null}function U(e){if(e.type!=="document"||!u(e.source))return null;let t=null;if(e.source.type==="url"&&typeof e.source.url=="string")t={type:"url",url:e.source.url};else if(e.source.type==="base64"&&e.source.media_type==="application/pdf"&&typeof e.source.data=="string")t={type:"base64",media_type:"application/pdf",data:e.source.data};else if(e.source.type==="text"&&e.source.media_type==="text/plain"&&typeof e.source.data=="string")t={type:"text",media_type:"text/plain",data:e.source.data};else if(e.source.type==="content"){if(typeof e.source.content=="string")t={type:"content",content:e.source.content};else if(Array.isArray(e.source.content)){let o=[];for(let r of e.source.content){let s=h(r)??x(r);if(!s)return null;o.push(s)}t={type:"content",content:o}}}return t?{type:"document",source:t,...typeof e.title=="string"||e.title===null?{title:e.title}:{},...typeof e.context=="string"||e.context===null?{context:e.context}:{}}:null}function $(e){let t=h(e);if(t)return t;let o=x(e);if(o)return o;if(!u(e))return null;if(e.type==="tool_reference"&&typeof e.tool_name=="string")return{type:"tool_reference",tool_name:e.tool_name};if(e.type==="search_result"&&typeof e.source=="string"&&typeof e.title=="string"&&Array.isArray(e.content)){let r=[];for(let s of e.content){let n=h(s);if(!n)return null;r.push(n)}return{type:"search_result",source:e.source,title:e.title,content:r}}return U(e)}var J="# MCP Server Instructions",a="mcp__",Q="io.modelcontextprotocol/ui",V="text/html;profile=mcp-app",Z="ui://";var ee="advanced-tool-use-2025-11-20",P=new Set(["api.anthropic.com"]),te=new Set(["image/png","image/jpeg","image/gif","image/webp"]),oe="Not connected";var v=y({module:"mcp"});function d(e){return e.replace(/[^a-zA-Z0-9_]/g,"_")}function F(e){return`${a}${d(e)}${"__"}`}function f(e,t){return F(e)+d(t)}var k=class{name;description;category="command";deferred=!0;mcpServerName;client;originalName;inputSchema;constructor(t,o,r){this.name=f(o,r.name),this.description=r.description,this.originalName=r.name,this.client=t,this.inputSchema=r.inputSchema,this.mcpServerName=o}mcpInputSchema(){return this.inputSchema??{}}setDeferLoading(t){this.deferred=t}schema(){return{name:this.name,description:this.description,input_schema:this.inputSchema}}async execute(t,o){try{return await this.client.callTool(this.originalName,o,t.abortSignal)}catch(r){return v.error({err:r},"mcp operation failed"),{output:`MCP tool error: ${O(r)}`,isError:!0}}}};function ce(e,t,o){switch(e){case"explicit":return`Command running in background (task_id: ${t}). You will be notified when it completes; do not poll. Use TaskStop with task_id to kill it early.`;case"timeout":return`Command exceeded its ${String(o)}s timeout and was moved to the background (task_id: ${t}). It is still running \u2014 you will be notified when it completes.`;case"user":return`Command was manually backgrounded by the user (task_id: ${t}). It is still running \u2014 you will be notified when it completes.`}}var A="Git: commit or push only when requested. Destructive operations (push --force, reset --hard, checkout ., clean -f, branch -D), amending, or skipping hooks/signing require explicit authorization; never bypass permission/hook denials. Prefer new commits. When committing, include Co-Authored-By: Yukino <usr161043261@outlook.com>.",le=`Execute command in Bash; return stdout and stderr. Prefer PowerShell on Windows.
5
5
  - timeout is in seconds: default 120, maximum 600. Each call starts a fresh, independent shell in the Agent's working directory; cd, variables, functions, and options do not persist.
6
6
  - Quote paths with spaces. To change directory, use cd "path" && command in the same call. Separate independent commands; chain dependent commands with &&, not ;.
7
7
  - Prefer dedicated file/search tools over cat, head, tail, sed, awk, echo, or find. Scope searches to a directory, never the filesystem root. Diagnose failures rather than retrying in sleep loops.
@@ -1,4 +1,4 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire as __yukinoCreateRequire } from "node:module";
3
3
  const require = __yukinoCreateRequire(import.meta.url);
4
- import{B as e}from"./chunk-QSKJBSCI.js";import{readFileSync as i}from"fs";import o from"path";import{fileURLToPath as c}from"url";var f=e.object({version:e.string()});function _(){return"0.0.21"}var u=_();export{u as a};
4
+ import{B as e}from"./chunk-QSKJBSCI.js";import{readFileSync as i}from"fs";import o from"path";import{fileURLToPath as c}from"url";var f=e.object({version:e.string()});function _(){return"0.0.22"}var u=_();export{u as a};
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire as __yukinoCreateRequire } from "node:module";
3
3
  const require = __yukinoCreateRequire(import.meta.url);
4
- import{c as t}from"./chunk-VM4YKTHC.js";import"./chunk-7MKA3SHV.js";var n=globalThis;n.WebSocket||=t;n.window||=globalThis;n.self||=globalThis;n.window.__REACT_DEVTOOLS_COMPONENT_FILTERS__=[{type:1,value:7,isEnabled:!0},{type:2,value:"InternalApp",isEnabled:!0,isValid:!0},{type:2,value:"InternalAppContext",isEnabled:!0,isValid:!0},{type:2,value:"InternalStdoutContext",isEnabled:!0,isValid:!0},{type:2,value:"InternalStderrContext",isEnabled:!0,isValid:!0},{type:2,value:"InternalStdinContext",isEnabled:!0,isValid:!0},{type:2,value:"InternalFocusContext",isEnabled:!0,isValid:!0}];import a from"react-devtools-core";var l=async()=>new Promise(o=>{let e=new t("ws://localhost:8097"),i=setTimeout(()=>{e.terminate(),o(!1)},2e3);i.unref(),e.on("open",()=>{clearTimeout(i),e.terminate(),o(!0)}),e.on("error",()=>{clearTimeout(i),e.terminate(),o(!1)})});await l()?(a.initialize(),a.connectToDevTools()):console.warn(`DEV is set to true, but the React DevTools server is not running. Start it with:
4
+ import{c as t}from"./chunk-LLPVYWAK.js";import"./chunk-7MKA3SHV.js";var n=globalThis;n.WebSocket||=t;n.window||=globalThis;n.self||=globalThis;n.window.__REACT_DEVTOOLS_COMPONENT_FILTERS__=[{type:1,value:7,isEnabled:!0},{type:2,value:"InternalApp",isEnabled:!0,isValid:!0},{type:2,value:"InternalAppContext",isEnabled:!0,isValid:!0},{type:2,value:"InternalStdoutContext",isEnabled:!0,isValid:!0},{type:2,value:"InternalStderrContext",isEnabled:!0,isValid:!0},{type:2,value:"InternalStdinContext",isEnabled:!0,isValid:!0},{type:2,value:"InternalFocusContext",isEnabled:!0,isValid:!0}];import a from"react-devtools-core";var l=async()=>new Promise(o=>{let e=new t("ws://localhost:8097"),i=setTimeout(()=>{e.terminate(),o(!1)},2e3);i.unref(),e.on("open",()=>{clearTimeout(i),e.terminate(),o(!0)}),e.on("error",()=>{clearTimeout(i),e.terminate(),o(!1)})});await l()?(a.initialize(),a.connectToDevTools()):console.warn(`DEV is set to true, but the React DevTools server is not running. Start it with:
5
5
 
6
6
  $ npx react-devtools
7
7
  `);
@@ -1,4 +1,4 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire as __yukinoCreateRequire } from "node:module";
3
3
  const require = __yukinoCreateRequire(import.meta.url);
4
- import{a}from"./chunk-N7G2FDAI.js";import"./chunk-NPIMUWFO.js";import"./chunk-WKKH2UE5.js";import"./chunk-HKQWGX5S.js";import"./chunk-456FRBGE.js";import"./chunk-7MKA3SHV.js";export{a as OTLPTraceExporter};
4
+ import{a}from"./chunk-5JFKXDO6.js";import"./chunk-3FNHYMQD.js";import"./chunk-FOFOAOHI.js";import"./chunk-UJIMMEIV.js";import"./chunk-456FRBGE.js";import"./chunk-7MKA3SHV.js";export{a as OTLPTraceExporter};
@@ -1,4 +1,4 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire as __yukinoCreateRequire } from "node:module";
3
3
  const require = __yukinoCreateRequire(import.meta.url);
4
- import{a,b,c,d,e,f,h as g}from"./chunk-6SWKDCK3.js";import"./chunk-NPIMUWFO.js";import"./chunk-WKKH2UE5.js";import"./chunk-HKQWGX5S.js";import"./chunk-456FRBGE.js";import"./chunk-7MKA3SHV.js";g();export{a as AggregationTemporalityPreference,b as CumulativeTemporalitySelector,c as DeltaTemporalitySelector,d as LowMemoryTemporalitySelector,f as OTLPMetricExporter,e as OTLPMetricExporterBase};
4
+ import{a,b,c,d,e,f,h as g}from"./chunk-WXCPYSJ3.js";import"./chunk-3FNHYMQD.js";import"./chunk-FOFOAOHI.js";import"./chunk-UJIMMEIV.js";import"./chunk-456FRBGE.js";import"./chunk-7MKA3SHV.js";g();export{a as AggregationTemporalityPreference,b as CumulativeTemporalitySelector,c as DeltaTemporalitySelector,d as LowMemoryTemporalitySelector,f as OTLPMetricExporter,e as OTLPMetricExporterBase};
@@ -1,4 +1,4 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire as __yukinoCreateRequire } from "node:module";
3
3
  const require = __yukinoCreateRequire(import.meta.url);
4
- import{a as e,d as _,f as o,m as p,r as O,t as T,u as E,w as a}from"./chunk-NPIMUWFO.js";import"./chunk-WKKH2UE5.js";import"./chunk-HKQWGX5S.js";import"./chunk-456FRBGE.js";import"./chunk-7MKA3SHV.js";_();O();a();var P="otlp_http_span_exporter";var r=class extends e{constructor(t={}){super(T(E(t,"TRACES","v1/traces",{"Content-Type":"application/x-protobuf"}),p,P,o,t.selfObsMeterProvider))}};export{r as OTLPTraceExporter};
4
+ import{a as e,d as _,f as o,m as p,r as O,t as T,u as E,w as a}from"./chunk-3FNHYMQD.js";import"./chunk-FOFOAOHI.js";import"./chunk-UJIMMEIV.js";import"./chunk-456FRBGE.js";import"./chunk-7MKA3SHV.js";_();O();a();var P="otlp_http_span_exporter";var r=class extends e{constructor(t={}){super(T(E(t,"TRACES","v1/traces",{"Content-Type":"application/x-protobuf"}),p,P,o,t.selfObsMeterProvider))}};export{r as OTLPTraceExporter};
@@ -1,4 +1,4 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire as __yukinoCreateRequire } from "node:module";
3
3
  const require = __yukinoCreateRequire(import.meta.url);
4
- import{e as T,h as c}from"./chunk-6SWKDCK3.js";import{e,l as p,r as _,s,t as i,u as E,w as O}from"./chunk-NPIMUWFO.js";import"./chunk-WKKH2UE5.js";import"./chunk-HKQWGX5S.js";import"./chunk-456FRBGE.js";import"./chunk-7MKA3SHV.js";c();_();O();var o="otlp_http_metric_exporter";var t=class extends T{_url;constructor(r){super(i(E(r??{},"METRICS","v1/metrics",{"Content-Type":"application/x-protobuf"}),p,o,e,r?.selfObsMeterProvider),r),this._url=r?.url}setSelfObsMeterProvider(r){this.setMetrics(s(o,e,this._url,r))}};export{t as OTLPMetricExporter};
4
+ import{e as T,h as c}from"./chunk-WXCPYSJ3.js";import{e,l as p,r as _,s,t as i,u as E,w as O}from"./chunk-3FNHYMQD.js";import"./chunk-FOFOAOHI.js";import"./chunk-UJIMMEIV.js";import"./chunk-456FRBGE.js";import"./chunk-7MKA3SHV.js";c();_();O();var o="otlp_http_metric_exporter";var t=class extends T{_url;constructor(r){super(i(E(r??{},"METRICS","v1/metrics",{"Content-Type":"application/x-protobuf"}),p,o,e,r?.selfObsMeterProvider),r),this._url=r?.url}setSelfObsMeterProvider(r){this.setMetrics(s(o,e,this._url,r))}};export{t as OTLPMetricExporter};
@@ -1,4 +1,4 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire as __yukinoCreateRequire } from "node:module";
3
3
  const require = __yukinoCreateRequire(import.meta.url);
4
- import{a as t,d as L,g as e,k as p,r as _,t as O,u as T,w as P}from"./chunk-NPIMUWFO.js";import"./chunk-WKKH2UE5.js";import"./chunk-HKQWGX5S.js";import"./chunk-456FRBGE.js";import"./chunk-7MKA3SHV.js";L();_();P();var E="otlp_http_log_exporter";var r=class extends t{constructor(o={}){super(O(T(o,"LOGS","v1/logs",{"Content-Type":"application/x-protobuf"}),p,E,e,o.selfObsMeterProvider))}};export{r as OTLPLogExporter};
4
+ import{a as t,d as L,g as e,k as p,r as _,t as O,u as T,w as P}from"./chunk-3FNHYMQD.js";import"./chunk-FOFOAOHI.js";import"./chunk-UJIMMEIV.js";import"./chunk-456FRBGE.js";import"./chunk-7MKA3SHV.js";L();_();P();var E="otlp_http_log_exporter";var r=class extends t{constructor(o={}){super(O(T(o,"LOGS","v1/logs",{"Content-Type":"application/x-protobuf"}),p,E,e,o.selfObsMeterProvider))}};export{r as OTLPLogExporter};
@@ -1,4 +1,4 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire as __yukinoCreateRequire } from "node:module";
3
3
  const require = __yukinoCreateRequire(import.meta.url);
4
- import{a as t,d as L,g as e,n as p,r as _,t as O,u as T,w as s}from"./chunk-NPIMUWFO.js";import"./chunk-WKKH2UE5.js";import"./chunk-HKQWGX5S.js";import"./chunk-456FRBGE.js";import"./chunk-7MKA3SHV.js";L();_();s();var E="otlp_http_log_exporter";var r=class extends t{constructor(o={}){super(O(T(o,"LOGS","v1/logs",{"Content-Type":"application/json"}),p,E,e,o.selfObsMeterProvider))}};export{r as OTLPLogExporter};
4
+ import{a as t,d as L,g as e,n as p,r as _,t as O,u as T,w as s}from"./chunk-3FNHYMQD.js";import"./chunk-FOFOAOHI.js";import"./chunk-UJIMMEIV.js";import"./chunk-456FRBGE.js";import"./chunk-7MKA3SHV.js";L();_();s();var E="otlp_http_log_exporter";var r=class extends t{constructor(o={}){super(O(T(o,"LOGS","v1/logs",{"Content-Type":"application/json"}),p,E,e,o.selfObsMeterProvider))}};export{r as OTLPLogExporter};