sdk/client: update

This commit is contained in:
Koushik Dutta
2025-10-03 08:36:14 -07:00
parent 911b3f6014
commit c6a93cf245
8 changed files with 20 additions and 20 deletions

View File

@@ -21,7 +21,7 @@
"typescript": "^5.8.3"
},
"peerDependencies": {
"@scrypted/types": "^0.5.44"
"@scrypted/types": "^0.5.45"
}
},
"node_modules/@cspotcode/source-map-support": {
@@ -104,9 +104,9 @@
}
},
"node_modules/@scrypted/types": {
"version": "0.5.44",
"resolved": "https://registry.npmjs.org/@scrypted/types/-/types-0.5.44.tgz",
"integrity": "sha512-4NL5AWyPZWryp6oDT5/AGXUb1+vRa0hmpJZ9Ryy+Z8QaGwLUWs2WaVhmSi8QNAj4URbucpwMfL5XUaE2m35z8Q==",
"version": "0.5.45",
"resolved": "https://registry.npmjs.org/@scrypted/types/-/types-0.5.45.tgz",
"integrity": "sha512-ysySpWkGUrUpNj0BoTZpyn2HeVCyN0kfsQ2qyUoegdj7O8Z4VWROQa1mSrrPAAftM8zhTHrgYw8RcvMsfh0BTQ==",
"license": "ISC",
"peer": true,
"dependencies": {

View File

@@ -19,7 +19,7 @@
"typescript": "^5.8.3"
},
"peerDependencies": {
"@scrypted/types": "^0.5.44"
"@scrypted/types": "^0.5.45"
},
"dependencies": {
"engine.io-client": "^6.6.3",

4
sdk/package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "@scrypted/sdk",
"version": "0.5.47",
"version": "0.5.48",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@scrypted/sdk",
"version": "0.5.47",
"version": "0.5.48",
"license": "ISC",
"dependencies": {
"@babel/preset-typescript": "^7.27.1",

View File

@@ -1,6 +1,6 @@
{
"name": "@scrypted/sdk",
"version": "0.5.47",
"version": "0.5.48",
"description": "",
"main": "dist/src/index.js",
"exports": {

View File

@@ -1,12 +1,12 @@
{
"name": "@scrypted/types",
"version": "0.5.44",
"version": "0.5.45",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@scrypted/types",
"version": "0.5.44",
"version": "0.5.45",
"license": "ISC",
"dependencies": {
"openai": "^6.1.0"

View File

@@ -1,6 +1,6 @@
{
"name": "@scrypted/types",
"version": "0.5.44",
"version": "0.5.45",
"description": "",
"main": "dist/index.js",
"author": "",

View File

@@ -449,12 +449,6 @@ class VideoStreamOptions(TypedDict):
quality: float
width: float
class ChatCompletionTool(TypedDict):
"""A function tool that can be used to generate a response."""
pass
class ContentBlock(TypedDict):
pass
@@ -566,6 +560,12 @@ class ChatCompletionCreateParamsNonStreaming(TypedDict):
verbosity: Any | Any | Any # Constrains the verbosity of the model's response. Lower values will result in more concise responses, while higher values will result in more verbose responses. Currently supported values are , , and .
web_search_options: WebSearchOptions # This tool searches the web for relevant results to use in a response. Learn more about the [web search tool](https://platform.openai.com/docs/guides/tools-web-search?api-mode=chat).
class ChatCompletionFunctionTool(TypedDict):
"""A function tool that can be used to generate a response."""
function: FunctionDefinition
type: Any # The type of the tool. Currently, only is supported.
class ClusterForkInterfaceOptions(TypedDict):
clusterWorkerId: str # The id of the cluster worker id that will execute this fork.
@@ -1093,7 +1093,7 @@ class TamperState(TypedDict):
pass
TYPES_VERSION = "0.5.44"
TYPES_VERSION = "0.5.45"
class AirPurifier:

View File

@@ -1,10 +1,10 @@
import type { ChildProcess as NodeChildProcess } from 'child_process';
import type { Socket as NodeNetSocket } from 'net';
import type { ChatCompletionStreamParams } from 'openai/lib/ChatCompletionStream';
import type { ChatCompletionChunk, ChatCompletionCreateParamsNonStreaming, ChatCompletionFunctionTool, ChatCompletionMessageParam, ChatCompletion as ChatCompletionResponse, ChatCompletionTool } from 'openai/resources';
import type { ChatCompletionChunk, ChatCompletionCreateParamsNonStreaming, ChatCompletionFunctionTool, ChatCompletionMessageParam, ChatCompletion as ChatCompletionResponse } from 'openai/resources';
import type { Worker as NodeWorker } from 'worker_threads';
import { CallToolResult } from './mcp';
export type { ChatCompletionChunk, ChatCompletionCreateParamsNonStreaming, ChatCompletionCreateParamsStreaming, ChatCompletionMessageParam, ChatCompletion as ChatCompletionResponse, ChatCompletionTool } from 'openai/resources';
export type { ChatCompletionChunk, ChatCompletionCreateParamsNonStreaming, ChatCompletionCreateParamsStreaming, ChatCompletionFunctionTool, ChatCompletionMessageParam, ChatCompletion as ChatCompletionResponse } from 'openai/resources';
export type * from './mcp';
export type ScryptedNativeId = string | undefined;