@morphllm/morphsdk 0.2.135 → 0.2.136
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-YSO7KYOI.js → chunk-2V62NG2U.js} +2 -2
- package/dist/{chunk-Y5UTWBLJ.js → chunk-3ETYY5HP.js} +2 -2
- package/dist/{chunk-KNE5TLKB.js → chunk-4IYANCBS.js} +3 -3
- package/dist/{chunk-2F3DWO73.js → chunk-6OXT6F2D.js} +2 -2
- package/dist/{chunk-JKRJSADO.js → chunk-7Y5SST7X.js} +2 -2
- package/dist/{chunk-2OK2AQ53.js → chunk-AVQ2367A.js} +2 -2
- package/dist/{chunk-GVKV5MPR.js → chunk-AYRUCI2F.js} +1 -1
- package/dist/{chunk-PXUIQKXO.js → chunk-C2DZAQTJ.js} +2 -2
- package/dist/{chunk-SHMXBOBV.js → chunk-CQQEMXKT.js} +3 -3
- package/dist/{chunk-QAMKU5RD.js → chunk-EFZK7ETX.js} +2 -2
- package/dist/{chunk-UMMB5QLA.js → chunk-FAKFNSRP.js} +2 -2
- package/dist/{chunk-3VMIBLEC.js → chunk-FGTIGZKM.js} +15 -15
- package/dist/{chunk-6BXSZ3LY.js → chunk-MVNRQ67H.js} +2 -2
- package/dist/{chunk-BIFHPQNI.js → chunk-OTXEZN6Y.js} +3 -3
- package/dist/{chunk-QUI7SUA3.js → chunk-PGFUVAKP.js} +2 -2
- package/dist/{chunk-L3XJHXFB.js → chunk-QFCED636.js} +5 -5
- package/dist/chunk-QFCED636.js.map +1 -0
- package/dist/{chunk-I3QRCIZM.js → chunk-UI4XYSYG.js} +2 -2
- package/dist/{chunk-Y6DEMQ2G.js → chunk-V5NT435K.js} +2 -2
- package/dist/{chunk-OTOMB64C.js → chunk-VBEGAIQD.js} +2 -2
- package/dist/{chunk-PR3GR2TN.js → chunk-VREX5IT4.js} +2 -2
- package/dist/{chunk-VNSBLMYL.js → chunk-VROCX3BV.js} +3 -3
- package/dist/{chunk-B6CX5J56.js → chunk-XVP44AMM.js} +2 -2
- package/dist/{chunk-B6CX5J56.js.map → chunk-XVP44AMM.js.map} +1 -1
- package/dist/{chunk-JYU72GRI.js → chunk-XXGPBIJM.js} +2 -2
- package/dist/{chunk-3577VCO6.js → chunk-YVNPUECJ.js} +2 -2
- package/dist/{client-D1L9Yb3A.d.ts → client-Ca7e11hJ.d.ts} +1 -1
- package/dist/client.cjs +4 -4
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.ts +2 -2
- 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 +4 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +2 -2
- 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 +5 -5
- package/dist/tools/warp_grep/anthropic.cjs.map +1 -1
- package/dist/tools/warp_grep/anthropic.d.ts +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.d.ts +1 -1
- package/dist/tools/warp_grep/client.js +3 -3
- package/dist/tools/warp_grep/gemini.cjs +5 -5
- package/dist/tools/warp_grep/gemini.cjs.map +1 -1
- package/dist/tools/warp_grep/gemini.d.ts +1 -1
- package/dist/tools/warp_grep/gemini.js +4 -4
- package/dist/tools/warp_grep/index.cjs +5 -5
- package/dist/tools/warp_grep/index.cjs.map +1 -1
- package/dist/tools/warp_grep/index.d.ts +4 -4
- package/dist/tools/warp_grep/index.js +4 -4
- package/dist/tools/warp_grep/openai.cjs +5 -5
- package/dist/tools/warp_grep/openai.cjs.map +1 -1
- package/dist/tools/warp_grep/openai.d.ts +1 -1
- package/dist/tools/warp_grep/openai.js +5 -5
- package/dist/tools/warp_grep/providers/code_storage_http.d.ts +1 -1
- package/dist/tools/warp_grep/providers/remote.d.ts +1 -1
- 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.d.ts +1 -1
- package/dist/tools/warp_grep/vercel.js +5 -5
- package/dist/{types-C5r_ph-V.d.ts → types-D2PCc7f6.d.ts} +1 -1
- 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-L3XJHXFB.js.map +0 -1
- /package/dist/{chunk-YSO7KYOI.js.map → chunk-2V62NG2U.js.map} +0 -0
- /package/dist/{chunk-Y5UTWBLJ.js.map → chunk-3ETYY5HP.js.map} +0 -0
- /package/dist/{chunk-KNE5TLKB.js.map → chunk-4IYANCBS.js.map} +0 -0
- /package/dist/{chunk-2F3DWO73.js.map → chunk-6OXT6F2D.js.map} +0 -0
- /package/dist/{chunk-JKRJSADO.js.map → chunk-7Y5SST7X.js.map} +0 -0
- /package/dist/{chunk-2OK2AQ53.js.map → chunk-AVQ2367A.js.map} +0 -0
- /package/dist/{chunk-GVKV5MPR.js.map → chunk-AYRUCI2F.js.map} +0 -0
- /package/dist/{chunk-PXUIQKXO.js.map → chunk-C2DZAQTJ.js.map} +0 -0
- /package/dist/{chunk-SHMXBOBV.js.map → chunk-CQQEMXKT.js.map} +0 -0
- /package/dist/{chunk-QAMKU5RD.js.map → chunk-EFZK7ETX.js.map} +0 -0
- /package/dist/{chunk-UMMB5QLA.js.map → chunk-FAKFNSRP.js.map} +0 -0
- /package/dist/{chunk-3VMIBLEC.js.map → chunk-FGTIGZKM.js.map} +0 -0
- /package/dist/{chunk-6BXSZ3LY.js.map → chunk-MVNRQ67H.js.map} +0 -0
- /package/dist/{chunk-BIFHPQNI.js.map → chunk-OTXEZN6Y.js.map} +0 -0
- /package/dist/{chunk-QUI7SUA3.js.map → chunk-PGFUVAKP.js.map} +0 -0
- /package/dist/{chunk-I3QRCIZM.js.map → chunk-UI4XYSYG.js.map} +0 -0
- /package/dist/{chunk-Y6DEMQ2G.js.map → chunk-V5NT435K.js.map} +0 -0
- /package/dist/{chunk-OTOMB64C.js.map → chunk-VBEGAIQD.js.map} +0 -0
- /package/dist/{chunk-PR3GR2TN.js.map → chunk-VREX5IT4.js.map} +0 -0
- /package/dist/{chunk-VNSBLMYL.js.map → chunk-VROCX3BV.js.map} +0 -0
- /package/dist/{chunk-JYU72GRI.js.map → chunk-XXGPBIJM.js.map} +0 -0
- /package/dist/{chunk-3577VCO6.js.map → chunk-YVNPUECJ.js.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export { WarpGrepClient, executeGitHubReadFile, executeToolCall, executeWarpGrep, formatGitHubReadFileResult, formatResult } from './client.js';
|
|
3
|
-
export { e as GitHubReadFileInput, f as GitHubReadFileResult, h as GitHubReadFileToolConfig, G as GitHubSearchInput, g as GitHubSearchToolConfig, R as RemoteCommands, W as WarpGrepClientConfig, c as WarpGrepContext, a as WarpGrepInput, b as WarpGrepResult, d as WarpGrepToolConfig } from '../../types-
|
|
3
|
+
export { e as GitHubReadFileInput, f as GitHubReadFileResult, h as GitHubReadFileToolConfig, G as GitHubSearchInput, g as GitHubSearchToolConfig, R as RemoteCommands, W as WarpGrepClientConfig, c as WarpGrepContext, a as WarpGrepInput, b as WarpGrepResult, d as WarpGrepToolConfig } from '../../types-D2PCc7f6.js';
|
|
4
4
|
export { GrepResult, ListDirectoryEntry, ReadResult, WarpGrepProvider } from './providers/types.js';
|
|
5
5
|
export { LocalRipgrepProvider } from './providers/local.js';
|
|
6
6
|
export { RemoteCommandsProvider } from './providers/remote.js';
|
|
@@ -12,17 +12,17 @@ export { n as normalizeFinishFiles, r as readFinishFiles, t as toolGrep, b as to
|
|
|
12
12
|
import '../utils/resilience.js';
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
|
-
* Prompts and descriptions for
|
|
15
|
+
* Prompts and descriptions for codebase_search
|
|
16
16
|
*/
|
|
17
17
|
/**
|
|
18
18
|
* Default tool name for the warp grep tool
|
|
19
19
|
*/
|
|
20
|
-
declare const WARP_GREP_TOOL_NAME = "
|
|
20
|
+
declare const WARP_GREP_TOOL_NAME = "codebase_search";
|
|
21
21
|
/**
|
|
22
22
|
* Default tool description for the warp grep tool
|
|
23
23
|
*/
|
|
24
24
|
declare const WARP_GREP_DESCRIPTION: string;
|
|
25
|
-
declare const GITHUB_SEARCH_TOOL_NAME = "
|
|
25
|
+
declare const GITHUB_SEARCH_TOOL_NAME = "github_codebase_search";
|
|
26
26
|
declare const GITHUB_SEARCH_DESCRIPTION: string;
|
|
27
27
|
declare const GITHUB_SEARCH_INPUT_SCHEMA: {
|
|
28
28
|
type: "object";
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
GITHUB_SEARCH_TOOL_NAME,
|
|
19
19
|
WARP_GREP_DESCRIPTION,
|
|
20
20
|
WARP_GREP_TOOL_NAME
|
|
21
|
-
} from "../../chunk-
|
|
21
|
+
} from "../../chunk-QFCED636.js";
|
|
22
22
|
import {
|
|
23
23
|
WarpGrepClient,
|
|
24
24
|
executeGitHubReadFile,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
executeWarpGrep,
|
|
27
27
|
formatGitHubReadFileResult,
|
|
28
28
|
formatResult
|
|
29
|
-
} from "../../chunk-
|
|
29
|
+
} from "../../chunk-3ETYY5HP.js";
|
|
30
30
|
import {
|
|
31
31
|
RemoteCommandsProvider
|
|
32
32
|
} from "../../chunk-NF2QWJDY.js";
|
|
@@ -34,7 +34,7 @@ import "../../chunk-63VHBANJ.js";
|
|
|
34
34
|
import {
|
|
35
35
|
runWarpGrep,
|
|
36
36
|
runWarpGrepStreaming
|
|
37
|
-
} from "../../chunk-
|
|
37
|
+
} from "../../chunk-C2DZAQTJ.js";
|
|
38
38
|
import {
|
|
39
39
|
createCodeStorageHttpCommands
|
|
40
40
|
} from "../../chunk-GVGJIXV2.js";
|
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
import "../../chunk-DKODF3YG.js";
|
|
49
49
|
import "../../chunk-QRXG5CAZ.js";
|
|
50
50
|
import "../../chunk-VCKJ22DX.js";
|
|
51
|
-
import "../../chunk-
|
|
51
|
+
import "../../chunk-XVP44AMM.js";
|
|
52
52
|
import "../../chunk-PZ5AY32C.js";
|
|
53
53
|
export {
|
|
54
54
|
GITHUB_READ_FILE_DESCRIPTION,
|
|
@@ -967,7 +967,7 @@ var import_openai = __toESM(require("openai"), 1);
|
|
|
967
967
|
// package.json
|
|
968
968
|
var package_default = {
|
|
969
969
|
name: "@morphllm/morphsdk",
|
|
970
|
-
version: "0.2.
|
|
970
|
+
version: "0.2.136",
|
|
971
971
|
description: "TypeScript SDK and CLI for Morph Fast Apply integration",
|
|
972
972
|
type: "module",
|
|
973
973
|
main: "./dist/index.cjs",
|
|
@@ -2049,10 +2049,10 @@ function formatResult(result) {
|
|
|
2049
2049
|
}
|
|
2050
2050
|
|
|
2051
2051
|
// tools/warp_grep/prompts.ts
|
|
2052
|
-
var WARP_GREP_TOOL_NAME = "
|
|
2052
|
+
var WARP_GREP_TOOL_NAME = "codebase_search";
|
|
2053
2053
|
var WARP_GREP_DESCRIPTION = 'Very fast code search exploration subagent (not a grep tool) that runs parallel grep and file read calls over multiple turns to locate relevant files and line ranges. The search term should be a targeted natural-language query describing what you are trying to find or accomplish, e.g. "Find where authentication requests are handled in the Express routes" or "How do callers of processOrder handle the error case?". Fill in extra context you can infer to make the query specific. Do not pass bare keywords or symbol names \u2014 use grep directly for exact symbol lookups. Use this tool first when exploring unfamiliar code. The results may be partial \u2014 follow up with classical search tools or direct file reads if needed.';
|
|
2054
|
-
var GITHUB_WARP_GREP_SEARCH_TOOL_NAME = "
|
|
2055
|
-
var GITHUB_WARP_GREP_SEARCH_DESCRIPTION = "Code search exploration subagent for public GitHub repositories (not your local workspace \u2014 use
|
|
2054
|
+
var GITHUB_WARP_GREP_SEARCH_TOOL_NAME = "github_codebase_search";
|
|
2055
|
+
var GITHUB_WARP_GREP_SEARCH_DESCRIPTION = "Code search exploration subagent for public GitHub repositories (not your local workspace \u2014 use codebase_search for that). Runs parallel grep and file read calls to locate relevant files and line ranges in external github repositories without cloning the repository. Pass a targeted natural-language query, not bare keywords. Useful for understanding how a library works or investigating upstream bugs. You must provide either github_url or owner_repo (at least one required). ";
|
|
2056
2056
|
var GITHUB_WARP_GREP_SEARCH_INPUT_SCHEMA = {
|
|
2057
2057
|
type: "object",
|
|
2058
2058
|
properties: {
|
|
@@ -2067,7 +2067,7 @@ var GITHUB_SEARCH_TOOL_NAME = GITHUB_WARP_GREP_SEARCH_TOOL_NAME;
|
|
|
2067
2067
|
var GITHUB_SEARCH_DESCRIPTION = GITHUB_WARP_GREP_SEARCH_DESCRIPTION;
|
|
2068
2068
|
var GITHUB_SEARCH_INPUT_SCHEMA = GITHUB_WARP_GREP_SEARCH_INPUT_SCHEMA;
|
|
2069
2069
|
var GITHUB_READ_FILE_TOOL_NAME = "readfile_github_search";
|
|
2070
|
-
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
|
|
2070
|
+
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 github_codebase_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.";
|
|
2071
2071
|
var GITHUB_READ_FILE_INPUT_SCHEMA = {
|
|
2072
2072
|
type: "object",
|
|
2073
2073
|
properties: {
|