@smilintux/skcapstone 0.2.6 → 0.4.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.
package/package.json
CHANGED
package/pyproject.toml
CHANGED
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "skcapstone"
|
|
7
|
-
version = "0.2
|
|
7
|
+
version = "0.4.2"
|
|
8
8
|
description = "Sovereign Agent Framework — conscious AI through identity, trust, memory, and security"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = {text = "GPL-3.0-or-later"}
|
|
@@ -195,19 +195,25 @@ def register_status_commands(main: click.Group) -> None:
|
|
|
195
195
|
"""Register all status/overview commands on the main CLI group."""
|
|
196
196
|
|
|
197
197
|
@main.command()
|
|
198
|
-
@click.option("--home", default=
|
|
199
|
-
|
|
198
|
+
@click.option("--home", default=None, help="Agent home directory.", type=click.Path())
|
|
199
|
+
@click.option("--agent", default=None, help="Agent name (e.g. opus, lumina).")
|
|
200
|
+
def status(home: Optional[str], agent: Optional[str]):
|
|
200
201
|
"""Show the sovereign agent's current state."""
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
if not home_path.exists():
|
|
204
|
-
console.print(
|
|
205
|
-
"[bold red]No agent found.[/] "
|
|
206
|
-
"Run [bold]skcapstone init --name \"YourAgent\"[/] first."
|
|
207
|
-
)
|
|
208
|
-
sys.exit(1)
|
|
202
|
+
from .. import SKCAPSTONE_AGENT as default_agent
|
|
209
203
|
|
|
210
|
-
|
|
204
|
+
if home:
|
|
205
|
+
home_path = Path(home).expanduser()
|
|
206
|
+
if not home_path.exists():
|
|
207
|
+
console.print(
|
|
208
|
+
"[bold red]No agent found.[/] "
|
|
209
|
+
"Run [bold]skcapstone init --name \"YourAgent\"[/] first."
|
|
210
|
+
)
|
|
211
|
+
sys.exit(1)
|
|
212
|
+
runtime = get_runtime(home_path)
|
|
213
|
+
else:
|
|
214
|
+
agent_name = agent or default_agent
|
|
215
|
+
runtime = get_runtime(agent_name=agent_name)
|
|
216
|
+
home_path = runtime.home
|
|
211
217
|
m = runtime.manifest
|
|
212
218
|
|
|
213
219
|
console.print()
|