Skip to content
Closed
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 @@
{
".": "1.0.0"
".": "1.1.0"
}
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 11
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/deeprails-inc%2Fdeeprails-96512c1b797f0943ff15a6f7af701c2c68c90f2db3a99bcad64a092924c39167.yml
openapi_spec_hash: 19d817d155ec2593b8af64e69a63375b
config_hash: ce7e997e94b56d2c2403f39c42b96a98
config_hash: 2c453cb2da08ebebd0c2842897775232
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Changelog

## 1.1.0 (2025-10-07)

Full Changelog: [v1.0.0...v1.1.0](https://github.com/deeprails/deeprails-typescript-sdk/compare/v1.0.0...v1.1.0)

### Features

* **api:** manual updates ([8a5bb06](https://github.com/deeprails/deeprails-typescript-sdk/commit/8a5bb0669951aa87771073158032e029fd78c332))


### Chores

* configure new SDK language ([1cccec5](https://github.com/deeprails/deeprails-typescript-sdk/commit/1cccec57666d11ac0b3e3e7de455aaa35c9a9c41))

## 1.0.0 (2025-10-07)

Full Changelog: [v0.0.1...v1.0.0](https://github.com/deeprails/deeprails-typescript-sdk/compare/v0.0.1...v1.0.0)
Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

This library provides convenient access to the Deeprails REST API from server-side TypeScript or JavaScript.

The full API of this library can be found in [api.md](api.md).
The REST API documentation can be found on [docs.deeprails.com](https://docs.deeprails.com). The full API of this library can be found in [api.md](api.md).

## Installation

Expand All @@ -26,7 +26,7 @@ const client = new Deeprails({

const defendResponse = await client.defend.createWorkflow({
improvement_action: 'fixit',
metrics: { completeness: 0.85, instruction_adherence: 0.75 },
metrics: { completeness: 0.8, instruction_adherence: 0.75 },
name: 'Push Alert Workflow',
type: 'custom',
});
Expand All @@ -48,7 +48,7 @@ const client = new Deeprails({

const params: Deeprails.DefendCreateWorkflowParams = {
improvement_action: 'fixit',
metrics: { completeness: 0.85, instruction_adherence: 0.75 },
metrics: { completeness: 0.8, instruction_adherence: 0.75 },
name: 'Push Alert Workflow',
type: 'custom',
};
Expand All @@ -68,7 +68,7 @@ a subclass of `APIError` will be thrown:
const defendResponse = await client.defend
.createWorkflow({
improvement_action: 'fixit',
metrics: { completeness: 0.85, instruction_adherence: 0.75 },
metrics: { completeness: 0.8, instruction_adherence: 0.75 },
name: 'Push Alert Workflow',
type: 'custom',
})
Expand Down Expand Up @@ -112,7 +112,7 @@ const client = new Deeprails({
});

// Or, configure per-request:
await client.defend.createWorkflow({ improvement_action: 'fixit', metrics: { completeness: 0.85, instruction_adherence: 0.75 }, name: 'Push Alert Workflow', type: 'custom' }, {
await client.defend.createWorkflow({ improvement_action: 'fixit', metrics: { completeness: 0.8, instruction_adherence: 0.75 }, name: 'Push Alert Workflow', type: 'custom' }, {
maxRetries: 5,
});
```
Expand All @@ -129,7 +129,7 @@ const client = new Deeprails({
});

// Override per-request:
await client.defend.createWorkflow({ improvement_action: 'fixit', metrics: { completeness: 0.85, instruction_adherence: 0.75 }, name: 'Push Alert Workflow', type: 'custom' }, {
await client.defend.createWorkflow({ improvement_action: 'fixit', metrics: { completeness: 0.8, instruction_adherence: 0.75 }, name: 'Push Alert Workflow', type: 'custom' }, {
timeout: 5 * 1000,
});
```
Expand All @@ -155,7 +155,7 @@ const client = new Deeprails();
const response = await client.defend
.createWorkflow({
improvement_action: 'fixit',
metrics: { completeness: 0.85, instruction_adherence: 0.75 },
metrics: { completeness: 0.8, instruction_adherence: 0.75 },
name: 'Push Alert Workflow',
type: 'custom',
})
Expand All @@ -166,7 +166,7 @@ console.log(response.statusText); // access the underlying Response object
const { data: defendResponse, response: raw } = await client.defend
.createWorkflow({
improvement_action: 'fixit',
metrics: { completeness: 0.85, instruction_adherence: 0.75 },
metrics: { completeness: 0.8, instruction_adherence: 0.75 },
name: 'Push Alert Workflow',
type: 'custom',
})
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": "deeprails",
"version": "1.0.0",
"version": "1.1.0",
"description": "The official TypeScript library for the Deeprails API",
"author": {
"name": "DeepRails",
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 = '1.0.0'; // x-release-please-version
export const VERSION = '1.1.0'; // x-release-please-version