Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.1.0-alpha.7"
".": "0.1.0-alpha.8"
}
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
# Changelog

## 0.1.0-alpha.8 (2026-01-07)

Full Changelog: [v0.1.0-alpha.7...v0.1.0-alpha.8](https://github.com/zeroentropy-ai/zeroentropy-node/compare/v0.1.0-alpha.7...v0.1.0-alpha.8)

### Bug Fixes

* **mcp:** correct code tool API endpoint ([2bb9b5d](https://github.com/zeroentropy-ai/zeroentropy-node/commit/2bb9b5d1d8ba44e11148d83d52379804e4d8f926))
* **mcp:** return correct lines on typescript errors ([2c02f32](https://github.com/zeroentropy-ai/zeroentropy-node/commit/2c02f322c6eab9455ab0c7b09f900140157899fd))


### Chores

* break long lines in snippets into multiline ([3d7a070](https://github.com/zeroentropy-ai/zeroentropy-node/commit/3d7a0702dde4a0070df30c6bee019382c10dca33))
* **internal:** codegen related update ([f287ef1](https://github.com/zeroentropy-ai/zeroentropy-node/commit/f287ef1b8a266a4d55104a7a0807c1763663d60f))
* **internal:** codegen related update ([d32a969](https://github.com/zeroentropy-ai/zeroentropy-node/commit/d32a969b62c4a471129529fb3a22355e1cf96ced))
* **internal:** codegen related update ([fe15e37](https://github.com/zeroentropy-ai/zeroentropy-node/commit/fe15e3763ab7d9e87e9928e2ef0d1a2b1e66afe3))

## 0.1.0-alpha.7 (2025-11-24)

Full Changelog: [v0.1.0-alpha.6...v0.1.0-alpha.7](https://github.com/zeroentropy-ai/zeroentropy-node/compare/v0.1.0-alpha.6...v0.1.0-alpha.7)
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright 2025 ZeroEntropy
Copyright 2026 ZeroEntropy

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "zeroentropy",
"version": "0.1.0-alpha.7",
"version": "0.1.0-alpha.8",
"description": "The official TypeScript library for the ZeroEntropy API",
"author": "ZeroEntropy <founders@zeroentropy.dev>",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const VERSION = '0.1.0-alpha.7'; // x-release-please-version
export const VERSION = '0.1.0-alpha.8'; // x-release-please-version
6 changes: 5 additions & 1 deletion tests/api-resources/models.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@ const client = new ZeroEntropy({

describe('resource models', () => {
test('rerank: only required params', async () => {
const responsePromise = client.models.rerank({ documents: ['string'], model: 'model', query: 'query' });
const responsePromise = client.models.rerank({
documents: ['string'],
model: 'model',
query: 'query',
});
const rawResponse = await responsePromise.asResponse();
expect(rawResponse).toBeInstanceOf(Response);
const response = await responsePromise;
Expand Down
24 changes: 20 additions & 4 deletions tests/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,11 @@ describe('retries', () => {
return new Response(JSON.stringify({ a: 1 }), { headers: { 'Content-Type': 'application/json' } });
};

const client = new ZeroEntropy({ apiKey: 'My API Key', timeout: 10, fetch: testFetch });
const client = new ZeroEntropy({
apiKey: 'My API Key',
timeout: 10,
fetch: testFetch,
});

expect(await client.request({ path: '/foo', method: 'get' })).toEqual({ a: 1 });
expect(count).toEqual(2);
Expand Down Expand Up @@ -306,7 +310,11 @@ describe('retries', () => {
return new Response(JSON.stringify({ a: 1 }), { headers: { 'Content-Type': 'application/json' } });
};

const client = new ZeroEntropy({ apiKey: 'My API Key', fetch: testFetch, maxRetries: 4 });
const client = new ZeroEntropy({
apiKey: 'My API Key',
fetch: testFetch,
maxRetries: 4,
});

expect(await client.request({ path: '/foo', method: 'get' })).toEqual({ a: 1 });

Expand All @@ -330,7 +338,11 @@ describe('retries', () => {
capturedRequest = init;
return new Response(JSON.stringify({ a: 1 }), { headers: { 'Content-Type': 'application/json' } });
};
const client = new ZeroEntropy({ apiKey: 'My API Key', fetch: testFetch, maxRetries: 4 });
const client = new ZeroEntropy({
apiKey: 'My API Key',
fetch: testFetch,
maxRetries: 4,
});

expect(
await client.request({
Expand Down Expand Up @@ -392,7 +404,11 @@ describe('retries', () => {
capturedRequest = init;
return new Response(JSON.stringify({ a: 1 }), { headers: { 'Content-Type': 'application/json' } });
};
const client = new ZeroEntropy({ apiKey: 'My API Key', fetch: testFetch, maxRetries: 4 });
const client = new ZeroEntropy({
apiKey: 'My API Key',
fetch: testFetch,
maxRetries: 4,
});

expect(
await client.request({
Expand Down