Releases: scenesystems/theoria
effect-text@0.2.0
Minor Changes
- #23
ee3ebecThanks @aridyckovsky! - Adds prepared text handles, richer layout APIs, browser helpers, and experimental calibration tools.- adds prepared text handles and expands the pure layout API with cursor stepping, streaming line projection, variable-width layout, fit-vs-paint handling, and width-only reprojection
- improves Unicode and line breaking with deterministic segmentation fallback, bidi visual ordering, mirrored punctuation, and overflow precedence of
hard-break -> soft-hyphen -> dictionary-hyphen -> explicit-break -> grapheme-fallback - adds dictionary hyphenation for
en-us,en-gb,de,fr, andes, including locale fallback and explicit soft-hyphen precedence - adds
effect-text/browserwith canvas measurement layers, font-readiness helpers, support-manifest data, parity utilities, and checked-in parity artifacts forcanvas-monospaceandcanvas-system-ui - adds
effect-text/reacthelpers for prepare identity and pure prepared-layout projection - expands
Experimental.Calibrationwith seededeffect-searchstudies,StudySnapshotartifacts, orderedStudyEventlogs, canonical calibration fixtures, andeffect-math-backed scoring - refreshes the README, examples, and generated docs to match the new browser, React, hyphenation, and calibration features
Patch Changes
- Updated dependencies [
ee3ebec]:- effect-math@0.2.1
- effect-search@0.2.1
effect-math@0.2.1
Patch Changes
- #23
ee3ebecThanks @aridyckovsky! - AddsStatistics.summaryStatistics(values)for non-empty chunks.- returns the existing
SummaryStatisticstagged class in one pass - treats singleton chunks deterministically with zero variance and standard deviation
- includes tests to keep its results aligned with the validated and runtime-policy variants
- returns the existing
effect-inference@0.1.0
Minor Changes
- #25
6d68855Thanks @aridyckovsky! - Addseffect-inference, an Effect-native provider-blind inference substrate for text and embeddings runtimes.- adds schema-owned runtime descriptors for requested runtime, resolved route, resolved runtime, and replay-safe runtime evidence
- adds stable route-family support for
OpenAiCompatible,OpenAiResponses,AnthropicMessages, andHuggingFace - adds live runtime helpers for Hugging Face, config-driven hosted-provider helpers, and embeddings-capable resolution
- adds
effect-inference/Testingfixtures and helpers for downstream package contract tests - documents explicit
v0.1non-goals around Scene-specific policy, native-root runtime families, and multimodal lanes
effect-search@0.2.1
Patch Changes
- #21
1f68eccThanks @aridyckovsky! - Fix stream bridge completion delivery for merged consumers and preserve tail events emitted at stream shutdown boundaries.
effect-text@0.1.0
Minor Changes
-
#18
78aa684Thanks @aridyckovsky! - Initial release ofeffect-text— Effect-native text preparation and greedy multiline layout, inspired by pretext.Core prepare/layout split:
Text.prepare— effectful compilation of raw input into an opaquePreparedTexthandle through explicit segmentation, measurement cache, and engine-profile servicesText.layout/Text.layoutLines— pure summary and line materialization, safe to call on every resize with zero service dependenciesText.layoutLinesWith— per-line width resolution for obstacle-aware layoutText.layoutNextLine/Text.streamLines— cursor stepping andStreamprojection over prepared textText.prepareUnknown— schema-validated boundary helper for unknown input
Services and layers:
Contracts.WordSegmenter,Contracts.TextMeasurer,Contracts.MeasurementCache,Contracts.EngineProfile— stable runtime seams for segmentation, measurement, caching, and engine quirksText.TextLayoutLive— composed deterministic default layer suitable for tests and server contextsText.CanvasTextMeasurerLive— additive browser canvas measurement with optional emoji correction probe- Individual layers (
WordSegmenterLive,TextMeasurerLive,EngineProfileLive,MeasurementCacheLive) for custom wiring
Typed errors:
MeasurementFailedandTextLayoutDecodeErrorwith tagged error channels
Experimental calibration:
Experimental.Calibration.evaluateProfile— typed calibration corpus evaluation against candidate engine profilesExperimental.Calibration.optimizeProfile—effect-search-driven optimization loop over candidate profilesExperimental.Calibration.makeProfileSearchSpace— default search space construction for engine-profile tuning
Patch Changes
effect-search@0.2.0
Minor Changes
-
#17
020ea82Thanks @aridyckovsky! - Add advanced continuous samplers toeffect-searchwith newSampler.cmaEs()andSampler.gpBo()constructors.This release expands sampler taxonomy/checkpoint schemas (
CmaEsandGpBo), adds typed sampler compatibility errors (SamplerSearchSpaceUnsupported,SamplerObjectiveUnsupported), supports snapshot/resume validation for the new samplers, and ships deterministic fixture-backed + integration coverage for advanced sampler execution.Documentation and examples now include advanced-sampler guidance and continuous-space comparison coverage.
Patch Changes
-
#17
020ea82Thanks @aridyckovsky! - Harden advanced sampler determinism and shared SQL cache integration ineffect-search.- preserve GP-BO deterministic replay by consuming seeded RNG draws only for Thompson sampling and by reusing a single Cholesky factor during posterior construction
- replace the SQLite-runtime-specific
SchemaCacheSqlitehelper withSchemaCacheSql, which accepts a caller-provided SQLite-compatibleSqlClientlayer for shared cache storage - keep advanced sampler fixture verification wired into the committed Optuna parity suite so cache and sampler regressions are caught together
-
#17
020ea82Thanks @aridyckovsky! - Reduce hot-path TPE overhead ineffect-searchso deterministic optimization stays within local test budgets.- remove per-candidate Effect wrapper overhead from the univariate float and int TPE trace builders
- reduce continuous Parzen sampling and density overhead by reusing kernel parameter objects in the hot path
- route continuous Parzen and multivariate Gaussian log-density aggregation through the shared
effect-mathlogSumExpauthority so the sampler stays aligned to the math source of truth
-
Updated dependencies [
774c14c,020ea82,020ea82,4651634,3c3e316]:- @scenesystems/digest@0.2.0
- effect-math@0.2.0
effect-math@0.2.0
Minor Changes
- #17
020ea82Thanks @aridyckovsky! - Expandeffect-math/Calculuswith limit-accurate differential operators and adaptive quadrature.- add Ridder-based derivative estimates with convergence metadata for first and second derivatives
- add multivariate operators including gradient, Jacobian, Hessian, directional derivative, divergence, and Laplacian, with validated and policy-aware counterparts
- add adaptive Simpson integration and extend fixture-backed calculus parity coverage to distinguish SciPy-backed quadrature expectations from analytic reference operators
Patch Changes
- #17
020ea82Thanks @aridyckovsky! - Harden numerical and maintenance correctness around advanced sampler math migration.effect-math: enforce SPD symmetry preconditions in linear solver kernels and add regression tests so non-symmetric matrices are rejected by Cholesky/SPD solve paths.effect-math: improve public API docstrings for solver and probability transform operations with clearer preconditions, failure semantics, and runnable examples.effect-math: normalize Numeric log-sum-exp naming to camelCase (logSumExp) across the public API, schema contracts, fixtures, and generated docs.
effect-dsp@0.1.4
Patch Changes
-
#17
020ea82Thanks @aridyckovsky! - Aligneffect-dspcache SQL wiring with the current shared cache surface fromeffect-search.- rename the exported SQL cache layer from
DspCacheSqlitetoDspCacheSql - delegate SQL-backed cache storage through
SchemaCacheSql, which now accepts a caller-provided SQLite-compatibleSqlClientlayer instead of a SQLite directory helper
- rename the exported SQL cache layer from
-
Updated dependencies [
020ea82,774c14c,020ea82,020ea82,020ea82,020ea82,4651634,3c3e316]:- effect-search@0.2.0
- @scenesystems/digest@0.2.0
- effect-math@0.2.0
@scenesystems/digest@0.2.0
Minor Changes
-
#16
4651634Thanks @aridyckovsky! - Add canonical JSON digest helper APIs for one-call RFC 8785 JCS + hash workflows.New exports include
digestCanonicalJsonBytes,digestCanonicalJsonBase64Url, anddigestCanonicalJsonHex, which preserve canonicalization error semantics while removing repeatedcanonicalize + utf8ToBytes + digestboilerplate. -
#15
3c3e316Thanks @aridyckovsky! - Add streaming digest APIs for chunked hashing workflows in Effect applications.New exports include
digestByteStream,digestUtf8Stream,digestUtf8StreamBase64Url,digestUtf8StreamHex,digestByteStreamBase64Url, anddigestByteStreamHex, enabling incremental hashing overStreaminputs while preserving one-shot digest parity and encoded-output consistency.This release also adds
DigestStreamingandDigestStreamingLiveso streaming helpers can be injected via Effect layers, and ensures repeated execution of the same streaming digest effect remains safe.
Patch Changes
- #13
774c14cThanks @aridyckovsky! - Improve digest fixture governance and conformance coverage with deterministic fixture lifecycle tooling, external vector provenance validation, runtime parity fixtures, and clearer mismatch diagnostics for conformance failures.
effect-search@0.1.3
Patch Changes
-
#11
7de6c02Thanks @aridyckovsky! - fix: resolve workspace: protocol deps to real semver in dist/package.json at build timebuild-utils pack-v3copiesworkspace:^dependencies verbatim intodist/package.json,
andchangeset publish(which callsnpm publishinternally) does not rewrite them. This
made published packages uninstallable outside the monorepo.Adds
scripts/resolve-workspace-deps.tswhich runs after all per-package builds, reads each
workspace package's actual version, and rewritesworkspace:^→^{version}(and~,*
variants) in everydist/package.json. Also supports--checkmode for CI verification.