@morphllm/morphsdk 0.2.124 → 0.2.125
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/{chunk-WG5E7MMA.js → chunk-2MK64KK4.js} +2 -2
- package/dist/{chunk-STPK3AAF.js → chunk-2S7ZQFIB.js} +2 -2
- package/dist/{chunk-SGRNIWJD.js → chunk-33CP5QCC.js} +2 -2
- package/dist/{chunk-SGRNIWJD.js.map → chunk-33CP5QCC.js.map} +1 -1
- package/dist/{chunk-ZVVCJGNL.js → chunk-57PXQ6IS.js} +15 -15
- package/dist/{chunk-OTOVGCG6.js → chunk-5L3TPS6A.js} +3 -3
- package/dist/chunk-5L3TPS6A.js.map +1 -0
- package/dist/{chunk-A2OVRHEW.js → chunk-6TH3VNCF.js} +3 -3
- package/dist/{chunk-ICLIJKYL.js → chunk-7RTJCQWB.js} +3 -3
- package/dist/{chunk-KAI2DLL5.js → chunk-ACHEU2V3.js} +2 -2
- package/dist/{chunk-34UAUD5I.js → chunk-BGL35LL6.js} +2 -2
- package/dist/{chunk-M6VWLSL4.js → chunk-BQO3WODX.js} +3 -3
- package/dist/{chunk-DUJ32DHI.js → chunk-DGYWACHC.js} +2 -2
- package/dist/{chunk-Z7U7ZRMP.js → chunk-F6HNFC2H.js} +2 -2
- package/dist/{chunk-3ZO2UAYM.js → chunk-FAZO2LNY.js} +2 -2
- package/dist/{chunk-VKQLHW6G.js → chunk-FEQJCZJQ.js} +2 -2
- package/dist/{chunk-EIJAUTHH.js → chunk-G5YJDK5S.js} +2 -2
- package/dist/{chunk-N6YX3M4I.js → chunk-H6KT7IXW.js} +2 -2
- package/dist/{chunk-W4PYHVIJ.js → chunk-IB4MEIQG.js} +2 -2
- package/dist/{chunk-27BLOUAR.js → chunk-IRNUW2DB.js} +3 -3
- package/dist/{chunk-HHRHUUGN.js → chunk-OFQRY3RM.js} +2 -2
- package/dist/{chunk-BFJAFWMR.js → chunk-OQGX4RZP.js} +2 -2
- package/dist/{chunk-S4RLT56A.js → chunk-TFK4UOUE.js} +2 -2
- package/dist/{chunk-F7VTQZH7.js → chunk-TS3E6IRI.js} +2 -2
- package/dist/{chunk-KQRX2K2W.js → chunk-UGSV5LPO.js} +2 -2
- package/dist/{chunk-ZD5PEXNS.js → chunk-WZAZFW77.js} +1 -1
- package/dist/client.cjs +2 -2
- package/dist/client.cjs.map +1 -1
- package/dist/client.js +21 -21
- package/dist/edge.cjs +1 -1
- package/dist/edge.cjs.map +1 -1
- package/dist/edge.js +4 -4
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +21 -21
- package/dist/modelrouter/core.cjs +1 -1
- package/dist/modelrouter/core.cjs.map +1 -1
- package/dist/modelrouter/core.js +3 -3
- package/dist/modelrouter/index.cjs +1 -1
- package/dist/modelrouter/index.cjs.map +1 -1
- package/dist/modelrouter/index.js +3 -3
- package/dist/tools/browser/anthropic.cjs +1 -1
- package/dist/tools/browser/anthropic.cjs.map +1 -1
- package/dist/tools/browser/anthropic.js +5 -5
- package/dist/tools/browser/core.cjs +1 -1
- package/dist/tools/browser/core.cjs.map +1 -1
- package/dist/tools/browser/core.js +4 -4
- package/dist/tools/browser/index.cjs +1 -1
- package/dist/tools/browser/index.cjs.map +1 -1
- package/dist/tools/browser/index.js +7 -7
- package/dist/tools/browser/openai.cjs +1 -1
- package/dist/tools/browser/openai.cjs.map +1 -1
- package/dist/tools/browser/openai.js +5 -5
- package/dist/tools/browser/profiles/core.cjs +1 -1
- package/dist/tools/browser/profiles/core.cjs.map +1 -1
- package/dist/tools/browser/profiles/core.js +3 -3
- package/dist/tools/browser/profiles/index.cjs +1 -1
- package/dist/tools/browser/profiles/index.cjs.map +1 -1
- package/dist/tools/browser/profiles/index.js +3 -3
- package/dist/tools/browser/vercel.cjs +1 -1
- package/dist/tools/browser/vercel.cjs.map +1 -1
- package/dist/tools/browser/vercel.js +5 -5
- package/dist/tools/codebase_search/anthropic.cjs +1 -1
- package/dist/tools/codebase_search/anthropic.cjs.map +1 -1
- package/dist/tools/codebase_search/anthropic.js +4 -4
- package/dist/tools/codebase_search/core.cjs +1 -1
- package/dist/tools/codebase_search/core.cjs.map +1 -1
- package/dist/tools/codebase_search/core.js +3 -3
- package/dist/tools/codebase_search/index.cjs +1 -1
- package/dist/tools/codebase_search/index.cjs.map +1 -1
- package/dist/tools/codebase_search/index.js +6 -6
- package/dist/tools/codebase_search/openai.cjs +1 -1
- package/dist/tools/codebase_search/openai.cjs.map +1 -1
- package/dist/tools/codebase_search/openai.js +4 -4
- package/dist/tools/codebase_search/vercel.cjs +1 -1
- package/dist/tools/codebase_search/vercel.cjs.map +1 -1
- package/dist/tools/codebase_search/vercel.js +4 -4
- package/dist/tools/fastapply/anthropic.cjs +1 -1
- package/dist/tools/fastapply/anthropic.cjs.map +1 -1
- package/dist/tools/fastapply/anthropic.js +4 -4
- package/dist/tools/fastapply/apply.cjs +1 -1
- package/dist/tools/fastapply/apply.cjs.map +1 -1
- package/dist/tools/fastapply/apply.js +2 -2
- package/dist/tools/fastapply/core.cjs +1 -1
- package/dist/tools/fastapply/core.cjs.map +1 -1
- package/dist/tools/fastapply/core.js +3 -3
- package/dist/tools/fastapply/index.cjs +1 -1
- package/dist/tools/fastapply/index.cjs.map +1 -1
- package/dist/tools/fastapply/index.js +6 -6
- package/dist/tools/fastapply/openai.cjs +1 -1
- package/dist/tools/fastapply/openai.cjs.map +1 -1
- package/dist/tools/fastapply/openai.js +4 -4
- package/dist/tools/fastapply/vercel.cjs +1 -1
- package/dist/tools/fastapply/vercel.cjs.map +1 -1
- package/dist/tools/fastapply/vercel.js +4 -4
- package/dist/tools/index.cjs +1 -1
- package/dist/tools/index.cjs.map +1 -1
- package/dist/tools/index.js +6 -6
- package/dist/tools/utils/resilience.cjs +1 -1
- package/dist/tools/utils/resilience.cjs.map +1 -1
- package/dist/tools/utils/resilience.js +2 -2
- package/dist/tools/warp_grep/agent/runner.cjs +1 -1
- package/dist/tools/warp_grep/agent/runner.cjs.map +1 -1
- package/dist/tools/warp_grep/agent/runner.js +2 -2
- package/dist/tools/warp_grep/anthropic.cjs +3 -3
- package/dist/tools/warp_grep/anthropic.cjs.map +1 -1
- package/dist/tools/warp_grep/anthropic.js +5 -5
- package/dist/tools/warp_grep/client.cjs +1 -1
- package/dist/tools/warp_grep/client.cjs.map +1 -1
- package/dist/tools/warp_grep/client.js +3 -3
- package/dist/tools/warp_grep/gemini.cjs +3 -3
- package/dist/tools/warp_grep/gemini.cjs.map +1 -1
- package/dist/tools/warp_grep/gemini.js +4 -4
- package/dist/tools/warp_grep/index.cjs +3 -3
- package/dist/tools/warp_grep/index.cjs.map +1 -1
- package/dist/tools/warp_grep/index.js +4 -4
- package/dist/tools/warp_grep/openai.cjs +3 -3
- package/dist/tools/warp_grep/openai.cjs.map +1 -1
- package/dist/tools/warp_grep/openai.js +5 -5
- package/dist/tools/warp_grep/vercel.cjs +3 -3
- package/dist/tools/warp_grep/vercel.cjs.map +1 -1
- package/dist/tools/warp_grep/vercel.js +5 -5
- package/dist/version.cjs +1 -1
- package/dist/version.cjs.map +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-OTOVGCG6.js.map +0 -1
- /package/dist/{chunk-WG5E7MMA.js.map → chunk-2MK64KK4.js.map} +0 -0
- /package/dist/{chunk-STPK3AAF.js.map → chunk-2S7ZQFIB.js.map} +0 -0
- /package/dist/{chunk-ZVVCJGNL.js.map → chunk-57PXQ6IS.js.map} +0 -0
- /package/dist/{chunk-A2OVRHEW.js.map → chunk-6TH3VNCF.js.map} +0 -0
- /package/dist/{chunk-ICLIJKYL.js.map → chunk-7RTJCQWB.js.map} +0 -0
- /package/dist/{chunk-KAI2DLL5.js.map → chunk-ACHEU2V3.js.map} +0 -0
- /package/dist/{chunk-34UAUD5I.js.map → chunk-BGL35LL6.js.map} +0 -0
- /package/dist/{chunk-M6VWLSL4.js.map → chunk-BQO3WODX.js.map} +0 -0
- /package/dist/{chunk-DUJ32DHI.js.map → chunk-DGYWACHC.js.map} +0 -0
- /package/dist/{chunk-Z7U7ZRMP.js.map → chunk-F6HNFC2H.js.map} +0 -0
- /package/dist/{chunk-3ZO2UAYM.js.map → chunk-FAZO2LNY.js.map} +0 -0
- /package/dist/{chunk-VKQLHW6G.js.map → chunk-FEQJCZJQ.js.map} +0 -0
- /package/dist/{chunk-EIJAUTHH.js.map → chunk-G5YJDK5S.js.map} +0 -0
- /package/dist/{chunk-N6YX3M4I.js.map → chunk-H6KT7IXW.js.map} +0 -0
- /package/dist/{chunk-W4PYHVIJ.js.map → chunk-IB4MEIQG.js.map} +0 -0
- /package/dist/{chunk-27BLOUAR.js.map → chunk-IRNUW2DB.js.map} +0 -0
- /package/dist/{chunk-HHRHUUGN.js.map → chunk-OFQRY3RM.js.map} +0 -0
- /package/dist/{chunk-BFJAFWMR.js.map → chunk-OQGX4RZP.js.map} +0 -0
- /package/dist/{chunk-S4RLT56A.js.map → chunk-TFK4UOUE.js.map} +0 -0
- /package/dist/{chunk-F7VTQZH7.js.map → chunk-TS3E6IRI.js.map} +0 -0
- /package/dist/{chunk-KQRX2K2W.js.map → chunk-UGSV5LPO.js.map} +0 -0
- /package/dist/{chunk-ZD5PEXNS.js.map → chunk-WZAZFW77.js.map} +0 -0
|
@@ -5,18 +5,18 @@ import {
|
|
|
5
5
|
GITHUB_SEARCH_TOOL_NAME,
|
|
6
6
|
WARP_GREP_DESCRIPTION,
|
|
7
7
|
WARP_GREP_TOOL_NAME
|
|
8
|
-
} from "../../chunk-
|
|
8
|
+
} from "../../chunk-5L3TPS6A.js";
|
|
9
9
|
import {
|
|
10
10
|
WarpGrepClient,
|
|
11
11
|
executeGitHubReadFile,
|
|
12
12
|
executeToolCall,
|
|
13
13
|
formatGitHubReadFileResult,
|
|
14
14
|
formatResult
|
|
15
|
-
} from "../../chunk-
|
|
15
|
+
} from "../../chunk-TFK4UOUE.js";
|
|
16
16
|
import "../../chunk-GVGJIXV2.js";
|
|
17
17
|
import "../../chunk-PUGSTXLO.js";
|
|
18
18
|
import "../../chunk-63VHBANJ.js";
|
|
19
|
-
import "../../chunk-
|
|
19
|
+
import "../../chunk-OFQRY3RM.js";
|
|
20
20
|
import "../../chunk-3MLWXJTJ.js";
|
|
21
21
|
import "../../chunk-5PNMAWLC.js";
|
|
22
22
|
import "../../chunk-APP75CBN.js";
|
|
@@ -24,7 +24,7 @@ import "../../chunk-GHGJAQSJ.js";
|
|
|
24
24
|
import {
|
|
25
25
|
getSystemPrompt
|
|
26
26
|
} from "../../chunk-FMLHRJDF.js";
|
|
27
|
-
import "../../chunk-
|
|
27
|
+
import "../../chunk-33CP5QCC.js";
|
|
28
28
|
import "../../chunk-PZ5AY32C.js";
|
|
29
29
|
|
|
30
30
|
// tools/warp_grep/gemini.ts
|
|
@@ -1409,7 +1409,7 @@ var import_openai = __toESM(require("openai"), 1);
|
|
|
1409
1409
|
// package.json
|
|
1410
1410
|
var package_default = {
|
|
1411
1411
|
name: "@morphllm/morphsdk",
|
|
1412
|
-
version: "0.2.
|
|
1412
|
+
version: "0.2.125",
|
|
1413
1413
|
description: "TypeScript SDK and CLI for Morph Fast Apply integration",
|
|
1414
1414
|
type: "module",
|
|
1415
1415
|
main: "./dist/index.cjs",
|
|
@@ -2504,7 +2504,7 @@ function formatResult(result) {
|
|
|
2504
2504
|
var WARP_GREP_TOOL_NAME = "warpgrep_codebase_search";
|
|
2505
2505
|
var WARP_GREP_DESCRIPTION = 'IMPORTANT: If you need to explore the codebase to gather context, and the task does not involve a single file or function which is provided by name, you should ALWAYS use the warpgrep codebase search tool first instead of running search commands. When the task requires exploration beyond a single known file, invoke warpgrep first with a natural-language query describing the target functionality, bug, or architectural concern. Warp Grep is a fast and accurate tool that can search for all relevant context in a codebase. Keep queries action-oriented (e.g., "Find where billing invoices are generated and emailed"), and after reviewing the summarized results, you may verify important findings with other search tools or direct file reads to ensure completeness. Warp Grep can be used for query types like: find function responsible for <small feature>; find code that does <description>; find code path for <big feature>; Where does <minimal error message> come from?; or any query of that type. When a task requires exploration beyond a single known file, ALWAYS default to warpgrep codebase search before other search mechanisms.';
|
|
2506
2506
|
var GITHUB_WARP_GREP_SEARCH_TOOL_NAME = "warpgrep_github_search";
|
|
2507
|
-
var GITHUB_WARP_GREP_SEARCH_DESCRIPTION = 'IMPORTANT: If you need to explore the codebase of a public GitHub repository (not your local workspace), use warpgrep_github_search instead of warpgrep_codebase_search.
|
|
2507
|
+
var GITHUB_WARP_GREP_SEARCH_DESCRIPTION = 'IMPORTANT: If you need to explore the codebase of a public GitHub repository (not your local workspace), use warpgrep_github_search instead of warpgrep_codebase_search. ONLY use this tool when the task requires understanding code in an external repo, and invoke warpgrep_github_search with a GitHub URL or owner/repo shorthand (e.g., vercel/next.js) and a natural-language query describing the target functionality, bug, or architectural concern. DO NOT use this tool when the task requires understanding code in your local workspace. Use warpgrep_codebase_search instead.Useful when you suspect a library or framework is being used in a way that is not documented, or if you suspect an update or a bug in the library or framework.WarpGrep searches GitHub repos the same way it searches local codebases: fast and accurate. Keep queries action-oriented (e.g., "Find where how the new use workflow directive works"), and after reviewing the results, you may verify important findings with other tools or direct file reads. WarpGrep can be used for query types like: find function responsible for <small feature>; find code that does <description>; find code path for <big feature>; Where does <minimal error message> come from?; or any query of that type. When a task involves exploring code in an external public repo, ALWAYS use warpgrep_github_search.';
|
|
2508
2508
|
var GITHUB_WARP_GREP_SEARCH_INPUT_SCHEMA = {
|
|
2509
2509
|
type: "object",
|
|
2510
2510
|
properties: {
|
|
@@ -2518,7 +2518,7 @@ var GITHUB_SEARCH_TOOL_NAME = GITHUB_WARP_GREP_SEARCH_TOOL_NAME;
|
|
|
2518
2518
|
var GITHUB_SEARCH_DESCRIPTION = GITHUB_WARP_GREP_SEARCH_DESCRIPTION;
|
|
2519
2519
|
var GITHUB_SEARCH_INPUT_SCHEMA = GITHUB_WARP_GREP_SEARCH_INPUT_SCHEMA;
|
|
2520
2520
|
var GITHUB_READ_FILE_TOOL_NAME = "readfile_github_search";
|
|
2521
|
-
var GITHUB_READ_FILE_DESCRIPTION = "Read a single file (or a line range) from a public GitHub repository.
|
|
2521
|
+
var GITHUB_READ_FILE_DESCRIPTION = "Read a single file (or a line range) from a public GitHub repository. ONLY USE THIS WHEN YOU ALREADY KNOW THE EXACT FILE PATH YOU WANT TO READ, for example after finding it via warpgrep_github_search results. Takes owner/repo shorthand and the file path within the repo. Optionally specify startLine and endLine (1-based) to read a specific range. Returns the file content with line numbers.";
|
|
2522
2522
|
var GITHUB_READ_FILE_INPUT_SCHEMA = {
|
|
2523
2523
|
type: "object",
|
|
2524
2524
|
properties: {
|