@holoscript/core 8.0.11 → 8.0.13
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/{HoloCompositionParser-3XEC7IJC.cjs → HoloCompositionParser-6GW2BZID.cjs} +3 -3
- package/dist/{HoloCompositionParser-FLBZKFD3.js → HoloCompositionParser-P4Y3CXKQ.js} +3 -3
- package/dist/{HoloScriptPlusParser-55AY4MUF.js → HoloScriptPlusParser-HQV6IJAH.js} +4 -4
- package/dist/{HoloScriptPlusParser-RNUCHOAJ.cjs → HoloScriptPlusParser-RFNHRMPE.cjs} +7 -7
- package/dist/{chunk-4VVHNBCO.js → chunk-A4OOLBZD.js} +112 -55
- package/dist/{chunk-TYNRXRHF.js → chunk-DJ5BNRIS.js} +30 -9
- package/dist/{chunk-P534AGP5.cjs → chunk-DVHZD5HV.cjs} +5 -5
- package/dist/{chunk-7NPZZZD7.js → chunk-FRSKLX6I.js} +8 -4
- package/dist/{chunk-JBYBMBMW.js → chunk-FWKEY4LD.js} +3 -2
- package/dist/{chunk-USOUXQYD.js → chunk-G6EKZHXY.js} +129 -21
- package/dist/{chunk-2TAN7H54.js → chunk-G72754QB.js} +3 -3
- package/dist/{chunk-OMNHTCS4.cjs → chunk-LHUDAJQT.cjs} +3 -2
- package/dist/{chunk-KEYG7HGY.js → chunk-ONPVM4IV.js} +163 -3
- package/dist/{chunk-RMOEL2GD.cjs → chunk-PXVAPGTR.cjs} +31 -10
- package/dist/{chunk-656IAS7B.cjs → chunk-Q4K2GEMW.cjs} +10 -6
- package/dist/{chunk-VO52AJD5.js → chunk-RVNXBF2M.js} +3 -3
- package/dist/{chunk-7N63JHUN.cjs → chunk-RZ2EPXO3.cjs} +3 -3
- package/dist/{chunk-UDGTX7LY.cjs → chunk-SQAAWO4V.cjs} +112 -55
- package/dist/{chunk-W2GA3EQB.cjs → chunk-TC7JEO6R.cjs} +163 -3
- package/dist/{chunk-TX6ZBIF4.js → chunk-U3D4SYQ5.js} +3 -3
- package/dist/{chunk-EI5G5JLY.cjs → chunk-XF63CZ7E.cjs} +133 -21
- package/dist/{chunk-3KMANSQJ.cjs → chunk-Y57AVOM2.cjs} +4 -4
- package/dist/cli/holoscript-runner.cjs +9 -9
- package/dist/cli/holoscript-runner.js +2 -2
- package/dist/compiler/incremental.cjs +6 -6
- package/dist/compiler/incremental.js +1 -1
- package/dist/compiler/index.cjs +84 -84
- package/dist/compiler/index.js +5 -5
- package/dist/compiler/webgpu.cjs +3 -3
- package/dist/compiler/webgpu.js +2 -2
- package/dist/constants.cjs +3 -3
- package/dist/constants.js +1 -1
- package/dist/entries/scripting.cjs +1 -1
- package/dist/entries/scripting.js +1 -1
- package/dist/evolution/index.cjs +19 -15
- package/dist/evolution/index.d.ts +9 -0
- package/dist/evolution/index.js +4 -4
- package/dist/index.cjs +196 -180
- package/dist/index.js +15 -15
- package/dist/parser.cjs +13 -13
- package/dist/parser.js +3 -3
- package/dist/reconstruction/index.cjs +38 -38
- package/dist/reconstruction/index.js +2 -2
- package/dist/traits/index.cjs +4 -4
- package/dist/traits/index.js +1 -1
- package/package.json +20 -40
|
@@ -63,6 +63,12 @@ export interface EvolveResult {
|
|
|
63
63
|
bestCode: string | null;
|
|
64
64
|
receipt: EvolveReceipt;
|
|
65
65
|
}
|
|
66
|
+
export interface OpenAICompatibleProposerOptions {
|
|
67
|
+
apiKey?: string;
|
|
68
|
+
temperature?: number;
|
|
69
|
+
maxTokens?: number;
|
|
70
|
+
fetchImpl?: typeof fetch;
|
|
71
|
+
}
|
|
66
72
|
/** A graded training row in the ecosystem REC-SHAPE (harvest_real.py reads this). */
|
|
67
73
|
export interface GradedTraceRow {
|
|
68
74
|
system: string;
|
|
@@ -80,6 +86,8 @@ export interface GradedTraceRow {
|
|
|
80
86
|
export declare function runEvolution(seedCode: string, policy: EvolvePolicy, io: EvolveIO): Promise<EvolveResult>;
|
|
81
87
|
/** Default sovereign proposer wired to a local Ollama endpoint (local metal). */
|
|
82
88
|
export declare function makeOllamaProposer(endpoint: string, model: string): Proposer;
|
|
89
|
+
/** Proposer for HoloLlama/OpenAI-compatible chat-completions servers. */
|
|
90
|
+
export declare function makeOpenAICompatibleProposer(endpoint: string, model: string, opts?: OpenAICompatibleProposerOptions): Proposer;
|
|
83
91
|
/** Convert a gated evolve candidate into a graded REC-SHAPE training row. */
|
|
84
92
|
export declare function toGradedTraceRow(rec: EvolveTraceRecord, opts: { agentId: string; ts: string; source?: string }): GradedTraceRow;
|
|
85
93
|
|
|
@@ -101,6 +109,7 @@ export declare function makeSeedGate(seed: EvolveSeed): Gate;
|
|
|
101
109
|
export interface AccrueStepResult {
|
|
102
110
|
target: string;
|
|
103
111
|
rows: GradedTraceRow[];
|
|
112
|
+
receipt: EvolveReceipt;
|
|
104
113
|
}
|
|
105
114
|
/** Run ONE gated evolution step over a single portfolio seed (round-robin by `tick`)
|
|
106
115
|
* and return graded REC-SHAPE rows — the unit an autonomous idle loop calls per tick. */
|
package/dist/evolution/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { CORPUS_PORTFOLIO, accrueOneStep, dedupRows, makeOllamaProposer, makeSeedGate, makeWasmCompilerFitnessGate, parsesClean, runEvolution, scoreWasmCompilerArtifact, toGradedTraceRow, wasmFitnessBaselineFromScenario } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { CORPUS_PORTFOLIO, accrueOneStep, dedupRows, makeOllamaProposer, makeOpenAICompatibleProposer, makeSeedGate, makeWasmCompilerFitnessGate, parsesClean, runEvolution, scoreWasmCompilerArtifact, toGradedTraceRow, wasmFitnessBaselineFromScenario } from '../chunk-G6EKZHXY.js';
|
|
2
|
+
import '../chunk-U3D4SYQ5.js';
|
|
3
3
|
import '../chunk-FHVPN7BN.js';
|
|
4
4
|
import '../chunk-SYTRBGDS.js';
|
|
5
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-FRSKLX6I.js';
|
|
6
6
|
import '../chunk-CP7V3ATL.js';
|
|
7
7
|
import '../chunk-UNMVGZVW.js';
|
|
8
|
-
import '../chunk-
|
|
8
|
+
import '../chunk-FWKEY4LD.js';
|
|
9
9
|
import '../chunk-2EGGAZT3.js';
|
|
10
10
|
import '../chunk-YW3I2FQL.js';
|
|
11
11
|
import '../chunk-7I74JWPW.js';
|