@slopus/happy-providers 0.0.31 → 0.0.32
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/VENDOR_ANTHROPIC_BEDROCK.md +12 -7
- package/VENDOR_CLAUDE.md +18 -16
- package/VENDOR_CODEX.md +8 -4
- package/dist/vendors/bedrock/impl/resolveAnthropicBedrockModelId.d.ts.map +1 -1
- package/dist/vendors/bedrock/impl/resolveAnthropicBedrockModelId.js +12 -1
- package/dist/vendors/bedrock/impl/resolveAnthropicBedrockModelId.js.map +1 -1
- package/dist/vendors/bedrock/impl/resolveBedrockModelId.d.ts.map +1 -1
- package/dist/vendors/bedrock/impl/resolveBedrockModelId.js +1 -0
- package/dist/vendors/bedrock/impl/resolveBedrockModelId.js.map +1 -1
- package/dist/vendors/claude/impl/claudeSessionAttachments.d.ts +1 -1
- package/dist/vendors/claude/impl/claudeSessionAttachments.d.ts.map +1 -1
- package/dist/vendors/claude/impl/claudeSessionAttachments.js +5 -0
- package/dist/vendors/claude/impl/claudeSessionAttachments.js.map +1 -1
- package/dist/vendors/claude/impl/resolveClaudeModelId.d.ts.map +1 -1
- package/dist/vendors/claude/impl/resolveClaudeModelId.js +1 -0
- package/dist/vendors/claude/impl/resolveClaudeModelId.js.map +1 -1
- package/dist/vendors/codex/impl/getCodexModelProperties.d.ts.map +1 -1
- package/dist/vendors/codex/impl/getCodexModelProperties.js +6 -0
- package/dist/vendors/codex/impl/getCodexModelProperties.js.map +1 -1
- package/package.json +10 -10
|
@@ -38,13 +38,14 @@ inference-profile ID directly when intentionally using an unlisted model.
|
|
|
38
38
|
Rig's Bedrock executor owns an ordered model/transport/region table. The first matching transport
|
|
39
39
|
wins:
|
|
40
40
|
|
|
41
|
-
| Model
|
|
42
|
-
|
|
|
43
|
-
| Claude Opus 5.5
|
|
44
|
-
| Claude
|
|
45
|
-
| Claude
|
|
46
|
-
| Claude
|
|
47
|
-
| Claude
|
|
41
|
+
| Model | Preferred Mantle regions | Runtime fallback |
|
|
42
|
+
| ----------------- | ------------------------------------------------------------------------- | -------------------------- |
|
|
43
|
+
| Claude Opus 5.5 | Model card lists Mantle; in-region availability not yet documented | Commercial Bedrock regions |
|
|
44
|
+
| Claude Sonnet 5.5 | `us-gov-west-1` only; Runtime is the default | Commercial Bedrock regions |
|
|
45
|
+
| Claude Fable 5.1 | None documented; Runtime is the default | Commercial Bedrock regions |
|
|
46
|
+
| Claude Sonnet 5 | `eu-north-1`, `eu-west-1`, `us-east-1` | Commercial Bedrock regions |
|
|
47
|
+
| Claude Fable 5 | `us-east-1` | Commercial Bedrock regions |
|
|
48
|
+
| Claude Opus 4.8 | `ap-northeast-1`, `eu-north-1`, `eu-west-1`, `us-east-1`, `us-gov-west-1` | Commercial Bedrock regions |
|
|
48
49
|
|
|
49
50
|
These Mantle lists are the intersection of the AWS Mantle endpoint regions and each model's
|
|
50
51
|
documented in-region availability. Runtime remains the fallback because it supports geographic
|
|
@@ -53,6 +54,10 @@ override can force one supported surface; pairing it with `endpoint` supports a
|
|
|
53
54
|
Fable 5.1 defaults to Runtime because AWS documents US and global inference profiles but no
|
|
54
55
|
in-region Mantle route. Opus 5.5 launched on both endpoints with the same us, eu, jp, au, and
|
|
55
56
|
global Runtime profiles as Opus 5; its Mantle ID is the bare `anthropic.claude-opus-5-5`.
|
|
57
|
+
Sonnet 5.5 also defaults to Runtime. AWS documents only its global profile,
|
|
58
|
+
`global.anthropic.claude-sonnet-5-5`, with no geo profiles, so every region resolves to that
|
|
59
|
+
profile. Its only in-region Mantle route is GovCloud West; the catalog hides a forced Mantle route
|
|
60
|
+
anywhere else, and a GovCloud deployment selects it with `transport = "mantle"`.
|
|
56
61
|
|
|
57
62
|
## Runtime ownership
|
|
58
63
|
|
package/VENDOR_CLAUDE.md
CHANGED
|
@@ -147,14 +147,15 @@ native compaction summary as the explicit result of `compact()`. Claude's SDK ma
|
|
|
147
147
|
completed-turn thinking out of the outgoing API request when required by the active model or
|
|
148
148
|
trajectory. That request-time projection does not change Rig's supplied session context.
|
|
149
149
|
|
|
150
|
-
The bundled SDK and platform binaries are pinned together at `0.3.
|
|
151
|
-
`2.1.
|
|
150
|
+
The bundled SDK and platform binaries are pinned together at `0.3.284` (Claude Code
|
|
151
|
+
`2.1.284`), the first version that lists Sonnet 5.5. Unlike the older SDK used for the original
|
|
152
152
|
provider capture, SDK 0.3.251 and later retain signed thinking when reconstructing a session,
|
|
153
153
|
including model switches and compaction requests. The recreation test compares the complete
|
|
154
154
|
cache prefix, reasoning included. The original golden capture remains unchanged; its test
|
|
155
|
-
explicitly expects the retained thinking block on the two reconstructed requests
|
|
156
|
-
first-prompt attachment message described below, and
|
|
157
|
-
|
|
155
|
+
explicitly expects the retained thinking block on the two reconstructed requests and the
|
|
156
|
+
first-prompt attachment message described below, and still compares every other field exactly.
|
|
157
|
+
Claude Code 2.1.280 also appended a trailing newline and a continuation block to a replayed
|
|
158
|
+
native compaction summary; 2.1.284 sends that summary exactly as captured again.
|
|
158
159
|
|
|
159
160
|
### First-prompt attachments
|
|
160
161
|
|
|
@@ -163,10 +164,10 @@ first prompt of a session it records four transcript attachments, an environment
|
|
|
163
164
|
(working directory, git repository and worktree flags, platform, shell, OS version), the model
|
|
164
165
|
identity (wire ID, marketing name, knowledge cutoff), an empty session context, and the calendar
|
|
165
166
|
date, and renders them as one `system`-role message placed directly after the first user turn.
|
|
166
|
-
The first cache breakpoint sits on that message. The rendering is model-dependent:
|
|
167
|
-
|
|
168
|
-
attachment. The gate is on for every
|
|
169
|
-
environment switch for first-party accounts.
|
|
167
|
+
The first cache breakpoint sits on that message. The rendering is model-dependent: models on the
|
|
168
|
+
CLI's lean prompt (Opus 4.8 onward, Fable, and Sonnet 5.5) receive one merged plain-text block,
|
|
169
|
+
while Sonnet 5 receives one `<system-reminder>` per attachment. The gate is on for every
|
|
170
|
+
first-party model from Opus 4.8 onward and has no environment switch for first-party accounts.
|
|
170
171
|
|
|
171
172
|
On resume the CLI renders whatever attachments the transcript holds in that same position and
|
|
172
173
|
appends an update at the end only when a stored value differs from what it computes now. A
|
|
@@ -192,13 +193,14 @@ selected model. The real provider trace switches from Opus to Sonnet and verifie
|
|
|
192
193
|
selected prompt and stable caller-owned tools on the wire.
|
|
193
194
|
|
|
194
195
|
Curated million-token Claude models explicitly select the SDK's `[1m]` suffix, including
|
|
195
|
-
Fable 5.1 and
|
|
196
|
-
exact model in its local context catalog. Without the suffix its continuation guard
|
|
197
|
-
so a successful response reporting 235k tokens made the next request fail locally
|
|
198
|
-
400k compaction threshold. Native `/compact` bypasses that ordinary inference guard;
|
|
199
|
-
compaction succeeding does not prove the continuation limit is configured correctly. The
|
|
200
|
-
also feeds the model identity the CLI renders: models in its 1M-suffix set, such as Opus
|
|
201
|
-
are named "Opus 5.5 (1M context)", while Sonnet 5 and Fable stay unsuffixed in
|
|
196
|
+
Fable 5.1, Opus 5.5, and Sonnet 5.5. SDK 2.1.251 accepted `claude-fable-5-1` on the wire without
|
|
197
|
+
having that exact model in its local context catalog. Without the suffix its continuation guard
|
|
198
|
+
assumed 200k, so a successful response reporting 235k tokens made the next request fail locally
|
|
199
|
+
before Rig's 400k compaction threshold. Native `/compact` bypasses that ordinary inference guard;
|
|
200
|
+
manual compaction succeeding does not prove the continuation limit is configured correctly. The
|
|
201
|
+
suffix also feeds the model identity the CLI renders: models in its 1M-suffix set, such as Opus
|
|
202
|
+
5.5, are named "Opus 5.5 (1M context)", while Sonnet 5, Sonnet 5.5, and Fable stay unsuffixed in
|
|
203
|
+
the name.
|
|
202
204
|
|
|
203
205
|
SDK results with `subtype: "success"` can still carry `is_error: true`. Their result text is
|
|
204
206
|
an error diagnostic, never an assistant answer. Emit only the terminal failure for these
|
package/VENDOR_CODEX.md
CHANGED
|
@@ -91,6 +91,8 @@ The reviewed model contracts are:
|
|
|
91
91
|
- `gpt-5.5`: ordinary Responses request shape, compaction hash `2911`, default medium effort;
|
|
92
92
|
- `gpt-6-astra`: Responses Lite by default and ordinary Responses for parallel tool calls,
|
|
93
93
|
compaction hash `3000`, default low effort, and API efforts low through max;
|
|
94
|
+
- `gpt-6.1-sol`: same contract as Astra with default low effort, as Codex's `models.json` lists
|
|
95
|
+
it; not served by Bedrock, which documents no GPT-6.1 model, and not yet verified live;
|
|
94
96
|
- `gpt-6-sol`: same contract as Astra with default low effort; live tool-less inference verified
|
|
95
97
|
over SSE and WebSocket with a ChatGPT login, not yet checked against vendor metadata;
|
|
96
98
|
- `gpt-6-luna`: same contract as Astra with default medium effort; live tool-less inference
|
|
@@ -98,10 +100,12 @@ The reviewed model contracts are:
|
|
|
98
100
|
- `gpt-5.6-sol`: Responses Lite shape, compaction hash `3000`, default low effort;
|
|
99
101
|
- `gpt-5.6-terra`: Responses Lite shape, compaction hash `3000`, default medium effort;
|
|
100
102
|
- `gpt-5.6-luna`: Responses Lite shape, compaction hash `3000`, default medium effort;
|
|
101
|
-
- Bedrock Mantle model names use the `openai.` prefix.
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
103
|
+
- Bedrock Mantle model names use the `openai.` prefix. AWS serves the GPT-6 family on Mantle only
|
|
104
|
+
in single regions (Sol and Luna in `us-east-1`, Astra in `us-west-2`), so Rig routes Astra, Sol,
|
|
105
|
+
and Luna by default through the regional Bedrock Runtime OpenAI endpoint as
|
|
106
|
+
`global.openai.gpt-6-astra`, `global.openai.gpt-6-sol`, and `global.openai.gpt-6-luna`, which
|
|
107
|
+
works from any region; `bedrockTransport: "mantle"` selects Mantle instead. Both Bedrock routes
|
|
108
|
+
inherit the 5.5-style request and compaction contract.
|
|
105
109
|
|
|
106
110
|
Astra's active Codex context is 272,000 tokens and its automatic compaction threshold is 244,800.
|
|
107
111
|
Codex metadata also advertises an opt-in 872,000-token ceiling; Rig does not currently expose that
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolveAnthropicBedrockModelId.d.ts","sourceRoot":"","sources":["../../../../sources/vendors/bedrock/impl/resolveAnthropicBedrockModelId.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,gDAAgD,CAAC;AAEhG,wBAAgB,8BAA8B,CAC1C,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM,EACd,SAAS,GAAE,yBAAqC,GACjD,MAAM,
|
|
1
|
+
{"version":3,"file":"resolveAnthropicBedrockModelId.d.ts","sourceRoot":"","sources":["../../../../sources/vendors/bedrock/impl/resolveAnthropicBedrockModelId.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,gDAAgD,CAAC;AAEhG,wBAAgB,8BAA8B,CAC1C,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM,EACd,SAAS,GAAE,yBAAqC,GACjD,MAAM,CAiDR"}
|
|
@@ -3,7 +3,15 @@ export function resolveAnthropicBedrockModelId(model, region, transport = "runti
|
|
|
3
3
|
return model;
|
|
4
4
|
const modelName = model.slice("anthropic/".length);
|
|
5
5
|
const base = `anthropic.claude-${modelName}`;
|
|
6
|
-
if (![
|
|
6
|
+
if (![
|
|
7
|
+
"fable-5-1",
|
|
8
|
+
"fable-5",
|
|
9
|
+
"opus-5-5",
|
|
10
|
+
"opus-5",
|
|
11
|
+
"opus-4-8",
|
|
12
|
+
"sonnet-5-5",
|
|
13
|
+
"sonnet-5",
|
|
14
|
+
].includes(modelName)) {
|
|
7
15
|
throw new Error(`Anthropic model "${model}" is not available through Rig's Bedrock catalog. Pass a Bedrock model or inference-profile ID directly to use an unlisted model.`);
|
|
8
16
|
}
|
|
9
17
|
if (transport === "mantle")
|
|
@@ -11,6 +19,9 @@ export function resolveAnthropicBedrockModelId(model, region, transport = "runti
|
|
|
11
19
|
if (modelName === "fable-5-1") {
|
|
12
20
|
return region.startsWith("us-") ? `us.${base}` : `global.${base}`;
|
|
13
21
|
}
|
|
22
|
+
// AWS documents only the global profile for Sonnet 5.5; it has no geo profiles.
|
|
23
|
+
if (modelName === "sonnet-5-5")
|
|
24
|
+
return `global.${base}`;
|
|
14
25
|
// AWS offers Opus 5.5 through the same five geo profiles as Opus 5: us, eu, jp, au, global.
|
|
15
26
|
if (modelName === "opus-5-5" || modelName === "opus-5" || modelName === "opus-4-8") {
|
|
16
27
|
if (region === "ap-northeast-1" || region === "ap-northeast-3") {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolveAnthropicBedrockModelId.js","sourceRoot":"","sources":["../../../../sources/vendors/bedrock/impl/resolveAnthropicBedrockModelId.ts"],"names":[],"mappings":"AAEA,MAAM,UAAU,8BAA8B,CAC1C,KAAa,EACb,MAAc,EACd,SAAS,GAA8B,SAAS;IAEhD,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,YAAY,CAAC;QAAE,OAAO,KAAK,CAAC;IAClD,MAAM,SAAS,GAAG,KAAK,CAAC,KAAK,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC;IACnD,MAAM,IAAI,GAAG,oBAAoB,SAAS,EAAE,CAAC;IAC7C,IACI,CAAC,
|
|
1
|
+
{"version":3,"file":"resolveAnthropicBedrockModelId.js","sourceRoot":"","sources":["../../../../sources/vendors/bedrock/impl/resolveAnthropicBedrockModelId.ts"],"names":[],"mappings":"AAEA,MAAM,UAAU,8BAA8B,CAC1C,KAAa,EACb,MAAc,EACd,SAAS,GAA8B,SAAS;IAEhD,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,YAAY,CAAC;QAAE,OAAO,KAAK,CAAC;IAClD,MAAM,SAAS,GAAG,KAAK,CAAC,KAAK,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC;IACnD,MAAM,IAAI,GAAG,oBAAoB,SAAS,EAAE,CAAC;IAC7C,IACI,CAAC;QACG,WAAW;QACX,SAAS;QACT,UAAU;QACV,QAAQ;QACR,UAAU;QACV,YAAY;QACZ,UAAU;KACb,CAAC,QAAQ,CAAC,SAAS,CAAC,EACvB,CAAC;QACC,MAAM,IAAI,KAAK,CACX,oBAAoB,KAAK,mIAAmI,CAC/J,CAAC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IAAI,EAAE,CAAC;QACxB,CAAC;QACD,IAAI,MAAM,CAAC,UAAU,CAAC,KAAK,CAAC;YAAE,OAAO,MAAM,IAAI,EAAE,CAAC;QAClD,IAAI,MAAM,CAAC,UAAU,CAAC,KAAK,CAAC;YAAE,OAAO,MAAM,IAAI,EAAE,CAAC;QAClD,OAAO,UAAU,IAAI,EAAE,CAAC;IAC5B,CAAC;IACD,OAAO,IAAI,CAAC;AAChB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolveBedrockModelId.d.ts","sourceRoot":"","sources":["../../../../sources/vendors/bedrock/impl/resolveBedrockModelId.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"resolveBedrockModelId.d.ts","sourceRoot":"","sources":["../../../../sources/vendors/bedrock/impl/resolveBedrockModelId.ts"],"names":[],"mappings":"AAiBA,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAE7D"}
|
|
@@ -4,6 +4,7 @@ const BEDROCK_MODEL_IDS = {
|
|
|
4
4
|
"anthropic/opus-5-5": "anthropic.claude-opus-5-5",
|
|
5
5
|
"anthropic/opus-5": "anthropic.claude-opus-5",
|
|
6
6
|
"anthropic/opus-4-8": "anthropic.claude-opus-4-8",
|
|
7
|
+
"anthropic/sonnet-5-5": "anthropic.claude-sonnet-5-5",
|
|
7
8
|
"anthropic/sonnet-5": "anthropic.claude-sonnet-5",
|
|
8
9
|
"openai/gpt-5.4": "openai.gpt-5.4",
|
|
9
10
|
"openai/gpt-6-astra": "openai.gpt-6-astra",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolveBedrockModelId.js","sourceRoot":"","sources":["../../../../sources/vendors/bedrock/impl/resolveBedrockModelId.ts"],"names":[],"mappings":"AAAA,MAAM,iBAAiB,GAAqC;IACxD,qBAAqB,EAAE,4BAA4B;IACnD,mBAAmB,EAAE,0BAA0B;IAC/C,oBAAoB,EAAE,2BAA2B;IACjD,kBAAkB,EAAE,yBAAyB;IAC7C,oBAAoB,EAAE,2BAA2B;IACjD,oBAAoB,EAAE,2BAA2B;IACjD,gBAAgB,EAAE,gBAAgB;IAClC,oBAAoB,EAAE,oBAAoB;IAC1C,kBAAkB,EAAE,kBAAkB;IACtC,mBAAmB,EAAE,mBAAmB;IACxC,qBAAqB,EAAE,qBAAqB;IAC5C,oBAAoB,EAAE,oBAAoB;IAC1C,sBAAsB,EAAE,sBAAsB;CACjD,CAAC;AAEF,MAAM,UAAU,qBAAqB,CAAC,OAAe;IACjD,OAAO,iBAAiB,CAAC,OAAO,CAAC,IAAI,OAAO,CAAC;AACjD,CAAC"}
|
|
1
|
+
{"version":3,"file":"resolveBedrockModelId.js","sourceRoot":"","sources":["../../../../sources/vendors/bedrock/impl/resolveBedrockModelId.ts"],"names":[],"mappings":"AAAA,MAAM,iBAAiB,GAAqC;IACxD,qBAAqB,EAAE,4BAA4B;IACnD,mBAAmB,EAAE,0BAA0B;IAC/C,oBAAoB,EAAE,2BAA2B;IACjD,kBAAkB,EAAE,yBAAyB;IAC7C,oBAAoB,EAAE,2BAA2B;IACjD,sBAAsB,EAAE,6BAA6B;IACrD,oBAAoB,EAAE,2BAA2B;IACjD,gBAAgB,EAAE,gBAAgB;IAClC,oBAAoB,EAAE,oBAAoB;IAC1C,kBAAkB,EAAE,kBAAkB;IACtC,mBAAmB,EAAE,mBAAmB;IACxC,qBAAqB,EAAE,qBAAqB;IAC5C,oBAAoB,EAAE,oBAAoB;IAC1C,sBAAsB,EAAE,sBAAsB;CACjD,CAAC;AAEF,MAAM,UAAU,qBAAqB,CAAC,OAAe;IACjD,OAAO,iBAAiB,CAAC,OAAO,CAAC,IAAI,OAAO,CAAC;AACjD,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The attachments Claude Code 2.1.280
|
|
2
|
+
* The attachments Claude Code 2.1.280 and later record after the first prompt of a session.
|
|
3
3
|
*
|
|
4
4
|
* On its first prompt the CLI persists an environment snapshot, the model identity, an empty
|
|
5
5
|
* session context, and the calendar date, and it renders them into one system message placed
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"claudeSessionAttachments.d.ts","sourceRoot":"","sources":["../../../../sources/vendors/claude/impl/claudeSessionAttachments.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;GAUG;AACH,MAAM,MAAM,uBAAuB,GAC7B;IACI,IAAI,EAAE,aAAa,CAAC;IACpB,QAAQ,EAAE;QACN,gBAAgB,EAAE,MAAM,CAAC;QACzB,UAAU,EAAE,OAAO,CAAC;QACpB,SAAS,EAAE,OAAO,CAAC;QACnB,4BAA4B,EAAE,MAAM,EAAE,CAAC;QACvC,QAAQ,EAAE,MAAM,CAAC;QACjB,KAAK,EAAE,MAAM,CAAC;QACd,SAAS,EAAE,MAAM,CAAC;KACrB,CAAC;CACL,GACD;IACI,IAAI,EAAE,OAAO,CAAC;IACd,QAAQ,EAAE;QACN,OAAO,EAAE,MAAM,CAAC;QAChB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;QAC7B,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;KAClC,CAAC;IACF,IAAI,EAAE,MAAM,CAAC;CAChB,GACD;IAAE,IAAI,EAAE,iBAAiB,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAA;CAAE,GAC3D;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"claudeSessionAttachments.d.ts","sourceRoot":"","sources":["../../../../sources/vendors/claude/impl/claudeSessionAttachments.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;GAUG;AACH,MAAM,MAAM,uBAAuB,GAC7B;IACI,IAAI,EAAE,aAAa,CAAC;IACpB,QAAQ,EAAE;QACN,gBAAgB,EAAE,MAAM,CAAC;QACzB,UAAU,EAAE,OAAO,CAAC;QACpB,SAAS,EAAE,OAAO,CAAC;QACnB,4BAA4B,EAAE,MAAM,EAAE,CAAC;QACvC,QAAQ,EAAE,MAAM,CAAC;QACjB,KAAK,EAAE,MAAM,CAAC;QACd,SAAS,EAAE,MAAM,CAAC;KACrB,CAAC;CACL,GACD;IACI,IAAI,EAAE,OAAO,CAAC;IACd,QAAQ,EAAE;QACN,OAAO,EAAE,MAAM,CAAC;QAChB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;QAC7B,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;KAClC,CAAC;IACF,IAAI,EAAE,MAAM,CAAC;CAChB,GACD;IAAE,IAAI,EAAE,iBAAiB,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAA;CAAE,GAC3D;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC;AAuCrC,wBAAgB,wBAAwB,CAAC,OAAO,EAAE;IAC9C,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC,UAAU,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,CAAC,EAAE,IAAI,CAAC;CACd,GAAG,uBAAuB,EAAE,CAuB5B;AAED,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,MAAM,GAAG;IAChD,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;CAClC,CAaA"}
|
|
@@ -24,6 +24,11 @@ const CLAUDE_MODEL_IDENTITIES = {
|
|
|
24
24
|
knowledgeCutoff: "January 2026",
|
|
25
25
|
oneMillionSuffix: true,
|
|
26
26
|
},
|
|
27
|
+
"claude-sonnet-5-5": {
|
|
28
|
+
displayName: "Sonnet 5.5",
|
|
29
|
+
knowledgeCutoff: "June 2026",
|
|
30
|
+
oneMillionSuffix: false,
|
|
31
|
+
},
|
|
27
32
|
"claude-sonnet-5": {
|
|
28
33
|
displayName: "Sonnet 5",
|
|
29
34
|
knowledgeCutoff: "January 2026",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"claudeSessionAttachments.js","sourceRoot":"","sources":["../../../../sources/vendors/claude/impl/claudeSessionAttachments.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,IAAI,IAAI,MAAM,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,SAAS,CAAC;AACxE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAsC1C,4FAA4F;AAC5F,MAAM,uBAAuB,GAEzB;IACA,kBAAkB,EAAE;QAChB,WAAW,EAAE,WAAW;QACxB,eAAe,EAAE,WAAW;QAC5B,gBAAgB,EAAE,KAAK;KAC1B;IACD,gBAAgB,EAAE;QACd,WAAW,EAAE,SAAS;QACtB,eAAe,EAAE,cAAc;QAC/B,gBAAgB,EAAE,KAAK;KAC1B;IACD,iBAAiB,EAAE;QACf,WAAW,EAAE,UAAU;QACvB,eAAe,EAAE,WAAW;QAC5B,gBAAgB,EAAE,IAAI;KACzB;IACD,eAAe,EAAE,EAAE,WAAW,EAAE,QAAQ,EAAE,eAAe,EAAE,UAAU,EAAE,gBAAgB,EAAE,IAAI,EAAE;IAC/F,iBAAiB,EAAE;QACf,WAAW,EAAE,UAAU;QACvB,eAAe,EAAE,cAAc;QAC/B,gBAAgB,EAAE,IAAI;KACzB;IACD,iBAAiB,EAAE;QACf,WAAW,EAAE,UAAU;QACvB,eAAe,EAAE,cAAc;QAC/B,gBAAgB,EAAE,KAAK;KAC1B;CACJ,CAAC;AAEF,MAAM,UAAU,wBAAwB,CAAC,OAKxC;IACG,MAAM,GAAG,GAAG,mBAAmB,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IAC7C,MAAM,QAAQ,GAAG,mBAAmB,CAAC,OAAO,CAAC,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IAAI,KAAK,CAAC,WAAW,EAAE;gBAAE,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,CAAC;YACvE,IAAI,KAAK,CAAC,MAAM,EAAE;gBAAE,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC;QACrE,CAAC;QAAC,MAAM,CAAC;YACL,mCAAmC;QACvC,CAAC;QACD,MAAM,MAAM,GAAG,OAAO,CAAC,SAAS,CAAC,CAAC;QAClC,IAAI,MAAM,KAAK,SAAS;YAAE,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,CAAC;QACzE,SAAS,GAAG,MAAM,CAAC;IACvB,CAAC;AACL,CAAC;AAED,SAAS,YAAY,CAAC,GAAS;IAC3B,MAAM,KAAK,GAAG,MAAM,CAAC,GAAG,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC;IAC1D,MAAM,GAAG,GAAG,MAAM,CAAC,GAAG,CAAC,OAAO,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC;IACnD,OAAO,GAAG,GAAG,CAAC,WAAW,EAAE,IAAI,KAAK,IAAI,GAAG,EAAE,CAAC;AAClD,CAAC"}
|
|
1
|
+
{"version":3,"file":"claudeSessionAttachments.js","sourceRoot":"","sources":["../../../../sources/vendors/claude/impl/claudeSessionAttachments.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,IAAI,IAAI,MAAM,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,SAAS,CAAC;AACxE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAsC1C,4FAA4F;AAC5F,MAAM,uBAAuB,GAEzB;IACA,kBAAkB,EAAE;QAChB,WAAW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AAK,EAAE,UAAU,EAAE,KAAK,EAAE,CAAC;QACzE,SAAS,GAAG,MAAM,CAAC;IACvB,CAAC;AACL,CAAC;AAED,SAAS,YAAY,CAAC,GAAS;IAC3B,MAAM,KAAK,GAAG,MAAM,CAAC,GAAG,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC;IAC1D,MAAM,GAAG,GAAG,MAAM,CAAC,GAAG,CAAC,OAAO,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC;IACnD,OAAO,GAAG,GAAG,CAAC,WAAW,EAAE,IAAI,KAAK,IAAI,GAAG,EAAE,CAAC;AAClD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolveClaudeModelId.d.ts","sourceRoot":"","sources":["../../../../sources/vendors/claude/impl/resolveClaudeModelId.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"resolveClaudeModelId.d.ts","sourceRoot":"","sources":["../../../../sources/vendors/claude/impl/resolveClaudeModelId.ts"],"names":[],"mappings":"AAUA,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAE5D"}
|
|
@@ -4,6 +4,7 @@ const CLAUDE_MODEL_IDS = {
|
|
|
4
4
|
"anthropic/opus-5-5": "claude-opus-5-5[1m]",
|
|
5
5
|
"anthropic/opus-5": "claude-opus-5[1m]",
|
|
6
6
|
"anthropic/opus-4-8": "claude-opus-4-8[1m]",
|
|
7
|
+
"anthropic/sonnet-5-5": "claude-sonnet-5-5[1m]",
|
|
7
8
|
"anthropic/sonnet-5": "claude-sonnet-5[1m]",
|
|
8
9
|
};
|
|
9
10
|
export function resolveClaudeModelId(modelId) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolveClaudeModelId.js","sourceRoot":"","sources":["../../../../sources/vendors/claude/impl/resolveClaudeModelId.ts"],"names":[],"mappings":"AAAA,MAAM,gBAAgB,GAAqC;IACvD,qBAAqB,EAAE,sBAAsB;IAC7C,mBAAmB,EAAE,oBAAoB;IACzC,oBAAoB,EAAE,qBAAqB;IAC3C,kBAAkB,EAAE,mBAAmB;IACvC,oBAAoB,EAAE,qBAAqB;IAC3C,oBAAoB,EAAE,qBAAqB;CAC9C,CAAC;AAEF,MAAM,UAAU,oBAAoB,CAAC,OAAe;IAChD,OAAO,gBAAgB,CAAC,OAAO,CAAC,IAAI,OAAO,CAAC;AAChD,CAAC"}
|
|
1
|
+
{"version":3,"file":"resolveClaudeModelId.js","sourceRoot":"","sources":["../../../../sources/vendors/claude/impl/resolveClaudeModelId.ts"],"names":[],"mappings":"AAAA,MAAM,gBAAgB,GAAqC;IACvD,qBAAqB,EAAE,sBAAsB;IAC7C,mBAAmB,EAAE,oBAAoB;IACzC,oBAAoB,EAAE,qBAAqB;IAC3C,kBAAkB,EAAE,mBAAmB;IACvC,oBAAoB,EAAE,qBAAqB;IAC3C,sBAAsB,EAAE,uBAAuB;IAC/C,oBAAoB,EAAE,qBAAqB;CAC9C,CAAC;AAEF,MAAM,UAAU,oBAAoB,CAAC,OAAe;IAChD,OAAO,gBAAgB,CAAC,OAAO,CAAC,IAAI,OAAO,CAAC;AAChD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getCodexModelProperties.d.ts","sourceRoot":"","sources":["../../../../sources/vendors/codex/impl/getCodexModelProperties.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAE1E,MAAM,WAAW,oBAAoB;IACjC,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAChC,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,aAAa,EAAE,sBAAsB,CAAC;IAC/C,QAAQ,CAAC,aAAa,EAAE,OAAO,CAAC;CACnC;
|
|
1
|
+
{"version":3,"file":"getCodexModelProperties.d.ts","sourceRoot":"","sources":["../../../../sources/vendors/codex/impl/getCodexModelProperties.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAE1E,MAAM,WAAW,oBAAoB;IACjC,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAChC,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,aAAa,EAAE,sBAAsB,CAAC;IAC/C,QAAQ,CAAC,aAAa,EAAE,OAAO,CAAC;CACnC;AAiED,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,MAAM,GAAG,oBAAoB,GAAG,SAAS,CAUvF"}
|
|
@@ -17,6 +17,12 @@ const MODEL_PROPERTIES = {
|
|
|
17
17
|
defaultEffort: "medium",
|
|
18
18
|
responsesLite: false,
|
|
19
19
|
},
|
|
20
|
+
"gpt-6.1-sol": {
|
|
21
|
+
compactionHash: "3000",
|
|
22
|
+
contextWindow: 272_000,
|
|
23
|
+
defaultEffort: "low",
|
|
24
|
+
responsesLite: true,
|
|
25
|
+
},
|
|
20
26
|
"gpt-6-astra": {
|
|
21
27
|
compactionHash: "3000",
|
|
22
28
|
contextWindow: 272_000,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getCodexModelProperties.js","sourceRoot":"","sources":["../../../../sources/vendors/codex/impl/getCodexModelProperties.ts"],"names":[],"mappings":"AASA,MAAM,gBAAgB,GAAmD;IACrE,mBAAmB,EAAE;QACjB,cAAc,EAAE,MAAM;QACtB,aAAa,EAAE,OAAO;QACtB,aAAa,EAAE,KAAK;QACpB,aAAa,EAAE,KAAK;KACvB;IACD,SAAS,EAAE;QACP,cAAc,EAAE,MAAM;QACtB,aAAa,EAAE,OAAO;QACtB,aAAa,EAAE,QAAQ;QACvB,aAAa,EAAE,KAAK;KACvB;IACD,SAAS,EAAE;QACP,cAAc,EAAE,MAAM;QACtB,aAAa,EAAE,OAAO;QACtB,aAAa,EA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,aAAa,EAAE,IAAI;KACtB;CACJ,CAAC;AAEF,MAAM,UAAU,uBAAuB,CAAC,KAAa;IACjD,MAAM,OAAO,GAAG,gCAAgC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IAC7D,MAAM,UAAU,GAAG,gBAAgB,CAAC,KAAK,CAAC,OAAO,CAAC,gCAAgC,EAAE,EAAE,CAAC,CAAC,CAAC;IACzF,IAAI,CAAC,OAAO,IAAI,UAAU,KAAK,SAAS;QAAE,OAAO,UAAU,CAAC;IAC5D,OAAO;QACH,GAAG,UAAU;QACb,8EAA8E;QAC9E,cAAc,EAAE,MAAM;QACtB,aAAa,EAAE,KAAK;KACvB,CAAC;AACN,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@slopus/happy-providers",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.32",
|
|
4
4
|
"description": "Stateful Node.js sessions for Codex, Claude, Grok, Bedrock, and Responses-compatible model providers.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ai",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@anthropic-ai/bedrock-sdk": "0.32.0",
|
|
42
|
-
"@anthropic-ai/claude-agent-sdk": "0.3.
|
|
42
|
+
"@anthropic-ai/claude-agent-sdk": "0.3.284",
|
|
43
43
|
"@anthropic-ai/sdk": "0.110.0",
|
|
44
44
|
"@aws-sdk/credential-provider-node": "3.972.71",
|
|
45
45
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
@@ -60,14 +60,14 @@
|
|
|
60
60
|
"vitest": "^3.2.4"
|
|
61
61
|
},
|
|
62
62
|
"optionalDependencies": {
|
|
63
|
-
"@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.3.
|
|
64
|
-
"@anthropic-ai/claude-agent-sdk-darwin-x64": "0.3.
|
|
65
|
-
"@anthropic-ai/claude-agent-sdk-linux-arm64": "0.3.
|
|
66
|
-
"@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.3.
|
|
67
|
-
"@anthropic-ai/claude-agent-sdk-linux-x64": "0.3.
|
|
68
|
-
"@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.3.
|
|
69
|
-
"@anthropic-ai/claude-agent-sdk-win32-arm64": "0.3.
|
|
70
|
-
"@anthropic-ai/claude-agent-sdk-win32-x64": "0.3.
|
|
63
|
+
"@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.3.284",
|
|
64
|
+
"@anthropic-ai/claude-agent-sdk-darwin-x64": "0.3.284",
|
|
65
|
+
"@anthropic-ai/claude-agent-sdk-linux-arm64": "0.3.284",
|
|
66
|
+
"@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.3.284",
|
|
67
|
+
"@anthropic-ai/claude-agent-sdk-linux-x64": "0.3.284",
|
|
68
|
+
"@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.3.284",
|
|
69
|
+
"@anthropic-ai/claude-agent-sdk-win32-arm64": "0.3.284",
|
|
70
|
+
"@anthropic-ai/claude-agent-sdk-win32-x64": "0.3.284"
|
|
71
71
|
},
|
|
72
72
|
"engines": {
|
|
73
73
|
"bun": ">=1.4.0",
|