opencode/workspace

Search:
Group by:

Procs

proc deleteExperimentalWorkspaceId(client: OpencodeClient; id: string;
                                   directory: string = default(string);
                                   workspace: string = default(string)): Future[
    Workspace] {....stackTrace: false, raises: [Exception, ValueError, KeyError,
    HttpRequestError, LibraryError, SslError, OSError, IOError, ProtocolError,
    OpenParserJsonError, OpencodeClientError],
                 tags: [RootEffect, ReadIOEffect, TimeEffect], forbids: [].}
Remove an existing workspace.
proc getExperimentalWorkspace(client: OpencodeClient;
                              directory: string = default(string);
                              workspace: string = default(string)): Future[
    seq[types.Workspace]] {....stackTrace: false, raises: [Exception, ValueError,
    KeyError, HttpRequestError, LibraryError, SslError, OSError, IOError,
    ProtocolError, OpenParserJsonError, OpencodeClientError],
                            tags: [RootEffect, ReadIOEffect, TimeEffect],
                            forbids: [].}
List all workspaces.
proc getExperimentalWorkspaceAdapter(client: OpencodeClient;
                                     directory: string = default(string);
                                     workspace: string = default(string)): Future[
    seq[JsonNode]] {....stackTrace: false, raises: [Exception, ValueError,
    KeyError, HttpRequestError, LibraryError, SslError, OSError, IOError,
    ProtocolError, OpenParserJsonError, OpencodeClientError],
                     tags: [RootEffect, ReadIOEffect, TimeEffect], forbids: [].}
List all available workspace adapters for the current project.
proc getExperimentalWorkspaceStatus(client: OpencodeClient;
                                    directory: string = default(string);
                                    workspace: string = default(string)): Future[
    seq[types.WorkspaceEventConnectionStatus]] {....stackTrace: false, raises: [
    Exception, ValueError, KeyError, HttpRequestError, LibraryError, SslError,
    OSError, IOError, ProtocolError, OpenParserJsonError, OpencodeClientError],
    tags: [RootEffect, ReadIOEffect, TimeEffect], forbids: [].}
Get connection status for workspaces in the current project.
proc postExperimentalWorkspace(client: OpencodeClient;
                               directory: string = default(string);
                               workspace: string = default(string);
                               body: PostExperimentalWorkspaceRequest): Future[
    Workspace] {....stackTrace: false, raises: [Exception, ValueError, KeyError,
    HttpRequestError, LibraryError, SslError, OSError, IOError, ProtocolError,
    OpenParserJsonError, OpencodeClientError],
                 tags: [RootEffect, ReadIOEffect, TimeEffect], forbids: [].}
Create a workspace for the current project.
proc postExperimentalWorkspaceSyncList(client: OpencodeClient;
                                       directory: string = default(string);
                                       workspace: string = default(string)): Future[
    AsyncResponse] {....stackTrace: false, raises: [Exception, ValueError,
    KeyError, HttpRequestError, LibraryError, SslError, OSError, IOError,
    ProtocolError], tags: [RootEffect, ReadIOEffect, TimeEffect], forbids: [].}
Register missing workspaces returned by workspace adapters.
proc postExperimentalWorkspaceWarp(client: OpencodeClient;
                                   directory: string = default(string);
                                   workspace: string = default(string);
                                   body: PostExperimentalWorkspaceWarpRequest): Future[
    AsyncResponse] {....stackTrace: false, raises: [Exception, ValueError,
    KeyError, HttpRequestError, LibraryError, SslError, OSError, IOError,
    ProtocolError], tags: [RootEffect, ReadIOEffect, TimeEffect], forbids: [].}
Move a session's sync history into the target workspace, or detach it to the local project.