@young1lin/dsh-gpt-sub 0.1.1 → 0.1.3
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/CHANGELOG.md +26 -0
- package/README.md +48 -18
- package/client.js +383 -192
- package/cordis.patch.yml +1 -1
- package/lib/compaction-state.d.ts +22 -0
- package/lib/compaction-state.d.ts.map +1 -0
- package/lib/compaction-state.js +43 -0
- package/lib/compaction-state.js.map +1 -0
- package/lib/compaction.d.ts +20 -0
- package/lib/compaction.d.ts.map +1 -0
- package/lib/compaction.js +188 -0
- package/lib/compaction.js.map +1 -0
- package/lib/index.d.ts +3 -9
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +10 -9
- package/lib/index.js.map +1 -1
- package/lib/native-bridge.d.ts +87 -0
- package/lib/native-bridge.d.ts.map +1 -0
- package/lib/native-bridge.js +251 -0
- package/lib/native-bridge.js.map +1 -0
- package/lib/native-history.d.ts +70 -0
- package/lib/native-history.d.ts.map +1 -0
- package/lib/native-history.js +120 -0
- package/lib/native-history.js.map +1 -0
- package/lib/types.d.ts +6 -0
- package/lib/types.d.ts.map +1 -1
- package/package.json +40 -10
- package/src/compaction-state.ts +52 -0
- package/src/compaction.ts +188 -0
- package/src/index.ts +10 -9
- package/src/native-bridge.ts +288 -0
- package/src/native-history.ts +140 -0
- package/src/types.ts +6 -0
package/src/types.ts
CHANGED
|
@@ -14,4 +14,10 @@ export interface Config {
|
|
|
14
14
|
bootstrapRetries: number
|
|
15
15
|
/** Where the panel's runtime overrides (proxy, credential file) are persisted. */
|
|
16
16
|
stateFile: string
|
|
17
|
+
/** Total timeout for a native Codex compaction request. */
|
|
18
|
+
nativeCompactionTimeoutMs: number
|
|
19
|
+
/** Recent user-message budget retained alongside the encrypted summary. */
|
|
20
|
+
nativeRetainTokens: number
|
|
21
|
+
/** Maximum streamed bytes accepted from one native compaction response. */
|
|
22
|
+
nativeResponseMaxBytes: number
|
|
17
23
|
}
|