Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion backend/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://json.schemastore.org/package.json",
"version": "2.0.22",
"version": "2.0.23",
"name": "@synsci/openscience",
"type": "module",
"description": "AI-powered CLI for ML research and development workflows",
Expand Down
16 changes: 8 additions & 8 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion frontend/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@synsci/docs",
"private": true,
"type": "module",
"version": "2.0.22",
"version": "2.0.23",
"license": "Apache-2.0",
"scripts": {
"dev": "vite",
Expand Down
2 changes: 1 addition & 1 deletion frontend/landing/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "openscience-landing",
"private": true,
"version": "2.0.22",
"version": "2.0.23",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
2 changes: 1 addition & 1 deletion frontend/ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@synsci/ui",
"version": "2.0.22",
"version": "2.0.23",
"type": "module",
"license": "Apache-2.0",
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion frontend/workspace/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@synsci/workspace",
"version": "2.0.22",
"version": "2.0.23",
"description": "",
"type": "module",
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion tooling/launcher/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "synsci",
"version": "2.0.22",
"version": "2.0.23",
"description": "Install wizard for OpenScience, the open-source AI research workspace (optionally with Atlas)",
"license": "Apache-2.0",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion tooling/plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://json.schemastore.org/package.json",
"name": "@synsci/plugin",
"version": "2.0.22",
"version": "2.0.23",
"type": "module",
"license": "Apache-2.0",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion tooling/sdk/js/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://json.schemastore.org/package.json",
"name": "@synsci/sdk",
"version": "2.0.22",
"version": "2.0.23",
"type": "module",
"license": "Apache-2.0",
"scripts": {
Expand Down
85 changes: 61 additions & 24 deletions tooling/sdk/js/src/v2/gen/sdk.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,10 +114,12 @@ import type {
McpLocalConfig,
McpRemoteConfig,
McpStatusResponses,
NotebookCommandsResponses,
NotebookCommandStopErrors,
NotebookCommandStopResponses,
NotebookComputeResponses,
NotebookExecuteResponses,
NotebookInterruptResponses,
NotebookKernelCreateResponses,
NotebookKernelDeleteResponses,
NotebookKernelInterruptResponses,
NotebookKernelRestartResponses,
Expand Down Expand Up @@ -1915,7 +1917,7 @@ export class Trust extends HeyApiClient {
/**
* Inspect project trust
*
* Inspect whether project-local code may execute. Projects are untrusted by default; read-only project opening remains available.
* Inspect whether project-local code may execute. Project code is enabled by default and remains disabled only after an explicit revocation.
*/
public get<ThrowOnError extends boolean = false>(
parameters: {
Expand Down Expand Up @@ -5239,16 +5241,15 @@ export class File extends HeyApiClient {
}
}

export class Kernel extends HeyApiClient {
export class Command extends HeyApiClient {
/**
* Create a named session kernel record
* Stop a live shell command
*/
public create<ThrowOnError extends boolean = false>(
parameters?: {
public stop<ThrowOnError extends boolean = false>(
parameters: {
commandID: string
directory?: string
sessionID?: string
name?: string
language?: "python" | "r"
},
options?: Options<never, ThrowOnError>,
) {
Expand All @@ -5257,26 +5258,29 @@ export class Kernel extends HeyApiClient {
[
{
args: [
{ in: "path", key: "commandID" },
{ in: "query", key: "directory" },
{ in: "body", key: "sessionID" },
{ in: "body", key: "name" },
{ in: "body", key: "language" },
],
},
],
)
return (options?.client ?? this.client).post<NotebookKernelCreateResponses, unknown, ThrowOnError>({
url: "/notebook/kernels",
...options,
...params,
headers: {
"Content-Type": "application/json",
...options?.headers,
...params.headers,
return (options?.client ?? this.client).post<NotebookCommandStopResponses, NotebookCommandStopErrors, ThrowOnError>(
{
url: "/notebook/commands/{commandID}/stop",
...options,
...params,
headers: {
"Content-Type": "application/json",
...options?.headers,
...params.headers,
},
},
})
)
}
}

export class Kernel extends HeyApiClient {
/**
* Restart a kernel in a fresh runtime
*/
Expand Down Expand Up @@ -5415,7 +5419,7 @@ export class Kernel extends HeyApiClient {

export class Notebook extends HeyApiClient {
/**
* Report host compute capacity
* Report live local compute capacity
*/
public compute<ThrowOnError extends boolean = false>(
parameters?: {
Expand All @@ -5431,6 +5435,34 @@ export class Notebook extends HeyApiClient {
})
}

/**
* List live project shell commands
*/
public commands<ThrowOnError extends boolean = false>(
parameters?: {
directory?: string
sessionID?: string
},
options?: Options<never, ThrowOnError>,
) {
const params = buildClientParams(
[parameters],
[
{
args: [
{ in: "query", key: "directory" },
{ in: "query", key: "sessionID" },
],
},
],
)
return (options?.client ?? this.client).get<NotebookCommandsResponses, unknown, ThrowOnError>({
url: "/notebook/commands",
...options,
...params,
})
}

/**
* List session kernel records
*/
Expand Down Expand Up @@ -5647,6 +5679,11 @@ export class Notebook extends HeyApiClient {
})
}

private _command?: Command
get command(): Command {
return (this._command ??= new Command({ client: this.client }))
}

private _kernel?: Kernel
get kernel(): Kernel {
return (this._kernel ??= new Kernel({ client: this.client }))
Expand Down Expand Up @@ -6307,7 +6344,7 @@ export class Vcs extends HeyApiClient {
}
}

export class Command extends HeyApiClient {
export class Command2 extends HeyApiClient {
/**
* List commands
*
Expand Down Expand Up @@ -6797,9 +6834,9 @@ export class OpenScienceClient extends HeyApiClient {
return (this._vcs ??= new Vcs({ client: this.client }))
}

private _command?: Command
get command(): Command {
return (this._command ??= new Command({ client: this.client }))
private _command?: Command2
get command(): Command2 {
return (this._command ??= new Command2({ client: this.client }))
}

private _app?: App
Expand Down
Loading