agent.ts · part 1
Full reference27 text occurrences from packages/opencode/src/cli/cmd/agent.ts, part 1. Every entry preserves the shipped literal and its saved verdict or selection reason.
File contents and all parts · All files
Shipped text
create a new agent
Source: packages/opencode/src/cli/cmd/agent.ts, characters 932–952, SHA-256 e6106517b88bf6f6.
Jev judged not model-facing (confidence 0.16; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: create a new agent
create a new agent
directory path to generate the agent file
Source: packages/opencode/src/cli/cmd/agent.ts, characters 1058–1101, SHA-256 08ac9f3b899d33b0.
Jev judged not model-facing (confidence 0.2; role parameter). This is a classifier judgment, not proof of delivery.
Readable text: directory path to generate the agent file
directory path to generate the agent file
what the agent should do
Source: packages/opencode/src/cli/cmd/agent.ts, characters 1185–1211, SHA-256 7919b23d11eba69d.
Jev judged not model-facing (confidence 0.23; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: what the agent should do
what the agent should do
agent mode
Source: packages/opencode/src/cli/cmd/agent.ts, characters 1288–1300, SHA-256 d0892294ba307423.
Jev judged not model-facing (confidence 0.13; role parameter). This is a classifier judgment, not proof of delivery.
Readable text: agent mode
agent mode
comma-separated list of permissions to allow (default: all). Available: "${AVAIL
Source: packages/opencode/src/cli/cmd/agent.ts, characters 1468–1579, SHA-256 5abd465cbf26a107.
Jev judged not model-facing (confidence 0.24; role parameter). This is a classifier judgment, not proof of delivery.
Readable text: comma-separated list of permissions to allow (default: all). Available: "${AVAILABLE_PERMISSIONS.join(", ")}"
comma-separated list of permissions to allow (default: all). Available: "${AVAILABLE_PERMISSIONS.join(", ")}"
model to use in the format of provider/model
Source: packages/opencode/src/cli/cmd/agent.ts, characters 1679–1725, SHA-256 63e1ba89d0b8fdbc.
Jev judged not model-facing (confidence 0.22; role parameter). This is a classifier judgment, not proof of delivery.
Readable text: model to use in the format of provider/model
model to use in the format of provider/model
InstanceRef not provided
Source: packages/opencode/src/cli/cmd/agent.ts, characters 2133–2159, SHA-256 af90218a16a0b7e1.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: InstanceRef not provided
InstanceRef not provided
Create agent
Source: packages/opencode/src/cli/cmd/agent.ts, characters 2759–2773, SHA-256 854cc10ca2613b7f.
Jev judged not model-facing (confidence 0.09; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Create agent
Create agent
Location
Source: packages/opencode/src/cli/cmd/agent.ts, characters 3126–3136, SHA-256 fb077badb70aedf1.
Jev judged not model-facing (confidence 0.06; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Location
Location
Current project
Source: packages/opencode/src/cli/cmd/agent.ts, characters 3200–3217, SHA-256 eb9d26b80413f12c.
Jev judged not model-facing (confidence 0.04; role human). This is a classifier judgment, not proof of delivery.
Readable text: Current project
Current project
Description
Source: packages/opencode/src/cli/cmd/agent.ts, characters 3935–3948, SHA-256 6e0d190c847ecfe3.
Jev judged not model-facing (confidence 0.12; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Description
Description
What should this agent do?
Source: packages/opencode/src/cli/cmd/agent.ts, characters 3973–4001, SHA-256 5dacd9bb20e9bce6.
Jev judged not model-facing (confidence 0.3; role user_template). This is a classifier judgment, not proof of delivery.
Readable text: What should this agent do?
What should this agent do?
Generating agent configuration...
Source: packages/opencode/src/cli/cmd/agent.ts, characters 4275–4310, SHA-256 50497d54ada70d05.
Jev judged not model-facing (confidence 0.06; role human). This is a classifier judgment, not proof of delivery.
Readable text: Generating agent configuration...
Generating agent configuration...
LLM failed to generate agent: ${error.message}
Source: packages/opencode/src/cli/cmd/agent.ts, characters 4517–4565, SHA-256 3023c2c4ea59f00e.
Jev judged not model-facing (confidence 0.04; role human). This is a classifier judgment, not proof of delivery.
Readable text: LLM failed to generate agent: ${error.message}
LLM failed to generate agent: ${error.message}
Agent ${generated.identifier} generated
Source: packages/opencode/src/cli/cmd/agent.ts, characters 4687–4728, SHA-256 72987605ca1c4dab.
Jev judged not model-facing (confidence 0.06; role human). This is a classifier judgment, not proof of delivery.
Readable text: Agent ${generated.identifier} generated
Agent ${generated.identifier} generated
Select permissions to allow (Space to toggle)
Source: packages/opencode/src/cli/cmd/agent.ts, characters 5004–5051, SHA-256 a299a61e79eb7ee5.
Jev judged not model-facing (confidence 0.04; role human). This is a classifier judgment, not proof of delivery.
Readable text: Select permissions to allow (Space to toggle)
Select permissions to allow (Space to toggle)
Agent mode
Source: packages/opencode/src/cli/cmd/agent.ts, characters 5528–5540, SHA-256 c1722d05df917f1e.
Jev judged not model-facing (confidence 0.1; role human). This is a classifier judgment, not proof of delivery.
Readable text: Agent mode
Agent mode
Can function in both primary and subagent roles
Source: packages/opencode/src/cli/cmd/agent.ts, characters 5662–5711, SHA-256 7bbe783221214da3.
Jev judged not model-facing (confidence 0.22; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Can function in both primary and subagent roles
Can function in both primary and subagent roles
Acts as a primary/main agent
Source: packages/opencode/src/cli/cmd/agent.ts, characters 5835–5865, SHA-256 df2b6c38e8d2038a.
Jev judged not model-facing (confidence 0.11; role human). This is a classifier judgment, not proof of delivery.
Readable text: Acts as a primary/main agent
Acts as a primary/main agent
Can be used as a subagent by other agents
Source: packages/opencode/src/cli/cmd/agent.ts, characters 5991–6034, SHA-256 8e4f5face7765c7e.
Jev judged not model-facing (confidence 0.22; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Can be used as a subagent by other agents
Can be used as a subagent by other agents
Error: Agent file already exists: ${filePath}
Source: packages/opencode/src/cli/cmd/agent.ts, characters 7178–7225, SHA-256 0bde22d11b26301c.
Jev judged not model-facing (confidence 0.02; role human). This is a classifier judgment, not proof of delivery.
Readable text: Error: Agent file already exists: ${filePath}
Error: Agent file already exists: ${filePath}
Agent file already exists: ${filePath}
Source: packages/opencode/src/cli/cmd/agent.ts, characters 7289–7329, SHA-256 e9de5e13a377ba1f.
Jev judged not model-facing (confidence 0.03; role human). This is a classifier judgment, not proof of delivery.
Readable text: Agent file already exists: ${filePath}
Agent file already exists: ${filePath}
Agent created: ${filePath}
Source: packages/opencode/src/cli/cmd/agent.ts, characters 7535–7563, SHA-256 38a7b6fcb571eed6.
Jev judged not model-facing (confidence 0.06; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Agent created: ${filePath}
Agent created: ${filePath}
list all available agents
Source: packages/opencode/src/cli/cmd/agent.ts, characters 7688–7715, SHA-256 c10370fd694f9ba4.
Jev judged not model-facing (confidence 0.08; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: list all available agents
list all available agents
${agent.name} (${agent.mode})
Source: packages/opencode/src/cli/cmd/agent.ts, characters 8157–8188, SHA-256 b206f1c187ca1e67.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: ${agent.name} (${agent.mode})
${agent.name} (${agent.mode})
${JSON.stringify(agent.permission, null, 2)}
Source: packages/opencode/src/cli/cmd/agent.ts, characters 8223–8271, SHA-256 445b2172023d947c.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: ${JSON.stringify(agent.permission, null, 2)}
${JSON.stringify(agent.permission, null, 2)}
manage agents
Source: packages/opencode/src/cli/cmd/agent.ts, characters 8361–8376, SHA-256 afda9f56630a967a.
Jev judged not model-facing (confidence 0.08; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: manage agents
manage agents