@cortexkit/opencode-anthropic-auth 2.9.1 → 2.10.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/cli.js +44 -44
- package/dist/fable-fallback.d.ts +5 -5
- package/dist/index-hzf7nz91.js +45 -0
- package/dist/{index-pxnn7mg1.js → index-m7k9zxem.js} +1 -1
- package/dist/{index-h508mdrx.js → index-pcyn2rkg.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/recovery-thinking.d.ts +80 -0
- package/dist/setup/native-enrollment.d.ts +1 -1
- package/dist/sidebar-state.d.ts +1 -1
- package/dist/sidebar-state.js +1 -1
- package/dist/transform.d.ts +9 -0
- package/dist/v2/adapter.d.ts +4 -1
- package/dist/v2/cachekeep.d.ts +10 -1
- package/dist/v2/server.js +11 -11
- package/dist/v2/source.d.ts +10 -1
- package/dist/v2/tui.js +1 -1
- package/package.json +7 -7
- package/src/sidebar-state.ts +3 -2
- package/src/tui-compiled/sidebar-state.ts +3 -2
- package/dist/index-h492wy6c.js +0 -45
package/dist/fable-fallback.d.ts
CHANGED
|
@@ -15,8 +15,8 @@ export declare function parseSourceWarmTargetId(id: string): {
|
|
|
15
15
|
} | null;
|
|
16
16
|
export declare function sourceWarmRecoveryKey(sessionId: string, family: RecoverableRefusalFamily): string;
|
|
17
17
|
/**
|
|
18
|
-
* The source request a recovery round keeps alive: the
|
|
19
|
-
*
|
|
18
|
+
* The source request a recovery round keeps alive: the full request template
|
|
19
|
+
* accepted at its last cache boundary with positive cache usage, bound
|
|
20
20
|
* to the OAuth account that sent it. In memory only; a restart drops it
|
|
21
21
|
* along with the process-local round state.
|
|
22
22
|
*/
|
|
@@ -51,17 +51,17 @@ export type FableFallbackPlan = {
|
|
|
51
51
|
cycle?: number;
|
|
52
52
|
cacheAccountId?: string;
|
|
53
53
|
standbyCacheAnchor?: FableStandbyCacheAnchor;
|
|
54
|
+
sourceRecovery?: FableSourceWarmKeep;
|
|
54
55
|
requestSequence?: number;
|
|
55
56
|
completed?: boolean;
|
|
56
57
|
};
|
|
57
58
|
/**
|
|
58
59
|
* Models whose content-filter refusal we recover from by downgrading to Opus 4.8
|
|
59
60
|
* for a bounded window: capability rows with a `refusalRecoveryFamily` (Fable 5,
|
|
60
|
-
* Fable 5.1, Fable 5.2, Opus 5 and Opus 5.5). Each has a separate source family because
|
|
61
|
+
* Fable 5.1, Fable 5.2, Mythos 5.2, Opus 5 and Opus 5.5). Each has a separate source family because
|
|
61
62
|
* recovery state must not cross-contaminate distinct requested models. All use
|
|
62
63
|
* Anthropic's `claude-opus-4-8` fallback for the same classifier refusal shape
|
|
63
|
-
* and recovery period. Mythos
|
|
64
|
-
* both stay outside this gate.
|
|
64
|
+
* and recovery period. Older Mythos rows and Sonnet 5 stay outside this gate.
|
|
65
65
|
*/
|
|
66
66
|
export type RecoverableRefusalFamily = ClaudeRefusalRecoveryFamily;
|
|
67
67
|
export declare function recoverableRefusalFamily(model: unknown): RecoverableRefusalFamily | null;
|