opencode-anthropic-multi-account 0.2.33 → 0.2.35
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/{chunk-CFK244IN.js → chunk-B5DPEU2Y.js} +12 -7
- package/dist/chunk-B5DPEU2Y.js.map +1 -0
- package/dist/fingerprint-capture.d.ts +1 -1
- package/dist/fingerprint-capture.js +1 -1
- package/dist/index.js +11 -6
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
- package/dist/chunk-CFK244IN.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
showToast,
|
|
26
26
|
sleep,
|
|
27
27
|
updateConfigField
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-B5DPEU2Y.js";
|
|
29
29
|
import "./chunk-QDWAW66H.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-05-
|
|
38
|
+
_captured: "2026-05-14T14:08:49.671Z",
|
|
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. Use the instructions below and the tools available to you to assist the user.
|
|
@@ -115,7 +115,7 @@ Always respond in Korean. Use Korean for all explanations, comments, and communi
|
|
|
115
115
|
Maintain 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").
|
|
116
116
|
|
|
117
117
|
# Context management
|
|
118
|
-
When
|
|
118
|
+
When 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.
|
|
119
119
|
|
|
120
120
|
gitStatus: 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.
|
|
121
121
|
|
|
@@ -136,6 +136,7 @@ Recent commits:
|
|
|
136
136
|
description: `Launch a new agent to handle complex, multi-step tasks. Each agent type has specific capabilities and tools available to it.
|
|
137
137
|
|
|
138
138
|
Available agent types and the tools they have access to:
|
|
139
|
+
- claude: Catch-all for any task that doesn't fit a more specific agent. FleetView's default when no agent name is typed. (Tools: *)
|
|
139
140
|
- Explore: Fast read-only search agent for locating code. Use it to find files by pattern (eg. "src/components/**/*.tsx"), grep for symbols or keywords (eg. "API endpoints"), or answer "where is X defined / which files reference Y." Do NOT use it for code review, design-doc auditing, cross-file consistency checks, or open-ended analysis \u2014 it reads excerpts rather than whole files and will miss content past its read window. When calling, specify search breadth: "quick" for a single targeted lookup, "medium" for moderate exploration, or "very thorough" to search across multiple locations and naming conventions. (Tools: All tools except Agent, ExitPlanMode, Edit, Write, NotebookEdit)
|
|
140
141
|
- general-purpose: General-purpose agent for researching complex questions, searching for code, and executing multi-step tasks. When you are searching for a keyword or file and are not confident that you will find the right match in the first few tries use this agent to perform the search for you. (Tools: *)
|
|
141
142
|
- Plan: Software architect agent for designing implementation plans. Use this when you need to plan the implementation strategy for a task. Returns step-by-step plans, identifies critical files, and considers architectural trade-offs. (Tools: All tools except Agent, ExitPlanMode, Edit, Write, NotebookEdit)
|
|
@@ -769,6 +770,10 @@ Ensure your plan is complete and unambiguous:
|
|
|
769
770
|
description: "Case insensitive search (rg -i)",
|
|
770
771
|
type: "boolean"
|
|
771
772
|
},
|
|
773
|
+
"-o": {
|
|
774
|
+
description: 'Print only the matched (non-empty) parts of each matching line, one match per output line (rg -o / --only-matching). Requires output_mode: "content", ignored otherwise. Defaults to false.',
|
|
775
|
+
type: "boolean"
|
|
776
|
+
},
|
|
772
777
|
type: {
|
|
773
778
|
description: "File type to search (rg --type). Common types: js, py, rust, go, java, etc. More efficient than include for standard file types.",
|
|
774
779
|
type: "string"
|
|
@@ -975,7 +980,7 @@ If the result says the push wasn't sent, that's expected \u2014 no action needed
|
|
|
975
980
|
},
|
|
976
981
|
{
|
|
977
982
|
name: "ScheduleWakeup",
|
|
978
|
-
description: "Schedule when to resume work in /loop dynamic mode \u2014 the user invoked /loop without an interval, asking you to self-pace iterations of a specific task.\n\nPass the same /loop prompt back via `prompt` each turn so the next firing repeats the task. For an autonomous /loop (no user prompt), pass the literal sentinel `<<autonomous-loop-dynamic>>` as `prompt` instead \u2014 the runtime resolves it back to the autonomous-loop instructions at fire time. (There is a similar `<<autonomous-loop>>` sentinel for CronCreate-based autonomous loops; do not confuse the two \u2014 ScheduleWakeup always uses the `-dynamic` variant.) Omit the call to end the loop.\n\n## Picking delaySeconds\n\nThe Anthropic prompt cache has a 5-minute TTL. Sleeping past 300 seconds means the next wake-up reads your full conversation context uncached \u2014 slower and more expensive. So the natural breakpoints:\n\n- **Under 5 minutes (60s\u2013270s)**: cache stays warm. Right for
|
|
983
|
+
description: "Schedule when to resume work in /loop dynamic mode \u2014 the user invoked /loop without an interval, asking you to self-pace iterations of a specific task.\n\nDo NOT schedule a short-interval wakeup to poll for background work you started \u2014 when harness-tracked work finishes, you are re-invoked automatically, so polling is wasted. Instead schedule a long fallback (1200s+) so the loop survives if the work hangs or never notifies. The exception is external work the harness cannot track (a CI run, a deploy, a remote queue) \u2014 there, pick a delay matched to how fast that state actually changes.\n\nPass the same /loop prompt back via `prompt` each turn so the next firing repeats the task. For an autonomous /loop (no user prompt), pass the literal sentinel `<<autonomous-loop-dynamic>>` as `prompt` instead \u2014 the runtime resolves it back to the autonomous-loop instructions at fire time. (There is a similar `<<autonomous-loop>>` sentinel for CronCreate-based autonomous loops; do not confuse the two \u2014 ScheduleWakeup always uses the `-dynamic` variant.) Omit the call to end the loop.\n\n## Picking delaySeconds\n\nThe Anthropic prompt cache has a 5-minute TTL. Sleeping past 300 seconds means the next wake-up reads your full conversation context uncached \u2014 slower and more expensive. So the natural breakpoints:\n\n- **Under 5 minutes (60s\u2013270s)**: cache stays warm. Right for actively polling external state the harness can't notify you about \u2014 a CI run, a deploy, a remote queue.\n- **5 minutes to 1 hour (300s\u20133600s)**: pay the cache miss. Right when there's no point checking sooner \u2014 waiting on something that takes minutes to change, genuinely idle, or as the long fallback heartbeat when something else is the primary wake signal.\n\n**Don't pick 300s.** It's the worst-of-both: you pay the cache miss without amortizing it. If you're tempted to \"wait 5 minutes,\" either drop to 270s (stay in cache) or commit to 1200s+ (one cache miss buys a much longer wait). Don't think in round-number minutes \u2014 think in cache windows.\n\nFor idle ticks with no specific signal to watch, default to **1200s\u20131800s** (20\u201330 min). The loop checks back, you don't burn cache 12\xD7 per hour for nothing, and the user can always interrupt if they need you sooner.\n\nThink about what you're actually waiting for, not just \"how long should I sleep.\" If you're polling a CI run that takes ~8 minutes, sleeping 60s burns the cache 8 times before it finishes \u2014 sleep ~270s twice instead.\n\nThe runtime clamps to [60, 3600], so you don't need to clamp yourself.\n\n## The reason field\n\nOne short sentence on what you chose and why. Goes to telemetry and is shown back to the user. \"watching CI run\" beats \"waiting.\" The user reads this to understand what you're doing without having to predict your cadence in advance \u2014 make it specific.\n",
|
|
979
984
|
input_schema: {
|
|
980
985
|
$schema: "https://json-schema.org/draft/2020-12/schema",
|
|
981
986
|
type: "object",
|
|
@@ -1433,7 +1438,7 @@ IMPORTANT - Use the correct year in search queries:
|
|
|
1433
1438
|
"Write"
|
|
1434
1439
|
],
|
|
1435
1440
|
anthropic_beta: "claude-code-20250219,oauth-2025-04-20,context-1m-2025-08-07,interleaved-thinking-2025-05-14,context-management-2025-06-27,prompt-caching-scope-2026-01-05,advisor-tool-2026-03-01,effort-2025-11-24,extended-cache-ttl-2025-04-11",
|
|
1436
|
-
cc_version: "2.1.
|
|
1441
|
+
cc_version: "2.1.141",
|
|
1437
1442
|
header_order: [
|
|
1438
1443
|
"Accept",
|
|
1439
1444
|
"Authorization",
|
|
@@ -1463,7 +1468,7 @@ IMPORTANT - Use the correct year in search queries:
|
|
|
1463
1468
|
"anthropic-dangerous-direct-browser-access": "true",
|
|
1464
1469
|
"anthropic-version": "2023-06-01",
|
|
1465
1470
|
"content-type": "application/json",
|
|
1466
|
-
"user-agent": "claude-cli/2.1.
|
|
1471
|
+
"user-agent": "claude-cli/2.1.141 (external, sdk-cli)",
|
|
1467
1472
|
"x-app": "cli",
|
|
1468
1473
|
"x-stainless-timeout": "600"
|
|
1469
1474
|
},
|