mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-22 02:04:22 +01:00
Release v0.3.102
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$schema": "https://json.schemastore.org/package.json",
|
||||
"name": "@opencode-ai/sdk",
|
||||
"version": "0.0.0-202507312003",
|
||||
"version": "0.0.0",
|
||||
"type": "module",
|
||||
"exports": {
|
||||
".": "./dist/index.js"
|
||||
|
||||
@@ -17,6 +17,8 @@ export type Event = ({
|
||||
} & EventStorageWrite) | ({
|
||||
type: 'permission.updated';
|
||||
} & EventPermissionUpdated) | ({
|
||||
type: 'permission.replied';
|
||||
} & EventPermissionReplied) | ({
|
||||
type: 'file.edited';
|
||||
} & EventFileEdited) | ({
|
||||
type: 'session.updated';
|
||||
@@ -374,6 +376,15 @@ export type Permission = {
|
||||
};
|
||||
};
|
||||
|
||||
export type EventPermissionReplied = {
|
||||
type: string;
|
||||
properties: {
|
||||
sessionID: string;
|
||||
permissionID: string;
|
||||
response: string;
|
||||
};
|
||||
};
|
||||
|
||||
export type EventFileEdited = {
|
||||
type: string;
|
||||
properties: {
|
||||
|
||||
Reference in New Issue
Block a user