@rulvar/core 1.24.0 → 1.25.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/dist/index.d.ts +15 -2
- package/dist/index.js +6 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -827,8 +827,15 @@ type RunMeta = {
|
|
|
827
827
|
* sha256 hex over the JCS canonical serialization of the genesis args
|
|
828
828
|
* (`hashRunArgs`). Absent when the run started without args or when
|
|
829
829
|
* the args are not JCS-serializable (`argsProvided` still records
|
|
830
|
-
* presence).
|
|
831
|
-
*
|
|
830
|
+
* presence). The raw args are never journaled, but the digest is
|
|
831
|
+
* sensitive-derived metadata, not an opaque token: it is deterministic
|
|
832
|
+
* and unsalted, so it reveals when two runs (in this store or another)
|
|
833
|
+
* were started with identical args, and low-entropy args (a boolean,
|
|
834
|
+
* an approval flag, a role, a short id) are recoverable by hashing
|
|
835
|
+
* candidate values. Protect meta, `inspect` output, and run listings
|
|
836
|
+
* with the same access control as the journal and transcripts; the
|
|
837
|
+
* digest confers no confidentiality on the args it binds. Stores must
|
|
838
|
+
* round-trip the field (the conformance kit checks).
|
|
832
839
|
*/
|
|
833
840
|
argsHash?: string;
|
|
834
841
|
};
|
|
@@ -4826,6 +4833,12 @@ declare function workflowSourceRef(runId: string): string;
|
|
|
4826
4833
|
* undefined args (a run started without args records none). Throws when
|
|
4827
4834
|
* JCS cannot serialize the value (functions, cycles, non-finite
|
|
4828
4835
|
* numbers); the engine then records `argsProvided` without a hash.
|
|
4836
|
+
*
|
|
4837
|
+
* The digest is deterministic and unsalted: it reveals args equality
|
|
4838
|
+
* across runs and low-entropy args are recoverable by hashing
|
|
4839
|
+
* candidates, so treat the recorded `RunMeta.argsHash` as
|
|
4840
|
+
* sensitive-derived metadata, not a value safe to publish (see the
|
|
4841
|
+
* `argsHash` field docs).
|
|
4829
4842
|
*/
|
|
4830
4843
|
declare function hashRunArgs(args: unknown): string | undefined;
|
|
4831
4844
|
declare function createEngine(options: CreateEngineOptions): Engine;
|
package/dist/index.js
CHANGED
|
@@ -13114,6 +13114,12 @@ function workflowSourceRef(runId) {
|
|
|
13114
13114
|
* undefined args (a run started without args records none). Throws when
|
|
13115
13115
|
* JCS cannot serialize the value (functions, cycles, non-finite
|
|
13116
13116
|
* numbers); the engine then records `argsProvided` without a hash.
|
|
13117
|
+
*
|
|
13118
|
+
* The digest is deterministic and unsalted: it reveals args equality
|
|
13119
|
+
* across runs and low-entropy args are recoverable by hashing
|
|
13120
|
+
* candidates, so treat the recorded `RunMeta.argsHash` as
|
|
13121
|
+
* sensitive-derived metadata, not a value safe to publish (see the
|
|
13122
|
+
* `argsHash` field docs).
|
|
13117
13123
|
*/
|
|
13118
13124
|
function hashRunArgs(args) {
|
|
13119
13125
|
if (args === void 0) return;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rulvar/core",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.25.0",
|
|
4
4
|
"description": "Rulvar core: L0 contracts, journal kernel, ctx primitives, agent runtime, model router, tool system, dynamic orchestrator, InMemory and JSONL stores, event stream.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Apache-2.0",
|