@glasstrace/sdk 1.3.9 → 1.4.0
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 +68 -0
- package/dist/capture-error-BmQz7xF6.d.cts +455 -0
- package/dist/capture-error-CTgSYxek.d.ts +455 -0
- package/dist/{chunk-XS5W3SPL.js → chunk-4WI7B5FQ.js} +91 -5
- package/dist/chunk-4WI7B5FQ.js.map +1 -0
- package/dist/{chunk-GYTCZSAV.js → chunk-MFYOQOD7.js} +2 -2
- package/dist/{chunk-4WUHMLMM.js → chunk-MMKFFF2L.js} +2 -2
- package/dist/{chunk-FKBCEOJ5.js → chunk-Q42BY5BA.js} +2 -2
- package/dist/{chunk-DBKG6SRI.js → chunk-QU26IKIJ.js} +2 -2
- package/dist/{chunk-ADUD4PEK.js → chunk-TANUWTFO.js} +3 -3
- package/dist/{chunk-LJMZXJ45.js → chunk-VJQIFY33.js} +3 -3
- package/dist/{chunk-JH7EGRC5.js → chunk-VQDYXXVS.js} +9 -9
- package/dist/cli/init.cjs +13 -2
- package/dist/cli/init.cjs.map +1 -1
- package/dist/cli/init.js +6 -6
- package/dist/cli/mcp-add.cjs +12 -1
- package/dist/cli/mcp-add.cjs.map +1 -1
- package/dist/cli/mcp-add.js +2 -2
- package/dist/cli/uninit.js +3 -3
- package/dist/cli/validate.cjs +12 -1
- package/dist/cli/validate.cjs.map +1 -1
- package/dist/cli/validate.js +2 -2
- package/dist/{edge-entry-BSKA1l_0.d.ts → edge-entry-AWO70gje.d.ts} +1 -1
- package/dist/{edge-entry-DyMWa6JK.d.cts → edge-entry-DaeG7D7S.d.cts} +1 -1
- package/dist/edge-entry.cjs +43 -2
- package/dist/edge-entry.cjs.map +1 -1
- package/dist/edge-entry.d.cts +2 -2
- package/dist/edge-entry.d.ts +2 -2
- package/dist/edge-entry.js +2 -2
- package/dist/index.cjs +369 -8
- package/dist/index.cjs.map +1 -1
- package/dist/{index.d-Bo_Rxund.d.cts → index.d-Dq33YwFT.d.cts} +91 -1
- package/dist/{index.d-Bo_Rxund.d.ts → index.d-Dq33YwFT.d.ts} +91 -1
- package/dist/index.d.cts +91 -431
- package/dist/index.d.ts +91 -431
- package/dist/index.js +290 -6
- package/dist/index.js.map +1 -1
- package/dist/node-entry.cjs +49 -7
- package/dist/node-entry.cjs.map +1 -1
- package/dist/node-entry.d.cts +3 -3
- package/dist/node-entry.d.ts +3 -3
- package/dist/node-entry.js +7 -7
- package/dist/node-subpath.cjs +12 -1
- package/dist/node-subpath.cjs.map +1 -1
- package/dist/node-subpath.d.cts +1 -1
- package/dist/node-subpath.d.ts +1 -1
- package/dist/node-subpath.js +3 -3
- package/dist/{source-map-uploader-FSTHCYDR.js → source-map-uploader-PB3M4PPP.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-XS5W3SPL.js.map +0 -1
- /package/dist/{chunk-GYTCZSAV.js.map → chunk-MFYOQOD7.js.map} +0 -0
- /package/dist/{chunk-4WUHMLMM.js.map → chunk-MMKFFF2L.js.map} +0 -0
- /package/dist/{chunk-FKBCEOJ5.js.map → chunk-Q42BY5BA.js.map} +0 -0
- /package/dist/{chunk-DBKG6SRI.js.map → chunk-QU26IKIJ.js.map} +0 -0
- /package/dist/{chunk-ADUD4PEK.js.map → chunk-TANUWTFO.js.map} +0 -0
- /package/dist/{chunk-LJMZXJ45.js.map → chunk-VJQIFY33.js.map} +0 -0
- /package/dist/{chunk-JH7EGRC5.js.map → chunk-VQDYXXVS.js.map} +0 -0
- /package/dist/{source-map-uploader-FSTHCYDR.js.map → source-map-uploader-PB3M4PPP.js.map} +0 -0
package/dist/cli/mcp-add.js
CHANGED
|
@@ -13,8 +13,8 @@ import {
|
|
|
13
13
|
readMcpMarker,
|
|
14
14
|
resolveEffectiveMcpCredential,
|
|
15
15
|
writeMcpMarker
|
|
16
|
-
} from "../chunk-
|
|
17
|
-
import "../chunk-
|
|
16
|
+
} from "../chunk-MFYOQOD7.js";
|
|
17
|
+
import "../chunk-4WI7B5FQ.js";
|
|
18
18
|
import {
|
|
19
19
|
formatAgentName
|
|
20
20
|
} from "../chunk-NB7GJE4S.js";
|
package/dist/cli/uninit.js
CHANGED
|
@@ -12,9 +12,9 @@ import {
|
|
|
12
12
|
unwrapCJSExport,
|
|
13
13
|
unwrapExport,
|
|
14
14
|
writeShutdownMarker
|
|
15
|
-
} from "../chunk-
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-
|
|
15
|
+
} from "../chunk-VJQIFY33.js";
|
|
16
|
+
import "../chunk-MFYOQOD7.js";
|
|
17
|
+
import "../chunk-4WI7B5FQ.js";
|
|
18
18
|
import "../chunk-NB7GJE4S.js";
|
|
19
19
|
import "../chunk-NSBPE2FW.js";
|
|
20
20
|
export {
|
package/dist/cli/validate.cjs
CHANGED
|
@@ -13830,7 +13830,18 @@ var CaptureConfigSchema = external_exports.object({
|
|
|
13830
13830
|
fullConsoleOutput: external_exports.boolean(),
|
|
13831
13831
|
importGraph: external_exports.boolean(),
|
|
13832
13832
|
consoleErrors: external_exports.boolean().optional().default(false),
|
|
13833
|
-
errorResponseBodies: external_exports.boolean().optional().default(false)
|
|
13833
|
+
errorResponseBodies: external_exports.boolean().optional().default(false),
|
|
13834
|
+
/**
|
|
13835
|
+
* Account opt-in for side-effect evidence emission (SDK-049).
|
|
13836
|
+
*
|
|
13837
|
+
* When `false` (default), `recordSideEffect()` is a silent no-op:
|
|
13838
|
+
* no allowlist evaluation runs and no `glasstrace.side_effect.*`
|
|
13839
|
+
* attribute reaches the wire. When `true`, allowlisted side-effect
|
|
13840
|
+
* metadata is attached to the active OTel span subject to the
|
|
13841
|
+
* client-side allowlist enforcement layered with the product's
|
|
13842
|
+
* storage-time filter as defense-in-depth.
|
|
13843
|
+
*/
|
|
13844
|
+
sideEffectEvidence: external_exports.boolean().optional().default(false)
|
|
13834
13845
|
});
|
|
13835
13846
|
var SdkCachedConfigSchema = external_exports.object({
|
|
13836
13847
|
response: external_exports.record(external_exports.string(), external_exports.unknown()),
|