From 08910b7e4cbab2503abf4258f5ed3d9d75c12a3a Mon Sep 17 00:00:00 2001 From: Maedah Batool Date: Sun, 15 Sep 2024 15:15:42 -0700 Subject: [PATCH] Docs for Cody API --- docs/cody/api/index.mdx | 352 +++++++++++++++++++++++++++++++++++++++ package.json | 30 ++-- pnpm-lock.yaml | 360 +++++++++++++++++++++------------------- src/data/navigation.ts | 10 ++ 4 files changed, 569 insertions(+), 183 deletions(-) create mode 100644 docs/cody/api/index.mdx diff --git a/docs/cody/api/index.mdx b/docs/cody/api/index.mdx new file mode 100644 index 000000000..cb313938a --- /dev/null +++ b/docs/cody/api/index.mdx @@ -0,0 +1,352 @@ +# Sourcegraph API Documentation + +Welcome to the Sourcegraph API documentation. This document provides detailed information about the Sourcegraph API endpoints, including request and response formats, parameters, and code examples in cURL, TypeScript, and Python. + +The API base URL is `https://sourcegraph.com/`. + +--- + +## Table of Contents + +- [Sourcegraph API Documentation](#sourcegraph-api-documentation) + - [Table of Contents](#table-of-contents) + - [Find Relevant Source Locations](#find-relevant-source-locations) + - [Description](#description) + - [Request Body](#request-body) + - [Parameters](#parameters) + - [Response](#response) + - [Response Body](#response-body) + - [Code Examples](#code-examples) + - [cURL](#curl) + - [TypeScript](#typescript) + - [Python](#python) + - [List Available Models](#list-available-models) + - [Description](#description-1) + - [Response](#response-1) + - [Response Body](#response-body-1) + - [Code Examples](#code-examples-1) + - [cURL](#curl-1) + - [TypeScript](#typescript-1) + - [Python](#python-1) + - [Retrieve Model Details](#retrieve-model-details) + - [Description](#description-2) + - [Path Parameters](#path-parameters) + - [Response](#response-2) + - [Response Body](#response-body-2) + - [Code Examples](#code-examples-2) + - [cURL](#curl-2) + - [TypeScript](#typescript-2) + - [Python](#python-2) + - [Schemas](#schemas) + - [CodyContextRequest](#codycontextrequest) + - [CodyContextResponse](#codycontextresponse) + - [RepoSpec](#repospec) + - [FileChunkContext](#filechunkcontext) + - [BlobInfo](#blobinfo) + - [RepositoryInfo](#repositoryinfo) + - [CommitInfo](#commitinfo) + - [OAIListModelsResponse](#oailistmodelsresponse) + - [OAIModel](#oaimodel) + - [Error](#error) + - [Error Handling](#error-handling) + - [Authentication](#authentication) + - [Contact](#contact) + +--- + +## Find Relevant Source Locations + +**Endpoint:** `POST /.api/cody/context` + +**Summary:** Find relevant source locations given a natural language query. + +### Description + +Returns a list of source code locations (also known as "context") that are relevant to the given natural language query and list of repositories. + +### Request Body + +- **Content-Type:** `application/json` +- **Schema:** [`CodyContextRequest`](#codycontextrequest) + +#### Parameters + +- `query` (string, **required**): The natural language query to find relevant context from the provided list of repositories. +- `repos` (array of [`RepoSpec`](#repospec), optional): The list of repositories to search through. +- `codeResultsCount` (integer, optional, default: 15): The number of code results to return. Minimum 0, maximum 100. +- `textResultsCount` (integer, optional, default: 5): The number of text results to return. Minimum 0, maximum 100. + +### Response + +- **Status Code:** `200 OK` +- **Content-Type:** `application/json` +- **Schema:** [`CodyContextResponse`](#codycontextresponse) + +#### Response Body + +- `results` (array of [`FileChunkContext`](#filechunkcontext), **required**): A list of relevant source code locations. + +### Code Examples + +#### cURL + +```bash +curl -X POST https://sourcegraph.com/.api/cody/context \ + -H "Content-Type: application/json" \ + -d '{ + "query": "Implement a linked list in Go", + "repos": [{"name": "sourcegraph/sourcegraph"}], + "codeResultsCount": 10, + "textResultsCount": 5 + }' +``` + +#### TypeScript + +```typescript +const response = await fetch('https://sourcegraph.com/.api/cody/context', { + method: 'POST', + headers: { + 'Content-Type': 'application/json' + }, + body: JSON.stringify({ + query: 'Implement a linked list in Go', + repos: [{ name: 'sourcegraph/sourcegraph' }], + codeResultsCount: 10, + textResultsCount: 5 + }) +}); + +const data = await response.json(); +console.log(data); +``` + +#### Python + +```python +import requests + +url = 'https://sourcegraph.com/.api/cody/context' +payload = { + 'query': 'Implement a linked list in Go', + 'repos': [{'name': 'sourcegraph/sourcegraph'}], + 'codeResultsCount': 10, + 'textResultsCount': 5 +} +headers = {'Content-Type': 'application/json'} + +response = requests.post(url, json=payload, headers=headers) +print(response.json()) +``` + +--- + +## List Available Models + +**Endpoint:** `GET /.api/llm/models` + +### Description + +Lists the currently available models and provides basic information about each one, such as the owner and availability. + +### Response + +- **Status Code:** `200 OK` +- **Content-Type:** `application/json` +- **Schema:** [`OAIListModelsResponse`](#oailistmodelsresponse) + +#### Response Body + +- `object` (string, **required**): Should be `"list"`. +- `data` (array of [`OAIModel`](#oaimodel), **required**): List of available models. + +- **Error Response** + + - **Schema:** [`Error`](#error) + - **Fields:** + - `type` (string, **required**): Type of error. + - `message` (string, **required**): Error message. + +### Code Examples + +#### cURL + +```bash +curl -X GET https://sourcegraph.com/.api/llm/models +``` + +#### TypeScript + +```typescript +const response = await fetch('https://sourcegraph.com/.api/llm/models'); +const data = await response.json(); +console.log(data); +``` + +#### Python + +```python +import requests + +url = 'https://sourcegraph.com/.api/llm/models' +response = requests.get(url) +print(response.json()) +``` + +--- + +## Retrieve Model Details + +**Endpoint:** `GET /.api/llm/models/{modelId}` + +### Description + +Retrieves a model instance, providing basic information about the model such as the owner and permissions. + +### Path Parameters + +- `modelId` (string, **required**): The identifier of the model to retrieve. + +### Response + +- **Status Code:** `200 OK` +- **Content-Type:** `application/json` +- **Schema:** [`OAIModel`](#oaimodel) + +#### Response Body + +- `id` (string, **required**): The model identifier. +- `object` (string, **required**): Should be `"model"`. +- `created` (integer, **required**): Unix timestamp (in seconds) when the model was created. +- `owned_by` (string, **required**): The organization that owns the model. + +- **Error Response** + + - **Schema:** [`Error`](#error) + - **Fields:** + - `type` (string, **required**): Type of error. + - `message` (string, **required**): Error message. + +### Code Examples + +#### cURL + +```bash +curl -X GET https://sourcegraph.com/.api/llm/models/{modelId} +``` + +*Replace `{modelId}` with the actual model ID.* + +#### TypeScript + +```typescript +const modelId = 'your-model-id'; +const response = await fetch(`https://sourcegraph.com/.api/llm/models/${modelId}`); +const data = await response.json(); +console.log(data); +``` + +#### Python + +```python +import requests + +model_id = 'your-model-id' +url = f'https://sourcegraph.com/.api/llm/models/{model_id}' +response = requests.get(url) +print(response.json()) +``` + +--- + +## Schemas + +### CodyContextRequest + +- `query` (string, **required**): The natural language query. +- `repos` (array of [`RepoSpec`](#repospec), optional): List of repositories to search through. +- `codeResultsCount` (integer, optional, default: 15): Number of code results to return. Minimum 0, maximum 100. +- `textResultsCount` (integer, optional, default: 5): Number of text results to return. Minimum 0, maximum 100. + +### CodyContextResponse + +- `results` (array of [`FileChunkContext`](#filechunkcontext), **required**): List of relevant source code locations. + +### RepoSpec + +*Exactly one of the properties must be defined.* + +- `name` (string, optional): The name of the repository. +- `id` (string, optional): The ID of the repository. + +### FileChunkContext + +- `blob` ([`BlobInfo`](#blobinfo), **required**): Information about the file. +- `startLine` (integer, **required**): Starting line number of the chunk. +- `endLine` (integer, **required**): Ending line number of the chunk. +- `chunkContent` (string, **required**): Content of the chunk. + +### BlobInfo + +- `path` (string, **required**): File path. +- `repository` ([`RepositoryInfo`](#repositoryinfo), **required**): Repository information. +- `commit` ([`CommitInfo`](#commitinfo), **required**): Commit information. +- `url` (string, **required**): URL to the file. + +### RepositoryInfo + +- `id` (string, **required**): Repository ID. +- `name` (string, **required**): Repository name. + +### CommitInfo + +- `oid` (string, **required**): Commit object ID. + +### OAIListModelsResponse + +- `object` (string, **required**): Should be `"list"`. +- `data` (array of [`OAIModel`](#oaimodel), **required**): List of models. + +### OAIModel + +- `id` (string, **required**): The model identifier. +- `object` (string, **required**): Should be `"model"`. +- `created` (integer, **required**): Unix timestamp when the model was created. +- `owned_by` (string, **required**): The organization that owns the model. + +### Error + +- `type` (string, **required**): Type of error. +- `message` (string, **required**): Error message. + +--- + +## Error Handling + +In case of an error, the API will return a JSON object with the following structure: + +```json +{ + "type": "error_type", + "message": "Detailed error message." +} +``` + +- `type`: A string indicating the type of error. +- `message`: A detailed message explaining the error. + +--- + +## Authentication + +*Note: Authentication details are not provided in the OpenAPI specification. If authentication is required, ensure to include appropriate headers or tokens as per the API's authentication mechanism.* + +--- + +## Contact + +For any questions or issues, please contact the [Sourcegraph Support Team](mailto:support@sourcegraph.com). + +--- + +*This document was generated to provide comprehensive information about the Sourcegraph API. For more details, please refer to the official documentation or contact support.* diff --git a/package.json b/package.json index 14170ce61..932aacb41 100644 --- a/package.json +++ b/package.json @@ -10,36 +10,36 @@ }, "browserslist": "defaults, not ie <= 11", "dependencies": { - "@algolia/autocomplete-core": "^1.9.2", + "@algolia/autocomplete-core": "^1.13.0", "@algolia/client-search": "^4.22.1", - "@docsearch/react": "3", - "@headlessui/react": "^1.7.13", - "@heroicons/react": "^2.0.18", + "@docsearch/react": "^3.5.2", + "@headlessui/react": "^1.7.17", + "@heroicons/react": "^2.1.1", "@next/third-parties": "^14.1.4", "@radix-ui/react-select": "^2.0.0", "@radix-ui/react-slot": "^1.0.2", - "@tailwindcss/typography": "^0.5.7", + "@tailwindcss/typography": "^0.5.10", "@types/node": "20.4.9", "@types/react": "18.2.20", "@types/react-dom": "18.2.7", - "@types/react-highlight-words": "^0.16.4", + "@types/react-highlight-words": "^0.16.7", "algoliasearch": "^4.22.1", - "autoprefixer": "^10.4.12", + "autoprefixer": "^10.4.16", "class-variance-authority": "^0.7.0", "clsx": "^1.2.1", "contentlayer": "^0.3.4", "date-fns": "^2.30.0", - "fast-glob": "^3.2.12", + "fast-glob": "^3.3.2", "feed": "^4.2.2", "flexsearch": "^0.7.31", "github-slugger": "^2.0.0", "js-yaml": "^4.1.0", - "kbar": "^0.1.0-beta.44", + "kbar": "0.1.0-beta.44", "lucide-react": "^0.372.0", "next": "^14.2.3", "next-contentlayer": "^0.3.4", "next-themes": "^0.2.1", - "prism-react-renderer": "^2.0.6", + "prism-react-renderer": "^2.3.1", "react": "18.3.1", "react-dom": "18.3.1", "react-highlight-words": "^0.20.0", @@ -48,10 +48,10 @@ "rehype-slug": "^6.0.0", "rehype-toc": "^3.0.2", "remark-gfm": "3.0.1", - "shiki": "^0.14.5", + "shiki": "^0.14.7", "simple-functional-loader": "^1.2.1", "tailwind-merge": "^2.3.0", - "tailwindcss": "^3.3.3", + "tailwindcss": "^3.4.0", "tailwindcss-animate": "^1.0.7", "typescript": "5.1.6", "unist-util-visit": "^5.0.0" @@ -59,8 +59,8 @@ "devDependencies": { "eslint": "8.45.0", "eslint-config-next": "13.4.16", - "prettier": "^3.0.1", - "prettier-plugin-tailwindcss": "^0.5.2", - "sharp": "^0.32.0" + "prettier": "^3.1.1", + "prettier-plugin-tailwindcss": "^0.5.9", + "sharp": "^0.32.6" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index bdfc71ea3..2f56ae1e4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -6,19 +6,19 @@ settings: dependencies: '@algolia/autocomplete-core': - specifier: ^1.9.2 - version: 1.13.0(@algolia/client-search@4.22.1)(algoliasearch@4.22.1)(search-insights@2.13.0) + specifier: ^1.13.0 + version: 1.13.0(@algolia/client-search@4.22.1)(algoliasearch@4.22.1)(search-insights@2.17.2) '@algolia/client-search': specifier: ^4.22.1 version: 4.22.1 '@docsearch/react': - specifier: '3' - version: 3.5.2(@algolia/client-search@4.22.1)(@types/react@18.2.20)(react-dom@18.3.1)(react@18.3.1)(search-insights@2.13.0) + specifier: ^3.5.2 + version: 3.5.2(@algolia/client-search@4.22.1)(@types/react@18.2.20)(react-dom@18.3.1)(react@18.3.1)(search-insights@2.17.2) '@headlessui/react': - specifier: ^1.7.13 + specifier: ^1.7.17 version: 1.7.17(react-dom@18.3.1)(react@18.3.1) '@heroicons/react': - specifier: ^2.0.18 + specifier: ^2.1.1 version: 2.1.1(react@18.3.1) '@next/third-parties': specifier: ^14.1.4 @@ -30,7 +30,7 @@ dependencies: specifier: ^1.0.2 version: 1.0.2(@types/react@18.2.20)(react@18.3.1) '@tailwindcss/typography': - specifier: ^0.5.7 + specifier: ^0.5.10 version: 0.5.10(tailwindcss@3.4.0) '@types/node': specifier: 20.4.9 @@ -42,14 +42,14 @@ dependencies: specifier: 18.2.7 version: 18.2.7 '@types/react-highlight-words': - specifier: ^0.16.4 + specifier: ^0.16.7 version: 0.16.7 algoliasearch: specifier: ^4.22.1 version: 4.22.1 autoprefixer: - specifier: ^10.4.12 - version: 10.4.16(postcss@8.4.32) + specifier: ^10.4.16 + version: 10.4.16(postcss@8.4.47) class-variance-authority: specifier: ^0.7.0 version: 0.7.0 @@ -58,12 +58,12 @@ dependencies: version: 1.2.1 contentlayer: specifier: ^0.3.4 - version: 0.3.4(esbuild@0.19.10) + version: 0.3.4(esbuild@0.23.1) date-fns: specifier: ^2.30.0 version: 2.30.0 fast-glob: - specifier: ^3.2.12 + specifier: ^3.3.2 version: 3.3.2 feed: specifier: ^4.2.2 @@ -78,7 +78,7 @@ dependencies: specifier: ^4.1.0 version: 4.1.0 kbar: - specifier: ^0.1.0-beta.44 + specifier: 0.1.0-beta.44 version: 0.1.0-beta.44(@types/react-dom@18.2.7)(@types/react@18.2.20)(react-dom@18.3.1)(react@18.3.1) lucide-react: specifier: ^0.372.0 @@ -88,12 +88,12 @@ dependencies: version: 14.2.3(@opentelemetry/api@1.7.0)(react-dom@18.3.1)(react@18.3.1) next-contentlayer: specifier: ^0.3.4 - version: 0.3.4(contentlayer@0.3.4)(esbuild@0.19.10)(next@14.2.3)(react-dom@18.3.1)(react@18.3.1) + version: 0.3.4(contentlayer@0.3.4)(esbuild@0.23.1)(next@14.2.3)(react-dom@18.3.1)(react@18.3.1) next-themes: specifier: ^0.2.1 version: 0.2.1(next@14.2.3)(react-dom@18.3.1)(react@18.3.1) prism-react-renderer: - specifier: ^2.0.6 + specifier: ^2.3.1 version: 2.3.1(react@18.3.1) react: specifier: 18.3.1 @@ -120,7 +120,7 @@ dependencies: specifier: 3.0.1 version: 3.0.1 shiki: - specifier: ^0.14.5 + specifier: ^0.14.7 version: 0.14.7 simple-functional-loader: specifier: ^1.2.1 @@ -129,7 +129,7 @@ dependencies: specifier: ^2.3.0 version: 2.3.0 tailwindcss: - specifier: ^3.3.3 + specifier: ^3.4.0 version: 3.4.0 tailwindcss-animate: specifier: ^1.0.7 @@ -149,13 +149,13 @@ devDependencies: specifier: 13.4.16 version: 13.4.16(eslint@8.45.0)(typescript@5.1.6) prettier: - specifier: ^3.0.1 + specifier: ^3.1.1 version: 3.1.1 prettier-plugin-tailwindcss: - specifier: ^0.5.2 + specifier: ^0.5.9 version: 0.5.9(prettier@3.1.1) sharp: - specifier: ^0.32.0 + specifier: ^0.32.6 version: 0.32.6 packages: @@ -165,10 +165,10 @@ packages: engines: {node: '>=0.10.0'} dev: true - /@algolia/autocomplete-core@1.13.0(@algolia/client-search@4.22.1)(algoliasearch@4.22.1)(search-insights@2.13.0): + /@algolia/autocomplete-core@1.13.0(@algolia/client-search@4.22.1)(algoliasearch@4.22.1)(search-insights@2.17.2): resolution: {integrity: sha512-0v3mHfkvJBVx0aO1U290EHaLPp9pkUL8zkgbVY0JlitItrbXfYYHQHtNs1TxpA63mQAD0K0LyLzO2x+uWiBbGQ==} dependencies: - '@algolia/autocomplete-plugin-algolia-insights': 1.13.0(@algolia/client-search@4.22.1)(algoliasearch@4.22.1)(search-insights@2.13.0) + '@algolia/autocomplete-plugin-algolia-insights': 1.13.0(@algolia/client-search@4.22.1)(algoliasearch@4.22.1)(search-insights@2.17.2) '@algolia/autocomplete-shared': 1.13.0(@algolia/client-search@4.22.1)(algoliasearch@4.22.1) transitivePeerDependencies: - '@algolia/client-search' @@ -176,10 +176,10 @@ packages: - search-insights dev: false - /@algolia/autocomplete-core@1.9.3(@algolia/client-search@4.22.1)(algoliasearch@4.22.1)(search-insights@2.13.0): + /@algolia/autocomplete-core@1.9.3(@algolia/client-search@4.22.1)(algoliasearch@4.22.1)(search-insights@2.17.2): resolution: {integrity: sha512-009HdfugtGCdC4JdXUbVJClA0q0zh24yyePn+KUGk3rP7j8FEe/m5Yo/z65gn6nP/cM39PxpzqKrL7A6fP6PPw==} dependencies: - '@algolia/autocomplete-plugin-algolia-insights': 1.9.3(@algolia/client-search@4.22.1)(algoliasearch@4.22.1)(search-insights@2.13.0) + '@algolia/autocomplete-plugin-algolia-insights': 1.9.3(@algolia/client-search@4.22.1)(algoliasearch@4.22.1)(search-insights@2.17.2) '@algolia/autocomplete-shared': 1.9.3(@algolia/client-search@4.22.1)(algoliasearch@4.22.1) transitivePeerDependencies: - '@algolia/client-search' @@ -187,25 +187,25 @@ packages: - search-insights dev: false - /@algolia/autocomplete-plugin-algolia-insights@1.13.0(@algolia/client-search@4.22.1)(algoliasearch@4.22.1)(search-insights@2.13.0): + /@algolia/autocomplete-plugin-algolia-insights@1.13.0(@algolia/client-search@4.22.1)(algoliasearch@4.22.1)(search-insights@2.17.2): resolution: {integrity: sha512-Q0rRUZ72x7piqvJKi1//SBZvoImnYdJLRC7Yaa0rwKtkIVQFl6MmZw/p4AEDSWIu5HY3Ki3bzgYxeDyhm//P/w==} peerDependencies: search-insights: '>= 1 < 3' dependencies: '@algolia/autocomplete-shared': 1.13.0(@algolia/client-search@4.22.1)(algoliasearch@4.22.1) - search-insights: 2.13.0 + search-insights: 2.17.2 transitivePeerDependencies: - '@algolia/client-search' - algoliasearch dev: false - /@algolia/autocomplete-plugin-algolia-insights@1.9.3(@algolia/client-search@4.22.1)(algoliasearch@4.22.1)(search-insights@2.13.0): + /@algolia/autocomplete-plugin-algolia-insights@1.9.3(@algolia/client-search@4.22.1)(algoliasearch@4.22.1)(search-insights@2.17.2): resolution: {integrity: sha512-a/yTUkcO/Vyy+JffmAnTWbr4/90cLzw+CC3bRbhnULr/EM0fGNvM13oQQ14f2moLMcVDyAx/leczLlAOovhSZg==} peerDependencies: search-insights: '>= 1 < 3' dependencies: '@algolia/autocomplete-shared': 1.9.3(@algolia/client-search@4.22.1)(algoliasearch@4.22.1) - search-insights: 2.13.0 + search-insights: 2.17.2 transitivePeerDependencies: - '@algolia/client-search' - algoliasearch @@ -350,10 +350,10 @@ packages: regenerator-runtime: 0.14.1 dev: false - /@contentlayer/cli@0.3.4(esbuild@0.19.10): + /@contentlayer/cli@0.3.4(esbuild@0.23.1): resolution: {integrity: sha512-vNDwgLuhYNu+m70NZ3XK9kexKNguuxPXg7Yvzj3B34cEilQjjzSrcTY/i+AIQm9V7uT5GGshx9ukzPf+SmoszQ==} dependencies: - '@contentlayer/core': 0.3.4(esbuild@0.19.10) + '@contentlayer/core': 0.3.4(esbuild@0.23.1) '@contentlayer/utils': 0.3.4 clipanion: 3.2.1(typanion@3.14.0) typanion: 3.14.0 @@ -364,10 +364,10 @@ packages: - supports-color dev: false - /@contentlayer/client@0.3.4(esbuild@0.19.10): + /@contentlayer/client@0.3.4(esbuild@0.23.1): resolution: {integrity: sha512-QSlLyc3y4PtdC5lFw0L4wTZUH8BQnv2nk37hNCsPAqGf+dRO7TLAzdc+2/mVIRgK+vSH+pSOzjLsQpFxxXRTZA==} dependencies: - '@contentlayer/core': 0.3.4(esbuild@0.19.10) + '@contentlayer/core': 0.3.4(esbuild@0.23.1) transitivePeerDependencies: - '@effect-ts/otel-node' - esbuild @@ -375,7 +375,7 @@ packages: - supports-color dev: false - /@contentlayer/core@0.3.4(esbuild@0.19.10): + /@contentlayer/core@0.3.4(esbuild@0.23.1): resolution: {integrity: sha512-o68oBLwfYZ+2vtgfk1lgHxOl3LoxvRNiUfeQ8IWFWy/L4wnIkKIqLZX01zlRE5IzYM+ZMMN5V0cKQlO7DsyR9g==} peerDependencies: esbuild: 0.17.x || 0.18.x @@ -389,9 +389,9 @@ packages: '@contentlayer/utils': 0.3.4 camel-case: 4.1.2 comment-json: 4.2.3 - esbuild: 0.19.10 + esbuild: 0.23.1 gray-matter: 4.0.3 - mdx-bundler: 9.2.1(esbuild@0.19.10) + mdx-bundler: 9.2.1(esbuild@0.23.1) rehype-stringify: 9.0.4 remark-frontmatter: 4.0.1 remark-parse: 10.0.2 @@ -404,10 +404,10 @@ packages: - supports-color dev: false - /@contentlayer/source-files@0.3.4(esbuild@0.19.10): + /@contentlayer/source-files@0.3.4(esbuild@0.23.1): resolution: {integrity: sha512-4njyn0OFPu7WY4tAjMxiJgWOKeiHuBOGdQ36EYE03iij/pPPRbiWbL+cmLccYXUFEW58mDwpqROZZm6pnxjRDQ==} dependencies: - '@contentlayer/core': 0.3.4(esbuild@0.19.10) + '@contentlayer/core': 0.3.4(esbuild@0.23.1) '@contentlayer/utils': 0.3.4 chokidar: 3.5.3 fast-glob: 3.3.2 @@ -425,11 +425,11 @@ packages: - supports-color dev: false - /@contentlayer/source-remote-files@0.3.4(esbuild@0.19.10): + /@contentlayer/source-remote-files@0.3.4(esbuild@0.23.1): resolution: {integrity: sha512-cyiv4sNUySZvR0uAKlM+kSAELzNd2h2QT1R2e41dRKbwOUVxeLfmGiLugr0aVac6Q3xYcD99dbHyR1xWPV+w9w==} dependencies: - '@contentlayer/core': 0.3.4(esbuild@0.19.10) - '@contentlayer/source-files': 0.3.4(esbuild@0.19.10) + '@contentlayer/core': 0.3.4(esbuild@0.23.1) + '@contentlayer/source-files': 0.3.4(esbuild@0.23.1) '@contentlayer/utils': 0.3.4 transitivePeerDependencies: - '@effect-ts/otel-node' @@ -475,7 +475,7 @@ packages: resolution: {integrity: sha512-SPiDHaWKQZpwR2siD0KQUwlStvIAnEyK6tAE2h2Wuoq8ue9skzhlyVQ1ddzOxX6khULnAALDiR/isSF3bnuciA==} dev: false - /@docsearch/react@3.5.2(@algolia/client-search@4.22.1)(@types/react@18.2.20)(react-dom@18.3.1)(react@18.3.1)(search-insights@2.13.0): + /@docsearch/react@3.5.2(@algolia/client-search@4.22.1)(@types/react@18.2.20)(react-dom@18.3.1)(react@18.3.1)(search-insights@2.17.2): resolution: {integrity: sha512-9Ahcrs5z2jq/DcAvYtvlqEBHImbm4YJI8M9y0x6Tqg598P40HTEkX7hsMcIuThI+hTFxRGZ9hll0Wygm2yEjng==} peerDependencies: '@types/react': '>= 16.8.0 < 19.0.0' @@ -492,14 +492,14 @@ packages: search-insights: optional: true dependencies: - '@algolia/autocomplete-core': 1.9.3(@algolia/client-search@4.22.1)(algoliasearch@4.22.1)(search-insights@2.13.0) + '@algolia/autocomplete-core': 1.9.3(@algolia/client-search@4.22.1)(algoliasearch@4.22.1)(search-insights@2.17.2) '@algolia/autocomplete-preset-algolia': 1.9.3(@algolia/client-search@4.22.1)(algoliasearch@4.22.1) '@docsearch/css': 3.5.2 '@types/react': 18.2.20 algoliasearch: 4.22.1 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - search-insights: 2.13.0 + search-insights: 2.17.2 transitivePeerDependencies: - '@algolia/client-search' dev: false @@ -562,221 +562,230 @@ packages: resolution: {integrity: sha512-/crHGujo0xnuHIYNc1VgP0HGJGFSoSqq88JFXe6FmFyXPpWt8Xu39LyLg7rchsxfXFeEdA9CrIZvLV5eswXV5g==} dev: false - /@esbuild-plugins/node-resolve@0.1.4(esbuild@0.19.10): + /@esbuild-plugins/node-resolve@0.1.4(esbuild@0.23.1): resolution: {integrity: sha512-haFQ0qhxEpqtWWY0kx1Y5oE3sMyO1PcoSiWEPrAw6tm/ZOOLXjSs6Q+v1v9eyuVF0nNt50YEvrcrvENmyoMv5g==} peerDependencies: esbuild: '*' dependencies: '@types/resolve': 1.20.6 debug: 4.3.4 - esbuild: 0.19.10 + esbuild: 0.23.1 escape-string-regexp: 4.0.0 resolve: 1.22.8 transitivePeerDependencies: - supports-color dev: false - /@esbuild/aix-ppc64@0.19.10: - resolution: {integrity: sha512-Q+mk96KJ+FZ30h9fsJl+67IjNJm3x2eX+GBWGmocAKgzp27cowCOOqSdscX80s0SpdFXZnIv/+1xD1EctFx96Q==} - engines: {node: '>=12'} + /@esbuild/aix-ppc64@0.23.1: + resolution: {integrity: sha512-6VhYk1diRqrhBAqpJEdjASR/+WVRtfjpqKuNw11cLiaWpAT/Uu+nokB+UJnevzy/P9C/ty6AOe0dwueMrGh/iQ==} + engines: {node: '>=18'} cpu: [ppc64] os: [aix] requiresBuild: true dev: false optional: true - /@esbuild/android-arm64@0.19.10: - resolution: {integrity: sha512-1X4CClKhDgC3by7k8aOWZeBXQX8dHT5QAMCAQDArCLaYfkppoARvh0fit3X2Qs+MXDngKcHv6XXyQCpY0hkK1Q==} - engines: {node: '>=12'} + /@esbuild/android-arm64@0.23.1: + resolution: {integrity: sha512-xw50ipykXcLstLeWH7WRdQuysJqejuAGPd30vd1i5zSyKK3WE+ijzHmLKxdiCMtH1pHz78rOg0BKSYOSB/2Khw==} + engines: {node: '>=18'} cpu: [arm64] os: [android] requiresBuild: true dev: false optional: true - /@esbuild/android-arm@0.19.10: - resolution: {integrity: sha512-7W0bK7qfkw1fc2viBfrtAEkDKHatYfHzr/jKAHNr9BvkYDXPcC6bodtm8AyLJNNuqClLNaeTLuwURt4PRT9d7w==} - engines: {node: '>=12'} + /@esbuild/android-arm@0.23.1: + resolution: {integrity: sha512-uz6/tEy2IFm9RYOyvKl88zdzZfwEfKZmnX9Cj1BHjeSGNuGLuMD1kR8y5bteYmwqKm1tj8m4cb/aKEorr6fHWQ==} + engines: {node: '>=18'} cpu: [arm] os: [android] requiresBuild: true dev: false optional: true - /@esbuild/android-x64@0.19.10: - resolution: {integrity: sha512-O/nO/g+/7NlitUxETkUv/IvADKuZXyH4BHf/g/7laqKC4i/7whLpB0gvpPc2zpF0q9Q6FXS3TS75QHac9MvVWw==} - engines: {node: '>=12'} + /@esbuild/android-x64@0.23.1: + resolution: {integrity: sha512-nlN9B69St9BwUoB+jkyU090bru8L0NA3yFvAd7k8dNsVH8bi9a8cUAUSEcEEgTp2z3dbEDGJGfP6VUnkQnlReg==} + engines: {node: '>=18'} cpu: [x64] os: [android] requiresBuild: true dev: false optional: true - /@esbuild/darwin-arm64@0.19.10: - resolution: {integrity: sha512-YSRRs2zOpwypck+6GL3wGXx2gNP7DXzetmo5pHXLrY/VIMsS59yKfjPizQ4lLt5vEI80M41gjm2BxrGZ5U+VMA==} - engines: {node: '>=12'} + /@esbuild/darwin-arm64@0.23.1: + resolution: {integrity: sha512-YsS2e3Wtgnw7Wq53XXBLcV6JhRsEq8hkfg91ESVadIrzr9wO6jJDMZnCQbHm1Guc5t/CdDiFSSfWP58FNuvT3Q==} + engines: {node: '>=18'} cpu: [arm64] os: [darwin] requiresBuild: true dev: false optional: true - /@esbuild/darwin-x64@0.19.10: - resolution: {integrity: sha512-alfGtT+IEICKtNE54hbvPg13xGBe4GkVxyGWtzr+yHO7HIiRJppPDhOKq3zstTcVf8msXb/t4eavW3jCDpMSmA==} - engines: {node: '>=12'} + /@esbuild/darwin-x64@0.23.1: + resolution: {integrity: sha512-aClqdgTDVPSEGgoCS8QDG37Gu8yc9lTHNAQlsztQ6ENetKEO//b8y31MMu2ZaPbn4kVsIABzVLXYLhCGekGDqw==} + engines: {node: '>=18'} cpu: [x64] os: [darwin] requiresBuild: true dev: false optional: true - /@esbuild/freebsd-arm64@0.19.10: - resolution: {integrity: sha512-dMtk1wc7FSH8CCkE854GyGuNKCewlh+7heYP/sclpOG6Cectzk14qdUIY5CrKDbkA/OczXq9WesqnPl09mj5dg==} - engines: {node: '>=12'} + /@esbuild/freebsd-arm64@0.23.1: + resolution: {integrity: sha512-h1k6yS8/pN/NHlMl5+v4XPfikhJulk4G+tKGFIOwURBSFzE8bixw1ebjluLOjfwtLqY0kewfjLSrO6tN2MgIhA==} + engines: {node: '>=18'} cpu: [arm64] os: [freebsd] requiresBuild: true dev: false optional: true - /@esbuild/freebsd-x64@0.19.10: - resolution: {integrity: sha512-G5UPPspryHu1T3uX8WiOEUa6q6OlQh6gNl4CO4Iw5PS+Kg5bVggVFehzXBJY6X6RSOMS8iXDv2330VzaObm4Ag==} - engines: {node: '>=12'} + /@esbuild/freebsd-x64@0.23.1: + resolution: {integrity: sha512-lK1eJeyk1ZX8UklqFd/3A60UuZ/6UVfGT2LuGo3Wp4/z7eRTRYY+0xOu2kpClP+vMTi9wKOfXi2vjUpO1Ro76g==} + engines: {node: '>=18'} cpu: [x64] os: [freebsd] requiresBuild: true dev: false optional: true - /@esbuild/linux-arm64@0.19.10: - resolution: {integrity: sha512-QxaouHWZ+2KWEj7cGJmvTIHVALfhpGxo3WLmlYfJ+dA5fJB6lDEIg+oe/0//FuyVHuS3l79/wyBxbHr0NgtxJQ==} - engines: {node: '>=12'} + /@esbuild/linux-arm64@0.23.1: + resolution: {integrity: sha512-/93bf2yxencYDnItMYV/v116zff6UyTjo4EtEQjUBeGiVpMmffDNUyD9UN2zV+V3LRV3/on4xdZ26NKzn6754g==} + engines: {node: '>=18'} cpu: [arm64] os: [linux] requiresBuild: true dev: false optional: true - /@esbuild/linux-arm@0.19.10: - resolution: {integrity: sha512-j6gUW5aAaPgD416Hk9FHxn27On28H4eVI9rJ4az7oCGTFW48+LcgNDBN+9f8rKZz7EEowo889CPKyeaD0iw9Kg==} - engines: {node: '>=12'} + /@esbuild/linux-arm@0.23.1: + resolution: {integrity: sha512-CXXkzgn+dXAPs3WBwE+Kvnrf4WECwBdfjfeYHpMeVxWE0EceB6vhWGShs6wi0IYEqMSIzdOF1XjQ/Mkm5d7ZdQ==} + engines: {node: '>=18'} cpu: [arm] os: [linux] requiresBuild: true dev: false optional: true - /@esbuild/linux-ia32@0.19.10: - resolution: {integrity: sha512-4ub1YwXxYjj9h1UIZs2hYbnTZBtenPw5NfXCRgEkGb0b6OJ2gpkMvDqRDYIDRjRdWSe/TBiZltm3Y3Q8SN1xNg==} - engines: {node: '>=12'} + /@esbuild/linux-ia32@0.23.1: + resolution: {integrity: sha512-VTN4EuOHwXEkXzX5nTvVY4s7E/Krz7COC8xkftbbKRYAl96vPiUssGkeMELQMOnLOJ8k3BY1+ZY52tttZnHcXQ==} + engines: {node: '>=18'} cpu: [ia32] os: [linux] requiresBuild: true dev: false optional: true - /@esbuild/linux-loong64@0.19.10: - resolution: {integrity: sha512-lo3I9k+mbEKoxtoIbM0yC/MZ1i2wM0cIeOejlVdZ3D86LAcFXFRdeuZmh91QJvUTW51bOK5W2BznGNIl4+mDaA==} - engines: {node: '>=12'} + /@esbuild/linux-loong64@0.23.1: + resolution: {integrity: sha512-Vx09LzEoBa5zDnieH8LSMRToj7ir/Jeq0Gu6qJ/1GcBq9GkfoEAoXvLiW1U9J1qE/Y/Oyaq33w5p2ZWrNNHNEw==} + engines: {node: '>=18'} cpu: [loong64] os: [linux] requiresBuild: true dev: false optional: true - /@esbuild/linux-mips64el@0.19.10: - resolution: {integrity: sha512-J4gH3zhHNbdZN0Bcr1QUGVNkHTdpijgx5VMxeetSk6ntdt+vR1DqGmHxQYHRmNb77tP6GVvD+K0NyO4xjd7y4A==} - engines: {node: '>=12'} + /@esbuild/linux-mips64el@0.23.1: + resolution: {integrity: sha512-nrFzzMQ7W4WRLNUOU5dlWAqa6yVeI0P78WKGUo7lg2HShq/yx+UYkeNSE0SSfSure0SqgnsxPvmAUu/vu0E+3Q==} + engines: {node: '>=18'} cpu: [mips64el] os: [linux] requiresBuild: true dev: false optional: true - /@esbuild/linux-ppc64@0.19.10: - resolution: {integrity: sha512-tgT/7u+QhV6ge8wFMzaklOY7KqiyitgT1AUHMApau32ZlvTB/+efeCtMk4eXS+uEymYK249JsoiklZN64xt6oQ==} - engines: {node: '>=12'} + /@esbuild/linux-ppc64@0.23.1: + resolution: {integrity: sha512-dKN8fgVqd0vUIjxuJI6P/9SSSe/mB9rvA98CSH2sJnlZ/OCZWO1DJvxj8jvKTfYUdGfcq2dDxoKaC6bHuTlgcw==} + engines: {node: '>=18'} cpu: [ppc64] os: [linux] requiresBuild: true dev: false optional: true - /@esbuild/linux-riscv64@0.19.10: - resolution: {integrity: sha512-0f/spw0PfBMZBNqtKe5FLzBDGo0SKZKvMl5PHYQr3+eiSscfJ96XEknCe+JoOayybWUFQbcJTrk946i3j9uYZA==} - engines: {node: '>=12'} + /@esbuild/linux-riscv64@0.23.1: + resolution: {integrity: sha512-5AV4Pzp80fhHL83JM6LoA6pTQVWgB1HovMBsLQ9OZWLDqVY8MVobBXNSmAJi//Csh6tcY7e7Lny2Hg1tElMjIA==} + engines: {node: '>=18'} cpu: [riscv64] os: [linux] requiresBuild: true dev: false optional: true - /@esbuild/linux-s390x@0.19.10: - resolution: {integrity: sha512-pZFe0OeskMHzHa9U38g+z8Yx5FNCLFtUnJtQMpwhS+r4S566aK2ci3t4NCP4tjt6d5j5uo4h7tExZMjeKoehAA==} - engines: {node: '>=12'} + /@esbuild/linux-s390x@0.23.1: + resolution: {integrity: sha512-9ygs73tuFCe6f6m/Tb+9LtYxWR4c9yg7zjt2cYkjDbDpV/xVn+68cQxMXCjUpYwEkze2RcU/rMnfIXNRFmSoDw==} + engines: {node: '>=18'} cpu: [s390x] os: [linux] requiresBuild: true dev: false optional: true - /@esbuild/linux-x64@0.19.10: - resolution: {integrity: sha512-SpYNEqg/6pZYoc+1zLCjVOYvxfZVZj6w0KROZ3Fje/QrM3nfvT2llI+wmKSrWuX6wmZeTapbarvuNNK/qepSgA==} - engines: {node: '>=12'} + /@esbuild/linux-x64@0.23.1: + resolution: {integrity: sha512-EV6+ovTsEXCPAp58g2dD68LxoP/wK5pRvgy0J/HxPGB009omFPv3Yet0HiaqvrIrgPTBuC6wCH1LTOY91EO5hQ==} + engines: {node: '>=18'} cpu: [x64] os: [linux] requiresBuild: true dev: false optional: true - /@esbuild/netbsd-x64@0.19.10: - resolution: {integrity: sha512-ACbZ0vXy9zksNArWlk2c38NdKg25+L9pr/mVaj9SUq6lHZu/35nx2xnQVRGLrC1KKQqJKRIB0q8GspiHI3J80Q==} - engines: {node: '>=12'} + /@esbuild/netbsd-x64@0.23.1: + resolution: {integrity: sha512-aevEkCNu7KlPRpYLjwmdcuNz6bDFiE7Z8XC4CPqExjTvrHugh28QzUXVOZtiYghciKUacNktqxdpymplil1beA==} + engines: {node: '>=18'} cpu: [x64] os: [netbsd] requiresBuild: true dev: false optional: true - /@esbuild/openbsd-x64@0.19.10: - resolution: {integrity: sha512-PxcgvjdSjtgPMiPQrM3pwSaG4kGphP+bLSb+cihuP0LYdZv1epbAIecHVl5sD3npkfYBZ0ZnOjR878I7MdJDFg==} - engines: {node: '>=12'} + /@esbuild/openbsd-arm64@0.23.1: + resolution: {integrity: sha512-3x37szhLexNA4bXhLrCC/LImN/YtWis6WXr1VESlfVtVeoFJBRINPJ3f0a/6LV8zpikqoUg4hyXw0sFBt5Cr+Q==} + engines: {node: '>=18'} + cpu: [arm64] + os: [openbsd] + requiresBuild: true + dev: false + optional: true + + /@esbuild/openbsd-x64@0.23.1: + resolution: {integrity: sha512-aY2gMmKmPhxfU+0EdnN+XNtGbjfQgwZj43k8G3fyrDM/UdZww6xrWxmDkuz2eCZchqVeABjV5BpildOrUbBTqA==} + engines: {node: '>=18'} cpu: [x64] os: [openbsd] requiresBuild: true dev: false optional: true - /@esbuild/sunos-x64@0.19.10: - resolution: {integrity: sha512-ZkIOtrRL8SEJjr+VHjmW0znkPs+oJXhlJbNwfI37rvgeMtk3sxOQevXPXjmAPZPigVTncvFqLMd+uV0IBSEzqA==} - engines: {node: '>=12'} + /@esbuild/sunos-x64@0.23.1: + resolution: {integrity: sha512-RBRT2gqEl0IKQABT4XTj78tpk9v7ehp+mazn2HbUeZl1YMdaGAQqhapjGTCe7uw7y0frDi4gS0uHzhvpFuI1sA==} + engines: {node: '>=18'} cpu: [x64] os: [sunos] requiresBuild: true dev: false optional: true - /@esbuild/win32-arm64@0.19.10: - resolution: {integrity: sha512-+Sa4oTDbpBfGpl3Hn3XiUe4f8TU2JF7aX8cOfqFYMMjXp6ma6NJDztl5FDG8Ezx0OjwGikIHw+iA54YLDNNVfw==} - engines: {node: '>=12'} + /@esbuild/win32-arm64@0.23.1: + resolution: {integrity: sha512-4O+gPR5rEBe2FpKOVyiJ7wNDPA8nGzDuJ6gN4okSA1gEOYZ67N8JPk58tkWtdtPeLz7lBnY6I5L3jdsr3S+A6A==} + engines: {node: '>=18'} cpu: [arm64] os: [win32] requiresBuild: true dev: false optional: true - /@esbuild/win32-ia32@0.19.10: - resolution: {integrity: sha512-EOGVLK1oWMBXgfttJdPHDTiivYSjX6jDNaATeNOaCOFEVcfMjtbx7WVQwPSE1eIfCp/CaSF2nSrDtzc4I9f8TQ==} - engines: {node: '>=12'} + /@esbuild/win32-ia32@0.23.1: + resolution: {integrity: sha512-BcaL0Vn6QwCwre3Y717nVHZbAa4UBEigzFm6VdsVdT/MbZ38xoj1X9HPkZhbmaBGUD1W8vxAfffbDe8bA6AKnQ==} + engines: {node: '>=18'} cpu: [ia32] os: [win32] requiresBuild: true dev: false optional: true - /@esbuild/win32-x64@0.19.10: - resolution: {integrity: sha512-whqLG6Sc70AbU73fFYvuYzaE4MNMBIlR1Y/IrUeOXFrWHxBEjjbZaQ3IXIQS8wJdAzue2GwYZCjOrgrU1oUHoA==} - engines: {node: '>=12'} + /@esbuild/win32-x64@0.23.1: + resolution: {integrity: sha512-BHpFFeslkWrXWyUPnbKm+xYYVYruCinGcftSBaa8zoF9hZO4BcSCFUvHVTtzpIY6YzUnYtuEhZ+C9iEXjxnasg==} + engines: {node: '>=18'} cpu: [x64] os: [win32] requiresBuild: true @@ -966,13 +975,13 @@ packages: engines: {node: '>=10'} dev: false - /@mdx-js/esbuild@2.3.0(esbuild@0.19.10): + /@mdx-js/esbuild@2.3.0(esbuild@0.23.1): resolution: {integrity: sha512-r/vsqsM0E+U4Wr0DK+0EfmABE/eg+8ITW4DjvYdh3ve/tK2safaqHArNnaqbOk1DjYGrhxtoXoGaM3BY8fGBTA==} peerDependencies: esbuild: '>=0.11.0' dependencies: '@mdx-js/mdx': 2.3.0 - esbuild: 0.19.10 + esbuild: 0.23.1 node-fetch: 3.3.2 vfile: 5.3.7 transitivePeerDependencies: @@ -2217,7 +2226,7 @@ packages: has-symbols: 1.0.3 dev: true - /autoprefixer@10.4.16(postcss@8.4.32): + /autoprefixer@10.4.16(postcss@8.4.47): resolution: {integrity: sha512-7vd3UC6xKp0HLfua5IjZlcXvGAGy7cBAXTg2lyQ/8WpNhd6SiZ8Be+xm3FyBSYJx5GKcpRCzBh7RH4/0dnY+uQ==} engines: {node: ^10 || ^12 || >=14} hasBin: true @@ -2225,11 +2234,11 @@ packages: postcss: ^8.1.0 dependencies: browserslist: 4.22.2 - caniuse-lite: 1.0.30001572 + caniuse-lite: 1.0.30001660 fraction.js: 4.3.7 normalize-range: 0.1.2 picocolors: 1.0.0 - postcss: 8.4.32 + postcss: 8.4.47 postcss-value-parser: 4.2.0 dev: false @@ -2304,7 +2313,7 @@ packages: engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} hasBin: true dependencies: - caniuse-lite: 1.0.30001572 + caniuse-lite: 1.0.30001660 electron-to-chromium: 1.4.616 node-releases: 2.0.14 update-browserslist-db: 1.0.13(browserslist@4.22.2) @@ -2353,12 +2362,8 @@ packages: engines: {node: '>= 6'} dev: false - /caniuse-lite@1.0.30001572: - resolution: {integrity: sha512-1Pbh5FLmn5y4+QhNyJE9j3/7dK44dGB83/ZMjv/qJk86TvDbjk0LosiZo0i0WB0Vx607qMX9jYrn1VLHCkN4rw==} - dev: false - - /caniuse-lite@1.0.30001632: - resolution: {integrity: sha512-udx3o7yHJfUxMLkGohMlVHCvFvWmirKh9JAH/d7WOLPetlH+LTL5cocMZ0t7oZx/mdlOWXti97xLZWc8uURRHg==} + /caniuse-lite@1.0.30001660: + resolution: {integrity: sha512-GacvNTTuATm26qC74pt+ad1fW15mlQ/zuTzzY1ZoIzECTP8HURDfF43kNxPgf7H1jmelCBQTTbBNxdSXOA7Bqg==} dev: false /ccount@2.0.1: @@ -2493,17 +2498,17 @@ packages: resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==} dev: true - /contentlayer@0.3.4(esbuild@0.19.10): + /contentlayer@0.3.4(esbuild@0.23.1): resolution: {integrity: sha512-FYDdTUFaN4yqep0waswrhcXjmMJnPD5iXDTtxcUCGdklfuIrXM2xLx51xl748cHmGA6IsC+27YZFxU6Ym13QIA==} engines: {node: '>=14.18'} hasBin: true requiresBuild: true dependencies: - '@contentlayer/cli': 0.3.4(esbuild@0.19.10) - '@contentlayer/client': 0.3.4(esbuild@0.19.10) - '@contentlayer/core': 0.3.4(esbuild@0.19.10) - '@contentlayer/source-files': 0.3.4(esbuild@0.19.10) - '@contentlayer/source-remote-files': 0.3.4(esbuild@0.19.10) + '@contentlayer/cli': 0.3.4(esbuild@0.23.1) + '@contentlayer/client': 0.3.4(esbuild@0.23.1) + '@contentlayer/core': 0.3.4(esbuild@0.23.1) + '@contentlayer/source-files': 0.3.4(esbuild@0.23.1) + '@contentlayer/source-remote-files': 0.3.4(esbuild@0.23.1) '@contentlayer/utils': 0.3.4 transitivePeerDependencies: - '@effect-ts/otel-node' @@ -2787,35 +2792,36 @@ packages: is-symbol: 1.0.4 dev: true - /esbuild@0.19.10: - resolution: {integrity: sha512-S1Y27QGt/snkNYrRcswgRFqZjaTG5a5xM3EQo97uNBnH505pdzSNe/HLBq1v0RO7iK/ngdbhJB6mDAp0OK+iUA==} - engines: {node: '>=12'} + /esbuild@0.23.1: + resolution: {integrity: sha512-VVNz/9Sa0bs5SELtn3f7qhJCDPCF5oMEl5cO9/SSinpE9hbPVvxbd572HH5AKiP7WD8INO53GgfDDhRjkylHEg==} + engines: {node: '>=18'} hasBin: true requiresBuild: true optionalDependencies: - '@esbuild/aix-ppc64': 0.19.10 - '@esbuild/android-arm': 0.19.10 - '@esbuild/android-arm64': 0.19.10 - '@esbuild/android-x64': 0.19.10 - '@esbuild/darwin-arm64': 0.19.10 - '@esbuild/darwin-x64': 0.19.10 - '@esbuild/freebsd-arm64': 0.19.10 - '@esbuild/freebsd-x64': 0.19.10 - '@esbuild/linux-arm': 0.19.10 - '@esbuild/linux-arm64': 0.19.10 - '@esbuild/linux-ia32': 0.19.10 - '@esbuild/linux-loong64': 0.19.10 - '@esbuild/linux-mips64el': 0.19.10 - '@esbuild/linux-ppc64': 0.19.10 - '@esbuild/linux-riscv64': 0.19.10 - '@esbuild/linux-s390x': 0.19.10 - '@esbuild/linux-x64': 0.19.10 - '@esbuild/netbsd-x64': 0.19.10 - '@esbuild/openbsd-x64': 0.19.10 - '@esbuild/sunos-x64': 0.19.10 - '@esbuild/win32-arm64': 0.19.10 - '@esbuild/win32-ia32': 0.19.10 - '@esbuild/win32-x64': 0.19.10 + '@esbuild/aix-ppc64': 0.23.1 + '@esbuild/android-arm': 0.23.1 + '@esbuild/android-arm64': 0.23.1 + '@esbuild/android-x64': 0.23.1 + '@esbuild/darwin-arm64': 0.23.1 + '@esbuild/darwin-x64': 0.23.1 + '@esbuild/freebsd-arm64': 0.23.1 + '@esbuild/freebsd-x64': 0.23.1 + '@esbuild/linux-arm': 0.23.1 + '@esbuild/linux-arm64': 0.23.1 + '@esbuild/linux-ia32': 0.23.1 + '@esbuild/linux-loong64': 0.23.1 + '@esbuild/linux-mips64el': 0.23.1 + '@esbuild/linux-ppc64': 0.23.1 + '@esbuild/linux-riscv64': 0.23.1 + '@esbuild/linux-s390x': 0.23.1 + '@esbuild/linux-x64': 0.23.1 + '@esbuild/netbsd-x64': 0.23.1 + '@esbuild/openbsd-arm64': 0.23.1 + '@esbuild/openbsd-x64': 0.23.1 + '@esbuild/sunos-x64': 0.23.1 + '@esbuild/win32-arm64': 0.23.1 + '@esbuild/win32-ia32': 0.23.1 + '@esbuild/win32-x64': 0.23.1 dev: false /escalade@3.1.1: @@ -4378,17 +4384,17 @@ packages: '@types/mdast': 3.0.15 dev: false - /mdx-bundler@9.2.1(esbuild@0.19.10): + /mdx-bundler@9.2.1(esbuild@0.23.1): resolution: {integrity: sha512-hWEEip1KU9MCNqeH2rqwzAZ1pdqPPbfkx9OTJjADqGPQz4t9BO85fhI7AP9gVYrpmfArf9/xJZUN0yBErg/G/Q==} engines: {node: '>=14', npm: '>=6'} peerDependencies: esbuild: 0.* dependencies: '@babel/runtime': 7.23.6 - '@esbuild-plugins/node-resolve': 0.1.4(esbuild@0.19.10) + '@esbuild-plugins/node-resolve': 0.1.4(esbuild@0.23.1) '@fal-works/esbuild-plugin-global-externals': 2.1.2 - '@mdx-js/esbuild': 2.3.0(esbuild@0.19.10) - esbuild: 0.19.10 + '@mdx-js/esbuild': 2.3.0(esbuild@0.23.1) + esbuild: 0.23.1 gray-matter: 4.0.3 remark-frontmatter: 4.0.1 remark-mdx-frontmatter: 1.1.1 @@ -4827,7 +4833,7 @@ packages: resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==} dev: true - /next-contentlayer@0.3.4(contentlayer@0.3.4)(esbuild@0.19.10)(next@14.2.3)(react-dom@18.3.1)(react@18.3.1): + /next-contentlayer@0.3.4(contentlayer@0.3.4)(esbuild@0.23.1)(next@14.2.3)(react-dom@18.3.1)(react@18.3.1): resolution: {integrity: sha512-UtUCwgAl159KwfhNaOwyiI7Lg6sdioyKMeh+E7jxx0CJ29JuXGxBEYmCI6+72NxFGIFZKx8lvttbbQhbnYWYSw==} peerDependencies: contentlayer: 0.3.4 @@ -4835,9 +4841,9 @@ packages: react: '*' react-dom: '*' dependencies: - '@contentlayer/core': 0.3.4(esbuild@0.19.10) + '@contentlayer/core': 0.3.4(esbuild@0.23.1) '@contentlayer/utils': 0.3.4 - contentlayer: 0.3.4(esbuild@0.19.10) + contentlayer: 0.3.4(esbuild@0.23.1) next: 14.2.3(@opentelemetry/api@1.7.0)(react-dom@18.3.1)(react@18.3.1) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) @@ -4882,7 +4888,7 @@ packages: '@opentelemetry/api': 1.7.0 '@swc/helpers': 0.5.5 busboy: 1.6.0 - caniuse-lite: 1.0.30001632 + caniuse-lite: 1.0.30001660 graceful-fs: 4.2.11 postcss: 8.4.31 react: 18.3.1 @@ -5134,6 +5140,10 @@ packages: resolution: {integrity: sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==} dev: false + /picocolors@1.1.0: + resolution: {integrity: sha512-TQ92mBOW0l3LeMeyLV6mzy/kWr8lkd/hp3mTg7wYK7zJhuBStmGMBG0BdeDZS/dZx1IukaX6Bk11zcln25o1Aw==} + dev: false + /picomatch@2.3.1: resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} engines: {node: '>=8.6'} @@ -5235,6 +5245,15 @@ packages: source-map-js: 1.0.2 dev: false + /postcss@8.4.47: + resolution: {integrity: sha512-56rxCq7G/XfB4EkXq9Egn5GCqugWvDFjafDOThIdMBsI15iqPqR5r15TfSr1YPYeEI19YeaXMCbY6u88Y76GLQ==} + engines: {node: ^10 || ^12 || >=14} + dependencies: + nanoid: 3.3.7 + picocolors: 1.1.0 + source-map-js: 1.2.1 + dev: false + /prebuild-install@7.1.1: resolution: {integrity: sha512-jAXscXWMcCK8GgCoHOfIr0ODh5ai8mj63L2nWrjuAgXE6tDyYGnx4/8o/rCgU+B4JSyZBKbeZqzhtwtC3ovxjw==} engines: {node: '>=10'} @@ -5733,8 +5752,8 @@ packages: loose-envify: 1.4.0 dev: false - /search-insights@2.13.0: - resolution: {integrity: sha512-Orrsjf9trHHxFRuo9/rzm0KIWmgzE8RMlZMzuhZOJ01Rnz3D0YBAe+V6473t6/H6c7irs6Lt48brULAiRWb3Vw==} + /search-insights@2.17.2: + resolution: {integrity: sha512-zFNpOpUO+tY2D85KrxJ+aqwnIfdEGi06UH2+xEb+Bp9Mwznmauqc9djbnBibJO5mpfUPPa8st6Sx65+vbeO45g==} dev: false /section-matter@1.0.0: @@ -5864,6 +5883,11 @@ packages: engines: {node: '>=0.10.0'} dev: false + /source-map-js@1.2.1: + resolution: {integrity: sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==} + engines: {node: '>=0.10.0'} + dev: false + /source-map-support@0.5.21: resolution: {integrity: sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==} dependencies: diff --git a/src/data/navigation.ts b/src/data/navigation.ts index 2e6e3b256..8d7c158ce 100644 --- a/src/data/navigation.ts +++ b/src/data/navigation.ts @@ -622,6 +622,16 @@ const navigation_5_3: NavigationItem[] = [ { title: "Usage and Pricing", href: "/cody/usage-and-pricing" }, { title: "Troubleshooting", href: "/cody/troubleshooting" }, { title: "FAQs", href: "/cody/faq" }, + { + title: "Cody API", href: "/cody/api", + subsections: [ + { title: "Cody for VS Code", href: "/cody/clients/install-vscode", }, + { title: "Cody for JetBrains", href: "/cody/clients/install-jetbrains", }, + { title: "Cody for Neovim", href: "/cody/clients/install-neovim", }, + { title: "Cody for Web", href: "/cody/clients/cody-with-sourcegraph", }, + { title: "Cody for Enterprise", href: "/cody/clients/enable-cody-enterprise", }, + ] + }, ], }, {