mirror of
https://github.com/koush/scrypted.git
synced 2026-02-03 06:03:27 +00:00
sdk/client: update
This commit is contained in:
8
packages/client/package-lock.json
generated
8
packages/client/package-lock.json
generated
@@ -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": {
|
||||
|
||||
@@ -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
4
sdk/package-lock.json
generated
@@ -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",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@scrypted/sdk",
|
||||
"version": "0.5.47",
|
||||
"version": "0.5.48",
|
||||
"description": "",
|
||||
"main": "dist/src/index.js",
|
||||
"exports": {
|
||||
|
||||
4
sdk/types/package-lock.json
generated
4
sdk/types/package-lock.json
generated
@@ -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"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@scrypted/types",
|
||||
"version": "0.5.44",
|
||||
"version": "0.5.45",
|
||||
"description": "",
|
||||
"main": "dist/index.js",
|
||||
"author": "",
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user