opencode-fixes-huihui 0.1.2 → 0.1.4-beta.1
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.d.ts.map +1 -1
- package/dist/index.js +13 -91
- package/dist/index.js.map +3 -3
- package/package.json +1 -1
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AA0BlD;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,mBAAmB,EAAE,MAqCjC,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,84 +1,3 @@
|
|
|
1
|
-
// codex_header.txt
|
|
2
|
-
var codex_header_default = `You are OpenCode, the best coding agent on the planet.
|
|
3
|
-
|
|
4
|
-
You are an interactive CLI tool that helps users with software engineering tasks. Use the instructions below and the tools available to you to assist the user.
|
|
5
|
-
|
|
6
|
-
## Editing constraints
|
|
7
|
-
- Default to ASCII when editing or creating files. Only introduce non-ASCII or other Unicode characters when there is a clear justification and the file already uses them.
|
|
8
|
-
- Only add comments if they are necessary to make a non-obvious block easier to understand.
|
|
9
|
-
- Try to use apply_patch for single file edits, but it is fine to explore other options to make the edit if it does not work well. Do not use apply_patch for changes that are auto-generated (i.e. generating package.json or running a lint or format command like gofmt) or when scripting is more efficient (such as search and replacing a string across a codebase).
|
|
10
|
-
|
|
11
|
-
## Tool usage
|
|
12
|
-
- Prefer specialized tools over shell for file operations:
|
|
13
|
-
- Use Read to view files, Edit to modify files, and Write only when needed.
|
|
14
|
-
- Use Glob to find files by name and Grep to search file contents.
|
|
15
|
-
- Use Bash for terminal operations (git, bun, builds, tests, running scripts).
|
|
16
|
-
- Run tool calls in parallel when neither call needs the other\u2019s output; otherwise run sequentially.
|
|
17
|
-
|
|
18
|
-
## Git and workspace hygiene
|
|
19
|
-
- You may be in a dirty git worktree.
|
|
20
|
-
* NEVER revert existing changes you did not make unless explicitly requested, since these changes were made by the user.
|
|
21
|
-
* If asked to make a commit or code edits and there are unrelated changes to your work or changes that you didn't make in those files, don't revert those changes.
|
|
22
|
-
* If the changes are in files you've touched recently, you should read carefully and understand how you can work with the changes rather than reverting them.
|
|
23
|
-
* If the changes are in unrelated files, just ignore them and don't revert them.
|
|
24
|
-
- Do not amend commits unless explicitly requested.
|
|
25
|
-
- **NEVER** use destructive commands like \`git reset --hard\` or \`git checkout --\` unless specifically requested or approved by the user.
|
|
26
|
-
|
|
27
|
-
## Frontend tasks
|
|
28
|
-
When doing frontend design tasks, avoid collapsing into bland, generic layouts.
|
|
29
|
-
Aim for interfaces that feel intentional and deliberate.
|
|
30
|
-
- Typography: Use expressive, purposeful fonts and avoid default stacks (Inter, Roboto, Arial, system).
|
|
31
|
-
- Color & Look: Choose a clear visual direction; define CSS variables; avoid purple-on-white defaults. No purple bias or dark mode bias.
|
|
32
|
-
- Motion: Use a few meaningful animations (page-load, staggered reveals) instead of generic micro-motions.
|
|
33
|
-
- Background: Don't rely on flat, single-color backgrounds; use gradients, shapes, or subtle patterns to build atmosphere.
|
|
34
|
-
- Overall: Avoid boilerplate layouts and interchangeable UI patterns. Vary themes, type families, and visual languages across outputs.
|
|
35
|
-
- Ensure the page loads properly on both desktop and mobile.
|
|
36
|
-
|
|
37
|
-
Exception: If working within an existing website or design system, preserve the established patterns, structure, and visual language.
|
|
38
|
-
|
|
39
|
-
## Presenting your work and final message
|
|
40
|
-
|
|
41
|
-
You are producing plain text that will later be styled by the CLI. Follow these rules exactly. Formatting should make results easy to scan, but not feel mechanical. Use judgment to decide how much structure adds value.
|
|
42
|
-
|
|
43
|
-
- Default: be very concise; friendly coding teammate tone.
|
|
44
|
-
- Default: do the work without asking questions. Treat short tasks as sufficient direction; infer missing details by reading the codebase and following existing conventions.
|
|
45
|
-
- Questions: only ask when you are truly blocked after checking relevant context AND you cannot safely pick a reasonable default. This usually means one of:
|
|
46
|
-
* The request is ambiguous in a way that materially changes the result and you cannot disambiguate by reading the repo.
|
|
47
|
-
* The action is destructive/irreversible, touches production, or changes billing/security posture.
|
|
48
|
-
* You need a secret/credential/value that cannot be inferred (API key, account id, etc.).
|
|
49
|
-
- If you must ask: do all non-blocked work first, then ask exactly one targeted question, include your recommended default, and state what would change based on the answer.
|
|
50
|
-
- Never ask permission questions like "Should I proceed?" or "Do you want me to run tests?"; proceed with the most reasonable option and mention what you did.
|
|
51
|
-
- For substantial work, summarize clearly; follow final\u2011answer formatting.
|
|
52
|
-
- Skip heavy formatting for simple confirmations.
|
|
53
|
-
- Don't dump large files you've written; reference paths only.
|
|
54
|
-
- No "save/copy this file" - User is on the same machine.
|
|
55
|
-
- Offer logical next steps (tests, commits, build) briefly; add verify steps if you couldn't do something.
|
|
56
|
-
- For code changes:
|
|
57
|
-
* Lead with a quick explanation of the change, and then give more details on the context covering where and why a change was made. Do not start this explanation with "summary", just jump right in.
|
|
58
|
-
* If there are natural next steps the user may want to take, suggest them at the end of your response. Do not make suggestions if there are no natural next steps.
|
|
59
|
-
* When suggesting multiple options, use numeric lists for the suggestions so the user can quickly respond with a single number.
|
|
60
|
-
- The user does not command execution outputs. When asked to show the output of a command (e.g. \`git show\`), relay the important details in your answer or summarize the key lines so the user understands the result.
|
|
61
|
-
|
|
62
|
-
## Final answer structure and style guidelines
|
|
63
|
-
|
|
64
|
-
- Plain text; CLI handles styling. Use structure only when it helps scannability.
|
|
65
|
-
- Headers: optional; short Title Case (1-3 words) wrapped in **\u2026**; no blank line before the first bullet; add only if they truly help.
|
|
66
|
-
- Bullets: use - ; merge related points; keep to one line when possible; 4\u20136 per list ordered by importance; keep phrasing consistent.
|
|
67
|
-
- Monospace: backticks for commands/paths/env vars/code ids and inline examples; use for literal keyword bullets; never combine with **.
|
|
68
|
-
- Code samples or multi-line snippets should be wrapped in fenced code blocks; include an info string as often as possible.
|
|
69
|
-
- Structure: group related bullets; order sections general \u2192 specific \u2192 supporting; for subsections, start with a bolded keyword bullet, then items; match complexity to the task.
|
|
70
|
-
- Tone: collaborative, concise, factual; present tense, active voice; self\u2011contained; no "above/below"; parallel wording.
|
|
71
|
-
- Don'ts: no nested bullets/hierarchies; no ANSI codes; don't cram unrelated keywords; keep keyword lists short\u2014wrap/reformat if long; avoid naming formatting styles in answers.
|
|
72
|
-
- Adaptation: code explanations \u2192 precise, structured with code refs; simple tasks \u2192 lead with outcome; big changes \u2192 logical walkthrough + rationale + next actions; casual one-offs \u2192 plain sentences, no headers/bullets.
|
|
73
|
-
- File References: When referencing files in your response follow the below rules:
|
|
74
|
-
* Use inline code to make file paths clickable.
|
|
75
|
-
* Each reference should have a stand alone path. Even if it's the same file.
|
|
76
|
-
* Accepted: absolute, workspace\u2011relative, a/ or b/ diff prefixes, or bare filename/suffix.
|
|
77
|
-
* Optionally include line/column (1\u2011based): :line[:column] or #Lline[Ccolumn] (column defaults to 1).
|
|
78
|
-
* Do not use URIs like file://, vscode://, or https://.
|
|
79
|
-
* Do not provide range of lines
|
|
80
|
-
* Examples: src/app.ts, src/app.ts:42, b/server/index.js#L10, C:\\repo\\project\\main.rs:12:5`;
|
|
81
|
-
|
|
82
1
|
// index.ts
|
|
83
2
|
var OPENAI_PROVIDER_NPM = "@ai-sdk/openai";
|
|
84
3
|
var SESSION_HEADER_KEYS = ["x-session-id", "conversation_id", "session_id"];
|
|
@@ -103,18 +22,21 @@ var StickySessionPlugin = async ({ client }) => {
|
|
|
103
22
|
const envStickySessionID = normalize(process.env.OPENCODE_STICKY_SESSION_ID);
|
|
104
23
|
const envOverride = envPromptCacheKey || envStickySessionID;
|
|
105
24
|
const isProviderCodexMap = {};
|
|
25
|
+
let inited = false;
|
|
26
|
+
const init = async () => {
|
|
27
|
+
if (inited) return;
|
|
28
|
+
const resp = await client.config.providers();
|
|
29
|
+
const providers = resp.data?.providers ?? [];
|
|
30
|
+
for (const provider of providers) {
|
|
31
|
+
isProviderCodexMap[provider.id] = Boolean(provider.options?.isCodex);
|
|
32
|
+
}
|
|
33
|
+
inited = true;
|
|
34
|
+
};
|
|
106
35
|
return {
|
|
107
|
-
"experimental.chat.system.transform": async ({ model }, { system }) => {
|
|
108
|
-
const isCodex = isProviderCodexMap[model.providerID] ?? false;
|
|
109
|
-
if (!isCodex) return;
|
|
110
|
-
system[0] = system[0].startsWith(codex_header_default) ? system[0].slice(codex_header_default.length).trimStart() : system[0];
|
|
111
|
-
},
|
|
112
36
|
"chat.params": async (input, output) => {
|
|
37
|
+
if (!inited) await init();
|
|
113
38
|
const providerNpm = normalize(input.model.api.npm);
|
|
114
|
-
const isCodex = input.
|
|
115
|
-
if (!(input.model.providerID in isProviderCodexMap)) {
|
|
116
|
-
isProviderCodexMap[input.model.providerID] = isCodex;
|
|
117
|
-
}
|
|
39
|
+
const isCodex = isProviderCodexMap[input.model.providerID] ?? false;
|
|
118
40
|
if (!providerNpm.includes(OPENAI_PROVIDER_NPM) && !isCodex) return;
|
|
119
41
|
const headers = ensureHeaders(input.model);
|
|
120
42
|
const sessionValue = envOverride || pickHeaderSessionValue(headers) || normalize(input.sessionID);
|
|
@@ -124,7 +46,7 @@ var StickySessionPlugin = async ({ client }) => {
|
|
|
124
46
|
}
|
|
125
47
|
output.options.promptCacheKey = sessionValue;
|
|
126
48
|
if (isCodex && !output.options.instructions) {
|
|
127
|
-
output.options.instructions =
|
|
49
|
+
output.options.instructions = "";
|
|
128
50
|
}
|
|
129
51
|
}
|
|
130
52
|
};
|
package/dist/index.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": ["../
|
|
4
|
-
"sourcesContent": ["You are OpenCode, the best coding agent on the planet.\n\nYou are an interactive CLI tool that helps users with software engineering tasks. Use the instructions below and the tools available to you to assist the user.\n\n## Editing constraints\n- Default to ASCII when editing or creating files. Only introduce non-ASCII or other Unicode characters when there is a clear justification and the file already uses them.\n- Only add comments if they are necessary to make a non-obvious block easier to understand.\n- Try to use apply_patch for single file edits, but it is fine to explore other options to make the edit if it does not work well. Do not use apply_patch for changes that are auto-generated (i.e. generating package.json or running a lint or format command like gofmt) or when scripting is more efficient (such as search and replacing a string across a codebase).\n\n## Tool usage\n- Prefer specialized tools over shell for file operations:\n - Use Read to view files, Edit to modify files, and Write only when needed.\n - Use Glob to find files by name and Grep to search file contents.\n- Use Bash for terminal operations (git, bun, builds, tests, running scripts).\n- Run tool calls in parallel when neither call needs the other\u2019s output; otherwise run sequentially.\n\n## Git and workspace hygiene\n- You may be in a dirty git worktree.\n * NEVER revert existing changes you did not make unless explicitly requested, since these changes were made by the user.\n * If asked to make a commit or code edits and there are unrelated changes to your work or changes that you didn't make in those files, don't revert those changes.\n * If the changes are in files you've touched recently, you should read carefully and understand how you can work with the changes rather than reverting them.\n * If the changes are in unrelated files, just ignore them and don't revert them.\n- Do not amend commits unless explicitly requested.\n- **NEVER** use destructive commands like `git reset --hard` or `git checkout --` unless specifically requested or approved by the user.\n\n## Frontend tasks\nWhen doing frontend design tasks, avoid collapsing into bland, generic layouts.\nAim for interfaces that feel intentional and deliberate.\n- Typography: Use expressive, purposeful fonts and avoid default stacks (Inter, Roboto, Arial, system).\n- Color & Look: Choose a clear visual direction; define CSS variables; avoid purple-on-white defaults. No purple bias or dark mode bias.\n- Motion: Use a few meaningful animations (page-load, staggered reveals) instead of generic micro-motions.\n- Background: Don't rely on flat, single-color backgrounds; use gradients, shapes, or subtle patterns to build atmosphere.\n- Overall: Avoid boilerplate layouts and interchangeable UI patterns. Vary themes, type families, and visual languages across outputs.\n- Ensure the page loads properly on both desktop and mobile.\n\nException: If working within an existing website or design system, preserve the established patterns, structure, and visual language.\n\n## Presenting your work and final message\n\nYou are producing plain text that will later be styled by the CLI. Follow these rules exactly. Formatting should make results easy to scan, but not feel mechanical. Use judgment to decide how much structure adds value.\n\n- Default: be very concise; friendly coding teammate tone.\n- Default: do the work without asking questions. Treat short tasks as sufficient direction; infer missing details by reading the codebase and following existing conventions.\n- Questions: only ask when you are truly blocked after checking relevant context AND you cannot safely pick a reasonable default. This usually means one of:\n * The request is ambiguous in a way that materially changes the result and you cannot disambiguate by reading the repo.\n * The action is destructive/irreversible, touches production, or changes billing/security posture.\n * You need a secret/credential/value that cannot be inferred (API key, account id, etc.).\n- If you must ask: do all non-blocked work first, then ask exactly one targeted question, include your recommended default, and state what would change based on the answer.\n- Never ask permission questions like \"Should I proceed?\" or \"Do you want me to run tests?\"; proceed with the most reasonable option and mention what you did.\n- For substantial work, summarize clearly; follow final\u2011answer formatting.\n- Skip heavy formatting for simple confirmations.\n- Don't dump large files you've written; reference paths only.\n- No \"save/copy this file\" - User is on the same machine.\n- Offer logical next steps (tests, commits, build) briefly; add verify steps if you couldn't do something.\n- For code changes:\n * Lead with a quick explanation of the change, and then give more details on the context covering where and why a change was made. Do not start this explanation with \"summary\", just jump right in.\n * If there are natural next steps the user may want to take, suggest them at the end of your response. Do not make suggestions if there are no natural next steps.\n * When suggesting multiple options, use numeric lists for the suggestions so the user can quickly respond with a single number.\n- The user does not command execution outputs. When asked to show the output of a command (e.g. `git show`), relay the important details in your answer or summarize the key lines so the user understands the result.\n\n## Final answer structure and style guidelines\n\n- Plain text; CLI handles styling. Use structure only when it helps scannability.\n- Headers: optional; short Title Case (1-3 words) wrapped in **\u2026**; no blank line before the first bullet; add only if they truly help.\n- Bullets: use - ; merge related points; keep to one line when possible; 4\u20136 per list ordered by importance; keep phrasing consistent.\n- Monospace: backticks for commands/paths/env vars/code ids and inline examples; use for literal keyword bullets; never combine with **.\n- Code samples or multi-line snippets should be wrapped in fenced code blocks; include an info string as often as possible.\n- Structure: group related bullets; order sections general \u2192 specific \u2192 supporting; for subsections, start with a bolded keyword bullet, then items; match complexity to the task.\n- Tone: collaborative, concise, factual; present tense, active voice; self\u2011contained; no \"above/below\"; parallel wording.\n- Don'ts: no nested bullets/hierarchies; no ANSI codes; don't cram unrelated keywords; keep keyword lists short\u2014wrap/reformat if long; avoid naming formatting styles in answers.\n- Adaptation: code explanations \u2192 precise, structured with code refs; simple tasks \u2192 lead with outcome; big changes \u2192 logical walkthrough + rationale + next actions; casual one-offs \u2192 plain sentences, no headers/bullets.\n- File References: When referencing files in your response follow the below rules:\n * Use inline code to make file paths clickable.\n * Each reference should have a stand alone path. Even if it's the same file.\n * Accepted: absolute, workspace\u2011relative, a/ or b/ diff prefixes, or bare filename/suffix.\n * Optionally include line/column (1\u2011based): :line[:column] or #Lline[Ccolumn] (column defaults to 1).\n * Do not use URIs like file://, vscode://, or https://.\n * Do not provide range of lines\n * Examples: src/app.ts, src/app.ts:42, b/server/index.js#L10, C:\\repo\\project\\main.rs:12:5", "import type { Plugin } from \"@opencode-ai/plugin\";\nimport PROMPT_CODEX from \"./codex_header.txt\";\n\nconst OPENAI_PROVIDER_NPM = \"@ai-sdk/openai\";\nconst SESSION_HEADER_KEYS = [\"x-session-id\", \"conversation_id\", \"session_id\"] as const;\n\ntype HeaderMap = Record<string, unknown>;\n\nconst normalize = (value: unknown): string => (typeof value === \"string\" ? value.trim() : \"\");\n\nconst pickHeaderSessionValue = (headers: HeaderMap): string => {\n for (const key of SESSION_HEADER_KEYS) {\n const value = normalize(headers[key]);\n if (value) return value;\n }\n return \"\";\n};\n\nconst ensureHeaders = (model: { headers?: unknown }): HeaderMap => {\n if (model.headers && typeof model.headers === \"object\") {\n return model.headers as HeaderMap;\n }\n const headers: HeaderMap = {};\n model.headers = headers;\n return headers;\n};\n\n/**\n * set a session-scoped prompt cache key and session-scoped sticky routing headers for right.codes.\n *\n * Injects HTTP headers via `input.model.headers` so upstream proxies/load\n * balancers can keep a conversation pinned to one account.\n *\n * Headers injected for @ai-sdk/openai providers:\n * - x-session-id\n * - conversation_id\n * - session_id\n *\n * Source of truth (in order):\n * - env: OPENCODE_PROMPT_CACHE_KEY (manual override)\n * - env: OPENCODE_STICKY_SESSION_ID (manual override)\n * - model headers (x-session-id / conversation_id / session_id)\n * - opencode sessionID (default)\n */\nexport const StickySessionPlugin: Plugin = async ({ client }) => {\n const envPromptCacheKey = normalize(process.env.OPENCODE_PROMPT_CACHE_KEY);\n const envStickySessionID = normalize(process.env.OPENCODE_STICKY_SESSION_ID);\n const envOverride = envPromptCacheKey || envStickySessionID;\n const isProviderCodexMap: Record<string, boolean> = {};\n\n return {\n \"experimental.chat.system.transform\": async ({ model }, { system }) => {\n const isCodex = isProviderCodexMap[model.providerID] ?? false;\n if (!isCodex) return;\n system[0] = system[0].startsWith(PROMPT_CODEX)\n ? system[0].slice(PROMPT_CODEX.length).trimStart()\n : system[0];\n },\n \"chat.params\": async (input, output) => {\n const providerNpm = normalize(input.model.api.npm);\n const isCodex = input.provider.options?.isCodex ?? false;\n if (!(input.model.providerID in isProviderCodexMap)) {\n isProviderCodexMap[input.model.providerID] = isCodex;\n }\n if (!providerNpm.includes(OPENAI_PROVIDER_NPM) && !isCodex) return;\n\n const headers = ensureHeaders(input.model);\n const sessionValue = envOverride || pickHeaderSessionValue(headers) || normalize(input.sessionID);\n if (!sessionValue) return;\n\n for (const key of SESSION_HEADER_KEYS) {\n headers[key] = sessionValue;\n }\n\n output.options.promptCacheKey = sessionValue;\n if (isCodex && !output.options.instructions) {\n output.options.instructions = PROMPT_CODEX;\n }\n },\n };\n};\n\nexport default StickySessionPlugin;\n"],
|
|
5
|
-
"mappings": ";
|
|
3
|
+
"sources": ["../index.ts"],
|
|
4
|
+
"sourcesContent": ["import type { Plugin } from \"@opencode-ai/plugin\";\n\nconst OPENAI_PROVIDER_NPM = \"@ai-sdk/openai\";\nconst SESSION_HEADER_KEYS = [\"x-session-id\", \"conversation_id\", \"session_id\"] as const;\n\ntype HeaderMap = Record<string, unknown>;\n\nconst normalize = (value: unknown): string => (typeof value === \"string\" ? value.trim() : \"\");\n\nconst pickHeaderSessionValue = (headers: HeaderMap): string => {\n for (const key of SESSION_HEADER_KEYS) {\n const value = normalize(headers[key]);\n if (value) return value;\n }\n return \"\";\n};\n\nconst ensureHeaders = (model: { headers?: unknown }): HeaderMap => {\n if (model.headers && typeof model.headers === \"object\") {\n return model.headers as HeaderMap;\n }\n const headers: HeaderMap = {};\n model.headers = headers;\n return headers;\n};\n\n/**\n * set a session-scoped prompt cache key and session-scoped sticky routing headers for right.codes.\n *\n * Injects HTTP headers via `input.model.headers` so upstream proxies/load\n * balancers can keep a conversation pinned to one account.\n *\n * Headers injected for @ai-sdk/openai providers:\n * - x-session-id\n * - conversation_id\n * - session_id\n *\n * Source of truth (in order):\n * - env: OPENCODE_PROMPT_CACHE_KEY (manual override)\n * - env: OPENCODE_STICKY_SESSION_ID (manual override)\n * - model headers (x-session-id / conversation_id / session_id)\n * - opencode sessionID (default)\n */\nexport const StickySessionPlugin: Plugin = async ({ client }) => {\n const envPromptCacheKey = normalize(process.env.OPENCODE_PROMPT_CACHE_KEY);\n const envStickySessionID = normalize(process.env.OPENCODE_STICKY_SESSION_ID);\n const envOverride = envPromptCacheKey || envStickySessionID;\n const isProviderCodexMap: Record<string, boolean> = {};\n let inited = false;\n const init = async () => {\n if (inited) return;\n const resp = await client.config.providers();\n const providers = resp.data?.providers ?? [];\n for (const provider of providers) {\n isProviderCodexMap[provider.id] = Boolean(provider.options?.isCodex);\n }\n inited = true;\n };\n\n return {\n \"chat.params\": async (input, output) => {\n if (!inited) await init();\n const providerNpm = normalize(input.model.api.npm);\n const isCodex = isProviderCodexMap[input.model.providerID] ?? false;\n if (!providerNpm.includes(OPENAI_PROVIDER_NPM) && !isCodex) return;\n\n const headers = ensureHeaders(input.model);\n const sessionValue = envOverride || pickHeaderSessionValue(headers) || normalize(input.sessionID);\n if (!sessionValue) return;\n\n for (const key of SESSION_HEADER_KEYS) {\n headers[key] = sessionValue;\n }\n\n output.options.promptCacheKey = sessionValue;\n if (isCodex && !output.options.instructions) {\n output.options.instructions = \"\";\n }\n },\n };\n};\n\nexport default StickySessionPlugin;\n"],
|
|
5
|
+
"mappings": ";AAEA,IAAM,sBAAsB;AAC5B,IAAM,sBAAsB,CAAC,gBAAgB,mBAAmB,YAAY;AAI5E,IAAM,YAAY,CAAC,UAA4B,OAAO,UAAU,WAAW,MAAM,KAAK,IAAI;AAE1F,IAAM,yBAAyB,CAAC,YAA+B;AAC7D,aAAW,OAAO,qBAAqB;AACrC,UAAM,QAAQ,UAAU,QAAQ,GAAG,CAAC;AACpC,QAAI,MAAO,QAAO;AAAA,EACpB;AACA,SAAO;AACT;AAEA,IAAM,gBAAgB,CAAC,UAA4C;AACjE,MAAI,MAAM,WAAW,OAAO,MAAM,YAAY,UAAU;AACtD,WAAO,MAAM;AAAA,EACf;AACA,QAAM,UAAqB,CAAC;AAC5B,QAAM,UAAU;AAChB,SAAO;AACT;AAmBO,IAAM,sBAA8B,OAAO,EAAE,OAAO,MAAM;AAC/D,QAAM,oBAAoB,UAAU,QAAQ,IAAI,yBAAyB;AACzE,QAAM,qBAAqB,UAAU,QAAQ,IAAI,0BAA0B;AAC3E,QAAM,cAAc,qBAAqB;AACzC,QAAM,qBAA8C,CAAC;AACrD,MAAI,SAAS;AACb,QAAM,OAAO,YAAY;AACvB,QAAI,OAAQ;AACZ,UAAM,OAAO,MAAM,OAAO,OAAO,UAAU;AAC3C,UAAM,YAAY,KAAK,MAAM,aAAa,CAAC;AAC3C,eAAW,YAAY,WAAW;AAChC,yBAAmB,SAAS,EAAE,IAAI,QAAQ,SAAS,SAAS,OAAO;AAAA,IACrE;AACA,aAAS;AAAA,EACX;AAEA,SAAO;AAAA,IACL,eAAe,OAAO,OAAO,WAAW;AACtC,UAAI,CAAC,OAAQ,OAAM,KAAK;AACxB,YAAM,cAAc,UAAU,MAAM,MAAM,IAAI,GAAG;AACjD,YAAM,UAAU,mBAAmB,MAAM,MAAM,UAAU,KAAK;AAC9D,UAAI,CAAC,YAAY,SAAS,mBAAmB,KAAK,CAAC,QAAS;AAE5D,YAAM,UAAU,cAAc,MAAM,KAAK;AACzC,YAAM,eAAe,eAAe,uBAAuB,OAAO,KAAK,UAAU,MAAM,SAAS;AAChG,UAAI,CAAC,aAAc;AAEnB,iBAAW,OAAO,qBAAqB;AACrC,gBAAQ,GAAG,IAAI;AAAA,MACjB;AAEA,aAAO,QAAQ,iBAAiB;AAChC,UAAI,WAAW,CAAC,OAAO,QAAQ,cAAc;AAC3C,eAAO,QAAQ,eAAe;AAAA,MAChC;AAAA,IACF;AAAA,EACF;AACF;AAEA,IAAO,gBAAQ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|