@morphllm/morphsdk 0.2.174 → 0.2.175
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-APVS7EAO.js → chunk-2SHUV3AB.js} +2 -2
- package/dist/{chunk-M35HA2EQ.js → chunk-2WC7TSEL.js} +2 -2
- package/dist/{chunk-ABMYD6QV.js → chunk-3TWDAXXO.js} +2 -2
- package/dist/{chunk-MB6ZYZ3V.js → chunk-4MNI34G7.js} +2 -2
- package/dist/{chunk-DHFFOBSV.js → chunk-4NTL6M55.js} +3 -3
- package/dist/{chunk-OKBNOGD5.js → chunk-5HNJNDDQ.js} +2 -2
- package/dist/{chunk-7D7FJY7Y.js → chunk-AWBZNBAD.js} +2 -2
- package/dist/{chunk-J5XHHP5X.js → chunk-BQ52QYAU.js} +2 -2
- package/dist/{chunk-XQ4T5QDT.js → chunk-CABQ652L.js} +11 -8
- package/dist/chunk-CABQ652L.js.map +1 -0
- package/dist/{chunk-WKNYYI2G.js → chunk-CBIXYMY2.js} +2 -2
- package/dist/{chunk-L6LYTTZR.js → chunk-D6C7K7T7.js} +2 -2
- package/dist/{chunk-CBPPR3OM.js → chunk-DB4C63ND.js} +2 -2
- package/dist/{chunk-2VMJYD6W.js → chunk-EYXMABTT.js} +2 -2
- package/dist/{chunk-ZG6JEYEG.js → chunk-FGSPSUZA.js} +3 -3
- package/dist/{chunk-4SQU273Z.js → chunk-GFPOP6ZY.js} +2 -2
- package/dist/{chunk-S3GAUEV6.js → chunk-GGGHLBME.js} +2 -2
- package/dist/{chunk-B2GSQO2U.js → chunk-GIQZQM3I.js} +2 -2
- package/dist/{chunk-ZHWVJ7SF.js → chunk-GMIXIA7W.js} +2 -2
- package/dist/{chunk-OERNLFLW.js → chunk-HBE26KJG.js} +2 -2
- package/dist/{chunk-GWRJD5WE.js → chunk-I5PAAUJW.js} +4 -4
- package/dist/{chunk-DK442LPX.js → chunk-ICA7P5TD.js} +2 -2
- package/dist/{chunk-34NQGT2I.js → chunk-ICFZAOSH.js} +2 -2
- package/dist/{chunk-QW3ARPU3.js → chunk-IRBMNRZC.js} +4 -4
- package/dist/{chunk-RH2E2PTB.js → chunk-JOBCDCRP.js} +3 -3
- package/dist/{chunk-IDS4XQ4T.js → chunk-KRTQESOL.js} +3 -3
- package/dist/{chunk-4IO2Z7US.js → chunk-LPXMSR5E.js} +2 -2
- package/dist/{chunk-2OHOIGNC.js → chunk-OHF5K3HA.js} +2 -2
- package/dist/{chunk-2OHOIGNC.js.map → chunk-OHF5K3HA.js.map} +1 -1
- package/dist/{chunk-OYQT243T.js → chunk-TNNLID5P.js} +2 -2
- package/dist/{chunk-RM2U5DE4.js → chunk-TPGWVT3F.js} +21 -21
- package/dist/{chunk-SSGEZ4GK.js → chunk-TVZ5QVUV.js} +2 -2
- package/dist/{chunk-ZRPPKRKS.js → chunk-TY2GIOLP.js} +2 -2
- package/dist/{chunk-XBUHHKHX.js → chunk-XRYUQSUC.js} +4 -4
- package/dist/{chunk-XVNI3Y3O.js → chunk-Y5AZ6FOQ.js} +3 -3
- package/dist/{chunk-MQMRIQNU.js → chunk-ZCEDWXQV.js} +7 -3
- package/dist/{chunk-MQMRIQNU.js.map → chunk-ZCEDWXQV.js.map} +1 -1
- package/dist/client.cjs +1 -1
- package/dist/client.cjs.map +1 -1
- package/dist/client.js +28 -28
- package/dist/core/client.cjs +1 -1
- package/dist/core/client.cjs.map +1 -1
- package/dist/core/client.js +4 -4
- package/dist/core/error.cjs +1 -1
- package/dist/core/error.cjs.map +1 -1
- package/dist/core/error.js +3 -3
- package/dist/core/index.cjs +1 -1
- package/dist/core/index.cjs.map +1 -1
- package/dist/core/index.js +4 -4
- package/dist/edge.cjs +1 -1
- package/dist/edge.cjs.map +1 -1
- package/dist/edge.js +7 -7
- package/dist/git/client.cjs +1 -1
- package/dist/git/client.cjs.map +1 -1
- package/dist/git/client.js +5 -5
- package/dist/git/index.cjs +1 -1
- package/dist/git/index.cjs.map +1 -1
- package/dist/git/index.js +5 -5
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +28 -28
- package/dist/modelrouter/core.cjs +1 -1
- package/dist/modelrouter/core.cjs.map +1 -1
- package/dist/modelrouter/core.js +5 -5
- package/dist/modelrouter/index.cjs +1 -1
- package/dist/modelrouter/index.cjs.map +1 -1
- package/dist/modelrouter/index.js +5 -5
- package/dist/{otel-Dt36jfxw.d.ts → otel-Dk8kdhmZ.d.ts} +2 -5
- package/dist/subagents/anthropic.cjs +1 -1
- package/dist/subagents/anthropic.cjs.map +1 -1
- package/dist/subagents/anthropic.js +9 -9
- package/dist/subagents/vercel.cjs +1 -1
- package/dist/subagents/vercel.cjs.map +1 -1
- package/dist/subagents/vercel.js +9 -9
- package/dist/tools/browser/anthropic.cjs +1 -1
- package/dist/tools/browser/anthropic.cjs.map +1 -1
- package/dist/tools/browser/anthropic.js +7 -7
- package/dist/tools/browser/core.cjs +1 -1
- package/dist/tools/browser/core.cjs.map +1 -1
- package/dist/tools/browser/core.js +6 -6
- package/dist/tools/browser/index.cjs +1 -1
- package/dist/tools/browser/index.cjs.map +1 -1
- package/dist/tools/browser/index.js +9 -9
- package/dist/tools/browser/openai.cjs +1 -1
- package/dist/tools/browser/openai.cjs.map +1 -1
- package/dist/tools/browser/openai.js +7 -7
- 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 +7 -7
- 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 +6 -6
- 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 +5 -5
- 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 +8 -8
- 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 +6 -6
- 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 +6 -6
- package/dist/tools/compact/core.cjs +1 -1
- package/dist/tools/compact/core.cjs.map +1 -1
- package/dist/tools/compact/core.js +5 -5
- package/dist/tools/compact/index.cjs +1 -1
- package/dist/tools/compact/index.cjs.map +1 -1
- package/dist/tools/compact/index.js +6 -6
- package/dist/tools/fastapply/anthropic.cjs +1 -1
- package/dist/tools/fastapply/anthropic.cjs.map +1 -1
- package/dist/tools/fastapply/anthropic.js +7 -7
- 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 +6 -6
- package/dist/tools/fastapply/index.cjs +1 -1
- package/dist/tools/fastapply/index.cjs.map +1 -1
- package/dist/tools/fastapply/index.js +9 -9
- package/dist/tools/fastapply/openai.cjs +1 -1
- package/dist/tools/fastapply/openai.cjs.map +1 -1
- package/dist/tools/fastapply/openai.js +7 -7
- package/dist/tools/fastapply/vercel.cjs +1 -1
- package/dist/tools/fastapply/vercel.cjs.map +1 -1
- package/dist/tools/fastapply/vercel.js +7 -7
- package/dist/tools/index.cjs +1 -1
- package/dist/tools/index.cjs.map +1 -1
- package/dist/tools/index.js +9 -9
- package/dist/tools/reflex/core.cjs +1 -1
- package/dist/tools/reflex/core.cjs.map +1 -1
- package/dist/tools/reflex/core.js +5 -5
- package/dist/tools/reflex/index.cjs +1 -1
- package/dist/tools/reflex/index.cjs.map +1 -1
- package/dist/tools/reflex/index.js +5 -5
- 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 +1 -1
- package/dist/tools/warp_grep/anthropic.cjs.map +1 -1
- package/dist/tools/warp_grep/anthropic.js +9 -9
- 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 +8 -8
- package/dist/tools/warp_grep/gemini.cjs +1 -1
- package/dist/tools/warp_grep/gemini.cjs.map +1 -1
- package/dist/tools/warp_grep/gemini.js +8 -8
- package/dist/tools/warp_grep/index.cjs +1 -1
- package/dist/tools/warp_grep/index.cjs.map +1 -1
- package/dist/tools/warp_grep/index.js +8 -8
- package/dist/tools/warp_grep/openai.cjs +1 -1
- package/dist/tools/warp_grep/openai.cjs.map +1 -1
- package/dist/tools/warp_grep/openai.js +9 -9
- package/dist/tools/warp_grep/vercel.cjs +1 -1
- package/dist/tools/warp_grep/vercel.cjs.map +1 -1
- package/dist/tools/warp_grep/vercel.js +9 -9
- package/dist/tracing/core.cjs +15 -6
- package/dist/tracing/core.cjs.map +1 -1
- package/dist/tracing/core.js +3 -3
- package/dist/tracing/index.cjs +15 -7
- package/dist/tracing/index.cjs.map +1 -1
- package/dist/tracing/index.d.ts +1 -1
- package/dist/tracing/index.js +3 -3
- package/dist/tracing/interaction.cjs +15 -6
- package/dist/tracing/interaction.cjs.map +1 -1
- package/dist/tracing/interaction.d.ts +5 -0
- package/dist/tracing/interaction.js +2 -2
- package/dist/tracing/otel.cjs +10 -7
- package/dist/tracing/otel.cjs.map +1 -1
- package/dist/tracing/otel.d.ts +1 -1
- package/dist/tracing/otel.js +1 -3
- package/dist/tracing/types.cjs.map +1 -1
- package/dist/tracing/types.d.ts +2 -0
- 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-XQ4T5QDT.js.map +0 -1
- /package/dist/{chunk-APVS7EAO.js.map → chunk-2SHUV3AB.js.map} +0 -0
- /package/dist/{chunk-M35HA2EQ.js.map → chunk-2WC7TSEL.js.map} +0 -0
- /package/dist/{chunk-ABMYD6QV.js.map → chunk-3TWDAXXO.js.map} +0 -0
- /package/dist/{chunk-MB6ZYZ3V.js.map → chunk-4MNI34G7.js.map} +0 -0
- /package/dist/{chunk-DHFFOBSV.js.map → chunk-4NTL6M55.js.map} +0 -0
- /package/dist/{chunk-OKBNOGD5.js.map → chunk-5HNJNDDQ.js.map} +0 -0
- /package/dist/{chunk-7D7FJY7Y.js.map → chunk-AWBZNBAD.js.map} +0 -0
- /package/dist/{chunk-J5XHHP5X.js.map → chunk-BQ52QYAU.js.map} +0 -0
- /package/dist/{chunk-WKNYYI2G.js.map → chunk-CBIXYMY2.js.map} +0 -0
- /package/dist/{chunk-L6LYTTZR.js.map → chunk-D6C7K7T7.js.map} +0 -0
- /package/dist/{chunk-CBPPR3OM.js.map → chunk-DB4C63ND.js.map} +0 -0
- /package/dist/{chunk-2VMJYD6W.js.map → chunk-EYXMABTT.js.map} +0 -0
- /package/dist/{chunk-ZG6JEYEG.js.map → chunk-FGSPSUZA.js.map} +0 -0
- /package/dist/{chunk-4SQU273Z.js.map → chunk-GFPOP6ZY.js.map} +0 -0
- /package/dist/{chunk-S3GAUEV6.js.map → chunk-GGGHLBME.js.map} +0 -0
- /package/dist/{chunk-B2GSQO2U.js.map → chunk-GIQZQM3I.js.map} +0 -0
- /package/dist/{chunk-ZHWVJ7SF.js.map → chunk-GMIXIA7W.js.map} +0 -0
- /package/dist/{chunk-OERNLFLW.js.map → chunk-HBE26KJG.js.map} +0 -0
- /package/dist/{chunk-GWRJD5WE.js.map → chunk-I5PAAUJW.js.map} +0 -0
- /package/dist/{chunk-DK442LPX.js.map → chunk-ICA7P5TD.js.map} +0 -0
- /package/dist/{chunk-34NQGT2I.js.map → chunk-ICFZAOSH.js.map} +0 -0
- /package/dist/{chunk-QW3ARPU3.js.map → chunk-IRBMNRZC.js.map} +0 -0
- /package/dist/{chunk-RH2E2PTB.js.map → chunk-JOBCDCRP.js.map} +0 -0
- /package/dist/{chunk-IDS4XQ4T.js.map → chunk-KRTQESOL.js.map} +0 -0
- /package/dist/{chunk-4IO2Z7US.js.map → chunk-LPXMSR5E.js.map} +0 -0
- /package/dist/{chunk-OYQT243T.js.map → chunk-TNNLID5P.js.map} +0 -0
- /package/dist/{chunk-RM2U5DE4.js.map → chunk-TPGWVT3F.js.map} +0 -0
- /package/dist/{chunk-SSGEZ4GK.js.map → chunk-TVZ5QVUV.js.map} +0 -0
- /package/dist/{chunk-ZRPPKRKS.js.map → chunk-TY2GIOLP.js.map} +0 -0
- /package/dist/{chunk-XBUHHKHX.js.map → chunk-XRYUQSUC.js.map} +0 -0
- /package/dist/{chunk-XVNI3Y3O.js.map → chunk-Y5AZ6FOQ.js.map} +0 -0
|
@@ -1,69 +1,69 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createGitHubSearchTool as createGitHubSearchTool3,
|
|
3
3
|
createWarpGrepTool as createWarpGrepTool3
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-CBIXYMY2.js";
|
|
5
5
|
import {
|
|
6
6
|
createGitHubSearchTool as createGitHubSearchTool2,
|
|
7
7
|
createWarpGrepTool as createWarpGrepTool2
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-LPXMSR5E.js";
|
|
9
9
|
import {
|
|
10
10
|
createGitHubSearchTool,
|
|
11
11
|
createWarpGrepTool
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-GGGHLBME.js";
|
|
13
13
|
import {
|
|
14
14
|
ReflexClient
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-Y5AZ6FOQ.js";
|
|
16
16
|
import {
|
|
17
17
|
createCodebaseSearchTool as createCodebaseSearchTool3
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-TVZ5QVUV.js";
|
|
19
19
|
import {
|
|
20
20
|
createCodebaseSearchTool as createCodebaseSearchTool2
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-GFPOP6ZY.js";
|
|
22
22
|
import {
|
|
23
23
|
createCodebaseSearchTool
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-BQ52QYAU.js";
|
|
25
25
|
import {
|
|
26
26
|
CodebaseSearchClient
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-FGSPSUZA.js";
|
|
28
28
|
import {
|
|
29
29
|
BrowserClient
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-I5PAAUJW.js";
|
|
31
31
|
import {
|
|
32
32
|
createExploreSubagent as createExploreSubagent2
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-GMIXIA7W.js";
|
|
34
34
|
import {
|
|
35
35
|
createEditFileTool
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-AWBZNBAD.js";
|
|
37
37
|
import {
|
|
38
38
|
createEditFileTool as createEditFileTool3
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-HBE26KJG.js";
|
|
40
40
|
import {
|
|
41
41
|
createEditFileTool as createEditFileTool2
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-EYXMABTT.js";
|
|
43
43
|
import {
|
|
44
44
|
FastApplyClient
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-4MNI34G7.js";
|
|
46
46
|
import {
|
|
47
47
|
MorphGit
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-5HNJNDDQ.js";
|
|
49
49
|
import {
|
|
50
50
|
createExploreSubagent
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-3TWDAXXO.js";
|
|
52
52
|
import {
|
|
53
53
|
WarpGrepClient
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-IRBMNRZC.js";
|
|
55
55
|
import {
|
|
56
56
|
AnthropicRouter,
|
|
57
57
|
GeminiRouter,
|
|
58
58
|
OpenAIRouter,
|
|
59
59
|
RawRouter
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-4NTL6M55.js";
|
|
61
61
|
import {
|
|
62
62
|
CompactClient
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-JOBCDCRP.js";
|
|
64
64
|
import {
|
|
65
65
|
MorphAPIClient
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-XRYUQSUC.js";
|
|
67
67
|
import {
|
|
68
68
|
logger
|
|
69
69
|
} from "./chunk-F3NCFNUX.js";
|
|
@@ -687,4 +687,4 @@ export {
|
|
|
687
687
|
VercelToolFactory,
|
|
688
688
|
MorphClient
|
|
689
689
|
};
|
|
690
|
-
//# sourceMappingURL=chunk-
|
|
690
|
+
//# sourceMappingURL=chunk-TPGWVT3F.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-YQMPVJ2L.js";
|
|
4
4
|
import {
|
|
5
5
|
executeCodebaseSearch
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-FGSPSUZA.js";
|
|
7
7
|
|
|
8
8
|
// tools/codebase_search/vercel.ts
|
|
9
9
|
import { tool } from "ai";
|
|
@@ -55,4 +55,4 @@ export {
|
|
|
55
55
|
getSystemPrompt,
|
|
56
56
|
vercel_default
|
|
57
57
|
};
|
|
58
|
-
//# sourceMappingURL=chunk-
|
|
58
|
+
//# sourceMappingURL=chunk-TVZ5QVUV.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-2HMEZZKK.js";
|
|
5
5
|
import {
|
|
6
6
|
executeBrowserTask
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-I5PAAUJW.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
10
|
} from "./chunk-PZ5AY32C.js";
|
|
@@ -77,4 +77,4 @@ export {
|
|
|
77
77
|
createBrowserTool,
|
|
78
78
|
anthropic_exports
|
|
79
79
|
};
|
|
80
|
-
//# sourceMappingURL=chunk-
|
|
80
|
+
//# sourceMappingURL=chunk-TY2GIOLP.js.map
|
|
@@ -3,15 +3,15 @@ import {
|
|
|
3
3
|
} from "./chunk-F3NCFNUX.js";
|
|
4
4
|
import {
|
|
5
5
|
toMorphError
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-DB4C63ND.js";
|
|
7
7
|
import {
|
|
8
8
|
MorphError,
|
|
9
9
|
fetchWithRetry,
|
|
10
10
|
withTimeout
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-2WC7TSEL.js";
|
|
12
12
|
import {
|
|
13
13
|
SDK_VERSION
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-OHF5K3HA.js";
|
|
15
15
|
|
|
16
16
|
// core/client.ts
|
|
17
17
|
var DEFAULT_BASE_URL = "https://api.morphllm.com";
|
|
@@ -117,4 +117,4 @@ var MorphAPIClient = class {
|
|
|
117
117
|
export {
|
|
118
118
|
MorphAPIClient
|
|
119
119
|
};
|
|
120
|
-
//# sourceMappingURL=chunk-
|
|
120
|
+
//# sourceMappingURL=chunk-XRYUQSUC.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MorphAPIClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-XRYUQSUC.js";
|
|
4
4
|
import {
|
|
5
5
|
MorphError
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-2WC7TSEL.js";
|
|
7
7
|
import {
|
|
8
8
|
APIResource
|
|
9
9
|
} from "./chunk-LKFZBBTD.js";
|
|
@@ -155,4 +155,4 @@ export {
|
|
|
155
155
|
ReflexClient,
|
|
156
156
|
ReflexJobsResource
|
|
157
157
|
};
|
|
158
|
-
//# sourceMappingURL=chunk-
|
|
158
|
+
//# sourceMappingURL=chunk-Y5AZ6FOQ.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
metadata
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-CABQ652L.js";
|
|
4
4
|
|
|
5
5
|
// tracing/interaction.ts
|
|
6
6
|
import { SpanStatusCode } from "@opentelemetry/api";
|
|
@@ -83,9 +83,13 @@ function createInteractionApi(initial, traceContent) {
|
|
|
83
83
|
userId: ctx.userId ?? "unknown",
|
|
84
84
|
convoId: ctx.convoId,
|
|
85
85
|
eventName: ctx.event,
|
|
86
|
-
eventId: ctx.eventId
|
|
86
|
+
eventId: ctx.eventId,
|
|
87
|
+
properties
|
|
87
88
|
});
|
|
88
89
|
},
|
|
90
|
+
run(fn) {
|
|
91
|
+
return Promise.resolve(withAssoc(fn));
|
|
92
|
+
},
|
|
89
93
|
withSpan(params, fn) {
|
|
90
94
|
const name = typeof params === "string" ? params : params.name;
|
|
91
95
|
return Promise.resolve(withAssoc(() => traceloop.withTask({ name }, fn)));
|
|
@@ -127,4 +131,4 @@ function createInteractionApi(initial, traceContent) {
|
|
|
127
131
|
export {
|
|
128
132
|
createInteractionApi
|
|
129
133
|
};
|
|
130
|
-
//# sourceMappingURL=chunk-
|
|
134
|
+
//# sourceMappingURL=chunk-ZCEDWXQV.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../tracing/interaction.ts"],"sourcesContent":["/**\n * Morph Tracing — interactions, tools, and manual spans.\n *\n * An `Interaction` is one user turn / agent run. It threads association\n * properties (user_id / convo_id / event_id) onto every span created inside it —\n * including the auto-instrumented LLM spans — so a whole conversation stitches\n * together in the Morph UI. Built on Traceloop's `withTask` / `withTool` and a\n * manual tracer for already-completed tool spans.\n */\nimport { SpanStatusCode, type Span } from '@opentelemetry/api';\nimport * as traceloop from '@traceloop/node-server-sdk';\n\nimport { metadata as buildMetadata } from './otel.js';\nimport type {\n FinishOptions,\n SpanParams,\n ToolParams,\n ToolSpan,\n TrackToolParams,\n TraceContext,\n} from './types.js';\n\n// Traceloop semantic-convention attribute keys.\nconst ASSOC = 'traceloop.association.properties.';\nconst ENTITY_INPUT = 'traceloop.entity.input';\nconst ENTITY_OUTPUT = 'traceloop.entity.output';\nconst ENTITY_NAME = 'traceloop.entity.name';\nconst SPAN_KIND = 'traceloop.span.kind';\n\nfunction uuid(): string {\n const c = (globalThis as { crypto?: { randomUUID?: () => string } }).crypto;\n if (c?.randomUUID) return c.randomUUID();\n return 'xxxxxxxxxxxx4xxxyxxx'.replace(/[xy]/g, (ch) => {\n const r = (Math.random() * 16) | 0;\n return (ch === 'x' ? r : (r & 0x3) | 0x8).toString(16);\n });\n}\n\nfunction asString(v: unknown): string {\n if (v == null) return '';\n return typeof v === 'string' ? v : JSON.stringify(v);\n}\n\nexport interface Interaction {\n getEventId(): string | undefined;\n setInput(input: string): void;\n setProperty(key: string, value: string): void;\n setProperties(props: Record<string, string>): void;\n /** Run `fn` inside a traced task span; LLM calls within inherit attribution. */\n withSpan<T>(params: SpanParams | string, fn: () => Promise<T> | T): Promise<T>;\n /** Run `fn` inside a traced tool span. */\n withTool<T>(params: ToolParams | string, fn: () => Promise<T> | T): Promise<T>;\n /** Start a tool span you end manually. */\n startToolSpan(params: ToolParams | string): ToolSpan;\n /** Record an already-completed tool invocation. */\n trackTool(params: TrackToolParams): void;\n /** Metadata for the Vercel AI SDK `experimental_telemetry.metadata`. */\n vercelAiSdkMetadata(): Record<string, string>;\n /** End the interaction with its final output. */\n finish(opts: FinishOptions | string): Promise<void>;\n}\n\nexport type Tracer = Pick<Interaction, 'withSpan' | 'withTool' | 'startToolSpan' | 'trackTool'>;\n\n/** Build the association-property bag Traceloop propagates onto child spans. */\nfunction associationProps(\n ctx: TraceContext & { userId?: string },\n extra: Record<string, string>,\n): Record<string, string> {\n const props: Record<string, string> = { ...extra };\n if (ctx.userId) props.user_id = ctx.userId;\n if (ctx.convoId) props.convo_id = ctx.convoId;\n if (ctx.eventId) props.event_id = ctx.eventId;\n if (ctx.event) props.event_name = ctx.event;\n return props;\n}\n\nexport function createInteractionApi(\n initial: TraceContext & { userId?: string },\n traceContent: boolean,\n): Interaction {\n const ctx: TraceContext & { userId?: string } = {\n ...initial,\n eventId: initial.eventId ?? uuid(),\n };\n const properties: Record<string, string> = { ...(initial.properties ?? {}) };\n let input = initial.input;\n\n const withAssoc = <T>(fn: () => Promise<T> | T): Promise<T> | T =>\n traceloop.withAssociationProperties(associationProps(ctx, properties), fn);\n\n const toolName = (p: ToolParams | string) => (typeof p === 'string' ? p : p.name);\n\n function startToolSpan(params: ToolParams | string): ToolSpan {\n const name = toolName(params);\n const span: Span = traceloop.getTraceloopTracer().startSpan(name);\n span.setAttribute(SPAN_KIND, 'tool');\n span.setAttribute(ENTITY_NAME, name);\n for (const [k, v] of Object.entries(associationProps(ctx, properties))) {\n span.setAttribute(ASSOC + k, v);\n }\n if (typeof params !== 'string' && params.properties) {\n for (const [k, v] of Object.entries(params.properties)) span.setAttribute(k, v);\n }\n return {\n setInput(value: unknown) {\n if (traceContent) span.setAttribute(ENTITY_INPUT, asString(value));\n },\n setOutput(value: unknown) {\n if (traceContent) span.setAttribute(ENTITY_OUTPUT, asString(value));\n },\n setError(error: Error | string) {\n const e = typeof error === 'string' ? new Error(error) : error;\n span.recordException(e);\n span.setStatus({ code: SpanStatusCode.ERROR, message: e.message });\n },\n end() {\n span.end();\n },\n };\n }\n\n return {\n getEventId: () => ctx.eventId,\n setInput(value: string) {\n input = value;\n },\n setProperty(key: string, value: string) {\n properties[key] = value;\n },\n setProperties(props: Record<string, string>) {\n Object.assign(properties, props);\n },\n vercelAiSdkMetadata() {\n return buildMetadata({\n userId: ctx.userId ?? 'unknown',\n convoId: ctx.convoId,\n eventName: ctx.event,\n eventId: ctx.eventId,\n });\n },\n withSpan(params, fn) {\n const name = typeof params === 'string' ? params : params.name;\n return Promise.resolve(withAssoc(() => traceloop.withTask({ name }, fn)));\n },\n withTool(params, fn) {\n const name = toolName(params);\n const version = typeof params === 'string' ? undefined : params.version;\n return Promise.resolve(withAssoc(() => traceloop.withTool({ name, version }, fn)));\n },\n startToolSpan,\n trackTool(params: TrackToolParams) {\n const span = startToolSpan({ name: params.name, properties: params.properties });\n if (params.input !== undefined) span.setInput(params.input);\n if (params.output !== undefined) span.setOutput(params.output);\n if (params.error) span.setError(params.error);\n span.end();\n },\n async finish(opts) {\n const output = typeof opts === 'string' ? opts : opts.output;\n if (typeof opts !== 'string' && opts.properties) Object.assign(properties, opts.properties);\n // Emit a top-level interaction span carrying input/output + attribution.\n await Promise.resolve(\n withAssoc(() =>\n traceloop.withTask({ name: ctx.event ?? 'interaction' }, () => {\n const span = traceloop.getTraceloopTracer().startSpan(ctx.event ?? 'interaction');\n span.setAttribute(SPAN_KIND, 'workflow');\n for (const [k, v] of Object.entries(associationProps(ctx, properties))) {\n span.setAttribute(ASSOC + k, v);\n }\n if (traceContent && input) span.setAttribute(ENTITY_INPUT, input);\n if (traceContent) span.setAttribute(ENTITY_OUTPUT, output);\n span.end();\n }),\n ),\n );\n },\n };\n}\n"],"mappings":";;;;;AASA,SAAS,sBAAiC;AAC1C,YAAY,eAAe;AAa3B,IAAM,QAAQ;AACd,IAAM,eAAe;AACrB,IAAM,gBAAgB;AACtB,IAAM,cAAc;AACpB,IAAM,YAAY;AAElB,SAAS,OAAe;AACtB,QAAM,IAAK,WAA0D;AACrE,MAAI,GAAG,WAAY,QAAO,EAAE,WAAW;AACvC,SAAO,uBAAuB,QAAQ,SAAS,CAAC,OAAO;AACrD,UAAM,IAAK,KAAK,OAAO,IAAI,KAAM;AACjC,YAAQ,OAAO,MAAM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jC,YAAM,OAAO,cAAc,EAAE,MAAM,OAAO,MAAM,YAAY,OAAO,WAAW,CAAC;AAC/E,UAAI,OAAO,UAAU,OAAW,MAAK,SAAS,OAAO,KAAK;AAC1D,UAAI,OAAO,WAAW,OAAW,MAAK,UAAU,OAAO,MAAM;AAC7D,UAAI,OAAO,MAAO,MAAK,SAAS,OAAO,KAAK;AAC5C,WAAK,IAAI;AAAA,IACX;AAAA,IACA,MAAM,OAAO,MAAM;AACjB,YAAM,SAAS,OAAO,SAAS,WAAW,OAAO,KAAK;AACtD,UAAI,OAAO,SAAS,YAAY,KAAK,WAAY,QAAO,OAAO,YAAY,KAAK,UAAU;AAE1F,YAAM,QAAQ;AAAA,QACZ;AAAA,UAAU,MACE,mBAAS,EAAE,MAAM,IAAI,SAAS,cAAc,GAAG,MAAM;AAC7D,kBAAM,OAAiB,6BAAmB,EAAE,UAAU,IAAI,SAAS,aAAa;AAChF,iBAAK,aAAa,WAAW,UAAU;AACvC,uBAAW,CAAC,GAAG,CAAC,KAAK,OAAO,QAAQ,iBAAiB,KAAK,UAAU,CAAC,GAAG;AACtE,mBAAK,aAAa,QAAQ,GAAG,CAAC;AAAA,YAChC;AACA,gBAAI,gBAAgB,MAAO,MAAK,aAAa,cAAc,KAAK;AAChE,gBAAI,aAAc,MAAK,aAAa,eAAe,MAAM;AACzD,iBAAK,IAAI;AAAA,UACX,CAAC;AAAA,QACH;AAAA,MACF;AAAA,IACF;AAAA,EACF;AACF;","names":[]}
|
|
1
|
+
{"version":3,"sources":["../tracing/interaction.ts"],"sourcesContent":["/**\n * Morph Tracing — interactions, tools, and manual spans.\n *\n * An `Interaction` is one user turn / agent run. It threads association\n * properties (user_id / convo_id / event_id) onto every span created inside it —\n * including the auto-instrumented LLM spans — so a whole conversation stitches\n * together in the Morph UI. Built on Traceloop's `withTask` / `withTool` and a\n * manual tracer for already-completed tool spans.\n */\nimport { SpanStatusCode, type Span } from '@opentelemetry/api';\nimport * as traceloop from '@traceloop/node-server-sdk';\n\nimport { metadata as buildMetadata } from './otel.js';\nimport type {\n FinishOptions,\n SpanParams,\n ToolParams,\n ToolSpan,\n TrackToolParams,\n TraceContext,\n} from './types.js';\n\n// Traceloop semantic-convention attribute keys.\nconst ASSOC = 'traceloop.association.properties.';\nconst ENTITY_INPUT = 'traceloop.entity.input';\nconst ENTITY_OUTPUT = 'traceloop.entity.output';\nconst ENTITY_NAME = 'traceloop.entity.name';\nconst SPAN_KIND = 'traceloop.span.kind';\n\nfunction uuid(): string {\n const c = (globalThis as { crypto?: { randomUUID?: () => string } }).crypto;\n if (c?.randomUUID) return c.randomUUID();\n return 'xxxxxxxxxxxx4xxxyxxx'.replace(/[xy]/g, (ch) => {\n const r = (Math.random() * 16) | 0;\n return (ch === 'x' ? r : (r & 0x3) | 0x8).toString(16);\n });\n}\n\nfunction asString(v: unknown): string {\n if (v == null) return '';\n return typeof v === 'string' ? v : JSON.stringify(v);\n}\n\nexport interface Interaction {\n getEventId(): string | undefined;\n setInput(input: string): void;\n setProperty(key: string, value: string): void;\n setProperties(props: Record<string, string>): void;\n /**\n * Run `fn` with this interaction's association properties active — required so\n * auto-instrumented OpenAI/Anthropic spans inherit user_id / convo_id / tags.\n */\n run<T>(fn: () => Promise<T> | T): Promise<T>;\n /** Run `fn` inside a traced task span; LLM calls within inherit attribution. */\n withSpan<T>(params: SpanParams | string, fn: () => Promise<T> | T): Promise<T>;\n /** Run `fn` inside a traced tool span. */\n withTool<T>(params: ToolParams | string, fn: () => Promise<T> | T): Promise<T>;\n /** Start a tool span you end manually. */\n startToolSpan(params: ToolParams | string): ToolSpan;\n /** Record an already-completed tool invocation. */\n trackTool(params: TrackToolParams): void;\n /** Metadata for the Vercel AI SDK `experimental_telemetry.metadata`. */\n vercelAiSdkMetadata(): Record<string, string>;\n /** End the interaction with its final output. */\n finish(opts: FinishOptions | string): Promise<void>;\n}\n\nexport type Tracer = Pick<Interaction, 'withSpan' | 'withTool' | 'startToolSpan' | 'trackTool'>;\n\n/** Build the association-property bag Traceloop propagates onto child spans. */\nfunction associationProps(\n ctx: TraceContext & { userId?: string },\n extra: Record<string, string>,\n): Record<string, string> {\n const props: Record<string, string> = { ...extra };\n if (ctx.userId) props.user_id = ctx.userId;\n if (ctx.convoId) props.convo_id = ctx.convoId;\n if (ctx.eventId) props.event_id = ctx.eventId;\n if (ctx.event) props.event_name = ctx.event;\n return props;\n}\n\nexport function createInteractionApi(\n initial: TraceContext & { userId?: string },\n traceContent: boolean,\n): Interaction {\n const ctx: TraceContext & { userId?: string } = {\n ...initial,\n eventId: initial.eventId ?? uuid(),\n };\n const properties: Record<string, string> = { ...(initial.properties ?? {}) };\n let input = initial.input;\n\n const withAssoc = <T>(fn: () => Promise<T> | T): Promise<T> | T =>\n traceloop.withAssociationProperties(associationProps(ctx, properties), fn);\n\n const toolName = (p: ToolParams | string) => (typeof p === 'string' ? p : p.name);\n\n function startToolSpan(params: ToolParams | string): ToolSpan {\n const name = toolName(params);\n const span: Span = traceloop.getTraceloopTracer().startSpan(name);\n span.setAttribute(SPAN_KIND, 'tool');\n span.setAttribute(ENTITY_NAME, name);\n for (const [k, v] of Object.entries(associationProps(ctx, properties))) {\n span.setAttribute(ASSOC + k, v);\n }\n if (typeof params !== 'string' && params.properties) {\n for (const [k, v] of Object.entries(params.properties)) span.setAttribute(k, v);\n }\n return {\n setInput(value: unknown) {\n if (traceContent) span.setAttribute(ENTITY_INPUT, asString(value));\n },\n setOutput(value: unknown) {\n if (traceContent) span.setAttribute(ENTITY_OUTPUT, asString(value));\n },\n setError(error: Error | string) {\n const e = typeof error === 'string' ? new Error(error) : error;\n span.recordException(e);\n span.setStatus({ code: SpanStatusCode.ERROR, message: e.message });\n },\n end() {\n span.end();\n },\n };\n }\n\n return {\n getEventId: () => ctx.eventId,\n setInput(value: string) {\n input = value;\n },\n setProperty(key: string, value: string) {\n properties[key] = value;\n },\n setProperties(props: Record<string, string>) {\n Object.assign(properties, props);\n },\n vercelAiSdkMetadata() {\n return buildMetadata({\n userId: ctx.userId ?? 'unknown',\n convoId: ctx.convoId,\n eventName: ctx.event,\n eventId: ctx.eventId,\n properties,\n });\n },\n run(fn) {\n return Promise.resolve(withAssoc(fn));\n },\n withSpan(params, fn) {\n const name = typeof params === 'string' ? params : params.name;\n return Promise.resolve(withAssoc(() => traceloop.withTask({ name }, fn)));\n },\n withTool(params, fn) {\n const name = toolName(params);\n const version = typeof params === 'string' ? undefined : params.version;\n return Promise.resolve(withAssoc(() => traceloop.withTool({ name, version }, fn)));\n },\n startToolSpan,\n trackTool(params: TrackToolParams) {\n const span = startToolSpan({ name: params.name, properties: params.properties });\n if (params.input !== undefined) span.setInput(params.input);\n if (params.output !== undefined) span.setOutput(params.output);\n if (params.error) span.setError(params.error);\n span.end();\n },\n async finish(opts) {\n const output = typeof opts === 'string' ? opts : opts.output;\n if (typeof opts !== 'string' && opts.properties) Object.assign(properties, opts.properties);\n // Emit a top-level interaction span carrying input/output + attribution.\n await Promise.resolve(\n withAssoc(() =>\n traceloop.withTask({ name: ctx.event ?? 'interaction' }, () => {\n const span = traceloop.getTraceloopTracer().startSpan(ctx.event ?? 'interaction');\n span.setAttribute(SPAN_KIND, 'workflow');\n for (const [k, v] of Object.entries(associationProps(ctx, properties))) {\n span.setAttribute(ASSOC + k, v);\n }\n if (traceContent && input) span.setAttribute(ENTITY_INPUT, input);\n if (traceContent) span.setAttribute(ENTITY_OUTPUT, output);\n span.end();\n }),\n ),\n );\n },\n };\n}\n"],"mappings":";;;;;AASA,SAAS,sBAAiC;AAC1C,YAAY,eAAe;AAa3B,IAAM,QAAQ;AACd,IAAM,eAAe;AACrB,IAAM,gBAAgB;AACtB,IAAM,cAAc;AACpB,IAAM,YAAY;AAElB,SAAS,OAAe;AACtB,QAAM,IAAK,WAA0D;AACrE,MAAI,GAAG,WAAY,QAAO,EAAE,WAAW;AACvC,SAAO,uBAAuB,QAAQ,SAAS,CAAC,OAAO;AACrD,UAAM,IAAK,KAAK,OAAO,IAAI,KAAM;AACjC,Y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AAgB,mBAAS,EAAE,MAAM,QAAQ,GAAG,EAAE,CAAC,CAAC;AAAA,IACnF;AAAA,IACA;AAAA,IACA,UAAU,QAAyB;AACjC,YAAM,OAAO,cAAc,EAAE,MAAM,OAAO,MAAM,YAAY,OAAO,WAAW,CAAC;AAC/E,UAAI,OAAO,UAAU,OAAW,MAAK,SAAS,OAAO,KAAK;AAC1D,UAAI,OAAO,WAAW,OAAW,MAAK,UAAU,OAAO,MAAM;AAC7D,UAAI,OAAO,MAAO,MAAK,SAAS,OAAO,KAAK;AAC5C,WAAK,IAAI;AAAA,IACX;AAAA,IACA,MAAM,OAAO,MAAM;AACjB,YAAM,SAAS,OAAO,SAAS,WAAW,OAAO,KAAK;AACtD,UAAI,OAAO,SAAS,YAAY,KAAK,WAAY,QAAO,OAAO,YAAY,KAAK,UAAU;AAE1F,YAAM,QAAQ;AAAA,QACZ;AAAA,UAAU,MACE,mBAAS,EAAE,MAAM,IAAI,SAAS,cAAc,GAAG,MAAM;AAC7D,kBAAM,OAAiB,6BAAmB,EAAE,UAAU,IAAI,SAAS,aAAa;AAChF,iBAAK,aAAa,WAAW,UAAU;AACvC,uBAAW,CAAC,GAAG,CAAC,KAAK,OAAO,QAAQ,iBAAiB,KAAK,UAAU,CAAC,GAAG;AACtE,mBAAK,aAAa,QAAQ,GAAG,CAAC;AAAA,YAChC;AACA,gBAAI,gBAAgB,MAAO,MAAK,aAAa,cAAc,KAAK;AAChE,gBAAI,aAAc,MAAK,aAAa,eAAe,MAAM;AACzD,iBAAK,IAAI;AAAA,UACX,CAAC;AAAA,QACH;AAAA,MACF;AAAA,IACF;AAAA,EACF;AACF;","names":[]}
|
package/dist/client.cjs
CHANGED
|
@@ -36,7 +36,7 @@ var init_package = __esm({
|
|
|
36
36
|
"package.json"() {
|
|
37
37
|
package_default = {
|
|
38
38
|
name: "@morphllm/morphsdk",
|
|
39
|
-
version: "0.2.
|
|
39
|
+
version: "0.2.175",
|
|
40
40
|
description: "TypeScript SDK and CLI for Morph Fast Apply integration",
|
|
41
41
|
type: "module",
|
|
42
42
|
main: "./dist/index.cjs",
|