@rulvar/core 1.99.0 → 1.99.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.
- package/dist/index.d.ts +3 -3
- package/dist/index.js +6 -6
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2762,7 +2762,7 @@ interface RefEntryAppender {
|
|
|
2762
2762
|
/**
|
|
2763
2763
|
* Per-run, per-target FIFO serializer of resolution/abandon attempts:
|
|
2764
2764
|
* classification against the in-memory fold ->
|
|
2765
|
-
* durable append ->
|
|
2765
|
+
* durable append -> a single settle; losing attempts are ALSO
|
|
2766
2766
|
* appended and become journaled noops by fold classification. Winner
|
|
2767
2767
|
* effects run strictly after the critical section (the caller's job).
|
|
2768
2768
|
* Cross-process protection remains the LeasableStore fencing epoch.
|
|
@@ -2959,7 +2959,7 @@ declare class Replayer {
|
|
|
2959
2959
|
/** Suspended kinds (external, approval): appended once, closed by ref-entries (M2). */
|
|
2960
2960
|
appendSuspended(input: SuspendedAppend): Promise<JournalEntry>;
|
|
2961
2961
|
/**
|
|
2962
|
-
* The budget ledger fold: usage sums over terminal entries
|
|
2962
|
+
* The budget ledger fold: usage sums over terminal entries once, never twice; agentsSpawned
|
|
2963
2963
|
* counts agent dispatches.
|
|
2964
2964
|
*/
|
|
2965
2965
|
ledger(): Ledger;
|
|
@@ -6697,7 +6697,7 @@ declare function stripFencedBlocks(text: string): string;
|
|
|
6697
6697
|
* heading nor trip exclusivity. Heading lines compare trimmed, whole
|
|
6698
6698
|
* line. With `ordered` (default true) the declared headings must
|
|
6699
6699
|
* appear in declaration order; with `exclusive` (default true) each
|
|
6700
|
-
* declared heading must appear
|
|
6700
|
+
* declared heading must appear once, unrepeated, and no undeclared heading
|
|
6701
6701
|
* of the governed level may exist (other levels stay free). Default
|
|
6702
6702
|
* name 'heading-structure'.
|
|
6703
6703
|
*/
|
package/dist/index.js
CHANGED
|
@@ -6603,7 +6603,7 @@ var ResolutionFold = class {
|
|
|
6603
6603
|
/**
|
|
6604
6604
|
* Per-run, per-target FIFO serializer of resolution/abandon attempts:
|
|
6605
6605
|
* classification against the in-memory fold ->
|
|
6606
|
-
* durable append ->
|
|
6606
|
+
* durable append -> a single settle; losing attempts are ALSO
|
|
6607
6607
|
* appended and become journaled noops by fold classification. Winner
|
|
6608
6608
|
* effects run strictly after the critical section (the caller's job).
|
|
6609
6609
|
* Cross-process protection remains the LeasableStore fencing epoch.
|
|
@@ -7195,7 +7195,7 @@ var Replayer = class {
|
|
|
7195
7195
|
});
|
|
7196
7196
|
}
|
|
7197
7197
|
/**
|
|
7198
|
-
* The budget ledger fold: usage sums over terminal entries
|
|
7198
|
+
* The budget ledger fold: usage sums over terminal entries once, never twice; agentsSpawned
|
|
7199
7199
|
* counts agent dispatches.
|
|
7200
7200
|
*/
|
|
7201
7201
|
ledger() {
|
|
@@ -7764,7 +7764,7 @@ function metaMatchesFilter(meta, f) {
|
|
|
7764
7764
|
* InMemoryStore (M1-T04): the default journal store. Process-local, so
|
|
7765
7765
|
* nothing survives a process exit and cross-process resume is
|
|
7766
7766
|
* impossible (same-process resume of a kept instance works); the store
|
|
7767
|
-
* warns loudly
|
|
7767
|
+
* warns loudly once per instance unless constructed with
|
|
7768
7768
|
* `quiet: true` (the deliberate choice of a test tier).
|
|
7769
7769
|
* An in-memory TranscriptStore ships alongside for the same default.
|
|
7770
7770
|
*/
|
|
@@ -8216,7 +8216,7 @@ var FileTranscriptStore = class {
|
|
|
8216
8216
|
* agent type, role 'loop').
|
|
8217
8217
|
*
|
|
8218
8218
|
* Inclusion policy, applied to the total and EVERY breakdown alike:
|
|
8219
|
-
* terminal usage
|
|
8219
|
+
* terminal usage once, priced per serving slice, entries under
|
|
8220
8220
|
* abandoned subtrees contribute zero (their spend is tracked separately
|
|
8221
8221
|
* in the abandoned-spend ledger the orchestrator sees). Attempts that
|
|
8222
8222
|
* were paid but never abandoned (a cancelled root attempt, a dangling
|
|
@@ -11165,7 +11165,7 @@ async function runAgent(options) {
|
|
|
11165
11165
|
* Gates and executes one turn's tool calls in source order. priorParts
|
|
11166
11166
|
* carries results already executed before a mid-turn suspension; the
|
|
11167
11167
|
* pending state checkpointed at an ask verdict stores RAW model args so
|
|
11168
|
-
* a resume re-runs the chain (hooks apply
|
|
11168
|
+
* a resume re-runs the chain (hooks apply once) and re-matches
|
|
11169
11169
|
* the same approval identity.
|
|
11170
11170
|
*/
|
|
11171
11171
|
const runToolCalls = async (calls, priorParts) => {
|
|
@@ -16078,7 +16078,7 @@ const MAX_LISTED_EXTRA_HEADINGS = 5;
|
|
|
16078
16078
|
* heading nor trip exclusivity. Heading lines compare trimmed, whole
|
|
16079
16079
|
* line. With `ordered` (default true) the declared headings must
|
|
16080
16080
|
* appear in declaration order; with `exclusive` (default true) each
|
|
16081
|
-
* declared heading must appear
|
|
16081
|
+
* declared heading must appear once, unrepeated, and no undeclared heading
|
|
16082
16082
|
* of the governed level may exist (other levels stay free). Default
|
|
16083
16083
|
* name 'heading-structure'.
|
|
16084
16084
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rulvar/core",
|
|
3
|
-
"version": "1.99.
|
|
3
|
+
"version": "1.99.1",
|
|
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",
|