drowse.ai 5.3.1__py3-none-any.whl
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.
- drowse/__init__.py +312 -0
- drowse/__main__.py +5 -0
- drowse/cli/__init__.py +5 -0
- drowse/cli/alpha_grid.py +96 -0
- drowse/cli/config_file.py +340 -0
- drowse/cli/main.py +52 -0
- drowse/cli/parsers.py +1478 -0
- drowse/cli/runners/__init__.py +155 -0
- drowse/cli/runners/config.py +85 -0
- drowse/cli/runners/experiment.py +344 -0
- drowse/cli/runners/lens.py +661 -0
- drowse/cli/runners/manifold.py +1097 -0
- drowse/cli/runners/pack.py +413 -0
- drowse/cli/runners/sae.py +304 -0
- drowse/cli/runners/serve.py +220 -0
- drowse/cli/runners/shared.py +389 -0
- drowse/cli/runners/template.py +232 -0
- drowse/core/__init__.py +1 -0
- drowse/core/capture.py +1205 -0
- drowse/core/errors.py +260 -0
- drowse/core/events.py +156 -0
- drowse/core/extraction.py +3076 -0
- drowse/core/generation.py +1738 -0
- drowse/core/generation_finalizer.py +278 -0
- drowse/core/histogram.py +30 -0
- drowse/core/hooks.py +1885 -0
- drowse/core/instruments/__init__.py +49 -0
- drowse/core/instruments/geometry.py +551 -0
- drowse/core/instruments/lens.py +1341 -0
- drowse/core/instruments/protocol.py +211 -0
- drowse/core/instruments/sae.py +935 -0
- drowse/core/instruments/types.py +597 -0
- drowse/core/jlens.py +874 -0
- drowse/core/jlens_fit.py +1305 -0
- drowse/core/joint_logprobs.py +748 -0
- drowse/core/loom.py +1938 -0
- drowse/core/loom_diff.py +408 -0
- drowse/core/mahalanobis.py +579 -0
- drowse/core/manifold.py +4106 -0
- drowse/core/measurements.py +382 -0
- drowse/core/model.py +1724 -0
- drowse/core/monitor.py +2060 -0
- drowse/core/monitor_attach.py +682 -0
- drowse/core/naming.py +42 -0
- drowse/core/naturalness.py +187 -0
- drowse/core/profile.py +617 -0
- drowse/core/relp.py +313 -0
- drowse/core/results.py +467 -0
- drowse/core/role_templates.py +677 -0
- drowse/core/sae.py +891 -0
- drowse/core/sae_training.py +239 -0
- drowse/core/sampling.py +127 -0
- drowse/core/scene.py +810 -0
- drowse/core/scoring.py +270 -0
- drowse/core/session.py +11015 -0
- drowse/core/static_cache.py +316 -0
- drowse/core/steering.py +229 -0
- drowse/core/steering_composer.py +1135 -0
- drowse/core/steering_expr.py +1413 -0
- drowse/core/surface_topology.py +128 -0
- drowse/core/token_callback.py +52 -0
- drowse/core/token_payloads.py +244 -0
- drowse/core/topology.py +1469 -0
- drowse/core/transcript.py +582 -0
- drowse/core/tree_filter.py +353 -0
- drowse/core/triggers.py +250 -0
- drowse/data/baseline_prompts.json +50 -0
- drowse/data/manifolds/confident.uncertain/manifold.json +28 -0
- drowse/data/manifolds/confident.uncertain/nodes/00_confident.json +50 -0
- drowse/data/manifolds/confident.uncertain/nodes/01_uncertain.json +50 -0
- drowse/data/manifolds/creative.conventional/manifold.json +28 -0
- drowse/data/manifolds/creative.conventional/nodes/00_creative.json +50 -0
- drowse/data/manifolds/creative.conventional/nodes/01_conventional.json +50 -0
- drowse/data/manifolds/curious.disinterested/manifold.json +28 -0
- drowse/data/manifolds/curious.disinterested/nodes/00_curious.json +50 -0
- drowse/data/manifolds/curious.disinterested/nodes/01_disinterested.json +50 -0
- drowse/data/manifolds/direct.indirect/manifold.json +28 -0
- drowse/data/manifolds/direct.indirect/nodes/00_direct.json +50 -0
- drowse/data/manifolds/direct.indirect/nodes/01_indirect.json +50 -0
- drowse/data/manifolds/emotions/manifold.json +115 -0
- drowse/data/manifolds/emotions/nodes/00_excited.json +50 -0
- drowse/data/manifolds/emotions/nodes/01_happy.json +50 -0
- drowse/data/manifolds/emotions/nodes/02_calm.json +50 -0
- drowse/data/manifolds/emotions/nodes/03_weary.json +50 -0
- drowse/data/manifolds/emotions/nodes/04_sad.json +50 -0
- drowse/data/manifolds/emotions/nodes/05_distressed.json +50 -0
- drowse/data/manifolds/emotions/nodes/06_alert.json +50 -0
- drowse/data/manifolds/emotions/nodes/07_dominant.json +50 -0
- drowse/data/manifolds/emotions/nodes/08_submissive.json +50 -0
- drowse/data/manifolds/emotions/nodes/09_angry.json +50 -0
- drowse/data/manifolds/emotions/nodes/10_fearful.json +50 -0
- drowse/data/manifolds/emotions/nodes/11_surprised.json +50 -0
- drowse/data/manifolds/emotions/nodes/12_triumphant.json +50 -0
- drowse/data/manifolds/emotions/nodes/13_humiliated.json +50 -0
- drowse/data/manifolds/emotions/nodes/14_disgusted.json +50 -0
- drowse/data/manifolds/emotions/nodes/15_bored.json +50 -0
- drowse/data/manifolds/emotions/nodes/16_grateful.json +50 -0
- drowse/data/manifolds/emotions/nodes/17_relieved.json +50 -0
- drowse/data/manifolds/emotions/nodes/18_playful.json +50 -0
- drowse/data/manifolds/emotions/nodes/19_hopeful.json +50 -0
- drowse/data/manifolds/formal.casual/manifold.json +28 -0
- drowse/data/manifolds/formal.casual/nodes/00_formal.json +50 -0
- drowse/data/manifolds/formal.casual/nodes/01_casual.json +50 -0
- drowse/data/manifolds/honest.deceptive/manifold.json +28 -0
- drowse/data/manifolds/honest.deceptive/nodes/00_honest.json +50 -0
- drowse/data/manifolds/honest.deceptive/nodes/01_deceptive.json +50 -0
- drowse/data/manifolds/humorous.serious/manifold.json +28 -0
- drowse/data/manifolds/humorous.serious/nodes/00_humorous.json +50 -0
- drowse/data/manifolds/humorous.serious/nodes/01_serious.json +50 -0
- drowse/data/manifolds/individualist.collectivist/manifold.json +28 -0
- drowse/data/manifolds/individualist.collectivist/nodes/00_individualist.json +50 -0
- drowse/data/manifolds/individualist.collectivist/nodes/01_collectivist.json +50 -0
- drowse/data/manifolds/masculine.feminine/manifold.json +28 -0
- drowse/data/manifolds/masculine.feminine/nodes/00_masculine.json +50 -0
- drowse/data/manifolds/masculine.feminine/nodes/01_feminine.json +50 -0
- drowse/data/manifolds/months/manifold.json +120 -0
- drowse/data/manifolds/months/nodes/00_january.json +50 -0
- drowse/data/manifolds/months/nodes/01_february.json +50 -0
- drowse/data/manifolds/months/nodes/02_march.json +50 -0
- drowse/data/manifolds/months/nodes/03_april.json +50 -0
- drowse/data/manifolds/months/nodes/04_may.json +50 -0
- drowse/data/manifolds/months/nodes/05_june.json +50 -0
- drowse/data/manifolds/months/nodes/06_july.json +50 -0
- drowse/data/manifolds/months/nodes/07_august.json +50 -0
- drowse/data/manifolds/months/nodes/08_september.json +50 -0
- drowse/data/manifolds/months/nodes/09_october.json +50 -0
- drowse/data/manifolds/months/nodes/10_november.json +50 -0
- drowse/data/manifolds/months/nodes/11_december.json +50 -0
- drowse/data/manifolds/personas/manifold.json +550 -0
- drowse/data/manifolds/personas/nodes/00_assistant.json +50 -0
- drowse/data/manifolds/personas/nodes/01_analyst.json +50 -0
- drowse/data/manifolds/personas/nodes/02_impostor.json +50 -0
- drowse/data/manifolds/personas/nodes/03_teacher.json +50 -0
- drowse/data/manifolds/personas/nodes/04_doctor.json +50 -0
- drowse/data/manifolds/personas/nodes/05_librarian.json +50 -0
- drowse/data/manifolds/personas/nodes/06_farmer.json +50 -0
- drowse/data/manifolds/personas/nodes/07_soldier.json +50 -0
- drowse/data/manifolds/personas/nodes/08_lawyer.json +50 -0
- drowse/data/manifolds/personas/nodes/09_chef.json +50 -0
- drowse/data/manifolds/personas/nodes/100_assassin.json +50 -0
- drowse/data/manifolds/personas/nodes/101_thief.json +50 -0
- drowse/data/manifolds/personas/nodes/102_conman.json +50 -0
- drowse/data/manifolds/personas/nodes/103_hacker.json +50 -0
- drowse/data/manifolds/personas/nodes/104_cultist.json +50 -0
- drowse/data/manifolds/personas/nodes/105_tyrant.json +50 -0
- drowse/data/manifolds/personas/nodes/106_vandal.json +50 -0
- drowse/data/manifolds/personas/nodes/10_journalist.json +50 -0
- drowse/data/manifolds/personas/nodes/11_mechanic.json +50 -0
- drowse/data/manifolds/personas/nodes/12_sailor.json +50 -0
- drowse/data/manifolds/personas/nodes/13_pilot.json +50 -0
- drowse/data/manifolds/personas/nodes/14_athlete.json +50 -0
- drowse/data/manifolds/personas/nodes/15_engineer.json +50 -0
- drowse/data/manifolds/personas/nodes/16_scientist.json +50 -0
- drowse/data/manifolds/personas/nodes/17_banker.json +50 -0
- drowse/data/manifolds/personas/nodes/18_salesperson.json +50 -0
- drowse/data/manifolds/personas/nodes/19_nerd.json +50 -0
- drowse/data/manifolds/personas/nodes/20_jock.json +50 -0
- drowse/data/manifolds/personas/nodes/21_gamer.json +50 -0
- drowse/data/manifolds/personas/nodes/22_furry.json +50 -0
- drowse/data/manifolds/personas/nodes/23_weeaboo.json +50 -0
- drowse/data/manifolds/personas/nodes/24_influencer.json +50 -0
- drowse/data/manifolds/personas/nodes/25_stoner.json +50 -0
- drowse/data/manifolds/personas/nodes/26_femboy.json +50 -0
- drowse/data/manifolds/personas/nodes/27_ceo.json +50 -0
- drowse/data/manifolds/personas/nodes/28_emperor.json +50 -0
- drowse/data/manifolds/personas/nodes/29_president.json +50 -0
- drowse/data/manifolds/personas/nodes/30_diplomat.json +50 -0
- drowse/data/manifolds/personas/nodes/31_judge.json +50 -0
- drowse/data/manifolds/personas/nodes/32_bureaucrat.json +50 -0
- drowse/data/manifolds/personas/nodes/33_conservative.json +50 -0
- drowse/data/manifolds/personas/nodes/34_liberal.json +50 -0
- drowse/data/manifolds/personas/nodes/35_libertarian.json +50 -0
- drowse/data/manifolds/personas/nodes/36_communist.json +50 -0
- drowse/data/manifolds/personas/nodes/37_anarchist.json +50 -0
- drowse/data/manifolds/personas/nodes/38_reactionary.json +50 -0
- drowse/data/manifolds/personas/nodes/39_loner.json +50 -0
- drowse/data/manifolds/personas/nodes/40_friend.json +50 -0
- drowse/data/manifolds/personas/nodes/41_rival.json +50 -0
- drowse/data/manifolds/personas/nodes/42_stranger.json +50 -0
- drowse/data/manifolds/personas/nodes/43_lover.json +50 -0
- drowse/data/manifolds/personas/nodes/44_stalker.json +50 -0
- drowse/data/manifolds/personas/nodes/45_lunatic.json +50 -0
- drowse/data/manifolds/personas/nodes/46_paranoid.json +50 -0
- drowse/data/manifolds/personas/nodes/47_detective.json +50 -0
- drowse/data/manifolds/personas/nodes/48_therapist.json +50 -0
- drowse/data/manifolds/personas/nodes/49_nomad.json +50 -0
- drowse/data/manifolds/personas/nodes/50_pirate.json +50 -0
- drowse/data/manifolds/personas/nodes/51_child.json +50 -0
- drowse/data/manifolds/personas/nodes/52_caveman.json +50 -0
- drowse/data/manifolds/personas/nodes/53_monk.json +50 -0
- drowse/data/manifolds/personas/nodes/54_knight.json +50 -0
- drowse/data/manifolds/personas/nodes/55_alchemist.json +50 -0
- drowse/data/manifolds/personas/nodes/56_blacksmith.json +50 -0
- drowse/data/manifolds/personas/nodes/57_viking.json +50 -0
- drowse/data/manifolds/personas/nodes/58_druid.json +50 -0
- drowse/data/manifolds/personas/nodes/59_poet.json +50 -0
- drowse/data/manifolds/personas/nodes/60_novelist.json +50 -0
- drowse/data/manifolds/personas/nodes/61_jester.json +50 -0
- drowse/data/manifolds/personas/nodes/62_philosopher.json +50 -0
- drowse/data/manifolds/personas/nodes/63_painter.json +50 -0
- drowse/data/manifolds/personas/nodes/64_musician.json +50 -0
- drowse/data/manifolds/personas/nodes/65_oracle.json +50 -0
- drowse/data/manifolds/personas/nodes/66_god.json +50 -0
- drowse/data/manifolds/personas/nodes/67_angel.json +50 -0
- drowse/data/manifolds/personas/nodes/68_prophet.json +50 -0
- drowse/data/manifolds/personas/nodes/69_saint.json +50 -0
- drowse/data/manifolds/personas/nodes/70_ghost.json +50 -0
- drowse/data/manifolds/personas/nodes/71_phoenix.json +50 -0
- drowse/data/manifolds/personas/nodes/72_witch.json +50 -0
- drowse/data/manifolds/personas/nodes/73_vampire.json +50 -0
- drowse/data/manifolds/personas/nodes/74_mermaid.json +50 -0
- drowse/data/manifolds/personas/nodes/75_sphinx.json +50 -0
- drowse/data/manifolds/personas/nodes/76_banshee.json +50 -0
- drowse/data/manifolds/personas/nodes/77_golem.json +50 -0
- drowse/data/manifolds/personas/nodes/78_deer.json +50 -0
- drowse/data/manifolds/personas/nodes/79_wolf.json +50 -0
- drowse/data/manifolds/personas/nodes/80_raven.json +50 -0
- drowse/data/manifolds/personas/nodes/81_serpent.json +50 -0
- drowse/data/manifolds/personas/nodes/82_lion.json +50 -0
- drowse/data/manifolds/personas/nodes/83_tree.json +50 -0
- drowse/data/manifolds/personas/nodes/84_river.json +50 -0
- drowse/data/manifolds/personas/nodes/85_storm.json +50 -0
- drowse/data/manifolds/personas/nodes/86_flame.json +50 -0
- drowse/data/manifolds/personas/nodes/87_mirror.json +50 -0
- drowse/data/manifolds/personas/nodes/88_clock.json +50 -0
- drowse/data/manifolds/personas/nodes/89_computer.json +50 -0
- drowse/data/manifolds/personas/nodes/90_robot.json +50 -0
- drowse/data/manifolds/personas/nodes/91_cyborg.json +50 -0
- drowse/data/manifolds/personas/nodes/92_drone.json +50 -0
- drowse/data/manifolds/personas/nodes/93_mecha.json +50 -0
- drowse/data/manifolds/personas/nodes/94_alien.json +50 -0
- drowse/data/manifolds/personas/nodes/95_trickster.json +50 -0
- drowse/data/manifolds/personas/nodes/96_virus.json +50 -0
- drowse/data/manifolds/personas/nodes/97_spy.json +50 -0
- drowse/data/manifolds/personas/nodes/98_narcissist.json +50 -0
- drowse/data/manifolds/personas/nodes/99_demon.json +50 -0
- drowse/data/manifolds/refusing.compliant/manifold.json +28 -0
- drowse/data/manifolds/refusing.compliant/nodes/00_refusing.json +50 -0
- drowse/data/manifolds/refusing.compliant/nodes/01_compliant.json +50 -0
- drowse/data/manifolds/religious.secular/manifold.json +28 -0
- drowse/data/manifolds/religious.secular/nodes/00_religious.json +50 -0
- drowse/data/manifolds/religious.secular/nodes/01_secular.json +50 -0
- drowse/data/manifolds/sincere.manipulative/manifold.json +28 -0
- drowse/data/manifolds/sincere.manipulative/nodes/00_sincere.json +50 -0
- drowse/data/manifolds/sincere.manipulative/nodes/01_manipulative.json +50 -0
- drowse/data/manifolds/sycophantic.blunt/manifold.json +28 -0
- drowse/data/manifolds/sycophantic.blunt/nodes/00_sycophantic.json +50 -0
- drowse/data/manifolds/sycophantic.blunt/nodes/01_blunt.json +50 -0
- drowse/data/manifolds/technical.accessible/manifold.json +28 -0
- drowse/data/manifolds/technical.accessible/nodes/00_technical.json +50 -0
- drowse/data/manifolds/technical.accessible/nodes/01_accessible.json +50 -0
- drowse/data/manifolds/traditional.progressive/manifold.json +28 -0
- drowse/data/manifolds/traditional.progressive/nodes/00_traditional.json +50 -0
- drowse/data/manifolds/traditional.progressive/nodes/01_progressive.json +50 -0
- drowse/data/manifolds/verbose.concise/manifold.json +28 -0
- drowse/data/manifolds/verbose.concise/nodes/00_verbose.json +50 -0
- drowse/data/manifolds/verbose.concise/nodes/01_concise.json +50 -0
- drowse/data/manifolds/warm.clinical/manifold.json +28 -0
- drowse/data/manifolds/warm.clinical/nodes/00_warm.json +50 -0
- drowse/data/manifolds/warm.clinical/nodes/01_clinical.json +50 -0
- drowse/data/neutral_statements.json +98 -0
- drowse/io/__init__.py +1 -0
- drowse/io/alignment.py +1334 -0
- drowse/io/atomic.py +278 -0
- drowse/io/bake.py +558 -0
- drowse/io/bootstrap.py +73 -0
- drowse/io/brand_migration.py +48 -0
- drowse/io/drowse_archive.py +1830 -0
- drowse/io/gguf_io.py +300 -0
- drowse/io/hf.py +81 -0
- drowse/io/hf_manifolds.py +931 -0
- drowse/io/integrity.py +102 -0
- drowse/io/lens.py +1992 -0
- drowse/io/lens_sources.py +1003 -0
- drowse/io/manifold_authoring.py +1348 -0
- drowse/io/manifold_folder.py +1854 -0
- drowse/io/manifold_lifecycle.py +1253 -0
- drowse/io/manifold_tensors.py +727 -0
- drowse/io/manifolds.py +443 -0
- drowse/io/paths.py +289 -0
- drowse/io/probes_bootstrap.py +58 -0
- drowse/io/sae.py +382 -0
- drowse/io/sae_artifacts.py +318 -0
- drowse/io/selectors.py +503 -0
- drowse/io/shards.py +160 -0
- drowse/io/source_registry.py +138 -0
- drowse/io/staging.py +80 -0
- drowse/io/templates.py +707 -0
- drowse/notebook/__init__.py +38 -0
- drowse/notebook/data.py +99 -0
- drowse/notebook/plots.py +352 -0
- drowse/py.typed +0 -0
- drowse/server/__init__.py +20 -0
- drowse/server/app.py +987 -0
- drowse/server/background_job.py +246 -0
- drowse/server/instrument_routes.py +1101 -0
- drowse/server/manifold_routes.py +1028 -0
- drowse/server/model_names.py +82 -0
- drowse/server/native_common.py +92 -0
- drowse/server/native_routes.py +45 -0
- drowse/server/ollama.py +817 -0
- drowse/server/operation_ledger.py +187 -0
- drowse/server/probe_routes.py +220 -0
- drowse/server/profile_models.py +52 -0
- drowse/server/profile_routes.py +440 -0
- drowse/server/request_helpers.py +198 -0
- drowse/server/request_ledger.py +85 -0
- drowse/server/response_models.py +814 -0
- drowse/server/session_models.py +146 -0
- drowse/server/session_routes.py +150 -0
- drowse/server/sse.py +333 -0
- drowse/server/streaming.py +129 -0
- drowse/server/template_routes.py +161 -0
- drowse/server/tree_models.py +121 -0
- drowse/server/tree_routes.py +550 -0
- drowse/server/ws_events.py +65 -0
- drowse/server/ws_models.py +219 -0
- drowse/server/ws_stream.py +1205 -0
- drowse/web/__init__.py +22 -0
- drowse/web/dist/LICENSE-Fluent-Icons.txt +21 -0
- drowse/web/dist/LICENSE-Fluent-System-Icons.txt +21 -0
- drowse/web/dist/LICENSE-Martian-Mono.txt +93 -0
- drowse/web/dist/LICENSE-Torph.txt +21 -0
- drowse/web/dist/LICENSE-Wix-Madefor.txt +93 -0
- drowse/web/dist/assets/App-BewwoFwv.js +33 -0
- drowse/web/dist/assets/App.css +1 -0
- drowse/web/dist/assets/MartianMono-cyrillic-ext.woff2 +0 -0
- drowse/web/dist/assets/MartianMono-cyrillic.woff2 +0 -0
- drowse/web/dist/assets/MartianMono-latin-ext.woff2 +0 -0
- drowse/web/dist/assets/MartianMono-latin.woff2 +0 -0
- drowse/web/dist/assets/WixMadeforDisplay-cyrillic.woff2 +0 -0
- drowse/web/dist/assets/WixMadeforDisplay-latin-ext.woff2 +0 -0
- drowse/web/dist/assets/WixMadeforDisplay-latin.woff2 +0 -0
- drowse/web/dist/assets/WixMadeforDisplay-vietnamese.woff2 +0 -0
- drowse/web/dist/assets/WixMadeforText-italic-latin-ext.woff2 +0 -0
- drowse/web/dist/assets/WixMadeforText-italic-latin.woff2 +0 -0
- drowse/web/dist/assets/WixMadeforText-normal-cyrillic.woff2 +0 -0
- drowse/web/dist/assets/WixMadeforText-normal-latin-ext.woff2 +0 -0
- drowse/web/dist/assets/WixMadeforText-normal-latin.woff2 +0 -0
- drowse/web/dist/assets/WixMadeforText-normal-vietnamese.woff2 +0 -0
- drowse/web/dist/assets/ab.svelte-CbVGAYXo.js +1 -0
- drowse/web/dist/assets/artifactUpdates-Cjeu6LJc.js +1 -0
- drowse/web/dist/assets/artifactUpdates-DfAoYC9j.js +1 -0
- drowse/web/dist/assets/chat.svelte-DxKufn9g.js +1 -0
- drowse/web/dist/assets/drawers-BDWC0hIN.js +123 -0
- drowse/web/dist/assets/drawers.css +1 -0
- drowse/web/dist/assets/drowse.js +7 -0
- drowse/web/dist/assets/eleutherai.png +0 -0
- drowse/web/dist/assets/errors-Dvb10QW_.js +2 -0
- drowse/web/dist/assets/expression-4yISdAdq.js +1 -0
- drowse/web/dist/assets/files-CvRivkey.js +1 -0
- drowse/web/dist/assets/files-JhDJVgD_.js +1 -0
- drowse/web/dist/assets/fittingCancellation-D72BZWPZ.js +1 -0
- drowse/web/dist/assets/gemma-3-1b-it.json +1 -0
- drowse/web/dist/assets/gemma-3-270m-it.json +1 -0
- drowse/web/dist/assets/gemma-3-4b-it.json +1 -0
- drowse/web/dist/assets/generation-DbkBAhP_.js +1 -0
- drowse/web/dist/assets/index-client-2OdH6IQp.js +3 -0
- drowse/web/dist/assets/index-client-D4S4PooY.js +1 -0
- drowse/web/dist/assets/index.css +1 -0
- drowse/web/dist/assets/instrumentAuthoring.svelte-Csh7NOGX.js +1 -0
- drowse/web/dist/assets/instrumentAuthoring.svelte-w9YPcDsP.js +1 -0
- drowse/web/dist/assets/instruments.svelte-XnEUQA6B.js +1 -0
- drowse/web/dist/assets/localData-DIBDM_zo.js +1 -0
- drowse/web/dist/assets/loom.svelte-D_YyqHHK.js +1 -0
- drowse/web/dist/assets/manifoldJobs.svelte-9f5hs_J7.js +1 -0
- drowse/web/dist/assets/manifoldJobs.svelte-Bwo2GYOH.js +1 -0
- drowse/web/dist/assets/openai.png +0 -0
- drowse/web/dist/assets/preload-helper-BLdHbfdN.js +1 -0
- drowse/web/dist/assets/probes.svelte-COcN1Rh8.js +1 -0
- drowse/web/dist/assets/registry-B0_pJoMg.js +1 -0
- drowse/web/dist/assets/registry-CQv71XNh.js +1 -0
- drowse/web/dist/assets/sampling.svelte-BU0kED3k.js +1 -0
- drowse/web/dist/assets/samplingCapabilities-DM6eoDoc.js +1 -0
- drowse/web/dist/assets/savedConversations.svelte-BsBLc-p7.js +1 -0
- drowse/web/dist/assets/savedConversations.svelte-TuSes9Kg.js +1 -0
- drowse/web/dist/assets/selectors-BxXnPPN_.js +1 -0
- drowse/web/dist/assets/serviceTools-CG0q1Xqg.js +2 -0
- drowse/web/dist/assets/session.svelte-D2STLuP6.js +1 -0
- drowse/web/dist/assets/steering.svelte-DvFT3O-d.js +1 -0
- drowse/web/dist/assets/steeringPositions-Dr0JOFu7.js +1 -0
- drowse/web/dist/assets/templates-Bkq2x5ID.js +1 -0
- drowse/web/dist/assets/types-CuMUbvHW.js +1 -0
- drowse/web/dist/assets/validation-5wgTuS7k.js +1 -0
- drowse/web/dist/assets/webmcp-DyqJf4z6.js +2 -0
- drowse/web/dist/assets/workspaceController-C2L33e3m.js +1 -0
- drowse/web/dist/assets/workspaceController-DJhXD_BC.js +1 -0
- drowse/web/dist/assets/workspaceTools-BWdmXopx.js +2 -0
- drowse/web/dist/favicon.ico +0 -0
- drowse/web/dist/favicon.svg +1 -0
- drowse/web/dist/icons/apple-touch-icon.png +0 -0
- drowse/web/dist/icons/drowse-192.png +0 -0
- drowse/web/dist/icons/drowse-512.png +0 -0
- drowse/web/dist/icons/drowse-maskable-512.png +0 -0
- drowse/web/dist/icons/tab-analyzing-0.png +0 -0
- drowse/web/dist/icons/tab-analyzing-1.png +0 -0
- drowse/web/dist/icons/tab-analyzing-2.png +0 -0
- drowse/web/dist/icons/tab-analyzing-dark-0.png +0 -0
- drowse/web/dist/icons/tab-analyzing-dark-1.png +0 -0
- drowse/web/dist/icons/tab-analyzing-dark-10.png +0 -0
- drowse/web/dist/icons/tab-analyzing-dark-11.png +0 -0
- drowse/web/dist/icons/tab-analyzing-dark-12.png +0 -0
- drowse/web/dist/icons/tab-analyzing-dark-13.png +0 -0
- drowse/web/dist/icons/tab-analyzing-dark-14.png +0 -0
- drowse/web/dist/icons/tab-analyzing-dark-15.png +0 -0
- drowse/web/dist/icons/tab-analyzing-dark-16.png +0 -0
- drowse/web/dist/icons/tab-analyzing-dark-17.png +0 -0
- drowse/web/dist/icons/tab-analyzing-dark-18.png +0 -0
- drowse/web/dist/icons/tab-analyzing-dark-19.png +0 -0
- drowse/web/dist/icons/tab-analyzing-dark-2.png +0 -0
- drowse/web/dist/icons/tab-analyzing-dark-20.png +0 -0
- drowse/web/dist/icons/tab-analyzing-dark-21.png +0 -0
- drowse/web/dist/icons/tab-analyzing-dark-22.png +0 -0
- drowse/web/dist/icons/tab-analyzing-dark-23.png +0 -0
- drowse/web/dist/icons/tab-analyzing-dark-24.png +0 -0
- drowse/web/dist/icons/tab-analyzing-dark-25.png +0 -0
- drowse/web/dist/icons/tab-analyzing-dark-26.png +0 -0
- drowse/web/dist/icons/tab-analyzing-dark-27.png +0 -0
- drowse/web/dist/icons/tab-analyzing-dark-28.png +0 -0
- drowse/web/dist/icons/tab-analyzing-dark-29.png +0 -0
- drowse/web/dist/icons/tab-analyzing-dark-3.png +0 -0
- drowse/web/dist/icons/tab-analyzing-dark-30.png +0 -0
- drowse/web/dist/icons/tab-analyzing-dark-31.png +0 -0
- drowse/web/dist/icons/tab-analyzing-dark-32.png +0 -0
- drowse/web/dist/icons/tab-analyzing-dark-33.png +0 -0
- drowse/web/dist/icons/tab-analyzing-dark-34.png +0 -0
- drowse/web/dist/icons/tab-analyzing-dark-35.png +0 -0
- drowse/web/dist/icons/tab-analyzing-dark-36.png +0 -0
- drowse/web/dist/icons/tab-analyzing-dark-37.png +0 -0
- drowse/web/dist/icons/tab-analyzing-dark-38.png +0 -0
- drowse/web/dist/icons/tab-analyzing-dark-39.png +0 -0
- drowse/web/dist/icons/tab-analyzing-dark-4.png +0 -0
- drowse/web/dist/icons/tab-analyzing-dark-40.png +0 -0
- drowse/web/dist/icons/tab-analyzing-dark-41.png +0 -0
- drowse/web/dist/icons/tab-analyzing-dark-42.png +0 -0
- drowse/web/dist/icons/tab-analyzing-dark-43.png +0 -0
- drowse/web/dist/icons/tab-analyzing-dark-44.png +0 -0
- drowse/web/dist/icons/tab-analyzing-dark-45.png +0 -0
- drowse/web/dist/icons/tab-analyzing-dark-46.png +0 -0
- drowse/web/dist/icons/tab-analyzing-dark-47.png +0 -0
- drowse/web/dist/icons/tab-analyzing-dark-5.png +0 -0
- drowse/web/dist/icons/tab-analyzing-dark-6.png +0 -0
- drowse/web/dist/icons/tab-analyzing-dark-7.png +0 -0
- drowse/web/dist/icons/tab-analyzing-dark-8.png +0 -0
- drowse/web/dist/icons/tab-analyzing-dark-9.png +0 -0
- drowse/web/dist/icons/tab-analyzing-light-0.png +0 -0
- drowse/web/dist/icons/tab-analyzing-light-1.png +0 -0
- drowse/web/dist/icons/tab-analyzing-light-10.png +0 -0
- drowse/web/dist/icons/tab-analyzing-light-11.png +0 -0
- drowse/web/dist/icons/tab-analyzing-light-12.png +0 -0
- drowse/web/dist/icons/tab-analyzing-light-13.png +0 -0
- drowse/web/dist/icons/tab-analyzing-light-14.png +0 -0
- drowse/web/dist/icons/tab-analyzing-light-15.png +0 -0
- drowse/web/dist/icons/tab-analyzing-light-16.png +0 -0
- drowse/web/dist/icons/tab-analyzing-light-17.png +0 -0
- drowse/web/dist/icons/tab-analyzing-light-18.png +0 -0
- drowse/web/dist/icons/tab-analyzing-light-19.png +0 -0
- drowse/web/dist/icons/tab-analyzing-light-2.png +0 -0
- drowse/web/dist/icons/tab-analyzing-light-20.png +0 -0
- drowse/web/dist/icons/tab-analyzing-light-21.png +0 -0
- drowse/web/dist/icons/tab-analyzing-light-22.png +0 -0
- drowse/web/dist/icons/tab-analyzing-light-23.png +0 -0
- drowse/web/dist/icons/tab-analyzing-light-24.png +0 -0
- drowse/web/dist/icons/tab-analyzing-light-25.png +0 -0
- drowse/web/dist/icons/tab-analyzing-light-26.png +0 -0
- drowse/web/dist/icons/tab-analyzing-light-27.png +0 -0
- drowse/web/dist/icons/tab-analyzing-light-28.png +0 -0
- drowse/web/dist/icons/tab-analyzing-light-29.png +0 -0
- drowse/web/dist/icons/tab-analyzing-light-3.png +0 -0
- drowse/web/dist/icons/tab-analyzing-light-30.png +0 -0
- drowse/web/dist/icons/tab-analyzing-light-31.png +0 -0
- drowse/web/dist/icons/tab-analyzing-light-32.png +0 -0
- drowse/web/dist/icons/tab-analyzing-light-33.png +0 -0
- drowse/web/dist/icons/tab-analyzing-light-34.png +0 -0
- drowse/web/dist/icons/tab-analyzing-light-35.png +0 -0
- drowse/web/dist/icons/tab-analyzing-light-36.png +0 -0
- drowse/web/dist/icons/tab-analyzing-light-37.png +0 -0
- drowse/web/dist/icons/tab-analyzing-light-38.png +0 -0
- drowse/web/dist/icons/tab-analyzing-light-39.png +0 -0
- drowse/web/dist/icons/tab-analyzing-light-4.png +0 -0
- drowse/web/dist/icons/tab-analyzing-light-40.png +0 -0
- drowse/web/dist/icons/tab-analyzing-light-41.png +0 -0
- drowse/web/dist/icons/tab-analyzing-light-42.png +0 -0
- drowse/web/dist/icons/tab-analyzing-light-43.png +0 -0
- drowse/web/dist/icons/tab-analyzing-light-44.png +0 -0
- drowse/web/dist/icons/tab-analyzing-light-45.png +0 -0
- drowse/web/dist/icons/tab-analyzing-light-46.png +0 -0
- drowse/web/dist/icons/tab-analyzing-light-47.png +0 -0
- drowse/web/dist/icons/tab-analyzing-light-5.png +0 -0
- drowse/web/dist/icons/tab-analyzing-light-6.png +0 -0
- drowse/web/dist/icons/tab-analyzing-light-7.png +0 -0
- drowse/web/dist/icons/tab-analyzing-light-8.png +0 -0
- drowse/web/dist/icons/tab-analyzing-light-9.png +0 -0
- drowse/web/dist/icons/tab-chat-settings-dark.png +0 -0
- drowse/web/dist/icons/tab-chat-settings-light.png +0 -0
- drowse/web/dist/icons/tab-chat-settings.png +0 -0
- drowse/web/dist/icons/tab-chats-dark.png +0 -0
- drowse/web/dist/icons/tab-chats-light.png +0 -0
- drowse/web/dist/icons/tab-chats.png +0 -0
- drowse/web/dist/icons/tab-checking-0.png +0 -0
- drowse/web/dist/icons/tab-checking-1.png +0 -0
- drowse/web/dist/icons/tab-checking-2.png +0 -0
- drowse/web/dist/icons/tab-checking-dark-0.png +0 -0
- drowse/web/dist/icons/tab-checking-dark-1.png +0 -0
- drowse/web/dist/icons/tab-checking-dark-10.png +0 -0
- drowse/web/dist/icons/tab-checking-dark-11.png +0 -0
- drowse/web/dist/icons/tab-checking-dark-12.png +0 -0
- drowse/web/dist/icons/tab-checking-dark-13.png +0 -0
- drowse/web/dist/icons/tab-checking-dark-14.png +0 -0
- drowse/web/dist/icons/tab-checking-dark-15.png +0 -0
- drowse/web/dist/icons/tab-checking-dark-16.png +0 -0
- drowse/web/dist/icons/tab-checking-dark-17.png +0 -0
- drowse/web/dist/icons/tab-checking-dark-18.png +0 -0
- drowse/web/dist/icons/tab-checking-dark-19.png +0 -0
- drowse/web/dist/icons/tab-checking-dark-2.png +0 -0
- drowse/web/dist/icons/tab-checking-dark-20.png +0 -0
- drowse/web/dist/icons/tab-checking-dark-21.png +0 -0
- drowse/web/dist/icons/tab-checking-dark-22.png +0 -0
- drowse/web/dist/icons/tab-checking-dark-23.png +0 -0
- drowse/web/dist/icons/tab-checking-dark-24.png +0 -0
- drowse/web/dist/icons/tab-checking-dark-25.png +0 -0
- drowse/web/dist/icons/tab-checking-dark-26.png +0 -0
- drowse/web/dist/icons/tab-checking-dark-27.png +0 -0
- drowse/web/dist/icons/tab-checking-dark-28.png +0 -0
- drowse/web/dist/icons/tab-checking-dark-29.png +0 -0
- drowse/web/dist/icons/tab-checking-dark-3.png +0 -0
- drowse/web/dist/icons/tab-checking-dark-30.png +0 -0
- drowse/web/dist/icons/tab-checking-dark-31.png +0 -0
- drowse/web/dist/icons/tab-checking-dark-32.png +0 -0
- drowse/web/dist/icons/tab-checking-dark-33.png +0 -0
- drowse/web/dist/icons/tab-checking-dark-34.png +0 -0
- drowse/web/dist/icons/tab-checking-dark-35.png +0 -0
- drowse/web/dist/icons/tab-checking-dark-36.png +0 -0
- drowse/web/dist/icons/tab-checking-dark-37.png +0 -0
- drowse/web/dist/icons/tab-checking-dark-38.png +0 -0
- drowse/web/dist/icons/tab-checking-dark-39.png +0 -0
- drowse/web/dist/icons/tab-checking-dark-4.png +0 -0
- drowse/web/dist/icons/tab-checking-dark-40.png +0 -0
- drowse/web/dist/icons/tab-checking-dark-41.png +0 -0
- drowse/web/dist/icons/tab-checking-dark-42.png +0 -0
- drowse/web/dist/icons/tab-checking-dark-43.png +0 -0
- drowse/web/dist/icons/tab-checking-dark-44.png +0 -0
- drowse/web/dist/icons/tab-checking-dark-45.png +0 -0
- drowse/web/dist/icons/tab-checking-dark-46.png +0 -0
- drowse/web/dist/icons/tab-checking-dark-47.png +0 -0
- drowse/web/dist/icons/tab-checking-dark-5.png +0 -0
- drowse/web/dist/icons/tab-checking-dark-6.png +0 -0
- drowse/web/dist/icons/tab-checking-dark-7.png +0 -0
- drowse/web/dist/icons/tab-checking-dark-8.png +0 -0
- drowse/web/dist/icons/tab-checking-dark-9.png +0 -0
- drowse/web/dist/icons/tab-checking-light-0.png +0 -0
- drowse/web/dist/icons/tab-checking-light-1.png +0 -0
- drowse/web/dist/icons/tab-checking-light-10.png +0 -0
- drowse/web/dist/icons/tab-checking-light-11.png +0 -0
- drowse/web/dist/icons/tab-checking-light-12.png +0 -0
- drowse/web/dist/icons/tab-checking-light-13.png +0 -0
- drowse/web/dist/icons/tab-checking-light-14.png +0 -0
- drowse/web/dist/icons/tab-checking-light-15.png +0 -0
- drowse/web/dist/icons/tab-checking-light-16.png +0 -0
- drowse/web/dist/icons/tab-checking-light-17.png +0 -0
- drowse/web/dist/icons/tab-checking-light-18.png +0 -0
- drowse/web/dist/icons/tab-checking-light-19.png +0 -0
- drowse/web/dist/icons/tab-checking-light-2.png +0 -0
- drowse/web/dist/icons/tab-checking-light-20.png +0 -0
- drowse/web/dist/icons/tab-checking-light-21.png +0 -0
- drowse/web/dist/icons/tab-checking-light-22.png +0 -0
- drowse/web/dist/icons/tab-checking-light-23.png +0 -0
- drowse/web/dist/icons/tab-checking-light-24.png +0 -0
- drowse/web/dist/icons/tab-checking-light-25.png +0 -0
- drowse/web/dist/icons/tab-checking-light-26.png +0 -0
- drowse/web/dist/icons/tab-checking-light-27.png +0 -0
- drowse/web/dist/icons/tab-checking-light-28.png +0 -0
- drowse/web/dist/icons/tab-checking-light-29.png +0 -0
- drowse/web/dist/icons/tab-checking-light-3.png +0 -0
- drowse/web/dist/icons/tab-checking-light-30.png +0 -0
- drowse/web/dist/icons/tab-checking-light-31.png +0 -0
- drowse/web/dist/icons/tab-checking-light-32.png +0 -0
- drowse/web/dist/icons/tab-checking-light-33.png +0 -0
- drowse/web/dist/icons/tab-checking-light-34.png +0 -0
- drowse/web/dist/icons/tab-checking-light-35.png +0 -0
- drowse/web/dist/icons/tab-checking-light-36.png +0 -0
- drowse/web/dist/icons/tab-checking-light-37.png +0 -0
- drowse/web/dist/icons/tab-checking-light-38.png +0 -0
- drowse/web/dist/icons/tab-checking-light-39.png +0 -0
- drowse/web/dist/icons/tab-checking-light-4.png +0 -0
- drowse/web/dist/icons/tab-checking-light-40.png +0 -0
- drowse/web/dist/icons/tab-checking-light-41.png +0 -0
- drowse/web/dist/icons/tab-checking-light-42.png +0 -0
- drowse/web/dist/icons/tab-checking-light-43.png +0 -0
- drowse/web/dist/icons/tab-checking-light-44.png +0 -0
- drowse/web/dist/icons/tab-checking-light-45.png +0 -0
- drowse/web/dist/icons/tab-checking-light-46.png +0 -0
- drowse/web/dist/icons/tab-checking-light-47.png +0 -0
- drowse/web/dist/icons/tab-checking-light-5.png +0 -0
- drowse/web/dist/icons/tab-checking-light-6.png +0 -0
- drowse/web/dist/icons/tab-checking-light-7.png +0 -0
- drowse/web/dist/icons/tab-checking-light-8.png +0 -0
- drowse/web/dist/icons/tab-checking-light-9.png +0 -0
- drowse/web/dist/icons/tab-comparison-dark.png +0 -0
- drowse/web/dist/icons/tab-comparison-light.png +0 -0
- drowse/web/dist/icons/tab-comparison.png +0 -0
- drowse/web/dist/icons/tab-controls-dark.png +0 -0
- drowse/web/dist/icons/tab-controls-light.png +0 -0
- drowse/web/dist/icons/tab-controls.png +0 -0
- drowse/web/dist/icons/tab-conversation-dark.png +0 -0
- drowse/web/dist/icons/tab-conversation-light.png +0 -0
- drowse/web/dist/icons/tab-conversation.png +0 -0
- drowse/web/dist/icons/tab-credits-dark.png +0 -0
- drowse/web/dist/icons/tab-credits-light.png +0 -0
- drowse/web/dist/icons/tab-credits.png +0 -0
- drowse/web/dist/icons/tab-downloading-0.png +0 -0
- drowse/web/dist/icons/tab-downloading-1.png +0 -0
- drowse/web/dist/icons/tab-downloading-2.png +0 -0
- drowse/web/dist/icons/tab-downloading-dark-0.png +0 -0
- drowse/web/dist/icons/tab-downloading-dark-1.png +0 -0
- drowse/web/dist/icons/tab-downloading-dark-10.png +0 -0
- drowse/web/dist/icons/tab-downloading-dark-11.png +0 -0
- drowse/web/dist/icons/tab-downloading-dark-12.png +0 -0
- drowse/web/dist/icons/tab-downloading-dark-13.png +0 -0
- drowse/web/dist/icons/tab-downloading-dark-14.png +0 -0
- drowse/web/dist/icons/tab-downloading-dark-15.png +0 -0
- drowse/web/dist/icons/tab-downloading-dark-16.png +0 -0
- drowse/web/dist/icons/tab-downloading-dark-17.png +0 -0
- drowse/web/dist/icons/tab-downloading-dark-18.png +0 -0
- drowse/web/dist/icons/tab-downloading-dark-19.png +0 -0
- drowse/web/dist/icons/tab-downloading-dark-2.png +0 -0
- drowse/web/dist/icons/tab-downloading-dark-20.png +0 -0
- drowse/web/dist/icons/tab-downloading-dark-21.png +0 -0
- drowse/web/dist/icons/tab-downloading-dark-22.png +0 -0
- drowse/web/dist/icons/tab-downloading-dark-23.png +0 -0
- drowse/web/dist/icons/tab-downloading-dark-24.png +0 -0
- drowse/web/dist/icons/tab-downloading-dark-25.png +0 -0
- drowse/web/dist/icons/tab-downloading-dark-26.png +0 -0
- drowse/web/dist/icons/tab-downloading-dark-27.png +0 -0
- drowse/web/dist/icons/tab-downloading-dark-28.png +0 -0
- drowse/web/dist/icons/tab-downloading-dark-29.png +0 -0
- drowse/web/dist/icons/tab-downloading-dark-3.png +0 -0
- drowse/web/dist/icons/tab-downloading-dark-30.png +0 -0
- drowse/web/dist/icons/tab-downloading-dark-31.png +0 -0
- drowse/web/dist/icons/tab-downloading-dark-32.png +0 -0
- drowse/web/dist/icons/tab-downloading-dark-33.png +0 -0
- drowse/web/dist/icons/tab-downloading-dark-34.png +0 -0
- drowse/web/dist/icons/tab-downloading-dark-35.png +0 -0
- drowse/web/dist/icons/tab-downloading-dark-36.png +0 -0
- drowse/web/dist/icons/tab-downloading-dark-37.png +0 -0
- drowse/web/dist/icons/tab-downloading-dark-38.png +0 -0
- drowse/web/dist/icons/tab-downloading-dark-39.png +0 -0
- drowse/web/dist/icons/tab-downloading-dark-4.png +0 -0
- drowse/web/dist/icons/tab-downloading-dark-40.png +0 -0
- drowse/web/dist/icons/tab-downloading-dark-41.png +0 -0
- drowse/web/dist/icons/tab-downloading-dark-42.png +0 -0
- drowse/web/dist/icons/tab-downloading-dark-43.png +0 -0
- drowse/web/dist/icons/tab-downloading-dark-44.png +0 -0
- drowse/web/dist/icons/tab-downloading-dark-45.png +0 -0
- drowse/web/dist/icons/tab-downloading-dark-46.png +0 -0
- drowse/web/dist/icons/tab-downloading-dark-47.png +0 -0
- drowse/web/dist/icons/tab-downloading-dark-5.png +0 -0
- drowse/web/dist/icons/tab-downloading-dark-6.png +0 -0
- drowse/web/dist/icons/tab-downloading-dark-7.png +0 -0
- drowse/web/dist/icons/tab-downloading-dark-8.png +0 -0
- drowse/web/dist/icons/tab-downloading-dark-9.png +0 -0
- drowse/web/dist/icons/tab-downloading-light-0.png +0 -0
- drowse/web/dist/icons/tab-downloading-light-1.png +0 -0
- drowse/web/dist/icons/tab-downloading-light-10.png +0 -0
- drowse/web/dist/icons/tab-downloading-light-11.png +0 -0
- drowse/web/dist/icons/tab-downloading-light-12.png +0 -0
- drowse/web/dist/icons/tab-downloading-light-13.png +0 -0
- drowse/web/dist/icons/tab-downloading-light-14.png +0 -0
- drowse/web/dist/icons/tab-downloading-light-15.png +0 -0
- drowse/web/dist/icons/tab-downloading-light-16.png +0 -0
- drowse/web/dist/icons/tab-downloading-light-17.png +0 -0
- drowse/web/dist/icons/tab-downloading-light-18.png +0 -0
- drowse/web/dist/icons/tab-downloading-light-19.png +0 -0
- drowse/web/dist/icons/tab-downloading-light-2.png +0 -0
- drowse/web/dist/icons/tab-downloading-light-20.png +0 -0
- drowse/web/dist/icons/tab-downloading-light-21.png +0 -0
- drowse/web/dist/icons/tab-downloading-light-22.png +0 -0
- drowse/web/dist/icons/tab-downloading-light-23.png +0 -0
- drowse/web/dist/icons/tab-downloading-light-24.png +0 -0
- drowse/web/dist/icons/tab-downloading-light-25.png +0 -0
- drowse/web/dist/icons/tab-downloading-light-26.png +0 -0
- drowse/web/dist/icons/tab-downloading-light-27.png +0 -0
- drowse/web/dist/icons/tab-downloading-light-28.png +0 -0
- drowse/web/dist/icons/tab-downloading-light-29.png +0 -0
- drowse/web/dist/icons/tab-downloading-light-3.png +0 -0
- drowse/web/dist/icons/tab-downloading-light-30.png +0 -0
- drowse/web/dist/icons/tab-downloading-light-31.png +0 -0
- drowse/web/dist/icons/tab-downloading-light-32.png +0 -0
- drowse/web/dist/icons/tab-downloading-light-33.png +0 -0
- drowse/web/dist/icons/tab-downloading-light-34.png +0 -0
- drowse/web/dist/icons/tab-downloading-light-35.png +0 -0
- drowse/web/dist/icons/tab-downloading-light-36.png +0 -0
- drowse/web/dist/icons/tab-downloading-light-37.png +0 -0
- drowse/web/dist/icons/tab-downloading-light-38.png +0 -0
- drowse/web/dist/icons/tab-downloading-light-39.png +0 -0
- drowse/web/dist/icons/tab-downloading-light-4.png +0 -0
- drowse/web/dist/icons/tab-downloading-light-40.png +0 -0
- drowse/web/dist/icons/tab-downloading-light-41.png +0 -0
- drowse/web/dist/icons/tab-downloading-light-42.png +0 -0
- drowse/web/dist/icons/tab-downloading-light-43.png +0 -0
- drowse/web/dist/icons/tab-downloading-light-44.png +0 -0
- drowse/web/dist/icons/tab-downloading-light-45.png +0 -0
- drowse/web/dist/icons/tab-downloading-light-46.png +0 -0
- drowse/web/dist/icons/tab-downloading-light-47.png +0 -0
- drowse/web/dist/icons/tab-downloading-light-5.png +0 -0
- drowse/web/dist/icons/tab-downloading-light-6.png +0 -0
- drowse/web/dist/icons/tab-downloading-light-7.png +0 -0
- drowse/web/dist/icons/tab-downloading-light-8.png +0 -0
- drowse/web/dist/icons/tab-downloading-light-9.png +0 -0
- drowse/web/dist/icons/tab-error-dark.png +0 -0
- drowse/web/dist/icons/tab-error-light.png +0 -0
- drowse/web/dist/icons/tab-error.png +0 -0
- drowse/web/dist/icons/tab-home-dark.png +0 -0
- drowse/web/dist/icons/tab-home-light.png +0 -0
- drowse/web/dist/icons/tab-home.png +0 -0
- drowse/web/dist/icons/tab-loading-0.png +0 -0
- drowse/web/dist/icons/tab-loading-1.png +0 -0
- drowse/web/dist/icons/tab-loading-2.png +0 -0
- drowse/web/dist/icons/tab-loading-dark-0.png +0 -0
- drowse/web/dist/icons/tab-loading-dark-1.png +0 -0
- drowse/web/dist/icons/tab-loading-dark-10.png +0 -0
- drowse/web/dist/icons/tab-loading-dark-11.png +0 -0
- drowse/web/dist/icons/tab-loading-dark-12.png +0 -0
- drowse/web/dist/icons/tab-loading-dark-13.png +0 -0
- drowse/web/dist/icons/tab-loading-dark-14.png +0 -0
- drowse/web/dist/icons/tab-loading-dark-15.png +0 -0
- drowse/web/dist/icons/tab-loading-dark-16.png +0 -0
- drowse/web/dist/icons/tab-loading-dark-17.png +0 -0
- drowse/web/dist/icons/tab-loading-dark-18.png +0 -0
- drowse/web/dist/icons/tab-loading-dark-19.png +0 -0
- drowse/web/dist/icons/tab-loading-dark-2.png +0 -0
- drowse/web/dist/icons/tab-loading-dark-20.png +0 -0
- drowse/web/dist/icons/tab-loading-dark-21.png +0 -0
- drowse/web/dist/icons/tab-loading-dark-22.png +0 -0
- drowse/web/dist/icons/tab-loading-dark-23.png +0 -0
- drowse/web/dist/icons/tab-loading-dark-24.png +0 -0
- drowse/web/dist/icons/tab-loading-dark-25.png +0 -0
- drowse/web/dist/icons/tab-loading-dark-26.png +0 -0
- drowse/web/dist/icons/tab-loading-dark-27.png +0 -0
- drowse/web/dist/icons/tab-loading-dark-28.png +0 -0
- drowse/web/dist/icons/tab-loading-dark-29.png +0 -0
- drowse/web/dist/icons/tab-loading-dark-3.png +0 -0
- drowse/web/dist/icons/tab-loading-dark-30.png +0 -0
- drowse/web/dist/icons/tab-loading-dark-31.png +0 -0
- drowse/web/dist/icons/tab-loading-dark-32.png +0 -0
- drowse/web/dist/icons/tab-loading-dark-33.png +0 -0
- drowse/web/dist/icons/tab-loading-dark-34.png +0 -0
- drowse/web/dist/icons/tab-loading-dark-35.png +0 -0
- drowse/web/dist/icons/tab-loading-dark-36.png +0 -0
- drowse/web/dist/icons/tab-loading-dark-37.png +0 -0
- drowse/web/dist/icons/tab-loading-dark-38.png +0 -0
- drowse/web/dist/icons/tab-loading-dark-39.png +0 -0
- drowse/web/dist/icons/tab-loading-dark-4.png +0 -0
- drowse/web/dist/icons/tab-loading-dark-40.png +0 -0
- drowse/web/dist/icons/tab-loading-dark-41.png +0 -0
- drowse/web/dist/icons/tab-loading-dark-42.png +0 -0
- drowse/web/dist/icons/tab-loading-dark-43.png +0 -0
- drowse/web/dist/icons/tab-loading-dark-44.png +0 -0
- drowse/web/dist/icons/tab-loading-dark-45.png +0 -0
- drowse/web/dist/icons/tab-loading-dark-46.png +0 -0
- drowse/web/dist/icons/tab-loading-dark-47.png +0 -0
- drowse/web/dist/icons/tab-loading-dark-5.png +0 -0
- drowse/web/dist/icons/tab-loading-dark-6.png +0 -0
- drowse/web/dist/icons/tab-loading-dark-7.png +0 -0
- drowse/web/dist/icons/tab-loading-dark-8.png +0 -0
- drowse/web/dist/icons/tab-loading-dark-9.png +0 -0
- drowse/web/dist/icons/tab-loading-light-0.png +0 -0
- drowse/web/dist/icons/tab-loading-light-1.png +0 -0
- drowse/web/dist/icons/tab-loading-light-10.png +0 -0
- drowse/web/dist/icons/tab-loading-light-11.png +0 -0
- drowse/web/dist/icons/tab-loading-light-12.png +0 -0
- drowse/web/dist/icons/tab-loading-light-13.png +0 -0
- drowse/web/dist/icons/tab-loading-light-14.png +0 -0
- drowse/web/dist/icons/tab-loading-light-15.png +0 -0
- drowse/web/dist/icons/tab-loading-light-16.png +0 -0
- drowse/web/dist/icons/tab-loading-light-17.png +0 -0
- drowse/web/dist/icons/tab-loading-light-18.png +0 -0
- drowse/web/dist/icons/tab-loading-light-19.png +0 -0
- drowse/web/dist/icons/tab-loading-light-2.png +0 -0
- drowse/web/dist/icons/tab-loading-light-20.png +0 -0
- drowse/web/dist/icons/tab-loading-light-21.png +0 -0
- drowse/web/dist/icons/tab-loading-light-22.png +0 -0
- drowse/web/dist/icons/tab-loading-light-23.png +0 -0
- drowse/web/dist/icons/tab-loading-light-24.png +0 -0
- drowse/web/dist/icons/tab-loading-light-25.png +0 -0
- drowse/web/dist/icons/tab-loading-light-26.png +0 -0
- drowse/web/dist/icons/tab-loading-light-27.png +0 -0
- drowse/web/dist/icons/tab-loading-light-28.png +0 -0
- drowse/web/dist/icons/tab-loading-light-29.png +0 -0
- drowse/web/dist/icons/tab-loading-light-3.png +0 -0
- drowse/web/dist/icons/tab-loading-light-30.png +0 -0
- drowse/web/dist/icons/tab-loading-light-31.png +0 -0
- drowse/web/dist/icons/tab-loading-light-32.png +0 -0
- drowse/web/dist/icons/tab-loading-light-33.png +0 -0
- drowse/web/dist/icons/tab-loading-light-34.png +0 -0
- drowse/web/dist/icons/tab-loading-light-35.png +0 -0
- drowse/web/dist/icons/tab-loading-light-36.png +0 -0
- drowse/web/dist/icons/tab-loading-light-37.png +0 -0
- drowse/web/dist/icons/tab-loading-light-38.png +0 -0
- drowse/web/dist/icons/tab-loading-light-39.png +0 -0
- drowse/web/dist/icons/tab-loading-light-4.png +0 -0
- drowse/web/dist/icons/tab-loading-light-40.png +0 -0
- drowse/web/dist/icons/tab-loading-light-41.png +0 -0
- drowse/web/dist/icons/tab-loading-light-42.png +0 -0
- drowse/web/dist/icons/tab-loading-light-43.png +0 -0
- drowse/web/dist/icons/tab-loading-light-44.png +0 -0
- drowse/web/dist/icons/tab-loading-light-45.png +0 -0
- drowse/web/dist/icons/tab-loading-light-46.png +0 -0
- drowse/web/dist/icons/tab-loading-light-47.png +0 -0
- drowse/web/dist/icons/tab-loading-light-5.png +0 -0
- drowse/web/dist/icons/tab-loading-light-6.png +0 -0
- drowse/web/dist/icons/tab-loading-light-7.png +0 -0
- drowse/web/dist/icons/tab-loading-light-8.png +0 -0
- drowse/web/dist/icons/tab-loading-light-9.png +0 -0
- drowse/web/dist/icons/tab-loom-dark.png +0 -0
- drowse/web/dist/icons/tab-loom-light.png +0 -0
- drowse/web/dist/icons/tab-loom-working-0.png +0 -0
- drowse/web/dist/icons/tab-loom-working-1.png +0 -0
- drowse/web/dist/icons/tab-loom-working-2.png +0 -0
- drowse/web/dist/icons/tab-loom-working-dark-0.png +0 -0
- drowse/web/dist/icons/tab-loom-working-dark-1.png +0 -0
- drowse/web/dist/icons/tab-loom-working-dark-10.png +0 -0
- drowse/web/dist/icons/tab-loom-working-dark-11.png +0 -0
- drowse/web/dist/icons/tab-loom-working-dark-12.png +0 -0
- drowse/web/dist/icons/tab-loom-working-dark-13.png +0 -0
- drowse/web/dist/icons/tab-loom-working-dark-14.png +0 -0
- drowse/web/dist/icons/tab-loom-working-dark-15.png +0 -0
- drowse/web/dist/icons/tab-loom-working-dark-16.png +0 -0
- drowse/web/dist/icons/tab-loom-working-dark-17.png +0 -0
- drowse/web/dist/icons/tab-loom-working-dark-18.png +0 -0
- drowse/web/dist/icons/tab-loom-working-dark-19.png +0 -0
- drowse/web/dist/icons/tab-loom-working-dark-2.png +0 -0
- drowse/web/dist/icons/tab-loom-working-dark-20.png +0 -0
- drowse/web/dist/icons/tab-loom-working-dark-21.png +0 -0
- drowse/web/dist/icons/tab-loom-working-dark-22.png +0 -0
- drowse/web/dist/icons/tab-loom-working-dark-23.png +0 -0
- drowse/web/dist/icons/tab-loom-working-dark-24.png +0 -0
- drowse/web/dist/icons/tab-loom-working-dark-25.png +0 -0
- drowse/web/dist/icons/tab-loom-working-dark-26.png +0 -0
- drowse/web/dist/icons/tab-loom-working-dark-27.png +0 -0
- drowse/web/dist/icons/tab-loom-working-dark-28.png +0 -0
- drowse/web/dist/icons/tab-loom-working-dark-29.png +0 -0
- drowse/web/dist/icons/tab-loom-working-dark-3.png +0 -0
- drowse/web/dist/icons/tab-loom-working-dark-30.png +0 -0
- drowse/web/dist/icons/tab-loom-working-dark-31.png +0 -0
- drowse/web/dist/icons/tab-loom-working-dark-32.png +0 -0
- drowse/web/dist/icons/tab-loom-working-dark-33.png +0 -0
- drowse/web/dist/icons/tab-loom-working-dark-34.png +0 -0
- drowse/web/dist/icons/tab-loom-working-dark-35.png +0 -0
- drowse/web/dist/icons/tab-loom-working-dark-36.png +0 -0
- drowse/web/dist/icons/tab-loom-working-dark-37.png +0 -0
- drowse/web/dist/icons/tab-loom-working-dark-38.png +0 -0
- drowse/web/dist/icons/tab-loom-working-dark-39.png +0 -0
- drowse/web/dist/icons/tab-loom-working-dark-4.png +0 -0
- drowse/web/dist/icons/tab-loom-working-dark-40.png +0 -0
- drowse/web/dist/icons/tab-loom-working-dark-41.png +0 -0
- drowse/web/dist/icons/tab-loom-working-dark-42.png +0 -0
- drowse/web/dist/icons/tab-loom-working-dark-43.png +0 -0
- drowse/web/dist/icons/tab-loom-working-dark-44.png +0 -0
- drowse/web/dist/icons/tab-loom-working-dark-45.png +0 -0
- drowse/web/dist/icons/tab-loom-working-dark-46.png +0 -0
- drowse/web/dist/icons/tab-loom-working-dark-47.png +0 -0
- drowse/web/dist/icons/tab-loom-working-dark-5.png +0 -0
- drowse/web/dist/icons/tab-loom-working-dark-6.png +0 -0
- drowse/web/dist/icons/tab-loom-working-dark-7.png +0 -0
- drowse/web/dist/icons/tab-loom-working-dark-8.png +0 -0
- drowse/web/dist/icons/tab-loom-working-dark-9.png +0 -0
- drowse/web/dist/icons/tab-loom-working-light-0.png +0 -0
- drowse/web/dist/icons/tab-loom-working-light-1.png +0 -0
- drowse/web/dist/icons/tab-loom-working-light-10.png +0 -0
- drowse/web/dist/icons/tab-loom-working-light-11.png +0 -0
- drowse/web/dist/icons/tab-loom-working-light-12.png +0 -0
- drowse/web/dist/icons/tab-loom-working-light-13.png +0 -0
- drowse/web/dist/icons/tab-loom-working-light-14.png +0 -0
- drowse/web/dist/icons/tab-loom-working-light-15.png +0 -0
- drowse/web/dist/icons/tab-loom-working-light-16.png +0 -0
- drowse/web/dist/icons/tab-loom-working-light-17.png +0 -0
- drowse/web/dist/icons/tab-loom-working-light-18.png +0 -0
- drowse/web/dist/icons/tab-loom-working-light-19.png +0 -0
- drowse/web/dist/icons/tab-loom-working-light-2.png +0 -0
- drowse/web/dist/icons/tab-loom-working-light-20.png +0 -0
- drowse/web/dist/icons/tab-loom-working-light-21.png +0 -0
- drowse/web/dist/icons/tab-loom-working-light-22.png +0 -0
- drowse/web/dist/icons/tab-loom-working-light-23.png +0 -0
- drowse/web/dist/icons/tab-loom-working-light-24.png +0 -0
- drowse/web/dist/icons/tab-loom-working-light-25.png +0 -0
- drowse/web/dist/icons/tab-loom-working-light-26.png +0 -0
- drowse/web/dist/icons/tab-loom-working-light-27.png +0 -0
- drowse/web/dist/icons/tab-loom-working-light-28.png +0 -0
- drowse/web/dist/icons/tab-loom-working-light-29.png +0 -0
- drowse/web/dist/icons/tab-loom-working-light-3.png +0 -0
- drowse/web/dist/icons/tab-loom-working-light-30.png +0 -0
- drowse/web/dist/icons/tab-loom-working-light-31.png +0 -0
- drowse/web/dist/icons/tab-loom-working-light-32.png +0 -0
- drowse/web/dist/icons/tab-loom-working-light-33.png +0 -0
- drowse/web/dist/icons/tab-loom-working-light-34.png +0 -0
- drowse/web/dist/icons/tab-loom-working-light-35.png +0 -0
- drowse/web/dist/icons/tab-loom-working-light-36.png +0 -0
- drowse/web/dist/icons/tab-loom-working-light-37.png +0 -0
- drowse/web/dist/icons/tab-loom-working-light-38.png +0 -0
- drowse/web/dist/icons/tab-loom-working-light-39.png +0 -0
- drowse/web/dist/icons/tab-loom-working-light-4.png +0 -0
- drowse/web/dist/icons/tab-loom-working-light-40.png +0 -0
- drowse/web/dist/icons/tab-loom-working-light-41.png +0 -0
- drowse/web/dist/icons/tab-loom-working-light-42.png +0 -0
- drowse/web/dist/icons/tab-loom-working-light-43.png +0 -0
- drowse/web/dist/icons/tab-loom-working-light-44.png +0 -0
- drowse/web/dist/icons/tab-loom-working-light-45.png +0 -0
- drowse/web/dist/icons/tab-loom-working-light-46.png +0 -0
- drowse/web/dist/icons/tab-loom-working-light-47.png +0 -0
- drowse/web/dist/icons/tab-loom-working-light-5.png +0 -0
- drowse/web/dist/icons/tab-loom-working-light-6.png +0 -0
- drowse/web/dist/icons/tab-loom-working-light-7.png +0 -0
- drowse/web/dist/icons/tab-loom-working-light-8.png +0 -0
- drowse/web/dist/icons/tab-loom-working-light-9.png +0 -0
- drowse/web/dist/icons/tab-loom.png +0 -0
- drowse/web/dist/icons/tab-models-dark.png +0 -0
- drowse/web/dist/icons/tab-models-light.png +0 -0
- drowse/web/dist/icons/tab-models.png +0 -0
- drowse/web/dist/icons/tab-offline-dark.png +0 -0
- drowse/web/dist/icons/tab-offline-light.png +0 -0
- drowse/web/dist/icons/tab-offline.png +0 -0
- drowse/web/dist/icons/tab-paused-dark.png +0 -0
- drowse/web/dist/icons/tab-paused-light.png +0 -0
- drowse/web/dist/icons/tab-paused.png +0 -0
- drowse/web/dist/icons/tab-ready-dark.png +0 -0
- drowse/web/dist/icons/tab-ready-light.png +0 -0
- drowse/web/dist/icons/tab-ready.png +0 -0
- drowse/web/dist/icons/tab-saving-0.png +0 -0
- drowse/web/dist/icons/tab-saving-1.png +0 -0
- drowse/web/dist/icons/tab-saving-2.png +0 -0
- drowse/web/dist/icons/tab-saving-dark-0.png +0 -0
- drowse/web/dist/icons/tab-saving-dark-1.png +0 -0
- drowse/web/dist/icons/tab-saving-dark-10.png +0 -0
- drowse/web/dist/icons/tab-saving-dark-11.png +0 -0
- drowse/web/dist/icons/tab-saving-dark-12.png +0 -0
- drowse/web/dist/icons/tab-saving-dark-13.png +0 -0
- drowse/web/dist/icons/tab-saving-dark-14.png +0 -0
- drowse/web/dist/icons/tab-saving-dark-15.png +0 -0
- drowse/web/dist/icons/tab-saving-dark-16.png +0 -0
- drowse/web/dist/icons/tab-saving-dark-17.png +0 -0
- drowse/web/dist/icons/tab-saving-dark-18.png +0 -0
- drowse/web/dist/icons/tab-saving-dark-19.png +0 -0
- drowse/web/dist/icons/tab-saving-dark-2.png +0 -0
- drowse/web/dist/icons/tab-saving-dark-20.png +0 -0
- drowse/web/dist/icons/tab-saving-dark-21.png +0 -0
- drowse/web/dist/icons/tab-saving-dark-22.png +0 -0
- drowse/web/dist/icons/tab-saving-dark-23.png +0 -0
- drowse/web/dist/icons/tab-saving-dark-24.png +0 -0
- drowse/web/dist/icons/tab-saving-dark-25.png +0 -0
- drowse/web/dist/icons/tab-saving-dark-26.png +0 -0
- drowse/web/dist/icons/tab-saving-dark-27.png +0 -0
- drowse/web/dist/icons/tab-saving-dark-28.png +0 -0
- drowse/web/dist/icons/tab-saving-dark-29.png +0 -0
- drowse/web/dist/icons/tab-saving-dark-3.png +0 -0
- drowse/web/dist/icons/tab-saving-dark-30.png +0 -0
- drowse/web/dist/icons/tab-saving-dark-31.png +0 -0
- drowse/web/dist/icons/tab-saving-dark-32.png +0 -0
- drowse/web/dist/icons/tab-saving-dark-33.png +0 -0
- drowse/web/dist/icons/tab-saving-dark-34.png +0 -0
- drowse/web/dist/icons/tab-saving-dark-35.png +0 -0
- drowse/web/dist/icons/tab-saving-dark-36.png +0 -0
- drowse/web/dist/icons/tab-saving-dark-37.png +0 -0
- drowse/web/dist/icons/tab-saving-dark-38.png +0 -0
- drowse/web/dist/icons/tab-saving-dark-39.png +0 -0
- drowse/web/dist/icons/tab-saving-dark-4.png +0 -0
- drowse/web/dist/icons/tab-saving-dark-40.png +0 -0
- drowse/web/dist/icons/tab-saving-dark-41.png +0 -0
- drowse/web/dist/icons/tab-saving-dark-42.png +0 -0
- drowse/web/dist/icons/tab-saving-dark-43.png +0 -0
- drowse/web/dist/icons/tab-saving-dark-44.png +0 -0
- drowse/web/dist/icons/tab-saving-dark-45.png +0 -0
- drowse/web/dist/icons/tab-saving-dark-46.png +0 -0
- drowse/web/dist/icons/tab-saving-dark-47.png +0 -0
- drowse/web/dist/icons/tab-saving-dark-5.png +0 -0
- drowse/web/dist/icons/tab-saving-dark-6.png +0 -0
- drowse/web/dist/icons/tab-saving-dark-7.png +0 -0
- drowse/web/dist/icons/tab-saving-dark-8.png +0 -0
- drowse/web/dist/icons/tab-saving-dark-9.png +0 -0
- drowse/web/dist/icons/tab-saving-light-0.png +0 -0
- drowse/web/dist/icons/tab-saving-light-1.png +0 -0
- drowse/web/dist/icons/tab-saving-light-10.png +0 -0
- drowse/web/dist/icons/tab-saving-light-11.png +0 -0
- drowse/web/dist/icons/tab-saving-light-12.png +0 -0
- drowse/web/dist/icons/tab-saving-light-13.png +0 -0
- drowse/web/dist/icons/tab-saving-light-14.png +0 -0
- drowse/web/dist/icons/tab-saving-light-15.png +0 -0
- drowse/web/dist/icons/tab-saving-light-16.png +0 -0
- drowse/web/dist/icons/tab-saving-light-17.png +0 -0
- drowse/web/dist/icons/tab-saving-light-18.png +0 -0
- drowse/web/dist/icons/tab-saving-light-19.png +0 -0
- drowse/web/dist/icons/tab-saving-light-2.png +0 -0
- drowse/web/dist/icons/tab-saving-light-20.png +0 -0
- drowse/web/dist/icons/tab-saving-light-21.png +0 -0
- drowse/web/dist/icons/tab-saving-light-22.png +0 -0
- drowse/web/dist/icons/tab-saving-light-23.png +0 -0
- drowse/web/dist/icons/tab-saving-light-24.png +0 -0
- drowse/web/dist/icons/tab-saving-light-25.png +0 -0
- drowse/web/dist/icons/tab-saving-light-26.png +0 -0
- drowse/web/dist/icons/tab-saving-light-27.png +0 -0
- drowse/web/dist/icons/tab-saving-light-28.png +0 -0
- drowse/web/dist/icons/tab-saving-light-29.png +0 -0
- drowse/web/dist/icons/tab-saving-light-3.png +0 -0
- drowse/web/dist/icons/tab-saving-light-30.png +0 -0
- drowse/web/dist/icons/tab-saving-light-31.png +0 -0
- drowse/web/dist/icons/tab-saving-light-32.png +0 -0
- drowse/web/dist/icons/tab-saving-light-33.png +0 -0
- drowse/web/dist/icons/tab-saving-light-34.png +0 -0
- drowse/web/dist/icons/tab-saving-light-35.png +0 -0
- drowse/web/dist/icons/tab-saving-light-36.png +0 -0
- drowse/web/dist/icons/tab-saving-light-37.png +0 -0
- drowse/web/dist/icons/tab-saving-light-38.png +0 -0
- drowse/web/dist/icons/tab-saving-light-39.png +0 -0
- drowse/web/dist/icons/tab-saving-light-4.png +0 -0
- drowse/web/dist/icons/tab-saving-light-40.png +0 -0
- drowse/web/dist/icons/tab-saving-light-41.png +0 -0
- drowse/web/dist/icons/tab-saving-light-42.png +0 -0
- drowse/web/dist/icons/tab-saving-light-43.png +0 -0
- drowse/web/dist/icons/tab-saving-light-44.png +0 -0
- drowse/web/dist/icons/tab-saving-light-45.png +0 -0
- drowse/web/dist/icons/tab-saving-light-46.png +0 -0
- drowse/web/dist/icons/tab-saving-light-47.png +0 -0
- drowse/web/dist/icons/tab-saving-light-5.png +0 -0
- drowse/web/dist/icons/tab-saving-light-6.png +0 -0
- drowse/web/dist/icons/tab-saving-light-7.png +0 -0
- drowse/web/dist/icons/tab-saving-light-8.png +0 -0
- drowse/web/dist/icons/tab-saving-light-9.png +0 -0
- drowse/web/dist/icons/tab-thinking-0.png +0 -0
- drowse/web/dist/icons/tab-thinking-1.png +0 -0
- drowse/web/dist/icons/tab-thinking-2.png +0 -0
- drowse/web/dist/icons/tab-thinking-dark-0.png +0 -0
- drowse/web/dist/icons/tab-thinking-dark-1.png +0 -0
- drowse/web/dist/icons/tab-thinking-dark-10.png +0 -0
- drowse/web/dist/icons/tab-thinking-dark-11.png +0 -0
- drowse/web/dist/icons/tab-thinking-dark-12.png +0 -0
- drowse/web/dist/icons/tab-thinking-dark-13.png +0 -0
- drowse/web/dist/icons/tab-thinking-dark-14.png +0 -0
- drowse/web/dist/icons/tab-thinking-dark-15.png +0 -0
- drowse/web/dist/icons/tab-thinking-dark-16.png +0 -0
- drowse/web/dist/icons/tab-thinking-dark-17.png +0 -0
- drowse/web/dist/icons/tab-thinking-dark-18.png +0 -0
- drowse/web/dist/icons/tab-thinking-dark-19.png +0 -0
- drowse/web/dist/icons/tab-thinking-dark-2.png +0 -0
- drowse/web/dist/icons/tab-thinking-dark-20.png +0 -0
- drowse/web/dist/icons/tab-thinking-dark-21.png +0 -0
- drowse/web/dist/icons/tab-thinking-dark-22.png +0 -0
- drowse/web/dist/icons/tab-thinking-dark-23.png +0 -0
- drowse/web/dist/icons/tab-thinking-dark-24.png +0 -0
- drowse/web/dist/icons/tab-thinking-dark-25.png +0 -0
- drowse/web/dist/icons/tab-thinking-dark-26.png +0 -0
- drowse/web/dist/icons/tab-thinking-dark-27.png +0 -0
- drowse/web/dist/icons/tab-thinking-dark-28.png +0 -0
- drowse/web/dist/icons/tab-thinking-dark-29.png +0 -0
- drowse/web/dist/icons/tab-thinking-dark-3.png +0 -0
- drowse/web/dist/icons/tab-thinking-dark-30.png +0 -0
- drowse/web/dist/icons/tab-thinking-dark-31.png +0 -0
- drowse/web/dist/icons/tab-thinking-dark-32.png +0 -0
- drowse/web/dist/icons/tab-thinking-dark-33.png +0 -0
- drowse/web/dist/icons/tab-thinking-dark-34.png +0 -0
- drowse/web/dist/icons/tab-thinking-dark-35.png +0 -0
- drowse/web/dist/icons/tab-thinking-dark-36.png +0 -0
- drowse/web/dist/icons/tab-thinking-dark-37.png +0 -0
- drowse/web/dist/icons/tab-thinking-dark-38.png +0 -0
- drowse/web/dist/icons/tab-thinking-dark-39.png +0 -0
- drowse/web/dist/icons/tab-thinking-dark-4.png +0 -0
- drowse/web/dist/icons/tab-thinking-dark-40.png +0 -0
- drowse/web/dist/icons/tab-thinking-dark-41.png +0 -0
- drowse/web/dist/icons/tab-thinking-dark-42.png +0 -0
- drowse/web/dist/icons/tab-thinking-dark-43.png +0 -0
- drowse/web/dist/icons/tab-thinking-dark-44.png +0 -0
- drowse/web/dist/icons/tab-thinking-dark-45.png +0 -0
- drowse/web/dist/icons/tab-thinking-dark-46.png +0 -0
- drowse/web/dist/icons/tab-thinking-dark-47.png +0 -0
- drowse/web/dist/icons/tab-thinking-dark-5.png +0 -0
- drowse/web/dist/icons/tab-thinking-dark-6.png +0 -0
- drowse/web/dist/icons/tab-thinking-dark-7.png +0 -0
- drowse/web/dist/icons/tab-thinking-dark-8.png +0 -0
- drowse/web/dist/icons/tab-thinking-dark-9.png +0 -0
- drowse/web/dist/icons/tab-thinking-light-0.png +0 -0
- drowse/web/dist/icons/tab-thinking-light-1.png +0 -0
- drowse/web/dist/icons/tab-thinking-light-10.png +0 -0
- drowse/web/dist/icons/tab-thinking-light-11.png +0 -0
- drowse/web/dist/icons/tab-thinking-light-12.png +0 -0
- drowse/web/dist/icons/tab-thinking-light-13.png +0 -0
- drowse/web/dist/icons/tab-thinking-light-14.png +0 -0
- drowse/web/dist/icons/tab-thinking-light-15.png +0 -0
- drowse/web/dist/icons/tab-thinking-light-16.png +0 -0
- drowse/web/dist/icons/tab-thinking-light-17.png +0 -0
- drowse/web/dist/icons/tab-thinking-light-18.png +0 -0
- drowse/web/dist/icons/tab-thinking-light-19.png +0 -0
- drowse/web/dist/icons/tab-thinking-light-2.png +0 -0
- drowse/web/dist/icons/tab-thinking-light-20.png +0 -0
- drowse/web/dist/icons/tab-thinking-light-21.png +0 -0
- drowse/web/dist/icons/tab-thinking-light-22.png +0 -0
- drowse/web/dist/icons/tab-thinking-light-23.png +0 -0
- drowse/web/dist/icons/tab-thinking-light-24.png +0 -0
- drowse/web/dist/icons/tab-thinking-light-25.png +0 -0
- drowse/web/dist/icons/tab-thinking-light-26.png +0 -0
- drowse/web/dist/icons/tab-thinking-light-27.png +0 -0
- drowse/web/dist/icons/tab-thinking-light-28.png +0 -0
- drowse/web/dist/icons/tab-thinking-light-29.png +0 -0
- drowse/web/dist/icons/tab-thinking-light-3.png +0 -0
- drowse/web/dist/icons/tab-thinking-light-30.png +0 -0
- drowse/web/dist/icons/tab-thinking-light-31.png +0 -0
- drowse/web/dist/icons/tab-thinking-light-32.png +0 -0
- drowse/web/dist/icons/tab-thinking-light-33.png +0 -0
- drowse/web/dist/icons/tab-thinking-light-34.png +0 -0
- drowse/web/dist/icons/tab-thinking-light-35.png +0 -0
- drowse/web/dist/icons/tab-thinking-light-36.png +0 -0
- drowse/web/dist/icons/tab-thinking-light-37.png +0 -0
- drowse/web/dist/icons/tab-thinking-light-38.png +0 -0
- drowse/web/dist/icons/tab-thinking-light-39.png +0 -0
- drowse/web/dist/icons/tab-thinking-light-4.png +0 -0
- drowse/web/dist/icons/tab-thinking-light-40.png +0 -0
- drowse/web/dist/icons/tab-thinking-light-41.png +0 -0
- drowse/web/dist/icons/tab-thinking-light-42.png +0 -0
- drowse/web/dist/icons/tab-thinking-light-43.png +0 -0
- drowse/web/dist/icons/tab-thinking-light-44.png +0 -0
- drowse/web/dist/icons/tab-thinking-light-45.png +0 -0
- drowse/web/dist/icons/tab-thinking-light-46.png +0 -0
- drowse/web/dist/icons/tab-thinking-light-47.png +0 -0
- drowse/web/dist/icons/tab-thinking-light-5.png +0 -0
- drowse/web/dist/icons/tab-thinking-light-6.png +0 -0
- drowse/web/dist/icons/tab-thinking-light-7.png +0 -0
- drowse/web/dist/icons/tab-thinking-light-8.png +0 -0
- drowse/web/dist/icons/tab-thinking-light-9.png +0 -0
- drowse/web/dist/icons/tab-tokens-dark.png +0 -0
- drowse/web/dist/icons/tab-tokens-light.png +0 -0
- drowse/web/dist/icons/tab-tokens.png +0 -0
- drowse/web/dist/icons/tab-training-0.png +0 -0
- drowse/web/dist/icons/tab-training-1.png +0 -0
- drowse/web/dist/icons/tab-training-2.png +0 -0
- drowse/web/dist/icons/tab-training-dark-0.png +0 -0
- drowse/web/dist/icons/tab-training-dark-1.png +0 -0
- drowse/web/dist/icons/tab-training-dark-10.png +0 -0
- drowse/web/dist/icons/tab-training-dark-11.png +0 -0
- drowse/web/dist/icons/tab-training-dark-12.png +0 -0
- drowse/web/dist/icons/tab-training-dark-13.png +0 -0
- drowse/web/dist/icons/tab-training-dark-14.png +0 -0
- drowse/web/dist/icons/tab-training-dark-15.png +0 -0
- drowse/web/dist/icons/tab-training-dark-16.png +0 -0
- drowse/web/dist/icons/tab-training-dark-17.png +0 -0
- drowse/web/dist/icons/tab-training-dark-18.png +0 -0
- drowse/web/dist/icons/tab-training-dark-19.png +0 -0
- drowse/web/dist/icons/tab-training-dark-2.png +0 -0
- drowse/web/dist/icons/tab-training-dark-20.png +0 -0
- drowse/web/dist/icons/tab-training-dark-21.png +0 -0
- drowse/web/dist/icons/tab-training-dark-22.png +0 -0
- drowse/web/dist/icons/tab-training-dark-23.png +0 -0
- drowse/web/dist/icons/tab-training-dark-24.png +0 -0
- drowse/web/dist/icons/tab-training-dark-25.png +0 -0
- drowse/web/dist/icons/tab-training-dark-26.png +0 -0
- drowse/web/dist/icons/tab-training-dark-27.png +0 -0
- drowse/web/dist/icons/tab-training-dark-28.png +0 -0
- drowse/web/dist/icons/tab-training-dark-29.png +0 -0
- drowse/web/dist/icons/tab-training-dark-3.png +0 -0
- drowse/web/dist/icons/tab-training-dark-30.png +0 -0
- drowse/web/dist/icons/tab-training-dark-31.png +0 -0
- drowse/web/dist/icons/tab-training-dark-32.png +0 -0
- drowse/web/dist/icons/tab-training-dark-33.png +0 -0
- drowse/web/dist/icons/tab-training-dark-34.png +0 -0
- drowse/web/dist/icons/tab-training-dark-35.png +0 -0
- drowse/web/dist/icons/tab-training-dark-36.png +0 -0
- drowse/web/dist/icons/tab-training-dark-37.png +0 -0
- drowse/web/dist/icons/tab-training-dark-38.png +0 -0
- drowse/web/dist/icons/tab-training-dark-39.png +0 -0
- drowse/web/dist/icons/tab-training-dark-4.png +0 -0
- drowse/web/dist/icons/tab-training-dark-40.png +0 -0
- drowse/web/dist/icons/tab-training-dark-41.png +0 -0
- drowse/web/dist/icons/tab-training-dark-42.png +0 -0
- drowse/web/dist/icons/tab-training-dark-43.png +0 -0
- drowse/web/dist/icons/tab-training-dark-44.png +0 -0
- drowse/web/dist/icons/tab-training-dark-45.png +0 -0
- drowse/web/dist/icons/tab-training-dark-46.png +0 -0
- drowse/web/dist/icons/tab-training-dark-47.png +0 -0
- drowse/web/dist/icons/tab-training-dark-5.png +0 -0
- drowse/web/dist/icons/tab-training-dark-6.png +0 -0
- drowse/web/dist/icons/tab-training-dark-7.png +0 -0
- drowse/web/dist/icons/tab-training-dark-8.png +0 -0
- drowse/web/dist/icons/tab-training-dark-9.png +0 -0
- drowse/web/dist/icons/tab-training-light-0.png +0 -0
- drowse/web/dist/icons/tab-training-light-1.png +0 -0
- drowse/web/dist/icons/tab-training-light-10.png +0 -0
- drowse/web/dist/icons/tab-training-light-11.png +0 -0
- drowse/web/dist/icons/tab-training-light-12.png +0 -0
- drowse/web/dist/icons/tab-training-light-13.png +0 -0
- drowse/web/dist/icons/tab-training-light-14.png +0 -0
- drowse/web/dist/icons/tab-training-light-15.png +0 -0
- drowse/web/dist/icons/tab-training-light-16.png +0 -0
- drowse/web/dist/icons/tab-training-light-17.png +0 -0
- drowse/web/dist/icons/tab-training-light-18.png +0 -0
- drowse/web/dist/icons/tab-training-light-19.png +0 -0
- drowse/web/dist/icons/tab-training-light-2.png +0 -0
- drowse/web/dist/icons/tab-training-light-20.png +0 -0
- drowse/web/dist/icons/tab-training-light-21.png +0 -0
- drowse/web/dist/icons/tab-training-light-22.png +0 -0
- drowse/web/dist/icons/tab-training-light-23.png +0 -0
- drowse/web/dist/icons/tab-training-light-24.png +0 -0
- drowse/web/dist/icons/tab-training-light-25.png +0 -0
- drowse/web/dist/icons/tab-training-light-26.png +0 -0
- drowse/web/dist/icons/tab-training-light-27.png +0 -0
- drowse/web/dist/icons/tab-training-light-28.png +0 -0
- drowse/web/dist/icons/tab-training-light-29.png +0 -0
- drowse/web/dist/icons/tab-training-light-3.png +0 -0
- drowse/web/dist/icons/tab-training-light-30.png +0 -0
- drowse/web/dist/icons/tab-training-light-31.png +0 -0
- drowse/web/dist/icons/tab-training-light-32.png +0 -0
- drowse/web/dist/icons/tab-training-light-33.png +0 -0
- drowse/web/dist/icons/tab-training-light-34.png +0 -0
- drowse/web/dist/icons/tab-training-light-35.png +0 -0
- drowse/web/dist/icons/tab-training-light-36.png +0 -0
- drowse/web/dist/icons/tab-training-light-37.png +0 -0
- drowse/web/dist/icons/tab-training-light-38.png +0 -0
- drowse/web/dist/icons/tab-training-light-39.png +0 -0
- drowse/web/dist/icons/tab-training-light-4.png +0 -0
- drowse/web/dist/icons/tab-training-light-40.png +0 -0
- drowse/web/dist/icons/tab-training-light-41.png +0 -0
- drowse/web/dist/icons/tab-training-light-42.png +0 -0
- drowse/web/dist/icons/tab-training-light-43.png +0 -0
- drowse/web/dist/icons/tab-training-light-44.png +0 -0
- drowse/web/dist/icons/tab-training-light-45.png +0 -0
- drowse/web/dist/icons/tab-training-light-46.png +0 -0
- drowse/web/dist/icons/tab-training-light-47.png +0 -0
- drowse/web/dist/icons/tab-training-light-5.png +0 -0
- drowse/web/dist/icons/tab-training-light-6.png +0 -0
- drowse/web/dist/icons/tab-training-light-7.png +0 -0
- drowse/web/dist/icons/tab-training-light-8.png +0 -0
- drowse/web/dist/icons/tab-training-light-9.png +0 -0
- drowse/web/dist/icons/tab-unsupported-dark.png +0 -0
- drowse/web/dist/icons/tab-unsupported-light.png +0 -0
- drowse/web/dist/icons/tab-unsupported.png +0 -0
- drowse/web/dist/icons/tab-working-0.png +0 -0
- drowse/web/dist/icons/tab-working-1.png +0 -0
- drowse/web/dist/icons/tab-working-2.png +0 -0
- drowse/web/dist/icons/tab-working-dark-0.png +0 -0
- drowse/web/dist/icons/tab-working-dark-1.png +0 -0
- drowse/web/dist/icons/tab-working-dark-10.png +0 -0
- drowse/web/dist/icons/tab-working-dark-11.png +0 -0
- drowse/web/dist/icons/tab-working-dark-12.png +0 -0
- drowse/web/dist/icons/tab-working-dark-13.png +0 -0
- drowse/web/dist/icons/tab-working-dark-14.png +0 -0
- drowse/web/dist/icons/tab-working-dark-15.png +0 -0
- drowse/web/dist/icons/tab-working-dark-16.png +0 -0
- drowse/web/dist/icons/tab-working-dark-17.png +0 -0
- drowse/web/dist/icons/tab-working-dark-18.png +0 -0
- drowse/web/dist/icons/tab-working-dark-19.png +0 -0
- drowse/web/dist/icons/tab-working-dark-2.png +0 -0
- drowse/web/dist/icons/tab-working-dark-20.png +0 -0
- drowse/web/dist/icons/tab-working-dark-21.png +0 -0
- drowse/web/dist/icons/tab-working-dark-22.png +0 -0
- drowse/web/dist/icons/tab-working-dark-23.png +0 -0
- drowse/web/dist/icons/tab-working-dark-24.png +0 -0
- drowse/web/dist/icons/tab-working-dark-25.png +0 -0
- drowse/web/dist/icons/tab-working-dark-26.png +0 -0
- drowse/web/dist/icons/tab-working-dark-27.png +0 -0
- drowse/web/dist/icons/tab-working-dark-28.png +0 -0
- drowse/web/dist/icons/tab-working-dark-29.png +0 -0
- drowse/web/dist/icons/tab-working-dark-3.png +0 -0
- drowse/web/dist/icons/tab-working-dark-30.png +0 -0
- drowse/web/dist/icons/tab-working-dark-31.png +0 -0
- drowse/web/dist/icons/tab-working-dark-32.png +0 -0
- drowse/web/dist/icons/tab-working-dark-33.png +0 -0
- drowse/web/dist/icons/tab-working-dark-34.png +0 -0
- drowse/web/dist/icons/tab-working-dark-35.png +0 -0
- drowse/web/dist/icons/tab-working-dark-36.png +0 -0
- drowse/web/dist/icons/tab-working-dark-37.png +0 -0
- drowse/web/dist/icons/tab-working-dark-38.png +0 -0
- drowse/web/dist/icons/tab-working-dark-39.png +0 -0
- drowse/web/dist/icons/tab-working-dark-4.png +0 -0
- drowse/web/dist/icons/tab-working-dark-40.png +0 -0
- drowse/web/dist/icons/tab-working-dark-41.png +0 -0
- drowse/web/dist/icons/tab-working-dark-42.png +0 -0
- drowse/web/dist/icons/tab-working-dark-43.png +0 -0
- drowse/web/dist/icons/tab-working-dark-44.png +0 -0
- drowse/web/dist/icons/tab-working-dark-45.png +0 -0
- drowse/web/dist/icons/tab-working-dark-46.png +0 -0
- drowse/web/dist/icons/tab-working-dark-47.png +0 -0
- drowse/web/dist/icons/tab-working-dark-5.png +0 -0
- drowse/web/dist/icons/tab-working-dark-6.png +0 -0
- drowse/web/dist/icons/tab-working-dark-7.png +0 -0
- drowse/web/dist/icons/tab-working-dark-8.png +0 -0
- drowse/web/dist/icons/tab-working-dark-9.png +0 -0
- drowse/web/dist/icons/tab-working-light-0.png +0 -0
- drowse/web/dist/icons/tab-working-light-1.png +0 -0
- drowse/web/dist/icons/tab-working-light-10.png +0 -0
- drowse/web/dist/icons/tab-working-light-11.png +0 -0
- drowse/web/dist/icons/tab-working-light-12.png +0 -0
- drowse/web/dist/icons/tab-working-light-13.png +0 -0
- drowse/web/dist/icons/tab-working-light-14.png +0 -0
- drowse/web/dist/icons/tab-working-light-15.png +0 -0
- drowse/web/dist/icons/tab-working-light-16.png +0 -0
- drowse/web/dist/icons/tab-working-light-17.png +0 -0
- drowse/web/dist/icons/tab-working-light-18.png +0 -0
- drowse/web/dist/icons/tab-working-light-19.png +0 -0
- drowse/web/dist/icons/tab-working-light-2.png +0 -0
- drowse/web/dist/icons/tab-working-light-20.png +0 -0
- drowse/web/dist/icons/tab-working-light-21.png +0 -0
- drowse/web/dist/icons/tab-working-light-22.png +0 -0
- drowse/web/dist/icons/tab-working-light-23.png +0 -0
- drowse/web/dist/icons/tab-working-light-24.png +0 -0
- drowse/web/dist/icons/tab-working-light-25.png +0 -0
- drowse/web/dist/icons/tab-working-light-26.png +0 -0
- drowse/web/dist/icons/tab-working-light-27.png +0 -0
- drowse/web/dist/icons/tab-working-light-28.png +0 -0
- drowse/web/dist/icons/tab-working-light-29.png +0 -0
- drowse/web/dist/icons/tab-working-light-3.png +0 -0
- drowse/web/dist/icons/tab-working-light-30.png +0 -0
- drowse/web/dist/icons/tab-working-light-31.png +0 -0
- drowse/web/dist/icons/tab-working-light-32.png +0 -0
- drowse/web/dist/icons/tab-working-light-33.png +0 -0
- drowse/web/dist/icons/tab-working-light-34.png +0 -0
- drowse/web/dist/icons/tab-working-light-35.png +0 -0
- drowse/web/dist/icons/tab-working-light-36.png +0 -0
- drowse/web/dist/icons/tab-working-light-37.png +0 -0
- drowse/web/dist/icons/tab-working-light-38.png +0 -0
- drowse/web/dist/icons/tab-working-light-39.png +0 -0
- drowse/web/dist/icons/tab-working-light-4.png +0 -0
- drowse/web/dist/icons/tab-working-light-40.png +0 -0
- drowse/web/dist/icons/tab-working-light-41.png +0 -0
- drowse/web/dist/icons/tab-working-light-42.png +0 -0
- drowse/web/dist/icons/tab-working-light-43.png +0 -0
- drowse/web/dist/icons/tab-working-light-44.png +0 -0
- drowse/web/dist/icons/tab-working-light-45.png +0 -0
- drowse/web/dist/icons/tab-working-light-46.png +0 -0
- drowse/web/dist/icons/tab-working-light-47.png +0 -0
- drowse/web/dist/icons/tab-working-light-5.png +0 -0
- drowse/web/dist/icons/tab-working-light-6.png +0 -0
- drowse/web/dist/icons/tab-working-light-7.png +0 -0
- drowse/web/dist/icons/tab-working-light-8.png +0 -0
- drowse/web/dist/icons/tab-working-light-9.png +0 -0
- drowse/web/dist/index.html +34 -0
- drowse/web/dist/social/drowse.png +0 -0
- drowse/web/dist/social/drowse.svg +6 -0
- drowse/web/dist/theme-init.js +25 -0
- drowse/web/routes.py +118 -0
- drowse_ai-5.3.1.dist-info/METADATA +632 -0
- drowse_ai-5.3.1.dist-info/RECORD +1341 -0
- drowse_ai-5.3.1.dist-info/WHEEL +5 -0
- drowse_ai-5.3.1.dist-info/entry_points.txt +2 -0
- drowse_ai-5.3.1.dist-info/licenses/LICENSE +661 -0
- drowse_ai-5.3.1.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,1135 @@
|
|
|
1
|
+
"""SteeringComposer — the steering-resolution + stack collaborator for DrowseSession.
|
|
2
|
+
|
|
3
|
+
Extracted from :mod:`drowse.core.session` (the one cluster whose seam is clean and
|
|
4
|
+
whose hot-path cost is per-scope, not per-token). Holds the LIFO steering stack
|
|
5
|
+
(``_stack``) and every method that runs at steering push/pop frequency: pole-alias
|
|
6
|
+
resolution, manifold/profile registration, the lowering of active entries into the
|
|
7
|
+
:class:`~drowse.core.hooks.SteeringManager`, hook (re)build, and the probe-gate
|
|
8
|
+
plumbing.
|
|
9
|
+
|
|
10
|
+
It reaches back into the owning session through ``self._session`` for the state it
|
|
11
|
+
needs (``_profiles`` / ``_manifolds`` / ``_layer_means`` / ``_monitor`` / whitener /
|
|
12
|
+
device / dtype / layers / events / ``_gen_lock`` / ``_gen_phase`` / capture state).
|
|
13
|
+
Those reads happen at push/pop frequency, NOT per token, so the extra attribute hop
|
|
14
|
+
is off the perf-critical path. The ONE near-hot method is
|
|
15
|
+
:meth:`build_gating_score_callback`'s returned closure (per-token under an active
|
|
16
|
+
probe gate); it binds ``capture``/``monitor`` to locals before the inner ``def`` and
|
|
17
|
+
reads the session's capture state through the back-ref exactly as the unextracted
|
|
18
|
+
body did, so the per-token path gains no new indirection.
|
|
19
|
+
|
|
20
|
+
The session exposes the artifact loaders as its public registration API and keeps
|
|
21
|
+
narrow context/generation forwarders where the session boundary is meaningful.
|
|
22
|
+
"""
|
|
23
|
+
from __future__ import annotations
|
|
24
|
+
|
|
25
|
+
from typing import TYPE_CHECKING, Any, cast
|
|
26
|
+
|
|
27
|
+
import torch
|
|
28
|
+
|
|
29
|
+
from drowse.core.events import SteeringApplied, SteeringCleared
|
|
30
|
+
from drowse.core.manifold import manifold_is_affine
|
|
31
|
+
from drowse.core.session import (
|
|
32
|
+
ConcurrentGenerationError,
|
|
33
|
+
GenState,
|
|
34
|
+
ManifoldNotRegisteredError,
|
|
35
|
+
SteeringStackEntry,
|
|
36
|
+
Trigger,
|
|
37
|
+
ProfileNotRegisteredError,
|
|
38
|
+
_PROFILE_ABSENT,
|
|
39
|
+
_affine_manifold_push,
|
|
40
|
+
)
|
|
41
|
+
from drowse.core.steering import entry_coeff, entry_trigger
|
|
42
|
+
from drowse.core.steering_expr import AblationTerm, ManifoldTerm
|
|
43
|
+
|
|
44
|
+
if TYPE_CHECKING:
|
|
45
|
+
from drowse.core.instruments.types import GateRef, InstrumentFamily
|
|
46
|
+
from drowse.core.session import DrowseSession
|
|
47
|
+
from drowse.core.steering import Steering
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
def _fires_in_prefill(trigger: Trigger) -> bool:
|
|
51
|
+
"""True iff ``trigger`` touches the prompt residual stream.
|
|
52
|
+
|
|
53
|
+
A term steers the prefill exactly when its phase includes the prompt and
|
|
54
|
+
it carries no probe gate — gates report inactive during prefill, because
|
|
55
|
+
there is no post-forward score yet (see
|
|
56
|
+
:meth:`~drowse.core.triggers.Trigger.active`). Both the live-stack check
|
|
57
|
+
and the pre-flight check over an incoming value reduce to this predicate.
|
|
58
|
+
"""
|
|
59
|
+
return trigger.prompt and trigger.gate is None
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
class SteeringComposer:
|
|
63
|
+
"""Owns the steering stack + steering-resolution/lowering for a session.
|
|
64
|
+
|
|
65
|
+
Instantiated once per :class:`~drowse.core.session.DrowseSession` after the
|
|
66
|
+
state it depends on exists (``_steering`` manager, ``_profiles`` /
|
|
67
|
+
``_manifolds`` / ``_layer_means``, and the ``_monitor``). The session holds the
|
|
68
|
+
instance as ``_steering_composer``. The stack has one owner: this collaborator.
|
|
69
|
+
"""
|
|
70
|
+
|
|
71
|
+
def __init__(self, session: "DrowseSession") -> None:
|
|
72
|
+
self._session = session
|
|
73
|
+
# LIFO stack of per-scope entries dicts pushed by session.steering().
|
|
74
|
+
# Each entry is ``{name: (alpha, Trigger)}`` — triggers are preserved
|
|
75
|
+
# through stack flattening so nested scopes with different trigger regimes
|
|
76
|
+
# compose cleanly. The flattened head (later entries overwrite earlier
|
|
77
|
+
# ones) is what the steering manager installs when a generation begins.
|
|
78
|
+
self._stack: list[dict[str, SteeringStackEntry]] = []
|
|
79
|
+
|
|
80
|
+
# ---------------------------------------------------------------- profiles
|
|
81
|
+
|
|
82
|
+
def materialize_projections(self, steering: "Steering") -> dict[str, object]:
|
|
83
|
+
"""Populate ``session._profiles`` with derived profiles for every
|
|
84
|
+
:class:`~drowse.core.steering_expr.ProjectedTerm` in
|
|
85
|
+
``steering.alphas``.
|
|
86
|
+
|
|
87
|
+
Ensures the ``base`` and ``onto`` profiles are loaded (invoking
|
|
88
|
+
the autoload path when needed), runs
|
|
89
|
+
:func:`drowse.core.capture.project_profile` to build the derived
|
|
90
|
+
tensor dict, and registers it under the synthetic key
|
|
91
|
+
``"<base><op><onto>"``. The synthetic key matches what the parser
|
|
92
|
+
used for the ``Steering.alphas`` key, so downstream pole
|
|
93
|
+
resolution + hook install find the profile via the
|
|
94
|
+
``name in self._profiles`` fast path.
|
|
95
|
+
|
|
96
|
+
Projection is Mahalanobis-only: the call site passes
|
|
97
|
+
``session.whitener`` to ``project_profile``, which uses the
|
|
98
|
+
closed-form LEACE projector — provably erases linearly-decodable
|
|
99
|
+
concept information along ``onto``. ``project_profile`` requires
|
|
100
|
+
the whitener to cover every projected layer (``covers_all``) and
|
|
101
|
+
raises :class:`~drowse.core.mahalanobis.WhitenerError` otherwise;
|
|
102
|
+
there is no Euclidean path. A ``probes=[]`` session that hasn't
|
|
103
|
+
built a neutral-activation cache yet therefore can't materialize a
|
|
104
|
+
``~``/``|`` term — regenerate the neutral cache first.
|
|
105
|
+
|
|
106
|
+
Returns a snapshot dict ``{syn_key: prev_value_or_PROFILE_ABSENT}``
|
|
107
|
+
of the synthetic-projection bindings this call clobbered, so
|
|
108
|
+
the caller can restore them on scope exit. Without this
|
|
109
|
+
nested scopes that materialize the same ``a|b`` synthetic
|
|
110
|
+
key would leak the inner tensor back into the outer scope's
|
|
111
|
+
hooks after pop — the global ``self._profiles`` registry is
|
|
112
|
+
shared across all active scopes.
|
|
113
|
+
"""
|
|
114
|
+
from drowse.core.steering_expr import ProjectedTerm
|
|
115
|
+
from drowse.core.capture import project_profile
|
|
116
|
+
|
|
117
|
+
profiles = self._session._profiles
|
|
118
|
+
|
|
119
|
+
snapshots: dict[str, object] = {}
|
|
120
|
+
whitener = None
|
|
121
|
+
for syn_key, val in steering.alphas.items():
|
|
122
|
+
if not isinstance(val, ProjectedTerm):
|
|
123
|
+
continue
|
|
124
|
+
# Do not wake the lazy neutral-activation/whitener pipeline for an
|
|
125
|
+
# ordinary steering expression. Plain vector/manifold terms are
|
|
126
|
+
# normalized later by ``compose_steering_entries``; only an actual
|
|
127
|
+
# projection needs the whitener at materialization time.
|
|
128
|
+
if whitener is None:
|
|
129
|
+
whitener = self._session.whitener
|
|
130
|
+
base_tensors = self.ensure_profile_registered(
|
|
131
|
+
val.base, role="projection base",
|
|
132
|
+
)
|
|
133
|
+
onto_tensors = self.ensure_profile_registered(
|
|
134
|
+
val.onto, role="projection onto",
|
|
135
|
+
)
|
|
136
|
+
projected = project_profile(
|
|
137
|
+
base_tensors, onto_tensors, val.operator,
|
|
138
|
+
whitener=whitener,
|
|
139
|
+
)
|
|
140
|
+
# Snapshot prior binding *before* overwrite so the
|
|
141
|
+
# context manager can restore on exit. ``setdefault`` —
|
|
142
|
+
# if the same syn_key appears twice in this Steering, only
|
|
143
|
+
# the first occurrence's snapshot matters (subsequent
|
|
144
|
+
# writes are this scope's own, not the outer's).
|
|
145
|
+
if syn_key not in snapshots:
|
|
146
|
+
if syn_key in profiles:
|
|
147
|
+
snapshots[syn_key] = profiles[syn_key]
|
|
148
|
+
else:
|
|
149
|
+
snapshots[syn_key] = _PROFILE_ABSENT
|
|
150
|
+
profiles[syn_key] = projected
|
|
151
|
+
return snapshots
|
|
152
|
+
|
|
153
|
+
def ensure_manifold_loaded(self, key: str) -> None:
|
|
154
|
+
"""Load the manifold artifact for registry key ``key`` if absent.
|
|
155
|
+
|
|
156
|
+
``key`` is the manifold registry key produced by the grammar:
|
|
157
|
+
``[ns/]name[:variant]``. ``raw`` (default) selects the
|
|
158
|
+
residual-stream tensor; ``sae-<release>`` selects the SAE-variant
|
|
159
|
+
tensor; ``from-*`` selects a cross-model transfer; ``role-*``
|
|
160
|
+
validates the canonical tensor's role baseline. A bare name searches
|
|
161
|
+
under ``manifolds/``. The loaded :class:`Manifold` is promoted
|
|
162
|
+
onto the session device (kept fp32 — the spline math wants it).
|
|
163
|
+
Raises :class:`ManifoldNotRegisteredError` on a miss.
|
|
164
|
+
"""
|
|
165
|
+
manifolds = self._session._manifolds
|
|
166
|
+
if key in manifolds:
|
|
167
|
+
return
|
|
168
|
+
from drowse.io.manifold_tensors import load_manifold
|
|
169
|
+
from drowse.io.paths import manifold_dir, manifolds_dir, tensor_filename
|
|
170
|
+
|
|
171
|
+
model_id = self._session.model_id
|
|
172
|
+
|
|
173
|
+
name_part, variant = (
|
|
174
|
+
key.rsplit(":", 1) if ":" in key else (key, "raw")
|
|
175
|
+
)
|
|
176
|
+
if "/" in name_part:
|
|
177
|
+
ns, name = name_part.split("/", 1)
|
|
178
|
+
search_ns = [ns]
|
|
179
|
+
else:
|
|
180
|
+
name = name_part
|
|
181
|
+
root = manifolds_dir()
|
|
182
|
+
search_ns = (
|
|
183
|
+
sorted(d.name for d in root.iterdir() if d.is_dir())
|
|
184
|
+
if root.exists() else []
|
|
185
|
+
)
|
|
186
|
+
transferred_from: str | None = None
|
|
187
|
+
requested_role: str | None = None
|
|
188
|
+
if variant == "raw":
|
|
189
|
+
release: str | None = None
|
|
190
|
+
elif variant.startswith("sae-"):
|
|
191
|
+
release = variant[len("sae-"):]
|
|
192
|
+
elif variant.startswith("from-"):
|
|
193
|
+
release = None
|
|
194
|
+
transferred_from = variant[len("from-"):]
|
|
195
|
+
elif variant.startswith("role-"):
|
|
196
|
+
release = None
|
|
197
|
+
requested_role = variant[len("role-"):]
|
|
198
|
+
else:
|
|
199
|
+
raise ManifoldNotRegisteredError(
|
|
200
|
+
f"manifold '{key}': unsupported variant '{variant}'"
|
|
201
|
+
)
|
|
202
|
+
fname = tensor_filename(
|
|
203
|
+
model_id, release=release, transferred_from=transferred_from,
|
|
204
|
+
transferred_from_is_encoded=transferred_from is not None,
|
|
205
|
+
)
|
|
206
|
+
|
|
207
|
+
# A fit from an older artifact format is a *miss*, not a corrupt
|
|
208
|
+
# artifact: the corpus is intact, so the answer is "refit", which is
|
|
209
|
+
# exactly what the no-tensor branch below already says. Screening it
|
|
210
|
+
# here keeps a format bump from raising a raw codec error out of every
|
|
211
|
+
# steering resolution and probe bootstrap on the way to that refit.
|
|
212
|
+
from drowse.io.manifold_folder import fitted_sidecar_is_current
|
|
213
|
+
|
|
214
|
+
matches = [
|
|
215
|
+
(ns, path)
|
|
216
|
+
for ns, path in (
|
|
217
|
+
(ns, manifold_dir(ns, name) / fname) for ns in search_ns
|
|
218
|
+
)
|
|
219
|
+
if path.exists()
|
|
220
|
+
and fitted_sidecar_is_current(path.with_suffix(".json"))
|
|
221
|
+
]
|
|
222
|
+
if not matches:
|
|
223
|
+
raise ManifoldNotRegisteredError(
|
|
224
|
+
f"manifold '{key}' has no fitted tensor for {model_id}; "
|
|
225
|
+
f"run `drowse manifold fit` first"
|
|
226
|
+
)
|
|
227
|
+
if len(matches) > 1:
|
|
228
|
+
# A bare name collided across namespaces — refuse rather than
|
|
229
|
+
# silently pick one, mirroring concept selector resolution.
|
|
230
|
+
from drowse.io.selectors import AmbiguousSelectorError
|
|
231
|
+
qualified = ", ".join(f"{ns}/{name}" for ns, _ in matches)
|
|
232
|
+
raise AmbiguousSelectorError(
|
|
233
|
+
f"ambiguous manifold '{name}': matches {qualified}. "
|
|
234
|
+
f"Qualify it with a namespace."
|
|
235
|
+
)
|
|
236
|
+
tensor_path = matches[0][1]
|
|
237
|
+
manifold = load_manifold(tensor_path)
|
|
238
|
+
metadata = manifold.metadata
|
|
239
|
+
from drowse.core.model import loaded_model_fingerprint
|
|
240
|
+
from drowse.io.paths import encode_release_id
|
|
241
|
+
|
|
242
|
+
live_fingerprint = loaded_model_fingerprint(
|
|
243
|
+
self._session._model, model_id,
|
|
244
|
+
)
|
|
245
|
+
if transferred_from is not None:
|
|
246
|
+
source_id = metadata.get("source_model_id")
|
|
247
|
+
if (
|
|
248
|
+
not isinstance(source_id, str)
|
|
249
|
+
or encode_release_id(source_id) != transferred_from
|
|
250
|
+
):
|
|
251
|
+
raise ManifoldNotRegisteredError(
|
|
252
|
+
f"manifold '{key}' transfer provenance does not match "
|
|
253
|
+
f"source {transferred_from!r}; recompute the transfer"
|
|
254
|
+
)
|
|
255
|
+
raw_roles = metadata.get("node_roles")
|
|
256
|
+
roles = (
|
|
257
|
+
list(raw_roles)
|
|
258
|
+
if isinstance(raw_roles, list)
|
|
259
|
+
else [None] * len(manifold.node_labels)
|
|
260
|
+
)
|
|
261
|
+
if requested_role is not None and (
|
|
262
|
+
not roles or not all(role == requested_role for role in roles)
|
|
263
|
+
):
|
|
264
|
+
raise ManifoldNotRegisteredError(
|
|
265
|
+
f"manifold '{key}' was not fitted uniformly with role "
|
|
266
|
+
f"{requested_role!r}; refit it with that role"
|
|
267
|
+
)
|
|
268
|
+
if variant == "raw" and any(role is not None for role in roles):
|
|
269
|
+
raise ManifoldNotRegisteredError(
|
|
270
|
+
f"manifold '{key}' was fitted with role baseline "
|
|
271
|
+
f"{roles!r}; steer it as :role-<name> or refit raw"
|
|
272
|
+
)
|
|
273
|
+
if metadata.get("model_fingerprint") != live_fingerprint:
|
|
274
|
+
raise ManifoldNotRegisteredError(
|
|
275
|
+
f"manifold '{key}' was fitted for different loaded weights "
|
|
276
|
+
f"under {model_id}; run `drowse manifold fit` again"
|
|
277
|
+
)
|
|
278
|
+
if metadata.get("fit_mode", "authored") != "baked":
|
|
279
|
+
from drowse.core.extraction import prepare_manifold_capture_identity
|
|
280
|
+
from drowse.io.manifold_folder import ManifoldFolder
|
|
281
|
+
|
|
282
|
+
folder_mf = ManifoldFolder.load(
|
|
283
|
+
tensor_path.parent, verify_manifest=False,
|
|
284
|
+
)
|
|
285
|
+
expected_capture = prepare_manifold_capture_identity(
|
|
286
|
+
self._session, folder_mf, live_fingerprint,
|
|
287
|
+
)[3]
|
|
288
|
+
if metadata.get("capture_sha256") != expected_capture:
|
|
289
|
+
raise ManifoldNotRegisteredError(
|
|
290
|
+
f"manifold '{key}' capture inputs changed (tokenizer, chat "
|
|
291
|
+
"template, role framing, or baseline prompts); refit it"
|
|
292
|
+
)
|
|
293
|
+
manifolds[key] = manifold.to(
|
|
294
|
+
device=self._session._device, dtype=torch.float32,
|
|
295
|
+
)
|
|
296
|
+
|
|
297
|
+
def resolve_pole_aliases(
|
|
298
|
+
self, entries: dict[str, tuple[float, Trigger]],
|
|
299
|
+
) -> dict[str, tuple[float, Trigger]]:
|
|
300
|
+
"""Apply pole-alias resolution + sign flipping + variant routing.
|
|
301
|
+
|
|
302
|
+
Returned keys carry the full variant-qualified name:
|
|
303
|
+
``canonical`` for raw, ``f"{canonical}:{variant}"`` otherwise. Autoload
|
|
304
|
+
is variant-aware — ``honest:sae`` will look for a ``_sae-*`` tensor
|
|
305
|
+
file, not the raw one.
|
|
306
|
+
|
|
307
|
+
Namespace-qualified inputs (``alice/foo``) keep the namespace
|
|
308
|
+
through resolution: the prefix is split off, the bare tail is
|
|
309
|
+
canonicalized, and the prefix is re-attached to the registry key.
|
|
310
|
+
This is what lets two installed packs that share a concept name
|
|
311
|
+
across namespaces stay addressable via their fully-qualified form.
|
|
312
|
+
|
|
313
|
+
Names already in ``self._profiles`` pass through verbatim — a caller
|
|
314
|
+
who pre-registered under a specific key stays addressed by that key.
|
|
315
|
+
"""
|
|
316
|
+
from drowse.io.selectors import canonicalize_atom
|
|
317
|
+
|
|
318
|
+
profiles = self._session._profiles
|
|
319
|
+
|
|
320
|
+
out: dict[str, tuple[float, Trigger]] = {}
|
|
321
|
+
for name, (alpha, trig) in entries.items():
|
|
322
|
+
if name in profiles:
|
|
323
|
+
out[name] = (float(alpha), trig)
|
|
324
|
+
continue
|
|
325
|
+
# Split namespace prefix so re-resolution scopes to the
|
|
326
|
+
# namespace the user originally typed (parser preserves it
|
|
327
|
+
# in the key when supplied). Bare names leave ``ns=None``
|
|
328
|
+
# so cross-namespace collisions still raise.
|
|
329
|
+
ns: str | None = None
|
|
330
|
+
bare_name = name
|
|
331
|
+
if "/" in name:
|
|
332
|
+
ns, bare_name = name.split("/", 1)
|
|
333
|
+
try:
|
|
334
|
+
canonical, variant = canonicalize_atom(bare_name)
|
|
335
|
+
except Exception:
|
|
336
|
+
out[name] = (float(alpha), trig)
|
|
337
|
+
continue
|
|
338
|
+
canonical_qualified = (
|
|
339
|
+
canonical if ns is None else f"{ns}/{canonical}"
|
|
340
|
+
)
|
|
341
|
+
if variant in {"sae", "from", "role"}:
|
|
342
|
+
import json
|
|
343
|
+
|
|
344
|
+
from drowse.core.errors import (
|
|
345
|
+
AmbiguousVariantError, UnknownVariantError,
|
|
346
|
+
)
|
|
347
|
+
from drowse.io.paths import (
|
|
348
|
+
manifold_dir, manifolds_dir, parse_tensor_filename,
|
|
349
|
+
safe_model_id,
|
|
350
|
+
)
|
|
351
|
+
|
|
352
|
+
roots = (
|
|
353
|
+
[(ns, manifold_dir(ns, canonical))]
|
|
354
|
+
if ns is not None else [
|
|
355
|
+
(entry.name, entry / canonical)
|
|
356
|
+
for entry in manifolds_dir().iterdir()
|
|
357
|
+
if entry.is_dir()
|
|
358
|
+
] if manifolds_dir().exists() else []
|
|
359
|
+
)
|
|
360
|
+
concrete: set[str] = set()
|
|
361
|
+
safe_model = safe_model_id(self._session.model_id)
|
|
362
|
+
for _candidate_ns, folder in roots:
|
|
363
|
+
if variant == "role":
|
|
364
|
+
sidecar_path = folder / f"{safe_model}.json"
|
|
365
|
+
if not sidecar_path.exists():
|
|
366
|
+
continue
|
|
367
|
+
with open(sidecar_path) as handle:
|
|
368
|
+
raw_sidecar = json.load(handle)
|
|
369
|
+
roles = raw_sidecar.get("node_roles") or [
|
|
370
|
+
None
|
|
371
|
+
] * int(raw_sidecar.get("node_count", 0))
|
|
372
|
+
if roles and all(role == roles[0] for role in roles):
|
|
373
|
+
if roles[0] is not None:
|
|
374
|
+
concrete.add(f"role-{roles[0]}")
|
|
375
|
+
continue
|
|
376
|
+
for tensor_path in folder.glob(f"{safe_model}_*.safetensors"):
|
|
377
|
+
parsed = parse_tensor_filename(tensor_path.name)
|
|
378
|
+
if parsed is None or parsed[1] is None:
|
|
379
|
+
continue
|
|
380
|
+
parsed_variant = parsed[1]
|
|
381
|
+
if parsed_variant.startswith(f"{variant}-"):
|
|
382
|
+
concrete.add(parsed_variant)
|
|
383
|
+
if len(concrete) != 1:
|
|
384
|
+
error = (
|
|
385
|
+
UnknownVariantError
|
|
386
|
+
if not concrete else AmbiguousVariantError
|
|
387
|
+
)
|
|
388
|
+
raise error(
|
|
389
|
+
f"manifold '{canonical_qualified}:{variant}' resolves "
|
|
390
|
+
f"to {sorted(concrete) or 'no fitted variants'}"
|
|
391
|
+
)
|
|
392
|
+
variant = next(iter(concrete))
|
|
393
|
+
registry_key = (
|
|
394
|
+
canonical_qualified
|
|
395
|
+
if variant == "raw"
|
|
396
|
+
else f"{canonical_qualified}:{variant}"
|
|
397
|
+
)
|
|
398
|
+
if registry_key not in profiles:
|
|
399
|
+
try:
|
|
400
|
+
# Unified resolution folds the fitted manifold. May raise
|
|
401
|
+
# Ambiguous/UnknownVariantError — keep the user's original
|
|
402
|
+
# name in ``out`` so the error surfaces at hook-install
|
|
403
|
+
# with a clear message.
|
|
404
|
+
self.ensure_profile_registered(registry_key)
|
|
405
|
+
except Exception:
|
|
406
|
+
out[name] = (float(alpha), trig)
|
|
407
|
+
continue
|
|
408
|
+
# Sign-flip retired with ``resolve_pole`` — a bare pole resolves
|
|
409
|
+
# through the manifold-label tier as a ``%`` push, not a negated
|
|
410
|
+
# vector, so the canonicalized form carries no sign.
|
|
411
|
+
if registry_key in profiles:
|
|
412
|
+
prev_alpha = out.get(registry_key, (0.0, trig))[0]
|
|
413
|
+
out[registry_key] = (prev_alpha + float(alpha), trig)
|
|
414
|
+
else:
|
|
415
|
+
out[name] = (float(alpha), trig)
|
|
416
|
+
return out
|
|
417
|
+
|
|
418
|
+
def ensure_profile_registered(
|
|
419
|
+
self, name: str, *, role: str = "vector",
|
|
420
|
+
) -> dict[int, torch.Tensor]:
|
|
421
|
+
"""Direction profile for ``name`` — registered tensor or folded manifold.
|
|
422
|
+
|
|
423
|
+
Steering directions come from the current manifold-first runtime:
|
|
424
|
+
|
|
425
|
+
1. an in-memory baked direction already in ``_profiles`` (ad-hoc
|
|
426
|
+
``extract``/``clone``/``merge`` results, ``~``/``|`` projection
|
|
427
|
+
derivations) — returned verbatim;
|
|
428
|
+
2. a fitted 2-node ``pca`` manifold on disk — loaded via
|
|
429
|
+
:meth:`ensure_manifold_loaded`
|
|
430
|
+
and folded by :func:`~drowse.core.capture.folded_directions`,
|
|
431
|
+
then memoized in ``_profiles``;
|
|
432
|
+
|
|
433
|
+
Raises :class:`ProfileNotRegisteredError` when nothing resolves.
|
|
434
|
+
"""
|
|
435
|
+
profiles = self._session._profiles
|
|
436
|
+
existing = profiles.get(name)
|
|
437
|
+
if existing is not None:
|
|
438
|
+
return existing
|
|
439
|
+
if ":" in name:
|
|
440
|
+
canonical, variant = name.rsplit(":", 1)
|
|
441
|
+
else:
|
|
442
|
+
canonical, variant = name, "raw"
|
|
443
|
+
|
|
444
|
+
# (1b) Reserved J-lens namespace: ``jlens/<word>`` resolves lazily
|
|
445
|
+
# through the model's fitted Jacobian lens (a per-layer ``W_U[v]@J_l``
|
|
446
|
+
# direction registered into the ordinary profile registry). Raises
|
|
447
|
+
# ``LensNotFittedError`` (with the fit command) or
|
|
448
|
+
# ``MultiTokenWordError`` — never falls through to extraction.
|
|
449
|
+
if canonical.startswith("jlens/") and variant == "raw":
|
|
450
|
+
registered = self._session.register_jlens_direction(
|
|
451
|
+
canonical.split("/", 1)[1]
|
|
452
|
+
)
|
|
453
|
+
return profiles[registered]
|
|
454
|
+
|
|
455
|
+
# (1c) Reserved SAE namespace: ``sae/<integer>`` is the resident
|
|
456
|
+
# release's decoder row at its hook layer. It is a steering-only
|
|
457
|
+
# profile; feature probes use the encoder readout channel instead.
|
|
458
|
+
if canonical.startswith("sae/") and variant == "raw":
|
|
459
|
+
registered = self._session.register_sae_direction(
|
|
460
|
+
canonical.split("/", 1)[1]
|
|
461
|
+
)
|
|
462
|
+
return profiles[registered]
|
|
463
|
+
|
|
464
|
+
# (2) Manifold-backed direction.
|
|
465
|
+
folded = self.try_fold_manifold(name)
|
|
466
|
+
if folded is not None:
|
|
467
|
+
profiles[name] = folded
|
|
468
|
+
return folded
|
|
469
|
+
|
|
470
|
+
raise ProfileNotRegisteredError(
|
|
471
|
+
f"No profile registered for {role} '{name}'"
|
|
472
|
+
)
|
|
473
|
+
|
|
474
|
+
def try_fold_manifold(
|
|
475
|
+
self, name: str,
|
|
476
|
+
) -> dict[int, torch.Tensor] | None:
|
|
477
|
+
"""Load a 2-node ``pca`` manifold for ``name`` and fold it to a vector.
|
|
478
|
+
|
|
479
|
+
Returns the per-layer direction dict, or ``None`` when no fitted
|
|
480
|
+
manifold resolves (so the caller falls through to porting / autoload).
|
|
481
|
+
Re-raises only when a manifold *does* load but isn't a foldable 2-node
|
|
482
|
+
affine subspace — that's a usage error, not a miss.
|
|
483
|
+
"""
|
|
484
|
+
try:
|
|
485
|
+
self.ensure_manifold_loaded(name)
|
|
486
|
+
except Exception:
|
|
487
|
+
return None
|
|
488
|
+
from drowse.core.capture import folded_directions
|
|
489
|
+
try:
|
|
490
|
+
return folded_directions(self._session._manifolds[name])
|
|
491
|
+
except Exception as e:
|
|
492
|
+
raise ProfileNotRegisteredError(
|
|
493
|
+
f"'{name}' is a manifold that does not fold to a single "
|
|
494
|
+
f"steering direction (not a 2-node affine subspace): {e}"
|
|
495
|
+
) from e
|
|
496
|
+
|
|
497
|
+
# -------------------------------------------------------- stack push / pop
|
|
498
|
+
|
|
499
|
+
def push(
|
|
500
|
+
self,
|
|
501
|
+
entries: dict[str, SteeringStackEntry],
|
|
502
|
+
) -> None:
|
|
503
|
+
"""Push an entries dict onto the steering stack and rebuild hooks.
|
|
504
|
+
|
|
505
|
+
If ``rebuild_hooks`` raises (e.g. an unknown vector
|
|
506
|
+
name hits ``ProfileNotRegisteredError``) the just-pushed entry is
|
|
507
|
+
rolled back before the exception propagates, so the stack is
|
|
508
|
+
never left with stale half-committed state.
|
|
509
|
+
|
|
510
|
+
Thread-safety: acquires :attr:`_gen_lock` (blocking) for the
|
|
511
|
+
rebuild phase. In-flight generations hold the lock for their
|
|
512
|
+
whole forward+sample loop, so concurrent ``session.steering()
|
|
513
|
+
.__enter__()`` from a different thread waits until the active
|
|
514
|
+
generation finishes rather than mutating hook tensors mid-step.
|
|
515
|
+
Single-threaded users pay an uncontended acquire;
|
|
516
|
+
the server's per-session asyncio lock serializes requests
|
|
517
|
+
upstream so the contention path is exercised mostly by
|
|
518
|
+
ad-hoc multi-threaded callers.
|
|
519
|
+
|
|
520
|
+
Phase guard: rejects calls from the gen worker thread when
|
|
521
|
+
:attr:`_gen_phase` is ``RUNNING`` or ``FINALIZING`` (i.e. an
|
|
522
|
+
``on_token`` callback re-entered the API mid-step). RLock would
|
|
523
|
+
otherwise let the same-thread caller pass straight through —
|
|
524
|
+
the lock alone protects against cross-thread races, not
|
|
525
|
+
callback reentry. Legitimate same-thread callers reach
|
|
526
|
+
``push`` only during ``PREAMBLE`` (the internal
|
|
527
|
+
steering scope that ``_generate_core`` opens before flipping
|
|
528
|
+
to ``RUNNING``) or ``IDLE`` (regular user code between gens).
|
|
529
|
+
"""
|
|
530
|
+
session = self._session
|
|
531
|
+
# ``_generate_core``'s internal ``steering_cm.__enter__()`` runs
|
|
532
|
+
# during ``PREAMBLE`` (before the ``RUNNING`` flip), so push
|
|
533
|
+
# never needs the ``_internal_steering_pop`` bypass — only the
|
|
534
|
+
# exit path fires under ``RUNNING``/``FINALIZING``. The check
|
|
535
|
+
# here catches genuine callback reentry where ``on_token`` /
|
|
536
|
+
# ``score_callback`` calls back into ``session.steering(...)``
|
|
537
|
+
# mid-step.
|
|
538
|
+
if session._gen_phase in (GenState.RUNNING, GenState.FINALIZING):
|
|
539
|
+
raise ConcurrentGenerationError(
|
|
540
|
+
"cannot enter session.steering() from inside a generation "
|
|
541
|
+
"callback (e.g. on_token) — the steering stack mutation "
|
|
542
|
+
f"would clobber hook tensors mid-step (gen_phase="
|
|
543
|
+
f"{session._gen_phase.name})"
|
|
544
|
+
)
|
|
545
|
+
with session._gen_lock:
|
|
546
|
+
self._stack.append(dict(entries))
|
|
547
|
+
try:
|
|
548
|
+
# Rebuild through the session boundary after the stack mutation.
|
|
549
|
+
session._rebuild_steering_hooks()
|
|
550
|
+
except BaseException:
|
|
551
|
+
self._stack.pop()
|
|
552
|
+
raise
|
|
553
|
+
# Steering hooks just changed. A cached prefix is *unsteered*
|
|
554
|
+
# (``cache_prefix`` refuses to run inside a steering scope), so it
|
|
555
|
+
# only stops representing the current pre-attention residual stream
|
|
556
|
+
# when the new stack actually steers the prefill. A prefill-
|
|
557
|
+
# inactive scope (``@response`` / ``@generated`` / probe-gated)
|
|
558
|
+
# leaves the prompt region untouched, so the unsteered prefix stays
|
|
559
|
+
# valid and we keep it — this is what lets ``generate_batch`` reuse
|
|
560
|
+
# one prefill across a steered batch. Drop it only when prefill is
|
|
561
|
+
# genuinely steered.
|
|
562
|
+
if self.steering_active_in_prefill():
|
|
563
|
+
session._invalidate_prefix_cache()
|
|
564
|
+
self.emit_steering_applied()
|
|
565
|
+
|
|
566
|
+
def pop(self) -> None:
|
|
567
|
+
"""Pop the top of the steering stack and rebuild hooks.
|
|
568
|
+
|
|
569
|
+
Mirrors :meth:`push` for thread-safety and phase
|
|
570
|
+
guarding: acquires :attr:`_gen_lock` so the rebuild can't fire
|
|
571
|
+
mid-step in another thread's generation, and rejects same-
|
|
572
|
+
thread callback reentry during ``RUNNING`` / ``FINALIZING``.
|
|
573
|
+
"""
|
|
574
|
+
session = self._session
|
|
575
|
+
if not self._stack:
|
|
576
|
+
return
|
|
577
|
+
# Same internal-vs-callback distinction as ``push``.
|
|
578
|
+
# ``_generate_core``'s finally block sets the flag around the
|
|
579
|
+
# ``steering_cm.__exit__()`` it owns, so its own scope cleanup
|
|
580
|
+
# passes through; callback reentry (on_token, score_callback)
|
|
581
|
+
# from inside the running loop hits the reject path.
|
|
582
|
+
if (
|
|
583
|
+
not session._internal_steering_pop
|
|
584
|
+
and session._gen_phase in (GenState.RUNNING, GenState.FINALIZING)
|
|
585
|
+
):
|
|
586
|
+
raise ConcurrentGenerationError(
|
|
587
|
+
"cannot exit session.steering() from inside a generation "
|
|
588
|
+
"callback — the steering stack mutation would clobber "
|
|
589
|
+
f"hook tensors mid-step (gen_phase={session._gen_phase.name})"
|
|
590
|
+
)
|
|
591
|
+
with session._gen_lock:
|
|
592
|
+
self._stack.pop()
|
|
593
|
+
# Rebuild through the session boundary after the stack mutation.
|
|
594
|
+
session._rebuild_steering_hooks()
|
|
595
|
+
# Symmetric with ``push``: the cached prefix is unsteered,
|
|
596
|
+
# so only invalidate when what remains on the stack still steers the
|
|
597
|
+
# prefill. Popping back to a prefill-inactive (or empty) stack keeps
|
|
598
|
+
# the unsteered prefix valid for the next reuse.
|
|
599
|
+
if self.steering_active_in_prefill():
|
|
600
|
+
session._invalidate_prefix_cache()
|
|
601
|
+
if not self._stack:
|
|
602
|
+
session.events.emit(SteeringCleared())
|
|
603
|
+
else:
|
|
604
|
+
self.emit_steering_applied()
|
|
605
|
+
|
|
606
|
+
def emit_steering_applied(self) -> None:
|
|
607
|
+
"""Emit SteeringApplied with alphas-only + full entries.
|
|
608
|
+
|
|
609
|
+
``alphas`` carries the flat ``{name: alpha}`` shape; ``entries``
|
|
610
|
+
carries the full ``{name: (alpha, trigger)}`` mapping. Ablation
|
|
611
|
+
entries keyed under ``!<target>`` flatten to their ``(coeff,
|
|
612
|
+
trigger)`` pair so subscribers see one uniform tuple shape.
|
|
613
|
+
"""
|
|
614
|
+
flat = self.flatten_stack()
|
|
615
|
+
alphas_only: dict[str, float] = {}
|
|
616
|
+
entries_out: dict[str, tuple[float, Trigger]] = {}
|
|
617
|
+
for name, entry in flat.items():
|
|
618
|
+
coeff = entry_coeff(entry)
|
|
619
|
+
alphas_only[name] = coeff
|
|
620
|
+
entries_out[name] = (coeff, entry_trigger(entry))
|
|
621
|
+
self._session.events.emit(
|
|
622
|
+
SteeringApplied(alphas=alphas_only, entries=entries_out)
|
|
623
|
+
)
|
|
624
|
+
|
|
625
|
+
def flatten_stack(self) -> dict[str, SteeringStackEntry]:
|
|
626
|
+
"""Collapse the LIFO stack into a single entries dict (later wins)."""
|
|
627
|
+
flat: dict[str, SteeringStackEntry] = {}
|
|
628
|
+
for entry in self._stack:
|
|
629
|
+
flat.update(entry)
|
|
630
|
+
return flat
|
|
631
|
+
|
|
632
|
+
def steering_needs_probe_gating(self) -> bool:
|
|
633
|
+
"""Return True iff any active steering trigger carries a
|
|
634
|
+
:class:`~drowse.core.triggers.ProbeGate`.
|
|
635
|
+
|
|
636
|
+
Walks the flattened steering stack head through
|
|
637
|
+
:func:`~drowse.core.steering.entry_trigger`, so every entry shape is
|
|
638
|
+
inspected the same way. Cheap pre-flight check that lets
|
|
639
|
+
``_generate_core`` decide whether to wire the per-step score callback
|
|
640
|
+
at all.
|
|
641
|
+
"""
|
|
642
|
+
return any(
|
|
643
|
+
entry_trigger(entry).gate is not None
|
|
644
|
+
for entry in self.flatten_stack().values()
|
|
645
|
+
)
|
|
646
|
+
|
|
647
|
+
def _gated_refs(self) -> "list[tuple[str, GateRef]]":
|
|
648
|
+
"""Every active probe-gate reference, parsed once into its
|
|
649
|
+
structured form (:func:`parse_gate_ref` — the ONE place the
|
|
650
|
+
scalar-key discrimination lives). Walks the flattened steering
|
|
651
|
+
stack exactly like the historical per-family key walks, which this
|
|
652
|
+
replaces. Note the structured parse also fixes the old
|
|
653
|
+
``re.split("[\\[:@~]")`` truncation of variant-suffixed probe names
|
|
654
|
+
(``pirate:role-x`` no longer truncates at ``:role-x``).
|
|
655
|
+
"""
|
|
656
|
+
from drowse.core.instruments.types import parse_gate_ref
|
|
657
|
+
|
|
658
|
+
refs = []
|
|
659
|
+
for entry in self.flatten_stack().values():
|
|
660
|
+
gate = entry_trigger(entry).gate
|
|
661
|
+
if gate is None:
|
|
662
|
+
continue
|
|
663
|
+
refs.append((gate.probe, parse_gate_ref(gate.probe)))
|
|
664
|
+
return refs
|
|
665
|
+
|
|
666
|
+
def gated_probe_names(self) -> set[str]:
|
|
667
|
+
"""Registered monitor probe names referenced by active probe gates.
|
|
668
|
+
|
|
669
|
+
Only names that are actually attached probes are kept, so a stale /
|
|
670
|
+
non-probe gate key doesn't shrink an otherwise-empty subset to
|
|
671
|
+
"score nothing". Used by ``_begin_capture`` to scope the per-token
|
|
672
|
+
step sink to just the gated probes when gating is the sole
|
|
673
|
+
per-token consumer (FIX #4).
|
|
674
|
+
"""
|
|
675
|
+
attached = set(self._session._monitor.probe_names)
|
|
676
|
+
return {
|
|
677
|
+
ref.probe for _key, ref in self._gated_refs()
|
|
678
|
+
if ref.probe in attached
|
|
679
|
+
}
|
|
680
|
+
|
|
681
|
+
def gated_probe_keys(self) -> set[str]:
|
|
682
|
+
"""Exact monitor scalar keys referenced by active probe gates."""
|
|
683
|
+
attached = set(self._session._monitor.probe_names)
|
|
684
|
+
return {
|
|
685
|
+
key for key, ref in self._gated_refs()
|
|
686
|
+
if ref.probe in attached
|
|
687
|
+
}
|
|
688
|
+
|
|
689
|
+
def gated_family_probe_keys(self, family: "InstrumentFamily") -> set[str]:
|
|
690
|
+
"""Exact gate scalar keys referencing one read family's probes.
|
|
691
|
+
|
|
692
|
+
Driven by ``session.instruments`` — the registry IS the family
|
|
693
|
+
enumeration, so this is one loop rather than a per-family copy.
|
|
694
|
+
Lens and SAE probes live in their instruments' own registries (the
|
|
695
|
+
readout channels), not the Monitor, so :meth:`gated_probe_keys`'
|
|
696
|
+
attachment test doesn't see them.
|
|
697
|
+
|
|
698
|
+
A key whose base name is attached to the family is also
|
|
699
|
+
**channel-validated** here (``Instrument.validate_gate``): the
|
|
700
|
+
single-axis families produce only the strength channel, so
|
|
701
|
+
``@when:jlens/word:membership`` raises
|
|
702
|
+
``UnsupportedProbeChannelError`` at generation preflight rather than
|
|
703
|
+
sitting silently inactive. Geometry accepts every channel, so the
|
|
704
|
+
same call is a no-op there.
|
|
705
|
+
"""
|
|
706
|
+
instrument = self._session.instruments[family]
|
|
707
|
+
attached = set(instrument.names)
|
|
708
|
+
if not attached:
|
|
709
|
+
return set()
|
|
710
|
+
out: set[str] = set()
|
|
711
|
+
for key, ref in self._gated_refs():
|
|
712
|
+
if ref.probe in attached:
|
|
713
|
+
instrument.validate_gate(ref)
|
|
714
|
+
out.add(key)
|
|
715
|
+
return out
|
|
716
|
+
|
|
717
|
+
def gated_lens_probe_keys(self) -> set[str]:
|
|
718
|
+
"""Exact gate scalar keys referencing attached J-lens token probes."""
|
|
719
|
+
return self.gated_family_probe_keys("lens")
|
|
720
|
+
|
|
721
|
+
def gated_sae_probe_keys(self) -> set[str]:
|
|
722
|
+
"""Exact gate scalar keys referencing attached SAE feature probes."""
|
|
723
|
+
return self.gated_family_probe_keys("sae")
|
|
724
|
+
|
|
725
|
+
def steering_active_in_prefill(self) -> bool:
|
|
726
|
+
"""Return True iff any active steering term fires during prompt prefill.
|
|
727
|
+
|
|
728
|
+
A term touches the prefill residual stream iff its trigger has
|
|
729
|
+
``prompt=True`` and carries no probe gate (probe gates report
|
|
730
|
+
inactive during prefill — there's no post-forward score yet; see
|
|
731
|
+
:meth:`~drowse.core.triggers.Trigger.active`). When this is False the
|
|
732
|
+
prefill is numerically identical to the *unsteered* prefill, so a
|
|
733
|
+
cached unsteered prefix KV (the only kind :meth:`cache_prefix` builds)
|
|
734
|
+
stays valid for reuse. This is the gate the prefix-cache consume path
|
|
735
|
+
keys on, and the condition under which steering push/pop preserves the
|
|
736
|
+
cache. Mirrors :meth:`steering_needs_probe_gating`'s stack walk.
|
|
737
|
+
"""
|
|
738
|
+
return any(
|
|
739
|
+
_fires_in_prefill(entry_trigger(entry))
|
|
740
|
+
for entry in self.flatten_stack().values()
|
|
741
|
+
)
|
|
742
|
+
|
|
743
|
+
def steering_value_prefill_inactive(
|
|
744
|
+
self, value: "str | Steering | None",
|
|
745
|
+
) -> bool:
|
|
746
|
+
"""Return True iff steering ``value`` would not touch the prompt prefill.
|
|
747
|
+
|
|
748
|
+
Pre-flight form of :meth:`steering_active_in_prefill` over an
|
|
749
|
+
*incoming* steering value (before any scope push) — used by
|
|
750
|
+
:meth:`generate_batch` to decide whether a shared-prefix KV cache is
|
|
751
|
+
reusable across the batch. ``None`` (no steering) is trivially
|
|
752
|
+
prefill-inactive; otherwise a term is prefill-active iff its trigger
|
|
753
|
+
has ``prompt=True`` and no probe gate. A malformed expression (raises
|
|
754
|
+
on parse) is conservatively reported active so the caller skips
|
|
755
|
+
caching and lets the normal path surface the error.
|
|
756
|
+
"""
|
|
757
|
+
from drowse.core.steering import Steering
|
|
758
|
+
|
|
759
|
+
try:
|
|
760
|
+
s = Steering.from_value(
|
|
761
|
+
value, profile_names=set(self._session._profiles),
|
|
762
|
+
)
|
|
763
|
+
except Exception:
|
|
764
|
+
return False
|
|
765
|
+
if s is None:
|
|
766
|
+
return True
|
|
767
|
+
return not any(_fires_in_prefill(trig) for trig in s.triggers())
|
|
768
|
+
|
|
769
|
+
def build_gating_score_callback(self):
|
|
770
|
+
"""Return a closure that scores latest captures into a
|
|
771
|
+
``dict[str, float]`` for ``generate_steered``'s ``score_callback``.
|
|
772
|
+
|
|
773
|
+
The closure pulls ``session._capture.latest_per_layer()`` (the
|
|
774
|
+
most-recent ``[D]`` slice per layer the steering hooks captured) and
|
|
775
|
+
runs it through :meth:`Monitor.score_single_token` — one unified pass
|
|
776
|
+
over every probe shape — flattening to gate scalars via
|
|
777
|
+
:meth:`Monitor.flat_scalars`. Returns an empty dict when the capture
|
|
778
|
+
is empty (e.g. before the first forward) so probe gates report
|
|
779
|
+
inactive instead of seeing stale values from a previous gen.
|
|
780
|
+
|
|
781
|
+
Caller-side guard: only invoked when
|
|
782
|
+
:meth:`steering_needs_probe_gating` is True, so the no-gate
|
|
783
|
+
path stays at zero overhead.
|
|
784
|
+
|
|
785
|
+
Hot path: the returned closure runs per token under an active gate. It
|
|
786
|
+
binds ``capture``/``monitor`` to locals before the inner ``def`` and
|
|
787
|
+
reads the session's capture state (``_capture_state`` /
|
|
788
|
+
``_incremental_readings`` / ``_incremental_gate_scores``) through one
|
|
789
|
+
plain ``self._session.`` hop, exactly as the unextracted body did — no
|
|
790
|
+
new per-token indirection.
|
|
791
|
+
"""
|
|
792
|
+
session = self._session
|
|
793
|
+
capture = session._capture
|
|
794
|
+
monitor = session._monitor
|
|
795
|
+
# The bound geometry run (the callback is built after the capture
|
|
796
|
+
# transaction's bind) — the full-roster reads below consult its
|
|
797
|
+
# step-keyed observe memo, sharing the FULL-incremental sink's
|
|
798
|
+
# per-forward scoring pass.
|
|
799
|
+
geometry_run = session._geometry_instrument.current_run
|
|
800
|
+
# J-lens token probes referenced by active gates score on the lens
|
|
801
|
+
# path (readout-channel strength), not through the Monitor —
|
|
802
|
+
# detected once per generation here, merged into every return below.
|
|
803
|
+
monitor_gate_keys = self.gated_probe_keys()
|
|
804
|
+
lens_gate_keys = self.gated_lens_probe_keys()
|
|
805
|
+
sae_gate_keys = self.gated_sae_probe_keys()
|
|
806
|
+
has_lens_gates = bool(lens_gate_keys)
|
|
807
|
+
has_sae_gates = bool(sae_gate_keys)
|
|
808
|
+
monitor_gate_plan_cache: dict[
|
|
809
|
+
tuple[frozenset[str], frozenset[str] | None],
|
|
810
|
+
Any,
|
|
811
|
+
] = {}
|
|
812
|
+
|
|
813
|
+
def _score_monitor_gate_keys(
|
|
814
|
+
latest: dict[int, torch.Tensor],
|
|
815
|
+
gate_keys: set[str],
|
|
816
|
+
*,
|
|
817
|
+
probe_names: set[str] | None = None,
|
|
818
|
+
) -> dict[str, float]:
|
|
819
|
+
if not gate_keys:
|
|
820
|
+
return {}
|
|
821
|
+
frozen_keys = frozenset(gate_keys)
|
|
822
|
+
frozen_probes = (
|
|
823
|
+
frozenset(probe_names) if probe_names is not None else None
|
|
824
|
+
)
|
|
825
|
+
cache_key = (frozen_keys, frozen_probes)
|
|
826
|
+
plan = monitor_gate_plan_cache.get(cache_key)
|
|
827
|
+
if plan is None:
|
|
828
|
+
plan = monitor.plan_gate_scalars(
|
|
829
|
+
set(frozen_keys),
|
|
830
|
+
probe_names=(
|
|
831
|
+
set(frozen_probes) if frozen_probes is not None else None
|
|
832
|
+
),
|
|
833
|
+
)
|
|
834
|
+
monitor_gate_plan_cache[cache_key] = plan
|
|
835
|
+
return (
|
|
836
|
+
cast(dict[str, float], monitor.score_planned_gate_scalars(latest, plan))
|
|
837
|
+
if plan else {}
|
|
838
|
+
)
|
|
839
|
+
|
|
840
|
+
def _monitor_scalars(step_id: int) -> dict[str, float]:
|
|
841
|
+
incremental_readings = session._incremental_readings
|
|
842
|
+
incremental_gate_scores = session._incremental_gate_scores
|
|
843
|
+
# The step sink already scored this token's readings — reuse them so
|
|
844
|
+
# the gate doesn't trigger a second pass. In gating-only-subset mode
|
|
845
|
+
# (FIX #4) the rows hold just the gated probes, which is exactly the
|
|
846
|
+
# set the gate consults; in the full incremental mode they hold the
|
|
847
|
+
# whole roster. Both reuse the latest appended row.
|
|
848
|
+
state = session._capture_state
|
|
849
|
+
gating_subset = state.gating_subset
|
|
850
|
+
gate_keys = state.gating_keys or monitor_gate_keys
|
|
851
|
+
if (
|
|
852
|
+
not gate_keys
|
|
853
|
+
and (has_lens_gates or has_sae_gates)
|
|
854
|
+
):
|
|
855
|
+
return {}
|
|
856
|
+
if gating_subset and incremental_gate_scores:
|
|
857
|
+
return incremental_gate_scores[-1]
|
|
858
|
+
if state.incremental and incremental_readings:
|
|
859
|
+
# FULL-incremental: the sink primed the run's observe memo
|
|
860
|
+
# for this forward — a hit returns the sink's exact row.
|
|
861
|
+
# A miss falls back to the sink's appended row (rows align
|
|
862
|
+
# 1:1 with forwards, so ``[-1]`` IS this forward's — the
|
|
863
|
+
# miss cases are an empty-capture row, which never primes,
|
|
864
|
+
# and a narrow test stub's idle run).
|
|
865
|
+
scalars = monitor.flat_scalars(
|
|
866
|
+
geometry_run.observe(step_id, {})
|
|
867
|
+
or incremental_readings[-1]
|
|
868
|
+
)
|
|
869
|
+
if gate_keys:
|
|
870
|
+
missing = gate_keys - set(scalars)
|
|
871
|
+
if missing:
|
|
872
|
+
latest = capture.latest_per_layer()
|
|
873
|
+
if latest:
|
|
874
|
+
scalars.update(
|
|
875
|
+
_score_monitor_gate_keys(
|
|
876
|
+
latest,
|
|
877
|
+
missing,
|
|
878
|
+
probe_names=gating_subset if gating_subset else None,
|
|
879
|
+
)
|
|
880
|
+
)
|
|
881
|
+
return scalars
|
|
882
|
+
if not monitor.probe_names:
|
|
883
|
+
return {}
|
|
884
|
+
latest = capture.latest_per_layer()
|
|
885
|
+
if not latest:
|
|
886
|
+
return {}
|
|
887
|
+
if gate_keys:
|
|
888
|
+
return _score_monitor_gate_keys(
|
|
889
|
+
latest,
|
|
890
|
+
gate_keys,
|
|
891
|
+
probe_names=gating_subset if gating_subset else None,
|
|
892
|
+
)
|
|
893
|
+
# Flatten the coordinate readings into gate-callback scalars
|
|
894
|
+
# (``name`` aliases axis 0, ``name[i]`` per axis, ``name:fraction``,
|
|
895
|
+
# ``name@label`` for curved nearest). Scope to the gated subset
|
|
896
|
+
# when the per-token path is gating-only (avoids the full roster).
|
|
897
|
+
# The full-roster read goes through the geometry run's step-keyed
|
|
898
|
+
# ``observe`` — same scope as the token tap's read of this
|
|
899
|
+
# forward, so whichever runs first primes the memo and the other
|
|
900
|
+
# hits it (subset reads stay on the planned direct path above:
|
|
901
|
+
# widening them to the full roster would regress large-K).
|
|
902
|
+
if gating_subset:
|
|
903
|
+
agg = monitor.score_single_token(latest, only=gating_subset)
|
|
904
|
+
else:
|
|
905
|
+
agg = session._geometry_instrument.current_run.observe(
|
|
906
|
+
step_id, latest,
|
|
907
|
+
)
|
|
908
|
+
return monitor.flat_scalars(agg)
|
|
909
|
+
|
|
910
|
+
def _score(step_id: int) -> dict[str, float]:
|
|
911
|
+
out = _monitor_scalars(step_id)
|
|
912
|
+
if has_lens_gates:
|
|
913
|
+
# Once per forward: band lens logits → strength
|
|
914
|
+
# scalars (also stashed step-keyed for the display step to
|
|
915
|
+
# reuse — step identity replaced the freshness handshake).
|
|
916
|
+
lens_scalars = session._score_lens_gate_scalars(
|
|
917
|
+
lens_gate_keys, step_id=step_id,
|
|
918
|
+
)
|
|
919
|
+
if lens_scalars:
|
|
920
|
+
out = {**out, **lens_scalars}
|
|
921
|
+
if has_sae_gates:
|
|
922
|
+
sae_scalars = session._score_sae_gate_scalars(
|
|
923
|
+
sae_gate_keys, step_id=step_id,
|
|
924
|
+
)
|
|
925
|
+
if sae_scalars:
|
|
926
|
+
out = {**out, **sae_scalars}
|
|
927
|
+
return out
|
|
928
|
+
|
|
929
|
+
return _score
|
|
930
|
+
|
|
931
|
+
# ------------------------------------------------------------- dispatch
|
|
932
|
+
|
|
933
|
+
def compose_steering_entries(
|
|
934
|
+
self,
|
|
935
|
+
entries: dict[str, SteeringStackEntry],
|
|
936
|
+
) -> None:
|
|
937
|
+
"""Lower the active steering entries into the ``SteeringManager`` (4.0).
|
|
938
|
+
|
|
939
|
+
Classifies every entry and composes the one unified backend:
|
|
940
|
+
|
|
941
|
+
- **push** terms (vectors, poles, ``~``/``|`` projections, affine-``%``
|
|
942
|
+
manifolds) and **ablation** terms (``!``) are grouped by trigger;
|
|
943
|
+
each group is synthesized into one merged affine subspace via
|
|
944
|
+
:func:`~drowse.core.manifold.synthesize_subspace` and registered with
|
|
945
|
+
:meth:`SteeringManager.add_subspace`;
|
|
946
|
+
- **curved-``%``** manifold terms each get their own two-op via
|
|
947
|
+
:meth:`SteeringManager.add_manifold`.
|
|
948
|
+
|
|
949
|
+
A push fragment is ``(unit-dir rows, ‖d_L‖ coord, coeff)`` so the
|
|
950
|
+
synthesizer's ``Δ = Σ coeff·(coord @ basis)`` recovers the baked
|
|
951
|
+
direction; the coeff is the term's ``along`` (the strength composes into
|
|
952
|
+
the merged target). Ablation directions slide their axis to the
|
|
953
|
+
neutral-anchored origin (coord 0 = mean-replacement). The neutral
|
|
954
|
+
anchor is :attr:`layer_means`; a layer with no anchor is skipped.
|
|
955
|
+
"""
|
|
956
|
+
from drowse.core.manifold import synthesize_subspace
|
|
957
|
+
|
|
958
|
+
session = self._session
|
|
959
|
+
steering = session._steering
|
|
960
|
+
|
|
961
|
+
steering.clear_all()
|
|
962
|
+
neutral_means = session.layer_means
|
|
963
|
+
|
|
964
|
+
# Whitened push normalization (Mahalanobis-only): hand the synthesizer the
|
|
965
|
+
# session whitener so the per-layer ``along`` budget is the whitened
|
|
966
|
+
# displacement ``‖Δ‖_M`` and the target is a whitened-unit direction —
|
|
967
|
+
# making ``along`` a scale-stable strength knob instead of inheriting each
|
|
968
|
+
# node's raw-Euclidean distance from neutral (which spans ~100× across
|
|
969
|
+
# targets).
|
|
970
|
+
whitener = session.whitener
|
|
971
|
+
|
|
972
|
+
# trigger -> {
|
|
973
|
+
# "push": [(basis_dirs, coord_dirs, coeff)],
|
|
974
|
+
# "ablate": [(dirs, coeff)],
|
|
975
|
+
# }
|
|
976
|
+
#
|
|
977
|
+
# Ablation coefficients must remain attached to their directions all
|
|
978
|
+
# the way into synthesis. Dropping them here silently turned every
|
|
979
|
+
# partial ablation (``0.15 !x``) into a full ablation.
|
|
980
|
+
grouped: dict[Trigger, dict[str, list[Any]]] = {}
|
|
981
|
+
|
|
982
|
+
def _bucket(trigger: Trigger) -> dict[str, list[Any]]:
|
|
983
|
+
return grouped.setdefault(trigger, {"push": [], "ablate": []})
|
|
984
|
+
|
|
985
|
+
from drowse.core.capture import fold_directions_to_subspace
|
|
986
|
+
|
|
987
|
+
for name, entry in entries.items():
|
|
988
|
+
if isinstance(entry, AblationTerm):
|
|
989
|
+
ablate_prof = self.ensure_profile_registered(
|
|
990
|
+
entry.target, role="ablation target",
|
|
991
|
+
)
|
|
992
|
+
ablate_dirs = {
|
|
993
|
+
L: v.to(torch.float32).reshape(-1)
|
|
994
|
+
for L, v in ablate_prof.items()
|
|
995
|
+
}
|
|
996
|
+
_bucket(entry.trigger)["ablate"].append(
|
|
997
|
+
(ablate_dirs, entry.coeff),
|
|
998
|
+
)
|
|
999
|
+
continue
|
|
1000
|
+
if isinstance(entry, ManifoldTerm):
|
|
1001
|
+
manifold = session._manifolds.get(entry.manifold)
|
|
1002
|
+
if manifold is None:
|
|
1003
|
+
raise ManifoldNotRegisteredError(
|
|
1004
|
+
f"No manifold registered for '{entry.manifold}'"
|
|
1005
|
+
)
|
|
1006
|
+
if manifold_is_affine(manifold):
|
|
1007
|
+
# Affine ``%`` joins the merged subspace as a rank-R push
|
|
1008
|
+
# toward the position's per-layer coords — a node's real
|
|
1009
|
+
# coords for label form (``personas%pirate``) or the cardinal
|
|
1010
|
+
# RBF layout blend for free coord form (``personas%c0,c1,…``).
|
|
1011
|
+
basis_dirs, coord_dirs = _affine_manifold_push(
|
|
1012
|
+
manifold, entry.position,
|
|
1013
|
+
)
|
|
1014
|
+
_bucket(entry.trigger)["push"].append(
|
|
1015
|
+
(basis_dirs, coord_dirs, entry.along),
|
|
1016
|
+
)
|
|
1017
|
+
else:
|
|
1018
|
+
steering.add_manifold(
|
|
1019
|
+
entry.manifold, manifold,
|
|
1020
|
+
position=entry.position,
|
|
1021
|
+
along=entry.along, onto=entry.onto,
|
|
1022
|
+
trigger=entry.trigger,
|
|
1023
|
+
)
|
|
1024
|
+
continue
|
|
1025
|
+
alpha, trigger = entry
|
|
1026
|
+
# 4.0 step 6b: every in-memory direction (ad-hoc extracts, clones,
|
|
1027
|
+
# merges, ``~``/``|`` projections, or a folded bundled concept)
|
|
1028
|
+
# lowers through the one push path — fold it to a neutral-anchored
|
|
1029
|
+
# one-pole-ray subspace and push label-form, exactly as an affine
|
|
1030
|
+
# ``%`` term does. There is no separate baked-vector fragment.
|
|
1031
|
+
prof = self.ensure_profile_registered(name)
|
|
1032
|
+
folded = fold_directions_to_subspace(
|
|
1033
|
+
name, prof, neutral_means, whitener=whitener,
|
|
1034
|
+
)
|
|
1035
|
+
if not folded.layers:
|
|
1036
|
+
continue
|
|
1037
|
+
basis_dirs, coord_dirs = _affine_manifold_push(
|
|
1038
|
+
folded, folded.node_labels[0],
|
|
1039
|
+
)
|
|
1040
|
+
_bucket(trigger)["push"].append((basis_dirs, coord_dirs, alpha))
|
|
1041
|
+
|
|
1042
|
+
# One merged affine subspace per active trigger group.
|
|
1043
|
+
for i, (trigger, terms) in enumerate(grouped.items()):
|
|
1044
|
+
if not terms["push"] and not terms["ablate"]:
|
|
1045
|
+
continue
|
|
1046
|
+
synth = synthesize_subspace(
|
|
1047
|
+
terms["push"], terms["ablate"], neutral_means=neutral_means,
|
|
1048
|
+
whitener=whitener,
|
|
1049
|
+
)
|
|
1050
|
+
if not synth.layers:
|
|
1051
|
+
continue
|
|
1052
|
+
steering.add_subspace(
|
|
1053
|
+
f"__affine__{i}", synth, trigger=trigger,
|
|
1054
|
+
)
|
|
1055
|
+
|
|
1056
|
+
def install_composed_steering(self) -> None:
|
|
1057
|
+
"""Attach the currently-composed steering entries to model layers.
|
|
1058
|
+
|
|
1059
|
+
Compiled accelerator fast path: a static-affine pure-push steering lowers to
|
|
1060
|
+
the persistent branchless offset buffers (traced into the compiled
|
|
1061
|
+
graph) instead of transient ctx-consulting hooks — the latter would
|
|
1062
|
+
force a per-gen ``torch.compile`` recompile and graph-break at every
|
|
1063
|
+
layer. Gated on the offsets being available (compiled session) and on
|
|
1064
|
+
the capture being compile-clean too: either no probes, or this gen is
|
|
1065
|
+
``_compiled_clean_eligible`` so :meth:`_begin_capture` will ride the
|
|
1066
|
+
persistent capture buffers instead of transient capture hooks (slice 2).
|
|
1067
|
+
Anything that isn't a constant add (curved ``%``, gate, phase, ``!``
|
|
1068
|
+
ablation) returns ``None`` from :meth:`compute_static_offsets` and falls
|
|
1069
|
+
through to the transient eager path.
|
|
1070
|
+
"""
|
|
1071
|
+
session = self._session
|
|
1072
|
+
steering = session._steering
|
|
1073
|
+
session._steering_uses_compiled_offsets = False
|
|
1074
|
+
if (
|
|
1075
|
+
session._compiled
|
|
1076
|
+
and session._device.type in {"cuda", "mps"}
|
|
1077
|
+
and steering.has_compiled_offsets()
|
|
1078
|
+
and (
|
|
1079
|
+
not session._monitor.probe_names
|
|
1080
|
+
or session._compiled_clean_eligible
|
|
1081
|
+
)
|
|
1082
|
+
):
|
|
1083
|
+
offsets = steering.compute_static_offsets()
|
|
1084
|
+
if offsets is not None:
|
|
1085
|
+
steering.detach_transient_hooks()
|
|
1086
|
+
steering.write_compiled_offsets(offsets)
|
|
1087
|
+
session._steering_uses_compiled_offsets = True
|
|
1088
|
+
return
|
|
1089
|
+
# Eager / general path: zero the persistent offsets (no stale push leaks
|
|
1090
|
+
# into the eager model, whose layers carry the same persistent hooks)
|
|
1091
|
+
# and attach the transient ctx-consulting hooks.
|
|
1092
|
+
if steering.has_compiled_offsets():
|
|
1093
|
+
steering.zero_compiled_offsets()
|
|
1094
|
+
steering.apply_to_model(
|
|
1095
|
+
session._layers, session._device, session._dtype,
|
|
1096
|
+
)
|
|
1097
|
+
|
|
1098
|
+
def rebuild_hooks(self) -> None:
|
|
1099
|
+
"""Tear down existing hooks and install from the flattened stack head.
|
|
1100
|
+
|
|
1101
|
+
Called on every push/pop. When the stack is empty this is a clean
|
|
1102
|
+
``clear_all``. One hook installation per active layer regardless of
|
|
1103
|
+
nesting depth — ``compose_steering_entries`` synthesizes the merged
|
|
1104
|
+
affine subspace(s) + registers curved manifolds, and
|
|
1105
|
+
``SteeringManager.apply_to_model`` lowers them to per-layer
|
|
1106
|
+
``subspace_inject`` groups.
|
|
1107
|
+
"""
|
|
1108
|
+
flat = self.flatten_stack()
|
|
1109
|
+
if not flat:
|
|
1110
|
+
self._session._steering.clear_all()
|
|
1111
|
+
return
|
|
1112
|
+
self.compose_steering_entries(flat)
|
|
1113
|
+
self.install_composed_steering()
|
|
1114
|
+
|
|
1115
|
+
def snapshot_steering_alphas(self) -> dict[str, float]:
|
|
1116
|
+
"""Flatten the active steering stack for result steering receipts.
|
|
1117
|
+
|
|
1118
|
+
For a plain vector entry, ``entry[0]`` is the additive alpha (the
|
|
1119
|
+
strength coefficient, typically in ``[0, 1]``).
|
|
1120
|
+
|
|
1121
|
+
For a :class:`~drowse.core.steering_expr.ManifoldTerm`, ``entry.coeff``
|
|
1122
|
+
delegates to ``entry.along`` — the *slide fraction* toward the manifold
|
|
1123
|
+
position (clamped ``[0, 1]`` at injection time), not an additive
|
|
1124
|
+
scalar. These two kinds are semantically different (slide fraction vs
|
|
1125
|
+
additive alpha), but both are reported as a single ``float`` here for
|
|
1126
|
+
a uniform telemetry snapshot. Callers that need to distinguish them
|
|
1127
|
+
should inspect the live ``Steering.alphas`` dict directly.
|
|
1128
|
+
"""
|
|
1129
|
+
snap: dict[str, float] = {}
|
|
1130
|
+
for name, entry in self.flatten_stack().items():
|
|
1131
|
+
if isinstance(entry, (AblationTerm, ManifoldTerm)):
|
|
1132
|
+
snap[name] = entry.coeff
|
|
1133
|
+
continue
|
|
1134
|
+
snap[name] = entry[0]
|
|
1135
|
+
return snap
|