@swifty.js/swifty 0.0.29 → 0.0.31

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 (48) hide show
  1. package/README.md +25 -11
  2. package/dist/agent-O6C4FCQY.js +4 -0
  3. package/dist/anthropic-CFM2DXMB.js +4 -0
  4. package/dist/checker-A6PGACKZ.js +4 -0
  5. package/dist/chunk-4ABFUBO4.js +601 -0
  6. package/dist/{chunk-K5ZK27BX.js → chunk-AGJYBJ5M.js} +1 -1
  7. package/dist/chunk-AQ3A5CF4.js +5 -0
  8. package/dist/chunk-MVVSONAE.js +4 -0
  9. package/dist/chunk-OQCEP2F5.js +4 -0
  10. package/dist/{chunk-QFSCPD63.js → chunk-TCQ4EB4G.js} +1 -1
  11. package/dist/chunk-Y2UUXOQA.js +4 -0
  12. package/dist/chunk-YAXZ2OUD.js +150 -0
  13. package/dist/lib/agent-YRTROHXU.js +10 -0
  14. package/dist/lib/{anthropic-KWO3KLNV.js → anthropic-R6DMXE7U.js} +4 -5
  15. package/dist/lib/{checker-AXHPKVBY.js → checker-M7RKMKJQ.js} +2 -3
  16. package/dist/lib/{chunk-KZSBR4FO.js → chunk-4MDCRPVV.js} +76 -40
  17. package/dist/lib/{chunk-DJ6AILPN.js → chunk-A4MXZA5Q.js} +209 -51
  18. package/dist/lib/{chunk-2IVEVG5N.js → chunk-EWE5IWZE.js} +28 -25
  19. package/dist/lib/{chunk-KG4MJGKQ.js → chunk-FZ4Y6MBN.js} +1 -4
  20. package/dist/lib/{chunk-GCY44T7S.js → chunk-J6AV7SIF.js} +221 -351
  21. package/dist/lib/{chunk-3FBS5NB7.js → chunk-OEPCNATU.js} +217 -41
  22. package/dist/lib/{chunk-Z4CYHTII.js → chunk-OQIQOU5S.js} +85 -26
  23. package/dist/lib/{chunk-PIL7M52F.js → chunk-XT67KGWE.js} +16 -3
  24. package/dist/lib/index.d.ts +1212 -932
  25. package/dist/lib/index.js +2836 -1611
  26. package/dist/lib/{openai-PBF7EWNJ.js → openai-5N42ZYIJ.js} +2 -2
  27. package/dist/lib/{tool-filter-R6HDDJHE.js → tool-filter-XG2GXFVN.js} +3 -2
  28. package/dist/main.js +197 -189
  29. package/dist/openai-NQYARTT6.js +34 -0
  30. package/dist/{server-G23HCFLI.js → server-BNT2IIKB.js} +18 -18
  31. package/dist/tool-filter-5NDJMSTD.js +4 -0
  32. package/package.json +4 -3
  33. package/dist/agent-YR6YK26C.js +0 -4
  34. package/dist/anthropic-5GRR5JCT.js +0 -4
  35. package/dist/checker-N5TIJEN5.js +0 -4
  36. package/dist/chunk-D34FUVGU.js +0 -4
  37. package/dist/chunk-E55KH72M.js +0 -4
  38. package/dist/chunk-LIMEBKCY.js +0 -408
  39. package/dist/chunk-POHIQUFP.js +0 -301
  40. package/dist/chunk-QCKJLO6X.js +0 -4
  41. package/dist/chunk-TMEX7RFA.js +0 -4
  42. package/dist/chunk-Y6SQB5FG.js +0 -4
  43. package/dist/glob.wasm +0 -0
  44. package/dist/lib/agent-5WEKVRTD.js +0 -11
  45. package/dist/lib/chunk-GHF2PSEW.js +0 -8
  46. package/dist/lib/glob.wasm +0 -0
  47. package/dist/openai-QQ2K7GPF.js +0 -34
  48. package/dist/tool-filter-VBP6WOGO.js +0 -4
@@ -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,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};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swifty.js/swifty",
3
- "version": "0.0.29",
3
+ "version": "0.0.31",
4
4
  "description": "Swifty — CLI coding agent",
5
5
  "keywords": [
6
6
  "agent",
@@ -51,12 +51,14 @@
51
51
  "cli-table3": "^0.6.5",
52
52
  "dompurify": "^3.4.15",
53
53
  "fuse.js": "^7.5.0",
54
+ "glob": "^13.0.6",
54
55
  "ink": "^7.1.1",
55
56
  "ink-spinner": "^5.0.0",
56
57
  "ink-text-input": "^6.0.0",
57
58
  "js-yaml": "^4.3.2",
58
59
  "koa": "^3.2.1",
59
60
  "marked": "^18.0.12",
61
+ "minimatch": "^10.2.2",
60
62
  "node-emoji": "^2.2.0",
61
63
  "openai": "^6.49.0",
62
64
  "pino": "^10.3.1",
@@ -95,8 +97,7 @@
95
97
  "tsx": "^4.23.13",
96
98
  "typescript": "^5.9.3",
97
99
  "typescript-eslint": "^8.70.0",
98
- "vitest": "^4.1.11",
99
- "@swifty.js/glob-wasm": "0.0.1"
100
+ "vitest": "^4.1.11"
100
101
  },
101
102
  "engines": {
102
103
  "node": ">=20"
@@ -1,4 +0,0 @@
1
- #!/usr/bin/env node
2
- import { createRequire as __swiftyCreateRequire } from "node:module";
3
- const require = __swiftyCreateRequire(import.meta.url);
4
- import{s as a}from"./chunk-POHIQUFP.js";import"./chunk-QFSCPD63.js";import"./chunk-TMEX7RFA.js";import"./chunk-QCKJLO6X.js";import"./chunk-OTVZGPHD.js";import"./chunk-E55KH72M.js";import"./chunk-X3UA5OZL.js";export{a as Agent};
@@ -1,4 +0,0 @@
1
- #!/usr/bin/env node
2
- import { createRequire as __swiftyCreateRequire } from "node:module";
3
- const require = __swiftyCreateRequire(import.meta.url);
4
- import{a as D}from"./chunk-K5ZK27BX.js";import{a as q}from"./chunk-QFSCPD63.js";import{g as M}from"./chunk-C3WGLVVZ.js";import{A as z,m as N,n as R,q as O,r as L,u as F,v as I,w as H,x as G,y as W}from"./chunk-TMEX7RFA.js";import"./chunk-QCKJLO6X.js";import{D as P,I as S,J as B,K as j,L as U,M as d,N as K,R as $,g as C}from"./chunk-OTVZGPHD.js";import"./chunk-E55KH72M.js";import"./chunk-X3UA5OZL.js";var J=1024,V=1024;function Q(n){for(let t=n.length-1;t>=0;t--){let e=n[t];if(e.defer_loading!==!0){e.cache_control={type:"ephemeral"};return}}}function X(n){return n.some(t=>t.defer_loading)}var v=S({module:"llm"});var Z=3e3,ee=P.object({max_input_tokens:P.coerce.number()});async function he(n){if(n.protocol!=="anthropic")return 0;let t=L(n),o=`${n.base_url.replace(/\/+$/,"")}/v1/models/${encodeURIComponent(n.model)}`,s=new AbortController,r=setTimeout(()=>{s.abort()},Z);try{let c=await fetch(o,{method:"GET",headers:{"anthropic-version":"2023-06-01",...t?{"x-api-key":t}:{}},signal:s.signal});if(!c.ok)return 0;let k=await c.json(),{success:_,error:m,data:h}=await C(ee,k);if(!_)return v.warn({message:m.message},"model context window schema validation failed"),0;let g=h.max_input_tokens;return Math.max(g,0)}catch(c){return v.error({err:c},"failed to fetch model context window"),0}finally{clearTimeout(r)}}function T(n){return typeof n=="string"?[{type:"text",text:n}]:n.map(t=>{let e=q(t);if(!e||e.type==="tool_reference")throw new Error(`Unsupported user content block: ${$(t,"type","unknown")}`);return e})}function te(n){let t=[];for(let e of n)if(e.role==="assistant"){let o=[];if(e.thinkingBlocks)for(let r of e.thinkingBlocks)o.push({type:"thinking",thinking:r.thinking,signature:r.signature});let s=typeof e.content=="string"?e.content:B(e.content);if(s&&o.push({type:"text",text:s}),e.toolUses)for(let r of e.toolUses)o.push({type:"tool_use",id:r.toolUseId,name:r.toolName,input:r.arguments});o.length===0&&o.push({type:"text",text:""}),t.push({role:"assistant",content:o})}else if(e.toolResults&&e.toolResults.length>0){let o=[];for(let s of e.toolResults)o.push({type:"tool_result",tool_use_id:s.toolUseId,is_error:s.isError,content:s.contentBlocks?.length?s.contentBlocks:s.content});e.content.length>0&&o.push(...T(e.content)),t.push({role:"user",content:o})}else{if(t.length===0){t.push({role:"user",content:T(e.content)});continue}let o=!1,s=t[t.length-1],r=s.content;s.role==="user"&&(typeof r=="string"||Array.isArray(r)&&r.length>0&&(r[0].type==="text"||r[0].type==="image"))&&(o=!0),o?(typeof r=="string"&&(r=s.content=r.trim().length>0?[{type:"text",text:r}]:[]),r.push(...T(e.content))):t.push({role:"user",content:T(e.content)})}return t}var Y=class{client;model;thinkingLevel;systemPrompt;maxOutputTokens;constructor(t,e){let o=L(t);if(!o)throw new I("Anthropic API key not found, set ANTHROPIC_API_KEY in ~/.swifty/config.yaml, or via ANTHROPIC_API_KEY env variable.");this.client=new M({apiKey:o,baseURL:t.base_url}),this.model=t.model,this.thinkingLevel=N(t),this.systemPrompt=e,this.maxOutputTokens=O(t)}setSystemPrompt(t){this.systemPrompt=t}setMaxOutputTokens(t){this.maxOutputTokens=t}setThinkingLevel(t){this.thinkingLevel=t}getThinkingLevel(){return this.thinkingLevel}async*stream(t,e,o){let s=te(z(t.getMessages())),r=X(e),c=e.map(l=>{let p=l.input_schema,u={name:l.name,description:l.description,input_schema:{type:"object",properties:p.properties,required:p.required??[]}};return l.defer_loading===!0&&(u.defer_loading=!0),u});Q(c),ne(s);let k={model:this.model,max_tokens:this.maxOutputTokens,stream:!0,system:[{type:"text",text:this.systemPrompt,cache_control:{type:"ephemeral"}}],messages:s,...c.length>0?{tools:c}:{}},_=this.maxOutputTokens-V;k.thinking=this.thinkingLevel!=="off"&&_>=J?{type:"enabled",budget_tokens:Math.min(R(this.thinkingLevel),_)}:{type:"disabled"};let m=0,h=0,g=0,x=0,E="end_turn",b="",A="",w=!1;try{let l=this.client.messages.stream(k,{...o?{signal:o}:{},...r?{headers:{"anthropic-beta":D}}:{}}),p="",u="",f="";for await(let a of l)switch(a.type){case"content_block_start":{let i=a.content_block;i.type==="thinking"?(w=!0,b="",A=""):i.type==="tool_use"&&(u=i.id,p=i.name,f="",yield{type:"tool_call_start",toolName:p,toolId:u});break}case"content_block_delta":{let i=a.delta;i.type==="thinking_delta"?(b+=i.thinking,yield{type:"thinking_delta",text:i.thinking}):i.type==="signature_delta"?A+=i.signature:i.type==="text_delta"?yield{type:"text_delta",text:i.text}:i.type==="input_json_delta"&&(f+=i.partial_json,yield{type:"tool_call_delta",text:i.partial_json});break}case"content_block_stop":{if(w&&(yield{type:"thinking_complete",thinking:b,signature:A},w=!1),p){let i={};if(f)try{let y=JSON.parse(f);i=j(y)?U(y):{}}catch(y){v.error({err:y},"llm operation failed"),i={}}yield{type:"tool_call_complete",toolId:u,toolName:p,arguments:i},p="",u="",f=""}break}case"message_delta":{a.delta.stop_reason&&(E=a.delta.stop_reason),a.usage.output_tokens&&(h=a.usage.output_tokens,a.usage.input_tokens&&(m=a.usage.input_tokens),a.usage.cache_read_input_tokens&&(g=a.usage.cache_read_input_tokens),a.usage.cache_creation_input_tokens&&(x=a.usage.cache_creation_input_tokens));break}case"message_start":{m=a.message.usage.input_tokens,h=a.message.usage.output_tokens,g=a.message.usage.cache_read_input_tokens??0,x=a.message.usage.cache_creation_input_tokens??0;break}}yield{type:"stream_end",stopReason:E,usage:{inputTokens:m,outputTokens:h,cacheReadInputTokens:g,cacheCreationInputTokens:x}}}catch(l){throw v.error({err:l},"llm operation failed"),oe(l)}}};function ne(n){for(let t=n.length-1;t>=0;t--){if(n[t].role!=="user")continue;let e=n[t].content;if(typeof e=="string"&&e.length===0||Array.isArray(e)&&e.length===0)return;typeof e=="string"&&(e=n[t].content=[{type:"text",text:e}]);let o=e[e.length-1];for(let s=e.length-1;s>=0;s--)if(e[s].type!=="image"){o=e[s];break}Reflect.set(o,"cache_control",{type:"ephemeral"});return}}function oe(n){if(n instanceof M.APIError){if(n.status===413||/prompts?\s+too\s+long/i.test(n.message))return new W(`Prompt too long: ${n.message}`);if(n.status===401)return new I(`Invalid API key: ${n.message}`);if(n.status===429){let t=n.headers,e=t instanceof Headers?t.get("retry-after"):void 0,o="Rate Limited";if(e){let s=Number.parseInt(d(e));Number.isNaN(s)?o+=", please wait.":o+=`, retry after ${d(s)}s.`}else o+=", please wait.";return new H(o,e?d(e):void 0)}return new F(`Anthropic API error (${d(n.status)}): ${n.message}`)}return new G(`Network error: ${K(n)}`)}export{Y as AnthropicClient,te as buildAnthropicMessages,he as fetchModelContextWindow,ne as markLastUserTailForCache,Q as markToolsForCache,X as needsToolSearchBeta};
@@ -1,4 +0,0 @@
1
- #!/usr/bin/env node
2
- import { createRequire as __swiftyCreateRequire } from "node:module";
3
- const require = __swiftyCreateRequire(import.meta.url);
4
- import{c as a,d as b,e as c,f as d,g as e,h as f}from"./chunk-D34FUVGU.js";import"./chunk-QCKJLO6X.js";import"./chunk-OTVZGPHD.js";import"./chunk-E55KH72M.js";import"./chunk-X3UA5OZL.js";export{b as PathSandbox,f as PermissionChecker,d as RuleEngine,c as evaluateRules,a as extractContent,e as isSafeCommand};
@@ -1,4 +0,0 @@
1
- #!/usr/bin/env node
2
- import { createRequire as __swiftyCreateRequire } from "node:module";
3
- const require = __swiftyCreateRequire(import.meta.url);
4
- import{c as W}from"./chunk-QCKJLO6X.js";import{D as h,I as S,R as u,d as b,e as F}from"./chunk-OTVZGPHD.js";import{b as A}from"./chunk-E55KH72M.js";import{readFileSync as B,writeFileSync as G,mkdirSync as U,statSync as T}from"fs";import{homedir as J,tmpdir as X}from"os";import{join as p,resolve as c,dirname as C}from"path";import{realpathSync as M}from"fs";import{basename as L,dirname as O,isAbsolute as z,join as I,relative as N,resolve as $,sep as Y}from"path";function d(i){let e=$(i),t=[];for(;;)try{return I(M(e),...t)}catch(n){if(!(n instanceof Error)||!("code"in n)||n.code!=="ENOENT"&&n.code!=="ENOTDIR")throw n;let s=O(e);if(s===e)return $(i);t.unshift(L(e)),e=s}}function m(i,e){let t=N(i,e);return t===""||t!==".."&&!t.startsWith(`..${Y}`)&&!z(t)}var P=S({module:"permissions"}),q=[],H=["ls","pwd","echo","cat","head","tail","wc","date","whoami","uname","hostname","which","type","file","git status","git log","git diff","git branch","git show","git rev-parse","git remote","bun test","bun run","npm test","npm run","go test","go build","go vet","python -c","node -e"],K={Bash:"command",PowerShell:"command",ReadFile:"file_path",WriteFile:"file_path",EditFile:"file_path",Glob:"pattern",Grep:"pattern",InstallSkill:"source"},Q=[".swifty/config.yaml",".swifty/permissions.local.yaml",".swifty/skills/"];function R(i,e){if(i===A)return W(u(e,"server",""),u(e,"tool",""));let t=K[i];if(!t)return"";let n=e[t];return typeof n=="string"?n:""}var x=class{allowedRoots;denyWritePaths;projectDir;constructor(e){this.projectDir=c(e),this.allowedRoots=[this.projectDir,X()],this.denyWritePaths=Q.map(t=>p(this.projectDir,t))}addRoot(e){this.allowedRoots.push(c(e))}addDenyWrite(e){this.denyWritePaths.push(c(e))}checkDenyWrite(e){let t=c(this.projectDir,e),n=d(t);for(let s of this.denyWritePaths)if(m(s,t)||m(d(s),n))return{effect:"deny",reason:`Path ${e} is in deny-write list`};return null}check(e){let t=d(c(this.projectDir,e));for(let n of this.allowedRoots)if(m(d(n),t))return null;return{effect:"deny",reason:`Path ${e} is outside allowed directories`}}};function V(i,e){let t="^"+i.replace(/[.+^${}()|[\]\\]/g,"\\$&").replace(/\*/g,".*").replace(/\?/g,".")+"$";try{return new RegExp(t).test(e)}catch(n){return P.error({err:n},"permissions operation failed"),!1}}var Z=/^(\w+)\((.+)\)$/;function j(i){let e;try{e=B(i,"utf-8")}catch(r){return r.code!=="ENOENT"&&P.error({err:r},"permissions operation failed"),[]}let t=h.object({rule:h.string().optional(),effect:h.string().optional()}),n;try{let r=b.load(e);n=F(h.array(t),r)}catch(r){return P.error({err:r},"permissions operation failed"),[]}let s=[];for(let r of n){if(r.effect!=="allow"&&r.effect!=="deny"&&r.effect!=="ask")continue;let o=Z.exec((r.rule??"").trim());o&&s.push({tool:o[1],pattern:o[2],effect:r.effect})}return s}function g(i,e,t){let n=null;for(let s of i)if(!(s.tool!==e&&s.tool!=="*")&&V(s.pattern,t)){if(s.effect==="deny")return"deny";s.effect==="ask"?n="ask":n??="allow"}return n}var D=class{userPath;projectPath;localPath;cache=new Map;constructor(e){this.userPath=p(J(),".swifty","permissions.yaml"),this.projectPath=p(e,".swifty","permissions.yaml"),this.localPath=p(e,".swifty","permissions.local.yaml")}rulesFor(e){let t;try{t=T(e,{bigint:!0})}catch{return this.cache.delete(e),[]}let n=this.cache.get(e);if(n?.mtimeNs===t.mtimeNs&&n.size===t.size)return n.rules;let s=j(e);return this.cache.set(e,{mtimeNs:t.mtimeNs,size:t.size,rules:s}),s}snapshot(){return[this.userPath,this.projectPath,this.localPath].flatMap(e=>this.rulesFor(e))}evaluate(e,t){return g(this.snapshot(),e,t)}appendLocalRule(e){U(C(this.localPath),{recursive:!0});let t=j(this.localPath);if(t.some(r=>r.tool===e.tool&&r.pattern===e.pattern&&r.effect===e.effect))return;t.push(e);let s=t.map(r=>({rule:`${r.tool}(${r.pattern})`,effect:r.effect}));G(this.localPath,b.dump(s),"utf-8")}};function ee(i){for(let e of q)if(e.re.test(i))return e.reason;return""}function te(i){let e=i.trim();return e.includes(">")||e.includes("<")||/[\r\n&]/.test(e)||e.includes("|")||e.includes(";")||e.includes("&&")||e.includes("$(")||e.includes("`")?!1:H.some(t=>e===t||e.startsWith(t+" ")||e.startsWith(t+" "))}function ne(i,e){switch(i){case"bypassPermissions":return"allow";case"plan":return e==="read"?"allow":"ask";case"acceptEdits":return e==="command"?"ask":"allow";default:return e==="read"?"allow":"ask"}}var _=class i{constructor(e,t="default"){this.workDir=e;this.mode=t,this.sandbox=new x(e),this.ruleEngine=new D(e)}workDir;mode;planFilePath="";sandboxEnabled=!1;sandboxAutoAllow=!1;sandbox;ruleEngine;forWorkDir(e){let t=new i(e,this.mode);return t.ruleEngine=this.ruleEngine,t.sandboxEnabled=this.sandboxEnabled,t.sandboxAutoAllow=this.sandboxAutoAllow,t}check(e,t,n){let s=R(e,n),r=null,o=()=>r??=this.ruleEngine.snapshot(),a=g(o(),e,s);if(a==="deny"||a==="ask")return{effect:a,reason:`Permission rule: ${a}`};if(this.mode==="plan"&&(e==="WriteFile"||e==="EditFile")){let f=u(n,"file_path","");if(this.planFilePath&&d(c(this.workDir,f))===d(c(this.workDir,this.planFilePath))&&!this.sandbox.checkDenyWrite(f))return{effect:"allow",reason:"Plan file write allowed in plan mode"}}if(t==="command"&&te(s))return{effect:"allow",reason:"Safe read-only command"};let k=t==="command"?ee(s):"";if(k)return{effect:"deny",reason:`Dangerous command blocked: ${k}`};if(this.sandboxEnabled&&this.sandboxAutoAllow&&e==="Bash"){let f=u(n,"command").split(/\s*(?:&&|\|\||[;|])\s*/).map(E=>E.trim()).filter(Boolean),l=!1;for(let E of f){let v=g(o(),e,E);if(v==="deny")return{effect:"deny",reason:"Permission rule: deny"};v==="ask"&&(l=!0)}return l?{effect:"ask",reason:"Permission rule: ask (sandbox does not override)"}:{effect:"allow",reason:"Sandbox auto-allow: OS sandbox active"}}let w=u(n,"file_path",u(n,"path",""));if((t==="read"||t==="write")&&w){if(t==="write"){let l=this.sandbox.checkDenyWrite(w);if(l)return l}let f=this.sandbox.check(w);if(f&&this.mode!=="bypassPermissions"){let l=this.ruleEngine.evaluate(e,s);return l?{effect:l,reason:`Permission rule: ${l}`}:{effect:"ask",reason:f.reason}}}let y=g(o(),e,s);return y?{effect:y,reason:`Permission rule: ${y}`}:{effect:ne(this.mode,t),reason:`Mode: ${this.mode}`}}allowExtraRoot(e){this.sandbox.addRoot(e)}allowAlways(e,t){let n=R(e,t),s=e==="ReadFile"||e==="WriteFile"||e==="EditFile",r;if(s&&n){let o=c(this.workDir,n),a=!1;try{a=T(o).isDirectory()}catch{}r=p(a?o:C(o),"*")}else r=n.trim().split(/\s+/).slice(0,2).join(" ")+"*";this.ruleEngine.appendLocalRule({tool:e,pattern:r,effect:"allow"})}describeToolAction(e,t){let n=R(e,t);if(n)return n;let s=[];for(let[r,o]of Object.entries(t)){let a=String(o);a.length>80&&(a=a.slice(0,80)+"..."),s.push(`${r}: ${a}`)}return s.join(", ")}};export{d as a,m as b,R as c,x as d,g as e,D as f,te as g,_ as h};
@@ -1,4 +0,0 @@
1
- #!/usr/bin/env node
2
- import { createRequire as __swiftyCreateRequire } from "node:module";
3
- const require = __swiftyCreateRequire(import.meta.url);
4
- var o="ToolSearch",O="McpCall";export{o as a,O as b};