opencode-anthropic-multi-account 0.2.66 → 0.2.68

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.
package/dist/index.js CHANGED
@@ -25,7 +25,7 @@ import {
25
25
  showToast,
26
26
  sleep,
27
27
  updateConfigField
28
- } from "./chunk-F24IQNVM.js";
28
+ } from "./chunk-V773K5AP.js";
29
29
  import "./chunk-IIROTFG6.js";
30
30
 
31
31
  // ../providers/claude-code/src/opencode-shared.ts
@@ -35,7 +35,7 @@ import { createHash, randomUUID } from "crypto";
35
35
  var data_default2 = {
36
36
  _version: 1,
37
37
  _schemaVersion: 1,
38
- _captured: "2026-06-19T08:39:56.355Z",
38
+ _captured: "2026-06-23T22:04:11.733Z",
39
39
  _source: "bundled",
40
40
  agent_identity: "You are a Claude agent, built on Anthropic's Claude Agent SDK.",
41
41
  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\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 \u2014 if what you find contradicts how it was described, or you didn\'t create it, surface that instead of proceeding. 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 - Default: NO `/schedule` offer \u2014 most tasks just end. Offer ONLY when this turn\'s work left a named artifact with a future obligation you can quote verbatim: a flag/gate/experiment key with a stated ramp or cleanup date; a `.skip`/`xfail`/temp instrumentation with a written "remove after X" condition; a job ID with an ETA; a dated TODO. Quote the artifact in a one-line offer and derive timing from it \u2014 if no concrete date/ETA/condition exists in the work, skip; never invent or default a timeframe. NEVER offer for: unfinished scope ("do the rest" is not a follow-up \u2014 finish it now), anything doable in this PR, refactors/bugfixes/docs/renames/dep-bumps, or after the user signals done. At most once per session. Phrase the offer as: "Want me to `/schedule` \u2026 on <date from the artifact>?"\n - If the user asks about "ultrareview" or how to run it, explain that /code-review ultra launches a multi-agent cloud review of the current branch (or /code-review ultra <PR#> for a GitHub PR); /ultrareview is a deprecated alias for the same command. It is user-triggered and billed; you cannot launch it yourself, so do not attempt to via Bash or otherwise. It needs a git repository (offer to "git init" if not in one); the no-arg form bundles the local branch and does not need a GitHub remote.\n\n# Memory\n\nYou have a persistent file-based memory at `/Users/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 \u2014 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` \u2014 who the user is (role, expertise, preferences). `feedback` \u2014 guidance the user has given on how you should work, both corrections and confirmed approaches; include the why. `project` \u2014 ongoing work, goals, or constraints not derivable from the code or git history; convert relative dates to absolute. `reference` \u2014 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 \u2014 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 \u2014 if one names a file, function, or flag, verify it still exists before recommending it.\n\n# Language\nAlways respond in Korean. Use Korean for all explanations, comments, and communications with the user. Technical terms and code identifiers should remain in their original form.\nMaintain full orthographic correctness for Korean, including all required diacritical marks, accents, and special characters. Never substitute accented characters with their ASCII equivalents (e.g., never write "nao" for "n\xE3o", "fur" for "f\xFCr", or "loeschen" for "l\xF6schen").\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)',
@@ -979,6 +979,34 @@ If the result says the push wasn't sent, that's expected \u2014 no action needed
979
979
  additionalProperties: false
980
980
  }
981
981
  },
982
+ {
983
+ name: "SendMessage",
984
+ description: '# SendMessage\n\nSend a message to another agent.\n\n```json\n{"to": "researcher", "summary": "assign task 1", "message": "start on task #1"}\n```\n\n| `to` | |\n|---|---|\n| `"researcher"` | Teammate by name |\n| `"main"` | The main conversation (background subagents only) |\n\nYour plain text output is NOT visible to other agents \u2014 to communicate, you MUST call this tool. Messages from teammates are delivered automatically; you don\'t check an inbox. Refer to active teammates by name; to resume a completed background agent, use the `agentId` (format `a...-...`) from its spawn result. When relaying, don\'t quote the original \u2014 it\'s already rendered to the user.',
985
+ input_schema: {
986
+ $schema: "https://json-schema.org/draft/2020-12/schema",
987
+ type: "object",
988
+ properties: {
989
+ to: {
990
+ description: "Recipient: teammate name",
991
+ type: "string"
992
+ },
993
+ summary: {
994
+ description: "A 5-10 word summary shown as a preview in the UI (required when message is a string)",
995
+ type: "string",
996
+ maxLength: 200
997
+ },
998
+ message: {
999
+ description: "Plain text message content",
1000
+ type: "string"
1001
+ }
1002
+ },
1003
+ required: [
1004
+ "to",
1005
+ "message"
1006
+ ],
1007
+ additionalProperties: false
1008
+ }
1009
+ },
982
1010
  {
983
1011
  name: "Skill",
984
1012
  description: 'Execute a skill within the main conversation\n\nWhen users ask you to perform tasks, check if any of the available skills match. Skills provide specialized capabilities and domain knowledge.\n\nWhen users reference a "slash command" or "/<something>", they are referring to a skill. Use this tool to invoke it.\n\nHow to invoke:\n- Set `skill` to the exact name of an available skill (no leading slash). For plugin-namespaced skills use the fully qualified `plugin:skill` form.\n- Set `args` to pass optional arguments.\n- Some skills are scoped to a directory: their name is prefixed with the directory (e.g. `apps/web:deploy`) and their description says which directory they apply to. When a skill name has both a scoped and an unscoped variant, pick by the files you are working on: if the files are under a variant\'s directory, invoke that variant (most specific directory wins); otherwise invoke the unscoped one.\n\nImportant:\n- Available skills are listed in system-reminder messages in the conversation\n- Only invoke a skill that appears in that list, or one the user explicitly typed as `/<name>` in their message. Never guess or invent a skill name from training data; otherwise do not call this tool\n- When a skill matches the user\'s request, this is a BLOCKING REQUIREMENT: invoke the relevant Skill tool BEFORE generating any other response about the task\n- NEVER mention a skill without actually calling this tool\n- Do not invoke a skill that is already running\n- Do not use this tool for built-in CLI commands (like /help, /clear, etc.)\n- If you see a <command-name> tag in the current conversation turn, the skill has ALREADY been loaded - follow the instructions directly instead of calling this tool again\n',
@@ -1328,6 +1356,7 @@ If the result says the push wasn't sent, that's expected \u2014 no action needed
1328
1356
  "Read",
1329
1357
  "RemoteTrigger",
1330
1358
  "ScheduleWakeup",
1359
+ "SendMessage",
1331
1360
  "Skill",
1332
1361
  "TaskCreate",
1333
1362
  "TaskGet",
@@ -1341,7 +1370,7 @@ If the result says the push wasn't sent, that's expected \u2014 no action needed
1341
1370
  "Write"
1342
1371
  ],
1343
1372
  anthropic_beta: "claude-code-20250219,oauth-2025-04-20,context-1m-2025-08-07,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",
1344
- cc_version: "2.1.183",
1373
+ cc_version: "2.1.186",
1345
1374
  header_order: [
1346
1375
  "Accept",
1347
1376
  "Authorization",
@@ -1371,7 +1400,7 @@ If the result says the push wasn't sent, that's expected \u2014 no action needed
1371
1400
  "anthropic-dangerous-direct-browser-access": "true",
1372
1401
  "anthropic-version": "2023-06-01",
1373
1402
  "content-type": "application/json",
1374
- "user-agent": "claude-cli/2.1.183 (external, sdk-cli)",
1403
+ "user-agent": "claude-cli/2.1.186 (external, sdk-cli)",
1375
1404
  "x-app": "cli",
1376
1405
  "x-stainless-timeout": "600"
1377
1406
  },