@morphllm/morphsdk 0.2.200 → 0.2.202
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-TIMDDHYB.js → chunk-26K5EJD3.js} +3 -4
- package/dist/{chunk-HYRHI2UL.js → chunk-2PPYWRMZ.js} +0 -1
- package/dist/{chunk-QTBFL4DG.js → chunk-2XU3XXUE.js} +2 -3
- package/dist/{chunk-MLROWLS6.js → chunk-3CPI6ZIC.js} +8 -9
- package/dist/{chunk-IA5K2HTC.js → chunk-44OIEPIO.js} +1 -2
- package/dist/{chunk-FBRNUWEB.js → chunk-4OUGA3KS.js} +0 -1
- package/dist/{chunk-Z57GJLCG.js → chunk-65TUD7JV.js} +4 -5
- package/dist/{chunk-L6YOMTFU.js → chunk-6OYJC4TZ.js} +4 -5
- package/dist/{chunk-G2RSY56Q.js → chunk-6TZCVTW5.js} +0 -1
- package/dist/{chunk-F3NCFNUX.js → chunk-6WP7EA4F.js} +0 -1
- package/dist/{chunk-SNYHVDE4.js → chunk-CAWQEHKP.js} +3 -4
- package/dist/{chunk-AKSXZBPT.js → chunk-D6YJ5X3C.js} +3 -4
- package/dist/{chunk-UZ42MHTR.js → chunk-E6TL6MIH.js} +2 -4
- package/dist/{chunk-ZZ25FZG2.js → chunk-ETBRAKVV.js} +0 -1
- package/dist/chunk-FBOZIVVQ.js +0 -0
- package/dist/{chunk-MRMBFJR2.js → chunk-HDP4QAZL.js} +0 -1
- package/dist/{chunk-3CCWSLQW.js → chunk-IBRBSDLT.js} +1 -2
- package/dist/{chunk-UKAAT6KT.js → chunk-ICCGLO6V.js} +4 -5
- package/dist/{chunk-XTLPA7ZP.js → chunk-JEVLCA5C.js} +2 -3
- package/dist/chunk-LDM7RNNN.js +0 -0
- package/dist/{chunk-B4X5RWLR.js → chunk-LVKKICOB.js} +14 -15
- package/dist/{chunk-CCJK3HTG.js → chunk-M34E2AMK.js} +0 -1
- package/dist/{chunk-QRXG5CAZ.js → chunk-MF56KEI4.js} +0 -1
- package/dist/{chunk-PZ5AY32C.js → chunk-MLKGABMK.js} +0 -1
- package/dist/{chunk-TPP2UGQP.js → chunk-MLPZKUCO.js} +8 -2
- package/dist/{chunk-Q65LL6UM.js → chunk-NFPRKZQ5.js} +2 -3
- package/dist/{chunk-5TOJD2C5.js → chunk-NRG6QX3L.js} +0 -1
- package/dist/{chunk-63VHBANJ.js → chunk-OPDWMD4Q.js} +0 -1
- package/dist/{chunk-LN7GNFET.js → chunk-OSL4CNSO.js} +4 -5
- package/dist/{chunk-63WE2C5R.js → chunk-PA3UTI4A.js} +0 -1
- package/dist/{chunk-UHIANNKC.js → chunk-PDSIWL7I.js} +3 -4
- package/dist/{chunk-A4D2CIIT.js → chunk-RYVW7RUM.js} +1 -2
- package/dist/{chunk-WTENYKJP.js → chunk-SIFDK4AA.js} +2 -3
- package/dist/{chunk-Q6QCHAMD.js → chunk-UAPK3AIJ.js} +0 -1
- package/dist/{chunk-ZE64EWUV.js → chunk-UAZKHSEU.js} +2 -3
- package/dist/{chunk-PD3EDFQD.js → chunk-UKXCGQPS.js} +5 -6
- package/dist/{chunk-7I2A7GGJ.js → chunk-VQDDL3UH.js} +1 -2
- package/dist/{chunk-PJNL35DC.js → chunk-XPHNS7NW.js} +2 -3
- package/dist/{chunk-MPL6BDR6.js → chunk-YAM6P5OQ.js} +1 -2
- package/dist/{chunk-YPKNMYD4.js → chunk-ZSHVXDA2.js} +0 -1
- package/dist/client.cjs +13 -8
- package/dist/client.js +32 -33
- package/dist/core/client.cjs +2 -4
- package/dist/core/client.js +6 -7
- package/dist/core/error.cjs +2 -4
- package/dist/core/error.js +4 -5
- package/dist/core/index.cjs +2 -4
- 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 -4
- package/dist/edge.js +10 -11
- package/dist/index.cjs +13 -8
- package/dist/index.js +39 -40
- package/dist/modelrouter/core.cjs +2 -4
- package/dist/modelrouter/core.js +8 -9
- package/dist/modelrouter/index.cjs +2 -4
- 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 +13 -8
- package/dist/subagents/anthropic.js +19 -20
- package/dist/subagents/index.cjs +0 -1
- package/dist/subagents/index.js +2 -3
- package/dist/subagents/prompts.cjs +0 -1
- package/dist/subagents/prompts.js +2 -3
- package/dist/subagents/types.cjs +0 -1
- package/dist/subagents/types.js +0 -1
- package/dist/subagents/vercel.cjs +13 -8
- package/dist/subagents/vercel.js +19 -20
- package/dist/tools/compact/core.cjs +2 -4
- package/dist/tools/compact/core.js +8 -9
- package/dist/tools/compact/index.cjs +2 -4
- 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 -4
- package/dist/tools/fastapply/anthropic.js +11 -12
- package/dist/tools/fastapply/apply.cjs +2 -4
- package/dist/tools/fastapply/apply.js +4 -5
- package/dist/tools/fastapply/core.cjs +2 -4
- package/dist/tools/fastapply/core.js +9 -10
- package/dist/tools/fastapply/index.cjs +2 -4
- package/dist/tools/fastapply/index.js +14 -15
- package/dist/tools/fastapply/openai.cjs +2 -4
- 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 -4
- package/dist/tools/fastapply/vercel.js +11 -12
- package/dist/tools/index.cjs +2 -4
- package/dist/tools/index.js +14 -15
- package/dist/tools/utils/resilience.cjs +2 -4
- 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 -4
- 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 +13 -8
- package/dist/tools/warp_grep/anthropic.js +19 -20
- package/dist/tools/warp_grep/client.cjs +13 -8
- package/dist/tools/warp_grep/client.js +17 -18
- package/dist/tools/warp_grep/gemini.cjs +13 -8
- package/dist/tools/warp_grep/gemini.js +18 -19
- package/dist/tools/warp_grep/harness.cjs +10 -4
- package/dist/tools/warp_grep/harness.js +9 -10
- package/dist/tools/warp_grep/index.cjs +13 -8
- package/dist/tools/warp_grep/index.js +24 -25
- package/dist/tools/warp_grep/openai.cjs +13 -8
- 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.js +2 -3
- package/dist/tools/warp_grep/providers/local.cjs +10 -4
- 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.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 +20 -4
- package/dist/tools/warp_grep/utils/ripgrep.js +2 -3
- package/dist/tools/warp_grep/vercel.cjs +13 -8
- package/dist/tools/warp_grep/vercel.js +19 -20
- package/dist/version.cjs +2 -4
- package/dist/version.js +2 -3
- package/package.json +2 -3
- package/dist/ai-sdk/index.cjs.map +0 -1
- package/dist/ai-sdk/index.js.map +0 -1
- package/dist/chunk-3CCWSLQW.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-7I2A7GGJ.js.map +0 -1
- package/dist/chunk-A4D2CIIT.js.map +0 -1
- package/dist/chunk-AKSXZBPT.js.map +0 -1
- package/dist/chunk-B4X5RWLR.js.map +0 -1
- package/dist/chunk-CCJK3HTG.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-HYRHI2UL.js.map +0 -1
- package/dist/chunk-IA5K2HTC.js.map +0 -1
- package/dist/chunk-L6YOMTFU.js.map +0 -1
- package/dist/chunk-LN7GNFET.js.map +0 -1
- package/dist/chunk-MLROWLS6.js.map +0 -1
- package/dist/chunk-MPL6BDR6.js.map +0 -1
- package/dist/chunk-MRMBFJR2.js.map +0 -1
- package/dist/chunk-PD3EDFQD.js.map +0 -1
- package/dist/chunk-PJNL35DC.js.map +0 -1
- package/dist/chunk-PZ5AY32C.js.map +0 -1
- package/dist/chunk-Q65LL6UM.js.map +0 -1
- package/dist/chunk-Q6QCHAMD.js.map +0 -1
- package/dist/chunk-QRXG5CAZ.js.map +0 -1
- package/dist/chunk-QTBFL4DG.js.map +0 -1
- package/dist/chunk-SNYHVDE4.js.map +0 -1
- package/dist/chunk-TIMDDHYB.js.map +0 -1
- package/dist/chunk-TPP2UGQP.js.map +0 -1
- package/dist/chunk-UHIANNKC.js.map +0 -1
- package/dist/chunk-UKAAT6KT.js.map +0 -1
- package/dist/chunk-UZ42MHTR.js.map +0 -1
- package/dist/chunk-VZ7BOH2K.js +0 -1
- package/dist/chunk-VZ7BOH2K.js.map +0 -1
- package/dist/chunk-WTENYKJP.js.map +0 -1
- package/dist/chunk-X2K57BH6.js +0 -1
- package/dist/chunk-X2K57BH6.js.map +0 -1
- package/dist/chunk-XTLPA7ZP.js.map +0 -1
- package/dist/chunk-YPKNMYD4.js.map +0 -1
- package/dist/chunk-Z57GJLCG.js.map +0 -1
- package/dist/chunk-ZE64EWUV.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/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/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/version.cjs.map +0 -1
- package/dist/version.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,70 +1,70 @@
|
|
|
1
|
-
import "./chunk-
|
|
1
|
+
import "./chunk-2PPYWRMZ.js";
|
|
2
2
|
import {
|
|
3
3
|
LocalRipgrepProvider
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-OSL4CNSO.js";
|
|
5
|
+
import "./chunk-MLPZKUCO.js";
|
|
6
|
+
import "./chunk-6TZCVTW5.js";
|
|
7
|
+
import "./chunk-ZSHVXDA2.js";
|
|
8
|
+
import "./chunk-MF56KEI4.js";
|
|
9
9
|
import {
|
|
10
10
|
AnthropicToolFactory,
|
|
11
11
|
MorphClient,
|
|
12
12
|
OpenAIToolFactory,
|
|
13
13
|
VercelToolFactory
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-LVKKICOB.js";
|
|
15
|
+
import "./chunk-2XU3XXUE.js";
|
|
16
|
+
import "./chunk-NFPRKZQ5.js";
|
|
17
|
+
import "./chunk-SIFDK4AA.js";
|
|
18
|
+
import "./chunk-UAPK3AIJ.js";
|
|
19
|
+
import "./chunk-CAWQEHKP.js";
|
|
20
|
+
import "./chunk-PDSIWL7I.js";
|
|
21
|
+
import "./chunk-26K5EJD3.js";
|
|
22
|
+
import "./chunk-PA3UTI4A.js";
|
|
23
23
|
import {
|
|
24
24
|
FastApplyClient
|
|
25
|
-
} from "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
25
|
+
} from "./chunk-65TUD7JV.js";
|
|
26
|
+
import "./chunk-XPHNS7NW.js";
|
|
27
|
+
import "./chunk-UAZKHSEU.js";
|
|
28
28
|
import {
|
|
29
29
|
WarpGrepClient
|
|
30
|
-
} from "./chunk-
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
30
|
+
} from "./chunk-3CPI6ZIC.js";
|
|
31
|
+
import "./chunk-HDP4QAZL.js";
|
|
32
|
+
import "./chunk-RYVW7RUM.js";
|
|
33
|
+
import "./chunk-OPDWMD4Q.js";
|
|
34
|
+
import "./chunk-UKXCGQPS.js";
|
|
35
|
+
import "./chunk-44OIEPIO.js";
|
|
36
|
+
import "./chunk-M34E2AMK.js";
|
|
37
|
+
import "./chunk-4OUGA3KS.js";
|
|
38
|
+
import "./chunk-IBRBSDLT.js";
|
|
39
|
+
import "./chunk-ETBRAKVV.js";
|
|
40
40
|
import {
|
|
41
41
|
FastApplyAnchorIntegrityError,
|
|
42
42
|
FastApplyContextLengthError,
|
|
43
43
|
applyEdit
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-JEVLCA5C.js";
|
|
45
45
|
import {
|
|
46
46
|
AnthropicRouter,
|
|
47
47
|
GeminiRouter,
|
|
48
48
|
OpenAIRouter,
|
|
49
49
|
RawRouter
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-6OYJC4TZ.js";
|
|
51
51
|
import {
|
|
52
52
|
CompactClient
|
|
53
|
-
} from "./chunk-
|
|
54
|
-
import "./chunk-
|
|
53
|
+
} from "./chunk-D6YJ5X3C.js";
|
|
54
|
+
import "./chunk-LDM7RNNN.js";
|
|
55
55
|
import {
|
|
56
56
|
MorphAPIClient
|
|
57
|
-
} from "./chunk-
|
|
58
|
-
import "./chunk-
|
|
59
|
-
import "./chunk-
|
|
60
|
-
import "./chunk-
|
|
57
|
+
} from "./chunk-ICCGLO6V.js";
|
|
58
|
+
import "./chunk-6WP7EA4F.js";
|
|
59
|
+
import "./chunk-YAM6P5OQ.js";
|
|
60
|
+
import "./chunk-VQDDL3UH.js";
|
|
61
61
|
import {
|
|
62
62
|
SDK_VERSION
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-E6TL6MIH.js";
|
|
64
64
|
import {
|
|
65
65
|
APIResource
|
|
66
|
-
} from "./chunk-
|
|
67
|
-
import "./chunk-
|
|
66
|
+
} from "./chunk-NRG6QX3L.js";
|
|
67
|
+
import "./chunk-MLKGABMK.js";
|
|
68
68
|
export {
|
|
69
69
|
APIResource,
|
|
70
70
|
AnthropicRouter,
|
|
@@ -85,4 +85,3 @@ export {
|
|
|
85
85
|
WarpGrepClient,
|
|
86
86
|
applyEdit
|
|
87
87
|
};
|
|
88
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -41,7 +41,7 @@ module.exports = __toCommonJS(core_exports);
|
|
|
41
41
|
// package.json
|
|
42
42
|
var package_default = {
|
|
43
43
|
name: "@morphllm/morphsdk",
|
|
44
|
-
version: "0.2.
|
|
44
|
+
version: "0.2.202",
|
|
45
45
|
description: "TypeScript SDK and CLI for Morph Fast Apply integration",
|
|
46
46
|
type: "module",
|
|
47
47
|
main: "./dist/index.cjs",
|
|
@@ -153,12 +153,11 @@ var package_default = {
|
|
|
153
153
|
"dist/**/*.js",
|
|
154
154
|
"dist/**/*.cjs",
|
|
155
155
|
"dist/**/*.d.ts",
|
|
156
|
-
"dist/**/*.map",
|
|
157
156
|
"!dist/**/__tests__/**",
|
|
158
157
|
"!dist/**/*.test.*"
|
|
159
158
|
],
|
|
160
159
|
scripts: {
|
|
161
|
-
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 --
|
|
160
|
+
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",
|
|
162
161
|
prepare: "npm run build",
|
|
163
162
|
typecheck: "tsc --noEmit && tsc --noEmit -p ai-sdk/tsconfig.json",
|
|
164
163
|
lint: "eslint .",
|
|
@@ -652,4 +651,3 @@ var RouterClassifier = class extends APIResource {
|
|
|
652
651
|
RawRouter,
|
|
653
652
|
RouterClassifier
|
|
654
653
|
});
|
|
655
|
-
//# sourceMappingURL=core.cjs.map
|
package/dist/modelrouter/core.js
CHANGED
|
@@ -4,14 +4,14 @@ import {
|
|
|
4
4
|
OpenAIRouter,
|
|
5
5
|
RawRouter,
|
|
6
6
|
RouterClassifier
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
7
|
+
} from "../chunk-6OYJC4TZ.js";
|
|
8
|
+
import "../chunk-ICCGLO6V.js";
|
|
9
|
+
import "../chunk-6WP7EA4F.js";
|
|
10
|
+
import "../chunk-YAM6P5OQ.js";
|
|
11
|
+
import "../chunk-VQDDL3UH.js";
|
|
12
|
+
import "../chunk-E6TL6MIH.js";
|
|
13
|
+
import "../chunk-NRG6QX3L.js";
|
|
14
|
+
import "../chunk-MLKGABMK.js";
|
|
15
15
|
export {
|
|
16
16
|
AnthropicRouter,
|
|
17
17
|
GeminiRouter,
|
|
@@ -19,4 +19,3 @@ export {
|
|
|
19
19
|
RawRouter,
|
|
20
20
|
RouterClassifier
|
|
21
21
|
};
|
|
22
|
-
//# sourceMappingURL=core.js.map
|
|
@@ -41,7 +41,7 @@ module.exports = __toCommonJS(modelrouter_exports);
|
|
|
41
41
|
// package.json
|
|
42
42
|
var package_default = {
|
|
43
43
|
name: "@morphllm/morphsdk",
|
|
44
|
-
version: "0.2.
|
|
44
|
+
version: "0.2.202",
|
|
45
45
|
description: "TypeScript SDK and CLI for Morph Fast Apply integration",
|
|
46
46
|
type: "module",
|
|
47
47
|
main: "./dist/index.cjs",
|
|
@@ -153,12 +153,11 @@ var package_default = {
|
|
|
153
153
|
"dist/**/*.js",
|
|
154
154
|
"dist/**/*.cjs",
|
|
155
155
|
"dist/**/*.d.ts",
|
|
156
|
-
"dist/**/*.map",
|
|
157
156
|
"!dist/**/__tests__/**",
|
|
158
157
|
"!dist/**/*.test.*"
|
|
159
158
|
],
|
|
160
159
|
scripts: {
|
|
161
|
-
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 --
|
|
160
|
+
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",
|
|
162
161
|
prepare: "npm run build",
|
|
163
162
|
typecheck: "tsc --noEmit && tsc --noEmit -p ai-sdk/tsconfig.json",
|
|
164
163
|
lint: "eslint .",
|
|
@@ -652,4 +651,3 @@ var RouterClassifier = class extends APIResource {
|
|
|
652
651
|
RawRouter,
|
|
653
652
|
RouterClassifier
|
|
654
653
|
});
|
|
655
|
-
//# sourceMappingURL=index.cjs.map
|
|
@@ -4,14 +4,14 @@ import {
|
|
|
4
4
|
OpenAIRouter,
|
|
5
5
|
RawRouter,
|
|
6
6
|
RouterClassifier
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
7
|
+
} from "../chunk-6OYJC4TZ.js";
|
|
8
|
+
import "../chunk-ICCGLO6V.js";
|
|
9
|
+
import "../chunk-6WP7EA4F.js";
|
|
10
|
+
import "../chunk-YAM6P5OQ.js";
|
|
11
|
+
import "../chunk-VQDDL3UH.js";
|
|
12
|
+
import "../chunk-E6TL6MIH.js";
|
|
13
|
+
import "../chunk-NRG6QX3L.js";
|
|
14
|
+
import "../chunk-MLKGABMK.js";
|
|
15
15
|
export {
|
|
16
16
|
AnthropicRouter,
|
|
17
17
|
GeminiRouter,
|
|
@@ -19,4 +19,3 @@ export {
|
|
|
19
19
|
RawRouter,
|
|
20
20
|
RouterClassifier
|
|
21
21
|
};
|
|
22
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=types.js.map
|
|
@@ -155,6 +155,13 @@ function spawnRg(rgBinary, args, opts) {
|
|
|
155
155
|
});
|
|
156
156
|
});
|
|
157
157
|
}
|
|
158
|
+
async function preferredRgPath() {
|
|
159
|
+
try {
|
|
160
|
+
return (await import("@vscode/ripgrep")).rgPath ?? "rg";
|
|
161
|
+
} catch {
|
|
162
|
+
return "rg";
|
|
163
|
+
}
|
|
164
|
+
}
|
|
158
165
|
function isBinaryFailure(result) {
|
|
159
166
|
if (result.exitCode === -1) return true;
|
|
160
167
|
if (result.stderr.includes("jemalloc") || result.stderr.includes("Unsupported system page size")) return true;
|
|
@@ -166,9 +173,10 @@ async function runRipgrep(args, opts) {
|
|
|
166
173
|
return spawnRg(resolvedRgPath, args, opts);
|
|
167
174
|
}
|
|
168
175
|
if (!rgPathChecked) {
|
|
169
|
-
const
|
|
176
|
+
const rgPath = await preferredRgPath();
|
|
177
|
+
const result = await spawnRg(rgPath, args, opts);
|
|
170
178
|
if (!isBinaryFailure(result)) {
|
|
171
|
-
resolvedRgPath =
|
|
179
|
+
resolvedRgPath = rgPath;
|
|
172
180
|
rgPathChecked = true;
|
|
173
181
|
return result;
|
|
174
182
|
}
|
|
@@ -191,12 +199,11 @@ async function runRipgrep(args, opts) {
|
|
|
191
199
|
exitCode: -1
|
|
192
200
|
};
|
|
193
201
|
}
|
|
194
|
-
var import_child_process,
|
|
202
|
+
var import_child_process, resolvedRgPath, rgPathChecked;
|
|
195
203
|
var init_ripgrep = __esm({
|
|
196
204
|
"tools/warp_grep/utils/ripgrep.ts"() {
|
|
197
205
|
"use strict";
|
|
198
206
|
import_child_process = require("child_process");
|
|
199
|
-
import_ripgrep = require("@vscode/ripgrep");
|
|
200
207
|
resolvedRgPath = null;
|
|
201
208
|
rgPathChecked = false;
|
|
202
209
|
}
|
|
@@ -934,7 +941,7 @@ var import_openai = __toESM(require("openai"), 1);
|
|
|
934
941
|
// package.json
|
|
935
942
|
var package_default = {
|
|
936
943
|
name: "@morphllm/morphsdk",
|
|
937
|
-
version: "0.2.
|
|
944
|
+
version: "0.2.202",
|
|
938
945
|
description: "TypeScript SDK and CLI for Morph Fast Apply integration",
|
|
939
946
|
type: "module",
|
|
940
947
|
main: "./dist/index.cjs",
|
|
@@ -1046,12 +1053,11 @@ var package_default = {
|
|
|
1046
1053
|
"dist/**/*.js",
|
|
1047
1054
|
"dist/**/*.cjs",
|
|
1048
1055
|
"dist/**/*.d.ts",
|
|
1049
|
-
"dist/**/*.map",
|
|
1050
1056
|
"!dist/**/__tests__/**",
|
|
1051
1057
|
"!dist/**/*.test.*"
|
|
1052
1058
|
],
|
|
1053
1059
|
scripts: {
|
|
1054
|
-
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 --
|
|
1060
|
+
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",
|
|
1055
1061
|
prepare: "npm run build",
|
|
1056
1062
|
typecheck: "tsc --noEmit && tsc --noEmit -p ai-sdk/tsconfig.json",
|
|
1057
1063
|
lint: "eslint .",
|
|
@@ -2777,4 +2783,3 @@ function deduplicateContexts(contexts) {
|
|
|
2777
2783
|
0 && (module.exports = {
|
|
2778
2784
|
createExploreSubagent
|
|
2779
2785
|
});
|
|
2780
|
-
//# sourceMappingURL=anthropic.cjs.map
|
|
@@ -1,25 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createExploreSubagent
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-
|
|
18
|
-
import "../chunk-
|
|
19
|
-
import "../chunk-
|
|
20
|
-
import "../chunk-
|
|
21
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-XPHNS7NW.js";
|
|
4
|
+
import "../chunk-3CPI6ZIC.js";
|
|
5
|
+
import "../chunk-HDP4QAZL.js";
|
|
6
|
+
import "../chunk-RYVW7RUM.js";
|
|
7
|
+
import "../chunk-OPDWMD4Q.js";
|
|
8
|
+
import "../chunk-UKXCGQPS.js";
|
|
9
|
+
import "../chunk-44OIEPIO.js";
|
|
10
|
+
import "../chunk-M34E2AMK.js";
|
|
11
|
+
import "../chunk-4OUGA3KS.js";
|
|
12
|
+
import "../chunk-IBRBSDLT.js";
|
|
13
|
+
import "../chunk-ETBRAKVV.js";
|
|
14
|
+
import "../chunk-D6YJ5X3C.js";
|
|
15
|
+
import "../chunk-ICCGLO6V.js";
|
|
16
|
+
import "../chunk-6WP7EA4F.js";
|
|
17
|
+
import "../chunk-YAM6P5OQ.js";
|
|
18
|
+
import "../chunk-VQDDL3UH.js";
|
|
19
|
+
import "../chunk-E6TL6MIH.js";
|
|
20
|
+
import "../chunk-NRG6QX3L.js";
|
|
21
|
+
import "../chunk-MLKGABMK.js";
|
|
22
22
|
export {
|
|
23
23
|
createExploreSubagent
|
|
24
24
|
};
|
|
25
|
-
//# sourceMappingURL=anthropic.js.map
|
package/dist/subagents/index.cjs
CHANGED
package/dist/subagents/index.js
CHANGED
|
@@ -2,11 +2,10 @@ import {
|
|
|
2
2
|
CODEBASE_SEARCH_TOOL,
|
|
3
3
|
SEND_MESSAGE_TOOL,
|
|
4
4
|
getSystemPrompt
|
|
5
|
-
} from "../chunk-
|
|
6
|
-
import "../chunk-
|
|
5
|
+
} from "../chunk-ETBRAKVV.js";
|
|
6
|
+
import "../chunk-MLKGABMK.js";
|
|
7
7
|
export {
|
|
8
8
|
CODEBASE_SEARCH_TOOL,
|
|
9
9
|
SEND_MESSAGE_TOOL,
|
|
10
10
|
getSystemPrompt
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -2,11 +2,10 @@ import {
|
|
|
2
2
|
CODEBASE_SEARCH_TOOL,
|
|
3
3
|
SEND_MESSAGE_TOOL,
|
|
4
4
|
getSystemPrompt
|
|
5
|
-
} from "../chunk-
|
|
6
|
-
import "../chunk-
|
|
5
|
+
} from "../chunk-ETBRAKVV.js";
|
|
6
|
+
import "../chunk-MLKGABMK.js";
|
|
7
7
|
export {
|
|
8
8
|
CODEBASE_SEARCH_TOOL,
|
|
9
9
|
SEND_MESSAGE_TOOL,
|
|
10
10
|
getSystemPrompt
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=prompts.js.map
|
package/dist/subagents/types.cjs
CHANGED
package/dist/subagents/types.js
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=types.js.map
|
|
@@ -155,6 +155,13 @@ function spawnRg(rgBinary, args, opts) {
|
|
|
155
155
|
});
|
|
156
156
|
});
|
|
157
157
|
}
|
|
158
|
+
async function preferredRgPath() {
|
|
159
|
+
try {
|
|
160
|
+
return (await import("@vscode/ripgrep")).rgPath ?? "rg";
|
|
161
|
+
} catch {
|
|
162
|
+
return "rg";
|
|
163
|
+
}
|
|
164
|
+
}
|
|
158
165
|
function isBinaryFailure(result) {
|
|
159
166
|
if (result.exitCode === -1) return true;
|
|
160
167
|
if (result.stderr.includes("jemalloc") || result.stderr.includes("Unsupported system page size")) return true;
|
|
@@ -166,9 +173,10 @@ async function runRipgrep(args, opts) {
|
|
|
166
173
|
return spawnRg(resolvedRgPath, args, opts);
|
|
167
174
|
}
|
|
168
175
|
if (!rgPathChecked) {
|
|
169
|
-
const
|
|
176
|
+
const rgPath = await preferredRgPath();
|
|
177
|
+
const result = await spawnRg(rgPath, args, opts);
|
|
170
178
|
if (!isBinaryFailure(result)) {
|
|
171
|
-
resolvedRgPath =
|
|
179
|
+
resolvedRgPath = rgPath;
|
|
172
180
|
rgPathChecked = true;
|
|
173
181
|
return result;
|
|
174
182
|
}
|
|
@@ -191,12 +199,11 @@ async function runRipgrep(args, opts) {
|
|
|
191
199
|
exitCode: -1
|
|
192
200
|
};
|
|
193
201
|
}
|
|
194
|
-
var import_child_process,
|
|
202
|
+
var import_child_process, resolvedRgPath, rgPathChecked;
|
|
195
203
|
var init_ripgrep = __esm({
|
|
196
204
|
"tools/warp_grep/utils/ripgrep.ts"() {
|
|
197
205
|
"use strict";
|
|
198
206
|
import_child_process = require("child_process");
|
|
199
|
-
import_ripgrep = require("@vscode/ripgrep");
|
|
200
207
|
resolvedRgPath = null;
|
|
201
208
|
rgPathChecked = false;
|
|
202
209
|
}
|
|
@@ -936,7 +943,7 @@ var import_openai = __toESM(require("openai"), 1);
|
|
|
936
943
|
// package.json
|
|
937
944
|
var package_default = {
|
|
938
945
|
name: "@morphllm/morphsdk",
|
|
939
|
-
version: "0.2.
|
|
946
|
+
version: "0.2.202",
|
|
940
947
|
description: "TypeScript SDK and CLI for Morph Fast Apply integration",
|
|
941
948
|
type: "module",
|
|
942
949
|
main: "./dist/index.cjs",
|
|
@@ -1048,12 +1055,11 @@ var package_default = {
|
|
|
1048
1055
|
"dist/**/*.js",
|
|
1049
1056
|
"dist/**/*.cjs",
|
|
1050
1057
|
"dist/**/*.d.ts",
|
|
1051
|
-
"dist/**/*.map",
|
|
1052
1058
|
"!dist/**/__tests__/**",
|
|
1053
1059
|
"!dist/**/*.test.*"
|
|
1054
1060
|
],
|
|
1055
1061
|
scripts: {
|
|
1056
|
-
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 --
|
|
1062
|
+
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",
|
|
1057
1063
|
prepare: "npm run build",
|
|
1058
1064
|
typecheck: "tsc --noEmit && tsc --noEmit -p ai-sdk/tsconfig.json",
|
|
1059
1065
|
lint: "eslint .",
|
|
@@ -2754,4 +2760,3 @@ function deduplicateContexts(contexts) {
|
|
|
2754
2760
|
0 && (module.exports = {
|
|
2755
2761
|
createExploreSubagent
|
|
2756
2762
|
});
|
|
2757
|
-
//# sourceMappingURL=vercel.cjs.map
|
package/dist/subagents/vercel.js
CHANGED
|
@@ -1,25 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createExploreSubagent
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-
|
|
18
|
-
import "../chunk-
|
|
19
|
-
import "../chunk-
|
|
20
|
-
import "../chunk-
|
|
21
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-UAZKHSEU.js";
|
|
4
|
+
import "../chunk-3CPI6ZIC.js";
|
|
5
|
+
import "../chunk-HDP4QAZL.js";
|
|
6
|
+
import "../chunk-RYVW7RUM.js";
|
|
7
|
+
import "../chunk-OPDWMD4Q.js";
|
|
8
|
+
import "../chunk-UKXCGQPS.js";
|
|
9
|
+
import "../chunk-44OIEPIO.js";
|
|
10
|
+
import "../chunk-M34E2AMK.js";
|
|
11
|
+
import "../chunk-4OUGA3KS.js";
|
|
12
|
+
import "../chunk-IBRBSDLT.js";
|
|
13
|
+
import "../chunk-ETBRAKVV.js";
|
|
14
|
+
import "../chunk-D6YJ5X3C.js";
|
|
15
|
+
import "../chunk-ICCGLO6V.js";
|
|
16
|
+
import "../chunk-6WP7EA4F.js";
|
|
17
|
+
import "../chunk-YAM6P5OQ.js";
|
|
18
|
+
import "../chunk-VQDDL3UH.js";
|
|
19
|
+
import "../chunk-E6TL6MIH.js";
|
|
20
|
+
import "../chunk-NRG6QX3L.js";
|
|
21
|
+
import "../chunk-MLKGABMK.js";
|
|
22
22
|
export {
|
|
23
23
|
createExploreSubagent
|
|
24
24
|
};
|
|
25
|
-
//# sourceMappingURL=vercel.js.map
|
|
@@ -37,7 +37,7 @@ module.exports = __toCommonJS(core_exports);
|
|
|
37
37
|
// package.json
|
|
38
38
|
var package_default = {
|
|
39
39
|
name: "@morphllm/morphsdk",
|
|
40
|
-
version: "0.2.
|
|
40
|
+
version: "0.2.202",
|
|
41
41
|
description: "TypeScript SDK and CLI for Morph Fast Apply integration",
|
|
42
42
|
type: "module",
|
|
43
43
|
main: "./dist/index.cjs",
|
|
@@ -149,12 +149,11 @@ var package_default = {
|
|
|
149
149
|
"dist/**/*.js",
|
|
150
150
|
"dist/**/*.cjs",
|
|
151
151
|
"dist/**/*.d.ts",
|
|
152
|
-
"dist/**/*.map",
|
|
153
152
|
"!dist/**/__tests__/**",
|
|
154
153
|
"!dist/**/*.test.*"
|
|
155
154
|
],
|
|
156
155
|
scripts: {
|
|
157
|
-
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 --
|
|
156
|
+
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",
|
|
158
157
|
prepare: "npm run build",
|
|
159
158
|
typecheck: "tsc --noEmit && tsc --noEmit -p ai-sdk/tsconfig.json",
|
|
160
159
|
lint: "eslint .",
|
|
@@ -552,4 +551,3 @@ var CompactClient = class extends APIResource {
|
|
|
552
551
|
0 && (module.exports = {
|
|
553
552
|
CompactClient
|
|
554
553
|
});
|
|
555
|
-
//# sourceMappingURL=core.cjs.map
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CompactClient
|
|
3
|
-
} from "../../chunk-
|
|
4
|
-
import "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
6
|
-
import "../../chunk-
|
|
7
|
-
import "../../chunk-
|
|
8
|
-
import "../../chunk-
|
|
9
|
-
import "../../chunk-
|
|
10
|
-
import "../../chunk-
|
|
3
|
+
} from "../../chunk-D6YJ5X3C.js";
|
|
4
|
+
import "../../chunk-ICCGLO6V.js";
|
|
5
|
+
import "../../chunk-6WP7EA4F.js";
|
|
6
|
+
import "../../chunk-YAM6P5OQ.js";
|
|
7
|
+
import "../../chunk-VQDDL3UH.js";
|
|
8
|
+
import "../../chunk-E6TL6MIH.js";
|
|
9
|
+
import "../../chunk-NRG6QX3L.js";
|
|
10
|
+
import "../../chunk-MLKGABMK.js";
|
|
11
11
|
export {
|
|
12
12
|
CompactClient
|
|
13
13
|
};
|
|
14
|
-
//# sourceMappingURL=core.js.map
|
|
@@ -38,7 +38,7 @@ module.exports = __toCommonJS(compact_exports);
|
|
|
38
38
|
// package.json
|
|
39
39
|
var package_default = {
|
|
40
40
|
name: "@morphllm/morphsdk",
|
|
41
|
-
version: "0.2.
|
|
41
|
+
version: "0.2.202",
|
|
42
42
|
description: "TypeScript SDK and CLI for Morph Fast Apply integration",
|
|
43
43
|
type: "module",
|
|
44
44
|
main: "./dist/index.cjs",
|
|
@@ -150,12 +150,11 @@ var package_default = {
|
|
|
150
150
|
"dist/**/*.js",
|
|
151
151
|
"dist/**/*.cjs",
|
|
152
152
|
"dist/**/*.d.ts",
|
|
153
|
-
"dist/**/*.map",
|
|
154
153
|
"!dist/**/__tests__/**",
|
|
155
154
|
"!dist/**/*.test.*"
|
|
156
155
|
],
|
|
157
156
|
scripts: {
|
|
158
|
-
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 --
|
|
157
|
+
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",
|
|
159
158
|
prepare: "npm run build",
|
|
160
159
|
typecheck: "tsc --noEmit && tsc --noEmit -p ai-sdk/tsconfig.json",
|
|
161
160
|
lint: "eslint .",
|
|
@@ -599,4 +598,3 @@ async function compactFileContexts(files, query, apiKey, apiUrl, maxTokens = 1e4
|
|
|
599
598
|
CompactClient,
|
|
600
599
|
compactFileContexts
|
|
601
600
|
});
|
|
602
|
-
//# sourceMappingURL=index.cjs.map
|