Commit graph

37 commits

Author SHA1 Message Date
53c47fbc6a Register MANIFEST paths.localSkills alongside pack _skills.
Parse packaging-generated paths and load each local_skills/*/SKILL.md with the same hasSkills toggles and provider as shared packs.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-15 08:23:05 +08:00
6dee69be31 fix(preset): use dsh-persona prefix for 0.1.5 compatibility
0.1.5 requires config.prefix; the old text field fails preset mount and blocks session resume.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-14 19:38:04 +08:00
2caa3c98d7 Register KB pack skills from operator-subset _skills (P2).
Load hasSkills packs onto preset/public planes with groupKb toggles; unify content has* keys and keep netx-ops pure.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-13 11:46:31 +08:00
fcdd11ac59 Fix kbRoot browse ignoring Typert Result from directoryPicker.pick.
Unwrap { ok, value } so the chosen folder path lands in the field and auto-saves.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-13 11:22:58 +08:00
f64f1279e7 Fix knowledge-base browse feedback and accept MANIFEST.json paths.
Browse no longer fails silently, falls back to Host directoryPicker RPC, and resolve treats a MANIFEST.json file path as its parent package root.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-13 11:13:29 +08:00
de7c6a0c4b Add operator-subset knowledge base wiring for Netx Ops P1.
Locate and validate MANIFEST under kbRoot, show anti-mixup status in settings, and inject KB_* env plus kb-context so sessions degrade to pure netx when unset.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-13 10:39:28 +08:00
e6f9d062ed Identify alarm-push clients to NetX with hostname labels.
Send client=netxops@host on hub auth so NetX can distinguish multiple DSH subscribers.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-10 16:57:42 +08:00
a4993b2407 Add Netx Ops i18n and promote settings to a dedicated section.
Localize alarm prompts and UI reason codes for zh/en, and restyle the settings page like uds-auth as its own settings.section.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-09 22:09:47 +08:00
909b5d61a7 Avoid installing unpublished @deepseek-ai peers on bare clone.
Drop host packages from peerDependencies, set auto-install-peers=false, so pnpm install no longer pulls dsh-api-remotes → dsh-type-meta from the public registry.
2026-09-06 23:43:16 +08:00
994a0038da Stop declaring @deepseek-ai/schemastery as a hard dependency.
Host-provided DSH packages must stay peers only so github installs do not hit the public registry for unpublished @deepseek-ai modules.
2026-09-06 23:37:19 +08:00
5595ffae6e Polish Netx Ops preset and sync the netx-ops playbook.
Use Chinese persona, mount default subagent tools, and pull the tightened field skill from netx.
2026-09-06 20:58:30 +08:00
5598b3661c Harden alarm push auth and session export ZIP paths.
Ignore hub alarms before auth-ok, stop reconnecting after auth-fail, serialize sticky delivery with dispose on reset, and sanitize ZIP entry names against path traversal.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-06 14:45:35 +08:00
92279c1220 Add session bulk export and multi-target IM alarm delivery.
Ops can download every Host session as a ZIP for HQ analysis, fan key alarms to multiple WhatsApp targets, and the Plugins card copy stays short.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-06 14:11:54 +08:00
eb8299d155 Stop nesting github IM/cron under netxops (blockExoticSubdeps).
Profile pnpm rejects exotic subdependencies; install netxops + dsh-im-ops + dsh-ops-cron as one direct add line instead.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-06 02:41:39 +08:00
fdda340477 Pull IM and cron with netxops; keep persona skills English-only.
Declare dsh-im-ops and dsh-ops-cron as dependencies and mount them from the netxops patch so one plugin add covers alarm delivery and schedules.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-06 02:36:43 +08:00
63f88bdf6c Merge nms+common into ops so login questions load execManagedNe.
One capability group now ships netx-ops (alarms + managed CLI + paths); keep tools-nms/common as aliases.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-06 02:11:02 +08:00
6e591be2b5 Fix Netx Ops tool schemas for DSH additionalProperties requirement.
positions[] items and layout params objects now declare additionalProperties explicitly.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-06 01:52:51 +08:00
3c9a383071 Ship capability groups (nms/common/topology) with shared netx skills.
One group maps to one skill and tools-*; rename NMS tools to *Nms*; sync playbooks from netx/skills.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-06 01:46:07 +08:00
83c3796fbb Add optional IM sink for key alarms (0.1.17).
Settings choose DSH session and/or WhatsApp via botId+targetId; onAlarm soft-calls ctx.dshIm.send when im is installed.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-05 21:36:50 +08:00
e8b7d7331f Show key-alarm WSS status on the Netx Ops Plugins card (0.1.16).
Host publishes connection phases over Connection RPC; the card polls and badges Connected / Reconnecting / Auth failed so operators need not curl logs.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-05 21:08:14 +08:00
12f7018103 Add key-alarm push: reuse URL/token, dial netx hub, sticky DSH session (0.1.15).
Plugins card gains an alarm-push toggle; when enabled, netxops subscribes outbound and followups a Netx Ops session without requiring im/WhatsApp.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-05 20:50:51 +08:00
027f83dd00 Fix empty Bearer on netx__* by waiting for credentials.
Inject credentials before publish, read the live token per HTTP request, and surface netx_token_missing instead of a silent 401.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-05 02:11:20 +08:00
02cc68bee3 Ship lib/agent-tools.js for Ops-scoped tool mounts.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-05 00:11:36 +08:00
0f30d92302 Scope netx__* tools to the Netx Ops preset only.
Register tools from the preset standing mount so standard and other agents no longer see them without Ops skills.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-05 00:11:15 +08:00
ed219842d3 Call netx REST from native netx__* tools.
Drop the local python -m netx_mcp / mcp-client path so terminal users only need API URL + token.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-04 23:38:24 +08:00
5179eb74b1 Auto-install the Netx Ops agent preset on plugin activate.
Copy presets into ~/.dsh/.agent-presets (not a Windows junction — DSH discovery skips those) so dsh plugin add alone surfaces Custom → Netx Ops with skills.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-04 23:09:58 +08:00
4854101afd Support both dsh settings APIs for the netxops namespace.
0.1.1-rc.2 uses installSettingsSection; 0.1.2+ uses settings.installSection — detect at runtime so global and source dsh both boot.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-04 22:54:33 +08:00
ca91031fd0 Register settings via installSettingsSection for shipped dsh.
SettingsProvider.installSection is not on 0.1.1-rc.2; without the standalone helper the netxops namespace never appears on the Plugins tab.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-04 22:51:50 +08:00
99ded2fe2d Do not hard-inject remote.credentials on shipped dsh.
0.1.1-rc.2 remotes never mounts credentials; soft-inject unlocks the token field when available, otherwise point users at set-netx-token.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-04 22:43:46 +08:00
69a4820369 Stop requiring dsh-client-store in the Plugins card bundle.
Shipped dsh web seed has no client-store entry; use a private snapshot store and only externalize platform seed modules.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-04 22:38:52 +08:00
e45657b1ee Fix client bundle to use react/jsx-runtime for DSH ModuleLoader.
The web shell only seeds jsx-runtime; Bun's default JSX emit left jsx-dev-runtime as an external and failed Plugins load.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-04 22:36:01 +08:00
0040de078c Ship prebuilt lib/index.js so GitHub installs load under node_modules.
Node refuses TypeScript stripping inside node_modules; point package main at the host bundle and document GitHub as the default install.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-04 22:32:01 +08:00
0fcff2d45a Document GitHub install as the default path.
Path/link installs are developer-only; users should not need link-dsh-peers.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-04 22:31:10 +08:00
13db99484f Fix local link: peer packages invisible outside profile tree.
Path installs junction the checkout outside ~/.dsh/profiles/*/node_modules, so Node cannot see DSH peers; add link-dsh-peers scripts and document the one-time setup.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-04 22:25:30 +08:00
fd1a86ec2f Add Netx Ops Plugins settings card for URL and token.
Ship the browser half so Settings → Plugins can configure apiUrl/lang/python and NETX_API_TOKEN without OS env vars.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-04 22:16:14 +08:00
hansjone
45922ffd29 Move netx URL/token into DSH host settings and credentials.
Mount MCP from dsh-netxops instead of OS env in the agent preset.
2026-09-04 22:01:04 +08:00
hansjone
6677e36424 Initial Netx Ops DSH agent preset (UME + managed CLI).
Portable persona and playbooks for DeepSeek Harness; tools via netx MCP.
2026-09-04 21:22:25 +08:00