From e1b17b82c430529f6bdf3d13335abeceb89e28cc Mon Sep 17 00:00:00 2001
From: tomasz-io
-* An AMD (recommended!) or CommonJS application will generally do something equivalent to the following:
-* param.
- */
- paramToString(param) {
- if (param == undefined || param == null) {
- return '';
- }
- if (param instanceof Date) {
- return param.toJSON();
- }
- if (ApiClient.canBeJsonified(param)) {
- return JSON.stringify(param);
- }
-
- return param.toString();
- }
-
- /**
- * Returns a boolean indicating if the parameter could be JSON.stringified
- * @param param The actual parameter
- * @returns {Boolean} Flag indicating if param can be JSON.stringified
- */
- static canBeJsonified(str) {
- if (typeof str !== 'string' && typeof str !== 'object') return false;
- try {
- const type = str.toString();
- return type === '[object Object]'
- || type === '[object Array]';
- } catch (err) {
- return false;
- }
- };
-
- /**
- * Builds full URL by appending the given path to the base URL and replacing path parameter place-holders with parameter values.
- * NOTE: query parameters are not handled here.
- * @param {String} path The path to append to the base URL.
- * @param {Object} pathParams The parameter values to append.
- * @param {String} apiBasePath Base path defined in the path, operation level to override the default one
- * @returns {String} The encoded path with parameter values substituted.
- */
- buildUrl(path, pathParams, apiBasePath) {
- if (!path.match(/^\//)) {
- path = '/' + path;
- }
-
- var url = this.basePath + path;
-
- // use API (operation, path) base path if defined
- if (apiBasePath !== null && apiBasePath !== undefined) {
- url = apiBasePath + path;
- }
-
- url = url.replace(/\{([\w-\.#]+)\}/g, (fullMatch, key) => {
- var value;
- if (pathParams.hasOwnProperty(key)) {
- value = this.paramToString(pathParams[key]);
- } else {
- value = fullMatch;
- }
-
- return encodeURIComponent(value);
- });
-
- return url;
- }
-
- /**
- * Checks whether the given content type represents JSON.
- * JSON content type examples:
- *
- *
- * @param {String} contentType The MIME content type to check.
- * @returns {Boolean} true if contentType represents JSON, otherwise false.
- */
- isJsonMime(contentType) {
- return Boolean(contentType != null && contentType.match(/^application\/json(;.*)?$/i));
- }
-
- /**
- * Chooses a content type from the given array, with JSON preferred; i.e. return JSON if included, otherwise return the first.
- * @param {Array.true if param represents a file.
- */
- isFileParam(param) {
- // fs.ReadStream in Node.js and Electron (but not in runtime like browserify)
- if (typeof require === 'function') {
- let fs;
- try {
- fs = require('fs');
- } catch (err) {}
- if (fs && fs.ReadStream && param instanceof fs.ReadStream) {
- return true;
- }
- }
-
- // Buffer in Node.js
- if (typeof Buffer === 'function' && param instanceof Buffer) {
- return true;
- }
-
- // Blob in browser
- if (typeof Blob === 'function' && param instanceof Blob) {
- return true;
- }
-
- // File in browser (it seems File object is also instance of Blob, but keep this for safe)
- if (typeof File === 'function' && param instanceof File) {
- return true;
- }
-
- return false;
- }
-
- /**
- * Normalizes parameter values:
- *
- *
- * @param {Object.param as is if collectionFormat is multi.
- */
- buildCollectionParam(param, collectionFormat) {
- if (param == null) {
- return null;
- }
- switch (collectionFormat) {
- case 'csv':
- return param.map(this.paramToString, this).join(',');
- case 'ssv':
- return param.map(this.paramToString, this).join(' ');
- case 'tsv':
- return param.map(this.paramToString, this).join('\t');
- case 'pipes':
- return param.map(this.paramToString, this).join('|');
- case 'multi':
- //return the array directly as SuperAgent will handle it as expected
- return param.map(this.paramToString, this);
- case 'passthrough':
- return param;
- default:
- throw new Error('Unknown collection format: ' + collectionFormat);
- }
- }
-
- /**
- * Applies authentication headers to the request.
- * @param {Object} request The request object created by a superagent() call.
- * @param {Array.data will be converted to this type.
- * @returns A value of the specified type.
- */
- deserialize(response, returnType) {
- if (response == null || returnType == null || response.status == 204) {
- return null;
- }
-
- // Rely on SuperAgent for parsing response body.
- // See http://visionmedia.github.io/superagent/#parsing-response-bodies
- var data = response.body;
- if (data == null || (typeof data === 'object' && typeof data.length === 'undefined' && !Object.keys(data).length)) {
- // SuperAgent does not always produce a body; use the unparsed response as a fallback
- data = response.text;
- }
-
- return ApiClient.convertToType(data, returnType);
- }
-
- /**
- * Callback function to receive the result of the operation.
- * @callback module:ApiClient~callApiCallback
- * @param {String} error Error message, if any.
- * @param data The data returned by the service call.
- * @param {String} response The complete HTTP response.
- */
-
- /**
- * Invokes the REST service using the supplied settings and parameters.
- * @param {String} path The base URL to invoke.
- * @param {String} httpMethod The HTTP method to use.
- * @param {Object.data will be converted to this type.
- * @returns An instance of the specified type or null or undefined if data is null or undefined.
- */
- static convertToType(data, type) {
- if (data === null || data === undefined)
- return data
-
- switch (type) {
- case 'Boolean':
- return Boolean(data);
- case 'Integer':
- return parseInt(data, 10);
- case 'Number':
- return parseFloat(data);
- case 'String':
- return String(data);
- case 'Date':
- return ApiClient.parseDate(String(data));
- case 'Blob':
- return data;
- default:
- if (type === Object) {
- // generic object, return directly
- return data;
- } else if (typeof type.constructFromObject === 'function') {
- // for model type like User and enum class
- return type.constructFromObject(data);
- } else if (Array.isArray(type)) {
- // for array type like: ['String']
- var itemType = type[0];
-
- return data.map((item) => {
- return ApiClient.convertToType(item, itemType);
- });
- } else if (typeof type === 'object') {
- // for plain object type like: {'String': 'Integer'}
- var keyType, valueType;
- for (var k in type) {
- if (type.hasOwnProperty(k)) {
- keyType = k;
- valueType = type[k];
- break;
- }
- }
-
- var result = {};
- for (var k in data) {
- if (data.hasOwnProperty(k)) {
- var key = ApiClient.convertToType(k, keyType);
- var value = ApiClient.convertToType(data[k], valueType);
- result[key] = value;
- }
- }
-
- return result;
- } else {
- // for unknown type, return the data directly
- return data;
- }
- }
- }
-
- /**
- * Gets an array of host settings
- * @returns An array of host settings
- */
- hostSettings() {
- return [
- {
- 'url': "https://api.continue.dev",
- 'description': "Production server",
- },
- {
- 'url': "http://localhost:3002",
- 'description': "Local development server",
- }
- ];
- }
-
- getBasePathFromSettings(index, variables={}) {
- var servers = this.hostSettings();
-
- // check array index out of bound
- if (index < 0 || index >= servers.length) {
- throw new Error("Invalid index " + index + " when selecting the host settings. Must be less than " + servers.length);
- }
-
- var server = servers[index];
- var url = server['url'];
-
- // go through variable and assign a value
- for (var variable_name in server['variables']) {
- if (variable_name in variables) {
- let variable = server['variables'][variable_name];
- if ( !('enum_values' in variable) || variable['enum_values'].includes(variables[variable_name]) ) {
- url = url.replace("{" + variable_name + "}", variables[variable_name]);
- } else {
- throw new Error("The variable `" + variable_name + "` in the host URL has invalid value " + variables[variable_name] + ". Must be " + server['variables'][variable_name]['enum_values'] + ".");
- }
- } else {
- // use default value
- url = url.replace("{" + variable_name + "}", server['variables'][variable_name]['default_value'])
- }
- }
- return url;
- }
-
- /**
- * Constructs a new map or array model from REST data.
- * @param data {Object|Array} The REST data.
- * @param obj {Object|Array} The target object or array.
- */
- static constructFromObject(data, obj, itemType) {
- if (Array.isArray(data)) {
- for (var i = 0; i < data.length; i++) {
- if (data.hasOwnProperty(i))
- obj[i] = ApiClient.convertToType(data[i], itemType);
- }
- } else {
- for (var k in data) {
- if (data.hasOwnProperty(k))
- obj[k] = ApiClient.convertToType(data[k], itemType);
- }
- }
- };
-}
-
-/**
- * Enumeration of collection format separator strategies.
- * @enum {String}
- * @readonly
- */
-ApiClient.CollectionFormatEnum = {
- /**
- * Comma-separated values. Value: csv
- * @const
- */
- CSV: ',',
-
- /**
- * Space-separated values. Value: ssv
- * @const
- */
- SSV: ' ',
-
- /**
- * Tab-separated values. Value: tsv
- * @const
- */
- TSV: '\t',
-
- /**
- * Pipe(|)-separated values. Value: pipes
- * @const
- */
- PIPES: '|',
-
- /**
- * Native array. Value: multi
- * @const
- */
- MULTI: 'multi'
-};
-
-/**
-* The default API client implementation.
-* @type {module:ApiClient}
-*/
-ApiClient.instance = new ApiClient();
-export default ApiClient;
diff --git a/packages/continue-sdk/clients/javascript/src/api/DefaultApi.js b/packages/continue-sdk/clients/javascript/src/api/DefaultApi.js
deleted file mode 100644
index 8e22a6913..000000000
--- a/packages/continue-sdk/clients/javascript/src/api/DefaultApi.js
+++ /dev/null
@@ -1,83 +0,0 @@
-/**
- * Continue Hub IDE API
- * API for Continue IDE to fetch assistants and other related information. These endpoints are primarily used by the Continue IDE extensions for VS Code and JetBrains.
- *
- * The version of the OpenAPI document: 1.0.0
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- *
- */
-
-
-import ApiClient from "../ApiClient";
-import ListAssistants200ResponseInner from '../models/ListAssistants200ResponseInner';
-import ListAssistants401Response from '../models/ListAssistants401Response';
-import ListAssistants404Response from '../models/ListAssistants404Response';
-
-/**
-* Default service.
-* @module api/DefaultApi
-* @version 1.0.0
-*/
-export default class DefaultApi {
-
- /**
- * Constructs a new DefaultApi.
- * @alias module:api/DefaultApi
- * @class
- * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
- * default to {@link module:ApiClient#instance} if unspecified.
- */
- constructor(apiClient) {
- this.apiClient = apiClient || ApiClient.instance;
- }
-
-
- /**
- * Callback function to receive the result of the listAssistants operation.
- * @callback module:api/DefaultApi~listAssistantsCallback
- * @param {String} error Error message, if any.
- * @param {Array.
-* The index module provides access to constructors for all the classes which comprise the public API.
-*
-* var ContinueHubIdeApi = require('index'); // See note below*.
-* var xxxSvc = new ContinueHubIdeApi.XxxApi(); // Allocate the API class we're going to use.
-* var yyyModel = new ContinueHubIdeApi.Yyy(); // Construct a model instance.
-* yyyModel.someProperty = 'someValue';
-* ...
-* var zzz = xxxSvc.doSomething(yyyModel); // Invoke the service.
-* ...
-*
-* *NOTE: For a top-level AMD script, use require(['index'], function(){...})
-* and put the application logic within the callback function.
-*
-* A non-AMD browser application (discouraged) might do something like this: -*
-* var xxxSvc = new ContinueHubIdeApi.XxxApi(); // Allocate the API class we're going to use. -* var yyy = new ContinueHubIdeApi.Yyy(); // Construct a model instance. -* yyyModel.someProperty = 'someValue'; -* ... -* var zzz = xxxSvc.doSomething(yyyModel); // Invoke the service. -* ... -*-* -* @module index -* @version 1.0.0 -*/ -export { - /** - * The ApiClient constructor. - * @property {module:ApiClient} - */ - ApiClient, - - /** - * The ListAssistants200ResponseInner model constructor. - * @property {module:models/ListAssistants200ResponseInner} - */ - ListAssistants200ResponseInner, - - /** - * The ListAssistants200ResponseInnerConfigResult model constructor. - * @property {module:models/ListAssistants200ResponseInnerConfigResult} - */ - ListAssistants200ResponseInnerConfigResult, - - /** - * The ListAssistants401Response model constructor. - * @property {module:models/ListAssistants401Response} - */ - ListAssistants401Response, - - /** - * The ListAssistants404Response model constructor. - * @property {module:models/ListAssistants404Response} - */ - ListAssistants404Response, - - /** - * The DefaultApi service constructor. - * @property {module:api/DefaultApi} - */ - DefaultApi -}; diff --git a/packages/continue-sdk/clients/javascript/src/models/ListAssistants200ResponseInner.js b/packages/continue-sdk/clients/javascript/src/models/ListAssistants200ResponseInner.js deleted file mode 100644 index 48c5ada27..000000000 --- a/packages/continue-sdk/clients/javascript/src/models/ListAssistants200ResponseInner.js +++ /dev/null @@ -1,174 +0,0 @@ -/** - * Continue Hub IDE API - * API for Continue IDE to fetch assistants and other related information. These endpoints are primarily used by the Continue IDE extensions for VS Code and JetBrains. - * - * The version of the OpenAPI document: 1.0.0 - * - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -import ApiClient from '../ApiClient'; -import ListAssistants200ResponseInnerConfigResult from './ListAssistants200ResponseInnerConfigResult'; - -/** - * The ListAssistants200ResponseInner model module. - * @module models/ListAssistants200ResponseInner - * @version 1.0.0 - */ -class ListAssistants200ResponseInner { - /** - * Constructs a new
ListAssistants200ResponseInner.
- * @alias module:models/ListAssistants200ResponseInner
- * @param configResult {module:models/ListAssistants200ResponseInnerConfigResult}
- * @param ownerSlug {String} Slug of the user or organization that owns the assistant
- * @param packageSlug {String} Slug of the assistant package
- */
- constructor(configResult, ownerSlug, packageSlug) {
-
- ListAssistants200ResponseInner.initialize(this, configResult, ownerSlug, packageSlug);
- }
-
- /**
- * Initializes the fields of this object.
- * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
- * Only for internal use.
- */
- static initialize(obj, configResult, ownerSlug, packageSlug) {
- obj['configResult'] = configResult;
- obj['ownerSlug'] = ownerSlug;
- obj['packageSlug'] = packageSlug;
- }
-
- /**
- * Constructs a ListAssistants200ResponseInner from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:models/ListAssistants200ResponseInner} obj Optional instance to populate.
- * @return {module:models/ListAssistants200ResponseInner} The populated ListAssistants200ResponseInner instance.
- */
- static constructFromObject(data, obj) {
- if (data) {
- obj = obj || new ListAssistants200ResponseInner();
-
- if (data.hasOwnProperty('configResult')) {
- obj['configResult'] = ListAssistants200ResponseInnerConfigResult.constructFromObject(data['configResult']);
- }
- if (data.hasOwnProperty('ownerSlug')) {
- obj['ownerSlug'] = ApiClient.convertToType(data['ownerSlug'], 'String');
- }
- if (data.hasOwnProperty('packageSlug')) {
- obj['packageSlug'] = ApiClient.convertToType(data['packageSlug'], 'String');
- }
- if (data.hasOwnProperty('iconUrl')) {
- obj['iconUrl'] = ApiClient.convertToType(data['iconUrl'], 'String');
- }
- if (data.hasOwnProperty('onPremProxyUrl')) {
- obj['onPremProxyUrl'] = ApiClient.convertToType(data['onPremProxyUrl'], 'String');
- }
- if (data.hasOwnProperty('useOnPremProxy')) {
- obj['useOnPremProxy'] = ApiClient.convertToType(data['useOnPremProxy'], 'Boolean');
- }
- if (data.hasOwnProperty('rawYaml')) {
- obj['rawYaml'] = ApiClient.convertToType(data['rawYaml'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * Validates the JSON data with respect to ListAssistants200ResponseInner.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @return {boolean} to indicate whether the JSON data is valid with respect to ListAssistants200ResponseInner.
- */
- static validateJSON(data) {
- // check to make sure all required properties are present in the JSON string
- for (const property of ListAssistants200ResponseInner.RequiredProperties) {
- if (!data.hasOwnProperty(property)) {
- throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
- }
- }
- // validate the optional field `configResult`
- if (data['configResult']) { // data not null
- ListAssistants200ResponseInnerConfigResult.validateJSON(data['configResult']);
- }
- // ensure the json data is a string
- if (data['ownerSlug'] && !(typeof data['ownerSlug'] === 'string' || data['ownerSlug'] instanceof String)) {
- throw new Error("Expected the field `ownerSlug` to be a primitive type in the JSON string but got " + data['ownerSlug']);
- }
- // ensure the json data is a string
- if (data['packageSlug'] && !(typeof data['packageSlug'] === 'string' || data['packageSlug'] instanceof String)) {
- throw new Error("Expected the field `packageSlug` to be a primitive type in the JSON string but got " + data['packageSlug']);
- }
- // ensure the json data is a string
- if (data['iconUrl'] && !(typeof data['iconUrl'] === 'string' || data['iconUrl'] instanceof String)) {
- throw new Error("Expected the field `iconUrl` to be a primitive type in the JSON string but got " + data['iconUrl']);
- }
- // ensure the json data is a string
- if (data['onPremProxyUrl'] && !(typeof data['onPremProxyUrl'] === 'string' || data['onPremProxyUrl'] instanceof String)) {
- throw new Error("Expected the field `onPremProxyUrl` to be a primitive type in the JSON string but got " + data['onPremProxyUrl']);
- }
- // ensure the json data is a string
- if (data['rawYaml'] && !(typeof data['rawYaml'] === 'string' || data['rawYaml'] instanceof String)) {
- throw new Error("Expected the field `rawYaml` to be a primitive type in the JSON string but got " + data['rawYaml']);
- }
-
- return true;
- }
-
-
-}
-
-ListAssistants200ResponseInner.RequiredProperties = ["configResult", "ownerSlug", "packageSlug"];
-
-/**
- * @member {module:models/ListAssistants200ResponseInnerConfigResult} configResult
- */
-ListAssistants200ResponseInner.prototype['configResult'] = undefined;
-
-/**
- * Slug of the user or organization that owns the assistant
- * @member {String} ownerSlug
- */
-ListAssistants200ResponseInner.prototype['ownerSlug'] = undefined;
-
-/**
- * Slug of the assistant package
- * @member {String} packageSlug
- */
-ListAssistants200ResponseInner.prototype['packageSlug'] = undefined;
-
-/**
- * Pre-signed URL for the assistant's icon
- * @member {String} iconUrl
- */
-ListAssistants200ResponseInner.prototype['iconUrl'] = undefined;
-
-/**
- * URL of the on-premises proxy if the organization uses one
- * @member {String} onPremProxyUrl
- */
-ListAssistants200ResponseInner.prototype['onPremProxyUrl'] = undefined;
-
-/**
- * Whether the organization uses an on-premises proxy
- * @member {Boolean} useOnPremProxy
- */
-ListAssistants200ResponseInner.prototype['useOnPremProxy'] = undefined;
-
-/**
- * Raw YAML configuration of the assistant
- * @member {String} rawYaml
- */
-ListAssistants200ResponseInner.prototype['rawYaml'] = undefined;
-
-
-
-
-
-
-export default ListAssistants200ResponseInner;
-
diff --git a/packages/continue-sdk/clients/javascript/src/models/ListAssistants200ResponseInnerConfigResult.js b/packages/continue-sdk/clients/javascript/src/models/ListAssistants200ResponseInnerConfigResult.js
deleted file mode 100644
index 17da838bd..000000000
--- a/packages/continue-sdk/clients/javascript/src/models/ListAssistants200ResponseInnerConfigResult.js
+++ /dev/null
@@ -1,116 +0,0 @@
-/**
- * Continue Hub IDE API
- * API for Continue IDE to fetch assistants and other related information. These endpoints are primarily used by the Continue IDE extensions for VS Code and JetBrains.
- *
- * The version of the OpenAPI document: 1.0.0
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- *
- */
-
-import ApiClient from '../ApiClient';
-
-/**
- * The ListAssistants200ResponseInnerConfigResult model module.
- * @module models/ListAssistants200ResponseInnerConfigResult
- * @version 1.0.0
- */
-class ListAssistants200ResponseInnerConfigResult {
- /**
- * Constructs a new ListAssistants200ResponseInnerConfigResult.
- * @alias module:models/ListAssistants200ResponseInnerConfigResult
- * @param config {Object} The unrolled assistant configuration
- * @param configLoadInterrupted {Boolean} Whether the configuration loading was interrupted
- */
- constructor(config, configLoadInterrupted) {
-
- ListAssistants200ResponseInnerConfigResult.initialize(this, config, configLoadInterrupted);
- }
-
- /**
- * Initializes the fields of this object.
- * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
- * Only for internal use.
- */
- static initialize(obj, config, configLoadInterrupted) {
- obj['config'] = config;
- obj['configLoadInterrupted'] = configLoadInterrupted;
- }
-
- /**
- * Constructs a ListAssistants200ResponseInnerConfigResult from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:models/ListAssistants200ResponseInnerConfigResult} obj Optional instance to populate.
- * @return {module:models/ListAssistants200ResponseInnerConfigResult} The populated ListAssistants200ResponseInnerConfigResult instance.
- */
- static constructFromObject(data, obj) {
- if (data) {
- obj = obj || new ListAssistants200ResponseInnerConfigResult();
-
- if (data.hasOwnProperty('config')) {
- obj['config'] = ApiClient.convertToType(data['config'], Object);
- }
- if (data.hasOwnProperty('configLoadInterrupted')) {
- obj['configLoadInterrupted'] = ApiClient.convertToType(data['configLoadInterrupted'], 'Boolean');
- }
- if (data.hasOwnProperty('errors')) {
- obj['errors'] = ApiClient.convertToType(data['errors'], ['String']);
- }
- }
- return obj;
- }
-
- /**
- * Validates the JSON data with respect to ListAssistants200ResponseInnerConfigResult.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @return {boolean} to indicate whether the JSON data is valid with respect to ListAssistants200ResponseInnerConfigResult.
- */
- static validateJSON(data) {
- // check to make sure all required properties are present in the JSON string
- for (const property of ListAssistants200ResponseInnerConfigResult.RequiredProperties) {
- if (!data.hasOwnProperty(property)) {
- throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
- }
- }
- // ensure the json data is an array
- if (!Array.isArray(data['errors'])) {
- throw new Error("Expected the field `errors` to be an array in the JSON data but got " + data['errors']);
- }
-
- return true;
- }
-
-
-}
-
-ListAssistants200ResponseInnerConfigResult.RequiredProperties = ["config", "configLoadInterrupted"];
-
-/**
- * The unrolled assistant configuration
- * @member {Object} config
- */
-ListAssistants200ResponseInnerConfigResult.prototype['config'] = undefined;
-
-/**
- * Whether the configuration loading was interrupted
- * @member {Boolean} configLoadInterrupted
- */
-ListAssistants200ResponseInnerConfigResult.prototype['configLoadInterrupted'] = undefined;
-
-/**
- * Any errors that occurred during configuration loading
- * @member {Array.ListAssistants401Response.
- * @alias module:models/ListAssistants401Response
- */
- constructor() {
-
- ListAssistants401Response.initialize(this);
- }
-
- /**
- * Initializes the fields of this object.
- * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
- * Only for internal use.
- */
- static initialize(obj) {
- }
-
- /**
- * Constructs a ListAssistants401Response from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:models/ListAssistants401Response} obj Optional instance to populate.
- * @return {module:models/ListAssistants401Response} The populated ListAssistants401Response instance.
- */
- static constructFromObject(data, obj) {
- if (data) {
- obj = obj || new ListAssistants401Response();
-
- if (data.hasOwnProperty('message')) {
- obj['message'] = ApiClient.convertToType(data['message'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * Validates the JSON data with respect to ListAssistants401Response.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @return {boolean} to indicate whether the JSON data is valid with respect to ListAssistants401Response.
- */
- static validateJSON(data) {
- // ensure the json data is a string
- if (data['message'] && !(typeof data['message'] === 'string' || data['message'] instanceof String)) {
- throw new Error("Expected the field `message` to be a primitive type in the JSON string but got " + data['message']);
- }
-
- return true;
- }
-
-
-}
-
-
-
-/**
- * @member {String} message
- */
-ListAssistants401Response.prototype['message'] = undefined;
-
-
-
-
-
-
-export default ListAssistants401Response;
-
diff --git a/packages/continue-sdk/clients/javascript/src/models/ListAssistants404Response.js b/packages/continue-sdk/clients/javascript/src/models/ListAssistants404Response.js
deleted file mode 100644
index 1c722b281..000000000
--- a/packages/continue-sdk/clients/javascript/src/models/ListAssistants404Response.js
+++ /dev/null
@@ -1,87 +0,0 @@
-/**
- * Continue Hub IDE API
- * API for Continue IDE to fetch assistants and other related information. These endpoints are primarily used by the Continue IDE extensions for VS Code and JetBrains.
- *
- * The version of the OpenAPI document: 1.0.0
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- *
- */
-
-import ApiClient from '../ApiClient';
-
-/**
- * The ListAssistants404Response model module.
- * @module models/ListAssistants404Response
- * @version 1.0.0
- */
-class ListAssistants404Response {
- /**
- * Constructs a new ListAssistants404Response.
- * @alias module:models/ListAssistants404Response
- */
- constructor() {
-
- ListAssistants404Response.initialize(this);
- }
-
- /**
- * Initializes the fields of this object.
- * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
- * Only for internal use.
- */
- static initialize(obj) {
- }
-
- /**
- * Constructs a ListAssistants404Response from a plain JavaScript object, optionally creating a new instance.
- * Copies all relevant properties from data to obj if supplied or a new instance if not.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @param {module:models/ListAssistants404Response} obj Optional instance to populate.
- * @return {module:models/ListAssistants404Response} The populated ListAssistants404Response instance.
- */
- static constructFromObject(data, obj) {
- if (data) {
- obj = obj || new ListAssistants404Response();
-
- if (data.hasOwnProperty('message')) {
- obj['message'] = ApiClient.convertToType(data['message'], 'String');
- }
- }
- return obj;
- }
-
- /**
- * Validates the JSON data with respect to ListAssistants404Response.
- * @param {Object} data The plain JavaScript object bearing properties of interest.
- * @return {boolean} to indicate whether the JSON data is valid with respect to ListAssistants404Response.
- */
- static validateJSON(data) {
- // ensure the json data is a string
- if (data['message'] && !(typeof data['message'] === 'string' || data['message'] instanceof String)) {
- throw new Error("Expected the field `message` to be a primitive type in the JSON string but got " + data['message']);
- }
-
- return true;
- }
-
-
-}
-
-
-
-/**
- * @member {String} message
- */
-ListAssistants404Response.prototype['message'] = undefined;
-
-
-
-
-
-
-export default ListAssistants404Response;
-
diff --git a/packages/continue-sdk/clients/javascript/test/api/DefaultApi.spec.js b/packages/continue-sdk/clients/javascript/test/api/DefaultApi.spec.js
deleted file mode 100644
index 4d59e595a..000000000
--- a/packages/continue-sdk/clients/javascript/test/api/DefaultApi.spec.js
+++ /dev/null
@@ -1,63 +0,0 @@
-/**
- * Continue Hub IDE API
- * API for Continue IDE to fetch assistants and other related information. These endpoints are primarily used by the Continue IDE extensions for VS Code and JetBrains.
- *
- * The version of the OpenAPI document: 1.0.0
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD.
- define(['expect.js', process.cwd()+'/src/index'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- factory(require('expect.js'), require(process.cwd()+'/src/index'));
- } else {
- // Browser globals (root is window)
- factory(root.expect, root.ContinueHubIdeApi);
- }
-}(this, function(expect, ContinueHubIdeApi) {
- 'use strict';
-
- var instance;
-
- beforeEach(function() {
- instance = new ContinueHubIdeApi.DefaultApi();
- });
-
- var getProperty = function(object, getter, property) {
- // Use getter method if present; otherwise, get the property directly.
- if (typeof object[getter] === 'function')
- return object[getter]();
- else
- return object[property];
- }
-
- var setProperty = function(object, setter, property, value) {
- // Use setter method if present; otherwise, set the property directly.
- if (typeof object[setter] === 'function')
- object[setter](value);
- else
- object[property] = value;
- }
-
- describe('DefaultApi', function() {
- describe('listAssistants', function() {
- it('should call listAssistants successfully', function(done) {
- //uncomment below and update the code to test listAssistants
- //instance.listAssistants(function(error) {
- // if (error) throw error;
- //expect().to.be();
- //});
- done();
- });
- });
- });
-
-}));
diff --git a/packages/continue-sdk/clients/javascript/test/model/ListAssistants200ResponseInner.spec.js b/packages/continue-sdk/clients/javascript/test/model/ListAssistants200ResponseInner.spec.js
deleted file mode 100644
index 83b0b98d6..000000000
--- a/packages/continue-sdk/clients/javascript/test/model/ListAssistants200ResponseInner.spec.js
+++ /dev/null
@@ -1,101 +0,0 @@
-/**
- * Continue Hub IDE API
- * API for Continue IDE to fetch assistants and other related information. These endpoints are primarily used by the Continue IDE extensions for VS Code and JetBrains.
- *
- * The version of the OpenAPI document: 1.0.0
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD.
- define(['expect.js', process.cwd()+'/src/index'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- factory(require('expect.js'), require(process.cwd()+'/src/index'));
- } else {
- // Browser globals (root is window)
- factory(root.expect, root.ContinueHubIdeApi);
- }
-}(this, function(expect, ContinueHubIdeApi) {
- 'use strict';
-
- var instance;
-
- beforeEach(function() {
- instance = new ContinueHubIdeApi.ListAssistants200ResponseInner();
- });
-
- var getProperty = function(object, getter, property) {
- // Use getter method if present; otherwise, get the property directly.
- if (typeof object[getter] === 'function')
- return object[getter]();
- else
- return object[property];
- }
-
- var setProperty = function(object, setter, property, value) {
- // Use setter method if present; otherwise, set the property directly.
- if (typeof object[setter] === 'function')
- object[setter](value);
- else
- object[property] = value;
- }
-
- describe('ListAssistants200ResponseInner', function() {
- it('should create an instance of ListAssistants200ResponseInner', function() {
- // uncomment below and update the code to test ListAssistants200ResponseInner
- //var instance = new ContinueHubIdeApi.ListAssistants200ResponseInner();
- //expect(instance).to.be.a(ContinueHubIdeApi.ListAssistants200ResponseInner);
- });
-
- it('should have the property configResult (base name: "configResult")', function() {
- // uncomment below and update the code to test the property configResult
- //var instance = new ContinueHubIdeApi.ListAssistants200ResponseInner();
- //expect(instance).to.be();
- });
-
- it('should have the property ownerSlug (base name: "ownerSlug")', function() {
- // uncomment below and update the code to test the property ownerSlug
- //var instance = new ContinueHubIdeApi.ListAssistants200ResponseInner();
- //expect(instance).to.be();
- });
-
- it('should have the property packageSlug (base name: "packageSlug")', function() {
- // uncomment below and update the code to test the property packageSlug
- //var instance = new ContinueHubIdeApi.ListAssistants200ResponseInner();
- //expect(instance).to.be();
- });
-
- it('should have the property iconUrl (base name: "iconUrl")', function() {
- // uncomment below and update the code to test the property iconUrl
- //var instance = new ContinueHubIdeApi.ListAssistants200ResponseInner();
- //expect(instance).to.be();
- });
-
- it('should have the property onPremProxyUrl (base name: "onPremProxyUrl")', function() {
- // uncomment below and update the code to test the property onPremProxyUrl
- //var instance = new ContinueHubIdeApi.ListAssistants200ResponseInner();
- //expect(instance).to.be();
- });
-
- it('should have the property useOnPremProxy (base name: "useOnPremProxy")', function() {
- // uncomment below and update the code to test the property useOnPremProxy
- //var instance = new ContinueHubIdeApi.ListAssistants200ResponseInner();
- //expect(instance).to.be();
- });
-
- it('should have the property rawYaml (base name: "rawYaml")', function() {
- // uncomment below and update the code to test the property rawYaml
- //var instance = new ContinueHubIdeApi.ListAssistants200ResponseInner();
- //expect(instance).to.be();
- });
-
- });
-
-}));
diff --git a/packages/continue-sdk/clients/javascript/test/model/ListAssistants200ResponseInnerConfigResult.spec.js b/packages/continue-sdk/clients/javascript/test/model/ListAssistants200ResponseInnerConfigResult.spec.js
deleted file mode 100644
index 3117caa44..000000000
--- a/packages/continue-sdk/clients/javascript/test/model/ListAssistants200ResponseInnerConfigResult.spec.js
+++ /dev/null
@@ -1,77 +0,0 @@
-/**
- * Continue Hub IDE API
- * API for Continue IDE to fetch assistants and other related information. These endpoints are primarily used by the Continue IDE extensions for VS Code and JetBrains.
- *
- * The version of the OpenAPI document: 1.0.0
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD.
- define(['expect.js', process.cwd()+'/src/index'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- factory(require('expect.js'), require(process.cwd()+'/src/index'));
- } else {
- // Browser globals (root is window)
- factory(root.expect, root.ContinueHubIdeApi);
- }
-}(this, function(expect, ContinueHubIdeApi) {
- 'use strict';
-
- var instance;
-
- beforeEach(function() {
- instance = new ContinueHubIdeApi.ListAssistants200ResponseInnerConfigResult();
- });
-
- var getProperty = function(object, getter, property) {
- // Use getter method if present; otherwise, get the property directly.
- if (typeof object[getter] === 'function')
- return object[getter]();
- else
- return object[property];
- }
-
- var setProperty = function(object, setter, property, value) {
- // Use setter method if present; otherwise, set the property directly.
- if (typeof object[setter] === 'function')
- object[setter](value);
- else
- object[property] = value;
- }
-
- describe('ListAssistants200ResponseInnerConfigResult', function() {
- it('should create an instance of ListAssistants200ResponseInnerConfigResult', function() {
- // uncomment below and update the code to test ListAssistants200ResponseInnerConfigResult
- //var instance = new ContinueHubIdeApi.ListAssistants200ResponseInnerConfigResult();
- //expect(instance).to.be.a(ContinueHubIdeApi.ListAssistants200ResponseInnerConfigResult);
- });
-
- it('should have the property config (base name: "config")', function() {
- // uncomment below and update the code to test the property config
- //var instance = new ContinueHubIdeApi.ListAssistants200ResponseInnerConfigResult();
- //expect(instance).to.be();
- });
-
- it('should have the property configLoadInterrupted (base name: "configLoadInterrupted")', function() {
- // uncomment below and update the code to test the property configLoadInterrupted
- //var instance = new ContinueHubIdeApi.ListAssistants200ResponseInnerConfigResult();
- //expect(instance).to.be();
- });
-
- it('should have the property errors (base name: "errors")', function() {
- // uncomment below and update the code to test the property errors
- //var instance = new ContinueHubIdeApi.ListAssistants200ResponseInnerConfigResult();
- //expect(instance).to.be();
- });
-
- });
-
-}));
diff --git a/packages/continue-sdk/clients/javascript/test/model/ListAssistants401Response.spec.js b/packages/continue-sdk/clients/javascript/test/model/ListAssistants401Response.spec.js
deleted file mode 100644
index 4e1b7c39f..000000000
--- a/packages/continue-sdk/clients/javascript/test/model/ListAssistants401Response.spec.js
+++ /dev/null
@@ -1,65 +0,0 @@
-/**
- * Continue Hub IDE API
- * API for Continue IDE to fetch assistants and other related information. These endpoints are primarily used by the Continue IDE extensions for VS Code and JetBrains.
- *
- * The version of the OpenAPI document: 1.0.0
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD.
- define(['expect.js', process.cwd()+'/src/index'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- factory(require('expect.js'), require(process.cwd()+'/src/index'));
- } else {
- // Browser globals (root is window)
- factory(root.expect, root.ContinueHubIdeApi);
- }
-}(this, function(expect, ContinueHubIdeApi) {
- 'use strict';
-
- var instance;
-
- beforeEach(function() {
- instance = new ContinueHubIdeApi.ListAssistants401Response();
- });
-
- var getProperty = function(object, getter, property) {
- // Use getter method if present; otherwise, get the property directly.
- if (typeof object[getter] === 'function')
- return object[getter]();
- else
- return object[property];
- }
-
- var setProperty = function(object, setter, property, value) {
- // Use setter method if present; otherwise, set the property directly.
- if (typeof object[setter] === 'function')
- object[setter](value);
- else
- object[property] = value;
- }
-
- describe('ListAssistants401Response', function() {
- it('should create an instance of ListAssistants401Response', function() {
- // uncomment below and update the code to test ListAssistants401Response
- //var instance = new ContinueHubIdeApi.ListAssistants401Response();
- //expect(instance).to.be.a(ContinueHubIdeApi.ListAssistants401Response);
- });
-
- it('should have the property message (base name: "message")', function() {
- // uncomment below and update the code to test the property message
- //var instance = new ContinueHubIdeApi.ListAssistants401Response();
- //expect(instance).to.be();
- });
-
- });
-
-}));
diff --git a/packages/continue-sdk/clients/javascript/test/model/ListAssistants404Response.spec.js b/packages/continue-sdk/clients/javascript/test/model/ListAssistants404Response.spec.js
deleted file mode 100644
index 9582fa6e4..000000000
--- a/packages/continue-sdk/clients/javascript/test/model/ListAssistants404Response.spec.js
+++ /dev/null
@@ -1,65 +0,0 @@
-/**
- * Continue Hub IDE API
- * API for Continue IDE to fetch assistants and other related information. These endpoints are primarily used by the Continue IDE extensions for VS Code and JetBrains.
- *
- * The version of the OpenAPI document: 1.0.0
- *
- *
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- * https://openapi-generator.tech
- * Do not edit the class manually.
- *
- */
-
-(function(root, factory) {
- if (typeof define === 'function' && define.amd) {
- // AMD.
- define(['expect.js', process.cwd()+'/src/index'], factory);
- } else if (typeof module === 'object' && module.exports) {
- // CommonJS-like environments that support module.exports, like Node.
- factory(require('expect.js'), require(process.cwd()+'/src/index'));
- } else {
- // Browser globals (root is window)
- factory(root.expect, root.ContinueHubIdeApi);
- }
-}(this, function(expect, ContinueHubIdeApi) {
- 'use strict';
-
- var instance;
-
- beforeEach(function() {
- instance = new ContinueHubIdeApi.ListAssistants404Response();
- });
-
- var getProperty = function(object, getter, property) {
- // Use getter method if present; otherwise, get the property directly.
- if (typeof object[getter] === 'function')
- return object[getter]();
- else
- return object[property];
- }
-
- var setProperty = function(object, setter, property, value) {
- // Use setter method if present; otherwise, set the property directly.
- if (typeof object[setter] === 'function')
- object[setter](value);
- else
- object[property] = value;
- }
-
- describe('ListAssistants404Response', function() {
- it('should create an instance of ListAssistants404Response', function() {
- // uncomment below and update the code to test ListAssistants404Response
- //var instance = new ContinueHubIdeApi.ListAssistants404Response();
- //expect(instance).to.be.a(ContinueHubIdeApi.ListAssistants404Response);
- });
-
- it('should have the property message (base name: "message")', function() {
- // uncomment below and update the code to test the property message
- //var instance = new ContinueHubIdeApi.ListAssistants404Response();
- //expect(instance).to.be();
- });
-
- });
-
-}));
diff --git a/packages/continue-sdk/clients/php/.gitignore b/packages/continue-sdk/clients/php/.gitignore
deleted file mode 100644
index 9f1681c2b..000000000
--- a/packages/continue-sdk/clients/php/.gitignore
+++ /dev/null
@@ -1,15 +0,0 @@
-# ref: https://github.com/github/gitignore/blob/master/Composer.gitignore
-
-composer.phar
-/vendor/
-
-# Commit your application's lock file https://getcomposer.org/doc/01-basic-usage.md#commit-your-composer-lock-file-to-version-control
-# You may choose to ignore a library lock file http://getcomposer.org/doc/02-libraries.md#lock-file
-# composer.lock
-
-# php-cs-fixer cache
-.php_cs.cache
-.php-cs-fixer.cache
-
-# PHPUnit cache
-.phpunit.result.cache
diff --git a/packages/continue-sdk/clients/php/.openapi-generator-ignore b/packages/continue-sdk/clients/php/.openapi-generator-ignore
deleted file mode 100644
index 7484ee590..000000000
--- a/packages/continue-sdk/clients/php/.openapi-generator-ignore
+++ /dev/null
@@ -1,23 +0,0 @@
-# OpenAPI Generator Ignore
-# Generated by openapi-generator https://github.com/openapitools/openapi-generator
-
-# Use this file to prevent files from being overwritten by the generator.
-# The patterns follow closely to .gitignore or .dockerignore.
-
-# As an example, the C# client generator defines ApiClient.cs.
-# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line:
-#ApiClient.cs
-
-# You can match any string of characters against a directory, file or extension with a single asterisk (*):
-#foo/*/qux
-# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
-
-# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
-#foo/**/qux
-# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
-
-# You can also negate patterns with an exclamation (!).
-# For example, you can ignore all files in a docs folder with the file extension .md:
-#docs/*.md
-# Then explicitly reverse the ignore rule for a single file:
-#!docs/README.md
diff --git a/packages/continue-sdk/clients/php/.openapi-generator/FILES b/packages/continue-sdk/clients/php/.openapi-generator/FILES
deleted file mode 100644
index b53111761..000000000
--- a/packages/continue-sdk/clients/php/.openapi-generator/FILES
+++ /dev/null
@@ -1,28 +0,0 @@
-.gitignore
-.openapi-generator-ignore
-.php-cs-fixer.dist.php
-.travis.yml
-README.md
-composer.json
-docs/Api/DefaultApi.md
-docs/Model/ListAssistants200ResponseInner.md
-docs/Model/ListAssistants200ResponseInnerConfigResult.md
-docs/Model/ListAssistants401Response.md
-docs/Model/ListAssistants404Response.md
-git_push.sh
-lib/ApiException.php
-lib/Configuration.php
-lib/HeaderSelector.php
-lib/ObjectSerializer.php
-lib/api/DefaultApi.php
-lib/models/ListAssistants200ResponseInner.php
-lib/models/ListAssistants200ResponseInnerConfigResult.php
-lib/models/ListAssistants401Response.php
-lib/models/ListAssistants404Response.php
-lib/models/ModelInterface.php
-phpunit.xml.dist
-test/Api/DefaultApiTest.php
-test/Model/ListAssistants200ResponseInnerConfigResultTest.php
-test/Model/ListAssistants200ResponseInnerTest.php
-test/Model/ListAssistants401ResponseTest.php
-test/Model/ListAssistants404ResponseTest.php
diff --git a/packages/continue-sdk/clients/php/.openapi-generator/VERSION b/packages/continue-sdk/clients/php/.openapi-generator/VERSION
deleted file mode 100644
index 5f84a81db..000000000
--- a/packages/continue-sdk/clients/php/.openapi-generator/VERSION
+++ /dev/null
@@ -1 +0,0 @@
-7.12.0
diff --git a/packages/continue-sdk/clients/php/.php-cs-fixer.dist.php b/packages/continue-sdk/clients/php/.php-cs-fixer.dist.php
deleted file mode 100644
index af9cf39fd..000000000
--- a/packages/continue-sdk/clients/php/.php-cs-fixer.dist.php
+++ /dev/null
@@ -1,29 +0,0 @@
-in(__DIR__)
- ->exclude('vendor')
- ->exclude('test')
- ->exclude('tests')
-;
-
-$config = new PhpCsFixer\Config();
-return $config->setRules([
- '@PSR12' => true,
- 'phpdoc_order' => true,
- 'array_syntax' => [ 'syntax' => 'short' ],
- 'strict_comparison' => true,
- 'strict_param' => true,
- 'no_trailing_whitespace' => false,
- 'no_trailing_whitespace_in_comment' => false,
- 'braces' => false,
- 'single_blank_line_at_eof' => false,
- 'blank_line_after_namespace' => false,
- 'no_leading_import_slash' => false,
- ])
- ->setFinder($finder)
-;
diff --git a/packages/continue-sdk/clients/php/.travis.yml b/packages/continue-sdk/clients/php/.travis.yml
deleted file mode 100644
index 667b81565..000000000
--- a/packages/continue-sdk/clients/php/.travis.yml
+++ /dev/null
@@ -1,8 +0,0 @@
-language: php
-# Bionic environment has preinstalled PHP from 7.1 to 7.4
-# https://docs.travis-ci.com/user/reference/bionic/#php-support
-dist: bionic
-php:
- - 7.4
-before_install: "composer install"
-script: "vendor/bin/phpunit"
diff --git a/packages/continue-sdk/clients/php/README.md b/packages/continue-sdk/clients/php/README.md
deleted file mode 100644
index 975aea07a..000000000
--- a/packages/continue-sdk/clients/php/README.md
+++ /dev/null
@@ -1,118 +0,0 @@
-# OpenAPIClient-php
-
-API for Continue IDE to fetch assistants and other related information.
-These endpoints are primarily used by the Continue IDE extensions for VS Code and JetBrains.
-
-
-For more information, please visit [https://continue.dev](https://continue.dev).
-
-## Installation & Usage
-
-### Requirements
-
-PHP 7.4 and later.
-Should also work with PHP 8.0.
-
-### Composer
-
-To install the bindings via [Composer](https://getcomposer.org/), add the following to `composer.json`:
-
-```json
-{
- "repositories": [
- {
- "type": "vcs",
- "url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git"
- }
- ],
- "require": {
- "GIT_USER_ID/GIT_REPO_ID": "*@dev"
- }
-}
-```
-
-Then run `composer install`
-
-### Manual Installation
-
-Download the files and include `autoload.php`:
-
-```php
-setAccessToken('YOUR_ACCESS_TOKEN');
-
-
-$apiInstance = new OpenAPI\Client\Api\DefaultApi(
- // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
- // This is optional, `GuzzleHttp\Client` will be used as default.
- new GuzzleHttp\Client(),
- $config
-);
-$always_use_proxy = 'always_use_proxy_example'; // string | Whether to always use the Continue-managed proxy for model requests
-$organization_id = 'organization_id_example'; // string | ID of the organization to scope assistants to. If not provided, personal assistants are returned.
-
-try {
- $result = $apiInstance->listAssistants($always_use_proxy, $organization_id);
- print_r($result);
-} catch (Exception $e) {
- echo 'Exception when calling DefaultApi->listAssistants: ', $e->getMessage(), PHP_EOL;
-}
-
-```
-
-## API Endpoints
-
-All URIs are relative to *https://api.continue.dev*
-
-Class | Method | HTTP request | Description
------------- | ------------- | ------------- | -------------
-*DefaultApi* | [**listAssistants**](docs/Api/DefaultApi.md#listassistants) | **GET** /ide/list-assistants | List assistants for IDE
-
-## Models
-
-- [ListAssistants200ResponseInner](docs/Model/ListAssistants200ResponseInner.md)
-- [ListAssistants200ResponseInnerConfigResult](docs/Model/ListAssistants200ResponseInnerConfigResult.md)
-- [ListAssistants401Response](docs/Model/ListAssistants401Response.md)
-- [ListAssistants404Response](docs/Model/ListAssistants404Response.md)
-
-## Authorization
-
-Authentication schemes defined for the API:
-### apiKeyAuth
-
-- **Type**: Bearer authentication
-
-## Tests
-
-To run the tests, use:
-
-```bash
-composer install
-vendor/bin/phpunit
-```
-
-## Author
-
-
-
-## About this package
-
-This PHP package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
-
-- API version: `1.0.0`
- - Generator version: `7.12.0`
-- Build package: `org.openapitools.codegen.languages.PhpClientCodegen`
diff --git a/packages/continue-sdk/clients/php/composer.json b/packages/continue-sdk/clients/php/composer.json
deleted file mode 100644
index 5ec126cc5..000000000
--- a/packages/continue-sdk/clients/php/composer.json
+++ /dev/null
@@ -1,38 +0,0 @@
-{
- "description": "API for Continue IDE to fetch assistants and other related information. These endpoints are primarily used by the Continue IDE extensions for VS Code and JetBrains.",
- "keywords": [
- "openapitools",
- "openapi-generator",
- "openapi",
- "php",
- "sdk",
- "rest",
- "api"
- ],
- "homepage": "https://openapi-generator.tech",
- "license": "unlicense",
- "authors": [
- {
- "name": "OpenAPI",
- "homepage": "https://openapi-generator.tech"
- }
- ],
- "require": {
- "php": "^7.4 || ^8.0",
- "ext-curl": "*",
- "ext-json": "*",
- "ext-mbstring": "*",
- "guzzlehttp/guzzle": "^7.3",
- "guzzlehttp/psr7": "^1.7 || ^2.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^8.0 || ^9.0",
- "friendsofphp/php-cs-fixer": "^3.5"
- },
- "autoload": {
- "psr-4": { "OpenAPI\\Client\\" : "lib/" }
- },
- "autoload-dev": {
- "psr-4": { "OpenAPI\\Client\\Test\\" : "test/" }
- }
-}
diff --git a/packages/continue-sdk/clients/php/docs/Api/DefaultApi.md b/packages/continue-sdk/clients/php/docs/Api/DefaultApi.md
deleted file mode 100644
index ae2de2642..000000000
--- a/packages/continue-sdk/clients/php/docs/Api/DefaultApi.md
+++ /dev/null
@@ -1,70 +0,0 @@
-# OpenAPI\Client\DefaultApi
-
-All URIs are relative to https://api.continue.dev, except if the operation defines another base path.
-
-| Method | HTTP request | Description |
-| ------------- | ------------- | ------------- |
-| [**listAssistants()**](DefaultApi.md#listAssistants) | **GET** /ide/list-assistants | List assistants for IDE |
-
-
-## `listAssistants()`
-
-```php
-listAssistants($always_use_proxy, $organization_id): \OpenAPI\Client\models\ListAssistants200ResponseInner[]
-```
-
-List assistants for IDE
-
-Returns a complete list of assistants available to the user, with their full configurations, icons, and other metadata needed by the IDE to display and use them. This endpoint performs a full refresh of the list of assistants, including unrolling configurations and resolving secrets.
-
-### Example
-
-```php
-setAccessToken('YOUR_ACCESS_TOKEN');
-
-
-$apiInstance = new OpenAPI\Client\Api\DefaultApi(
- // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
- // This is optional, `GuzzleHttp\Client` will be used as default.
- new GuzzleHttp\Client(),
- $config
-);
-$always_use_proxy = 'always_use_proxy_example'; // string | Whether to always use the Continue-managed proxy for model requests
-$organization_id = 'organization_id_example'; // string | ID of the organization to scope assistants to. If not provided, personal assistants are returned.
-
-try {
- $result = $apiInstance->listAssistants($always_use_proxy, $organization_id);
- print_r($result);
-} catch (Exception $e) {
- echo 'Exception when calling DefaultApi->listAssistants: ', $e->getMessage(), PHP_EOL;
-}
-```
-
-### Parameters
-
-| Name | Type | Description | Notes |
-| ------------- | ------------- | ------------- | ------------- |
-| **always_use_proxy** | **string**| Whether to always use the Continue-managed proxy for model requests | [optional] |
-| **organization_id** | **string**| ID of the organization to scope assistants to. If not provided, personal assistants are returned. | [optional] |
-
-### Return type
-
-[**\OpenAPI\Client\models\ListAssistants200ResponseInner[]**](../Model/ListAssistants200ResponseInner.md)
-
-### Authorization
-
-[apiKeyAuth](../../README.md#apiKeyAuth)
-
-### HTTP request headers
-
-- **Content-Type**: Not defined
-- **Accept**: `application/json`
-
-[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
-[[Back to Model list]](../../README.md#models)
-[[Back to README]](../../README.md)
diff --git a/packages/continue-sdk/clients/php/docs/Model/ListAssistants200ResponseInner.md b/packages/continue-sdk/clients/php/docs/Model/ListAssistants200ResponseInner.md
deleted file mode 100644
index 82cf30351..000000000
--- a/packages/continue-sdk/clients/php/docs/Model/ListAssistants200ResponseInner.md
+++ /dev/null
@@ -1,15 +0,0 @@
-# # ListAssistants200ResponseInner
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**config_result** | [**\OpenAPI\Client\models\ListAssistants200ResponseInnerConfigResult**](ListAssistants200ResponseInnerConfigResult.md) | |
-**owner_slug** | **string** | Slug of the user or organization that owns the assistant |
-**package_slug** | **string** | Slug of the assistant package |
-**icon_url** | **string** | Pre-signed URL for the assistant's icon | [optional]
-**on_prem_proxy_url** | **string** | URL of the on-premises proxy if the organization uses one | [optional]
-**use_on_prem_proxy** | **bool** | Whether the organization uses an on-premises proxy | [optional]
-**raw_yaml** | **string** | Raw YAML configuration of the assistant | [optional]
-
-[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
diff --git a/packages/continue-sdk/clients/php/docs/Model/ListAssistants200ResponseInnerConfigResult.md b/packages/continue-sdk/clients/php/docs/Model/ListAssistants200ResponseInnerConfigResult.md
deleted file mode 100644
index 8505c2161..000000000
--- a/packages/continue-sdk/clients/php/docs/Model/ListAssistants200ResponseInnerConfigResult.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# # ListAssistants200ResponseInnerConfigResult
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**config** | **object** | The unrolled assistant configuration |
-**config_load_interrupted** | **bool** | Whether the configuration loading was interrupted |
-**errors** | **string[]** | Any errors that occurred during configuration loading | [optional]
-
-[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
diff --git a/packages/continue-sdk/clients/php/docs/Model/ListAssistants401Response.md b/packages/continue-sdk/clients/php/docs/Model/ListAssistants401Response.md
deleted file mode 100644
index 69c9d2800..000000000
--- a/packages/continue-sdk/clients/php/docs/Model/ListAssistants401Response.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# # ListAssistants401Response
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**message** | **string** | | [optional]
-
-[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
diff --git a/packages/continue-sdk/clients/php/docs/Model/ListAssistants404Response.md b/packages/continue-sdk/clients/php/docs/Model/ListAssistants404Response.md
deleted file mode 100644
index 0c4ff1bf2..000000000
--- a/packages/continue-sdk/clients/php/docs/Model/ListAssistants404Response.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# # ListAssistants404Response
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**message** | **string** | | [optional]
-
-[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
diff --git a/packages/continue-sdk/clients/php/git_push.sh b/packages/continue-sdk/clients/php/git_push.sh
deleted file mode 100644
index f53a75d4f..000000000
--- a/packages/continue-sdk/clients/php/git_push.sh
+++ /dev/null
@@ -1,57 +0,0 @@
-#!/bin/sh
-# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
-#
-# Usage example: /bin/sh ./git_push.sh wing328 openapi-petstore-perl "minor update" "gitlab.com"
-
-git_user_id=$1
-git_repo_id=$2
-release_note=$3
-git_host=$4
-
-if [ "$git_host" = "" ]; then
- git_host="github.com"
- echo "[INFO] No command line input provided. Set \$git_host to $git_host"
-fi
-
-if [ "$git_user_id" = "" ]; then
- git_user_id="GIT_USER_ID"
- echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
-fi
-
-if [ "$git_repo_id" = "" ]; then
- git_repo_id="GIT_REPO_ID"
- echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
-fi
-
-if [ "$release_note" = "" ]; then
- release_note="Minor update"
- echo "[INFO] No command line input provided. Set \$release_note to $release_note"
-fi
-
-# Initialize the local directory as a Git repository
-git init
-
-# Adds the files in the local repository and stages them for commit.
-git add .
-
-# Commits the tracked changes and prepares them to be pushed to a remote repository.
-git commit -m "$release_note"
-
-# Sets the new remote
-git_remote=$(git remote)
-if [ "$git_remote" = "" ]; then # git remote not defined
-
- if [ "$GIT_TOKEN" = "" ]; then
- echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
- git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git
- else
- git remote add origin https://${git_user_id}:"${GIT_TOKEN}"@${git_host}/${git_user_id}/${git_repo_id}.git
- fi
-
-fi
-
-git pull origin master
-
-# Pushes (Forces) the changes in the local repository up to the remote repository
-echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git"
-git push origin master 2>&1 | grep -v 'To https'
diff --git a/packages/continue-sdk/clients/php/phpunit.xml.dist b/packages/continue-sdk/clients/php/phpunit.xml.dist
deleted file mode 100644
index aed112ac8..000000000
--- a/packages/continue-sdk/clients/php/phpunit.xml.dist
+++ /dev/null
@@ -1,18 +0,0 @@
-
-