@holoscript/core 8.0.12 → 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.
Files changed (46) hide show
  1. package/dist/{HoloCompositionParser-3XEC7IJC.cjs → HoloCompositionParser-6GW2BZID.cjs} +3 -3
  2. package/dist/{HoloCompositionParser-FLBZKFD3.js → HoloCompositionParser-P4Y3CXKQ.js} +3 -3
  3. package/dist/{HoloScriptPlusParser-55AY4MUF.js → HoloScriptPlusParser-HQV6IJAH.js} +4 -4
  4. package/dist/{HoloScriptPlusParser-RNUCHOAJ.cjs → HoloScriptPlusParser-RFNHRMPE.cjs} +7 -7
  5. package/dist/{chunk-Z4IUBW46.js → chunk-A4OOLBZD.js} +111 -54
  6. package/dist/{chunk-TYNRXRHF.js → chunk-DJ5BNRIS.js} +30 -9
  7. package/dist/{chunk-G3BM3CT4.cjs → chunk-DVHZD5HV.cjs} +5 -5
  8. package/dist/{chunk-7NPZZZD7.js → chunk-FRSKLX6I.js} +8 -4
  9. package/dist/{chunk-JBYBMBMW.js → chunk-FWKEY4LD.js} +3 -2
  10. package/dist/{chunk-USOUXQYD.js → chunk-G6EKZHXY.js} +129 -21
  11. package/dist/{chunk-QX34ELJ7.js → chunk-G72754QB.js} +3 -3
  12. package/dist/{chunk-OMNHTCS4.cjs → chunk-LHUDAJQT.cjs} +3 -2
  13. package/dist/{chunk-KEYG7HGY.js → chunk-ONPVM4IV.js} +163 -3
  14. package/dist/{chunk-RMOEL2GD.cjs → chunk-PXVAPGTR.cjs} +31 -10
  15. package/dist/{chunk-656IAS7B.cjs → chunk-Q4K2GEMW.cjs} +10 -6
  16. package/dist/{chunk-VO52AJD5.js → chunk-RVNXBF2M.js} +3 -3
  17. package/dist/{chunk-7N63JHUN.cjs → chunk-RZ2EPXO3.cjs} +3 -3
  18. package/dist/{chunk-5H5GFBMG.cjs → chunk-SQAAWO4V.cjs} +111 -54
  19. package/dist/{chunk-W2GA3EQB.cjs → chunk-TC7JEO6R.cjs} +163 -3
  20. package/dist/{chunk-TX6ZBIF4.js → chunk-U3D4SYQ5.js} +3 -3
  21. package/dist/{chunk-EI5G5JLY.cjs → chunk-XF63CZ7E.cjs} +133 -21
  22. package/dist/{chunk-3KMANSQJ.cjs → chunk-Y57AVOM2.cjs} +4 -4
  23. package/dist/cli/holoscript-runner.cjs +9 -9
  24. package/dist/cli/holoscript-runner.js +2 -2
  25. package/dist/compiler/incremental.cjs +6 -6
  26. package/dist/compiler/incremental.js +1 -1
  27. package/dist/compiler/index.cjs +84 -84
  28. package/dist/compiler/index.js +5 -5
  29. package/dist/compiler/webgpu.cjs +3 -3
  30. package/dist/compiler/webgpu.js +2 -2
  31. package/dist/constants.cjs +3 -3
  32. package/dist/constants.js +1 -1
  33. package/dist/entries/scripting.cjs +1 -1
  34. package/dist/entries/scripting.js +1 -1
  35. package/dist/evolution/index.cjs +19 -15
  36. package/dist/evolution/index.d.ts +9 -0
  37. package/dist/evolution/index.js +4 -4
  38. package/dist/index.cjs +196 -180
  39. package/dist/index.js +15 -15
  40. package/dist/parser.cjs +13 -13
  41. package/dist/parser.js +3 -3
  42. package/dist/reconstruction/index.cjs +38 -38
  43. package/dist/reconstruction/index.js +2 -2
  44. package/dist/traits/index.cjs +4 -4
  45. package/dist/traits/index.js +1 -1
  46. 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. */
@@ -1,11 +1,11 @@
1
- export { CORPUS_PORTFOLIO, accrueOneStep, dedupRows, makeOllamaProposer, makeSeedGate, makeWasmCompilerFitnessGate, parsesClean, runEvolution, scoreWasmCompilerArtifact, toGradedTraceRow, wasmFitnessBaselineFromScenario } from '../chunk-USOUXQYD.js';
2
- import '../chunk-TX6ZBIF4.js';
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-7NPZZZD7.js';
5
+ import '../chunk-FRSKLX6I.js';
6
6
  import '../chunk-CP7V3ATL.js';
7
7
  import '../chunk-UNMVGZVW.js';
8
- import '../chunk-JBYBMBMW.js';
8
+ import '../chunk-FWKEY4LD.js';
9
9
  import '../chunk-2EGGAZT3.js';
10
10
  import '../chunk-YW3I2FQL.js';
11
11
  import '../chunk-7I74JWPW.js';