Skip to content

Commit

Permalink
Working
Browse files Browse the repository at this point in the history
  • Loading branch information
birdperson1970 committed Dec 9, 2023
1 parent 7fda98f commit 9cf002d
Show file tree
Hide file tree
Showing 5 changed files with 157 additions and 53 deletions.
4 changes: 2 additions & 2 deletions extensions/vscode/package-lock.json

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

2 changes: 1 addition & 1 deletion extensions/vscode/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "continue",
"icon": "media/icon.png",
"version": "0.6.37",
"version": "0.6.38",
"repository": {
"type": "git",
"url": "https://github.com/continuedev/continue"
Expand Down
37 changes: 25 additions & 12 deletions extensions/vscode/schema/SessionUpdate.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,44 +5,57 @@
* and run json-schema-to-typescript to regenerate this file.
*/

export type SessionUpdate = SessionUpdate1;
export type Index = number;
export type StepType = string | null;
export type Update = DeltaStep | SetStep | SessionUpdate1;
export type Name = string | null;
export type Description = string | null;
export type Observations = Observation[] | null;
export type Logs = string[] | null;
export type StepType = string | null;
export type Name1 = string | null;
export type Description1 = string | null;
export type Params = {
[k: string]: unknown;
} | null;
export type Hide = boolean | null;
export type Depth = number | null;
export type Title = string;
export type Message = string;
export type Observations = Observation[] | null;
export type Logs = string[] | null;
export type Observations1 = Observation[] | null;
export type Logs1 = string[] | null;
export type Stop = boolean | null;

export interface SessionUpdate {
export interface SessionUpdate1 {
index: Index;
update: SetStep;
update: Update;
stop?: Stop;
[k: string]: unknown;
}
export interface SetStep {
step_type?: StepType;
export interface DeltaStep {
name?: Name;
description?: Description;
observations?: Observations;
logs?: Logs;
[k: string]: unknown;
}
export interface Observation {
[k: string]: unknown;
}
export interface SetStep {
step_type?: StepType;
name?: Name1;
description?: Description1;
params?: Params;
hide?: Hide;
depth?: Depth;
error?: ContinueError | null;
observations?: Observations;
logs?: Logs;
observations?: Observations1;
logs?: Logs1;
[k: string]: unknown;
}
export interface ContinueError {
title: Title;
message: Message;
[k: string]: unknown;
}
export interface Observation {
[k: string]: unknown;
}
37 changes: 25 additions & 12 deletions gui/src/schema/SessionUpdate.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,44 +5,57 @@
* and run json-schema-to-typescript to regenerate this file.
*/

export type SessionUpdate = SessionUpdate1;
export type Index = number;
export type StepType = string | null;
export type Update = DeltaStep | SetStep | SessionUpdate1;
export type Name = string | null;
export type Description = string | null;
export type Observations = Observation[] | null;
export type Logs = string[] | null;
export type StepType = string | null;
export type Name1 = string | null;
export type Description1 = string | null;
export type Params = {
[k: string]: unknown;
} | null;
export type Hide = boolean | null;
export type Depth = number | null;
export type Title = string;
export type Message = string;
export type Observations = Observation[] | null;
export type Logs = string[] | null;
export type Observations1 = Observation[] | null;
export type Logs1 = string[] | null;
export type Stop = boolean | null;

export interface SessionUpdate {
export interface SessionUpdate1 {
index: Index;
update: SetStep;
update: Update;
stop?: Stop;
[k: string]: unknown;
}
export interface SetStep {
step_type?: StepType;
export interface DeltaStep {
name?: Name;
description?: Description;
observations?: Observations;
logs?: Logs;
[k: string]: unknown;
}
export interface Observation {
[k: string]: unknown;
}
export interface SetStep {
step_type?: StepType;
name?: Name1;
description?: Description1;
params?: Params;
hide?: Hide;
depth?: Depth;
error?: ContinueError | null;
observations?: Observations;
logs?: Logs;
observations?: Observations1;
logs?: Logs1;
[k: string]: unknown;
}
export interface ContinueError {
title: Title;
message: Message;
[k: string]: unknown;
}
export interface Observation {
[k: string]: unknown;
}
130 changes: 104 additions & 26 deletions schema/json/SessionUpdate.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,111 @@
"title": "ContinueError",
"type": "object"
},
"DeltaStep": {
"properties": {
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Name"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Description"
},
"observations": {
"anyOf": [
{
"items": {
"$ref": "#/$defs/Observation"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Observations"
},
"logs": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Logs"
}
},
"title": "DeltaStep",
"type": "object"
},
"Observation": {
"properties": {},
"title": "Observation",
"type": "object"
},
"SessionUpdate": {
"properties": {
"index": {
"title": "Index",
"type": "integer"
},
"update": {
"anyOf": [
{
"$ref": "#/$defs/DeltaStep"
},
{
"$ref": "#/$defs/SetStep"
},
{
"$ref": "#/$defs/SessionUpdate"
}
],
"title": "Update"
},
"stop": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"title": "Stop"
}
},
"required": [
"index",
"update"
],
"title": "SessionUpdate",
"type": "object"
},
"SetStep": {
"properties": {
"step_type": {
Expand Down Expand Up @@ -143,31 +243,9 @@
"type": "object"
}
},
"properties": {
"index": {
"title": "Index",
"type": "integer"
},
"update": {
"$ref": "#/$defs/SetStep"
},
"stop": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"title": "Stop"
"allOf": [
{
"$ref": "#/$defs/SessionUpdate"
}
},
"required": [
"index",
"update"
],
"title": "SessionUpdate",
"type": "object"
]
}

0 comments on commit 9cf002d

Please sign in to comment.