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.4.0"
".": "0.4.1"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 32
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/dedalus-labs/dedalus-a63ad804ae8ee532d57afae307595dae02d2a6924f83657430b3579193560775.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/dedalus-labs/dedalus-32ccb3c17674e0ee68fd6eafbdd0f210bccfd09fce0702e28b8278e06678deec.yml
openapi_spec_hash: ccb02923079d91569a17162c88da590b
config_hash: 0e31b0b75cafdbc25febc2b7ca219799
config_hash: 3b16603a18779d453842a0d56638384d
24 changes: 24 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,29 @@
# Changelog

## 0.4.1 (2026-06-16)

Full Changelog: [v0.4.0...v0.4.1](https://github.com/dedalus-labs/dedalus-typescript/compare/v0.4.0...v0.4.1)

### Bug Fixes

* **client:** send content-type header for requests with an omitted optional body ([aaa71fa](https://github.com/dedalus-labs/dedalus-typescript/commit/aaa71fa0a6d605ae2df82dcd214f48791f759e7a))
* **typescript:** upgrade tsc-multi so that it works with Node 26 ([6e1859c](https://github.com/dedalus-labs/dedalus-typescript/commit/6e1859c8b2debbae5427c282744e706e8c02dd7b))


### Chores

* configure new SDK language ([6b68956](https://github.com/dedalus-labs/dedalus-typescript/commit/6b68956600107ed25ea17d5262d961d0164a9dd9))
* configure new SDK language ([1d18b8d](https://github.com/dedalus-labs/dedalus-typescript/commit/1d18b8da20cc77e9bd527a3c3ea87a8a63d4470a))
* configure new SDK language ([e3842ad](https://github.com/dedalus-labs/dedalus-typescript/commit/e3842adbbad581256df3849241e71ba57d8ec386))
* configure new SDK language ([f89cb5d](https://github.com/dedalus-labs/dedalus-typescript/commit/f89cb5d8535b9ba6e650bdda0cd2a6d836d071b2))
* configure new SDK language ([84cbe52](https://github.com/dedalus-labs/dedalus-typescript/commit/84cbe5246bf596d6ae65b8900bd71ea778d91f05))
* **tests:** remove redundant File import ([7226125](https://github.com/dedalus-labs/dedalus-typescript/commit/72261254409c99fbb91ac8ae19b0220f2aaffbff))
* update SDK settings ([66989d7](https://github.com/dedalus-labs/dedalus-typescript/commit/66989d7653c0e287fc849986884fd4cd3f60ddf3))
* update SDK settings ([b84a9d9](https://github.com/dedalus-labs/dedalus-typescript/commit/b84a9d911a60f81d25ee69f4dabb5c46f3ce45a3))
* update SDK settings ([d8273e8](https://github.com/dedalus-labs/dedalus-typescript/commit/d8273e83c4494fbab6407584929adfa4c28b0cce))
* update SDK settings ([57f24ae](https://github.com/dedalus-labs/dedalus-typescript/commit/57f24ae07c7acb0fb28b667dc267eb1c73aa205d))
* update SDK settings ([6ce506a](https://github.com/dedalus-labs/dedalus-typescript/commit/6ce506a7697e83c99ab5f6baf82d648c8500bdec))

## 0.4.0 (2026-05-12)

Full Changelog: [v0.3.0...v0.4.0](https://github.com/dedalus-labs/dedalus-typescript/compare/v0.3.0...v0.4.0)
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dedalus",
"version": "0.4.0",
"version": "0.4.1",
"description": "The official TypeScript library for the Dedalus API",
"author": "Dedalus <oss@dedaluslabs.ai>",
"types": "dist/index.d.ts",
Expand Down Expand Up @@ -45,7 +45,7 @@
"@types/ws": "^8.5.13",
"ts-jest": "^29.1.0",
"ts-node": "^10.5.0",
"tsc-multi": "https://github.com/stainless-api/tsc-multi/releases/download/v1.1.9/tsc-multi.tgz",
"tsc-multi": "https://github.com/stainless-api/tsc-multi/releases/download/v1.1.11/tsc-multi.tgz",
"tsconfig-paths": "^4.0.0",
"tslib": "^2.8.1",
"typescript": "5.8.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/mcp-server/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"dxt_version": "0.2",
"name": "dedalus-mcp",
"version": "0.4.0",
"version": "0.4.1",
"description": "The official MCP Server for the Dedalus API",
"author": {
"name": "Dedalus",
Expand Down
4 changes: 2 additions & 2 deletions packages/mcp-server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dedalus-mcp",
"version": "0.4.0",
"version": "0.4.1",
"description": "The official MCP Server for the Dedalus API",
"author": "Dedalus <oss@dedaluslabs.ai>",
"types": "dist/index.d.ts",
Expand Down Expand Up @@ -73,7 +73,7 @@
"ts-jest": "^29.1.0",
"ts-morph": "^19.0.0",
"ts-node": "^10.5.0",
"tsc-multi": "https://github.com/stainless-api/tsc-multi/releases/download/v1.1.9/tsc-multi.tgz",
"tsc-multi": "https://github.com/stainless-api/tsc-multi/releases/download/v1.1.11/tsc-multi.tgz",
"tsconfig-paths": "^4.0.0"
},
"imports": {
Expand Down
847 changes: 847 additions & 0 deletions packages/mcp-server/src/local-docs-search.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/mcp-server/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const newMcpServer = async ({
new McpServer(
{
name: 'dedalus_api',
version: '0.4.0',
version: '0.4.1',
},
{
instructions: await getInstructions({ stainlessApiKey, customInstructionsPath }),
Expand Down
18 changes: 9 additions & 9 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 9 additions & 1 deletion src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -775,11 +775,19 @@ export class Dedalus {
return () => controller.abort();
}

private buildBody({ options: { body, headers: rawHeaders } }: { options: FinalRequestOptions }): {
private buildBody({ options }: { options: FinalRequestOptions }): {
bodyHeaders: HeadersLike;
body: BodyInit | undefined;
} {
const { body, headers: rawHeaders } = options;
if (!body) {
// A resource method always passes a `body` key when its operation defines a
// request body, even if the caller omitted an optional body param. Keep the
// content-type for those, and only elide it for operations with no body at
// all (e.g. GET/DELETE).
if (body == null && 'body' in options) {
return this.#encoder({ body, headers: buildHeaders([rawHeaders]) });
}
return { bodyHeaders: undefined, body: undefined };
}
const headers = buildHeaders([rawHeaders]);
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.4.0'; // x-release-please-version
export const VERSION = '0.4.1'; // x-release-please-version
1 change: 0 additions & 1 deletion tests/uploads.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import fs from 'fs';
import type { ResponseLike } from 'dedalus/internal/to-file';
import { toFile } from 'dedalus/core/uploads';
import { File } from 'node:buffer';

class MyClass {
name: string = 'foo';
Expand Down
Loading