Commit f57c27c
authored
Seng/agent migration (#327)
* Update webhook URLs in sync-docs workflows to new endpoint
* new doc-agents repo
* Convert doc-agents from submodule to regular directory
* test
* fix query failure
* Add Documentation Q&A Agent
- Implemented a new Documentation Q&A agent that answers questions about Agentuity documentation using Retrieval-Augmented Generation (RAG).
- Created supporting files including agent logic, prompt handling, document retrieval, and type definitions.
- Added API route for the agent to handle requests and return structured responses.
- Updated the frontend to interact with the new agent, allowing users to ask questions about documentation directly.
* Refactor agent structure and add authentication middleware
- Removed the 'hello' agent and its associated files from the project.
- Updated API routes to remove references to the 'hello' agent.
- Introduced a new middleware for bearer token authentication to enhance security for API routes.
- Updated TypeScript configuration to include paths for middleware.
* Update agent configuration and refactor build logic
- Changed agentBaseUrl to use a local development URL for easier testing.
- Refactored buildAgentConfig to accept an endpoint instead of an agent ID.
- Updated getAgentQaConfig and getAgentPulseConfig to use specific API endpoints.
- Improved error messages for agent configuration validation.
* Update CLI commands to use bunx for execution
- Replaced instances of `agentuity` with `bunx @agentuity/cli` in various skill documentation files to standardize command execution.
- Updated the README to reflect the new total skills count and generation date.
- Removed the `agentuity-cli-upgrade` skill from the documentation as it is no longer applicable.
* Refactor API services and remove environment validation
- Replaced environment variable validation with direct API service calls for agent configuration.
- Updated API routes to utilize new service methods for querying agents and managing tutorial states.
- Refactored session management to improve error handling and streamline KV store interactions.
- Introduced a new title generation service for session titles based on conversation history.
- Removed deprecated environment validation logic and associated files to simplify the codebase.
* Update environment variables and enhance KV service initialization
- Added new environment variables: AGENT_BEARER_TOKEN and AGENTUITY_REGION to .env.example for improved configuration.
- Updated KV service initialization to require AGENTUITY_REGION alongside AGENTUITY_SDK_KEY for better error handling.
- Refactored logger implementation to utilize createLogger from the agentuity server package for improved logging capabilities.
* Enhance agent pulse functionality and improve tutorial state management
- Updated the agent pulse API to streamline message handling and response streaming.
- Introduced a new state manager to handle tutorial actions and fetch complete tutorial step data.
- Refactored the streaming processor to format AI responses as SSE-compatible chunks.
- Improved error handling and logging throughout the agent pulse services.
- Added tutorial data handling to provide users with relevant content during interactions.
* Implement session management API and refactor session handling
- Introduced a new API for managing user sessions, including endpoints for creating, retrieving, updating, and deleting sessions.
- Added message handling within sessions to allow users to append messages to existing sessions.
- Implemented cookie-based authentication middleware to secure session endpoints.
- Refactored session persistence logic to streamline data storage and retrieval.
- Enhanced error handling and logging for improved debugging and user feedback.
* Rename sync job to full-sync in GitHub Actions workflow for clarity
* Remove pull_request trigger from full docs sync workflow in GitHub Actions
* Enhance middleware and API authentication for Agentuity integration
- Implemented middleware to handle user session management and proxy API requests to the Agentuity backend with bearer token authentication.
- Updated session and agent pulse API routes to utilize bearer token authentication alongside cookie authentication.
- Refactored API rewrites to be managed within middleware, improving configuration clarity.
- Added cookie management for user sessions and ensured proper error handling for missing configuration.
- Updated documentation and comments for clarity on authentication mechanisms.
* Update .env.example to remove duplicate AGENT_BEARER_TOKEN entry
* Remove deprecated files and update package dependencies
- Deleted obsolete files from the agent-docs directory, including configuration, documentation, and source files.
- Updated package.json to reflect the latest dependencies for the project.
* Update authentication mechanism in workflows and API route
- Replaced AGENTUITY_TOKEN with AGENT_BEARER_TOKEN in GitHub Actions workflows for consistency.
- Enhanced API route to include bearer token authentication middleware for improved security.
* Update environment configuration and clean up logging in agent pulse
- Modified .env.example files to clarify usage of AGENT_BEARER_TOKEN and AGENTUITY_SDK_KEY.
- Removed unnecessary timestamp fields from message schema and related API routes, ensuring server-side timestamps are generated consistently.
- Cleaned up logging statements in agent pulse files to reduce verbosity and improve clarity.
* Refactor agent pulse and document QA components
- Updated streaming processor and tools for improved event handling.
- Enhanced types for agent pulse and document QA to include additional properties.
- Cleaned up code in the document QA agent and retriever for better readability and maintainability.
- Adjusted session persistence logic to streamline message handling within sessions.1 parent a073c38 commit f57c27c
File tree
272 files changed
+20405
-9604
lines changed- .github/workflows
- agent-docs
- .cursor/rules
- src/agents
- agent-pulse
- context
- request
- state
- streaming
- doc-processing
- doc-qa
- app
- api
- rag-search
- sessions
- [sessionId]
- messages
- users/tutorial-state
- chat
- [sessionId]
- components
- services
- utils
- doc-agents
- .agents
- agentuity/sdk
- agent
- api
- web
- skills
- agentuity-cli-auth-apikey
- agentuity-cli-auth-login
- agentuity-cli-auth-logout
- agentuity-cli-auth-org-current
- agentuity-cli-auth-org-select
- agentuity-cli-auth-org-unselect
- agentuity-cli-auth-ssh-add
- agentuity-cli-auth-ssh-delete
- agentuity-cli-auth-ssh-list
- agentuity-cli-auth-whoami
- agentuity-cli-build
- agentuity-cli-cloud-agent-get
- agentuity-cli-cloud-agent-list
- agentuity-cli-cloud-apikey-create
- agentuity-cli-cloud-apikey-delete
- agentuity-cli-cloud-apikey-get
- agentuity-cli-cloud-apikey-list
- agentuity-cli-cloud-db-create
- agentuity-cli-cloud-db-delete
- agentuity-cli-cloud-db-get
- agentuity-cli-cloud-db-list
- agentuity-cli-cloud-db-logs
- agentuity-cli-cloud-db-sql
- agentuity-cli-cloud-deployment-list
- agentuity-cli-cloud-deployment-logs
- agentuity-cli-cloud-deployment-remove
- agentuity-cli-cloud-deployment-rollback
- agentuity-cli-cloud-deployment-show
- agentuity-cli-cloud-deployment-undeploy
- agentuity-cli-cloud-deploy
- agentuity-cli-cloud-env-delete
- agentuity-cli-cloud-env-get
- agentuity-cli-cloud-env-import
- agentuity-cli-cloud-env-list
- agentuity-cli-cloud-env-pull
- agentuity-cli-cloud-env-push
- agentuity-cli-cloud-env-set
- agentuity-cli-cloud-keyvalue-create-namespace
- agentuity-cli-cloud-keyvalue-delete-namespace
- agentuity-cli-cloud-keyvalue-delete
- agentuity-cli-cloud-keyvalue-get
- agentuity-cli-cloud-keyvalue-keys
- agentuity-cli-cloud-keyvalue-list-namespaces
- agentuity-cli-cloud-keyvalue-repl
- agentuity-cli-cloud-keyvalue-search
- agentuity-cli-cloud-keyvalue-set
- agentuity-cli-cloud-keyvalue-stats
- agentuity-cli-cloud-queue-ack
- agentuity-cli-cloud-queue-create
- agentuity-cli-cloud-queue-delete
- agentuity-cli-cloud-queue-destinations-create
- agentuity-cli-cloud-queue-destinations-delete
- agentuity-cli-cloud-queue-destinations-list
- agentuity-cli-cloud-queue-destinations-update
- agentuity-cli-cloud-queue-dlq-list
- agentuity-cli-cloud-queue-dlq-purge
- agentuity-cli-cloud-queue-dlq-replay
- agentuity-cli-cloud-queue-get
- agentuity-cli-cloud-queue-list
- agentuity-cli-cloud-queue-messages
- agentuity-cli-cloud-queue-nack
- agentuity-cli-cloud-queue-pause
- agentuity-cli-cloud-queue-publish
- agentuity-cli-cloud-queue-receive
- agentuity-cli-cloud-queue-resume
- agentuity-cli-cloud-queue-sources-create
- agentuity-cli-cloud-queue-sources-delete
- agentuity-cli-cloud-queue-sources-get
- agentuity-cli-cloud-queue-sources-list
- agentuity-cli-cloud-queue-sources-update
- agentuity-cli-cloud-queue-stats
- agentuity-cli-cloud-redis-show
- agentuity-cli-cloud-region-current
- agentuity-cli-cloud-region-select
- agentuity-cli-cloud-region-unselect
- agentuity-cli-cloud-sandbox-cp
- agentuity-cli-cloud-sandbox-create
- agentuity-cli-cloud-sandbox-delete
- agentuity-cli-cloud-sandbox-download
- agentuity-cli-cloud-sandbox-env
- agentuity-cli-cloud-sandbox-execution-get
- agentuity-cli-cloud-sandbox-execution-list
- agentuity-cli-cloud-sandbox-exec
- agentuity-cli-cloud-sandbox-files
- agentuity-cli-cloud-sandbox-get
- agentuity-cli-cloud-sandbox-list
- agentuity-cli-cloud-sandbox-mkdir
- agentuity-cli-cloud-sandbox-rmdir
- agentuity-cli-cloud-sandbox-rm
- agentuity-cli-cloud-sandbox-runtime-list
- agentuity-cli-cloud-sandbox-run
- agentuity-cli-cloud-sandbox-snapshot-build
- agentuity-cli-cloud-sandbox-snapshot-create
- agentuity-cli-cloud-sandbox-snapshot-delete
- agentuity-cli-cloud-sandbox-snapshot-get
- agentuity-cli-cloud-sandbox-snapshot-list
- agentuity-cli-cloud-sandbox-snapshot-tag
- agentuity-cli-cloud-sandbox-upload
- agentuity-cli-cloud-scp-download
- agentuity-cli-cloud-scp-upload
- agentuity-cli-cloud-secret-delete
- agentuity-cli-cloud-secret-get
- agentuity-cli-cloud-secret-import
- agentuity-cli-cloud-secret-list
- agentuity-cli-cloud-secret-pull
- agentuity-cli-cloud-secret-push
- agentuity-cli-cloud-secret-set
- agentuity-cli-cloud-session-get
- agentuity-cli-cloud-session-list
- agentuity-cli-cloud-session-logs
- agentuity-cli-cloud-ssh
- agentuity-cli-cloud-storage-create
- agentuity-cli-cloud-storage-delete
- agentuity-cli-cloud-storage-download
- agentuity-cli-cloud-storage-get
- agentuity-cli-cloud-storage-list
- agentuity-cli-cloud-storage-upload
- agentuity-cli-cloud-stream-delete
- agentuity-cli-cloud-stream-get
- agentuity-cli-cloud-stream-list
- agentuity-cli-cloud-thread-delete
- agentuity-cli-cloud-thread-get
- agentuity-cli-cloud-thread-list
- agentuity-cli-cloud-vector-delete-namespace
- agentuity-cli-cloud-vector-delete
- agentuity-cli-cloud-vector-get
- agentuity-cli-cloud-vector-list-namespaces
- agentuity-cli-cloud-vector-search
- agentuity-cli-cloud-vector-stats
- agentuity-cli-cloud-vector-upsert
- agentuity-cli-dev
- agentuity-cli-git-account-add
- agentuity-cli-git-account-list
- agentuity-cli-git-account-remove
- agentuity-cli-git-link
- agentuity-cli-git-list
- agentuity-cli-git-status
- agentuity-cli-git-unlink
- agentuity-cli-profile-create
- agentuity-cli-profile-current
- agentuity-cli-profile-delete
- agentuity-cli-profile-list
- agentuity-cli-profile-show
- agentuity-cli-profile-use
- agentuity-cli-project-auth-generate
- agentuity-cli-project-auth-init
- agentuity-cli-project-create
- agentuity-cli-project-delete
- agentuity-cli-project-import
- agentuity-cli-project-list
- agentuity-cli-project-show
- agentuity-cli-repl
- agentuity-cli-upgrade
- .vscode
- src
- agent
- agent_pulse
- doc_processing
- test
- doc_qa
- api
- agent_pulse
- doc-qa
- process-docs
- sessions
- title-generator
- generated
- middleware
- services
- web
- public
- lib
- api
- services
- tutorial
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
272 files changed
+20405
-9604
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | | - | |
6 | | - | |
| 5 | + | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
40 | 53 | | |
41 | 54 | | |
42 | 55 | | |
| |||
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments