@oracle-agent/oracle 0.35.1 → 0.35.2

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.
@@ -46,6 +46,17 @@
46
46
  --sans:"Outfit",system-ui,sans-serif;
47
47
  --mono:"IBM Plex Mono",ui-monospace,monospace;
48
48
  --ease:cubic-bezier(.16,1,.3,1);
49
+ --scene-a:#7CC4FF;
50
+ --scene-b:#50D2C1;
51
+ --scene-soft:rgba(124,196,255,.14);
52
+ --scroll-pct:0%;
53
+ --scroll-shift:0px;
54
+ --scroll-shift-neg:0px;
55
+ --scroll-shift-soft:0px;
56
+ --scroll-drift:0px;
57
+ --scroll-rot:0deg;
58
+ --scroll-rot-neg:0deg;
59
+ --scroll-zoom:.94;
49
60
  --pad:clamp(18px,4vw,48px);
50
61
 
51
62
  --fs-micro:10px;
@@ -89,6 +100,22 @@ img{display:inline-block}
89
100
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
90
101
  }
91
102
 
103
+ .scroll-craft{position:fixed;inset:0;z-index:0;pointer-events:none;overflow:hidden;opacity:.7;mix-blend-mode:screen;contain:layout paint style}
104
+ .scroll-craft::before{content:"";position:absolute;inset:-12%;background:radial-gradient(46% 34% at 72% 22%,var(--scene-soft),transparent 66%),radial-gradient(38% 28% at 12% 76%,rgba(80,210,193,.10),transparent 70%);filter:blur(8px);transform:translate3d(0,var(--scroll-drift),0) scale(1.04)}
105
+ .craft-grid{position:absolute;inset:-8%;opacity:.22;background-image:linear-gradient(rgba(124,196,255,.12) 1px,transparent 1px),linear-gradient(90deg,rgba(124,196,255,.10) 1px,transparent 1px);background-size:72px 72px;mask-image:radial-gradient(ellipse at 56% 42%,#000 0%,transparent 70%);-webkit-mask-image:radial-gradient(ellipse at 56% 42%,#000 0%,transparent 70%);transform:translate3d(var(--scroll-drift),var(--scroll-shift-neg),0)}
106
+ .craft-orbit{position:absolute;right:min(7vw,92px);top:22vh;width:clamp(220px,28vw,430px);aspect-ratio:1;border-radius:50%;border:1px solid rgba(167,216,255,.2);box-shadow:0 0 70px rgba(124,196,255,.1),inset 0 0 42px rgba(124,196,255,.06);transform:translate3d(0,var(--scroll-shift),0) rotate(var(--scroll-rot)) scale(var(--scroll-zoom))}
107
+ .craft-orbit::before,.craft-orbit::after{content:"";position:absolute;inset:12%;border-radius:50%;border:1px solid rgba(124,196,255,.18);transform:rotateX(68deg)}
108
+ .craft-orbit::after{inset:24%;border-color:rgba(80,210,193,.2);transform:rotateY(64deg)}
109
+ .craft-orbit.is-b{right:auto;left:-8vw;top:62vh;width:clamp(240px,34vw,520px);opacity:.46;filter:blur(.2px);transform:translate3d(0,var(--scroll-shift-soft),0) rotate(var(--scroll-rot-neg)) scale(.86)}
110
+ .scene-rail{position:fixed;right:18px;top:50%;z-index:29;transform:translateY(-50%);display:grid;gap:11px;font-family:var(--mono);font-size:9px;letter-spacing:.16em;text-transform:uppercase;color:rgba(201,218,236,.44)}
111
+ .scene-rail span{position:relative;display:grid;place-items:center;width:30px;height:22px;border:1px solid rgba(124,196,255,.12);border-radius:999px;background:rgba(11,16,24,.40);transition:color .35s var(--ease),border-color .35s var(--ease),background .35s var(--ease),transform .35s var(--ease)}
112
+ body[data-scene="home"] .scene-rail span[data-scene-dot="home"],body[data-scene="orchestration"] .scene-rail span[data-scene-dot="orchestration"],body[data-scene="chains"] .scene-rail span[data-scene-dot="chains"],body[data-scene="cli"] .scene-rail span[data-scene-dot="cli"],body[data-scene="fees"] .scene-rail span[data-scene-dot="fees"]{color:#071018;border-color:rgba(184,240,255,.82);background:linear-gradient(180deg,var(--scene-a),var(--scene-b));transform:translateX(-4px)}
113
+ body[data-scene="home"]{--scene-a:#7CC4FF;--scene-b:#50D2C1;--scene-soft:rgba(124,196,255,.16)}
114
+ body[data-scene="orchestration"]{--scene-a:#A7D8FF;--scene-b:#9945FF;--scene-soft:rgba(153,69,255,.12)}
115
+ body[data-scene="chains"]{--scene-a:#50D2C1;--scene-b:#D7FF4D;--scene-soft:rgba(80,210,193,.13)}
116
+ body[data-scene="cli"]{--scene-a:#F4F9FE;--scene-b:#7CC4FF;--scene-soft:rgba(244,249,254,.12)}
117
+ body[data-scene="fees"]{--scene-a:#D7FF4D;--scene-b:#F0B90B;--scene-soft:rgba(240,185,11,.12)}
118
+
92
119
  /* ── orbital oracle mark ───────────────────────────── */
93
120
  .orbital{position:relative;display:inline-block}
94
121
  .orbital svg{display:block;overflow:visible;width:100%;height:100%}
@@ -116,9 +143,10 @@ img{display:inline-block}
116
143
 
117
144
  .progress{
118
145
  position:fixed;top:0;left:0;right:0;height:2px;z-index:35;pointer-events:none;
119
- background:linear-gradient(90deg,var(--blue),var(--blue2));
146
+ background:linear-gradient(90deg,var(--scene-a),var(--scene-b));
120
147
  transform-origin:0 50%;transform:scaleX(0);
121
- box-shadow:0 0 12px rgba(124,196,255,.5);
148
+ box-shadow:0 0 14px var(--scene-soft);
149
+ transition:background .45s var(--ease),box-shadow .45s var(--ease);
122
150
  }
123
151
 
124
152
  .nav{
@@ -127,9 +155,14 @@ img{display:inline-block}
127
155
  grid-template-columns:1fr auto;
128
156
  align-items:center;gap:16px;
129
157
  padding:14px var(--pad);
130
- background:rgba(11,16,24,.82);
158
+ background:linear-gradient(90deg,rgba(11,16,24,.88),rgba(11,16,24,.72));
131
159
  border-bottom:1px solid var(--line);
160
+ box-shadow:0 18px 50px rgba(0,0,0,.22);
161
+ backdrop-filter:blur(18px);
162
+ -webkit-backdrop-filter:blur(18px);
163
+ transition:border-color .45s var(--ease),box-shadow .45s var(--ease);
132
164
  }
165
+ body[data-scene="cli"] .nav,body[data-scene="fees"] .nav{border-bottom-color:rgba(184,240,255,.22);box-shadow:0 18px 60px rgba(0,0,0,.34),0 0 42px var(--scene-soft)}
133
166
  .brand{
134
167
  display:flex;align-items:center;gap:12px;
135
168
  font-family:var(--display);font-size:var(--fs-lg);font-weight:400;letter-spacing:.02em;
@@ -1037,10 +1070,7 @@ a.chip:hover{border-color:rgba(124,196,255,.3);background:rgba(21,32,49,.6);tran
1037
1070
  .hero-shot-orb video{opacity:0;transition:opacity .6s var(--ease)}
1038
1071
  .hero-shot-orb video.ready{opacity:1}
1039
1072
  .hero-shot-orb video.ready ~ #orb-still{position:absolute;inset:0;opacity:0;pointer-events:none}
1040
- @media (prefers-reduced-motion:reduce){
1041
- .hero-shot-orb video{display:none}
1042
- .hero-shot-orb #orb-still{position:static;opacity:1}
1043
- }
1073
+ @media (prefers-reduced-motion:reduce){.hero-shot-orb video{display:none}.hero-shot-orb video.ready~#orb-still{position:static;opacity:1}}
1044
1074
  /* CLI section leads with a real TUI capture; poster is the reduced-motion fallback. */
1045
1075
  .cli-proof{position:relative;aspect-ratio:auto;height:auto;min-height:0;padding:0;
1046
1076
  max-width:868px;margin-inline:auto;line-height:0;display:block}
@@ -1088,6 +1118,20 @@ footer{margin-top:clamp(72px,12vh,120px);border-top:1px solid var(--line);paddin
1088
1118
  .js .rv.in{opacity:1;transform:translate3d(0,0,0);transition:opacity 1.05s var(--ease),transform 1.05s var(--ease)}
1089
1119
  .js .rv.done{transform:none;will-change:auto}
1090
1120
 
1121
+
1122
+ .section{position:relative}
1123
+ .section::before{content:"";position:absolute;left:var(--pad);right:var(--pad);top:0;height:1px;background:linear-gradient(90deg,transparent,var(--scene-a),transparent);opacity:.38;transform-origin:0 50%;transform:scaleX(.35);transition:opacity .45s var(--ease),background .45s var(--ease),transform .8s var(--ease)}
1124
+ .section.is-scene::before{opacity:.82;transform:scaleX(1)}
1125
+ .section-title em,.home-title em{transition:color .45s var(--ease),text-shadow .45s var(--ease)}
1126
+ .section.is-scene .section-title em,body[data-scene="home"] .home-title em{color:var(--scene-a);text-shadow:0 0 34px var(--scene-soft)}
1127
+ .graph-shell,.hl-surface,.strategy-surface,.cli-proof,.moat-grid,.selfcustody,.motion-lab{transition:box-shadow .55s var(--ease),border-color .55s var(--ease),transform .55s var(--ease)}
1128
+ .section.is-scene .graph-shell,.section.is-scene .hl-surface,.section.is-scene .strategy-surface,.section.is-scene .cli-proof,.section.is-scene .moat-grid,.section.is-scene .selfcustody,.section.is-scene .motion-lab{box-shadow:0 34px 120px rgba(0,0,0,.34),0 0 0 1px color-mix(in srgb,var(--scene-a) 22%,transparent),0 0 80px var(--scene-soft)}
1129
+ .premium-motion .strategy-card,.premium-motion .chain,.premium-motion .agent-panel{will-change:transform}
1130
+ .premium-motion .route-tree line{stroke-dasharray:10 7;animation:flow-down 2.4s linear infinite}
1131
+ .premium-motion .cli-proof{transform-origin:50% 45%}
1132
+ @media (max-width:980px){.scene-rail{display:none}.scroll-craft{opacity:.42}.craft-orbit{right:-18vw;top:18vh}.craft-orbit.is-b{display:none}}
1133
+ @media (prefers-reduced-motion:reduce){.scroll-craft{display:none}.scene-rail{display:none}.section::before{transform:none}.section.is-scene .graph-shell,.section.is-scene .hl-surface,.section.is-scene .strategy-surface,.section.is-scene .cli-proof,.section.is-scene .moat-grid,.section.is-scene .selfcustody,.section.is-scene .motion-lab{box-shadow:none}.premium-motion .route-tree line{animation:none}}
1134
+
1091
1135
  @media (max-width:960px){
1092
1136
  .home-inner{max-width:760px}
1093
1137
  .hero-stage{min-height:clamp(300px,44vh,460px)}.home-title{font-size:var(--fs-4xl)}
@@ -1173,6 +1217,18 @@ footer{margin-top:clamp(72px,12vh,120px);border-top:1px solid var(--line);paddin
1173
1217
  <body>
1174
1218
  <div class="grain" aria-hidden="true"></div>
1175
1219
  <div class="progress" id="progress" aria-hidden="true"></div>
1220
+ <div class="scroll-craft" aria-hidden="true">
1221
+ <div class="craft-grid"></div>
1222
+ <div class="craft-orbit is-a"></div>
1223
+ <div class="craft-orbit is-b"></div>
1224
+ </div>
1225
+ <div class="scene-rail" aria-hidden="true">
1226
+ <span data-scene-dot="home">01</span>
1227
+ <span data-scene-dot="orchestration">02</span>
1228
+ <span data-scene-dot="chains">03</span>
1229
+ <span data-scene-dot="cli">04</span>
1230
+ <span data-scene-dot="fees">05</span>
1231
+ </div>
1176
1232
 
1177
1233
  <div class="loader out" id="loader" aria-hidden="true" style="display:none">
1178
1234
  <div class="loader-inner">
@@ -1856,8 +1912,8 @@ footer{margin-top:clamp(72px,12vh,120px);border-top:1px solid var(--line);paddin
1856
1912
  <div>
1857
1913
  <figure class="cli-frame cli-proof">
1858
1914
  <picture>
1859
- <source srcset="assets/oracle-cli-v035.gif?v=20260823" type="image/gif" media="(prefers-reduced-motion: no-preference)">
1860
- <img id="cli-still" src="assets/oracle-cli-v035-poster.jpg?v=20260823" alt="Oracle CLI TUI v0.35.0 with starfield, Hyperliquid context, and the ←/→ sessions picker affordance" width="1600" height="1282" loading="eager" fetchpriority="high" />
1915
+ <source srcset="assets/oracle-cli-v035.gif?v=20260824j" type="image/gif" media="(prefers-reduced-motion: no-preference)">
1916
+ <img id="cli-still" src="assets/oracle-cli-v035-poster.jpg?v=20260824j" alt="Oracle CLI TUI v0.35.2 boot screen with Jupiter orb, starfield, Hyperliquid, and ←/→ sessions" width="1600" height="829" loading="eager" fetchpriority="high" />
1861
1917
  </picture>
1862
1918
  </figure>
1863
1919
  <p class="cli-cap">actual oracle shell</p>
@@ -2336,17 +2392,44 @@ var activeLenis = null;
2336
2392
 
2337
2393
  var progress = document.getElementById("progress");
2338
2394
  var ticking = false;
2395
+ var lastScrollY = window.scrollY || 0;
2396
+ function clamp(n, min, max) { return Math.max(min, Math.min(max, n)); }
2339
2397
  function onScroll() {
2340
2398
  if (ticking) return;
2341
2399
  ticking = true;
2342
2400
  requestAnimationFrame(function () {
2343
2401
  var h = document.scrollingElement || document.documentElement;
2344
- var max = h.scrollHeight - h.clientHeight;
2345
- progress.style.transform = "scaleX(" + (max > 0 ? h.scrollTop / max : 0) + ")";
2402
+ var max = Math.max(1, h.scrollHeight - h.clientHeight);
2403
+ var y = h.scrollTop || window.scrollY || 0;
2404
+ var p = clamp(y / max, 0, 1);
2405
+ var velocity = clamp(y - lastScrollY, -90, 90);
2406
+ lastScrollY = y;
2407
+ progress.style.transform = "scaleX(" + p.toFixed(4) + ")";
2408
+ document.documentElement.style.setProperty("--scroll-pct", (p * 100).toFixed(2) + "%");
2409
+ document.documentElement.style.setProperty("--scroll-shift", (p * 170).toFixed(2) + "px");
2410
+ document.documentElement.style.setProperty("--scroll-shift-neg", (p * -170).toFixed(2) + "px");
2411
+ document.documentElement.style.setProperty("--scroll-shift-soft", (p * -119).toFixed(2) + "px");
2412
+ document.documentElement.style.setProperty("--scroll-drift", (velocity * .36).toFixed(2) + "px");
2413
+ document.documentElement.style.setProperty("--scroll-rot", (p * 620).toFixed(2) + "deg");
2414
+ document.documentElement.style.setProperty("--scroll-rot-neg", (p * -620).toFixed(2) + "deg");
2415
+ document.documentElement.style.setProperty("--scroll-zoom", (.94 + p * .16).toFixed(3));
2416
+ if (sceneSections.length) pickScene();
2346
2417
  ticking = false;
2347
2418
  });
2348
2419
  }
2349
2420
  window.addEventListener("scroll", onScroll, { passive: true });
2421
+
2422
+ var sceneSections = Array.prototype.slice.call(document.querySelectorAll("section[id]"));
2423
+ function activateScene(id) {
2424
+ document.body.dataset.scene = id || "home";
2425
+ sceneSections.forEach(function (section) { section.classList.toggle("is-scene", section.id === id); });
2426
+ }
2427
+ function pickScene(){
2428
+ var mark=innerHeight*.46,best="home",bestDist=1e9;
2429
+ sceneSections.forEach(function(section){var r=section.getBoundingClientRect();if(r.bottom<80||r.top>innerHeight-80)return;var d=Math.abs(r.top+r.height*.42-mark);if(d<bestDist){bestDist=d;best=section.id;}});
2430
+ activateScene(best);
2431
+ }
2432
+ pickScene();
2350
2433
  onScroll();
2351
2434
 
2352
2435
  var heroOrb = document.getElementById("hero-orb");
@@ -2417,9 +2500,14 @@ var activeLenis = null;
2417
2500
  if (window.ScrollTrigger) {
2418
2501
  gsap.fromTo("[data-split] .word-mask > span", { yPercent:112, rotate:2 }, { yPercent:0, rotate:0, duration:1.1, ease:"power4.out", stagger:.035, scrollTrigger:{ trigger:"[data-split]", start:"top 78%" }, clearProps:"transform" });
2419
2502
  gsap.to(".hero-art", { yPercent:18, scale:.9, ease:"none", scrollTrigger:{ trigger:".home", start:"top top", end:"bottom top", scrub:true } });
2503
+ gsap.fromTo(".hero-installer", { y:24, rotateX:2, filter:"brightness(.92)" }, { y:0, rotateX:0, filter:"brightness(1)", duration:1.1, ease:"power4.out", scrollTrigger:{ trigger:".hero-installer", start:"top 88%" }, clearProps:"transform,filter" });
2420
2504
  gsap.fromTo(".motion-card", { y:80, rotateX:8, scale:.965 }, { y:0, rotateX:0, scale:1, duration:1.25, ease:"power4.out", stagger:.08, scrollTrigger:{ trigger:".operator-grid", start:"top 82%" }, clearProps:"transform" });
2421
- gsap.to(".motion-command", { y:-34, rotateX:3, ease:"none", scrollTrigger:{ trigger:".motion-lab", start:"top 70%", end:"bottom top", scrub:true } });
2422
- gsap.to(".mega-oracle", { xPercent:-8, ease:"none", scrollTrigger:{ trigger:".mega-oracle", start:"top bottom", end:"bottom top", scrub:true } });
2505
+ gsap.to(".motion-command", { y:-54, rotateX:4, rotateY:-5, ease:"none", scrollTrigger:{ trigger:".motion-lab", start:"top 76%", end:"bottom top", scrub:true } });
2506
+ gsap.fromTo(".chain", { y:42, rotateX:6, opacity:.55 }, { y:0, rotateX:0, opacity:1, duration:.9, ease:"power3.out", stagger:.035, scrollTrigger:{ trigger:"#chains", start:"top 76%" }, clearProps:"transform,opacity" });
2507
+ gsap.fromTo(".strategy-card", { y:46, rotateX:7, opacity:.58 }, { y:0, rotateX:0, opacity:1, duration:1.05, ease:"power3.out", stagger:.025, scrollTrigger:{ trigger:".strategy-grid", start:"top 78%" }, clearProps:"transform,opacity" });
2508
+ gsap.fromTo(".cli-proof", { scale:.94, rotateX:3, y:40 }, { scale:1, rotateX:0, y:0, ease:"none", scrollTrigger:{ trigger:".cli-proof", start:"top 86%", end:"bottom 38%", scrub:1 }, clearProps:"transform" });
2509
+ gsap.to(".route-tree", { scale:1.018, ease:"none", transformOrigin:"50% 50%", scrollTrigger:{ trigger:".route-tree", start:"top 82%", end:"bottom 40%", scrub:1 } });
2510
+ gsap.to(".mega-oracle", { xPercent:-14, letterSpacing:".02em", ease:"none", scrollTrigger:{ trigger:".mega-oracle", start:"top bottom", end:"bottom top", scrub:true } });
2423
2511
  }
2424
2512
  document.documentElement.classList.add("premium-motion");
2425
2513
  }
@@ -2693,46 +2781,5 @@ var activeLenis = null;
2693
2781
  }
2694
2782
  })();
2695
2783
  </script>
2696
- <script>
2697
- // Scroll-triggered reveal animations
2698
- (function(){
2699
- var observer = new IntersectionObserver(function(entries) {
2700
- entries.forEach(function(e) {
2701
- if (e.isIntersecting) {
2702
- e.target.classList.add('revealed');
2703
- observer.unobserve(e.target);
2704
- }
2705
- });
2706
- }, { threshold: 0.15, rootMargin: '0px 0px -40px 0px' });
2707
-
2708
- // Animate: section titles, agent panels, strategy cards, profile cards, proto-cards, bridge demo
2709
- var targets = document.querySelectorAll('.rv, .agent-panel, .strategy-card, .proto-card, .bridge-demo, .strategy-head, .strategy-grid article');
2710
- for (var i = 0; i < targets.length; i++) {
2711
- targets[i].style.opacity = '0';
2712
- targets[i].style.transform = 'translateY(24px)';
2713
- targets[i].style.transition = 'opacity .6s var(--ease), transform .6s var(--ease)';
2714
- observer.observe(targets[i]);
2715
- }
2716
-
2717
- // CSS class applied on scroll
2718
- var style = document.createElement('style');
2719
- style.textContent =
2720
- '.revealed { opacity: 1 !important; transform: translateY(0) !important; }' +
2721
- '.strategy-card:nth-child(1) { transition-delay: 0s !important; }' +
2722
- '.strategy-card:nth-child(2) { transition-delay: .1s !important; }' +
2723
- '.strategy-card:nth-child(3) { transition-delay: .15s !important; }' +
2724
- '.strategy-card:nth-child(4) { transition-delay: .2s !important; }' +
2725
- '.strategy-card:nth-child(5) { transition-delay: .25s !important; }' +
2726
- '.strategy-card:nth-child(6) { transition-delay: .3s !important; }' +
2727
- '.strategy-card:nth-child(7) { transition-delay: .35s !important; }' +
2728
- '.proto-card:nth-child(1) { transition-delay: 0s !important; }' +
2729
- '.proto-card:nth-child(2) { transition-delay: .06s !important; }' +
2730
- '.proto-card:nth-child(3) { transition-delay: .12s !important; }' +
2731
- '.proto-card:nth-child(4) { transition-delay: .18s !important; }' +
2732
- '.proto-card:nth-child(5) { transition-delay: .24s !important; }' +
2733
- '.proto-card:nth-child(6) { transition-delay: .3s !important; }';
2734
- document.head.appendChild(style);
2735
- })();
2736
- </script>
2737
2784
  </body>
2738
2785
  </html>