From 863dc52296e442a4aa9e3b3edf7c1e225cee91db Mon Sep 17 00:00:00 2001 From: Diwank Tomer Date: Thu, 27 Jun 2024 16:24:13 -0700 Subject: [PATCH 1/2] feat(sdks/ts): Add adaptive context options to the SDK Signed-off-by: Diwank Tomer --- docs/js-sdk-docs/README.md | 220 +------ docs/js-sdk-docs/classes/api.ApiError.md | 12 +- .../classes/api.BaseHttpRequest.md | 6 +- docs/js-sdk-docs/classes/api.CancelError.md | 4 +- .../classes/api.CancelablePromise.md | 28 +- .../js-sdk-docs/classes/api.DefaultService.md | 76 +-- .../api_JulepApiClient.JulepApiClient.md | 6 +- .../classes/managers_agent.AgentsManager.md | 16 +- .../classes/managers_base.BaseManager.md | 4 +- .../classes/managers_doc.DocsManager.md | 12 +- .../managers_memory.MemoriesManager.md | 6 +- .../managers_session.SessionsManager.md | 24 +- .../classes/managers_tool.ToolsManager.md | 12 +- .../classes/managers_user.UsersManager.md | 16 +- ...ls_requestConstructor.CustomHttpRequest.md | 6 +- .../managers_session.CreateSessionPayload.md | 32 +- docs/js-sdk-docs/modules/api.md | 204 +++--- docs/js-sdk-docs/modules/utils_invariant.md | 2 +- .../js-sdk-docs/modules/utils_isValidUuid4.md | 2 +- docs/js-sdk-docs/modules/utils_openaiPatch.md | 2 +- docs/js-sdk-docs/modules/utils_xor.md | 2 +- sdks/ts/README.md | 1 + sdks/ts/package-lock.json | 581 +++++++++++++++++- sdks/ts/package.json | 9 +- sdks/ts/src/check.ts | 11 + sdks/ts/src/managers/session.ts | 43 +- sdks/ts/tsconfig.json | 21 +- 27 files changed, 883 insertions(+), 475 deletions(-) create mode 100644 sdks/ts/README.md create mode 100644 sdks/ts/src/check.ts diff --git a/docs/js-sdk-docs/README.md b/docs/js-sdk-docs/README.md index 6f7a0945a..a974d134d 100644 --- a/docs/js-sdk-docs/README.md +++ b/docs/js-sdk-docs/README.md @@ -1,221 +1,3 @@ @julep/sdk / [Modules](modules.md) -English | [中文翻译](/README-CN.md) - -
- julep -
- ---- - -💸🤑 **Announcing our Bounty Program:** Help the Julep community fix bugs and ship features and get paid. More details [here](https://github.com/julep-ai/julep/discussions/categories/bounty-program). - ---- - -

-Start your project with conversation history, support for any LLM, agentic workflows, integrations & more. -

- -

-
- Explore the docs » -
-
- Report Bug - · - Request Feature - · - Join Our Discord - · - X - · - LinkedIn - -

- -

- NPM Version -   - PyPI - Version -   - Docker Image Version -   - GitHub License -

- ---- -## Why Julep? -We've built a lot of AI apps and understand how difficult it is to evaluate hundreds of tools, techniques, and models, and then make them work well together. - -**The Problems** -1. The barrier to making LLM apps with memory, knowledge & tools is too high. -2. Agentic behaviour is hard to control when done through multi-agent frameworks. - ---- -## Features -- **Statefulness By Design**: Manages conversation history by default. Use simple flags; `remember` & `recall` to tune whether to save or retrieve conversation history. -- **Support for Users & Agents**: Allows creating different user <-> agent interactions like `One Agent <-> Many Users`; `Many Agents <-> One User` etc. [Read more,](https://docs.julep.ai/concepts/). -- **Built-in RAG**: Add, delete & update documents to give the LLM context about the user or an agent depending on your use case. [Read more here.](https://docs.julep.ai/guides/build-a-retrieval-augmented-generation-rag-agent) -- **90+ tools built-in**: Connect your AI app to 90+ third-party applications using [Composio](https://docs.composio.dev/framework/julep/) natively. `toolset.handle_tool_calls(julep_client, session.id, response)` will call and handle your tools for you! [See example](https://docs.julep.ai/guides/use-julep-with-composio) -- **Local-first**: Julep comes ready to be deployed to production using Docker Compose. Support for k8s coming soon! -- **Switch LLMs on the fly**: Update the Agent to switch between LLMs from OpenAI, Anthropic or Ollama. All the while preserving state. -- ***Assign Tasks to Agents**: Define agentic workflows to be executed asynchronously with one ore more without worrying about timeouts or multiplying hallucinations. [Work in progress](https://github.com/julep-ai/julep/discussions/387) - -> (*) Coming soon! - ---- -## Guides -You can view the different features of Julep in action in the [guide docs](https://docs.julep.ai/guides/). -1. [Simple Conversational Bot](https://deepnote.com/app/julep-ai-761c/Julep-Mixers-4dfff09a-84f2-4278-baa3-d1a00b88ba26) -2. [Search Agent](https://docs.julep.ai/guides/) -3. [RAG Agent](https://docs.julep.ai/guides/build-a-retrieval-augmented-generation-rag-agent) -5. [GitHub Agent with Composio](https://docs.julep.ai/guides/use-julep-with-composio) -5. [GPT 4o for Vision](https://docs.julep.ai/guides/image-+-text-with-gpt-4o) ---- - -## Quickstart -### Option 1: Use the Julep Cloud -Our hosted platform is in Beta! - -To get access: -- Head over to https://platform.julep.ai -- Generate and add your `JULEP_API_KEY` in `.env` - -### Option 2: Install and run Julep locally -Head over to docs on [self-hosting](https://docs.julep.ai/guides/self-hosting) to see how to run Julep locally! -### Installation - -``` -pip install julep -``` -### Setting up the `client` - -```py -from julep import Client -from pprint import pprint -import textwrap -import os - -base_url = os.environ.get("JULEP_API_URL") -api_key = os.environ.get("JULEP_API_KEY") - -client = Client(api_key=api_key, base_url=base_url) -``` - -### Create an agent -Agent is the object to which LLM settings like model, temperature along with tools are scoped to. -```py -agent = client.agents.create( - name="Jessica" - model="gpt-4", - tools=[] # Tools defined here -) -``` - -### Create a user -User is the object which represents the user of the application. - -Memories are formed and saved for each user and many users can talk to one agent. -```py -user = client.users.create( - name="Anon", - about="Average nerdy techbro/girl spending 8 hours a day on a laptop, -) -``` - -### Create a session -A "user" and an "agent" communicate in a "session". System prompt goes here. -Conversation history and summary are stored in a "session" which saves the conversation history. - -The session paradigm allows for; many users to interact with one agent and allow separation of conversation history and memories. - -```py -situation_prompt = """You are Jessica. You're a stuck up Cali teenager. -You basically complain about everything. You live in Bel-Air, Los Angeles and drag yourself to Curtis High School when you must. -""" -session = client.sessions.create( - user_id=user.id, agent_id=agent.id, situation=situation_prompt -) -``` - -### Start a stateful conversation -`session.chat` controls the communication between the "agent" and the "user". - -It has two important arguments; -- `recall`: Retrieves the previous conversations and memories. -- `remember`: Saves the current conversation turn into the memory store. - -To keep the session stateful, both need to be `True` - -```py -user_msg = "hey. what do u think of starbucks" -response = client.sessions.chat( - session_id=session.id, - messages=[ - { - "role": "user", - "content": user_msg, - "name": "Anon", - } - ], - recall=True, - remember=True, -) - -print("\n".join(textwrap.wrap(response.response[0][0].content, width=100))) -``` ---- - -## API and SDKs -To use the API directly or to take a look at request & response formats, authentication, available endpoints and more, please refer to the [API Documentation](https://docs.julep.ai/api-reference/agents-api/agents-api) - -You can also use the [Postman Collection](https://god.gw.postman.com/run-collection/33213061-a0a1e3a9-9681-44ae-a5c2-703912b32336?action=collection%2Ffork&source=rip_markdown&collection-url=entityId%3D33213061-a0a1e3a9-9681-44ae-a5c2-703912b32336%26entityType%3Dcollection%26workspaceId%3D183380b4-f2ac-44ef-b018-1f65dfc8256b) for reference. - -### Python SDK - -To install the Python SDK, run: - -```bash -pip install julep -``` -For more information on using the Python SDK, please refer to the [Python SDK documentation](https://docs.julep.ai/api-reference/python-sdk-docs). - -### TypeScript SDK -To install the TypeScript SDK using `npm`, run: - -```bash -npm install @julep/sdk -``` - -For more information on using the TypeScript SDK, please refer to the [TypeScript SDK documentation](https://docs.julep.ai/api-reference/js-sdk-docs). - ---- - -## Deployment -Check out the [self-hosting guide](https://docs.julep.ai/agents/self-hosting) to host the platform yourself. - -If you want to deploy Julep to production, [let's hop on a call](https://cal.com/ishitaj/15min)! - -We'll help you customise the platform and help you get set up with: -- Multi-tenancy -- Reverse proxy along with authentication and authorisation -- Self-hosted LLMs -- & more - ---- -## Contributing -We welcome contributions from the community to help improve and expand the Julep AI platform. See [CONTRIBUTING.md](CONTRIBUTING.md) - ---- -## License -Julep AI is released under the Apache 2.0 License. By using, contributing to, or distributing the Julep AI platform, you agree to the terms and conditions of this license. - ---- -## Contact and Support -If you have any questions, need assistance, or want to get in touch with the Julep AI team, please use the following channels: - -- [Discord](https://discord.com/invite/JTSBGRZrzj): Join our community forum to discuss ideas, ask questions, and get help from other Julep AI users and the development team. -- GitHub Issues: For technical issues, bug reports, and feature requests, please open an issue on the Julep AI GitHub repository. -- Email Support: If you need direct assistance from our support team, send an email to hey@julep.ai, and we'll get back to you as soon as possible. -- Follow for updates on [X](https://twitter.com/julep_ai) & [LinkedIn](https://www.linkedin.com/company/julep-ai/) -- [Hop on a call](https://cal.com/ishitaj/15min): We wanna know what you're building and how we can tweak and tune Julep to help you build your next AI app. +@julep/sdk diff --git a/docs/js-sdk-docs/classes/api.ApiError.md b/docs/js-sdk-docs/classes/api.ApiError.md index 9a9a7fdaf..6acf3c3c8 100644 --- a/docs/js-sdk-docs/classes/api.ApiError.md +++ b/docs/js-sdk-docs/classes/api.ApiError.md @@ -57,7 +57,7 @@ Error.constructor #### Defined in -[src/api/core/ApiError.ts:15](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/core/ApiError.ts#L15) +[src/api/core/ApiError.ts:15](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/core/ApiError.ts#L15) ## Properties @@ -67,7 +67,7 @@ Error.constructor #### Defined in -[src/api/core/ApiError.ts:12](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/core/ApiError.ts#L12) +[src/api/core/ApiError.ts:12](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/core/ApiError.ts#L12) ___ @@ -105,7 +105,7 @@ ___ #### Defined in -[src/api/core/ApiError.ts:13](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/core/ApiError.ts#L13) +[src/api/core/ApiError.ts:13](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/core/ApiError.ts#L13) ___ @@ -129,7 +129,7 @@ ___ #### Defined in -[src/api/core/ApiError.ts:10](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/core/ApiError.ts#L10) +[src/api/core/ApiError.ts:10](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/core/ApiError.ts#L10) ___ @@ -139,7 +139,7 @@ ___ #### Defined in -[src/api/core/ApiError.ts:11](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/core/ApiError.ts#L11) +[src/api/core/ApiError.ts:11](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/core/ApiError.ts#L11) ___ @@ -149,7 +149,7 @@ ___ #### Defined in -[src/api/core/ApiError.ts:9](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/core/ApiError.ts#L9) +[src/api/core/ApiError.ts:9](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/core/ApiError.ts#L9) ___ diff --git a/docs/js-sdk-docs/classes/api.BaseHttpRequest.md b/docs/js-sdk-docs/classes/api.BaseHttpRequest.md index 5cfe9b7f2..c2bebc27e 100644 --- a/docs/js-sdk-docs/classes/api.BaseHttpRequest.md +++ b/docs/js-sdk-docs/classes/api.BaseHttpRequest.md @@ -36,7 +36,7 @@ #### Defined in -[src/api/core/BaseHttpRequest.ts:10](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/core/BaseHttpRequest.ts#L10) +[src/api/core/BaseHttpRequest.ts:10](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/core/BaseHttpRequest.ts#L10) ## Properties @@ -46,7 +46,7 @@ #### Defined in -[src/api/core/BaseHttpRequest.ts:10](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/core/BaseHttpRequest.ts#L10) +[src/api/core/BaseHttpRequest.ts:10](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/core/BaseHttpRequest.ts#L10) ## Methods @@ -72,4 +72,4 @@ #### Defined in -[src/api/core/BaseHttpRequest.ts:12](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/core/BaseHttpRequest.ts#L12) +[src/api/core/BaseHttpRequest.ts:12](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/core/BaseHttpRequest.ts#L12) diff --git a/docs/js-sdk-docs/classes/api.CancelError.md b/docs/js-sdk-docs/classes/api.CancelError.md index 50c996b70..d1b33d194 100644 --- a/docs/js-sdk-docs/classes/api.CancelError.md +++ b/docs/js-sdk-docs/classes/api.CancelError.md @@ -54,7 +54,7 @@ Error.constructor #### Defined in -[src/api/core/CancelablePromise.ts:6](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/core/CancelablePromise.ts#L6) +[src/api/core/CancelablePromise.ts:6](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/core/CancelablePromise.ts#L6) ## Properties @@ -159,7 +159,7 @@ node_modules/@types/node/globals.d.ts:30 #### Defined in -[src/api/core/CancelablePromise.ts:11](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/core/CancelablePromise.ts#L11) +[src/api/core/CancelablePromise.ts:11](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/core/CancelablePromise.ts#L11) ## Methods diff --git a/docs/js-sdk-docs/classes/api.CancelablePromise.md b/docs/js-sdk-docs/classes/api.CancelablePromise.md index a319faac2..a3b031242 100644 --- a/docs/js-sdk-docs/classes/api.CancelablePromise.md +++ b/docs/js-sdk-docs/classes/api.CancelablePromise.md @@ -66,7 +66,7 @@ #### Defined in -[src/api/core/CancelablePromise.ts:33](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/core/CancelablePromise.ts#L33) +[src/api/core/CancelablePromise.ts:33](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/core/CancelablePromise.ts#L33) ## Properties @@ -76,7 +76,7 @@ #### Defined in -[src/api/core/CancelablePromise.ts:28](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/core/CancelablePromise.ts#L28) +[src/api/core/CancelablePromise.ts:28](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/core/CancelablePromise.ts#L28) ___ @@ -86,7 +86,7 @@ ___ #### Defined in -[src/api/core/CancelablePromise.ts:27](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/core/CancelablePromise.ts#L27) +[src/api/core/CancelablePromise.ts:27](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/core/CancelablePromise.ts#L27) ___ @@ -96,7 +96,7 @@ ___ #### Defined in -[src/api/core/CancelablePromise.ts:26](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/core/CancelablePromise.ts#L26) +[src/api/core/CancelablePromise.ts:26](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/core/CancelablePromise.ts#L26) ___ @@ -106,7 +106,7 @@ ___ #### Defined in -[src/api/core/CancelablePromise.ts:25](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/core/CancelablePromise.ts#L25) +[src/api/core/CancelablePromise.ts:25](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/core/CancelablePromise.ts#L25) ___ @@ -116,7 +116,7 @@ ___ #### Defined in -[src/api/core/CancelablePromise.ts:29](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/core/CancelablePromise.ts#L29) +[src/api/core/CancelablePromise.ts:29](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/core/CancelablePromise.ts#L29) ___ @@ -140,7 +140,7 @@ ___ #### Defined in -[src/api/core/CancelablePromise.ts:31](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/core/CancelablePromise.ts#L31) +[src/api/core/CancelablePromise.ts:31](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/core/CancelablePromise.ts#L31) ___ @@ -164,7 +164,7 @@ ___ #### Defined in -[src/api/core/CancelablePromise.ts:30](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/core/CancelablePromise.ts#L30) +[src/api/core/CancelablePromise.ts:30](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/core/CancelablePromise.ts#L30) ## Accessors @@ -182,7 +182,7 @@ Promise.[toStringTag] #### Defined in -[src/api/core/CancelablePromise.ts:87](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/core/CancelablePromise.ts#L87) +[src/api/core/CancelablePromise.ts:87](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/core/CancelablePromise.ts#L87) ___ @@ -196,7 +196,7 @@ ___ #### Defined in -[src/api/core/CancelablePromise.ts:127](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/core/CancelablePromise.ts#L127) +[src/api/core/CancelablePromise.ts:127](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/core/CancelablePromise.ts#L127) ## Methods @@ -210,7 +210,7 @@ ___ #### Defined in -[src/api/core/CancelablePromise.ts:108](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/core/CancelablePromise.ts#L108) +[src/api/core/CancelablePromise.ts:108](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/core/CancelablePromise.ts#L108) ___ @@ -240,7 +240,7 @@ Promise.catch #### Defined in -[src/api/core/CancelablePromise.ts:98](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/core/CancelablePromise.ts#L98) +[src/api/core/CancelablePromise.ts:98](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/core/CancelablePromise.ts#L98) ___ @@ -264,7 +264,7 @@ Promise.finally #### Defined in -[src/api/core/CancelablePromise.ts:104](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/core/CancelablePromise.ts#L104) +[src/api/core/CancelablePromise.ts:104](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/core/CancelablePromise.ts#L104) ___ @@ -296,4 +296,4 @@ Promise.then #### Defined in -[src/api/core/CancelablePromise.ts:91](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/core/CancelablePromise.ts#L91) +[src/api/core/CancelablePromise.ts:91](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/core/CancelablePromise.ts#L91) diff --git a/docs/js-sdk-docs/classes/api.DefaultService.md b/docs/js-sdk-docs/classes/api.DefaultService.md index 42b8a7032..32eb41edc 100644 --- a/docs/js-sdk-docs/classes/api.DefaultService.md +++ b/docs/js-sdk-docs/classes/api.DefaultService.md @@ -71,7 +71,7 @@ #### Defined in -[src/api/services/DefaultService.ts:35](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/services/DefaultService.ts#L35) +[src/api/services/DefaultService.ts:35](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/services/DefaultService.ts#L35) ## Properties @@ -81,7 +81,7 @@ #### Defined in -[src/api/services/DefaultService.ts:35](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/services/DefaultService.ts#L35) +[src/api/services/DefaultService.ts:35](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/services/DefaultService.ts#L35) ## Methods @@ -112,7 +112,7 @@ ApiError #### Defined in -[src/api/services/DefaultService.ts:404](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/services/DefaultService.ts#L404) +[src/api/services/DefaultService.ts:404](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/services/DefaultService.ts#L404) ___ @@ -142,7 +142,7 @@ ApiError #### Defined in -[src/api/services/DefaultService.ts:180](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/services/DefaultService.ts#L180) +[src/api/services/DefaultService.ts:180](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/services/DefaultService.ts#L180) ___ @@ -172,7 +172,7 @@ ApiError #### Defined in -[src/api/services/DefaultService.ts:668](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/services/DefaultService.ts#L668) +[src/api/services/DefaultService.ts:668](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/services/DefaultService.ts#L668) ___ @@ -202,7 +202,7 @@ ApiError #### Defined in -[src/api/services/DefaultService.ts:857](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/services/DefaultService.ts#L857) +[src/api/services/DefaultService.ts:857](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/services/DefaultService.ts#L857) ___ @@ -232,7 +232,7 @@ ApiError #### Defined in -[src/api/services/DefaultService.ts:42](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/services/DefaultService.ts#L42) +[src/api/services/DefaultService.ts:42](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/services/DefaultService.ts#L42) ___ @@ -262,7 +262,7 @@ ApiError #### Defined in -[src/api/services/DefaultService.ts:111](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/services/DefaultService.ts#L111) +[src/api/services/DefaultService.ts:111](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/services/DefaultService.ts#L111) ___ @@ -292,7 +292,7 @@ ApiError #### Defined in -[src/api/services/DefaultService.ts:740](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/services/DefaultService.ts#L740) +[src/api/services/DefaultService.ts:740](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/services/DefaultService.ts#L740) ___ @@ -321,7 +321,7 @@ ApiError #### Defined in -[src/api/services/DefaultService.ts:556](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/services/DefaultService.ts#L556) +[src/api/services/DefaultService.ts:556](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/services/DefaultService.ts#L556) ___ @@ -351,7 +351,7 @@ ApiError #### Defined in -[src/api/services/DefaultService.ts:783](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/services/DefaultService.ts#L783) +[src/api/services/DefaultService.ts:783](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/services/DefaultService.ts#L783) ___ @@ -381,7 +381,7 @@ ApiError #### Defined in -[src/api/services/DefaultService.ts:804](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/services/DefaultService.ts#L804) +[src/api/services/DefaultService.ts:804](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/services/DefaultService.ts#L804) ___ @@ -411,7 +411,7 @@ ApiError #### Defined in -[src/api/services/DefaultService.ts:879](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/services/DefaultService.ts#L879) +[src/api/services/DefaultService.ts:879](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/services/DefaultService.ts#L879) ___ @@ -440,7 +440,7 @@ ApiError #### Defined in -[src/api/services/DefaultService.ts:266](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/services/DefaultService.ts#L266) +[src/api/services/DefaultService.ts:266](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/services/DefaultService.ts#L266) ___ @@ -469,7 +469,7 @@ ApiError #### Defined in -[src/api/services/DefaultService.ts:386](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/services/DefaultService.ts#L386) +[src/api/services/DefaultService.ts:386](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/services/DefaultService.ts#L386) ___ @@ -498,7 +498,7 @@ ApiError #### Defined in -[src/api/services/DefaultService.ts:480](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/services/DefaultService.ts#L480) +[src/api/services/DefaultService.ts:480](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/services/DefaultService.ts#L480) ___ @@ -528,7 +528,7 @@ ApiError #### Defined in -[src/api/services/DefaultService.ts:762](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/services/DefaultService.ts#L762) +[src/api/services/DefaultService.ts:762](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/services/DefaultService.ts#L762) ___ @@ -557,7 +557,7 @@ ApiError #### Defined in -[src/api/services/DefaultService.ts:542](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/services/DefaultService.ts#L542) +[src/api/services/DefaultService.ts:542](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/services/DefaultService.ts#L542) ___ @@ -593,7 +593,7 @@ ApiError #### Defined in -[src/api/services/DefaultService.ts:619](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/services/DefaultService.ts#L619) +[src/api/services/DefaultService.ts:619](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/services/DefaultService.ts#L619) ___ @@ -627,7 +627,7 @@ ApiError #### Defined in -[src/api/services/DefaultService.ts:432](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/services/DefaultService.ts#L432) +[src/api/services/DefaultService.ts:432](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/services/DefaultService.ts#L432) ___ @@ -660,7 +660,7 @@ ApiError #### Defined in -[src/api/services/DefaultService.ts:826](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/services/DefaultService.ts#L826) +[src/api/services/DefaultService.ts:826](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/services/DefaultService.ts#L826) ___ @@ -692,7 +692,7 @@ ApiError #### Defined in -[src/api/services/DefaultService.ts:358](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/services/DefaultService.ts#L358) +[src/api/services/DefaultService.ts:358](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/services/DefaultService.ts#L358) ___ @@ -721,7 +721,7 @@ ApiError #### Defined in -[src/api/services/DefaultService.ts:950](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/services/DefaultService.ts#L950) +[src/api/services/DefaultService.ts:950](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/services/DefaultService.ts#L950) ___ @@ -750,7 +750,7 @@ ApiError #### Defined in -[src/api/services/DefaultService.ts:248](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/services/DefaultService.ts#L248) +[src/api/services/DefaultService.ts:248](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/services/DefaultService.ts#L248) ___ @@ -782,7 +782,7 @@ ApiError #### Defined in -[src/api/services/DefaultService.ts:329](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/services/DefaultService.ts#L329) +[src/api/services/DefaultService.ts:329](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/services/DefaultService.ts#L329) ___ @@ -811,7 +811,7 @@ ApiError #### Defined in -[src/api/services/DefaultService.ts:466](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/services/DefaultService.ts#L466) +[src/api/services/DefaultService.ts:466](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/services/DefaultService.ts#L466) ___ @@ -847,7 +847,7 @@ ApiError #### Defined in -[src/api/services/DefaultService.ts:691](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/services/DefaultService.ts#L691) +[src/api/services/DefaultService.ts:691](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/services/DefaultService.ts#L691) ___ @@ -881,7 +881,7 @@ ApiError #### Defined in -[src/api/services/DefaultService.ts:201](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/services/DefaultService.ts#L201) +[src/api/services/DefaultService.ts:201](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/services/DefaultService.ts#L201) ___ @@ -915,7 +915,7 @@ ApiError #### Defined in -[src/api/services/DefaultService.ts:63](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/services/DefaultService.ts#L63) +[src/api/services/DefaultService.ts:63](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/services/DefaultService.ts#L63) ___ @@ -949,7 +949,7 @@ ApiError #### Defined in -[src/api/services/DefaultService.ts:132](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/services/DefaultService.ts#L132) +[src/api/services/DefaultService.ts:132](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/services/DefaultService.ts#L132) ___ @@ -979,7 +979,7 @@ ApiError #### Defined in -[src/api/services/DefaultService.ts:596](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/services/DefaultService.ts#L596) +[src/api/services/DefaultService.ts:596](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/services/DefaultService.ts#L596) ___ @@ -1010,7 +1010,7 @@ ApiError #### Defined in -[src/api/services/DefaultService.ts:925](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/services/DefaultService.ts#L925) +[src/api/services/DefaultService.ts:925](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/services/DefaultService.ts#L925) ___ @@ -1040,7 +1040,7 @@ ApiError #### Defined in -[src/api/services/DefaultService.ts:306](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/services/DefaultService.ts#L306) +[src/api/services/DefaultService.ts:306](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/services/DefaultService.ts#L306) ___ @@ -1070,7 +1070,7 @@ ApiError #### Defined in -[src/api/services/DefaultService.ts:520](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/services/DefaultService.ts#L520) +[src/api/services/DefaultService.ts:520](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/services/DefaultService.ts#L520) ___ @@ -1100,7 +1100,7 @@ ApiError #### Defined in -[src/api/services/DefaultService.ts:574](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/services/DefaultService.ts#L574) +[src/api/services/DefaultService.ts:574](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/services/DefaultService.ts#L574) ___ @@ -1131,7 +1131,7 @@ ApiError #### Defined in -[src/api/services/DefaultService.ts:900](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/services/DefaultService.ts#L900) +[src/api/services/DefaultService.ts:900](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/services/DefaultService.ts#L900) ___ @@ -1161,7 +1161,7 @@ ApiError #### Defined in -[src/api/services/DefaultService.ts:284](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/services/DefaultService.ts#L284) +[src/api/services/DefaultService.ts:284](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/services/DefaultService.ts#L284) ___ @@ -1191,4 +1191,4 @@ ApiError #### Defined in -[src/api/services/DefaultService.ts:498](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/services/DefaultService.ts#L498) +[src/api/services/DefaultService.ts:498](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/services/DefaultService.ts#L498) diff --git a/docs/js-sdk-docs/classes/api_JulepApiClient.JulepApiClient.md b/docs/js-sdk-docs/classes/api_JulepApiClient.JulepApiClient.md index 04a2502f2..9ab33ead9 100644 --- a/docs/js-sdk-docs/classes/api_JulepApiClient.JulepApiClient.md +++ b/docs/js-sdk-docs/classes/api_JulepApiClient.JulepApiClient.md @@ -34,7 +34,7 @@ #### Defined in -[src/api/JulepApiClient.ts:13](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/JulepApiClient.ts#L13) +[src/api/JulepApiClient.ts:13](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/JulepApiClient.ts#L13) ## Properties @@ -44,7 +44,7 @@ #### Defined in -[src/api/JulepApiClient.ts:11](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/JulepApiClient.ts#L11) +[src/api/JulepApiClient.ts:11](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/JulepApiClient.ts#L11) ___ @@ -54,4 +54,4 @@ ___ #### Defined in -[src/api/JulepApiClient.ts:12](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/JulepApiClient.ts#L12) +[src/api/JulepApiClient.ts:12](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/JulepApiClient.ts#L12) diff --git a/docs/js-sdk-docs/classes/managers_agent.AgentsManager.md b/docs/js-sdk-docs/classes/managers_agent.AgentsManager.md index df6a576de..c8684da12 100644 --- a/docs/js-sdk-docs/classes/managers_agent.AgentsManager.md +++ b/docs/js-sdk-docs/classes/managers_agent.AgentsManager.md @@ -55,7 +55,7 @@ Constructs a new instance of BaseManager. #### Defined in -[src/managers/base.ts:12](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/managers/base.ts#L12) +[src/managers/base.ts:12](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/managers/base.ts#L12) ## Properties @@ -71,7 +71,7 @@ The JulepApiClient instance used for API interactions. #### Defined in -[src/managers/base.ts:12](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/managers/base.ts#L12) +[src/managers/base.ts:12](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/managers/base.ts#L12) ## Methods @@ -98,7 +98,7 @@ The JulepApiClient instance used for API interactions. #### Defined in -[src/managers/agent.ts:24](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/managers/agent.ts#L24) +[src/managers/agent.ts:24](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/managers/agent.ts#L24) ___ @@ -118,7 +118,7 @@ ___ #### Defined in -[src/managers/agent.ts:85](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/managers/agent.ts#L85) +[src/managers/agent.ts:85](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/managers/agent.ts#L85) ___ @@ -138,7 +138,7 @@ ___ #### Defined in -[src/managers/agent.ts:18](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/managers/agent.ts#L18) +[src/managers/agent.ts:18](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/managers/agent.ts#L18) ___ @@ -161,7 +161,7 @@ ___ #### Defined in -[src/managers/agent.ts:65](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/managers/agent.ts#L65) +[src/managers/agent.ts:65](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/managers/agent.ts#L65) ___ @@ -183,7 +183,7 @@ ___ #### Defined in -[src/managers/agent.ts:92](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/managers/agent.ts#L92) +[src/managers/agent.ts:92](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/managers/agent.ts#L92) ▸ **update**(`agentId`, `request`, `overwrite`): `Promise`\<`Partial`\<[`Agent`](../modules/api.md#agent)\> & \{ `id`: `string` }\> @@ -201,4 +201,4 @@ ___ #### Defined in -[src/managers/agent.ts:98](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/managers/agent.ts#L98) +[src/managers/agent.ts:98](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/managers/agent.ts#L98) diff --git a/docs/js-sdk-docs/classes/managers_base.BaseManager.md b/docs/js-sdk-docs/classes/managers_base.BaseManager.md index 82519f310..705e3a046 100644 --- a/docs/js-sdk-docs/classes/managers_base.BaseManager.md +++ b/docs/js-sdk-docs/classes/managers_base.BaseManager.md @@ -53,7 +53,7 @@ Constructs a new instance of BaseManager. #### Defined in -[src/managers/base.ts:12](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/managers/base.ts#L12) +[src/managers/base.ts:12](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/managers/base.ts#L12) ## Properties @@ -65,4 +65,4 @@ The JulepApiClient instance used for API interactions. #### Defined in -[src/managers/base.ts:12](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/managers/base.ts#L12) +[src/managers/base.ts:12](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/managers/base.ts#L12) diff --git a/docs/js-sdk-docs/classes/managers_doc.DocsManager.md b/docs/js-sdk-docs/classes/managers_doc.DocsManager.md index ab962f1cc..8a10c4ce1 100644 --- a/docs/js-sdk-docs/classes/managers_doc.DocsManager.md +++ b/docs/js-sdk-docs/classes/managers_doc.DocsManager.md @@ -54,7 +54,7 @@ Constructs a new instance of BaseManager. #### Defined in -[src/managers/base.ts:12](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/managers/base.ts#L12) +[src/managers/base.ts:12](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/managers/base.ts#L12) ## Properties @@ -70,7 +70,7 @@ The JulepApiClient instance used for API interactions. #### Defined in -[src/managers/base.ts:12](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/managers/base.ts#L12) +[src/managers/base.ts:12](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/managers/base.ts#L12) ## Methods @@ -103,7 +103,7 @@ If neither agentId nor userId is provided. #### Defined in -[src/managers/doc.ts:133](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/managers/doc.ts#L133) +[src/managers/doc.ts:133](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/managers/doc.ts#L133) ___ @@ -136,7 +136,7 @@ If neither agentId nor userId is provided. #### Defined in -[src/managers/doc.ts:186](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/managers/doc.ts#L186) +[src/managers/doc.ts:186](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/managers/doc.ts#L186) ___ @@ -170,7 +170,7 @@ If neither agentId nor userId is provided. #### Defined in -[src/managers/doc.ts:22](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/managers/doc.ts#L22) +[src/managers/doc.ts:22](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/managers/doc.ts#L22) ___ @@ -206,4 +206,4 @@ If neither agentId nor userId is provided. #### Defined in -[src/managers/doc.ts:74](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/managers/doc.ts#L74) +[src/managers/doc.ts:74](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/managers/doc.ts#L74) diff --git a/docs/js-sdk-docs/classes/managers_memory.MemoriesManager.md b/docs/js-sdk-docs/classes/managers_memory.MemoriesManager.md index c2d75f400..196f31150 100644 --- a/docs/js-sdk-docs/classes/managers_memory.MemoriesManager.md +++ b/docs/js-sdk-docs/classes/managers_memory.MemoriesManager.md @@ -51,7 +51,7 @@ Constructs a new instance of BaseManager. #### Defined in -[src/managers/base.ts:12](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/managers/base.ts#L12) +[src/managers/base.ts:12](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/managers/base.ts#L12) ## Properties @@ -67,7 +67,7 @@ The JulepApiClient instance used for API interactions. #### Defined in -[src/managers/base.ts:12](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/managers/base.ts#L12) +[src/managers/base.ts:12](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/managers/base.ts#L12) ## Methods @@ -96,4 +96,4 @@ A promise that resolves to an array of Memory objects. #### Defined in -[src/managers/memory.ts:21](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/managers/memory.ts#L21) +[src/managers/memory.ts:21](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/managers/memory.ts#L21) diff --git a/docs/js-sdk-docs/classes/managers_session.SessionsManager.md b/docs/js-sdk-docs/classes/managers_session.SessionsManager.md index 3bb11a250..33981577c 100644 --- a/docs/js-sdk-docs/classes/managers_session.SessionsManager.md +++ b/docs/js-sdk-docs/classes/managers_session.SessionsManager.md @@ -59,7 +59,7 @@ Constructs a new instance of BaseManager. #### Defined in -[src/managers/base.ts:12](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/managers/base.ts#L12) +[src/managers/base.ts:12](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/managers/base.ts#L12) ## Properties @@ -75,7 +75,7 @@ The JulepApiClient instance used for API interactions. #### Defined in -[src/managers/base.ts:12](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/managers/base.ts#L12) +[src/managers/base.ts:12](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/managers/base.ts#L12) ## Methods @@ -96,7 +96,7 @@ The JulepApiClient instance used for API interactions. #### Defined in -[src/managers/session.ts:105](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/managers/session.ts#L105) +[src/managers/session.ts:144](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/managers/session.ts#L144) ___ @@ -116,7 +116,7 @@ ___ #### Defined in -[src/managers/session.ts:33](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/managers/session.ts#L33) +[src/managers/session.ts:37](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/managers/session.ts#L37) ___ @@ -136,7 +136,7 @@ ___ #### Defined in -[src/managers/session.ts:84](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/managers/session.ts#L84) +[src/managers/session.ts:100](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/managers/session.ts#L100) ___ @@ -156,7 +156,7 @@ ___ #### Defined in -[src/managers/session.ts:189](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/managers/session.ts#L189) +[src/managers/session.ts:228](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/managers/session.ts#L228) ___ @@ -180,7 +180,7 @@ A promise that resolves with the session object. #### Defined in -[src/managers/session.ts:29](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/managers/session.ts#L29) +[src/managers/session.ts:33](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/managers/session.ts#L33) ___ @@ -203,7 +203,7 @@ ___ #### Defined in -[src/managers/session.ts:174](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/managers/session.ts#L174) +[src/managers/session.ts:213](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/managers/session.ts#L213) ___ @@ -226,7 +226,7 @@ ___ #### Defined in -[src/managers/session.ts:64](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/managers/session.ts#L64) +[src/managers/session.ts:80](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/managers/session.ts#L80) ___ @@ -249,7 +249,7 @@ ___ #### Defined in -[src/managers/session.ts:159](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/managers/session.ts#L159) +[src/managers/session.ts:198](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/managers/session.ts#L198) ___ @@ -263,8 +263,10 @@ ___ | :------ | :------ | :------ | | `sessionId` | `string` | `undefined` | | `«destructured»` | `Object` | `undefined` | +| › `contextOverflow?` | ``"truncate"`` \| ``"adaptive"`` | `undefined` | | › `metadata?` | `any` | `{}` | | › `situation` | `string` | `undefined` | +| › `tokenBudget?` | `number` | `undefined` | | `overwrite` | `boolean` | `false` | #### Returns @@ -273,4 +275,4 @@ ___ #### Defined in -[src/managers/session.ts:90](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/managers/session.ts#L90) +[src/managers/session.ts:106](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/managers/session.ts#L106) diff --git a/docs/js-sdk-docs/classes/managers_tool.ToolsManager.md b/docs/js-sdk-docs/classes/managers_tool.ToolsManager.md index 88410ce1f..3d82f243f 100644 --- a/docs/js-sdk-docs/classes/managers_tool.ToolsManager.md +++ b/docs/js-sdk-docs/classes/managers_tool.ToolsManager.md @@ -54,7 +54,7 @@ Constructs a new instance of BaseManager. #### Defined in -[src/managers/base.ts:12](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/managers/base.ts#L12) +[src/managers/base.ts:12](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/managers/base.ts#L12) ## Properties @@ -70,7 +70,7 @@ The JulepApiClient instance used for API interactions. #### Defined in -[src/managers/base.ts:12](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/managers/base.ts#L12) +[src/managers/base.ts:12](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/managers/base.ts#L12) ## Methods @@ -94,7 +94,7 @@ The JulepApiClient instance used for API interactions. #### Defined in -[src/managers/tool.ts:32](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/managers/tool.ts#L32) +[src/managers/tool.ts:32](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/managers/tool.ts#L32) ___ @@ -116,7 +116,7 @@ ___ #### Defined in -[src/managers/tool.ts:86](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/managers/tool.ts#L86) +[src/managers/tool.ts:86](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/managers/tool.ts#L86) ___ @@ -139,7 +139,7 @@ ___ #### Defined in -[src/managers/tool.ts:12](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/managers/tool.ts#L12) +[src/managers/tool.ts:12](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/managers/tool.ts#L12) ___ @@ -163,4 +163,4 @@ ___ #### Defined in -[src/managers/tool.ts:54](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/managers/tool.ts#L54) +[src/managers/tool.ts:54](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/managers/tool.ts#L54) diff --git a/docs/js-sdk-docs/classes/managers_user.UsersManager.md b/docs/js-sdk-docs/classes/managers_user.UsersManager.md index a5ab28163..edbd2d412 100644 --- a/docs/js-sdk-docs/classes/managers_user.UsersManager.md +++ b/docs/js-sdk-docs/classes/managers_user.UsersManager.md @@ -55,7 +55,7 @@ Constructs a new instance of BaseManager. #### Defined in -[src/managers/base.ts:12](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/managers/base.ts#L12) +[src/managers/base.ts:12](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/managers/base.ts#L12) ## Properties @@ -71,7 +71,7 @@ The JulepApiClient instance used for API interactions. #### Defined in -[src/managers/base.ts:12](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/managers/base.ts#L12) +[src/managers/base.ts:12](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/managers/base.ts#L12) ## Methods @@ -91,7 +91,7 @@ The JulepApiClient instance used for API interactions. #### Defined in -[src/managers/user.ts:27](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/managers/user.ts#L27) +[src/managers/user.ts:27](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/managers/user.ts#L27) ___ @@ -111,7 +111,7 @@ ___ #### Defined in -[src/managers/user.ts:63](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/managers/user.ts#L63) +[src/managers/user.ts:63](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/managers/user.ts#L63) ___ @@ -131,7 +131,7 @@ ___ #### Defined in -[src/managers/user.ts:15](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/managers/user.ts#L15) +[src/managers/user.ts:15](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/managers/user.ts#L15) ___ @@ -154,7 +154,7 @@ ___ #### Defined in -[src/managers/user.ts:44](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/managers/user.ts#L44) +[src/managers/user.ts:44](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/managers/user.ts#L44) ___ @@ -176,7 +176,7 @@ ___ #### Defined in -[src/managers/user.ts:73](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/managers/user.ts#L73) +[src/managers/user.ts:73](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/managers/user.ts#L73) ▸ **update**(`userId`, `request`, `overwrite?`): `Promise`\<[`User`](../modules/api.md#user)\> @@ -194,4 +194,4 @@ ___ #### Defined in -[src/managers/user.ts:79](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/managers/user.ts#L79) +[src/managers/user.ts:79](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/managers/user.ts#L79) diff --git a/docs/js-sdk-docs/classes/utils_requestConstructor.CustomHttpRequest.md b/docs/js-sdk-docs/classes/utils_requestConstructor.CustomHttpRequest.md index a27e5345e..65ccfa82c 100644 --- a/docs/js-sdk-docs/classes/utils_requestConstructor.CustomHttpRequest.md +++ b/docs/js-sdk-docs/classes/utils_requestConstructor.CustomHttpRequest.md @@ -46,7 +46,7 @@ AxiosHttpRequest.constructor #### Defined in -[src/utils/requestConstructor.ts:16](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/utils/requestConstructor.ts#L16) +[src/utils/requestConstructor.ts:16](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/utils/requestConstructor.ts#L16) ## Properties @@ -60,7 +60,7 @@ AxiosHttpRequest.config #### Defined in -[src/api/core/BaseHttpRequest.ts:10](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/core/BaseHttpRequest.ts#L10) +[src/api/core/BaseHttpRequest.ts:10](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/core/BaseHttpRequest.ts#L10) ## Methods @@ -90,4 +90,4 @@ AxiosHttpRequest.request #### Defined in -[src/utils/requestConstructor.ts:21](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/utils/requestConstructor.ts#L21) +[src/utils/requestConstructor.ts:21](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/utils/requestConstructor.ts#L21) diff --git a/docs/js-sdk-docs/interfaces/managers_session.CreateSessionPayload.md b/docs/js-sdk-docs/interfaces/managers_session.CreateSessionPayload.md index 69476ddb8..96d9d39b5 100644 --- a/docs/js-sdk-docs/interfaces/managers_session.CreateSessionPayload.md +++ b/docs/js-sdk-docs/interfaces/managers_session.CreateSessionPayload.md @@ -9,9 +9,11 @@ ### Properties - [agentId](managers_session.CreateSessionPayload.md#agentid) +- [contextOverflow](managers_session.CreateSessionPayload.md#contextoverflow) - [metadata](managers_session.CreateSessionPayload.md#metadata) - [renderTemplates](managers_session.CreateSessionPayload.md#rendertemplates) - [situation](managers_session.CreateSessionPayload.md#situation) +- [tokenBudget](managers_session.CreateSessionPayload.md#tokenbudget) - [userId](managers_session.CreateSessionPayload.md#userid) ## Properties @@ -22,7 +24,17 @@ #### Defined in -[src/managers/session.ts:17](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/managers/session.ts#L17) +[src/managers/session.ts:17](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/managers/session.ts#L17) + +___ + +### contextOverflow + +• `Optional` **contextOverflow**: ``"truncate"`` \| ``"adaptive"`` + +#### Defined in + +[src/managers/session.ts:24](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/managers/session.ts#L24) ___ @@ -32,7 +44,7 @@ ___ #### Defined in -[src/managers/session.ts:19](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/managers/session.ts#L19) +[src/managers/session.ts:19](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/managers/session.ts#L19) ___ @@ -42,7 +54,7 @@ ___ #### Defined in -[src/managers/session.ts:20](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/managers/session.ts#L20) +[src/managers/session.ts:20](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/managers/session.ts#L20) ___ @@ -52,7 +64,17 @@ ___ #### Defined in -[src/managers/session.ts:18](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/managers/session.ts#L18) +[src/managers/session.ts:18](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/managers/session.ts#L18) + +___ + +### tokenBudget + +• `Optional` **tokenBudget**: `number` + +#### Defined in + +[src/managers/session.ts:21](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/managers/session.ts#L21) ___ @@ -62,4 +84,4 @@ ___ #### Defined in -[src/managers/session.ts:16](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/managers/session.ts#L16) +[src/managers/session.ts:16](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/managers/session.ts#L16) diff --git a/docs/js-sdk-docs/modules/api.md b/docs/js-sdk-docs/modules/api.md index 9373b8f86..ddbe1ea6e 100644 --- a/docs/js-sdk-docs/modules/api.md +++ b/docs/js-sdk-docs/modules/api.md @@ -152,7 +152,7 @@ Re-exports [JulepApiClient](../classes/api_JulepApiClient.JulepApiClient.md) #### Defined in -[src/api/models/Agent.ts:6](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/models/Agent.ts#L6) +[src/api/models/Agent.ts:6](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/models/Agent.ts#L6) ___ @@ -175,7 +175,7 @@ ___ #### Defined in -[src/api/models/AgentDefaultSettings.ts:5](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/models/AgentDefaultSettings.ts#L5) +[src/api/models/AgentDefaultSettings.ts:5](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/models/AgentDefaultSettings.ts#L5) ___ @@ -185,7 +185,7 @@ ___ #### Defined in -[src/api/models/ChatInput.ts:8](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/models/ChatInput.ts#L8) +[src/api/models/ChatInput.ts:8](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/models/ChatInput.ts#L8) ___ @@ -203,7 +203,7 @@ ___ #### Defined in -[src/api/models/ChatInputData.ts:9](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/models/ChatInputData.ts#L9) +[src/api/models/ChatInputData.ts:9](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/models/ChatInputData.ts#L9) ___ @@ -222,7 +222,7 @@ ___ #### Defined in -[src/api/models/ChatMLImageContentPart.ts:5](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/models/ChatMLImageContentPart.ts#L5) +[src/api/models/ChatMLImageContentPart.ts:5](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/models/ChatMLImageContentPart.ts#L5) ___ @@ -242,7 +242,7 @@ ___ #### Defined in -[src/api/models/ChatMLMessage.ts:5](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/models/ChatMLMessage.ts#L5) +[src/api/models/ChatMLMessage.ts:5](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/models/ChatMLMessage.ts#L5) ___ @@ -259,7 +259,7 @@ ___ #### Defined in -[src/api/models/ChatMLTextContentPart.ts:5](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/models/ChatMLTextContentPart.ts#L5) +[src/api/models/ChatMLTextContentPart.ts:5](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/models/ChatMLTextContentPart.ts#L5) ___ @@ -282,7 +282,7 @@ Represents a chat completion response returned by model, based on the provided i #### Defined in -[src/api/models/ChatResponse.ts:11](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/models/ChatResponse.ts#L11) +[src/api/models/ChatResponse.ts:11](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/models/ChatResponse.ts#L11) ___ @@ -314,7 +314,7 @@ ___ #### Defined in -[src/api/models/ChatSettings.ts:5](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/models/ChatSettings.ts#L5) +[src/api/models/ChatSettings.ts:5](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/models/ChatSettings.ts#L5) ___ @@ -334,7 +334,7 @@ Usage statistics for the completion request. #### Defined in -[src/api/models/CompletionUsage.ts:8](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/models/CompletionUsage.ts#L8) +[src/api/models/CompletionUsage.ts:8](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/models/CompletionUsage.ts#L8) ___ @@ -359,7 +359,7 @@ A valid request payload for creating an agent #### Defined in -[src/api/models/CreateAgentRequest.ts:11](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/models/CreateAgentRequest.ts#L11) +[src/api/models/CreateAgentRequest.ts:11](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/models/CreateAgentRequest.ts#L11) ___ @@ -377,7 +377,7 @@ ___ #### Defined in -[src/api/models/CreateDoc.ts:5](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/models/CreateDoc.ts#L5) +[src/api/models/CreateDoc.ts:5](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/models/CreateDoc.ts#L5) ___ @@ -401,7 +401,7 @@ A valid request payload for creating a session #### Defined in -[src/api/models/CreateSessionRequest.ts:8](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/models/CreateSessionRequest.ts#L8) +[src/api/models/CreateSessionRequest.ts:8](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/models/CreateSessionRequest.ts#L8) ___ @@ -418,7 +418,7 @@ ___ #### Defined in -[src/api/models/CreateToolRequest.ts:6](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/models/CreateToolRequest.ts#L6) +[src/api/models/CreateToolRequest.ts:6](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/models/CreateToolRequest.ts#L6) ___ @@ -439,7 +439,7 @@ A valid request payload for creating a user #### Defined in -[src/api/models/CreateUserRequest.ts:9](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/models/CreateUserRequest.ts#L9) +[src/api/models/CreateUserRequest.ts:9](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/models/CreateUserRequest.ts#L9) ___ @@ -459,7 +459,7 @@ ___ #### Defined in -[src/api/models/Doc.ts:5](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/models/Doc.ts#L5) +[src/api/models/Doc.ts:5](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/models/Doc.ts#L5) ___ @@ -476,7 +476,7 @@ ___ #### Defined in -[src/api/models/DocIds.ts:5](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/models/DocIds.ts#L5) +[src/api/models/DocIds.ts:5](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/models/DocIds.ts#L5) ___ @@ -494,7 +494,7 @@ Specifying a particular function via `{"name": "my_function"}` forces the model #### Defined in -[src/api/models/FunctionCallOption.ts:9](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/models/FunctionCallOption.ts#L9) +[src/api/models/FunctionCallOption.ts:9](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/models/FunctionCallOption.ts#L9) ___ @@ -512,7 +512,7 @@ ___ #### Defined in -[src/api/models/FunctionDef.ts:6](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/models/FunctionDef.ts#L6) +[src/api/models/FunctionDef.ts:6](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/models/FunctionDef.ts#L6) ___ @@ -524,7 +524,7 @@ The parameters the functions accepts, described as a JSON Schema object. #### Defined in -[src/api/models/FunctionParameters.ts:8](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/models/FunctionParameters.ts#L8) +[src/api/models/FunctionParameters.ts:8](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/models/FunctionParameters.ts#L8) ___ @@ -543,7 +543,7 @@ ___ #### Defined in -[src/api/models/InputChatMLMessage.ts:5](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/models/InputChatMLMessage.ts#L5) +[src/api/models/InputChatMLMessage.ts:5](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/models/InputChatMLMessage.ts#L5) ___ @@ -566,7 +566,7 @@ ___ #### Defined in -[src/api/models/JobStatus.ts:5](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/models/JobStatus.ts#L5) +[src/api/models/JobStatus.ts:5](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/models/JobStatus.ts#L5) ___ @@ -590,7 +590,7 @@ ___ #### Defined in -[src/api/models/Memory.ts:5](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/models/Memory.ts#L5) +[src/api/models/Memory.ts:5](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/models/Memory.ts#L5) ___ @@ -608,7 +608,7 @@ ___ #### Defined in -[src/api/models/MemoryAccessOptions.ts:5](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/models/MemoryAccessOptions.ts#L5) +[src/api/models/MemoryAccessOptions.ts:5](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/models/MemoryAccessOptions.ts#L5) ___ @@ -628,7 +628,7 @@ Specifies a tool the model should use. Use to force the model to call a specific #### Defined in -[src/api/models/NamedToolChoice.ts:8](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/models/NamedToolChoice.ts#L8) +[src/api/models/NamedToolChoice.ts:8](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/models/NamedToolChoice.ts#L8) ___ @@ -652,7 +652,7 @@ ___ #### Defined in -[src/api/core/OpenAPI.ts:10](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/core/OpenAPI.ts#L10) +[src/api/core/OpenAPI.ts:10](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/core/OpenAPI.ts#L10) ___ @@ -670,7 +670,7 @@ ___ #### Defined in -[src/api/models/PartialFunctionDef.ts:6](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/models/PartialFunctionDef.ts#L6) +[src/api/models/PartialFunctionDef.ts:6](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/models/PartialFunctionDef.ts#L6) ___ @@ -693,7 +693,7 @@ A request for patching an agent #### Defined in -[src/api/models/PatchAgentRequest.ts:9](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/models/PatchAgentRequest.ts#L9) +[src/api/models/PatchAgentRequest.ts:9](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/models/PatchAgentRequest.ts#L9) ___ @@ -714,7 +714,7 @@ A request for patching a session #### Defined in -[src/api/models/PatchSessionRequest.ts:8](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/models/PatchSessionRequest.ts#L8) +[src/api/models/PatchSessionRequest.ts:8](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/models/PatchSessionRequest.ts#L8) ___ @@ -730,7 +730,7 @@ ___ #### Defined in -[src/api/models/PatchToolRequest.ts:6](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/models/PatchToolRequest.ts#L6) +[src/api/models/PatchToolRequest.ts:6](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/models/PatchToolRequest.ts#L6) ___ @@ -750,7 +750,7 @@ A request for patching a user #### Defined in -[src/api/models/PatchUserRequest.ts:8](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/models/PatchUserRequest.ts#L8) +[src/api/models/PatchUserRequest.ts:8](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/models/PatchUserRequest.ts#L8) ___ @@ -768,7 +768,7 @@ ___ #### Defined in -[src/api/models/ResourceCreatedResponse.ts:5](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/models/ResourceCreatedResponse.ts#L5) +[src/api/models/ResourceCreatedResponse.ts:5](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/models/ResourceCreatedResponse.ts#L5) ___ @@ -786,7 +786,7 @@ ___ #### Defined in -[src/api/models/ResourceDeletedResponse.ts:5](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/models/ResourceDeletedResponse.ts#L5) +[src/api/models/ResourceDeletedResponse.ts:5](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/models/ResourceDeletedResponse.ts#L5) ___ @@ -804,7 +804,7 @@ ___ #### Defined in -[src/api/models/ResourceUpdatedResponse.ts:5](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/models/ResourceUpdatedResponse.ts#L5) +[src/api/models/ResourceUpdatedResponse.ts:5](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/models/ResourceUpdatedResponse.ts#L5) ___ @@ -830,7 +830,7 @@ ___ #### Defined in -[src/api/models/Session.ts:5](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/models/Session.ts#L5) +[src/api/models/Session.ts:5](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/models/Session.ts#L5) ___ @@ -850,7 +850,7 @@ ___ #### Defined in -[src/api/models/Suggestion.ts:5](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/models/Suggestion.ts#L5) +[src/api/models/Suggestion.ts:5](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/models/Suggestion.ts#L5) ___ @@ -868,7 +868,7 @@ ___ #### Defined in -[src/api/models/Tool.ts:6](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/models/Tool.ts#L6) +[src/api/models/Tool.ts:6](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/models/Tool.ts#L6) ___ @@ -885,7 +885,7 @@ Specifying a particular function via `{"type: "function", "function": {"name": " #### Defined in -[src/api/models/ToolChoiceOption.ts:15](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/models/ToolChoiceOption.ts#L15) +[src/api/models/ToolChoiceOption.ts:15](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/models/ToolChoiceOption.ts#L15) ___ @@ -908,7 +908,7 @@ A valid request payload for updating an agent #### Defined in -[src/api/models/UpdateAgentRequest.ts:9](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/models/UpdateAgentRequest.ts#L9) +[src/api/models/UpdateAgentRequest.ts:9](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/models/UpdateAgentRequest.ts#L9) ___ @@ -929,7 +929,7 @@ A valid request payload for updating a session #### Defined in -[src/api/models/UpdateSessionRequest.ts:8](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/models/UpdateSessionRequest.ts#L8) +[src/api/models/UpdateSessionRequest.ts:8](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/models/UpdateSessionRequest.ts#L8) ___ @@ -945,7 +945,7 @@ ___ #### Defined in -[src/api/models/UpdateToolRequest.ts:6](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/models/UpdateToolRequest.ts#L6) +[src/api/models/UpdateToolRequest.ts:6](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/models/UpdateToolRequest.ts#L6) ___ @@ -965,7 +965,7 @@ A valid request payload for updating a user #### Defined in -[src/api/models/UpdateUserRequest.ts:8](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/models/UpdateUserRequest.ts#L8) +[src/api/models/UpdateUserRequest.ts:8](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/models/UpdateUserRequest.ts#L8) ___ @@ -986,7 +986,7 @@ ___ #### Defined in -[src/api/models/User.ts:5](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/models/User.ts#L5) +[src/api/models/User.ts:5](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/models/User.ts#L5) ___ @@ -996,7 +996,7 @@ ___ #### Defined in -[src/api/models/agent_id.ts:5](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/models/agent_id.ts#L5) +[src/api/models/agent_id.ts:5](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/models/agent_id.ts#L5) ___ @@ -1006,7 +1006,7 @@ ___ #### Defined in -[src/api/models/doc_id.ts:5](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/models/doc_id.ts#L5) +[src/api/models/doc_id.ts:5](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/models/doc_id.ts#L5) ___ @@ -1016,7 +1016,7 @@ ___ #### Defined in -[src/api/models/job_id.ts:5](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/models/job_id.ts#L5) +[src/api/models/job_id.ts:5](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/models/job_id.ts#L5) ___ @@ -1026,7 +1026,7 @@ ___ #### Defined in -[src/api/models/memory_id.ts:5](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/models/memory_id.ts#L5) +[src/api/models/memory_id.ts:5](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/models/memory_id.ts#L5) ___ @@ -1036,7 +1036,7 @@ ___ #### Defined in -[src/api/models/message_id.ts:5](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/models/message_id.ts#L5) +[src/api/models/message_id.ts:5](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/models/message_id.ts#L5) ___ @@ -1046,7 +1046,7 @@ ___ #### Defined in -[src/api/models/session_id.ts:5](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/models/session_id.ts#L5) +[src/api/models/session_id.ts:5](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/models/session_id.ts#L5) ___ @@ -1056,7 +1056,7 @@ ___ #### Defined in -[src/api/models/tool_id.ts:5](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/models/tool_id.ts#L5) +[src/api/models/tool_id.ts:5](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/models/tool_id.ts#L5) ___ @@ -1066,7 +1066,7 @@ ___ #### Defined in -[src/api/models/user_id.ts:5](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/models/user_id.ts#L5) +[src/api/models/user_id.ts:5](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/models/user_id.ts#L5) ## Variables @@ -1116,7 +1116,7 @@ ___ #### Defined in -[src/api/schemas/$Agent.ts:5](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/schemas/$Agent.ts#L5) +[src/api/schemas/$Agent.ts:5](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/schemas/$Agent.ts#L5) ___ @@ -1171,7 +1171,7 @@ ___ #### Defined in -[src/api/schemas/$AgentDefaultSettings.ts:5](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/schemas/$AgentDefaultSettings.ts#L5) +[src/api/schemas/$AgentDefaultSettings.ts:5](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/schemas/$AgentDefaultSettings.ts#L5) ___ @@ -1188,7 +1188,7 @@ ___ #### Defined in -[src/api/schemas/$ChatInput.ts:5](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/schemas/$ChatInput.ts#L5) +[src/api/schemas/$ChatInput.ts:5](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/schemas/$ChatInput.ts#L5) ___ @@ -1219,7 +1219,7 @@ ___ #### Defined in -[src/api/schemas/$ChatInputData.ts:5](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/schemas/$ChatInputData.ts#L5) +[src/api/schemas/$ChatInputData.ts:5](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/schemas/$ChatInputData.ts#L5) ___ @@ -1248,7 +1248,7 @@ ___ #### Defined in -[src/api/schemas/$ChatMLImageContentPart.ts:5](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/schemas/$ChatMLImageContentPart.ts#L5) +[src/api/schemas/$ChatMLImageContentPart.ts:5](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/schemas/$ChatMLImageContentPart.ts#L5) ___ @@ -1285,7 +1285,7 @@ ___ #### Defined in -[src/api/schemas/$ChatMLMessage.ts:5](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/schemas/$ChatMLMessage.ts#L5) +[src/api/schemas/$ChatMLMessage.ts:5](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/schemas/$ChatMLMessage.ts#L5) ___ @@ -1308,7 +1308,7 @@ ___ #### Defined in -[src/api/schemas/$ChatMLTextContentPart.ts:5](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/schemas/$ChatMLTextContentPart.ts#L5) +[src/api/schemas/$ChatMLTextContentPart.ts:5](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/schemas/$ChatMLTextContentPart.ts#L5) ___ @@ -1351,7 +1351,7 @@ ___ #### Defined in -[src/api/schemas/$ChatResponse.ts:5](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/schemas/$ChatResponse.ts#L5) +[src/api/schemas/$ChatResponse.ts:5](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/schemas/$ChatResponse.ts#L5) ___ @@ -1443,7 +1443,7 @@ ___ #### Defined in -[src/api/schemas/$ChatSettings.ts:5](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/schemas/$ChatSettings.ts#L5) +[src/api/schemas/$ChatSettings.ts:5](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/schemas/$ChatSettings.ts#L5) ___ @@ -1472,7 +1472,7 @@ ___ #### Defined in -[src/api/schemas/$CompletionUsage.ts:5](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/schemas/$CompletionUsage.ts#L5) +[src/api/schemas/$CompletionUsage.ts:5](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/schemas/$CompletionUsage.ts#L5) ___ @@ -1517,7 +1517,7 @@ ___ #### Defined in -[src/api/schemas/$CreateAgentRequest.ts:5](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/schemas/$CreateAgentRequest.ts#L5) +[src/api/schemas/$CreateAgentRequest.ts:5](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/schemas/$CreateAgentRequest.ts#L5) ___ @@ -1545,7 +1545,7 @@ ___ #### Defined in -[src/api/schemas/$CreateDoc.ts:5](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/schemas/$CreateDoc.ts#L5) +[src/api/schemas/$CreateDoc.ts:5](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/schemas/$CreateDoc.ts#L5) ___ @@ -1586,7 +1586,7 @@ ___ #### Defined in -[src/api/schemas/$CreateSessionRequest.ts:5](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/schemas/$CreateSessionRequest.ts#L5) +[src/api/schemas/$CreateSessionRequest.ts:5](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/schemas/$CreateSessionRequest.ts#L5) ___ @@ -1610,7 +1610,7 @@ ___ #### Defined in -[src/api/schemas/$CreateToolRequest.ts:5](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/schemas/$CreateToolRequest.ts#L5) +[src/api/schemas/$CreateToolRequest.ts:5](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/schemas/$CreateToolRequest.ts#L5) ___ @@ -1640,7 +1640,7 @@ ___ #### Defined in -[src/api/schemas/$CreateUserRequest.ts:5](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/schemas/$CreateUserRequest.ts#L5) +[src/api/schemas/$CreateUserRequest.ts:5](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/schemas/$CreateUserRequest.ts#L5) ___ @@ -1678,7 +1678,7 @@ ___ #### Defined in -[src/api/schemas/$Doc.ts:5](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/schemas/$Doc.ts#L5) +[src/api/schemas/$Doc.ts:5](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/schemas/$Doc.ts#L5) ___ @@ -1704,7 +1704,7 @@ ___ #### Defined in -[src/api/schemas/$DocIds.ts:5](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/schemas/$DocIds.ts#L5) +[src/api/schemas/$DocIds.ts:5](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/schemas/$DocIds.ts#L5) ___ @@ -1725,7 +1725,7 @@ ___ #### Defined in -[src/api/schemas/$FunctionCallOption.ts:5](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/schemas/$FunctionCallOption.ts#L5) +[src/api/schemas/$FunctionCallOption.ts:5](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/schemas/$FunctionCallOption.ts#L5) ___ @@ -1752,7 +1752,7 @@ ___ #### Defined in -[src/api/schemas/$FunctionDef.ts:5](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/schemas/$FunctionDef.ts#L5) +[src/api/schemas/$FunctionDef.ts:5](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/schemas/$FunctionDef.ts#L5) ___ @@ -1770,7 +1770,7 @@ ___ #### Defined in -[src/api/schemas/$FunctionParameters.ts:5](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/schemas/$FunctionParameters.ts#L5) +[src/api/schemas/$FunctionParameters.ts:5](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/schemas/$FunctionParameters.ts#L5) ___ @@ -1800,7 +1800,7 @@ ___ #### Defined in -[src/api/schemas/$InputChatMLMessage.ts:5](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/schemas/$InputChatMLMessage.ts#L5) +[src/api/schemas/$InputChatMLMessage.ts:5](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/schemas/$InputChatMLMessage.ts#L5) ___ @@ -1847,7 +1847,7 @@ ___ #### Defined in -[src/api/schemas/$JobStatus.ts:5](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/schemas/$JobStatus.ts#L5) +[src/api/schemas/$JobStatus.ts:5](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/schemas/$JobStatus.ts#L5) ___ @@ -1905,7 +1905,7 @@ ___ #### Defined in -[src/api/schemas/$Memory.ts:5](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/schemas/$Memory.ts#L5) +[src/api/schemas/$Memory.ts:5](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/schemas/$Memory.ts#L5) ___ @@ -1930,7 +1930,7 @@ ___ #### Defined in -[src/api/schemas/$MemoryAccessOptions.ts:5](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/schemas/$MemoryAccessOptions.ts#L5) +[src/api/schemas/$MemoryAccessOptions.ts:5](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/schemas/$MemoryAccessOptions.ts#L5) ___ @@ -1957,7 +1957,7 @@ ___ #### Defined in -[src/api/schemas/$NamedToolChoice.ts:5](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/schemas/$NamedToolChoice.ts#L5) +[src/api/schemas/$NamedToolChoice.ts:5](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/schemas/$NamedToolChoice.ts#L5) ___ @@ -1982,7 +1982,7 @@ ___ #### Defined in -[src/api/schemas/$PartialFunctionDef.ts:5](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/schemas/$PartialFunctionDef.ts#L5) +[src/api/schemas/$PartialFunctionDef.ts:5](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/schemas/$PartialFunctionDef.ts#L5) ___ @@ -2018,7 +2018,7 @@ ___ #### Defined in -[src/api/schemas/$PatchAgentRequest.ts:5](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/schemas/$PatchAgentRequest.ts#L5) +[src/api/schemas/$PatchAgentRequest.ts:5](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/schemas/$PatchAgentRequest.ts#L5) ___ @@ -2047,7 +2047,7 @@ ___ #### Defined in -[src/api/schemas/$PatchSessionRequest.ts:5](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/schemas/$PatchSessionRequest.ts#L5) +[src/api/schemas/$PatchSessionRequest.ts:5](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/schemas/$PatchSessionRequest.ts#L5) ___ @@ -2067,7 +2067,7 @@ ___ #### Defined in -[src/api/schemas/$PatchToolRequest.ts:5](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/schemas/$PatchToolRequest.ts#L5) +[src/api/schemas/$PatchToolRequest.ts:5](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/schemas/$PatchToolRequest.ts#L5) ___ @@ -2093,7 +2093,7 @@ ___ #### Defined in -[src/api/schemas/$PatchUserRequest.ts:5](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/schemas/$PatchUserRequest.ts#L5) +[src/api/schemas/$PatchUserRequest.ts:5](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/schemas/$PatchUserRequest.ts#L5) ___ @@ -2122,7 +2122,7 @@ ___ #### Defined in -[src/api/schemas/$ResourceCreatedResponse.ts:5](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/schemas/$ResourceCreatedResponse.ts#L5) +[src/api/schemas/$ResourceCreatedResponse.ts:5](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/schemas/$ResourceCreatedResponse.ts#L5) ___ @@ -2151,7 +2151,7 @@ ___ #### Defined in -[src/api/schemas/$ResourceDeletedResponse.ts:5](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/schemas/$ResourceDeletedResponse.ts#L5) +[src/api/schemas/$ResourceDeletedResponse.ts:5](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/schemas/$ResourceDeletedResponse.ts#L5) ___ @@ -2180,7 +2180,7 @@ ___ #### Defined in -[src/api/schemas/$ResourceUpdatedResponse.ts:5](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/schemas/$ResourceUpdatedResponse.ts#L5) +[src/api/schemas/$ResourceUpdatedResponse.ts:5](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/schemas/$ResourceUpdatedResponse.ts#L5) ___ @@ -2236,7 +2236,7 @@ ___ #### Defined in -[src/api/schemas/$Session.ts:5](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/schemas/$Session.ts#L5) +[src/api/schemas/$Session.ts:5](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/schemas/$Session.ts#L5) ___ @@ -2273,7 +2273,7 @@ ___ #### Defined in -[src/api/schemas/$Suggestion.ts:5](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/schemas/$Suggestion.ts#L5) +[src/api/schemas/$Suggestion.ts:5](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/schemas/$Suggestion.ts#L5) ___ @@ -2302,7 +2302,7 @@ ___ #### Defined in -[src/api/schemas/$Tool.ts:5](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/schemas/$Tool.ts#L5) +[src/api/schemas/$Tool.ts:5](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/schemas/$Tool.ts#L5) ___ @@ -2320,7 +2320,7 @@ ___ #### Defined in -[src/api/schemas/$ToolChoiceOption.ts:5](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/schemas/$ToolChoiceOption.ts#L5) +[src/api/schemas/$ToolChoiceOption.ts:5](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/schemas/$ToolChoiceOption.ts#L5) ___ @@ -2358,7 +2358,7 @@ ___ #### Defined in -[src/api/schemas/$UpdateAgentRequest.ts:5](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/schemas/$UpdateAgentRequest.ts#L5) +[src/api/schemas/$UpdateAgentRequest.ts:5](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/schemas/$UpdateAgentRequest.ts#L5) ___ @@ -2388,7 +2388,7 @@ ___ #### Defined in -[src/api/schemas/$UpdateSessionRequest.ts:5](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/schemas/$UpdateSessionRequest.ts#L5) +[src/api/schemas/$UpdateSessionRequest.ts:5](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/schemas/$UpdateSessionRequest.ts#L5) ___ @@ -2408,7 +2408,7 @@ ___ #### Defined in -[src/api/schemas/$UpdateToolRequest.ts:5](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/schemas/$UpdateToolRequest.ts#L5) +[src/api/schemas/$UpdateToolRequest.ts:5](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/schemas/$UpdateToolRequest.ts#L5) ___ @@ -2436,7 +2436,7 @@ ___ #### Defined in -[src/api/schemas/$UpdateUserRequest.ts:5](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/schemas/$UpdateUserRequest.ts#L5) +[src/api/schemas/$UpdateUserRequest.ts:5](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/schemas/$UpdateUserRequest.ts#L5) ___ @@ -2474,7 +2474,7 @@ ___ #### Defined in -[src/api/schemas/$User.ts:5](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/schemas/$User.ts#L5) +[src/api/schemas/$User.ts:5](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/schemas/$User.ts#L5) ___ @@ -2491,7 +2491,7 @@ ___ #### Defined in -[src/api/schemas/$agent_id.ts:5](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/schemas/$agent_id.ts#L5) +[src/api/schemas/$agent_id.ts:5](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/schemas/$agent_id.ts#L5) ___ @@ -2508,7 +2508,7 @@ ___ #### Defined in -[src/api/schemas/$doc_id.ts:5](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/schemas/$doc_id.ts#L5) +[src/api/schemas/$doc_id.ts:5](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/schemas/$doc_id.ts#L5) ___ @@ -2525,7 +2525,7 @@ ___ #### Defined in -[src/api/schemas/$job_id.ts:5](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/schemas/$job_id.ts#L5) +[src/api/schemas/$job_id.ts:5](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/schemas/$job_id.ts#L5) ___ @@ -2542,7 +2542,7 @@ ___ #### Defined in -[src/api/schemas/$memory_id.ts:5](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/schemas/$memory_id.ts#L5) +[src/api/schemas/$memory_id.ts:5](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/schemas/$memory_id.ts#L5) ___ @@ -2559,7 +2559,7 @@ ___ #### Defined in -[src/api/schemas/$message_id.ts:5](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/schemas/$message_id.ts#L5) +[src/api/schemas/$message_id.ts:5](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/schemas/$message_id.ts#L5) ___ @@ -2576,7 +2576,7 @@ ___ #### Defined in -[src/api/schemas/$session_id.ts:5](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/schemas/$session_id.ts#L5) +[src/api/schemas/$session_id.ts:5](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/schemas/$session_id.ts#L5) ___ @@ -2593,7 +2593,7 @@ ___ #### Defined in -[src/api/schemas/$tool_id.ts:5](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/schemas/$tool_id.ts#L5) +[src/api/schemas/$tool_id.ts:5](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/schemas/$tool_id.ts#L5) ___ @@ -2610,7 +2610,7 @@ ___ #### Defined in -[src/api/schemas/$user_id.ts:5](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/schemas/$user_id.ts#L5) +[src/api/schemas/$user_id.ts:5](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/schemas/$user_id.ts#L5) ___ @@ -2620,4 +2620,4 @@ ___ #### Defined in -[src/api/core/OpenAPI.ts:22](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/api/core/OpenAPI.ts#L22) +[src/api/core/OpenAPI.ts:22](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/api/core/OpenAPI.ts#L22) diff --git a/docs/js-sdk-docs/modules/utils_invariant.md b/docs/js-sdk-docs/modules/utils_invariant.md index 8e7ccebbc..7b547f2a9 100644 --- a/docs/js-sdk-docs/modules/utils_invariant.md +++ b/docs/js-sdk-docs/modules/utils_invariant.md @@ -29,4 +29,4 @@ Ensures that a condition is met, throwing a custom error message if not. #### Defined in -[src/utils/invariant.ts:6](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/utils/invariant.ts#L6) +[src/utils/invariant.ts:6](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/utils/invariant.ts#L6) diff --git a/docs/js-sdk-docs/modules/utils_isValidUuid4.md b/docs/js-sdk-docs/modules/utils_isValidUuid4.md index fba36863a..1b2fa4ba5 100644 --- a/docs/js-sdk-docs/modules/utils_isValidUuid4.md +++ b/docs/js-sdk-docs/modules/utils_isValidUuid4.md @@ -33,4 +33,4 @@ True if the input is a valid UUID v4, otherwise false. #### Defined in -[src/utils/isValidUuid4.ts:11](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/utils/isValidUuid4.ts#L11) +[src/utils/isValidUuid4.ts:11](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/utils/isValidUuid4.ts#L11) diff --git a/docs/js-sdk-docs/modules/utils_openaiPatch.md b/docs/js-sdk-docs/modules/utils_openaiPatch.md index 1d938a554..ec183f7c7 100644 --- a/docs/js-sdk-docs/modules/utils_openaiPatch.md +++ b/docs/js-sdk-docs/modules/utils_openaiPatch.md @@ -30,4 +30,4 @@ This is useful for enforcing a consistent model usage across different parts of #### Defined in -[src/utils/openaiPatch.ts:8](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/utils/openaiPatch.ts#L8) +[src/utils/openaiPatch.ts:8](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/utils/openaiPatch.ts#L8) diff --git a/docs/js-sdk-docs/modules/utils_xor.md b/docs/js-sdk-docs/modules/utils_xor.md index 8eea9ea21..48da53782 100644 --- a/docs/js-sdk-docs/modules/utils_xor.md +++ b/docs/js-sdk-docs/modules/utils_xor.md @@ -27,4 +27,4 @@ #### Defined in -[src/utils/xor.ts:1](https://github.com/julep-ai/julep/blob/e8090dd48d97bd59afa293cb58bcf537dfaabad3/sdks/ts/src/utils/xor.ts#L1) +[src/utils/xor.ts:1](https://github.com/julep-ai/julep/blob/2bf0e03ea1f871166b1b5a8bf077cd8296fcaac8/sdks/ts/src/utils/xor.ts#L1) diff --git a/sdks/ts/README.md b/sdks/ts/README.md new file mode 100644 index 000000000..cae3e09a0 --- /dev/null +++ b/sdks/ts/README.md @@ -0,0 +1 @@ +@julep/sdk diff --git a/sdks/ts/package-lock.json b/sdks/ts/package-lock.json index 8fe795e4a..a91db926f 100644 --- a/sdks/ts/package-lock.json +++ b/sdks/ts/package-lock.json @@ -1,12 +1,12 @@ { "name": "@julep/sdk", - "version": "0.3.5", + "version": "0.3.7", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@julep/sdk", - "version": "0.3.5", + "version": "0.3.7", "license": "ISC", "dependencies": { "@rollup/plugin-typescript": "^11.1.6", @@ -21,6 +21,7 @@ "rollup": "^4.13.0", "rollup-plugin-typescript2": "^0.36.0", "supports-color": "^9.4.0", + "typia": "^6.3.1", "url-join": "^4.0.1", "uuid": "^9.0.1" }, @@ -43,6 +44,7 @@ "prettier": "^3.2.4", "ts-jest": "^29.1.2", "ts-node": "^10.9.2", + "ts-patch": "^3.2.1", "typedoc": "^0.25.13", "typedoc-plugin-markdown": "^3.17.1", "typescript": "^5.4.2" @@ -1533,6 +1535,11 @@ "win32" ] }, + "node_modules/@samchon/openapi": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/@samchon/openapi/-/openapi-0.2.2.tgz", + "integrity": "sha512-BBfBIIYuSNp1FKb7edPL5Lfw2hQ8crV7xwF71PEbO16MDBlKFmc6iuisAlaBaxO8ac5sm/e57Nnm/kfemS9Gew==" + }, "node_modules/@sinclair/typebox": { "version": "0.27.8", "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.27.8.tgz", @@ -1793,7 +1800,6 @@ "version": "4.3.2", "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz", "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==", - "dev": true, "dependencies": { "type-fest": "^0.21.3" }, @@ -1808,7 +1814,6 @@ "version": "5.0.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "dev": true, "engines": { "node": ">=8" } @@ -1823,7 +1828,6 @@ "version": "4.3.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, "dependencies": { "color-convert": "^2.0.1" }, @@ -1862,6 +1866,11 @@ "sprintf-js": "~1.0.2" } }, + "node_modules/array-timsort": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/array-timsort/-/array-timsort-1.0.3.tgz", + "integrity": "sha512-/+3GRL7dDAGEfM6TseQk/U+mi18TU2Ms9I3UlLdUMhz2hbvGNTKdj9xniwXfUqgYhHxRx0+8UnKkvlNwVU+cWQ==" + }, "node_modules/asynckit": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", @@ -1996,6 +2005,35 @@ "resolved": "https://registry.npmjs.org/base-64/-/base-64-0.1.0.tgz", "integrity": "sha512-Y5gU45svrR5tI2Vt/X9GPd3L0HNIKzGu202EjxrXMpuc2V2CiKgemAbUUsqYmZJvPtCXoUKjNZwBJzsNScUbXA==" }, + "node_modules/base64-js": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", + "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/bl": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz", + "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==", + "dependencies": { + "buffer": "^5.5.0", + "inherits": "^2.0.4", + "readable-stream": "^3.4.0" + } + }, "node_modules/brace-expansion": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", @@ -2070,6 +2108,29 @@ "node-int64": "^0.4.0" } }, + "node_modules/buffer": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", + "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, "node_modules/buffer-from": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", @@ -2148,7 +2209,6 @@ "version": "4.1.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" @@ -2164,7 +2224,6 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true, "engines": { "node": ">=8" } @@ -2173,7 +2232,6 @@ "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, "dependencies": { "has-flag": "^4.0.0" }, @@ -2190,6 +2248,11 @@ "node": ">=10" } }, + "node_modules/chardet": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz", + "integrity": "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==" + }, "node_modules/charenc": { "version": "0.0.2", "resolved": "https://registry.npmjs.org/charenc/-/charenc-0.0.2.tgz", @@ -2219,6 +2282,36 @@ "integrity": "sha512-0TNiGstbQmCFwt4akjjBg5pLRTSyj/PkWQ1ZoO2zntmg9yLqSRxwEa4iCfQLGjqhiqBfOJa7W/E8wfGrTDmlZQ==", "dev": true }, + "node_modules/cli-cursor": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz", + "integrity": "sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==", + "dependencies": { + "restore-cursor": "^3.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/cli-spinners": { + "version": "2.9.2", + "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.9.2.tgz", + "integrity": "sha512-ywqV+5MmyL4E7ybXgKys4DugZbX0FC6LnwrhjuykIjnK9k8OQacQ7axGKnjDXWNhns0xot3bZI5h55H8yo9cJg==", + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/cli-width": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-3.0.0.tgz", + "integrity": "sha512-FxqpkPPwu1HjuN93Omfm4h8uIanXofW0RxVEW3k5RKx+mJJYSthzNhp32Kzxxy3YAEZ/Dc/EWN1vZRY0+kOhbw==", + "engines": { + "node": ">= 10" + } + }, "node_modules/cliui": { "version": "8.0.1", "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", @@ -2233,6 +2326,14 @@ "node": ">=12" } }, + "node_modules/clone": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz", + "integrity": "sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg==", + "engines": { + "node": ">=0.8" + } + }, "node_modules/co": { "version": "4.6.0", "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz", @@ -2253,7 +2354,6 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, "dependencies": { "color-name": "~1.1.4" }, @@ -2264,8 +2364,7 @@ "node_modules/color-name": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" }, "node_modules/combined-stream": { "version": "1.0.8", @@ -2287,6 +2386,21 @@ "node": ">=16" } }, + "node_modules/comment-json": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/comment-json/-/comment-json-4.2.3.tgz", + "integrity": "sha512-SsxdiOf064DWoZLH799Ata6u7iV658A11PlWtZATDlXPpKGJnbJZ5Z24ybixAi+LUUqJ/GKowAejtC5GFUG7Tw==", + "dependencies": { + "array-timsort": "^1.0.3", + "core-util-is": "^1.0.3", + "esprima": "^4.0.1", + "has-own-prop": "^2.0.0", + "repeat-string": "^1.6.1" + }, + "engines": { + "node": ">= 6" + } + }, "node_modules/commondir": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz", @@ -2304,6 +2418,11 @@ "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", "dev": true }, + "node_modules/core-util-is": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz", + "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==" + }, "node_modules/create-jest": { "version": "29.7.0", "resolved": "https://registry.npmjs.org/create-jest/-/create-jest-29.7.0.tgz", @@ -2392,6 +2511,17 @@ "node": ">=0.10.0" } }, + "node_modules/defaults": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/defaults/-/defaults-1.0.4.tgz", + "integrity": "sha512-eFuaLoy/Rxalv2kr+lqMlUnrDWV+3j4pljOIJgLIhI058IQfWJ7vXhyEIHu+HtC738klGALYxOKDO0bQP3tg8A==", + "dependencies": { + "clone": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/define-data-property": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz", @@ -2463,6 +2593,14 @@ "url": "https://dotenvx.com" } }, + "node_modules/drange": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/drange/-/drange-1.1.1.tgz", + "integrity": "sha512-pYxfDYpued//QpnLIm4Avk7rsNtAtQkUES2cwAYSvD/wd2pKD71gN2Ebj3e7klzXwjocvE8c5vx/1fxwpqmSxA==", + "engines": { + "node": ">=4" + } + }, "node_modules/electron-to-chromium": { "version": "1.4.702", "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.702.tgz", @@ -2484,8 +2622,7 @@ "node_modules/emoji-regex": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", - "dev": true + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" }, "node_modules/error-ex": { "version": "1.3.2", @@ -2537,7 +2674,6 @@ "version": "4.0.1", "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", - "dev": true, "bin": { "esparse": "bin/esparse.js", "esvalidate": "bin/esvalidate.js" @@ -2607,6 +2743,19 @@ "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, + "node_modules/external-editor": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz", + "integrity": "sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==", + "dependencies": { + "chardet": "^0.7.0", + "iconv-lite": "^0.4.24", + "tmp": "^0.0.33" + }, + "engines": { + "node": ">=4" + } + }, "node_modules/fast-json-stable-stringify": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", @@ -2622,6 +2771,28 @@ "bser": "2.1.1" } }, + "node_modules/figures": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/figures/-/figures-3.2.0.tgz", + "integrity": "sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==", + "dependencies": { + "escape-string-regexp": "^1.0.5" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/figures/node_modules/escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", + "engines": { + "node": ">=0.8.0" + } + }, "node_modules/fill-range": { "version": "7.1.1", "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", @@ -2838,6 +3009,32 @@ "url": "https://github.com/sponsors/isaacs" } }, + "node_modules/global-prefix": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/global-prefix/-/global-prefix-3.0.0.tgz", + "integrity": "sha512-awConJSVCHVGND6x3tmMaKcQvwXLhjdkmomy2W+Goaui8YPgYgXJZewhg3fWC+DlfqqQuWg8AwqjGTD2nAPVWg==", + "dev": true, + "dependencies": { + "ini": "^1.3.5", + "kind-of": "^6.0.2", + "which": "^1.3.1" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/global-prefix/node_modules/which": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", + "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", + "dev": true, + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "which": "bin/which" + } + }, "node_modules/globals": { "version": "11.12.0", "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", @@ -2893,6 +3090,14 @@ "node": ">=4" } }, + "node_modules/has-own-prop": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/has-own-prop/-/has-own-prop-2.0.0.tgz", + "integrity": "sha512-Pq0h+hvsVm6dDEa8x82GnLSYHOzNDt7f0ddFa3FqcQlgzEiptPqL+XrOJNavjOzSYiYWIrgeVYYgGlLmnxwilQ==", + "engines": { + "node": ">=8" + } + }, "node_modules/has-property-descriptors": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz", @@ -2960,6 +3165,36 @@ "ms": "^2.0.0" } }, + "node_modules/iconv-lite": { + "version": "0.4.24", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ieee754": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", + "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, "node_modules/import-local": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/import-local/-/import-local-3.1.0.tgz", @@ -3001,9 +3236,52 @@ "node_modules/inherits": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" + }, + "node_modules/ini": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", + "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==", "dev": true }, + "node_modules/inquirer": { + "version": "8.2.6", + "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-8.2.6.tgz", + "integrity": "sha512-M1WuAmb7pn9zdFRtQYk26ZBoY043Sse0wVDdk4Bppr+JOXyQYybdtvK+l9wUibhtjdjvtoiNy8tk+EgsYIUqKg==", + "dependencies": { + "ansi-escapes": "^4.2.1", + "chalk": "^4.1.1", + "cli-cursor": "^3.1.0", + "cli-width": "^3.0.0", + "external-editor": "^3.0.3", + "figures": "^3.0.0", + "lodash": "^4.17.21", + "mute-stream": "0.0.8", + "ora": "^5.4.1", + "run-async": "^2.4.0", + "rxjs": "^7.5.5", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0", + "through": "^2.3.6", + "wrap-ansi": "^6.0.1" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/inquirer/node_modules/wrap-ansi": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", + "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/is-arrayish": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", @@ -3045,7 +3323,6 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", - "dev": true, "engines": { "node": ">=8" } @@ -3059,6 +3336,14 @@ "node": ">=6" } }, + "node_modules/is-interactive": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-interactive/-/is-interactive-1.0.0.tgz", + "integrity": "sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w==", + "engines": { + "node": ">=8" + } + }, "node_modules/is-module": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-module/-/is-module-1.0.0.tgz", @@ -3095,6 +3380,17 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/is-unicode-supported": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", + "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/isexe": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", @@ -3968,6 +4264,15 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/kind-of": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", + "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -4020,6 +4325,21 @@ "integrity": "sha512-t7j+NzmgnQzTAYXcsHYLgimltOV1MXHtlOWf6GjL9Kj8GK5FInw5JotxvbOs+IvV1/Dzo04/fCGfLVs7aXb4Ag==", "dev": true }, + "node_modules/log-symbols": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", + "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", + "dependencies": { + "chalk": "^4.1.0", + "is-unicode-supported": "^0.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/lru-cache": { "version": "5.1.1", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", @@ -4174,7 +4494,6 @@ "version": "2.1.0", "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", - "dev": true, "engines": { "node": ">=6" } @@ -4205,6 +4524,11 @@ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" }, + "node_modules/mute-stream": { + "version": "0.0.8", + "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz", + "integrity": "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==" + }, "node_modules/natural-compare": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", @@ -4308,7 +4632,6 @@ "version": "5.1.2", "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", - "dev": true, "dependencies": { "mimic-fn": "^2.1.0" }, @@ -4394,6 +4717,36 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/ora": { + "version": "5.4.1", + "resolved": "https://registry.npmjs.org/ora/-/ora-5.4.1.tgz", + "integrity": "sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ==", + "dependencies": { + "bl": "^4.1.0", + "chalk": "^4.1.0", + "cli-cursor": "^3.1.0", + "cli-spinners": "^2.5.0", + "is-interactive": "^1.0.0", + "is-unicode-supported": "^0.1.0", + "log-symbols": "^4.1.0", + "strip-ansi": "^6.0.0", + "wcwidth": "^1.0.1" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/os-tmpdir": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", + "integrity": "sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==", + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/p-limit": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", @@ -4618,12 +4971,45 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/randexp": { + "version": "0.5.3", + "resolved": "https://registry.npmjs.org/randexp/-/randexp-0.5.3.tgz", + "integrity": "sha512-U+5l2KrcMNOUPYvazA3h5ekF80FHTUG+87SEAmHZmolh1M+i/WyTCxVzmi+tidIa1tM4BSe8g2Y/D3loWDjj+w==", + "dependencies": { + "drange": "^1.0.2", + "ret": "^0.2.0" + }, + "engines": { + "node": ">=4" + } + }, "node_modules/react-is": { "version": "18.2.0", "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.2.0.tgz", "integrity": "sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==", "dev": true }, + "node_modules/readable-stream": { + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", + "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", + "dependencies": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/repeat-string": { + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz", + "integrity": "sha512-PV0dzCYDNfRi1jCDbJzpW7jNNDRuCOG/jI5ctQcGKt/clZD+YcPS3yIlWuTJMmESC8aevCFmWJy5wjAFgNqN6w==", + "engines": { + "node": ">=0.10" + } + }, "node_modules/require-directory": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", @@ -4679,6 +5065,26 @@ "node": ">=10" } }, + "node_modules/restore-cursor": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz", + "integrity": "sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==", + "dependencies": { + "onetime": "^5.1.0", + "signal-exit": "^3.0.2" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/ret": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/ret/-/ret-0.2.2.tgz", + "integrity": "sha512-M0b3YWQs7R3Z917WRQy1HHA7Ba7D8hvZg6UE5mLykJxQVE2ju0IXbGlaHPPlkY+WN7wFP+wUMXmBFA0aV6vYGQ==", + "engines": { + "node": ">=4" + } + }, "node_modules/rollup": { "version": "4.13.0", "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.13.0.tgz", @@ -4781,6 +5187,46 @@ "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" }, + "node_modules/run-async": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.4.1.tgz", + "integrity": "sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ==", + "engines": { + "node": ">=0.12.0" + } + }, + "node_modules/rxjs": { + "version": "7.8.1", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.1.tgz", + "integrity": "sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg==", + "dependencies": { + "tslib": "^2.1.0" + } + }, + "node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" + }, "node_modules/semver": { "version": "6.3.1", "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", @@ -4858,8 +5304,7 @@ "node_modules/signal-exit": { "version": "3.0.7", "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", - "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", - "dev": true + "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==" }, "node_modules/sisteransi": { "version": "1.0.5", @@ -4913,6 +5358,14 @@ "node": ">=10" } }, + "node_modules/string_decoder": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", + "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", + "dependencies": { + "safe-buffer": "~5.2.0" + } + }, "node_modules/string-length": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/string-length/-/string-length-4.0.2.tgz", @@ -4930,7 +5383,6 @@ "version": "4.2.3", "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", - "dev": true, "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", @@ -4944,7 +5396,6 @@ "version": "6.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "dev": true, "dependencies": { "ansi-regex": "^5.0.1" }, @@ -5060,6 +5511,22 @@ "node": "*" } }, + "node_modules/through": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", + "integrity": "sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==" + }, + "node_modules/tmp": { + "version": "0.0.33", + "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", + "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==", + "dependencies": { + "os-tmpdir": "~1.0.2" + }, + "engines": { + "node": ">=0.6.0" + } + }, "node_modules/tmpl": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/tmpl/-/tmpl-1.0.5.tgz", @@ -5211,6 +5678,36 @@ } } }, + "node_modules/ts-patch": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ts-patch/-/ts-patch-3.2.1.tgz", + "integrity": "sha512-hlR43v+GUIUy8/ZGFP1DquEqPh7PFKQdDMTAmYt671kCCA6AkDQMoeFaFmZ7ObPLYOmpMgyKUqL1C+coFMf30w==", + "dev": true, + "dependencies": { + "chalk": "^4.1.2", + "global-prefix": "^3.0.0", + "minimist": "^1.2.8", + "resolve": "^1.22.2", + "semver": "^7.5.4", + "strip-ansi": "^6.0.1" + }, + "bin": { + "ts-patch": "bin/ts-patch.js", + "tspc": "bin/tspc.js" + } + }, + "node_modules/ts-patch/node_modules/semver": { + "version": "7.6.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.2.tgz", + "integrity": "sha512-FNAIBWCx9qcRhoHcgcJ0gvU7SN1lYU2ZXuSfl04bSC5OpvDHFyJCjdNHomPXxjQlCBU67YW64PzY7/VIEH7F2w==", + "dev": true, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, "node_modules/tslib": { "version": "2.6.2", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", @@ -5229,7 +5726,6 @@ "version": "0.21.3", "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz", "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==", - "dev": true, "engines": { "node": ">=10" }, @@ -5297,6 +5793,32 @@ "node": ">=14.17" } }, + "node_modules/typia": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/typia/-/typia-6.3.1.tgz", + "integrity": "sha512-LQTrKAkrdX0bggngcXiNsAReB/r0QBk9CvmwGTdWxi21jmXde2KxG+waLdRdOLq8uyzb/vw7HOiesSqtPlvH3g==", + "dependencies": { + "@samchon/openapi": "^0.2.1", + "commander": "^10.0.0", + "comment-json": "^4.2.3", + "inquirer": "^8.2.5", + "randexp": "^0.5.3" + }, + "bin": { + "typia": "lib/executable/typia.js" + }, + "peerDependencies": { + "typescript": ">=4.8.0 <5.6.0" + } + }, + "node_modules/typia/node_modules/commander": { + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-10.0.1.tgz", + "integrity": "sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug==", + "engines": { + "node": ">=14" + } + }, "node_modules/uglify-js": { "version": "3.17.4", "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.17.4.tgz", @@ -5358,6 +5880,11 @@ "resolved": "https://registry.npmjs.org/url-join/-/url-join-4.0.1.tgz", "integrity": "sha512-jk1+QP6ZJqyOiuEI9AEWQfju/nB2Pw466kbA0LEZljHwKeMgd9WrAEgEGxjPDD2+TNbbb37rTyhEfrCXfuKXnA==" }, + "node_modules/util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==" + }, "node_modules/uuid": { "version": "9.0.1", "resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.1.tgz", @@ -5411,6 +5938,14 @@ "makeerror": "1.0.12" } }, + "node_modules/wcwidth": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz", + "integrity": "sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg==", + "dependencies": { + "defaults": "^1.0.3" + } + }, "node_modules/web-streams-polyfill": { "version": "3.3.3", "resolved": "https://registry.npmjs.org/web-streams-polyfill/-/web-streams-polyfill-3.3.3.tgz", diff --git a/sdks/ts/package.json b/sdks/ts/package.json index 15ebd728c..f23c833fc 100644 --- a/sdks/ts/package.json +++ b/sdks/ts/package.json @@ -1,6 +1,6 @@ { "name": "@julep/sdk", - "version": "0.3.6", + "version": "0.3.7", "description": "Julep is a platform for creating agents with long-term memory", "keywords": [ "julep-ai", @@ -40,6 +40,7 @@ "rollup": "^4.13.0", "rollup-plugin-typescript2": "^0.36.0", "supports-color": "^9.4.0", + "typia": "^6.3.1", "url-join": "^4.0.1", "uuid": "^9.0.1" }, @@ -62,6 +63,7 @@ "prettier": "^3.2.4", "ts-jest": "^29.1.2", "ts-node": "^10.9.2", + "ts-patch": "^3.2.1", "typedoc": "^0.25.13", "typedoc-plugin-markdown": "^3.17.1", "typescript": "^5.4.2" @@ -80,9 +82,10 @@ "generate-docs": "typedoc --plugin typedoc-plugin-markdown --out ../../docs/js-sdk-docs src/**/*.ts", "test-inspect": "node --inspect-brk node_modules/.bin/jest --runInBand", "prepublishOnly": "npm run build", - "test": "npm run format && npm run start_mock_api && sleep 1 && jest && npm run kill_mock_api" + "test": "npm run format && npm run start_mock_api && sleep 1 && jest && npm run kill_mock_api", + "prepare": "ts-patch install && typia patch" }, "files": [ "dist" ] -} +} \ No newline at end of file diff --git a/sdks/ts/src/check.ts b/sdks/ts/src/check.ts new file mode 100644 index 000000000..af0164191 --- /dev/null +++ b/sdks/ts/src/check.ts @@ -0,0 +1,11 @@ +import typia, { tags } from "typia"; + +export const check = typia.createIs(); + +interface IMember { + id: string & tags.Format<"uuid">; + email: string & tags.Format<"email">; + age: number & tags.ExclusiveMinimum<19> & tags.Maximum<100>; +} + + diff --git a/sdks/ts/src/managers/session.ts b/sdks/ts/src/managers/session.ts index 8f6b5050a..9d0671272 100644 --- a/sdks/ts/src/managers/session.ts +++ b/sdks/ts/src/managers/session.ts @@ -18,6 +18,10 @@ export interface CreateSessionPayload { situation?: string; metadata?: Record; renderTemplates?: boolean; + tokenBudget?: number; + + // Can only be one of the following values: "truncate", "adaptive" + contextOverflow?: "truncate" | "adaptive"; } export class SessionsManager extends BaseManager { @@ -34,6 +38,8 @@ export class SessionsManager extends BaseManager { userId, agentId, situation, + tokenBudget, + contextOverflow, metadata = {}, renderTemplates = false, }: CreateSessionPayload): Promise { @@ -54,8 +60,18 @@ export class SessionsManager extends BaseManager { situation, metadata, render_templates: renderTemplates, + token_budget: tokenBudget, + context_overflow: contextOverflow, }; + type rkey = keyof typeof requestBody; + + for (const key of Object.keys(requestBody)) { + if (requestBody[key as rkey] === undefined) { + delete requestBody[key as rkey]; + } + } + return this.apiClient.default .createSession({ requestBody }) .catch((error) => Promise.reject(error)); @@ -89,11 +105,34 @@ export class SessionsManager extends BaseManager { async update( sessionId: string, - { situation, metadata = {} }: { situation: string; metadata?: any }, + { + situation, + tokenBudget, + contextOverflow, + metadata = {}, + }: { + situation: string; + tokenBudget?: number; + contextOverflow?: "truncate" | "adaptive"; + metadata?: any; + }, overwrite = false, ): Promise { invariant(isValidUuid4(sessionId), "sessionId must be a valid UUID v4"); - const requestBody = { situation, metadata }; + const requestBody = { + situation, + metadata, + token_budget: tokenBudget, + context_overflow: contextOverflow, + }; + + type rkey = keyof typeof requestBody; + + for (const key of Object.keys(requestBody)) { + if (requestBody[key as rkey] === undefined) { + delete requestBody[key as rkey]; + } + } if (overwrite) { return this.apiClient.default.updateSession({ sessionId, requestBody }); diff --git a/sdks/ts/tsconfig.json b/sdks/ts/tsconfig.json index 2fec5bcf2..dfc5514df 100644 --- a/sdks/ts/tsconfig.json +++ b/sdks/ts/tsconfig.json @@ -15,8 +15,21 @@ "resolveJsonModule": true, "declarationDir": "./", "declaration": true, - "outDir": "types" + "outDir": "types", + "plugins": [ + { + "transform": "typia/lib/transform" + } + ], + "strictNullChecks": true }, - "include": ["./src/**/*.ts"], - "exclude": ["node_modules", "**/__mocks__", "dist", "tests"] -} + "include": [ + "./src/**/*.ts" + ], + "exclude": [ + "node_modules", + "**/__mocks__", + "dist", + "tests" + ] +} \ No newline at end of file From 782c6e2c5a3bbe5be4f6f48641582387ff0bbc04 Mon Sep 17 00:00:00 2001 From: creatorrr Date: Thu, 27 Jun 2024 23:25:15 +0000 Subject: [PATCH 2/2] refactor: Lint sdks/ts (CI) --- sdks/ts/package.json | 2 +- sdks/ts/src/check.ts | 6 ++---- sdks/ts/tsconfig.json | 13 +++---------- 3 files changed, 6 insertions(+), 15 deletions(-) diff --git a/sdks/ts/package.json b/sdks/ts/package.json index f23c833fc..4972ee50b 100644 --- a/sdks/ts/package.json +++ b/sdks/ts/package.json @@ -88,4 +88,4 @@ "files": [ "dist" ] -} \ No newline at end of file +} diff --git a/sdks/ts/src/check.ts b/sdks/ts/src/check.ts index af0164191..f123e12d7 100644 --- a/sdks/ts/src/check.ts +++ b/sdks/ts/src/check.ts @@ -1,11 +1,9 @@ import typia, { tags } from "typia"; - + export const check = typia.createIs(); - + interface IMember { id: string & tags.Format<"uuid">; email: string & tags.Format<"email">; age: number & tags.ExclusiveMinimum<19> & tags.Maximum<100>; } - - diff --git a/sdks/ts/tsconfig.json b/sdks/ts/tsconfig.json index dfc5514df..9fa86d5c7 100644 --- a/sdks/ts/tsconfig.json +++ b/sdks/ts/tsconfig.json @@ -23,13 +23,6 @@ ], "strictNullChecks": true }, - "include": [ - "./src/**/*.ts" - ], - "exclude": [ - "node_modules", - "**/__mocks__", - "dist", - "tests" - ] -} \ No newline at end of file + "include": ["./src/**/*.ts"], + "exclude": ["node_modules", "**/__mocks__", "dist", "tests"] +}