mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-20 01:04:22 +01:00
release: v0.4.3
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"$schema": "https://json.schemastore.org/package.json",
|
"$schema": "https://json.schemastore.org/package.json",
|
||||||
"name": "@opencode/cloud-core",
|
"name": "@opencode/cloud-core",
|
||||||
"version": "0.0.0",
|
"version": "0.4.3",
|
||||||
"private": true,
|
"private": true,
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@opencode/cloud-function",
|
"name": "@opencode/cloud-function",
|
||||||
"version": "0.3.130",
|
"version": "0.4.3",
|
||||||
"$schema": "https://json.schemastore.org/package.json",
|
"$schema": "https://json.schemastore.org/package.json",
|
||||||
"private": true,
|
"private": true,
|
||||||
"type": "module",
|
"type": "module",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@opencode/cloud-web",
|
"name": "@opencode/cloud-web",
|
||||||
"version": "0.0.0",
|
"version": "0.4.3",
|
||||||
"private": true,
|
"private": true,
|
||||||
"description": "",
|
"description": "",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@opencode/function",
|
"name": "@opencode/function",
|
||||||
"version": "0.4.1",
|
"version": "0.4.3",
|
||||||
"$schema": "https://json.schemastore.org/package.json",
|
"$schema": "https://json.schemastore.org/package.json",
|
||||||
"private": true,
|
"private": true,
|
||||||
"type": "module",
|
"type": "module",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"$schema": "https://json.schemastore.org/package.json",
|
"$schema": "https://json.schemastore.org/package.json",
|
||||||
"version": "0.4.1",
|
"version": "0.4.3",
|
||||||
"name": "opencode",
|
"name": "opencode",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"private": true,
|
"private": true,
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"$schema": "https://json.schemastore.org/package.json",
|
"$schema": "https://json.schemastore.org/package.json",
|
||||||
"name": "@opencode-ai/plugin",
|
"name": "@opencode-ai/plugin",
|
||||||
"version": "0.4.1",
|
"version": "0.4.3",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"typecheck": "tsc --noEmit"
|
"typecheck": "tsc --noEmit"
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"$schema": "https://json.schemastore.org/package.json",
|
"$schema": "https://json.schemastore.org/package.json",
|
||||||
"name": "@opencode-ai/sdk",
|
"name": "@opencode-ai/sdk",
|
||||||
"version": "0.4.1",
|
"version": "0.4.3",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"typecheck": "tsc --noEmit"
|
"typecheck": "tsc --noEmit"
|
||||||
|
|||||||
@@ -22,18 +22,15 @@ export type Event =
|
|||||||
| ({
|
| ({
|
||||||
type: "storage.write"
|
type: "storage.write"
|
||||||
} & EventStorageWrite)
|
} & EventStorageWrite)
|
||||||
| ({
|
|
||||||
type: "file.edited"
|
|
||||||
} & EventFileEdited)
|
|
||||||
| ({
|
|
||||||
type: "server.connected"
|
|
||||||
} & EventServerConnected)
|
|
||||||
| ({
|
| ({
|
||||||
type: "permission.updated"
|
type: "permission.updated"
|
||||||
} & EventPermissionUpdated)
|
} & EventPermissionUpdated)
|
||||||
| ({
|
| ({
|
||||||
type: "permission.replied"
|
type: "permission.replied"
|
||||||
} & EventPermissionReplied)
|
} & EventPermissionReplied)
|
||||||
|
| ({
|
||||||
|
type: "file.edited"
|
||||||
|
} & EventFileEdited)
|
||||||
| ({
|
| ({
|
||||||
type: "session.updated"
|
type: "session.updated"
|
||||||
} & EventSessionUpdated)
|
} & EventSessionUpdated)
|
||||||
@@ -46,6 +43,9 @@ export type Event =
|
|||||||
| ({
|
| ({
|
||||||
type: "session.error"
|
type: "session.error"
|
||||||
} & EventSessionError)
|
} & EventSessionError)
|
||||||
|
| ({
|
||||||
|
type: "server.connected"
|
||||||
|
} & EventServerConnected)
|
||||||
| ({
|
| ({
|
||||||
type: "file.watcher.updated"
|
type: "file.watcher.updated"
|
||||||
} & EventFileWatcherUpdated)
|
} & EventFileWatcherUpdated)
|
||||||
@@ -182,6 +182,9 @@ export type Part =
|
|||||||
| ({
|
| ({
|
||||||
type: "text"
|
type: "text"
|
||||||
} & TextPart)
|
} & TextPart)
|
||||||
|
| ({
|
||||||
|
type: "reasoning"
|
||||||
|
} & ReasoningPart)
|
||||||
| ({
|
| ({
|
||||||
type: "file"
|
type: "file"
|
||||||
} & FilePart)
|
} & FilePart)
|
||||||
@@ -217,6 +220,21 @@ export type TextPart = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export type ReasoningPart = {
|
||||||
|
id: string
|
||||||
|
sessionID: string
|
||||||
|
messageID: string
|
||||||
|
type: string
|
||||||
|
text: string
|
||||||
|
metadata?: {
|
||||||
|
[key: string]: unknown
|
||||||
|
}
|
||||||
|
time: {
|
||||||
|
start: number
|
||||||
|
end?: number
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
export type FilePart = {
|
export type FilePart = {
|
||||||
id: string
|
id: string
|
||||||
sessionID: string
|
sessionID: string
|
||||||
@@ -407,20 +425,6 @@ export type EventStorageWrite = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export type EventFileEdited = {
|
|
||||||
type: string
|
|
||||||
properties: {
|
|
||||||
file: string
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
export type EventServerConnected = {
|
|
||||||
type: string
|
|
||||||
properties: {
|
|
||||||
[key: string]: unknown
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
export type EventPermissionUpdated = {
|
export type EventPermissionUpdated = {
|
||||||
type: string
|
type: string
|
||||||
properties: Permission
|
properties: Permission
|
||||||
@@ -451,6 +455,13 @@ export type EventPermissionReplied = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export type EventFileEdited = {
|
||||||
|
type: string
|
||||||
|
properties: {
|
||||||
|
file: string
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
export type EventSessionUpdated = {
|
export type EventSessionUpdated = {
|
||||||
type: string
|
type: string
|
||||||
properties: {
|
properties: {
|
||||||
@@ -512,6 +523,13 @@ export type EventSessionError = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export type EventServerConnected = {
|
||||||
|
type: string
|
||||||
|
properties: {
|
||||||
|
[key: string]: unknown
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
export type EventFileWatcherUpdated = {
|
export type EventFileWatcherUpdated = {
|
||||||
type: string
|
type: string
|
||||||
properties: {
|
properties: {
|
||||||
@@ -691,6 +709,7 @@ export type Config = {
|
|||||||
| {
|
| {
|
||||||
[key: string]: string
|
[key: string]: string
|
||||||
}
|
}
|
||||||
|
webfetch?: string
|
||||||
}
|
}
|
||||||
experimental?: {
|
experimental?: {
|
||||||
hook?: {
|
hook?: {
|
||||||
@@ -888,6 +907,12 @@ export type AgentConfig = {
|
|||||||
* Description of when to use the agent
|
* Description of when to use the agent
|
||||||
*/
|
*/
|
||||||
description?: string
|
description?: string
|
||||||
|
/**
|
||||||
|
* Additional model options passed through to provider
|
||||||
|
*/
|
||||||
|
options?: {
|
||||||
|
[key: string]: unknown
|
||||||
|
}
|
||||||
mode?: string
|
mode?: string
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1028,6 +1053,9 @@ export type Agent = {
|
|||||||
mode: string
|
mode: string
|
||||||
topP?: number
|
topP?: number
|
||||||
temperature?: number
|
temperature?: number
|
||||||
|
options: {
|
||||||
|
[key: string]: unknown
|
||||||
|
}
|
||||||
model?: {
|
model?: {
|
||||||
modelID: string
|
modelID: string
|
||||||
providerID: string
|
providerID: string
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@opencode/web",
|
"name": "@opencode/web",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "0.4.1",
|
"version": "0.4.3",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "astro dev",
|
"dev": "astro dev",
|
||||||
"dev:remote": "sst shell --stage=dev --target=Web astro dev",
|
"dev:remote": "sst shell --stage=dev --target=Web astro dev",
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
"name": "opencode",
|
"name": "opencode",
|
||||||
"displayName": "opencode",
|
"displayName": "opencode",
|
||||||
"description": "opencode for VS Code",
|
"description": "opencode for VS Code",
|
||||||
"version": "0.4.1",
|
"version": "0.4.3",
|
||||||
"publisher": "sst-dev",
|
"publisher": "sst-dev",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|||||||
Reference in New Issue
Block a user