@swifty.js/swifty 0.0.31 → 0.0.33

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 (86) hide show
  1. package/README.md +110 -3
  2. package/dist/acp-5WRTN2LL.js +14 -0
  3. package/dist/agent-3CAPJCPD.js +4 -0
  4. package/dist/anthropic-FXRRA63E.js +4 -0
  5. package/dist/{bwrap-TPE6G4BM.js → bwrap-ZTS67W2K.js} +1 -1
  6. package/dist/checker-3O7QF7XV.js +4 -0
  7. package/dist/chunk-2U4IWZ6E.js +4 -0
  8. package/dist/chunk-35X3GW25.js +4 -0
  9. package/dist/chunk-4C3KJLJV.js +4 -0
  10. package/dist/chunk-4HSQBZBI.js +4 -0
  11. package/dist/{chunk-AGJYBJ5M.js → chunk-4PQYUHSN.js} +1 -1
  12. package/dist/chunk-6I3HEMIE.js +4 -0
  13. package/dist/{chunk-C3WGLVVZ.js → chunk-7JQHFZRD.js} +2 -2
  14. package/dist/chunk-C5WLP3DH.js +5 -0
  15. package/dist/chunk-FUKVR3XO.js +608 -0
  16. package/dist/chunk-FZORZF22.js +16 -0
  17. package/dist/chunk-G2TE2QZM.js +4 -0
  18. package/dist/chunk-I7XJSLRI.js +4 -0
  19. package/dist/{chunk-OQCEP2F5.js → chunk-IKQTIDRL.js} +1 -1
  20. package/dist/chunk-IZ7QOBSB.js +4 -0
  21. package/dist/chunk-LC7ZWLIH.js +4 -0
  22. package/dist/chunk-LHSUYZO5.js +4 -0
  23. package/dist/chunk-M4D66APS.js +67 -0
  24. package/dist/chunk-NAAAN2TD.js +60 -0
  25. package/dist/chunk-NCZR3AGA.js +65 -0
  26. package/dist/{server-BNT2IIKB.js → chunk-PXQD6GWP.js} +15 -22
  27. package/dist/{chunk-FPQ2LBL4.js → chunk-QQVDL4QT.js} +1 -1
  28. package/dist/{chunk-TCQ4EB4G.js → chunk-TNF3EHFY.js} +1 -1
  29. package/dist/chunk-XGUH7SGV.js +4 -0
  30. package/dist/chunk-YIKI3EPG.js +150 -0
  31. package/dist/chunk-YKWIZE5D.js +4 -0
  32. package/dist/{devtools-OJ75EP3T.js → devtools-WJM4UVVT.js} +1 -1
  33. package/dist/esm-46WSO26W.js +4 -0
  34. package/dist/esm-4DBD7ONK.js +229 -0
  35. package/dist/esm-6EDGM6QS.js +4 -0
  36. package/dist/esm-D6BB3FBR.js +4 -0
  37. package/dist/esm-P2KEXEEK.js +4 -0
  38. package/dist/esm-XYKZYVLV.js +4 -0
  39. package/dist/esm-YJVVI2QX.js +4 -0
  40. package/dist/getMachineId-bsd-NBOQ3GRQ.js +4 -0
  41. package/dist/getMachineId-darwin-6VBNSUFR.js +5 -0
  42. package/dist/getMachineId-linux-RQ33NIOO.js +4 -0
  43. package/dist/getMachineId-unsupported-IWOYPUHZ.js +4 -0
  44. package/dist/getMachineId-win-ITT3WXP6.js +4 -0
  45. package/dist/lib/agent-NNYCUIOF.js +10 -0
  46. package/dist/lib/{anthropic-R6DMXE7U.js → anthropic-B33M2AVN.js} +4 -4
  47. package/dist/lib/{checker-M7RKMKJQ.js → checker-UPY4CXUL.js} +3 -3
  48. package/dist/lib/{chunk-OQIQOU5S.js → chunk-3OFLDUAW.js} +121 -1
  49. package/dist/lib/{chunk-EY7HE52Q.js → chunk-3XCGUKGJ.js} +18 -24
  50. package/dist/lib/{chunk-J6AV7SIF.js → chunk-AFYPVA5C.js} +261 -25
  51. package/dist/lib/{chunk-FZ4Y6MBN.js → chunk-BCBD34D2.js} +1 -1
  52. package/dist/lib/{chunk-A4MXZA5Q.js → chunk-CFYAZWDA.js} +10 -4
  53. package/dist/lib/{chunk-4MDCRPVV.js → chunk-FODSMOWP.js} +6 -6
  54. package/dist/lib/chunk-GTHYQZRL.js +31 -0
  55. package/dist/lib/{chunk-EWE5IWZE.js → chunk-LDWFI6MR.js} +15 -4
  56. package/dist/lib/{chunk-OEPCNATU.js → chunk-TJLAJGG4.js} +2 -2
  57. package/dist/lib/index.d.ts +2339 -1581
  58. package/dist/lib/index.js +12210 -10961
  59. package/dist/lib/{openai-5N42ZYIJ.js → openai-C2PZFGJ2.js} +3 -3
  60. package/dist/lib/providers-UJEWP7C7.js +419 -0
  61. package/dist/lib/{tool-filter-XG2GXFVN.js → tool-filter-BFEINZIA.js} +1 -1
  62. package/dist/main.js +190 -183
  63. package/dist/{node-4LTSRXL2.js → node-A6KBFKOV.js} +1 -1
  64. package/dist/{openai-NQYARTT6.js → openai-WPEICAZ4.js} +1 -1
  65. package/dist/providers-WNYZUMZ3.js +6 -0
  66. package/dist/seatbelt-PSPJ5LBR.js +5 -0
  67. package/dist/server-YPBLBRDN.js +4 -0
  68. package/dist/src-3A5BCUSZ.js +4 -0
  69. package/dist/src-CRYFVH7Y.js +12 -0
  70. package/dist/src-Y77IB66J.js +4 -0
  71. package/dist/src-ZCW4GCG2.js +4 -0
  72. package/dist/{tool-filter-5NDJMSTD.js → tool-filter-X6IYME2K.js} +1 -1
  73. package/dist/turndown.es-WNOSVZF6.js +83 -0
  74. package/package.json +38 -15
  75. package/dist/agent-O6C4FCQY.js +0 -4
  76. package/dist/anthropic-CFM2DXMB.js +0 -4
  77. package/dist/checker-A6PGACKZ.js +0 -4
  78. package/dist/chunk-4ABFUBO4.js +0 -601
  79. package/dist/chunk-AQ3A5CF4.js +0 -5
  80. package/dist/chunk-MVVSONAE.js +0 -4
  81. package/dist/chunk-OTVZGPHD.js +0 -121
  82. package/dist/chunk-X3UA5OZL.js +0 -4
  83. package/dist/chunk-Y2UUXOQA.js +0 -4
  84. package/dist/chunk-YAXZ2OUD.js +0 -150
  85. package/dist/lib/agent-YRTROHXU.js +0 -10
  86. package/dist/seatbelt-YXUQ5XR3.js +0 -5
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env node
2
+ import { createRequire as __swiftyCreateRequire } from "node:module";
3
+ const require = __swiftyCreateRequire(import.meta.url);
4
+ import"./chunk-IZ7QOBSB.js";import{existsSync as a,statSync as i}from"fs";var r="/usr/bin/sandbox-exec",t=class{available(){return a(r)}wrap(s,e){let n=p(e),l=s.replace(/'/g,"'\\''");return`${r} -p '${n}' bash -c '${l}'`}};function p(o){let s=[];s.push("(version 1)"),s.push("(deny default)"),s.push("(allow process-exec)"),s.push("(allow process-fork)"),s.push("(allow sysctl-read)"),s.push('(allow file-read* (subpath "/"))');for(let e of o.allowWrite)s.push(`(allow file-write* (subpath "${e}"))`);for(let e of o.denyWrite){let n=a(e)&&i(e).isDirectory()?"subpath":"literal";s.push(`(deny file-write* (${n} "${e}"))`)}return o.networkEnabled?s.push("(allow network*)"):s.push("(deny network*)"),s.join(`
5
+ `)}export{t as SeatbeltSandbox};
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env node
2
+ import { createRequire as __swiftyCreateRequire } from "node:module";
3
+ const require = __swiftyCreateRequire(import.meta.url);
4
+ import{b as a,c as b}from"./chunk-PXQD6GWP.js";import"./chunk-FUKVR3XO.js";import"./chunk-4C3KJLJV.js";import"./chunk-LHSUYZO5.js";import"./chunk-YIKI3EPG.js";import"./chunk-4PQYUHSN.js";import"./chunk-TNF3EHFY.js";import"./chunk-C5WLP3DH.js";import"./chunk-4HSQBZBI.js";import"./chunk-IKQTIDRL.js";import"./chunk-NAAAN2TD.js";import"./chunk-NCZR3AGA.js";import"./chunk-QQVDL4QT.js";import"./chunk-IZ7QOBSB.js";export{b as RemoteServer,a as createRemoteAgent};
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env node
2
+ import { createRequire as __swiftyCreateRequire } from "node:module";
3
+ const require = __swiftyCreateRequire(import.meta.url);
4
+ import{a as l}from"./chunk-M4D66APS.js";import{g as u,h as L}from"./chunk-2U4IWZ6E.js";import{p as T,q as M}from"./chunk-G2TE2QZM.js";import"./chunk-FZORZF22.js";import"./chunk-YKWIZE5D.js";import"./chunk-LC7ZWLIH.js";import{c as o,f as E}from"./chunk-IZ7QOBSB.js";var p=o(r=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});r.OTEL_COMPONENT_TYPE_VALUE_OTLP_GRPC_METRIC_EXPORTER=void 0;r.OTEL_COMPONENT_TYPE_VALUE_OTLP_GRPC_METRIC_EXPORTER="otlp_grpc_metric_exporter"});var P=o(t=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.OTLPMetricExporter=void 0;var R=(L(),E(u)),c=l(),s=(M(),E(T)),O=p(),i=class extends R.OTLPMetricExporterBase{_url;constructor(e){super((0,c.createOtlpGrpcExportDelegate)((0,c.convertLegacyOtlpGrpcOptions)(e??{},"METRICS"),s.ProtobufMetricsSerializer,O.OTEL_COMPONENT_TYPE_VALUE_OTLP_GRPC_METRIC_EXPORTER,s.MetricsExporterMetricsHelper,e?.selfObsMeterProvider,"MetricsExportService","/opentelemetry.proto.collector.metrics.v1.MetricsService/Export"),e),this._url=e?.url}setSelfObsMeterProvider(e){this.setMetrics((0,c.createOtlpGrpcExporterMetrics)(O.OTEL_COMPONENT_TYPE_VALUE_OTLP_GRPC_METRIC_EXPORTER,s.MetricsExporterMetricsHelper,this._url,e))}};t.OTLPMetricExporter=i});var x=o(_=>{Object.defineProperty(_,"__esModule",{value:!0});_.OTLPMetricExporter=void 0;var n=P();Object.defineProperty(_,"OTLPMetricExporter",{enumerable:!0,get:function(){return n.OTLPMetricExporter}})});export default x();
@@ -0,0 +1,12 @@
1
+ #!/usr/bin/env node
2
+ import { createRequire as __swiftyCreateRequire } from "node:module";
3
+ const require = __swiftyCreateRequire(import.meta.url);
4
+ import{h as x,i as C}from"./chunk-FZORZF22.js";import{L as N,M as z,p as k,q as G}from"./chunk-YKWIZE5D.js";import{t as A,u as w}from"./chunk-LC7ZWLIH.js";import{a as L,c as P,f as l}from"./chunk-IZ7QOBSB.js";var I=P(O=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0});O.PrometheusSerializer=void 0;var R=(w(),l(A)),p=(C(),l(x)),H=(z(),l(N)),q=(G(),l(k)),X="otel.scope.schema_url";function S(i){return i.replace(/\\/g,"\\\\").replace(/\n/g,"\\n")}function F(i=""){return typeof i!="string"&&(i=JSON.stringify(i)),S(i).replace(/"/g,'\\"')}var V=/[^a-z0-9_]/gi,Y=/_{2,}/g;function v(i){return i.replace(V,"_").replace(Y,"_")}function B(i,e){return!i.endsWith("_total")&&e.dataPointType===p.DataPointType.SUM&&e.isMonotonic&&(i=i+"_total"),i}function J(i){return i===1/0?"+Inf":i===-1/0?"-Inf":`${i}`}function W(i){switch(i.dataPointType){case p.DataPointType.SUM:return i.isMonotonic?"counter":"gauge";case p.DataPointType.GAUGE:return"gauge";case p.DataPointType.HISTOGRAM:return"histogram";default:return"untyped"}}function E(i,e,t,r,s){let n=!1,o="";for(let[u,a]of Object.entries(e)){let _=v(u);n=!0,o+=`${o.length>0?",":""}${_}="${F(a)}"`}if(s)for(let[u,a]of Object.entries(s)){let _=v(u);n=!0,o+=`${o.length>0?",":""}${_}="${F(a)}"`}return n&&(i+=`{${o}}`),`${i} ${J(t)}${r!==void 0?" "+String(r):""}
5
+ `}var K="# no registered metrics",y=class{_prefix;_appendTimestamp;_additionalAttributes;_withResourceConstantLabels;_withoutScopeInfo;_withoutTargetInfo;constructor(e,t=!1,r,s,n){e&&(this._prefix=e+"_"),this._appendTimestamp=t,this._withResourceConstantLabels=r,this._withoutScopeInfo=!!n,this._withoutTargetInfo=!!s}serialize(e){let t="";this._additionalAttributes=this._filterResourceConstantLabels(e.resource.attributes,this._withResourceConstantLabels);for(let r of e.scopeMetrics)t+=this._serializeScopeMetrics(r);return t===""&&(t+=K),this._serializeResource(e.resource)+t}_filterResourceConstantLabels(e,t){if(t){let r={};for(let[s,n]of Object.entries(e))s.match(t)&&(r[s]=n);return r}}_serializeScopeMetrics(e){let t="";for(let r of e.metrics){let s=this._serializeMetricData(r,e.scope);s&&(t+=s+`
6
+ `)}return t}_serializeMetricData(e,t){let r=v(S(e.descriptor.name));if(this._prefix&&(r=`${this._prefix}${r}`),r==="")return R.diag.error(`Normalization for metric "${e.descriptor.name}" resulted in empty name`),"";if(r==="_")return R.diag.error(`Normalization for metric "${e.descriptor.name}" resulted in an invalid name: "_"`),"";r[0]>="0"&&r[0]<="9"&&(r=`_${r}`);let s=e.dataPointType;r=B(r,e);let n=`# HELP ${r} ${S(e.descriptor.description||"description missing")}`,o=e.descriptor.unit?`
7
+ # UNIT ${r} ${S(e.descriptor.unit)}`:"",u=`# TYPE ${r} ${W(e)}`,a;if(this._withoutScopeInfo)a=this._additionalAttributes;else{let c={[q.ATTR_OTEL_SCOPE_NAME]:t.name};t.schemaUrl&&(c[X]=t.schemaUrl),t.version&&(c[q.ATTR_OTEL_SCOPE_VERSION]=t.version),a=Object.assign(c,this._additionalAttributes)}let _="";switch(s){case p.DataPointType.SUM:case p.DataPointType.GAUGE:{_=e.dataPoints.map(c=>this._serializeSingularDataPoint(r,e,c,a)).join("");break}case p.DataPointType.HISTOGRAM:{_=e.dataPoints.map(c=>this._serializeHistogramDataPoint(r,e,c,a)).join("");break}default:R.diag.error(`Unrecognizable DataPointType: ${s} for metric "${r}"`)}return`${n}${o}
8
+ ${u}
9
+ ${_}`.trim()}_serializeSingularDataPoint(e,t,r,s){let n="",{value:o,attributes:u}=r,a=(0,H.hrTimeToMilliseconds)(r.endTime);return n+=E(e,u,o,this._appendTimestamp?a:void 0,s),n}_serializeHistogramDataPoint(e,t,r,s){let n="",o=r.attributes,u=r.value,a=(0,H.hrTimeToMilliseconds)(r.endTime);for(let f of["count","sum"]){let m=u[f];m!=null&&(n+=E(e+"_"+f,o,m,this._appendTimestamp?a:void 0,s))}let _=0,c=u.buckets.counts.entries(),U=!1;for(let[f,m]of c){_+=m;let d=u.buckets.boundaries[f];if(d===void 0&&U)break;d===1/0&&(U=!0),n+=E(e+"_bucket",o,_,this._appendTimestamp?a:void 0,Object.assign({},s,{le:d===void 0||d===1/0?"+Inf":String(d)}))}return n}_serializeResource(e){if(this._withoutTargetInfo===!0)return"";let t="target_info",r=`# HELP ${t} Target metadata`,s=`# TYPE ${t} gauge`,n=E(t,e.attributes,1).trim();return`${r}
10
+ ${s}
11
+ ${n}
12
+ `}};O.PrometheusSerializer=y});var j=P(g=>{"use strict";Object.defineProperty(g,"__esModule",{value:!0});g.OTEL_COMPONENT_TYPE_VALUE_PROMETHEUS_HTTP_TEXT_METRIC_EXPORTER=void 0;g.OTEL_COMPONENT_TYPE_VALUE_PROMETHEUS_HTTP_TEXT_METRIC_EXPORTER="prometheus_http_text_metric_exporter"});var D=P(b=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0});b.PrometheusExporter=void 0;var T=(w(),l(A)),Q=(z(),l(N)),$=(C(),l(x)),Z=L("http"),ee=I(),te=j(),re=L("url"),M=class i extends $.MetricReader{static DEFAULT_OPTIONS={host:void 0,port:9464,endpoint:"/metrics",prefix:"",appendTimestamp:!1,withResourceConstantLabels:void 0,withoutScopeInfo:!1,withoutTargetInfo:!1};_host;_port;_baseUrl;_endpoint;_server;_prefix;_appendTimestamp;_serializer;_startServerPromise;constructor(e={},t=()=>{}){super({aggregationSelector:o=>({type:$.AggregationType.DEFAULT}),aggregationTemporalitySelector:o=>$.AggregationTemporality.CUMULATIVE,otelComponentType:te.OTEL_COMPONENT_TYPE_VALUE_PROMETHEUS_HTTP_TEXT_METRIC_EXPORTER,metricProducers:e.metricProducers}),this._host=e.host||process.env.OTEL_EXPORTER_PROMETHEUS_HOST||i.DEFAULT_OPTIONS.host,this._port=e.port||Number(process.env.OTEL_EXPORTER_PROMETHEUS_PORT)||i.DEFAULT_OPTIONS.port,this._prefix=e.prefix||i.DEFAULT_OPTIONS.prefix,this._appendTimestamp=typeof e.appendTimestamp=="boolean"?e.appendTimestamp:i.DEFAULT_OPTIONS.appendTimestamp;let r=e.withResourceConstantLabels||i.DEFAULT_OPTIONS.withResourceConstantLabels,s=e.withoutScopeInfo||i.DEFAULT_OPTIONS.withoutScopeInfo,n=e.withoutTargetInfo||i.DEFAULT_OPTIONS.withoutTargetInfo;this._server=(0,Z.createServer)(this._requestHandler).unref(),this._serializer=new ee.PrometheusSerializer(this._prefix,this._appendTimestamp,r,n,s),this._baseUrl=`http://${this._host}:${this._port}/`,this._endpoint=(e.endpoint||i.DEFAULT_OPTIONS.endpoint).replace(/^([^/])/,"/$1"),e.preventServerStart!==!0?this.startServer().then(t,o=>{T.diag.error(o),t(o)}):t&&queueMicrotask(t)}async onForceFlush(){}onShutdown(){return this.stopServer()}stopServer(){return this._server?new Promise(e=>{this._server.close(t=>{t?t.code!=="ERR_SERVER_NOT_RUNNING"&&(0,Q.globalErrorHandler)(t):T.diag.debug("Prometheus exporter was stopped"),e()})}):(T.diag.debug("Prometheus stopServer() was called but server was never started."),Promise.resolve())}startServer(){return this._startServerPromise??=new Promise((e,t)=>{this._server.once("error",t),this._server.listen({port:this._port,host:this._host},()=>{T.diag.debug(`Prometheus exporter server started: ${this._host}:${this._port}/${this._endpoint}`),e()})}),this._startServerPromise}getMetricsRequestHandler(e,t){this._exportMetrics(t)}_requestHandler=(e,t)=>{let r;try{e.url!=null&&(r=new re.URL(e.url,this._baseUrl).pathname)}catch{t.statusCode=400,t.end("Bad Request");return}r===this._endpoint?this._exportMetrics(t):this._notFound(t)};_exportMetrics=e=>{e.statusCode=200,e.setHeader("content-type","text/plain"),this.collect().then(t=>{let{resourceMetrics:r,errors:s}=t;s.length&&T.diag.error("PrometheusExporter: metrics collection errors",...s),e.end(this._serializer.serialize(r))},t=>{e.end(`# failed to export metrics: ${t}`)})};_notFound=e=>{e.statusCode=404,e.end()}};b.PrometheusExporter=M});var ne=P(h=>{Object.defineProperty(h,"__esModule",{value:!0});h.PrometheusSerializer=h.PrometheusExporter=void 0;var ie=D();Object.defineProperty(h,"PrometheusExporter",{enumerable:!0,get:function(){return ie.PrometheusExporter}});var se=I();Object.defineProperty(h,"PrometheusSerializer",{enumerable:!0,get:function(){return se.PrometheusSerializer}})});export default ne();
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env node
2
+ import { createRequire as __swiftyCreateRequire } from "node:module";
3
+ const require = __swiftyCreateRequire(import.meta.url);
4
+ import{a as T}from"./chunk-M4D66APS.js";import{b as P,c as u,p as l,q as i}from"./chunk-G2TE2QZM.js";import"./chunk-FZORZF22.js";import"./chunk-YKWIZE5D.js";import"./chunk-LC7ZWLIH.js";import{c as o,f as p}from"./chunk-IZ7QOBSB.js";var s=o(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.OTEL_COMPONENT_TYPE_VALUE_OTLP_GRPC_LOG_EXPORTER=void 0;e.OTEL_COMPONENT_TYPE_VALUE_OTLP_GRPC_LOG_EXPORTER="otlp_grpc_log_exporter"});var c=o(r=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});r.OTLPLogExporter=void 0;var L=T(),E=(i(),p(l)),n=(u(),p(P)),g=s(),_=class extends n.OTLPExporterBase{constructor(O={}){super((0,L.createOtlpGrpcExportDelegate)((0,L.convertLegacyOtlpGrpcOptions)(O,"LOGS"),E.ProtobufLogsSerializer,g.OTEL_COMPONENT_TYPE_VALUE_OTLP_GRPC_LOG_EXPORTER,E.LogsExporterMetricsHelper,O.selfObsMeterProvider,"LogsExportService","/opentelemetry.proto.collector.logs.v1.LogsService/Export"))}};r.OTLPLogExporter=_});var x=o(t=>{Object.defineProperty(t,"__esModule",{value:!0});t.OTLPLogExporter=void 0;var a=c();Object.defineProperty(t,"OTLPLogExporter",{enumerable:!0,get:function(){return a.OTLPLogExporter}})});export default x();
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env node
2
+ import { createRequire as __swiftyCreateRequire } from "node:module";
3
+ const require = __swiftyCreateRequire(import.meta.url);
4
+ import{a as l}from"./chunk-M4D66APS.js";import{b as s,c as a,p as u,q as i}from"./chunk-G2TE2QZM.js";import"./chunk-FZORZF22.js";import"./chunk-YKWIZE5D.js";import"./chunk-LC7ZWLIH.js";import{c as o,f as p}from"./chunk-IZ7QOBSB.js";var T=o(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.OTEL_COMPONENT_TYPE_VALUE_OTLP_GRPC_SPAN_EXPORTER=void 0;e.OTEL_COMPONENT_TYPE_VALUE_OTLP_GRPC_SPAN_EXPORTER="otlp_grpc_span_exporter"});var O=o(r=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});r.OTLPTraceExporter=void 0;var P=l(),E=(i(),p(u)),n=(a(),p(s)),L=T(),_=class extends n.OTLPExporterBase{constructor(c={}){super((0,P.createOtlpGrpcExportDelegate)((0,P.convertLegacyOtlpGrpcOptions)(c,"TRACES"),E.ProtobufTraceSerializer,L.OTEL_COMPONENT_TYPE_VALUE_OTLP_GRPC_SPAN_EXPORTER,E.TraceExporterMetricsHelper,c.selfObsMeterProvider,"TraceExportService","/opentelemetry.proto.collector.trace.v1.TraceService/Export"))}};r.OTLPTraceExporter=_});var v=o(t=>{Object.defineProperty(t,"__esModule",{value:!0});t.OTLPTraceExporter=void 0;var x=O();Object.defineProperty(t,"OTLPTraceExporter",{enumerable:!0,get:function(){return x.OTLPTraceExporter}})});export default v();
@@ -1,4 +1,4 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire as __swiftyCreateRequire } from "node:module";
3
3
  const require = __swiftyCreateRequire(import.meta.url);
4
- import{b as a,c as b,d as c,e as d,f as e,g as f,h as g,i as h}from"./chunk-Y2UUXOQA.js";import"./chunk-X3UA5OZL.js";export{e as ASYNC_AGENT_ALLOWED_TOOLS,d as CUSTOM_AGENT_DISALLOWED_TOOLS,g as FORK_QUERY_SOURCE,a as MAIN_AGENT_ONLY_TOOLS,b as SUBAGENT_DISALLOWED_TOOLS,c as TEAMMATE_DISALLOWED_TOOLS,h as cloneRegistryForFork,f as filterToolsForAgent};
4
+ import{b as a,c as b,d as c,e as d,f as e,g as f,h as g,i as h}from"./chunk-4C3KJLJV.js";import"./chunk-IZ7QOBSB.js";export{e as ASYNC_AGENT_ALLOWED_TOOLS,d as CUSTOM_AGENT_DISALLOWED_TOOLS,g as FORK_QUERY_SOURCE,a as MAIN_AGENT_ONLY_TOOLS,b as SUBAGENT_DISALLOWED_TOOLS,c as TEAMMATE_DISALLOWED_TOOLS,h as cloneRegistryForFork,f as filterToolsForAgent};