@bluefly/openstandardagents 0.5.0 → 0.5.1

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.
Files changed (170) hide show
  1. package/.version.json +3 -3
  2. package/CHANGELOG.md +43 -12
  3. package/README.md +31 -26
  4. package/bin/postinstall +0 -0
  5. package/dist/.version.json +3 -3
  6. package/dist/adapters/a2a/a2a-protocol.js +4 -2
  7. package/dist/adapters/a2a/a2a-tool.js +4 -2
  8. package/dist/adapters/a2a/mcp-integration.d.ts +2 -1
  9. package/dist/adapters/a2a/mcp-integration.js +6 -3
  10. package/dist/adapters/browser/browser-exporter.d.ts +26 -0
  11. package/dist/adapters/browser/browser-exporter.js +73 -0
  12. package/dist/adapters/browser/browser-runner.d.ts +23 -0
  13. package/dist/adapters/browser/browser-runner.js +46 -0
  14. package/dist/adapters/browser/index.d.ts +9 -0
  15. package/dist/adapters/browser/index.js +9 -0
  16. package/dist/adapters/docker/index.d.ts +2 -0
  17. package/dist/adapters/docker/index.js +2 -0
  18. package/dist/adapters/docker/openclaw-bridge.d.ts +57 -0
  19. package/dist/adapters/docker/openclaw-bridge.js +173 -0
  20. package/dist/adapters/drupal/index.d.ts +1 -0
  21. package/dist/adapters/drupal/index.js +2 -0
  22. package/dist/adapters/drupal/twig-renderer.d.ts +23 -0
  23. package/dist/adapters/drupal/twig-renderer.js +99 -0
  24. package/dist/adapters/gitlab/agent-generator.js +2 -1
  25. package/dist/api/index.js +2 -1
  26. package/dist/api/routes/mcp.router.js +3 -1
  27. package/dist/api/routes/wizard.router.js +3 -1
  28. package/dist/cli/commands/agent/discover-type.command.js +1 -1
  29. package/dist/cli/commands/agent-card.command.js +37 -10
  30. package/dist/cli/commands/agents-sync.command.d.ts +2 -2
  31. package/dist/cli/commands/agents-sync.command.js +27 -17
  32. package/dist/cli/commands/catalog/config.js +1 -1
  33. package/dist/cli/commands/catalog/validate.command.js +2 -2
  34. package/dist/cli/commands/config.command.js +2 -2
  35. package/dist/cli/commands/daemon.command.js +32 -8
  36. package/dist/cli/commands/discover.d.ts +1 -1
  37. package/dist/cli/commands/discover.js +16 -8
  38. package/dist/cli/commands/economics.command.d.ts +9 -0
  39. package/dist/cli/commands/economics.command.js +113 -0
  40. package/dist/cli/commands/export.command.js +6 -3
  41. package/dist/cli/commands/mcp.command.js +3 -1
  42. package/dist/cli/commands/memory.command.d.ts +18 -0
  43. package/dist/cli/commands/memory.command.js +168 -0
  44. package/dist/cli/commands/publish.command.js +7 -4
  45. package/dist/cli/commands/serve-builder-routes.js +1 -1
  46. package/dist/cli/commands/usie-skills.command.d.ts +24 -0
  47. package/dist/cli/commands/usie-skills.command.js +297 -0
  48. package/dist/cli/commands/validate.command.js +8 -1
  49. package/dist/cli/commands/verify.d.ts +3 -3
  50. package/dist/cli/commands/verify.js +12 -6
  51. package/dist/cli/commands/workspace.command.d.ts +1 -0
  52. package/dist/cli/commands/workspace.command.js +28 -4
  53. package/dist/cli/index.js +12 -0
  54. package/dist/cli/workspace-validate.d.ts +23 -0
  55. package/dist/cli/workspace-validate.js +117 -0
  56. package/dist/data/platform-matrix.js +1 -4
  57. package/dist/generated/types.d.ts +97 -97
  58. package/dist/index.d.ts +2 -0
  59. package/dist/index.js +2 -0
  60. package/dist/mcp-server/index.js +658 -982
  61. package/dist/mesh/discovery-gkg.d.ts +26 -0
  62. package/dist/mesh/discovery-gkg.js +92 -0
  63. package/dist/messenger/Handler/AgentBatchHandler.js +3 -2
  64. package/dist/messenger/Handler/AgentExecutionHandler.js +6 -1
  65. package/dist/package.json +20 -4
  66. package/dist/sdks/shared/types.d.ts +1 -1
  67. package/dist/services/agent-card-generator.js +6 -2
  68. package/dist/services/daemon/audit-log.service.js +3 -1
  69. package/dist/services/daemon/execution.service.js +8 -4
  70. package/dist/services/daemon/fs-watcher.service.js +6 -7
  71. package/dist/services/daemon/pairing.service.js +2 -1
  72. package/dist/services/daemon/skill-aggregator.service.js +105 -21
  73. package/dist/services/daemon/sse-endpoints.js +1 -1
  74. package/dist/services/daemon/ws-server.js +10 -3
  75. package/dist/services/governance/cedar-provider.js +12 -8
  76. package/dist/services/governance/cedar-validator.service.js +1 -1
  77. package/dist/services/mcp/bridge.service.js +40 -9
  78. package/dist/services/openapi-extensions-validation.d.ts +20 -0
  79. package/dist/services/openapi-extensions-validation.js +193 -0
  80. package/dist/services/release-automation/merge-request.service.d.ts +4 -4
  81. package/dist/services/release-automation/release-buttons.js +3 -3
  82. package/dist/services/release-automation/schemas/release.schema.d.ts +3 -3
  83. package/dist/services/runtime/openai.adapter.d.ts +46 -13
  84. package/dist/services/runtime/openai.adapter.js +169 -131
  85. package/dist/services/skill-registry.service.d.ts +1 -1
  86. package/dist/services/skills-pipeline/skills-research.service.js +47 -7
  87. package/dist/services/trust/trust.service.js +6 -4
  88. package/dist/services/validation-zod.service.js +3 -22
  89. package/dist/services/validators/index.d.ts +1 -0
  90. package/dist/services/validators/index.js +1 -0
  91. package/dist/services/validators/registry.d.ts +21 -0
  92. package/dist/services/validators/registry.js +42 -0
  93. package/dist/skills/test-skill/package.json +1 -1
  94. package/dist/spec/extensions/cognition.schema.json +87 -0
  95. package/dist/spec/layer4-economics/duadp-examples.json +44 -0
  96. package/dist/spec/v0.4/agent.schema.json +14 -0
  97. package/dist/spec/v0.5/agent-builder-openapi.yaml +230 -0
  98. package/dist/spec/v0.5/agent.schema.json +32 -1
  99. package/dist/spec/v0.5/extensions/cognition/cognition.schema.json +78 -1
  100. package/dist/spec/v0.5/extensions/economics/context-pack.schema.json +91 -0
  101. package/dist/spec/v0.5/extensions/economics/execution-profile.schema.json +148 -0
  102. package/dist/spec/v0.5/extensions/economics/failure-semantics.schema.json +32 -0
  103. package/dist/spec/v0.5/extensions/economics/replay-packet.schema.json +120 -0
  104. package/dist/spec/v0.5/extensions/mcp/README.md +1 -1
  105. package/dist/spec/v0.5/memory-hierarchy.yaml +120 -0
  106. package/dist/spec/v1/agent-card.schema.json +254 -0
  107. package/dist/types/cognition.zod.d.ts +312 -0
  108. package/dist/types/cognition.zod.js +223 -0
  109. package/dist/types/identity.zod.d.ts +5 -5
  110. package/dist/types/index.d.ts +53 -7
  111. package/dist/types/index.js +4 -2
  112. package/dist/types/personality.zod.d.ts +3 -3
  113. package/dist/utils/http-client.d.ts +22 -0
  114. package/dist/utils/http-client.js +51 -0
  115. package/dist/utils/index.d.ts +3 -0
  116. package/dist/utils/index.js +3 -0
  117. package/dist/utils/proxy-resolver.d.ts +36 -0
  118. package/dist/utils/proxy-resolver.js +59 -0
  119. package/dist/utils/user-agent.d.ts +11 -0
  120. package/dist/utils/user-agent.js +17 -0
  121. package/dist/validation/version-compliance.js +1 -1
  122. package/examples/agentscope/react-assistant/README.md +1 -1
  123. package/examples/agentscope/react-assistant/agent.ossa.yaml +1 -1
  124. package/examples/drupal/drupal-contributor-agent/.eslintrc.json +58 -0
  125. package/examples/drupal/drupal-contributor-agent/.prettierrc.json +10 -0
  126. package/examples/drupal/drupal-contributor-agent/package.json +55 -0
  127. package/examples/drupal/drupal-contributor-agent/src/core/index.ts +10 -0
  128. package/examples/drupal/drupal-contributor-agent/src/index.ts +17 -0
  129. package/examples/drupal/drupal-contributor-agent/src/types/index.ts +180 -0
  130. package/examples/drupal/drupal-contributor-agent/tsconfig.json +36 -0
  131. package/examples/getting-started/01-minimal-agent.ossa.yaml +1 -1
  132. package/examples/getting-started/02-agent-with-tools.ossa.yaml +1 -1
  133. package/examples/getting-started/03-agent-with-safety.ossa.yaml +1 -1
  134. package/examples/getting-started/04-agent-with-messaging.ossa.yaml +1 -1
  135. package/examples/getting-started/05-workflow-composition.ossa.yaml +1 -1
  136. package/examples/getting-started/hello-world-complete.ossa.yaml +1 -1
  137. package/examples/reference-implementations/python-client/examples/basic_usage.py +0 -0
  138. package/examples/reference-implementations/python-client/examples/publish_agent.py +0 -0
  139. package/openapi/agent-cognition-sessions.yaml +580 -0
  140. package/openapi/agent-crud.yaml +20 -20
  141. package/openapi/core/ossa-registry-api.openapi.yaml +1 -1
  142. package/openapi/ossa-cli-enhancements.openapi.yaml +1 -1
  143. package/openapi/release-automation.openapi.yaml +1 -1
  144. package/openapi/schemas/common/economics.yaml +98 -0
  145. package/openapi/uadp-asyncapi.yaml +1 -1
  146. package/openapi/uadp-openapi.yaml +2 -2
  147. package/package.json +114 -96
  148. package/spec/extensions/cognition.schema.json +87 -0
  149. package/spec/layer4-economics/duadp-examples.json +44 -0
  150. package/spec/v0.4/agent.schema.json +14 -0
  151. package/spec/v0.5/agent-builder-openapi.yaml +230 -0
  152. package/spec/v0.5/agent.schema.json +32 -1
  153. package/spec/v0.5/extensions/cognition/cognition.schema.json +78 -1
  154. package/spec/v0.5/extensions/economics/context-pack.schema.json +91 -0
  155. package/spec/v0.5/extensions/economics/execution-profile.schema.json +148 -0
  156. package/spec/v0.5/extensions/economics/failure-semantics.schema.json +32 -0
  157. package/spec/v0.5/extensions/economics/replay-packet.schema.json +120 -0
  158. package/spec/v0.5/extensions/mcp/README.md +1 -1
  159. package/spec/v0.5/memory-hierarchy.yaml +120 -0
  160. package/spec/v1/agent-card.schema.json +254 -0
  161. package/dist/adapters/a2a/__tests__/mcp-integration.spec.d.ts +0 -5
  162. package/dist/adapters/a2a/__tests__/mcp-integration.spec.js +0 -268
  163. package/dist/adapters/a2a/__tests__/mcp-transport.spec.d.ts +0 -5
  164. package/dist/adapters/a2a/__tests__/mcp-transport.spec.js +0 -203
  165. package/dist/mcp-server/__tests__/mcp-server.spec.d.ts +0 -8
  166. package/dist/mcp-server/__tests__/mcp-server.spec.js +0 -566
  167. package/dist/validation/__tests__/error-codes.test.d.ts +0 -5
  168. package/dist/validation/__tests__/error-codes.test.js +0 -252
  169. package/dist/version-management/core/version-manager.test.d.ts +0 -2
  170. package/dist/version-management/core/version-manager.test.js +0 -210
@@ -2,7 +2,7 @@ openapi: 3.1.0
2
2
  jsonSchemaDialect: https://spec.openapis.org/oas/3.1/dialect/base
3
3
  info:
4
4
  title: OSSA Agent CRUD API
5
- version: 0.3.3
5
+ version: 0.5.1
6
6
  description: |
7
7
  # OSSA Agent CRUD Operations API
8
8
 
@@ -16,14 +16,14 @@ info:
16
16
  - **Standards Compliance**: Full OSSA v0.3.0 and RFC7807 error handling
17
17
  contact:
18
18
  name: Bluefly.io LLM Platform Team
19
- url: https://github.com/blueflyio/openstandardagents
19
+ url: https://github.com/openstandardagents/openstandardagents
20
20
  license:
21
21
  name: MIT
22
22
  url: https://opensource.org/licenses/MIT
23
23
  servers:
24
- - url: https://api.llm.bluefly.io/ossa/v1
24
+ - url: https://api.example.com/ossa/v1
25
25
  description: Production server
26
- - url: https://api-dev.llm.bluefly.io/ossa/v1
26
+ - url: https://api-dev.example.com/ossa/v1
27
27
  description: Development server
28
28
  - url: http://localhost:3000
29
29
  description: Local development
@@ -238,8 +238,8 @@ components:
238
238
  type: oauth2
239
239
  flows:
240
240
  authorizationCode:
241
- authorizationUrl: https://auth.llm.bluefly.io/oauth/authorize
242
- tokenUrl: https://auth.llm.bluefly.io/oauth/token
241
+ authorizationUrl: https://auth.example.com/oauth/authorize
242
+ tokenUrl: https://auth.example.com/oauth/token
243
243
  scopes:
244
244
  read: Read access to agents
245
245
  write: Write access to create and update agents
@@ -291,7 +291,7 @@ components:
291
291
  properties:
292
292
  apiVersion:
293
293
  type: string
294
- const: ossa/v0.3.3
294
+ const: ossa/v0.5.1
295
295
  description: OSSA specification version
296
296
  kind:
297
297
  type: string
@@ -343,7 +343,7 @@ components:
343
343
  description: Unique identifier for the agent
344
344
  apiVersion:
345
345
  type: string
346
- const: ossa/v0.3.3
346
+ const: ossa/v0.5.1
347
347
  kind:
348
348
  type: string
349
349
  const: Agent
@@ -782,7 +782,7 @@ components:
782
782
  schema:
783
783
  $ref: "#/components/schemas/Problem"
784
784
  example:
785
- type: https://api.llm.bluefly.io/problems/bad-request
785
+ type: https://problems.openstandardagents.org/bad-request
786
786
  title: Bad Request
787
787
  status: 400
788
788
  detail: Invalid query parameter 'limit' - must be between 1 and 100
@@ -794,7 +794,7 @@ components:
794
794
  schema:
795
795
  $ref: "#/components/schemas/Problem"
796
796
  example:
797
- type: https://api.llm.bluefly.io/problems/validation-error
797
+ type: https://problems.openstandardagents.org/validation-error
798
798
  title: Validation Error
799
799
  status: 400
800
800
  detail: Agent manifest validation failed
@@ -811,7 +811,7 @@ components:
811
811
  schema:
812
812
  $ref: "#/components/schemas/Problem"
813
813
  example:
814
- type: https://api.llm.bluefly.io/problems/unauthorized
814
+ type: https://problems.openstandardagents.org/unauthorized
815
815
  title: Unauthorized
816
816
  status: 401
817
817
  detail: Valid authentication credentials required
@@ -823,7 +823,7 @@ components:
823
823
  schema:
824
824
  $ref: "#/components/schemas/Problem"
825
825
  example:
826
- type: https://api.llm.bluefly.io/problems/not-found
826
+ type: https://problems.openstandardagents.org/not-found
827
827
  title: Not Found
828
828
  status: 404
829
829
  detail: Agent with ID 550e8400-e29b-41d4-a716-446655440000 not found
@@ -835,7 +835,7 @@ components:
835
835
  schema:
836
836
  $ref: "#/components/schemas/Problem"
837
837
  example:
838
- type: https://api.llm.bluefly.io/problems/conflict
838
+ type: https://problems.openstandardagents.org/conflict
839
839
  title: Conflict
840
840
  status: 409
841
841
  detail: Agent with name 'security-scanner' already exists in version 1.0.0
@@ -847,7 +847,7 @@ components:
847
847
  schema:
848
848
  $ref: "#/components/schemas/Problem"
849
849
  example:
850
- type: https://api.llm.bluefly.io/problems/internal-error
850
+ type: https://problems.openstandardagents.org/internal-error
851
851
  title: Internal Server Error
852
852
  status: 500
853
853
  detail: An unexpected error occurred while processing your request
@@ -856,7 +856,7 @@ components:
856
856
  CreateWorkerAgentExample:
857
857
  summary: Create a worker agent
858
858
  value:
859
- apiVersion: ossa/v0.3.3
859
+ apiVersion: ossa/v0.5.1
860
860
  kind: Agent
861
861
  metadata:
862
862
  name: security-scanner
@@ -908,7 +908,7 @@ components:
908
908
  CreateOrchestratorAgentExample:
909
909
  summary: Create an orchestrator agent
910
910
  value:
911
- apiVersion: ossa/v0.3.3
911
+ apiVersion: ossa/v0.5.1
912
912
  kind: Agent
913
913
  metadata:
914
914
  name: workflow-orchestrator
@@ -960,7 +960,7 @@ components:
960
960
  summary: Complete agent response
961
961
  value:
962
962
  id: 550e8400-e29b-41d4-a716-446655440000
963
- apiVersion: ossa/v0.3.3
963
+ apiVersion: ossa/v0.5.1
964
964
  kind: Agent
965
965
  metadata:
966
966
  name: security-scanner
@@ -1024,7 +1024,7 @@ components:
1024
1024
  value:
1025
1025
  agents:
1026
1026
  - id: 550e8400-e29b-41d4-a716-446655440000
1027
- apiVersion: ossa/v0.3.3
1027
+ apiVersion: ossa/v0.5.1
1028
1028
  kind: Agent
1029
1029
  metadata:
1030
1030
  name: security-scanner
@@ -1047,7 +1047,7 @@ components:
1047
1047
  createdAt: 2025-12-18T10:30:00Z
1048
1048
  updatedAt: 2025-12-18T10:30:00Z
1049
1049
  - id: 660e8400-e29b-41d4-a716-446655440001
1050
- apiVersion: ossa/v0.3.3
1050
+ apiVersion: ossa/v0.5.1
1051
1051
  kind: Agent
1052
1052
  metadata:
1053
1053
  name: code-reviewer
@@ -1076,7 +1076,7 @@ tags:
1076
1076
  - name: Agents
1077
1077
  description: Agent lifecycle management (CRUD operations)
1078
1078
  x-ossa-metadata:
1079
- version: 0.3.3
1079
+ version: 0.5.1
1080
1080
  compliance:
1081
1081
  level: enterprise
1082
1082
  frameworks:
@@ -1,7 +1,7 @@
1
1
  openapi: 3.1.0
2
2
  info:
3
3
  title: OSSA Agent Registry API
4
- version: 0.3.3
4
+ version: 0.5.1
5
5
  description: |
6
6
  Central registry for OSSA-compliant AI agents.
7
7
 
@@ -13,7 +13,7 @@ info:
13
13
  FOLLOWS DRY PRINCIPLE: Single source of truth for all CLI command schemas.
14
14
  contact:
15
15
  name: OSSA Standards Team
16
- email: ossa@bluefly.io
16
+ email: contact@openstandardagents.org
17
17
  license:
18
18
  name: Apache-2.0
19
19
  url: https://www.apache.org/licenses/LICENSE-2.0.html
@@ -9,7 +9,7 @@ info:
9
9
  FOLLOWS DRY PRINCIPLE: Single source of truth for release automation schemas.
10
10
  contact:
11
11
  name: OSSA Release Team
12
- email: release@bluefly.io
12
+ email: contact@openstandardagents.org
13
13
  license:
14
14
  name: Apache-2.0
15
15
  url: https://www.apache.org/licenses/LICENSE-2.0.html
@@ -0,0 +1,98 @@
1
+ openapi: 3.1.0
2
+ components:
3
+ schemas:
4
+ ExecutionProfile:
5
+ type: object
6
+ description: Portable contract for token/model behavior and execution economics.
7
+ required:
8
+ - intent_class
9
+ properties:
10
+ id:
11
+ type: string
12
+ description: Unique identifier for the execution profile.
13
+ intent_class:
14
+ type: string
15
+ enum: [micro-audit, fast-route, balanced-work, deep-reason, long-context, strict-structured, human-gated]
16
+ description: Standardized token class mapping to model capability.
17
+ latency_sla_ms:
18
+ type: integer
19
+ description: Target latency in milliseconds.
20
+ max_cost_usd:
21
+ type: number
22
+ description: Maximum acceptable cost in USD for this execution.
23
+ max_input_tokens:
24
+ type: integer
25
+ max_output_tokens:
26
+ type: integer
27
+ max_reasoning_tokens:
28
+ type: integer
29
+ preferred_modes:
30
+ type: array
31
+ items:
32
+ type: string
33
+ enum: [structured-output, tool-use, reasoning, vision]
34
+ fallback_chain:
35
+ type: array
36
+ items:
37
+ type: string
38
+ compression_policy:
39
+ type: string
40
+ enum: [none, extractive, semantic-brief, schema-projection, evidence-only, risk-first, diff-only]
41
+ cache_policy:
42
+ type: string
43
+ enum: [none, content-addressed, ttl]
44
+ provenance_mode:
45
+ type: string
46
+ enum: [relaxed, strict]
47
+ ContextPack:
48
+ type: object
49
+ description: Portable, versioned, scoped context bundle.
50
+ required:
51
+ - id
52
+ - version
53
+ properties:
54
+ id:
55
+ type: string
56
+ version:
57
+ type: string
58
+ description:
59
+ type: string
60
+ token_size:
61
+ type: integer
62
+ content_hash:
63
+ type: string
64
+ trust_score:
65
+ type: number
66
+ permission_scope:
67
+ type: array
68
+ items:
69
+ type: string
70
+ compression_variants:
71
+ type: array
72
+ items:
73
+ type: object
74
+ properties:
75
+ mode:
76
+ type: string
77
+ token_size:
78
+ type: integer
79
+ ref:
80
+ type: string
81
+ ReplayPacket:
82
+ type: object
83
+ description: Portable execution replay packet for audit and reproducibility.
84
+ properties:
85
+ compute_tokens:
86
+ type: integer
87
+ context_tokens:
88
+ type: integer
89
+ execution_profile_id:
90
+ type: string
91
+ context_pack_hashes:
92
+ type: array
93
+ items:
94
+ type: string
95
+ policy_decisions:
96
+ type: object
97
+ failure_class:
98
+ type: string
@@ -227,7 +227,7 @@ components:
227
227
  type: Ed25519
228
228
  value: "base64encodedValue=="
229
229
  publicKey: "base64encodedPublicKey=="
230
- issuer: "did:web:agents.bluefly.io:compliance-scanner"
230
+ issuer: "did:web:example.com:compliance-scanner"
231
231
  timestamp: '2026-03-02T23:00:00Z'
232
232
 
233
233
  AgentUpdatedMessage:
@@ -139,7 +139,7 @@ paths:
139
139
  type: Ed25519
140
140
  value: base64encodedSignaturePayload==
141
141
  publicKey: base64encodedPublicKey==
142
- issuer: did:web:agents.bluefly.io:compliance-scanner
142
+ issuer: did:web:example.com:compliance-scanner
143
143
  timestamp: 2026-03-02T00:00:00Z
144
144
  endpoint: https://agents.example.com/compliance-scanner
145
145
  domains:
@@ -559,7 +559,7 @@ components:
559
559
  issuer:
560
560
  type: string
561
561
  description: DID or URI of the entity that issued the signature
562
- example: did:web:agents.bluefly.io:my-agent
562
+ example: did:web:example.com:my-agent
563
563
  timestamp:
564
564
  type: string
565
565
  format: date-time
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bluefly/openstandardagents",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "exports": {
5
5
  "./schema": "./spec/v0.5/agent.schema.json",
6
6
  "./schema/v0.4": "./spec/v0.4/agent.schema.json",
@@ -74,6 +74,11 @@
74
74
  "types": "./dist/services/trust/trust.service.d.ts",
75
75
  "import": "./dist/services/trust/trust.service.js",
76
76
  "require": "./dist/services/trust/trust.service.js"
77
+ },
78
+ "./workspace-validate": {
79
+ "types": "./dist/cli/workspace-validate.d.ts",
80
+ "import": "./dist/cli/workspace-validate.js",
81
+ "require": "./dist/cli/workspace-validate.js"
77
82
  }
78
83
  },
79
84
  "description": "OSSA - Open Standard for Software Agents. Infrastructure bridge between agent protocols (MCP, A2A) and deployment platforms. Define once in YAML, export to 9+ platforms (Docker, Kubernetes, LangChain, CrewAI, Claude Skills, etc.).",
@@ -143,10 +148,108 @@
143
148
  "url": "https://gitlab.com/blueflyio/ossa/openstandardagents/-/issues"
144
149
  },
145
150
  "homepage": "https://openstandardagents.org",
151
+ "scripts": {
152
+ "// ─────────────────────────────────────────────────────────────────────────────": "",
153
+ "// BUILD & DEVELOPMENT": "",
154
+ "mcp": "node dist/mcp-server/index.js",
155
+ "prebuild": "npm run docs:process",
156
+ "build": "tsc && npm run build:assets",
157
+ "build:assets": "cp -r spec dist/ && cp package.json .version.json dist/",
158
+ "build:clean": "npm run clean && npm run build",
159
+ "dev": "tsc --watch",
160
+ "clean": "node -e \"const fs=require('node:fs'); ['dist','coverage','.tsbuildinfo'].forEach((p)=>fs.rmSync(p,{recursive:true,force:true}))\"",
161
+ "// TESTING": "",
162
+ "pretest": "npm run build",
163
+ "test": "jest",
164
+ "test:unit": "jest tests/unit --forceExit",
165
+ "test:integration": "jest tests/integration",
166
+ "test:e2e": "jest tests/e2e --passWithNoTests",
167
+ "test:smoke": "jest tests/e2e --testPathPattern=smoke.spec.ts --runInBand --forceExit",
168
+ "test:smoke:cli": "jest tests/e2e/cli.smoke.spec.ts",
169
+ "test:smoke:npm-pack": "jest tests/e2e/npm-pack.smoke.spec.ts",
170
+ "test:smoke:schema": "jest tests/e2e/schema-coverage.smoke.spec.ts",
171
+ "test:coverage": "jest --coverage",
172
+ "test:mutation": "stryker run",
173
+ "test:mutation:ci": "stryker run --logLevel error",
174
+ "test:watch": "jest --watch",
175
+ "test:ci": "jest --ci --coverage --reporters=default --reporters=jest-junit",
176
+ "test:mcp": "vitest run src/mcp-server/__tests__/mcp-server.spec.ts",
177
+ "test:mcp:watch": "vitest watch src/mcp-server/__tests__/mcp-server.spec.ts",
178
+ "ci:validate": "npm run build:clean && npm run quality && npm run test:unit && npm run test:smoke && npm run validate:all",
179
+ "ci:validate:fast": "npm run typecheck && npm run test:unit && npm run validate:schema",
180
+ "// CODE QUALITY": "",
181
+ "typecheck": "tsc --noEmit",
182
+ "lint": "eslint src tests --ext .ts",
183
+ "lint:fix": "eslint src tests --ext .ts --fix",
184
+ "format": "prettier --write 'src/**/*.ts' 'tests/**/*.ts'",
185
+ "format:check": "prettier --check 'src/**/*.ts' 'tests/**/*.ts'",
186
+ "quality": "npm run typecheck && npm run format:check",
187
+ "quality:fix": "npm run format",
188
+ "// VALIDATION": "",
189
+ "validate": "npm run validate:no-symlinks && npm run validate:schema && npm run validate:openapi && npm run validate:examples",
190
+ "validate:all": "npm run validate && npm run validate:sdks",
191
+ "validate:sdks": "npm run validate:sdk:typescript && npm run validate:sdk:python",
192
+ "validate:sdk:typescript": "cd src/sdks/typescript && npm install && npm run build && npm run typecheck",
193
+ "validate:sdk:python": "cd src/sdks/python && python -m pip install --quiet -e . && python -m pytest tests/ -v || true",
194
+ "validate:schema": "npx ajv-cli compile -s $(node -p \"require('./.version.json').spec_path\")/$(node -p \"require('./.version.json').schema_file\") -r $(node -p \"require('./.version.json').spec_path\")/extensions/kagent/kagent.schema.json -r $(node -p \"require('./.version.json').spec_path\")/extensions/mcp/mcp.schema.json -r $(node -p \"require('./.version.json').spec_path\")/extensions/a2a/a2a.schema.json -r $(node -p \"require('./.version.json').spec_path\")/extensions/langchain/langchain.schema.json -r $(node -p \"require('./.version.json').spec_path\")/extensions/langgraph/langgraph.schema.json -r $(node -p \"require('./.version.json').spec_path\")/extensions/ag2/ag2.schema.json -r $(node -p \"require('./.version.json').spec_path\")/extensions/crewai/crewai.schema.json --strict=false --allow-union-types",
195
+ "validate:manifest": "npx ajv-cli validate -s $(node -p \"require('./.version.json').spec_path\")/$(node -p \"require('./.version.json').schema_file\") --strict=false --allow-union-types -d",
196
+ "validate:examples": "tsx src/tools/validation/validate-examples.ts",
197
+ "validate:versions": "tsx src/tools/validate-versions.ts",
198
+ "fix:versions": "tsx src/tools/fix-versions.ts",
199
+ "validate:power": "tsx src/tools/validation/validate-ossa.ts",
200
+ "validate:openapi": "spectral lint openapi/**/*.yaml --ruleset .spectral.yml 2>/dev/null || spectral lint openapi/**/*.yaml",
201
+ "validate:openapi:ossa": "tsx src/tools/validation/validate-openapi-extensions.ts",
202
+ "validate:no-symlinks": "tsx src/tools/validate-no-symlinks.ts",
203
+ "// VERSION MANAGEMENT (via ossa-dev CLI - single source of truth)": "",
204
+ "version:release": "tsx src/dev-cli/src/index.ts version release",
205
+ "version:validate": "tsx src/dev-cli/src/index.ts version validate",
206
+ "version:sync": "tsx src/dev-cli/src/index.ts version sync",
207
+ "version:detect": "tsx src/dev-cli/src/index.ts version detect",
208
+ "version:audit": "tsx src/dev-cli/src/index.ts version audit",
209
+ "// INFRASTRUCTURE (deploy tooling out of scope for OSSA)": "",
210
+ "env:list": "tsx src/dev-cli/src/index.ts env-cleanup --list",
211
+ "env:cleanup": "tsx src/dev-cli/src/index.ts env-cleanup --stop-stuck",
212
+ "// DOCUMENTATION": "",
213
+ "wiki:publish": "node .gitlab/wiki-publish.cjs",
214
+ "docs:process": "tsx src/tools/docs/process-doc-templates.ts",
215
+ "docs:check": "test -f README.md && test -f CHANGELOG.md",
216
+ "docs:generate": "tsx src/tools/docs/generate-api-docs.ts && tsx src/tools/docs/generate-cli-docs.ts && tsx src/tools/docs/generate-schema-docs.ts && tsx src/tools/docs/generate-examples-docs.ts && tsx src/tools/generators/generate-agents-catalog.ts && tsx src/tools/docs/generate-types-docs.ts && tsx src/tools/docs/generate-errors-docs.ts && tsx src/tools/docs/generate-config-docs.ts && tsx src/tools/docs/lowercase-docs.ts",
217
+ "// CODE GENERATION": "",
218
+ "gen:types": "tsx src/tools/generators/gen-types.ts",
219
+ "gen:zod": "tsx src/tools/generators/gen-zod.ts",
220
+ "gen:all": "npm run gen:types && npm run gen:zod",
221
+ "gen:current:schema": "tsx src/tools/generators/merge-v$(node -p \"require('./.version.json').current\")-schema.ts",
222
+ "// SYNC & COMPLIANCE": "",
223
+ "sync:pr": "tsx src/cli/commands/github-sync.command.ts pr",
224
+ "sync:batch": "tsx src/cli/commands/github-sync.command.ts batch",
225
+ "sync:list": "tsx src/cli/commands/github-sync.command.ts list",
226
+ "migrate:batch": "node dist/cli/index.js migrate-batch",
227
+ "compliance:audit": "tsx src/tools/compliance-audit.ts",
228
+ "verify:npm-auth": "tsx src/tools/verify-npm-auth.ts",
229
+ "audit:mrs": "tsx src/tools/audit-mrs.ts",
230
+ "// MAINTENANCE": "",
231
+ "fix:schemas": "node src/tools/generators/fix-schema-formats.js",
232
+ "hooks:install": "lefthook install",
233
+ "hooks:uninstall": "lefthook uninstall",
234
+ "prepare": "lefthook install || true",
235
+ "postinstall": "node bin/postinstall || true",
236
+ "// RELEASE & PUBLISH": "",
237
+ "prepublishOnly": "publint && npm run test:unit && npm run build",
238
+ "validate:deps": "depcheck --ignore-dirs=examples --ignores='@anthropic-ai/claude-agent-sdk,@langchain/openai,@openai/agents,@temporalio/activity,@temporalio/workflow,pino-pretty,readline,@types/*,ts-jest,eslint*,prettier*,lefthook,jest*,vitest,semantic-release*,@semantic-release/*,keep-a-changelog,jest-junit,publint,conventional-changelog-conventionalcommits,ajv-cli,json-schema-to-typescript,json-schema-to-zod,ts-node,@playwright/test,@langchain/anthropic,@langchain/core,langchain,agent-browser,@ai-sdk/anthropic,@ai-sdk/google'",
239
+ "validate:package": "publint",
240
+ "publish:dry-run": "npm publish --dry-run",
241
+ "release:check": "npm run typecheck && npm run test:unit && npm run validate:schema && publint",
242
+ "release:semantic": "npx semantic-release",
243
+ "release:semantic:dry": "npx semantic-release --dry-run"
244
+ },
146
245
  "dependencies": {
246
+ "@ai-sdk/anthropic": "^3.0.58",
247
+ "@ai-sdk/google": "^3.0.43",
248
+ "@ai-sdk/openai": "^3.0.41",
147
249
  "@anthropic-ai/claude-agent-sdk": "^0.2.50",
148
250
  "@anthropic-ai/sdk": "^0.71.0",
149
251
  "@aws-sdk/client-bedrock-runtime": "^3.955.0",
252
+ "@better-openclaw/core": "^1.0.30",
150
253
  "@cedar-policy/cedar-wasm": "^4.9.1",
151
254
  "@gitbeaker/node": "^35.8.1",
152
255
  "@gitbeaker/rest": "^43.8.0",
@@ -175,6 +278,8 @@
175
278
  "@temporalio/workflow": "^1.11.3",
176
279
  "@types/tar": "^6.1.13",
177
280
  "@types/ws": "^8.18.1",
281
+ "agent-browser": "^0.20.11",
282
+ "ai": "^6.0.116",
178
283
  "ajv": "^8.12.0",
179
284
  "ajv-formats": "^3.0.1",
180
285
  "axios": "^1.12.2",
@@ -200,15 +305,19 @@
200
305
  "pino": "^10.3.0",
201
306
  "pino-pretty": "^13.1.3",
202
307
  "prom-client": "^15.1.3",
308
+ "proxy-agent": "^7.0.0",
203
309
  "readline": "^1.3.0",
204
310
  "reflect-metadata": "^0.2.2",
205
311
  "semver": "^7.7.3",
206
312
  "tar": "^7.5.11",
207
- "uuid": "^11.0.5",
313
+ "twig": "^2.0.0",
314
+ "twig-drupal-filters": "^3.2.0",
315
+ "universal-user-agent": "^7.0.3",
316
+ "uuid": "^11.1.0",
208
317
  "web-did-resolver": "^2.0.32",
209
318
  "ws": "^8.19.0",
210
319
  "yaml": "^2.3.0",
211
- "zod": "^4.1.11"
320
+ "zod": "^4.3.6"
212
321
  },
213
322
  "devDependencies": {
214
323
  "@bluefly/duadp": "^0.1.4",
@@ -229,6 +338,7 @@
229
338
  "@types/pg": "^8.15.5",
230
339
  "@types/redis": "^4.0.10",
231
340
  "@types/semver": "^7.7.1",
341
+ "@types/twig": "^1.12.17",
232
342
  "@typescript-eslint/eslint-plugin": "^8.48.0",
233
343
  "@typescript-eslint/parser": "^8.48.0",
234
344
  "ajv-cli": "^5.0.0",
@@ -272,97 +382,5 @@
272
382
  "@langchain/anthropic": {
273
383
  "fast-xml-parser": "^4.5.4"
274
384
  }
275
- },
276
- "scripts": {
277
- "// ─────────────────────────────────────────────────────────────────────────────": "",
278
- "// BUILD & DEVELOPMENT": "",
279
- "mcp": "node dist/mcp-server/index.js",
280
- "prebuild": "npm run docs:process",
281
- "build": "tsc && npm run build:assets",
282
- "build:assets": "cp -r spec dist/ && cp package.json .version.json dist/",
283
- "build:clean": "npm run clean && npm run build",
284
- "dev": "tsc --watch",
285
- "clean": "node -e \"const fs=require('node:fs'); ['dist','coverage','.tsbuildinfo'].forEach((p)=>fs.rmSync(p,{recursive:true,force:true}))\"",
286
- "// TESTING": "",
287
- "pretest": "npm run build",
288
- "test": "jest",
289
- "test:unit": "jest tests/unit --forceExit",
290
- "test:integration": "jest tests/integration",
291
- "test:e2e": "jest tests/e2e --passWithNoTests",
292
- "test:smoke": "jest tests/e2e --testPathPattern=smoke.spec.ts --runInBand --forceExit",
293
- "test:smoke:cli": "jest tests/e2e/cli.smoke.spec.ts",
294
- "test:smoke:npm-pack": "jest tests/e2e/npm-pack.smoke.spec.ts",
295
- "test:smoke:schema": "jest tests/e2e/schema-coverage.smoke.spec.ts",
296
- "test:coverage": "jest --coverage",
297
- "test:mutation": "stryker run",
298
- "test:mutation:ci": "stryker run --logLevel error",
299
- "test:watch": "jest --watch",
300
- "test:ci": "jest --ci --coverage --reporters=default --reporters=jest-junit",
301
- "test:mcp": "vitest run src/mcp-server/__tests__/mcp-server.spec.ts",
302
- "test:mcp:watch": "vitest watch src/mcp-server/__tests__/mcp-server.spec.ts",
303
- "ci:validate": "npm run build:clean && npm run quality && npm run test:unit && npm run test:smoke && npm run validate:all",
304
- "ci:validate:fast": "npm run typecheck && npm run test:unit && npm run validate:schema",
305
- "// CODE QUALITY": "",
306
- "typecheck": "tsc --noEmit",
307
- "lint": "eslint src tests --ext .ts",
308
- "lint:fix": "eslint src tests --ext .ts --fix",
309
- "format": "prettier --write 'src/**/*.ts' 'tests/**/*.ts'",
310
- "format:check": "prettier --check 'src/**/*.ts' 'tests/**/*.ts'",
311
- "quality": "npm run typecheck && npm run format:check",
312
- "quality:fix": "npm run format",
313
- "// VALIDATION": "",
314
- "validate": "npm run validate:no-symlinks && npm run validate:schema && npm run validate:openapi && npm run validate:examples",
315
- "validate:all": "npm run validate && npm run validate:sdks",
316
- "validate:sdks": "npm run validate:sdk:typescript && npm run validate:sdk:python",
317
- "validate:sdk:typescript": "cd src/sdks/typescript && npm install && npm run build && npm run typecheck",
318
- "validate:sdk:python": "cd src/sdks/python && python -m pip install --quiet -e . && python -m pytest tests/ -v || true",
319
- "validate:schema": "npx ajv-cli compile -s $(node -p \"require('./.version.json').spec_path\")/$(node -p \"require('./.version.json').schema_file\") -r $(node -p \"require('./.version.json').spec_path\")/extensions/kagent/kagent.schema.json -r $(node -p \"require('./.version.json').spec_path\")/extensions/mcp/mcp.schema.json -r $(node -p \"require('./.version.json').spec_path\")/extensions/a2a/a2a.schema.json -r $(node -p \"require('./.version.json').spec_path\")/extensions/langchain/langchain.schema.json -r $(node -p \"require('./.version.json').spec_path\")/extensions/langgraph/langgraph.schema.json -r $(node -p \"require('./.version.json').spec_path\")/extensions/ag2/ag2.schema.json -r $(node -p \"require('./.version.json').spec_path\")/extensions/crewai/crewai.schema.json --strict=false --allow-union-types",
320
- "validate:manifest": "npx ajv-cli validate -s $(node -p \"require('./.version.json').spec_path\")/$(node -p \"require('./.version.json').schema_file\") --strict=false --allow-union-types -d",
321
- "validate:examples": "tsx src/tools/validation/validate-examples.ts",
322
- "validate:versions": "tsx src/tools/validate-versions.ts",
323
- "fix:versions": "tsx src/tools/fix-versions.ts",
324
- "validate:power": "tsx src/tools/validation/validate-ossa.ts",
325
- "validate:openapi": "spectral lint openapi/**/*.yaml --ruleset .spectral.yml 2>/dev/null || spectral lint openapi/**/*.yaml",
326
- "validate:openapi:ossa": "tsx src/tools/validation/validate-openapi-extensions.ts",
327
- "validate:no-symlinks": "tsx src/tools/validate-no-symlinks.ts",
328
- "// VERSION MANAGEMENT (via ossa-dev CLI - single source of truth)": "",
329
- "version:release": "tsx src/dev-cli/src/index.ts version release",
330
- "version:validate": "tsx src/dev-cli/src/index.ts version validate",
331
- "version:sync": "tsx src/dev-cli/src/index.ts version sync",
332
- "version:detect": "tsx src/dev-cli/src/index.ts version detect",
333
- "version:audit": "tsx src/dev-cli/src/index.ts version audit",
334
- "// INFRASTRUCTURE (deploy tooling out of scope for OSSA)": "",
335
- "env:list": "tsx src/dev-cli/src/index.ts env-cleanup --list",
336
- "env:cleanup": "tsx src/dev-cli/src/index.ts env-cleanup --stop-stuck",
337
- "// DOCUMENTATION": "",
338
- "wiki:publish": "node .gitlab/wiki-publish.cjs",
339
- "docs:process": "tsx src/tools/docs/process-doc-templates.ts",
340
- "docs:check": "test -f README.md && test -f CHANGELOG.md",
341
- "docs:generate": "tsx src/tools/docs/generate-api-docs.ts && tsx src/tools/docs/generate-cli-docs.ts && tsx src/tools/docs/generate-schema-docs.ts && tsx src/tools/docs/generate-examples-docs.ts && tsx src/tools/generators/generate-agents-catalog.ts && tsx src/tools/docs/generate-types-docs.ts && tsx src/tools/docs/generate-errors-docs.ts && tsx src/tools/docs/generate-config-docs.ts && tsx src/tools/docs/lowercase-docs.ts",
342
- "// CODE GENERATION": "",
343
- "gen:types": "tsx src/tools/generators/gen-types.ts",
344
- "gen:zod": "tsx src/tools/generators/gen-zod.ts",
345
- "gen:all": "npm run gen:types && npm run gen:zod",
346
- "gen:current:schema": "tsx src/tools/generators/merge-v$(node -p \"require('./.version.json').current\")-schema.ts",
347
- "// SYNC & COMPLIANCE": "",
348
- "sync:pr": "tsx src/cli/commands/github-sync.command.ts pr",
349
- "sync:batch": "tsx src/cli/commands/github-sync.command.ts batch",
350
- "sync:list": "tsx src/cli/commands/github-sync.command.ts list",
351
- "migrate:batch": "node dist/cli/index.js migrate-batch",
352
- "compliance:audit": "tsx src/tools/compliance-audit.ts",
353
- "verify:npm-auth": "tsx src/tools/verify-npm-auth.ts",
354
- "audit:mrs": "tsx src/tools/audit-mrs.ts",
355
- "// MAINTENANCE": "",
356
- "fix:schemas": "node src/tools/generators/fix-schema-formats.js",
357
- "hooks:install": "lefthook install",
358
- "hooks:uninstall": "lefthook uninstall",
359
- "postinstall": "node bin/postinstall || true",
360
- "// RELEASE & PUBLISH": "",
361
- "validate:deps": "depcheck --ignore-dirs=examples --ignores='@anthropic-ai/claude-agent-sdk,@langchain/openai,@openai/agents,@temporalio/activity,@temporalio/workflow,pino-pretty,readline,@types/*,ts-jest,eslint*,prettier*,lefthook,jest*,vitest,semantic-release*,@semantic-release/*,keep-a-changelog,jest-junit,publint,conventional-changelog-conventionalcommits,ajv-cli,json-schema-to-typescript,json-schema-to-zod,ts-node,@playwright/test,@langchain/anthropic,@langchain/core,langchain'",
362
- "validate:package": "publint",
363
- "publish:dry-run": "npm publish --dry-run",
364
- "release:check": "npm run typecheck && npm run test:unit && npm run validate:schema && publint",
365
- "release:semantic": "npx semantic-release",
366
- "release:semantic:dry": "npx semantic-release --dry-run"
367
385
  }
368
- }
386
+ }