summaryrefslogtreecommitdiff
path: root/extension/schema/History.d.ts
diff options
context:
space:
mode:
authorNate Sesti <sestinj@gmail.com>2023-05-27 23:34:25 -0400
committerNate Sesti <sestinj@gmail.com>2023-05-27 23:34:25 -0400
commit176a8958a7759e321d558c0a5478f7a11d9eb44d (patch)
tree402a8f9581eee04c0158e23a0a9b437cfe3eeaec /extension/schema/History.d.ts
parent566d127be48dcb4e6fe4b6d1b98b6641ca0f8913 (diff)
parent5a14b71a3939f99c60f64b44683ed26c91677d0f (diff)
downloadsncontinue-176a8958a7759e321d558c0a5478f7a11d9eb44d.tar.gz
sncontinue-176a8958a7759e321d558c0a5478f7a11d9eb44d.tar.bz2
sncontinue-176a8958a7759e321d558c0a5478f7a11d9eb44d.zip
Merge branch 'main' of https://github.com/continuedev/continue
Diffstat (limited to 'extension/schema/History.d.ts')
-rw-r--r--extension/schema/History.d.ts41
1 files changed, 41 insertions, 0 deletions
diff --git a/extension/schema/History.d.ts b/extension/schema/History.d.ts
new file mode 100644
index 00000000..508deaf0
--- /dev/null
+++ b/extension/schema/History.d.ts
@@ -0,0 +1,41 @@
+/* eslint-disable */
+/**
+ * This file was automatically generated by json-schema-to-typescript.
+ * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
+ * and run json-schema-to-typescript to regenerate this file.
+ */
+
+export type History = History1;
+export type Name = string;
+export type Hide = boolean;
+export type SystemMessage = string;
+export type Depth = number;
+export type Timeline = HistoryNode[];
+export type CurrentIndex = number;
+
+/**
+ * A history of steps taken and their results
+ */
+export interface History1 {
+ timeline: Timeline;
+ current_index: CurrentIndex;
+ [k: string]: unknown;
+}
+/**
+ * A point in history, a list of which make up History
+ */
+export interface HistoryNode {
+ step: Step;
+ observation?: Observation;
+ depth: Depth;
+ [k: string]: unknown;
+}
+export interface Step {
+ name?: Name;
+ hide?: Hide;
+ system_message?: SystemMessage;
+ [k: string]: unknown;
+}
+export interface Observation {
+ [k: string]: unknown;
+}