Files
osmedeus/internal/core/constants.go
T
j3ssie 520977d1ea feat: Add agent-acp step type with ACP protocol support
- Implement agent-acp step type for spawning external ACP agent subprocesses via Agent Communication Protocol
- Add ACPExecutor with validation, field rendering, and subprocess lifecycle management
- Integrate agent-acp field rendering in StepDispatcher (batch and sequential modes)
- Add run_agent() utility function for workflows to execute ACP agents from steps and JS context
- Add osmedeus agent CLI command for interactive agent execution with --agent, --cwd, --timeout, --stdin, and --list flags
- Add /osm/api/agent/chat/completions REST endpoint with OpenAI-compatible chat format and concurrency control
- Support agent selection via: built-in names (claude-code, codex, opencode, gemini) or custom acp_config.command
- Add step-level configuration: cwd, allowed_paths, acp_config (command, args, env, write_enabled)
- Add comprehensive E2E tests for agent-acp workflows (basic, minimal, config, codex variants)
- Add test workflows in test/testdata/workflows/agent-and-llm/
- Update AGENTS.md documentation with agent-acp examples, CLI usage, and API endpoints
2026-02-27 16:18:06 +08:00

35 lines
1.2 KiB
Go

package core
// Project metadata constants
const (
// VERSION of this project
VERSION = "v5.0.1"
// DESC description of the tool
DESC = "A Modern Orchestration Engine for Security"
// BINARY name of osmedeus
BINARY = "osmedeus"
// SNAPSHOT binary name of osmedeus
SNAPSHOT = "osm"
// AUTHOR of this
AUTHOR = "@j3ssie"
// DOCS private document
DOCS = "https://docs.osmedeus.org"
// DOCS private document
LICENSE = "open-source"
// REPO_URL private document
REPO_URL = "https://github.com/j3ssie/osmedeus"
// DEFAULT_BASE_REPO default repository for base folder
DEFAULT_BASE_REPO = "https://github.com/osmedeus/osmedeus-base.git"
// DEFAULT_WORKFLOW_REPO default repository for workflows
DEFAULT_WORKFLOW_REPO = "https://github.com/osmedeus/osmedeus-workflow.git"
// METADATA domain for checking update
METADATA = "https://metadata.osmedeus.org"
// INSTALL default install script
INSTALL = "https://raw.githubusercontent.com/osmedeus/osmedeus-base/master/install.sh"
// DefaultUA is the default User-Agent for HTTP clients
DefaultUA = "Mozilla/5.0 (compatible; Osmedeus/" + VERSION + "; +" + REPO_URL + ")"
)
var BuildTime = "unknown"
var CommitHash = "unknown"