harness-mcp-v2 0.9.3 → 0.9.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +91 -61
- package/build/data/schemas/index.d.ts +10 -14
- package/build/data/schemas/index.d.ts.map +1 -1
- package/build/data/schemas/index.js +24 -9
- package/build/data/schemas/index.js.map +1 -1
- package/build/data/schemas/local/agent-pipeline.d.ts +8 -0
- package/build/data/schemas/local/agent-pipeline.d.ts.map +1 -0
- package/build/data/schemas/local/agent-pipeline.js +4945 -0
- package/build/data/schemas/local/agent-pipeline.js.map +1 -0
- package/build/data/schemas/v0/pipeline.d.ts +3 -0
- package/build/data/schemas/v0/pipeline.d.ts.map +1 -0
- package/build/data/schemas/v0/pipeline.js +114562 -0
- package/build/data/schemas/v0/pipeline.js.map +1 -0
- package/build/data/schemas/v0/template.d.ts +3 -0
- package/build/data/schemas/v0/template.d.ts.map +1 -0
- package/build/data/schemas/v0/template.js +142569 -0
- package/build/data/schemas/v0/template.js.map +1 -0
- package/build/data/schemas/v0/trigger.d.ts +3 -0
- package/build/data/schemas/v0/trigger.d.ts.map +1 -0
- package/build/data/schemas/v0/trigger.js +4055 -0
- package/build/data/schemas/v0/trigger.js.map +1 -0
- package/build/data/schemas/v1/infra.d.ts +3 -0
- package/build/data/schemas/v1/infra.d.ts.map +1 -0
- package/build/data/schemas/v1/infra.js +1005 -0
- package/build/data/schemas/v1/infra.js.map +1 -0
- package/build/data/schemas/v1/inputSet.d.ts +3 -0
- package/build/data/schemas/v1/inputSet.d.ts.map +1 -0
- package/build/data/schemas/v1/inputSet.js +46 -0
- package/build/data/schemas/v1/inputSet.js.map +1 -0
- package/build/data/schemas/v1/overlayInputSet.d.ts +3 -0
- package/build/data/schemas/v1/overlayInputSet.d.ts.map +1 -0
- package/build/data/schemas/v1/overlayInputSet.js +43 -0
- package/build/data/schemas/v1/overlayInputSet.js.map +1 -0
- package/build/data/schemas/v1/pipeline.d.ts +3 -0
- package/build/data/schemas/v1/pipeline.d.ts.map +1 -0
- package/build/data/schemas/v1/pipeline.js +5228 -0
- package/build/data/schemas/v1/pipeline.js.map +1 -0
- package/build/data/schemas/v1/service.d.ts +3 -0
- package/build/data/schemas/v1/service.d.ts.map +1 -0
- package/build/data/schemas/v1/service.js +1386 -0
- package/build/data/schemas/v1/service.js.map +1 -0
- package/build/data/schemas/v1/template.d.ts +3 -0
- package/build/data/schemas/v1/template.d.ts.map +1 -0
- package/build/data/schemas/v1/template.js +5846 -0
- package/build/data/schemas/v1/template.js.map +1 -0
- package/build/data/schemas/v1/trigger.d.ts +3 -0
- package/build/data/schemas/v1/trigger.d.ts.map +1 -0
- package/build/data/schemas/v1/trigger.js +3361 -0
- package/build/data/schemas/v1/trigger.js.map +1 -0
- package/build/index.js +14 -3
- package/build/index.js.map +1 -1
- package/build/prompts/add-metric.d.ts +3 -0
- package/build/prompts/add-metric.d.ts.map +1 -0
- package/build/prompts/add-metric.js +56 -0
- package/build/prompts/add-metric.js.map +1 -0
- package/build/prompts/create-eval-suite.d.ts +3 -0
- package/build/prompts/create-eval-suite.d.ts.map +1 -0
- package/build/prompts/create-eval-suite.js +49 -0
- package/build/prompts/create-eval-suite.js.map +1 -0
- package/build/prompts/index.d.ts.map +1 -1
- package/build/prompts/index.js +8 -0
- package/build/prompts/index.js.map +1 -1
- package/build/prompts/run-evaluation.d.ts +3 -0
- package/build/prompts/run-evaluation.d.ts.map +1 -0
- package/build/prompts/run-evaluation.js +49 -0
- package/build/prompts/run-evaluation.js.map +1 -0
- package/build/registry/extractors.d.ts +14 -0
- package/build/registry/extractors.d.ts.map +1 -1
- package/build/registry/extractors.js +17 -0
- package/build/registry/extractors.js.map +1 -1
- package/build/registry/index.d.ts +11 -0
- package/build/registry/index.d.ts.map +1 -1
- package/build/registry/index.js +62 -8
- package/build/registry/index.js.map +1 -1
- package/build/registry/toolsets/ai-evals.d.ts +8 -0
- package/build/registry/toolsets/ai-evals.d.ts.map +1 -0
- package/build/registry/toolsets/ai-evals.js +1528 -0
- package/build/registry/toolsets/ai-evals.js.map +1 -0
- package/build/registry/toolsets/ccm.d.ts.map +1 -1
- package/build/registry/toolsets/ccm.js +36 -1
- package/build/registry/toolsets/ccm.js.map +1 -1
- package/build/registry/types.d.ts +9 -2
- package/build/registry/types.d.ts.map +1 -1
- package/build/resources/pipeline-yaml.d.ts.map +1 -1
- package/build/resources/pipeline-yaml.js +1 -2
- package/build/resources/pipeline-yaml.js.map +1 -1
- package/build/tools/harness-create.d.ts.map +1 -1
- package/build/tools/harness-create.js +3 -2
- package/build/tools/harness-create.js.map +1 -1
- package/build/tools/harness-schema.d.ts.map +1 -1
- package/build/tools/harness-schema.js +12 -4
- package/build/tools/harness-schema.js.map +1 -1
- package/build/tools/harness-update.d.ts.map +1 -1
- package/build/tools/harness-update.js +3 -2
- package/build/tools/harness-update.js.map +1 -1
- package/build/utils/cli.d.ts +1 -0
- package/build/utils/cli.d.ts.map +1 -1
- package/build/utils/cli.js +23 -6
- package/build/utils/cli.js.map +1 -1
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
## Harness MCP Server 2.0
|
|
2
2
|
|
|
3
|
-
An MCP (Model Context Protocol) server that gives AI agents full access to the Harness.io platform through
|
|
3
|
+
An MCP (Model Context Protocol) server that gives AI agents full access to the Harness.io platform through 11 consolidated tools and 163 resource types.
|
|
4
4
|
|
|
5
5
|
## Why Use This MCP Server
|
|
6
6
|
|
|
@@ -8,8 +8,8 @@ Most MCP servers map one tool per API endpoint. For a platform as broad as Harne
|
|
|
8
8
|
|
|
9
9
|
This server is built differently:
|
|
10
10
|
|
|
11
|
-
- **
|
|
12
|
-
- **Full platform coverage.**
|
|
11
|
+
- **11 tools, 163 resource types.** A registry-based dispatch system routes `harness_list`, `harness_get`, `harness_create`, etc. to any Harness resource — pipelines, services, environments, orgs, projects, feature flags, cost data, and more. The LLM picks from 11 tools instead of hundreds.
|
|
12
|
+
- **Full platform coverage.** 31 toolsets spanning CI/CD, GitOps, Feature Flags, Cloud Cost Management, Security Testing, Chaos Engineering, Internal Developer Portal, Software Supply Chain, Governance, Service Overrides, Visualizations, and more. Not just pipelines — the entire Harness platform.
|
|
13
13
|
- **Multi-project workflows out of the box.** Agents discover organizations and projects dynamically — no hardcoded env vars needed. Ask "show failed executions across all projects" and the agent can navigate the full account hierarchy.
|
|
14
14
|
- **27 prompt templates.** Pre-built prompts for common workflows: build & deploy apps end-to-end, debug failed pipelines, review DORA metrics, triage vulnerabilities, optimize cloud costs, audit access control, plan feature flag rollouts, review pull requests, approve pending pipelines, and more.
|
|
15
15
|
- **Works everywhere.** Stdio transport for local clients (Claude Desktop, Cursor, Windsurf), HTTP transport for remote/shared deployments, Docker and Kubernetes ready.
|
|
@@ -131,6 +131,7 @@ Operational constraints in HTTP mode:
|
|
|
131
131
|
- Idle sessions are reaped after 30 minutes.
|
|
132
132
|
- `GET /health` is the only non-MCP endpoint.
|
|
133
133
|
- Request body size is capped by `HARNESS_MAX_BODY_SIZE_MB` (default `10` MB).
|
|
134
|
+
- Set `x-harness-pipeline-version: 0` or `1` on the `initialize` request to select V0 or V1 pipeline resources for that HTTP session.
|
|
134
135
|
|
|
135
136
|
```bash
|
|
136
137
|
# Health check
|
|
@@ -506,25 +507,24 @@ The deployment runs 2 replicas with readiness/liveness probes, resource limits,
|
|
|
506
507
|
|
|
507
508
|
The server automatically loads environment variables from a `.env` file in the project root if one exists. Copy `.env.example` to `.env` and fill in your values. Environment variables can also be set via your shell or MCP client config.
|
|
508
509
|
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
|
512
|
-
| `
|
|
513
|
-
| `
|
|
514
|
-
| `
|
|
515
|
-
| `
|
|
516
|
-
| `
|
|
517
|
-
| `
|
|
518
|
-
| `
|
|
519
|
-
| `
|
|
520
|
-
| `
|
|
521
|
-
| `
|
|
522
|
-
| `
|
|
523
|
-
| `
|
|
524
|
-
| `
|
|
525
|
-
| `
|
|
526
|
-
| `
|
|
527
|
-
|
|
510
|
+
| Variable | Required | Default | Description |
|
|
511
|
+
|----------|----------|---------|-------------|
|
|
512
|
+
| `HARNESS_API_KEY` | Yes | -- | Harness personal access token or service account token |
|
|
513
|
+
| `HARNESS_ACCOUNT_ID` | No | *(from PAT)* | Harness account identifier. Auto-extracted from PAT tokens; only needed for non-PAT API keys |
|
|
514
|
+
| `HARNESS_BASE_URL` | No | `https://app.harness.io` | Base URL (override for self-managed Harness) |
|
|
515
|
+
| `HARNESS_ORG` | No | `default` | Organization ID. Used when `org_id` is not specified per tool call. Agents can also discover orgs dynamically via `harness_list(resource_type="organization")` |
|
|
516
|
+
| `HARNESS_PROJECT` | No | -- | Project ID. Used when `project_id` is not specified per tool call. Agents can also discover projects dynamically via `harness_list(resource_type="project")` |
|
|
517
|
+
| `HARNESS_API_TIMEOUT_MS` | No | `30000` | HTTP request timeout in milliseconds |
|
|
518
|
+
| `HARNESS_MAX_RETRIES` | No | `3` | Retry count for transient failures (429, 5xx) |
|
|
519
|
+
| `HARNESS_MAX_BODY_SIZE_MB` | No | `10` | Max HTTP request body size in MB for `http` transport |
|
|
520
|
+
| `HARNESS_RATE_LIMIT_RPS` | No | `10` | Client-side request throttle (requests per second) to Harness APIs |
|
|
521
|
+
| `LOG_LEVEL` | No | `info` | Log verbosity: `debug`, `info`, `warn`, `error` |
|
|
522
|
+
| `HARNESS_TOOLSETS` | No | *(defaults)* | Comma-separated toolset list. Empty loads default toolsets and excludes opt-in toolsets such as `ai-evals`. Supports `+name` to add opt-in toolsets and `-name` to remove defaults (see [Toolset Filtering](#toolset-filtering)) |
|
|
523
|
+
| `HARNESS_READ_ONLY` | No | `false` | Block all mutating operations (create, update, delete, execute). Only list and get are allowed. Useful for shared/demo environments |
|
|
524
|
+
| `HARNESS_SKIP_ELICITATION` | No | `false` | Skip all elicitation confirmation prompts. When `true`, write and delete operations proceed without user approval — enabling fully autonomous agent workflows. See [Elicitation](#elicitation) |
|
|
525
|
+
| `HARNESS_ALLOW_HTTP` | No | `false` | Allow non-HTTPS `HARNESS_BASE_URL`. By default, the server enforces HTTPS for security. Set to `true` only for local development against a non-TLS Harness instance |
|
|
526
|
+
| `HARNESS_PIPELINE_VERSION` | No | `0` | **(Alpha)** Pipeline YAML version. `0` loads the `pipeline` resource type and excludes `pipeline_v1`; `1` loads `pipeline_v1` and excludes `pipeline`. HTTP sessions can override this at initialize time with `x-harness-pipeline-version: 0` or `1` |
|
|
527
|
+
| `HARNESS_MCP_LOG_FILE` | No | `~/.claude/harness-mcp.log` | File used for stdio disconnect/crash diagnostics when stderr may no longer be available |
|
|
528
528
|
|
|
529
529
|
### HTTPS Enforcement
|
|
530
530
|
|
|
@@ -923,7 +923,7 @@ Harness pipelines can be stored in three ways:
|
|
|
923
923
|
|
|
924
924
|
## Resource Types
|
|
925
925
|
|
|
926
|
-
|
|
926
|
+
163 resource types organized across 31 toolsets. Each resource type supports a subset of CRUD operations and optional execute actions.
|
|
927
927
|
|
|
928
928
|
### Platform
|
|
929
929
|
|
|
@@ -949,6 +949,8 @@ Harness pipelines can be stored in three ways:
|
|
|
949
949
|
| `approval_instance` | x | | | | | `approve`, `reject` |
|
|
950
950
|
|
|
951
951
|
|
|
952
|
+
Only one pipeline YAML resource type is loaded at startup. By default `HARNESS_PIPELINE_VERSION=0` exposes `pipeline` and hides `pipeline_v1`; set `HARNESS_PIPELINE_VERSION=1` to expose `pipeline_v1` and hide `pipeline`. In HTTP mode, include `x-harness-pipeline-version: 0` or `1` on the `initialize` request to choose the version for that session.
|
|
953
|
+
|
|
952
954
|
### AI Agents
|
|
953
955
|
|
|
954
956
|
|
|
@@ -1356,7 +1358,36 @@ Inline PNG chart visualizations rendered from Harness data. These are metadata-o
|
|
|
1356
1358
|
|
|
1357
1359
|
## Toolset Filtering
|
|
1358
1360
|
|
|
1359
|
-
By default,
|
|
1361
|
+
By default, 30 of 31 toolsets are enabled. One toolset (`ai-evals`) is opt-in — excluded by default to avoid polluting the resource list for users who don't need it.
|
|
1362
|
+
|
|
1363
|
+
### Enabling opt-in toolsets
|
|
1364
|
+
|
|
1365
|
+
Use the `+` prefix to add opt-in toolsets to the defaults:
|
|
1366
|
+
|
|
1367
|
+
```bash
|
|
1368
|
+
# Enable ai-evals alongside all defaults
|
|
1369
|
+
HARNESS_TOOLSETS=+ai-evals
|
|
1370
|
+
```
|
|
1371
|
+
|
|
1372
|
+
### Removing default toolsets
|
|
1373
|
+
|
|
1374
|
+
Use the `-` prefix to exclude toolsets you don't need:
|
|
1375
|
+
|
|
1376
|
+
```bash
|
|
1377
|
+
# Remove chaos and ccm from defaults
|
|
1378
|
+
HARNESS_TOOLSETS=-chaos,-ccm
|
|
1379
|
+
```
|
|
1380
|
+
|
|
1381
|
+
### Combining + and -
|
|
1382
|
+
|
|
1383
|
+
```bash
|
|
1384
|
+
# Add ai-evals, remove chaos
|
|
1385
|
+
HARNESS_TOOLSETS=+ai-evals,-chaos
|
|
1386
|
+
```
|
|
1387
|
+
|
|
1388
|
+
### Explicit allowlist
|
|
1389
|
+
|
|
1390
|
+
An explicit comma-separated list (no prefixes) replaces the defaults entirely. Only the listed toolsets are enabled:
|
|
1360
1391
|
|
|
1361
1392
|
```bash
|
|
1362
1393
|
# Only expose pipelines, services, and connectors
|
|
@@ -1365,40 +1396,39 @@ HARNESS_TOOLSETS=pipelines,services,connectors
|
|
|
1365
1396
|
|
|
1366
1397
|
Available toolset names:
|
|
1367
1398
|
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
|
1371
|
-
| `
|
|
1372
|
-
| `
|
|
1373
|
-
| `
|
|
1374
|
-
| `
|
|
1375
|
-
| `
|
|
1376
|
-
| `
|
|
1377
|
-
| `
|
|
1378
|
-
| `
|
|
1379
|
-
| `
|
|
1380
|
-
| `
|
|
1381
|
-
| `
|
|
1382
|
-
| `
|
|
1383
|
-
| `
|
|
1384
|
-
| `
|
|
1385
|
-
| `
|
|
1386
|
-
| `
|
|
1387
|
-
| `
|
|
1388
|
-
| `
|
|
1389
|
-
| `
|
|
1390
|
-
| `
|
|
1391
|
-
| `
|
|
1392
|
-
| `
|
|
1393
|
-
| `
|
|
1394
|
-
| `
|
|
1395
|
-
| `
|
|
1396
|
-
| `
|
|
1397
|
-
| `
|
|
1398
|
-
| `
|
|
1399
|
-
| `
|
|
1400
|
-
| `
|
|
1401
|
-
|
|
1399
|
+
| Toolset | Resource Types |
|
|
1400
|
+
|---------|---------------|
|
|
1401
|
+
| `platform` | organization, project |
|
|
1402
|
+
| `pipelines` | pipeline, pipeline_v1, execution, trigger, pipeline_summary, input_set, approval_instance |
|
|
1403
|
+
| `agents` | agent, agent_run |
|
|
1404
|
+
| `services` | service |
|
|
1405
|
+
| `environments` | environment |
|
|
1406
|
+
| `connectors` | connector, connector_catalogue |
|
|
1407
|
+
| `infrastructure` | infrastructure |
|
|
1408
|
+
| `secrets` | secret |
|
|
1409
|
+
| `logs` | execution_log |
|
|
1410
|
+
| `audit` | audit_event |
|
|
1411
|
+
| `delegates` | delegate, delegate_token |
|
|
1412
|
+
| `repositories` | repository, branch, commit, file_content, tag, repo_rule, space_rule |
|
|
1413
|
+
| `registries` | registry, artifact, artifact_version, artifact_file |
|
|
1414
|
+
| `templates` | template |
|
|
1415
|
+
| `dashboards` | dashboard, dashboard_data |
|
|
1416
|
+
| `idp` | idp_entity, scorecard, scorecard_check, scorecard_stats, scorecard_check_stats, idp_score, idp_workflow, idp_tech_doc |
|
|
1417
|
+
| `pull-requests` | pull_request, pr_reviewer, pr_comment, pr_check, pr_activity |
|
|
1418
|
+
| `feature-flags` | fme_workspace, fme_environment, fme_feature_flag, fme_feature_flag_definition, fme_rollout_status, fme_rule_based_segment, fme_rule_based_segment_definition, feature_flag |
|
|
1419
|
+
| `gitops` | gitops_agent, gitops_application, gitops_cluster, gitops_repository, gitops_applicationset, gitops_repo_credential, gitops_app_event, gitops_pod_log, gitops_managed_resource, gitops_resource_action, gitops_dashboard, gitops_app_resource_tree |
|
|
1420
|
+
| `chaos` | chaos_experiment, chaos_probe, chaos_experiment_template, chaos_infrastructure, chaos_experiment_variable, chaos_experiment_run, chaos_loadtest, chaos_k8s_infrastructure, chaos_hub, chaos_fault, chaos_network_map, chaos_guard_condition, chaos_guard_rule, chaos_recommendation, chaos_risk |
|
|
1421
|
+
| `ccm` | cost_perspective, cost_breakdown, cost_timeseries, cost_summary, cost_recommendation, cost_anomaly, cost_anomaly_summary, cost_category, cost_account_overview, cost_filter_value, cost_recommendation_stats, cost_recommendation_detail, cost_commitment |
|
|
1422
|
+
| `sei` | sei_metric, sei_productivity_metric, sei_dora_metric, sei_team, sei_team_detail, sei_org_tree, sei_org_tree_detail, sei_business_alignment, sei_ai_usage, sei_ai_adoption, sei_ai_impact, sei_ai_raw_metric |
|
|
1423
|
+
| `scs` | scs_artifact_source, artifact_security, scs_artifact_component, scs_artifact_remediation, scs_chain_of_custody, scs_compliance_result, code_repo_security, scs_sbom |
|
|
1424
|
+
| `sto` | security_issue, security_issue_filter, security_exemption |
|
|
1425
|
+
| `access_control` | user, user_group, service_account, role, role_assignment, resource_group, permission |
|
|
1426
|
+
| `governance` | policy, policy_set, policy_evaluation |
|
|
1427
|
+
| `freeze` | freeze_window, global_freeze |
|
|
1428
|
+
| `overrides` | service_override |
|
|
1429
|
+
| `settings` | setting |
|
|
1430
|
+
| `visualizations` | visual_timeline, visual_stage_flow, visual_health_dashboard, visual_pie_chart, visual_bar_chart, visual_timeseries, visual_architecture |
|
|
1431
|
+
| `ai-evals` **(opt-in)** | eval_dataset, eval_dataset_item, evaluation, eval_run, eval_run_item, eval_run_by_eval, eval_metric, eval_metric_set, eval_metric_set_entry, eval_suite, eval_suite_evaluation, eval_suite_run, eval_target, eval_model, eval_annotation, eval_analytics, eval_git_settings, eval_registry_item |
|
|
1402
1432
|
|
|
1403
1433
|
## Architecture
|
|
1404
1434
|
|
|
@@ -1410,13 +1440,13 @@ Available toolset names:
|
|
|
1410
1440
|
| MCP (stdio or HTTP)
|
|
1411
1441
|
+--------v---------+
|
|
1412
1442
|
| MCP Server |
|
|
1413
|
-
|
|
|
1443
|
+
| 11 Generic Tools |
|
|
1414
1444
|
+--------+---------+
|
|
1415
1445
|
|
|
|
1416
1446
|
+--------v---------+
|
|
1417
1447
|
| Registry | <-- Declarative resource definitions
|
|
1418
|
-
|
|
|
1419
|
-
|
|
|
1448
|
+
| 31 Toolsets | (data files, not code)
|
|
1449
|
+
| 163 Resource Types|
|
|
1420
1450
|
+--------+---------+
|
|
1421
1451
|
|
|
|
1422
1452
|
+--------v---------+
|
|
@@ -1,15 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
export declare const VALID_SCHEMAS: (keyof typeof SCHEMAS)[];
|
|
14
|
-
export type SchemaName = keyof typeof SCHEMAS;
|
|
1
|
+
type V0SchemaKey = "pipeline" | "template" | "trigger";
|
|
2
|
+
type V1SchemaKey = "pipeline_v1" | "template_v1" | "trigger_v1" | "inputSet_v1" | "overlayInputSet_v1" | "service_v1" | "infra_v1";
|
|
3
|
+
type LocalSchemaKey = "agent-pipeline";
|
|
4
|
+
type AllSchemaKeys = V0SchemaKey | V1SchemaKey | LocalSchemaKey;
|
|
5
|
+
export declare const SCHEMAS: Record<AllSchemaKeys, Record<string, any>>;
|
|
6
|
+
export declare const VALID_SCHEMAS: AllSchemaKeys[];
|
|
7
|
+
export type SchemaName = AllSchemaKeys;
|
|
8
|
+
export declare const V0_SCHEMA_KEYS: V0SchemaKey[];
|
|
9
|
+
export declare const V1_SCHEMA_KEYS: V1SchemaKey[];
|
|
10
|
+
export {};
|
|
15
11
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/data/schemas/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/data/schemas/index.ts"],"names":[],"mappings":"AAcA,KAAK,WAAW,GAAG,UAAU,GAAG,UAAU,GAAG,SAAS,CAAC;AACvD,KAAK,WAAW,GAAG,aAAa,GAAG,aAAa,GAAG,YAAY,GAAG,aAAa,GAAG,oBAAoB,GAAG,YAAY,GAAG,UAAU,CAAC;AACnI,KAAK,cAAc,GAAG,gBAAgB,CAAC;AACvC,KAAK,aAAa,GAAG,WAAW,GAAG,WAAW,GAAG,cAAc,CAAC;AAEhE,eAAO,MAAM,OAAO,EAAE,MAAM,CAAC,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAY9D,CAAC;AAEF,eAAO,MAAM,aAAa,EAA2B,aAAa,EAAE,CAAC;AACrE,MAAM,MAAM,UAAU,GAAG,aAAa,CAAC;AAEvC,eAAO,MAAM,cAAc,EAAE,WAAW,EAAwC,CAAC;AACjF,eAAO,MAAM,cAAc,EAAE,WAAW,EAAgH,CAAC"}
|
|
@@ -1,15 +1,30 @@
|
|
|
1
|
-
// Auto-generated
|
|
2
|
-
|
|
3
|
-
import
|
|
4
|
-
import template from "./template.js";
|
|
5
|
-
import trigger from "./trigger.js";
|
|
6
|
-
import
|
|
1
|
+
// Auto-generated — do not edit manually. Run `pnpm sync-schemas` to regenerate.
|
|
2
|
+
// @ts-nocheck
|
|
3
|
+
import pipeline from "./v0/pipeline.js";
|
|
4
|
+
import template from "./v0/template.js";
|
|
5
|
+
import trigger from "./v0/trigger.js";
|
|
6
|
+
import pipelineV1 from "./v1/pipeline.js";
|
|
7
|
+
import templateV1 from "./v1/template.js";
|
|
8
|
+
import triggerV1 from "./v1/trigger.js";
|
|
9
|
+
import inputSetV1 from "./v1/inputSet.js";
|
|
10
|
+
import overlayInputSetV1 from "./v1/overlayInputSet.js";
|
|
11
|
+
import serviceV1 from "./v1/service.js";
|
|
12
|
+
import infraV1 from "./v1/infra.js";
|
|
13
|
+
import agentPipeline from "./local/agent-pipeline.js";
|
|
7
14
|
export const SCHEMAS = {
|
|
8
|
-
pipeline,
|
|
15
|
+
"pipeline": pipeline,
|
|
16
|
+
"template": template,
|
|
17
|
+
"trigger": trigger,
|
|
9
18
|
"pipeline_v1": pipelineV1,
|
|
10
|
-
|
|
11
|
-
|
|
19
|
+
"template_v1": templateV1,
|
|
20
|
+
"trigger_v1": triggerV1,
|
|
21
|
+
"inputSet_v1": inputSetV1,
|
|
22
|
+
"overlayInputSet_v1": overlayInputSetV1,
|
|
23
|
+
"service_v1": serviceV1,
|
|
24
|
+
"infra_v1": infraV1,
|
|
12
25
|
"agent-pipeline": agentPipeline,
|
|
13
26
|
};
|
|
14
27
|
export const VALID_SCHEMAS = Object.keys(SCHEMAS);
|
|
28
|
+
export const V0_SCHEMA_KEYS = ["pipeline", "template", "trigger"];
|
|
29
|
+
export const V1_SCHEMA_KEYS = ["pipeline_v1", "template_v1", "trigger_v1", "inputSet_v1", "overlayInputSet_v1", "service_v1", "infra_v1"];
|
|
15
30
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/data/schemas/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/data/schemas/index.ts"],"names":[],"mappings":"AAAA,gFAAgF;AAChF,cAAc;AACd,OAAO,QAAQ,MAAM,kBAAkB,CAAC;AACxC,OAAO,QAAQ,MAAM,kBAAkB,CAAC;AACxC,OAAO,OAAO,MAAM,iBAAiB,CAAC;AACtC,OAAO,UAAU,MAAM,kBAAkB,CAAC;AAC1C,OAAO,UAAU,MAAM,kBAAkB,CAAC;AAC1C,OAAO,SAAS,MAAM,iBAAiB,CAAC;AACxC,OAAO,UAAU,MAAM,kBAAkB,CAAC;AAC1C,OAAO,iBAAiB,MAAM,yBAAyB,CAAC;AACxD,OAAO,SAAS,MAAM,iBAAiB,CAAC;AACxC,OAAO,OAAO,MAAM,eAAe,CAAC;AACpC,OAAO,aAAa,MAAM,2BAA2B,CAAC;AAOtD,MAAM,CAAC,MAAM,OAAO,GAA+C;IACjE,UAAU,EAAE,QAAQ;IACpB,UAAU,EAAE,QAAQ;IACpB,SAAS,EAAE,OAAO;IAClB,aAAa,EAAE,UAAU;IACzB,aAAa,EAAE,UAAU;IACzB,YAAY,EAAE,SAAS;IACvB,aAAa,EAAE,UAAU;IACzB,oBAAoB,EAAE,iBAAiB;IACvC,YAAY,EAAE,SAAS;IACvB,UAAU,EAAE,OAAO;IACnB,gBAAgB,EAAE,aAAa;CAChC,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAAG,MAAM,CAAC,IAAI,CAAC,OAAO,CAAoB,CAAC;AAGrE,MAAM,CAAC,MAAM,cAAc,GAAkB,CAAC,UAAU,EAAE,UAAU,EAAE,SAAS,CAAC,CAAC;AACjF,MAAM,CAAC,MAAM,cAAc,GAAkB,CAAC,aAAa,EAAE,aAAa,EAAE,YAAY,EAAE,aAAa,EAAE,oBAAoB,EAAE,YAAY,EAAE,UAAU,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agent-pipeline.d.ts","sourceRoot":"","sources":["../../../../src/data/schemas/local/agent-pipeline.ts"],"names":[],"mappings":"AA00JA,QAAA,MAAM,kBAAkB;;;;;CAMvB,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|