update package.json

This commit is contained in:
Nate Sesti 2024-08-01 23:29:40 -07:00
parent 09f0a844c7
commit 47318467f1
7 changed files with 220 additions and 5 deletions

View file

@ -2299,6 +2299,56 @@
}
}
},
"analytics": {
"type": "object",
"properties": {
"provider": {
"type": "string",
"enum": ["posthog", "logstash"],
"description": "The 3rd party analytics provider to use.",
"default": "posthog",
"markdownEnumDescriptions": [
"### Posthog\nTo use Posthog, set up an account, obtain your client key, and enter it in the client key field.",
"### Logstash\nContinue's Logstash integration uses the TCP input at the specified URL"
]
},
"url": {
"type": "string",
"description": "The URL to which analytics will be sent"
},
"clientKey": {
"type": "string",
"description": "The client key to use for analytics"
}
},
"required": ["provider"],
"allOf": [
{
"if": {
"properties": {
"provider": {
"enum": ["posthog"]
}
}
},
"then": {
"required": ["clientKey"]
}
},
{
"if": {
"properties": {
"provider": {
"enum": ["logstash"]
}
}
},
"then": {
"required": ["url"]
}
}
]
},
"experimental": {
"type": "object",
"title": "Experimental",

View file

@ -1982,7 +1982,7 @@
},
"embeddingsProvider": {
"title": "Embeddings Provider",
"markdownDescription": "The method that will be used to generate codebase embeddings. The default is transformers.js, which will run locally in the browser. Learn about the other options [here](https://docs.continue.dev/walkthroughs/codebase-embeddings#embeddings-providers).",
"markdownDescription": "The method that will be used to generate codebase embeddings. The default is transformers.js, which will run locally in the browser. Learn about the other options [here](https://docs.continue.dev/features/codebase-embeddings#embeddings-providers).",
"type": "object",
"properties": {
"provider": {
@ -2220,7 +2220,7 @@
"tabAutocompleteOptions": {
"title": "TabAutocompleteOptions",
"type": "object",
"markdownDescription": "These options let you customize your tab-autocomplete experience. Read about all options in [the docs](https://docs.continue.dev/walkthroughs/tab-autocomplete#configuration-options).",
"markdownDescription": "These options let you customize your tab-autocomplete experience. Read about all options in [the docs](https://docs.continue.dev/features/tab-autocomplete#configuration-options).",
"properties": {
"disable": {
"type": "boolean",
@ -2299,6 +2299,56 @@
}
}
},
"analytics": {
"type": "object",
"properties": {
"provider": {
"type": "string",
"enum": ["posthog", "logstash"],
"description": "The 3rd party analytics provider to use.",
"default": "posthog",
"markdownEnumDescriptions": [
"### Posthog\nTo use Posthog, set up an account, obtain your client key, and enter it in the client key field.",
"### Logstash\nContinue's Logstash integration uses the TCP input at the specified URL"
]
},
"url": {
"type": "string",
"description": "The URL to which analytics will be sent"
},
"clientKey": {
"type": "string",
"description": "The client key to use for analytics"
}
},
"required": ["provider"],
"allOf": [
{
"if": {
"properties": {
"provider": {
"enum": ["posthog"]
}
}
},
"then": {
"required": ["clientKey"]
}
},
{
"if": {
"properties": {
"provider": {
"enum": ["logstash"]
}
}
},
"then": {
"required": ["url"]
}
}
]
},
"experimental": {
"type": "object",
"title": "Experimental",

View file

@ -2299,6 +2299,56 @@
}
}
},
"analytics": {
"type": "object",
"properties": {
"provider": {
"type": "string",
"enum": ["posthog", "logstash"],
"description": "The 3rd party analytics provider to use.",
"default": "posthog",
"markdownEnumDescriptions": [
"### Posthog\nTo use Posthog, set up an account, obtain your client key, and enter it in the client key field.",
"### Logstash\nContinue's Logstash integration uses the TCP input at the specified URL"
]
},
"url": {
"type": "string",
"description": "The URL to which analytics will be sent"
},
"clientKey": {
"type": "string",
"description": "The client key to use for analytics"
}
},
"required": ["provider"],
"allOf": [
{
"if": {
"properties": {
"provider": {
"enum": ["posthog"]
}
}
},
"then": {
"required": ["clientKey"]
}
},
{
"if": {
"properties": {
"provider": {
"enum": ["logstash"]
}
}
},
"then": {
"required": ["url"]
}
}
]
},
"experimental": {
"type": "object",
"title": "Experimental",

View file

@ -2207,7 +2207,7 @@
},
"embeddingsProvider": {
"title": "Embeddings Provider",
"markdownDescription": "The method that will be used to generate codebase embeddings. The default is transformers.js, which will run locally in the browser. Learn about the other options [here](https://docs.continue.dev/walkthroughs/codebase-embeddings#embeddings-providers).",
"markdownDescription": "The method that will be used to generate codebase embeddings. The default is transformers.js, which will run locally in the browser. Learn about the other options [here](https://docs.continue.dev/features/codebase-embeddings#embeddings-providers).",
"type": "object",
"properties": {
"provider": {
@ -2493,7 +2493,7 @@
"tabAutocompleteOptions": {
"title": "TabAutocompleteOptions",
"type": "object",
"markdownDescription": "These options let you customize your tab-autocomplete experience. Read about all options in [the docs](https://docs.continue.dev/walkthroughs/tab-autocomplete#configuration-options).",
"markdownDescription": "These options let you customize your tab-autocomplete experience. Read about all options in [the docs](https://docs.continue.dev/features/tab-autocomplete#configuration-options).",
"properties": {
"disable": {
"type": "boolean",
@ -2579,6 +2579,69 @@
}
}
},
"analytics": {
"type": "object",
"properties": {
"provider": {
"type": "string",
"enum": [
"posthog",
"logstash"
],
"description": "The 3rd party analytics provider to use.",
"default": "posthog",
"markdownEnumDescriptions": [
"### Posthog\nTo use Posthog, set up an account, obtain your client key, and enter it in the client key field.",
"### Logstash\nContinue's Logstash integration uses the TCP input at the specified URL"
]
},
"url": {
"type": "string",
"description": "The URL to which analytics will be sent"
},
"clientKey": {
"type": "string",
"description": "The client key to use for analytics"
}
},
"required": [
"provider"
],
"allOf": [
{
"if": {
"properties": {
"provider": {
"enum": [
"posthog"
]
}
}
},
"then": {
"required": [
"clientKey"
]
}
},
{
"if": {
"properties": {
"provider": {
"enum": [
"logstash"
]
}
}
},
"then": {
"required": [
"url"
]
}
}
]
},
"experimental": {
"type": "object",
"title": "Experimental",

View file

@ -161,6 +161,7 @@
"@types/request": "^2.48.12",
"@types/uuid": "^9.0.7",
"@types/win-ca": "^3.5.4",
"cross-env": "^7.0.3",
"esbuild": "0.17.19",
"eslint": "^8",
"eslint-plugin-import": "^2.29.1",

View file

@ -1,7 +1,7 @@
{
"name": "continue",
"icon": "media/icon.png",
"version": "0.9.192",
"version": "0.9.193",
"repository": {
"type": "git",
"url": "https://github.com/continuedev/continue"

1
gui/package-lock.json generated
View file

@ -154,6 +154,7 @@
"@types/request": "^2.48.12",
"@types/uuid": "^9.0.7",
"@types/win-ca": "^3.5.4",
"cross-env": "^7.0.3",
"esbuild": "0.17.19",
"eslint": "^8",
"eslint-plugin-import": "^2.29.1",