@bluefly/openstandardagents 0.4.8 → 0.4.9
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 +4 -4
- package/CHANGELOG.md +14 -0
- package/README.md +20 -5
- package/dist/.version.json +4 -4
- package/dist/adapters/a2a/__tests__/mcp-integration.spec.js +1 -1
- package/dist/adapters/a2a/a2a-protocol.d.ts +1 -1
- package/dist/adapters/a2a/a2a-tool.js +3 -3
- package/dist/adapters/a2a/delegation.js +1 -1
- package/dist/adapters/base/common-file-generator.d.ts +1 -1
- package/dist/adapters/base/common-file-generator.js +22 -0
- package/dist/cli/banner.js +1 -1
- package/dist/cli/commands/agents-sync.command.d.ts +19 -0
- package/dist/cli/commands/agents-sync.command.js +268 -0
- package/dist/cli/commands/discover.js +48 -52
- package/dist/cli/commands/export.command.js +41 -12
- package/dist/cli/commands/lifecycle.command.d.ts +29 -0
- package/dist/cli/commands/lifecycle.command.js +495 -0
- package/dist/cli/commands/policy.command.d.ts +11 -0
- package/dist/cli/commands/policy.command.js +85 -0
- package/dist/cli/commands/publish.command.js +29 -3
- package/dist/cli/commands/search.command.js +31 -2
- package/dist/cli/commands/serve-builder-routes.d.ts +17 -0
- package/dist/cli/commands/serve-builder-routes.js +390 -0
- package/dist/cli/commands/validate.command.js +48 -2
- package/dist/cli/commands/verify.js +61 -34
- package/dist/cli/commands/wizard-api-first.command.js +6 -0
- package/dist/cli/commands/wizard.command.js +6 -0
- package/dist/cli/commands/workspace.command.js +65 -65
- package/dist/cli/index.js +11 -3
- package/dist/cli/utils/standard-options.js +1 -1
- package/dist/confidence/index.d.ts +67 -0
- package/dist/confidence/index.js +130 -0
- package/dist/data/platform-matrix.js +29 -0
- package/dist/mcp-server/index.js +0 -0
- package/dist/mesh/discovery-providers.js +2 -2
- package/dist/mesh/discovery.js +1 -1
- package/dist/mesh/index.d.ts +2 -2
- package/dist/mesh/index.js +2 -2
- package/dist/mesh/types.d.ts +202 -1
- package/dist/package.json +6 -12
- package/dist/services/agent-card-generator.d.ts +2 -2
- package/dist/services/agent-card-generator.js +3 -1
- package/dist/services/agents-md/agents-md.service.d.ts +4 -0
- package/dist/services/agents-md/agents-md.service.js +18 -0
- package/dist/services/governance/cedar-validator.service.d.ts +32 -0
- package/dist/services/governance/cedar-validator.service.js +88 -0
- package/dist/services/mcp/bridge.service.d.ts +1 -0
- package/dist/services/mcp/bridge.service.js +31 -0
- package/dist/services/skills-pipeline/skills-install.service.js +2 -2
- package/dist/services/skills-pipeline/skills-research.service.d.ts +5 -7
- package/dist/services/skills-pipeline/skills-research.service.js +13 -58
- package/dist/services/trust/trust.service.d.ts +9 -0
- package/dist/services/trust/trust.service.js +35 -0
- package/dist/services/validators/a2a.validator.js +2 -2
- package/dist/skills/test-skill/package.json +1 -1
- package/dist/spec/uadp/README.md +1 -1
- package/dist/spec/v0.4/agent-card.schema.json +2 -2
- package/dist/spec/v0.4/agent.schema.json +69 -0
- package/dist/spec/v0.4/extensions/a2a/a2a.schema.json +1 -1
- package/dist/spec/v0.5/agent-card.schema.json +1 -1
- package/dist/spec/v0.5/agent.schema.json +137 -67
- package/dist/types/index.d.ts +3 -1
- package/dist/validation/progressive-scorer.d.ts +1 -1
- package/dist/validation/progressive-scorer.js +19 -2
- package/dist/version-management/api/server.d.ts +1 -1
- package/examples/agent-mesh/DISCOVERY.md +25 -25
- package/examples/agent-mesh/README.ts +6 -6
- package/examples/agent-mesh/basic-usage.ts +11 -11
- package/examples/agent-mesh/discovery-system.ts +37 -37
- package/openapi/agent-communication.yaml +12 -12
- package/openapi/marketplace-plugin.openapi.yaml +1 -1
- package/openapi/protocols/sse-streams.yaml +3 -3
- package/openapi/protocols/websocket-events.yaml +3 -3
- package/openapi/uadp-asyncapi.yaml +1 -1
- package/openapi/uadp-openapi.yaml +99 -5
- package/package.json +4 -10
- package/spec/uadp/README.md +393 -0
- package/spec/uadp/openapi.yaml +387 -0
- package/spec/uadp/schemas/uadp-agents-response.schema.json +68 -0
- package/spec/uadp/schemas/uadp-federation-response.schema.json +46 -0
- package/spec/uadp/schemas/uadp-manifest.schema.json +82 -0
- package/spec/uadp/schemas/uadp-skills-response.schema.json +72 -0
- package/spec/v0.4/agent-card.schema.json +2 -2
- package/spec/v0.4/extensions/a2a/a2a.schema.json +1 -1
- package/spec/v0.5/agent-card.schema.json +477 -0
- package/spec/v0.5/agent.schema.json +1626 -0
- package/spec/v0.5/conformance/profiles/baseline.json +19 -0
- package/spec/v0.5/conformance/profiles/enterprise.json +20 -0
- package/spec/v0.5/extensions/a2a/README.md +193 -0
- package/spec/v0.5/extensions/a2a/a2a.schema.json +77 -0
- package/spec/v0.5/extensions/ag2/ag2.schema.json +277 -0
- package/spec/v0.5/extensions/cognition/cognition.schema.json +94 -0
- package/spec/v0.5/extensions/cognition/thought-node.schema.json +80 -0
- package/spec/v0.5/extensions/crewai/crewai.schema.json +256 -0
- package/spec/v0.5/extensions/drupal/drupal.schema.json +318 -0
- package/spec/v0.5/extensions/evals/evals.schema.json +597 -0
- package/spec/v0.5/extensions/governance/governance-extension.yaml +161 -0
- package/spec/v0.5/extensions/identity/identity.schema.json +302 -0
- package/spec/v0.5/extensions/kagent/README.md +315 -0
- package/spec/v0.5/extensions/kagent/kagent.schema.json +624 -0
- package/spec/v0.5/extensions/langchain/langchain.schema.json +243 -0
- package/spec/v0.5/extensions/langgraph/langgraph.schema.json +211 -0
- package/spec/v0.5/extensions/mcp/README.md +276 -0
- package/spec/v0.5/extensions/mcp/mcp.schema.json +84 -0
- package/spec/v0.5/extensions/memory/memory.schema.json +7 -0
- package/spec/v0.5/extensions/team/team.schema.json +304 -0
- package/spec/v0.5/extensions/token-efficiency/token-efficiency.schema.json +47 -0
- package/spec/v0.5/mcp.schema.json +1 -0
- package/spec/v0.5/skill.schema.json +1 -0
- package/spec/v0.5/validator.schema.json +282 -0
- package/node_modules/ajv/.runkit_example.js +0 -23
- package/node_modules/ajv/LICENSE +0 -22
- package/node_modules/ajv/README.md +0 -207
- package/node_modules/ajv/dist/2019.d.ts +0 -19
- package/node_modules/ajv/dist/2019.js +0 -61
- package/node_modules/ajv/dist/2019.js.map +0 -1
- package/node_modules/ajv/dist/2020.d.ts +0 -19
- package/node_modules/ajv/dist/2020.js +0 -55
- package/node_modules/ajv/dist/2020.js.map +0 -1
- package/node_modules/ajv/dist/ajv.d.ts +0 -18
- package/node_modules/ajv/dist/ajv.js +0 -50
- package/node_modules/ajv/dist/ajv.js.map +0 -1
- package/node_modules/ajv/dist/compile/codegen/code.d.ts +0 -40
- package/node_modules/ajv/dist/compile/codegen/code.js +0 -156
- package/node_modules/ajv/dist/compile/codegen/code.js.map +0 -1
- package/node_modules/ajv/dist/compile/codegen/index.d.ts +0 -79
- package/node_modules/ajv/dist/compile/codegen/index.js +0 -697
- package/node_modules/ajv/dist/compile/codegen/index.js.map +0 -1
- package/node_modules/ajv/dist/compile/codegen/scope.d.ts +0 -79
- package/node_modules/ajv/dist/compile/codegen/scope.js +0 -143
- package/node_modules/ajv/dist/compile/codegen/scope.js.map +0 -1
- package/node_modules/ajv/dist/compile/errors.d.ts +0 -13
- package/node_modules/ajv/dist/compile/errors.js +0 -123
- package/node_modules/ajv/dist/compile/errors.js.map +0 -1
- package/node_modules/ajv/dist/compile/index.d.ts +0 -80
- package/node_modules/ajv/dist/compile/index.js +0 -242
- package/node_modules/ajv/dist/compile/index.js.map +0 -1
- package/node_modules/ajv/dist/compile/jtd/parse.d.ts +0 -4
- package/node_modules/ajv/dist/compile/jtd/parse.js +0 -350
- package/node_modules/ajv/dist/compile/jtd/parse.js.map +0 -1
- package/node_modules/ajv/dist/compile/jtd/serialize.d.ts +0 -4
- package/node_modules/ajv/dist/compile/jtd/serialize.js +0 -236
- package/node_modules/ajv/dist/compile/jtd/serialize.js.map +0 -1
- package/node_modules/ajv/dist/compile/jtd/types.d.ts +0 -6
- package/node_modules/ajv/dist/compile/jtd/types.js +0 -14
- package/node_modules/ajv/dist/compile/jtd/types.js.map +0 -1
- package/node_modules/ajv/dist/compile/names.d.ts +0 -20
- package/node_modules/ajv/dist/compile/names.js +0 -28
- package/node_modules/ajv/dist/compile/names.js.map +0 -1
- package/node_modules/ajv/dist/compile/ref_error.d.ts +0 -6
- package/node_modules/ajv/dist/compile/ref_error.js +0 -12
- package/node_modules/ajv/dist/compile/ref_error.js.map +0 -1
- package/node_modules/ajv/dist/compile/resolve.d.ts +0 -12
- package/node_modules/ajv/dist/compile/resolve.js +0 -155
- package/node_modules/ajv/dist/compile/resolve.js.map +0 -1
- package/node_modules/ajv/dist/compile/rules.d.ts +0 -28
- package/node_modules/ajv/dist/compile/rules.js +0 -26
- package/node_modules/ajv/dist/compile/rules.js.map +0 -1
- package/node_modules/ajv/dist/compile/util.d.ts +0 -40
- package/node_modules/ajv/dist/compile/util.js +0 -178
- package/node_modules/ajv/dist/compile/util.js.map +0 -1
- package/node_modules/ajv/dist/compile/validate/applicability.d.ts +0 -6
- package/node_modules/ajv/dist/compile/validate/applicability.js +0 -19
- package/node_modules/ajv/dist/compile/validate/applicability.js.map +0 -1
- package/node_modules/ajv/dist/compile/validate/boolSchema.d.ts +0 -4
- package/node_modules/ajv/dist/compile/validate/boolSchema.js +0 -50
- package/node_modules/ajv/dist/compile/validate/boolSchema.js.map +0 -1
- package/node_modules/ajv/dist/compile/validate/dataType.d.ts +0 -17
- package/node_modules/ajv/dist/compile/validate/dataType.js +0 -203
- package/node_modules/ajv/dist/compile/validate/dataType.js.map +0 -1
- package/node_modules/ajv/dist/compile/validate/defaults.d.ts +0 -2
- package/node_modules/ajv/dist/compile/validate/defaults.js +0 -35
- package/node_modules/ajv/dist/compile/validate/defaults.js.map +0 -1
- package/node_modules/ajv/dist/compile/validate/index.d.ts +0 -42
- package/node_modules/ajv/dist/compile/validate/index.js +0 -520
- package/node_modules/ajv/dist/compile/validate/index.js.map +0 -1
- package/node_modules/ajv/dist/compile/validate/keyword.d.ts +0 -8
- package/node_modules/ajv/dist/compile/validate/keyword.js +0 -124
- package/node_modules/ajv/dist/compile/validate/keyword.js.map +0 -1
- package/node_modules/ajv/dist/compile/validate/subschema.d.ts +0 -47
- package/node_modules/ajv/dist/compile/validate/subschema.js +0 -81
- package/node_modules/ajv/dist/compile/validate/subschema.js.map +0 -1
- package/node_modules/ajv/dist/core.d.ts +0 -174
- package/node_modules/ajv/dist/core.js +0 -618
- package/node_modules/ajv/dist/core.js.map +0 -1
- package/node_modules/ajv/dist/jtd.d.ts +0 -47
- package/node_modules/ajv/dist/jtd.js +0 -72
- package/node_modules/ajv/dist/jtd.js.map +0 -1
- package/node_modules/ajv/dist/refs/data.json +0 -13
- package/node_modules/ajv/dist/refs/json-schema-2019-09/index.d.ts +0 -2
- package/node_modules/ajv/dist/refs/json-schema-2019-09/index.js +0 -28
- package/node_modules/ajv/dist/refs/json-schema-2019-09/index.js.map +0 -1
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/applicator.json +0 -53
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/content.json +0 -17
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/core.json +0 -57
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/format.json +0 -14
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/meta-data.json +0 -37
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/validation.json +0 -90
- package/node_modules/ajv/dist/refs/json-schema-2019-09/schema.json +0 -39
- package/node_modules/ajv/dist/refs/json-schema-2020-12/index.d.ts +0 -2
- package/node_modules/ajv/dist/refs/json-schema-2020-12/index.js +0 -30
- package/node_modules/ajv/dist/refs/json-schema-2020-12/index.js.map +0 -1
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/applicator.json +0 -48
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/content.json +0 -17
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/core.json +0 -51
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.json +0 -14
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/meta-data.json +0 -37
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.json +0 -15
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/validation.json +0 -90
- package/node_modules/ajv/dist/refs/json-schema-2020-12/schema.json +0 -55
- package/node_modules/ajv/dist/refs/json-schema-draft-06.json +0 -137
- package/node_modules/ajv/dist/refs/json-schema-draft-07.json +0 -151
- package/node_modules/ajv/dist/refs/json-schema-secure.json +0 -88
- package/node_modules/ajv/dist/refs/jtd-schema.d.ts +0 -3
- package/node_modules/ajv/dist/refs/jtd-schema.js +0 -118
- package/node_modules/ajv/dist/refs/jtd-schema.js.map +0 -1
- package/node_modules/ajv/dist/runtime/equal.d.ts +0 -6
- package/node_modules/ajv/dist/runtime/equal.js +0 -7
- package/node_modules/ajv/dist/runtime/equal.js.map +0 -1
- package/node_modules/ajv/dist/runtime/parseJson.d.ts +0 -18
- package/node_modules/ajv/dist/runtime/parseJson.js +0 -185
- package/node_modules/ajv/dist/runtime/parseJson.js.map +0 -1
- package/node_modules/ajv/dist/runtime/quote.d.ts +0 -5
- package/node_modules/ajv/dist/runtime/quote.js +0 -30
- package/node_modules/ajv/dist/runtime/quote.js.map +0 -1
- package/node_modules/ajv/dist/runtime/re2.d.ts +0 -6
- package/node_modules/ajv/dist/runtime/re2.js +0 -6
- package/node_modules/ajv/dist/runtime/re2.js.map +0 -1
- package/node_modules/ajv/dist/runtime/timestamp.d.ts +0 -5
- package/node_modules/ajv/dist/runtime/timestamp.js +0 -42
- package/node_modules/ajv/dist/runtime/timestamp.js.map +0 -1
- package/node_modules/ajv/dist/runtime/ucs2length.d.ts +0 -5
- package/node_modules/ajv/dist/runtime/ucs2length.js +0 -24
- package/node_modules/ajv/dist/runtime/ucs2length.js.map +0 -1
- package/node_modules/ajv/dist/runtime/uri.d.ts +0 -6
- package/node_modules/ajv/dist/runtime/uri.js +0 -6
- package/node_modules/ajv/dist/runtime/uri.js.map +0 -1
- package/node_modules/ajv/dist/runtime/validation_error.d.ts +0 -7
- package/node_modules/ajv/dist/runtime/validation_error.js +0 -11
- package/node_modules/ajv/dist/runtime/validation_error.js.map +0 -1
- package/node_modules/ajv/dist/standalone/index.d.ts +0 -6
- package/node_modules/ajv/dist/standalone/index.js +0 -90
- package/node_modules/ajv/dist/standalone/index.js.map +0 -1
- package/node_modules/ajv/dist/standalone/instance.d.ts +0 -12
- package/node_modules/ajv/dist/standalone/instance.js +0 -35
- package/node_modules/ajv/dist/standalone/instance.js.map +0 -1
- package/node_modules/ajv/dist/types/index.d.ts +0 -183
- package/node_modules/ajv/dist/types/index.js +0 -3
- package/node_modules/ajv/dist/types/index.js.map +0 -1
- package/node_modules/ajv/dist/types/json-schema.d.ts +0 -125
- package/node_modules/ajv/dist/types/json-schema.js +0 -3
- package/node_modules/ajv/dist/types/json-schema.js.map +0 -1
- package/node_modules/ajv/dist/types/jtd-schema.d.ts +0 -174
- package/node_modules/ajv/dist/types/jtd-schema.js +0 -3
- package/node_modules/ajv/dist/types/jtd-schema.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.d.ts +0 -8
- package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +0 -49
- package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.d.ts +0 -6
- package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +0 -106
- package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/allOf.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/applicator/allOf.js +0 -23
- package/node_modules/ajv/dist/vocabularies/applicator/allOf.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/anyOf.d.ts +0 -4
- package/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +0 -12
- package/node_modules/ajv/dist/vocabularies/applicator/anyOf.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/contains.d.ts +0 -7
- package/node_modules/ajv/dist/vocabularies/applicator/contains.js +0 -95
- package/node_modules/ajv/dist/vocabularies/applicator/contains.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/dependencies.d.ts +0 -21
- package/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +0 -85
- package/node_modules/ajv/dist/vocabularies/applicator/dependencies.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js +0 -11
- package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/if.d.ts +0 -6
- package/node_modules/ajv/dist/vocabularies/applicator/if.js +0 -66
- package/node_modules/ajv/dist/vocabularies/applicator/if.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/index.d.ts +0 -13
- package/node_modules/ajv/dist/vocabularies/applicator/index.js +0 -44
- package/node_modules/ajv/dist/vocabularies/applicator/index.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/items.d.ts +0 -5
- package/node_modules/ajv/dist/vocabularies/applicator/items.js +0 -52
- package/node_modules/ajv/dist/vocabularies/applicator/items.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/items2020.d.ts +0 -6
- package/node_modules/ajv/dist/vocabularies/applicator/items2020.js +0 -30
- package/node_modules/ajv/dist/vocabularies/applicator/items2020.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/not.d.ts +0 -4
- package/node_modules/ajv/dist/vocabularies/applicator/not.js +0 -26
- package/node_modules/ajv/dist/vocabularies/applicator/not.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/oneOf.d.ts +0 -6
- package/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +0 -60
- package/node_modules/ajv/dist/vocabularies/applicator/oneOf.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +0 -75
- package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +0 -12
- package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/properties.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/applicator/properties.js +0 -54
- package/node_modules/ajv/dist/vocabularies/applicator/properties.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.d.ts +0 -6
- package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +0 -38
- package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/applicator/thenElse.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +0 -13
- package/node_modules/ajv/dist/vocabularies/applicator/thenElse.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/code.d.ts +0 -17
- package/node_modules/ajv/dist/vocabularies/code.js +0 -131
- package/node_modules/ajv/dist/vocabularies/code.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/core/id.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/core/id.js +0 -10
- package/node_modules/ajv/dist/vocabularies/core/id.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/core/index.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/core/index.js +0 -16
- package/node_modules/ajv/dist/vocabularies/core/index.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/core/ref.d.ts +0 -8
- package/node_modules/ajv/dist/vocabularies/core/ref.js +0 -122
- package/node_modules/ajv/dist/vocabularies/core/ref.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/discriminator/index.d.ts +0 -5
- package/node_modules/ajv/dist/vocabularies/discriminator/index.js +0 -104
- package/node_modules/ajv/dist/vocabularies/discriminator/index.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/discriminator/types.d.ts +0 -10
- package/node_modules/ajv/dist/vocabularies/discriminator/types.js +0 -9
- package/node_modules/ajv/dist/vocabularies/discriminator/types.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/draft2020.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/draft2020.js +0 -23
- package/node_modules/ajv/dist/vocabularies/draft2020.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/draft7.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/draft7.js +0 -17
- package/node_modules/ajv/dist/vocabularies/draft7.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.d.ts +0 -5
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js +0 -30
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.d.ts +0 -5
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js +0 -51
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/dynamic/index.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/dynamic/index.js +0 -9
- package/node_modules/ajv/dist/vocabularies/dynamic/index.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js +0 -16
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js +0 -10
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/errors.d.ts +0 -9
- package/node_modules/ajv/dist/vocabularies/errors.js +0 -3
- package/node_modules/ajv/dist/vocabularies/errors.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/format/format.d.ts +0 -8
- package/node_modules/ajv/dist/vocabularies/format/format.js +0 -92
- package/node_modules/ajv/dist/vocabularies/format/format.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/format/index.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/format/index.js +0 -6
- package/node_modules/ajv/dist/vocabularies/format/index.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/jtd/discriminator.d.ts +0 -6
- package/node_modules/ajv/dist/vocabularies/jtd/discriminator.js +0 -71
- package/node_modules/ajv/dist/vocabularies/jtd/discriminator.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/jtd/elements.d.ts +0 -5
- package/node_modules/ajv/dist/vocabularies/jtd/elements.js +0 -24
- package/node_modules/ajv/dist/vocabularies/jtd/elements.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/jtd/enum.d.ts +0 -6
- package/node_modules/ajv/dist/vocabularies/jtd/enum.js +0 -43
- package/node_modules/ajv/dist/vocabularies/jtd/enum.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/jtd/error.d.ts +0 -9
- package/node_modules/ajv/dist/vocabularies/jtd/error.js +0 -20
- package/node_modules/ajv/dist/vocabularies/jtd/error.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/jtd/index.d.ts +0 -10
- package/node_modules/ajv/dist/vocabularies/jtd/index.js +0 -29
- package/node_modules/ajv/dist/vocabularies/jtd/index.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/jtd/metadata.d.ts +0 -5
- package/node_modules/ajv/dist/vocabularies/jtd/metadata.js +0 -25
- package/node_modules/ajv/dist/vocabularies/jtd/metadata.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/jtd/nullable.d.ts +0 -4
- package/node_modules/ajv/dist/vocabularies/jtd/nullable.js +0 -22
- package/node_modules/ajv/dist/vocabularies/jtd/nullable.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js +0 -15
- package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/jtd/properties.d.ts +0 -22
- package/node_modules/ajv/dist/vocabularies/jtd/properties.js +0 -149
- package/node_modules/ajv/dist/vocabularies/jtd/properties.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/jtd/ref.d.ts +0 -4
- package/node_modules/ajv/dist/vocabularies/jtd/ref.js +0 -67
- package/node_modules/ajv/dist/vocabularies/jtd/ref.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/jtd/type.d.ts +0 -10
- package/node_modules/ajv/dist/vocabularies/jtd/type.js +0 -69
- package/node_modules/ajv/dist/vocabularies/jtd/type.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/jtd/union.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/jtd/union.js +0 -12
- package/node_modules/ajv/dist/vocabularies/jtd/union.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/jtd/values.d.ts +0 -5
- package/node_modules/ajv/dist/vocabularies/jtd/values.js +0 -51
- package/node_modules/ajv/dist/vocabularies/jtd/values.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/metadata.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/metadata.js +0 -18
- package/node_modules/ajv/dist/vocabularies/metadata.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/next.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/next.js +0 -8
- package/node_modules/ajv/dist/vocabularies/next.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/unevaluated/index.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/unevaluated/index.js +0 -7
- package/node_modules/ajv/dist/vocabularies/unevaluated/index.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.d.ts +0 -6
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js +0 -40
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.d.ts +0 -6
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js +0 -65
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/validation/const.d.ts +0 -6
- package/node_modules/ajv/dist/vocabularies/validation/const.js +0 -25
- package/node_modules/ajv/dist/vocabularies/validation/const.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.d.ts +0 -5
- package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js +0 -12
- package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/validation/enum.d.ts +0 -8
- package/node_modules/ajv/dist/vocabularies/validation/enum.js +0 -48
- package/node_modules/ajv/dist/vocabularies/validation/enum.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/validation/index.d.ts +0 -16
- package/node_modules/ajv/dist/vocabularies/validation/index.js +0 -33
- package/node_modules/ajv/dist/vocabularies/validation/index.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/validation/limitContains.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/validation/limitContains.js +0 -15
- package/node_modules/ajv/dist/vocabularies/validation/limitContains.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/validation/limitItems.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/validation/limitItems.js +0 -24
- package/node_modules/ajv/dist/vocabularies/validation/limitItems.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/validation/limitLength.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/validation/limitLength.js +0 -27
- package/node_modules/ajv/dist/vocabularies/validation/limitLength.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/validation/limitNumber.d.ts +0 -11
- package/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +0 -27
- package/node_modules/ajv/dist/vocabularies/validation/limitNumber.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/validation/limitProperties.d.ts +0 -3
- package/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +0 -24
- package/node_modules/ajv/dist/vocabularies/validation/limitProperties.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/validation/multipleOf.d.ts +0 -8
- package/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +0 -26
- package/node_modules/ajv/dist/vocabularies/validation/multipleOf.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/validation/pattern.d.ts +0 -8
- package/node_modules/ajv/dist/vocabularies/validation/pattern.js +0 -33
- package/node_modules/ajv/dist/vocabularies/validation/pattern.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/validation/required.d.ts +0 -8
- package/node_modules/ajv/dist/vocabularies/validation/required.js +0 -79
- package/node_modules/ajv/dist/vocabularies/validation/required.js.map +0 -1
- package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.d.ts +0 -9
- package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +0 -64
- package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js.map +0 -1
- package/node_modules/ajv/lib/2019.ts +0 -81
- package/node_modules/ajv/lib/2020.ts +0 -75
- package/node_modules/ajv/lib/ajv.ts +0 -70
- package/node_modules/ajv/lib/compile/codegen/code.ts +0 -169
- package/node_modules/ajv/lib/compile/codegen/index.ts +0 -852
- package/node_modules/ajv/lib/compile/codegen/scope.ts +0 -215
- package/node_modules/ajv/lib/compile/errors.ts +0 -184
- package/node_modules/ajv/lib/compile/index.ts +0 -324
- package/node_modules/ajv/lib/compile/jtd/parse.ts +0 -411
- package/node_modules/ajv/lib/compile/jtd/serialize.ts +0 -277
- package/node_modules/ajv/lib/compile/jtd/types.ts +0 -16
- package/node_modules/ajv/lib/compile/names.ts +0 -27
- package/node_modules/ajv/lib/compile/ref_error.ts +0 -13
- package/node_modules/ajv/lib/compile/resolve.ts +0 -149
- package/node_modules/ajv/lib/compile/rules.ts +0 -50
- package/node_modules/ajv/lib/compile/util.ts +0 -213
- package/node_modules/ajv/lib/compile/validate/applicability.ts +0 -22
- package/node_modules/ajv/lib/compile/validate/boolSchema.ts +0 -47
- package/node_modules/ajv/lib/compile/validate/dataType.ts +0 -230
- package/node_modules/ajv/lib/compile/validate/defaults.ts +0 -32
- package/node_modules/ajv/lib/compile/validate/index.ts +0 -582
- package/node_modules/ajv/lib/compile/validate/keyword.ts +0 -171
- package/node_modules/ajv/lib/compile/validate/subschema.ts +0 -135
- package/node_modules/ajv/lib/core.ts +0 -892
- package/node_modules/ajv/lib/jtd.ts +0 -132
- package/node_modules/ajv/lib/refs/data.json +0 -13
- package/node_modules/ajv/lib/refs/json-schema-2019-09/index.ts +0 -28
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/applicator.json +0 -53
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/content.json +0 -17
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/core.json +0 -57
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/format.json +0 -14
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/meta-data.json +0 -37
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/validation.json +0 -90
- package/node_modules/ajv/lib/refs/json-schema-2019-09/schema.json +0 -39
- package/node_modules/ajv/lib/refs/json-schema-2020-12/index.ts +0 -30
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/applicator.json +0 -48
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/content.json +0 -17
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/core.json +0 -51
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/format-annotation.json +0 -14
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/meta-data.json +0 -37
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/unevaluated.json +0 -15
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/validation.json +0 -90
- package/node_modules/ajv/lib/refs/json-schema-2020-12/schema.json +0 -55
- package/node_modules/ajv/lib/refs/json-schema-draft-06.json +0 -137
- package/node_modules/ajv/lib/refs/json-schema-draft-07.json +0 -151
- package/node_modules/ajv/lib/refs/json-schema-secure.json +0 -88
- package/node_modules/ajv/lib/refs/jtd-schema.ts +0 -130
- package/node_modules/ajv/lib/runtime/equal.ts +0 -7
- package/node_modules/ajv/lib/runtime/parseJson.ts +0 -177
- package/node_modules/ajv/lib/runtime/quote.ts +0 -31
- package/node_modules/ajv/lib/runtime/re2.ts +0 -6
- package/node_modules/ajv/lib/runtime/timestamp.ts +0 -46
- package/node_modules/ajv/lib/runtime/ucs2length.ts +0 -20
- package/node_modules/ajv/lib/runtime/uri.ts +0 -6
- package/node_modules/ajv/lib/runtime/validation_error.ts +0 -13
- package/node_modules/ajv/lib/standalone/index.ts +0 -100
- package/node_modules/ajv/lib/standalone/instance.ts +0 -36
- package/node_modules/ajv/lib/types/index.ts +0 -244
- package/node_modules/ajv/lib/types/json-schema.ts +0 -187
- package/node_modules/ajv/lib/types/jtd-schema.ts +0 -273
- package/node_modules/ajv/lib/vocabularies/applicator/additionalItems.ts +0 -56
- package/node_modules/ajv/lib/vocabularies/applicator/additionalProperties.ts +0 -118
- package/node_modules/ajv/lib/vocabularies/applicator/allOf.ts +0 -22
- package/node_modules/ajv/lib/vocabularies/applicator/anyOf.ts +0 -14
- package/node_modules/ajv/lib/vocabularies/applicator/contains.ts +0 -109
- package/node_modules/ajv/lib/vocabularies/applicator/dependencies.ts +0 -112
- package/node_modules/ajv/lib/vocabularies/applicator/dependentSchemas.ts +0 -11
- package/node_modules/ajv/lib/vocabularies/applicator/if.ts +0 -80
- package/node_modules/ajv/lib/vocabularies/applicator/index.ts +0 -53
- package/node_modules/ajv/lib/vocabularies/applicator/items.ts +0 -59
- package/node_modules/ajv/lib/vocabularies/applicator/items2020.ts +0 -36
- package/node_modules/ajv/lib/vocabularies/applicator/not.ts +0 -38
- package/node_modules/ajv/lib/vocabularies/applicator/oneOf.ts +0 -82
- package/node_modules/ajv/lib/vocabularies/applicator/patternProperties.ts +0 -91
- package/node_modules/ajv/lib/vocabularies/applicator/prefixItems.ts +0 -12
- package/node_modules/ajv/lib/vocabularies/applicator/properties.ts +0 -57
- package/node_modules/ajv/lib/vocabularies/applicator/propertyNames.ts +0 -50
- package/node_modules/ajv/lib/vocabularies/applicator/thenElse.ts +0 -13
- package/node_modules/ajv/lib/vocabularies/code.ts +0 -168
- package/node_modules/ajv/lib/vocabularies/core/id.ts +0 -10
- package/node_modules/ajv/lib/vocabularies/core/index.ts +0 -16
- package/node_modules/ajv/lib/vocabularies/core/ref.ts +0 -129
- package/node_modules/ajv/lib/vocabularies/discriminator/index.ts +0 -113
- package/node_modules/ajv/lib/vocabularies/discriminator/types.ts +0 -12
- package/node_modules/ajv/lib/vocabularies/draft2020.ts +0 -23
- package/node_modules/ajv/lib/vocabularies/draft7.ts +0 -17
- package/node_modules/ajv/lib/vocabularies/dynamic/dynamicAnchor.ts +0 -31
- package/node_modules/ajv/lib/vocabularies/dynamic/dynamicRef.ts +0 -51
- package/node_modules/ajv/lib/vocabularies/dynamic/index.ts +0 -9
- package/node_modules/ajv/lib/vocabularies/dynamic/recursiveAnchor.ts +0 -14
- package/node_modules/ajv/lib/vocabularies/dynamic/recursiveRef.ts +0 -10
- package/node_modules/ajv/lib/vocabularies/errors.ts +0 -18
- package/node_modules/ajv/lib/vocabularies/format/format.ts +0 -120
- package/node_modules/ajv/lib/vocabularies/format/index.ts +0 -6
- package/node_modules/ajv/lib/vocabularies/jtd/discriminator.ts +0 -89
- package/node_modules/ajv/lib/vocabularies/jtd/elements.ts +0 -32
- package/node_modules/ajv/lib/vocabularies/jtd/enum.ts +0 -45
- package/node_modules/ajv/lib/vocabularies/jtd/error.ts +0 -23
- package/node_modules/ajv/lib/vocabularies/jtd/index.ts +0 -37
- package/node_modules/ajv/lib/vocabularies/jtd/metadata.ts +0 -24
- package/node_modules/ajv/lib/vocabularies/jtd/nullable.ts +0 -21
- package/node_modules/ajv/lib/vocabularies/jtd/optionalProperties.ts +0 -15
- package/node_modules/ajv/lib/vocabularies/jtd/properties.ts +0 -184
- package/node_modules/ajv/lib/vocabularies/jtd/ref.ts +0 -76
- package/node_modules/ajv/lib/vocabularies/jtd/type.ts +0 -75
- package/node_modules/ajv/lib/vocabularies/jtd/union.ts +0 -12
- package/node_modules/ajv/lib/vocabularies/jtd/values.ts +0 -58
- package/node_modules/ajv/lib/vocabularies/metadata.ts +0 -17
- package/node_modules/ajv/lib/vocabularies/next.ts +0 -8
- package/node_modules/ajv/lib/vocabularies/unevaluated/index.ts +0 -7
- package/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedItems.ts +0 -47
- package/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedProperties.ts +0 -85
- package/node_modules/ajv/lib/vocabularies/validation/const.ts +0 -28
- package/node_modules/ajv/lib/vocabularies/validation/dependentRequired.ts +0 -23
- package/node_modules/ajv/lib/vocabularies/validation/enum.ts +0 -54
- package/node_modules/ajv/lib/vocabularies/validation/index.ts +0 -49
- package/node_modules/ajv/lib/vocabularies/validation/limitContains.ts +0 -16
- package/node_modules/ajv/lib/vocabularies/validation/limitItems.ts +0 -26
- package/node_modules/ajv/lib/vocabularies/validation/limitLength.ts +0 -30
- package/node_modules/ajv/lib/vocabularies/validation/limitNumber.ts +0 -42
- package/node_modules/ajv/lib/vocabularies/validation/limitProperties.ts +0 -26
- package/node_modules/ajv/lib/vocabularies/validation/multipleOf.ts +0 -34
- package/node_modules/ajv/lib/vocabularies/validation/pattern.ts +0 -39
- package/node_modules/ajv/lib/vocabularies/validation/required.ts +0 -98
- package/node_modules/ajv/lib/vocabularies/validation/uniqueItems.ts +0 -79
- package/node_modules/ajv/package.json +0 -127
- package/node_modules/ajv-formats/LICENSE +0 -21
- package/node_modules/ajv-formats/README.md +0 -125
- package/node_modules/ajv-formats/dist/formats.d.ts +0 -9
- package/node_modules/ajv-formats/dist/formats.js +0 -208
- package/node_modules/ajv-formats/dist/formats.js.map +0 -1
- package/node_modules/ajv-formats/dist/index.d.ts +0 -15
- package/node_modules/ajv-formats/dist/index.js +0 -37
- package/node_modules/ajv-formats/dist/index.js.map +0 -1
- package/node_modules/ajv-formats/dist/limit.d.ts +0 -10
- package/node_modules/ajv-formats/dist/limit.js +0 -69
- package/node_modules/ajv-formats/dist/limit.js.map +0 -1
- package/node_modules/ajv-formats/package.json +0 -74
- package/node_modules/ajv-formats/src/formats.ts +0 -269
- package/node_modules/ajv-formats/src/index.ts +0 -62
- package/node_modules/ajv-formats/src/limit.ts +0 -99
- package/node_modules/fast-deep-equal/LICENSE +0 -21
- package/node_modules/fast-deep-equal/README.md +0 -96
- package/node_modules/fast-deep-equal/es6/index.d.ts +0 -2
- package/node_modules/fast-deep-equal/es6/index.js +0 -72
- package/node_modules/fast-deep-equal/es6/react.d.ts +0 -2
- package/node_modules/fast-deep-equal/es6/react.js +0 -79
- package/node_modules/fast-deep-equal/index.d.ts +0 -4
- package/node_modules/fast-deep-equal/index.js +0 -46
- package/node_modules/fast-deep-equal/package.json +0 -61
- package/node_modules/fast-deep-equal/react.d.ts +0 -2
- package/node_modules/fast-deep-equal/react.js +0 -53
- package/node_modules/fast-uri/.gitattributes +0 -2
- package/node_modules/fast-uri/.github/.stale.yml +0 -21
- package/node_modules/fast-uri/.github/dependabot.yml +0 -13
- package/node_modules/fast-uri/.github/tests_checker.yml +0 -8
- package/node_modules/fast-uri/.github/workflows/ci.yml +0 -101
- package/node_modules/fast-uri/.github/workflows/package-manager-ci.yml +0 -24
- package/node_modules/fast-uri/LICENSE +0 -32
- package/node_modules/fast-uri/README.md +0 -143
- package/node_modules/fast-uri/benchmark/benchmark.mjs +0 -159
- package/node_modules/fast-uri/benchmark/equal.mjs +0 -51
- package/node_modules/fast-uri/benchmark/non-simple-domain.mjs +0 -22
- package/node_modules/fast-uri/benchmark/package.json +0 -17
- package/node_modules/fast-uri/benchmark/string-array-to-hex-stripped.mjs +0 -24
- package/node_modules/fast-uri/benchmark/ws-is-secure.mjs +0 -65
- package/node_modules/fast-uri/eslint.config.js +0 -6
- package/node_modules/fast-uri/index.js +0 -340
- package/node_modules/fast-uri/lib/schemes.js +0 -267
- package/node_modules/fast-uri/lib/utils.js +0 -336
- package/node_modules/fast-uri/package.json +0 -69
- package/node_modules/fast-uri/test/ajv.test.js +0 -43
- package/node_modules/fast-uri/test/equal.test.js +0 -108
- package/node_modules/fast-uri/test/fixtures/uri-js-parse.json +0 -501
- package/node_modules/fast-uri/test/fixtures/uri-js-serialize.json +0 -120
- package/node_modules/fast-uri/test/parse.test.js +0 -318
- package/node_modules/fast-uri/test/resolve.test.js +0 -78
- package/node_modules/fast-uri/test/rfc-3986.test.js +0 -90
- package/node_modules/fast-uri/test/serialize.test.js +0 -151
- package/node_modules/fast-uri/test/uri-js-compatibility.test.js +0 -33
- package/node_modules/fast-uri/test/uri-js.test.js +0 -912
- package/node_modules/fast-uri/test/util.test.js +0 -38
- package/node_modules/fast-uri/tsconfig.json +0 -9
- package/node_modules/fast-uri/types/index.d.ts +0 -60
- package/node_modules/fast-uri/types/index.test-d.ts +0 -17
- package/node_modules/json-schema-traverse/.eslintrc.yml +0 -27
- package/node_modules/json-schema-traverse/.github/FUNDING.yml +0 -2
- package/node_modules/json-schema-traverse/.github/workflows/build.yml +0 -28
- package/node_modules/json-schema-traverse/.github/workflows/publish.yml +0 -27
- package/node_modules/json-schema-traverse/LICENSE +0 -21
- package/node_modules/json-schema-traverse/README.md +0 -95
- package/node_modules/json-schema-traverse/index.d.ts +0 -40
- package/node_modules/json-schema-traverse/index.js +0 -93
- package/node_modules/json-schema-traverse/package.json +0 -43
- package/node_modules/json-schema-traverse/spec/.eslintrc.yml +0 -6
- package/node_modules/json-schema-traverse/spec/fixtures/schema.js +0 -125
- package/node_modules/json-schema-traverse/spec/index.spec.js +0 -171
- package/node_modules/require-from-string/index.js +0 -34
- package/node_modules/require-from-string/license +0 -21
- package/node_modules/require-from-string/package.json +0 -28
- package/node_modules/require-from-string/readme.md +0 -56
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OSSA SDK — Confidence Scoring Module
|
|
3
|
+
* @package @bluefly/openstandardagents
|
|
4
|
+
*
|
|
5
|
+
* Canonical confidence gate implementation for the OSSA platform.
|
|
6
|
+
* Referenced by: duadp, workflow-engine, social-gate, any Cedar quality gate consumer.
|
|
7
|
+
*
|
|
8
|
+
* Research basis:
|
|
9
|
+
* - Cedar Policies for AI Agent Governance (OSSA Research, 2026-03-09)
|
|
10
|
+
* - NIST AI RMF 1.0, MEASURE 2.5: AI system performance evaluated using metrics
|
|
11
|
+
* - LangChain State of Agent Engineering 2026: 57% orgs run agents in prod;
|
|
12
|
+
* quality is primary barrier (32% of respondents)
|
|
13
|
+
* - Confidence-Informed Self-Consistency (CISC): 46% fewer reasoning paths
|
|
14
|
+
* with equal accuracy (Xiong et al., 2024)
|
|
15
|
+
*/
|
|
16
|
+
// ---------------------------------------------------------------------------
|
|
17
|
+
// Three-tier confidence routing
|
|
18
|
+
// Thresholds: ≥90 auto-approve, 50–89 human review, <50 reject
|
|
19
|
+
// Source: Cedar Policies for AI Agent Governance (OSSA Research 2026)
|
|
20
|
+
// ---------------------------------------------------------------------------
|
|
21
|
+
/**
|
|
22
|
+
* Gate an agent action based on model confidence score.
|
|
23
|
+
*
|
|
24
|
+
* @param confidence [0–100] confidence score. 0 means not provided — skip gate.
|
|
25
|
+
* @param trustTier OSSA trust tier of the resource being published/acted on.
|
|
26
|
+
* @param validationPassed Whether OSSA schema validation succeeded.
|
|
27
|
+
*/
|
|
28
|
+
export function confidenceGate(confidence, trustTier = 'community', validationPassed = false) {
|
|
29
|
+
if (confidence === 0) {
|
|
30
|
+
return { action: 'proceed', confidence, reason: 'no-model-confidence-provided' };
|
|
31
|
+
}
|
|
32
|
+
if (confidence >= 90) {
|
|
33
|
+
return { action: 'proceed', confidence, reason: 'high-confidence-auto-approve' };
|
|
34
|
+
}
|
|
35
|
+
if (confidence >= 50) {
|
|
36
|
+
const isHighTrust = ['verified', 'official'].includes(trustTier);
|
|
37
|
+
if (isHighTrust) {
|
|
38
|
+
return {
|
|
39
|
+
action: 'human_review',
|
|
40
|
+
confidence,
|
|
41
|
+
reason: 'medium-confidence-requires-review-for-high-trust-tier',
|
|
42
|
+
degraded_tier: 'signed',
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
return { action: 'proceed', confidence, reason: 'medium-confidence-acceptable-for-tier' };
|
|
46
|
+
}
|
|
47
|
+
if (validationPassed) {
|
|
48
|
+
return {
|
|
49
|
+
action: 'human_review',
|
|
50
|
+
confidence,
|
|
51
|
+
reason: 'low-confidence-but-validation-passed',
|
|
52
|
+
degraded_tier: 'community',
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
return { action: 'reject', confidence, reason: 'low-confidence-and-validation-failed' };
|
|
56
|
+
}
|
|
57
|
+
// ---------------------------------------------------------------------------
|
|
58
|
+
// Logprob → confidence conversion
|
|
59
|
+
// Source: "log probability analysis" section — Cedar Policies OSSA Research 2026
|
|
60
|
+
// ---------------------------------------------------------------------------
|
|
61
|
+
/**
|
|
62
|
+
* Convert token log-probabilities to an integer [0–100] confidence score.
|
|
63
|
+
* Uses mean of exp(logprob) across all tokens.
|
|
64
|
+
*
|
|
65
|
+
* Caveat: Even high-performing LLMs show minimal confidence variation between
|
|
66
|
+
* correct/incorrect answers — domain-specific calibration is recommended
|
|
67
|
+
* (LangChain State of Agent Engineering 2026, p. 14).
|
|
68
|
+
*/
|
|
69
|
+
export function logprobsToConfidence(logprobs) {
|
|
70
|
+
if (!logprobs?.length)
|
|
71
|
+
return 0;
|
|
72
|
+
const avgProb = logprobs.reduce((s, lp) => s + Math.exp(lp), 0) / logprobs.length;
|
|
73
|
+
return Math.round(Math.min(1, Math.max(0, avgProb)) * 100);
|
|
74
|
+
}
|
|
75
|
+
// ---------------------------------------------------------------------------
|
|
76
|
+
// Self-consistency confidence scoring
|
|
77
|
+
// Source: CISC method (Xiong et al. 2024) — 46% fewer paths, equal accuracy
|
|
78
|
+
// ---------------------------------------------------------------------------
|
|
79
|
+
/**
|
|
80
|
+
* Estimate confidence via self-consistency voting.
|
|
81
|
+
* Samples multiple model outputs and uses agreement rate as confidence proxy.
|
|
82
|
+
*
|
|
83
|
+
* @param responses Array of sampled model outputs (strings).
|
|
84
|
+
* @returns [0–100] confidence based on modal agreement rate.
|
|
85
|
+
*/
|
|
86
|
+
export function selfConsistencyConfidence(responses) {
|
|
87
|
+
if (!responses?.length)
|
|
88
|
+
return 0;
|
|
89
|
+
const freq = {};
|
|
90
|
+
for (const r of responses) {
|
|
91
|
+
const normalized = r.trim().toLowerCase();
|
|
92
|
+
freq[normalized] = (freq[normalized] || 0) + 1;
|
|
93
|
+
}
|
|
94
|
+
const maxCount = Math.max(...Object.values(freq));
|
|
95
|
+
return Math.round((maxCount / responses.length) * 100);
|
|
96
|
+
}
|
|
97
|
+
// ---------------------------------------------------------------------------
|
|
98
|
+
// Cedar deploy-gate context builder
|
|
99
|
+
// ---------------------------------------------------------------------------
|
|
100
|
+
/**
|
|
101
|
+
* Build the Cedar context object for the `deploy` action quality gate.
|
|
102
|
+
* Reads from CI artifact metrics; pass overrides when calling from tests.
|
|
103
|
+
*/
|
|
104
|
+
export function buildDeployGateContext(overrides = {}) {
|
|
105
|
+
const days = ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'];
|
|
106
|
+
return {
|
|
107
|
+
confidence_score: overrides.confidence_score ?? 0,
|
|
108
|
+
test_coverage: overrides.test_coverage ?? 0,
|
|
109
|
+
security_score: overrides.security_score ?? 0,
|
|
110
|
+
vulnerability_count: overrides.vulnerability_count ?? 0,
|
|
111
|
+
day_of_week: overrides.day_of_week ?? days[new Date().getDay()],
|
|
112
|
+
human_approved: overrides.human_approved ?? false,
|
|
113
|
+
};
|
|
114
|
+
}
|
|
115
|
+
// ---------------------------------------------------------------------------
|
|
116
|
+
// Resource confidence extractor
|
|
117
|
+
// ---------------------------------------------------------------------------
|
|
118
|
+
/**
|
|
119
|
+
* Extract confidence score from an OSSA resource payload.
|
|
120
|
+
* Checks metadata.confidence_score, spec.confidence_score, extensions.confidence_score.
|
|
121
|
+
*/
|
|
122
|
+
export function extractConfidenceScore(resource) {
|
|
123
|
+
const meta = resource.metadata;
|
|
124
|
+
const spec = resource.spec;
|
|
125
|
+
const ext = resource.extensions;
|
|
126
|
+
const raw = meta?.confidence_score ?? spec?.confidence_score ?? ext?.confidence_score ?? 0;
|
|
127
|
+
const n = typeof raw === 'number' ? raw : parseInt(String(raw), 10);
|
|
128
|
+
return isNaN(n) ? 0 : Math.min(100, Math.max(0, n));
|
|
129
|
+
}
|
|
130
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -423,6 +423,35 @@ export const PLATFORM_MATRIX = [
|
|
|
423
423
|
importHow: 'no',
|
|
424
424
|
specUsage: ['Export produces Warp-compatible agent config from manifest.'],
|
|
425
425
|
},
|
|
426
|
+
{
|
|
427
|
+
id: 'agentscope',
|
|
428
|
+
name: 'AgentScope',
|
|
429
|
+
description: 'AgentScope multi-agent Python framework with MCP tool integration, A2A support, and Mem0 memory',
|
|
430
|
+
status: 'beta',
|
|
431
|
+
whatTheyNeed: [
|
|
432
|
+
'Python 3.9+',
|
|
433
|
+
'AgentScope SDK (pip install agentscope)',
|
|
434
|
+
'LLM API key (OpenAI, Anthropic, etc.)',
|
|
435
|
+
'Optional: Mem0 for long-term memory',
|
|
436
|
+
],
|
|
437
|
+
folderStructure: [
|
|
438
|
+
'.agents/{name}/manifest.ossa.yaml',
|
|
439
|
+
'.agents/{name}/src/ (Python agent code)',
|
|
440
|
+
'requirements.txt with agentscope',
|
|
441
|
+
],
|
|
442
|
+
sdkNpm: [
|
|
443
|
+
'agentscope (PyPI)',
|
|
444
|
+
'agentscope[service] (with tool service)',
|
|
445
|
+
],
|
|
446
|
+
exportHow: 'ossa export <manifest> --platform agentscope -o dist/',
|
|
447
|
+
importHow: 'partial',
|
|
448
|
+
specUsage: [
|
|
449
|
+
'Map spec.role to system message; spec.llm to model_config; spec.tools to service_toolkit.',
|
|
450
|
+
'extensions.agentscope.agent_class selects AgentScope agent type (ReActAgent, DialogAgent, etc.).',
|
|
451
|
+
'extensions.agentscope.memory_backend configures memory (mem0, local, etc.).',
|
|
452
|
+
'extensions.agentscope.orchestration selects multi-agent pattern (msghub, pipeline, etc.).',
|
|
453
|
+
],
|
|
454
|
+
},
|
|
426
455
|
{
|
|
427
456
|
id: 'symfony',
|
|
428
457
|
name: 'Symfony AI Agent',
|
package/dist/mcp-server/index.js
CHANGED
|
File without changes
|
|
@@ -237,7 +237,7 @@ export class ConsulDiscoveryProvider {
|
|
|
237
237
|
}
|
|
238
238
|
consulServiceToAgent(service) {
|
|
239
239
|
return {
|
|
240
|
-
uri: service.Meta.uri || `
|
|
240
|
+
uri: service.Meta.uri || `uadp://consul/${service.ID}`,
|
|
241
241
|
name: service.Service,
|
|
242
242
|
version: service.Meta.version || '1.0.0',
|
|
243
243
|
ossaVersion: service.Meta.ossaVersion || getApiVersion(),
|
|
@@ -372,7 +372,7 @@ export class KubernetesDiscoveryProvider {
|
|
|
372
372
|
const labels = service.metadata.labels || {};
|
|
373
373
|
return {
|
|
374
374
|
uri: annotations['ossa.io/agent-uri'] ||
|
|
375
|
-
`
|
|
375
|
+
`uadp://k8s/${service.metadata.name}`,
|
|
376
376
|
name: service.metadata.name,
|
|
377
377
|
version: labels['app.kubernetes.io/version'] || '1.0.0',
|
|
378
378
|
ossaVersion: annotations['ossa.io/version'] || getApiVersion(),
|
package/dist/mesh/discovery.js
CHANGED
package/dist/mesh/index.d.ts
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
*
|
|
22
22
|
* // Define local agent
|
|
23
23
|
* const localAgent = {
|
|
24
|
-
* uri: '
|
|
24
|
+
* uri: 'uadp://team-a/my-agent',
|
|
25
25
|
* name: 'My Agent',
|
|
26
26
|
* version: '1.0.0',
|
|
27
27
|
* ossaVersion: '0.3.0',
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
*
|
|
63
63
|
* // Request/response
|
|
64
64
|
* const response = await client.request(
|
|
65
|
-
* '
|
|
65
|
+
* 'uadp://team-b/analyzer',
|
|
66
66
|
* { action: 'analyze', data: 'sample' }
|
|
67
67
|
* );
|
|
68
68
|
*
|
package/dist/mesh/index.js
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
*
|
|
22
22
|
* // Define local agent
|
|
23
23
|
* const localAgent = {
|
|
24
|
-
* uri: '
|
|
24
|
+
* uri: 'uadp://team-a/my-agent',
|
|
25
25
|
* name: 'My Agent',
|
|
26
26
|
* version: '1.0.0',
|
|
27
27
|
* ossaVersion: '0.3.0',
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
*
|
|
63
63
|
* // Request/response
|
|
64
64
|
* const response = await client.request(
|
|
65
|
-
* '
|
|
65
|
+
* 'uadp://team-b/analyzer',
|
|
66
66
|
* { action: 'analyze', data: 'sample' }
|
|
67
67
|
* );
|
|
68
68
|
*
|
package/dist/mesh/types.d.ts
CHANGED
|
@@ -45,7 +45,7 @@ export interface MessageEnvelope<T = unknown> {
|
|
|
45
45
|
id: string;
|
|
46
46
|
/** Message creation timestamp (ISO 8601) */
|
|
47
47
|
timestamp: string;
|
|
48
|
-
/** Sender agent URI (format:
|
|
48
|
+
/** Sender agent URI (format: uadp://{namespace}/{name}) */
|
|
49
49
|
from: string;
|
|
50
50
|
/** Recipient agent URI or topic */
|
|
51
51
|
to: string;
|
|
@@ -107,6 +107,8 @@ export interface AgentCard {
|
|
|
107
107
|
name: string;
|
|
108
108
|
version: string;
|
|
109
109
|
ossaVersion: string;
|
|
110
|
+
uuid?: string;
|
|
111
|
+
gaid?: string;
|
|
110
112
|
taxonomy?: AgentTaxonomy;
|
|
111
113
|
capabilities: string[];
|
|
112
114
|
tools?: ToolDescriptor[];
|
|
@@ -374,6 +376,205 @@ export interface AgentObservability {
|
|
|
374
376
|
format?: string;
|
|
375
377
|
};
|
|
376
378
|
}
|
|
379
|
+
/**
|
|
380
|
+
* Agent Taxonomy
|
|
381
|
+
* Classifies the agent by runtime platform, functional role, and architecture pattern.
|
|
382
|
+
*/
|
|
383
|
+
export interface AgentTaxonomy {
|
|
384
|
+
/** Runtime platform: claude, kagent, openai, langchain, crewai, etc. */
|
|
385
|
+
agentType?: string;
|
|
386
|
+
/** Functional role: orchestrator, worker, reviewer, analyzer, etc. */
|
|
387
|
+
agentKind?: string;
|
|
388
|
+
/** Architecture pattern and capabilities */
|
|
389
|
+
architecture?: {
|
|
390
|
+
/** Pattern: swarm, pipeline, tree, graph, etc. */
|
|
391
|
+
pattern?: string;
|
|
392
|
+
/** Architecture capabilities: handoff, streaming, context, tools, vision */
|
|
393
|
+
capabilities?: string[];
|
|
394
|
+
/** Coordination strategy */
|
|
395
|
+
coordination?: {
|
|
396
|
+
handoffStrategy?: string;
|
|
397
|
+
maxDepth?: number;
|
|
398
|
+
};
|
|
399
|
+
/** Runtime characteristics */
|
|
400
|
+
runtime?: {
|
|
401
|
+
scalability?: string;
|
|
402
|
+
executionModel?: string;
|
|
403
|
+
preferredRegion?: string;
|
|
404
|
+
};
|
|
405
|
+
};
|
|
406
|
+
}
|
|
407
|
+
/**
|
|
408
|
+
* Agent Model Info
|
|
409
|
+
* LLM configuration powering this agent.
|
|
410
|
+
*/
|
|
411
|
+
export interface AgentModelInfo {
|
|
412
|
+
provider?: string;
|
|
413
|
+
model?: string;
|
|
414
|
+
temperature?: number;
|
|
415
|
+
maxTokens?: number;
|
|
416
|
+
topP?: number;
|
|
417
|
+
}
|
|
418
|
+
/**
|
|
419
|
+
* MCP Server Descriptor
|
|
420
|
+
* Model Context Protocol server this agent connects to.
|
|
421
|
+
*/
|
|
422
|
+
export interface McpServerDescriptor {
|
|
423
|
+
name: string;
|
|
424
|
+
description?: string;
|
|
425
|
+
transport?: {
|
|
426
|
+
type: string;
|
|
427
|
+
command?: string;
|
|
428
|
+
args?: string[];
|
|
429
|
+
url?: string;
|
|
430
|
+
};
|
|
431
|
+
version?: string;
|
|
432
|
+
capabilities?: {
|
|
433
|
+
resources?: {
|
|
434
|
+
subscribe?: boolean;
|
|
435
|
+
listChanged?: boolean;
|
|
436
|
+
};
|
|
437
|
+
tools?: {
|
|
438
|
+
listChanged?: boolean;
|
|
439
|
+
};
|
|
440
|
+
logging?: {
|
|
441
|
+
enabled?: boolean;
|
|
442
|
+
level?: string;
|
|
443
|
+
};
|
|
444
|
+
};
|
|
445
|
+
resources?: McpResourceDescriptor[];
|
|
446
|
+
}
|
|
447
|
+
/**
|
|
448
|
+
* MCP Resource Descriptor
|
|
449
|
+
*/
|
|
450
|
+
export interface McpResourceDescriptor {
|
|
451
|
+
uri: string;
|
|
452
|
+
name: string;
|
|
453
|
+
description?: string;
|
|
454
|
+
mimeType?: string;
|
|
455
|
+
}
|
|
456
|
+
/**
|
|
457
|
+
* A2A Protocol Descriptor
|
|
458
|
+
* How this agent communicates with other agents.
|
|
459
|
+
*/
|
|
460
|
+
export interface A2AProtocolDescriptor {
|
|
461
|
+
/** Protocol type and version */
|
|
462
|
+
protocol?: {
|
|
463
|
+
type?: string;
|
|
464
|
+
version?: string;
|
|
465
|
+
messageFormat?: string;
|
|
466
|
+
};
|
|
467
|
+
/** Connected agent endpoints */
|
|
468
|
+
agentEndpoints?: Array<{
|
|
469
|
+
agentId: string;
|
|
470
|
+
url: string;
|
|
471
|
+
capabilities?: string[];
|
|
472
|
+
priority?: number;
|
|
473
|
+
}>;
|
|
474
|
+
/** Routing configuration */
|
|
475
|
+
routing?: {
|
|
476
|
+
strategy?: string;
|
|
477
|
+
rules?: Array<{
|
|
478
|
+
name: string;
|
|
479
|
+
condition: string;
|
|
480
|
+
target: string;
|
|
481
|
+
priority?: number;
|
|
482
|
+
}>;
|
|
483
|
+
};
|
|
484
|
+
/** Delegation and handoff rules */
|
|
485
|
+
delegation?: {
|
|
486
|
+
enabled?: boolean;
|
|
487
|
+
maxDepth?: number;
|
|
488
|
+
timeout?: number;
|
|
489
|
+
handoffRules?: Array<{
|
|
490
|
+
name: string;
|
|
491
|
+
condition: string;
|
|
492
|
+
target: string;
|
|
493
|
+
message?: string;
|
|
494
|
+
}>;
|
|
495
|
+
};
|
|
496
|
+
/** Completion signals */
|
|
497
|
+
completionSignals?: {
|
|
498
|
+
signals?: string[];
|
|
499
|
+
handlers?: Array<{
|
|
500
|
+
signal: string;
|
|
501
|
+
action: string;
|
|
502
|
+
target?: string;
|
|
503
|
+
}>;
|
|
504
|
+
};
|
|
505
|
+
/** Retry policy */
|
|
506
|
+
retryPolicy?: {
|
|
507
|
+
maxRetries?: number;
|
|
508
|
+
backoff?: string;
|
|
509
|
+
retryableErrors?: string[];
|
|
510
|
+
};
|
|
511
|
+
/** Circuit breaker */
|
|
512
|
+
circuitBreaker?: {
|
|
513
|
+
enabled?: boolean;
|
|
514
|
+
failureThreshold?: number;
|
|
515
|
+
timeout?: number;
|
|
516
|
+
};
|
|
517
|
+
}
|
|
518
|
+
/**
|
|
519
|
+
* Agent Handoff
|
|
520
|
+
* Direct delegation targets from spec.handoffs.
|
|
521
|
+
*/
|
|
522
|
+
export interface AgentHandoff {
|
|
523
|
+
to: string;
|
|
524
|
+
condition?: string;
|
|
525
|
+
}
|
|
526
|
+
/**
|
|
527
|
+
* Agent Autonomy
|
|
528
|
+
* How independently this agent operates.
|
|
529
|
+
*/
|
|
530
|
+
export interface AgentAutonomy {
|
|
531
|
+
level?: string;
|
|
532
|
+
approvalRequired?: boolean;
|
|
533
|
+
allowedActions?: string[];
|
|
534
|
+
blockedActions?: string[];
|
|
535
|
+
}
|
|
536
|
+
/**
|
|
537
|
+
* Agent Constraints
|
|
538
|
+
* Operational limits for cost, performance, and resources.
|
|
539
|
+
*/
|
|
540
|
+
export interface AgentConstraints {
|
|
541
|
+
cost?: {
|
|
542
|
+
maxTokensPerDay?: number;
|
|
543
|
+
maxTokensPerRequest?: number;
|
|
544
|
+
maxCostPerDay?: number;
|
|
545
|
+
currency?: string;
|
|
546
|
+
};
|
|
547
|
+
performance?: {
|
|
548
|
+
maxLatencySeconds?: number;
|
|
549
|
+
maxConcurrentRequests?: number;
|
|
550
|
+
timeoutSeconds?: number;
|
|
551
|
+
};
|
|
552
|
+
resources?: {
|
|
553
|
+
cpu?: string;
|
|
554
|
+
memory?: string;
|
|
555
|
+
};
|
|
556
|
+
}
|
|
557
|
+
/**
|
|
558
|
+
* Agent Observability
|
|
559
|
+
* Tracing, metrics, and logging configuration.
|
|
560
|
+
*/
|
|
561
|
+
export interface AgentObservability {
|
|
562
|
+
tracing?: {
|
|
563
|
+
enabled?: boolean;
|
|
564
|
+
exporter?: string;
|
|
565
|
+
endpoint?: string;
|
|
566
|
+
samplingRate?: number;
|
|
567
|
+
};
|
|
568
|
+
metrics?: {
|
|
569
|
+
enabled?: boolean;
|
|
570
|
+
exporter?: string;
|
|
571
|
+
endpoint?: string;
|
|
572
|
+
};
|
|
573
|
+
logging?: {
|
|
574
|
+
level?: string;
|
|
575
|
+
format?: string;
|
|
576
|
+
};
|
|
577
|
+
}
|
|
377
578
|
/**
|
|
378
579
|
* Tool Descriptor
|
|
379
580
|
*/
|
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bluefly/openstandardagents",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.9",
|
|
4
4
|
"exports": {
|
|
5
5
|
"./schema": "./spec/v0.4/agent.schema.json",
|
|
6
6
|
"./schema/v0.4": "./spec/v0.4/agent.schema.json",
|
|
@@ -142,7 +142,7 @@
|
|
|
142
142
|
},
|
|
143
143
|
"homepage": "https://openstandardagents.org",
|
|
144
144
|
"scripts": {
|
|
145
|
-
"//
|
|
145
|
+
"// ─────────────────────────────────────────────────────────────────────────────": "",
|
|
146
146
|
"// BUILD & DEVELOPMENT": "",
|
|
147
147
|
"mcp": "node dist/mcp-server/index.js",
|
|
148
148
|
"prebuild": "npm run docs:process",
|
|
@@ -238,6 +238,7 @@
|
|
|
238
238
|
"@anthropic-ai/claude-agent-sdk": "^0.2.50",
|
|
239
239
|
"@anthropic-ai/sdk": "^0.71.0",
|
|
240
240
|
"@aws-sdk/client-bedrock-runtime": "^3.955.0",
|
|
241
|
+
"@cedar-policy/cedar-wasm": "^4.9.1",
|
|
241
242
|
"@gitbeaker/node": "^35.8.1",
|
|
242
243
|
"@gitbeaker/rest": "^43.8.0",
|
|
243
244
|
"@google/generative-ai": "^0.21.0",
|
|
@@ -301,6 +302,7 @@
|
|
|
301
302
|
"zod": "^4.1.11"
|
|
302
303
|
},
|
|
303
304
|
"devDependencies": {
|
|
305
|
+
"@bluefly/duadp": "^0.1.3",
|
|
304
306
|
"@jest/globals": "^29.7.0",
|
|
305
307
|
"@octokit/rest": "^22.0.1",
|
|
306
308
|
"@semantic-release/changelog": "^6.0.3",
|
|
@@ -344,10 +346,6 @@
|
|
|
344
346
|
"optionalDependencies": {
|
|
345
347
|
"nodemailer": "^6.9.0"
|
|
346
348
|
},
|
|
347
|
-
"bundledDependencies": [
|
|
348
|
-
"ajv",
|
|
349
|
-
"ajv-formats"
|
|
350
|
-
],
|
|
351
349
|
"engines": {
|
|
352
350
|
"node": ">=20.0.0",
|
|
353
351
|
"npm": ">=10.0.0"
|
|
@@ -355,9 +353,5 @@
|
|
|
355
353
|
"volta": {
|
|
356
354
|
"node": "22.19.0",
|
|
357
355
|
"npm": "11.10.0"
|
|
358
|
-
}
|
|
359
|
-
|
|
360
|
-
"ajv",
|
|
361
|
-
"ajv-formats"
|
|
362
|
-
]
|
|
363
|
-
}
|
|
356
|
+
}
|
|
357
|
+
}
|
|
@@ -16,10 +16,10 @@
|
|
|
16
16
|
* - manifestRef, manifestDigest: options or metadata.manifest_ref, metadata.manifest_digest
|
|
17
17
|
* - tokenEfficiencySummary: top-level token_efficiency
|
|
18
18
|
*/
|
|
19
|
-
import type { OssaAgent } from '../types/index.js';
|
|
20
19
|
import type { AgentCard } from '../mesh/types.js';
|
|
20
|
+
import type { OssaAgent } from '../types/index.js';
|
|
21
21
|
export interface AgentCardGeneratorOptions {
|
|
22
|
-
/** Override the agent URI (default:
|
|
22
|
+
/** Override the agent URI (default: uadp://{namespace}/{name}) */
|
|
23
23
|
uri?: string;
|
|
24
24
|
/** Namespace for the agent URI (default: 'default') */
|
|
25
25
|
namespace?: string;
|
|
@@ -49,7 +49,7 @@ export class AgentCardGenerator {
|
|
|
49
49
|
const name = manifest.metadata.name;
|
|
50
50
|
const version = manifest.metadata?.version || '1.0.0';
|
|
51
51
|
const namespace = options?.namespace || 'default';
|
|
52
|
-
const uri = options?.uri || `
|
|
52
|
+
const uri = options?.uri || `uadp://${namespace}/${name}`;
|
|
53
53
|
// Extract all features
|
|
54
54
|
const taxonomy = this.extractTaxonomy(manifest);
|
|
55
55
|
const capabilities = this.extractCapabilities(manifest, taxonomy);
|
|
@@ -88,6 +88,8 @@ export class AgentCardGenerator {
|
|
|
88
88
|
name,
|
|
89
89
|
version,
|
|
90
90
|
ossaVersion: manifest.apiVersion || 'ossa/v0.4',
|
|
91
|
+
...(manifest.metadata?.identity?.uuid ? { uuid: manifest.metadata.identity.uuid } : {}),
|
|
92
|
+
...(manifest.metadata?.identity?.gaid ? { gaid: manifest.metadata.identity.gaid } : {}),
|
|
91
93
|
// Taxonomy — what kind of agent
|
|
92
94
|
...(taxonomy ? { taxonomy } : {}),
|
|
93
95
|
// Capabilities & tools
|
|
@@ -7,6 +7,10 @@ import type { OssaAgent } from '../../types/index.js';
|
|
|
7
7
|
* Service for generating and managing agents.md files from OSSA manifests
|
|
8
8
|
*/
|
|
9
9
|
export declare class AgentsMdService {
|
|
10
|
+
/**
|
|
11
|
+
* Append optional configured block content to a generated section.
|
|
12
|
+
*/
|
|
13
|
+
private addOptionalBlock;
|
|
10
14
|
/**
|
|
11
15
|
* Generate AGENTS.md content from OSSA manifest
|
|
12
16
|
* @param manifest - OSSA agent manifest
|
|
@@ -15,6 +15,15 @@ import { watch } from 'fs';
|
|
|
15
15
|
* Service for generating and managing agents.md files from OSSA manifests
|
|
16
16
|
*/
|
|
17
17
|
let AgentsMdService = class AgentsMdService {
|
|
18
|
+
/**
|
|
19
|
+
* Append optional configured block content to a generated section.
|
|
20
|
+
*/
|
|
21
|
+
addOptionalBlock(lines, content) {
|
|
22
|
+
if (!content?.trim()) {
|
|
23
|
+
return;
|
|
24
|
+
}
|
|
25
|
+
lines.push('', content);
|
|
26
|
+
}
|
|
18
27
|
/**
|
|
19
28
|
* Generate AGENTS.md content from OSSA manifest
|
|
20
29
|
* @param manifest - OSSA agent manifest
|
|
@@ -61,9 +70,11 @@ let AgentsMdService = class AgentsMdService {
|
|
|
61
70
|
*/
|
|
62
71
|
generateDevEnvironmentSection(manifest, config) {
|
|
63
72
|
const lines = ['# Dev environment tips'];
|
|
73
|
+
this.addOptionalBlock(lines, config?.prepend);
|
|
64
74
|
// Use custom content if provided
|
|
65
75
|
if (config?.custom) {
|
|
66
76
|
lines.push('', config.custom);
|
|
77
|
+
this.addOptionalBlock(lines, config?.append);
|
|
67
78
|
return lines.join('\n');
|
|
68
79
|
}
|
|
69
80
|
// Derive from spec.tools if source is specified
|
|
@@ -92,6 +103,7 @@ let AgentsMdService = class AgentsMdService {
|
|
|
92
103
|
lines.push('- Ensure all required dependencies are installed');
|
|
93
104
|
lines.push('- Configure environment variables as needed');
|
|
94
105
|
}
|
|
106
|
+
this.addOptionalBlock(lines, config?.append);
|
|
95
107
|
return lines.join('\n');
|
|
96
108
|
}
|
|
97
109
|
/**
|
|
@@ -99,9 +111,11 @@ let AgentsMdService = class AgentsMdService {
|
|
|
99
111
|
*/
|
|
100
112
|
generateTestingSection(manifest, config) {
|
|
101
113
|
const lines = ['# Testing instructions'];
|
|
114
|
+
this.addOptionalBlock(lines, config?.prepend);
|
|
102
115
|
// Use custom content if provided
|
|
103
116
|
if (config?.custom) {
|
|
104
117
|
lines.push('', config.custom);
|
|
118
|
+
this.addOptionalBlock(lines, config?.append);
|
|
105
119
|
return lines.join('\n');
|
|
106
120
|
}
|
|
107
121
|
// Derive from spec.constraints if source is specified
|
|
@@ -133,6 +147,7 @@ let AgentsMdService = class AgentsMdService {
|
|
|
133
147
|
lines.push('- Ensure code coverage meets project standards');
|
|
134
148
|
lines.push('- Validate against OSSA schema: `ossa validate manifest.yaml`');
|
|
135
149
|
}
|
|
150
|
+
this.addOptionalBlock(lines, config?.append);
|
|
136
151
|
return lines.join('\n');
|
|
137
152
|
}
|
|
138
153
|
/**
|
|
@@ -140,9 +155,11 @@ let AgentsMdService = class AgentsMdService {
|
|
|
140
155
|
*/
|
|
141
156
|
generatePRInstructionsSection(manifest, config) {
|
|
142
157
|
const lines = ['# PR instructions'];
|
|
158
|
+
this.addOptionalBlock(lines, config?.prepend);
|
|
143
159
|
// Use custom content if provided
|
|
144
160
|
if (config?.custom) {
|
|
145
161
|
lines.push('', config.custom);
|
|
162
|
+
this.addOptionalBlock(lines, config?.append);
|
|
146
163
|
return lines.join('\n');
|
|
147
164
|
}
|
|
148
165
|
// Derive from spec.autonomy if source is specified
|
|
@@ -176,6 +193,7 @@ let AgentsMdService = class AgentsMdService {
|
|
|
176
193
|
lines.push('- Update documentation as needed');
|
|
177
194
|
lines.push('- Ensure CI passes before requesting review');
|
|
178
195
|
}
|
|
196
|
+
this.addOptionalBlock(lines, config?.append);
|
|
179
197
|
return lines.join('\n');
|
|
180
198
|
}
|
|
181
199
|
/**
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Cedar Policy Validator Service
|
|
3
|
+
*
|
|
4
|
+
* Uses @cedar-policy/cedar-wasm to validate Cedar policies embedded in OSSA manifests.
|
|
5
|
+
* This is OSSA's responsibility: schema definition + offline validation.
|
|
6
|
+
* Runtime enforcement belongs to DUADP.
|
|
7
|
+
*/
|
|
8
|
+
export interface CedarValidationResult {
|
|
9
|
+
valid: boolean;
|
|
10
|
+
policyId?: string;
|
|
11
|
+
errors: string[];
|
|
12
|
+
warnings: string[];
|
|
13
|
+
}
|
|
14
|
+
export interface CedarManifestValidationResult {
|
|
15
|
+
valid: boolean;
|
|
16
|
+
policyCount: number;
|
|
17
|
+
results: CedarValidationResult[];
|
|
18
|
+
hasSchema: boolean;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Validate a single Cedar policy text for syntax correctness.
|
|
22
|
+
*/
|
|
23
|
+
export declare function validatePolicyText(policyText: string, policyId?: string): CedarValidationResult;
|
|
24
|
+
/**
|
|
25
|
+
* Validate a Cedar policy against a Cedar schema.
|
|
26
|
+
*/
|
|
27
|
+
export declare function validatePolicyWithSchema(policyText: string, schemaText: string, policyId?: string): CedarValidationResult;
|
|
28
|
+
/**
|
|
29
|
+
* Extract and validate all Cedar policies from an OSSA manifest.
|
|
30
|
+
*/
|
|
31
|
+
export declare function validateManifestCedarPolicies(manifest: Record<string, unknown>): CedarManifestValidationResult;
|
|
32
|
+
//# sourceMappingURL=cedar-validator.service.d.ts.map
|