@oracle-agent/oracle 0.9.4 → 0.9.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oracle-agent/oracle",
3
- "version": "0.9.4",
3
+ "version": "0.9.6",
4
4
  "description": "Oracle: prepare-only multichain agent control plane. Policy-bounded intents for a user-signed wallet. Self-custody by default — the public package never takes your key. Built for Hermes; no model key required.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
@@ -10,12 +10,12 @@ import sys
10
10
 
11
11
 
12
12
  WORDMARK = (
13
- " ██████ ███████ ██████ ██████ ██ ██████ ",
14
- "██ ██ ██ ██ ██ ██ ██ ██ ██ ██",
15
- "██ ██ ██ ███████ ██ ██ ████████",
16
- "██ ██ ██ ██ ██ ██ ██ ██ ",
17
- "██ ██ ██ ██ ██ ██ ██ ██ ██ ",
18
- " ██████ ██ ███████ ██████ ████████ ███████",
13
+ " ██████ ████████ ██████ ██████ ░███ ██████ ",
14
+ " ███░░███░░███░░███ ░░░░░███ ███░░███ ░███ ███░░███ ",
15
+ " ░███ ░███ ░███ ░░░ ███████ ░███ ░░░ ░███ ░███████ ",
16
+ " ░███ ░███ ░███ ███░░███ ░███ ███ ░███ ░███░░░ ",
17
+ " ░░██████ █████ ░░████████░░██████ █████░░██████ ",
18
+ " ░░░░░░ ░░░░░ ░░░░░░░░ ░░░░░░ ░░░░░ ░░░░░░ ",
19
19
  )
20
20
 
21
21
  SILENT_OUTPUT = {
@@ -109,12 +109,13 @@ def patch_cli(module):
109
109
  from rich.align import Align
110
110
  from rich.console import Group
111
111
  from rich.panel import Panel
112
+ from rich.table import Table
112
113
  from rich.text import Text
113
114
  from rich import box
114
115
 
115
116
  self.console.clear()
116
117
  width = shutil.get_terminal_size((100, 28)).columns
117
- body = Text(justify="center")
118
+ content = []
118
119
  if width >= 72:
119
120
  colors = (
120
121
  "#B8F0FF",
@@ -124,27 +125,24 @@ def patch_cli(module):
124
125
  "#9FCBDD",
125
126
  "#B8F0FF",
126
127
  )
128
+ wordmark = Table.grid(padding=0, collapse_padding=True)
129
+ wordmark.add_column(width=58, no_wrap=True)
127
130
  for index, line in enumerate(WORDMARK):
128
- body.append(line, style=f"bold {colors[index]}")
129
- if index != len(WORDMARK) - 1:
130
- body.append("\n")
131
+ wordmark.add_row(Text(line, style=f"bold {colors[index]}"))
132
+ content.append(Align.center(wordmark))
131
133
  else:
132
- body.append("oracle", style="bold #B8F0FF")
134
+ content.append(Align.center(Text("oracle", style="bold #B8F0FF")))
133
135
 
134
- body.append("\n\nTHE FUTURE IS AGENTIC", style="bold #EAF2F8")
135
- body.append(" / ", style="#52606D")
136
- model = str(getattr(self, "model", "") or "choose model")
137
- body.append(model, style="#91A2B1")
136
+ content.append(Text(""))
137
+ content.append(Align.center(Text("THE FUTURE IS AGENTIC / by DEMI", style="bold #EAF2F8")))
138
138
 
139
139
  panel_width = max(36, min(width - 4, 76))
140
140
  panel = Panel(
141
- Group(Align.center(body)),
141
+ Group(*content),
142
142
  width=panel_width,
143
143
  padding=(1, 2),
144
144
  border_style="#3B4A56",
145
145
  box=box.ROUNDED,
146
- subtitle="[dim #6F7F8D]/model /chain /setup[/]",
147
- subtitle_align="center",
148
146
  )
149
147
  self.console.print(Align.center(panel))
150
148
  self.console.print()
@@ -166,7 +164,7 @@ def patch_cli(module):
166
164
  return [("class:prompt-working", "working ")]
167
165
  if getattr(self, "_agent_running", False):
168
166
  return [("class:prompt-working", "thinking ")]
169
- return [("class:prompt", " Ask Oracle › ")]
167
+ return [("class:prompt", " oracle › ")]
170
168
 
171
169
  def status_fragments(self):
172
170
  if not getattr(self, "_status_bar_visible", True) or getattr(self, "_model_picker_state", None):