@morphllm/morphsdk 0.2.199 → 0.2.201
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/dist/ai-sdk/index.cjs +0 -1
- package/dist/ai-sdk/index.js +0 -1
- package/dist/{chunk-HYRHI2UL.js → chunk-2PPYWRMZ.js} +0 -1
- package/dist/{chunk-IA5K2HTC.js → chunk-44OIEPIO.js} +1 -2
- package/dist/{chunk-FBRNUWEB.js → chunk-4OUGA3KS.js} +0 -1
- package/dist/{chunk-CEXBKXWU.js → chunk-5NSYDT36.js} +3 -4
- package/dist/{chunk-G2RSY56Q.js → chunk-6TZCVTW5.js} +0 -1
- package/dist/{chunk-F3NCFNUX.js → chunk-6WP7EA4F.js} +0 -1
- package/dist/{chunk-5KQ2WRBU.js → chunk-B376VMIH.js} +2 -3
- package/dist/{chunk-OPNTDMHH.js → chunk-BZXOAC2R.js} +6 -7
- package/dist/{chunk-YSFEKIYQ.js → chunk-DBNSOYQ3.js} +2 -3
- package/dist/{chunk-PW6K6OJL.js → chunk-EQAWWVKV.js} +1 -2
- package/dist/{chunk-ZZ25FZG2.js → chunk-ETBRAKVV.js} +0 -1
- package/dist/chunk-FBOZIVVQ.js +0 -0
- package/dist/{chunk-GKRPR5PZ.js → chunk-FVT4PU4I.js} +18 -70
- package/dist/{chunk-MRMBFJR2.js → chunk-HDP4QAZL.js} +0 -1
- package/dist/{chunk-TPP2UGQP.js → chunk-I26FQELI.js} +0 -1
- package/dist/{chunk-BTMMUG3E.js → chunk-ILY5N5NJ.js} +2 -3
- package/dist/{chunk-7UU4NF4G.js → chunk-JBAY3PRV.js} +4 -5
- package/dist/chunk-LDM7RNNN.js +0 -0
- package/dist/{chunk-ZHB57ORD.js → chunk-LISSWRUD.js} +8 -9
- package/dist/{chunk-CCJK3HTG.js → chunk-M34E2AMK.js} +0 -1
- package/dist/{chunk-WDBYAXZ5.js → chunk-M6AVXUM4.js} +2 -3
- package/dist/{chunk-QRXG5CAZ.js → chunk-MF56KEI4.js} +0 -1
- package/dist/{chunk-PZ5AY32C.js → chunk-MLKGABMK.js} +0 -1
- package/dist/{chunk-5TOJD2C5.js → chunk-NRG6QX3L.js} +0 -1
- package/dist/{chunk-GTV27THY.js → chunk-NWGRW4V7.js} +1 -2
- package/dist/{chunk-63VHBANJ.js → chunk-OPDWMD4Q.js} +0 -1
- package/dist/{chunk-O7LJEVZO.js → chunk-OVLUL5AC.js} +5 -6
- package/dist/{chunk-W37OFBSG.js → chunk-P2KW2O5R.js} +2 -3
- package/dist/{chunk-63WE2C5R.js → chunk-PA3UTI4A.js} +0 -1
- package/dist/{chunk-Q3NH3NPD.js → chunk-RJXAXR7Q.js} +5 -6
- package/dist/{chunk-A4D2CIIT.js → chunk-RYVW7RUM.js} +1 -2
- package/dist/{chunk-ULHHMZRL.js → chunk-RZOJ4GSY.js} +4 -5
- package/dist/{chunk-UT3NQLCF.js → chunk-SU7AAS3O.js} +2 -3
- package/dist/{chunk-DP2PT36G.js → chunk-TS3OJ4LA.js} +1 -2
- package/dist/{chunk-BLCCGRKT.js → chunk-TZC3EOZS.js} +5 -6
- package/dist/{chunk-Q6QCHAMD.js → chunk-UAPK3AIJ.js} +0 -1
- package/dist/{chunk-JOC3ZI56.js → chunk-UZCXOOZO.js} +2 -38
- package/dist/{chunk-PKJ7ODTG.js → chunk-VOXUA5ZH.js} +4 -5
- package/dist/{chunk-KXEPBLVD.js → chunk-WBTXEJOC.js} +12 -13
- package/dist/{chunk-YPKNMYD4.js → chunk-ZSHVXDA2.js} +0 -1
- package/dist/{client-CGW0Cevz.d.ts → client-BWhi-vSj.d.ts} +4 -65
- package/dist/client.cjs +45 -413
- package/dist/client.d.ts +2 -4
- package/dist/client.js +32 -38
- package/dist/core/client.cjs +2 -38
- package/dist/core/client.js +6 -7
- package/dist/core/error.cjs +2 -38
- package/dist/core/error.js +4 -5
- package/dist/core/index.cjs +2 -38
- package/dist/core/index.js +8 -9
- package/dist/core/resource.cjs +0 -1
- package/dist/core/resource.js +2 -3
- package/dist/edge.cjs +2 -38
- package/dist/edge.js +10 -11
- package/dist/index.cjs +48 -418
- package/dist/index.d.ts +2 -4
- package/dist/index.js +39 -48
- package/dist/modelrouter/core.cjs +2 -38
- package/dist/modelrouter/core.js +8 -9
- package/dist/modelrouter/index.cjs +2 -38
- package/dist/modelrouter/index.js +8 -9
- package/dist/modelrouter/types.cjs +0 -1
- package/dist/modelrouter/types.js +0 -1
- package/dist/subagents/anthropic.cjs +2 -38
- package/dist/subagents/anthropic.d.ts +1 -1
- package/dist/subagents/anthropic.js +19 -20
- package/dist/subagents/index.cjs +0 -1
- package/dist/subagents/index.d.ts +1 -1
- package/dist/subagents/index.js +2 -3
- package/dist/subagents/prompts.cjs +0 -1
- package/dist/subagents/prompts.d.ts +1 -1
- package/dist/subagents/prompts.js +2 -3
- package/dist/subagents/types.cjs +0 -1
- package/dist/subagents/types.d.ts +1 -1
- package/dist/subagents/types.js +0 -1
- package/dist/subagents/vercel.cjs +2 -38
- package/dist/subagents/vercel.d.ts +1 -1
- package/dist/subagents/vercel.js +19 -20
- package/dist/tools/compact/core.cjs +2 -38
- package/dist/tools/compact/core.js +8 -9
- package/dist/tools/compact/index.cjs +2 -38
- package/dist/tools/compact/index.js +9 -10
- package/dist/tools/compact/types.cjs +0 -1
- package/dist/tools/compact/types.js +0 -1
- package/dist/tools/fastapply/anthropic.cjs +2 -38
- package/dist/tools/fastapply/anthropic.js +11 -12
- package/dist/tools/fastapply/apply.cjs +2 -38
- package/dist/tools/fastapply/apply.js +4 -5
- package/dist/tools/fastapply/core.cjs +2 -38
- package/dist/tools/fastapply/core.js +9 -10
- package/dist/tools/fastapply/index.cjs +2 -38
- package/dist/tools/fastapply/index.js +17 -18
- package/dist/tools/fastapply/openai.cjs +2 -38
- package/dist/tools/fastapply/openai.js +11 -12
- package/dist/tools/fastapply/prompts.cjs +0 -1
- package/dist/tools/fastapply/prompts.js +2 -3
- package/dist/tools/fastapply/types.cjs +0 -1
- package/dist/tools/fastapply/types.js +0 -1
- package/dist/tools/fastapply/vercel.cjs +2 -38
- package/dist/tools/fastapply/vercel.js +11 -12
- package/dist/tools/index.cjs +2 -38
- package/dist/tools/index.js +17 -18
- package/dist/tools/utils/resilience.cjs +2 -38
- package/dist/tools/utils/resilience.js +3 -4
- package/dist/tools/warp_grep/agent/config.cjs +0 -1
- package/dist/tools/warp_grep/agent/config.js +2 -3
- package/dist/tools/warp_grep/agent/formatter.cjs +0 -1
- package/dist/tools/warp_grep/agent/formatter.js +2 -3
- package/dist/tools/warp_grep/agent/parser.cjs +0 -1
- package/dist/tools/warp_grep/agent/parser.js +2 -3
- package/dist/tools/warp_grep/agent/runner.cjs +2 -38
- package/dist/tools/warp_grep/agent/runner.js +7 -8
- package/dist/tools/warp_grep/agent/types.cjs +0 -1
- package/dist/tools/warp_grep/agent/types.js +0 -1
- package/dist/tools/warp_grep/anthropic.cjs +2 -38
- package/dist/tools/warp_grep/anthropic.d.ts +1 -1
- package/dist/tools/warp_grep/anthropic.js +19 -20
- package/dist/tools/warp_grep/client.cjs +2 -38
- package/dist/tools/warp_grep/client.d.ts +1 -1
- package/dist/tools/warp_grep/client.js +17 -18
- package/dist/tools/warp_grep/gemini.cjs +2 -38
- package/dist/tools/warp_grep/gemini.d.ts +1 -1
- package/dist/tools/warp_grep/gemini.js +18 -19
- package/dist/tools/warp_grep/harness.cjs +0 -1
- package/dist/tools/warp_grep/harness.js +14 -15
- package/dist/tools/warp_grep/index.cjs +2 -38
- package/dist/tools/warp_grep/index.d.ts +1 -1
- package/dist/tools/warp_grep/index.js +27 -28
- package/dist/tools/warp_grep/openai.cjs +2 -38
- package/dist/tools/warp_grep/openai.d.ts +1 -1
- package/dist/tools/warp_grep/openai.js +19 -20
- package/dist/tools/warp_grep/providers/code_storage_http.cjs +0 -1
- package/dist/tools/warp_grep/providers/code_storage_http.d.ts +1 -1
- package/dist/tools/warp_grep/providers/code_storage_http.js +2 -3
- package/dist/tools/warp_grep/providers/local.cjs +0 -1
- package/dist/tools/warp_grep/providers/local.js +6 -7
- package/dist/tools/warp_grep/providers/remote.cjs +0 -1
- package/dist/tools/warp_grep/providers/remote.d.ts +1 -1
- package/dist/tools/warp_grep/providers/remote.js +3 -4
- package/dist/tools/warp_grep/providers/types.cjs +0 -1
- package/dist/tools/warp_grep/providers/types.js +0 -1
- package/dist/tools/warp_grep/utils/files.cjs +0 -1
- package/dist/tools/warp_grep/utils/files.js +2 -3
- package/dist/tools/warp_grep/utils/github.cjs +0 -1
- package/dist/tools/warp_grep/utils/github.js +2 -3
- package/dist/tools/warp_grep/utils/paths.cjs +0 -1
- package/dist/tools/warp_grep/utils/paths.js +2 -3
- package/dist/tools/warp_grep/utils/ripgrep.cjs +0 -1
- package/dist/tools/warp_grep/utils/ripgrep.js +2 -3
- package/dist/tools/warp_grep/vercel.cjs +2 -38
- package/dist/tools/warp_grep/vercel.d.ts +1 -1
- package/dist/tools/warp_grep/vercel.js +19 -20
- package/dist/{types-qwD753FR.d.ts → types-DxZLPogx.d.ts} +1 -1
- package/dist/version.cjs +2 -38
- package/dist/version.js +2 -3
- package/package.json +2 -37
- package/dist/ai-sdk/index.cjs.map +0 -1
- package/dist/ai-sdk/index.js.map +0 -1
- package/dist/chunk-5KQ2WRBU.js.map +0 -1
- package/dist/chunk-5TOJD2C5.js.map +0 -1
- package/dist/chunk-63VHBANJ.js.map +0 -1
- package/dist/chunk-63WE2C5R.js.map +0 -1
- package/dist/chunk-7UU4NF4G.js.map +0 -1
- package/dist/chunk-A4D2CIIT.js.map +0 -1
- package/dist/chunk-BLCCGRKT.js.map +0 -1
- package/dist/chunk-BTMMUG3E.js.map +0 -1
- package/dist/chunk-CCJK3HTG.js.map +0 -1
- package/dist/chunk-CEXBKXWU.js.map +0 -1
- package/dist/chunk-DP2PT36G.js.map +0 -1
- package/dist/chunk-EMURAU6J.js +0 -148
- package/dist/chunk-EMURAU6J.js.map +0 -1
- package/dist/chunk-F3NCFNUX.js.map +0 -1
- package/dist/chunk-FBRNUWEB.js.map +0 -1
- package/dist/chunk-G2RSY56Q.js.map +0 -1
- package/dist/chunk-GKRPR5PZ.js.map +0 -1
- package/dist/chunk-GTV27THY.js.map +0 -1
- package/dist/chunk-HYRHI2UL.js.map +0 -1
- package/dist/chunk-IA5K2HTC.js.map +0 -1
- package/dist/chunk-IDMKQWQG.js +0 -214
- package/dist/chunk-IDMKQWQG.js.map +0 -1
- package/dist/chunk-JOC3ZI56.js.map +0 -1
- package/dist/chunk-K2JR2NFQ.js +0 -128
- package/dist/chunk-K2JR2NFQ.js.map +0 -1
- package/dist/chunk-KXEPBLVD.js.map +0 -1
- package/dist/chunk-MEZTHMB2.js +0 -83
- package/dist/chunk-MEZTHMB2.js.map +0 -1
- package/dist/chunk-MRMBFJR2.js.map +0 -1
- package/dist/chunk-O7LJEVZO.js.map +0 -1
- package/dist/chunk-OPNTDMHH.js.map +0 -1
- package/dist/chunk-PKJ7ODTG.js.map +0 -1
- package/dist/chunk-PW6K6OJL.js.map +0 -1
- package/dist/chunk-PZ5AY32C.js.map +0 -1
- package/dist/chunk-Q3NH3NPD.js.map +0 -1
- package/dist/chunk-Q6QCHAMD.js.map +0 -1
- package/dist/chunk-QRXG5CAZ.js.map +0 -1
- package/dist/chunk-RL3ZTXT3.js +0 -58
- package/dist/chunk-RL3ZTXT3.js.map +0 -1
- package/dist/chunk-TLXVGE4R.js +0 -42
- package/dist/chunk-TLXVGE4R.js.map +0 -1
- package/dist/chunk-TPP2UGQP.js.map +0 -1
- package/dist/chunk-ULHHMZRL.js.map +0 -1
- package/dist/chunk-UT3NQLCF.js.map +0 -1
- package/dist/chunk-VS5F2ORN.js +0 -97
- package/dist/chunk-VS5F2ORN.js.map +0 -1
- package/dist/chunk-VZ7BOH2K.js +0 -1
- package/dist/chunk-VZ7BOH2K.js.map +0 -1
- package/dist/chunk-W37OFBSG.js.map +0 -1
- package/dist/chunk-WDBYAXZ5.js.map +0 -1
- package/dist/chunk-X2K57BH6.js +0 -1
- package/dist/chunk-X2K57BH6.js.map +0 -1
- package/dist/chunk-YPKNMYD4.js.map +0 -1
- package/dist/chunk-YQMPVJ2L.js +0 -32
- package/dist/chunk-YQMPVJ2L.js.map +0 -1
- package/dist/chunk-YSFEKIYQ.js.map +0 -1
- package/dist/chunk-ZHB57ORD.js.map +0 -1
- package/dist/chunk-ZZ25FZG2.js.map +0 -1
- package/dist/client.cjs.map +0 -1
- package/dist/client.js.map +0 -1
- package/dist/core/client.cjs.map +0 -1
- package/dist/core/client.js.map +0 -1
- package/dist/core/error.cjs.map +0 -1
- package/dist/core/error.js.map +0 -1
- package/dist/core/index.cjs.map +0 -1
- package/dist/core/index.js.map +0 -1
- package/dist/core/resource.cjs.map +0 -1
- package/dist/core/resource.js.map +0 -1
- package/dist/edge.cjs.map +0 -1
- package/dist/edge.js.map +0 -1
- package/dist/index.cjs.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/modelrouter/core.cjs.map +0 -1
- package/dist/modelrouter/core.js.map +0 -1
- package/dist/modelrouter/index.cjs.map +0 -1
- package/dist/modelrouter/index.js.map +0 -1
- package/dist/modelrouter/types.cjs.map +0 -1
- package/dist/modelrouter/types.js.map +0 -1
- package/dist/otel-CG0uqXjp.d.ts +0 -42
- package/dist/subagents/anthropic.cjs.map +0 -1
- package/dist/subagents/anthropic.js.map +0 -1
- package/dist/subagents/index.cjs.map +0 -1
- package/dist/subagents/index.js.map +0 -1
- package/dist/subagents/prompts.cjs.map +0 -1
- package/dist/subagents/prompts.js.map +0 -1
- package/dist/subagents/types.cjs.map +0 -1
- package/dist/subagents/types.js.map +0 -1
- package/dist/subagents/vercel.cjs.map +0 -1
- package/dist/subagents/vercel.js.map +0 -1
- package/dist/tools/codebase_search/anthropic.cjs +0 -664
- package/dist/tools/codebase_search/anthropic.cjs.map +0 -1
- package/dist/tools/codebase_search/anthropic.d.ts +0 -40
- package/dist/tools/codebase_search/anthropic.js +0 -16
- package/dist/tools/codebase_search/anthropic.js.map +0 -1
- package/dist/tools/codebase_search/core.cjs +0 -606
- package/dist/tools/codebase_search/core.cjs.map +0 -1
- package/dist/tools/codebase_search/core.d.ts +0 -51
- package/dist/tools/codebase_search/core.js +0 -16
- package/dist/tools/codebase_search/core.js.map +0 -1
- package/dist/tools/codebase_search/index.cjs +0 -789
- package/dist/tools/codebase_search/index.cjs.map +0 -1
- package/dist/tools/codebase_search/index.d.ts +0 -12
- package/dist/tools/codebase_search/index.js +0 -32
- package/dist/tools/codebase_search/index.js.map +0 -1
- package/dist/tools/codebase_search/openai.cjs +0 -713
- package/dist/tools/codebase_search/openai.cjs.map +0 -1
- package/dist/tools/codebase_search/openai.d.ts +0 -87
- package/dist/tools/codebase_search/openai.js +0 -26
- package/dist/tools/codebase_search/openai.js.map +0 -1
- package/dist/tools/codebase_search/prompts.cjs +0 -57
- package/dist/tools/codebase_search/prompts.cjs.map +0 -1
- package/dist/tools/codebase_search/prompts.d.ts +0 -7
- package/dist/tools/codebase_search/prompts.js +0 -10
- package/dist/tools/codebase_search/prompts.js.map +0 -1
- package/dist/tools/codebase_search/types.cjs +0 -19
- package/dist/tools/codebase_search/types.cjs.map +0 -1
- package/dist/tools/codebase_search/types.d.ts +0 -50
- package/dist/tools/codebase_search/types.js +0 -1
- package/dist/tools/codebase_search/types.js.map +0 -1
- package/dist/tools/codebase_search/vercel.cjs +0 -626
- package/dist/tools/codebase_search/vercel.cjs.map +0 -1
- package/dist/tools/codebase_search/vercel.d.ts +0 -65
- package/dist/tools/codebase_search/vercel.js +0 -20
- package/dist/tools/codebase_search/vercel.js.map +0 -1
- package/dist/tools/compact/core.cjs.map +0 -1
- package/dist/tools/compact/core.js.map +0 -1
- package/dist/tools/compact/index.cjs.map +0 -1
- package/dist/tools/compact/index.js.map +0 -1
- package/dist/tools/compact/types.cjs.map +0 -1
- package/dist/tools/compact/types.js.map +0 -1
- package/dist/tools/fastapply/anthropic.cjs.map +0 -1
- package/dist/tools/fastapply/anthropic.js.map +0 -1
- package/dist/tools/fastapply/apply.cjs.map +0 -1
- package/dist/tools/fastapply/apply.js.map +0 -1
- package/dist/tools/fastapply/core.cjs.map +0 -1
- package/dist/tools/fastapply/core.js.map +0 -1
- package/dist/tools/fastapply/index.cjs.map +0 -1
- package/dist/tools/fastapply/index.js.map +0 -1
- package/dist/tools/fastapply/openai.cjs.map +0 -1
- package/dist/tools/fastapply/openai.js.map +0 -1
- package/dist/tools/fastapply/prompts.cjs.map +0 -1
- package/dist/tools/fastapply/prompts.js.map +0 -1
- package/dist/tools/fastapply/types.cjs.map +0 -1
- package/dist/tools/fastapply/types.js.map +0 -1
- package/dist/tools/fastapply/vercel.cjs.map +0 -1
- package/dist/tools/fastapply/vercel.js.map +0 -1
- package/dist/tools/index.cjs.map +0 -1
- package/dist/tools/index.js.map +0 -1
- package/dist/tools/utils/resilience.cjs.map +0 -1
- package/dist/tools/utils/resilience.js.map +0 -1
- package/dist/tools/warp_grep/agent/config.cjs.map +0 -1
- package/dist/tools/warp_grep/agent/config.js.map +0 -1
- package/dist/tools/warp_grep/agent/formatter.cjs.map +0 -1
- package/dist/tools/warp_grep/agent/formatter.js.map +0 -1
- package/dist/tools/warp_grep/agent/parser.cjs.map +0 -1
- package/dist/tools/warp_grep/agent/parser.js.map +0 -1
- package/dist/tools/warp_grep/agent/runner.cjs.map +0 -1
- package/dist/tools/warp_grep/agent/runner.js.map +0 -1
- package/dist/tools/warp_grep/agent/types.cjs.map +0 -1
- package/dist/tools/warp_grep/agent/types.js.map +0 -1
- package/dist/tools/warp_grep/anthropic.cjs.map +0 -1
- package/dist/tools/warp_grep/anthropic.js.map +0 -1
- package/dist/tools/warp_grep/client.cjs.map +0 -1
- package/dist/tools/warp_grep/client.js.map +0 -1
- package/dist/tools/warp_grep/gemini.cjs.map +0 -1
- package/dist/tools/warp_grep/gemini.js.map +0 -1
- package/dist/tools/warp_grep/harness.cjs.map +0 -1
- package/dist/tools/warp_grep/harness.js.map +0 -1
- package/dist/tools/warp_grep/index.cjs.map +0 -1
- package/dist/tools/warp_grep/index.js.map +0 -1
- package/dist/tools/warp_grep/openai.cjs.map +0 -1
- package/dist/tools/warp_grep/openai.js.map +0 -1
- package/dist/tools/warp_grep/providers/code_storage_http.cjs.map +0 -1
- package/dist/tools/warp_grep/providers/code_storage_http.js.map +0 -1
- package/dist/tools/warp_grep/providers/local.cjs.map +0 -1
- package/dist/tools/warp_grep/providers/local.js.map +0 -1
- package/dist/tools/warp_grep/providers/remote.cjs.map +0 -1
- package/dist/tools/warp_grep/providers/remote.js.map +0 -1
- package/dist/tools/warp_grep/providers/types.cjs.map +0 -1
- package/dist/tools/warp_grep/providers/types.js.map +0 -1
- package/dist/tools/warp_grep/utils/files.cjs.map +0 -1
- package/dist/tools/warp_grep/utils/files.js.map +0 -1
- package/dist/tools/warp_grep/utils/github.cjs.map +0 -1
- package/dist/tools/warp_grep/utils/github.js.map +0 -1
- package/dist/tools/warp_grep/utils/paths.cjs.map +0 -1
- package/dist/tools/warp_grep/utils/paths.js.map +0 -1
- package/dist/tools/warp_grep/utils/ripgrep.cjs.map +0 -1
- package/dist/tools/warp_grep/utils/ripgrep.js.map +0 -1
- package/dist/tools/warp_grep/vercel.cjs.map +0 -1
- package/dist/tools/warp_grep/vercel.js.map +0 -1
- package/dist/tracing/core.cjs +0 -410
- package/dist/tracing/core.cjs.map +0 -1
- package/dist/tracing/core.d.ts +0 -58
- package/dist/tracing/core.js +0 -12
- package/dist/tracing/core.js.map +0 -1
- package/dist/tracing/index.cjs +0 -422
- package/dist/tracing/index.cjs.map +0 -1
- package/dist/tracing/index.d.ts +0 -5
- package/dist/tracing/index.js +0 -17
- package/dist/tracing/index.js.map +0 -1
- package/dist/tracing/interaction.cjs +0 -273
- package/dist/tracing/interaction.cjs.map +0 -1
- package/dist/tracing/interaction.d.ts +0 -41
- package/dist/tracing/interaction.js +0 -11
- package/dist/tracing/interaction.js.map +0 -1
- package/dist/tracing/otel.cjs +0 -56
- package/dist/tracing/otel.cjs.map +0 -1
- package/dist/tracing/otel.d.ts +0 -2
- package/dist/tracing/otel.js +0 -10
- package/dist/tracing/otel.js.map +0 -1
- package/dist/tracing/types.cjs +0 -19
- package/dist/tracing/types.cjs.map +0 -1
- package/dist/tracing/types.d.ts +0 -124
- package/dist/tracing/types.js +0 -1
- package/dist/tracing/types.js.map +0 -1
- package/dist/version.cjs.map +0 -1
- package/dist/version.js.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -36,7 +36,7 @@ var init_package = __esm({
|
|
|
36
36
|
"package.json"() {
|
|
37
37
|
package_default = {
|
|
38
38
|
name: "@morphllm/morphsdk",
|
|
39
|
-
version: "0.2.
|
|
39
|
+
version: "0.2.201",
|
|
40
40
|
description: "TypeScript SDK and CLI for Morph Fast Apply integration",
|
|
41
41
|
type: "module",
|
|
42
42
|
main: "./dist/index.cjs",
|
|
@@ -93,16 +93,6 @@ var init_package = __esm({
|
|
|
93
93
|
import: "./dist/tools/warp_grep/harness.js",
|
|
94
94
|
require: "./dist/tools/warp_grep/harness.cjs"
|
|
95
95
|
},
|
|
96
|
-
"./tracing": {
|
|
97
|
-
types: "./dist/tracing/index.d.ts",
|
|
98
|
-
import: "./dist/tracing/index.js",
|
|
99
|
-
require: "./dist/tracing/index.cjs"
|
|
100
|
-
},
|
|
101
|
-
"./tracing/otel": {
|
|
102
|
-
types: "./dist/tracing/otel.d.ts",
|
|
103
|
-
import: "./dist/tracing/otel.js",
|
|
104
|
-
require: "./dist/tracing/otel.cjs"
|
|
105
|
-
},
|
|
106
96
|
"./tools/fastapply": {
|
|
107
97
|
types: "./dist/tools/fastapply/index.d.ts",
|
|
108
98
|
import: "./dist/tools/fastapply/index.js",
|
|
@@ -123,26 +113,6 @@ var init_package = __esm({
|
|
|
123
113
|
import: "./dist/tools/fastapply/vercel.js",
|
|
124
114
|
require: "./dist/tools/fastapply/vercel.cjs"
|
|
125
115
|
},
|
|
126
|
-
"./tools/codebase-search": {
|
|
127
|
-
types: "./dist/tools/codebase_search/index.d.ts",
|
|
128
|
-
import: "./dist/tools/codebase_search/index.js",
|
|
129
|
-
require: "./dist/tools/codebase_search/index.cjs"
|
|
130
|
-
},
|
|
131
|
-
"./tools/codebase-search/anthropic": {
|
|
132
|
-
types: "./dist/tools/codebase_search/anthropic.d.ts",
|
|
133
|
-
import: "./dist/tools/codebase_search/anthropic.js",
|
|
134
|
-
require: "./dist/tools/codebase_search/anthropic.cjs"
|
|
135
|
-
},
|
|
136
|
-
"./tools/codebase-search/openai": {
|
|
137
|
-
types: "./dist/tools/codebase_search/openai.d.ts",
|
|
138
|
-
import: "./dist/tools/codebase_search/openai.js",
|
|
139
|
-
require: "./dist/tools/codebase_search/openai.cjs"
|
|
140
|
-
},
|
|
141
|
-
"./tools/codebase-search/vercel": {
|
|
142
|
-
types: "./dist/tools/codebase_search/vercel.d.ts",
|
|
143
|
-
import: "./dist/tools/codebase_search/vercel.js",
|
|
144
|
-
require: "./dist/tools/codebase_search/vercel.cjs"
|
|
145
|
-
},
|
|
146
116
|
"./modelrouter": {
|
|
147
117
|
types: "./dist/modelrouter/index.d.ts",
|
|
148
118
|
import: "./dist/modelrouter/index.js",
|
|
@@ -178,12 +148,11 @@ var init_package = __esm({
|
|
|
178
148
|
"dist/**/*.js",
|
|
179
149
|
"dist/**/*.cjs",
|
|
180
150
|
"dist/**/*.d.ts",
|
|
181
|
-
"dist/**/*.map",
|
|
182
151
|
"!dist/**/__tests__/**",
|
|
183
152
|
"!dist/**/*.test.*"
|
|
184
153
|
],
|
|
185
154
|
scripts: {
|
|
186
|
-
build: "tsup version.ts index.ts edge.ts client.ts core/index.ts core/client.ts core/resource.ts core/error.ts tools/index.ts tools/fastapply/index.ts tools/fastapply/core.ts tools/fastapply/apply.ts tools/fastapply/types.ts tools/fastapply/prompts.ts tools/fastapply/anthropic.ts tools/fastapply/openai.ts tools/fastapply/vercel.ts tools/
|
|
155
|
+
build: "tsup version.ts index.ts edge.ts client.ts core/index.ts core/client.ts core/resource.ts core/error.ts tools/index.ts tools/fastapply/index.ts tools/fastapply/core.ts tools/fastapply/apply.ts tools/fastapply/types.ts tools/fastapply/prompts.ts tools/fastapply/anthropic.ts tools/fastapply/openai.ts tools/fastapply/vercel.ts tools/warp_grep/index.ts tools/warp_grep/client.ts tools/warp_grep/openai.ts tools/warp_grep/anthropic.ts tools/warp_grep/vercel.ts tools/warp_grep/gemini.ts tools/warp_grep/harness.ts tools/warp_grep/agent/config.ts tools/warp_grep/agent/parser.ts tools/warp_grep/agent/runner.ts tools/warp_grep/agent/types.ts tools/warp_grep/agent/formatter.ts tools/warp_grep/providers/types.ts tools/warp_grep/providers/local.ts tools/warp_grep/providers/remote.ts tools/warp_grep/providers/code_storage_http.ts tools/warp_grep/tools/grep.ts tools/warp_grep/tools/analyse.ts tools/warp_grep/tools/read.ts tools/warp_grep/tools/finish.ts tools/warp_grep/utils/paths.ts tools/warp_grep/utils/github.ts tools/warp_grep/utils/ripgrep.ts tools/warp_grep/utils/format.ts tools/warp_grep/utils/files.ts modelrouter/index.ts modelrouter/core.ts modelrouter/types.ts tools/compact/index.ts tools/compact/core.ts tools/compact/types.ts tools/utils/resilience.ts subagents/index.ts subagents/types.ts subagents/prompts.ts subagents/vercel.ts subagents/anthropic.ts --format esm,cjs --clean --dts --dts-resolve && tsup ai-sdk/index.ts --format esm,cjs --dts --no-clean --out-dir dist/ai-sdk",
|
|
187
156
|
prepare: "npm run build",
|
|
188
157
|
typecheck: "tsc --noEmit && tsc --noEmit -p ai-sdk/tsconfig.json",
|
|
189
158
|
lint: "eslint .",
|
|
@@ -212,10 +181,6 @@ var init_package = __esm({
|
|
|
212
181
|
},
|
|
213
182
|
license: "MIT",
|
|
214
183
|
dependencies: {
|
|
215
|
-
"@opentelemetry/api": "^1.9.0",
|
|
216
|
-
"@opentelemetry/exporter-trace-otlp-http": "^0.203.0",
|
|
217
|
-
"@opentelemetry/sdk-trace-base": "^2.7.1",
|
|
218
|
-
"@traceloop/node-server-sdk": "^0.27.0",
|
|
219
184
|
"@vscode/ripgrep": "^1.17.0",
|
|
220
185
|
ai: ">=5.0.0",
|
|
221
186
|
diff: "^7.0.0",
|
|
@@ -1329,7 +1294,6 @@ __export(index_exports, {
|
|
|
1329
1294
|
APIResource: () => APIResource,
|
|
1330
1295
|
AnthropicRouter: () => AnthropicRouter,
|
|
1331
1296
|
AnthropicToolFactory: () => AnthropicToolFactory,
|
|
1332
|
-
CodebaseSearchClient: () => CodebaseSearchClient,
|
|
1333
1297
|
CompactClient: () => CompactClient,
|
|
1334
1298
|
FastApplyAnchorIntegrityError: () => FastApplyAnchorIntegrityError,
|
|
1335
1299
|
FastApplyClient: () => FastApplyClient,
|
|
@@ -1697,86 +1661,6 @@ async function executeEditFile(input, config = {}) {
|
|
|
1697
1661
|
}
|
|
1698
1662
|
}
|
|
1699
1663
|
|
|
1700
|
-
// tools/codebase_search/core.ts
|
|
1701
|
-
init_logger();
|
|
1702
|
-
var DEFAULT_TIMEOUT3 = 3e4;
|
|
1703
|
-
var emptyStats = { totalResults: 0, candidatesRetrieved: 0, searchTimeMs: 0 };
|
|
1704
|
-
async function runSearch(client, input, repoId, timeout, baseURL) {
|
|
1705
|
-
const startTime = Date.now();
|
|
1706
|
-
logger.debug("CodebaseSearch", "request", { query: input.query.slice(0, 100), repo_id: repoId });
|
|
1707
|
-
try {
|
|
1708
|
-
const data = await client.post(
|
|
1709
|
-
"/v1/codebase_search",
|
|
1710
|
-
{
|
|
1711
|
-
baseURL: baseURL ?? client.reposURL,
|
|
1712
|
-
timeout,
|
|
1713
|
-
body: {
|
|
1714
|
-
query: input.query,
|
|
1715
|
-
repoId,
|
|
1716
|
-
targetDirectories: input.target_directories || [],
|
|
1717
|
-
limit: input.limit || 10,
|
|
1718
|
-
candidateLimit: 50
|
|
1719
|
-
}
|
|
1720
|
-
}
|
|
1721
|
-
);
|
|
1722
|
-
const elapsed = Date.now() - startTime;
|
|
1723
|
-
logger.debug("CodebaseSearch", "response", { results_count: data.results?.length || 0, latency_ms: elapsed });
|
|
1724
|
-
return {
|
|
1725
|
-
success: true,
|
|
1726
|
-
results: data.results || [],
|
|
1727
|
-
stats: data.stats || { totalResults: 0, candidatesRetrieved: 0, searchTimeMs: elapsed }
|
|
1728
|
-
};
|
|
1729
|
-
} catch (error) {
|
|
1730
|
-
const message = error instanceof MorphError && error.statusCode ? `Search failed (${error.statusCode}): ${error.message}` : error instanceof Error ? error.message : "Unknown error";
|
|
1731
|
-
logger.error("CodebaseSearch", "error", { error: message, latency_ms: Date.now() - startTime });
|
|
1732
|
-
return { success: false, results: [], stats: { ...emptyStats }, error: message };
|
|
1733
|
-
}
|
|
1734
|
-
}
|
|
1735
|
-
var CodebaseSearchClient = class extends APIResource {
|
|
1736
|
-
timeout;
|
|
1737
|
-
constructor(clientOrConfig = {}) {
|
|
1738
|
-
super(
|
|
1739
|
-
clientOrConfig instanceof MorphAPIClient ? clientOrConfig : new MorphAPIClient({
|
|
1740
|
-
apiKey: clientOrConfig.apiKey,
|
|
1741
|
-
timeout: clientOrConfig.timeout ?? DEFAULT_TIMEOUT3,
|
|
1742
|
-
retryConfig: clientOrConfig.retryConfig,
|
|
1743
|
-
debug: clientOrConfig.debug
|
|
1744
|
-
})
|
|
1745
|
-
);
|
|
1746
|
-
this.timeout = (clientOrConfig instanceof MorphAPIClient ? void 0 : clientOrConfig.timeout) ?? DEFAULT_TIMEOUT3;
|
|
1747
|
-
}
|
|
1748
|
-
/**
|
|
1749
|
-
* Execute a semantic code search
|
|
1750
|
-
*
|
|
1751
|
-
* @param input - Search parameters including query, repoId, and target directories
|
|
1752
|
-
* @param overrides - Optional config overrides for this operation
|
|
1753
|
-
* @returns Search results with ranked code matches
|
|
1754
|
-
*/
|
|
1755
|
-
async search(input, overrides) {
|
|
1756
|
-
return runSearch(
|
|
1757
|
-
this._client,
|
|
1758
|
-
{ query: input.query, target_directories: input.target_directories, explanation: input.explanation, limit: input.limit },
|
|
1759
|
-
input.repoId,
|
|
1760
|
-
overrides?.timeout ?? this.timeout,
|
|
1761
|
-
overrides?.searchUrl
|
|
1762
|
-
);
|
|
1763
|
-
}
|
|
1764
|
-
};
|
|
1765
|
-
async function executeCodebaseSearch(input, config) {
|
|
1766
|
-
const apiKey = config.apiKey || process.env.MORPH_API_KEY;
|
|
1767
|
-
if (!apiKey) {
|
|
1768
|
-
throw new Error("MORPH_API_KEY not found. Set environment variable or pass in config");
|
|
1769
|
-
}
|
|
1770
|
-
const client = new MorphAPIClient({
|
|
1771
|
-
apiKey,
|
|
1772
|
-
reposURL: config.searchUrl,
|
|
1773
|
-
timeout: config.timeout ?? DEFAULT_TIMEOUT3,
|
|
1774
|
-
retryConfig: config.retryConfig,
|
|
1775
|
-
debug: config.debug
|
|
1776
|
-
});
|
|
1777
|
-
return runSearch(client, input, config.repoId, config.timeout ?? DEFAULT_TIMEOUT3, config.searchUrl);
|
|
1778
|
-
}
|
|
1779
|
-
|
|
1780
1664
|
// tools/warp_grep/agent/runner.ts
|
|
1781
1665
|
init_config();
|
|
1782
1666
|
|
|
@@ -2750,13 +2634,13 @@ function parseGitHubUrl(input) {
|
|
|
2750
2634
|
|
|
2751
2635
|
// tools/compact/core.ts
|
|
2752
2636
|
var DEFAULT_API_URL3 = "https://api.morphllm.com";
|
|
2753
|
-
var
|
|
2637
|
+
var DEFAULT_TIMEOUT3 = 12e4;
|
|
2754
2638
|
function resolveClient(clientOrConfig) {
|
|
2755
2639
|
if (clientOrConfig instanceof MorphAPIClient) return clientOrConfig;
|
|
2756
2640
|
return new MorphAPIClient({
|
|
2757
2641
|
apiKey: clientOrConfig.morphApiKey,
|
|
2758
2642
|
baseURL: clientOrConfig.morphApiUrl ?? DEFAULT_API_URL3,
|
|
2759
|
-
timeout: clientOrConfig.timeout ??
|
|
2643
|
+
timeout: clientOrConfig.timeout ?? DEFAULT_TIMEOUT3,
|
|
2760
2644
|
retryConfig: clientOrConfig.retryConfig,
|
|
2761
2645
|
debug: clientOrConfig.debug
|
|
2762
2646
|
});
|
|
@@ -2769,7 +2653,7 @@ var CompactClient = class extends APIResource {
|
|
|
2769
2653
|
const cfg = clientOrConfig instanceof MorphAPIClient ? {} : clientOrConfig;
|
|
2770
2654
|
this.config = {
|
|
2771
2655
|
morphApiUrl: this._client.baseURL,
|
|
2772
|
-
timeout: cfg.timeout ??
|
|
2656
|
+
timeout: cfg.timeout ?? DEFAULT_TIMEOUT3,
|
|
2773
2657
|
debug: cfg.debug ?? false
|
|
2774
2658
|
};
|
|
2775
2659
|
}
|
|
@@ -3139,13 +3023,13 @@ function formatResult(result) {
|
|
|
3139
3023
|
// modelrouter/core.ts
|
|
3140
3024
|
init_logger();
|
|
3141
3025
|
var DEFAULT_API_URL4 = "https://api.morphllm.com";
|
|
3142
|
-
var
|
|
3026
|
+
var DEFAULT_TIMEOUT4 = 5e3;
|
|
3143
3027
|
function resolveClient2(clientOrConfig) {
|
|
3144
3028
|
if (clientOrConfig instanceof MorphAPIClient) return clientOrConfig;
|
|
3145
3029
|
return new MorphAPIClient({
|
|
3146
3030
|
apiKey: clientOrConfig.apiKey,
|
|
3147
3031
|
baseURL: clientOrConfig.apiUrl ?? DEFAULT_API_URL4,
|
|
3148
|
-
timeout: clientOrConfig.timeout ??
|
|
3032
|
+
timeout: clientOrConfig.timeout ?? DEFAULT_TIMEOUT4,
|
|
3149
3033
|
retryConfig: clientOrConfig.retryConfig,
|
|
3150
3034
|
debug: clientOrConfig.debug
|
|
3151
3035
|
});
|
|
@@ -3157,7 +3041,7 @@ var BaseRouter = class extends APIResource {
|
|
|
3157
3041
|
super(resolveClient2(clientOrConfig));
|
|
3158
3042
|
this.provider = provider;
|
|
3159
3043
|
const cfg = clientOrConfig instanceof MorphAPIClient ? {} : clientOrConfig;
|
|
3160
|
-
this.timeout = cfg.timeout ??
|
|
3044
|
+
this.timeout = cfg.timeout ?? DEFAULT_TIMEOUT4;
|
|
3161
3045
|
}
|
|
3162
3046
|
/** Throw the historical "API key is required" message when no key is resolvable. */
|
|
3163
3047
|
requireApiKey() {
|
|
@@ -3263,7 +3147,7 @@ var RouterClassifier = class extends APIResource {
|
|
|
3263
3147
|
constructor(clientOrConfig = {}) {
|
|
3264
3148
|
super(resolveClient2(clientOrConfig));
|
|
3265
3149
|
const cfg = clientOrConfig instanceof MorphAPIClient ? {} : clientOrConfig;
|
|
3266
|
-
this.timeout = cfg.timeout ??
|
|
3150
|
+
this.timeout = cfg.timeout ?? DEFAULT_TIMEOUT4;
|
|
3267
3151
|
}
|
|
3268
3152
|
/** Classify an input across the requested axes (all three by default). */
|
|
3269
3153
|
async classify(input) {
|
|
@@ -3321,7 +3205,7 @@ var TOOL_PARAMETERS = {
|
|
|
3321
3205
|
required: ["search_term"]
|
|
3322
3206
|
};
|
|
3323
3207
|
function createWarpGrepTool(config) {
|
|
3324
|
-
const
|
|
3208
|
+
const tool4 = {
|
|
3325
3209
|
type: "function",
|
|
3326
3210
|
function: {
|
|
3327
3211
|
name: config.name ?? WARP_GREP_TOOL_NAME,
|
|
@@ -3329,7 +3213,7 @@ function createWarpGrepTool(config) {
|
|
|
3329
3213
|
parameters: TOOL_PARAMETERS
|
|
3330
3214
|
}
|
|
3331
3215
|
};
|
|
3332
|
-
return Object.assign(
|
|
3216
|
+
return Object.assign(tool4, {
|
|
3333
3217
|
execute: async (input) => {
|
|
3334
3218
|
return executeToolCall(input, config);
|
|
3335
3219
|
},
|
|
@@ -3340,7 +3224,7 @@ function createWarpGrepTool(config) {
|
|
|
3340
3224
|
}
|
|
3341
3225
|
function createGitHubSearchTool(config) {
|
|
3342
3226
|
const client = new WarpGrepClient(config);
|
|
3343
|
-
const
|
|
3227
|
+
const tool4 = {
|
|
3344
3228
|
type: "function",
|
|
3345
3229
|
function: {
|
|
3346
3230
|
name: GITHUB_SEARCH_TOOL_NAME,
|
|
@@ -3348,7 +3232,7 @@ function createGitHubSearchTool(config) {
|
|
|
3348
3232
|
parameters: GITHUB_SEARCH_INPUT_SCHEMA
|
|
3349
3233
|
}
|
|
3350
3234
|
};
|
|
3351
|
-
return Object.assign(
|
|
3235
|
+
return Object.assign(tool4, {
|
|
3352
3236
|
execute: async (input) => {
|
|
3353
3237
|
const github = input.github_url || input.owner_repo;
|
|
3354
3238
|
if (!github) {
|
|
@@ -3362,107 +3246,6 @@ function createGitHubSearchTool(config) {
|
|
|
3362
3246
|
});
|
|
3363
3247
|
}
|
|
3364
3248
|
|
|
3365
|
-
// tools/codebase_search/prompts.ts
|
|
3366
|
-
var CODEBASE_SEARCH_DESCRIPTION = `Semantic search that finds code by meaning, not exact text.
|
|
3367
|
-
|
|
3368
|
-
Use this to explore unfamiliar codebases or ask "how/where/what" questions:
|
|
3369
|
-
- "How does X work?" - Find implementation details
|
|
3370
|
-
- "Where is Y handled?" - Locate specific functionality
|
|
3371
|
-
- "What happens when Z?" - Understand flow
|
|
3372
|
-
|
|
3373
|
-
The tool uses two-stage retrieval (embedding similarity + reranking) to find the most semantically relevant code chunks.
|
|
3374
|
-
|
|
3375
|
-
Returns code chunks with file paths, line ranges, and full content ranked by relevance.`;
|
|
3376
|
-
var CODEBASE_SEARCH_SYSTEM_PROMPT = `You have access to the codebase_search tool that performs semantic code search.
|
|
3377
|
-
|
|
3378
|
-
When searching:
|
|
3379
|
-
- Use natural language queries describing what you're looking for
|
|
3380
|
-
- Be specific about functionality, not variable names
|
|
3381
|
-
- Use target_directories to narrow search if you know the area
|
|
3382
|
-
- Results are ranked by relevance (rerank score is most important)
|
|
3383
|
-
|
|
3384
|
-
The tool returns:
|
|
3385
|
-
- File paths with symbol names (e.g. "src/auth.ts::AuthService@L1-L17")
|
|
3386
|
-
- Line ranges for precise navigation
|
|
3387
|
-
- Full code content for each match
|
|
3388
|
-
- Dual relevance scores: embedding similarity + rerank score
|
|
3389
|
-
|
|
3390
|
-
Use results to understand code or answer questions. The content is provided in full - avoid re-reading unless you need more context.`;
|
|
3391
|
-
|
|
3392
|
-
// tools/codebase_search/openai.ts
|
|
3393
|
-
function createCodebaseSearchTool(config) {
|
|
3394
|
-
const toolDefinition = {
|
|
3395
|
-
type: "function",
|
|
3396
|
-
function: {
|
|
3397
|
-
name: "codebase_search",
|
|
3398
|
-
description: CODEBASE_SEARCH_DESCRIPTION,
|
|
3399
|
-
parameters: {
|
|
3400
|
-
type: "object",
|
|
3401
|
-
properties: {
|
|
3402
|
-
query: {
|
|
3403
|
-
type: "string",
|
|
3404
|
-
description: 'A complete question about what you want to understand. Ask as if talking to a colleague: "How does X work?", "What happens when Y?", "Where is Z handled?"'
|
|
3405
|
-
},
|
|
3406
|
-
target_directories: {
|
|
3407
|
-
type: "array",
|
|
3408
|
-
items: { type: "string" },
|
|
3409
|
-
description: "Prefix directory paths to limit search scope (single directory only, no glob patterns). Use [] to search entire repo."
|
|
3410
|
-
},
|
|
3411
|
-
explanation: {
|
|
3412
|
-
type: "string",
|
|
3413
|
-
description: "One sentence explanation as to why this tool is being used, and how it contributes to the goal."
|
|
3414
|
-
},
|
|
3415
|
-
limit: {
|
|
3416
|
-
type: "number",
|
|
3417
|
-
description: "Maximum results to return (default: 10)"
|
|
3418
|
-
}
|
|
3419
|
-
},
|
|
3420
|
-
required: ["query", "target_directories", "explanation"]
|
|
3421
|
-
}
|
|
3422
|
-
}
|
|
3423
|
-
};
|
|
3424
|
-
return Object.assign(toolDefinition, {
|
|
3425
|
-
execute: async (input) => {
|
|
3426
|
-
const parsedInput = typeof input === "string" ? JSON.parse(input) : input;
|
|
3427
|
-
return executeCodebaseSearch(parsedInput, config);
|
|
3428
|
-
},
|
|
3429
|
-
formatResult: (result) => {
|
|
3430
|
-
return formatResult2(result);
|
|
3431
|
-
},
|
|
3432
|
-
getSystemPrompt: () => {
|
|
3433
|
-
return CODEBASE_SEARCH_SYSTEM_PROMPT;
|
|
3434
|
-
}
|
|
3435
|
-
});
|
|
3436
|
-
}
|
|
3437
|
-
function formatResult2(result) {
|
|
3438
|
-
if (!result.success) {
|
|
3439
|
-
return `Search failed: ${result.error}`;
|
|
3440
|
-
}
|
|
3441
|
-
if (result.results.length === 0) {
|
|
3442
|
-
return "No matching code found. Try rephrasing your query or removing directory filters.";
|
|
3443
|
-
}
|
|
3444
|
-
const lines = [];
|
|
3445
|
-
lines.push(`Found ${result.results.length} relevant code sections (${result.stats.searchTimeMs}ms):
|
|
3446
|
-
`);
|
|
3447
|
-
result.results.forEach((r, i) => {
|
|
3448
|
-
const relevance = (r.rerankScore * 100).toFixed(1);
|
|
3449
|
-
lines.push(`${i + 1}. ${r.filepath} (${relevance}% relevant)`);
|
|
3450
|
-
lines.push(` Symbol: ${r.symbolPath}`);
|
|
3451
|
-
lines.push(` Language: ${r.language}`);
|
|
3452
|
-
lines.push(` Lines: ${r.startLine}-${r.endLine}`);
|
|
3453
|
-
lines.push(` Code:`);
|
|
3454
|
-
const codeLines = r.content.split("\n");
|
|
3455
|
-
codeLines.slice(0, Math.min(codeLines.length, 20)).forEach((line) => {
|
|
3456
|
-
lines.push(` ${line}`);
|
|
3457
|
-
});
|
|
3458
|
-
if (codeLines.length > 20) {
|
|
3459
|
-
lines.push(` ... (${codeLines.length - 20} more lines)`);
|
|
3460
|
-
}
|
|
3461
|
-
lines.push("");
|
|
3462
|
-
});
|
|
3463
|
-
return lines.join("\n");
|
|
3464
|
-
}
|
|
3465
|
-
|
|
3466
3249
|
// tools/fastapply/prompts.ts
|
|
3467
3250
|
var EDIT_FILE_TOOL_DESCRIPTION = `Use this tool to make an edit to an existing file.
|
|
3468
3251
|
|
|
@@ -3533,7 +3316,7 @@ async function execute(input, config) {
|
|
|
3533
3316
|
function getSystemPrompt() {
|
|
3534
3317
|
return EDIT_FILE_SYSTEM_PROMPT;
|
|
3535
3318
|
}
|
|
3536
|
-
function
|
|
3319
|
+
function formatResult2(result) {
|
|
3537
3320
|
if (!result.success) {
|
|
3538
3321
|
return `Error editing file: ${result.error}`;
|
|
3539
3322
|
}
|
|
@@ -3556,7 +3339,7 @@ function createEditFileTool(config = {}) {
|
|
|
3556
3339
|
return execute(parsedInput, config);
|
|
3557
3340
|
},
|
|
3558
3341
|
formatResult: (result) => {
|
|
3559
|
-
return
|
|
3342
|
+
return formatResult2(result);
|
|
3560
3343
|
},
|
|
3561
3344
|
getSystemPrompt: () => {
|
|
3562
3345
|
return getSystemPrompt();
|
|
@@ -3581,18 +3364,6 @@ var OpenAIToolFactory = class {
|
|
|
3581
3364
|
morphApiKey: this.config.apiKey
|
|
3582
3365
|
});
|
|
3583
3366
|
}
|
|
3584
|
-
/**
|
|
3585
|
-
* Create an OpenAI-compatible codebase search tool
|
|
3586
|
-
*
|
|
3587
|
-
* @param toolConfig - Tool configuration with repoId (apiKey inherited from MorphClient)
|
|
3588
|
-
* @returns OpenAI ChatCompletionTool with execute and formatResult methods
|
|
3589
|
-
*/
|
|
3590
|
-
createCodebaseSearchTool(toolConfig) {
|
|
3591
|
-
return createCodebaseSearchTool({
|
|
3592
|
-
...toolConfig,
|
|
3593
|
-
apiKey: this.config.apiKey
|
|
3594
|
-
});
|
|
3595
|
-
}
|
|
3596
3367
|
/**
|
|
3597
3368
|
* Create an OpenAI-compatible edit file tool
|
|
3598
3369
|
*
|
|
@@ -3628,12 +3399,12 @@ var INPUT_SCHEMA = {
|
|
|
3628
3399
|
required: ["search_term"]
|
|
3629
3400
|
};
|
|
3630
3401
|
function createWarpGrepTool2(config) {
|
|
3631
|
-
const
|
|
3402
|
+
const tool4 = {
|
|
3632
3403
|
name: config.name ?? WARP_GREP_TOOL_NAME,
|
|
3633
3404
|
description: config.description ?? WARP_GREP_DESCRIPTION,
|
|
3634
3405
|
input_schema: INPUT_SCHEMA
|
|
3635
3406
|
};
|
|
3636
|
-
return Object.assign(
|
|
3407
|
+
return Object.assign(tool4, {
|
|
3637
3408
|
execute: async (input) => {
|
|
3638
3409
|
return executeToolCall(input, config);
|
|
3639
3410
|
},
|
|
@@ -3644,12 +3415,12 @@ function createWarpGrepTool2(config) {
|
|
|
3644
3415
|
}
|
|
3645
3416
|
function createGitHubSearchTool2(config) {
|
|
3646
3417
|
const client = new WarpGrepClient(config);
|
|
3647
|
-
const
|
|
3418
|
+
const tool4 = {
|
|
3648
3419
|
name: GITHUB_SEARCH_TOOL_NAME,
|
|
3649
3420
|
description: GITHUB_SEARCH_DESCRIPTION,
|
|
3650
3421
|
input_schema: GITHUB_SEARCH_INPUT_SCHEMA
|
|
3651
3422
|
};
|
|
3652
|
-
return Object.assign(
|
|
3423
|
+
return Object.assign(tool4, {
|
|
3653
3424
|
execute: async (input) => {
|
|
3654
3425
|
const github = input.github_url || input.owner_repo;
|
|
3655
3426
|
if (!github) {
|
|
@@ -3663,77 +3434,6 @@ function createGitHubSearchTool2(config) {
|
|
|
3663
3434
|
});
|
|
3664
3435
|
}
|
|
3665
3436
|
|
|
3666
|
-
// tools/codebase_search/anthropic.ts
|
|
3667
|
-
function createCodebaseSearchTool2(config) {
|
|
3668
|
-
const toolDefinition = {
|
|
3669
|
-
name: "codebase_search",
|
|
3670
|
-
description: CODEBASE_SEARCH_DESCRIPTION,
|
|
3671
|
-
input_schema: {
|
|
3672
|
-
type: "object",
|
|
3673
|
-
properties: {
|
|
3674
|
-
explanation: {
|
|
3675
|
-
type: "string",
|
|
3676
|
-
description: "One sentence explanation as to why this tool is being used, and how it contributes to the goal."
|
|
3677
|
-
},
|
|
3678
|
-
query: {
|
|
3679
|
-
type: "string",
|
|
3680
|
-
description: 'A complete question about what you want to understand. Ask as if talking to a colleague: "How does X work?", "What happens when Y?", "Where is Z handled?"'
|
|
3681
|
-
},
|
|
3682
|
-
target_directories: {
|
|
3683
|
-
type: "array",
|
|
3684
|
-
items: { type: "string" },
|
|
3685
|
-
description: "Prefix directory paths to limit search scope (single directory only, no glob patterns). Use [] to search entire repo."
|
|
3686
|
-
},
|
|
3687
|
-
limit: {
|
|
3688
|
-
type: "number",
|
|
3689
|
-
description: "Maximum results to return (default: 10)"
|
|
3690
|
-
}
|
|
3691
|
-
},
|
|
3692
|
-
required: ["query", "target_directories", "explanation"]
|
|
3693
|
-
},
|
|
3694
|
-
cache_control: { type: "ephemeral" }
|
|
3695
|
-
};
|
|
3696
|
-
return Object.assign(toolDefinition, {
|
|
3697
|
-
execute: async (input) => {
|
|
3698
|
-
return executeCodebaseSearch(input, config);
|
|
3699
|
-
},
|
|
3700
|
-
formatResult: (result) => {
|
|
3701
|
-
return formatResult4(result);
|
|
3702
|
-
},
|
|
3703
|
-
getSystemPrompt: () => {
|
|
3704
|
-
return CODEBASE_SEARCH_SYSTEM_PROMPT;
|
|
3705
|
-
}
|
|
3706
|
-
});
|
|
3707
|
-
}
|
|
3708
|
-
function formatResult4(result) {
|
|
3709
|
-
if (!result.success) {
|
|
3710
|
-
return `Search failed: ${result.error}`;
|
|
3711
|
-
}
|
|
3712
|
-
if (result.results.length === 0) {
|
|
3713
|
-
return "No matching code found. Try rephrasing your query or broadening the search scope.";
|
|
3714
|
-
}
|
|
3715
|
-
const lines = [];
|
|
3716
|
-
lines.push(`Found ${result.results.length} relevant code sections (searched ${result.stats.candidatesRetrieved} candidates in ${result.stats.searchTimeMs}ms):
|
|
3717
|
-
`);
|
|
3718
|
-
result.results.forEach((r, i) => {
|
|
3719
|
-
const relevance = (r.rerankScore * 100).toFixed(1);
|
|
3720
|
-
lines.push(`${i + 1}. ${r.filepath} (${relevance}% relevant)`);
|
|
3721
|
-
lines.push(` Symbol: ${r.symbolPath}`);
|
|
3722
|
-
lines.push(` Language: ${r.language}`);
|
|
3723
|
-
lines.push(` Lines: ${r.startLine}-${r.endLine}`);
|
|
3724
|
-
lines.push(` Code:`);
|
|
3725
|
-
const codeLines = r.content.split("\n");
|
|
3726
|
-
codeLines.slice(0, Math.min(codeLines.length, 20)).forEach((line) => {
|
|
3727
|
-
lines.push(` ${line}`);
|
|
3728
|
-
});
|
|
3729
|
-
if (codeLines.length > 20) {
|
|
3730
|
-
lines.push(` ... (${codeLines.length - 20} more lines)`);
|
|
3731
|
-
}
|
|
3732
|
-
lines.push("");
|
|
3733
|
-
});
|
|
3734
|
-
return lines.join("\n");
|
|
3735
|
-
}
|
|
3736
|
-
|
|
3737
3437
|
// tools/fastapply/anthropic.ts
|
|
3738
3438
|
var editFileTool2 = {
|
|
3739
3439
|
name: "edit_file",
|
|
@@ -3757,7 +3457,7 @@ var editFileTool2 = {
|
|
|
3757
3457
|
required: ["target_filepath", "instruction", "code_edit"]
|
|
3758
3458
|
}
|
|
3759
3459
|
};
|
|
3760
|
-
function
|
|
3460
|
+
function formatResult3(result) {
|
|
3761
3461
|
if (!result.success) {
|
|
3762
3462
|
return `Error editing file: ${result.error}`;
|
|
3763
3463
|
}
|
|
@@ -3774,7 +3474,7 @@ function createEditFileTool2(config = {}) {
|
|
|
3774
3474
|
return executeEditFile(input, config);
|
|
3775
3475
|
},
|
|
3776
3476
|
formatResult: (result) => {
|
|
3777
|
-
return
|
|
3477
|
+
return formatResult3(result);
|
|
3778
3478
|
},
|
|
3779
3479
|
getSystemPrompt: () => {
|
|
3780
3480
|
return EDIT_FILE_SYSTEM_PROMPT;
|
|
@@ -4140,18 +3840,6 @@ var AnthropicToolFactory = class {
|
|
|
4140
3840
|
morphApiKey: this.config.apiKey
|
|
4141
3841
|
});
|
|
4142
3842
|
}
|
|
4143
|
-
/**
|
|
4144
|
-
* Create an Anthropic-compatible codebase search tool
|
|
4145
|
-
*
|
|
4146
|
-
* @param toolConfig - Tool configuration with repoId (apiKey inherited from MorphClient)
|
|
4147
|
-
* @returns Anthropic Tool with execute and formatResult methods
|
|
4148
|
-
*/
|
|
4149
|
-
createCodebaseSearchTool(toolConfig) {
|
|
4150
|
-
return createCodebaseSearchTool2({
|
|
4151
|
-
...toolConfig,
|
|
4152
|
-
apiKey: this.config.apiKey
|
|
4153
|
-
});
|
|
4154
|
-
}
|
|
4155
3843
|
/**
|
|
4156
3844
|
* Create an Anthropic-compatible edit file tool
|
|
4157
3845
|
*
|
|
@@ -4253,56 +3941,15 @@ function createGitHubSearchTool3(config) {
|
|
|
4253
3941
|
});
|
|
4254
3942
|
}
|
|
4255
3943
|
|
|
4256
|
-
// tools/
|
|
3944
|
+
// tools/fastapply/vercel.ts
|
|
4257
3945
|
var import_ai2 = require("ai");
|
|
4258
3946
|
var import_zod2 = require("zod");
|
|
4259
|
-
|
|
4260
|
-
|
|
4261
|
-
|
|
4262
|
-
|
|
4263
|
-
explanation: import_zod2.z.string().describe("One sentence explanation as to why this tool is being used, and how it contributes to the goal."),
|
|
4264
|
-
limit: import_zod2.z.number().optional().describe("Max results to return (default: 10)")
|
|
4265
|
-
});
|
|
4266
|
-
return (0, import_ai2.tool)({
|
|
4267
|
-
description: CODEBASE_SEARCH_DESCRIPTION,
|
|
4268
|
-
inputSchema: schema,
|
|
4269
|
-
execute: async (params) => {
|
|
4270
|
-
const { query, target_directories, explanation, limit } = params;
|
|
4271
|
-
const result = await executeCodebaseSearch(
|
|
4272
|
-
{ query, target_directories, explanation, limit },
|
|
4273
|
-
config
|
|
4274
|
-
);
|
|
4275
|
-
if (!result.success) {
|
|
4276
|
-
return {
|
|
4277
|
-
error: result.error,
|
|
4278
|
-
results: []
|
|
4279
|
-
};
|
|
4280
|
-
}
|
|
4281
|
-
return {
|
|
4282
|
-
found: result.results.length,
|
|
4283
|
-
searchTime: `${result.stats.searchTimeMs}ms`,
|
|
4284
|
-
results: result.results.map((r) => ({
|
|
4285
|
-
file: r.filepath,
|
|
4286
|
-
symbol: r.symbolPath,
|
|
4287
|
-
lines: `${r.startLine}-${r.endLine}`,
|
|
4288
|
-
language: r.language,
|
|
4289
|
-
relevance: `${(r.rerankScore * 100).toFixed(1)}%`,
|
|
4290
|
-
code: r.content
|
|
4291
|
-
}))
|
|
4292
|
-
};
|
|
4293
|
-
}
|
|
4294
|
-
});
|
|
4295
|
-
}
|
|
4296
|
-
|
|
4297
|
-
// tools/fastapply/vercel.ts
|
|
4298
|
-
var import_ai3 = require("ai");
|
|
4299
|
-
var import_zod3 = require("zod");
|
|
4300
|
-
var editFileSchema = import_zod3.z.object({
|
|
4301
|
-
target_filepath: import_zod3.z.string().describe("The path of the target file to modify"),
|
|
4302
|
-
instruction: import_zod3.z.string().describe("A single sentence written in the first person describing what the agent is changing. Used to help disambiguate uncertainty in the edit."),
|
|
4303
|
-
code_edit: import_zod3.z.string().describe("Specify ONLY the precise lines of code that you wish to edit. Use `// ... existing code ...` for unchanged sections.")
|
|
3947
|
+
var editFileSchema = import_zod2.z.object({
|
|
3948
|
+
target_filepath: import_zod2.z.string().describe("The path of the target file to modify"),
|
|
3949
|
+
instruction: import_zod2.z.string().describe("A single sentence written in the first person describing what the agent is changing. Used to help disambiguate uncertainty in the edit."),
|
|
3950
|
+
code_edit: import_zod2.z.string().describe("Specify ONLY the precise lines of code that you wish to edit. Use `// ... existing code ...` for unchanged sections.")
|
|
4304
3951
|
});
|
|
4305
|
-
var editFileTool3 = (0,
|
|
3952
|
+
var editFileTool3 = (0, import_ai2.tool)({
|
|
4306
3953
|
description: EDIT_FILE_TOOL_DESCRIPTION,
|
|
4307
3954
|
inputSchema: editFileSchema,
|
|
4308
3955
|
execute: async (params) => {
|
|
@@ -4323,12 +3970,12 @@ var editFileTool3 = (0, import_ai3.tool)({
|
|
|
4323
3970
|
}
|
|
4324
3971
|
});
|
|
4325
3972
|
function createEditFileTool3(config = {}) {
|
|
4326
|
-
const schema =
|
|
4327
|
-
target_filepath:
|
|
4328
|
-
instruction:
|
|
4329
|
-
code_edit:
|
|
3973
|
+
const schema = import_zod2.z.object({
|
|
3974
|
+
target_filepath: import_zod2.z.string().describe("The path of the target file to modify"),
|
|
3975
|
+
instruction: import_zod2.z.string().describe("A single sentence written in the first person describing what the agent is changing. Used to help disambiguate uncertainty in the edit."),
|
|
3976
|
+
code_edit: import_zod2.z.string().describe("Specify ONLY the precise lines of code that you wish to edit. Use `// ... existing code ...` for unchanged sections.")
|
|
4330
3977
|
});
|
|
4331
|
-
return (0,
|
|
3978
|
+
return (0, import_ai2.tool)({
|
|
4332
3979
|
description: config.description || EDIT_FILE_TOOL_DESCRIPTION,
|
|
4333
3980
|
inputSchema: schema,
|
|
4334
3981
|
execute: async (params) => {
|
|
@@ -4354,8 +4001,8 @@ function createEditFileTool3(config = {}) {
|
|
|
4354
4001
|
}
|
|
4355
4002
|
|
|
4356
4003
|
// subagents/vercel.ts
|
|
4357
|
-
var
|
|
4358
|
-
var
|
|
4004
|
+
var import_ai3 = require("ai");
|
|
4005
|
+
var import_zod3 = require("zod");
|
|
4359
4006
|
var DEFAULT_MAX_TURNS2 = {
|
|
4360
4007
|
quick: 3,
|
|
4361
4008
|
medium: 6,
|
|
@@ -4383,18 +4030,18 @@ function createExploreSubagent2(config) {
|
|
|
4383
4030
|
) : null;
|
|
4384
4031
|
const runPromise = (async () => {
|
|
4385
4032
|
try {
|
|
4386
|
-
const codebaseSearchSchema =
|
|
4387
|
-
searchRequest:
|
|
4033
|
+
const codebaseSearchSchema = import_zod3.z.object({
|
|
4034
|
+
searchRequest: import_zod3.z.string().describe("Natural language description of what to search for")
|
|
4388
4035
|
});
|
|
4389
|
-
const sendMessageSchema =
|
|
4390
|
-
message:
|
|
4036
|
+
const sendMessageSchema = import_zod3.z.object({
|
|
4037
|
+
message: import_zod3.z.string().describe("The message to send to the orchestrator")
|
|
4391
4038
|
});
|
|
4392
|
-
const result = await (0,
|
|
4039
|
+
const result = await (0, import_ai3.generateText)({
|
|
4393
4040
|
model: config.model,
|
|
4394
4041
|
system: getSystemPrompt2(thoroughness),
|
|
4395
4042
|
prompt,
|
|
4396
4043
|
tools: {
|
|
4397
|
-
codebase_search: (0,
|
|
4044
|
+
codebase_search: (0, import_ai3.tool)({
|
|
4398
4045
|
description: CODEBASE_SEARCH_TOOL.description,
|
|
4399
4046
|
inputSchema: codebaseSearchSchema,
|
|
4400
4047
|
execute: async (params) => {
|
|
@@ -4417,7 +4064,7 @@ function createExploreSubagent2(config) {
|
|
|
4417
4064
|
return formatResult(warpResult);
|
|
4418
4065
|
}
|
|
4419
4066
|
}),
|
|
4420
|
-
send_message: (0,
|
|
4067
|
+
send_message: (0, import_ai3.tool)({
|
|
4421
4068
|
description: SEND_MESSAGE_TOOL.description,
|
|
4422
4069
|
inputSchema: sendMessageSchema,
|
|
4423
4070
|
execute: async (params) => {
|
|
@@ -4448,7 +4095,7 @@ function createExploreSubagent2(config) {
|
|
|
4448
4095
|
}
|
|
4449
4096
|
})
|
|
4450
4097
|
},
|
|
4451
|
-
stopWhen: (0,
|
|
4098
|
+
stopWhen: (0, import_ai3.stepCountIs)(getMaxTurns2(config))
|
|
4452
4099
|
});
|
|
4453
4100
|
callbacks.onStep?.({
|
|
4454
4101
|
step: searchCount,
|
|
@@ -4491,10 +4138,10 @@ function createExploreSubagent2(config) {
|
|
|
4491
4138
|
}
|
|
4492
4139
|
return runPromise;
|
|
4493
4140
|
}
|
|
4494
|
-
const exploreToolSchema =
|
|
4495
|
-
searchRequest:
|
|
4141
|
+
const exploreToolSchema = import_zod3.z.object({
|
|
4142
|
+
searchRequest: import_zod3.z.string().describe("What to explore in the codebase. Be specific about what you want to understand.")
|
|
4496
4143
|
});
|
|
4497
|
-
const exploreTool = (0,
|
|
4144
|
+
const exploreTool = (0, import_ai3.tool)({
|
|
4498
4145
|
description: "Explore a codebase to answer questions about code structure, find implementations, trace call chains, and understand architecture. Returns a summary of findings. Use this for broad exploration rather than pinpoint keyword searches.",
|
|
4499
4146
|
inputSchema: exploreToolSchema,
|
|
4500
4147
|
execute: async (params) => {
|
|
@@ -4621,18 +4268,6 @@ var VercelToolFactory = class {
|
|
|
4621
4268
|
morphApiKey: this.config.apiKey
|
|
4622
4269
|
});
|
|
4623
4270
|
}
|
|
4624
|
-
/**
|
|
4625
|
-
* Create a Vercel AI SDK-compatible codebase search tool
|
|
4626
|
-
*
|
|
4627
|
-
* @param toolConfig - Tool configuration with repoId (apiKey inherited from MorphClient)
|
|
4628
|
-
* @returns Vercel AI SDK tool
|
|
4629
|
-
*/
|
|
4630
|
-
createCodebaseSearchTool(toolConfig) {
|
|
4631
|
-
return createCodebaseSearchTool3({
|
|
4632
|
-
...toolConfig,
|
|
4633
|
-
apiKey: this.config.apiKey
|
|
4634
|
-
});
|
|
4635
|
-
}
|
|
4636
4271
|
/**
|
|
4637
4272
|
* Create a Vercel AI SDK-compatible edit file tool
|
|
4638
4273
|
*
|
|
@@ -4677,8 +4312,6 @@ var MorphClient = class extends MorphAPIClient {
|
|
|
4677
4312
|
config;
|
|
4678
4313
|
/** FastApply tool for editing files with AI-powered merge */
|
|
4679
4314
|
fastApply;
|
|
4680
|
-
/** CodebaseSearch tool for semantic code search */
|
|
4681
|
-
codebaseSearch;
|
|
4682
4315
|
/** WarpGrep tool for fast code search using ripgrep */
|
|
4683
4316
|
warpGrep;
|
|
4684
4317
|
/** Model routers for intelligent model selection */
|
|
@@ -4718,7 +4351,6 @@ var MorphClient = class extends MorphAPIClient {
|
|
|
4718
4351
|
this.config = config;
|
|
4719
4352
|
logger.debug("MorphClient", "initialized", { debug: !!config.debug, timeout: config.timeout });
|
|
4720
4353
|
this.fastApply = new FastApplyClient(this);
|
|
4721
|
-
this.codebaseSearch = new CodebaseSearchClient(this);
|
|
4722
4354
|
this.warpGrep = new WarpGrepClient(this);
|
|
4723
4355
|
this.routers = {
|
|
4724
4356
|
openai: new OpenAIRouter(this),
|
|
@@ -4736,7 +4368,7 @@ var MorphClient = class extends MorphAPIClient {
|
|
|
4736
4368
|
};
|
|
4737
4369
|
|
|
4738
4370
|
// tools/warp_grep/index.ts
|
|
4739
|
-
var
|
|
4371
|
+
var import_zod4 = require("zod");
|
|
4740
4372
|
|
|
4741
4373
|
// tools/warp_grep/providers/index.ts
|
|
4742
4374
|
init_local();
|
|
@@ -4767,15 +4399,14 @@ ${payload}
|
|
|
4767
4399
|
var sharedFormatter = new ToolOutputFormatter();
|
|
4768
4400
|
|
|
4769
4401
|
// tools/warp_grep/index.ts
|
|
4770
|
-
var warpGrepInputSchema =
|
|
4771
|
-
search_term:
|
|
4402
|
+
var warpGrepInputSchema = import_zod4.z.object({
|
|
4403
|
+
search_term: import_zod4.z.string().describe("Search problem statement that this subagent is supposed to research for")
|
|
4772
4404
|
});
|
|
4773
4405
|
// Annotate the CommonJS export names for ESM import in node:
|
|
4774
4406
|
0 && (module.exports = {
|
|
4775
4407
|
APIResource,
|
|
4776
4408
|
AnthropicRouter,
|
|
4777
4409
|
AnthropicToolFactory,
|
|
4778
|
-
CodebaseSearchClient,
|
|
4779
4410
|
CompactClient,
|
|
4780
4411
|
FastApplyAnchorIntegrityError,
|
|
4781
4412
|
FastApplyClient,
|
|
@@ -4792,4 +4423,3 @@ var warpGrepInputSchema = import_zod5.z.object({
|
|
|
4792
4423
|
WarpGrepClient,
|
|
4793
4424
|
applyEdit
|
|
4794
4425
|
});
|
|
4795
|
-
//# sourceMappingURL=index.cjs.map
|