@morphllm/morphsdk 0.2.203 → 0.2.204
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/README.md +101 -0
- package/dist/chunk-2GMG5XKU.js +100 -0
- package/dist/{chunk-NDUC7OV6.cjs → chunk-3HAHJYZQ.cjs} +3 -3
- package/dist/{chunk-AJBZA23L.js → chunk-3JROKKS4.js} +1 -1
- package/dist/{chunk-J56Q6C4Y.js → chunk-43JBUEIX.js} +1 -1
- package/dist/{chunk-E7FLETFO.js → chunk-4TZBUFVP.js} +1 -1
- package/dist/{chunk-EI2M567U.js → chunk-564XJOQP.js} +1 -1
- package/dist/{chunk-7NA7X7W2.cjs → chunk-5H3FKFOI.cjs} +8 -8
- package/dist/{chunk-65W4I66Q.cjs → chunk-5TTZQF4X.cjs} +16 -9
- package/dist/chunk-6HAYJA6M.cjs +317 -0
- package/dist/chunk-DLYDIYDK.cjs +305 -0
- package/dist/{chunk-LLQH6CCB.js → chunk-DYCMPDPV.js} +5 -3
- package/dist/{chunk-66THRMD7.js → chunk-DZP7BR66.js} +16 -12
- package/dist/chunk-E63OPKP7.js +96 -0
- package/dist/{chunk-IUM6CQYX.js → chunk-EJ6ID24K.js} +1 -1
- package/dist/{chunk-AFF6XYKL.cjs → chunk-F633IVQA.cjs} +28 -8
- package/dist/{chunk-GIQAIHUI.js → chunk-FGA6EYC2.js} +29 -6
- package/dist/{chunk-GDFPZ3NJ.js → chunk-G4RODMXA.js} +1 -1
- package/dist/{chunk-B3FD67F2.cjs → chunk-GUNGJC6X.cjs} +3 -3
- package/dist/{chunk-OCCGJ4S6.js → chunk-GYE3FY6Z.js} +1 -1
- package/dist/{chunk-OXXMTDOY.cjs → chunk-HNMEBYIS.cjs} +2 -2
- package/dist/{chunk-JNQKQKHS.cjs → chunk-HP3PCOTW.cjs} +3 -3
- package/dist/{chunk-KLVJIC2O.js → chunk-IGXNLXPN.js} +10 -3
- package/dist/{chunk-UUCRWJJR.cjs → chunk-JHC2R3HU.cjs} +20 -16
- package/dist/{chunk-N7UKZ5X7.js → chunk-JVMIFGZY.js} +4 -3
- package/dist/chunk-KF6S3EPJ.cjs +100 -0
- package/dist/{chunk-EZ2OFDBJ.js → chunk-L5SCKZVK.js} +10 -5
- package/dist/{chunk-E3XNKAMI.js → chunk-LQST3NW2.js} +1 -1
- package/dist/{chunk-GSUQGDCL.cjs → chunk-MMX5PUGC.cjs} +47 -40
- package/dist/{chunk-JBTR3FQD.cjs → chunk-NJWOWXUR.cjs} +8 -6
- package/dist/{chunk-HMLYJVZM.cjs → chunk-OCKEEEYE.cjs} +30 -7
- package/dist/chunk-OENJO7YW.js +306 -0
- package/dist/chunk-OKLAYEBC.cjs +2 -0
- package/dist/{chunk-H3HRSRR5.js → chunk-OX5GN2KB.js} +24 -4
- package/dist/{chunk-JUGNTIVU.js → chunk-OYBOP47A.js} +13 -1
- package/dist/chunk-OZHCHPIE.js +1 -0
- package/dist/{chunk-TL34BLQD.cjs → chunk-QT5LGZG3.cjs} +1 -1
- package/dist/chunk-R3TUE7O2.cjs +107 -0
- package/dist/{chunk-AXEKIRRY.js → chunk-SOQYE5A4.js} +27 -20
- package/dist/{chunk-KSZYOX6S.cjs → chunk-ST2OXLT5.cjs} +8 -8
- package/dist/{chunk-2UIOCSVJ.js → chunk-TH4MG73B.js} +1 -1
- package/dist/{chunk-NLACTMZT.js → chunk-U4PYAGNR.js} +1 -1
- package/dist/{chunk-VDFLPO7B.cjs → chunk-UHFVWYSP.cjs} +14 -2
- package/dist/{chunk-4R5MDGL6.cjs → chunk-UKBSXYKE.cjs} +3 -3
- package/dist/{chunk-S6QBPXBI.cjs → chunk-UZMMJ47A.cjs} +5 -5
- package/dist/{chunk-ODY2NKQU.cjs → chunk-VYE7O4FM.cjs} +5 -4
- package/dist/{chunk-JOZC4T6C.cjs → chunk-WIYVT4UO.cjs} +16 -11
- package/dist/{chunk-OM5ZSXQW.cjs → chunk-WJHHO24M.cjs} +2 -2
- package/dist/{chunk-ZLG2M2I4.cjs → chunk-YAUXTFIN.cjs} +2 -2
- package/dist/{chunk-JY6COF3X.js → chunk-YJUCGZNN.js} +1 -1
- package/dist/chunk-ZX6T3LNG.js +302 -0
- package/dist/{client-BWhi-vSj.d.ts → client-DSXbcxII.d.ts} +10 -1
- package/dist/client.cjs +27 -23
- package/dist/client.d.ts +4 -2
- package/dist/client.js +26 -22
- package/dist/core/client.cjs +9 -5
- package/dist/core/client.d.ts +8 -0
- package/dist/core/client.js +8 -4
- package/dist/core/error.cjs +4 -4
- package/dist/core/error.js +3 -3
- package/dist/core/index.cjs +10 -6
- package/dist/core/index.d.ts +2 -0
- package/dist/core/index.js +8 -4
- package/dist/core/resource.d.ts +2 -0
- package/dist/edge.cjs +43 -31
- package/dist/edge.d.ts +3 -0
- package/dist/edge.js +11 -7
- package/dist/guard-CvW03v4u.d.ts +59 -0
- package/dist/index.cjs +73 -48
- package/dist/index.d.ts +6 -2
- package/dist/index.js +30 -25
- package/dist/modelrouter/core.cjs +14 -10
- package/dist/modelrouter/core.d.ts +2 -0
- package/dist/modelrouter/core.js +9 -5
- package/dist/modelrouter/index.cjs +14 -10
- package/dist/modelrouter/index.d.ts +2 -0
- package/dist/modelrouter/index.js +9 -5
- package/dist/modelrouter/types.d.ts +5 -0
- package/dist/subagents/anthropic.cjs +16 -12
- package/dist/subagents/anthropic.d.ts +3 -1
- package/dist/subagents/anthropic.js +15 -11
- package/dist/subagents/index.d.ts +3 -1
- package/dist/subagents/prompts.d.ts +3 -1
- package/dist/subagents/types.d.ts +3 -1
- package/dist/subagents/vercel.cjs +16 -12
- package/dist/subagents/vercel.d.ts +3 -1
- package/dist/subagents/vercel.js +15 -11
- package/dist/tools/compact/core.cjs +10 -6
- package/dist/tools/compact/core.d.ts +2 -0
- package/dist/tools/compact/core.js +9 -5
- package/dist/tools/compact/index.cjs +12 -8
- package/dist/tools/compact/index.d.ts +3 -1
- package/dist/tools/compact/index.js +10 -6
- package/dist/tools/compact/types.d.ts +4 -4
- package/dist/tools/fastapply/anthropic.cjs +16 -12
- package/dist/tools/fastapply/anthropic.d.ts +2 -0
- package/dist/tools/fastapply/anthropic.js +11 -7
- package/dist/tools/fastapply/apply.cjs +12 -8
- package/dist/tools/fastapply/apply.d.ts +2 -0
- package/dist/tools/fastapply/apply.js +6 -2
- package/dist/tools/fastapply/core.cjs +18 -14
- package/dist/tools/fastapply/core.d.ts +3 -0
- package/dist/tools/fastapply/core.js +10 -6
- package/dist/tools/fastapply/index.cjs +22 -18
- package/dist/tools/fastapply/index.d.ts +2 -0
- package/dist/tools/fastapply/index.js +13 -9
- package/dist/tools/fastapply/openai.cjs +17 -13
- package/dist/tools/fastapply/openai.d.ts +2 -0
- package/dist/tools/fastapply/openai.js +11 -7
- package/dist/tools/fastapply/types.d.ts +9 -4
- package/dist/tools/fastapply/vercel.cjs +15 -11
- package/dist/tools/fastapply/vercel.d.ts +2 -0
- package/dist/tools/fastapply/vercel.js +11 -7
- package/dist/tools/index.cjs +22 -18
- package/dist/tools/index.d.ts +2 -0
- package/dist/tools/index.js +13 -9
- package/dist/tools/pii/index.cjs +47 -0
- package/dist/tools/pii/index.d.ts +4 -0
- package/dist/tools/pii/index.js +6 -0
- package/dist/tools/pii/model.cjs +45 -0
- package/dist/tools/pii/model.d.ts +83 -0
- package/dist/tools/pii/model.js +4 -0
- package/dist/tools/pii/patterns.cjs +15 -0
- package/dist/tools/pii/patterns.d.ts +31 -0
- package/dist/tools/pii/patterns.js +2 -0
- package/dist/tools/pii/regex.cjs +32 -0
- package/dist/tools/pii/regex.d.ts +48 -0
- package/dist/tools/pii/regex.js +3 -0
- package/dist/tools/pii/types.cjs +2 -0
- package/dist/tools/pii/types.d.ts +108 -0
- package/dist/tools/pii/types.js +1 -0
- package/dist/tools/utils/resilience.cjs +5 -5
- package/dist/tools/utils/resilience.js +2 -2
- package/dist/tools/warp_grep/agent/parser.d.ts +2 -0
- package/dist/tools/warp_grep/agent/runner.cjs +9 -5
- package/dist/tools/warp_grep/agent/runner.d.ts +2 -0
- package/dist/tools/warp_grep/agent/runner.js +7 -3
- package/dist/tools/warp_grep/agent/types.d.ts +4 -0
- package/dist/tools/warp_grep/anthropic.cjs +21 -17
- package/dist/tools/warp_grep/anthropic.d.ts +3 -1
- package/dist/tools/warp_grep/anthropic.js +15 -11
- package/dist/tools/warp_grep/client.cjs +21 -17
- package/dist/tools/warp_grep/client.d.ts +3 -1
- package/dist/tools/warp_grep/client.js +14 -10
- package/dist/tools/warp_grep/gemini.cjs +22 -18
- package/dist/tools/warp_grep/gemini.d.ts +3 -1
- package/dist/tools/warp_grep/gemini.js +15 -11
- package/dist/tools/warp_grep/harness.cjs +16 -16
- package/dist/tools/warp_grep/harness.d.ts +2 -0
- package/dist/tools/warp_grep/harness.js +4 -4
- package/dist/tools/warp_grep/index.cjs +30 -26
- package/dist/tools/warp_grep/index.d.ts +3 -1
- package/dist/tools/warp_grep/index.js +17 -13
- package/dist/tools/warp_grep/openai.cjs +22 -18
- package/dist/tools/warp_grep/openai.d.ts +3 -1
- package/dist/tools/warp_grep/openai.js +15 -11
- package/dist/tools/warp_grep/providers/code_storage_http.d.ts +3 -1
- package/dist/tools/warp_grep/providers/local.cjs +3 -3
- package/dist/tools/warp_grep/providers/local.js +2 -2
- package/dist/tools/warp_grep/providers/remote.d.ts +3 -1
- package/dist/tools/warp_grep/vercel.cjs +22 -18
- package/dist/tools/warp_grep/vercel.d.ts +3 -1
- package/dist/tools/warp_grep/vercel.js +15 -11
- package/dist/{types-DxZLPogx.d.ts → types-BKhXjDCB.d.ts} +6 -1
- package/dist/version.cjs +2 -2
- package/dist/version.js +1 -1
- package/package.json +11 -2
- package/dist/{chunk-OOEORM7H.cjs → chunk-E6V75LI6.cjs} +1 -1
- package/dist/{chunk-OSL4CNSO.js → chunk-TLMAMVAW.js} +1 -1
package/dist/client.d.ts
CHANGED
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import './tools/utils/resilience.js';
|
|
2
|
+
import './guard-CvW03v4u.js';
|
|
2
3
|
import './core/client.js';
|
|
3
4
|
import './tools/fastapply/core.js';
|
|
4
5
|
import './tools/warp_grep/client.js';
|
|
5
6
|
import './tools/compact/core.js';
|
|
6
7
|
import './modelrouter/core.js';
|
|
7
|
-
export { M as MorphClient, a as MorphClientConfig } from './client-
|
|
8
|
+
export { M as MorphClient, a as MorphClientConfig } from './client-DSXbcxII.js';
|
|
9
|
+
import './tools/pii/types.js';
|
|
8
10
|
import './tools/fastapply/types.js';
|
|
9
11
|
import './core/resource.js';
|
|
10
12
|
import './tools/fastapply/apply.js';
|
|
11
13
|
import './tools/warp_grep/agent/types.js';
|
|
12
|
-
import './types-
|
|
14
|
+
import './types-BKhXjDCB.js';
|
|
13
15
|
import './tools/warp_grep/providers/types.js';
|
|
14
16
|
import './tools/compact/types.js';
|
|
15
17
|
import './modelrouter/types.js';
|
package/dist/client.js
CHANGED
|
@@ -1,32 +1,36 @@
|
|
|
1
|
-
export { MorphClient } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
1
|
+
export { MorphClient } from './chunk-SOQYE5A4.js';
|
|
2
|
+
import './chunk-YJUCGZNN.js';
|
|
3
|
+
import './chunk-TH4MG73B.js';
|
|
4
|
+
import './chunk-3JROKKS4.js';
|
|
5
5
|
import './chunk-UAPK3AIJ.js';
|
|
6
|
-
import './chunk-
|
|
7
|
-
import './chunk-
|
|
8
|
-
import './chunk-
|
|
6
|
+
import './chunk-LQST3NW2.js';
|
|
7
|
+
import './chunk-G4RODMXA.js';
|
|
8
|
+
import './chunk-U4PYAGNR.js';
|
|
9
|
+
import './chunk-43JBUEIX.js';
|
|
9
10
|
import './chunk-PA3UTI4A.js';
|
|
10
|
-
import './chunk-
|
|
11
|
-
import './chunk-
|
|
12
|
-
import './chunk-
|
|
13
|
-
import './chunk-66THRMD7.js';
|
|
14
|
-
import './chunk-HDP4QAZL.js';
|
|
11
|
+
import './chunk-DYCMPDPV.js';
|
|
12
|
+
import './chunk-EJ6ID24K.js';
|
|
13
|
+
import './chunk-DZP7BR66.js';
|
|
15
14
|
import './chunk-RYVW7RUM.js';
|
|
16
15
|
import './chunk-OPDWMD4Q.js';
|
|
17
|
-
import './chunk-
|
|
16
|
+
import './chunk-FGA6EYC2.js';
|
|
17
|
+
import './chunk-HDP4QAZL.js';
|
|
18
18
|
import './chunk-44OIEPIO.js';
|
|
19
|
-
import './chunk-M34E2AMK.js';
|
|
20
19
|
import './chunk-4OUGA3KS.js';
|
|
21
|
-
import './chunk-
|
|
20
|
+
import './chunk-M34E2AMK.js';
|
|
21
|
+
import './chunk-JVMIFGZY.js';
|
|
22
22
|
import './chunk-ETBRAKVV.js';
|
|
23
|
-
import './chunk-
|
|
24
|
-
import './chunk-
|
|
25
|
-
import './chunk-
|
|
26
|
-
import './chunk-
|
|
23
|
+
import './chunk-L5SCKZVK.js';
|
|
24
|
+
import './chunk-OYBOP47A.js';
|
|
25
|
+
import './chunk-OX5GN2KB.js';
|
|
26
|
+
import './chunk-IGXNLXPN.js';
|
|
27
27
|
import './chunk-6WP7EA4F.js';
|
|
28
|
-
import './chunk-
|
|
29
|
-
import './chunk-
|
|
30
|
-
import './chunk-
|
|
28
|
+
import './chunk-E63OPKP7.js';
|
|
29
|
+
import './chunk-OENJO7YW.js';
|
|
30
|
+
import './chunk-2GMG5XKU.js';
|
|
31
|
+
import './chunk-ZX6T3LNG.js';
|
|
32
|
+
import './chunk-564XJOQP.js';
|
|
33
|
+
import './chunk-4TZBUFVP.js';
|
|
34
|
+
import './chunk-GYE3FY6Z.js';
|
|
31
35
|
import './chunk-NRG6QX3L.js';
|
|
32
36
|
import './chunk-MLKGABMK.js';
|
package/dist/core/client.cjs
CHANGED
|
@@ -1,15 +1,19 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk5TTZQF4X_cjs = require('../chunk-5TTZQF4X.cjs');
|
|
4
4
|
require('../chunk-VL4QNALG.cjs');
|
|
5
|
-
require('../chunk-
|
|
6
|
-
require('../chunk-
|
|
7
|
-
require('../chunk-
|
|
5
|
+
require('../chunk-KF6S3EPJ.cjs');
|
|
6
|
+
require('../chunk-6HAYJA6M.cjs');
|
|
7
|
+
require('../chunk-R3TUE7O2.cjs');
|
|
8
|
+
require('../chunk-DLYDIYDK.cjs');
|
|
9
|
+
require('../chunk-YAUXTFIN.cjs');
|
|
10
|
+
require('../chunk-WJHHO24M.cjs');
|
|
11
|
+
require('../chunk-QT5LGZG3.cjs');
|
|
8
12
|
require('../chunk-75ZPJI57.cjs');
|
|
9
13
|
|
|
10
14
|
|
|
11
15
|
|
|
12
16
|
Object.defineProperty(exports, "MorphAPIClient", {
|
|
13
17
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunk5TTZQF4X_cjs.MorphAPIClient; }
|
|
15
19
|
});
|
package/dist/core/client.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { RetryConfig } from '../tools/utils/resilience.js';
|
|
2
|
+
import { R as RedactPIIOption, b as PIIGuard } from '../guard-CvW03v4u.js';
|
|
3
|
+
import '../tools/pii/types.js';
|
|
2
4
|
|
|
3
5
|
/**
|
|
4
6
|
* MorphAPIClient — the SDK transport.
|
|
@@ -26,6 +28,8 @@ interface MorphAPIClientOptions {
|
|
|
26
28
|
retryConfig?: RetryConfig;
|
|
27
29
|
/** Enable debug logging. */
|
|
28
30
|
debug?: boolean;
|
|
31
|
+
/** Redact PII from content before it is sent to Morph, and restore it in responses. */
|
|
32
|
+
redactPII?: RedactPIIOption;
|
|
29
33
|
}
|
|
30
34
|
/** Per-request options accepted by `request`/`get`/`post`/`delete`. */
|
|
31
35
|
interface RequestOptions {
|
|
@@ -54,6 +58,10 @@ declare class MorphAPIClient {
|
|
|
54
58
|
timeout?: number;
|
|
55
59
|
retryConfig?: RetryConfig;
|
|
56
60
|
debug: boolean;
|
|
61
|
+
/** The `redactPII` option as given, for resources that build their own HTTP client. */
|
|
62
|
+
redactPII?: RedactPIIOption;
|
|
63
|
+
/** Set when `redactPII` is on. Resources open a session per request or run. */
|
|
64
|
+
pii?: PIIGuard;
|
|
57
65
|
constructor(options?: MorphAPIClientOptions);
|
|
58
66
|
/** The key actually used for requests: explicit, else `MORPH_API_KEY`. */
|
|
59
67
|
resolveApiKey(): string | undefined;
|
package/dist/core/client.js
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
|
-
export { MorphAPIClient } from '../chunk-
|
|
1
|
+
export { MorphAPIClient } from '../chunk-IGXNLXPN.js';
|
|
2
2
|
import '../chunk-6WP7EA4F.js';
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
5
|
-
import '../chunk-
|
|
3
|
+
import '../chunk-E63OPKP7.js';
|
|
4
|
+
import '../chunk-OENJO7YW.js';
|
|
5
|
+
import '../chunk-2GMG5XKU.js';
|
|
6
|
+
import '../chunk-ZX6T3LNG.js';
|
|
7
|
+
import '../chunk-564XJOQP.js';
|
|
8
|
+
import '../chunk-4TZBUFVP.js';
|
|
9
|
+
import '../chunk-GYE3FY6Z.js';
|
|
6
10
|
import '../chunk-MLKGABMK.js';
|
package/dist/core/error.cjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
5
|
-
require('../chunk-
|
|
3
|
+
var chunkYAUXTFIN_cjs = require('../chunk-YAUXTFIN.cjs');
|
|
4
|
+
require('../chunk-WJHHO24M.cjs');
|
|
5
|
+
require('../chunk-QT5LGZG3.cjs');
|
|
6
6
|
require('../chunk-75ZPJI57.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "toMorphError", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunkYAUXTFIN_cjs.toMorphError; }
|
|
13
13
|
});
|
package/dist/core/error.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { toMorphError } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
export { toMorphError } from '../chunk-564XJOQP.js';
|
|
2
|
+
import '../chunk-4TZBUFVP.js';
|
|
3
|
+
import '../chunk-GYE3FY6Z.js';
|
|
4
4
|
import '../chunk-MLKGABMK.js';
|
package/dist/core/index.cjs
CHANGED
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
require('../chunk-7PJYY46L.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunk5TTZQF4X_cjs = require('../chunk-5TTZQF4X.cjs');
|
|
5
5
|
require('../chunk-VL4QNALG.cjs');
|
|
6
|
-
|
|
7
|
-
require('../chunk-
|
|
8
|
-
require('../chunk-
|
|
6
|
+
require('../chunk-KF6S3EPJ.cjs');
|
|
7
|
+
require('../chunk-6HAYJA6M.cjs');
|
|
8
|
+
require('../chunk-R3TUE7O2.cjs');
|
|
9
|
+
require('../chunk-DLYDIYDK.cjs');
|
|
10
|
+
var chunkYAUXTFIN_cjs = require('../chunk-YAUXTFIN.cjs');
|
|
11
|
+
require('../chunk-WJHHO24M.cjs');
|
|
12
|
+
require('../chunk-QT5LGZG3.cjs');
|
|
9
13
|
var chunkAWFZKS27_cjs = require('../chunk-AWFZKS27.cjs');
|
|
10
14
|
require('../chunk-75ZPJI57.cjs');
|
|
11
15
|
|
|
@@ -13,11 +17,11 @@ require('../chunk-75ZPJI57.cjs');
|
|
|
13
17
|
|
|
14
18
|
Object.defineProperty(exports, "MorphAPIClient", {
|
|
15
19
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunk5TTZQF4X_cjs.MorphAPIClient; }
|
|
17
21
|
});
|
|
18
22
|
Object.defineProperty(exports, "toMorphError", {
|
|
19
23
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkYAUXTFIN_cjs.toMorphError; }
|
|
21
25
|
});
|
|
22
26
|
Object.defineProperty(exports, "APIResource", {
|
|
23
27
|
enumerable: true,
|
package/dist/core/index.d.ts
CHANGED
|
@@ -2,3 +2,5 @@ export { MorphAPIClient, MorphAPIClientOptions, RequestOptions } from './client.
|
|
|
2
2
|
export { APIResource } from './resource.js';
|
|
3
3
|
export { toMorphError } from './error.js';
|
|
4
4
|
import '../tools/utils/resilience.js';
|
|
5
|
+
import '../guard-CvW03v4u.js';
|
|
6
|
+
import '../tools/pii/types.js';
|
package/dist/core/index.js
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import '../chunk-LDM7RNNN.js';
|
|
2
|
-
export { MorphAPIClient } from '../chunk-
|
|
2
|
+
export { MorphAPIClient } from '../chunk-IGXNLXPN.js';
|
|
3
3
|
import '../chunk-6WP7EA4F.js';
|
|
4
|
-
|
|
5
|
-
import '../chunk-
|
|
6
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-E63OPKP7.js';
|
|
5
|
+
import '../chunk-OENJO7YW.js';
|
|
6
|
+
import '../chunk-2GMG5XKU.js';
|
|
7
|
+
import '../chunk-ZX6T3LNG.js';
|
|
8
|
+
export { toMorphError } from '../chunk-564XJOQP.js';
|
|
9
|
+
import '../chunk-4TZBUFVP.js';
|
|
10
|
+
import '../chunk-GYE3FY6Z.js';
|
|
7
11
|
export { APIResource } from '../chunk-NRG6QX3L.js';
|
|
8
12
|
import '../chunk-MLKGABMK.js';
|
package/dist/core/resource.d.ts
CHANGED
package/dist/edge.cjs
CHANGED
|
@@ -1,67 +1,79 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
require('./chunk-
|
|
3
|
+
var chunkWIYVT4UO_cjs = require('./chunk-WIYVT4UO.cjs');
|
|
4
|
+
var chunkUHFVWYSP_cjs = require('./chunk-UHFVWYSP.cjs');
|
|
5
|
+
var chunkF633IVQA_cjs = require('./chunk-F633IVQA.cjs');
|
|
6
|
+
require('./chunk-5TTZQF4X.cjs');
|
|
7
7
|
require('./chunk-VL4QNALG.cjs');
|
|
8
|
-
require('./chunk-
|
|
9
|
-
require('./chunk-
|
|
10
|
-
var
|
|
8
|
+
require('./chunk-KF6S3EPJ.cjs');
|
|
9
|
+
require('./chunk-6HAYJA6M.cjs');
|
|
10
|
+
var chunkR3TUE7O2_cjs = require('./chunk-R3TUE7O2.cjs');
|
|
11
|
+
require('./chunk-DLYDIYDK.cjs');
|
|
12
|
+
require('./chunk-YAUXTFIN.cjs');
|
|
13
|
+
require('./chunk-WJHHO24M.cjs');
|
|
14
|
+
var chunkQT5LGZG3_cjs = require('./chunk-QT5LGZG3.cjs');
|
|
11
15
|
require('./chunk-AWFZKS27.cjs');
|
|
12
16
|
require('./chunk-75ZPJI57.cjs');
|
|
13
17
|
|
|
14
18
|
|
|
15
19
|
|
|
16
|
-
Object.defineProperty(exports, "
|
|
20
|
+
Object.defineProperty(exports, "AnthropicRouter", {
|
|
17
21
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkWIYVT4UO_cjs.AnthropicRouter; }
|
|
19
23
|
});
|
|
20
|
-
Object.defineProperty(exports, "
|
|
24
|
+
Object.defineProperty(exports, "GeminiRouter", {
|
|
21
25
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkWIYVT4UO_cjs.GeminiRouter; }
|
|
23
27
|
});
|
|
24
|
-
Object.defineProperty(exports, "
|
|
28
|
+
Object.defineProperty(exports, "OpenAIRouter", {
|
|
25
29
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkWIYVT4UO_cjs.OpenAIRouter; }
|
|
27
31
|
});
|
|
28
|
-
Object.defineProperty(exports, "
|
|
32
|
+
Object.defineProperty(exports, "RawRouter", {
|
|
29
33
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkWIYVT4UO_cjs.RawRouter; }
|
|
31
35
|
});
|
|
32
|
-
Object.defineProperty(exports, "
|
|
36
|
+
Object.defineProperty(exports, "RouterClassifier", {
|
|
33
37
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkWIYVT4UO_cjs.RouterClassifier; }
|
|
35
39
|
});
|
|
36
|
-
Object.defineProperty(exports, "
|
|
40
|
+
Object.defineProperty(exports, "FastApplyAnchorIntegrityError", {
|
|
37
41
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkUHFVWYSP_cjs.FastApplyAnchorIntegrityError; }
|
|
39
43
|
});
|
|
40
|
-
Object.defineProperty(exports, "
|
|
44
|
+
Object.defineProperty(exports, "FastApplyContextLengthError", {
|
|
41
45
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkUHFVWYSP_cjs.FastApplyContextLengthError; }
|
|
43
47
|
});
|
|
44
|
-
Object.defineProperty(exports, "
|
|
48
|
+
Object.defineProperty(exports, "applyEdit", {
|
|
45
49
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkUHFVWYSP_cjs.applyEdit; }
|
|
47
51
|
});
|
|
48
|
-
Object.defineProperty(exports, "
|
|
52
|
+
Object.defineProperty(exports, "callMorphAPI", {
|
|
49
53
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunkUHFVWYSP_cjs.callMorphAPI; }
|
|
51
55
|
});
|
|
52
|
-
Object.defineProperty(exports, "
|
|
56
|
+
Object.defineProperty(exports, "countChanges", {
|
|
53
57
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunkUHFVWYSP_cjs.countChanges; }
|
|
55
59
|
});
|
|
56
|
-
Object.defineProperty(exports, "
|
|
60
|
+
Object.defineProperty(exports, "generateUdiff", {
|
|
57
61
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunkUHFVWYSP_cjs.generateUdiff; }
|
|
59
63
|
});
|
|
60
64
|
Object.defineProperty(exports, "CompactClient", {
|
|
61
65
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
66
|
+
get: function () { return chunkF633IVQA_cjs.CompactClient; }
|
|
67
|
+
});
|
|
68
|
+
Object.defineProperty(exports, "detectPII", {
|
|
69
|
+
enumerable: true,
|
|
70
|
+
get: function () { return chunkR3TUE7O2_cjs.detectPII; }
|
|
71
|
+
});
|
|
72
|
+
Object.defineProperty(exports, "redactPII", {
|
|
73
|
+
enumerable: true,
|
|
74
|
+
get: function () { return chunkR3TUE7O2_cjs.redactPII; }
|
|
63
75
|
});
|
|
64
76
|
Object.defineProperty(exports, "SDK_VERSION", {
|
|
65
77
|
enumerable: true,
|
|
66
|
-
get: function () { return
|
|
78
|
+
get: function () { return chunkQT5LGZG3_cjs.SDK_VERSION; }
|
|
67
79
|
});
|
package/dist/edge.d.ts
CHANGED
|
@@ -6,5 +6,8 @@ export { AmbiguityLevel, Classification, ClassifyClass, ClassifyInput, ClassifyR
|
|
|
6
6
|
export { RetryConfig } from './tools/utils/resilience.js';
|
|
7
7
|
export { CompactClient } from './tools/compact/core.js';
|
|
8
8
|
export { CompactConfig, CompactInput, CompactMessage, CompactResult, CompactedRange } from './tools/compact/types.js';
|
|
9
|
+
export { detectPII, redactPII } from './tools/pii/regex.js';
|
|
10
|
+
export { PIIEntity, PIIPlaceholder, PIIRedactOptions, PIIRedactResult, PIIType } from './tools/pii/types.js';
|
|
9
11
|
import './core/client.js';
|
|
12
|
+
import './guard-CvW03v4u.js';
|
|
10
13
|
import './core/resource.js';
|
package/dist/edge.js
CHANGED
|
@@ -1,10 +1,14 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
3
|
-
export { CompactClient } from './chunk-
|
|
4
|
-
import './chunk-
|
|
1
|
+
export { AnthropicRouter, GeminiRouter, OpenAIRouter, RawRouter, RouterClassifier } from './chunk-L5SCKZVK.js';
|
|
2
|
+
export { FastApplyAnchorIntegrityError, FastApplyContextLengthError, applyEdit, callMorphAPI, countChanges, generateUdiff } from './chunk-OYBOP47A.js';
|
|
3
|
+
export { CompactClient } from './chunk-OX5GN2KB.js';
|
|
4
|
+
import './chunk-IGXNLXPN.js';
|
|
5
5
|
import './chunk-6WP7EA4F.js';
|
|
6
|
-
import './chunk-
|
|
7
|
-
import './chunk-
|
|
8
|
-
export {
|
|
6
|
+
import './chunk-E63OPKP7.js';
|
|
7
|
+
import './chunk-OENJO7YW.js';
|
|
8
|
+
export { detectPII, redactPII } from './chunk-2GMG5XKU.js';
|
|
9
|
+
import './chunk-ZX6T3LNG.js';
|
|
10
|
+
import './chunk-564XJOQP.js';
|
|
11
|
+
import './chunk-4TZBUFVP.js';
|
|
12
|
+
export { SDK_VERSION } from './chunk-GYE3FY6Z.js';
|
|
9
13
|
import './chunk-NRG6QX3L.js';
|
|
10
14
|
import './chunk-MLKGABMK.js';
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { PIIRedactorConfig, PIIEntity } from './tools/pii/types.js';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Reversible PII redaction for requests the SDK sends to Morph.
|
|
5
|
+
*
|
|
6
|
+
* `redactPII` on `MorphClient` must not change what the caller gets back: FastApply
|
|
7
|
+
* writes the merged code to disk, so a placeholder left in a response would corrupt a
|
|
8
|
+
* file. A guard therefore works in sessions. Within one session every sensitive value
|
|
9
|
+
* is swapped for a unique token on the way out, and each token is swapped back on the
|
|
10
|
+
* way in. Morph's servers see `__PII_EMAIL_1_k3x9__`; the caller sees the real value.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* `true` redacts with the regex detector and default settings. Pass a config to choose
|
|
15
|
+
* types, an allowlist, or `mode: 'model'`. The `placeholder` setting is ignored here,
|
|
16
|
+
* because tokens must be reversible.
|
|
17
|
+
*/
|
|
18
|
+
type RedactPIIOption = boolean | Omit<PIIRedactorConfig, 'placeholder'>;
|
|
19
|
+
/** Thrown when a response contains a token this session never issued. */
|
|
20
|
+
declare class PIIRestoreError extends Error {
|
|
21
|
+
readonly tokens: string[];
|
|
22
|
+
constructor(tokens: string[]);
|
|
23
|
+
}
|
|
24
|
+
/** One request, or one multi-turn run, sharing a single token table. */
|
|
25
|
+
declare class PIISession {
|
|
26
|
+
private readonly detect;
|
|
27
|
+
private readonly nonce;
|
|
28
|
+
private readonly tokenFor;
|
|
29
|
+
private readonly valueFor;
|
|
30
|
+
private readonly counters;
|
|
31
|
+
private readonly cache;
|
|
32
|
+
private readonly tokenPattern;
|
|
33
|
+
constructor(detect: (text: string) => Promise<PIIEntity[]>);
|
|
34
|
+
/** Number of distinct values redacted so far. */
|
|
35
|
+
get size(): number;
|
|
36
|
+
private token;
|
|
37
|
+
/** Replace sensitive values with tokens. Repeated text is answered from a cache. */
|
|
38
|
+
redact(text: string): Promise<string>;
|
|
39
|
+
/** Put the original values back. Unknown tokens are left as they are. */
|
|
40
|
+
restore(text: string): string;
|
|
41
|
+
restore(text: string | null | undefined): string | null | undefined;
|
|
42
|
+
/**
|
|
43
|
+
* Like `restore`, but throws if the text holds a token this session did not issue, or a
|
|
44
|
+
* damaged one (a token that lost its head or its tail). Use it wherever the result is
|
|
45
|
+
* written somewhere durable.
|
|
46
|
+
*/
|
|
47
|
+
restoreStrict(text: string): string;
|
|
48
|
+
}
|
|
49
|
+
interface PIIGuard {
|
|
50
|
+
/** Start a token table for one request or one agent run. */
|
|
51
|
+
session(): PIISession;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Turn a `redactPII` option into a guard, or `undefined` when redaction is off. The same
|
|
55
|
+
* option object always yields the same guard, so a local model is loaded once.
|
|
56
|
+
*/
|
|
57
|
+
declare function resolvePIIGuard(option: RedactPIIOption | undefined): PIIGuard | undefined;
|
|
58
|
+
|
|
59
|
+
export { PIIRestoreError as P, type RedactPIIOption as R, PIISession as a, type PIIGuard as b, resolvePIIGuard as r };
|
package/dist/index.cjs
CHANGED
|
@@ -1,42 +1,47 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
require('./chunk-IPJA3ZS6.cjs');
|
|
4
|
-
|
|
5
|
-
require('./chunk-
|
|
4
|
+
require('./chunk-UF5IKELS.cjs');
|
|
5
|
+
var chunkE6V75LI6_cjs = require('./chunk-E6V75LI6.cjs');
|
|
6
6
|
require('./chunk-NNKBKENK.cjs');
|
|
7
7
|
require('./chunk-QEEAIXL5.cjs');
|
|
8
|
-
require('./chunk-
|
|
9
|
-
|
|
10
|
-
require('./chunk-
|
|
11
|
-
require('./chunk-
|
|
12
|
-
require('./chunk-
|
|
8
|
+
require('./chunk-XE6D4J63.cjs');
|
|
9
|
+
require('./chunk-OKLAYEBC.cjs');
|
|
10
|
+
var chunkMMX5PUGC_cjs = require('./chunk-MMX5PUGC.cjs');
|
|
11
|
+
require('./chunk-UZMMJ47A.cjs');
|
|
12
|
+
require('./chunk-5H3FKFOI.cjs');
|
|
13
|
+
require('./chunk-ST2OXLT5.cjs');
|
|
13
14
|
require('./chunk-EJTL2BOZ.cjs');
|
|
14
|
-
require('./chunk-
|
|
15
|
-
require('./chunk-
|
|
16
|
-
require('./chunk-
|
|
15
|
+
require('./chunk-GUNGJC6X.cjs');
|
|
16
|
+
require('./chunk-HNMEBYIS.cjs');
|
|
17
|
+
require('./chunk-HP3PCOTW.cjs');
|
|
18
|
+
require('./chunk-3HAHJYZQ.cjs');
|
|
17
19
|
require('./chunk-74A4HLIO.cjs');
|
|
18
|
-
var
|
|
19
|
-
require('./chunk-
|
|
20
|
-
require('./chunk-
|
|
21
|
-
var chunkUUCRWJJR_cjs = require('./chunk-UUCRWJJR.cjs');
|
|
22
|
-
require('./chunk-VHD7CW5O.cjs');
|
|
20
|
+
var chunkNJWOWXUR_cjs = require('./chunk-NJWOWXUR.cjs');
|
|
21
|
+
require('./chunk-UKBSXYKE.cjs');
|
|
22
|
+
var chunkJHC2R3HU_cjs = require('./chunk-JHC2R3HU.cjs');
|
|
23
23
|
require('./chunk-WR7LSUIR.cjs');
|
|
24
24
|
require('./chunk-MWXJ6DZ2.cjs');
|
|
25
|
-
require('./chunk-
|
|
25
|
+
require('./chunk-OCKEEEYE.cjs');
|
|
26
|
+
require('./chunk-VHD7CW5O.cjs');
|
|
26
27
|
require('./chunk-KVGZ2TSG.cjs');
|
|
27
|
-
require('./chunk-4EQQGUZ7.cjs');
|
|
28
28
|
require('./chunk-UNX7V6P6.cjs');
|
|
29
|
-
require('./chunk-
|
|
29
|
+
require('./chunk-4EQQGUZ7.cjs');
|
|
30
|
+
require('./chunk-VYE7O4FM.cjs');
|
|
30
31
|
require('./chunk-TPZHMD7J.cjs');
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
32
|
+
var chunkWIYVT4UO_cjs = require('./chunk-WIYVT4UO.cjs');
|
|
33
|
+
var chunkUHFVWYSP_cjs = require('./chunk-UHFVWYSP.cjs');
|
|
34
|
+
var chunkF633IVQA_cjs = require('./chunk-F633IVQA.cjs');
|
|
34
35
|
require('./chunk-7PJYY46L.cjs');
|
|
35
|
-
var
|
|
36
|
+
var chunk5TTZQF4X_cjs = require('./chunk-5TTZQF4X.cjs');
|
|
36
37
|
require('./chunk-VL4QNALG.cjs');
|
|
37
|
-
require('./chunk-
|
|
38
|
-
require('./chunk-
|
|
39
|
-
var
|
|
38
|
+
var chunkKF6S3EPJ_cjs = require('./chunk-KF6S3EPJ.cjs');
|
|
39
|
+
var chunk6HAYJA6M_cjs = require('./chunk-6HAYJA6M.cjs');
|
|
40
|
+
var chunkR3TUE7O2_cjs = require('./chunk-R3TUE7O2.cjs');
|
|
41
|
+
require('./chunk-DLYDIYDK.cjs');
|
|
42
|
+
require('./chunk-YAUXTFIN.cjs');
|
|
43
|
+
require('./chunk-WJHHO24M.cjs');
|
|
44
|
+
var chunkQT5LGZG3_cjs = require('./chunk-QT5LGZG3.cjs');
|
|
40
45
|
var chunkAWFZKS27_cjs = require('./chunk-AWFZKS27.cjs');
|
|
41
46
|
require('./chunk-75ZPJI57.cjs');
|
|
42
47
|
|
|
@@ -44,71 +49,91 @@ require('./chunk-75ZPJI57.cjs');
|
|
|
44
49
|
|
|
45
50
|
Object.defineProperty(exports, "LocalRipgrepProvider", {
|
|
46
51
|
enumerable: true,
|
|
47
|
-
get: function () { return
|
|
52
|
+
get: function () { return chunkE6V75LI6_cjs.LocalRipgrepProvider; }
|
|
48
53
|
});
|
|
49
54
|
Object.defineProperty(exports, "AnthropicToolFactory", {
|
|
50
55
|
enumerable: true,
|
|
51
|
-
get: function () { return
|
|
56
|
+
get: function () { return chunkMMX5PUGC_cjs.AnthropicToolFactory; }
|
|
52
57
|
});
|
|
53
58
|
Object.defineProperty(exports, "MorphClient", {
|
|
54
59
|
enumerable: true,
|
|
55
|
-
get: function () { return
|
|
60
|
+
get: function () { return chunkMMX5PUGC_cjs.MorphClient; }
|
|
56
61
|
});
|
|
57
62
|
Object.defineProperty(exports, "OpenAIToolFactory", {
|
|
58
63
|
enumerable: true,
|
|
59
|
-
get: function () { return
|
|
64
|
+
get: function () { return chunkMMX5PUGC_cjs.OpenAIToolFactory; }
|
|
60
65
|
});
|
|
61
66
|
Object.defineProperty(exports, "VercelToolFactory", {
|
|
62
67
|
enumerable: true,
|
|
63
|
-
get: function () { return
|
|
68
|
+
get: function () { return chunkMMX5PUGC_cjs.VercelToolFactory; }
|
|
64
69
|
});
|
|
65
70
|
Object.defineProperty(exports, "FastApplyClient", {
|
|
66
71
|
enumerable: true,
|
|
67
|
-
get: function () { return
|
|
72
|
+
get: function () { return chunkNJWOWXUR_cjs.FastApplyClient; }
|
|
68
73
|
});
|
|
69
74
|
Object.defineProperty(exports, "WarpGrepClient", {
|
|
70
75
|
enumerable: true,
|
|
71
|
-
get: function () { return
|
|
76
|
+
get: function () { return chunkJHC2R3HU_cjs.WarpGrepClient; }
|
|
77
|
+
});
|
|
78
|
+
Object.defineProperty(exports, "AnthropicRouter", {
|
|
79
|
+
enumerable: true,
|
|
80
|
+
get: function () { return chunkWIYVT4UO_cjs.AnthropicRouter; }
|
|
81
|
+
});
|
|
82
|
+
Object.defineProperty(exports, "GeminiRouter", {
|
|
83
|
+
enumerable: true,
|
|
84
|
+
get: function () { return chunkWIYVT4UO_cjs.GeminiRouter; }
|
|
85
|
+
});
|
|
86
|
+
Object.defineProperty(exports, "OpenAIRouter", {
|
|
87
|
+
enumerable: true,
|
|
88
|
+
get: function () { return chunkWIYVT4UO_cjs.OpenAIRouter; }
|
|
89
|
+
});
|
|
90
|
+
Object.defineProperty(exports, "RawRouter", {
|
|
91
|
+
enumerable: true,
|
|
92
|
+
get: function () { return chunkWIYVT4UO_cjs.RawRouter; }
|
|
72
93
|
});
|
|
73
94
|
Object.defineProperty(exports, "FastApplyAnchorIntegrityError", {
|
|
74
95
|
enumerable: true,
|
|
75
|
-
get: function () { return
|
|
96
|
+
get: function () { return chunkUHFVWYSP_cjs.FastApplyAnchorIntegrityError; }
|
|
76
97
|
});
|
|
77
98
|
Object.defineProperty(exports, "FastApplyContextLengthError", {
|
|
78
99
|
enumerable: true,
|
|
79
|
-
get: function () { return
|
|
100
|
+
get: function () { return chunkUHFVWYSP_cjs.FastApplyContextLengthError; }
|
|
80
101
|
});
|
|
81
102
|
Object.defineProperty(exports, "applyEdit", {
|
|
82
103
|
enumerable: true,
|
|
83
|
-
get: function () { return
|
|
104
|
+
get: function () { return chunkUHFVWYSP_cjs.applyEdit; }
|
|
84
105
|
});
|
|
85
|
-
Object.defineProperty(exports, "
|
|
106
|
+
Object.defineProperty(exports, "CompactClient", {
|
|
86
107
|
enumerable: true,
|
|
87
|
-
get: function () { return
|
|
108
|
+
get: function () { return chunkF633IVQA_cjs.CompactClient; }
|
|
88
109
|
});
|
|
89
|
-
Object.defineProperty(exports, "
|
|
110
|
+
Object.defineProperty(exports, "MorphAPIClient", {
|
|
90
111
|
enumerable: true,
|
|
91
|
-
get: function () { return
|
|
112
|
+
get: function () { return chunk5TTZQF4X_cjs.MorphAPIClient; }
|
|
92
113
|
});
|
|
93
|
-
Object.defineProperty(exports, "
|
|
114
|
+
Object.defineProperty(exports, "PIIRestoreError", {
|
|
94
115
|
enumerable: true,
|
|
95
|
-
get: function () { return
|
|
116
|
+
get: function () { return chunkKF6S3EPJ_cjs.PIIRestoreError; }
|
|
96
117
|
});
|
|
97
|
-
Object.defineProperty(exports, "
|
|
118
|
+
Object.defineProperty(exports, "DEFAULT_PII_ALLOW", {
|
|
98
119
|
enumerable: true,
|
|
99
|
-
get: function () { return
|
|
120
|
+
get: function () { return chunk6HAYJA6M_cjs.DEFAULT_PII_ALLOW; }
|
|
100
121
|
});
|
|
101
|
-
Object.defineProperty(exports, "
|
|
122
|
+
Object.defineProperty(exports, "createPIIRedactor", {
|
|
102
123
|
enumerable: true,
|
|
103
|
-
get: function () { return
|
|
124
|
+
get: function () { return chunk6HAYJA6M_cjs.createPIIRedactor; }
|
|
104
125
|
});
|
|
105
|
-
Object.defineProperty(exports, "
|
|
126
|
+
Object.defineProperty(exports, "detectPII", {
|
|
127
|
+
enumerable: true,
|
|
128
|
+
get: function () { return chunkR3TUE7O2_cjs.detectPII; }
|
|
129
|
+
});
|
|
130
|
+
Object.defineProperty(exports, "redactPII", {
|
|
106
131
|
enumerable: true,
|
|
107
|
-
get: function () { return
|
|
132
|
+
get: function () { return chunkR3TUE7O2_cjs.redactPII; }
|
|
108
133
|
});
|
|
109
134
|
Object.defineProperty(exports, "SDK_VERSION", {
|
|
110
135
|
enumerable: true,
|
|
111
|
-
get: function () { return
|
|
136
|
+
get: function () { return chunkQT5LGZG3_cjs.SDK_VERSION; }
|
|
112
137
|
});
|
|
113
138
|
Object.defineProperty(exports, "APIResource", {
|
|
114
139
|
enumerable: true,
|