@bluefly/openstandardagents 0.4.9 → 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.
- package/.version.json +3 -3
- package/CHANGELOG.md +35 -4
- package/README.md +77 -62
- package/dist/.version.json +3 -3
- package/dist/adapters/a2a/a2a-protocol.js +4 -2
- package/dist/adapters/a2a/a2a-tool.js +4 -2
- package/dist/adapters/a2a/mcp-integration.d.ts +2 -1
- package/dist/adapters/a2a/mcp-integration.js +6 -3
- package/dist/adapters/browser/browser-exporter.d.ts +26 -0
- package/dist/adapters/browser/browser-exporter.js +73 -0
- package/dist/adapters/browser/browser-runner.d.ts +23 -0
- package/dist/adapters/browser/browser-runner.js +46 -0
- package/dist/adapters/browser/index.d.ts +9 -0
- package/dist/adapters/browser/index.js +9 -0
- package/dist/adapters/claude-code/adapter.js +2 -2
- package/dist/adapters/docker/generators.js +19 -19
- package/dist/adapters/docker/index.d.ts +2 -0
- package/dist/adapters/docker/index.js +2 -0
- package/dist/adapters/docker/openclaw-bridge.d.ts +57 -0
- package/dist/adapters/docker/openclaw-bridge.js +173 -0
- package/dist/adapters/drupal/generator.js +76 -76
- package/dist/adapters/drupal/index.d.ts +1 -0
- package/dist/adapters/drupal/index.js +2 -0
- package/dist/adapters/drupal/twig-renderer.d.ts +23 -0
- package/dist/adapters/drupal/twig-renderer.js +99 -0
- package/dist/adapters/gitlab/agent-generator.js +2 -1
- package/dist/adapters/openai-agents/adapter.js +2 -2
- package/dist/api/index.js +2 -1
- package/dist/api/routes/mcp.router.js +3 -1
- package/dist/api/routes/wizard.router.js +3 -1
- package/dist/cli/commands/agent/discover-type.command.js +1 -1
- package/dist/cli/commands/agent-card.command.js +37 -10
- package/dist/cli/commands/agents-sync.command.d.ts +2 -2
- package/dist/cli/commands/agents-sync.command.js +27 -17
- package/dist/cli/commands/catalog/config.js +1 -1
- package/dist/cli/commands/catalog/validate.command.js +2 -2
- package/dist/cli/commands/config.command.js +2 -2
- package/dist/cli/commands/daemon.command.js +32 -8
- package/dist/cli/commands/discover.d.ts +1 -1
- package/dist/cli/commands/discover.js +16 -8
- package/dist/cli/commands/economics.command.d.ts +9 -0
- package/dist/cli/commands/economics.command.js +113 -0
- package/dist/cli/commands/export.command.js +6 -3
- package/dist/cli/commands/mcp.command.js +3 -1
- package/dist/cli/commands/memory.command.d.ts +18 -0
- package/dist/cli/commands/memory.command.js +168 -0
- package/dist/cli/commands/publish.command.js +7 -4
- package/dist/cli/commands/serve-builder-routes.js +1 -1
- package/dist/cli/commands/usie-skills.command.d.ts +24 -0
- package/dist/cli/commands/usie-skills.command.js +297 -0
- package/dist/cli/commands/validate.command.js +8 -1
- package/dist/cli/commands/verify.d.ts +3 -3
- package/dist/cli/commands/verify.js +12 -6
- package/dist/cli/commands/workspace.command.d.ts +1 -0
- package/dist/cli/commands/workspace.command.js +28 -4
- package/dist/cli/index.js +12 -0
- package/dist/cli/schema-driven/schema-loader.js +5 -5
- package/dist/cli/workspace-validate.d.ts +23 -0
- package/dist/cli/workspace-validate.js +117 -0
- package/dist/data/platform-matrix.js +1 -4
- package/dist/generated/types.d.ts +97 -97
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/dist/mcp-server/index.js +658 -982
- package/dist/mesh/discovery-gkg.d.ts +26 -0
- package/dist/mesh/discovery-gkg.js +92 -0
- package/dist/messenger/Handler/AgentBatchHandler.js +3 -2
- package/dist/messenger/Handler/AgentExecutionHandler.js +6 -1
- package/dist/package.json +43 -14
- package/dist/sdks/shared/types.d.ts +1 -1
- package/dist/services/agent-card-generator.js +6 -2
- package/dist/services/daemon/audit-log.service.js +3 -1
- package/dist/services/daemon/execution.service.js +8 -4
- package/dist/services/daemon/fs-watcher.service.js +6 -7
- package/dist/services/daemon/pairing.service.js +2 -1
- package/dist/services/daemon/skill-aggregator.service.js +105 -21
- package/dist/services/daemon/sse-endpoints.js +1 -1
- package/dist/services/daemon/ws-server.js +10 -3
- package/dist/services/export/langchain/langchain-exporter.js +2 -2
- package/dist/services/export/langchain/memory-generator.js +2 -2
- package/dist/services/export/testing/test-generator.js +1 -1
- package/dist/services/governance/cedar-provider.js +12 -8
- package/dist/services/governance/cedar-validator.service.js +1 -1
- package/dist/services/mcp/bridge.service.js +40 -9
- package/dist/services/openapi-extensions-validation.d.ts +20 -0
- package/dist/services/openapi-extensions-validation.js +193 -0
- package/dist/services/release-automation/merge-request.service.d.ts +4 -4
- package/dist/services/release-automation/release-buttons.js +3 -3
- package/dist/services/release-automation/schemas/release.schema.d.ts +3 -3
- package/dist/services/runtime/openai.adapter.d.ts +46 -13
- package/dist/services/runtime/openai.adapter.js +169 -131
- package/dist/services/skill-registry.service.d.ts +1 -1
- package/dist/services/skills-pipeline/skills-research.service.js +47 -7
- package/dist/services/taxonomy-service.d.ts +3 -3
- package/dist/services/trust/trust.service.js +6 -4
- package/dist/services/validation-zod.service.js +3 -22
- package/dist/services/validators/index.d.ts +1 -0
- package/dist/services/validators/index.js +1 -0
- package/dist/services/validators/registry.d.ts +21 -0
- package/dist/services/validators/registry.js +42 -0
- package/dist/skills/test-skill/package.json +1 -1
- package/dist/spec/extensions/cognition.schema.json +87 -0
- package/dist/spec/extensions/role-manifest.md +188 -0
- package/dist/spec/layer4-economics/duadp-examples.json +44 -0
- package/dist/spec/v0.4/agent.schema.json +14 -0
- package/dist/spec/v0.4/extensions/mcp/README.md +1 -1
- package/dist/spec/v0.5/agent-builder-openapi.yaml +230 -0
- package/dist/spec/v0.5/agent.schema.json +34 -2
- package/dist/spec/v0.5/extensions/cognition/cognition.schema.json +78 -1
- package/dist/spec/v0.5/extensions/economics/context-pack.schema.json +91 -0
- package/dist/spec/v0.5/extensions/economics/execution-profile.schema.json +148 -0
- package/dist/spec/v0.5/extensions/economics/failure-semantics.schema.json +32 -0
- package/dist/spec/v0.5/extensions/economics/replay-packet.schema.json +120 -0
- package/dist/spec/v0.5/memory-hierarchy.yaml +120 -0
- package/dist/spec/v0.5/role.schema.json +268 -0
- package/dist/spec/v1/agent-card.schema.json +254 -0
- package/dist/types/cognition.zod.d.ts +312 -0
- package/dist/types/cognition.zod.js +223 -0
- package/dist/types/identity.zod.d.ts +5 -5
- package/dist/types/index.d.ts +54 -6
- package/dist/types/index.js +6 -2
- package/dist/types/personality.zod.d.ts +3 -3
- package/dist/types/role.d.ts +126 -0
- package/dist/types/role.js +38 -0
- package/dist/utils/http-client.d.ts +22 -0
- package/dist/utils/http-client.js +51 -0
- package/dist/utils/index.d.ts +3 -0
- package/dist/utils/index.js +3 -0
- package/dist/utils/proxy-resolver.d.ts +36 -0
- package/dist/utils/proxy-resolver.js +59 -0
- package/dist/utils/user-agent.d.ts +11 -0
- package/dist/utils/user-agent.js +17 -0
- package/dist/validation/validator.js +1 -1
- package/dist/validation/version-compliance.js +1 -1
- package/examples/agents/01-customer-support-bot/agent.ossa.yaml +24 -31
- package/examples/agents/05-sales-assistant/agent.ossa.yaml +35 -23
- package/examples/agents/07-research-assistant/agent.ossa.yaml +27 -21
- package/examples/agents/10-meeting-assistant/agent.ossa.yaml +27 -35
- package/examples/agents/security-audit-agent.ossa.yaml +234 -0
- package/examples/agentscope/react-assistant/README.md +1 -1
- package/examples/agentscope/react-assistant/agent.ossa.yaml +37 -33
- package/examples/drupal/content-moderator.ossa.yaml +2 -2
- package/examples/drupal/drupal-contributor-agent/.eslintrc.json +58 -0
- package/examples/drupal/drupal-contributor-agent/.prettierrc.json +10 -0
- package/examples/drupal/drupal-contributor-agent/package.json +55 -0
- package/examples/drupal/drupal-contributor-agent/src/core/index.ts +10 -0
- package/examples/drupal/drupal-contributor-agent/src/index.ts +17 -0
- package/examples/drupal/drupal-contributor-agent/src/types/index.ts +180 -0
- package/examples/drupal/drupal-contributor-agent/tsconfig.json +36 -0
- package/examples/drupal/drupal-contributor.ossa.yaml +247 -0
- package/examples/export/langchain/production-agent-with-memory/README.md +1 -1
- package/examples/export/langchain/production-agent-with-memory/agent.ossa.yaml +13 -23
- package/examples/export/langchain/production-agent-with-streaming/agent.ossa.yaml +1 -15
- package/examples/export/langchain/production-agent-with-tools/agent.ossa.yaml +28 -29
- package/examples/getting-started/01-minimal-agent.ossa.yaml +1 -1
- package/examples/getting-started/02-agent-with-tools.ossa.yaml +1 -1
- package/examples/getting-started/03-agent-with-safety.ossa.yaml +1 -1
- package/examples/getting-started/04-agent-with-messaging.ossa.yaml +1 -1
- package/examples/getting-started/05-workflow-composition.ossa.yaml +1 -1
- package/examples/getting-started/README.md +3 -3
- package/examples/getting-started/hello-world-complete.ossa.yaml +1 -1
- package/examples/gitlab-agents/gitlab-ci-agent.ossa.yaml +221 -0
- package/examples/hierarchical-agent.ossa.yaml +10 -53
- package/examples/kagent/ossa-kagent-anthropic.ossa.yaml +2 -25
- package/examples/kagent/ossa-kagent-mcp-tools.ossa.yaml +2 -30
- package/examples/kagent/ossa-kagent-multi-tool.ossa.yaml +2 -18
- package/examples/kagent/ossa-kagent-poc.ossa.yaml +2 -16
- package/examples/pipeline-agent.ossa.yaml +3 -3
- package/examples/platform-specific/claude-code-subagent.yaml +1 -1
- package/examples/platform-specific/cursor-coding-agent.yaml +1 -1
- package/examples/platform-specific/warp-terminal-agent.yaml +1 -1
- package/examples/production-ready/01-customer-support-bot/agent.ossa.yaml +24 -31
- package/examples/production-ready/05-sales-assistant/agent.ossa.yaml +35 -23
- package/examples/production-ready/07-research-assistant/agent.ossa.yaml +27 -19
- package/examples/production-ready/10-meeting-assistant/agent.ossa.yaml +27 -35
- package/examples/roles/drupal-developer.role.yaml +37 -0
- package/examples/roles/platform-operator.role.yaml +28 -0
- package/examples/roles/security-auditor.role.yaml +27 -0
- package/examples/swarm-agent.ossa.yaml +13 -51
- package/examples/team-agent.ossa.yaml +12 -61
- package/examples/team-lead-teammate.ossa.yaml +12 -17
- package/openapi/agent-cognition-sessions.yaml +580 -0
- package/openapi/agent-communication.yaml +260 -212
- package/openapi/agent-crud.yaml +237 -207
- package/openapi/agent-discovery.yaml +119 -81
- package/openapi/agent-identity.yaml +219 -187
- package/openapi/agent-taxonomy.yaml +95 -38
- package/openapi/agents-md-service.yaml +103 -30
- package/openapi/cli/openapi.yaml +147 -40
- package/openapi/core/ossa-core-api.openapi.yaml +327 -271
- package/openapi/core/ossa-registry-api.openapi.yaml +299 -236
- package/openapi/core/ossa-registry.openapi.yaml +299 -159
- package/openapi/core/unified-agent-gateway.openapi.yaml +234 -170
- package/openapi/daemon-api.openapi.yaml +323 -181
- package/openapi/dev-cli/openapi.yaml +137 -113
- package/openapi/github-sync.yaml +62 -19
- package/openapi/marketplace-plugin.openapi.yaml +539 -466
- package/openapi/ossa-api.openapi.yaml +354 -213
- package/openapi/ossa-cli-enhancements.openapi.yaml +109 -90
- package/openapi/ossa-cli.yaml +260 -184
- package/openapi/protocols/sse-streams.yaml +66 -74
- package/openapi/protocols/websocket-events.yaml +61 -54
- package/openapi/reference-implementations/aiflow-bridge-api.openapi.yaml +37 -20
- package/openapi/reference-implementations/compliance-agent-api.openapi.yaml +35 -23
- package/openapi/reference-implementations/crewai-agent-api.openapi.yaml +29 -18
- package/openapi/reference-implementations/critic-agent-api.openapi.yaml +45 -19
- package/openapi/reference-implementations/document-analyzer-api.openapi.yaml +30 -24
- package/openapi/reference-implementations/drupal-agent-api.openapi.yaml +101 -50
- package/openapi/reference-implementations/getting-started-hello-world-api.openapi.yaml +33 -22
- package/openapi/reference-implementations/gitlab-ml-recommender-api.openapi.yaml +20 -16
- package/openapi/reference-implementations/governor-agent-api.openapi.yaml +41 -23
- package/openapi/reference-implementations/helm-generator.openapi.yaml +88 -46
- package/openapi/reference-implementations/integrator-agent-api.openapi.yaml +30 -20
- package/openapi/reference-implementations/judge-agent-api.openapi.yaml +22 -16
- package/openapi/reference-implementations/k8s-troubleshooter-api.openapi.yaml +32 -18
- package/openapi/reference-implementations/langchain-agent-api.openapi.yaml +32 -21
- package/openapi/reference-implementations/monitor-agent-api.openapi.yaml +34 -21
- package/openapi/reference-implementations/orchestrator-agent-api.openapi.yaml +49 -27
- package/openapi/reference-implementations/quickstart-support-agent-api.openapi.yaml +27 -19
- package/openapi/reference-implementations/self-evolving-ecosystem.openapi.yaml +427 -293
- package/openapi/reference-implementations/worker-agent-api.openapi.yaml +34 -23
- package/openapi/reference-implementations/workflow-orchestrator-api.openapi.yaml +35 -21
- package/openapi/release-automation.openapi.yaml +48 -14
- package/openapi/schemas/common/agent.yaml +30 -29
- package/openapi/schemas/common/economics.yaml +98 -0
- package/openapi/schemas/common/errors.yaml +13 -3
- package/openapi/schemas/common/metadata.yaml +22 -7
- package/openapi/schemas/common/pagination.yaml +18 -6
- package/openapi/schemas/common/security.yaml +13 -5
- package/openapi/schemas/index.yaml +49 -42
- package/openapi/uadp-asyncapi.yaml +5 -3
- package/openapi/uadp-openapi.yaml +243 -165
- package/openapi/version-management.openapi.yaml +142 -135
- package/package.json +43 -14
- package/spec/extensions/cognition.schema.json +87 -0
- package/spec/extensions/role-manifest.md +188 -0
- package/spec/layer4-economics/duadp-examples.json +44 -0
- package/spec/v0.4/agent.schema.json +14 -0
- package/spec/v0.4/extensions/mcp/README.md +1 -1
- package/spec/v0.5/agent-builder-openapi.yaml +230 -0
- package/spec/v0.5/agent.schema.json +34 -2
- package/spec/v0.5/extensions/cognition/cognition.schema.json +78 -1
- package/spec/v0.5/extensions/economics/context-pack.schema.json +91 -0
- package/spec/v0.5/extensions/economics/execution-profile.schema.json +148 -0
- package/spec/v0.5/extensions/economics/failure-semantics.schema.json +32 -0
- package/spec/v0.5/extensions/economics/replay-packet.schema.json +120 -0
- package/spec/v0.5/memory-hierarchy.yaml +120 -0
- package/spec/v0.5/role.schema.json +268 -0
- package/spec/v1/agent-card.schema.json +254 -0
- package/dist/adapters/a2a/__tests__/mcp-integration.spec.d.ts +0 -5
- package/dist/adapters/a2a/__tests__/mcp-integration.spec.js +0 -268
- package/dist/adapters/a2a/__tests__/mcp-transport.spec.d.ts +0 -5
- package/dist/adapters/a2a/__tests__/mcp-transport.spec.js +0 -203
- package/dist/mcp-server/__tests__/mcp-server.spec.d.ts +0 -8
- package/dist/mcp-server/__tests__/mcp-server.spec.js +0 -557
- package/dist/validation/__tests__/error-codes.test.d.ts +0 -5
- package/dist/validation/__tests__/error-codes.test.js +0 -252
- package/dist/version-management/core/version-manager.test.d.ts +0 -2
- package/dist/version-management/core/version-manager.test.js +0 -210
package/package.json
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bluefly/openstandardagents",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.1",
|
|
4
4
|
"exports": {
|
|
5
|
-
"./schema": "./spec/v0.
|
|
5
|
+
"./schema": "./spec/v0.5/agent.schema.json",
|
|
6
6
|
"./schema/v0.4": "./spec/v0.4/agent.schema.json",
|
|
7
7
|
"./schema/v0.4.1": "./spec/v0.4/agent.schema.json",
|
|
8
|
+
"./schema/v0.5": "./spec/v0.5/agent.schema.json",
|
|
9
|
+
"./schema/v0.5.0": "./spec/v0.5/agent.schema.json",
|
|
8
10
|
".": {
|
|
9
11
|
"types": "./dist/index.d.ts",
|
|
10
12
|
"import": "./dist/index.js",
|
|
@@ -46,7 +48,7 @@
|
|
|
46
48
|
"import": "./dist/services/agent-card-generator.js",
|
|
47
49
|
"require": "./dist/services/agent-card-generator.js"
|
|
48
50
|
},
|
|
49
|
-
"./agent-card-schema": "./spec/v0.
|
|
51
|
+
"./agent-card-schema": "./spec/v0.5/agent-card.schema.json",
|
|
50
52
|
"./sdk": {
|
|
51
53
|
"types": "./dist/sdk.d.ts",
|
|
52
54
|
"import": "./dist/sdk.js",
|
|
@@ -72,6 +74,11 @@
|
|
|
72
74
|
"types": "./dist/services/trust/trust.service.d.ts",
|
|
73
75
|
"import": "./dist/services/trust/trust.service.js",
|
|
74
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"
|
|
75
82
|
}
|
|
76
83
|
},
|
|
77
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.).",
|
|
@@ -150,8 +157,9 @@
|
|
|
150
157
|
"build:assets": "cp -r spec dist/ && cp package.json .version.json dist/",
|
|
151
158
|
"build:clean": "npm run clean && npm run build",
|
|
152
159
|
"dev": "tsc --watch",
|
|
153
|
-
"clean": "
|
|
160
|
+
"clean": "node -e \"const fs=require('node:fs'); ['dist','coverage','.tsbuildinfo'].forEach((p)=>fs.rmSync(p,{recursive:true,force:true}))\"",
|
|
154
161
|
"// TESTING": "",
|
|
162
|
+
"pretest": "npm run build",
|
|
155
163
|
"test": "jest",
|
|
156
164
|
"test:unit": "jest tests/unit --forceExit",
|
|
157
165
|
"test:integration": "jest tests/integration",
|
|
@@ -185,7 +193,7 @@
|
|
|
185
193
|
"validate:sdk:python": "cd src/sdks/python && python -m pip install --quiet -e . && python -m pytest tests/ -v || true",
|
|
186
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",
|
|
187
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",
|
|
188
|
-
"validate:examples": "
|
|
196
|
+
"validate:examples": "tsx src/tools/validation/validate-examples.ts",
|
|
189
197
|
"validate:versions": "tsx src/tools/validate-versions.ts",
|
|
190
198
|
"fix:versions": "tsx src/tools/fix-versions.ts",
|
|
191
199
|
"validate:power": "tsx src/tools/validation/validate-ossa.ts",
|
|
@@ -227,7 +235,7 @@
|
|
|
227
235
|
"postinstall": "node bin/postinstall || true",
|
|
228
236
|
"// RELEASE & PUBLISH": "",
|
|
229
237
|
"prepublishOnly": "publint && npm run test:unit && npm run build",
|
|
230
|
-
"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'",
|
|
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'",
|
|
231
239
|
"validate:package": "publint",
|
|
232
240
|
"publish:dry-run": "npm publish --dry-run",
|
|
233
241
|
"release:check": "npm run typecheck && npm run test:unit && npm run validate:schema && publint",
|
|
@@ -235,9 +243,13 @@
|
|
|
235
243
|
"release:semantic:dry": "npx semantic-release --dry-run"
|
|
236
244
|
},
|
|
237
245
|
"dependencies": {
|
|
246
|
+
"@ai-sdk/anthropic": "^3.0.58",
|
|
247
|
+
"@ai-sdk/google": "^3.0.43",
|
|
248
|
+
"@ai-sdk/openai": "^3.0.41",
|
|
238
249
|
"@anthropic-ai/claude-agent-sdk": "^0.2.50",
|
|
239
250
|
"@anthropic-ai/sdk": "^0.71.0",
|
|
240
251
|
"@aws-sdk/client-bedrock-runtime": "^3.955.0",
|
|
252
|
+
"@better-openclaw/core": "^1.0.30",
|
|
241
253
|
"@cedar-policy/cedar-wasm": "^4.9.1",
|
|
242
254
|
"@gitbeaker/node": "^35.8.1",
|
|
243
255
|
"@gitbeaker/rest": "^43.8.0",
|
|
@@ -245,10 +257,10 @@
|
|
|
245
257
|
"@langchain/anthropic": "^0.3.10",
|
|
246
258
|
"@langchain/core": "^0.3.29",
|
|
247
259
|
"@langchain/openai": "^0.3.17",
|
|
248
|
-
"@modelcontextprotocol/sdk": "^
|
|
260
|
+
"@modelcontextprotocol/sdk": "^1.27.1",
|
|
249
261
|
"@noble/ed25519": "^2.3.0",
|
|
250
262
|
"@octokit/rest": "^20.0.0",
|
|
251
|
-
"@openai/agents": "^0.
|
|
263
|
+
"@openai/agents": "^0.7.1",
|
|
252
264
|
"@opentelemetry/api": "^1.9.0",
|
|
253
265
|
"@opentelemetry/exporter-jaeger": "^1.28.0",
|
|
254
266
|
"@opentelemetry/exporter-logs-otlp-http": "^0.211.0",
|
|
@@ -261,11 +273,13 @@
|
|
|
261
273
|
"@opentelemetry/sdk-metrics": "^2.5.0",
|
|
262
274
|
"@opentelemetry/sdk-node": "^0.54.0",
|
|
263
275
|
"@opentelemetry/sdk-trace-base": "^1.28.0",
|
|
264
|
-
"@qdrant/js-client-rest": "^1.
|
|
276
|
+
"@qdrant/js-client-rest": "^1.17.0",
|
|
265
277
|
"@temporalio/activity": "^1.11.3",
|
|
266
278
|
"@temporalio/workflow": "^1.11.3",
|
|
267
279
|
"@types/tar": "^6.1.13",
|
|
268
280
|
"@types/ws": "^8.18.1",
|
|
281
|
+
"agent-browser": "^0.20.11",
|
|
282
|
+
"ai": "^6.0.116",
|
|
269
283
|
"ajv": "^8.12.0",
|
|
270
284
|
"ajv-formats": "^3.0.1",
|
|
271
285
|
"axios": "^1.12.2",
|
|
@@ -291,18 +305,22 @@
|
|
|
291
305
|
"pino": "^10.3.0",
|
|
292
306
|
"pino-pretty": "^13.1.3",
|
|
293
307
|
"prom-client": "^15.1.3",
|
|
308
|
+
"proxy-agent": "^7.0.0",
|
|
294
309
|
"readline": "^1.3.0",
|
|
295
310
|
"reflect-metadata": "^0.2.2",
|
|
296
311
|
"semver": "^7.7.3",
|
|
297
|
-
"tar": "^7.5.
|
|
298
|
-
"
|
|
312
|
+
"tar": "^7.5.11",
|
|
313
|
+
"twig": "^2.0.0",
|
|
314
|
+
"twig-drupal-filters": "^3.2.0",
|
|
315
|
+
"universal-user-agent": "^7.0.3",
|
|
316
|
+
"uuid": "^11.1.0",
|
|
299
317
|
"web-did-resolver": "^2.0.32",
|
|
300
318
|
"ws": "^8.19.0",
|
|
301
319
|
"yaml": "^2.3.0",
|
|
302
|
-
"zod": "^4.
|
|
320
|
+
"zod": "^4.3.6"
|
|
303
321
|
},
|
|
304
322
|
"devDependencies": {
|
|
305
|
-
"@bluefly/duadp": "^0.1.
|
|
323
|
+
"@bluefly/duadp": "^0.1.4",
|
|
306
324
|
"@jest/globals": "^29.7.0",
|
|
307
325
|
"@octokit/rest": "^22.0.1",
|
|
308
326
|
"@semantic-release/changelog": "^6.0.3",
|
|
@@ -320,6 +338,7 @@
|
|
|
320
338
|
"@types/pg": "^8.15.5",
|
|
321
339
|
"@types/redis": "^4.0.10",
|
|
322
340
|
"@types/semver": "^7.7.1",
|
|
341
|
+
"@types/twig": "^1.12.17",
|
|
323
342
|
"@typescript-eslint/eslint-plugin": "^8.48.0",
|
|
324
343
|
"@typescript-eslint/parser": "^8.48.0",
|
|
325
344
|
"ajv-cli": "^5.0.0",
|
|
@@ -344,7 +363,7 @@
|
|
|
344
363
|
"vitest": "^2.1.8"
|
|
345
364
|
},
|
|
346
365
|
"optionalDependencies": {
|
|
347
|
-
"nodemailer": "^
|
|
366
|
+
"nodemailer": "^8.0.2"
|
|
348
367
|
},
|
|
349
368
|
"engines": {
|
|
350
369
|
"node": ">=20.0.0",
|
|
@@ -353,5 +372,15 @@
|
|
|
353
372
|
"volta": {
|
|
354
373
|
"node": "22.19.0",
|
|
355
374
|
"npm": "11.10.0"
|
|
375
|
+
},
|
|
376
|
+
"overrides": {
|
|
377
|
+
"@hono/node-server": "^1.19.10",
|
|
378
|
+
"express-rate-limit": "^8.2.2",
|
|
379
|
+
"hono": "^4.12.7",
|
|
380
|
+
"langsmith": "^0.4.6",
|
|
381
|
+
"fast-xml-parser": "^5.3.8",
|
|
382
|
+
"@langchain/anthropic": {
|
|
383
|
+
"fast-xml-parser": "^4.5.4"
|
|
384
|
+
}
|
|
356
385
|
}
|
|
357
386
|
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://openstandardagents.org/schemas/extensions/cognition.schema.json",
|
|
4
|
+
"title": "OSSA Cognition Extension",
|
|
5
|
+
"description": "Declares agent session capabilities, hypothesis behavior, and alignment gates for collaborative multi-agent cognition",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"session": {
|
|
9
|
+
"type": "object",
|
|
10
|
+
"description": "Session capabilities for collaborative multi-agent interactions",
|
|
11
|
+
"properties": {
|
|
12
|
+
"joinable": {
|
|
13
|
+
"type": "boolean",
|
|
14
|
+
"description": "Can this agent join collaborative sessions"
|
|
15
|
+
},
|
|
16
|
+
"maxConcurrent": {
|
|
17
|
+
"type": "integer",
|
|
18
|
+
"minimum": 1,
|
|
19
|
+
"default": 1,
|
|
20
|
+
"description": "Maximum number of concurrent sessions this agent can participate in"
|
|
21
|
+
},
|
|
22
|
+
"role": {
|
|
23
|
+
"type": "string",
|
|
24
|
+
"enum": ["leader", "contributor", "observer"],
|
|
25
|
+
"default": "contributor",
|
|
26
|
+
"description": "Default role this agent assumes in collaborative sessions"
|
|
27
|
+
},
|
|
28
|
+
"conflictBehavior": {
|
|
29
|
+
"type": "string",
|
|
30
|
+
"enum": ["pause", "yield", "escalate"],
|
|
31
|
+
"default": "pause",
|
|
32
|
+
"description": "How the agent handles conflicts during collaborative sessions"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"additionalProperties": false
|
|
36
|
+
},
|
|
37
|
+
"hypothesis": {
|
|
38
|
+
"type": "object",
|
|
39
|
+
"description": "Hypothesis declaration behavior for transparent agent reasoning",
|
|
40
|
+
"properties": {
|
|
41
|
+
"declaresIntent": {
|
|
42
|
+
"type": "boolean",
|
|
43
|
+
"default": true,
|
|
44
|
+
"description": "Whether the agent declares its intent before acting"
|
|
45
|
+
},
|
|
46
|
+
"confidenceThreshold": {
|
|
47
|
+
"type": "number",
|
|
48
|
+
"minimum": 0,
|
|
49
|
+
"maximum": 1,
|
|
50
|
+
"default": 0.7,
|
|
51
|
+
"description": "Minimum confidence score required to proceed without review"
|
|
52
|
+
},
|
|
53
|
+
"requiresAlignment": {
|
|
54
|
+
"type": "boolean",
|
|
55
|
+
"default": false,
|
|
56
|
+
"description": "Whether the agent must pass an alignment gate before executing hypotheses"
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"additionalProperties": false
|
|
60
|
+
},
|
|
61
|
+
"alignmentGate": {
|
|
62
|
+
"type": "object",
|
|
63
|
+
"description": "Alignment gate configuration for hypothesis validation before execution",
|
|
64
|
+
"properties": {
|
|
65
|
+
"enabled": {
|
|
66
|
+
"type": "boolean",
|
|
67
|
+
"default": false,
|
|
68
|
+
"description": "Whether the alignment gate is active"
|
|
69
|
+
},
|
|
70
|
+
"arbiter": {
|
|
71
|
+
"type": "string",
|
|
72
|
+
"enum": ["human", "compliance-engine", "consensus"],
|
|
73
|
+
"default": "human",
|
|
74
|
+
"description": "Who or what arbitrates alignment decisions"
|
|
75
|
+
},
|
|
76
|
+
"timeout": {
|
|
77
|
+
"type": "string",
|
|
78
|
+
"default": "5m",
|
|
79
|
+
"pattern": "^\\d+[smhd]$",
|
|
80
|
+
"description": "Maximum time to wait for alignment decision (e.g. 5m, 30s, 1h)"
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
"additionalProperties": false
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
"additionalProperties": false
|
|
87
|
+
}
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
# OSSA Role Manifest Extension
|
|
2
|
+
|
|
3
|
+
**Version:** 0.5.0
|
|
4
|
+
**Status:** Draft
|
|
5
|
+
**Last Updated:** 2026-03-13
|
|
6
|
+
|
|
7
|
+
## Overview
|
|
8
|
+
|
|
9
|
+
This extension introduces `kind: Role` as a new OSSA manifest type. Roles define **behavioral overlays** for IDE and CLI agents (Claude Code, Cursor, Codex CLI, etc.) — configuring instructions, tool access, hooks, MCP server connections, and activation conditions.
|
|
10
|
+
|
|
11
|
+
### Role vs Agent
|
|
12
|
+
|
|
13
|
+
| Aspect | `kind: Agent` | `kind: Role` |
|
|
14
|
+
|--------|--------------|--------------|
|
|
15
|
+
| **Purpose** | Autonomous agentic loop | Operator context overlay |
|
|
16
|
+
| **Execution** | Runs independently | Applied to an existing agent session |
|
|
17
|
+
| **Lifecycle** | Deployed, scaled, monitored | Activated, composed, switched |
|
|
18
|
+
| **Identity** | Has its own agent ID | Inherits the host agent's identity |
|
|
19
|
+
| **Example** | A code review bot | "Drupal developer" context for Claude Code |
|
|
20
|
+
|
|
21
|
+
Roles answer the question: *"What context, rules, and tools should an AI coding assistant have when working in this domain?"*
|
|
22
|
+
|
|
23
|
+
## Manifest Structure
|
|
24
|
+
|
|
25
|
+
```yaml
|
|
26
|
+
apiVersion: ossa/v0.5
|
|
27
|
+
kind: Role
|
|
28
|
+
metadata:
|
|
29
|
+
name: <role-name> # Required: DNS-style identifier
|
|
30
|
+
version: <semver> # Recommended: e.g. 1.0.0
|
|
31
|
+
description: <string> # Human-readable summary
|
|
32
|
+
labels: # Optional: key-value pairs for filtering
|
|
33
|
+
platform: claude-code
|
|
34
|
+
domain: drupal
|
|
35
|
+
annotations: # Optional: non-identifying metadata
|
|
36
|
+
org: example-corp
|
|
37
|
+
spec:
|
|
38
|
+
role: <string> # System prompt / persona definition
|
|
39
|
+
instructions: # Behavioral instructions
|
|
40
|
+
preamble: <markdown> # Prepended to every conversation
|
|
41
|
+
constraints: # Hard rules (MUST/MUST NOT)
|
|
42
|
+
- <string>
|
|
43
|
+
tools: # Tool access configuration
|
|
44
|
+
allowed: [<string>] # Allowed tool names
|
|
45
|
+
denied: [<string>] # Denied tool names (overrides allowed)
|
|
46
|
+
skills: [<string>] # OSSA skill references
|
|
47
|
+
hooks: # Lifecycle hooks
|
|
48
|
+
on_activate: <string> # Run when role is activated
|
|
49
|
+
on_deactivate: <string> # Run when role is deactivated
|
|
50
|
+
pre_commit: <string> # Run before git commits
|
|
51
|
+
post_save: <string> # Run after file saves
|
|
52
|
+
context: # Context injection
|
|
53
|
+
schemas: [<path>] # JSON/OpenAPI schemas to load
|
|
54
|
+
files: # Files to include in context
|
|
55
|
+
- path: <glob>
|
|
56
|
+
description: <string>
|
|
57
|
+
knowledge: [<path>] # Knowledge base files (markdown, text)
|
|
58
|
+
protocols: # Protocol connections
|
|
59
|
+
mcp: # Model Context Protocol
|
|
60
|
+
servers:
|
|
61
|
+
- name: <string>
|
|
62
|
+
transport: stdio | sse
|
|
63
|
+
command: <string> # For stdio transport
|
|
64
|
+
args: [<string>]
|
|
65
|
+
url: <string> # For SSE transport
|
|
66
|
+
extends: # Role composition
|
|
67
|
+
- role: <role-name> # Inherit from another role
|
|
68
|
+
override: true | false # Whether to override conflicts (default: false)
|
|
69
|
+
activation: # When this role should activate
|
|
70
|
+
file_patterns: [<glob>] # Activate when matching files are open
|
|
71
|
+
command: <string> # CLI command to activate (e.g. "/role drupal")
|
|
72
|
+
env: # Environment variable conditions
|
|
73
|
+
<key>: <value>
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
## Field Reference
|
|
77
|
+
|
|
78
|
+
### `spec.role`
|
|
79
|
+
|
|
80
|
+
A string defining the agent's persona when this role is active. This is the system-level identity statement.
|
|
81
|
+
|
|
82
|
+
```yaml
|
|
83
|
+
spec:
|
|
84
|
+
role: |
|
|
85
|
+
You are a Drupal module developer following Drupal coding standards.
|
|
86
|
+
You write PHP 8.2+ code with strict typing and dependency injection.
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
### `spec.instructions`
|
|
90
|
+
|
|
91
|
+
Structured behavioral instructions.
|
|
92
|
+
|
|
93
|
+
- **`preamble`**: Markdown content prepended to every conversation. Use for rules, conventions, and domain knowledge that should always be present.
|
|
94
|
+
- **`constraints`**: An array of hard rules. Each constraint is a MUST or MUST NOT statement that the agent should never violate.
|
|
95
|
+
|
|
96
|
+
### `spec.tools`
|
|
97
|
+
|
|
98
|
+
Controls which tools the agent can use within this role.
|
|
99
|
+
|
|
100
|
+
- **`allowed`**: Whitelist of tool names. If specified, only these tools are available.
|
|
101
|
+
- **`denied`**: Blacklist of tool names. Takes precedence over `allowed`.
|
|
102
|
+
- **`skills`**: References to OSSA `kind: Skill` manifests that should be loaded.
|
|
103
|
+
|
|
104
|
+
### `spec.hooks`
|
|
105
|
+
|
|
106
|
+
Lifecycle hooks executed at specific points. Values are command strings or script references.
|
|
107
|
+
|
|
108
|
+
- **`on_activate`**: Runs when the role is first activated in a session.
|
|
109
|
+
- **`on_deactivate`**: Runs when switching away from this role.
|
|
110
|
+
- **`pre_commit`**: Runs before git commit operations.
|
|
111
|
+
- **`post_save`**: Runs after file save operations.
|
|
112
|
+
|
|
113
|
+
### `spec.context`
|
|
114
|
+
|
|
115
|
+
Injects additional context into the agent's working memory.
|
|
116
|
+
|
|
117
|
+
- **`schemas`**: Paths to JSON Schema or OpenAPI specification files. The agent can reference these for type-correct code generation.
|
|
118
|
+
- **`files`**: Specific files or globs to include in the agent's context window.
|
|
119
|
+
- **`knowledge`**: Paths to knowledge base documents (markdown, text) that provide domain reference material.
|
|
120
|
+
|
|
121
|
+
### `spec.protocols.mcp`
|
|
122
|
+
|
|
123
|
+
MCP server connections available when this role is active.
|
|
124
|
+
|
|
125
|
+
Each server entry requires:
|
|
126
|
+
- **`name`**: Identifier for the MCP server.
|
|
127
|
+
- **`transport`**: Either `stdio` (local process) or `sse` (HTTP Server-Sent Events).
|
|
128
|
+
- **`command`** + **`args`**: For `stdio` transport, the command to spawn.
|
|
129
|
+
- **`url`**: For `sse` transport, the endpoint URL.
|
|
130
|
+
|
|
131
|
+
### `spec.extends`
|
|
132
|
+
|
|
133
|
+
Enables role composition by inheriting from other roles.
|
|
134
|
+
|
|
135
|
+
- **`role`**: Name of the parent role to inherit from.
|
|
136
|
+
- **`override`**: If `true`, child fields replace parent fields. If `false` (default), child fields merge with parent fields (arrays are concatenated, objects are deep-merged).
|
|
137
|
+
|
|
138
|
+
### `spec.activation`
|
|
139
|
+
|
|
140
|
+
Defines conditions under which this role should automatically activate.
|
|
141
|
+
|
|
142
|
+
- **`file_patterns`**: Glob patterns matched against open files. If any file matches, the role activates.
|
|
143
|
+
- **`command`**: A slash command (e.g., `/role drupal`) that activates the role.
|
|
144
|
+
- **`env`**: Environment variable conditions. All specified variables must match for activation.
|
|
145
|
+
|
|
146
|
+
## Composition Rules
|
|
147
|
+
|
|
148
|
+
When a role extends another:
|
|
149
|
+
|
|
150
|
+
1. **`spec.role`**: Child replaces parent (no merge).
|
|
151
|
+
2. **`spec.instructions.preamble`**: Child is appended after parent.
|
|
152
|
+
3. **`spec.instructions.constraints`**: Arrays are concatenated (all constraints apply).
|
|
153
|
+
4. **`spec.tools.allowed`**: Intersection of parent and child (child cannot grant tools the parent denies).
|
|
154
|
+
5. **`spec.tools.denied`**: Union of parent and child (denials accumulate).
|
|
155
|
+
6. **`spec.tools.skills`**: Arrays are concatenated.
|
|
156
|
+
7. **`spec.hooks`**: Child hooks replace parent hooks for the same lifecycle event.
|
|
157
|
+
8. **`spec.context`**: All context entries are merged (files, schemas, knowledge concatenated).
|
|
158
|
+
9. **`spec.protocols.mcp.servers`**: Arrays are concatenated (all servers available).
|
|
159
|
+
10. **`spec.activation`**: Child activation conditions replace parent.
|
|
160
|
+
|
|
161
|
+
## Relationship to Other OSSA Kinds
|
|
162
|
+
|
|
163
|
+
| Kind | Relationship to Role |
|
|
164
|
+
|------|---------------------|
|
|
165
|
+
| `Agent` | Roles are applied to agents. An agent can have multiple roles. |
|
|
166
|
+
| `Skill` | Roles reference skills via `spec.tools.skills`. Skills provide capabilities; roles provide context. |
|
|
167
|
+
| `Task` | Roles may influence how tasks are executed by setting constraints and tool access. |
|
|
168
|
+
| `Workflow` | Roles can be assigned per workflow step to change agent behavior. |
|
|
169
|
+
|
|
170
|
+
## Platform Mapping
|
|
171
|
+
|
|
172
|
+
Roles map naturally to platform-specific configuration:
|
|
173
|
+
|
|
174
|
+
| Role Field | Claude Code | Cursor | Codex CLI |
|
|
175
|
+
|-----------|-------------|--------|-----------|
|
|
176
|
+
| `spec.role` | CLAUDE.md system prompt | .cursorrules | instructions |
|
|
177
|
+
| `spec.instructions.preamble` | CLAUDE.md content | .cursorrules content | --instructions |
|
|
178
|
+
| `spec.tools.allowed` | Tool permissions | Tool config | --tools |
|
|
179
|
+
| `spec.protocols.mcp` | .mcp.json servers | MCP config | MCP servers |
|
|
180
|
+
| `spec.activation.file_patterns` | Glob triggers | File associations | --pattern |
|
|
181
|
+
|
|
182
|
+
## Examples
|
|
183
|
+
|
|
184
|
+
See `examples/roles/` for complete role manifests:
|
|
185
|
+
|
|
186
|
+
- `drupal-developer.role.yaml` — Drupal module development
|
|
187
|
+
- `security-auditor.role.yaml` — Security audit and compliance review
|
|
188
|
+
- `platform-operator.role.yaml` — Full-stack platform operations with composition
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"records": [
|
|
3
|
+
{
|
|
4
|
+
"id": "did:web:bluefly.io:execution:profiles:fast-route",
|
|
5
|
+
"type": "ExecutionProfile",
|
|
6
|
+
"data": {
|
|
7
|
+
"profile_type": "fast-route",
|
|
8
|
+
"economics": {
|
|
9
|
+
"cost_ceiling_usd": 0.05,
|
|
10
|
+
"context_budget_tokens": 4096
|
|
11
|
+
},
|
|
12
|
+
"performance": {
|
|
13
|
+
"latency_target_ms": 500,
|
|
14
|
+
"priority": 90
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"id": "did:web:bluefly.io:execution:profiles:deep-reason",
|
|
20
|
+
"type": "ExecutionProfile",
|
|
21
|
+
"data": {
|
|
22
|
+
"profile_type": "deep-reason",
|
|
23
|
+
"economics": {
|
|
24
|
+
"cost_ceiling_usd": 2.00,
|
|
25
|
+
"context_budget_tokens": 128000
|
|
26
|
+
},
|
|
27
|
+
"performance": {
|
|
28
|
+
"latency_target_ms": 30000,
|
|
29
|
+
"priority": 50
|
|
30
|
+
},
|
|
31
|
+
"reliability": {
|
|
32
|
+
"failure_semantics": "graceful-degradation",
|
|
33
|
+
"escalation_rules": [
|
|
34
|
+
{
|
|
35
|
+
"on_failure": "timeout",
|
|
36
|
+
"action": "fallback-profile",
|
|
37
|
+
"fallback_profile_id": "balanced-work"
|
|
38
|
+
}
|
|
39
|
+
]
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
]
|
|
44
|
+
}
|
|
@@ -1414,6 +1414,20 @@
|
|
|
1414
1414
|
"audit_required": { "type": "boolean", "default": false }
|
|
1415
1415
|
},
|
|
1416
1416
|
"additionalProperties": false
|
|
1417
|
+
},
|
|
1418
|
+
"sessions": {
|
|
1419
|
+
"type": "object",
|
|
1420
|
+
"description": "CAOE collaborative session capabilities for hypothesis broadcasting and conflict detection",
|
|
1421
|
+
"properties": {
|
|
1422
|
+
"sessionCapable": { "type": "boolean", "default": false },
|
|
1423
|
+
"hypothesisEmission": { "type": "string", "enum": ["required", "optional", "disabled"], "default": "optional" },
|
|
1424
|
+
"conflictBehavior": { "type": "string", "enum": ["block", "warn", "defer"], "default": "block" },
|
|
1425
|
+
"alignmentGate": { "type": "string", "enum": ["human_approval", "auto_on_confidence", "peer_agent", "none"], "default": "human_approval" },
|
|
1426
|
+
"autoLockConfidenceThreshold": { "type": "number", "minimum": 0, "maximum": 1, "default": 0.95 },
|
|
1427
|
+
"maxConcurrentHypotheses": { "type": "integer", "minimum": 1, "maximum": 5, "default": 1 },
|
|
1428
|
+
"cognitiveFingerprint": { "type": "string" }
|
|
1429
|
+
},
|
|
1430
|
+
"additionalProperties": false
|
|
1417
1431
|
}
|
|
1418
1432
|
},
|
|
1419
1433
|
"additionalProperties": false
|
|
@@ -187,7 +187,7 @@ spec:
|
|
|
187
187
|
- "-y"
|
|
188
188
|
- "@modelcontextprotocol/server-postgres"
|
|
189
189
|
env:
|
|
190
|
-
DATABASE_URL: "postgresql://user
|
|
190
|
+
DATABASE_URL: "postgresql://user:${POSTGRES_PASSWORD}@localhost:5432/db"
|
|
191
191
|
capabilities:
|
|
192
192
|
tools:
|
|
193
193
|
listChanged: false
|