@bluefly/openstandardagents 0.2.7 → 0.2.8
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/.devfile.yaml +1 -1
- package/.env.example +1 -1
- package/.version.json +2 -2
- package/.wiki-config.json +24 -0
- package/CHANGELOG.md +11 -18
- package/CODEOWNERS +75 -0
- package/CONTRIBUTING.md +1 -1
- package/README.md +171 -243
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/repositories/schema.repository.d.ts +6 -1
- package/dist/repositories/schema.repository.d.ts.map +1 -1
- package/dist/repositories/schema.repository.js +49 -27
- package/dist/repositories/schema.repository.js.map +1 -1
- package/dist/services/migration.service.d.ts +4 -3
- package/dist/services/migration.service.d.ts.map +1 -1
- package/dist/services/migration.service.js +11 -10
- package/dist/services/migration.service.js.map +1 -1
- package/dist/services/release-automation/release.service.js +1 -1
- package/dist/services/release-automation/release.service.js.map +1 -1
- package/dist/services/release-automation/schemas/release.schema.js +1 -1
- package/dist/services/runtime/claude/claude-adapter.js +1 -1
- package/dist/services/runtime/claude/claude-adapter.js.map +1 -1
- package/dist/spec/v0.2.8/CHANGELOG.md +401 -0
- package/dist/spec/v0.2.8/README.md +72 -0
- package/dist/spec/v0.2.8/migrations/v0.2.3-to-v0.2.4.md +599 -0
- package/dist/spec/v0.2.8/migrations/v0.2.5-RC-to-v0.2.6.md +65 -0
- package/dist/spec/v0.2.8/migrations/v0.2.6-to-v0.2.8.md +81 -0
- package/{spec/v0.2.6-dev/ossa-0.2.5.schema.json → dist/spec/v0.2.8/ossa-0.2.8.schema.json} +1509 -52
- package/dist/spec/v0.2.8/ossa-0.2.8.yaml +581 -0
- package/dist/types/index.d.ts +3 -2
- package/dist/types/index.d.ts.map +1 -1
- package/dist/utils/index.d.ts +6 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/index.js +6 -0
- package/dist/utils/index.js.map +1 -0
- package/dist/utils/version.d.ts +68 -0
- package/dist/utils/version.d.ts.map +1 -0
- package/dist/utils/version.js +156 -0
- package/dist/utils/version.js.map +1 -0
- package/eslint-report.json +1 -0
- package/examples/adk-integration/code-review-workflow.yml +1 -1
- package/examples/adk-integration/customer-support.yml +1 -1
- package/examples/adk-integration/data-pipeline.yml +1 -1
- package/examples/advanced/workflows/hybrid-model-strategy.yaml +1 -1
- package/examples/agent-manifests/critics/critic-agent.yaml +1 -1
- package/examples/agent-manifests/governors/governor-agent.yaml +1 -1
- package/examples/agent-manifests/integrators/integrator-agent.yaml +1 -1
- package/examples/agent-manifests/judges/judge-agent.yaml +1 -1
- package/examples/agent-manifests/monitors/monitor-agent.yaml +1 -1
- package/examples/agent-manifests/orchestrators/orchestrator-agent.yaml +1 -1
- package/examples/agent-manifests/sample-compliant-agent.yaml +1 -1
- package/examples/agent-manifests/workers/worker-agent.yaml +1 -1
- package/examples/anthropic/claude-assistant.ossa.json +1 -1
- package/examples/autogen/multi-agent.ossa.json +1 -1
- package/examples/claude-code/code-reviewer.ossa.yaml +78 -0
- package/examples/claude-code/ossa-validator.ossa.yaml +80 -0
- package/examples/common_npm/agent-router.ossa.yaml +1 -0
- package/examples/common_npm/agent-router.v0.2.2.ossa.yaml +1 -1
- package/examples/crewai/research-team.ossa.json +1 -1
- package/examples/cursor/code-review-agent.ossa.json +1 -1
- package/examples/drupal/gitlab-ml-recommender.ossa.yaml +1 -0
- package/examples/drupal/gitlab-ml-recommender.v0.2.2.ossa.yaml +1 -1
- package/examples/extensions/drupal-v1.yml +1 -1
- package/examples/extensions/kagent-v1.yml +1 -1
- package/examples/getting-started/hello-world-complete.ossa.yaml +1 -1
- package/examples/integration-patterns/agent-to-agent-orchestration.ossa.yaml +4 -4
- package/examples/kagent/compliance-validator.ossa.yaml +1 -1
- package/examples/kagent/cost-optimizer.ossa.yaml +1 -1
- package/examples/kagent/documentation-agent.ossa.yaml +1 -1
- package/examples/kagent/k8s-troubleshooter-v1.ossa.yaml +1 -0
- package/examples/kagent/k8s-troubleshooter-v1.v0.2.2.ossa.yaml +1 -1
- package/examples/kagent/k8s-troubleshooter.ossa.yaml +1 -1
- package/examples/kagent/security-scanner.ossa.yaml +1 -1
- package/examples/langchain/chain-agent.ossa.json +1 -1
- package/examples/langflow/workflow-agent.ossa.json +1 -1
- package/examples/langgraph/state-machine-agent.ossa.json +1 -1
- package/examples/llamaindex/rag-agent.ossa.json +1 -1
- package/examples/migration-guides/from-langchain-to-ossa.yaml +4 -4
- package/examples/multi-agent/README.md +74 -0
- package/examples/multi-agent/conditional-router.ossa.yaml +42 -0
- package/examples/multi-agent/parallel-execution.ossa.yaml +54 -0
- package/examples/multi-agent/sequential-pipeline.ossa.yaml +45 -0
- package/examples/openai/basic-agent.ossa.yaml +1 -1
- package/examples/openai/multi-tool-agent.ossa.json +1 -1
- package/examples/openai/swarm-agent.ossa.json +1 -1
- package/examples/production/document-analyzer-openai.yml +1 -1
- package/examples/quickstart/support-agent.ossa.yaml +1 -1
- package/examples/spec-examples/audit-agent.yml +1 -1
- package/examples/spec-examples/chat-agent.yml +1 -1
- package/examples/spec-examples/compliance-agent.yml +1 -1
- package/examples/spec-examples/monitoring-agent.yml +1 -1
- package/examples/spec-examples/workflow-agent.yml +1 -1
- package/examples/templates/ossa-compliance.yaml +1 -1
- package/examples/vercel/edge-agent.ossa.json +1 -1
- package/gl-code-quality-report.json +62 -0
- package/llms-ctx-full.txt +39 -0
- package/llms-ctx.txt +39 -0
- package/llms.txt +47 -0
- package/package.json +3 -2
- package/scripts/eslint-to-codequality.cjs +34 -0
- package/scripts/generate-llms-ctx.sh +17 -0
- package/scripts/generate-schema-docs.ts +31 -10
- package/scripts/sync-version.js +4 -12
- package/scripts/validate-schema.ts +2 -1
- package/spec/v0.2.8/CHANGELOG.md +401 -0
- package/spec/v0.2.8/README.md +72 -0
- package/spec/v0.2.8/migrations/v0.2.3-to-v0.2.4.md +599 -0
- package/spec/v0.2.8/migrations/v0.2.5-RC-to-v0.2.6.md +65 -0
- package/spec/v0.2.8/migrations/v0.2.6-to-v0.2.8.md +81 -0
- package/{dist/spec/v0.2.6-dev/ossa-0.2.5.schema.json → spec/v0.2.8/ossa-0.2.8.schema.json} +1509 -52
- package/spec/v0.2.8/ossa-0.2.8.yaml +581 -0
- package/test-results/junit.xml +299 -0
- package/bin/validate-ossa-0.2.5-RC.ts +0 -244
- package/dist/spec/v0.2.6-dev/ossa-0.2.6-dev.schema.json +0 -1696
- package/scripts/lib/exec.ts +0 -37
- package/scripts/lib/file-ops.ts +0 -58
- package/scripts/lib/version.ts +0 -83
- package/spec/v0.2.6-dev/ossa-0.2.6-dev.schema.json +0 -1696
- package/website/.lighthouserc.ts +0 -24
- package/website/.prettierrc +0 -10
- package/website/DESIGN_SYSTEM_IMPLEMENTATION.md +0 -445
- package/website/Dockerfile +0 -30
- package/website/app/about/page.tsx +0 -304
- package/website/app/blog/[slug]/page.tsx +0 -208
- package/website/app/blog/page.tsx +0 -249
- package/website/app/design-guide/page.tsx +0 -511
- package/website/app/docs/[[...slug]]/page.tsx +0 -847
- package/website/app/docs/core-concepts/project-structure/page.tsx +0 -349
- package/website/app/ecosystem/page.tsx +0 -410
- package/website/app/examples/page.tsx +0 -133
- package/website/app/globals.scss +0 -370
- package/website/app/layout.tsx +0 -106
- package/website/app/license/page.tsx +0 -183
- package/website/app/not-found.tsx +0 -18
- package/website/app/page.tsx +0 -686
- package/website/app/page.tsx.bak +0 -679
- package/website/app/page.tsx.bak2 +0 -649
- package/website/app/playground/page.tsx +0 -487
- package/website/app/robots.ts +0 -19
- package/website/app/rss.xml/route.ts +0 -74
- package/website/app/schema/page.tsx +0 -1001
- package/website/app/sitemap.ts +0 -56
- package/website/app/specification/page.tsx +0 -287
- package/website/components/InstallCommand.tsx +0 -96
- package/website/components/Logo.tsx +0 -97
- package/website/components/StructuredData.tsx +0 -65
- package/website/components/docs/DocsSearch.tsx +0 -104
- package/website/components/docs/DocsSidebar.tsx +0 -155
- package/website/components/docs/MarkdownContent.tsx +0 -401
- package/website/components/docs/VersionSelector.tsx +0 -105
- package/website/components/examples/ExamplesViewer.tsx +0 -293
- package/website/components/layout/Footer.tsx +0 -116
- package/website/components/layout/Header.tsx +0 -172
- package/website/components/schema/SchemaComponentsAccordion.tsx +0 -84
- package/website/components/schema/SchemaExplorer.tsx +0 -213
- package/website/components/ui/Badge.tsx +0 -82
- package/website/components/ui/Button.tsx +0 -116
- package/website/components/ui/Card.tsx +0 -167
- package/website/components/ui/Checkbox.tsx +0 -141
- package/website/components/ui/Input.tsx +0 -169
- package/website/components/ui/Radio.tsx +0 -141
- package/website/components/ui/Select.tsx +0 -182
- package/website/components/ui/Tag.tsx +0 -158
- package/website/components/ui/Textarea.tsx +0 -195
- package/website/components/ui/index.ts +0 -11
- package/website/content/blog/OpenAPI-AI-Agents-Standard.md +0 -285
- package/website/content/blog/Why-Formal-Standards-Matter-Now.md +0 -198
- package/website/content/blog/gitlab-kubernetes-agent-ecosystem.md +0 -286
- package/website/content/blog/introducing-ossa-framework.md +0 -328
- package/website/content/blog/ossa-production-results.md +0 -279
- package/website/content/blog/welcome-to-ossa.md +0 -43
- package/website/content/blog/why-ai-agents-need-open-standard.md +0 -98
- package/website/content/docs/00-home.md +0 -153
- package/website/content/docs/adapters/openai-adapter.md +0 -693
- package/website/content/docs/agents/catalog.md +0 -28
- package/website/content/docs/aiflow-framework-integration-with-ossa.md +0 -107
- package/website/content/docs/api-reference/index.md +0 -38
- package/website/content/docs/api-reference/ossa-core-api.md +0 -634
- package/website/content/docs/api-reference/ossa-registry-api.md +0 -515
- package/website/content/docs/api-reference/unified-agent-gateway.md +0 -599
- package/website/content/docs/architecture/execution-flow.md +0 -335
- package/website/content/docs/architecture/multi-agent-systems.md +0 -737
- package/website/content/docs/architecture/overview.md +0 -121
- package/website/content/docs/architecture/stack-integration.md +0 -461
- package/website/content/docs/changelog.md +0 -246
- package/website/content/docs/cli-reference/index.md +0 -111
- package/website/content/docs/cli-reference/ossa-agents.md +0 -70
- package/website/content/docs/cli-reference/ossa-export.md +0 -56
- package/website/content/docs/cli-reference/ossa-generate.md +0 -66
- package/website/content/docs/cli-reference/ossa-gitlab-agent.md +0 -57
- package/website/content/docs/cli-reference/ossa-import.md +0 -56
- package/website/content/docs/cli-reference/ossa-init.md +0 -57
- package/website/content/docs/cli-reference/ossa-migrate.md +0 -62
- package/website/content/docs/cli-reference/ossa-run.md +0 -66
- package/website/content/docs/cli-reference/ossa-schema.md +0 -57
- package/website/content/docs/cli-reference/ossa-setup.md +0 -57
- package/website/content/docs/cli-reference/ossa-validate.md +0 -66
- package/website/content/docs/configuration/index.md +0 -97
- package/website/content/docs/contributing.md +0 -599
- package/website/content/docs/deployment/github-mirroring.md +0 -924
- package/website/content/docs/documentation.md +0 -100
- package/website/content/docs/ecosystem/framework-support.md +0 -1361
- package/website/content/docs/ecosystem/overview.md +0 -366
- package/website/content/docs/errors/index.md +0 -10
- package/website/content/docs/examples/aiflow-framework-integration-with-ossa.md +0 -107
- package/website/content/docs/examples/catalog.md +0 -300
- package/website/content/docs/for-audiences/students-researchers.md +0 -122
- package/website/content/docs/getting-started/index.md +0 -92
- package/website/content/docs/getting-started/installation.md +0 -155
- package/website/content/docs/getting-started/running-agents.md +0 -309
- package/website/content/docs/getting-started.md +0 -91
- package/website/content/docs/integrations/aiflow.md +0 -104
- package/website/content/docs/integrations/drupal.md +0 -105
- package/website/content/docs/migration-guides/agent-schema-comparison.md +0 -232
- package/website/content/docs/migration-guides/anthropic-mcp-to-ossa.md +0 -1750
- package/website/content/docs/migration-guides/crewai-to-ossa.md +0 -274
- package/website/content/docs/migration-guides/drupal-eca-to-ossa.md +0 -2017
- package/website/content/docs/migration-guides/general-agent-schema.yml +0 -247
- package/website/content/docs/migration-guides/index.md +0 -133
- package/website/content/docs/migration-guides/langchain-to-ossa.md +0 -1714
- package/website/content/docs/migration-guides/langflow-to-ossa.md +0 -2075
- package/website/content/docs/migration-guides/migration-manifest.json +0 -64
- package/website/content/docs/migration-guides/openai-to-ossa.md +0 -1202
- package/website/content/docs/openapi-extensions/examples.md +0 -550
- package/website/content/docs/openapi-extensions/index.md +0 -551
- package/website/content/docs/openapi-extensions/operation-extensions.md +0 -457
- package/website/content/docs/openapi-extensions/root-extensions.md +0 -410
- package/website/content/docs/ossa-compliant-badge.md +0 -251
- package/website/content/docs/pre-release/index.md +0 -175
- package/website/content/docs/quick-reference.md +0 -17
- package/website/content/docs/readme.md +0 -35
- package/website/content/docs/releases/v0.2.6.md +0 -99
- package/website/content/docs/schema-reference/agent-capabilities.md +0 -50
- package/website/content/docs/schema-reference/agent-id.md +0 -52
- package/website/content/docs/schema-reference/agent-name.md +0 -50
- package/website/content/docs/schema-reference/agent-role.md +0 -54
- package/website/content/docs/schema-reference/agent-spec.md +0 -406
- package/website/content/docs/schema-reference/agent-version.md +0 -50
- package/website/content/docs/schema-reference/autonomy.md +0 -568
- package/website/content/docs/schema-reference/constraints.md +0 -543
- package/website/content/docs/schema-reference/index.md +0 -45
- package/website/content/docs/schema-reference/llm-config.md +0 -445
- package/website/content/docs/schema-reference/observability.md +0 -654
- package/website/content/docs/schema-reference/ossa-manifest.md +0 -309
- package/website/content/docs/schema-reference/taxonomy.md +0 -509
- package/website/content/docs/schema-reference/tools.md +0 -628
- package/website/content/docs/templates/blog-post.md +0 -43
- package/website/content/docs/types-reference/index.md +0 -105
- package/website/content/docs/use-cases/00-index.md +0 -395
- package/website/content/docs/use-cases/cicd-code-review.md +0 -1236
- package/website/content/docs/use-cases/customer-support.md +0 -1234
- package/website/content/docs/use-cases/enterprise-compliance.md +0 -1208
- package/website/content/docs/use-cases/research-multi-agent.md +0 -1161
- package/website/content/docs/versioning.md +0 -288
- package/website/dev.sh +0 -53
- package/website/docker-compose.dev.yml +0 -36
- package/website/lib/version.ts +0 -35
- package/website/lib/versions.json +0 -103
- package/website/next.config.ts +0 -18
- package/website/nginx.conf +0 -32
- package/website/package-lock.json +0 -9679
- package/website/package.json +0 -59
- package/website/postcss.config.mjs +0 -9
- package/website/scripts/fetch-versions.js +0 -166
- package/website/scripts/generate-examples-index.js +0 -163
- package/website/scripts/merge-docs-to-wiki.ts +0 -207
- package/website/scripts/sync-version.js +0 -72
- package/website/scripts/sync-wiki.ts +0 -322
- package/website/scripts/upload-wiki.ts +0 -199
- package/website/styles/_spacing.scss +0 -453
- package/website/styles/_tokens.scss +0 -245
- package/website/styles/_typography.scss +0 -361
- package/website/styles/_variables.scss +0 -287
- package/website/tailwind.config.ts +0 -170
package/README.md
CHANGED
|
@@ -1,330 +1,241 @@
|
|
|
1
1
|
# OSSA - Open Standard for Scalable AI Agents
|
|
2
2
|
|
|
3
|
-
>
|
|
3
|
+
> **The OpenAPI for AI Agents**
|
|
4
4
|
>
|
|
5
|
-
> - **🐙 GitHub**: [github.com/blueflyio/openstandardagents](https://github.com/blueflyio/openstandardagents)
|
|
5
|
+
> - **🐙 GitHub**: [github.com/blueflyio/openstandardagents](https://github.com/blueflyio/openstandardagents)
|
|
6
|
+
> - **📦 npm**: [@bluefly/openstandardagents](https://www.npmjs.com/package/@bluefly/openstandardagents)
|
|
6
7
|
> - **🌐 Website**: [openstandardagents.org](https://openstandardagents.org)
|
|
7
|
-
> - **💬 Discord**: [
|
|
8
|
+
> - **💬 Discord**: [Join our community](https://discord.gg/ossa)
|
|
8
9
|
|
|
9
10
|
---
|
|
10
11
|
|
|
11
|
-
**The OpenAPI for AI Agents**
|
|
12
|
-
|
|
13
12
|
[](https://opensource.org/licenses/Apache-2.0)
|
|
14
13
|
[](https://www.npmjs.com/package/@bluefly/openstandardagents)
|
|
15
|
-
[](https://github.com/blueflyio/openstandardagents)
|
|
16
14
|
[](https://github.com/blueflyio/openstandardagents)
|
|
17
|
-
|
|
15
|
+
|
|
16
|
+
**Vendor-neutral, compliance-ready, enterprise-grade**
|
|
17
|
+
|
|
18
|
+
- ✅ Switch between AI providers without code changes
|
|
19
|
+
- ✅ Built-in compliance and security frameworks
|
|
20
|
+
- ✅ Standardized agent lifecycle and governance
|
|
21
|
+
- ✅ Multi-runtime support (Node.js, Python, more)
|
|
18
22
|
|
|
19
23
|
---
|
|
20
24
|
|
|
21
25
|
## What is OSSA?
|
|
22
26
|
|
|
23
|
-
**
|
|
27
|
+
**Open Standard Agents (OSSA)** is an open, vendor-neutral specification for defining AI agents, similar to how OpenAPI standardizes REST APIs. It enables interoperability across frameworks, runtimes, and organizations.
|
|
24
28
|
|
|
25
|
-
|
|
29
|
+
### OSSA is NOT a Framework
|
|
26
30
|
|
|
27
|
-
|
|
31
|
+
OSSA is a **specification standard** that defines the contract for agent definition, deployment, and management.
|
|
28
32
|
|
|
29
|
-
|
|
30
|
-
- **Vendor-Neutral** - Community-driven, not controlled by any single company
|
|
31
|
-
- **Interoperable** - Common language enabling diverse AI agents to work together
|
|
32
|
-
- **Trustworthy** - Built with compliance and security in mind
|
|
33
|
-
- **Open** - Collaborative effort for the "Internet of Agents"
|
|
33
|
+
Just like OpenAPI doesn't implement APIs, OSSA doesn't implement agents. It provides the standard that implementations follow.
|
|
34
34
|
|
|
35
|
-
|
|
36
|
-
|-----------|------|---------------|
|
|
37
|
-
| OSSA Specification | Standard definition | OpenAPI Specification |
|
|
38
|
-
| OSSA CLI | Validation & generation | OpenAPI Generator (minimal) |
|
|
39
|
-
| agent-buildkit | Reference implementation | Kong API Gateway |
|
|
40
|
-
| OSSA Registry | Agent distribution | npm Registry |
|
|
35
|
+
### Why Does This Matter?
|
|
41
36
|
|
|
42
|
-
|
|
37
|
+
**Portability: Avoid Vendor Lock-in**
|
|
38
|
+
Switch between AI providers (OpenAI, Anthropic, Azure) without rewriting code. Define your agent once in OSSA format, deploy anywhere.
|
|
43
39
|
|
|
44
|
-
|
|
40
|
+
**Regulatory Compliance: Built-in Frameworks**
|
|
41
|
+
Meet SOC2, FedRAMP, HIPAA, and GDPR requirements with standardized security models, audit trails, and data boundary controls.
|
|
45
42
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
43
|
+
**Vendor Independence: True Interoperability**
|
|
44
|
+
Community-driven standard, not controlled by any single company. Works with LangChain, CrewAI, AutoGen, and any framework.
|
|
45
|
+
|
|
46
|
+
**One standard. Any framework. True portability.**
|
|
50
47
|
|
|
51
48
|
---
|
|
52
49
|
|
|
53
|
-
##
|
|
50
|
+
## Get Started in Minutes
|
|
54
51
|
|
|
55
|
-
###
|
|
52
|
+
### 1. Install CLI
|
|
56
53
|
|
|
57
54
|
```bash
|
|
58
55
|
npm install -g @bluefly/openstandardagents
|
|
59
56
|
```
|
|
60
57
|
|
|
61
|
-
### Create Agent
|
|
58
|
+
### 2. Create Agent
|
|
62
59
|
|
|
63
60
|
```bash
|
|
64
|
-
ossa
|
|
65
|
-
|
|
61
|
+
ossa init my-agent
|
|
62
|
+
cd my-agent
|
|
66
63
|
```
|
|
67
64
|
|
|
68
|
-
### Validate
|
|
65
|
+
### 3. Validate
|
|
69
66
|
|
|
70
67
|
```bash
|
|
71
|
-
ossa validate agent.
|
|
68
|
+
ossa validate my-agent.ossa.yaml
|
|
72
69
|
```
|
|
73
70
|
|
|
74
|
-
### Run
|
|
71
|
+
### 4. Run
|
|
75
72
|
|
|
76
73
|
```bash
|
|
77
74
|
# Set your API key
|
|
78
75
|
export OPENAI_API_KEY=sk-your-key-here
|
|
79
76
|
|
|
80
77
|
# Run interactively
|
|
81
|
-
ossa run agent.ossa.yaml
|
|
82
|
-
|
|
83
|
-
# Or send a single message
|
|
84
|
-
ossa run agent.ossa.yaml -m "Hello, how can you help me?"
|
|
85
|
-
|
|
86
|
-
# With verbose output
|
|
87
|
-
ossa run agent.ossa.yaml -v
|
|
88
|
-
```
|
|
89
|
-
|
|
90
|
-
### Deploy
|
|
91
|
-
|
|
92
|
-
Deploy to **YOUR** infrastructure:
|
|
93
|
-
- AWS, GCP, Azure
|
|
94
|
-
- Kubernetes, Docker
|
|
95
|
-
- On-premise
|
|
96
|
-
- Serverless
|
|
97
|
-
|
|
98
|
-
OSSA doesn't care - it's just a standard.
|
|
99
|
-
|
|
100
|
-
---
|
|
101
|
-
|
|
102
|
-
## OSSA CLI (Minimal Tooling)
|
|
103
|
-
|
|
104
|
-
The OSSA CLI provides basic tooling:
|
|
105
|
-
|
|
106
|
-
```bash
|
|
107
|
-
ossa validate <path> # Validate against OSSA schema
|
|
108
|
-
ossa generate <type> # Generate agent from template (chat, workflow, compliance, etc.)
|
|
109
|
-
ossa migrate <source> # Migrate between OSSA versions
|
|
110
|
-
ossa run <path> # Run agents with OpenAI adapter
|
|
78
|
+
ossa run my-agent.ossa.yaml
|
|
111
79
|
```
|
|
112
80
|
|
|
113
|
-
|
|
114
|
-
- Validate agent manifests
|
|
115
|
-
- Generate project scaffolding
|
|
116
|
-
- Provide templates
|
|
117
|
-
- Run agents interactively (OpenAI adapter)
|
|
118
|
-
|
|
119
|
-
**What OSSA CLI does NOT do:**
|
|
120
|
-
- Runtime orchestration
|
|
121
|
-
- Deployment
|
|
122
|
-
- Production monitoring
|
|
123
|
-
- Infrastructure management
|
|
124
|
-
|
|
125
|
-
For production features, see [Agent Buildkit](https://github.com/blueflyio/agent-buildkit).
|
|
126
|
-
|
|
127
|
-
### Running Agents
|
|
128
|
-
|
|
129
|
-
The `ossa run` command allows you to execute agents using the OpenAI adapter:
|
|
81
|
+
### 5. Export to Any Framework
|
|
130
82
|
|
|
131
83
|
```bash
|
|
132
|
-
|
|
133
|
-
ossa
|
|
134
|
-
|
|
135
|
-
# Single message mode
|
|
136
|
-
ossa run my-agent.ossa.yaml -m "What is the weather today?"
|
|
137
|
-
|
|
138
|
-
# Verbose output (show tool calls)
|
|
139
|
-
ossa run my-agent.ossa.yaml -v
|
|
140
|
-
|
|
141
|
-
# Custom options
|
|
142
|
-
ossa run my-agent.ossa.yaml --max-turns 20 --no-validate
|
|
84
|
+
ossa export --to cursor
|
|
85
|
+
ossa export --to langchain
|
|
86
|
+
ossa export --to crewai
|
|
143
87
|
```
|
|
144
88
|
|
|
145
|
-
|
|
146
|
-
- Interactive REPL mode for conversations
|
|
147
|
-
- Single message mode for quick queries
|
|
148
|
-
- Tool execution with custom handlers
|
|
149
|
-
- Verbose mode for debugging
|
|
150
|
-
- Configurable max turns to prevent loops
|
|
151
|
-
|
|
152
|
-
**Requirements:**
|
|
153
|
-
- OpenAI API key: `export OPENAI_API_KEY=sk-...`
|
|
154
|
-
- Valid OSSA manifest (YAML or JSON)
|
|
155
|
-
|
|
156
|
-
See [Running Agents Guide](https://openstandardagents.org/docs/getting-started/running-agents) for more details.
|
|
89
|
+
[Read Full Getting Started Guide](https://openstandardagents.org/docs/getting-started/)
|
|
157
90
|
|
|
158
91
|
---
|
|
159
92
|
|
|
160
|
-
##
|
|
161
|
-
|
|
162
|
-
OSSA v0.2.6 Schema: [`spec/v0.2.6/ossa-0.2.6.schema.json`](spec/v0.2.6/ossa-0.2.6.schema.json)
|
|
163
|
-
|
|
164
|
-
### Required Fields
|
|
93
|
+
## Minimal Example
|
|
165
94
|
|
|
166
95
|
```yaml
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
name:
|
|
172
|
-
version: "1.0.0"
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
96
|
+
apiVersion: ossa/v0.2.8
|
|
97
|
+
kind: Agent
|
|
98
|
+
|
|
99
|
+
metadata:
|
|
100
|
+
name: my-agent
|
|
101
|
+
version: "1.0.0"
|
|
102
|
+
description: My first OSSA agent
|
|
103
|
+
|
|
104
|
+
spec:
|
|
105
|
+
role: |
|
|
106
|
+
You are a helpful assistant that answers questions.
|
|
107
|
+
|
|
108
|
+
llm:
|
|
109
|
+
provider: openai
|
|
110
|
+
model: gpt-4
|
|
111
|
+
|
|
112
|
+
tools:
|
|
113
|
+
- type: function
|
|
114
|
+
name: get_weather
|
|
115
|
+
capabilities:
|
|
116
|
+
- name: get_current_weather
|
|
117
|
+
description: Get current weather for a location
|
|
118
|
+
input_schema:
|
|
119
|
+
type: object
|
|
120
|
+
properties:
|
|
121
|
+
location:
|
|
122
|
+
type: string
|
|
123
|
+
required: [location]
|
|
183
124
|
```
|
|
184
125
|
|
|
185
|
-
Full schema documentation: [`docs/specification/`](docs/specification/)
|
|
186
|
-
|
|
187
126
|
---
|
|
188
127
|
|
|
189
|
-
##
|
|
190
|
-
|
|
191
|
-
**NEW**: Complete production ecosystem with **8 specialized agents** for GitLab-integrated Kubernetes deployments.
|
|
192
|
-
|
|
193
|
-
[**View Full Documentation**](https://github.com/blueflyio/openstandardagents/wiki/OSSA-Agent-Ecosystem-for-GitLab-Kubernetes-Deployments)
|
|
194
|
-
|
|
195
|
-
### Highlights
|
|
128
|
+
## Why OSSA?
|
|
196
129
|
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
- **Elite DORA metrics**: 12 deployments/day, 45min lead time, 8.5% change failure rate
|
|
200
|
-
- **Massive ROI**: $80-145K/month cost savings (31-57x return)
|
|
201
|
-
- **Full compliance**: SOC2, HIPAA, PCI-DSS, GDPR, FedRAMP
|
|
130
|
+
### Framework-Agnostic
|
|
131
|
+
Works with LangChain, Anthropic, OpenAI, CrewAI, Langflow, AutoGen, and more. No vendor lock-in.
|
|
202
132
|
|
|
203
|
-
###
|
|
133
|
+
### Portable
|
|
134
|
+
Move agents between teams, organizations, and infrastructures without rewriting code.
|
|
204
135
|
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
kubectl apply -f .gitlab/agents/mesh-config.yaml
|
|
208
|
-
|
|
209
|
-
# Deploy all 8 agents
|
|
210
|
-
for agent in security-scanner performance-optimizer db-migrator \
|
|
211
|
-
config-validator monitoring-agent rollback-coordinator \
|
|
212
|
-
cost-analyzer compliance-auditor; do
|
|
213
|
-
buildkit agents deploy .gitlab/agents/$agent/manifest.ossa.yaml
|
|
214
|
-
done
|
|
215
|
-
```
|
|
136
|
+
### Validatable
|
|
137
|
+
JSON Schema validation ensures correctness before deployment. Catch errors early.
|
|
216
138
|
|
|
217
|
-
|
|
139
|
+
### Well-Documented
|
|
140
|
+
Comprehensive documentation, examples, and tooling. Built for developers, by developers.
|
|
218
141
|
|
|
219
|
-
|
|
142
|
+
### Open Source
|
|
143
|
+
Apache 2.0 licensed. Community-driven. Transparent development process.
|
|
220
144
|
|
|
221
|
-
|
|
145
|
+
### Fast Integration
|
|
146
|
+
Export to any framework format. Import existing agents. Seamless migration paths.
|
|
222
147
|
|
|
223
|
-
|
|
148
|
+
### Secure by Design
|
|
149
|
+
Built-in security patterns, authentication, and compliance features.
|
|
224
150
|
|
|
225
|
-
|
|
226
|
-
-
|
|
227
|
-
- `workflow-agent.yml` - Workflow orchestration
|
|
228
|
-
- **GitLab K8s Ecosystem** - Production-ready multi-agent system (see above)
|
|
151
|
+
### Observable
|
|
152
|
+
Built-in observability, logging, and monitoring. Track agent performance and behavior.
|
|
229
153
|
|
|
230
154
|
---
|
|
231
155
|
|
|
232
|
-
##
|
|
233
|
-
|
|
234
|
-
### Core Products
|
|
156
|
+
## Works With Your Favorite Tools
|
|
235
157
|
|
|
236
|
-
|
|
237
|
-
- JSON Schema specification
|
|
238
|
-
- CLI for validation & generation
|
|
239
|
-
- Reference implementations
|
|
240
|
-
- Documentation
|
|
158
|
+
OSSA integrates seamlessly with leading AI frameworks, platforms, and tools:
|
|
241
159
|
|
|
242
|
-
**
|
|
243
|
-
- Modern, fast, minimal CLI
|
|
244
|
-
- GitLab integration
|
|
245
|
-
- Kubernetes deployment
|
|
246
|
-
- Production monitoring
|
|
160
|
+
**LLM Providers**: OpenAI, Anthropic, Google Gemini, Azure OpenAI, Ollama
|
|
247
161
|
|
|
248
|
-
**
|
|
249
|
-
- macOS-aligned design
|
|
250
|
-
- Visual workflow design
|
|
251
|
-
- Agent monitoring and debugging
|
|
252
|
-
- End-to-end agent lifecycle management
|
|
162
|
+
**Frameworks**: LangChain, CrewAI, AutoGen, LlamaIndex, LangGraph, Langflow
|
|
253
163
|
|
|
254
|
-
|
|
164
|
+
**Platforms**: Kubernetes, Docker, AWS, Azure, GCP
|
|
255
165
|
|
|
256
|
-
|
|
257
|
-
- **OSSA** defines the standard
|
|
258
|
-
- **Agent Buildkit** provides CLI tooling
|
|
259
|
-
- **Agent Studio** offers visual management
|
|
166
|
+
**Tools**: MCP, Drupal, LibreChat, Cursor, VS Code
|
|
260
167
|
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
**Others welcome** - OSSA is an open standard, anyone can implement it.
|
|
168
|
+
[View All Integrations](https://openstandardagents.org/docs/ecosystem/framework-support/)
|
|
264
169
|
|
|
265
170
|
---
|
|
266
171
|
|
|
267
|
-
##
|
|
172
|
+
## Examples
|
|
268
173
|
|
|
269
|
-
|
|
174
|
+
We provide comprehensive examples for all major frameworks:
|
|
270
175
|
|
|
271
|
-
|
|
272
|
-
- **No Vendor Lock-in** - Use any implementation
|
|
273
|
-
- **Deploy Anywhere** - Your infrastructure, your choice
|
|
274
|
-
- **Clear Specification** - Well-defined contract
|
|
176
|
+
### Framework Integration Examples
|
|
275
177
|
|
|
276
|
-
|
|
178
|
+
- **OpenAI** - [examples/openai/](https://github.com/blueflyio/openstandardagents/tree/main/examples/openai)
|
|
179
|
+
- **Anthropic** - [examples/anthropic/](https://github.com/blueflyio/openstandardagents/tree/main/examples/anthropic)
|
|
180
|
+
- **LangChain** - [examples/langchain/](https://github.com/blueflyio/openstandardagents/tree/main/examples/langchain)
|
|
181
|
+
- **CrewAI** - [examples/crewai/](https://github.com/blueflyio/openstandardagents/tree/main/examples/crewai)
|
|
182
|
+
- **AutoGen** - [examples/autogen/](https://github.com/blueflyio/openstandardagents/tree/main/examples/autogen)
|
|
183
|
+
- **LlamaIndex** - [examples/llamaindex/](https://github.com/blueflyio/openstandardagents/tree/main/examples/llamaindex)
|
|
184
|
+
- **LangGraph** - [examples/langgraph/](https://github.com/blueflyio/openstandardagents/tree/main/examples/langgraph)
|
|
185
|
+
- **Langflow** - [examples/langflow/](https://github.com/blueflyio/openstandardagents/tree/main/examples/langflow)
|
|
186
|
+
- **Vercel AI** - [examples/vercel/](https://github.com/blueflyio/openstandardagents/tree/main/examples/vercel)
|
|
187
|
+
- **Cursor** - [examples/cursor/](https://github.com/blueflyio/openstandardagents/tree/main/examples/cursor)
|
|
277
188
|
|
|
278
|
-
|
|
279
|
-
- **Reference Implementation** - Agent Buildkit shows the way
|
|
280
|
-
- **Clear Boundaries** - Standard vs. implementation
|
|
189
|
+
### Production Examples
|
|
281
190
|
|
|
282
|
-
|
|
191
|
+
**GitLab Kubernetes Ecosystem** - [.gitlab/agents/](https://github.com/blueflyio/openstandardagents/tree/main/.gitlab/agents)
|
|
192
|
+
- 8 specialized agents for production Kubernetes deployments
|
|
193
|
+
- Security, Performance, Database, Config, Monitoring, Rollback, Cost, Compliance
|
|
194
|
+
- Full documentation: [Wiki](https://github.com/blueflyio/openstandardagents/wiki/OSSA-Agent-Ecosystem-for-GitLab-Kubernetes-Deployments)
|
|
283
195
|
|
|
284
|
-
|
|
196
|
+
[View All Examples](https://openstandardagents.org/examples/)
|
|
285
197
|
|
|
286
|
-
|
|
198
|
+
---
|
|
287
199
|
|
|
288
|
-
|
|
289
|
-
npm install -g @bluefly/openstandardagents
|
|
290
|
-
ossa validate my-agent.yml
|
|
291
|
-
```
|
|
200
|
+
## Documentation
|
|
292
201
|
|
|
293
|
-
###
|
|
202
|
+
### Official Website
|
|
294
203
|
|
|
295
|
-
|
|
296
|
-
npm install -g @bluefly/agent-buildkit
|
|
297
|
-
buildkit ossa validate my-agent.yml # Uses OSSA + adds features
|
|
298
|
-
buildkit ossa sync-docs # GitLab integration
|
|
299
|
-
```
|
|
204
|
+
**Live Website**: [openstandardagents.org](https://openstandardagents.org)
|
|
300
205
|
|
|
301
|
-
|
|
206
|
+
Features:
|
|
207
|
+
- **Interactive Documentation** - Complete OSSA specification
|
|
208
|
+
- **Schema Validator** - Validate your manifests in the browser
|
|
209
|
+
- **Playground** - Test agents interactively
|
|
210
|
+
- **Migration Guides** - From LangChain, MCP, OpenAI Swarm, CrewAI, Langflow, Drupal ECA
|
|
302
211
|
|
|
303
|
-
|
|
212
|
+
### Resources
|
|
304
213
|
|
|
305
|
-
|
|
214
|
+
- **Getting Started**: [openstandardagents.org/docs/getting-started/](https://openstandardagents.org/docs/getting-started/)
|
|
215
|
+
- **Full Documentation**: [openstandardagents.org/docs/](https://openstandardagents.org/docs/)
|
|
216
|
+
- **Schema Reference**: [openstandardagents.org/schema/](https://openstandardagents.org/schema/)
|
|
217
|
+
- **Specification**: [spec/v0.2.8/ossa-0.2.8.schema.json](https://github.com/blueflyio/openstandardagents/blob/main/spec/v0.2.8/ossa-0.2.8.schema.json)
|
|
218
|
+
- **Examples**: [openstandardagents.org/examples/](https://openstandardagents.org/examples/)
|
|
219
|
+
- **Blog**: [openstandardagents.org/blog/](https://openstandardagents.org/blog/)
|
|
306
220
|
|
|
307
|
-
|
|
221
|
+
---
|
|
308
222
|
|
|
309
|
-
|
|
310
|
-
- **Interactive Documentation** - Browse the complete OSSA wiki with an enhanced UI
|
|
311
|
-
- **GitLab Wiki Integration** - Automatically synced from the official GitLab wiki
|
|
312
|
-
- **Interactive Examples** - Explore OSSA manifests with live validation and URL tracking
|
|
313
|
-
- **Schema Validator** - Validate your OSSA manifests in the browser
|
|
314
|
-
- **Migration Guides** - Step-by-step guides from 6 major frameworks
|
|
315
|
-
- **Responsive Design** - Beautiful, accessible UI built with Next.js 15 and Tailwind CSS
|
|
223
|
+
## How OSSA Compares
|
|
316
224
|
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
-
|
|
322
|
-
|
|
323
|
-
|
|
225
|
+
| Feature | OSSA | LangChain | AutoGen | MCP | Semantic Kernel |
|
|
226
|
+
|---------|------|-----------|---------|-----|-----------------|
|
|
227
|
+
| Vendor Neutral | ✅ | ❌ | ❌ | ✅ | ❌ |
|
|
228
|
+
| Formal Standard | ✅ | ❌ | ❌ | ✅ | ❌ |
|
|
229
|
+
| Multi-runtime | ✅ | ⚠️ | ⚠️ | ✅ | ⚠️ |
|
|
230
|
+
| Enterprise Governance | ✅ | ❌ | ❌ | ❌ | ⚠️ |
|
|
231
|
+
| Compliance Ready | ✅ | ❌ | ❌ | ❌ | ❌ |
|
|
232
|
+
| Open Source | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
324
233
|
|
|
325
|
-
|
|
234
|
+
**OSSA**: Vendor-neutral specification standard
|
|
235
|
+
**LangChain/AutoGen/Semantic Kernel**: Framework-specific implementations
|
|
236
|
+
**MCP**: Formal standard focused on context, not full agent lifecycle
|
|
326
237
|
|
|
327
|
-
- **Specification**: [spec/v0.2.
|
|
238
|
+
- **Specification**: [spec/v0.2.8/ossa-0.2.8.schema.json](spec/v0.2.8/ossa-0.2.8.schema.json)
|
|
328
239
|
- **Examples**: [examples/](examples/)
|
|
329
240
|
- **API Reference**: [docs/](docs/)
|
|
330
241
|
- **Deployment Guides**: [GitHub Mirroring](https://openstandardagents.org/docs/deployment/github-mirroring)
|
|
@@ -334,33 +245,50 @@ The documentation is organized into:
|
|
|
334
245
|
|
|
335
246
|
## Contributing
|
|
336
247
|
|
|
337
|
-
OSSA is an open
|
|
248
|
+
OSSA is an open-source, community-driven project. We welcome contributions!
|
|
338
249
|
|
|
339
|
-
**Repository**: https://github.com/blueflyio/openstandardagents
|
|
340
|
-
**
|
|
341
|
-
**
|
|
250
|
+
**Repository**: [github.com/blueflyio/openstandardagents](https://github.com/blueflyio/openstandardagents)
|
|
251
|
+
**Issues**: [github.com/blueflyio/openstandardagents/issues](https://github.com/blueflyio/openstandardagents/issues)
|
|
252
|
+
**Discussions**: [github.com/blueflyio/openstandardagents/discussions](https://github.com/blueflyio/openstandardagents/discussions)
|
|
253
|
+
|
|
254
|
+
### How to Contribute
|
|
342
255
|
|
|
343
256
|
1. Fork the repository on GitHub
|
|
344
|
-
2. Create feature branch
|
|
345
|
-
3.
|
|
257
|
+
2. Create a feature branch
|
|
258
|
+
3. Make your changes
|
|
259
|
+
4. Submit a pull request
|
|
260
|
+
|
|
261
|
+
See [CONTRIBUTING.md](https://github.com/blueflyio/openstandardagents/blob/main/CONTRIBUTING.md) for detailed guidelines.
|
|
346
262
|
|
|
347
|
-
|
|
263
|
+
### Ways to Contribute
|
|
264
|
+
|
|
265
|
+
- **Code** - Improve the CLI, add examples, fix bugs
|
|
266
|
+
- **Documentation** - Improve docs, write tutorials
|
|
267
|
+
- **Examples** - Add framework integrations
|
|
268
|
+
- **Feedback** - Report issues, suggest features
|
|
269
|
+
- **Community** - Help others, answer questions
|
|
348
270
|
|
|
349
271
|
---
|
|
350
272
|
|
|
351
|
-
##
|
|
273
|
+
## Community
|
|
352
274
|
|
|
353
|
-
|
|
275
|
+
Join our growing community:
|
|
276
|
+
|
|
277
|
+
- **Discord**: [Join our community](https://discord.gg/ossa)
|
|
278
|
+
- **GitHub Discussions**: [github.com/blueflyio/openstandardagents/discussions](https://github.com/blueflyio/openstandardagents/discussions)
|
|
279
|
+
- **GitHub Issues**: [github.com/blueflyio/openstandardagents/issues](https://github.com/blueflyio/openstandardagents/issues)
|
|
354
280
|
|
|
355
281
|
---
|
|
356
282
|
|
|
357
|
-
##
|
|
283
|
+
## License
|
|
284
|
+
|
|
285
|
+
Apache 2.0 - see [LICENSE](https://github.com/blueflyio/openstandardagents/blob/main/LICENSE) for details.
|
|
286
|
+
|
|
287
|
+
---
|
|
358
288
|
|
|
359
|
-
|
|
289
|
+
## About
|
|
360
290
|
|
|
361
|
-
|
|
362
|
-
- **Agent Buildkit** - CLI for building and managing agents
|
|
363
|
-
- **Agent Studio** - GUI platform for agent orchestration
|
|
291
|
+
Open Standard Agents (OSSA) is a vendor-neutral specification created by Thomas Scola, founder of Bluefly.io.
|
|
364
292
|
|
|
365
293
|
**OSSA: Open. Interoperable. Trustworthy.**
|
|
366
294
|
|
package/dist/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
export * from './types/index.js';
|
|
6
6
|
export * from './types/openapi-extensions.js';
|
|
7
|
+
export { getVersionInfo, getVersion, getSchemaPath, getApiVersion, getSchemaDir, isPrerelease, getSupportedVersions, resolveSchemaPath, type VersionInfo } from './utils/version.js';
|
|
7
8
|
export { SchemaRepository } from './repositories/schema.repository.js';
|
|
8
9
|
export { ManifestRepository } from './repositories/manifest.repository.js';
|
|
9
10
|
export { ValidationService } from './services/validation.service.js';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,cAAc,kBAAkB,CAAC;AACjC,cAAc,+BAA+B,CAAC;AAG9C,OAAO,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AACvE,OAAO,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAG3E,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACrE,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACrE,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAGnE,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,cAAc,kBAAkB,CAAC;AACjC,cAAc,+BAA+B,CAAC;AAG9C,OAAO,EACL,cAAc,EACd,UAAU,EACV,aAAa,EACb,aAAa,EACb,YAAY,EACZ,YAAY,EACZ,oBAAoB,EACpB,iBAAiB,EACjB,KAAK,WAAW,EACjB,MAAM,oBAAoB,CAAC;AAG5B,OAAO,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AACvE,OAAO,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAG3E,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACrE,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACrE,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAGnE,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|
// Types
|
|
6
6
|
export * from './types/index.js';
|
|
7
7
|
export * from './types/openapi-extensions.js';
|
|
8
|
+
// Version utilities (dynamic version detection)
|
|
9
|
+
export { getVersionInfo, getVersion, getSchemaPath, getApiVersion, getSchemaDir, isPrerelease, getSupportedVersions, resolveSchemaPath } from './utils/version.js';
|
|
8
10
|
// Repositories
|
|
9
11
|
export { SchemaRepository } from './repositories/schema.repository.js';
|
|
10
12
|
export { ManifestRepository } from './repositories/manifest.repository.js';
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,QAAQ;AACR,cAAc,kBAAkB,CAAC;AACjC,cAAc,+BAA+B,CAAC;AAE9C,eAAe;AACf,OAAO,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AACvE,OAAO,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAE3E,WAAW;AACX,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACrE,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACrE,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAEnE,eAAe;AACf,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,QAAQ;AACR,cAAc,kBAAkB,CAAC;AACjC,cAAc,+BAA+B,CAAC;AAE9C,gDAAgD;AAChD,OAAO,EACL,cAAc,EACd,UAAU,EACV,aAAa,EACb,aAAa,EACb,YAAY,EACZ,YAAY,EACZ,oBAAoB,EACpB,iBAAiB,EAElB,MAAM,oBAAoB,CAAC;AAE5B,eAAe;AACf,OAAO,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AACvE,OAAO,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAE3E,WAAW;AACX,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACrE,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACrE,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAEnE,eAAe;AACf,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -32,9 +32,14 @@ export declare class SchemaRepository implements ISchemaRepository {
|
|
|
32
32
|
* @returns Array of available version strings
|
|
33
33
|
*/
|
|
34
34
|
private discoverAvailableVersions;
|
|
35
|
+
/**
|
|
36
|
+
* Check if a directory contains an OSSA spec directory
|
|
37
|
+
* Uses dynamic discovery - no hardcoded version numbers
|
|
38
|
+
*/
|
|
39
|
+
private hasSpecDirectory;
|
|
35
40
|
/**
|
|
36
41
|
* Find OSSA package root directory
|
|
37
|
-
* Looks for package.json with @bluefly/openstandardagents
|
|
42
|
+
* Looks for package.json with @bluefly/openstandardagents or spec/ directory
|
|
38
43
|
*/
|
|
39
44
|
private findOssaRoot;
|
|
40
45
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.repository.d.ts","sourceRoot":"","sources":["../../src/repositories/schema.repository.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAKH,OAAO,KAAK,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAEvE,qBACa,gBAAiB,YAAW,iBAAiB;IACxD,OAAO,CAAC,WAAW,CAAmD;IACtE,OAAO,CAAC,kBAAkB,CAAyB;IAEnD;;OAEG;IACH,oBAAoB,IAAI,MAAM,EAAE;IAShC;;OAEG;IACH,iBAAiB,IAAI,MAAM;IA0B3B;;;;OAIG;IACG,SAAS,CAAC,OAAO,EAAE,aAAa,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IA0BzE;;;;OAIG;IACH,OAAO,CAAC,aAAa;IAoCrB;;;;OAIG;IACH,OAAO,CAAC,yBAAyB;IA+BjC;;;OAGG;IACH,OAAO,CAAC,YAAY;
|
|
1
|
+
{"version":3,"file":"schema.repository.d.ts","sourceRoot":"","sources":["../../src/repositories/schema.repository.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAKH,OAAO,KAAK,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAEvE,qBACa,gBAAiB,YAAW,iBAAiB;IACxD,OAAO,CAAC,WAAW,CAAmD;IACtE,OAAO,CAAC,kBAAkB,CAAyB;IAEnD;;OAEG;IACH,oBAAoB,IAAI,MAAM,EAAE;IAShC;;OAEG;IACH,iBAAiB,IAAI,MAAM;IA0B3B;;;;OAIG;IACG,SAAS,CAAC,OAAO,EAAE,aAAa,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IA0BzE;;;;OAIG;IACH,OAAO,CAAC,aAAa;IAoCrB;;;;OAIG;IACH,OAAO,CAAC,yBAAyB;IA+BjC;;;OAGG;IACH,OAAO,CAAC,gBAAgB;IAcxB;;;OAGG;IACH,OAAO,CAAC,YAAY;IAmFpB;;OAEG;IACH,UAAU,IAAI,IAAI;CAGnB"}
|