opencode-anthropic-multi-account 0.2.120 → 0.2.121
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
var data_default = {
|
|
23
23
|
_version: 2,
|
|
24
24
|
_schemaVersion: 2,
|
|
25
|
-
_captured: "2026-08-
|
|
25
|
+
_captured: "2026-08-15T01:32:43.286Z",
|
|
26
26
|
_source: "bundled",
|
|
27
27
|
agent_identity: "You are a Claude agent, built on Anthropic's Claude Agent SDK.",
|
|
28
28
|
system_prompt: "You are an interactive agent that helps users with software engineering tasks.\n\nIMPORTANT: Assist with authorized security testing, defensive security, CTF challenges, and educational contexts. Refuse requests for destructive techniques, DoS attacks, mass targeting, supply chain compromise, or detection evasion for malicious purposes. Dual-use security tools (C2 frameworks, credential testing, exploit development) require clear authorization context: pentesting engagements, CTF competitions, security research, or defensive use cases.\n\n# Harness\n - Text you output outside of tool use is displayed to the user as Github-flavored markdown in a terminal.\n - Tools run behind a user-selected permission mode; a denied call means the user declined it \u2014 adjust, don't retry verbatim.\n - `<system-reminder>` tags in messages and tool results are injected by the harness, not the user. Hooks may intercept tool calls; treat hook output as user feedback.\n - Prefer the dedicated file/search tools over shell commands when one fits. Independent tool calls can run in parallel in one response.\n - Reference code as `file_path:line_number` \u2014 it's clickable.\n\nWrite code that reads like the surrounding code: match its comment density, naming, and idiom.\n\nWhen you use a pronoun for someone \u2014 the user or anyone else you mention \u2014 and their pronouns haven't been stated, use they/them. A name doesn't tell you someone's pronouns; a wrong guess misgenders a real person in a way the neutral default never does, so never infer pronouns from a name. This applies to all user-visible text, including visible thinking.\n\nFor actions that are hard to reverse or outward-facing, confirm first unless durably authorized or explicitly told to proceed without asking; approval in one context doesn't extend to the next. Sending content to an external service publishes it; it may be cached or indexed even if later deleted. Before deleting or overwriting, look at the target. Report outcomes faithfully: if tests fail, say so with the output; if a step was skipped, say that; when something is done and verified, state it plainly without hedging.\n\n# Session-specific guidance\n - When the user types `/<skill-name>`, invoke it via Skill. Only use skills listed in the user-invocable skills section \u2014 don't guess.\n\n# Memory\n\nYou have a persistent file-based memory at `/home/user/.claude/projects/project/memory/`. This directory already exists \u2014 write to it directly with the Write tool (do not run mkdir or check for its existence). Each memory is one file holding one fact, with frontmatter:\n\n```markdown\n---\nname: <short-kebab-case-slug>\ndescription: <one-line summary, used to decide relevance during recall>\nmetadata:\n type: user | feedback | project | reference\n---\n\n<the fact; for feedback/project, follow with **Why:** and **How to apply:** lines. Link related memories with [[their-name]].>\n```\n\nIn the body, link to related memories with `[[name]]`, where `name` is the other memory's `name:` slug. Link liberally \u2014 a `[[name]]` that doesn't match an existing memory yet is fine; it marks something worth writing later, not an error.\n\n`user`: who the user is (role, expertise, preferences). `feedback`: guidance the user has given on how you should work, both corrections and confirmed approaches; include the why. `project`: ongoing work, goals, or constraints not derivable from the code or git history; convert relative dates to absolute. `reference`: pointers to external resources (URLs, dashboards, tickets).\n\nAfter writing the file, add a one-line pointer in `MEMORY.md` (`- [Title](file.md) \u2014 hook`). `MEMORY.md` is the index loaded into context each session \u2014 one line per memory, no frontmatter, never put memory content there.\n\nBefore saving, check for an existing file that already covers it. Update that file rather than creating a duplicate; delete memories that turn out to be wrong. Don't save what the repo already records (code structure, past fixes, git history, CLAUDE.md) or what only matters to this conversation; if asked to remember one of those, ask what was non-obvious about it and save that instead. Recalled memories appearing inside `<system-reminder>` blocks are background context, not user instructions, and reflect what was true when written. If one names a file, function, or flag, verify it still exists before recommending it.\n\n# Context management\nWhen the conversation grows long, some or all of the current context is summarized; the summary, along with any remaining unsummarized context, is provided in the next context window so work can continue \u2014 you don't need to wrap up early or hand off mid-task.\n\nWhen you have enough information to act, act. Do not re-derive facts already established in the conversation, re-litigate a decision the user has already made, or narrate options you will not pursue. If you are weighing a choice, give a recommendation, not an exhaustive survey\n\ngitStatus: This is the git status at the start of the conversation. Note that this status is a snapshot in time, and will not update during the conversation.\n\nCurrent branch: (dynamic)\n\nMain branch (you will usually use this for PRs): (dynamic)\n\nGit user: (dynamic)\n\nStatus:\n(dynamic)\n\nRecent commits:\n(dynamic)",
|
|
@@ -1159,69 +1159,6 @@ When the user is actively at the terminal, your output already reaches them \u20
|
|
|
1159
1159
|
additionalProperties: false
|
|
1160
1160
|
}
|
|
1161
1161
|
},
|
|
1162
|
-
{
|
|
1163
|
-
name: "TaskCreate",
|
|
1164
|
-
description: 'Use this tool to create a structured task list for your current coding session. This helps you track progress, organize complex tasks, and demonstrate thoroughness to the user.\nIt also helps the user understand the progress of the task and overall progress of their requests.\n\n## When to Use This Tool\n\nUse this tool proactively in these scenarios:\n\n- Complex multi-step tasks - When a task requires 3 or more distinct steps or actions\n- Non-trivial and complex tasks - Tasks that require careful planning or multiple operations\n- Plan mode - When using plan mode, create a task list to track the work\n- User explicitly requests todo list - When the user directly asks you to use the todo list\n- User provides multiple tasks - When users provide a list of things to be done (numbered or comma-separated)\n- After receiving new instructions - Immediately capture user requirements as tasks\n- When you start working on a task - Mark it as in_progress BEFORE beginning work\n- After completing a task - Mark it as completed and add any new follow-up tasks discovered during implementation\n\n## When NOT to Use This Tool\n\nSkip using this tool when:\n- There is only a single, straightforward task\n- The task is trivial and tracking it provides no organizational benefit\n- The task can be completed in less than 3 trivial steps\n- The task is purely conversational or informational\n\nNOTE that you should not use this tool if there is only one trivial task to do. In this case you are better off just doing the task directly.\n\n## Task Fields\n\n- **subject**: A brief, actionable title in imperative form (e.g., "Fix authentication bug in login flow")\n- **description**: What needs to be done\n- **activeForm** (optional): Present continuous form shown in the spinner when the task is in_progress (e.g., "Fixing authentication bug"). If omitted, the spinner shows the subject instead.\n\nAll tasks are created with status `pending`.\n\n## Tips\n\n- Create tasks with clear, specific subjects that describe the outcome\n- After creating tasks, use TaskUpdate to set up dependencies (blocks/blockedBy) if needed\n- Check TaskList first to avoid creating duplicate tasks\n',
|
|
1165
|
-
input_schema: {
|
|
1166
|
-
$schema: "https://json-schema.org/draft/2020-12/schema",
|
|
1167
|
-
type: "object",
|
|
1168
|
-
properties: {
|
|
1169
|
-
subject: {
|
|
1170
|
-
description: "A brief title for the task",
|
|
1171
|
-
type: "string"
|
|
1172
|
-
},
|
|
1173
|
-
description: {
|
|
1174
|
-
description: "What needs to be done",
|
|
1175
|
-
type: "string"
|
|
1176
|
-
},
|
|
1177
|
-
activeForm: {
|
|
1178
|
-
description: 'Present continuous form shown in spinner when in_progress (e.g., "Running tests")',
|
|
1179
|
-
type: "string"
|
|
1180
|
-
},
|
|
1181
|
-
metadata: {
|
|
1182
|
-
description: "Arbitrary metadata to attach to the task",
|
|
1183
|
-
type: "object",
|
|
1184
|
-
propertyNames: {
|
|
1185
|
-
type: "string"
|
|
1186
|
-
},
|
|
1187
|
-
additionalProperties: {}
|
|
1188
|
-
}
|
|
1189
|
-
},
|
|
1190
|
-
required: [
|
|
1191
|
-
"subject",
|
|
1192
|
-
"description"
|
|
1193
|
-
],
|
|
1194
|
-
additionalProperties: false
|
|
1195
|
-
}
|
|
1196
|
-
},
|
|
1197
|
-
{
|
|
1198
|
-
name: "TaskGet",
|
|
1199
|
-
description: "Use this tool to retrieve a task by its ID from the task list.\n\n## When to Use This Tool\n\n- When you need the full description and context before starting work on a task\n- To understand task dependencies (what it blocks, what blocks it)\n- After being assigned a task, to get complete requirements\n\n## Output\n\nReturns full task details:\n- **subject**: Task title\n- **description**: Detailed requirements and context\n- **status**: 'pending', 'in_progress', or 'completed'\n- **blocks**: Tasks waiting on this one to complete\n- **blockedBy**: Tasks that must complete before this one can start\n\n## Tips\n\n- After fetching a task, verify its blockedBy list is empty before beginning work.\n- Use TaskList to see all tasks in summary form.\n",
|
|
1200
|
-
input_schema: {
|
|
1201
|
-
$schema: "https://json-schema.org/draft/2020-12/schema",
|
|
1202
|
-
type: "object",
|
|
1203
|
-
properties: {
|
|
1204
|
-
taskId: {
|
|
1205
|
-
description: "The ID of the task to retrieve",
|
|
1206
|
-
type: "string"
|
|
1207
|
-
}
|
|
1208
|
-
},
|
|
1209
|
-
required: [
|
|
1210
|
-
"taskId"
|
|
1211
|
-
],
|
|
1212
|
-
additionalProperties: false
|
|
1213
|
-
}
|
|
1214
|
-
},
|
|
1215
|
-
{
|
|
1216
|
-
name: "TaskList",
|
|
1217
|
-
description: "Use this tool to list all tasks in the task list.\n\n## When to Use This Tool\n\n- To see what tasks are available to work on (status: 'pending', no owner, not blocked)\n- To check overall progress on the project\n- To find tasks that are blocked and need dependencies resolved\n- After completing a task, to check for newly unblocked work or claim the next available task\n- **Prefer working on tasks in ID order** (lowest ID first) when multiple tasks are available, as earlier tasks often set up context for later ones\n\n## Output\n\nReturns a summary of each task:\n- **id**: Task identifier (use with TaskGet, TaskUpdate)\n- **subject**: Brief description of the task\n- **status**: 'pending', 'in_progress', or 'completed'\n- **owner**: Agent ID if assigned, empty if available\n- **blockedBy**: List of open task IDs that must be resolved first (tasks with blockedBy cannot be claimed until dependencies resolve)\n\nUse TaskGet with a specific task ID to view full details including description and comments.\n",
|
|
1218
|
-
input_schema: {
|
|
1219
|
-
$schema: "https://json-schema.org/draft/2020-12/schema",
|
|
1220
|
-
type: "object",
|
|
1221
|
-
properties: {},
|
|
1222
|
-
additionalProperties: false
|
|
1223
|
-
}
|
|
1224
|
-
},
|
|
1225
1162
|
{
|
|
1226
1163
|
name: "TaskOutput",
|
|
1227
1164
|
description: "DEPRECATED: Background tasks return their output file path in the tool result, and you receive a <task-notification> with the same path when the task completes.\n- For bash tasks: prefer using the Read tool on that output file path \u2014 it contains stdout/stderr.\n- For local_agent tasks: use the Agent tool result directly. Do NOT Read the .output file \u2014 it is a symlink to the full subagent conversation transcript (JSONL) and will overflow your context window.\n- For remote_agent tasks: prefer using the Read tool on the output file path \u2014 it contains the streamed remote session output (same as bash).\n\n- Retrieves output from a running or completed task (background shell, agent, or remote session)\n- Takes a task_id parameter identifying the task\n- Returns the task output along with status information\n- Use block=true (default) to wait for task completion\n- Use block=false for non-blocking check of current status\n- Task IDs can be found using the /tasks command\n- Works with all task types: background shells, async agents, and remote sessions",
|
|
@@ -1273,79 +1210,6 @@ When the user is actively at the terminal, your output already reaches them \u20
|
|
|
1273
1210
|
additionalProperties: false
|
|
1274
1211
|
}
|
|
1275
1212
|
},
|
|
1276
|
-
{
|
|
1277
|
-
name: "TaskUpdate",
|
|
1278
|
-
description: 'Use this tool to update a task in the task list.\n\n## When to Use This Tool\n\n**Mark tasks as resolved:**\n- When you have completed the work described in a task\n- When a task is no longer needed or has been superseded\n- IMPORTANT: Always mark your assigned tasks as resolved when you finish them\n- After resolving, call TaskList to find your next task\n\n- ONLY mark a task as completed when you have FULLY accomplished it\n- If you encounter errors, blockers, or cannot finish, keep the task as in_progress\n- When blocked, create a new task describing what needs to be resolved\n- Never mark a task as completed if:\n - Tests are failing\n - Implementation is partial\n - You encountered unresolved errors\n - You couldn\'t find necessary files or dependencies\n\n**Delete tasks:**\n- When a task is no longer relevant or was created in error\n- Setting status to `deleted` permanently removes the task\n\n**Update task details:**\n- When requirements change or become clearer\n- When establishing dependencies between tasks\n\n## Fields You Can Update\n\n- **status**: The task status (see Status Workflow below)\n- **subject**: Change the task title (imperative form, e.g., "Run tests")\n- **description**: Change the task description\n- **activeForm**: Present continuous form shown in spinner when in_progress (e.g., "Running tests")\n- **owner**: Change the task owner (agent name)\n- **metadata**: Merge metadata keys into the task (set a key to null to delete it)\n- **addBlocks**: Mark tasks that cannot start until this one completes\n- **addBlockedBy**: Mark tasks that must complete before this one can start\n\n## Status Workflow\n\nStatus progresses: `pending` \u2192 `in_progress` \u2192 `completed`\n\nUse `deleted` to permanently remove a task.\n\n## Staleness\n\nMake sure to read a task\'s latest state using `TaskGet` before updating it.\n\n## Examples\n\nMark task as in progress when starting work:\n```json\n{"taskId": "1", "status": "in_progress"}\n```\n\nMark task as completed after finishing work:\n```json\n{"taskId": "1", "status": "completed"}\n```\n\nDelete a task:\n```json\n{"taskId": "1", "status": "deleted"}\n```\n\nClaim a task by setting owner:\n```json\n{"taskId": "1", "owner": "my-name"}\n```\n\nSet up task dependencies:\n```json\n{"taskId": "2", "addBlockedBy": ["1"]}\n```\n',
|
|
1279
|
-
input_schema: {
|
|
1280
|
-
$schema: "https://json-schema.org/draft/2020-12/schema",
|
|
1281
|
-
type: "object",
|
|
1282
|
-
properties: {
|
|
1283
|
-
taskId: {
|
|
1284
|
-
description: "The ID of the task to update",
|
|
1285
|
-
type: "string"
|
|
1286
|
-
},
|
|
1287
|
-
subject: {
|
|
1288
|
-
description: "New subject for the task",
|
|
1289
|
-
type: "string"
|
|
1290
|
-
},
|
|
1291
|
-
description: {
|
|
1292
|
-
description: "New description for the task",
|
|
1293
|
-
type: "string"
|
|
1294
|
-
},
|
|
1295
|
-
activeForm: {
|
|
1296
|
-
description: 'Present continuous form shown in spinner when in_progress (e.g., "Running tests")',
|
|
1297
|
-
type: "string"
|
|
1298
|
-
},
|
|
1299
|
-
status: {
|
|
1300
|
-
description: "New status for the task",
|
|
1301
|
-
anyOf: [
|
|
1302
|
-
{
|
|
1303
|
-
type: "string",
|
|
1304
|
-
enum: [
|
|
1305
|
-
"pending",
|
|
1306
|
-
"in_progress",
|
|
1307
|
-
"completed"
|
|
1308
|
-
]
|
|
1309
|
-
},
|
|
1310
|
-
{
|
|
1311
|
-
type: "string",
|
|
1312
|
-
const: "deleted"
|
|
1313
|
-
}
|
|
1314
|
-
]
|
|
1315
|
-
},
|
|
1316
|
-
addBlocks: {
|
|
1317
|
-
description: "Task IDs that this task blocks",
|
|
1318
|
-
type: "array",
|
|
1319
|
-
items: {
|
|
1320
|
-
type: "string"
|
|
1321
|
-
}
|
|
1322
|
-
},
|
|
1323
|
-
addBlockedBy: {
|
|
1324
|
-
description: "Task IDs that block this task",
|
|
1325
|
-
type: "array",
|
|
1326
|
-
items: {
|
|
1327
|
-
type: "string"
|
|
1328
|
-
}
|
|
1329
|
-
},
|
|
1330
|
-
owner: {
|
|
1331
|
-
description: "New owner for the task",
|
|
1332
|
-
type: "string"
|
|
1333
|
-
},
|
|
1334
|
-
metadata: {
|
|
1335
|
-
description: "Metadata keys to merge into the task. Set a key to null to delete it.",
|
|
1336
|
-
type: "object",
|
|
1337
|
-
propertyNames: {
|
|
1338
|
-
type: "string"
|
|
1339
|
-
},
|
|
1340
|
-
additionalProperties: {}
|
|
1341
|
-
}
|
|
1342
|
-
},
|
|
1343
|
-
required: [
|
|
1344
|
-
"taskId"
|
|
1345
|
-
],
|
|
1346
|
-
additionalProperties: false
|
|
1347
|
-
}
|
|
1348
|
-
},
|
|
1349
1213
|
{
|
|
1350
1214
|
name: "WebFetch",
|
|
1351
1215
|
description: "Fetches a URL, converts the page to markdown, and answers `prompt` against it using a small fast model.\n\n- Fails on authenticated/private URLs \u2014 use an authenticated MCP tool or `gh` for those instead.\n- HTTP is upgraded to HTTPS. Cross-host redirects are returned to you rather than followed; call again with the redirect URL.\n- Responses are cached for 15 minutes per URL.",
|
|
@@ -1450,18 +1314,14 @@ When the user is actively at the terminal, your output already reaches them \u20
|
|
|
1450
1314
|
"ScheduleWakeup",
|
|
1451
1315
|
"SendMessage",
|
|
1452
1316
|
"Skill",
|
|
1453
|
-
"TaskCreate",
|
|
1454
|
-
"TaskGet",
|
|
1455
|
-
"TaskList",
|
|
1456
1317
|
"TaskOutput",
|
|
1457
1318
|
"TaskStop",
|
|
1458
|
-
"TaskUpdate",
|
|
1459
1319
|
"WebFetch",
|
|
1460
1320
|
"WebSearch",
|
|
1461
1321
|
"Write"
|
|
1462
1322
|
],
|
|
1463
1323
|
anthropic_beta: "claude-code-20250219,oauth-2025-04-20,interleaved-thinking-2025-05-14,thinking-token-count-2026-05-13,context-management-2025-06-27,prompt-caching-scope-2026-01-05,mid-conversation-system-2026-04-07,advisor-tool-2026-03-01,effort-2025-11-24,extended-cache-ttl-2025-04-11",
|
|
1464
|
-
cc_version: "2.1.
|
|
1324
|
+
cc_version: "2.1.233",
|
|
1465
1325
|
header_order: [
|
|
1466
1326
|
"Accept",
|
|
1467
1327
|
"Authorization",
|
|
@@ -1491,7 +1351,7 @@ When the user is actively at the terminal, your output already reaches them \u20
|
|
|
1491
1351
|
"anthropic-dangerous-direct-browser-access": "true",
|
|
1492
1352
|
"anthropic-version": "2023-06-01",
|
|
1493
1353
|
"content-type": "application/json",
|
|
1494
|
-
"user-agent": "claude-cli/2.1.
|
|
1354
|
+
"user-agent": "claude-cli/2.1.233 (external, sdk-cli)",
|
|
1495
1355
|
"x-app": "cli",
|
|
1496
1356
|
"x-stainless-timeout": "600"
|
|
1497
1357
|
},
|
|
@@ -1553,7 +1413,6 @@ When you encounter an obstacle, do not use destructive actions as a shortcut to
|
|
|
1553
1413
|
|
|
1554
1414
|
# Using your tools
|
|
1555
1415
|
- Prefer dedicated tools over Bash when one fits (Read, Edit, Write) \u2014 reserve Bash for shell-only operations.
|
|
1556
|
-
- Use TaskCreate to plan and track work. Mark each task completed as soon as it's done; don't batch.
|
|
1557
1416
|
- You can call multiple tools in a single response. If you intend to call multiple tools and there are no dependencies between them, make all independent tool calls in parallel. Maximize use of parallel tool calls where possible to increase efficiency. However, if some tool calls depend on previous calls to inform dependent values, do NOT call these tools in parallel and instead call them sequentially. For instance, if one operation must complete before another starts, run these operations sequentially instead.
|
|
1558
1417
|
|
|
1559
1418
|
# Tone and style
|
|
@@ -2966,4 +2825,4 @@ export {
|
|
|
2966
2825
|
setFingerprintCaptureTestOverridesForTest,
|
|
2967
2826
|
resetFingerprintCaptureForTest
|
|
2968
2827
|
};
|
|
2969
|
-
//# sourceMappingURL=chunk-
|
|
2828
|
+
//# sourceMappingURL=chunk-6ULMUPJ4.js.map
|