@slopus/happy-providers 0.0.20 → 0.0.21
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_CLAUDE.md
CHANGED
|
@@ -147,6 +147,14 @@ 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.251` (Claude Code
|
|
151
|
+
`2.1.251`), the minimum version required by Fable 5.1. Unlike the older SDK used for the
|
|
152
|
+
original provider capture, this version retains signed thinking when reconstructing a session,
|
|
153
|
+
including model switches and compaction requests. The recreation test compares the complete
|
|
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 and still
|
|
156
|
+
compares every other field exactly.
|
|
157
|
+
|
|
150
158
|
A run-level model overrides the active model and is retained for later turns and
|
|
151
159
|
compaction. Replay serializes historical assistant entries with the currently selected
|
|
152
160
|
model because the SDK entry type requires a model; the actual next request uses the
|
package/VENDOR_CODEX.md
CHANGED
|
@@ -16,6 +16,8 @@ The implementation is checked against:
|
|
|
16
16
|
- the vanilla Codex checkout at `~/Developer/coding-assistant-sources/codex`, reviewed at commit
|
|
17
17
|
`d4fcb2873bf23464cfacd804a31d46529db943b0`;
|
|
18
18
|
- real Codex CLI 0.145.0 SSE and WebSocket traffic under `tests/vendors/fixtures/`;
|
|
19
|
+
- the official GPT-6 Astra API documentation and merged Codex model metadata in
|
|
20
|
+
`openai/codex#42605`;
|
|
19
21
|
- real multi-turn captures containing two turns, native compaction, post-compaction inference,
|
|
20
22
|
a same-family Sol-to-Terra switch, and a 5.6-to-5.5 switch;
|
|
21
23
|
- literal prompt fragments under `sources/vendors/codex/prompts/`;
|
|
@@ -73,6 +75,7 @@ retry behavior, or compaction.
|
|
|
73
75
|
| Successful Bedrock inference and local compaction | Not live-verified |
|
|
74
76
|
| ChatGPT credential rotation after session creation | Deterministic auth-recovery test |
|
|
75
77
|
| Image input and image-bearing tool output | Request serialization tests |
|
|
78
|
+
| Astra Lite/full tools over SSE/WebSocket and all API efforts | Live provider probes |
|
|
76
79
|
|
|
77
80
|
## Models and configuration
|
|
78
81
|
|
|
@@ -85,12 +88,20 @@ shape, a 272,000-token compaction window, and no known compaction hash.
|
|
|
85
88
|
The reviewed model contracts are:
|
|
86
89
|
|
|
87
90
|
- `gpt-5.5`: ordinary Responses request shape, compaction hash `2911`, default medium effort;
|
|
91
|
+
- `gpt-6-astra`: Responses Lite by default and ordinary Responses for parallel tool calls,
|
|
92
|
+
compaction hash `3000`, default low effort, and API efforts low through max;
|
|
88
93
|
- `gpt-5.6-sol`: Responses Lite shape, compaction hash `3000`, default low effort;
|
|
89
94
|
- `gpt-5.6-terra`: Responses Lite shape, compaction hash `3000`, default medium effort;
|
|
90
95
|
- `gpt-5.6-luna`: Responses Lite shape, compaction hash `3000`, default medium effort;
|
|
91
96
|
- Bedrock model names use the `openai.` prefix and currently inherit the 5.5-style request and
|
|
92
97
|
compaction contract.
|
|
93
98
|
|
|
99
|
+
Astra's active Codex context is 272,000 tokens and its automatic compaction threshold is 244,800.
|
|
100
|
+
Codex metadata also advertises an opt-in 872,000-token ceiling; Rig does not currently expose that
|
|
101
|
+
separate extended-context setting. The public Astra API supports `low`, `medium`, `high`, `xhigh`,
|
|
102
|
+
and `max`. Codex also advertises an `ultra` UI preset that adds automatic delegation, but `ultra`
|
|
103
|
+
is not a public Astra API reasoning effort and is not part of the shared provider contract.
|
|
104
|
+
|
|
94
105
|
Sol and Terra share a prompt/tool configuration and can switch without the caller supplying a
|
|
95
106
|
second configuration. Luna and 5.5 have distinct configurations. A switch to either therefore
|
|
96
107
|
requires an explicit `modelConfigurations` entry at session creation.
|
|
@@ -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;AA+CD,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-astra": {
|
|
21
|
+
compactionHash: "3000",
|
|
22
|
+
contextWindow: 272_000,
|
|
23
|
+
defaultEffort: "low",
|
|
24
|
+
responsesLite: true,
|
|
25
|
+
},
|
|
20
26
|
"gpt-5.6-luna": {
|
|
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,EAAE,QAAQ;QACvB,aAAa,EAAE,KAAK;KACvB;IACD,cAAc,EAAE;QACZ,cAAc,EAAE,MAAM;QACtB,aAAa,EAAE,OAAO;QACtB,aAAa,EAAE,QAAQ;QACvB,aAAa,EAAE,IAAI;KACtB;IACD,aAAa,EAAE;QACX,cAAc,EAAE,MAAM;QACtB,aAAa,EAAE,OAAO;QACtB,aAAa,EAAE,QAAQ;QACvB,aAAa,EAAE,IAAI;KACtB;IACD,eAAe,EAAE;QACb,cAAc,EAAE,MAAM;QACtB,aAAa,EAAE,OAAO;QACtB,aAAa,EAAE,QAAQ;QACvB,aAAa,EAAE,IAAI;KACtB;CACJ,CAAC;AAEF,MAAM,UAAU,uBAAuB,CAAC,KAAa;IACjD,MAAM,OAAO,GAAG,KAAK,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC;IAC5C,MAAM,UAAU,GAAG,gBAAgB,CAAC,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,EAAE,CAAC,CAAC,CAAC;IACrE,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"}
|
|
1
|
+
{"version":3,"file":"getCodexModelProperties.js","sourceRoot":"","sources":["../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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.21",
|
|
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": "
|
|
42
|
+
"@anthropic-ai/claude-agent-sdk": "0.3.251",
|
|
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": "
|
|
64
|
-
"@anthropic-ai/claude-agent-sdk-darwin-x64": "
|
|
65
|
-
"@anthropic-ai/claude-agent-sdk-linux-arm64": "
|
|
66
|
-
"@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "
|
|
67
|
-
"@anthropic-ai/claude-agent-sdk-linux-x64": "
|
|
68
|
-
"@anthropic-ai/claude-agent-sdk-linux-x64-musl": "
|
|
69
|
-
"@anthropic-ai/claude-agent-sdk-win32-arm64": "
|
|
70
|
-
"@anthropic-ai/claude-agent-sdk-win32-x64": "
|
|
63
|
+
"@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.3.251",
|
|
64
|
+
"@anthropic-ai/claude-agent-sdk-darwin-x64": "0.3.251",
|
|
65
|
+
"@anthropic-ai/claude-agent-sdk-linux-arm64": "0.3.251",
|
|
66
|
+
"@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.3.251",
|
|
67
|
+
"@anthropic-ai/claude-agent-sdk-linux-x64": "0.3.251",
|
|
68
|
+
"@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.3.251",
|
|
69
|
+
"@anthropic-ai/claude-agent-sdk-win32-arm64": "0.3.251",
|
|
70
|
+
"@anthropic-ai/claude-agent-sdk-win32-x64": "0.3.251"
|
|
71
71
|
},
|
|
72
72
|
"engines": {
|
|
73
73
|
"bun": ">=1.4.0",
|