mirror of
https://github.com/hansjone/oclaw.git
synced 2026-10-09 05:50:44 +08:00
feat: integrate netx ops data access and unify prompt/workspace runtime
Migrate prompt templates into runtime workspaces, add network_ops netx toolchain (latest batch injection, raw fields, SQL query), and align docs/tests/admin/runtime wiring so ops analysis can query netx detail data through stable role-scoped paths. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
83f46f8aa2
commit
b0e0c05d8a
60 changed files with 1143 additions and 46 deletions
|
|
@ -90,6 +90,10 @@ def _workspace_signature() -> tuple[Any, ...]:
|
|||
for item in sorted(root.iterdir(), key=lambda p: p.name.lower()):
|
||||
if not item.is_dir():
|
||||
continue
|
||||
# Internal workspace directories (single underscore prefix) are not experts.
|
||||
# Example: `_system` is used for builtin prompt templates.
|
||||
if item.name.startswith("_"):
|
||||
continue
|
||||
if item.name.startswith("__"):
|
||||
continue
|
||||
eid = normalize_expert_id(item.name)
|
||||
|
|
@ -159,6 +163,10 @@ def list_experts() -> list[dict[str, Any]]:
|
|||
for item in sorted(root.iterdir(), key=lambda p: p.name.lower()):
|
||||
if not item.is_dir():
|
||||
continue
|
||||
# Internal workspace directories (single underscore prefix) are not experts.
|
||||
# Example: `_system` is used for builtin prompt templates.
|
||||
if item.name.startswith("_"):
|
||||
continue
|
||||
eid = normalize_expert_id(item.name)
|
||||
if not eid:
|
||||
continue
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue