@bluefly/openstandardagents 0.2.5-RC → 0.2.7
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/.github/ISSUE_TEMPLATE/bug_report.yml +63 -0
- package/.github/ISSUE_TEMPLATE/feature_request.yml +40 -0
- package/.github/workflows/dependabot-comment.yml +34 -0
- package/.github/workflows/pr-comment.yml +33 -0
- package/.husky/pre-commit +5 -0
- package/.kiro/config.json +21 -0
- package/.kiro/settings/mcp.json +61 -0
- package/.kiro/specs/scripts-migration-api-first/design.md +883 -0
- package/.kiro/specs/scripts-migration-api-first/requirements.md +165 -0
- package/.kiro/specs/scripts-migration-api-first/tasks.md +539 -0
- package/.kiro/specs/{website-design-audit → website-brand-identity}/design.md +381 -0
- package/.kiro/specs/{website-design-audit → website-brand-identity}/requirements.md +88 -0
- package/.kiro/specs/website-brand-identity/tasks.md +981 -0
- package/CHANGELOG.md +23 -0
- package/README.md +12 -3
- package/bin/ossa-dev +42 -0
- package/bin/ossa-export +32 -0
- package/bin/ossa-generate +60 -0
- package/bin/ossa-health +40 -0
- package/bin/ossa-init +26 -0
- package/dist/repositories/schema.repository.d.ts.map +1 -1
- package/dist/repositories/schema.repository.js +15 -10
- package/dist/repositories/schema.repository.js.map +1 -1
- package/dist/services/github-sync/github-client.d.ts +14 -0
- package/dist/services/github-sync/github-client.d.ts.map +1 -0
- package/dist/services/github-sync/github-client.js +41 -0
- package/dist/services/github-sync/github-client.js.map +1 -0
- package/dist/services/github-sync/gitlab-client.d.ts +17 -0
- package/dist/services/github-sync/gitlab-client.d.ts.map +1 -0
- package/dist/services/github-sync/gitlab-client.js +42 -0
- package/dist/services/github-sync/gitlab-client.js.map +1 -0
- package/dist/services/github-sync/schemas.d.ts +46 -0
- package/dist/services/github-sync/schemas.d.ts.map +1 -0
- package/dist/services/github-sync/schemas.js +36 -0
- package/dist/services/github-sync/schemas.js.map +1 -0
- package/dist/services/github-sync/sync.service.d.ts +27 -0
- package/dist/services/github-sync/sync.service.d.ts.map +1 -0
- package/dist/services/github-sync/sync.service.js +99 -0
- package/dist/services/github-sync/sync.service.js.map +1 -0
- package/dist/services/runtime/claude/capability-mapper.d.ts +84 -0
- package/dist/services/runtime/claude/capability-mapper.d.ts.map +1 -0
- package/dist/services/runtime/claude/capability-mapper.js +245 -0
- package/dist/services/runtime/claude/capability-mapper.js.map +1 -0
- package/dist/services/runtime/claude/claude-adapter.d.ts +80 -0
- package/dist/services/runtime/claude/claude-adapter.d.ts.map +1 -0
- package/dist/services/runtime/claude/claude-adapter.js +287 -0
- package/dist/services/runtime/claude/claude-adapter.js.map +1 -0
- package/dist/services/runtime/claude/manifest-parser.d.ts +77 -0
- package/dist/services/runtime/claude/manifest-parser.d.ts.map +1 -0
- package/dist/services/runtime/claude/manifest-parser.js +169 -0
- package/dist/services/runtime/claude/manifest-parser.js.map +1 -0
- package/dist/services/runtime/claude/types.d.ts +115 -0
- package/dist/services/runtime/claude/types.d.ts.map +1 -0
- package/dist/services/runtime/claude/types.js +6 -0
- package/dist/services/runtime/claude/types.js.map +1 -0
- package/dist/services/validation.service.d.ts.map +1 -1
- package/dist/services/validation.service.js +12 -1
- package/dist/services/validation.service.js.map +1 -1
- package/dist/spec/v0.2.4/ossa-0.2.4.schema.json +85 -208
- package/dist/spec/v0.2.6/CHANGELOG.md +401 -0
- package/dist/spec/v0.2.6/README.md +72 -0
- package/dist/spec/v0.2.6/migrations/v0.2.3-to-v0.2.4.md +599 -0
- package/dist/spec/v0.2.6/migrations/v0.2.5-RC-to-v0.2.6.md +65 -0
- package/dist/spec/v0.2.6/ossa-0.2.6.schema.json +1786 -0
- package/dist/spec/v0.2.6/ossa-0.2.6.yaml +581 -0
- package/dist/spec/v0.2.6-dev/CHANGELOG.md +164 -0
- package/dist/spec/v0.2.6-dev/README.md +75 -0
- package/dist/spec/v0.2.6-dev/migrations/v0.2.2-to-v0.2.3.md +343 -0
- package/dist/spec/v0.2.6-dev/migrations/v0.2.3-to-v0.2.4.md +599 -0
- package/dist/spec/{v0.2.4/ossa-0.2.4-dev.schema.json → v0.2.6-dev/ossa-0.2.5.schema.json} +9 -9
- package/dist/spec/v0.2.6-dev/ossa-0.2.5.yaml +581 -0
- package/{spec/v0.2.4/ossa-0.2.4-dev.schema.json → dist/spec/v0.2.6-dev/ossa-0.2.6-dev.schema.json} +9 -9
- package/dist/spec/v0.2.6-dev/ossa-0.2.6-dev.yaml +448 -0
- package/dist/spec/v0.2.7/core/agentgraph.md +324 -0
- package/dist/spec/v0.2.7/resources/agentgraph.yaml +135 -0
- package/docs/brand-guide/01-brand-overview.md +37 -0
- package/docs/brand-guide/02-logo-usage.md +43 -0
- package/docs/brand-guide/03-color-palette.md +70 -0
- package/docs/brand-guide/04-typography.md +82 -0
- package/docs/brand-guide/05-voice-and-tone.md +108 -0
- package/docs/brand-guide/06-visual-elements.md +137 -0
- package/docs/brand-guide/07-application-examples.md +153 -0
- package/docs/brand-guide/OssaLogo/OssA_Logo.svg +21 -0
- package/docs/brand-guide/OssaLogo/brand.af +0 -0
- package/docs/brand-guide/README.md +107 -0
- package/docs/comparison.md +315 -0
- package/docs/operations/automation-roadmap.md +245 -0
- package/docs/operations/github-sync-strategy.md +357 -0
- package/examples/anthropic/claude-assistant.ossa.json +5 -4
- package/examples/autogen/multi-agent.ossa.json +6 -4
- package/examples/crewai/research-team.ossa.json +14 -5
- package/examples/cursor/code-review-agent.ossa.json +21 -6
- package/examples/langchain/chain-agent.ossa.json +21 -5
- package/examples/langflow/workflow-agent.ossa.json +2 -3
- package/examples/langgraph/state-machine-agent.ossa.json +2 -3
- package/examples/llamaindex/rag-agent.ossa.json +2 -3
- package/examples/openai/multi-tool-agent.ossa.json +32 -9
- package/examples/openai/swarm-agent.ossa.json +18 -5
- package/examples/vercel/edge-agent.ossa.json +5 -4
- package/openapi/github-sync.yaml +115 -0
- package/package.json +25 -4
- package/scripts/README.md +103 -0
- package/scripts/auto-rebase-mrs.ts +106 -0
- package/scripts/batch-dependabot.sh +57 -0
- package/scripts/configure-gitlab-branch-protection.ts +95 -0
- package/scripts/create-issue-helper.ts +238 -0
- package/scripts/create-milestone-issue.ts +73 -0
- package/scripts/fix-schema-formats.js +82 -0
- package/scripts/generate-agents-catalog.ts +77 -0
- package/scripts/generate-api-docs.ts +218 -0
- package/scripts/generate-cli-docs.ts +410 -0
- package/scripts/generate-config-docs.ts +109 -0
- package/scripts/generate-errors-docs.ts +76 -0
- package/scripts/generate-examples-docs.ts +99 -0
- package/scripts/generate-schema-docs.ts +296 -0
- package/scripts/generate-types-docs.ts +48 -0
- package/scripts/lowercase-docs.ts +43 -0
- package/scripts/manage-milestone-mrs.ts +279 -0
- package/scripts/rebase-all-mrs.sh +75 -0
- package/scripts/sync-github-pr.sh +48 -0
- package/scripts/sync-version.js +40 -0
- package/scripts/sync-wiki.sh +50 -0
- package/scripts/validate-all.js +127 -0
- package/spec/v0.2.4/ossa-0.2.4.schema.json +85 -208
- package/spec/v0.2.6/CHANGELOG.md +401 -0
- package/spec/v0.2.6/README.md +72 -0
- package/spec/v0.2.6/migrations/v0.2.3-to-v0.2.4.md +599 -0
- package/spec/v0.2.6/migrations/v0.2.5-RC-to-v0.2.6.md +65 -0
- package/spec/v0.2.6/ossa-0.2.6.schema.json +1786 -0
- package/spec/v0.2.6/ossa-0.2.6.yaml +581 -0
- package/spec/v0.2.6-dev/CHANGELOG.md +164 -0
- package/spec/v0.2.6-dev/README.md +75 -0
- package/spec/v0.2.6-dev/migrations/v0.2.2-to-v0.2.3.md +343 -0
- package/spec/v0.2.6-dev/migrations/v0.2.3-to-v0.2.4.md +599 -0
- package/spec/v0.2.6-dev/ossa-0.2.5.schema.json +1696 -0
- package/spec/v0.2.6-dev/ossa-0.2.5.yaml +581 -0
- package/spec/v0.2.6-dev/ossa-0.2.6-dev.schema.json +1696 -0
- package/spec/v0.2.6-dev/ossa-0.2.6-dev.yaml +448 -0
- package/spec/v0.2.7/core/agentgraph.md +324 -0
- package/spec/v0.2.7/resources/agentgraph.yaml +135 -0
- package/website/DESIGN_SYSTEM_IMPLEMENTATION.md +445 -0
- package/website/app/about/page.tsx +53 -44
- package/website/app/ecosystem/page.tsx +146 -111
- package/website/app/globals.scss +256 -21
- package/website/app/page.tsx +394 -182
- package/website/app/page.tsx.bak +679 -0
- package/website/app/page.tsx.bak2 +649 -0
- package/website/app/schema/page.tsx +3 -3
- package/website/app/specification/page.tsx +1 -1
- package/website/components/layout/Header.tsx +27 -23
- package/website/components/ui/Badge.tsx +82 -0
- package/website/components/ui/Button.tsx +116 -0
- package/website/components/ui/Card.tsx +167 -0
- package/website/components/ui/Checkbox.tsx +141 -0
- package/website/components/ui/Input.tsx +169 -0
- package/website/components/ui/Radio.tsx +141 -0
- package/website/components/ui/Select.tsx +182 -0
- package/website/components/ui/Tag.tsx +158 -0
- package/website/components/ui/Textarea.tsx +195 -0
- package/website/components/ui/index.ts +11 -0
- package/website/content/docs/{00-HOME.md → 00-home.md} +1 -1
- package/website/content/docs/agents/catalog.md +28 -0
- package/website/content/docs/{AIFlow-Framework-Integration-with-OSSA.md → aiflow-framework-integration-with-ossa.md} +2 -2
- package/website/content/docs/api-reference/index.md +38 -0
- package/website/content/docs/api-reference/ossa-core-api.md +634 -0
- package/website/content/docs/api-reference/ossa-registry-api.md +515 -0
- package/website/content/docs/api-reference/unified-agent-gateway.md +599 -0
- package/website/content/docs/cli-reference/index.md +111 -0
- package/website/content/docs/cli-reference/ossa-agents.md +70 -0
- package/website/content/docs/cli-reference/ossa-export.md +56 -0
- package/website/content/docs/cli-reference/ossa-generate.md +66 -0
- package/website/content/docs/cli-reference/ossa-gitlab-agent.md +57 -0
- package/website/content/docs/cli-reference/ossa-import.md +56 -0
- package/website/content/docs/cli-reference/ossa-init.md +57 -0
- package/website/content/docs/cli-reference/ossa-migrate.md +62 -0
- package/website/content/docs/cli-reference/ossa-run.md +66 -0
- package/website/content/docs/cli-reference/ossa-schema.md +57 -0
- package/website/content/docs/cli-reference/ossa-setup.md +57 -0
- package/website/content/docs/cli-reference/ossa-validate.md +66 -0
- package/website/content/docs/configuration/index.md +97 -0
- package/website/content/docs/deployment/github-mirroring.md +924 -0
- package/website/content/docs/documentation.md +100 -0
- package/website/content/docs/ecosystem/framework-support.md +551 -9
- package/website/content/docs/errors/index.md +10 -0
- package/website/content/docs/examples/{AIFlow-Framework-Integration-with-OSSA.md → aiflow-framework-integration-with-ossa.md} +2 -2
- package/website/content/docs/examples/catalog.md +300 -0
- package/website/content/docs/for-audiences/{Students-Researchers.md → students-researchers.md} +1 -1
- package/website/content/docs/getting-started/{Installation.md → installation.md} +1 -1
- package/website/content/docs/getting-started.md +1 -1
- package/website/content/docs/integrations/aiflow.md +2 -2
- package/website/content/docs/migration-guides/anthropic-mcp-to-ossa.md +5 -5
- package/website/content/docs/migration-guides/crewai-to-ossa.md +3 -3
- package/website/content/docs/migration-guides/drupal-eca-to-ossa.md +7 -7
- package/website/content/docs/migration-guides/langchain-to-ossa.md +4 -4
- package/website/content/docs/openapi-extensions/index.md +1 -1
- package/website/content/docs/ossa-compliant-badge.md +1 -1
- package/website/content/docs/pre-release/index.md +5 -5
- package/website/content/docs/releases/v0.2.6.md +99 -0
- package/website/content/docs/schema-reference/agent-capabilities.md +50 -0
- package/website/content/docs/schema-reference/agent-id.md +52 -0
- package/website/content/docs/schema-reference/agent-name.md +50 -0
- package/website/content/docs/schema-reference/agent-role.md +54 -0
- package/website/content/docs/schema-reference/agent-version.md +50 -0
- package/website/content/docs/schema-reference/index.md +26 -157
- package/website/content/docs/types-reference/index.md +105 -0
- package/website/content/docs/versioning.md +3 -3
- package/website/dev.sh +53 -0
- package/website/docker-compose.dev.yml +36 -0
- package/website/lib/version.ts +1 -1
- package/website/lib/versions.json +45 -20
- package/website/package.json +1 -1
- package/website/styles/_spacing.scss +453 -0
- package/website/styles/_tokens.scss +245 -0
- package/website/styles/_typography.scss +361 -0
- package/website/styles/_variables.scss +270 -19
- package/website/tailwind.config.ts +113 -79
- package/.kiro/specs/agent-buildkit-templates/design.md +0 -495
- package/.kiro/specs/agent-buildkit-templates/requirements.md +0 -165
- package/.kiro/specs/kiro-ide-supercharger/README.md +0 -202
- package/.kiro/specs/kiro-ide-supercharger/design.md +0 -1005
- package/.kiro/specs/kiro-ide-supercharger/requirements.md +0 -141
- package/.kiro/specs/kiro-ide-supercharger/tasks.md +0 -507
- package/docs/issue-19-completion-summary.md +0 -648
- package/docs/issue-19-validation.md +0 -351
- package/website/content/docs/Examples.md +0 -71
- package/website/content/docs/OpenAPI-Extensions.md +0 -934
- package/website/content/docs/core-concepts/Project-Structure.md +0 -348
- package/website/content/docs/examples/Migration-Guides.md +0 -214
- package/website/content/docs/for-audiences/Architects.md +0 -224
- package/website/content/docs/for-audiences/Developers.md +0 -220
- package/website/content/docs/for-audiences/Enterprises.md +0 -256
- package/website/content/docs/getting-started/5-Minute-Overview.md +0 -85
- package/website/content/docs/getting-started/First-Agent.md +0 -196
- package/website/content/docs/getting-started/Hello-World.md +0 -184
- package/website/content/docs/migration-guides/00-INDEX.md +0 -76
- package/website/content/docs/migration-guides/README.md +0 -133
- /package/dist/spec/v0.2.4/{ossa-0.2.4-dev.yaml → ossa-0.2.4.yaml} +0 -0
- /package/spec/v0.2.4/{ossa-0.2.4-dev.yaml → ossa-0.2.4.yaml} +0 -0
|
@@ -0,0 +1,599 @@
|
|
|
1
|
+
# Unified Agent Gateway
|
|
2
|
+
|
|
3
|
+
**Version**: 1.0.0
|
|
4
|
+
|
|
5
|
+
**Single Entry Point for All LLM Platform Agents**
|
|
6
|
+
|
|
7
|
+
This gateway provides a unified OpenAPI interface for:
|
|
8
|
+
- OSSA-compliant agents (validation, deployment, orchestration)
|
|
9
|
+
- Drupal llm-platform (content, users, sites, data management)
|
|
10
|
+
- Agent Studio (Mac/iOS/CarPlay/VSCode/IDE)
|
|
11
|
+
- Agent Chat (Claude Code replacement)
|
|
12
|
+
- Langflow/LangChain/K-Agent workflows
|
|
13
|
+
- BuildKit (agent lifecycle management)
|
|
14
|
+
- GitLab CI/CD orchestration
|
|
15
|
+
|
|
16
|
+
**Architecture**:
|
|
17
|
+
- Protocol: HTTP/REST + gRPC (agent-mesh)
|
|
18
|
+
- Auth: API Key + JWT (GitLab SSO)
|
|
19
|
+
- Registry: agent-router (service discovery)
|
|
20
|
+
- Tracing: Phoenix (all requests)
|
|
21
|
+
- Metrics: Prometheus
|
|
22
|
+
- Storage: Drupal llm-platform (single source of truth)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
## Base URL
|
|
26
|
+
|
|
27
|
+
- `https://gateway.agent-buildkit.orb.local/api/v1` - Production
|
|
28
|
+
- `http://localhost:8080/api/v1` - Local development (Orbstack)
|
|
29
|
+
|
|
30
|
+
## Authentication
|
|
31
|
+
|
|
32
|
+
This API requires authentication. See [Authentication Guide](../authentication.md) for details.
|
|
33
|
+
|
|
34
|
+
## Endpoints
|
|
35
|
+
|
|
36
|
+
### Create and deploy new agent
|
|
37
|
+
|
|
38
|
+
```http
|
|
39
|
+
POST /agents
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
**Description**: Creates an OSSA-compliant agent and deploys to K8s via Helm.
|
|
43
|
+
Registers with agent-router, starts Phoenix tracing.
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
**Request Body**:
|
|
47
|
+
|
|
48
|
+
```json
|
|
49
|
+
{}
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
**Responses**:
|
|
53
|
+
|
|
54
|
+
**201**: Agent created and deployed
|
|
55
|
+
|
|
56
|
+
```json
|
|
57
|
+
{}
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
**Example**:
|
|
61
|
+
|
|
62
|
+
```bash
|
|
63
|
+
curl -X POST "https://api.ossa.dev/agents" \
|
|
64
|
+
-H "Authorization: Bearer YOUR_TOKEN" \
|
|
65
|
+
-H "Content-Type: application/json" \
|
|
66
|
+
-d @request.json
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
### List all agents
|
|
70
|
+
|
|
71
|
+
```http
|
|
72
|
+
GET /agents
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
**Parameters**:
|
|
76
|
+
|
|
77
|
+
- `undefined` (undefined) - No description
|
|
78
|
+
- `undefined` (undefined) - No description
|
|
79
|
+
- `undefined` (undefined) - No description
|
|
80
|
+
|
|
81
|
+
**Responses**:
|
|
82
|
+
|
|
83
|
+
**200**: List of agents
|
|
84
|
+
|
|
85
|
+
```json
|
|
86
|
+
{}
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
**Example**:
|
|
90
|
+
|
|
91
|
+
```bash
|
|
92
|
+
curl -X GET "https://api.ossa.dev/agents" \
|
|
93
|
+
-H "Authorization: Bearer YOUR_TOKEN"
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
### Get agent details
|
|
97
|
+
|
|
98
|
+
```http
|
|
99
|
+
GET /agents/{agentId}
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
**Parameters**:
|
|
103
|
+
|
|
104
|
+
- `undefined` (undefined) - No description
|
|
105
|
+
|
|
106
|
+
**Responses**:
|
|
107
|
+
|
|
108
|
+
**200**: Agent details
|
|
109
|
+
|
|
110
|
+
```json
|
|
111
|
+
{}
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
**Example**:
|
|
115
|
+
|
|
116
|
+
```bash
|
|
117
|
+
curl -X GET "https://api.ossa.dev/agents/{agentId}" \
|
|
118
|
+
-H "Authorization: Bearer YOUR_TOKEN"
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
### Update agent
|
|
122
|
+
|
|
123
|
+
```http
|
|
124
|
+
PUT /agents/{agentId}
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
**Parameters**:
|
|
128
|
+
|
|
129
|
+
- `undefined` (undefined) - No description
|
|
130
|
+
|
|
131
|
+
**Request Body**:
|
|
132
|
+
|
|
133
|
+
```json
|
|
134
|
+
{}
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
**Responses**:
|
|
138
|
+
|
|
139
|
+
**200**: Agent updated
|
|
140
|
+
|
|
141
|
+
```json
|
|
142
|
+
{}
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
**Example**:
|
|
146
|
+
|
|
147
|
+
```bash
|
|
148
|
+
curl -X PUT "https://api.ossa.dev/agents/{agentId}" \
|
|
149
|
+
-H "Authorization: Bearer YOUR_TOKEN" \
|
|
150
|
+
-H "Content-Type: application/json" \
|
|
151
|
+
-d @request.json
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
### Delete agent
|
|
155
|
+
|
|
156
|
+
```http
|
|
157
|
+
DELETE /agents/{agentId}
|
|
158
|
+
```
|
|
159
|
+
|
|
160
|
+
**Parameters**:
|
|
161
|
+
|
|
162
|
+
- `undefined` (undefined) - No description
|
|
163
|
+
|
|
164
|
+
**Responses**:
|
|
165
|
+
|
|
166
|
+
**204**: Agent deleted
|
|
167
|
+
|
|
168
|
+
**Example**:
|
|
169
|
+
|
|
170
|
+
```bash
|
|
171
|
+
curl -X DELETE "https://api.ossa.dev/agents/{agentId}" \
|
|
172
|
+
-H "Authorization: Bearer YOUR_TOKEN"
|
|
173
|
+
```
|
|
174
|
+
|
|
175
|
+
### Execute agent task
|
|
176
|
+
|
|
177
|
+
```http
|
|
178
|
+
POST /agents/{agentId}/execute
|
|
179
|
+
```
|
|
180
|
+
|
|
181
|
+
**Description**: Send task to agent and get response
|
|
182
|
+
|
|
183
|
+
**Parameters**:
|
|
184
|
+
|
|
185
|
+
- `undefined` (undefined) - No description
|
|
186
|
+
|
|
187
|
+
**Request Body**:
|
|
188
|
+
|
|
189
|
+
```json
|
|
190
|
+
{}
|
|
191
|
+
```
|
|
192
|
+
|
|
193
|
+
**Responses**:
|
|
194
|
+
|
|
195
|
+
**200**: Task executed
|
|
196
|
+
|
|
197
|
+
```json
|
|
198
|
+
{}
|
|
199
|
+
```
|
|
200
|
+
|
|
201
|
+
**Example**:
|
|
202
|
+
|
|
203
|
+
```bash
|
|
204
|
+
curl -X POST "https://api.ossa.dev/agents/{agentId}/execute" \
|
|
205
|
+
-H "Authorization: Bearer YOUR_TOKEN" \
|
|
206
|
+
-H "Content-Type: application/json" \
|
|
207
|
+
-d @request.json
|
|
208
|
+
```
|
|
209
|
+
|
|
210
|
+
### Create Drupal content
|
|
211
|
+
|
|
212
|
+
```http
|
|
213
|
+
POST /drupal/content
|
|
214
|
+
```
|
|
215
|
+
|
|
216
|
+
**Description**: Create content node via llm-platform API
|
|
217
|
+
|
|
218
|
+
**Request Body**:
|
|
219
|
+
|
|
220
|
+
```json
|
|
221
|
+
{}
|
|
222
|
+
```
|
|
223
|
+
|
|
224
|
+
**Responses**:
|
|
225
|
+
|
|
226
|
+
**201**: Content created
|
|
227
|
+
|
|
228
|
+
```json
|
|
229
|
+
{}
|
|
230
|
+
```
|
|
231
|
+
|
|
232
|
+
**Example**:
|
|
233
|
+
|
|
234
|
+
```bash
|
|
235
|
+
curl -X POST "https://api.ossa.dev/drupal/content" \
|
|
236
|
+
-H "Authorization: Bearer YOUR_TOKEN" \
|
|
237
|
+
-H "Content-Type: application/json" \
|
|
238
|
+
-d @request.json
|
|
239
|
+
```
|
|
240
|
+
|
|
241
|
+
### Query Drupal content
|
|
242
|
+
|
|
243
|
+
```http
|
|
244
|
+
GET /drupal/content
|
|
245
|
+
```
|
|
246
|
+
|
|
247
|
+
**Parameters**:
|
|
248
|
+
|
|
249
|
+
- `type` (query) - No description
|
|
250
|
+
- `status` (query) - No description
|
|
251
|
+
|
|
252
|
+
**Responses**:
|
|
253
|
+
|
|
254
|
+
**200**: Content list
|
|
255
|
+
|
|
256
|
+
```json
|
|
257
|
+
{}
|
|
258
|
+
```
|
|
259
|
+
|
|
260
|
+
**Example**:
|
|
261
|
+
|
|
262
|
+
```bash
|
|
263
|
+
curl -X GET "https://api.ossa.dev/drupal/content" \
|
|
264
|
+
-H "Authorization: Bearer YOUR_TOKEN"
|
|
265
|
+
```
|
|
266
|
+
|
|
267
|
+
### Create Drupal user
|
|
268
|
+
|
|
269
|
+
```http
|
|
270
|
+
POST /drupal/users
|
|
271
|
+
```
|
|
272
|
+
|
|
273
|
+
**Request Body**:
|
|
274
|
+
|
|
275
|
+
```json
|
|
276
|
+
{}
|
|
277
|
+
```
|
|
278
|
+
|
|
279
|
+
**Responses**:
|
|
280
|
+
|
|
281
|
+
**201**: User created
|
|
282
|
+
|
|
283
|
+
**Example**:
|
|
284
|
+
|
|
285
|
+
```bash
|
|
286
|
+
curl -X POST "https://api.ossa.dev/drupal/users" \
|
|
287
|
+
-H "Authorization: Bearer YOUR_TOKEN" \
|
|
288
|
+
-H "Content-Type: application/json" \
|
|
289
|
+
-d @request.json
|
|
290
|
+
```
|
|
291
|
+
|
|
292
|
+
### List users
|
|
293
|
+
|
|
294
|
+
```http
|
|
295
|
+
GET /drupal/users
|
|
296
|
+
```
|
|
297
|
+
|
|
298
|
+
**Responses**:
|
|
299
|
+
|
|
300
|
+
**200**: User list
|
|
301
|
+
|
|
302
|
+
**Example**:
|
|
303
|
+
|
|
304
|
+
```bash
|
|
305
|
+
curl -X GET "https://api.ossa.dev/drupal/users" \
|
|
306
|
+
-H "Authorization: Bearer YOUR_TOKEN"
|
|
307
|
+
```
|
|
308
|
+
|
|
309
|
+
### Build new Drupal site
|
|
310
|
+
|
|
311
|
+
```http
|
|
312
|
+
POST /drupal/sites
|
|
313
|
+
```
|
|
314
|
+
|
|
315
|
+
**Description**: Agent creates complete Drupal site with modules/config
|
|
316
|
+
|
|
317
|
+
**Request Body**:
|
|
318
|
+
|
|
319
|
+
```json
|
|
320
|
+
{}
|
|
321
|
+
```
|
|
322
|
+
|
|
323
|
+
**Responses**:
|
|
324
|
+
|
|
325
|
+
**202**: Site creation started
|
|
326
|
+
|
|
327
|
+
```json
|
|
328
|
+
{}
|
|
329
|
+
```
|
|
330
|
+
|
|
331
|
+
**Example**:
|
|
332
|
+
|
|
333
|
+
```bash
|
|
334
|
+
curl -X POST "https://api.ossa.dev/drupal/sites" \
|
|
335
|
+
-H "Authorization: Bearer YOUR_TOKEN" \
|
|
336
|
+
-H "Content-Type: application/json" \
|
|
337
|
+
-d @request.json
|
|
338
|
+
```
|
|
339
|
+
|
|
340
|
+
### Create workflow
|
|
341
|
+
|
|
342
|
+
```http
|
|
343
|
+
POST /workflows
|
|
344
|
+
```
|
|
345
|
+
|
|
346
|
+
**Description**: Create Langflow or LangChain workflow
|
|
347
|
+
|
|
348
|
+
**Request Body**:
|
|
349
|
+
|
|
350
|
+
```json
|
|
351
|
+
{}
|
|
352
|
+
```
|
|
353
|
+
|
|
354
|
+
**Responses**:
|
|
355
|
+
|
|
356
|
+
**201**: Workflow created
|
|
357
|
+
|
|
358
|
+
**Example**:
|
|
359
|
+
|
|
360
|
+
```bash
|
|
361
|
+
curl -X POST "https://api.ossa.dev/workflows" \
|
|
362
|
+
-H "Authorization: Bearer YOUR_TOKEN" \
|
|
363
|
+
-H "Content-Type: application/json" \
|
|
364
|
+
-d @request.json
|
|
365
|
+
```
|
|
366
|
+
|
|
367
|
+
### List workflows
|
|
368
|
+
|
|
369
|
+
```http
|
|
370
|
+
GET /workflows
|
|
371
|
+
```
|
|
372
|
+
|
|
373
|
+
**Parameters**:
|
|
374
|
+
|
|
375
|
+
- `framework` (query) - No description
|
|
376
|
+
|
|
377
|
+
**Responses**:
|
|
378
|
+
|
|
379
|
+
**200**: Workflow list
|
|
380
|
+
|
|
381
|
+
**Example**:
|
|
382
|
+
|
|
383
|
+
```bash
|
|
384
|
+
curl -X GET "https://api.ossa.dev/workflows" \
|
|
385
|
+
-H "Authorization: Bearer YOUR_TOKEN"
|
|
386
|
+
```
|
|
387
|
+
|
|
388
|
+
### Execute workflow
|
|
389
|
+
|
|
390
|
+
```http
|
|
391
|
+
POST /workflows/{workflowId}/execute
|
|
392
|
+
```
|
|
393
|
+
|
|
394
|
+
**Parameters**:
|
|
395
|
+
|
|
396
|
+
- `workflowId` (path, required) - No description
|
|
397
|
+
|
|
398
|
+
**Request Body**:
|
|
399
|
+
|
|
400
|
+
```json
|
|
401
|
+
{}
|
|
402
|
+
```
|
|
403
|
+
|
|
404
|
+
**Responses**:
|
|
405
|
+
|
|
406
|
+
**200**: Workflow executed
|
|
407
|
+
|
|
408
|
+
**Example**:
|
|
409
|
+
|
|
410
|
+
```bash
|
|
411
|
+
curl -X POST "https://api.ossa.dev/workflows/{workflowId}/execute" \
|
|
412
|
+
-H "Authorization: Bearer YOUR_TOKEN" \
|
|
413
|
+
-H "Content-Type: application/json" \
|
|
414
|
+
-d @request.json
|
|
415
|
+
```
|
|
416
|
+
|
|
417
|
+
### Create remote coding session
|
|
418
|
+
|
|
419
|
+
```http
|
|
420
|
+
POST /studio/sessions
|
|
421
|
+
```
|
|
422
|
+
|
|
423
|
+
**Description**: Creates coding session accessible from iOS/CarPlay.
|
|
424
|
+
Agent continues work when you're away from computer.
|
|
425
|
+
|
|
426
|
+
|
|
427
|
+
**Request Body**:
|
|
428
|
+
|
|
429
|
+
```json
|
|
430
|
+
{}
|
|
431
|
+
```
|
|
432
|
+
|
|
433
|
+
**Responses**:
|
|
434
|
+
|
|
435
|
+
**201**: Session created
|
|
436
|
+
|
|
437
|
+
```json
|
|
438
|
+
{}
|
|
439
|
+
```
|
|
440
|
+
|
|
441
|
+
**Example**:
|
|
442
|
+
|
|
443
|
+
```bash
|
|
444
|
+
curl -X POST "https://api.ossa.dev/studio/sessions" \
|
|
445
|
+
-H "Authorization: Bearer YOUR_TOKEN" \
|
|
446
|
+
-H "Content-Type: application/json" \
|
|
447
|
+
-d @request.json
|
|
448
|
+
```
|
|
449
|
+
|
|
450
|
+
### List active sessions
|
|
451
|
+
|
|
452
|
+
```http
|
|
453
|
+
GET /studio/sessions
|
|
454
|
+
```
|
|
455
|
+
|
|
456
|
+
**Responses**:
|
|
457
|
+
|
|
458
|
+
**200**: Active sessions
|
|
459
|
+
|
|
460
|
+
**Example**:
|
|
461
|
+
|
|
462
|
+
```bash
|
|
463
|
+
curl -X GET "https://api.ossa.dev/studio/sessions" \
|
|
464
|
+
-H "Authorization: Bearer YOUR_TOKEN"
|
|
465
|
+
```
|
|
466
|
+
|
|
467
|
+
### Queue task for agent
|
|
468
|
+
|
|
469
|
+
```http
|
|
470
|
+
POST /studio/sessions/{sessionId}/tasks
|
|
471
|
+
```
|
|
472
|
+
|
|
473
|
+
**Description**: Queue coding task to run while you're mobile
|
|
474
|
+
|
|
475
|
+
**Parameters**:
|
|
476
|
+
|
|
477
|
+
- `sessionId` (path, required) - No description
|
|
478
|
+
|
|
479
|
+
**Request Body**:
|
|
480
|
+
|
|
481
|
+
```json
|
|
482
|
+
{}
|
|
483
|
+
```
|
|
484
|
+
|
|
485
|
+
**Responses**:
|
|
486
|
+
|
|
487
|
+
**202**: Task queued
|
|
488
|
+
|
|
489
|
+
**Example**:
|
|
490
|
+
|
|
491
|
+
```bash
|
|
492
|
+
curl -X POST "https://api.ossa.dev/studio/sessions/{sessionId}/tasks" \
|
|
493
|
+
-H "Authorization: Bearer YOUR_TOKEN" \
|
|
494
|
+
-H "Content-Type: application/json" \
|
|
495
|
+
-d @request.json
|
|
496
|
+
```
|
|
497
|
+
|
|
498
|
+
### Trigger pipeline for project
|
|
499
|
+
|
|
500
|
+
```http
|
|
501
|
+
POST /gitlab/pipelines
|
|
502
|
+
```
|
|
503
|
+
|
|
504
|
+
**Request Body**:
|
|
505
|
+
|
|
506
|
+
```json
|
|
507
|
+
{}
|
|
508
|
+
```
|
|
509
|
+
|
|
510
|
+
**Responses**:
|
|
511
|
+
|
|
512
|
+
**202**: Pipeline triggered
|
|
513
|
+
|
|
514
|
+
**Example**:
|
|
515
|
+
|
|
516
|
+
```bash
|
|
517
|
+
curl -X POST "https://api.ossa.dev/gitlab/pipelines" \
|
|
518
|
+
-H "Authorization: Bearer YOUR_TOKEN" \
|
|
519
|
+
-H "Content-Type: application/json" \
|
|
520
|
+
-d @request.json
|
|
521
|
+
```
|
|
522
|
+
|
|
523
|
+
### List pipelines
|
|
524
|
+
|
|
525
|
+
```http
|
|
526
|
+
GET /gitlab/pipelines
|
|
527
|
+
```
|
|
528
|
+
|
|
529
|
+
**Responses**:
|
|
530
|
+
|
|
531
|
+
**200**: Pipeline list
|
|
532
|
+
|
|
533
|
+
**Example**:
|
|
534
|
+
|
|
535
|
+
```bash
|
|
536
|
+
curl -X GET "https://api.ossa.dev/gitlab/pipelines" \
|
|
537
|
+
-H "Authorization: Bearer YOUR_TOKEN"
|
|
538
|
+
```
|
|
539
|
+
|
|
540
|
+
### List available packages
|
|
541
|
+
|
|
542
|
+
```http
|
|
543
|
+
GET /gitlab/packages
|
|
544
|
+
```
|
|
545
|
+
|
|
546
|
+
**Description**: Query package registry
|
|
547
|
+
|
|
548
|
+
**Parameters**:
|
|
549
|
+
|
|
550
|
+
- `scope` (query) - No description
|
|
551
|
+
|
|
552
|
+
**Responses**:
|
|
553
|
+
|
|
554
|
+
**200**: Package list
|
|
555
|
+
|
|
556
|
+
```json
|
|
557
|
+
{}
|
|
558
|
+
```
|
|
559
|
+
|
|
560
|
+
**Example**:
|
|
561
|
+
|
|
562
|
+
```bash
|
|
563
|
+
curl -X GET "https://api.ossa.dev/gitlab/packages" \
|
|
564
|
+
-H "Authorization: Bearer YOUR_TOKEN"
|
|
565
|
+
```
|
|
566
|
+
|
|
567
|
+
### Discover services
|
|
568
|
+
|
|
569
|
+
```http
|
|
570
|
+
GET /registry/discover
|
|
571
|
+
```
|
|
572
|
+
|
|
573
|
+
**Description**: Query agent-router for available services/agents
|
|
574
|
+
|
|
575
|
+
**Parameters**:
|
|
576
|
+
|
|
577
|
+
- `capability` (query) - No description
|
|
578
|
+
- `framework` (query) - No description
|
|
579
|
+
|
|
580
|
+
**Responses**:
|
|
581
|
+
|
|
582
|
+
**200**: Discovered services
|
|
583
|
+
|
|
584
|
+
```json
|
|
585
|
+
{}
|
|
586
|
+
```
|
|
587
|
+
|
|
588
|
+
**Example**:
|
|
589
|
+
|
|
590
|
+
```bash
|
|
591
|
+
curl -X GET "https://api.ossa.dev/registry/discover" \
|
|
592
|
+
-H "Authorization: Bearer YOUR_TOKEN"
|
|
593
|
+
```
|
|
594
|
+
|
|
595
|
+
## Related Documentation
|
|
596
|
+
|
|
597
|
+
- [CLI Reference](../cli-reference/index.md)
|
|
598
|
+
- [Schema Reference](../schema-reference/index.md)
|
|
599
|
+
- [Authentication Guide](../authentication.md)
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
# CLI Reference
|
|
2
|
+
|
|
3
|
+
The OSSA CLI provides commands for managing AI agents throughout their lifecycle.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install -g @bluefly/openstandardagents
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Quick Start
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
# Validate an agent manifest
|
|
15
|
+
ossa validate agent.ossa.yaml
|
|
16
|
+
|
|
17
|
+
# Generate a new agent
|
|
18
|
+
ossa generate worker --name "My Agent"
|
|
19
|
+
|
|
20
|
+
# Run an agent locally
|
|
21
|
+
ossa run agent.ossa.yaml
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## Commands
|
|
25
|
+
|
|
26
|
+
### [ossa validate](./ossa-validate.md)
|
|
27
|
+
|
|
28
|
+
Validate OSSA agent manifests against the schema
|
|
29
|
+
|
|
30
|
+
### [ossa generate](./ossa-generate.md)
|
|
31
|
+
|
|
32
|
+
Generate OSSA agent manifests from templates
|
|
33
|
+
|
|
34
|
+
### [ossa migrate](./ossa-migrate.md)
|
|
35
|
+
|
|
36
|
+
Migrate agent manifests between OSSA versions
|
|
37
|
+
|
|
38
|
+
### [ossa run](./ossa-run.md)
|
|
39
|
+
|
|
40
|
+
Run an OSSA agent locally
|
|
41
|
+
|
|
42
|
+
### [ossa init](./ossa-init.md)
|
|
43
|
+
|
|
44
|
+
Initialize a new OSSA project
|
|
45
|
+
|
|
46
|
+
### [ossa setup](./ossa-setup.md)
|
|
47
|
+
|
|
48
|
+
Set up OSSA development environment
|
|
49
|
+
|
|
50
|
+
### [ossa export](./ossa-export.md)
|
|
51
|
+
|
|
52
|
+
Export agent manifest to different formats
|
|
53
|
+
|
|
54
|
+
### [ossa import](./ossa-import.md)
|
|
55
|
+
|
|
56
|
+
Import agents from other frameworks
|
|
57
|
+
|
|
58
|
+
### [ossa schema](./ossa-schema.md)
|
|
59
|
+
|
|
60
|
+
View and manage OSSA schemas
|
|
61
|
+
|
|
62
|
+
### [ossa gitlab-agent](./ossa-gitlab-agent.md)
|
|
63
|
+
|
|
64
|
+
Manage GitLab agent integration
|
|
65
|
+
|
|
66
|
+
### [ossa agents](./ossa-agents.md)
|
|
67
|
+
|
|
68
|
+
Manage OSSA agents
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
## Global Options
|
|
72
|
+
|
|
73
|
+
- `--help` - Show help for any command
|
|
74
|
+
- `--version` - Show OSSA CLI version
|
|
75
|
+
- `--config <path>` - Path to config file
|
|
76
|
+
- `--verbose` - Enable verbose logging
|
|
77
|
+
- `--quiet` - Suppress output
|
|
78
|
+
|
|
79
|
+
## Configuration
|
|
80
|
+
|
|
81
|
+
The OSSA CLI can be configured via:
|
|
82
|
+
|
|
83
|
+
1. **Config file**: `.ossarc.json` or `.ossarc.yaml`
|
|
84
|
+
2. **Environment variables**: `OSSA_*`
|
|
85
|
+
3. **Command-line flags**
|
|
86
|
+
|
|
87
|
+
Example `.ossarc.json`:
|
|
88
|
+
|
|
89
|
+
```json
|
|
90
|
+
{
|
|
91
|
+
"registry": "https://registry.ossa.dev",
|
|
92
|
+
"defaultVersion": "0.2.5-RC",
|
|
93
|
+
"validation": {
|
|
94
|
+
"strict": true
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
## Environment Variables
|
|
100
|
+
|
|
101
|
+
- `OSSA_REGISTRY` - Agent registry URL
|
|
102
|
+
- `OSSA_API_KEY` - API authentication key
|
|
103
|
+
- `OSSA_VERSION` - Default OSSA version
|
|
104
|
+
- `OSSA_DEBUG` - Enable debug mode
|
|
105
|
+
|
|
106
|
+
## Related Documentation
|
|
107
|
+
|
|
108
|
+
- [API Reference](../api-reference/index.md)
|
|
109
|
+
- [Schema Reference](../schema-reference/index.md)
|
|
110
|
+
- [Getting Started](../getting-started/index.md)
|
|
111
|
+
- [Guides](../guides/index.md)
|