Commit graph

119 commits

Author SHA1 Message Date
simlarsen
e87d5de02f chore: npm audit fix 2026-01-08 01:57:11 +00:00
simlarsen
37f35a5ea3 chore: npm audit fix 2026-01-07 01:56:57 +00:00
simlarsen
b1ab1c4775 chore: npm audit fix 2025-12-31 01:55:30 +00:00
Nawaz Dhandala
e7f489da3b
fix: Add type annotations for improved type safety in various modules 2025-12-18 13:46:22 +00:00
Nawaz Dhandala
9481d61c2f
Refactor SelectFieldGenerator and SchemaConverter for improved readability and maintainability
- Updated formatting and indentation for consistency in SelectFieldGenerator.ts and SchemaConverter.ts.
- Enhanced logging messages for better debugging in generateAllFieldsSelect and findModelClass functions.
- Simplified error handling and fallback mechanisms in generateAllFieldsSelect.
- Improved type definitions and structure in Zod schema conversion functions.
- Added tests for server initialization and tool management to ensure proper functionality and error handling.
2025-12-18 13:22:18 +00:00
Nawaz Dhandala
b94c6f9fb7
feat: Remove resolve_status_page_domain tool from public status page tools 2025-12-18 13:20:08 +00:00
Nawaz Dhandala
c8409da40b
feat: Update MCP server to support public tools without API key 2025-12-18 13:13:53 +00:00
Nawaz Dhandala
eecf87bd0f
feat: Enhance MCP tool generation with public status page tools
- Refactored ToolGenerator.ts to include generation of public status page tools.
- Added PublicStatusPageTools.ts with functions to create tools for querying public status pages.
- Implemented tools for getting overview, incidents, scheduled maintenance, announcements, and resolving status page domains.
- Updated logging and error handling for public status page tool execution.
2025-12-18 13:03:17 +00:00
Nawaz Dhandala
51e6c1ce9c
feat: add helper tools for resource discovery and guidance in MCP 2025-12-18 12:03:57 +00:00
Nawaz Dhandala
8e399accc1
feat: add enableMCP property and decorator to various models for enhanced MCP functionality 2025-12-18 11:49:01 +00:00
Nawaz Dhandala
53ec40a3cb
refactor: enhance formatCountResponse to handle various result formats 2025-12-18 11:39:59 +00:00
Nawaz Dhandala
e93b9f7759
feat: Implement MCP Tool Handler and Server Management
- Added ToolHandler.ts to manage tool execution and response formatting.
- Implemented session management in SessionManager.ts for handling API keys and session data.
- Created MCPServer.ts for initializing and managing the MCP server instance.
- Developed SelectFieldGenerator.ts to generate select field objects for API queries.
- Introduced SchemaConverter.ts for converting Zod schemas to JSON Schema format.
- Built ToolGenerator.ts to generate MCP tools for OneUptime models, including CRUD operations.
- Enhanced logging throughout the code for better traceability and debugging.
2025-12-17 18:01:21 +00:00
Nawaz Dhandala
6cdc9f9a2b
refactor: update Dockerfile for Node.js version and improve nodemon configuration 2025-12-17 17:46:40 +00:00
Nawaz Dhandala
2fd7dd136d
refactor: add CORS support and handle root endpoint in MCP routes 2025-12-17 17:43:41 +00:00
Nawaz Dhandala
6a0db02101
refactor: improve code formatting and enhance type definitions in MCP server 2025-12-16 21:50:32 +00:00
Nawaz Dhandala
8a6be6960b
refactor: update API service initialization to use environment variables for URL configuration 2025-12-16 21:32:18 +00:00
Nawaz Dhandala
af155d8c43
refactor: replace Server with McpServer for improved functionality and clarity 2025-12-16 21:29:22 +00:00
Nawaz Dhandala
449549e1f9
refactor: update MCP server transport to Streamable HTTP and enhance session management 2025-12-16 21:27:10 +00:00
Nawaz Dhandala
c14976bac8
feat: Add ejs as a dependency in package.json and package-lock.json 2025-12-16 18:32:00 +00:00
Nawaz Dhandala
2e7fdd53a5
Merge remote-tracking branch 'origin/incident-ai' 2025-12-16 13:33:18 +00:00
Nawaz Dhandala
6335887d62
feat: Reduce npm fetch retry timeout values in Dockerfiles 2025-12-16 13:30:12 +00:00
Nawaz Dhandala
3797f258e8
refactor: Update inputSchema type to JSONSchema and improve route setup with forEach 2025-12-16 12:15:37 +00:00
Nawaz Dhandala
8e628d0a4f
refactor: Remove unused properties from AILoaderProps and improve type definitions in LlmLogsTable and MCP Index 2025-12-16 12:13:27 +00:00
Nawaz Dhandala
858710cf1b
refactor: Clean up imports and improve formatting across multiple files 2025-12-16 12:11:48 +00:00
Nawaz Dhandala
9b714bbe29
refactor: Improve type definitions and enhance JSON schema handling in MCP services 2025-12-16 11:42:56 +00:00
Nawaz Dhandala
2fb8239fe9
refactor: Simplify tsconfig structure in jest.config.json 2025-12-16 11:34:02 +00:00
Nawaz Dhandala
fbdedaacc3
chore: update dependencies in package.json
- Upgraded @modelcontextprotocol/sdk from ^0.6.0 to ^1.25.0
- Updated ts-node from ^10.9.1 to ^10.9.2
- Upgraded devDependencies:
  - @types/jest from ^27.5.0 to ^29.5.14
  - @types/node from ^17.0.31 to ^22.15.21
  - jest from ^28.1.0 to ^29.7.0
  - nodemon from ^2.0.20 to ^3.1.11
  - ts-jest from ^28.0.2 to ^29.4.6
  - typescript from ^5.8.3 to ^5.9.3
2025-12-16 11:33:05 +00:00
Nawaz Dhandala
4c577c7dfa
fix: Allow any type for request parameters in tool call handler 2025-12-16 11:30:50 +00:00
Nawaz Dhandala
f15f797d43
refactor: Replace MCP server implementation with a streamlined structure and improved logging 2025-12-16 11:27:02 +00:00
Nawaz Dhandala
f2906f59a2
refactor: Simplify server run logic and remove unused stdio mode 2025-12-16 11:06:02 +00:00
Nawaz Dhandala
83107857bd
feat: Add MCP service configuration and related environment variables 2025-12-16 11:04:56 +00:00
Nawaz Dhandala
73d2cab46e
refactor: update import paths to use relative imports for consistency 2025-12-16 10:50:16 +00:00
Nawaz Dhandala
0563970eb6
refactor: update package dependencies and tsconfig settings
- Changed dependency from "@oneuptime/common" to a local file reference "Common".
- Re-enabled experimental decorators in tsconfig.json.
- Cleaned up tsconfig.json formatting for better readability.
- Ensured strict type-checking options are clearly defined in tsconfig.json.
2025-12-16 10:50:09 +00:00
Nawaz Dhandala
c617372e37
feat: Add repository field to package.json files across the project 2025-12-11 21:31:52 +00:00
simlarsen
06e672abdd chore: npm audit fix 2025-12-05 01:51:29 +00:00
simlarsen
b99a20a588 chore: npm audit fix 2025-12-02 01:50:48 +00:00
simlarsen
51a128efd3 chore: npm audit fix 2025-11-27 01:46:46 +00:00
simlarsen
495f59f36b chore: npm audit fix 2025-11-19 01:47:18 +00:00
simlarsen
64360fc3fe chore: npm audit fix 2025-11-18 01:47:15 +00:00
simlarsen
dade1d0403 chore: npm audit fix 2025-11-15 01:44:36 +00:00
Simon Larsen
1ac6e71f7e
chore(config,docker,ci,ui): rename IS_ENTERPRISE to IS_ENTERPRISE_EDITION across env, Dockerfiles, compose and workflows 2025-11-03 11:25:12 +00:00
simlarsen
ae9a78f1f4 chore: npm audit fix 2025-11-01 01:49:26 +00:00
Nawaz Dhandala
1c1a48b78f
chore(ci): build/publish enterprise image variants and add IS_ENTERPRISE arg to Dockerfiles 2025-10-31 14:49:07 +00:00
Nawaz Dhandala
b347e18749
chore: update package-locks — add deps, bump versions & sync subdeps
- Update lockfiles for root, TestServer, Worker and Workflow
- Add new/top-level packages and types:
  - @simplewebauthn/server, archiver, botbuilder
  - @types/archiver
- Bump notable package versions:
  - axios, nodemailer, playwright, react-syntax-highlighter
- Sync a large set of transitive dependency upgrades:
  - @babel/* (code-frame, parser, template, types, helpers, helper-*), brace-expansion, braces, fill-range, micromatch, picocolors, cross-spawn, to-regex-range and others
- Remove/clean outdated lock entries (e.g. to-fast-properties removed where unnecessary)
- Add/fix license fields for several packages in the lockfiles
- General lockfile normalization to ensure consistent subdependency versions across packages

This keeps dependency trees aligned across monorepo packages and pulls in recent bug/security fixes from transitive upgrades.
2025-10-29 16:43:36 +00:00
Nawaz Dhandala
b77973441d
fix: remove TelemetryAttribute and TelemetryAttributeService references and related code 2025-10-15 16:26:05 +01:00
Nawaz Dhandala
987f30e5c7
feat: add PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD environment variable to Dockerfiles for improved build performance 2025-10-06 19:45:46 +01:00
Nawaz Dhandala
6d5bc111ba
Refactor comments across multiple files to improve clarity and consistency
- Updated comments in Probe/Config.ts to use block comments for proxy configuration.
- Refactored comments in PortMonitor.ts, SyntheticMonitor.ts, and OnlineCheck.ts to block comments for better readability.
- Adjusted comments in ProbeIngest/API/Monitor.ts and ProbeIngest/API/Probe.ts to block comments for clarity.
- Standardized comments in various data migration scripts to block comments for consistency.
- Modified eslint.config.js to enforce multiline comment style as an error.
2025-10-02 11:53:55 +01:00
Simon Larsen
b6802bf949
Merge branch 'master' into v4-ms-teams 2025-09-26 14:23:46 +01:00
Simon Larsen
1562f8ee6a
fix: Update @oneuptime/common and axios versions in package-lock.json; modify compile command to include npm update 2025-09-23 19:34:01 +01:00
Simon Larsen
97380a5410
Merge branch 'master' into v4-ms-teams 2025-09-19 22:58:45 +01:00