@morphllm/morphsdk 0.2.134 → 0.2.135

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (150) hide show
  1. package/dist/{chunk-XI7DF7PI.js → chunk-2F3DWO73.js} +2 -2
  2. package/dist/{chunk-KBDOWN6S.js → chunk-2OK2AQ53.js} +2 -2
  3. package/dist/{chunk-KNB5LOE2.js → chunk-3577VCO6.js} +2 -2
  4. package/dist/{chunk-67DYLZPG.js → chunk-3VMIBLEC.js} +15 -15
  5. package/dist/{chunk-JQRQHNNL.js → chunk-6BXSZ3LY.js} +2 -2
  6. package/dist/{chunk-5ALXAPOK.js → chunk-B6CX5J56.js} +2 -2
  7. package/dist/{chunk-5ALXAPOK.js.map → chunk-B6CX5J56.js.map} +1 -1
  8. package/dist/{chunk-VZX3HT24.js → chunk-BIFHPQNI.js} +3 -3
  9. package/dist/{chunk-JZ5QGBGN.js → chunk-GVKV5MPR.js} +1 -1
  10. package/dist/{chunk-VQZBQDXC.js → chunk-I3QRCIZM.js} +2 -2
  11. package/dist/{chunk-XCQYVJFB.js → chunk-JKRJSADO.js} +2 -2
  12. package/dist/{chunk-FIZ62J4I.js → chunk-JYU72GRI.js} +2 -2
  13. package/dist/{chunk-PTGAOOSH.js → chunk-KNE5TLKB.js} +3 -3
  14. package/dist/chunk-L3XJHXFB.js +43 -0
  15. package/dist/chunk-L3XJHXFB.js.map +1 -0
  16. package/dist/{chunk-JCHVRIMF.js → chunk-OTOMB64C.js} +2 -2
  17. package/dist/{chunk-K6XWPSVZ.js → chunk-PR3GR2TN.js} +2 -2
  18. package/dist/{chunk-WBMMR34M.js → chunk-PXUIQKXO.js} +2 -2
  19. package/dist/{chunk-KDBJPYTR.js → chunk-QAMKU5RD.js} +2 -2
  20. package/dist/{chunk-GX2LIDD3.js → chunk-QUI7SUA3.js} +2 -2
  21. package/dist/{chunk-LCNDWM3Z.js → chunk-SHMXBOBV.js} +3 -3
  22. package/dist/{chunk-TNS7ANSG.js → chunk-UMMB5QLA.js} +2 -2
  23. package/dist/{chunk-MTLAZJTA.js → chunk-VNSBLMYL.js} +3 -3
  24. package/dist/{chunk-B6LTRVNE.js → chunk-Y5UTWBLJ.js} +2 -2
  25. package/dist/{chunk-37APZU2T.js → chunk-Y6DEMQ2G.js} +2 -2
  26. package/dist/{chunk-PSITTOMP.js → chunk-YSO7KYOI.js} +2 -2
  27. package/dist/client.cjs +4 -4
  28. package/dist/client.cjs.map +1 -1
  29. package/dist/client.js +21 -21
  30. package/dist/edge.cjs +1 -1
  31. package/dist/edge.cjs.map +1 -1
  32. package/dist/edge.js +4 -4
  33. package/dist/index.cjs +4 -4
  34. package/dist/index.cjs.map +1 -1
  35. package/dist/index.js +21 -21
  36. package/dist/modelrouter/core.cjs +1 -1
  37. package/dist/modelrouter/core.cjs.map +1 -1
  38. package/dist/modelrouter/core.js +3 -3
  39. package/dist/modelrouter/index.cjs +1 -1
  40. package/dist/modelrouter/index.cjs.map +1 -1
  41. package/dist/modelrouter/index.js +3 -3
  42. package/dist/tools/browser/anthropic.cjs +1 -1
  43. package/dist/tools/browser/anthropic.cjs.map +1 -1
  44. package/dist/tools/browser/anthropic.js +5 -5
  45. package/dist/tools/browser/core.cjs +1 -1
  46. package/dist/tools/browser/core.cjs.map +1 -1
  47. package/dist/tools/browser/core.js +4 -4
  48. package/dist/tools/browser/index.cjs +1 -1
  49. package/dist/tools/browser/index.cjs.map +1 -1
  50. package/dist/tools/browser/index.js +7 -7
  51. package/dist/tools/browser/openai.cjs +1 -1
  52. package/dist/tools/browser/openai.cjs.map +1 -1
  53. package/dist/tools/browser/openai.js +5 -5
  54. package/dist/tools/browser/profiles/core.cjs +1 -1
  55. package/dist/tools/browser/profiles/core.cjs.map +1 -1
  56. package/dist/tools/browser/profiles/core.js +3 -3
  57. package/dist/tools/browser/profiles/index.cjs +1 -1
  58. package/dist/tools/browser/profiles/index.cjs.map +1 -1
  59. package/dist/tools/browser/profiles/index.js +3 -3
  60. package/dist/tools/browser/vercel.cjs +1 -1
  61. package/dist/tools/browser/vercel.cjs.map +1 -1
  62. package/dist/tools/browser/vercel.js +5 -5
  63. package/dist/tools/codebase_search/anthropic.cjs +1 -1
  64. package/dist/tools/codebase_search/anthropic.cjs.map +1 -1
  65. package/dist/tools/codebase_search/anthropic.js +4 -4
  66. package/dist/tools/codebase_search/core.cjs +1 -1
  67. package/dist/tools/codebase_search/core.cjs.map +1 -1
  68. package/dist/tools/codebase_search/core.js +3 -3
  69. package/dist/tools/codebase_search/index.cjs +1 -1
  70. package/dist/tools/codebase_search/index.cjs.map +1 -1
  71. package/dist/tools/codebase_search/index.js +6 -6
  72. package/dist/tools/codebase_search/openai.cjs +1 -1
  73. package/dist/tools/codebase_search/openai.cjs.map +1 -1
  74. package/dist/tools/codebase_search/openai.js +4 -4
  75. package/dist/tools/codebase_search/vercel.cjs +1 -1
  76. package/dist/tools/codebase_search/vercel.cjs.map +1 -1
  77. package/dist/tools/codebase_search/vercel.js +4 -4
  78. package/dist/tools/fastapply/anthropic.cjs +1 -1
  79. package/dist/tools/fastapply/anthropic.cjs.map +1 -1
  80. package/dist/tools/fastapply/anthropic.js +4 -4
  81. package/dist/tools/fastapply/apply.cjs +1 -1
  82. package/dist/tools/fastapply/apply.cjs.map +1 -1
  83. package/dist/tools/fastapply/apply.js +2 -2
  84. package/dist/tools/fastapply/core.cjs +1 -1
  85. package/dist/tools/fastapply/core.cjs.map +1 -1
  86. package/dist/tools/fastapply/core.js +3 -3
  87. package/dist/tools/fastapply/index.cjs +1 -1
  88. package/dist/tools/fastapply/index.cjs.map +1 -1
  89. package/dist/tools/fastapply/index.js +6 -6
  90. package/dist/tools/fastapply/openai.cjs +1 -1
  91. package/dist/tools/fastapply/openai.cjs.map +1 -1
  92. package/dist/tools/fastapply/openai.js +4 -4
  93. package/dist/tools/fastapply/vercel.cjs +1 -1
  94. package/dist/tools/fastapply/vercel.cjs.map +1 -1
  95. package/dist/tools/fastapply/vercel.js +4 -4
  96. package/dist/tools/index.cjs +1 -1
  97. package/dist/tools/index.cjs.map +1 -1
  98. package/dist/tools/index.js +6 -6
  99. package/dist/tools/utils/resilience.cjs +1 -1
  100. package/dist/tools/utils/resilience.cjs.map +1 -1
  101. package/dist/tools/utils/resilience.js +2 -2
  102. package/dist/tools/warp_grep/agent/runner.cjs +1 -1
  103. package/dist/tools/warp_grep/agent/runner.cjs.map +1 -1
  104. package/dist/tools/warp_grep/agent/runner.js +2 -2
  105. package/dist/tools/warp_grep/anthropic.cjs +4 -4
  106. package/dist/tools/warp_grep/anthropic.cjs.map +1 -1
  107. package/dist/tools/warp_grep/anthropic.js +5 -5
  108. package/dist/tools/warp_grep/client.cjs +1 -1
  109. package/dist/tools/warp_grep/client.cjs.map +1 -1
  110. package/dist/tools/warp_grep/client.js +3 -3
  111. package/dist/tools/warp_grep/gemini.cjs +3 -3
  112. package/dist/tools/warp_grep/gemini.cjs.map +1 -1
  113. package/dist/tools/warp_grep/gemini.js +4 -4
  114. package/dist/tools/warp_grep/index.cjs +4 -4
  115. package/dist/tools/warp_grep/index.cjs.map +1 -1
  116. package/dist/tools/warp_grep/index.js +4 -4
  117. package/dist/tools/warp_grep/openai.cjs +4 -4
  118. package/dist/tools/warp_grep/openai.cjs.map +1 -1
  119. package/dist/tools/warp_grep/openai.js +5 -5
  120. package/dist/tools/warp_grep/vercel.cjs +3 -3
  121. package/dist/tools/warp_grep/vercel.cjs.map +1 -1
  122. package/dist/tools/warp_grep/vercel.js +5 -5
  123. package/dist/version.cjs +1 -1
  124. package/dist/version.cjs.map +1 -1
  125. package/dist/version.js +1 -1
  126. package/package.json +1 -1
  127. package/dist/chunk-37SPZ55Z.js +0 -43
  128. package/dist/chunk-37SPZ55Z.js.map +0 -1
  129. /package/dist/{chunk-XI7DF7PI.js.map → chunk-2F3DWO73.js.map} +0 -0
  130. /package/dist/{chunk-KBDOWN6S.js.map → chunk-2OK2AQ53.js.map} +0 -0
  131. /package/dist/{chunk-KNB5LOE2.js.map → chunk-3577VCO6.js.map} +0 -0
  132. /package/dist/{chunk-67DYLZPG.js.map → chunk-3VMIBLEC.js.map} +0 -0
  133. /package/dist/{chunk-JQRQHNNL.js.map → chunk-6BXSZ3LY.js.map} +0 -0
  134. /package/dist/{chunk-VZX3HT24.js.map → chunk-BIFHPQNI.js.map} +0 -0
  135. /package/dist/{chunk-JZ5QGBGN.js.map → chunk-GVKV5MPR.js.map} +0 -0
  136. /package/dist/{chunk-VQZBQDXC.js.map → chunk-I3QRCIZM.js.map} +0 -0
  137. /package/dist/{chunk-XCQYVJFB.js.map → chunk-JKRJSADO.js.map} +0 -0
  138. /package/dist/{chunk-FIZ62J4I.js.map → chunk-JYU72GRI.js.map} +0 -0
  139. /package/dist/{chunk-PTGAOOSH.js.map → chunk-KNE5TLKB.js.map} +0 -0
  140. /package/dist/{chunk-JCHVRIMF.js.map → chunk-OTOMB64C.js.map} +0 -0
  141. /package/dist/{chunk-K6XWPSVZ.js.map → chunk-PR3GR2TN.js.map} +0 -0
  142. /package/dist/{chunk-WBMMR34M.js.map → chunk-PXUIQKXO.js.map} +0 -0
  143. /package/dist/{chunk-KDBJPYTR.js.map → chunk-QAMKU5RD.js.map} +0 -0
  144. /package/dist/{chunk-GX2LIDD3.js.map → chunk-QUI7SUA3.js.map} +0 -0
  145. /package/dist/{chunk-LCNDWM3Z.js.map → chunk-SHMXBOBV.js.map} +0 -0
  146. /package/dist/{chunk-TNS7ANSG.js.map → chunk-UMMB5QLA.js.map} +0 -0
  147. /package/dist/{chunk-MTLAZJTA.js.map → chunk-VNSBLMYL.js.map} +0 -0
  148. /package/dist/{chunk-B6LTRVNE.js.map → chunk-Y5UTWBLJ.js.map} +0 -0
  149. /package/dist/{chunk-37APZU2T.js.map → chunk-Y6DEMQ2G.js.map} +0 -0
  150. /package/dist/{chunk-PSITTOMP.js.map → chunk-YSO7KYOI.js.map} +0 -0
@@ -5,23 +5,23 @@ import {
5
5
  GITHUB_SEARCH_TOOL_NAME,
6
6
  WARP_GREP_DESCRIPTION,
7
7
  WARP_GREP_TOOL_NAME
8
- } from "../../chunk-37SPZ55Z.js";
8
+ } from "../../chunk-L3XJHXFB.js";
9
9
  import {
10
10
  WarpGrepClient,
11
11
  executeGitHubReadFile,
12
12
  executeToolCall,
13
13
  formatGitHubReadFileResult,
14
14
  formatResult
15
- } from "../../chunk-B6LTRVNE.js";
15
+ } from "../../chunk-Y5UTWBLJ.js";
16
16
  import "../../chunk-NF2QWJDY.js";
17
17
  import "../../chunk-63VHBANJ.js";
18
- import "../../chunk-WBMMR34M.js";
18
+ import "../../chunk-PXUIQKXO.js";
19
19
  import "../../chunk-GVGJIXV2.js";
20
20
  import "../../chunk-YLT4PSXT.js";
21
21
  import "../../chunk-DKODF3YG.js";
22
22
  import "../../chunk-QRXG5CAZ.js";
23
23
  import "../../chunk-VCKJ22DX.js";
24
- import "../../chunk-5ALXAPOK.js";
24
+ import "../../chunk-B6CX5J56.js";
25
25
  import "../../chunk-PZ5AY32C.js";
26
26
 
27
27
  // tools/warp_grep/gemini.ts
@@ -995,7 +995,7 @@ var import_openai = __toESM(require("openai"), 1);
995
995
  // package.json
996
996
  var package_default = {
997
997
  name: "@morphllm/morphsdk",
998
- version: "0.2.134",
998
+ version: "0.2.135",
999
999
  description: "TypeScript SDK and CLI for Morph Fast Apply integration",
1000
1000
  type: "module",
1001
1001
  main: "./dist/index.cjs",
@@ -2085,13 +2085,13 @@ function formatResult(result) {
2085
2085
 
2086
2086
  // tools/warp_grep/prompts.ts
2087
2087
  var WARP_GREP_TOOL_NAME = "warpgrep_codebase_search";
2088
- 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.';
2088
+ 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.';
2089
2089
  var GITHUB_WARP_GREP_SEARCH_TOOL_NAME = "warpgrep_github_search";
2090
- 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 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. You must provide either a github_url or owner_repo parameter (at least one is required).';
2090
+ var GITHUB_WARP_GREP_SEARCH_DESCRIPTION = "Code search exploration subagent for public GitHub repositories (not your local workspace \u2014 use warpgrep_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). ";
2091
2091
  var GITHUB_WARP_GREP_SEARCH_INPUT_SCHEMA = {
2092
2092
  type: "object",
2093
2093
  properties: {
2094
- search_term: { type: "string", description: "Search problem statement that this subagent is supposed to research for" },
2094
+ search_term: { type: "string", description: 'A targeted natural-language query describing what to find (e.g. "How does auth work for SSO users?"). Not a keyword or symbol name.' },
2095
2095
  github_url: { type: "string", description: 'GitHub repository URL to search (e.g. "https://github.com/vercel/next.js"). You must provide either github_url or owner_repo.' },
2096
2096
  owner_repo: { type: "string", description: 'Repository owner/repo shorthand (e.g. "vercel/next.js"). You must provide either github_url or owner_repo.' },
2097
2097
  branch: { type: "string", description: "Branch to search (defaults to the repository default branch)" }