@oracle-agent/oracle 0.9.5 → 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 +1 -1
- package/src/cli/oracle-harness.py +14 -11
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oracle-agent/oracle",
|
|
3
|
-
"version": "0.9.
|
|
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",
|
|
@@ -12,10 +12,10 @@ import sys
|
|
|
12
12
|
WORDMARK = (
|
|
13
13
|
" ██████ ████████ ██████ ██████ ░███ ██████ ",
|
|
14
14
|
" ███░░███░░███░░███ ░░░░░███ ███░░███ ░███ ███░░███ ",
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
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
|
-
|
|
118
|
+
content = []
|
|
118
119
|
if width >= 72:
|
|
119
120
|
colors = (
|
|
120
121
|
"#B8F0FF",
|
|
@@ -124,18 +125,20 @@ 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
|
-
|
|
129
|
-
|
|
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
|
-
|
|
134
|
+
content.append(Align.center(Text("oracle", style="bold #B8F0FF")))
|
|
133
135
|
|
|
134
|
-
|
|
136
|
+
content.append(Text(""))
|
|
137
|
+
content.append(Align.center(Text("THE FUTURE IS AGENTIC / by DEMI", style="bold #EAF2F8")))
|
|
135
138
|
|
|
136
139
|
panel_width = max(36, min(width - 4, 76))
|
|
137
140
|
panel = Panel(
|
|
138
|
-
Group(
|
|
141
|
+
Group(*content),
|
|
139
142
|
width=panel_width,
|
|
140
143
|
padding=(1, 2),
|
|
141
144
|
border_style="#3B4A56",
|