@continuedev/fetch 1.3.0 → 1.5.0
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 +69 -24
- package/dist/getAgentOptions.js +0 -2
- package/dist/getAgentOptions.test.js +0 -2
- package/package.json +1 -1
- package/src/getAgentOptions.test.ts +0 -2
- package/src/getAgentOptions.ts +0 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,32 +1,77 @@
|
|
|
1
|
-
# [1.
|
|
1
|
+
# [1.5.0](https://github.com/continuedev/continue/compare/@continuedev/fetch@1.4.0...@continuedev/fetch@1.5.0) (2025-10-21)
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
### Bug Fixes
|
|
5
5
|
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
6
|
+
* agents ([8fb46fe](https://github.com/continuedev/continue/commit/8fb46fe39275759a8b55254c89c0e1acb28e3a9e))
|
|
7
|
+
* broken api ([c45d19f](https://github.com/continuedev/continue/commit/c45d19f64f28ad8c1fcfcb6112526107d3b1ad6b))
|
|
8
|
+
* broken imports ([f4d35c2](https://github.com/continuedev/continue/commit/f4d35c29ce537e20ca5d59a99e5523e2f82763f8))
|
|
9
|
+
* catch invalid saved config file uri ([777b472](https://github.com/continuedev/continue/commit/777b472ff518768f089f293e0f7f4318b97ca64c))
|
|
10
|
+
* **cli:** agent injected blocks ignored ([#8361](https://github.com/continuedev/continue/issues/8361)) ([6098fbf](https://github.com/continuedev/continue/commit/6098fbf58567bd493cd483c86a75d7db5c7db79d))
|
|
11
|
+
* clicking on enter button not working after streaming ([#8255](https://github.com/continuedev/continue/issues/8255)) ([ae0af67](https://github.com/continuedev/continue/commit/ae0af67e1af2ecc33df3867c46ff89de166cd8cc))
|
|
12
|
+
* **cli:** exit after printing response when using -p ([5aa4537](https://github.com/continuedev/continue/commit/5aa4537ac35e86e2177c0a9e29c83357c0174a02))
|
|
13
|
+
* cn remote command ([2854b13](https://github.com/continuedev/continue/commit/2854b139cad9625d182df57ffdd2e6055471a8a6))
|
|
14
|
+
* config for agent api ([fff335e](https://github.com/continuedev/continue/commit/fff335e5bd80e019b08753f5b8a661bc8b96ec3e))
|
|
15
|
+
* cubic comments and injected block inputs unrolling ([cdf770a](https://github.com/continuedev/continue/commit/cdf770a1a4c6735fa525b949459fb62ef7cfe2ee))
|
|
16
|
+
* dependency array ([48a2517](https://github.com/continuedev/continue/commit/48a2517349a098aae206d184316425b819e9cca4))
|
|
17
|
+
* duplication ([2ba3ee3](https://github.com/continuedev/continue/commit/2ba3ee365a493ac2e5e3f450f92d5569fdab62e3))
|
|
18
|
+
* failing tests ([5adcf1e](https://github.com/continuedev/continue/commit/5adcf1e7c6b323410adc40d90fc647756e9ae267))
|
|
19
|
+
* github connection ([3c00349](https://github.com/continuedev/continue/commit/3c00349c2fe11b6da9f9bd5b4b818f337927f165))
|
|
20
|
+
* HOTFIX allow default config fallback for headless ([f6db75a](https://github.com/continuedev/continue/commit/f6db75a503c81fa213bad6dfa6c5dfe7e6d1d872))
|
|
21
|
+
* HOTFIX anthropic: strip thinking without signature and empty text parts ([#8329](https://github.com/continuedev/continue/issues/8329)) ([863ff62](https://github.com/continuedev/continue/commit/863ff62cdda98ff553c1c4749b8ee5422d42c005))
|
|
22
|
+
* icon ([ce88f9a](https://github.com/continuedev/continue/commit/ce88f9a7594bb6da7ad12876797db5e0b84cfba5))
|
|
23
|
+
* lint ([16a5c09](https://github.com/continuedev/continue/commit/16a5c0943045eea4e17307a1b61bfb5d52665f44))
|
|
24
|
+
* linting ([5e55466](https://github.com/continuedev/continue/commit/5e55466695222c3ba823b49109faf83d0de0c4b8))
|
|
25
|
+
* list agents request ([af99284](https://github.com/continuedev/continue/commit/af992849a43b69ea1c4af2b1f8f4eae4b70c0e11))
|
|
26
|
+
* load agents ([c2088f7](https://github.com/continuedev/continue/commit/c2088f76b969c83395399083b8da953d724bfb08))
|
|
27
|
+
* load default model if no models, only option in headless ([760d370](https://github.com/continuedev/continue/commit/760d370edff8ebd12b5e7625423d68639f2014f8))
|
|
28
|
+
* local agents ([8c0b215](https://github.com/continuedev/continue/commit/8c0b215faf0a5c92c4a7d7e106326b13b26b5d0c))
|
|
29
|
+
* missing org id ([ca9224a](https://github.com/continuedev/continue/commit/ca9224a26dc075896efd82ceeefef984116ced8c))
|
|
30
|
+
* normalization ([9c35910](https://github.com/continuedev/continue/commit/9c35910b6f79b0378f5190ad4464c2aba53cd6f3))
|
|
31
|
+
* normalization ([63ac02b](https://github.com/continuedev/continue/commit/63ac02ba95170bb135192e3808d0d7acfb420a69))
|
|
32
|
+
* normalize url ([aa66c8b](https://github.com/continuedev/continue/commit/aa66c8be06609c837a1e44b6c371003d559b3e19))
|
|
33
|
+
* open correct link ([a5de87a](https://github.com/continuedev/continue/commit/a5de87abe0d6986fb811eb5c2957dcfbe155c8a9))
|
|
34
|
+
* pass org id ([a476c1e](https://github.com/continuedev/continue/commit/a476c1ed7d717655f9bbaf8adb6dc1d40f1ab624))
|
|
35
|
+
* pass preprocessed args to core ([bf9a19a](https://github.com/continuedev/continue/commit/bf9a19ada539d4a2fc2665c7a87969fe7ae8035f))
|
|
36
|
+
* personal agents ([9306b95](https://github.com/continuedev/continue/commit/9306b95016dae8456cd4a645f7ff999503990c78))
|
|
37
|
+
* remove `keepAliveMsecs` from fetch agent ([#8378](https://github.com/continuedev/continue/issues/8378)) ([b72b261](https://github.com/continuedev/continue/commit/b72b2613767575062305387de5fe26171049761d))
|
|
38
|
+
* remove <think> blocks from chat title generation ([535c9bf](https://github.com/continuedev/continue/commit/535c9bf2bb923e28933281a8429bcf5cabafa5ec)), closes [#5689](https://github.com/continuedev/continue/issues/5689)
|
|
39
|
+
* replace inputs with secrets ([4f5449a](https://github.com/continuedev/continue/commit/4f5449adc1f81cc45251653a29ea4cf5a55d4377))
|
|
40
|
+
* repo edge case ([0e9dc13](https://github.com/continuedev/continue/commit/0e9dc1375f86af53a7be7f190cc5b1e30150e61c))
|
|
41
|
+
* repo url ([feb5f66](https://github.com/continuedev/continue/commit/feb5f66d2692d72858055a0d3b516bf6631a9c26))
|
|
42
|
+
* requests ([bddda36](https://github.com/continuedev/continue/commit/bddda3664443f975e8e26b68b9866382872da636))
|
|
43
|
+
* revert inputs to secrets option, always replace for injected blocks ([5b8e5d9](https://github.com/continuedev/continue/commit/5b8e5d962dccb870125c22eca4d93367dbfe6a28))
|
|
44
|
+
* saved uri exists logic for slugs ([73fd44f](https://github.com/continuedev/continue/commit/73fd44f7ff786f72e2700a32be4cc28868bd367c))
|
|
45
|
+
* specify agent ([01efdd1](https://github.com/continuedev/continue/commit/01efdd15a9c87ed7119d0878fea378e894141e3e))
|
|
46
|
+
* stashing ([83b4be1](https://github.com/continuedev/continue/commit/83b4be14227a2cbaad6e0512fc38d9aa20f9b903))
|
|
47
|
+
* switching branches ([01d2429](https://github.com/continuedev/continue/commit/01d2429c872a019b183577a0262cf26ffaa950cf))
|
|
48
|
+
* switching branches ([db3203a](https://github.com/continuedev/continue/commit/db3203a9cb8f051a04d8a5064ae65462a165988c))
|
|
49
|
+
* tests ([e52a225](https://github.com/continuedev/continue/commit/e52a225971c242087fb6291ad52776174f37edfd))
|
|
50
|
+
* tests with new default model ([9bec1f0](https://github.com/continuedev/continue/commit/9bec1f0a4accddac3689e1d899911f08bbe67bbe))
|
|
51
|
+
* timestamp fallback ([eab661e](https://github.com/continuedev/continue/commit/eab661e353c7a91104e280258a9da5d481b26822))
|
|
52
|
+
* tweak error message ([d97a1ae](https://github.com/continuedev/continue/commit/d97a1aed33c7c821c023f2a8118c9bca332fecb6))
|
|
53
|
+
* type errors ([ca18446](https://github.com/continuedev/continue/commit/ca184461e7cd811dd44cf3da8315cf070a1330b5))
|
|
54
|
+
* type errors ([cee03bf](https://github.com/continuedev/continue/commit/cee03bf46951e81dc2753510c9d52b328802b571))
|
|
55
|
+
* undo debugger ([015f365](https://github.com/continuedev/continue/commit/015f365e32d23b686d844a4740d975c6c35ad8bd))
|
|
56
|
+
* update branch filter regex to exclude cla-signatures branch ([#8320](https://github.com/continuedev/continue/issues/8320)) ([6dc36db](https://github.com/continuedev/continue/commit/6dc36dbd16910338692812517a9f56151e39bc45))
|
|
57
|
+
* update telemetry docs ([#8295](https://github.com/continuedev/continue/issues/8295)) ([5673ad1](https://github.com/continuedev/continue/commit/5673ad119cdc72e4dceecd15d628ca3725da047d))
|
|
58
|
+
* updating message text ([09760d6](https://github.com/continuedev/continue/commit/09760d65185cfa55042054d3a5590ac17b7157be))
|
|
59
|
+
* url ([66be965](https://github.com/continuedev/continue/commit/66be965c9ac88f952483e49de5591a4b2c493cba))
|
|
60
|
+
* urls ([ae25084](https://github.com/continuedev/continue/commit/ae25084c3cf1fccba57e585a99adf160480aa6b6))
|
|
61
|
+
* urls ([542efb8](https://github.com/continuedev/continue/commit/542efb8244f6d10976fd3d135b109e170d3b6eb7))
|
|
62
|
+
* urls ([7212a63](https://github.com/continuedev/continue/commit/7212a63cb44b83ad825e3b244cb0d3835e596e92))
|
|
63
|
+
* use 0600 permissions on config.yaml ([413c0bb](https://github.com/continuedev/continue/commit/413c0bb26c1aeecf58ec7e1de24ce3d657584073))
|
|
64
|
+
* use streamsse for streaming chat in gemini ([779b3e4](https://github.com/continuedev/continue/commit/779b3e4c1cede6845672381e4773b77097f203f6))
|
|
65
|
+
* vscode1.3.19jetbrains1.0.48 ([91206d8](https://github.com/continuedev/continue/commit/91206d853a9e863805d9bea70b92d4027dd1ffa3))
|
|
20
66
|
|
|
21
67
|
|
|
22
68
|
### Features
|
|
23
69
|
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
*
|
|
32
|
-
* only set activeKey for special keys that we care about to avoid rerenders ([364489c](https://github.com/continuedev/continue/commit/364489c57384f11c77c284323fdcc170be9af96e))
|
|
70
|
+
* Add preview panel to session selector (cn ls / /resume) ([#8231](https://github.com/continuedev/continue/issues/8231)) ([1c06790](https://github.com/continuedev/continue/commit/1c067901a915485a2c18779cf028994df411d458))
|
|
71
|
+
* background agent creation ([d9c16e4](https://github.com/continuedev/continue/commit/d9c16e41033030f7825970ce59c2b0aa08cd3775))
|
|
72
|
+
* background agents ([8717020](https://github.com/continuedev/continue/commit/87170203f5a6e24e61b37e4a382f8eca7b48dbe3))
|
|
73
|
+
* background agents ([2edcd6a](https://github.com/continuedev/continue/commit/2edcd6ae027f31b53e8f2b0d63e430e50b5a9430))
|
|
74
|
+
* full secrets parsing for all CLI flags ([2162446](https://github.com/continuedev/continue/commit/21624468633a60d42288d59b9e7a3b18d5a9b2f8))
|
|
75
|
+
* local takeover ([b5d5f87](https://github.com/continuedev/continue/commit/b5d5f87898bda34765763890b382a745f5c14e61))
|
|
76
|
+
* report cache write tokens from anthropic oai adapter ([#8210](https://github.com/continuedev/continue/issues/8210)) ([c297e44](https://github.com/continuedev/continue/commit/c297e443a7cf0d9d0f022af1875d401ea2b8d5c7))
|
|
77
|
+
* return fetch errors to agent ([4d74779](https://github.com/continuedev/continue/commit/4d747796e034d7d22873f55dba0a81a991930962))
|
package/dist/getAgentOptions.js
CHANGED
|
@@ -13,7 +13,6 @@ export async function getAgentOptions(requestOptions) {
|
|
|
13
13
|
timeout,
|
|
14
14
|
sessionTimeout: timeout,
|
|
15
15
|
keepAlive: true,
|
|
16
|
-
keepAliveMsecs: timeout,
|
|
17
16
|
};
|
|
18
17
|
// Handle ClientCertificateOptions
|
|
19
18
|
if (requestOptions?.clientCertificate) {
|
|
@@ -26,7 +25,6 @@ export async function getAgentOptions(requestOptions) {
|
|
|
26
25
|
}
|
|
27
26
|
if (process.env.VERBOSE_FETCH) {
|
|
28
27
|
console.log(`Fetch agent options:`);
|
|
29
|
-
console.log(`\tTimeout (sessionTimeout/keepAliveMsecs): ${agentOptions.timeout}`);
|
|
30
28
|
console.log(`\tTotal CA certs: ${ca.length}`);
|
|
31
29
|
console.log(`\tGlobal/Root CA certs: ${certsCache.fixedCa.length}`);
|
|
32
30
|
console.log(`\tCustom CA certs: ${ca.length - certsCache.fixedCa.length}`);
|
|
@@ -40,7 +40,6 @@ test("getAgentOptions returns basic configuration with default values", async ()
|
|
|
40
40
|
// Check default timeout (7200 seconds = 2 hours = 7,200,000 ms)
|
|
41
41
|
expect(options.timeout).toBe(7200000);
|
|
42
42
|
expect(options.sessionTimeout).toBe(7200000);
|
|
43
|
-
expect(options.keepAliveMsecs).toBe(7200000);
|
|
44
43
|
expect(options.keepAlive).toBe(true);
|
|
45
44
|
// Verify certificates array exists and contains items
|
|
46
45
|
expect(options.ca).toBeInstanceOf(Array);
|
|
@@ -55,7 +54,6 @@ test("getAgentOptions respects custom timeout", async () => {
|
|
|
55
54
|
// Check timeout values (300 seconds = 300,000 ms)
|
|
56
55
|
expect(options.timeout).toBe(300000);
|
|
57
56
|
expect(options.sessionTimeout).toBe(300000);
|
|
58
|
-
expect(options.keepAliveMsecs).toBe(300000);
|
|
59
57
|
});
|
|
60
58
|
test("getAgentOptions uses verifySsl setting", async () => {
|
|
61
59
|
// With verifySsl true
|
package/package.json
CHANGED
|
@@ -50,7 +50,6 @@ test("getAgentOptions returns basic configuration with default values", async ()
|
|
|
50
50
|
// Check default timeout (7200 seconds = 2 hours = 7,200,000 ms)
|
|
51
51
|
expect(options.timeout).toBe(7200000);
|
|
52
52
|
expect(options.sessionTimeout).toBe(7200000);
|
|
53
|
-
expect(options.keepAliveMsecs).toBe(7200000);
|
|
54
53
|
expect(options.keepAlive).toBe(true);
|
|
55
54
|
|
|
56
55
|
// Verify certificates array exists and contains items
|
|
@@ -71,7 +70,6 @@ test("getAgentOptions respects custom timeout", async () => {
|
|
|
71
70
|
// Check timeout values (300 seconds = 300,000 ms)
|
|
72
71
|
expect(options.timeout).toBe(300000);
|
|
73
72
|
expect(options.sessionTimeout).toBe(300000);
|
|
74
|
-
expect(options.keepAliveMsecs).toBe(300000);
|
|
75
73
|
});
|
|
76
74
|
|
|
77
75
|
test("getAgentOptions uses verifySsl setting", async () => {
|
package/src/getAgentOptions.ts
CHANGED
|
@@ -21,7 +21,6 @@ export async function getAgentOptions(
|
|
|
21
21
|
timeout,
|
|
22
22
|
sessionTimeout: timeout,
|
|
23
23
|
keepAlive: true,
|
|
24
|
-
keepAliveMsecs: timeout,
|
|
25
24
|
};
|
|
26
25
|
|
|
27
26
|
// Handle ClientCertificateOptions
|
|
@@ -38,9 +37,6 @@ export async function getAgentOptions(
|
|
|
38
37
|
|
|
39
38
|
if (process.env.VERBOSE_FETCH) {
|
|
40
39
|
console.log(`Fetch agent options:`);
|
|
41
|
-
console.log(
|
|
42
|
-
`\tTimeout (sessionTimeout/keepAliveMsecs): ${agentOptions.timeout}`,
|
|
43
|
-
);
|
|
44
40
|
console.log(`\tTotal CA certs: ${ca.length}`);
|
|
45
41
|
console.log(`\tGlobal/Root CA certs: ${certsCache.fixedCa.length}`);
|
|
46
42
|
console.log(`\tCustom CA certs: ${ca.length - certsCache.fixedCa.length}`);
|