@silverprotocol/core 0.5.4 → 0.6.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 +1 -1
- package/dist/agjson.d.ts +1 -1
- package/dist/agjson.js +1 -1
- package/package.json +1 -1
- package/src/agjson.ts +1 -1
package/README.md
CHANGED
|
@@ -69,7 +69,7 @@ console.log(AGJSON_VERSION, messages);
|
|
|
69
69
|
`ingestAgEvents` validates raw wire objects against `AgEvent` and drops anything
|
|
70
70
|
unparseable (the consumer posture); `Reducer` folds the validated stream into the
|
|
71
71
|
normative snapshot; `AGJSON_VERSION` is the wire version this build implements
|
|
72
|
-
(`1.0.0-draft.
|
|
72
|
+
(`1.0.0-draft.3`).
|
|
73
73
|
|
|
74
74
|
## Produce AgJSON
|
|
75
75
|
|
package/dist/agjson.d.ts
CHANGED
|
@@ -1305,7 +1305,7 @@ export declare const AgRunConfig: z.ZodObject<{
|
|
|
1305
1305
|
}, z.core.$strip>>;
|
|
1306
1306
|
}, z.core.$strip>;
|
|
1307
1307
|
export type AgRunConfig = z.infer<typeof AgRunConfig>;
|
|
1308
|
-
export declare const AGJSON_VERSION = "1.0.0-draft.
|
|
1308
|
+
export declare const AGJSON_VERSION = "1.0.0-draft.3";
|
|
1309
1309
|
export declare const AgInputEnvelope: z.ZodObject<{
|
|
1310
1310
|
protocol: z.ZodLiteral<"agjson">;
|
|
1311
1311
|
version: z.ZodString;
|
package/dist/agjson.js
CHANGED
|
@@ -593,7 +593,7 @@ export const AgRunConfig = z.object({
|
|
|
593
593
|
});
|
|
594
594
|
// The spec version this SDK implements (SPEC.md status line + §12). Consumers
|
|
595
595
|
// reject a MAJOR mismatch and accept any same-major version (§12 negotiation).
|
|
596
|
-
export const AGJSON_VERSION = "1.0.0-draft.
|
|
596
|
+
export const AGJSON_VERSION = "1.0.0-draft.3";
|
|
597
597
|
const agjsonWireVersion = z
|
|
598
598
|
.string()
|
|
599
599
|
.refine((v) => /^\d+\./.test(v) && v.split(".")[0] === AGJSON_VERSION.split(".")[0], {
|
package/package.json
CHANGED
package/src/agjson.ts
CHANGED
|
@@ -809,7 +809,7 @@ export type AgRunConfig = z.infer<typeof AgRunConfig>;
|
|
|
809
809
|
|
|
810
810
|
// The spec version this SDK implements (SPEC.md status line + §12). Consumers
|
|
811
811
|
// reject a MAJOR mismatch and accept any same-major version (§12 negotiation).
|
|
812
|
-
export const AGJSON_VERSION = "1.0.0-draft.
|
|
812
|
+
export const AGJSON_VERSION = "1.0.0-draft.3";
|
|
813
813
|
|
|
814
814
|
const agjsonWireVersion = z
|
|
815
815
|
.string()
|