Skip to content

release: 0.68.0#646

Merged
stainless-app[bot] merged 9 commits intomainfrom
release-please--branches--main--changes--next--components--api-client
Nov 19, 2025
Merged

release: 0.68.0#646
stainless-app[bot] merged 9 commits intomainfrom
release-please--branches--main--changes--next--components--api-client

Conversation

@stainless-app
Copy link
Copy Markdown
Contributor

@stainless-app stainless-app bot commented Nov 5, 2025

Automated Release PR

0.68.0 (2025-11-19)

Full Changelog: v0.67.1...v0.68.0

Features

  • blueprint: adds queued state (c8f5e0b)
  • blueprints: cleanup the BuildContext API (#6407)\n\nTest (8bd1c44)
  • blueprints: prevent deletion of blueprints with dependent snapshots (f52eb9a)
  • devbox: adding devbox execution std out / err last n lines (#643) (71de54c)
  • object: added ability to give objects a Time To Live, after which they are automatically deleted.\nfeat(blueprints): Added the ability to attach objects as build contexts that can be referenced in your Dockerfile. (0ee5067)
  • streaming: harden SSE timeout recovery (#645) (cb249a7)

Bug Fixes

  • file-mount: client side validation for file_mount size checks (#639) (30e7123)
  • snapshot: added "deleted" status to DevboxSnapshotStatus enum
  • storage-object added ObjectState enum, fixed createObject() to appropriately type content_type and state as the respective enums (5f8b203)

This pull request is managed by Stainless's GitHub App.

The semver version number is based on included commit messages. Alternatively, you can manually set the version number in the title of this pull request.

For a better experience, it is recommended to use either rebase-merge or squash-merge when merging this pull request.

🔗 Stainless website
📚 Read the docs
🙋 Reach out for help or questions

@codeant-ai
Copy link
Copy Markdown
Contributor

codeant-ai bot commented Nov 5, 2025

CodeAnt AI is reviewing your PR.


Thanks for using CodeAnt! 🎉

We're free for open-source projects. if you're enjoying it, help us grow by sharing.

Share on X ·
Reddit ·
LinkedIn

@codeant-ai codeant-ai bot added the size:S This PR changes 10-29 lines, ignoring generated files label Nov 5, 2025
@codeant-ai
Copy link
Copy Markdown
Contributor

codeant-ai bot commented Nov 5, 2025

CodeAnt AI finished reviewing your PR.

@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next--components--api-client branch from 104e785 to 4d559b0 Compare November 5, 2025 23:11
@stainless-app
Copy link
Copy Markdown
Contributor Author

stainless-app bot commented Nov 5, 2025

🧪 Testing

    To try out this version of the SDK, run:
    ```
    npm install 'https://pkg.stainless.com/s/runloop-node/8bd1c4468565effadc66b8524594daa5761938a4/dist.tar.gz'
    ```

    _Expires: Fri, 19 Dec 2025 00:23:09 GMT_

@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next--components--api-client branch from 4d559b0 to a304a34 Compare November 6, 2025 01:35
@codeant-ai
Copy link
Copy Markdown
Contributor

codeant-ai bot commented Nov 6, 2025

CodeAnt AI is running Incremental review


Thanks for using CodeAnt! 🎉

We're free for open-source projects. if you're enjoying it, help us grow by sharing.

Share on X ·
Reddit ·
LinkedIn

@codeant-ai codeant-ai bot added size:S This PR changes 10-29 lines, ignoring generated files and removed size:S This PR changes 10-29 lines, ignoring generated files labels Nov 6, 2025
@codeant-ai
Copy link
Copy Markdown
Contributor

codeant-ai bot commented Nov 6, 2025

CodeAnt AI Incremental review completed.

@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next--components--api-client branch from a304a34 to fce5a0a Compare November 11, 2025 01:06
@codeant-ai
Copy link
Copy Markdown
Contributor

codeant-ai bot commented Nov 11, 2025

CodeAnt AI is running Incremental review


Thanks for using CodeAnt! 🎉

We're free for open-source projects. if you're enjoying it, help us grow by sharing.

Share on X ·
Reddit ·
LinkedIn

@codeant-ai
Copy link
Copy Markdown
Contributor

codeant-ai bot commented Nov 11, 2025

CodeAnt AI Incremental review completed.

@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next--components--api-client branch from fce5a0a to 3f0b549 Compare November 11, 2025 21:44
@codeant-ai
Copy link
Copy Markdown
Contributor

codeant-ai bot commented Nov 11, 2025

CodeAnt AI is running Incremental review


Thanks for using CodeAnt! 🎉

We're free for open-source projects. if you're enjoying it, help us grow by sharing.

Share on X ·
Reddit ·
LinkedIn

@codeant-ai codeant-ai bot added size:S This PR changes 10-29 lines, ignoring generated files and removed size:S This PR changes 10-29 lines, ignoring generated files labels Nov 11, 2025
@codeant-ai
Copy link
Copy Markdown
Contributor

codeant-ai bot commented Nov 11, 2025

CodeAnt AI Incremental review completed.

@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next--components--api-client branch 2 times, most recently from 9958485 to ec3bff9 Compare November 12, 2025 18:58
@codeant-ai
Copy link
Copy Markdown
Contributor

codeant-ai bot commented Nov 12, 2025

CodeAnt AI is running Incremental review


Thanks for using CodeAnt! 🎉

We're free for open-source projects. if you're enjoying it, help us grow by sharing.

Share on X ·
Reddit ·
LinkedIn

@codeant-ai codeant-ai bot added size:XL This PR changes 500-999 lines, ignoring generated files and removed size:S This PR changes 10-29 lines, ignoring generated files labels Nov 12, 2025
Comment thread src/resources/agents.ts
Comment on lines +49 to +59
export interface AgentCreateParameters {
/**
* The name of the Agent.
*/
name: string;

/**
* The source configuration for the Agent.
*/
source?: Shared.AgentSource | null;
}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggestion: Replace the duplicated AgentCreateParameters interface with a type alias to the existing AgentCreateParams to avoid redundant/contradictory type definitions. [maintainability]

Severity Level: Minor ⚠️

Suggested change
export interface AgentCreateParameters {
/**
* The name of the Agent.
*/
name: string;
/**
* The source configuration for the Agent.
*/
source?: Shared.AgentSource | null;
}
export type AgentCreateParameters = AgentCreateParams;
Why it matters? ⭐

The file currently defines two identical shapes: AgentCreateParameters (interface) and AgentCreateParams (interface). I confirmed both exist in src/resources/agents.ts. Making AgentCreateParameters a type alias to AgentCreateParams removes redundant duplicate definitions and prevents them from drifting apart in the future. The alias preserves the public type name and is fully compatible with the existing namespace re-exports in this file, so this is a safe, maintainability-focused change.

Prompt for AI Agent 🤖
This is a comment left during a code review.

**Path:** src/resources/agents.ts
**Line:** 49:59
**Comment:**
	*Maintainability: Replace the duplicated `AgentCreateParameters` interface with a type alias to the existing `AgentCreateParams` to avoid redundant/contradictory type definitions.

Validate the correctness of the flagged issue. If correct, How can I resolve this? If you propose a fix, implement it and please make it concise.

Comment thread src/resources/shared.ts
/**
* Source type: npm, pip, object, or git
*/
type: string;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggestion: Narrow the type field to the documented literal options instead of a general string [enhancement]

Severity Level: Minor ⚠️

Suggested change
type: string;
type: 'npm' | 'pip' | 'object' | 'git';
Why it matters? ⭐

The AgentSource interface in the file explicitly documents the allowed values ("Source type: npm, pip, object, or git") and provides per-type sub-objects (git, npm, object, pip). Narrowing type to the union 'npm' | 'pip' | 'object' | 'git' is a sensible type-safety improvement that matches the spec comments and the existing shape. It will make the API contracts clearer and enable better compile-time checks. I verified the current file contains the type: string; declaration and the related namespaced interfaces (AgentSource.Git, Npm, Object, Pip), so the suggested literal union aligns with the rest of the code.

Prompt for AI Agent 🤖
This is a comment left during a code review.

**Path:** src/resources/shared.ts
**Line:** 42:42
**Comment:**
	*Enhancement: Narrow the `type` field to the documented literal options instead of a general string

Validate the correctness of the flagged issue. If correct, How can I resolve this? If you propose a fix, implement it and please make it concise.

@codeant-ai
Copy link
Copy Markdown
Contributor

codeant-ai bot commented Nov 12, 2025

CodeAnt AI Incremental review completed.

@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next--components--api-client branch from ec3bff9 to f720222 Compare November 14, 2025 02:18
@codeant-ai
Copy link
Copy Markdown
Contributor

codeant-ai bot commented Nov 14, 2025

CodeAnt AI is running Incremental review


Thanks for using CodeAnt! 🎉

We're free for open-source projects. if you're enjoying it, help us grow by sharing.

Share on X ·
Reddit ·
LinkedIn

@codeant-ai codeant-ai bot added size:XL This PR changes 500-999 lines, ignoring generated files and removed size:XL This PR changes 500-999 lines, ignoring generated files labels Nov 14, 2025
@codeant-ai
Copy link
Copy Markdown
Contributor

codeant-ai bot commented Nov 14, 2025

CodeAnt AI Incremental review completed.

@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next--components--api-client branch from f720222 to 87a091e Compare November 18, 2025 01:40
@codeant-ai
Copy link
Copy Markdown
Contributor

codeant-ai bot commented Nov 18, 2025

CodeAnt AI is running Incremental review


Thanks for using CodeAnt! 🎉

We're free for open-source projects. if you're enjoying it, help us grow by sharing.

Share on X ·
Reddit ·
LinkedIn

@codeant-ai codeant-ai bot added size:XL This PR changes 500-999 lines, ignoring generated files and removed size:XL This PR changes 500-999 lines, ignoring generated files labels Nov 18, 2025
@codeant-ai
Copy link
Copy Markdown
Contributor

codeant-ai bot commented Nov 18, 2025

CodeAnt AI Incremental review completed.

@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next--components--api-client branch from 87a091e to 5895b30 Compare November 18, 2025 22:01
@codeant-ai
Copy link
Copy Markdown
Contributor

codeant-ai bot commented Nov 18, 2025

CodeAnt AI is running Incremental review


Thanks for using CodeAnt! 🎉

We're free for open-source projects. if you're enjoying it, help us grow by sharing.

Share on X ·
Reddit ·
LinkedIn

@codeant-ai codeant-ai bot added size:XL This PR changes 500-999 lines, ignoring generated files and removed size:XL This PR changes 500-999 lines, ignoring generated files labels Nov 18, 2025
@codeant-ai
Copy link
Copy Markdown
Contributor

codeant-ai bot commented Nov 18, 2025

CodeAnt AI Incremental review completed.

@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next--components--api-client branch from 5895b30 to a9f607c Compare November 18, 2025 23:21
… fix(storage-object): added ObjectState enum, fixed createObject() to appropriately type content_type and state as the respective enums
…ch they are automatically deleted.\nfeat(blueprints): Added the ability to attach objects as build contexts that can be referenced in your Dockerfile.
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next--components--api-client branch from a9f607c to 6024cdb Compare November 18, 2025 23:29
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next--components--api-client branch from 6024cdb to 8c05f5a Compare November 19, 2025 00:22
@stainless-app stainless-app bot merged commit 5c21e94 into main Nov 19, 2025
7 checks passed
@stainless-app stainless-app bot deleted the release-please--branches--main--changes--next--components--api-client branch November 19, 2025 01:26
@stainless-app
Copy link
Copy Markdown
Contributor Author

stainless-app bot commented Nov 19, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autorelease: tagged size:XL This PR changes 500-999 lines, ignoring generated files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant