New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@openpalm/admin-tools

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@openpalm/admin-tools

OpenPalm admin API tools for OpenCode — stack management, diagnostics, and lifecycle operations

latest
Source
npmnpm
Version
0.9.2
Version published
Maintainers
1
Created
Source

@openpalm/admin-tools

OpenCode plugin that provides tools for managing the OpenPalm stack through the admin API. These tools require a running admin container and are loaded only when OPENPALM_ADMIN_API_URL is available.

This package is separate from @openpalm/assistant-tools, which contains memory-only tools that work without admin.

Tools (35 total)

Containers & Logs

  • admin-health-check -- Platform health overview (all services including admin, scheduler)
  • admin-containers_list / _up / _down / _restart -- Container lifecycle
  • admin-containers_inspect -- Detailed container inspection
  • admin-containers_events -- Recent Docker events
  • admin-logs -- Service log retrieval

Configuration & Connections

  • admin-config_get_access_scope / _set_access_scope -- LAN/public access control
  • admin-config_validate -- Configuration validation
  • admin-connections_get / _set / _status -- Connection profile management
  • admin-connections_test -- Test provider connectivity
  • admin-providers_local -- Detect local LLM providers (Ollama, LM Studio, etc.)
  • admin-memory_models -- List available embedding models

Channels

  • admin-channels_list / _install / _uninstall -- Channel management

Lifecycle

  • admin-lifecycle_install / _update / _uninstall / _upgrade / _installed -- Stack lifecycle

Automations

  • admin-automations_list -- List loaded automations

Diagnostics

  • admin-audit -- Audit log review
  • admin-guardian_audit / _stats -- Guardian ingress audit and stats
  • admin-network_check -- Inter-service network connectivity
  • admin-artifacts_list / _manifest / _get -- Staged artifact inspection
  • stack-diagnostics -- Full stack diagnostic report
  • message-trace -- Trace a message through the pipeline

Skills

SkillPurpose
openpalm-adminAdmin API reference and tool documentation
log-analysisReading and interpreting logs across the stack
stack-troubleshootingDiagnostic decision trees for common failures

Configuration

VariableDefaultPurpose
OPENPALM_ADMIN_API_URLhttp://admin:8100Admin API endpoint
OPENPALM_ADMIN_TOKEN(required)Authentication token

All requests use x-admin-token header authentication and are audit-logged with the assistant identity.

Plugin Loading

Each container runs its own OpenCode instance with the appropriate plugin set:

  • Assistant container: loads @openpalm/assistant-tools only (memory tools, health check)
  • Admin container: runs its own OpenCode instance (port 4097) with @openpalm/admin-tools, @openpalm/assistant-tools, and akm-opencode — full tool suite for AI-driven stack management

The admin OpenCode config is at DATA_HOME/admin/opencode.jsonc (seeded from assets/admin-opencode.jsonc). Skills (in opencode/skills/) are discovered by OpenCode from the package's filesystem, not registered in the plugin entry point.

Development

cd packages/admin-tools
bun run build       # Build to dist/
bun test            # Run tests

FAQs

Package last updated on 17 Mar 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts