@rasputin-ai/core 0.5.0 → 0.5.1
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.
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Unknown and truncated derivation data must not look like ordinary application objects.
|
|
3
|
-
* A tagged tuple whose first element is a
|
|
3
|
+
* A tagged tuple whose first element is a Private Use Area brand cannot collide with JSON
|
|
4
4
|
* that customer code would reasonably produce.
|
|
5
|
+
* PostgreSQL jsonb cannot store U+0000 (SQLSTATE 22P05), so this is not a NUL prefix.
|
|
5
6
|
* Keep in sync with `packages/~core/lib/runtime-derivation/rasputin-wire-tag.ts`.
|
|
6
7
|
* ⚠️ DERIVATION LOCKSTEP — tagged holes must decode the same way on the server.
|
|
7
8
|
*/
|
|
8
|
-
export declare const RASPUTIN_WIRE_TAG: "\
|
|
9
|
+
export declare const RASPUTIN_WIRE_TAG: "\uE000rasputin";
|
|
9
10
|
/** A captured value Rasputin could not read (for example a getter that threw). */
|
|
10
11
|
export type RasputinTaggedUnknown = readonly [typeof RASPUTIN_WIRE_TAG, 'unknown'];
|
|
11
12
|
/** A value dropped to stay under a size or memory limit. The string is a short reason. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rasputin-wire-tag.d.ts","sourceRoot":"","sources":["../../src/derivation/rasputin-wire-tag.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"rasputin-wire-tag.d.ts","sourceRoot":"","sources":["../../src/derivation/rasputin-wire-tag.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,eAAO,MAAM,iBAAiB,EAAG,gBAAyB,CAAC;AAE3D,kFAAkF;AAClF,MAAM,MAAM,qBAAqB,GAAG,SAAS,CAAC,OAAO,iBAAiB,EAAE,SAAS,CAAC,CAAC;AACnF,0FAA0F;AAC1F,MAAM,MAAM,yBAAyB,GAAG,SAAS,CAAC,OAAO,iBAAiB,EAAE,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|
|
|
755
755
|
|
|
756
756
|
// src/sdk-meta.ts
|
|
757
757
|
var SDK_NAME = "@rasputin-ai/core";
|
|
758
|
-
var SDK_VERSION = "0.5.
|
|
758
|
+
var SDK_VERSION = "0.5.1";
|
|
759
759
|
|
|
760
760
|
// src/suppression/identity-needs-message-template.ts
|
|
761
761
|
var identityNeedsMessageTemplate = (type, code) => {
|
|
@@ -2022,7 +2022,7 @@ var hashInstrumentationManifest = (manifest) => {
|
|
|
2022
2022
|
};
|
|
2023
2023
|
|
|
2024
2024
|
// src/derivation/rasputin-wire-tag.ts
|
|
2025
|
-
var RASPUTIN_WIRE_TAG = "\
|
|
2025
|
+
var RASPUTIN_WIRE_TAG = "\uE000rasputin";
|
|
2026
2026
|
var rasputinUnknown = () => [RASPUTIN_WIRE_TAG, "unknown"];
|
|
2027
2027
|
var rasputinUnavailable = (reason) => [
|
|
2028
2028
|
RASPUTIN_WIRE_TAG,
|
package/dist/sdk-meta.d.ts
CHANGED