mirror of
https://github.com/hansjone/oclaw.git
synced 2026-10-09 03:30:48 +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
|
|
@ -5,14 +5,10 @@ from typing import Any
|
|||
from oclaw.runtime.chat.agent import Agent
|
||||
from oclaw.runtime.agent_context import build_role_system_context
|
||||
from oclaw.platform.persistence.sqlite_store import SqliteStore
|
||||
from oclaw.prompts.loader import render_prompt
|
||||
from oclaw.runtime.tools import default_registry
|
||||
|
||||
NETWORK_SYSTEM_PROMPT_ZH = render_prompt(
|
||||
"agents/network_ops_system.zh.md",
|
||||
variables={"ROLE_SYSTEM_CONTEXT": build_role_system_context("ops")},
|
||||
strict=True,
|
||||
)
|
||||
# Ops 专家走与 specialists 相同的工作区框架:runtime/workspaces/ops/{SOUL,ROLE_SYSTEM}.md
|
||||
NETWORK_SYSTEM_PROMPT_ZH = build_role_system_context("ops")
|
||||
|
||||
|
||||
class NetworkOpsAgent(Agent):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue