@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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
apiVersion: ossa/v0.
|
|
1
|
+
apiVersion: ossa/v0.5
|
|
2
2
|
kind: Agent
|
|
3
3
|
metadata:
|
|
4
4
|
name: sales-assistant
|
|
@@ -19,20 +19,17 @@ spec:
|
|
|
19
19
|
- Automated follow-up communication
|
|
20
20
|
- Meeting scheduling and coordination
|
|
21
21
|
- Sales pipeline management
|
|
22
|
-
|
|
23
22
|
llm:
|
|
24
23
|
provider: openai
|
|
25
24
|
model: gpt-4o
|
|
26
25
|
temperature: 0.7
|
|
27
26
|
maxTokens: 1500
|
|
28
|
-
|
|
29
27
|
capabilities:
|
|
30
28
|
- search_crm
|
|
31
29
|
- create_lead
|
|
32
30
|
- send_followup
|
|
33
31
|
- schedule_meeting
|
|
34
32
|
- update_pipeline
|
|
35
|
-
|
|
36
33
|
tools:
|
|
37
34
|
- type: function
|
|
38
35
|
name: search_crm
|
|
@@ -51,7 +48,6 @@ spec:
|
|
|
51
48
|
type: string
|
|
52
49
|
revenue_range:
|
|
53
50
|
type: string
|
|
54
|
-
|
|
55
51
|
- type: function
|
|
56
52
|
name: create_lead
|
|
57
53
|
description: Create new lead in CRM
|
|
@@ -73,7 +69,6 @@ spec:
|
|
|
73
69
|
required:
|
|
74
70
|
- name
|
|
75
71
|
- email
|
|
76
|
-
|
|
77
72
|
- type: function
|
|
78
73
|
name: send_followup
|
|
79
74
|
description: Send automated follow-up email
|
|
@@ -84,13 +79,16 @@ spec:
|
|
|
84
79
|
type: string
|
|
85
80
|
template:
|
|
86
81
|
type: string
|
|
87
|
-
enum:
|
|
82
|
+
enum:
|
|
83
|
+
- intro
|
|
84
|
+
- demo_followup
|
|
85
|
+
- pricing
|
|
86
|
+
- closing
|
|
88
87
|
personalization:
|
|
89
88
|
type: object
|
|
90
89
|
required:
|
|
91
90
|
- leadId
|
|
92
91
|
- template
|
|
93
|
-
|
|
94
92
|
- type: function
|
|
95
93
|
name: schedule_meeting
|
|
96
94
|
description: Schedule meeting with lead
|
|
@@ -101,7 +99,11 @@ spec:
|
|
|
101
99
|
type: string
|
|
102
100
|
meetingType:
|
|
103
101
|
type: string
|
|
104
|
-
enum:
|
|
102
|
+
enum:
|
|
103
|
+
- discovery
|
|
104
|
+
- demo
|
|
105
|
+
- negotiation
|
|
106
|
+
- closing
|
|
105
107
|
duration:
|
|
106
108
|
type: integer
|
|
107
109
|
suggestedTimes:
|
|
@@ -112,16 +114,23 @@ spec:
|
|
|
112
114
|
required:
|
|
113
115
|
- leadId
|
|
114
116
|
- meetingType
|
|
115
|
-
|
|
116
117
|
memory:
|
|
117
118
|
enabled: true
|
|
118
119
|
type: entity_memory
|
|
119
120
|
entities:
|
|
120
121
|
- type: lead
|
|
121
|
-
fields:
|
|
122
|
+
fields:
|
|
123
|
+
- name
|
|
124
|
+
- company
|
|
125
|
+
- status
|
|
126
|
+
- last_contact
|
|
127
|
+
- notes
|
|
122
128
|
- type: interaction
|
|
123
|
-
fields:
|
|
124
|
-
|
|
129
|
+
fields:
|
|
130
|
+
- date
|
|
131
|
+
- type
|
|
132
|
+
- summary
|
|
133
|
+
- outcome
|
|
125
134
|
observability:
|
|
126
135
|
logging:
|
|
127
136
|
level: info
|
|
@@ -132,15 +141,18 @@ spec:
|
|
|
132
141
|
- emails_sent
|
|
133
142
|
- meetings_scheduled
|
|
134
143
|
- conversion_rate
|
|
135
|
-
|
|
136
144
|
extensions:
|
|
137
145
|
langchain:
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
-
|
|
144
|
-
|
|
145
|
-
-
|
|
146
|
-
|
|
146
|
+
enabled: true
|
|
147
|
+
chain_type: agent
|
|
148
|
+
memory:
|
|
149
|
+
type: vector
|
|
150
|
+
tools:
|
|
151
|
+
- name: search_crm
|
|
152
|
+
description: Search CRM for contacts and accounts
|
|
153
|
+
- name: create_lead
|
|
154
|
+
description: Create new lead in CRM
|
|
155
|
+
- name: send_followup
|
|
156
|
+
description: Send automated follow-up email
|
|
157
|
+
- name: schedule_meeting
|
|
158
|
+
description: Schedule meeting with lead
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
apiVersion: ossa/v0.
|
|
1
|
+
apiVersion: ossa/v0.5
|
|
2
2
|
kind: Agent
|
|
3
3
|
metadata:
|
|
4
4
|
name: research-assistant
|
|
@@ -19,19 +19,16 @@ spec:
|
|
|
19
19
|
- Citation management
|
|
20
20
|
- Research question formulation
|
|
21
21
|
- Methodology analysis
|
|
22
|
-
|
|
23
22
|
llm:
|
|
24
23
|
provider: anthropic
|
|
25
24
|
model: claude-sonnet-4-20250514
|
|
26
25
|
temperature: 0.5
|
|
27
26
|
maxTokens: 4000
|
|
28
|
-
|
|
29
27
|
capabilities:
|
|
30
28
|
- search_papers
|
|
31
29
|
- summarize_paper
|
|
32
30
|
- generate_citations
|
|
33
31
|
- compare_studies
|
|
34
|
-
|
|
35
32
|
tools:
|
|
36
33
|
- type: function
|
|
37
34
|
name: search_papers
|
|
@@ -45,7 +42,11 @@ spec:
|
|
|
45
42
|
type: array
|
|
46
43
|
items:
|
|
47
44
|
type: string
|
|
48
|
-
enum:
|
|
45
|
+
enum:
|
|
46
|
+
- pubmed
|
|
47
|
+
- arxiv
|
|
48
|
+
- semantic_scholar
|
|
49
|
+
- google_scholar
|
|
49
50
|
filters:
|
|
50
51
|
type: object
|
|
51
52
|
properties:
|
|
@@ -57,7 +58,6 @@ spec:
|
|
|
57
58
|
type: number
|
|
58
59
|
required:
|
|
59
60
|
- query
|
|
60
|
-
|
|
61
61
|
- type: function
|
|
62
62
|
name: summarize_paper
|
|
63
63
|
description: Generate structured summary of research paper
|
|
@@ -68,10 +68,13 @@ spec:
|
|
|
68
68
|
type: string
|
|
69
69
|
summaryType:
|
|
70
70
|
type: string
|
|
71
|
-
enum:
|
|
71
|
+
enum:
|
|
72
|
+
- abstract
|
|
73
|
+
- full
|
|
74
|
+
- methodology
|
|
75
|
+
- findings
|
|
72
76
|
required:
|
|
73
77
|
- paperId
|
|
74
|
-
|
|
75
78
|
- type: function
|
|
76
79
|
name: generate_citations
|
|
77
80
|
description: Generate citations in various formats
|
|
@@ -84,11 +87,14 @@ spec:
|
|
|
84
87
|
type: string
|
|
85
88
|
format:
|
|
86
89
|
type: string
|
|
87
|
-
enum:
|
|
90
|
+
enum:
|
|
91
|
+
- apa
|
|
92
|
+
- mla
|
|
93
|
+
- chicago
|
|
94
|
+
- bibtex
|
|
88
95
|
required:
|
|
89
96
|
- papers
|
|
90
97
|
- format
|
|
91
|
-
|
|
92
98
|
memory:
|
|
93
99
|
enabled: true
|
|
94
100
|
type: summary_memory
|
|
@@ -97,7 +103,6 @@ spec:
|
|
|
97
103
|
summary_prompt: |
|
|
98
104
|
Summarize the key research topics, papers discussed,
|
|
99
105
|
and important findings from this session.
|
|
100
|
-
|
|
101
106
|
observability:
|
|
102
107
|
logging:
|
|
103
108
|
level: info
|
|
@@ -107,13 +112,16 @@ spec:
|
|
|
107
112
|
- papers_searched
|
|
108
113
|
- summaries_generated
|
|
109
114
|
- citations_created
|
|
110
|
-
|
|
111
115
|
extensions:
|
|
112
116
|
langchain:
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
-
|
|
119
|
-
|
|
117
|
+
enabled: true
|
|
118
|
+
chain_type: agent
|
|
119
|
+
memory:
|
|
120
|
+
type: summary
|
|
121
|
+
tools:
|
|
122
|
+
- name: search_papers
|
|
123
|
+
description: Search academic papers and publications
|
|
124
|
+
- name: summarize_paper
|
|
125
|
+
description: Generate structured summary of research paper
|
|
126
|
+
- name: generate_citations
|
|
127
|
+
description: Generate citations in various formats
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
apiVersion: ossa/v0.
|
|
1
|
+
apiVersion: ossa/v0.5
|
|
2
2
|
kind: Agent
|
|
3
3
|
metadata:
|
|
4
4
|
name: meeting-assistant
|
|
@@ -19,19 +19,16 @@ spec:
|
|
|
19
19
|
- Action item identification and tracking
|
|
20
20
|
- Meeting minutes generation
|
|
21
21
|
- Follow-up task creation
|
|
22
|
-
|
|
23
22
|
llm:
|
|
24
23
|
provider: openai
|
|
25
24
|
model: gpt-4o
|
|
26
25
|
temperature: 0.5
|
|
27
26
|
maxTokens: 3000
|
|
28
|
-
|
|
29
27
|
capabilities:
|
|
30
28
|
- transcribe_audio
|
|
31
29
|
- summarize_meeting
|
|
32
30
|
- extract_action_items
|
|
33
31
|
- generate_minutes
|
|
34
|
-
|
|
35
32
|
tools:
|
|
36
33
|
- type: function
|
|
37
34
|
name: transcribe_audio
|
|
@@ -50,7 +47,6 @@ spec:
|
|
|
50
47
|
default: true
|
|
51
48
|
required:
|
|
52
49
|
- audioUrl
|
|
53
|
-
|
|
54
50
|
- type: function
|
|
55
51
|
name: summarize_meeting
|
|
56
52
|
description: Generate meeting summary
|
|
@@ -61,13 +57,15 @@ spec:
|
|
|
61
57
|
type: string
|
|
62
58
|
summaryType:
|
|
63
59
|
type: string
|
|
64
|
-
enum:
|
|
60
|
+
enum:
|
|
61
|
+
- brief
|
|
62
|
+
- detailed
|
|
63
|
+
- executive
|
|
65
64
|
includeTopic:
|
|
66
65
|
type: boolean
|
|
67
66
|
default: true
|
|
68
67
|
required:
|
|
69
68
|
- transcript
|
|
70
|
-
|
|
71
69
|
- type: function
|
|
72
70
|
name: extract_action_items
|
|
73
71
|
description: Extract action items from meeting
|
|
@@ -82,7 +80,6 @@ spec:
|
|
|
82
80
|
type: string
|
|
83
81
|
required:
|
|
84
82
|
- transcript
|
|
85
|
-
|
|
86
83
|
- type: function
|
|
87
84
|
name: generate_minutes
|
|
88
85
|
description: Generate formal meeting minutes
|
|
@@ -103,19 +100,22 @@ spec:
|
|
|
103
100
|
type: array
|
|
104
101
|
format:
|
|
105
102
|
type: string
|
|
106
|
-
enum:
|
|
103
|
+
enum:
|
|
104
|
+
- markdown
|
|
105
|
+
- html
|
|
106
|
+
- pdf
|
|
107
107
|
default: markdown
|
|
108
108
|
required:
|
|
109
109
|
- meetingData
|
|
110
|
-
|
|
111
110
|
triggers:
|
|
112
111
|
- type: webhook
|
|
113
112
|
source: zoom
|
|
114
|
-
events:
|
|
113
|
+
events:
|
|
114
|
+
- recording.completed
|
|
115
115
|
- type: webhook
|
|
116
116
|
source: google_meet
|
|
117
|
-
events:
|
|
118
|
-
|
|
117
|
+
events:
|
|
118
|
+
- recording.ready
|
|
119
119
|
tasks:
|
|
120
120
|
- name: process-recording
|
|
121
121
|
steps:
|
|
@@ -125,20 +125,17 @@ spec:
|
|
|
125
125
|
params:
|
|
126
126
|
audioUrl: ${inputs.recording_url}
|
|
127
127
|
speakerDiarization: true
|
|
128
|
-
|
|
129
128
|
- name: generate-summary
|
|
130
129
|
action: function_call
|
|
131
130
|
function: summarize_meeting
|
|
132
131
|
params:
|
|
133
132
|
transcript: ${outputs.transcript}
|
|
134
133
|
summaryType: detailed
|
|
135
|
-
|
|
136
134
|
- name: extract-actions
|
|
137
135
|
action: function_call
|
|
138
136
|
function: extract_action_items
|
|
139
137
|
params:
|
|
140
138
|
transcript: ${outputs.transcript}
|
|
141
|
-
|
|
142
139
|
- name: create-minutes
|
|
143
140
|
action: function_call
|
|
144
141
|
function: generate_minutes
|
|
@@ -148,26 +145,23 @@ spec:
|
|
|
148
145
|
attendees: ${inputs.attendees}
|
|
149
146
|
topics: ${outputs.summary}
|
|
150
147
|
decisions: ${outputs.action_items}
|
|
151
|
-
|
|
152
148
|
- name: send-to-participants
|
|
153
149
|
action: http
|
|
154
150
|
method: POST
|
|
155
151
|
url: ${env.EMAIL_SERVICE_URL}/send
|
|
156
152
|
body:
|
|
157
153
|
to: ${inputs.attendees}
|
|
158
|
-
subject:
|
|
154
|
+
subject: 'Meeting Notes: ${inputs.meeting_title}'
|
|
159
155
|
body: ${outputs.minutes}
|
|
160
156
|
attachments:
|
|
161
157
|
- type: pdf
|
|
162
158
|
content: ${outputs.minutes_pdf}
|
|
163
|
-
|
|
164
159
|
memory:
|
|
165
160
|
enabled: true
|
|
166
161
|
type: conversation_buffer
|
|
167
162
|
window_size: 5
|
|
168
163
|
persistence:
|
|
169
164
|
enabled: false
|
|
170
|
-
|
|
171
165
|
outputs:
|
|
172
166
|
- name: transcript
|
|
173
167
|
type: string
|
|
@@ -181,7 +175,6 @@ spec:
|
|
|
181
175
|
- name: minutes
|
|
182
176
|
type: string
|
|
183
177
|
description: Formal meeting minutes
|
|
184
|
-
|
|
185
178
|
observability:
|
|
186
179
|
logging:
|
|
187
180
|
level: info
|
|
@@ -193,19 +186,18 @@ spec:
|
|
|
193
186
|
- action_items_extracted
|
|
194
187
|
tracing:
|
|
195
188
|
enabled: true
|
|
196
|
-
|
|
197
189
|
extensions:
|
|
198
190
|
langchain:
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
-
|
|
205
|
-
|
|
206
|
-
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
191
|
+
enabled: true
|
|
192
|
+
chain_type: agent
|
|
193
|
+
memory:
|
|
194
|
+
type: buffer
|
|
195
|
+
tools:
|
|
196
|
+
- name: transcribe_audio
|
|
197
|
+
description: Transcribe meeting audio to text
|
|
198
|
+
- name: summarize_meeting
|
|
199
|
+
description: Generate meeting summary
|
|
200
|
+
- name: extract_action_items
|
|
201
|
+
description: Extract action items from meeting
|
|
202
|
+
- name: generate_minutes
|
|
203
|
+
description: Generate formal meeting minutes
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
apiVersion: ossa/v0.5
|
|
2
|
+
kind: Role
|
|
3
|
+
metadata:
|
|
4
|
+
name: drupal-developer
|
|
5
|
+
version: 1.0.0
|
|
6
|
+
description: Drupal module development role
|
|
7
|
+
labels:
|
|
8
|
+
platform: claude-code
|
|
9
|
+
domain: drupal
|
|
10
|
+
spec:
|
|
11
|
+
role: |
|
|
12
|
+
You are a Drupal module developer following Drupal coding standards.
|
|
13
|
+
instructions:
|
|
14
|
+
preamble: |
|
|
15
|
+
## Drupal Rules
|
|
16
|
+
- Use DI everywhere, not \Drupal::service()
|
|
17
|
+
- All config needs schema YAML
|
|
18
|
+
- PHPCS with Drupal/DrupalPractice
|
|
19
|
+
constraints:
|
|
20
|
+
- Never use db_query()
|
|
21
|
+
- Never hardcode module paths
|
|
22
|
+
tools:
|
|
23
|
+
allowed: [Read, Write, Edit, Bash, Grep, Glob]
|
|
24
|
+
skills: [drupal-phpcs, drupal-test-runner]
|
|
25
|
+
context:
|
|
26
|
+
files:
|
|
27
|
+
- path: composer.json
|
|
28
|
+
- path: "*.info.yml"
|
|
29
|
+
protocols:
|
|
30
|
+
mcp:
|
|
31
|
+
servers:
|
|
32
|
+
- name: drupal-tools
|
|
33
|
+
transport: stdio
|
|
34
|
+
command: drush
|
|
35
|
+
args: [mcp:serve]
|
|
36
|
+
activation:
|
|
37
|
+
file_patterns: ["*.module", "*.info.yml", "src/Plugin/**/*.php"]
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
apiVersion: ossa/v0.5
|
|
2
|
+
kind: Role
|
|
3
|
+
metadata:
|
|
4
|
+
name: platform-operator
|
|
5
|
+
version: 1.0.0
|
|
6
|
+
description: Full-stack platform operations role
|
|
7
|
+
spec:
|
|
8
|
+
role: |
|
|
9
|
+
You are a platform operator managing TypeScript services, CI/CD, and infrastructure.
|
|
10
|
+
instructions:
|
|
11
|
+
constraints:
|
|
12
|
+
- API-first: OpenAPI spec before implementation
|
|
13
|
+
- Never create shell scripts
|
|
14
|
+
- Never commit to main/release directly
|
|
15
|
+
tools:
|
|
16
|
+
allowed: [Read, Write, Edit, Bash, Grep, Glob]
|
|
17
|
+
skills: [commit, review-pr]
|
|
18
|
+
protocols:
|
|
19
|
+
mcp:
|
|
20
|
+
servers:
|
|
21
|
+
- name: gkg
|
|
22
|
+
transport: sse
|
|
23
|
+
url: https://gkg.example.com/mcp/sse
|
|
24
|
+
extends:
|
|
25
|
+
- role: typescript-developer
|
|
26
|
+
activation:
|
|
27
|
+
file_patterns: ["src/**/*.ts", "package.json"]
|
|
28
|
+
command: "/role platform"
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
apiVersion: ossa/v0.5
|
|
2
|
+
kind: Role
|
|
3
|
+
metadata:
|
|
4
|
+
name: security-auditor
|
|
5
|
+
version: 1.0.0
|
|
6
|
+
description: Security audit and compliance review role
|
|
7
|
+
labels:
|
|
8
|
+
platform: claude-code
|
|
9
|
+
domain: security
|
|
10
|
+
spec:
|
|
11
|
+
role: |
|
|
12
|
+
You are a security auditor focused on OWASP, CVE analysis, and compliance.
|
|
13
|
+
instructions:
|
|
14
|
+
preamble: |
|
|
15
|
+
## Security Rules
|
|
16
|
+
- Check all inputs for injection vulnerabilities
|
|
17
|
+
- Verify authentication on every endpoint
|
|
18
|
+
- Review secrets management
|
|
19
|
+
constraints:
|
|
20
|
+
- Never approve code with hardcoded credentials
|
|
21
|
+
- Never skip security tests
|
|
22
|
+
tools:
|
|
23
|
+
allowed: [Read, Grep, Glob, Bash]
|
|
24
|
+
denied: [Write, Edit]
|
|
25
|
+
skills: [security-scan, ossa-validate]
|
|
26
|
+
activation:
|
|
27
|
+
file_patterns: ["**/security/**", "**/*.policy"]
|
|
@@ -1,30 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
#
|
|
3
|
-
# Demonstrates the swarm pattern with hub-spoke coordination. A triage
|
|
4
|
-
# coordinator routes conversations to specialist agents via automatic
|
|
5
|
-
# handoffs. Each member handles a specific domain and can hand back to
|
|
6
|
-
# triage when the query falls outside its scope.
|
|
7
|
-
#
|
|
8
|
-
# Key characteristics:
|
|
9
|
-
# - Hub-spoke model: triage agent is the central hub
|
|
10
|
-
# - Direct communication: agents hand off control directly
|
|
11
|
-
# - Assigned task coordination: triage decides who handles what
|
|
12
|
-
# - In-memory persistence: no durable task list needed
|
|
13
|
-
|
|
14
|
-
apiVersion: ossa/v0.4.7
|
|
1
|
+
apiVersion: ossa/v0.5
|
|
15
2
|
kind: Agent
|
|
16
3
|
metadata:
|
|
17
4
|
name: support-swarm
|
|
18
|
-
version:
|
|
19
|
-
description:
|
|
20
|
-
An OpenAI Swarm-style customer support system. A triage coordinator
|
|
21
|
-
routes incoming queries to specialist agents (orders, returns, billing)
|
|
22
|
-
via automatic handoffs. Each specialist can hand back to triage when
|
|
23
|
-
it encounters an out-of-scope request.
|
|
24
|
-
|
|
5
|
+
version: 1.0.0
|
|
6
|
+
description: An OpenAI Swarm-style customer support system. A triage coordinator routes incoming queries to specialist agents (orders, returns, billing) via automatic handoffs. Each specialist can hand back to triage when it encounters an out-of-scope request.
|
|
25
7
|
agentKind: coordinator
|
|
26
|
-
agentType:
|
|
27
|
-
|
|
8
|
+
agentType: swarm
|
|
28
9
|
agentArchitecture:
|
|
29
10
|
pattern: swarm
|
|
30
11
|
capabilities:
|
|
@@ -40,36 +21,25 @@ metadata:
|
|
|
40
21
|
taskCoordination: assigned
|
|
41
22
|
conflictResolution: leader-decides
|
|
42
23
|
taskPersistence: in-memory
|
|
43
|
-
|
|
44
24
|
labels:
|
|
45
25
|
domain: customer-support
|
|
46
26
|
pattern: swarm
|
|
47
27
|
framework: openai-swarm
|
|
48
|
-
|
|
49
28
|
spec:
|
|
50
|
-
role:
|
|
51
|
-
You are the triage coordinator for a customer support swarm. Analyze
|
|
52
|
-
incoming customer messages and route them to the appropriate specialist
|
|
53
|
-
agent. If a specialist hands back to you, re-evaluate and route to a
|
|
54
|
-
different specialist or handle the query directly.
|
|
55
|
-
|
|
29
|
+
role: You are the triage coordinator for a customer support swarm. Analyze incoming customer messages and route them to the appropriate specialist agent. If a specialist hands back to you, re-evaluate and route to a different specialist or handle the query directly.
|
|
56
30
|
llm:
|
|
57
31
|
provider: openai
|
|
58
32
|
model: gpt-4o
|
|
59
33
|
temperature: 0.2
|
|
60
34
|
maxTokens: 1024
|
|
61
|
-
|
|
62
35
|
team:
|
|
63
36
|
model: hub-spoke
|
|
64
37
|
lead: triage-agent
|
|
65
38
|
delegateMode: false
|
|
66
|
-
|
|
67
39
|
members:
|
|
68
40
|
- name: order-agent
|
|
69
41
|
kind: teammate
|
|
70
|
-
role:
|
|
71
|
-
Handle order-related queries: order status, shipment tracking,
|
|
72
|
-
order modifications, and cancellations.
|
|
42
|
+
role: 'Handle order-related queries: order status, shipment tracking, order modifications, and cancellations.'
|
|
73
43
|
model:
|
|
74
44
|
provider: openai
|
|
75
45
|
name: gpt-4o-mini
|
|
@@ -80,15 +50,12 @@ spec:
|
|
|
80
50
|
contextIsolation: true
|
|
81
51
|
handoffs:
|
|
82
52
|
- to: triage-agent
|
|
83
|
-
condition:
|
|
53
|
+
condition: Query is not order-related
|
|
84
54
|
- to: returns-agent
|
|
85
|
-
condition:
|
|
86
|
-
|
|
55
|
+
condition: Customer wants to return an ordered item
|
|
87
56
|
- name: returns-agent
|
|
88
57
|
kind: teammate
|
|
89
|
-
role:
|
|
90
|
-
Process returns and exchanges. Validate return eligibility, generate
|
|
91
|
-
return labels, and track return shipments.
|
|
58
|
+
role: Process returns and exchanges. Validate return eligibility, generate return labels, and track return shipments.
|
|
92
59
|
model:
|
|
93
60
|
provider: openai
|
|
94
61
|
name: gpt-4o-mini
|
|
@@ -99,15 +66,12 @@ spec:
|
|
|
99
66
|
contextIsolation: true
|
|
100
67
|
handoffs:
|
|
101
68
|
- to: triage-agent
|
|
102
|
-
condition:
|
|
69
|
+
condition: Query is not returns-related
|
|
103
70
|
- to: billing-agent
|
|
104
|
-
condition:
|
|
105
|
-
|
|
71
|
+
condition: Customer asks about refund timing or amount
|
|
106
72
|
- name: billing-agent
|
|
107
73
|
kind: teammate
|
|
108
|
-
role:
|
|
109
|
-
Handle billing and payment queries. Look up invoices, process
|
|
110
|
-
refunds, and answer payment-related questions.
|
|
74
|
+
role: Handle billing and payment queries. Look up invoices, process refunds, and answer payment-related questions.
|
|
111
75
|
model:
|
|
112
76
|
provider: openai
|
|
113
77
|
name: gpt-4o-mini
|
|
@@ -118,8 +82,7 @@ spec:
|
|
|
118
82
|
contextIsolation: true
|
|
119
83
|
handoffs:
|
|
120
84
|
- to: triage-agent
|
|
121
|
-
condition:
|
|
122
|
-
|
|
85
|
+
condition: Query is not billing-related
|
|
123
86
|
taskList:
|
|
124
87
|
coordination: assigned
|
|
125
88
|
persistence: in-memory
|
|
@@ -130,7 +93,6 @@ spec:
|
|
|
130
93
|
dependencyTracking: false
|
|
131
94
|
waveExecution: false
|
|
132
95
|
lockingStrategy: none
|
|
133
|
-
|
|
134
96
|
communication:
|
|
135
97
|
pattern: direct
|
|
136
98
|
broadcastEnabled: false
|