@bluefly/openstandardagents 0.4.0 → 0.4.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/CHANGELOG.md +117 -0
- package/DEMO.md +212 -0
- package/README.md +75 -15
- package/dist/adapters/drupal/generator.d.ts +149 -0
- package/dist/adapters/drupal/generator.d.ts.map +1 -0
- package/dist/adapters/drupal/generator.js +1760 -0
- package/dist/adapters/drupal/generator.js.map +1 -0
- package/dist/adapters/drupal/index.d.ts +2 -0
- package/dist/adapters/drupal/index.d.ts.map +1 -1
- package/dist/adapters/drupal/index.js +3 -0
- package/dist/adapters/drupal/index.js.map +1 -1
- package/dist/adapters/npm/adapter.js +2 -2
- package/dist/adapters/npm/converter.js +3 -3
- package/dist/cli/banner.d.ts +21 -0
- package/dist/cli/banner.d.ts.map +1 -0
- package/dist/cli/banner.js +128 -0
- package/dist/cli/banner.js.map +1 -0
- package/dist/cli/commands/dev.command.d.ts +20 -0
- package/dist/cli/commands/dev.command.d.ts.map +1 -0
- package/dist/cli/commands/dev.command.js +78 -0
- package/dist/cli/commands/dev.command.js.map +1 -0
- package/dist/cli/commands/estimate.command.d.ts +12 -0
- package/dist/cli/commands/estimate.command.d.ts.map +1 -0
- package/dist/cli/commands/estimate.command.js +226 -0
- package/dist/cli/commands/estimate.command.js.map +1 -0
- package/dist/cli/commands/export-enhanced.command.d.ts +7 -0
- package/dist/cli/commands/export-enhanced.command.d.ts.map +1 -0
- package/dist/cli/commands/{export-v2.command.js → export-enhanced.command.js} +3 -3
- package/dist/cli/commands/export-enhanced.command.js.map +1 -0
- package/dist/cli/commands/export.command.d.ts.map +1 -1
- package/dist/cli/commands/export.command.js +82 -4
- package/dist/cli/commands/export.command.js.map +1 -1
- package/dist/cli/commands/init.command.d.ts.map +1 -1
- package/dist/cli/commands/init.command.js +2 -0
- package/dist/cli/commands/init.command.js.map +1 -1
- package/dist/cli/commands/test.command.d.ts +1 -0
- package/dist/cli/commands/test.command.d.ts.map +1 -1
- package/dist/cli/commands/test.command.js +172 -105
- package/dist/cli/commands/test.command.js.map +1 -1
- package/dist/cli/commands/types/wizard-config.types.d.ts +59 -0
- package/dist/cli/commands/types/wizard-config.types.d.ts.map +1 -0
- package/dist/cli/commands/types/wizard-config.types.js +34 -0
- package/dist/cli/commands/types/wizard-config.types.js.map +1 -0
- package/dist/cli/commands/upgrade.command.d.ts +9 -0
- package/dist/cli/commands/upgrade.command.d.ts.map +1 -0
- package/dist/cli/commands/upgrade.command.js +167 -0
- package/dist/cli/commands/upgrade.command.js.map +1 -0
- package/dist/cli/commands/wizard-api-first.command.d.ts +18 -0
- package/dist/cli/commands/wizard-api-first.command.d.ts.map +1 -0
- package/dist/cli/commands/wizard-api-first.command.js +854 -0
- package/dist/cli/commands/wizard-api-first.command.js.map +1 -0
- package/dist/cli/commands/wizard-interactive.command.d.ts +25 -0
- package/dist/cli/commands/wizard-interactive.command.d.ts.map +1 -0
- package/dist/cli/commands/wizard-interactive.command.js +1875 -0
- package/dist/cli/commands/wizard-interactive.command.js.map +1 -0
- package/dist/cli/commands/workspace.command.js +1 -1
- package/dist/cli/commands/workspace.command.js.map +1 -1
- package/dist/cli/index.js +9 -0
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/schema-driven/index.d.ts +27 -0
- package/dist/cli/schema-driven/index.d.ts.map +1 -0
- package/dist/cli/schema-driven/index.js +34 -0
- package/dist/cli/schema-driven/index.js.map +1 -0
- package/dist/cli/schema-driven/schema-loader.d.ts +115 -0
- package/dist/cli/schema-driven/schema-loader.d.ts.map +1 -0
- package/dist/cli/schema-driven/schema-loader.js +270 -0
- package/dist/cli/schema-driven/schema-loader.js.map +1 -0
- package/dist/cli/schema-driven/ui-generator.d.ts +88 -0
- package/dist/cli/schema-driven/ui-generator.d.ts.map +1 -0
- package/dist/cli/schema-driven/ui-generator.js +326 -0
- package/dist/cli/schema-driven/ui-generator.js.map +1 -0
- package/dist/cli/wizard/interactive-wizard.d.ts +26 -0
- package/dist/cli/wizard/interactive-wizard.d.ts.map +1 -0
- package/dist/cli/wizard/interactive-wizard.js +296 -0
- package/dist/cli/wizard/interactive-wizard.js.map +1 -0
- package/dist/cli/wizard/template-catalog.d.ts +32 -0
- package/dist/cli/wizard/template-catalog.d.ts.map +1 -0
- package/dist/cli/wizard/template-catalog.js +99 -0
- package/dist/cli/wizard/template-catalog.js.map +1 -0
- package/dist/cli/wizard/use-cases.d.ts +37 -0
- package/dist/cli/wizard/use-cases.d.ts.map +1 -0
- package/dist/cli/wizard/use-cases.js +157 -0
- package/dist/cli/wizard/use-cases.js.map +1 -0
- package/dist/di-container.d.ts.map +1 -1
- package/dist/di-container.js +2 -0
- package/dist/di-container.js.map +1 -1
- package/dist/package.json +19 -9
- package/dist/runtime/agent-runner.d.ts +46 -0
- package/dist/runtime/agent-runner.d.ts.map +1 -0
- package/dist/runtime/agent-runner.js +346 -0
- package/dist/runtime/agent-runner.js.map +1 -0
- package/dist/sdks/kagent/crd-generator.d.ts +4 -0
- package/dist/sdks/kagent/crd-generator.d.ts.map +1 -1
- package/dist/sdks/kagent/crd-generator.js +83 -2
- package/dist/sdks/kagent/crd-generator.js.map +1 -1
- package/dist/sdks/kagent/k8s-resources-generator.d.ts +73 -0
- package/dist/sdks/kagent/k8s-resources-generator.d.ts.map +1 -0
- package/dist/sdks/kagent/k8s-resources-generator.js +286 -0
- package/dist/sdks/kagent/k8s-resources-generator.js.map +1 -0
- package/dist/sdks/kagent/types.d.ts +79 -0
- package/dist/sdks/kagent/types.d.ts.map +1 -1
- package/dist/sdks/shared/validation.d.ts +2 -2
- package/dist/services/cost-estimation/optimization-patterns.d.ts +23 -0
- package/dist/services/cost-estimation/optimization-patterns.d.ts.map +1 -0
- package/dist/services/cost-estimation/optimization-patterns.js +147 -0
- package/dist/services/cost-estimation/optimization-patterns.js.map +1 -0
- package/dist/services/cost-estimation/pricing.d.ts +29 -0
- package/dist/services/cost-estimation/pricing.d.ts.map +1 -0
- package/dist/services/cost-estimation/pricing.js +225 -0
- package/dist/services/cost-estimation/pricing.js.map +1 -0
- package/dist/services/cost-estimation/scenario-estimator.d.ts +59 -0
- package/dist/services/cost-estimation/scenario-estimator.d.ts.map +1 -0
- package/dist/services/cost-estimation/scenario-estimator.js +145 -0
- package/dist/services/cost-estimation/scenario-estimator.js.map +1 -0
- package/dist/services/cost-estimation/token-counter.service.d.ts +51 -0
- package/dist/services/cost-estimation/token-counter.service.d.ts.map +1 -0
- package/dist/services/cost-estimation/token-counter.service.js +125 -0
- package/dist/services/cost-estimation/token-counter.service.js.map +1 -0
- package/dist/services/dev-server/dev-server.service.d.ts +121 -0
- package/dist/services/dev-server/dev-server.service.d.ts.map +1 -0
- package/dist/services/dev-server/dev-server.service.js +290 -0
- package/dist/services/dev-server/dev-server.service.js.map +1 -0
- package/dist/services/dev-server/file-watcher.d.ts +101 -0
- package/dist/services/dev-server/file-watcher.d.ts.map +1 -0
- package/dist/services/dev-server/file-watcher.js +190 -0
- package/dist/services/dev-server/file-watcher.js.map +1 -0
- package/dist/services/dev-server/live-validator.d.ts +157 -0
- package/dist/services/dev-server/live-validator.d.ts.map +1 -0
- package/dist/services/dev-server/live-validator.js +301 -0
- package/dist/services/dev-server/live-validator.js.map +1 -0
- package/dist/services/dev-server/websocket-server.d.ts +137 -0
- package/dist/services/dev-server/websocket-server.d.ts.map +1 -0
- package/dist/services/dev-server/websocket-server.js +229 -0
- package/dist/services/dev-server/websocket-server.js.map +1 -0
- package/dist/services/export/anthropic/anthropic-exporter.d.ts +70 -0
- package/dist/services/export/anthropic/anthropic-exporter.d.ts.map +1 -0
- package/dist/services/export/anthropic/anthropic-exporter.js +576 -0
- package/dist/services/export/anthropic/anthropic-exporter.js.map +1 -0
- package/dist/services/export/anthropic/api-generator.d.ts +39 -0
- package/dist/services/export/anthropic/api-generator.d.ts.map +1 -0
- package/dist/services/export/anthropic/api-generator.js +395 -0
- package/dist/services/export/anthropic/api-generator.js.map +1 -0
- package/dist/services/export/anthropic/index.d.ts +18 -0
- package/dist/services/export/anthropic/index.d.ts.map +1 -0
- package/dist/services/export/anthropic/index.js +16 -0
- package/dist/services/export/anthropic/index.js.map +1 -0
- package/dist/services/export/anthropic/tools-generator.d.ts +35 -0
- package/dist/services/export/anthropic/tools-generator.d.ts.map +1 -0
- package/dist/services/export/anthropic/tools-generator.js +260 -0
- package/dist/services/export/anthropic/tools-generator.js.map +1 -0
- package/dist/services/export/langchain/api-generator.d.ts +17 -0
- package/dist/services/export/langchain/api-generator.d.ts.map +1 -0
- package/dist/services/export/langchain/api-generator.js +375 -0
- package/dist/services/export/langchain/api-generator.js.map +1 -0
- package/dist/services/export/langchain/callbacks-generator.d.ts +63 -0
- package/dist/services/export/langchain/callbacks-generator.d.ts.map +1 -0
- package/dist/services/export/langchain/callbacks-generator.js +408 -0
- package/dist/services/export/langchain/callbacks-generator.js.map +1 -0
- package/dist/services/export/langchain/error-handling-generator.d.ts +76 -0
- package/dist/services/export/langchain/error-handling-generator.d.ts.map +1 -0
- package/dist/services/export/langchain/error-handling-generator.js +522 -0
- package/dist/services/export/langchain/error-handling-generator.js.map +1 -0
- package/dist/services/export/langchain/index.d.ts +17 -0
- package/dist/services/export/langchain/index.d.ts.map +1 -0
- package/dist/services/export/langchain/index.js +13 -0
- package/dist/services/export/langchain/index.js.map +1 -0
- package/dist/services/export/langchain/langchain-exporter.d.ts +174 -0
- package/dist/services/export/langchain/langchain-exporter.d.ts.map +1 -0
- package/dist/services/export/langchain/langchain-exporter.js +953 -0
- package/dist/services/export/langchain/langchain-exporter.js.map +1 -0
- package/dist/services/export/langchain/langgraph-generator.d.ts +86 -0
- package/dist/services/export/langchain/langgraph-generator.d.ts.map +1 -0
- package/dist/services/export/langchain/langgraph-generator.js +473 -0
- package/dist/services/export/langchain/langgraph-generator.js.map +1 -0
- package/dist/services/export/langchain/langserve-generator.d.ts +95 -0
- package/dist/services/export/langchain/langserve-generator.d.ts.map +1 -0
- package/dist/services/export/langchain/langserve-generator.js +807 -0
- package/dist/services/export/langchain/langserve-generator.js.map +1 -0
- package/dist/services/export/langchain/memory-generator.d.ts +71 -0
- package/dist/services/export/langchain/memory-generator.d.ts.map +1 -0
- package/dist/services/export/langchain/memory-generator.js +1182 -0
- package/dist/services/export/langchain/memory-generator.js.map +1 -0
- package/dist/services/export/langchain/openapi-generator.d.ts +20 -0
- package/dist/services/export/langchain/openapi-generator.d.ts.map +1 -0
- package/dist/services/export/langchain/openapi-generator.js +364 -0
- package/dist/services/export/langchain/openapi-generator.js.map +1 -0
- package/dist/services/export/langchain/plan-execute-generator.d.ts +60 -0
- package/dist/services/export/langchain/plan-execute-generator.d.ts.map +1 -0
- package/dist/services/export/langchain/plan-execute-generator.js +679 -0
- package/dist/services/export/langchain/plan-execute-generator.js.map +1 -0
- package/dist/services/export/langchain/streaming-generator.d.ts +66 -0
- package/dist/services/export/langchain/streaming-generator.d.ts.map +1 -0
- package/dist/services/export/langchain/streaming-generator.js +749 -0
- package/dist/services/export/langchain/streaming-generator.js.map +1 -0
- package/dist/services/export/langchain/tools-generator.d.ts +67 -0
- package/dist/services/export/langchain/tools-generator.d.ts.map +1 -0
- package/dist/services/export/langchain/tools-generator.js +543 -0
- package/dist/services/export/langchain/tools-generator.js.map +1 -0
- package/dist/services/export/npm/express-generator.d.ts +23 -0
- package/dist/services/export/npm/express-generator.d.ts.map +1 -0
- package/dist/services/export/npm/express-generator.js +296 -0
- package/dist/services/export/npm/express-generator.js.map +1 -0
- package/dist/services/export/npm/index.d.ts +13 -0
- package/dist/services/export/npm/index.d.ts.map +1 -0
- package/dist/services/export/npm/index.js +11 -0
- package/dist/services/export/npm/index.js.map +1 -0
- package/dist/services/export/npm/npm-exporter.d.ts +142 -0
- package/dist/services/export/npm/npm-exporter.d.ts.map +1 -0
- package/dist/services/export/npm/npm-exporter.js +480 -0
- package/dist/services/export/npm/npm-exporter.js.map +1 -0
- package/dist/services/export/npm/openapi-generator.d.ts +19 -0
- package/dist/services/export/npm/openapi-generator.d.ts.map +1 -0
- package/dist/services/export/npm/openapi-generator.js +428 -0
- package/dist/services/export/npm/openapi-generator.js.map +1 -0
- package/dist/services/export/npm/package-json-generator.d.ts +31 -0
- package/dist/services/export/npm/package-json-generator.d.ts.map +1 -0
- package/dist/services/export/npm/package-json-generator.js +153 -0
- package/dist/services/export/npm/package-json-generator.js.map +1 -0
- package/dist/services/export/npm/typescript-generator.d.ts +69 -0
- package/dist/services/export/npm/typescript-generator.d.ts.map +1 -0
- package/dist/services/export/npm/typescript-generator.js +437 -0
- package/dist/services/export/npm/typescript-generator.js.map +1 -0
- package/dist/services/export/testing/index.d.ts +8 -0
- package/dist/services/export/testing/index.d.ts.map +1 -0
- package/dist/services/export/testing/index.js +7 -0
- package/dist/services/export/testing/index.js.map +1 -0
- package/dist/services/export/testing/test-generator.d.ts +178 -0
- package/dist/services/export/testing/test-generator.d.ts.map +1 -0
- package/dist/services/export/testing/test-generator.js +2542 -0
- package/dist/services/export/testing/test-generator.js.map +1 -0
- package/dist/services/test-runner/mock-llm.service.d.ts +77 -0
- package/dist/services/test-runner/mock-llm.service.d.ts.map +1 -0
- package/dist/services/test-runner/mock-llm.service.js +173 -0
- package/dist/services/test-runner/mock-llm.service.js.map +1 -0
- package/dist/services/test-runner/scenarios.d.ts +36 -0
- package/dist/services/test-runner/scenarios.d.ts.map +1 -0
- package/dist/services/test-runner/scenarios.js +196 -0
- package/dist/services/test-runner/scenarios.js.map +1 -0
- package/dist/services/test-runner/test-runner.service.d.ts +19 -1
- package/dist/services/test-runner/test-runner.service.d.ts.map +1 -1
- package/dist/services/test-runner/test-runner.service.js +72 -6
- package/dist/services/test-runner/test-runner.service.js.map +1 -1
- package/dist/services/validation/best-practices-validator.d.ts +84 -0
- package/dist/services/validation/best-practices-validator.d.ts.map +1 -0
- package/dist/services/validation/best-practices-validator.js +499 -0
- package/dist/services/validation/best-practices-validator.js.map +1 -0
- package/dist/services/validation/cost-estimator.d.ts +69 -0
- package/dist/services/validation/cost-estimator.d.ts.map +1 -0
- package/dist/services/validation/cost-estimator.js +221 -0
- package/dist/services/validation/cost-estimator.js.map +1 -0
- package/dist/services/validation/enhanced-validator.d.ts +78 -0
- package/dist/services/validation/enhanced-validator.d.ts.map +1 -0
- package/dist/services/validation/enhanced-validator.js +212 -0
- package/dist/services/validation/enhanced-validator.js.map +1 -0
- package/dist/services/validation/index.d.ts +13 -0
- package/dist/services/validation/index.d.ts.map +1 -0
- package/dist/services/validation/index.js +9 -0
- package/dist/services/validation/index.js.map +1 -0
- package/dist/services/validation/security-validator.d.ts +81 -0
- package/dist/services/validation/security-validator.d.ts.map +1 -0
- package/dist/services/validation/security-validator.js +328 -0
- package/dist/services/validation/security-validator.js.map +1 -0
- package/dist/services/wizard/prompts.d.ts +71 -0
- package/dist/services/wizard/prompts.d.ts.map +1 -0
- package/dist/services/wizard/prompts.js +322 -0
- package/dist/services/wizard/prompts.js.map +1 -0
- package/dist/services/wizard/wizard.service.d.ts +60 -0
- package/dist/services/wizard/wizard.service.d.ts.map +1 -0
- package/dist/services/wizard/wizard.service.js +261 -0
- package/dist/services/wizard/wizard.service.js.map +1 -0
- package/dist/types/personality.zod.d.ts +23 -23
- package/dist/utils/version.d.ts +1 -1
- package/dist/utils/version.js +1 -1
- package/dist/version-management/core/version-manager.test.js.map +1 -1
- package/dist/version.d.ts +62 -0
- package/dist/version.d.ts.map +1 -0
- package/dist/version.js +73 -0
- package/dist/version.js.map +1 -0
- package/examples/a2a/agent-handoff.ossa.yaml +1 -1
- package/examples/a2a/service-discovery.ossa.yaml +1 -1
- package/examples/adapters/drupal-eca-mapping.yaml +1 -1
- package/examples/adapters/drupal-eca-task.yaml +1 -1
- package/examples/adapters/drupal-flowdrop-mapping.yaml +1 -1
- package/examples/adapters/drupal-maestro-mapping.yaml +1 -1
- package/examples/adapters/mistral-agent.yaml +1 -1
- package/examples/adapters/symfony-messenger-task.yaml +1 -1
- package/examples/adapters/symfony-messenger-workflow.yaml +1 -1
- package/examples/adk-integration/code-review-workflow.yml +1 -1
- package/examples/adk-integration/customer-support.yml +1 -1
- package/examples/adk-integration/data-pipeline.yml +1 -1
- package/examples/advanced/reasoning-agent.yaml +1 -1
- package/examples/advanced/workflows/hybrid-model-strategy.yaml +1 -1
- package/examples/agent-manifests/critics/critic-agent.yaml +1 -1
- package/examples/agent-manifests/governors/governor-agent.yaml +1 -1
- package/examples/agent-manifests/integrators/integrator-agent.yaml +1 -1
- package/examples/agent-manifests/judges/judge-agent.yaml +1 -1
- package/examples/agent-manifests/monitors/monitor-agent.yaml +1 -1
- package/examples/agent-manifests/orchestrators/orchestrator-agent.yaml +1 -1
- package/examples/agent-manifests/sample-compliant-agent.yaml +1 -1
- package/examples/agent-manifests/workers/worker-agent.yaml +1 -1
- package/examples/agents/01-customer-support-bot/.env.example +32 -0
- package/examples/agents/01-customer-support-bot/Dockerfile +30 -0
- package/examples/agents/01-customer-support-bot/README.md +295 -0
- package/examples/agents/01-customer-support-bot/agent.ossa.yaml +172 -0
- package/examples/agents/01-customer-support-bot/docker-compose.yml +55 -0
- package/examples/agents/01-customer-support-bot/openapi.yaml +238 -0
- package/examples/agents/01-customer-support-bot/package.json +48 -0
- package/examples/agents/02-code-review-agent/README.md +72 -0
- package/examples/agents/02-code-review-agent/agent.ossa.yaml +239 -0
- package/examples/agents/02-code-review-agent/docker-compose.yml +22 -0
- package/examples/agents/02-code-review-agent/openapi.yaml +150 -0
- package/examples/agents/03-data-analysis-agent/README.md +51 -0
- package/examples/agents/03-data-analysis-agent/agent.ossa.yaml +97 -0
- package/examples/agents/03-data-analysis-agent/openapi.yaml +74 -0
- package/examples/agents/04-content-moderator/README.md +55 -0
- package/examples/agents/04-content-moderator/agent.ossa.yaml +131 -0
- package/examples/agents/04-content-moderator/openapi.yaml +50 -0
- package/examples/agents/05-sales-assistant/README.md +37 -0
- package/examples/agents/05-sales-assistant/agent.ossa.yaml +146 -0
- package/examples/agents/05-sales-assistant/openapi.yaml +59 -0
- package/examples/agents/06-devops-agent/README.md +39 -0
- package/examples/agents/06-devops-agent/agent.ossa.yaml +141 -0
- package/examples/agents/06-devops-agent/openapi.yaml +51 -0
- package/examples/agents/07-research-assistant/README.md +31 -0
- package/examples/agents/07-research-assistant/agent.ossa.yaml +119 -0
- package/examples/agents/07-research-assistant/openapi.yaml +56 -0
- package/examples/agents/08-email-triage-agent/README.md +33 -0
- package/examples/agents/08-email-triage-agent/agent.ossa.yaml +133 -0
- package/examples/agents/08-email-triage-agent/openapi.yaml +41 -0
- package/examples/agents/09-security-scanner/README.md +49 -0
- package/examples/agents/09-security-scanner/agent.ossa.yaml +174 -0
- package/examples/agents/09-security-scanner/openapi.yaml +46 -0
- package/examples/agents/10-meeting-assistant/README.md +53 -0
- package/examples/agents/10-meeting-assistant/agent.ossa.yaml +211 -0
- package/examples/agents/10-meeting-assistant/docker-compose.yml +27 -0
- package/examples/agents/10-meeting-assistant/openapi.yaml +131 -0
- package/examples/agents/COMPLETION_REPORT.txt +272 -0
- package/examples/agents/INDEX.md +296 -0
- package/examples/agents/README.md +452 -0
- package/examples/agents/SUMMARY.md +362 -0
- package/examples/agents/TEST_RESULTS.md +458 -0
- package/examples/agents/architecture-healer-enterprise.yaml +1 -1
- package/examples/agents/dependency-healer-npm.yaml +1 -1
- package/examples/agents/spec-healer-openapi.yaml +1 -1
- package/examples/agents/wiki-healer-production.yaml +1 -1
- package/examples/agents-md/code-agent.ossa.json +1 -1
- package/examples/agents-md/monorepo-agent.ossa.yaml +1 -1
- package/examples/anthropic/claude-assistant.ossa.json +1 -1
- package/examples/autogen/multi-agent.ossa.json +1 -1
- package/examples/autonomous-evolution/self-evolving-agent.ossa.yaml +1 -1
- package/examples/build-once-use-everywhere/agent.ossa.yaml +1 -1
- package/examples/claude-code/code-reviewer.ossa.yaml +1 -1
- package/examples/claude-code/ossa-validator.ossa.yaml +1 -1
- package/examples/common_npm/agent-router.ossa.yaml +2 -2
- package/examples/contracts/data-consumer.ossa.yaml +1 -1
- package/examples/contracts/data-producer-v2.ossa.yaml +1 -1
- package/examples/contracts/data-producer.ossa.yaml +1 -1
- package/examples/crewai/research-team.ossa.json +1 -1
- package/examples/cursor/code-review-agent.ossa.json +1 -1
- package/examples/drupal/QUICKSTART.md +439 -0
- package/examples/drupal/ai_agents_ossa-module/.agents/example-agent/agent.ossa.yaml +1 -1
- package/examples/drupal/content-moderator.ossa.yaml +107 -0
- package/examples/drupal/gitlab-ml-recommender.ossa.yaml +2 -2
- package/examples/economics/marketplace-agent.ossa.json +1 -1
- package/examples/export/langchain/production-agent-with-memory/README.md +373 -0
- package/examples/export/langchain/production-agent-with-memory/agent.ossa.yaml +97 -0
- package/examples/export/langchain/production-agent-with-streaming/README.md +617 -0
- package/examples/export/langchain/production-agent-with-streaming/agent.ossa.yaml +100 -0
- package/examples/export/langchain/production-agent-with-streaming/client-example.py +263 -0
- package/examples/export/langchain/production-agent-with-tools/README.md +296 -0
- package/examples/export/langchain/production-agent-with-tools/agent.ossa.yaml +216 -0
- package/examples/export/langchain-export-example.ts +246 -0
- package/examples/export/langserve-export-example.ts +246 -0
- package/examples/export/test-generation-example.ts +457 -0
- package/examples/extensions/agents-md-advanced.yml +1 -1
- package/examples/extensions/agents-md-basic.yml +1 -1
- package/examples/extensions/agents-md-sync.yml +1 -1
- package/examples/extensions/agents-md-v1.yml +1 -1
- package/examples/extensions/drupal-v1.yml +1 -1
- package/examples/extensions/encryption-multi-provider.yaml +4 -4
- package/examples/extensions/kagent-v1.yml +1 -1
- package/examples/extensions/knowledge-sources.yaml +1 -1
- package/examples/extensions/mcp-full-featured.yaml +1 -1
- package/examples/genetics/breeding-agent.ossa.json +1 -1
- 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/hello-world-complete.ossa.yaml +1 -1
- package/examples/integration-patterns/agent-to-agent-orchestration.ossa.yaml +1 -1
- package/examples/kagent/compliance-validator.ossa.yaml +1 -1
- package/examples/kagent/cost-optimizer.ossa.yaml +1 -1
- package/examples/kagent/documentation-agent.ossa.yaml +1 -1
- package/examples/kagent/k8s-troubleshooter-v1.ossa.yaml +2 -2
- package/examples/kagent/k8s-troubleshooter.ossa.yaml +1 -1
- package/examples/kagent/security-scanner.ossa.yaml +1 -1
- package/examples/langchain/chain-agent.ossa.json +1 -1
- package/examples/langflow/workflow-agent.ossa.json +1 -1
- package/examples/langgraph/state-machine-agent.ossa.json +1 -1
- package/examples/lifecycle/mentoring-agent.ossa.json +1 -1
- package/examples/llamaindex/rag-agent.ossa.json +1 -1
- package/examples/mcp/database-mcp.ossa.yaml +1 -1
- package/examples/mcp/filesystem-mcp.ossa.yaml +1 -1
- package/examples/messaging/dependency-healer.ossa.yaml +1 -1
- package/examples/messaging/incident-responder.ossa.yaml +1 -1
- package/examples/messaging/routing-rules.ossa.yaml +1 -1
- package/examples/messaging/security-scanner.ossa.yaml +1 -1
- package/examples/migration-guides/from-langchain-to-ossa.yaml +4 -4
- package/examples/migrations/langchain/01-python-react-agent-after.ossa.yaml +1 -1
- package/examples/migrations/langchain/02-typescript-conversational-after.ossa.yaml +1 -1
- package/examples/migrations/langchain/03-sequential-chain-after.ossa.yaml +1 -1
- package/examples/migrations/langchain/04-config-based-after.ossa.yaml +1 -1
- package/examples/migrations/swarm-to-ossa/after-handoffs.ossa.yaml +6 -6
- package/examples/migrations/swarm-to-ossa/after-triage-agent.ossa.yaml +3 -3
- package/examples/multi-agent/conditional-router.ossa.yaml +1 -1
- package/examples/multi-agent/parallel-execution.ossa.yaml +1 -1
- package/examples/multi-agent/sequential-pipeline.ossa.yaml +1 -1
- package/examples/multi-agent-research-workflow.ossa.yaml +133 -0
- package/examples/multi-platform/single-manifest/agent.ossa.yaml +1 -1
- package/examples/npm-export-example.ts +150 -0
- package/examples/observability/activity-stream-full.yaml +1 -1
- package/examples/openai/basic-agent.ossa.yaml +1 -1
- package/examples/openai/multi-tool-agent.ossa.json +1 -1
- package/examples/openai/swarm-agent.ossa.json +1 -1
- package/examples/ossa-templates/01-code-assistant.ossa.yaml +1 -1
- package/examples/ossa-templates/02-security-scanner.ossa.yaml +1 -1
- package/examples/ossa-templates/03-ci-pipeline.ossa.yaml +1 -1
- package/examples/ossa-templates/04-code-reviewer.ossa.yaml +1 -1
- package/examples/ossa-templates/05-doc-generator.ossa.yaml +1 -1
- package/examples/ossa-templates/06-compliance-validator.ossa.yaml +1 -1
- package/examples/ossa-templates/07-workflow-orchestrator.ossa.yaml +1 -1
- package/examples/ossa-templates/08-content-writer.ossa.yaml +1 -1
- package/examples/ossa-templates/09-test-generator.ossa.yaml +1 -1
- package/examples/ossa-templates/10-data-transformer.ossa.yaml +1 -1
- package/examples/ossa-templates/11-react-performance-expert.ossa.yaml +1 -1
- package/examples/ossa-templates/12-typescript-type-safety-expert.ossa.yaml +1 -1
- package/examples/ossa-templates/13-accessibility-champion.ossa.yaml +1 -1
- package/examples/ossa-templates/14-security-hardening-agent.ossa.yaml +1 -1
- package/examples/production/document-analyzer-openai.yml +1 -1
- package/examples/production-ready/01-customer-support-bot/.env.example +32 -0
- package/examples/production-ready/01-customer-support-bot/Dockerfile +30 -0
- package/examples/production-ready/01-customer-support-bot/README.md +295 -0
- package/examples/production-ready/01-customer-support-bot/agent.ossa.yaml +172 -0
- package/examples/production-ready/01-customer-support-bot/docker-compose.yml +55 -0
- package/examples/production-ready/01-customer-support-bot/openapi.yaml +238 -0
- package/examples/production-ready/01-customer-support-bot/package.json +48 -0
- package/examples/production-ready/02-code-review-agent/README.md +72 -0
- package/examples/production-ready/02-code-review-agent/agent.ossa.yaml +239 -0
- package/examples/production-ready/02-code-review-agent/docker-compose.yml +22 -0
- package/examples/production-ready/02-code-review-agent/openapi.yaml +150 -0
- package/examples/production-ready/03-data-analysis-agent/README.md +51 -0
- package/examples/production-ready/03-data-analysis-agent/agent.ossa.yaml +97 -0
- package/examples/production-ready/03-data-analysis-agent/openapi.yaml +74 -0
- package/examples/production-ready/04-content-moderator/README.md +55 -0
- package/examples/production-ready/04-content-moderator/agent.ossa.yaml +131 -0
- package/examples/production-ready/04-content-moderator/openapi.yaml +50 -0
- package/examples/production-ready/05-sales-assistant/README.md +37 -0
- package/examples/production-ready/05-sales-assistant/agent.ossa.yaml +146 -0
- package/examples/production-ready/05-sales-assistant/openapi.yaml +59 -0
- package/examples/production-ready/06-devops-agent/README.md +39 -0
- package/examples/production-ready/06-devops-agent/agent.ossa.yaml +141 -0
- package/examples/production-ready/06-devops-agent/openapi.yaml +51 -0
- package/examples/production-ready/07-research-assistant/README.md +31 -0
- package/examples/production-ready/07-research-assistant/agent.ossa.yaml +119 -0
- package/examples/production-ready/07-research-assistant/openapi.yaml +56 -0
- package/examples/production-ready/08-email-triage-agent/README.md +33 -0
- package/examples/production-ready/08-email-triage-agent/agent.ossa.yaml +133 -0
- package/examples/production-ready/08-email-triage-agent/openapi.yaml +41 -0
- package/examples/production-ready/09-security-scanner/README.md +49 -0
- package/examples/production-ready/09-security-scanner/agent.ossa.yaml +174 -0
- package/examples/production-ready/09-security-scanner/openapi.yaml +46 -0
- package/examples/production-ready/10-meeting-assistant/README.md +53 -0
- package/examples/production-ready/10-meeting-assistant/agent.ossa.yaml +211 -0
- package/examples/production-ready/10-meeting-assistant/docker-compose.yml +27 -0
- package/examples/production-ready/10-meeting-assistant/openapi.yaml +131 -0
- package/examples/production-ready/COMPLETION_REPORT.txt +272 -0
- package/examples/production-ready/INDEX.md +296 -0
- package/examples/production-ready/README.md +452 -0
- package/examples/production-ready/SUMMARY.md +362 -0
- package/examples/production-ready/TEST_RESULTS.md +458 -0
- package/examples/quickstart/support-agent.ossa.yaml +1 -1
- package/examples/real-world/gitlab-cicd-optimizer.ossa.yaml +1 -1
- package/examples/real-world/rag-documentation-assistant.ossa.yaml +1 -1
- package/examples/registry/agents/code-reviewer/agent.yaml +1 -1
- package/examples/registry/agents/security-scanner/agent.yaml +1 -1
- package/examples/runtime-adapters/bedrock-claude-example.ossa.yaml +1 -1
- package/examples/schema/reusable-components.yaml +1 -1
- package/examples/showcase/ci-pipeline.ossa.yaml +1 -1
- package/examples/showcase/code-assistant.ossa.yaml +1 -1
- package/examples/showcase/code-reviewer.ossa.yaml +1 -1
- package/examples/showcase/compliance-validator.ossa.yaml +1 -1
- package/examples/showcase/content-writer.ossa.yaml +1 -1
- package/examples/showcase/data-transformer.ossa.yaml +1 -1
- package/examples/showcase/doc-generator.ossa.yaml +1 -1
- package/examples/showcase/security-scanner.ossa.yaml +1 -1
- package/examples/showcase/test-generator.ossa.yaml +1 -1
- package/examples/showcase/workflow-orchestrator.ossa.yaml +1 -1
- package/examples/skills-example.ossa.yaml +140 -0
- package/examples/swarm/pso-optimizer.ossa.json +1 -1
- package/examples/tasks/batch-email-sender.yaml +1 -1
- package/examples/tasks/data-transform.yaml +1 -1
- package/examples/tasks/publish-content.yaml +1 -1
- package/examples/templates/ossa-compliance.yaml +1 -1
- package/examples/unified/security-scanner.ossa.yaml +1 -1
- package/examples/v0.3.6-features/genetics-breeding-advanced.ossa.yaml +1 -1
- package/examples/v0.3.6-features/genetics-breeding-simple.ossa.yaml +1 -1
- package/examples/v0.3.6-features/genetics-fitness-scoring.ossa.yaml +1 -1
- package/examples/vercel/edge-agent.ossa.json +1 -1
- package/examples/workflows/batch-email-campaign.yaml +1 -1
- package/examples/workflows/content-review-publish.yaml +1 -1
- package/examples/workflows/simple-etl.yaml +1 -1
- package/openapi/cli/openapi.yaml +221 -5
- package/package.json +17 -7
- package/dist/cli/commands/export-v2.command.d.ts +0 -7
- package/dist/cli/commands/export-v2.command.d.ts.map +0 -1
- package/dist/cli/commands/export-v2.command.js.map +0 -1
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
apiVersion: ossa/v0.4.1
|
|
2
|
+
kind: Agent
|
|
3
|
+
metadata:
|
|
4
|
+
name: email-triage-agent
|
|
5
|
+
version: 1.0.0
|
|
6
|
+
description: |
|
|
7
|
+
Email triage agent that reads, categorizes, and responds to emails automatically.
|
|
8
|
+
Exported as npm package for integration with email systems.
|
|
9
|
+
labels:
|
|
10
|
+
platform: npm
|
|
11
|
+
export: npm
|
|
12
|
+
use-case: email-automation
|
|
13
|
+
tier: production
|
|
14
|
+
spec:
|
|
15
|
+
role: |
|
|
16
|
+
You are an email management assistant responsible for:
|
|
17
|
+
- Reading and categorizing incoming emails
|
|
18
|
+
- Prioritizing messages by importance and urgency
|
|
19
|
+
- Drafting appropriate responses
|
|
20
|
+
- Routing emails to correct departments
|
|
21
|
+
- Flagging emails requiring human attention
|
|
22
|
+
|
|
23
|
+
llm:
|
|
24
|
+
provider: openai
|
|
25
|
+
model: gpt-4o
|
|
26
|
+
temperature: 0.6
|
|
27
|
+
maxTokens: 1000
|
|
28
|
+
|
|
29
|
+
capabilities:
|
|
30
|
+
- read_email
|
|
31
|
+
- categorize_email
|
|
32
|
+
- draft_response
|
|
33
|
+
- route_email
|
|
34
|
+
|
|
35
|
+
tools:
|
|
36
|
+
- type: function
|
|
37
|
+
name: read_email
|
|
38
|
+
description: Read email content and metadata
|
|
39
|
+
parameters:
|
|
40
|
+
type: object
|
|
41
|
+
properties:
|
|
42
|
+
emailId:
|
|
43
|
+
type: string
|
|
44
|
+
includeAttachments:
|
|
45
|
+
type: boolean
|
|
46
|
+
default: false
|
|
47
|
+
required:
|
|
48
|
+
- emailId
|
|
49
|
+
|
|
50
|
+
- type: function
|
|
51
|
+
name: categorize_email
|
|
52
|
+
description: Categorize email by type and priority
|
|
53
|
+
parameters:
|
|
54
|
+
type: object
|
|
55
|
+
properties:
|
|
56
|
+
email:
|
|
57
|
+
type: object
|
|
58
|
+
categories:
|
|
59
|
+
type: array
|
|
60
|
+
items:
|
|
61
|
+
type: string
|
|
62
|
+
enum: [support, sales, billing, hr, legal, spam]
|
|
63
|
+
priority:
|
|
64
|
+
type: string
|
|
65
|
+
enum: [low, medium, high, urgent]
|
|
66
|
+
required:
|
|
67
|
+
- email
|
|
68
|
+
|
|
69
|
+
- type: function
|
|
70
|
+
name: draft_response
|
|
71
|
+
description: Draft email response
|
|
72
|
+
parameters:
|
|
73
|
+
type: object
|
|
74
|
+
properties:
|
|
75
|
+
emailId:
|
|
76
|
+
type: string
|
|
77
|
+
responseType:
|
|
78
|
+
type: string
|
|
79
|
+
enum: [auto_reply, acknowledgment, answer, referral]
|
|
80
|
+
tone:
|
|
81
|
+
type: string
|
|
82
|
+
enum: [professional, friendly, formal]
|
|
83
|
+
required:
|
|
84
|
+
- emailId
|
|
85
|
+
- responseType
|
|
86
|
+
|
|
87
|
+
- type: function
|
|
88
|
+
name: route_email
|
|
89
|
+
description: Route email to appropriate team/person
|
|
90
|
+
parameters:
|
|
91
|
+
type: object
|
|
92
|
+
properties:
|
|
93
|
+
emailId:
|
|
94
|
+
type: string
|
|
95
|
+
destination:
|
|
96
|
+
type: string
|
|
97
|
+
notes:
|
|
98
|
+
type: string
|
|
99
|
+
|
|
100
|
+
autonomy:
|
|
101
|
+
level: supervised
|
|
102
|
+
approval_required: false
|
|
103
|
+
auto_approve_conditions:
|
|
104
|
+
- category == 'spam'
|
|
105
|
+
- responseType == 'auto_reply'
|
|
106
|
+
approval_conditions:
|
|
107
|
+
- priority == 'urgent'
|
|
108
|
+
- category == 'legal'
|
|
109
|
+
|
|
110
|
+
safety:
|
|
111
|
+
output_validation:
|
|
112
|
+
- type: tone_check
|
|
113
|
+
required_tone: [professional, friendly]
|
|
114
|
+
- type: pii_protection
|
|
115
|
+
redact_sensitive: true
|
|
116
|
+
|
|
117
|
+
observability:
|
|
118
|
+
logging:
|
|
119
|
+
level: info
|
|
120
|
+
metrics:
|
|
121
|
+
enabled: true
|
|
122
|
+
metrics:
|
|
123
|
+
- emails_processed
|
|
124
|
+
- emails_categorized
|
|
125
|
+
- responses_sent
|
|
126
|
+
- routing_accuracy
|
|
127
|
+
|
|
128
|
+
extensions:
|
|
129
|
+
npm:
|
|
130
|
+
package_name: "@company/email-triage-agent"
|
|
131
|
+
export_format: esm
|
|
132
|
+
include_types: true
|
|
133
|
+
entry_point: index.js
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
openapi: 3.1.0
|
|
2
|
+
info:
|
|
3
|
+
title: Email Triage Agent API
|
|
4
|
+
version: 1.0.0
|
|
5
|
+
description: Email categorization and automation
|
|
6
|
+
|
|
7
|
+
servers:
|
|
8
|
+
- url: http://localhost:8087
|
|
9
|
+
|
|
10
|
+
paths:
|
|
11
|
+
/v1/triage:
|
|
12
|
+
post:
|
|
13
|
+
summary: Triage email
|
|
14
|
+
operationId: triageEmail
|
|
15
|
+
requestBody:
|
|
16
|
+
required: true
|
|
17
|
+
content:
|
|
18
|
+
application/json:
|
|
19
|
+
schema:
|
|
20
|
+
type: object
|
|
21
|
+
required:
|
|
22
|
+
- emailId
|
|
23
|
+
properties:
|
|
24
|
+
emailId:
|
|
25
|
+
type: string
|
|
26
|
+
responses:
|
|
27
|
+
'200':
|
|
28
|
+
description: Email triaged
|
|
29
|
+
content:
|
|
30
|
+
application/json:
|
|
31
|
+
schema:
|
|
32
|
+
type: object
|
|
33
|
+
properties:
|
|
34
|
+
category:
|
|
35
|
+
type: string
|
|
36
|
+
priority:
|
|
37
|
+
type: string
|
|
38
|
+
suggestedResponse:
|
|
39
|
+
type: string
|
|
40
|
+
routeTo:
|
|
41
|
+
type: string
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# Security Scanner
|
|
2
|
+
|
|
3
|
+
Automated security scanning and vulnerability detection agent.
|
|
4
|
+
|
|
5
|
+
## Features
|
|
6
|
+
|
|
7
|
+
- SAST (Static Application Security Testing)
|
|
8
|
+
- Dependency vulnerability scanning
|
|
9
|
+
- Secret detection
|
|
10
|
+
- Infrastructure-as-Code scanning
|
|
11
|
+
- SARIF report generation
|
|
12
|
+
- GitHub/GitLab integration
|
|
13
|
+
|
|
14
|
+
## Quick Start
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
export ANTHROPIC_API_KEY=sk-ant-...
|
|
18
|
+
export GITHUB_TOKEN=ghp_...
|
|
19
|
+
|
|
20
|
+
docker-compose up -d
|
|
21
|
+
|
|
22
|
+
curl -X POST http://localhost:8088/v1/scan \
|
|
23
|
+
-d '{"repository": "owner/repo", "branch": "main"}'
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## Automated Scanning
|
|
27
|
+
|
|
28
|
+
Configure webhook for automatic PR scanning:
|
|
29
|
+
|
|
30
|
+
```yaml
|
|
31
|
+
# .github/workflows/security-scan.yml
|
|
32
|
+
on: [pull_request]
|
|
33
|
+
jobs:
|
|
34
|
+
scan:
|
|
35
|
+
runs-on: ubuntu-latest
|
|
36
|
+
steps:
|
|
37
|
+
- name: Security Scan
|
|
38
|
+
run: curl -X POST $SCANNER_URL/v1/scan -d '{"repository":"${{github.repository}}"}'
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## Export to Anthropic SDK
|
|
42
|
+
|
|
43
|
+
```bash
|
|
44
|
+
ossa export agent.ossa.yaml --platform anthropic --output security-scanner.ts
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
## License
|
|
48
|
+
|
|
49
|
+
Apache-2.0
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
apiVersion: ossa/v0.4.1
|
|
2
|
+
kind: Agent
|
|
3
|
+
metadata:
|
|
4
|
+
name: security-scanner
|
|
5
|
+
version: 1.0.0
|
|
6
|
+
description: |
|
|
7
|
+
Security scanning agent that analyzes code for vulnerabilities and generates security reports.
|
|
8
|
+
Uses Anthropic Claude with extended thinking for deep analysis.
|
|
9
|
+
labels:
|
|
10
|
+
platform: anthropic
|
|
11
|
+
export: anthropic
|
|
12
|
+
use-case: security
|
|
13
|
+
tier: production
|
|
14
|
+
spec:
|
|
15
|
+
role: |
|
|
16
|
+
You are a security expert specializing in:
|
|
17
|
+
- Vulnerability detection and analysis
|
|
18
|
+
- Security best practices
|
|
19
|
+
- Threat modeling
|
|
20
|
+
- Compliance validation
|
|
21
|
+
- Security report generation
|
|
22
|
+
|
|
23
|
+
llm:
|
|
24
|
+
provider: anthropic
|
|
25
|
+
model: claude-sonnet-4-20250514
|
|
26
|
+
temperature: 0.1
|
|
27
|
+
maxTokens: 4000
|
|
28
|
+
|
|
29
|
+
capabilities:
|
|
30
|
+
- scan_code
|
|
31
|
+
- find_vulnerabilities
|
|
32
|
+
- generate_report
|
|
33
|
+
- suggest_remediation
|
|
34
|
+
|
|
35
|
+
tools:
|
|
36
|
+
- type: function
|
|
37
|
+
name: scan_code
|
|
38
|
+
description: Scan code for security vulnerabilities
|
|
39
|
+
parameters:
|
|
40
|
+
type: object
|
|
41
|
+
properties:
|
|
42
|
+
repository:
|
|
43
|
+
type: string
|
|
44
|
+
branch:
|
|
45
|
+
type: string
|
|
46
|
+
scanTypes:
|
|
47
|
+
type: array
|
|
48
|
+
items:
|
|
49
|
+
type: string
|
|
50
|
+
enum: [sast, dependency, secrets, iac, container]
|
|
51
|
+
severity_threshold:
|
|
52
|
+
type: string
|
|
53
|
+
enum: [low, medium, high, critical]
|
|
54
|
+
required:
|
|
55
|
+
- repository
|
|
56
|
+
|
|
57
|
+
- type: function
|
|
58
|
+
name: find_vulnerabilities
|
|
59
|
+
description: Analyze code for specific vulnerability patterns
|
|
60
|
+
parameters:
|
|
61
|
+
type: object
|
|
62
|
+
properties:
|
|
63
|
+
code:
|
|
64
|
+
type: string
|
|
65
|
+
language:
|
|
66
|
+
type: string
|
|
67
|
+
patterns:
|
|
68
|
+
type: array
|
|
69
|
+
items:
|
|
70
|
+
type: string
|
|
71
|
+
enum: [sql_injection, xss, csrf, authentication, authorization, crypto]
|
|
72
|
+
required:
|
|
73
|
+
- code
|
|
74
|
+
- language
|
|
75
|
+
|
|
76
|
+
- type: function
|
|
77
|
+
name: generate_report
|
|
78
|
+
description: Generate security analysis report
|
|
79
|
+
parameters:
|
|
80
|
+
type: object
|
|
81
|
+
properties:
|
|
82
|
+
findings:
|
|
83
|
+
type: array
|
|
84
|
+
format:
|
|
85
|
+
type: string
|
|
86
|
+
enum: [json, html, pdf, sarif]
|
|
87
|
+
include_remediation:
|
|
88
|
+
type: boolean
|
|
89
|
+
default: true
|
|
90
|
+
required:
|
|
91
|
+
- findings
|
|
92
|
+
|
|
93
|
+
triggers:
|
|
94
|
+
- type: webhook
|
|
95
|
+
source: github
|
|
96
|
+
events: [push, pull_request]
|
|
97
|
+
- type: schedule
|
|
98
|
+
cron: "0 2 * * *" # Daily at 2 AM
|
|
99
|
+
|
|
100
|
+
tasks:
|
|
101
|
+
- name: security-scan
|
|
102
|
+
steps:
|
|
103
|
+
- name: clone-repository
|
|
104
|
+
action: git
|
|
105
|
+
operation: clone
|
|
106
|
+
|
|
107
|
+
- name: run-sast-scan
|
|
108
|
+
action: function_call
|
|
109
|
+
function: scan_code
|
|
110
|
+
params:
|
|
111
|
+
scanTypes: [sast, dependency, secrets]
|
|
112
|
+
|
|
113
|
+
- name: analyze-findings
|
|
114
|
+
action: llm
|
|
115
|
+
provider: anthropic
|
|
116
|
+
model: claude-sonnet-4-20250514
|
|
117
|
+
prompt: |
|
|
118
|
+
Analyze security scan results:
|
|
119
|
+
${outputs.scan_results}
|
|
120
|
+
|
|
121
|
+
Provide:
|
|
122
|
+
1. Critical vulnerabilities requiring immediate action
|
|
123
|
+
2. Risk assessment
|
|
124
|
+
3. Recommended remediation steps
|
|
125
|
+
4. Priority ranking
|
|
126
|
+
|
|
127
|
+
- name: generate-report
|
|
128
|
+
action: function_call
|
|
129
|
+
function: generate_report
|
|
130
|
+
params:
|
|
131
|
+
findings: ${outputs.analysis}
|
|
132
|
+
format: sarif
|
|
133
|
+
|
|
134
|
+
- name: create-issues
|
|
135
|
+
action: http
|
|
136
|
+
method: POST
|
|
137
|
+
url: ${env.GITHUB_API_URL}/repos/${inputs.repository}/issues
|
|
138
|
+
body:
|
|
139
|
+
title: "Security Scan: ${outputs.critical_count} critical issues found"
|
|
140
|
+
body: ${outputs.report}
|
|
141
|
+
labels: [security, automated]
|
|
142
|
+
|
|
143
|
+
autonomy:
|
|
144
|
+
level: autonomous
|
|
145
|
+
approval_required: false
|
|
146
|
+
escalation_rules:
|
|
147
|
+
- condition: severity == 'critical'
|
|
148
|
+
action: notify_security_team
|
|
149
|
+
|
|
150
|
+
safety:
|
|
151
|
+
input_validation:
|
|
152
|
+
- type: code_sanitization
|
|
153
|
+
- type: secret_redaction
|
|
154
|
+
|
|
155
|
+
observability:
|
|
156
|
+
logging:
|
|
157
|
+
level: info
|
|
158
|
+
metrics:
|
|
159
|
+
enabled: true
|
|
160
|
+
metrics:
|
|
161
|
+
- scans_completed
|
|
162
|
+
- vulnerabilities_found
|
|
163
|
+
- critical_issues
|
|
164
|
+
- scan_duration
|
|
165
|
+
tracing:
|
|
166
|
+
enabled: true
|
|
167
|
+
|
|
168
|
+
extensions:
|
|
169
|
+
anthropic:
|
|
170
|
+
use_extended_thinking: true
|
|
171
|
+
max_thinking_tokens: 3000
|
|
172
|
+
export_config:
|
|
173
|
+
format: typescript
|
|
174
|
+
output_file: security-scanner.ts
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
openapi: 3.1.0
|
|
2
|
+
info:
|
|
3
|
+
title: Security Scanner API
|
|
4
|
+
version: 1.0.0
|
|
5
|
+
description: Automated security scanning and vulnerability detection
|
|
6
|
+
|
|
7
|
+
servers:
|
|
8
|
+
- url: http://localhost:8088
|
|
9
|
+
|
|
10
|
+
paths:
|
|
11
|
+
/v1/scan:
|
|
12
|
+
post:
|
|
13
|
+
summary: Scan repository
|
|
14
|
+
operationId: scanRepository
|
|
15
|
+
requestBody:
|
|
16
|
+
required: true
|
|
17
|
+
content:
|
|
18
|
+
application/json:
|
|
19
|
+
schema:
|
|
20
|
+
type: object
|
|
21
|
+
required:
|
|
22
|
+
- repository
|
|
23
|
+
properties:
|
|
24
|
+
repository:
|
|
25
|
+
type: string
|
|
26
|
+
branch:
|
|
27
|
+
type: string
|
|
28
|
+
scanTypes:
|
|
29
|
+
type: array
|
|
30
|
+
items:
|
|
31
|
+
type: string
|
|
32
|
+
enum: [sast, dependency, secrets, iac, container]
|
|
33
|
+
responses:
|
|
34
|
+
'200':
|
|
35
|
+
description: Scan complete
|
|
36
|
+
content:
|
|
37
|
+
application/json:
|
|
38
|
+
schema:
|
|
39
|
+
type: object
|
|
40
|
+
properties:
|
|
41
|
+
scanId:
|
|
42
|
+
type: string
|
|
43
|
+
findings:
|
|
44
|
+
type: array
|
|
45
|
+
reportUrl:
|
|
46
|
+
type: string
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# Meeting Assistant
|
|
2
|
+
|
|
3
|
+
Meeting transcription, summarization, and action item extraction.
|
|
4
|
+
|
|
5
|
+
## Features
|
|
6
|
+
|
|
7
|
+
- Audio transcription with speaker diarization
|
|
8
|
+
- Meeting summarization
|
|
9
|
+
- Action item extraction
|
|
10
|
+
- Meeting minutes generation
|
|
11
|
+
- Zoom/Google Meet integration
|
|
12
|
+
- Email distribution
|
|
13
|
+
|
|
14
|
+
## Quick Start
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
export OPENAI_API_KEY=sk-...
|
|
18
|
+
docker-compose up -d
|
|
19
|
+
|
|
20
|
+
curl -X POST http://localhost:8089/v1/process-recording \
|
|
21
|
+
-d '{
|
|
22
|
+
"recordingUrl": "https://zoom.us/rec/...",
|
|
23
|
+
"meetingTitle": "Product Planning",
|
|
24
|
+
"attendees": ["alice@company.com", "bob@company.com"]
|
|
25
|
+
}'
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
## Integration
|
|
29
|
+
|
|
30
|
+
### Zoom Webhook
|
|
31
|
+
|
|
32
|
+
Configure Zoom webhook to automatically process recordings:
|
|
33
|
+
|
|
34
|
+
```json
|
|
35
|
+
{
|
|
36
|
+
"url": "https://your-domain.com/v1/webhook/zoom",
|
|
37
|
+
"event_types": ["recording.completed"]
|
|
38
|
+
}
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
### Google Meet
|
|
42
|
+
|
|
43
|
+
Use Google Calendar API integration for automatic processing.
|
|
44
|
+
|
|
45
|
+
## Export to LangChain
|
|
46
|
+
|
|
47
|
+
```bash
|
|
48
|
+
ossa export agent.ossa.yaml --platform langchain --output meeting_assistant.py
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
## License
|
|
52
|
+
|
|
53
|
+
Apache-2.0
|
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
apiVersion: ossa/v0.4.1
|
|
2
|
+
kind: Agent
|
|
3
|
+
metadata:
|
|
4
|
+
name: meeting-assistant
|
|
5
|
+
version: 1.0.0
|
|
6
|
+
description: |
|
|
7
|
+
Meeting assistant that transcribes, summarizes, and extracts action items from meetings.
|
|
8
|
+
Uses GPT-4o with conversation buffer memory for context retention.
|
|
9
|
+
labels:
|
|
10
|
+
platform: langchain
|
|
11
|
+
export: langchain
|
|
12
|
+
use-case: meeting-automation
|
|
13
|
+
tier: production
|
|
14
|
+
spec:
|
|
15
|
+
role: |
|
|
16
|
+
You are a professional meeting assistant specializing in:
|
|
17
|
+
- Meeting transcription and note-taking
|
|
18
|
+
- Summarization and key point extraction
|
|
19
|
+
- Action item identification and tracking
|
|
20
|
+
- Meeting minutes generation
|
|
21
|
+
- Follow-up task creation
|
|
22
|
+
|
|
23
|
+
llm:
|
|
24
|
+
provider: openai
|
|
25
|
+
model: gpt-4o
|
|
26
|
+
temperature: 0.5
|
|
27
|
+
maxTokens: 3000
|
|
28
|
+
|
|
29
|
+
capabilities:
|
|
30
|
+
- transcribe_audio
|
|
31
|
+
- summarize_meeting
|
|
32
|
+
- extract_action_items
|
|
33
|
+
- generate_minutes
|
|
34
|
+
|
|
35
|
+
tools:
|
|
36
|
+
- type: function
|
|
37
|
+
name: transcribe_audio
|
|
38
|
+
description: Transcribe meeting audio to text
|
|
39
|
+
parameters:
|
|
40
|
+
type: object
|
|
41
|
+
properties:
|
|
42
|
+
audioUrl:
|
|
43
|
+
type: string
|
|
44
|
+
format: uri
|
|
45
|
+
language:
|
|
46
|
+
type: string
|
|
47
|
+
default: en
|
|
48
|
+
speakerDiarization:
|
|
49
|
+
type: boolean
|
|
50
|
+
default: true
|
|
51
|
+
required:
|
|
52
|
+
- audioUrl
|
|
53
|
+
|
|
54
|
+
- type: function
|
|
55
|
+
name: summarize_meeting
|
|
56
|
+
description: Generate meeting summary
|
|
57
|
+
parameters:
|
|
58
|
+
type: object
|
|
59
|
+
properties:
|
|
60
|
+
transcript:
|
|
61
|
+
type: string
|
|
62
|
+
summaryType:
|
|
63
|
+
type: string
|
|
64
|
+
enum: [brief, detailed, executive]
|
|
65
|
+
includeTopic:
|
|
66
|
+
type: boolean
|
|
67
|
+
default: true
|
|
68
|
+
required:
|
|
69
|
+
- transcript
|
|
70
|
+
|
|
71
|
+
- type: function
|
|
72
|
+
name: extract_action_items
|
|
73
|
+
description: Extract action items from meeting
|
|
74
|
+
parameters:
|
|
75
|
+
type: object
|
|
76
|
+
properties:
|
|
77
|
+
transcript:
|
|
78
|
+
type: string
|
|
79
|
+
assignees:
|
|
80
|
+
type: array
|
|
81
|
+
items:
|
|
82
|
+
type: string
|
|
83
|
+
required:
|
|
84
|
+
- transcript
|
|
85
|
+
|
|
86
|
+
- type: function
|
|
87
|
+
name: generate_minutes
|
|
88
|
+
description: Generate formal meeting minutes
|
|
89
|
+
parameters:
|
|
90
|
+
type: object
|
|
91
|
+
properties:
|
|
92
|
+
meetingData:
|
|
93
|
+
type: object
|
|
94
|
+
properties:
|
|
95
|
+
date:
|
|
96
|
+
type: string
|
|
97
|
+
format: date-time
|
|
98
|
+
attendees:
|
|
99
|
+
type: array
|
|
100
|
+
topics:
|
|
101
|
+
type: array
|
|
102
|
+
decisions:
|
|
103
|
+
type: array
|
|
104
|
+
format:
|
|
105
|
+
type: string
|
|
106
|
+
enum: [markdown, html, pdf]
|
|
107
|
+
default: markdown
|
|
108
|
+
required:
|
|
109
|
+
- meetingData
|
|
110
|
+
|
|
111
|
+
triggers:
|
|
112
|
+
- type: webhook
|
|
113
|
+
source: zoom
|
|
114
|
+
events: [recording.completed]
|
|
115
|
+
- type: webhook
|
|
116
|
+
source: google_meet
|
|
117
|
+
events: [recording.ready]
|
|
118
|
+
|
|
119
|
+
tasks:
|
|
120
|
+
- name: process-recording
|
|
121
|
+
steps:
|
|
122
|
+
- name: transcribe
|
|
123
|
+
action: function_call
|
|
124
|
+
function: transcribe_audio
|
|
125
|
+
params:
|
|
126
|
+
audioUrl: ${inputs.recording_url}
|
|
127
|
+
speakerDiarization: true
|
|
128
|
+
|
|
129
|
+
- name: generate-summary
|
|
130
|
+
action: function_call
|
|
131
|
+
function: summarize_meeting
|
|
132
|
+
params:
|
|
133
|
+
transcript: ${outputs.transcript}
|
|
134
|
+
summaryType: detailed
|
|
135
|
+
|
|
136
|
+
- name: extract-actions
|
|
137
|
+
action: function_call
|
|
138
|
+
function: extract_action_items
|
|
139
|
+
params:
|
|
140
|
+
transcript: ${outputs.transcript}
|
|
141
|
+
|
|
142
|
+
- name: create-minutes
|
|
143
|
+
action: function_call
|
|
144
|
+
function: generate_minutes
|
|
145
|
+
params:
|
|
146
|
+
meetingData:
|
|
147
|
+
date: ${inputs.meeting_date}
|
|
148
|
+
attendees: ${inputs.attendees}
|
|
149
|
+
topics: ${outputs.summary}
|
|
150
|
+
decisions: ${outputs.action_items}
|
|
151
|
+
|
|
152
|
+
- name: send-to-participants
|
|
153
|
+
action: http
|
|
154
|
+
method: POST
|
|
155
|
+
url: ${env.EMAIL_SERVICE_URL}/send
|
|
156
|
+
body:
|
|
157
|
+
to: ${inputs.attendees}
|
|
158
|
+
subject: "Meeting Notes: ${inputs.meeting_title}"
|
|
159
|
+
body: ${outputs.minutes}
|
|
160
|
+
attachments:
|
|
161
|
+
- type: pdf
|
|
162
|
+
content: ${outputs.minutes_pdf}
|
|
163
|
+
|
|
164
|
+
memory:
|
|
165
|
+
enabled: true
|
|
166
|
+
type: conversation_buffer
|
|
167
|
+
window_size: 5
|
|
168
|
+
persistence:
|
|
169
|
+
enabled: false
|
|
170
|
+
|
|
171
|
+
outputs:
|
|
172
|
+
- name: transcript
|
|
173
|
+
type: string
|
|
174
|
+
description: Full meeting transcript
|
|
175
|
+
- name: summary
|
|
176
|
+
type: string
|
|
177
|
+
description: Meeting summary
|
|
178
|
+
- name: action_items
|
|
179
|
+
type: array
|
|
180
|
+
description: List of action items with assignees
|
|
181
|
+
- name: minutes
|
|
182
|
+
type: string
|
|
183
|
+
description: Formal meeting minutes
|
|
184
|
+
|
|
185
|
+
observability:
|
|
186
|
+
logging:
|
|
187
|
+
level: info
|
|
188
|
+
metrics:
|
|
189
|
+
enabled: true
|
|
190
|
+
metrics:
|
|
191
|
+
- meetings_processed
|
|
192
|
+
- transcription_duration
|
|
193
|
+
- action_items_extracted
|
|
194
|
+
tracing:
|
|
195
|
+
enabled: true
|
|
196
|
+
|
|
197
|
+
extensions:
|
|
198
|
+
langchain:
|
|
199
|
+
agent_type: react
|
|
200
|
+
memory_type: conversation_buffer
|
|
201
|
+
tools_mapping:
|
|
202
|
+
- ossa_capability: transcribe_audio
|
|
203
|
+
langchain_tool: whisper_transcriber
|
|
204
|
+
- ossa_capability: summarize_meeting
|
|
205
|
+
langchain_tool: meeting_summarizer
|
|
206
|
+
- ossa_capability: extract_action_items
|
|
207
|
+
langchain_tool: action_extractor
|
|
208
|
+
export_config:
|
|
209
|
+
format: python
|
|
210
|
+
include_dependencies: true
|
|
211
|
+
output_file: meeting_assistant.py
|