Package ai.platon.pulsar.coding
Object CodingAgentShell.Companion
-
- All Implemented Interfaces:
public class CodingAgentShell.Companion
-
-
Field Summary
Fields Modifier and Type Field Description private final Set<String>SAFE_COMMANDSprivate final Set<String>DEV_COMMANDSprivate final Set<String>NETWORK_COMMANDSprivate final Set<String>DESTRUCTIVE_COMMANDSpublic final static CodingAgentShell.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final Set<String>getSAFE_COMMANDS()Read-only / safe commands — always permitted (subset of AgentShell whitelist) final Set<String>getDEV_COMMANDS()Development tools — permitted when allowDevTools is true final Set<String>getNETWORK_COMMANDS()Commands that access the network — always require allowNetwork final Set<String>getDESTRUCTIVE_COMMANDS()Commands that can modify filesystem outside workspace -
-
Method Detail
-
getSAFE_COMMANDS
final Set<String> getSAFE_COMMANDS()
Read-only / safe commands — always permitted (subset of AgentShell whitelist)
-
getDEV_COMMANDS
final Set<String> getDEV_COMMANDS()
Development tools — permitted when allowDevTools is true
-
getNETWORK_COMMANDS
final Set<String> getNETWORK_COMMANDS()
Commands that access the network — always require allowNetwork
-
getDESTRUCTIVE_COMMANDS
final Set<String> getDESTRUCTIVE_COMMANDS()
Commands that can modify filesystem outside workspace
-
-
-
-