opencode-anthropic-multi-account 0.2.15 → 0.2.16
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-IETVH43F.js +114 -0
- package/dist/chunk-IETVH43F.js.map +1 -0
- package/dist/chunk-RVXWLAVK.js +1130 -0
- package/dist/chunk-RVXWLAVK.js.map +1 -0
- package/dist/fingerprint-capture.d.ts +67 -0
- package/dist/fingerprint-capture.js +28 -0
- package/dist/fingerprint-capture.js.map +1 -0
- package/dist/index.js +1308 -848
- package/dist/index.js.map +1 -1
- package/dist/scrub-template.d.ts +12 -0
- package/dist/scrub-template.js +15 -0
- package/dist/scrub-template.js.map +1 -0
- package/package.json +4 -3
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { TemplateData } from './fingerprint-capture.js';
|
|
2
|
+
|
|
3
|
+
interface ScrubTemplateOptions {
|
|
4
|
+
dropMcpTools?: boolean;
|
|
5
|
+
}
|
|
6
|
+
declare function scrubText(text: string): string;
|
|
7
|
+
declare function findUserPathHits(text: string): string[];
|
|
8
|
+
declare function removeHostContextSections(systemPrompt: string): string;
|
|
9
|
+
declare function scrubObjectStrings(value: unknown): unknown;
|
|
10
|
+
declare function scrubTemplate(data: TemplateData, options?: ScrubTemplateOptions): TemplateData;
|
|
11
|
+
|
|
12
|
+
export { findUserPathHits, removeHostContextSections, scrubObjectStrings, scrubTemplate, scrubText };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import {
|
|
2
|
+
findUserPathHits,
|
|
3
|
+
removeHostContextSections,
|
|
4
|
+
scrubObjectStrings,
|
|
5
|
+
scrubTemplate,
|
|
6
|
+
scrubText
|
|
7
|
+
} from "./chunk-IETVH43F.js";
|
|
8
|
+
export {
|
|
9
|
+
findUserPathHits,
|
|
10
|
+
removeHostContextSections,
|
|
11
|
+
scrubObjectStrings,
|
|
12
|
+
scrubTemplate,
|
|
13
|
+
scrubText
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=scrub-template.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-anthropic-multi-account",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.16",
|
|
4
4
|
"description": "OpenCode plugin for Anthropic multi-account management with automatic rate limit switching",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -16,6 +16,8 @@
|
|
|
16
16
|
"build": "tsup",
|
|
17
17
|
"typecheck": "tsc --noEmit",
|
|
18
18
|
"test": "for f in tests/*.test.ts; do bun test \"$f\" || exit 1; done",
|
|
19
|
+
"check:fingerprint-drift": "bun run build && node scripts/check-fingerprint-drift.mjs",
|
|
20
|
+
"bake:fingerprint": "bun run build && ALLOW_FINGERPRINT_OVERWRITE=1 node scripts/capture-and-bake.mjs",
|
|
19
21
|
"prepack": "bun run build",
|
|
20
22
|
"dev": "bun run build --watch"
|
|
21
23
|
},
|
|
@@ -39,8 +41,7 @@
|
|
|
39
41
|
"directory": "packages/anthropic-multi-account"
|
|
40
42
|
},
|
|
41
43
|
"dependencies": {
|
|
42
|
-
"opencode-multi-account-core": "^0.2.
|
|
43
|
-
"@mariozechner/pi-ai": "^0.61.0",
|
|
44
|
+
"opencode-multi-account-core": "^0.2.16",
|
|
44
45
|
"valibot": "^1.2.0"
|
|
45
46
|
},
|
|
46
47
|
"devDependencies": {
|