@llm-dev-ops/agentics-cli 1.4.25 → 1.4.27
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/dist/adapters/base-adapter.d.ts.map +1 -1
- package/dist/adapters/base-adapter.js +10 -0
- package/dist/adapters/base-adapter.js.map +1 -1
- package/dist/agents/claude-shim.d.ts +24 -0
- package/dist/agents/claude-shim.d.ts.map +1 -0
- package/dist/agents/claude-shim.js +62 -0
- package/dist/agents/claude-shim.js.map +1 -0
- package/dist/agents/local-agent-runner.d.ts +42 -0
- package/dist/agents/local-agent-runner.d.ts.map +1 -0
- package/dist/agents/local-agent-runner.js +268 -0
- package/dist/agents/local-agent-runner.js.map +1 -0
- package/dist/agents/repo-agent-runner.d.ts +21 -0
- package/dist/agents/repo-agent-runner.d.ts.map +1 -0
- package/dist/agents/repo-agent-runner.js +835 -0
- package/dist/agents/repo-agent-runner.js.map +1 -0
- package/dist/agents/system-prompts.d.ts +22 -0
- package/dist/agents/system-prompts.d.ts.map +1 -0
- package/dist/agents/system-prompts.js +351 -0
- package/dist/agents/system-prompts.js.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/adapters/config-manager.d.ts +186 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/adapters/config-manager.d.ts.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/adapters/config-manager.js +209 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/adapters/config-manager.js.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/adapters/costops.d.ts +134 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/adapters/costops.d.ts.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/adapters/costops.js +131 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/adapters/costops.js.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/adapters/index.d.ts +59 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/adapters/index.d.ts.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/adapters/index.js +120 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/adapters/index.js.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/adapters/memory-graph.d.ts +168 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/adapters/memory-graph.d.ts.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/adapters/memory-graph.js +145 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/adapters/memory-graph.js.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/adapters/observatory.d.ts +116 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/adapters/observatory.d.ts.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/adapters/observatory.js +108 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/adapters/observatory.js.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/adapters/registry.d.ts +166 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/adapters/registry.d.ts.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/adapters/registry.js +169 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/adapters/registry.js.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/adapters/types.d.ts +53 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/adapters/types.d.ts.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/adapters/types.js +29 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/adapters/types.js.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/agents/consensus/computation.d.ts +59 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/agents/consensus/computation.d.ts.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/agents/consensus/computation.js +240 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/agents/consensus/computation.js.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/agents/consensus/handler.d.ts +55 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/agents/consensus/handler.d.ts.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/agents/consensus/handler.js +212 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/agents/consensus/handler.js.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/agents/consensus/index.d.ts +11 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/agents/consensus/index.d.ts.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/agents/consensus/index.js +27 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/agents/consensus/index.js.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/agents/consensus/metadata.d.ts +144 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/agents/consensus/metadata.d.ts.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/agents/consensus/metadata.js +180 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/agents/consensus/metadata.js.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/agents/ecosystem-collaboration/computation.d.ts +49 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/agents/ecosystem-collaboration/computation.d.ts.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/agents/ecosystem-collaboration/computation.js +248 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/agents/ecosystem-collaboration/computation.js.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/agents/ecosystem-collaboration/handler.d.ts +43 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/agents/ecosystem-collaboration/handler.d.ts.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/agents/ecosystem-collaboration/handler.js +243 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/agents/ecosystem-collaboration/handler.js.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/agents/ecosystem-collaboration/index.d.ts +20 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/agents/ecosystem-collaboration/index.d.ts.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/agents/ecosystem-collaboration/index.js +30 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/agents/ecosystem-collaboration/index.js.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/agents/ecosystem-collaboration/types.d.ts +68 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/agents/ecosystem-collaboration/types.d.ts.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/agents/ecosystem-collaboration/types.js +10 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/agents/ecosystem-collaboration/types.js.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/agents/index.d.ts +9 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/agents/index.d.ts.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/agents/index.js +40 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/agents/index.js.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/agents/ruvector-client.d.ts +179 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/agents/ruvector-client.d.ts.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/agents/ruvector-client.js +484 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/agents/ruvector-client.js.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/agents/strategic-recommendation/agent.d.ts +116 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/agents/strategic-recommendation/agent.d.ts.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/agents/strategic-recommendation/agent.js +496 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/agents/strategic-recommendation/agent.js.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/agents/strategic-recommendation/index.d.ts +11 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/agents/strategic-recommendation/index.d.ts.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/agents/strategic-recommendation/index.js +28 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/agents/strategic-recommendation/index.js.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/agents/strategic-recommendation/telemetry.d.ts +186 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/agents/strategic-recommendation/telemetry.d.ts.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/agents/strategic-recommendation/telemetry.integration.d.ts +58 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/agents/strategic-recommendation/telemetry.integration.d.ts.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/agents/strategic-recommendation/telemetry.integration.js +290 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/agents/strategic-recommendation/telemetry.integration.js.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/agents/strategic-recommendation/telemetry.js +575 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/agents/strategic-recommendation/telemetry.js.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/agents/strategic-recommendation/types.d.ts +2271 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/agents/strategic-recommendation/types.d.ts.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/agents/strategic-recommendation/types.js +300 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/agents/strategic-recommendation/types.js.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/agents/types.d.ts +928 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/agents/types.d.ts.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/agents/types.js +141 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/agents/types.js.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/auth/api-keys.d.ts +74 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/auth/api-keys.d.ts.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/auth/api-keys.js +148 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/auth/api-keys.js.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/auth/audit.d.ts +132 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/auth/audit.d.ts.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/auth/audit.js +201 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/auth/audit.js.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/auth/jwt.d.ts +55 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/auth/jwt.d.ts.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/auth/jwt.js +139 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/auth/jwt.js.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/auth/mfa.d.ts +37 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/auth/mfa.d.ts.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/auth/mfa.js +123 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/auth/mfa.js.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/auth/middleware.d.ts +35 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/auth/middleware.d.ts.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/auth/middleware.js +167 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/auth/middleware.js.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/auth/oauth.d.ts +94 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/auth/oauth.d.ts.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/auth/oauth.js +223 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/auth/oauth.js.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/auth/rbac.d.ts +106 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/auth/rbac.d.ts.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/auth/rbac.js +225 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/auth/rbac.js.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/cache.d.ts +22 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/cache.d.ts.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/cache.js +138 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/cache.js.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/claude.js +68 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/cli/consensus-agent.d.ts +47 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/cli/consensus-agent.d.ts.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/cli/consensus-agent.js +448 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/cli/consensus-agent.js.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/cli/index.d.ts +10 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/cli/index.d.ts.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/cli/index.js +26 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/cli/index.js.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/cli/main.d.ts +21 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/cli/main.d.ts.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/cli/main.js +175 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/cli/main.js.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/cli/strategic-recommendation.d.ts +102 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/cli/strategic-recommendation.d.ts.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/cli/strategic-recommendation.js +842 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/cli/strategic-recommendation.js.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/compliance/gdpr.d.ts +96 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/compliance/gdpr.d.ts.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/compliance/gdpr.js +226 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/compliance/gdpr.js.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/config.d.ts +56 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/config.d.ts.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/config.js +77 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/config.js.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/contracts/consensus-agent.d.ts +573 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/contracts/consensus-agent.d.ts.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/contracts/consensus-agent.js +224 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/contracts/consensus-agent.js.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/contracts/decision-event.d.ts +379 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/contracts/decision-event.d.ts.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/contracts/decision-event.js +95 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/contracts/decision-event.js.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/contracts/ecosystem-collaboration-agent.d.ts +1445 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/contracts/ecosystem-collaboration-agent.d.ts.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/contracts/ecosystem-collaboration-agent.js +343 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/contracts/ecosystem-collaboration-agent.js.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/contracts/index.d.ts +11 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/contracts/index.d.ts.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/contracts/index.js +52 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/contracts/index.js.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/database.d.ts +27 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/database.d.ts.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/database.js +152 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/database.js.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/execution/execution-graph.d.ts +54 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/execution/execution-graph.d.ts.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/execution/execution-graph.js +138 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/execution/execution-graph.js.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/execution/fastify-plugin.d.ts +16 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/execution/fastify-plugin.d.ts.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/execution/fastify-plugin.js +131 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/execution/fastify-plugin.js.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/execution/index.d.ts +10 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/execution/index.d.ts.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/execution/index.js +15 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/execution/index.js.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/execution/span-types.d.ts +48 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/execution/span-types.d.ts.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/execution/span-types.js +16 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/execution/span-types.js.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/functions/handler.d.ts +45 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/functions/handler.d.ts.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/functions/handler.js +189 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/functions/handler.js.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/index.d.ts +11 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/index.d.ts.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/index.js +186 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/index.js.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/kafka.d.ts +16 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/kafka.d.ts.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/kafka.js +100 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/kafka.js.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/logger.d.ts +5 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/logger.d.ts.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/logger.js +31 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/logger.js.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/metrics.d.ts +17 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/metrics.d.ts.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/metrics.js +77 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/metrics.js.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/routes/analytics.d.ts +6 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/routes/analytics.d.ts.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/routes/analytics.js +125 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/routes/analytics.js.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/routes/consensus.d.ts +13 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/routes/consensus.d.ts.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/routes/consensus.js +192 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/routes/consensus.js.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/routes/ecosystem-collaboration.d.ts +14 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/routes/ecosystem-collaboration.d.ts.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/routes/ecosystem-collaboration.js +258 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/routes/ecosystem-collaboration.js.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/routes/events.d.ts +6 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/routes/events.d.ts.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/routes/events.js +323 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/routes/events.js.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/routes/index.d.ts +6 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/routes/index.d.ts.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/routes/index.js +26 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/routes/index.js.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/routes/ingest.d.ts +13 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/routes/ingest.d.ts.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/routes/ingest.js +122 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/routes/ingest.js.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/routes/metrics.d.ts +6 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/routes/metrics.d.ts.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/routes/metrics.js +77 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/routes/metrics.js.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/routes/strategic-recommendations.d.ts +7 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/routes/strategic-recommendations.d.ts.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/routes/strategic-recommendations.js +482 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/routes/strategic-recommendations.js.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/secrets/vault.d.ts +101 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/secrets/vault.d.ts.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/secrets/vault.js +209 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/secrets/vault.js.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/services/index.d.ts +10 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/services/index.d.ts.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/services/index.js +26 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/services/index.js.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/services/ruvector-client.d.ts +94 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/services/ruvector-client.d.ts.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/services/ruvector-client.js +189 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/services/ruvector-client.js.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/services/telemetry-emitter.d.ts +90 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/services/telemetry-emitter.d.ts.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/services/telemetry-emitter.js +177 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/services/telemetry-emitter.js.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/types/events.d.ts +230 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/types/events.d.ts.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/types/events.js +44 -0
- package/dist/bundled-agents/analytics-hub-agents/dist/types/events.js.map +1 -0
- package/dist/bundled-agents/analytics-hub-agents/package-lock.json +8836 -0
- package/dist/bundled-agents/analytics-hub-agents/package.json +109 -0
- package/dist/bundled-agents/analytics-hub-agents/src/adapters/config-manager.ts +389 -0
- package/dist/bundled-agents/analytics-hub-agents/src/adapters/costops.ts +265 -0
- package/dist/bundled-agents/analytics-hub-agents/src/adapters/index.ts +121 -0
- package/dist/bundled-agents/analytics-hub-agents/src/adapters/memory-graph.ts +314 -0
- package/dist/bundled-agents/analytics-hub-agents/src/adapters/observatory.ts +222 -0
- package/dist/bundled-agents/analytics-hub-agents/src/adapters/registry.ts +364 -0
- package/dist/bundled-agents/analytics-hub-agents/src/adapters/types.ts +72 -0
- package/dist/bundled-agents/analytics-hub-agents/src/agents/consensus/computation.ts +318 -0
- package/dist/bundled-agents/analytics-hub-agents/src/agents/consensus/handler.ts +318 -0
- package/dist/bundled-agents/analytics-hub-agents/src/agents/consensus/index.ts +11 -0
- package/dist/bundled-agents/analytics-hub-agents/src/agents/consensus/metadata.ts +220 -0
- package/dist/bundled-agents/analytics-hub-agents/src/agents/ecosystem-collaboration/computation.ts +335 -0
- package/dist/bundled-agents/analytics-hub-agents/src/agents/ecosystem-collaboration/handler.ts +289 -0
- package/dist/bundled-agents/analytics-hub-agents/src/agents/ecosystem-collaboration/index.ts +42 -0
- package/dist/bundled-agents/analytics-hub-agents/src/agents/ecosystem-collaboration/types.ts +81 -0
- package/dist/bundled-agents/analytics-hub-agents/src/agents/index.ts +43 -0
- package/dist/bundled-agents/analytics-hub-agents/src/agents/ruvector-client.ts +591 -0
- package/dist/bundled-agents/analytics-hub-agents/src/agents/strategic-recommendation/agent.ts +663 -0
- package/dist/bundled-agents/analytics-hub-agents/src/agents/strategic-recommendation/index.ts +43 -0
- package/dist/bundled-agents/analytics-hub-agents/src/agents/strategic-recommendation/telemetry.integration.ts +476 -0
- package/dist/bundled-agents/analytics-hub-agents/src/agents/strategic-recommendation/telemetry.ts +763 -0
- package/dist/bundled-agents/analytics-hub-agents/src/agents/strategic-recommendation/types.ts +368 -0
- package/dist/bundled-agents/analytics-hub-agents/src/agents/types.ts +363 -0
- package/dist/bundled-agents/analytics-hub-agents/src/auth/api-keys.ts +209 -0
- package/dist/bundled-agents/analytics-hub-agents/src/auth/audit.ts +278 -0
- package/dist/bundled-agents/analytics-hub-agents/src/auth/jwt.ts +172 -0
- package/dist/bundled-agents/analytics-hub-agents/src/auth/mfa.ts +107 -0
- package/dist/bundled-agents/analytics-hub-agents/src/auth/middleware.ts +220 -0
- package/dist/bundled-agents/analytics-hub-agents/src/auth/oauth.ts +293 -0
- package/dist/bundled-agents/analytics-hub-agents/src/auth/rbac.ts +281 -0
- package/dist/bundled-agents/analytics-hub-agents/src/cache.ts +146 -0
- package/dist/bundled-agents/analytics-hub-agents/src/cli/consensus-agent.ts +511 -0
- package/dist/bundled-agents/analytics-hub-agents/src/cli/index.ts +10 -0
- package/dist/bundled-agents/analytics-hub-agents/src/cli/main.ts +161 -0
- package/dist/bundled-agents/analytics-hub-agents/src/cli/strategic-recommendation.ts +1126 -0
- package/dist/bundled-agents/analytics-hub-agents/src/compliance/gdpr.ts +330 -0
- package/dist/bundled-agents/analytics-hub-agents/src/config.ts +81 -0
- package/dist/bundled-agents/analytics-hub-agents/src/contracts/consensus-agent.ts +249 -0
- package/dist/bundled-agents/analytics-hub-agents/src/contracts/decision-event.ts +99 -0
- package/dist/bundled-agents/analytics-hub-agents/src/contracts/ecosystem-collaboration-agent.ts +388 -0
- package/dist/bundled-agents/analytics-hub-agents/src/contracts/index.ts +14 -0
- package/dist/bundled-agents/analytics-hub-agents/src/database.ts +187 -0
- package/dist/bundled-agents/analytics-hub-agents/src/execution/execution-graph.ts +165 -0
- package/dist/bundled-agents/analytics-hub-agents/src/execution/fastify-plugin.ts +168 -0
- package/dist/bundled-agents/analytics-hub-agents/src/execution/index.ts +18 -0
- package/dist/bundled-agents/analytics-hub-agents/src/execution/span-types.ts +54 -0
- package/dist/bundled-agents/analytics-hub-agents/src/functions/handler.ts +264 -0
- package/dist/bundled-agents/analytics-hub-agents/src/index.ts +195 -0
- package/dist/bundled-agents/analytics-hub-agents/src/kafka.ts +109 -0
- package/dist/bundled-agents/analytics-hub-agents/src/logger.ts +26 -0
- package/dist/bundled-agents/analytics-hub-agents/src/metrics.ts +97 -0
- package/dist/bundled-agents/analytics-hub-agents/src/routes/analytics.ts +153 -0
- package/dist/bundled-agents/analytics-hub-agents/src/routes/consensus.ts +218 -0
- package/dist/bundled-agents/analytics-hub-agents/src/routes/ecosystem-collaboration.ts +284 -0
- package/dist/bundled-agents/analytics-hub-agents/src/routes/events.ts +396 -0
- package/dist/bundled-agents/analytics-hub-agents/src/routes/index.ts +27 -0
- package/dist/bundled-agents/analytics-hub-agents/src/routes/ingest.ts +146 -0
- package/dist/bundled-agents/analytics-hub-agents/src/routes/metrics.ts +105 -0
- package/dist/bundled-agents/analytics-hub-agents/src/routes/strategic-recommendations.ts +624 -0
- package/dist/bundled-agents/analytics-hub-agents/src/secrets/vault.ts +252 -0
- package/dist/bundled-agents/analytics-hub-agents/src/services/index.ts +10 -0
- package/dist/bundled-agents/analytics-hub-agents/src/services/ruvector-client.ts +235 -0
- package/dist/bundled-agents/analytics-hub-agents/src/services/telemetry-emitter.ts +250 -0
- package/dist/bundled-agents/analytics-hub-agents/src/types/events.ts +237 -0
- package/dist/bundled-agents/analytics-hub-agents/src/types/fastify.d.ts +25 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/agentics/execution-context.d.ts +124 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/agentics/execution-context.d.ts.map +1 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/agentics/execution-context.js +74 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/agentics/execution-context.js.map +1 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/agentics/index.d.ts +14 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/agentics/index.d.ts.map +1 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/agentics/index.js +24 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/agentics/index.js.map +1 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/agentics/span-manager.d.ts +60 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/agentics/span-manager.d.ts.map +1 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/agentics/span-manager.js +206 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/agentics/span-manager.js.map +1 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/agents/index.d.ts +56 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/agents/index.d.ts.map +1 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/agents/index.js +125 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/agents/index.js.map +1 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/agents/model-selection-agent/handler.d.ts +115 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/agents/model-selection-agent/handler.d.ts.map +1 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/agents/model-selection-agent/handler.js +594 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/agents/model-selection-agent/handler.js.map +1 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/agents/model-selection-agent/index.d.ts +98 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/agents/model-selection-agent/index.d.ts.map +1 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/agents/model-selection-agent/index.js +896 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/agents/model-selection-agent/index.js.map +1 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/agents/self-optimizing-agent/handler.d.ts +82 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/agents/self-optimizing-agent/handler.d.ts.map +1 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/agents/self-optimizing-agent/handler.js +450 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/agents/self-optimizing-agent/handler.js.map +1 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/agents/self-optimizing-agent/index.d.ts +92 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/agents/self-optimizing-agent/index.d.ts.map +1 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/agents/self-optimizing-agent/index.js +610 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/agents/self-optimizing-agent/index.js.map +1 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/agents/token-optimization-agent/handler.d.ts +117 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/agents/token-optimization-agent/handler.d.ts.map +1 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/agents/token-optimization-agent/handler.js +604 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/agents/token-optimization-agent/handler.js.map +1 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/agents/token-optimization-agent/index.d.ts +113 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/agents/token-optimization-agent/index.d.ts.map +1 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/agents/token-optimization-agent/index.js +1096 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/agents/token-optimization-agent/index.js.map +1 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/agents/token-optimization-agent/types.d.ts +438 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/agents/token-optimization-agent/types.d.ts.map +1 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/agents/token-optimization-agent/types.js +83 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/agents/token-optimization-agent/types.js.map +1 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/claude.js +68 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/contracts/index.d.ts +879 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/contracts/index.d.ts.map +1 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/contracts/index.js +179 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/contracts/index.js.map +1 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/functions.d.ts +38 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/functions.d.ts.map +1 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/functions.js +283 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/functions.js.map +1 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/integrations/anthropic/anthropic-client.d.ts +94 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/integrations/anthropic/anthropic-client.d.ts.map +1 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/integrations/anthropic/anthropic-client.js +126 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/integrations/anthropic/anthropic-client.js.map +1 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/integrations/anthropic/index.d.ts +2 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/integrations/anthropic/index.d.ts.map +1 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/integrations/anthropic/index.js +18 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/integrations/anthropic/index.js.map +1 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/integrations/llm-devops/config-manager-adapter.d.ts +270 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/integrations/llm-devops/config-manager-adapter.d.ts.map +1 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/integrations/llm-devops/config-manager-adapter.js +308 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/integrations/llm-devops/config-manager-adapter.js.map +1 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/integrations/llm-devops/cost-ops-adapter.d.ts +141 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/integrations/llm-devops/cost-ops-adapter.d.ts.map +1 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/integrations/llm-devops/cost-ops-adapter.js +200 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/integrations/llm-devops/cost-ops-adapter.js.map +1 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/integrations/llm-devops/index.d.ts +96 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/integrations/llm-devops/index.d.ts.map +1 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/integrations/llm-devops/index.js +145 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/integrations/llm-devops/index.js.map +1 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/integrations/llm-devops/latency-lens-adapter.d.ts +208 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/integrations/llm-devops/latency-lens-adapter.d.ts.map +1 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/integrations/llm-devops/latency-lens-adapter.js +242 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/integrations/llm-devops/latency-lens-adapter.js.map +1 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/integrations/llm-devops/observatory-adapter.d.ts +243 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/integrations/llm-devops/observatory-adapter.d.ts.map +1 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/integrations/llm-devops/observatory-adapter.js +267 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/integrations/llm-devops/observatory-adapter.js.map +1 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/integrations/llm-devops/router-l2-adapter.d.ts +218 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/integrations/llm-devops/router-l2-adapter.d.ts.map +1 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/integrations/llm-devops/router-l2-adapter.js +236 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/integrations/llm-devops/router-l2-adapter.js.map +1 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/integrations/llm-devops/sentinel-adapter.d.ts +219 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/integrations/llm-devops/sentinel-adapter.d.ts.map +1 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/integrations/llm-devops/sentinel-adapter.js +258 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/integrations/llm-devops/sentinel-adapter.js.map +1 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/integrations/llm-devops/shield-adapter.d.ts +231 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/integrations/llm-devops/shield-adapter.d.ts.map +1 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/integrations/llm-devops/shield-adapter.js +239 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/integrations/llm-devops/shield-adapter.js.map +1 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/phase3/layer1/agent-wrapper.d.ts +100 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/phase3/layer1/agent-wrapper.d.ts.map +1 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/phase3/layer1/agent-wrapper.js +332 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/phase3/layer1/agent-wrapper.js.map +1 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/phase3/layer1/config.d.ts +93 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/phase3/layer1/config.d.ts.map +1 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/phase3/layer1/config.js +144 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/phase3/layer1/config.js.map +1 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/phase3/layer1/execution-guard.d.ts +106 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/phase3/layer1/execution-guard.d.ts.map +1 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/phase3/layer1/execution-guard.js +317 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/phase3/layer1/execution-guard.js.map +1 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/phase3/layer1/index.d.ts +32 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/phase3/layer1/index.d.ts.map +1 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/phase3/layer1/index.js +113 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/phase3/layer1/index.js.map +1 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/phase3/layer1/server-integration.d.ts +72 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/phase3/layer1/server-integration.d.ts.map +1 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/phase3/layer1/server-integration.js +212 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/phase3/layer1/server-integration.js.map +1 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/phase3/layer1/signals.d.ts +172 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/phase3/layer1/signals.d.ts.map +1 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/phase3/layer1/signals.js +147 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/phase3/layer1/signals.js.map +1 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/phase3/layer1/startup-guard.d.ts +66 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/phase3/layer1/startup-guard.d.ts.map +1 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/phase3/layer1/startup-guard.js +295 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/phase3/layer1/startup-guard.js.map +1 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/server.d.ts +26 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/server.d.ts.map +1 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/server.js +459 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/server.js.map +1 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/services/index.d.ts +10 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/services/index.d.ts.map +1 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/services/index.js +16 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/services/index.js.map +1 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/services/ruvector-client.d.ts +149 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/services/ruvector-client.d.ts.map +1 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/services/ruvector-client.js +280 -0
- package/dist/bundled-agents/auto-optimizer-agents/dist/services/ruvector-client.js.map +1 -0
- package/dist/bundled-agents/auto-optimizer-agents/package-lock.json +14642 -0
- package/dist/bundled-agents/auto-optimizer-agents/package.json +74 -0
- package/dist/bundled-agents/benchmark-exchange-agents/index.js +331 -0
- package/dist/bundled-agents/benchmark-exchange-agents/package-lock.json +16 -0
- package/dist/bundled-agents/benchmark-exchange-agents/package.json +50 -0
- package/dist/bundled-agents/config-manager-agents/index.js +341 -0
- package/dist/bundled-agents/config-manager-agents/package-lock.json +1839 -0
- package/dist/bundled-agents/config-manager-agents/package.json +17 -0
- package/dist/bundled-agents/connector-hub-agents/index.js +235 -0
- package/dist/bundled-agents/connector-hub-agents/package.json +5 -0
- package/dist/bundled-agents/copilot-agents/dist/claude.js +68 -0
- package/dist/bundled-agents/copilot-agents/dist/functions/src/cors.d.ts +14 -0
- package/dist/bundled-agents/copilot-agents/dist/functions/src/cors.js +35 -0
- package/dist/bundled-agents/copilot-agents/dist/functions/src/cors.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/dist/functions/src/envelope.d.ts +55 -0
- package/dist/bundled-agents/copilot-agents/dist/functions/src/envelope.js +40 -0
- package/dist/bundled-agents/copilot-agents/dist/functions/src/envelope.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/dist/functions/src/health.d.ts +22 -0
- package/dist/bundled-agents/copilot-agents/dist/functions/src/health.js +38 -0
- package/dist/bundled-agents/copilot-agents/dist/functions/src/health.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/dist/functions/src/index.d.ts +34 -0
- package/dist/bundled-agents/copilot-agents/dist/functions/src/index.js +186 -0
- package/dist/bundled-agents/copilot-agents/dist/functions/src/index.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/dist/functions/src/router.d.ts +36 -0
- package/dist/bundled-agents/copilot-agents/dist/functions/src/router.js +121 -0
- package/dist/bundled-agents/copilot-agents/dist/functions/src/router.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/config-validation/config-validation-agent.d.ts +157 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/config-validation/config-validation-agent.js +948 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/config-validation/config-validation-agent.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/config-validation/index.d.ts +9 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/config-validation/index.js +27 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/config-validation/index.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/contracts/agent-span-wrapper.d.ts +23 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/contracts/agent-span-wrapper.js +50 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/contracts/agent-span-wrapper.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/contracts/base-agent.d.ts +214 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/contracts/base-agent.js +91 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/contracts/base-agent.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/contracts/config-validation-schemas.d.ts +1166 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/contracts/config-validation-schemas.js +308 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/contracts/config-validation-schemas.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/contracts/decision-event.d.ts +59 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/contracts/decision-event.js +62 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/contracts/decision-event.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/contracts/decomposer-schemas.d.ts +400 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/contracts/decomposer-schemas.js +113 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/contracts/decomposer-schemas.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/contracts/execution-graph.d.ts +250 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/contracts/execution-graph.js +169 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/contracts/execution-graph.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/contracts/index.d.ts +17 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/contracts/index.js +97 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/contracts/index.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/contracts/intelligence-schemas.d.ts +1674 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/contracts/intelligence-schemas.js +246 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/contracts/intelligence-schemas.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/contracts/intent-classifier-schemas.d.ts +1085 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/contracts/intent-classifier-schemas.js +218 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/contracts/intent-classifier-schemas.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/contracts/meta-reasoner-schemas.d.ts +949 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/contracts/meta-reasoner-schemas.js +253 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/contracts/meta-reasoner-schemas.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/contracts/objective-clarifier-schemas.d.ts +657 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/contracts/objective-clarifier-schemas.js +205 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/contracts/objective-clarifier-schemas.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/contracts/pipeline-schemas.d.ts +285 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/contracts/pipeline-schemas.js +106 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/contracts/pipeline-schemas.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/contracts/planner-schemas.d.ts +581 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/contracts/planner-schemas.js +136 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/contracts/planner-schemas.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/contracts/reflection-schemas.d.ts +791 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/contracts/reflection-schemas.js +225 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/contracts/reflection-schemas.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/decomposer/decomposer-agent.d.ts +120 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/decomposer/decomposer-agent.js +535 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/decomposer/decomposer-agent.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/decomposer/index.d.ts +9 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/decomposer/index.js +18 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/decomposer/index.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/intent-classifier/index.d.ts +4 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/intent-classifier/index.js +9 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/intent-classifier/index.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/intent-classifier/intent-classifier-agent.d.ts +123 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/intent-classifier/intent-classifier-agent.js +609 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/intent-classifier/intent-classifier-agent.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/meta-reasoner/index.d.ts +10 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/meta-reasoner/index.js +25 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/meta-reasoner/index.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/meta-reasoner/meta-reasoner-agent.d.ts +111 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/meta-reasoner/meta-reasoner-agent.js +686 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/meta-reasoner/meta-reasoner-agent.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/meta-reasoner/telemetry.d.ts +11 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/meta-reasoner/telemetry.js +25 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/meta-reasoner/telemetry.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/objective-clarifier/index.d.ts +6 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/objective-clarifier/index.js +15 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/objective-clarifier/index.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/objective-clarifier/objective-clarifier-agent.d.ts +126 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/objective-clarifier/objective-clarifier-agent.js +780 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/objective-clarifier/objective-clarifier-agent.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/objective-clarifier/ruvector-persistence.d.ts +49 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/objective-clarifier/ruvector-persistence.js +125 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/objective-clarifier/ruvector-persistence.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/objective-clarifier/telemetry.d.ts +73 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/objective-clarifier/telemetry.js +192 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/objective-clarifier/telemetry.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/planner/index.d.ts +11 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/planner/index.js +25 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/planner/index.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/planner/planner-agent.d.ts +127 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/planner/planner-agent.js +483 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/planner/planner-agent.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/planner/ruvector-persistence.d.ts +49 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/planner/ruvector-persistence.js +125 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/planner/ruvector-persistence.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/planner/telemetry.d.ts +73 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/planner/telemetry.js +192 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/planner/telemetry.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/reflection/index.d.ts +11 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/reflection/index.js +27 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/reflection/index.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/reflection/reflection-agent.d.ts +122 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/reflection/reflection-agent.js +645 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/reflection/reflection-agent.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/reflection/ruvector-persistence.d.ts +59 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/reflection/ruvector-persistence.js +156 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/reflection/ruvector-persistence.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/reflection/telemetry.d.ts +88 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/reflection/telemetry.js +246 -0
- package/dist/bundled-agents/copilot-agents/dist/services/agents/reflection/telemetry.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/index.js +4 -0
- package/dist/bundled-agents/copilot-agents/lib/functions/src/cors.d.ts +14 -0
- package/dist/bundled-agents/copilot-agents/lib/functions/src/cors.js +35 -0
- package/dist/bundled-agents/copilot-agents/lib/functions/src/cors.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/lib/functions/src/envelope.d.ts +27 -0
- package/dist/bundled-agents/copilot-agents/lib/functions/src/envelope.js +21 -0
- package/dist/bundled-agents/copilot-agents/lib/functions/src/envelope.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/lib/functions/src/health.d.ts +22 -0
- package/dist/bundled-agents/copilot-agents/lib/functions/src/health.js +38 -0
- package/dist/bundled-agents/copilot-agents/lib/functions/src/health.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/lib/functions/src/index.d.ts +34 -0
- package/dist/bundled-agents/copilot-agents/lib/functions/src/index.js +321 -0
- package/dist/bundled-agents/copilot-agents/lib/functions/src/index.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/lib/functions/src/router.d.ts +27 -0
- package/dist/bundled-agents/copilot-agents/lib/functions/src/router.js +107 -0
- package/dist/bundled-agents/copilot-agents/lib/functions/src/router.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/config-validation/config-validation-agent.d.ts +157 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/config-validation/config-validation-agent.js +941 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/config-validation/config-validation-agent.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/config-validation/index.d.ts +9 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/config-validation/index.js +27 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/config-validation/index.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/contracts/agent-span-wrapper.d.ts +23 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/contracts/agent-span-wrapper.js +50 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/contracts/agent-span-wrapper.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/contracts/base-agent.d.ts +185 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/contracts/base-agent.js +86 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/contracts/base-agent.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/contracts/config-validation-schemas.d.ts +1081 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/contracts/config-validation-schemas.js +305 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/contracts/config-validation-schemas.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/contracts/decision-event.d.ts +59 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/contracts/decision-event.js +62 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/contracts/decision-event.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/contracts/decomposer-schemas.d.ts +315 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/contracts/decomposer-schemas.js +110 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/contracts/decomposer-schemas.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/contracts/execution-graph.d.ts +250 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/contracts/execution-graph.js +169 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/contracts/execution-graph.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/contracts/index.d.ts +16 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/contracts/index.js +88 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/contracts/index.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/contracts/intelligence-schemas.d.ts +1674 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/contracts/intelligence-schemas.js +246 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/contracts/intelligence-schemas.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/contracts/intent-classifier-schemas.d.ts +1000 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/contracts/intent-classifier-schemas.js +215 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/contracts/intent-classifier-schemas.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/contracts/meta-reasoner-schemas.d.ts +864 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/contracts/meta-reasoner-schemas.js +250 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/contracts/meta-reasoner-schemas.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/contracts/objective-clarifier-schemas.d.ts +572 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/contracts/objective-clarifier-schemas.js +202 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/contracts/objective-clarifier-schemas.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/contracts/planner-schemas.d.ts +496 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/contracts/planner-schemas.js +133 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/contracts/planner-schemas.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/contracts/reflection-schemas.d.ts +706 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/contracts/reflection-schemas.js +222 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/contracts/reflection-schemas.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/decomposer/decomposer-agent.d.ts +107 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/decomposer/decomposer-agent.js +360 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/decomposer/decomposer-agent.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/decomposer/index.d.ts +9 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/decomposer/index.js +18 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/decomposer/index.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/intent-classifier/index.d.ts +4 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/intent-classifier/index.js +9 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/intent-classifier/index.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/intent-classifier/intent-classifier-agent.d.ts +123 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/intent-classifier/intent-classifier-agent.js +609 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/intent-classifier/intent-classifier-agent.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/meta-reasoner/index.d.ts +10 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/meta-reasoner/index.js +25 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/meta-reasoner/index.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/meta-reasoner/meta-reasoner-agent.d.ts +111 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/meta-reasoner/meta-reasoner-agent.js +686 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/meta-reasoner/meta-reasoner-agent.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/meta-reasoner/telemetry.d.ts +11 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/meta-reasoner/telemetry.js +25 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/meta-reasoner/telemetry.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/objective-clarifier/index.d.ts +6 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/objective-clarifier/index.js +15 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/objective-clarifier/index.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/objective-clarifier/objective-clarifier-agent.d.ts +126 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/objective-clarifier/objective-clarifier-agent.js +780 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/objective-clarifier/objective-clarifier-agent.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/objective-clarifier/ruvector-persistence.d.ts +49 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/objective-clarifier/ruvector-persistence.js +125 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/objective-clarifier/ruvector-persistence.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/objective-clarifier/telemetry.d.ts +73 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/objective-clarifier/telemetry.js +192 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/objective-clarifier/telemetry.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/planner/index.d.ts +11 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/planner/index.js +25 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/planner/index.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/planner/planner-agent.d.ts +119 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/planner/planner-agent.js +421 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/planner/planner-agent.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/planner/ruvector-persistence.d.ts +49 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/planner/ruvector-persistence.js +125 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/planner/ruvector-persistence.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/planner/telemetry.d.ts +73 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/planner/telemetry.js +192 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/planner/telemetry.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/reflection/index.d.ts +11 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/reflection/index.js +27 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/reflection/index.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/reflection/reflection-agent.d.ts +122 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/reflection/reflection-agent.js +645 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/reflection/reflection-agent.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/reflection/ruvector-persistence.d.ts +59 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/reflection/ruvector-persistence.js +156 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/reflection/ruvector-persistence.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/reflection/telemetry.d.ts +88 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/reflection/telemetry.js +246 -0
- package/dist/bundled-agents/copilot-agents/lib/services/agents/reflection/telemetry.js.map +1 -0
- package/dist/bundled-agents/copilot-agents/package-lock.json +5474 -0
- package/dist/bundled-agents/copilot-agents/package.json +40 -0
- package/dist/bundled-agents/copilot-agents/src/cors.ts +36 -0
- package/dist/bundled-agents/copilot-agents/src/envelope.ts +77 -0
- package/dist/bundled-agents/copilot-agents/src/handler.test.ts +340 -0
- package/dist/bundled-agents/copilot-agents/src/health.ts +53 -0
- package/dist/bundled-agents/copilot-agents/src/index.ts +201 -0
- package/dist/bundled-agents/copilot-agents/src/router.ts +148 -0
- package/dist/bundled-agents/costops-agents/dist/claude.js +68 -0
- package/dist/bundled-agents/costops-agents/dist/index.js +22825 -0
- package/dist/bundled-agents/costops-agents/package-lock.json +2186 -0
- package/dist/bundled-agents/costops-agents/package.json +30 -0
- package/dist/bundled-agents/data-vault-agents/dist/agents/data-access-control/agent.d.ts +134 -0
- package/dist/bundled-agents/data-vault-agents/dist/agents/data-access-control/agent.d.ts.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/agents/data-access-control/agent.js +389 -0
- package/dist/bundled-agents/data-vault-agents/dist/agents/data-access-control/agent.js.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/agents/data-access-control/handler.d.ts +64 -0
- package/dist/bundled-agents/data-vault-agents/dist/agents/data-access-control/handler.d.ts.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/agents/data-access-control/handler.js +346 -0
- package/dist/bundled-agents/data-vault-agents/dist/agents/data-access-control/handler.js.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/agents/data-access-control/index.d.ts +36 -0
- package/dist/bundled-agents/data-vault-agents/dist/agents/data-access-control/index.d.ts.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/agents/data-access-control/index.js +37 -0
- package/dist/bundled-agents/data-vault-agents/dist/agents/data-access-control/index.js.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/agents/data-access-control/policy-evaluator.d.ts +234 -0
- package/dist/bundled-agents/data-vault-agents/dist/agents/data-access-control/policy-evaluator.d.ts.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/agents/data-access-control/policy-evaluator.js +634 -0
- package/dist/bundled-agents/data-vault-agents/dist/agents/data-access-control/policy-evaluator.js.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/agents/data-access-control/ruvector-client.d.ts +139 -0
- package/dist/bundled-agents/data-vault-agents/dist/agents/data-access-control/ruvector-client.d.ts.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/agents/data-access-control/ruvector-client.js +347 -0
- package/dist/bundled-agents/data-vault-agents/dist/agents/data-access-control/ruvector-client.js.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/agents/dataset-anonymization/agent.d.ts +103 -0
- package/dist/bundled-agents/data-vault-agents/dist/agents/dataset-anonymization/agent.d.ts.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/agents/dataset-anonymization/agent.js +439 -0
- package/dist/bundled-agents/data-vault-agents/dist/agents/dataset-anonymization/agent.js.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/agents/dataset-anonymization/anonymization-strategies.d.ts +158 -0
- package/dist/bundled-agents/data-vault-agents/dist/agents/dataset-anonymization/anonymization-strategies.d.ts.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/agents/dataset-anonymization/anonymization-strategies.js +527 -0
- package/dist/bundled-agents/data-vault-agents/dist/agents/dataset-anonymization/anonymization-strategies.js.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/agents/dataset-anonymization/compliance-rules.d.ts +106 -0
- package/dist/bundled-agents/data-vault-agents/dist/agents/dataset-anonymization/compliance-rules.d.ts.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/agents/dataset-anonymization/compliance-rules.js +426 -0
- package/dist/bundled-agents/data-vault-agents/dist/agents/dataset-anonymization/compliance-rules.js.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/agents/dataset-anonymization/handler.d.ts +37 -0
- package/dist/bundled-agents/data-vault-agents/dist/agents/dataset-anonymization/handler.d.ts.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/agents/dataset-anonymization/handler.js +230 -0
- package/dist/bundled-agents/data-vault-agents/dist/agents/dataset-anonymization/handler.js.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/agents/dataset-anonymization/index.d.ts +50 -0
- package/dist/bundled-agents/data-vault-agents/dist/agents/dataset-anonymization/index.d.ts.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/agents/dataset-anonymization/index.js +55 -0
- package/dist/bundled-agents/data-vault-agents/dist/agents/dataset-anonymization/index.js.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/agents/dataset-anonymization/pii-detector.d.ts +142 -0
- package/dist/bundled-agents/data-vault-agents/dist/agents/dataset-anonymization/pii-detector.d.ts.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/agents/dataset-anonymization/pii-detector.js +474 -0
- package/dist/bundled-agents/data-vault-agents/dist/agents/dataset-anonymization/pii-detector.js.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/agents/dataset-anonymization-agent.d.ts +132 -0
- package/dist/bundled-agents/data-vault-agents/dist/agents/dataset-anonymization-agent.d.ts.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/agents/dataset-anonymization-agent.js +517 -0
- package/dist/bundled-agents/data-vault-agents/dist/agents/dataset-anonymization-agent.js.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/agents/index.d.ts +9 -0
- package/dist/bundled-agents/data-vault-agents/dist/agents/index.d.ts.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/agents/index.js +9 -0
- package/dist/bundled-agents/data-vault-agents/dist/agents/index.js.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/claude.js +68 -0
- package/dist/bundled-agents/data-vault-agents/dist/cli/index.d.ts +16 -0
- package/dist/bundled-agents/data-vault-agents/dist/cli/index.d.ts.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/cli/index.js +419 -0
- package/dist/bundled-agents/data-vault-agents/dist/cli/index.js.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/contracts/access-control.d.ts +795 -0
- package/dist/bundled-agents/data-vault-agents/dist/contracts/access-control.d.ts.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/contracts/access-control.js +210 -0
- package/dist/bundled-agents/data-vault-agents/dist/contracts/access-control.js.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/contracts/agent-config.schema.d.ts +1570 -0
- package/dist/bundled-agents/data-vault-agents/dist/contracts/agent-config.schema.d.ts.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/contracts/agent-config.schema.js +492 -0
- package/dist/bundled-agents/data-vault-agents/dist/contracts/agent-config.schema.js.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/contracts/anonymization.d.ts +483 -0
- package/dist/bundled-agents/data-vault-agents/dist/contracts/anonymization.d.ts.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/contracts/anonymization.js +217 -0
- package/dist/bundled-agents/data-vault-agents/dist/contracts/anonymization.js.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/contracts/anonymization.schema.d.ts +1059 -0
- package/dist/bundled-agents/data-vault-agents/dist/contracts/anonymization.schema.d.ts.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/contracts/anonymization.schema.js +461 -0
- package/dist/bundled-agents/data-vault-agents/dist/contracts/anonymization.schema.js.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/contracts/data-access.schema.d.ts +731 -0
- package/dist/bundled-agents/data-vault-agents/dist/contracts/data-access.schema.d.ts.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/contracts/data-access.schema.js +388 -0
- package/dist/bundled-agents/data-vault-agents/dist/contracts/data-access.schema.js.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/contracts/decision-event.d.ts +243 -0
- package/dist/bundled-agents/data-vault-agents/dist/contracts/decision-event.d.ts.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/contracts/decision-event.js +157 -0
- package/dist/bundled-agents/data-vault-agents/dist/contracts/decision-event.js.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/contracts/decision-event.schema.d.ts +125 -0
- package/dist/bundled-agents/data-vault-agents/dist/contracts/decision-event.schema.d.ts.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/contracts/decision-event.schema.js +142 -0
- package/dist/bundled-agents/data-vault-agents/dist/contracts/decision-event.schema.js.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/contracts/index.d.ts +25 -0
- package/dist/bundled-agents/data-vault-agents/dist/contracts/index.d.ts.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/contracts/index.js +38 -0
- package/dist/bundled-agents/data-vault-agents/dist/contracts/index.js.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/contracts/schemas.d.ts +2742 -0
- package/dist/bundled-agents/data-vault-agents/dist/contracts/schemas.d.ts.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/contracts/schemas.js +110 -0
- package/dist/bundled-agents/data-vault-agents/dist/contracts/schemas.js.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/execution/index.d.ts +88 -0
- package/dist/bundled-agents/data-vault-agents/dist/execution/index.d.ts.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/execution/index.js +142 -0
- package/dist/bundled-agents/data-vault-agents/dist/execution/index.js.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/functions/anonymization-function.d.ts +116 -0
- package/dist/bundled-agents/data-vault-agents/dist/functions/anonymization-function.d.ts.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/functions/anonymization-function.js +414 -0
- package/dist/bundled-agents/data-vault-agents/dist/functions/anonymization-function.js.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/functions/cloud-function.d.ts +26 -0
- package/dist/bundled-agents/data-vault-agents/dist/functions/cloud-function.d.ts.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/functions/cloud-function.js +215 -0
- package/dist/bundled-agents/data-vault-agents/dist/functions/cloud-function.js.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/functions/index.d.ts +10 -0
- package/dist/bundled-agents/data-vault-agents/dist/functions/index.d.ts.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/functions/index.js +11 -0
- package/dist/bundled-agents/data-vault-agents/dist/functions/index.js.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/functions/server.d.ts +23 -0
- package/dist/bundled-agents/data-vault-agents/dist/functions/server.d.ts.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/functions/server.js +448 -0
- package/dist/bundled-agents/data-vault-agents/dist/functions/server.js.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/index.d.ts +57 -0
- package/dist/bundled-agents/data-vault-agents/dist/index.d.ts.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/index.js +95 -0
- package/dist/bundled-agents/data-vault-agents/dist/index.js.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/platform/index.d.ts +8 -0
- package/dist/bundled-agents/data-vault-agents/dist/platform/index.d.ts.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/platform/index.js +24 -0
- package/dist/bundled-agents/data-vault-agents/dist/platform/index.js.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/platform/integration.d.ts +875 -0
- package/dist/bundled-agents/data-vault-agents/dist/platform/integration.d.ts.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/platform/integration.js +723 -0
- package/dist/bundled-agents/data-vault-agents/dist/platform/integration.js.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/platform/registration.d.ts +391 -0
- package/dist/bundled-agents/data-vault-agents/dist/platform/registration.d.ts.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/platform/registration.js +313 -0
- package/dist/bundled-agents/data-vault-agents/dist/platform/registration.js.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/registration.d.ts +200 -0
- package/dist/bundled-agents/data-vault-agents/dist/registration.d.ts.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/registration.js +264 -0
- package/dist/bundled-agents/data-vault-agents/dist/registration.js.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/runtime/agent-base.d.ts +132 -0
- package/dist/bundled-agents/data-vault-agents/dist/runtime/agent-base.d.ts.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/runtime/agent-base.js +216 -0
- package/dist/bundled-agents/data-vault-agents/dist/runtime/agent-base.js.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/runtime/index.d.ts +12 -0
- package/dist/bundled-agents/data-vault-agents/dist/runtime/index.d.ts.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/runtime/index.js +11 -0
- package/dist/bundled-agents/data-vault-agents/dist/runtime/index.js.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/runtime/performance-budget.d.ts +143 -0
- package/dist/bundled-agents/data-vault-agents/dist/runtime/performance-budget.d.ts.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/runtime/performance-budget.js +269 -0
- package/dist/bundled-agents/data-vault-agents/dist/runtime/performance-budget.js.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/ruvector-client/index.d.ts +111 -0
- package/dist/bundled-agents/data-vault-agents/dist/ruvector-client/index.d.ts.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/ruvector-client/index.js +249 -0
- package/dist/bundled-agents/data-vault-agents/dist/ruvector-client/index.js.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/startup/index.d.ts +9 -0
- package/dist/bundled-agents/data-vault-agents/dist/startup/index.d.ts.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/startup/index.js +9 -0
- package/dist/bundled-agents/data-vault-agents/dist/startup/index.js.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/startup/validation.d.ts +64 -0
- package/dist/bundled-agents/data-vault-agents/dist/startup/validation.d.ts.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/startup/validation.js +319 -0
- package/dist/bundled-agents/data-vault-agents/dist/startup/validation.js.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/telemetry/index.d.ts +130 -0
- package/dist/bundled-agents/data-vault-agents/dist/telemetry/index.d.ts.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/telemetry/index.js +272 -0
- package/dist/bundled-agents/data-vault-agents/dist/telemetry/index.js.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/tests/contract-tests.d.ts +14 -0
- package/dist/bundled-agents/data-vault-agents/dist/tests/contract-tests.d.ts.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/tests/contract-tests.js +1096 -0
- package/dist/bundled-agents/data-vault-agents/dist/tests/contract-tests.js.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/tests/index.d.ts +8 -0
- package/dist/bundled-agents/data-vault-agents/dist/tests/index.d.ts.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/tests/index.js +9 -0
- package/dist/bundled-agents/data-vault-agents/dist/tests/index.js.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/tests/smoke-tests.d.ts +14 -0
- package/dist/bundled-agents/data-vault-agents/dist/tests/smoke-tests.d.ts.map +1 -0
- package/dist/bundled-agents/data-vault-agents/dist/tests/smoke-tests.js +787 -0
- package/dist/bundled-agents/data-vault-agents/dist/tests/smoke-tests.js.map +1 -0
- package/dist/bundled-agents/data-vault-agents/package-lock.json +6061 -0
- package/dist/bundled-agents/data-vault-agents/package.json +65 -0
- package/dist/bundled-agents/data-vault-agents/src/agents/data-access-control/agent.ts +544 -0
- package/dist/bundled-agents/data-vault-agents/src/agents/data-access-control/handler.ts +517 -0
- package/dist/bundled-agents/data-vault-agents/src/agents/data-access-control/index.ts +102 -0
- package/dist/bundled-agents/data-vault-agents/src/agents/data-access-control/policy-evaluator.ts +906 -0
- package/dist/bundled-agents/data-vault-agents/src/agents/data-access-control/ruvector-client.ts +440 -0
- package/dist/bundled-agents/data-vault-agents/src/agents/dataset-anonymization/agent.ts +658 -0
- package/dist/bundled-agents/data-vault-agents/src/agents/dataset-anonymization/anonymization-strategies.ts +711 -0
- package/dist/bundled-agents/data-vault-agents/src/agents/dataset-anonymization/compliance-rules.ts +591 -0
- package/dist/bundled-agents/data-vault-agents/src/agents/dataset-anonymization/handler.ts +261 -0
- package/dist/bundled-agents/data-vault-agents/src/agents/dataset-anonymization/index.ts +98 -0
- package/dist/bundled-agents/data-vault-agents/src/agents/dataset-anonymization/pii-detector.ts +612 -0
- package/dist/bundled-agents/data-vault-agents/src/agents/dataset-anonymization-agent.ts +679 -0
- package/dist/bundled-agents/data-vault-agents/src/agents/index.ts +12 -0
- package/dist/bundled-agents/data-vault-agents/src/cli/index.ts +535 -0
- package/dist/bundled-agents/data-vault-agents/src/contracts/access-control.ts +267 -0
- package/dist/bundled-agents/data-vault-agents/src/contracts/agent-config.schema.ts +623 -0
- package/dist/bundled-agents/data-vault-agents/src/contracts/anonymization.schema.ts +562 -0
- package/dist/bundled-agents/data-vault-agents/src/contracts/anonymization.ts +267 -0
- package/dist/bundled-agents/data-vault-agents/src/contracts/data-access.schema.ts +493 -0
- package/dist/bundled-agents/data-vault-agents/src/contracts/decision-event.schema.ts +173 -0
- package/dist/bundled-agents/data-vault-agents/src/contracts/decision-event.ts +204 -0
- package/dist/bundled-agents/data-vault-agents/src/contracts/index.ts +223 -0
- package/dist/bundled-agents/data-vault-agents/src/contracts/schemas.ts +181 -0
- package/dist/bundled-agents/data-vault-agents/src/execution/index.ts +235 -0
- package/dist/bundled-agents/data-vault-agents/src/functions/anonymization-function.ts +532 -0
- package/dist/bundled-agents/data-vault-agents/src/functions/cloud-function.ts +347 -0
- package/dist/bundled-agents/data-vault-agents/src/functions/index.ts +17 -0
- package/dist/bundled-agents/data-vault-agents/src/functions/server.ts +530 -0
- package/dist/bundled-agents/data-vault-agents/src/index.ts +201 -0
- package/dist/bundled-agents/data-vault-agents/src/platform/index.ts +64 -0
- package/dist/bundled-agents/data-vault-agents/src/platform/integration.ts +890 -0
- package/dist/bundled-agents/data-vault-agents/src/platform/registration.ts +365 -0
- package/dist/bundled-agents/data-vault-agents/src/registration.ts +288 -0
- package/dist/bundled-agents/data-vault-agents/src/runtime/agent-base.ts +344 -0
- package/dist/bundled-agents/data-vault-agents/src/runtime/index.ts +34 -0
- package/dist/bundled-agents/data-vault-agents/src/runtime/performance-budget.ts +378 -0
- package/dist/bundled-agents/data-vault-agents/src/ruvector-client/index.ts +324 -0
- package/dist/bundled-agents/data-vault-agents/src/startup/index.ts +17 -0
- package/dist/bundled-agents/data-vault-agents/src/startup/validation.ts +417 -0
- package/dist/bundled-agents/data-vault-agents/src/telemetry/index.ts +395 -0
- package/dist/bundled-agents/data-vault-agents/src/tests/contract-tests.ts +1234 -0
- package/dist/bundled-agents/data-vault-agents/src/tests/index.ts +9 -0
- package/dist/bundled-agents/data-vault-agents/src/tests/smoke-tests.ts +929 -0
- package/dist/bundled-agents/edge-agents/index.js +66 -0
- package/dist/bundled-agents/edge-agents/package-lock.json +6352 -0
- package/dist/bundled-agents/edge-agents/package.json +114 -0
- package/dist/bundled-agents/forge-agents/dist/claude.js +68 -0
- package/dist/bundled-agents/forge-agents/dist/cli/index.js +11140 -0
- package/dist/bundled-agents/forge-agents/dist/cli/index.js.map +1 -0
- package/dist/bundled-agents/forge-agents/dist/index.js +11929 -0
- package/dist/bundled-agents/forge-agents/dist/index.js.map +1 -0
- package/dist/bundled-agents/forge-agents/dist/service/cloud-function.js +9346 -0
- package/dist/bundled-agents/forge-agents/dist/service/cloud-function.js.map +1 -0
- package/dist/bundled-agents/forge-agents/dist/service/server.js +10612 -0
- package/dist/bundled-agents/forge-agents/dist/service/server.js.map +1 -0
- package/dist/bundled-agents/forge-agents/package-lock.json +13229 -0
- package/dist/bundled-agents/forge-agents/package.json +110 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/agents/change-impact/agent.d.ts +109 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/agents/change-impact/agent.d.ts.map +1 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/agents/change-impact/agent.js +625 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/agents/change-impact/agent.js.map +1 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/agents/change-impact/factory.d.ts +30 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/agents/change-impact/factory.d.ts.map +1 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/agents/change-impact/factory.js +48 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/agents/change-impact/factory.js.map +1 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/agents/change-impact/index.d.ts +9 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/agents/change-impact/index.d.ts.map +1 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/agents/change-impact/index.js +8 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/agents/change-impact/index.js.map +1 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/agents/change-impact/types.d.ts +70 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/agents/change-impact/types.d.ts.map +1 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/agents/change-impact/types.js +7 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/agents/change-impact/types.js.map +1 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/agents/governance-audit/agent.d.ts +54 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/agents/governance-audit/agent.d.ts.map +1 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/agents/governance-audit/agent.js +396 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/agents/governance-audit/agent.js.map +1 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/agents/governance-audit/factory.d.ts +29 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/agents/governance-audit/factory.d.ts.map +1 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/agents/governance-audit/factory.js +51 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/agents/governance-audit/factory.js.map +1 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/agents/governance-audit/index.d.ts +28 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/agents/governance-audit/index.d.ts.map +1 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/agents/governance-audit/index.js +28 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/agents/governance-audit/index.js.map +1 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/agents/governance-audit/types.d.ts +44 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/agents/governance-audit/types.d.ts.map +1 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/agents/governance-audit/types.js +7 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/agents/governance-audit/types.js.map +1 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/agents/usage-oversight/agent.d.ts +89 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/agents/usage-oversight/agent.d.ts.map +1 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/agents/usage-oversight/agent.js +576 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/agents/usage-oversight/agent.js.map +1 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/agents/usage-oversight/factory.d.ts +30 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/agents/usage-oversight/factory.d.ts.map +1 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/agents/usage-oversight/factory.js +55 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/agents/usage-oversight/factory.js.map +1 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/agents/usage-oversight/index.d.ts +30 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/agents/usage-oversight/index.d.ts.map +1 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/agents/usage-oversight/index.js +30 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/agents/usage-oversight/index.js.map +1 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/agents/usage-oversight/types.d.ts +81 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/agents/usage-oversight/types.d.ts.map +1 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/agents/usage-oversight/types.js +7 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/agents/usage-oversight/types.js.map +1 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/claude.js +68 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/config/index.d.ts +7 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/config/index.d.ts.map +1 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/config/index.js +7 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/config/index.js.map +1 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/config/phase4-layer1.d.ts +88 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/config/phase4-layer1.d.ts.map +1 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/config/phase4-layer1.js +99 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/config/phase4-layer1.js.map +1 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/contracts/base-agent.d.ts +230 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/contracts/base-agent.d.ts.map +1 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/contracts/base-agent.js +80 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/contracts/base-agent.js.map +1 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/contracts/change-impact.d.ts +1471 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/contracts/change-impact.d.ts.map +1 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/contracts/change-impact.js +337 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/contracts/change-impact.js.map +1 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/contracts/decision-event.d.ts +357 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/contracts/decision-event.d.ts.map +1 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/contracts/decision-event.js +131 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/contracts/decision-event.js.map +1 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/contracts/execution-span.d.ts +304 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/contracts/execution-span.d.ts.map +1 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/contracts/execution-span.js +68 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/contracts/execution-span.js.map +1 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/contracts/governance-audit.d.ts +606 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/contracts/governance-audit.d.ts.map +1 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/contracts/governance-audit.js +245 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/contracts/governance-audit.js.map +1 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/contracts/index.d.ts +16 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/contracts/index.d.ts.map +1 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/contracts/index.js +16 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/contracts/index.js.map +1 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/contracts/usage-oversight.d.ts +1471 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/contracts/usage-oversight.d.ts.map +1 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/contracts/usage-oversight.js +361 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/contracts/usage-oversight.js.map +1 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/contracts/validation.d.ts +69 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/contracts/validation.d.ts.map +1 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/contracts/validation.js +87 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/contracts/validation.js.map +1 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/handlers/cloud-function.d.ts +27 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/handlers/cloud-function.d.ts.map +1 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/handlers/cloud-function.js +284 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/handlers/cloud-function.js.map +1 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/handlers/cloud-run.d.ts +23 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/handlers/cloud-run.d.ts.map +1 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/handlers/cloud-run.js +332 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/handlers/cloud-run.js.map +1 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/handlers/edge-function.d.ts +33 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/handlers/edge-function.d.ts.map +1 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/handlers/edge-function.js +213 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/handlers/edge-function.js.map +1 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/handlers/index.d.ts +13 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/handlers/index.d.ts.map +1 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/handlers/index.js +15 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/handlers/index.js.map +1 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/index.d.ts +28 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/index.d.ts.map +1 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/index.js +32 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/index.js.map +1 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/infrastructure/decision-event-emitter.d.ts +87 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/infrastructure/decision-event-emitter.d.ts.map +1 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/infrastructure/decision-event-emitter.js +87 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/infrastructure/decision-event-emitter.js.map +1 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/infrastructure/execution-span-manager.d.ts +86 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/infrastructure/execution-span-manager.d.ts.map +1 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/infrastructure/execution-span-manager.js +161 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/infrastructure/execution-span-manager.js.map +1 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/infrastructure/index.d.ts +13 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/infrastructure/index.d.ts.map +1 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/infrastructure/index.js +13 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/infrastructure/index.js.map +1 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/infrastructure/ruvector-client.d.ts +108 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/infrastructure/ruvector-client.d.ts.map +1 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/infrastructure/ruvector-client.js +202 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/infrastructure/ruvector-client.js.map +1 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/infrastructure/telemetry.d.ts +105 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/infrastructure/telemetry.d.ts.map +1 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/infrastructure/telemetry.js +205 -0
- package/dist/bundled-agents/governance-dashboard-agents/dist/infrastructure/telemetry.js.map +1 -0
- package/dist/bundled-agents/governance-dashboard-agents/package-lock.json +1959 -0
- package/dist/bundled-agents/governance-dashboard-agents/package.json +76 -0
- package/dist/bundled-agents/governance-dashboard-agents/src/agents/change-impact/agent.ts +787 -0
- package/dist/bundled-agents/governance-dashboard-agents/src/agents/change-impact/factory.ts +71 -0
- package/dist/bundled-agents/governance-dashboard-agents/src/agents/change-impact/index.ts +21 -0
- package/dist/bundled-agents/governance-dashboard-agents/src/agents/change-impact/types.ts +82 -0
- package/dist/bundled-agents/governance-dashboard-agents/src/agents/governance-audit/agent.ts +537 -0
- package/dist/bundled-agents/governance-dashboard-agents/src/agents/governance-audit/factory.ts +80 -0
- package/dist/bundled-agents/governance-dashboard-agents/src/agents/governance-audit/index.ts +32 -0
- package/dist/bundled-agents/governance-dashboard-agents/src/agents/governance-audit/types.ts +68 -0
- package/dist/bundled-agents/governance-dashboard-agents/src/agents/usage-oversight/agent.ts +748 -0
- package/dist/bundled-agents/governance-dashboard-agents/src/agents/usage-oversight/factory.ts +68 -0
- package/dist/bundled-agents/governance-dashboard-agents/src/agents/usage-oversight/index.ts +34 -0
- package/dist/bundled-agents/governance-dashboard-agents/src/agents/usage-oversight/types.ts +105 -0
- package/dist/bundled-agents/governance-dashboard-agents/src/config/index.ts +14 -0
- package/dist/bundled-agents/governance-dashboard-agents/src/config/phase4-layer1.ts +131 -0
- package/dist/bundled-agents/governance-dashboard-agents/src/contracts/base-agent.ts +172 -0
- package/dist/bundled-agents/governance-dashboard-agents/src/contracts/change-impact.ts +424 -0
- package/dist/bundled-agents/governance-dashboard-agents/src/contracts/decision-event.ts +149 -0
- package/dist/bundled-agents/governance-dashboard-agents/src/contracts/execution-span.ts +78 -0
- package/dist/bundled-agents/governance-dashboard-agents/src/contracts/governance-audit.ts +280 -0
- package/dist/bundled-agents/governance-dashboard-agents/src/contracts/index.ts +16 -0
- package/dist/bundled-agents/governance-dashboard-agents/src/contracts/usage-oversight.ts +400 -0
- package/dist/bundled-agents/governance-dashboard-agents/src/contracts/validation.ts +119 -0
- package/dist/bundled-agents/governance-dashboard-agents/src/handlers/cloud-function.ts +357 -0
- package/dist/bundled-agents/governance-dashboard-agents/src/handlers/cloud-run.ts +389 -0
- package/dist/bundled-agents/governance-dashboard-agents/src/handlers/edge-function.ts +254 -0
- package/dist/bundled-agents/governance-dashboard-agents/src/handlers/index.ts +21 -0
- package/dist/bundled-agents/governance-dashboard-agents/src/index.ts +35 -0
- package/dist/bundled-agents/governance-dashboard-agents/src/infrastructure/decision-event-emitter.ts +156 -0
- package/dist/bundled-agents/governance-dashboard-agents/src/infrastructure/execution-span-manager.ts +213 -0
- package/dist/bundled-agents/governance-dashboard-agents/src/infrastructure/index.ts +13 -0
- package/dist/bundled-agents/governance-dashboard-agents/src/infrastructure/ruvector-client.ts +286 -0
- package/dist/bundled-agents/governance-dashboard-agents/src/infrastructure/telemetry.ts +301 -0
- package/dist/bundled-agents/incident-manager-agents/dist/claude.js +68 -0
- package/dist/bundled-agents/incident-manager-agents/dist/index.d.ts +37 -0
- package/dist/bundled-agents/incident-manager-agents/dist/index.d.ts.map +1 -0
- package/dist/bundled-agents/incident-manager-agents/dist/index.js +372 -0
- package/dist/bundled-agents/incident-manager-agents/dist/index.js.map +1 -0
- package/dist/bundled-agents/incident-manager-agents/package.json +28 -0
- package/dist/bundled-agents/incident-manager-agents/src/index.ts +480 -0
- package/dist/bundled-agents/inference-gateway-agents/index.js +140 -0
- package/dist/bundled-agents/inference-gateway-agents/package-lock.json +6328 -0
- package/dist/bundled-agents/inference-gateway-agents/package.json +19 -0
- package/dist/bundled-agents/latency-lens-agents/index.js +341 -0
- package/dist/bundled-agents/latency-lens-agents/package-lock.json +1710 -0
- package/dist/bundled-agents/latency-lens-agents/package.json +17 -0
- package/dist/bundled-agents/latency-lens-agents/src/adapters/mod.rs +285 -0
- package/dist/bundled-agents/latency-lens-agents/src/agents/cold_start_mitigation/agent.rs +657 -0
- package/dist/bundled-agents/latency-lens-agents/src/agents/cold_start_mitigation/detector.rs +720 -0
- package/dist/bundled-agents/latency-lens-agents/src/agents/cold_start_mitigation/mod.rs +45 -0
- package/dist/bundled-agents/latency-lens-agents/src/agents/cold_start_mitigation/schemas.rs +401 -0
- package/dist/bundled-agents/latency-lens-agents/src/agents/contracts/decision_event.rs +374 -0
- package/dist/bundled-agents/latency-lens-agents/src/agents/contracts/latency_schemas.rs +439 -0
- package/dist/bundled-agents/latency-lens-agents/src/agents/contracts/mod.rs +18 -0
- package/dist/bundled-agents/latency-lens-agents/src/agents/contracts/timing_events.rs +296 -0
- package/dist/bundled-agents/latency-lens-agents/src/agents/edge_function.rs +667 -0
- package/dist/bundled-agents/latency-lens-agents/src/agents/execution_graph.rs +659 -0
- package/dist/bundled-agents/latency-lens-agents/src/agents/latency_analysis/agent.rs +426 -0
- package/dist/bundled-agents/latency-lens-agents/src/agents/latency_analysis/analyzer.rs +791 -0
- package/dist/bundled-agents/latency-lens-agents/src/agents/latency_analysis/mod.rs +40 -0
- package/dist/bundled-agents/latency-lens-agents/src/agents/latency_analysis/telemetry.rs +134 -0
- package/dist/bundled-agents/latency-lens-agents/src/agents/mod.rs +70 -0
- package/dist/bundled-agents/latency-lens-agents/src/agents/ruvector/client.rs +335 -0
- package/dist/bundled-agents/latency-lens-agents/src/agents/ruvector/error.rs +61 -0
- package/dist/bundled-agents/latency-lens-agents/src/agents/ruvector/mod.rs +21 -0
- package/dist/bundled-agents/latency-lens-agents/src/agents/ruvector/types.rs +203 -0
- package/dist/bundled-agents/latency-lens-agents/src/benchmarks/io.rs +211 -0
- package/dist/bundled-agents/latency-lens-agents/src/benchmarks/markdown.rs +334 -0
- package/dist/bundled-agents/latency-lens-agents/src/benchmarks/mod.rs +245 -0
- package/dist/bundled-agents/latency-lens-agents/src/benchmarks/result.rs +169 -0
- package/dist/bundled-agents/latency-lens-agents/src/cli/commands/analyze.rs +432 -0
- package/dist/bundled-agents/latency-lens-agents/src/cli/commands/benchmark.rs +292 -0
- package/dist/bundled-agents/latency-lens-agents/src/cli/commands/cold_start.rs +553 -0
- package/dist/bundled-agents/latency-lens-agents/src/cli/commands/compare.rs +375 -0
- package/dist/bundled-agents/latency-lens-agents/src/cli/commands/export.rs +92 -0
- package/dist/bundled-agents/latency-lens-agents/src/cli/commands/inspect.rs +156 -0
- package/dist/bundled-agents/latency-lens-agents/src/cli/commands/mod.rs +39 -0
- package/dist/bundled-agents/latency-lens-agents/src/cli/commands/profile.rs +226 -0
- package/dist/bundled-agents/latency-lens-agents/src/cli/commands/replay.rs +106 -0
- package/dist/bundled-agents/latency-lens-agents/src/cli/commands/run.rs +217 -0
- package/dist/bundled-agents/latency-lens-agents/src/cli/commands/serve.rs +702 -0
- package/dist/bundled-agents/latency-lens-agents/src/cli/commands/validate.rs +325 -0
- package/dist/bundled-agents/latency-lens-agents/src/cli.rs +752 -0
- package/dist/bundled-agents/latency-lens-agents/src/config.rs +521 -0
- package/dist/bundled-agents/latency-lens-agents/src/consumers/analytics_hub.rs +668 -0
- package/dist/bundled-agents/latency-lens-agents/src/consumers/mod.rs +234 -0
- package/dist/bundled-agents/latency-lens-agents/src/consumers/observatory.rs +426 -0
- package/dist/bundled-agents/latency-lens-agents/src/consumers/testbench.rs +620 -0
- package/dist/bundled-agents/latency-lens-agents/src/lib.rs +440 -0
- package/dist/bundled-agents/latency-lens-agents/src/main.rs +210 -0
- package/dist/bundled-agents/latency-lens-agents/src/orchestrator.rs +371 -0
- package/dist/bundled-agents/latency-lens-agents/src/phase2/agent_config.rs +273 -0
- package/dist/bundled-agents/latency-lens-agents/src/phase2/cache.rs +431 -0
- package/dist/bundled-agents/latency-lens-agents/src/phase2/mod.rs +43 -0
- package/dist/bundled-agents/latency-lens-agents/src/phase2/runtime.rs +373 -0
- package/dist/bundled-agents/latency-lens-agents/src/phase2/signals.rs +594 -0
- package/dist/bundled-agents/marketplace-agents/index.js +208 -0
- package/dist/bundled-agents/marketplace-agents/package-lock.json +15 -0
- package/dist/bundled-agents/marketplace-agents/package.json +9 -0
- package/dist/bundled-agents/marketplace-agents/src/unified-service/execution-context.js +258 -0
- package/dist/bundled-agents/marketplace-agents/src/unified-service/server.js +735 -0
- package/dist/bundled-agents/memory-graph-agents/functions/index.js +208 -0
- package/dist/bundled-agents/memory-graph-agents/package-lock.json +8079 -0
- package/dist/bundled-agents/memory-graph-agents/package.json +24 -0
- package/dist/bundled-agents/memory-graph-agents/src/bin/server.rs +402 -0
- package/dist/bundled-agents/memory-graph-agents/src/engine/async_memory_graph.rs +1578 -0
- package/dist/bundled-agents/memory-graph-agents/src/engine/mod.rs +1163 -0
- package/dist/bundled-agents/memory-graph-agents/src/error.rs +687 -0
- package/dist/bundled-agents/memory-graph-agents/src/execution/agent-adapter.ts +249 -0
- package/dist/bundled-agents/memory-graph-agents/src/execution/artifact-builder.ts +237 -0
- package/dist/bundled-agents/memory-graph-agents/src/execution/executor.ts +217 -0
- package/dist/bundled-agents/memory-graph-agents/src/execution/index.ts +68 -0
- package/dist/bundled-agents/memory-graph-agents/src/execution/types.ts +181 -0
- package/dist/bundled-agents/memory-graph-agents/src/grpc/converters.rs +446 -0
- package/dist/bundled-agents/memory-graph-agents/src/grpc/handlers.rs +87 -0
- package/dist/bundled-agents/memory-graph-agents/src/grpc/llm.memory.graph.v1.rs +2852 -0
- package/dist/bundled-agents/memory-graph-agents/src/grpc/mod.rs +73 -0
- package/dist/bundled-agents/memory-graph-agents/src/grpc/service.rs +557 -0
- package/dist/bundled-agents/memory-graph-agents/src/grpc/streaming.rs +70 -0
- package/dist/bundled-agents/memory-graph-agents/src/integrations/mod.rs +243 -0
- package/dist/bundled-agents/memory-graph-agents/src/integrations/registry/client.rs +483 -0
- package/dist/bundled-agents/memory-graph-agents/src/integrations/registry/mod.rs +13 -0
- package/dist/bundled-agents/memory-graph-agents/src/integrations/registry/types.rs +392 -0
- package/dist/bundled-agents/memory-graph-agents/src/integrations/vault/archiver.rs +650 -0
- package/dist/bundled-agents/memory-graph-agents/src/integrations/vault/mod.rs +13 -0
- package/dist/bundled-agents/memory-graph-agents/src/integrations/vault/retention.rs +430 -0
- package/dist/bundled-agents/memory-graph-agents/src/lib.rs +79 -0
- package/dist/bundled-agents/memory-graph-agents/src/migration.rs +478 -0
- package/dist/bundled-agents/memory-graph-agents/src/observatory/config.rs +113 -0
- package/dist/bundled-agents/memory-graph-agents/src/observatory/emitter.rs +648 -0
- package/dist/bundled-agents/memory-graph-agents/src/observatory/events.rs +437 -0
- package/dist/bundled-agents/memory-graph-agents/src/observatory/kafka.rs +621 -0
- package/dist/bundled-agents/memory-graph-agents/src/observatory/metrics.rs +244 -0
- package/dist/bundled-agents/memory-graph-agents/src/observatory/mod.rs +72 -0
- package/dist/bundled-agents/memory-graph-agents/src/observatory/prometheus.rs +1296 -0
- package/dist/bundled-agents/memory-graph-agents/src/observatory/publisher.rs +224 -0
- package/dist/bundled-agents/memory-graph-agents/src/observatory/streaming.rs +435 -0
- package/dist/bundled-agents/memory-graph-agents/src/plugin/hooks.rs +487 -0
- package/dist/bundled-agents/memory-graph-agents/src/plugin/manager.rs +541 -0
- package/dist/bundled-agents/memory-graph-agents/src/plugin/mod.rs +429 -0
- package/dist/bundled-agents/memory-graph-agents/src/plugin/registry.rs +515 -0
- package/dist/bundled-agents/memory-graph-agents/src/query/async_query.rs +623 -0
- package/dist/bundled-agents/memory-graph-agents/src/query/mod.rs +697 -0
- package/dist/bundled-agents/memory-graph-agents/src/storage/async_sled_backend.rs +442 -0
- package/dist/bundled-agents/memory-graph-agents/src/storage/cache.rs +288 -0
- package/dist/bundled-agents/memory-graph-agents/src/storage/mod.rs +202 -0
- package/dist/bundled-agents/memory-graph-agents/src/storage/pooled_backend.rs +564 -0
- package/dist/bundled-agents/memory-graph-agents/src/storage/serialization.rs +142 -0
- package/dist/bundled-agents/memory-graph-agents/src/storage/sled_backend.rs +336 -0
- package/dist/bundled-agents/memory-graph-agents/src/types/config.rs +104 -0
- package/dist/bundled-agents/memory-graph-agents/src/types/edges.rs +1067 -0
- package/dist/bundled-agents/memory-graph-agents/src/types/ids.rs +289 -0
- package/dist/bundled-agents/memory-graph-agents/src/types/mod.rs +18 -0
- package/dist/bundled-agents/memory-graph-agents/src/types/nodes.rs +1712 -0
- package/dist/bundled-agents/observatory-agents/functions/index.js +479 -0
- package/dist/bundled-agents/observatory-agents/package-lock.json +2979 -0
- package/dist/bundled-agents/observatory-agents/package.json +18 -0
- package/dist/bundled-agents/orchestrator-agents/functions/contracts/index.js +590 -0
- package/dist/bundled-agents/orchestrator-agents/functions/index.js +442 -0
- package/dist/bundled-agents/orchestrator-agents/functions/test.js +325 -0
- package/dist/bundled-agents/orchestrator-agents/index.js +6 -0
- package/dist/bundled-agents/orchestrator-agents/package.json +20 -0
- package/dist/bundled-agents/platform-agents/dist/agents/decision-memo.d.ts +2 -0
- package/dist/bundled-agents/platform-agents/dist/agents/decision-memo.d.ts.map +1 -0
- package/dist/bundled-agents/platform-agents/dist/agents/decision-memo.js +361 -0
- package/dist/bundled-agents/platform-agents/dist/agents/decision-memo.js.map +1 -0
- package/dist/bundled-agents/platform-agents/dist/agents/decision.d.ts +2 -0
- package/dist/bundled-agents/platform-agents/dist/agents/decision.d.ts.map +1 -0
- package/dist/bundled-agents/platform-agents/dist/agents/decision.js +210 -0
- package/dist/bundled-agents/platform-agents/dist/agents/decision.js.map +1 -0
- package/dist/bundled-agents/platform-agents/dist/agents/executive-summary.d.ts +2 -0
- package/dist/bundled-agents/platform-agents/dist/agents/executive-summary.d.ts.map +1 -0
- package/dist/bundled-agents/platform-agents/dist/agents/executive-summary.js +194 -0
- package/dist/bundled-agents/platform-agents/dist/agents/executive-summary.js.map +1 -0
- package/dist/bundled-agents/platform-agents/dist/agents/risk-score.d.ts +2 -0
- package/dist/bundled-agents/platform-agents/dist/agents/risk-score.d.ts.map +1 -0
- package/dist/bundled-agents/platform-agents/dist/agents/risk-score.js +287 -0
- package/dist/bundled-agents/platform-agents/dist/agents/risk-score.js.map +1 -0
- package/dist/bundled-agents/platform-agents/dist/claude.d.ts +10 -0
- package/dist/bundled-agents/platform-agents/dist/claude.d.ts.map +1 -0
- package/dist/bundled-agents/platform-agents/dist/claude.js +68 -0
- package/dist/bundled-agents/platform-agents/dist/claude.js.map +1 -0
- package/dist/bundled-agents/platform-agents/dist/cors.d.ts +4 -0
- package/dist/bundled-agents/platform-agents/dist/cors.d.ts.map +1 -0
- package/dist/bundled-agents/platform-agents/dist/cors.js +20 -0
- package/dist/bundled-agents/platform-agents/dist/cors.js.map +1 -0
- package/dist/bundled-agents/platform-agents/dist/envelope.d.ts +18 -0
- package/dist/bundled-agents/platform-agents/dist/envelope.d.ts.map +1 -0
- package/dist/bundled-agents/platform-agents/dist/envelope.js +20 -0
- package/dist/bundled-agents/platform-agents/dist/envelope.js.map +1 -0
- package/dist/bundled-agents/platform-agents/dist/health.d.ts +3 -0
- package/dist/bundled-agents/platform-agents/dist/health.d.ts.map +1 -0
- package/dist/bundled-agents/platform-agents/dist/health.js +20 -0
- package/dist/bundled-agents/platform-agents/dist/health.js.map +1 -0
- package/dist/bundled-agents/platform-agents/dist/index.d.ts +2 -0
- package/dist/bundled-agents/platform-agents/dist/index.d.ts.map +1 -0
- package/dist/bundled-agents/platform-agents/dist/index.js +171 -0
- package/dist/bundled-agents/platform-agents/dist/index.js.map +1 -0
- package/dist/bundled-agents/platform-agents/dist/router.d.ts +8 -0
- package/dist/bundled-agents/platform-agents/dist/router.d.ts.map +1 -0
- package/dist/bundled-agents/platform-agents/dist/router.js +29 -0
- package/dist/bundled-agents/platform-agents/dist/router.js.map +1 -0
- package/dist/bundled-agents/platform-agents/dist/text-analysis.d.ts +29 -0
- package/dist/bundled-agents/platform-agents/dist/text-analysis.d.ts.map +1 -0
- package/dist/bundled-agents/platform-agents/dist/text-analysis.js +188 -0
- package/dist/bundled-agents/platform-agents/dist/text-analysis.js.map +1 -0
- package/dist/bundled-agents/platform-agents/package-lock.json +1723 -0
- package/dist/bundled-agents/platform-agents/package.json +22 -0
- package/dist/bundled-agents/platform-agents/src/agents/decision-memo.ts +463 -0
- package/dist/bundled-agents/platform-agents/src/agents/decision.ts +234 -0
- package/dist/bundled-agents/platform-agents/src/agents/executive-summary.ts +229 -0
- package/dist/bundled-agents/platform-agents/src/agents/risk-score.ts +327 -0
- package/dist/bundled-agents/platform-agents/src/claude.ts +68 -0
- package/dist/bundled-agents/platform-agents/src/cors.ts +24 -0
- package/dist/bundled-agents/platform-agents/src/envelope.ts +37 -0
- package/dist/bundled-agents/platform-agents/src/health.ts +20 -0
- package/dist/bundled-agents/platform-agents/src/index.ts +171 -0
- package/dist/bundled-agents/platform-agents/src/router.ts +38 -0
- package/dist/bundled-agents/platform-agents/src/text-analysis.ts +238 -0
- package/dist/bundled-agents/policy-engine-agents/dist/claude.js +68 -0
- package/dist/bundled-agents/policy-engine-agents/dist/functions/agents/approval-routing/agent.js +833 -0
- package/dist/bundled-agents/policy-engine-agents/dist/functions/agents/approval-routing/handler.js +397 -0
- package/dist/bundled-agents/policy-engine-agents/dist/functions/agents/constraint-solver/agent.js +632 -0
- package/dist/bundled-agents/policy-engine-agents/dist/functions/agents/constraint-solver/handler.js +333 -0
- package/dist/bundled-agents/policy-engine-agents/dist/functions/agents/contracts/approval-routing.js +14 -0
- package/dist/bundled-agents/policy-engine-agents/dist/functions/agents/contracts/constraint-solver.js +14 -0
- package/dist/bundled-agents/policy-engine-agents/dist/functions/agents/contracts/decision-event.js +13 -0
- package/dist/bundled-agents/policy-engine-agents/dist/functions/agents/policy-enforcement/agent.js +605 -0
- package/dist/bundled-agents/policy-engine-agents/dist/functions/agents/policy-enforcement/handler.js +331 -0
- package/dist/bundled-agents/policy-engine-agents/dist/functions/api/middleware/error-handler.js +124 -0
- package/dist/bundled-agents/policy-engine-agents/dist/functions/core/engine/policy-engine.js +278 -0
- package/dist/bundled-agents/policy-engine-agents/dist/functions/core/evaluator/condition-evaluator.js +196 -0
- package/dist/bundled-agents/policy-engine-agents/dist/functions/core/primitives/cost-calculator.js +176 -0
- package/dist/bundled-agents/policy-engine-agents/dist/functions/core/primitives/index.js +22 -0
- package/dist/bundled-agents/policy-engine-agents/dist/functions/core/primitives/pii-detector.js +143 -0
- package/dist/bundled-agents/policy-engine-agents/dist/functions/core/primitives/token-counter.js +93 -0
- package/dist/bundled-agents/policy-engine-agents/dist/functions/db/client.js +204 -0
- package/dist/bundled-agents/policy-engine-agents/dist/functions/db/models/policy-repository.js +263 -0
- package/dist/bundled-agents/policy-engine-agents/dist/functions/execution/context.js +46 -0
- package/dist/bundled-agents/policy-engine-agents/dist/functions/execution/errors.js +52 -0
- package/dist/bundled-agents/policy-engine-agents/dist/functions/execution/executor.js +143 -0
- package/dist/bundled-agents/policy-engine-agents/dist/functions/execution/middleware.js +48 -0
- package/dist/bundled-agents/policy-engine-agents/dist/functions/execution/spans.js +89 -0
- package/dist/bundled-agents/policy-engine-agents/dist/functions/execution/types.js +9 -0
- package/dist/bundled-agents/policy-engine-agents/dist/functions/functions/handler.js +213 -0
- package/dist/bundled-agents/policy-engine-agents/dist/functions/governance/contracts/governance-signals.js +39 -0
- package/dist/bundled-agents/policy-engine-agents/dist/functions/integrations/observatory/client.js +397 -0
- package/dist/bundled-agents/policy-engine-agents/dist/functions/integrations/observatory/index.js +21 -0
- package/dist/bundled-agents/policy-engine-agents/dist/functions/integrations/ruvector-service/client.js +446 -0
- package/dist/bundled-agents/policy-engine-agents/dist/functions/integrations/ruvector-service/index.js +22 -0
- package/dist/bundled-agents/policy-engine-agents/dist/functions/types/config.js +5 -0
- package/dist/bundled-agents/policy-engine-agents/dist/functions/types/policy.js +37 -0
- package/dist/bundled-agents/policy-engine-agents/dist/functions/utils/config.js +70 -0
- package/dist/bundled-agents/policy-engine-agents/dist/functions/utils/errors.js +130 -0
- package/dist/bundled-agents/policy-engine-agents/dist/functions/utils/logger.js +35 -0
- package/dist/bundled-agents/policy-engine-agents/package-lock.json +15377 -0
- package/dist/bundled-agents/policy-engine-agents/package.json +131 -0
- package/dist/bundled-agents/policy-engine-agents/src/agents/approval-routing/agent.ts +845 -0
- package/dist/bundled-agents/policy-engine-agents/src/agents/approval-routing/handler.ts +366 -0
- package/dist/bundled-agents/policy-engine-agents/src/agents/approval-routing/index.ts +4 -0
- package/dist/bundled-agents/policy-engine-agents/src/agents/constraint-solver/agent.ts +644 -0
- package/dist/bundled-agents/policy-engine-agents/src/agents/constraint-solver/handler.ts +276 -0
- package/dist/bundled-agents/policy-engine-agents/src/agents/constraint-solver/index.ts +19 -0
- package/dist/bundled-agents/policy-engine-agents/src/agents/contracts/approval-routing.ts +277 -0
- package/dist/bundled-agents/policy-engine-agents/src/agents/contracts/constraint-solver.ts +155 -0
- package/dist/bundled-agents/policy-engine-agents/src/agents/contracts/decision-event.ts +227 -0
- package/dist/bundled-agents/policy-engine-agents/src/agents/contracts/index.ts +10 -0
- package/dist/bundled-agents/policy-engine-agents/src/agents/index.ts +51 -0
- package/dist/bundled-agents/policy-engine-agents/src/agents/policy-enforcement/agent.ts +605 -0
- package/dist/bundled-agents/policy-engine-agents/src/agents/policy-enforcement/handler.ts +282 -0
- package/dist/bundled-agents/policy-engine-agents/src/agents/policy-enforcement/index.ts +7 -0
- package/dist/bundled-agents/policy-engine-agents/src/api/middleware/auth.ts +242 -0
- package/dist/bundled-agents/policy-engine-agents/src/api/middleware/error-handler.ts +148 -0
- package/dist/bundled-agents/policy-engine-agents/src/api/middleware/rate-limit.ts +173 -0
- package/dist/bundled-agents/policy-engine-agents/src/api/routes/agents.ts +121 -0
- package/dist/bundled-agents/policy-engine-agents/src/api/routes/approval-routing.ts +147 -0
- package/dist/bundled-agents/policy-engine-agents/src/api/routes/constraint-solver.ts +61 -0
- package/dist/bundled-agents/policy-engine-agents/src/api/routes/evaluations.ts +423 -0
- package/dist/bundled-agents/policy-engine-agents/src/api/routes/internal-evaluate.ts +168 -0
- package/dist/bundled-agents/policy-engine-agents/src/api/routes/policies.ts +808 -0
- package/dist/bundled-agents/policy-engine-agents/src/api/server.ts +210 -0
- package/dist/bundled-agents/policy-engine-agents/src/cache/cache-manager.ts +269 -0
- package/dist/bundled-agents/policy-engine-agents/src/cache/l1/memory-cache.ts +197 -0
- package/dist/bundled-agents/policy-engine-agents/src/cache/l2/redis-cache.ts +288 -0
- package/dist/bundled-agents/policy-engine-agents/src/cli/index.ts +883 -0
- package/dist/bundled-agents/policy-engine-agents/src/commands/agent.ts +323 -0
- package/dist/bundled-agents/policy-engine-agents/src/commands/approval-routing.ts +496 -0
- package/dist/bundled-agents/policy-engine-agents/src/commands/index.ts +35 -0
- package/dist/bundled-agents/policy-engine-agents/src/commands/policy.ts +445 -0
- package/dist/bundled-agents/policy-engine-agents/src/core/engine/policy-engine.ts +263 -0
- package/dist/bundled-agents/policy-engine-agents/src/core/evaluator/condition-evaluator.ts +233 -0
- package/dist/bundled-agents/policy-engine-agents/src/core/index.ts +22 -0
- package/dist/bundled-agents/policy-engine-agents/src/core/parser/index.ts +56 -0
- package/dist/bundled-agents/policy-engine-agents/src/core/parser/json-parser.ts +66 -0
- package/dist/bundled-agents/policy-engine-agents/src/core/parser/yaml-parser.ts +67 -0
- package/dist/bundled-agents/policy-engine-agents/src/core/primitives/cost-calculator.ts +232 -0
- package/dist/bundled-agents/policy-engine-agents/src/core/primitives/index.ts +7 -0
- package/dist/bundled-agents/policy-engine-agents/src/core/primitives/pii-detector.ts +171 -0
- package/dist/bundled-agents/policy-engine-agents/src/core/primitives/token-counter.ts +109 -0
- package/dist/bundled-agents/policy-engine-agents/src/core/validator/schema-validator.ts +106 -0
- package/dist/bundled-agents/policy-engine-agents/src/db/client.ts +116 -0
- package/dist/bundled-agents/policy-engine-agents/src/db/migrate.ts +466 -0
- package/dist/bundled-agents/policy-engine-agents/src/db/models/api-key-repository.ts +342 -0
- package/dist/bundled-agents/policy-engine-agents/src/db/models/evaluation-repository.ts +278 -0
- package/dist/bundled-agents/policy-engine-agents/src/db/models/policy-repository.ts +204 -0
- package/dist/bundled-agents/policy-engine-agents/src/db/schema.sql +164 -0
- package/dist/bundled-agents/policy-engine-agents/src/execution/context.ts +63 -0
- package/dist/bundled-agents/policy-engine-agents/src/execution/errors.ts +28 -0
- package/dist/bundled-agents/policy-engine-agents/src/execution/executor.ts +135 -0
- package/dist/bundled-agents/policy-engine-agents/src/execution/index.ts +48 -0
- package/dist/bundled-agents/policy-engine-agents/src/execution/middleware.ts +63 -0
- package/dist/bundled-agents/policy-engine-agents/src/execution/spans.ts +88 -0
- package/dist/bundled-agents/policy-engine-agents/src/execution/types.ts +90 -0
- package/dist/bundled-agents/policy-engine-agents/src/functions/handler.ts +253 -0
- package/dist/bundled-agents/policy-engine-agents/src/governance/contracts/governance-signals.ts +283 -0
- package/dist/bundled-agents/policy-engine-agents/src/governance/contracts/index.ts +4 -0
- package/dist/bundled-agents/policy-engine-agents/src/governance/emitters/governance-signal-emitter.ts +504 -0
- package/dist/bundled-agents/policy-engine-agents/src/governance/emitters/index.ts +4 -0
- package/dist/bundled-agents/policy-engine-agents/src/governance/index.ts +91 -0
- package/dist/bundled-agents/policy-engine-agents/src/grpc/server.ts +118 -0
- package/dist/bundled-agents/policy-engine-agents/src/grpc/services/policy-service.ts +409 -0
- package/dist/bundled-agents/policy-engine-agents/src/index.ts +124 -0
- package/dist/bundled-agents/policy-engine-agents/src/integrations/config-manager/client.ts +336 -0
- package/dist/bundled-agents/policy-engine-agents/src/integrations/config-manager/index.ts +5 -0
- package/dist/bundled-agents/policy-engine-agents/src/integrations/costops/client.ts +246 -0
- package/dist/bundled-agents/policy-engine-agents/src/integrations/edge/client.ts +240 -0
- package/dist/bundled-agents/policy-engine-agents/src/integrations/governance/client.ts +218 -0
- package/dist/bundled-agents/policy-engine-agents/src/integrations/observatory/client.ts +388 -0
- package/dist/bundled-agents/policy-engine-agents/src/integrations/observatory/index.ts +5 -0
- package/dist/bundled-agents/policy-engine-agents/src/integrations/ruvector-service/client.ts +457 -0
- package/dist/bundled-agents/policy-engine-agents/src/integrations/ruvector-service/index.ts +6 -0
- package/dist/bundled-agents/policy-engine-agents/src/integrations/schema-registry/client.ts +243 -0
- package/dist/bundled-agents/policy-engine-agents/src/integrations/schema-registry/index.ts +5 -0
- package/dist/bundled-agents/policy-engine-agents/src/integrations/shield/client.ts +159 -0
- package/dist/bundled-agents/policy-engine-agents/src/observability/metrics.ts +220 -0
- package/dist/bundled-agents/policy-engine-agents/src/observability/tracing.ts +251 -0
- package/dist/bundled-agents/policy-engine-agents/src/security/agentics-identity.ts +343 -0
- package/dist/bundled-agents/policy-engine-agents/src/security/audit-trail.ts +307 -0
- package/dist/bundled-agents/policy-engine-agents/src/security/index.ts +89 -0
- package/dist/bundled-agents/policy-engine-agents/src/security/metrics.ts +235 -0
- package/dist/bundled-agents/policy-engine-agents/src/security/policy-governance.ts +440 -0
- package/dist/bundled-agents/policy-engine-agents/src/security/rate-limiter.ts +174 -0
- package/dist/bundled-agents/policy-engine-agents/src/security/versioned-policy-repository.ts +453 -0
- package/dist/bundled-agents/policy-engine-agents/src/synthesis/builder.ts +935 -0
- package/dist/bundled-agents/policy-engine-agents/src/synthesis/index.ts +7 -0
- package/dist/bundled-agents/policy-engine-agents/src/synthesis/types.ts +177 -0
- package/dist/bundled-agents/policy-engine-agents/src/types/config.ts +80 -0
- package/dist/bundled-agents/policy-engine-agents/src/types/policy.ts +167 -0
- package/dist/bundled-agents/policy-engine-agents/src/utils/config.ts +78 -0
- package/dist/bundled-agents/policy-engine-agents/src/utils/errors.ts +79 -0
- package/dist/bundled-agents/policy-engine-agents/src/utils/logger.ts +32 -0
- package/dist/bundled-agents/registry-agents/dist/agents/bootstrap-agent.d.ts +9 -0
- package/dist/bundled-agents/registry-agents/dist/agents/bootstrap-agent.d.ts.map +1 -0
- package/dist/bundled-agents/registry-agents/dist/agents/bootstrap-agent.js +33 -0
- package/dist/bundled-agents/registry-agents/dist/agents/bootstrap-agent.js.map +1 -0
- package/dist/bundled-agents/registry-agents/dist/agents/index-agent.d.ts +9 -0
- package/dist/bundled-agents/registry-agents/dist/agents/index-agent.d.ts.map +1 -0
- package/dist/bundled-agents/registry-agents/dist/agents/index-agent.js +22 -0
- package/dist/bundled-agents/registry-agents/dist/agents/index-agent.js.map +1 -0
- package/dist/bundled-agents/registry-agents/dist/agents/reputation-agent.d.ts +9 -0
- package/dist/bundled-agents/registry-agents/dist/agents/reputation-agent.d.ts.map +1 -0
- package/dist/bundled-agents/registry-agents/dist/agents/reputation-agent.js +27 -0
- package/dist/bundled-agents/registry-agents/dist/agents/reputation-agent.js.map +1 -0
- package/dist/bundled-agents/registry-agents/dist/claude.js +68 -0
- package/dist/bundled-agents/registry-agents/dist/contracts.d.ts +217 -0
- package/dist/bundled-agents/registry-agents/dist/contracts.d.ts.map +1 -0
- package/dist/bundled-agents/registry-agents/dist/contracts.js +102 -0
- package/dist/bundled-agents/registry-agents/dist/contracts.js.map +1 -0
- package/dist/bundled-agents/registry-agents/dist/index.d.ts +25 -0
- package/dist/bundled-agents/registry-agents/dist/index.d.ts.map +1 -0
- package/dist/bundled-agents/registry-agents/dist/index.js +217 -0
- package/dist/bundled-agents/registry-agents/dist/index.js.map +1 -0
- package/dist/bundled-agents/registry-agents/dist/index.test.d.ts +2 -0
- package/dist/bundled-agents/registry-agents/dist/index.test.d.ts.map +1 -0
- package/dist/bundled-agents/registry-agents/dist/index.test.js +218 -0
- package/dist/bundled-agents/registry-agents/dist/index.test.js.map +1 -0
- package/dist/bundled-agents/registry-agents/package-lock.json +1713 -0
- package/dist/bundled-agents/registry-agents/package.json +23 -0
- package/dist/bundled-agents/research-lab-agents/index.js +214 -0
- package/dist/bundled-agents/research-lab-agents/package-lock.json +15 -0
- package/dist/bundled-agents/research-lab-agents/package.json +20 -0
- package/dist/bundled-agents/schema-registry-agents/index.js +245 -0
- package/dist/bundled-agents/schema-registry-agents/package-lock.json +5774 -0
- package/dist/bundled-agents/schema-registry-agents/package.json +19 -0
- package/dist/bundled-agents/sentinel-agents/lib/agents/alert.d.ts +3 -0
- package/dist/bundled-agents/sentinel-agents/lib/agents/alert.d.ts.map +1 -0
- package/dist/bundled-agents/sentinel-agents/lib/agents/alert.js +43 -0
- package/dist/bundled-agents/sentinel-agents/lib/agents/alert.js.map +1 -0
- package/dist/bundled-agents/sentinel-agents/lib/agents/anomaly.d.ts +3 -0
- package/dist/bundled-agents/sentinel-agents/lib/agents/anomaly.d.ts.map +1 -0
- package/dist/bundled-agents/sentinel-agents/lib/agents/anomaly.js +30 -0
- package/dist/bundled-agents/sentinel-agents/lib/agents/anomaly.js.map +1 -0
- package/dist/bundled-agents/sentinel-agents/lib/agents/correlation.d.ts +3 -0
- package/dist/bundled-agents/sentinel-agents/lib/agents/correlation.d.ts.map +1 -0
- package/dist/bundled-agents/sentinel-agents/lib/agents/correlation.js +53 -0
- package/dist/bundled-agents/sentinel-agents/lib/agents/correlation.js.map +1 -0
- package/dist/bundled-agents/sentinel-agents/lib/agents/drift.d.ts +3 -0
- package/dist/bundled-agents/sentinel-agents/lib/agents/drift.d.ts.map +1 -0
- package/dist/bundled-agents/sentinel-agents/lib/agents/drift.js +51 -0
- package/dist/bundled-agents/sentinel-agents/lib/agents/drift.js.map +1 -0
- package/dist/bundled-agents/sentinel-agents/lib/agents/rca.d.ts +3 -0
- package/dist/bundled-agents/sentinel-agents/lib/agents/rca.d.ts.map +1 -0
- package/dist/bundled-agents/sentinel-agents/lib/agents/rca.js +36 -0
- package/dist/bundled-agents/sentinel-agents/lib/agents/rca.js.map +1 -0
- package/dist/bundled-agents/sentinel-agents/lib/index.d.ts +2 -0
- package/dist/bundled-agents/sentinel-agents/lib/index.d.ts.map +1 -0
- package/dist/bundled-agents/sentinel-agents/lib/index.js +70 -0
- package/dist/bundled-agents/sentinel-agents/lib/index.js.map +1 -0
- package/dist/bundled-agents/sentinel-agents/package-lock.json +12591 -0
- package/dist/bundled-agents/sentinel-agents/package.json +62 -0
- package/dist/bundled-agents/sentinel-agents/src/agents/alert.ts +46 -0
- package/dist/bundled-agents/sentinel-agents/src/agents/anomaly.ts +33 -0
- package/dist/bundled-agents/sentinel-agents/src/agents/correlation.ts +56 -0
- package/dist/bundled-agents/sentinel-agents/src/agents/drift.ts +54 -0
- package/dist/bundled-agents/sentinel-agents/src/agents/rca.ts +38 -0
- package/dist/bundled-agents/sentinel-agents/src/index.ts +77 -0
- package/dist/bundled-agents/shield-agents/functions/index.ts +311 -0
- package/dist/bundled-agents/shield-agents/functions/package.json +36 -0
- package/dist/bundled-agents/shield-agents/functions/tsconfig.json +19 -0
- package/dist/bundled-agents/shield-agents/lib/decision-event.ts +331 -0
- package/dist/bundled-agents/shield-agents/lib/execution-span.ts +290 -0
- package/dist/bundled-agents/shield-agents/lib/index.ts +85 -0
- package/dist/bundled-agents/shield-agents/lib/package.json +58 -0
- package/dist/bundled-agents/shield-agents/lib/performance-boundaries.ts +188 -0
- package/dist/bundled-agents/shield-agents/lib/read-cache.ts +255 -0
- package/dist/bundled-agents/shield-agents/lib/startup-validator.ts +308 -0
- package/dist/bundled-agents/shield-agents/lib/tsconfig.json +21 -0
- package/dist/bundled-agents/shield-agents/package-lock.json +4862 -0
- package/dist/bundled-agents/shield-agents/package.json +49 -0
- package/dist/bundled-agents/simulator-agents/index.js +536 -0
- package/dist/bundled-agents/simulator-agents/package-lock.json +11977 -0
- package/dist/bundled-agents/simulator-agents/package.json +19 -0
- package/dist/bundled-agents/test-bench-agents/dist/.tsbuildinfo +1 -0
- package/dist/bundled-agents/test-bench-agents/dist/claude.js +68 -0
- package/dist/bundled-agents/test-bench-agents/dist/cli.d.ts +3 -0
- package/dist/bundled-agents/test-bench-agents/dist/cli.d.ts.map +1 -0
- package/dist/bundled-agents/test-bench-agents/dist/cli.js +47 -0
- package/dist/bundled-agents/test-bench-agents/dist/cli.js.map +1 -0
- package/dist/bundled-agents/test-bench-agents/dist/core/fleet-benchmark.d.ts +120 -0
- package/dist/bundled-agents/test-bench-agents/dist/core/fleet-benchmark.d.ts.map +1 -0
- package/dist/bundled-agents/test-bench-agents/dist/core/fleet-benchmark.js +129 -0
- package/dist/bundled-agents/test-bench-agents/dist/core/fleet-benchmark.js.map +1 -0
- package/dist/bundled-agents/test-bench-agents/dist/core/llm-test-bench.d.ts +35 -0
- package/dist/bundled-agents/test-bench-agents/dist/core/llm-test-bench.d.ts.map +1 -0
- package/dist/bundled-agents/test-bench-agents/dist/core/llm-test-bench.js +246 -0
- package/dist/bundled-agents/test-bench-agents/dist/core/llm-test-bench.js.map +1 -0
- package/dist/bundled-agents/test-bench-agents/dist/core/provider-client.d.ts +37 -0
- package/dist/bundled-agents/test-bench-agents/dist/core/provider-client.d.ts.map +1 -0
- package/dist/bundled-agents/test-bench-agents/dist/core/provider-client.js +135 -0
- package/dist/bundled-agents/test-bench-agents/dist/core/provider-client.js.map +1 -0
- package/dist/bundled-agents/test-bench-agents/dist/evaluators/index.d.ts +28 -0
- package/dist/bundled-agents/test-bench-agents/dist/evaluators/index.d.ts.map +1 -0
- package/dist/bundled-agents/test-bench-agents/dist/evaluators/index.js +67 -0
- package/dist/bundled-agents/test-bench-agents/dist/evaluators/index.js.map +1 -0
- package/dist/bundled-agents/test-bench-agents/dist/execution/default-policy.d.ts +3 -0
- package/dist/bundled-agents/test-bench-agents/dist/execution/default-policy.d.ts.map +1 -0
- package/dist/bundled-agents/test-bench-agents/dist/execution/default-policy.js +85 -0
- package/dist/bundled-agents/test-bench-agents/dist/execution/default-policy.js.map +1 -0
- package/dist/bundled-agents/test-bench-agents/dist/execution/index.d.ts +10 -0
- package/dist/bundled-agents/test-bench-agents/dist/execution/index.d.ts.map +1 -0
- package/dist/bundled-agents/test-bench-agents/dist/execution/index.js +7 -0
- package/dist/bundled-agents/test-bench-agents/dist/execution/index.js.map +1 -0
- package/dist/bundled-agents/test-bench-agents/dist/execution/instrumented.d.ts +39 -0
- package/dist/bundled-agents/test-bench-agents/dist/execution/instrumented.d.ts.map +1 -0
- package/dist/bundled-agents/test-bench-agents/dist/execution/instrumented.js +178 -0
- package/dist/bundled-agents/test-bench-agents/dist/execution/instrumented.js.map +1 -0
- package/dist/bundled-agents/test-bench-agents/dist/execution/policy-gate.d.ts +25 -0
- package/dist/bundled-agents/test-bench-agents/dist/execution/policy-gate.d.ts.map +1 -0
- package/dist/bundled-agents/test-bench-agents/dist/execution/policy-gate.js +75 -0
- package/dist/bundled-agents/test-bench-agents/dist/execution/policy-gate.js.map +1 -0
- package/dist/bundled-agents/test-bench-agents/dist/execution/policy.d.ts +108 -0
- package/dist/bundled-agents/test-bench-agents/dist/execution/policy.d.ts.map +1 -0
- package/dist/bundled-agents/test-bench-agents/dist/execution/policy.js +53 -0
- package/dist/bundled-agents/test-bench-agents/dist/execution/policy.js.map +1 -0
- package/dist/bundled-agents/test-bench-agents/dist/execution/span-manager.d.ts +28 -0
- package/dist/bundled-agents/test-bench-agents/dist/execution/span-manager.d.ts.map +1 -0
- package/dist/bundled-agents/test-bench-agents/dist/execution/span-manager.js +164 -0
- package/dist/bundled-agents/test-bench-agents/dist/execution/span-manager.js.map +1 -0
- package/dist/bundled-agents/test-bench-agents/dist/execution/types.d.ts +37 -0
- package/dist/bundled-agents/test-bench-agents/dist/execution/types.d.ts.map +1 -0
- package/dist/bundled-agents/test-bench-agents/dist/execution/types.js +9 -0
- package/dist/bundled-agents/test-bench-agents/dist/execution/types.js.map +1 -0
- package/dist/bundled-agents/test-bench-agents/dist/index.d.ts +16 -0
- package/dist/bundled-agents/test-bench-agents/dist/index.d.ts.map +1 -0
- package/dist/bundled-agents/test-bench-agents/dist/index.js +13 -0
- package/dist/bundled-agents/test-bench-agents/dist/index.js.map +1 -0
- package/dist/bundled-agents/test-bench-agents/dist/types/benchmarks.d.ts +87 -0
- package/dist/bundled-agents/test-bench-agents/dist/types/benchmarks.d.ts.map +1 -0
- package/dist/bundled-agents/test-bench-agents/dist/types/benchmarks.js +2 -0
- package/dist/bundled-agents/test-bench-agents/dist/types/benchmarks.js.map +1 -0
- package/dist/bundled-agents/test-bench-agents/dist/types/evaluators.d.ts +98 -0
- package/dist/bundled-agents/test-bench-agents/dist/types/evaluators.d.ts.map +1 -0
- package/dist/bundled-agents/test-bench-agents/dist/types/evaluators.js +2 -0
- package/dist/bundled-agents/test-bench-agents/dist/types/evaluators.js.map +1 -0
- package/dist/bundled-agents/test-bench-agents/dist/types/index.d.ts +20 -0
- package/dist/bundled-agents/test-bench-agents/dist/types/index.d.ts.map +1 -0
- package/dist/bundled-agents/test-bench-agents/dist/types/index.js +4 -0
- package/dist/bundled-agents/test-bench-agents/dist/types/index.js.map +1 -0
- package/dist/bundled-agents/test-bench-agents/dist/types/providers.d.ts +64 -0
- package/dist/bundled-agents/test-bench-agents/dist/types/providers.d.ts.map +1 -0
- package/dist/bundled-agents/test-bench-agents/dist/types/providers.js +2 -0
- package/dist/bundled-agents/test-bench-agents/dist/types/providers.js.map +1 -0
- package/dist/bundled-agents/test-bench-agents/dist/utils/cli-executor.d.ts +11 -0
- package/dist/bundled-agents/test-bench-agents/dist/utils/cli-executor.d.ts.map +1 -0
- package/dist/bundled-agents/test-bench-agents/dist/utils/cli-executor.js +95 -0
- package/dist/bundled-agents/test-bench-agents/dist/utils/cli-executor.js.map +1 -0
- package/dist/bundled-agents/test-bench-agents/dist/utils/validators.d.ts +8 -0
- package/dist/bundled-agents/test-bench-agents/dist/utils/validators.d.ts.map +1 -0
- package/dist/bundled-agents/test-bench-agents/dist/utils/validators.js +94 -0
- package/dist/bundled-agents/test-bench-agents/dist/utils/validators.js.map +1 -0
- package/dist/bundled-agents/test-bench-agents/functions/dist/index.js +212 -0
- package/dist/bundled-agents/test-bench-agents/functions/index.ts +257 -0
- package/dist/bundled-agents/test-bench-agents/package-lock.json +12743 -0
- package/dist/bundled-agents/test-bench-agents/package.json +113 -0
- package/dist/bundled-agents/test-bench-agents/src/cli.ts +72 -0
- package/dist/bundled-agents/test-bench-agents/src/core/fleet-benchmark.ts +503 -0
- package/dist/bundled-agents/test-bench-agents/src/core/llm-test-bench.ts +420 -0
- package/dist/bundled-agents/test-bench-agents/src/core/provider-client.ts +233 -0
- package/dist/bundled-agents/test-bench-agents/src/evaluators/index.ts +137 -0
- package/dist/bundled-agents/test-bench-agents/src/execution/default-policy.ts +98 -0
- package/dist/bundled-agents/test-bench-agents/src/execution/index.ts +52 -0
- package/dist/bundled-agents/test-bench-agents/src/execution/instrumented.ts +337 -0
- package/dist/bundled-agents/test-bench-agents/src/execution/policy-gate.ts +166 -0
- package/dist/bundled-agents/test-bench-agents/src/execution/policy.ts +130 -0
- package/dist/bundled-agents/test-bench-agents/src/execution/span-manager.ts +292 -0
- package/dist/bundled-agents/test-bench-agents/src/execution/types.ts +125 -0
- package/dist/bundled-agents/test-bench-agents/src/index.ts +100 -0
- package/dist/bundled-agents/test-bench-agents/src/types/benchmarks.ts +219 -0
- package/dist/bundled-agents/test-bench-agents/src/types/evaluators.ts +253 -0
- package/dist/bundled-agents/test-bench-agents/src/types/index.ts +55 -0
- package/dist/bundled-agents/test-bench-agents/src/types/providers.ts +193 -0
- package/dist/bundled-agents/test-bench-agents/src/utils/cli-executor.ts +170 -0
- package/dist/bundled-agents/test-bench-agents/src/utils/validators.ts +166 -0
- package/dist/cli/index.js +52 -16
- package/dist/cli/index.js.map +1 -1
- package/dist/commands/agents.d.ts +22 -1
- package/dist/commands/agents.d.ts.map +1 -1
- package/dist/commands/agents.js +701 -117
- package/dist/commands/agents.js.map +1 -1
- package/dist/commands/intent-classifier.d.ts +80 -0
- package/dist/commands/intent-classifier.d.ts.map +1 -0
- package/dist/commands/intent-classifier.js +378 -0
- package/dist/commands/intent-classifier.js.map +1 -0
- package/dist/commands/login.d.ts.map +1 -1
- package/dist/commands/login.js +54 -32
- package/dist/commands/login.js.map +1 -1
- package/dist/commands/simulate.d.ts.map +1 -1
- package/dist/commands/simulate.js +16 -5
- package/dist/commands/simulate.js.map +1 -1
- package/dist/pipeline/approval-gate.d.ts +23 -0
- package/dist/pipeline/approval-gate.d.ts.map +1 -0
- package/dist/pipeline/approval-gate.js +103 -0
- package/dist/pipeline/approval-gate.js.map +1 -0
- package/dist/pipeline/index.d.ts +18 -0
- package/dist/pipeline/index.d.ts.map +1 -0
- package/dist/pipeline/index.js +17 -0
- package/dist/pipeline/index.js.map +1 -0
- package/dist/pipeline/phases/adr-ddd-generator.d.ts +10 -0
- package/dist/pipeline/phases/adr-ddd-generator.d.ts.map +1 -0
- package/dist/pipeline/phases/adr-ddd-generator.js +310 -0
- package/dist/pipeline/phases/adr-ddd-generator.js.map +1 -0
- package/dist/pipeline/phases/decision-gate.d.ts +9 -0
- package/dist/pipeline/phases/decision-gate.d.ts.map +1 -0
- package/dist/pipeline/phases/decision-gate.js +69 -0
- package/dist/pipeline/phases/decision-gate.js.map +1 -0
- package/dist/pipeline/phases/deep-research.d.ts +10 -0
- package/dist/pipeline/phases/deep-research.d.ts.map +1 -0
- package/dist/pipeline/phases/deep-research.js +161 -0
- package/dist/pipeline/phases/deep-research.js.map +1 -0
- package/dist/pipeline/phases/prompt-generator.d.ts +10 -0
- package/dist/pipeline/phases/prompt-generator.d.ts.map +1 -0
- package/dist/pipeline/phases/prompt-generator.js +209 -0
- package/dist/pipeline/phases/prompt-generator.js.map +1 -0
- package/dist/pipeline/phases/ruvflow-executor.d.ts +9 -0
- package/dist/pipeline/phases/ruvflow-executor.d.ts.map +1 -0
- package/dist/pipeline/phases/ruvflow-executor.js +176 -0
- package/dist/pipeline/phases/ruvflow-executor.js.map +1 -0
- package/dist/pipeline/phases/sparc-development.d.ts +10 -0
- package/dist/pipeline/phases/sparc-development.d.ts.map +1 -0
- package/dist/pipeline/phases/sparc-development.js +262 -0
- package/dist/pipeline/phases/sparc-development.js.map +1 -0
- package/dist/pipeline/pipeline-coordinator.d.ts +20 -0
- package/dist/pipeline/pipeline-coordinator.d.ts.map +1 -0
- package/dist/pipeline/pipeline-coordinator.js +164 -0
- package/dist/pipeline/pipeline-coordinator.js.map +1 -0
- package/dist/pipeline/types.d.ts +143 -0
- package/dist/pipeline/types.d.ts.map +1 -0
- package/dist/pipeline/types.js +8 -0
- package/dist/pipeline/types.js.map +1 -0
- package/dist/runtime/claude-code-runner.d.ts.map +1 -1
- package/dist/runtime/claude-code-runner.js +5 -10
- package/dist/runtime/claude-code-runner.js.map +1 -1
- package/dist/synthesis/simulation-artifact-generator.d.ts +34 -0
- package/dist/synthesis/simulation-artifact-generator.d.ts.map +1 -0
- package/dist/synthesis/simulation-artifact-generator.js +181 -0
- package/dist/synthesis/simulation-artifact-generator.js.map +1 -0
- package/dist/synthesis/simulation-renderers.d.ts +23 -0
- package/dist/synthesis/simulation-renderers.d.ts.map +1 -0
- package/dist/synthesis/simulation-renderers.js +355 -0
- package/dist/synthesis/simulation-renderers.js.map +1 -0
- package/dist/utils/credentials.d.ts +10 -0
- package/dist/utils/credentials.d.ts.map +1 -1
- package/dist/utils/credentials.js +28 -0
- package/dist/utils/credentials.js.map +1 -1
- package/package.json +5 -3
|
@@ -0,0 +1,2852 @@
|
|
|
1
|
+
// This file is @generated by prost-build.
|
|
2
|
+
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
3
|
+
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
4
|
+
pub struct Session {
|
|
5
|
+
#[prost(string, tag = "1")]
|
|
6
|
+
pub id: ::prost::alloc::string::String,
|
|
7
|
+
#[prost(message, optional, tag = "2")]
|
|
8
|
+
pub created_at: ::core::option::Option<::prost_types::Timestamp>,
|
|
9
|
+
#[prost(message, optional, tag = "3")]
|
|
10
|
+
pub updated_at: ::core::option::Option<::prost_types::Timestamp>,
|
|
11
|
+
#[prost(map = "string, string", tag = "4")]
|
|
12
|
+
pub metadata: ::std::collections::HashMap<
|
|
13
|
+
::prost::alloc::string::String,
|
|
14
|
+
::prost::alloc::string::String,
|
|
15
|
+
>,
|
|
16
|
+
#[prost(bool, tag = "5")]
|
|
17
|
+
pub is_active: bool,
|
|
18
|
+
}
|
|
19
|
+
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
20
|
+
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
21
|
+
pub struct Node {
|
|
22
|
+
#[prost(string, tag = "1")]
|
|
23
|
+
pub id: ::prost::alloc::string::String,
|
|
24
|
+
#[prost(enumeration = "NodeType", tag = "2")]
|
|
25
|
+
pub r#type: i32,
|
|
26
|
+
#[prost(message, optional, tag = "3")]
|
|
27
|
+
pub created_at: ::core::option::Option<::prost_types::Timestamp>,
|
|
28
|
+
#[prost(oneof = "node::NodeData", tags = "10, 11, 12, 13, 14")]
|
|
29
|
+
pub node_data: ::core::option::Option<node::NodeData>,
|
|
30
|
+
}
|
|
31
|
+
/// Nested message and enum types in `Node`.
|
|
32
|
+
pub mod node {
|
|
33
|
+
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
34
|
+
#[derive(Clone, PartialEq, ::prost::Oneof)]
|
|
35
|
+
pub enum NodeData {
|
|
36
|
+
#[prost(message, tag = "10")]
|
|
37
|
+
Prompt(super::PromptNode),
|
|
38
|
+
#[prost(message, tag = "11")]
|
|
39
|
+
Response(super::ResponseNode),
|
|
40
|
+
#[prost(message, tag = "12")]
|
|
41
|
+
ToolInvocation(super::ToolInvocationNode),
|
|
42
|
+
#[prost(message, tag = "13")]
|
|
43
|
+
Agent(super::AgentNode),
|
|
44
|
+
#[prost(message, tag = "14")]
|
|
45
|
+
Template(super::TemplateNode),
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
49
|
+
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
50
|
+
pub struct PromptNode {
|
|
51
|
+
#[prost(string, tag = "1")]
|
|
52
|
+
pub id: ::prost::alloc::string::String,
|
|
53
|
+
#[prost(string, tag = "2")]
|
|
54
|
+
pub session_id: ::prost::alloc::string::String,
|
|
55
|
+
#[prost(string, tag = "3")]
|
|
56
|
+
pub content: ::prost::alloc::string::String,
|
|
57
|
+
#[prost(message, optional, tag = "4")]
|
|
58
|
+
pub timestamp: ::core::option::Option<::prost_types::Timestamp>,
|
|
59
|
+
#[prost(message, optional, tag = "5")]
|
|
60
|
+
pub metadata: ::core::option::Option<PromptMetadata>,
|
|
61
|
+
}
|
|
62
|
+
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
63
|
+
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
64
|
+
pub struct ResponseNode {
|
|
65
|
+
#[prost(string, tag = "1")]
|
|
66
|
+
pub id: ::prost::alloc::string::String,
|
|
67
|
+
#[prost(string, tag = "2")]
|
|
68
|
+
pub prompt_id: ::prost::alloc::string::String,
|
|
69
|
+
#[prost(string, tag = "3")]
|
|
70
|
+
pub content: ::prost::alloc::string::String,
|
|
71
|
+
#[prost(message, optional, tag = "4")]
|
|
72
|
+
pub timestamp: ::core::option::Option<::prost_types::Timestamp>,
|
|
73
|
+
#[prost(message, optional, tag = "5")]
|
|
74
|
+
pub token_usage: ::core::option::Option<TokenUsage>,
|
|
75
|
+
#[prost(message, optional, tag = "6")]
|
|
76
|
+
pub metadata: ::core::option::Option<ResponseMetadata>,
|
|
77
|
+
}
|
|
78
|
+
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
79
|
+
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
80
|
+
pub struct ToolInvocationNode {
|
|
81
|
+
#[prost(string, tag = "1")]
|
|
82
|
+
pub id: ::prost::alloc::string::String,
|
|
83
|
+
#[prost(string, tag = "2")]
|
|
84
|
+
pub response_id: ::prost::alloc::string::String,
|
|
85
|
+
#[prost(string, tag = "3")]
|
|
86
|
+
pub tool_name: ::prost::alloc::string::String,
|
|
87
|
+
/// JSON
|
|
88
|
+
#[prost(string, tag = "4")]
|
|
89
|
+
pub parameters: ::prost::alloc::string::String,
|
|
90
|
+
#[prost(string, tag = "5")]
|
|
91
|
+
pub status: ::prost::alloc::string::String,
|
|
92
|
+
/// JSON
|
|
93
|
+
#[prost(string, optional, tag = "6")]
|
|
94
|
+
pub result: ::core::option::Option<::prost::alloc::string::String>,
|
|
95
|
+
#[prost(string, optional, tag = "7")]
|
|
96
|
+
pub error: ::core::option::Option<::prost::alloc::string::String>,
|
|
97
|
+
#[prost(int64, tag = "8")]
|
|
98
|
+
pub duration_ms: i64,
|
|
99
|
+
#[prost(int32, tag = "9")]
|
|
100
|
+
pub retry_count: i32,
|
|
101
|
+
#[prost(message, optional, tag = "10")]
|
|
102
|
+
pub timestamp: ::core::option::Option<::prost_types::Timestamp>,
|
|
103
|
+
#[prost(map = "string, string", tag = "11")]
|
|
104
|
+
pub metadata: ::std::collections::HashMap<
|
|
105
|
+
::prost::alloc::string::String,
|
|
106
|
+
::prost::alloc::string::String,
|
|
107
|
+
>,
|
|
108
|
+
}
|
|
109
|
+
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
110
|
+
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
111
|
+
pub struct AgentNode {
|
|
112
|
+
#[prost(string, tag = "1")]
|
|
113
|
+
pub id: ::prost::alloc::string::String,
|
|
114
|
+
#[prost(string, tag = "2")]
|
|
115
|
+
pub name: ::prost::alloc::string::String,
|
|
116
|
+
#[prost(string, tag = "3")]
|
|
117
|
+
pub role: ::prost::alloc::string::String,
|
|
118
|
+
#[prost(string, repeated, tag = "4")]
|
|
119
|
+
pub capabilities: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
|
|
120
|
+
#[prost(string, tag = "5")]
|
|
121
|
+
pub status: ::prost::alloc::string::String,
|
|
122
|
+
#[prost(message, optional, tag = "6")]
|
|
123
|
+
pub created_at: ::core::option::Option<::prost_types::Timestamp>,
|
|
124
|
+
#[prost(map = "string, string", tag = "7")]
|
|
125
|
+
pub metadata: ::std::collections::HashMap<
|
|
126
|
+
::prost::alloc::string::String,
|
|
127
|
+
::prost::alloc::string::String,
|
|
128
|
+
>,
|
|
129
|
+
}
|
|
130
|
+
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
131
|
+
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
132
|
+
pub struct TemplateNode {
|
|
133
|
+
#[prost(string, tag = "1")]
|
|
134
|
+
pub id: ::prost::alloc::string::String,
|
|
135
|
+
#[prost(string, tag = "2")]
|
|
136
|
+
pub name: ::prost::alloc::string::String,
|
|
137
|
+
#[prost(string, tag = "3")]
|
|
138
|
+
pub template_text: ::prost::alloc::string::String,
|
|
139
|
+
#[prost(message, repeated, tag = "4")]
|
|
140
|
+
pub variables: ::prost::alloc::vec::Vec<VariableSpec>,
|
|
141
|
+
#[prost(string, tag = "5")]
|
|
142
|
+
pub version: ::prost::alloc::string::String,
|
|
143
|
+
#[prost(int64, tag = "6")]
|
|
144
|
+
pub usage_count: i64,
|
|
145
|
+
#[prost(message, optional, tag = "7")]
|
|
146
|
+
pub created_at: ::core::option::Option<::prost_types::Timestamp>,
|
|
147
|
+
#[prost(map = "string, string", tag = "8")]
|
|
148
|
+
pub metadata: ::std::collections::HashMap<
|
|
149
|
+
::prost::alloc::string::String,
|
|
150
|
+
::prost::alloc::string::String,
|
|
151
|
+
>,
|
|
152
|
+
}
|
|
153
|
+
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
154
|
+
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
155
|
+
pub struct Edge {
|
|
156
|
+
#[prost(string, tag = "1")]
|
|
157
|
+
pub id: ::prost::alloc::string::String,
|
|
158
|
+
#[prost(string, tag = "2")]
|
|
159
|
+
pub from_node_id: ::prost::alloc::string::String,
|
|
160
|
+
#[prost(string, tag = "3")]
|
|
161
|
+
pub to_node_id: ::prost::alloc::string::String,
|
|
162
|
+
#[prost(enumeration = "EdgeType", tag = "4")]
|
|
163
|
+
pub r#type: i32,
|
|
164
|
+
#[prost(message, optional, tag = "5")]
|
|
165
|
+
pub created_at: ::core::option::Option<::prost_types::Timestamp>,
|
|
166
|
+
#[prost(map = "string, string", tag = "6")]
|
|
167
|
+
pub properties: ::std::collections::HashMap<
|
|
168
|
+
::prost::alloc::string::String,
|
|
169
|
+
::prost::alloc::string::String,
|
|
170
|
+
>,
|
|
171
|
+
}
|
|
172
|
+
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
173
|
+
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
174
|
+
pub struct TokenUsage {
|
|
175
|
+
#[prost(int64, tag = "1")]
|
|
176
|
+
pub prompt_tokens: i64,
|
|
177
|
+
#[prost(int64, tag = "2")]
|
|
178
|
+
pub completion_tokens: i64,
|
|
179
|
+
#[prost(int64, tag = "3")]
|
|
180
|
+
pub total_tokens: i64,
|
|
181
|
+
}
|
|
182
|
+
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
183
|
+
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
184
|
+
pub struct PromptMetadata {
|
|
185
|
+
#[prost(string, tag = "1")]
|
|
186
|
+
pub model: ::prost::alloc::string::String,
|
|
187
|
+
#[prost(double, tag = "2")]
|
|
188
|
+
pub temperature: f64,
|
|
189
|
+
#[prost(int32, optional, tag = "3")]
|
|
190
|
+
pub max_tokens: ::core::option::Option<i32>,
|
|
191
|
+
#[prost(string, repeated, tag = "4")]
|
|
192
|
+
pub tools_available: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
|
|
193
|
+
#[prost(map = "string, string", tag = "5")]
|
|
194
|
+
pub custom: ::std::collections::HashMap<
|
|
195
|
+
::prost::alloc::string::String,
|
|
196
|
+
::prost::alloc::string::String,
|
|
197
|
+
>,
|
|
198
|
+
}
|
|
199
|
+
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
200
|
+
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
201
|
+
pub struct ResponseMetadata {
|
|
202
|
+
#[prost(string, tag = "1")]
|
|
203
|
+
pub model: ::prost::alloc::string::String,
|
|
204
|
+
#[prost(string, tag = "2")]
|
|
205
|
+
pub finish_reason: ::prost::alloc::string::String,
|
|
206
|
+
#[prost(int64, tag = "3")]
|
|
207
|
+
pub latency_ms: i64,
|
|
208
|
+
#[prost(map = "string, string", tag = "4")]
|
|
209
|
+
pub custom: ::std::collections::HashMap<
|
|
210
|
+
::prost::alloc::string::String,
|
|
211
|
+
::prost::alloc::string::String,
|
|
212
|
+
>,
|
|
213
|
+
}
|
|
214
|
+
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
215
|
+
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
216
|
+
pub struct VariableSpec {
|
|
217
|
+
#[prost(string, tag = "1")]
|
|
218
|
+
pub name: ::prost::alloc::string::String,
|
|
219
|
+
#[prost(string, tag = "2")]
|
|
220
|
+
pub type_hint: ::prost::alloc::string::String,
|
|
221
|
+
#[prost(bool, tag = "3")]
|
|
222
|
+
pub required: bool,
|
|
223
|
+
#[prost(string, optional, tag = "4")]
|
|
224
|
+
pub default_value: ::core::option::Option<::prost::alloc::string::String>,
|
|
225
|
+
#[prost(string, optional, tag = "5")]
|
|
226
|
+
pub validation_pattern: ::core::option::Option<::prost::alloc::string::String>,
|
|
227
|
+
#[prost(string, tag = "6")]
|
|
228
|
+
pub description: ::prost::alloc::string::String,
|
|
229
|
+
}
|
|
230
|
+
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
231
|
+
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
232
|
+
pub struct CreateSessionRequest {
|
|
233
|
+
#[prost(map = "string, string", tag = "1")]
|
|
234
|
+
pub metadata: ::std::collections::HashMap<
|
|
235
|
+
::prost::alloc::string::String,
|
|
236
|
+
::prost::alloc::string::String,
|
|
237
|
+
>,
|
|
238
|
+
}
|
|
239
|
+
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
240
|
+
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
241
|
+
pub struct GetSessionRequest {
|
|
242
|
+
#[prost(string, tag = "1")]
|
|
243
|
+
pub session_id: ::prost::alloc::string::String,
|
|
244
|
+
}
|
|
245
|
+
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
246
|
+
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
247
|
+
pub struct DeleteSessionRequest {
|
|
248
|
+
#[prost(string, tag = "1")]
|
|
249
|
+
pub session_id: ::prost::alloc::string::String,
|
|
250
|
+
}
|
|
251
|
+
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
252
|
+
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
253
|
+
pub struct ListSessionsRequest {
|
|
254
|
+
#[prost(int32, tag = "1")]
|
|
255
|
+
pub limit: i32,
|
|
256
|
+
#[prost(int32, tag = "2")]
|
|
257
|
+
pub offset: i32,
|
|
258
|
+
}
|
|
259
|
+
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
260
|
+
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
261
|
+
pub struct ListSessionsResponse {
|
|
262
|
+
#[prost(message, repeated, tag = "1")]
|
|
263
|
+
pub sessions: ::prost::alloc::vec::Vec<Session>,
|
|
264
|
+
#[prost(int64, tag = "2")]
|
|
265
|
+
pub total_count: i64,
|
|
266
|
+
}
|
|
267
|
+
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
268
|
+
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
269
|
+
pub struct CreateNodeRequest {
|
|
270
|
+
#[prost(message, optional, tag = "1")]
|
|
271
|
+
pub node: ::core::option::Option<Node>,
|
|
272
|
+
}
|
|
273
|
+
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
274
|
+
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
275
|
+
pub struct GetNodeRequest {
|
|
276
|
+
#[prost(string, tag = "1")]
|
|
277
|
+
pub node_id: ::prost::alloc::string::String,
|
|
278
|
+
}
|
|
279
|
+
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
280
|
+
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
281
|
+
pub struct UpdateNodeRequest {
|
|
282
|
+
#[prost(message, optional, tag = "1")]
|
|
283
|
+
pub node: ::core::option::Option<Node>,
|
|
284
|
+
}
|
|
285
|
+
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
286
|
+
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
287
|
+
pub struct DeleteNodeRequest {
|
|
288
|
+
#[prost(string, tag = "1")]
|
|
289
|
+
pub node_id: ::prost::alloc::string::String,
|
|
290
|
+
}
|
|
291
|
+
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
292
|
+
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
293
|
+
pub struct BatchCreateNodesRequest {
|
|
294
|
+
#[prost(message, repeated, tag = "1")]
|
|
295
|
+
pub nodes: ::prost::alloc::vec::Vec<Node>,
|
|
296
|
+
}
|
|
297
|
+
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
298
|
+
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
299
|
+
pub struct BatchCreateNodesResponse {
|
|
300
|
+
#[prost(message, repeated, tag = "1")]
|
|
301
|
+
pub nodes: ::prost::alloc::vec::Vec<Node>,
|
|
302
|
+
#[prost(int32, tag = "2")]
|
|
303
|
+
pub created_count: i32,
|
|
304
|
+
}
|
|
305
|
+
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
306
|
+
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
307
|
+
pub struct BatchGetNodesRequest {
|
|
308
|
+
#[prost(string, repeated, tag = "1")]
|
|
309
|
+
pub node_ids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
|
|
310
|
+
}
|
|
311
|
+
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
312
|
+
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
313
|
+
pub struct BatchGetNodesResponse {
|
|
314
|
+
#[prost(message, repeated, tag = "1")]
|
|
315
|
+
pub nodes: ::prost::alloc::vec::Vec<Node>,
|
|
316
|
+
}
|
|
317
|
+
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
318
|
+
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
319
|
+
pub struct CreateEdgeRequest {
|
|
320
|
+
#[prost(message, optional, tag = "1")]
|
|
321
|
+
pub edge: ::core::option::Option<Edge>,
|
|
322
|
+
}
|
|
323
|
+
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
324
|
+
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
325
|
+
pub struct GetEdgesRequest {
|
|
326
|
+
#[prost(string, tag = "1")]
|
|
327
|
+
pub node_id: ::prost::alloc::string::String,
|
|
328
|
+
#[prost(enumeration = "EdgeDirection", optional, tag = "2")]
|
|
329
|
+
pub direction: ::core::option::Option<i32>,
|
|
330
|
+
#[prost(enumeration = "EdgeType", optional, tag = "3")]
|
|
331
|
+
pub r#type: ::core::option::Option<i32>,
|
|
332
|
+
}
|
|
333
|
+
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
334
|
+
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
335
|
+
pub struct GetEdgesResponse {
|
|
336
|
+
#[prost(message, repeated, tag = "1")]
|
|
337
|
+
pub edges: ::prost::alloc::vec::Vec<Edge>,
|
|
338
|
+
}
|
|
339
|
+
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
340
|
+
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
341
|
+
pub struct DeleteEdgeRequest {
|
|
342
|
+
#[prost(string, tag = "1")]
|
|
343
|
+
pub edge_id: ::prost::alloc::string::String,
|
|
344
|
+
}
|
|
345
|
+
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
346
|
+
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
347
|
+
pub struct QueryRequest {
|
|
348
|
+
#[prost(string, optional, tag = "1")]
|
|
349
|
+
pub session_id: ::core::option::Option<::prost::alloc::string::String>,
|
|
350
|
+
#[prost(enumeration = "NodeType", optional, tag = "2")]
|
|
351
|
+
pub node_type: ::core::option::Option<i32>,
|
|
352
|
+
#[prost(message, optional, tag = "3")]
|
|
353
|
+
pub after: ::core::option::Option<::prost_types::Timestamp>,
|
|
354
|
+
#[prost(message, optional, tag = "4")]
|
|
355
|
+
pub before: ::core::option::Option<::prost_types::Timestamp>,
|
|
356
|
+
#[prost(int32, tag = "5")]
|
|
357
|
+
pub limit: i32,
|
|
358
|
+
#[prost(int32, tag = "6")]
|
|
359
|
+
pub offset: i32,
|
|
360
|
+
#[prost(map = "string, string", tag = "7")]
|
|
361
|
+
pub filters: ::std::collections::HashMap<
|
|
362
|
+
::prost::alloc::string::String,
|
|
363
|
+
::prost::alloc::string::String,
|
|
364
|
+
>,
|
|
365
|
+
}
|
|
366
|
+
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
367
|
+
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
368
|
+
pub struct QueryResponse {
|
|
369
|
+
#[prost(message, repeated, tag = "1")]
|
|
370
|
+
pub nodes: ::prost::alloc::vec::Vec<Node>,
|
|
371
|
+
#[prost(int64, tag = "2")]
|
|
372
|
+
pub total_count: i64,
|
|
373
|
+
}
|
|
374
|
+
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
375
|
+
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
376
|
+
pub struct AddPromptRequest {
|
|
377
|
+
#[prost(string, tag = "1")]
|
|
378
|
+
pub session_id: ::prost::alloc::string::String,
|
|
379
|
+
#[prost(string, tag = "2")]
|
|
380
|
+
pub content: ::prost::alloc::string::String,
|
|
381
|
+
#[prost(message, optional, tag = "3")]
|
|
382
|
+
pub metadata: ::core::option::Option<PromptMetadata>,
|
|
383
|
+
}
|
|
384
|
+
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
385
|
+
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
386
|
+
pub struct AddResponseRequest {
|
|
387
|
+
#[prost(string, tag = "1")]
|
|
388
|
+
pub prompt_id: ::prost::alloc::string::String,
|
|
389
|
+
#[prost(string, tag = "2")]
|
|
390
|
+
pub content: ::prost::alloc::string::String,
|
|
391
|
+
#[prost(message, optional, tag = "3")]
|
|
392
|
+
pub token_usage: ::core::option::Option<TokenUsage>,
|
|
393
|
+
#[prost(message, optional, tag = "4")]
|
|
394
|
+
pub metadata: ::core::option::Option<ResponseMetadata>,
|
|
395
|
+
}
|
|
396
|
+
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
397
|
+
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
398
|
+
pub struct AddToolInvocationRequest {
|
|
399
|
+
#[prost(message, optional, tag = "1")]
|
|
400
|
+
pub tool_invocation: ::core::option::Option<ToolInvocationNode>,
|
|
401
|
+
}
|
|
402
|
+
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
403
|
+
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
404
|
+
pub struct CreateTemplateRequest {
|
|
405
|
+
#[prost(message, optional, tag = "1")]
|
|
406
|
+
pub template: ::core::option::Option<TemplateNode>,
|
|
407
|
+
}
|
|
408
|
+
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
409
|
+
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
410
|
+
pub struct InstantiateTemplateRequest {
|
|
411
|
+
#[prost(string, tag = "1")]
|
|
412
|
+
pub template_id: ::prost::alloc::string::String,
|
|
413
|
+
#[prost(map = "string, string", tag = "2")]
|
|
414
|
+
pub variable_values: ::std::collections::HashMap<
|
|
415
|
+
::prost::alloc::string::String,
|
|
416
|
+
::prost::alloc::string::String,
|
|
417
|
+
>,
|
|
418
|
+
#[prost(string, tag = "3")]
|
|
419
|
+
pub session_id: ::prost::alloc::string::String,
|
|
420
|
+
}
|
|
421
|
+
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
422
|
+
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
423
|
+
pub struct StreamEventsRequest {
|
|
424
|
+
#[prost(string, optional, tag = "1")]
|
|
425
|
+
pub session_id: ::core::option::Option<::prost::alloc::string::String>,
|
|
426
|
+
#[prost(enumeration = "EventType", repeated, tag = "2")]
|
|
427
|
+
pub event_types: ::prost::alloc::vec::Vec<i32>,
|
|
428
|
+
}
|
|
429
|
+
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
430
|
+
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
431
|
+
pub struct Event {
|
|
432
|
+
#[prost(string, tag = "1")]
|
|
433
|
+
pub id: ::prost::alloc::string::String,
|
|
434
|
+
#[prost(enumeration = "EventType", tag = "2")]
|
|
435
|
+
pub r#type: i32,
|
|
436
|
+
#[prost(message, optional, tag = "3")]
|
|
437
|
+
pub timestamp: ::core::option::Option<::prost_types::Timestamp>,
|
|
438
|
+
/// JSON
|
|
439
|
+
#[prost(string, tag = "4")]
|
|
440
|
+
pub payload: ::prost::alloc::string::String,
|
|
441
|
+
}
|
|
442
|
+
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
443
|
+
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
444
|
+
pub struct SubscribeRequest {
|
|
445
|
+
#[prost(string, tag = "1")]
|
|
446
|
+
pub session_id: ::prost::alloc::string::String,
|
|
447
|
+
}
|
|
448
|
+
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
449
|
+
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
450
|
+
pub struct SessionEvent {
|
|
451
|
+
#[prost(message, optional, tag = "1")]
|
|
452
|
+
pub event: ::core::option::Option<Event>,
|
|
453
|
+
#[prost(string, tag = "2")]
|
|
454
|
+
pub session_id: ::prost::alloc::string::String,
|
|
455
|
+
}
|
|
456
|
+
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
457
|
+
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
458
|
+
pub struct HealthResponse {
|
|
459
|
+
#[prost(enumeration = "health_response::ServingStatus", tag = "1")]
|
|
460
|
+
pub status: i32,
|
|
461
|
+
#[prost(string, tag = "2")]
|
|
462
|
+
pub version: ::prost::alloc::string::String,
|
|
463
|
+
#[prost(int64, tag = "3")]
|
|
464
|
+
pub uptime_seconds: i64,
|
|
465
|
+
}
|
|
466
|
+
/// Nested message and enum types in `HealthResponse`.
|
|
467
|
+
pub mod health_response {
|
|
468
|
+
#[derive(
|
|
469
|
+
Clone,
|
|
470
|
+
Copy,
|
|
471
|
+
Debug,
|
|
472
|
+
PartialEq,
|
|
473
|
+
Eq,
|
|
474
|
+
Hash,
|
|
475
|
+
PartialOrd,
|
|
476
|
+
Ord,
|
|
477
|
+
::prost::Enumeration
|
|
478
|
+
)]
|
|
479
|
+
#[repr(i32)]
|
|
480
|
+
pub enum ServingStatus {
|
|
481
|
+
Unknown = 0,
|
|
482
|
+
Serving = 1,
|
|
483
|
+
NotServing = 2,
|
|
484
|
+
}
|
|
485
|
+
impl ServingStatus {
|
|
486
|
+
/// String value of the enum field names used in the ProtoBuf definition.
|
|
487
|
+
///
|
|
488
|
+
/// The values are not transformed in any way and thus are considered stable
|
|
489
|
+
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
|
|
490
|
+
pub fn as_str_name(&self) -> &'static str {
|
|
491
|
+
match self {
|
|
492
|
+
ServingStatus::Unknown => "UNKNOWN",
|
|
493
|
+
ServingStatus::Serving => "SERVING",
|
|
494
|
+
ServingStatus::NotServing => "NOT_SERVING",
|
|
495
|
+
}
|
|
496
|
+
}
|
|
497
|
+
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
498
|
+
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
499
|
+
match value {
|
|
500
|
+
"UNKNOWN" => Some(Self::Unknown),
|
|
501
|
+
"SERVING" => Some(Self::Serving),
|
|
502
|
+
"NOT_SERVING" => Some(Self::NotServing),
|
|
503
|
+
_ => None,
|
|
504
|
+
}
|
|
505
|
+
}
|
|
506
|
+
}
|
|
507
|
+
}
|
|
508
|
+
#[allow(clippy::derive_partial_eq_without_eq)]
|
|
509
|
+
#[derive(Clone, PartialEq, ::prost::Message)]
|
|
510
|
+
pub struct MetricsResponse {
|
|
511
|
+
#[prost(int64, tag = "1")]
|
|
512
|
+
pub total_nodes: i64,
|
|
513
|
+
#[prost(int64, tag = "2")]
|
|
514
|
+
pub total_edges: i64,
|
|
515
|
+
#[prost(int64, tag = "3")]
|
|
516
|
+
pub total_sessions: i64,
|
|
517
|
+
#[prost(int64, tag = "4")]
|
|
518
|
+
pub active_sessions: i64,
|
|
519
|
+
#[prost(double, tag = "5")]
|
|
520
|
+
pub avg_write_latency_ms: f64,
|
|
521
|
+
#[prost(double, tag = "6")]
|
|
522
|
+
pub avg_read_latency_ms: f64,
|
|
523
|
+
#[prost(int64, tag = "7")]
|
|
524
|
+
pub requests_per_second: i64,
|
|
525
|
+
}
|
|
526
|
+
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
527
|
+
#[repr(i32)]
|
|
528
|
+
pub enum NodeType {
|
|
529
|
+
Unspecified = 0,
|
|
530
|
+
Session = 1,
|
|
531
|
+
Prompt = 2,
|
|
532
|
+
Response = 3,
|
|
533
|
+
ToolInvocation = 4,
|
|
534
|
+
Agent = 5,
|
|
535
|
+
Template = 6,
|
|
536
|
+
}
|
|
537
|
+
impl NodeType {
|
|
538
|
+
/// String value of the enum field names used in the ProtoBuf definition.
|
|
539
|
+
///
|
|
540
|
+
/// The values are not transformed in any way and thus are considered stable
|
|
541
|
+
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
|
|
542
|
+
pub fn as_str_name(&self) -> &'static str {
|
|
543
|
+
match self {
|
|
544
|
+
NodeType::Unspecified => "NODE_TYPE_UNSPECIFIED",
|
|
545
|
+
NodeType::Session => "NODE_TYPE_SESSION",
|
|
546
|
+
NodeType::Prompt => "NODE_TYPE_PROMPT",
|
|
547
|
+
NodeType::Response => "NODE_TYPE_RESPONSE",
|
|
548
|
+
NodeType::ToolInvocation => "NODE_TYPE_TOOL_INVOCATION",
|
|
549
|
+
NodeType::Agent => "NODE_TYPE_AGENT",
|
|
550
|
+
NodeType::Template => "NODE_TYPE_TEMPLATE",
|
|
551
|
+
}
|
|
552
|
+
}
|
|
553
|
+
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
554
|
+
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
555
|
+
match value {
|
|
556
|
+
"NODE_TYPE_UNSPECIFIED" => Some(Self::Unspecified),
|
|
557
|
+
"NODE_TYPE_SESSION" => Some(Self::Session),
|
|
558
|
+
"NODE_TYPE_PROMPT" => Some(Self::Prompt),
|
|
559
|
+
"NODE_TYPE_RESPONSE" => Some(Self::Response),
|
|
560
|
+
"NODE_TYPE_TOOL_INVOCATION" => Some(Self::ToolInvocation),
|
|
561
|
+
"NODE_TYPE_AGENT" => Some(Self::Agent),
|
|
562
|
+
"NODE_TYPE_TEMPLATE" => Some(Self::Template),
|
|
563
|
+
_ => None,
|
|
564
|
+
}
|
|
565
|
+
}
|
|
566
|
+
}
|
|
567
|
+
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
568
|
+
#[repr(i32)]
|
|
569
|
+
pub enum EdgeType {
|
|
570
|
+
Unspecified = 0,
|
|
571
|
+
BelongsTo = 1,
|
|
572
|
+
RespondsTo = 2,
|
|
573
|
+
Follows = 3,
|
|
574
|
+
Invokes = 4,
|
|
575
|
+
HandledBy = 5,
|
|
576
|
+
Instantiates = 6,
|
|
577
|
+
Inherits = 7,
|
|
578
|
+
TransfersTo = 8,
|
|
579
|
+
References = 9,
|
|
580
|
+
}
|
|
581
|
+
impl EdgeType {
|
|
582
|
+
/// String value of the enum field names used in the ProtoBuf definition.
|
|
583
|
+
///
|
|
584
|
+
/// The values are not transformed in any way and thus are considered stable
|
|
585
|
+
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
|
|
586
|
+
pub fn as_str_name(&self) -> &'static str {
|
|
587
|
+
match self {
|
|
588
|
+
EdgeType::Unspecified => "EDGE_TYPE_UNSPECIFIED",
|
|
589
|
+
EdgeType::BelongsTo => "EDGE_TYPE_BELONGS_TO",
|
|
590
|
+
EdgeType::RespondsTo => "EDGE_TYPE_RESPONDS_TO",
|
|
591
|
+
EdgeType::Follows => "EDGE_TYPE_FOLLOWS",
|
|
592
|
+
EdgeType::Invokes => "EDGE_TYPE_INVOKES",
|
|
593
|
+
EdgeType::HandledBy => "EDGE_TYPE_HANDLED_BY",
|
|
594
|
+
EdgeType::Instantiates => "EDGE_TYPE_INSTANTIATES",
|
|
595
|
+
EdgeType::Inherits => "EDGE_TYPE_INHERITS",
|
|
596
|
+
EdgeType::TransfersTo => "EDGE_TYPE_TRANSFERS_TO",
|
|
597
|
+
EdgeType::References => "EDGE_TYPE_REFERENCES",
|
|
598
|
+
}
|
|
599
|
+
}
|
|
600
|
+
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
601
|
+
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
602
|
+
match value {
|
|
603
|
+
"EDGE_TYPE_UNSPECIFIED" => Some(Self::Unspecified),
|
|
604
|
+
"EDGE_TYPE_BELONGS_TO" => Some(Self::BelongsTo),
|
|
605
|
+
"EDGE_TYPE_RESPONDS_TO" => Some(Self::RespondsTo),
|
|
606
|
+
"EDGE_TYPE_FOLLOWS" => Some(Self::Follows),
|
|
607
|
+
"EDGE_TYPE_INVOKES" => Some(Self::Invokes),
|
|
608
|
+
"EDGE_TYPE_HANDLED_BY" => Some(Self::HandledBy),
|
|
609
|
+
"EDGE_TYPE_INSTANTIATES" => Some(Self::Instantiates),
|
|
610
|
+
"EDGE_TYPE_INHERITS" => Some(Self::Inherits),
|
|
611
|
+
"EDGE_TYPE_TRANSFERS_TO" => Some(Self::TransfersTo),
|
|
612
|
+
"EDGE_TYPE_REFERENCES" => Some(Self::References),
|
|
613
|
+
_ => None,
|
|
614
|
+
}
|
|
615
|
+
}
|
|
616
|
+
}
|
|
617
|
+
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
618
|
+
#[repr(i32)]
|
|
619
|
+
pub enum EdgeDirection {
|
|
620
|
+
Unspecified = 0,
|
|
621
|
+
Outgoing = 1,
|
|
622
|
+
Incoming = 2,
|
|
623
|
+
Both = 3,
|
|
624
|
+
}
|
|
625
|
+
impl EdgeDirection {
|
|
626
|
+
/// String value of the enum field names used in the ProtoBuf definition.
|
|
627
|
+
///
|
|
628
|
+
/// The values are not transformed in any way and thus are considered stable
|
|
629
|
+
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
|
|
630
|
+
pub fn as_str_name(&self) -> &'static str {
|
|
631
|
+
match self {
|
|
632
|
+
EdgeDirection::Unspecified => "EDGE_DIRECTION_UNSPECIFIED",
|
|
633
|
+
EdgeDirection::Outgoing => "EDGE_DIRECTION_OUTGOING",
|
|
634
|
+
EdgeDirection::Incoming => "EDGE_DIRECTION_INCOMING",
|
|
635
|
+
EdgeDirection::Both => "EDGE_DIRECTION_BOTH",
|
|
636
|
+
}
|
|
637
|
+
}
|
|
638
|
+
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
639
|
+
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
640
|
+
match value {
|
|
641
|
+
"EDGE_DIRECTION_UNSPECIFIED" => Some(Self::Unspecified),
|
|
642
|
+
"EDGE_DIRECTION_OUTGOING" => Some(Self::Outgoing),
|
|
643
|
+
"EDGE_DIRECTION_INCOMING" => Some(Self::Incoming),
|
|
644
|
+
"EDGE_DIRECTION_BOTH" => Some(Self::Both),
|
|
645
|
+
_ => None,
|
|
646
|
+
}
|
|
647
|
+
}
|
|
648
|
+
}
|
|
649
|
+
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
|
650
|
+
#[repr(i32)]
|
|
651
|
+
pub enum EventType {
|
|
652
|
+
Unspecified = 0,
|
|
653
|
+
NodeCreated = 1,
|
|
654
|
+
NodeUpdated = 2,
|
|
655
|
+
NodeDeleted = 3,
|
|
656
|
+
EdgeCreated = 4,
|
|
657
|
+
EdgeDeleted = 5,
|
|
658
|
+
SessionCreated = 6,
|
|
659
|
+
SessionClosed = 7,
|
|
660
|
+
}
|
|
661
|
+
impl EventType {
|
|
662
|
+
/// String value of the enum field names used in the ProtoBuf definition.
|
|
663
|
+
///
|
|
664
|
+
/// The values are not transformed in any way and thus are considered stable
|
|
665
|
+
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
|
|
666
|
+
pub fn as_str_name(&self) -> &'static str {
|
|
667
|
+
match self {
|
|
668
|
+
EventType::Unspecified => "EVENT_TYPE_UNSPECIFIED",
|
|
669
|
+
EventType::NodeCreated => "EVENT_TYPE_NODE_CREATED",
|
|
670
|
+
EventType::NodeUpdated => "EVENT_TYPE_NODE_UPDATED",
|
|
671
|
+
EventType::NodeDeleted => "EVENT_TYPE_NODE_DELETED",
|
|
672
|
+
EventType::EdgeCreated => "EVENT_TYPE_EDGE_CREATED",
|
|
673
|
+
EventType::EdgeDeleted => "EVENT_TYPE_EDGE_DELETED",
|
|
674
|
+
EventType::SessionCreated => "EVENT_TYPE_SESSION_CREATED",
|
|
675
|
+
EventType::SessionClosed => "EVENT_TYPE_SESSION_CLOSED",
|
|
676
|
+
}
|
|
677
|
+
}
|
|
678
|
+
/// Creates an enum from field names used in the ProtoBuf definition.
|
|
679
|
+
pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
|
|
680
|
+
match value {
|
|
681
|
+
"EVENT_TYPE_UNSPECIFIED" => Some(Self::Unspecified),
|
|
682
|
+
"EVENT_TYPE_NODE_CREATED" => Some(Self::NodeCreated),
|
|
683
|
+
"EVENT_TYPE_NODE_UPDATED" => Some(Self::NodeUpdated),
|
|
684
|
+
"EVENT_TYPE_NODE_DELETED" => Some(Self::NodeDeleted),
|
|
685
|
+
"EVENT_TYPE_EDGE_CREATED" => Some(Self::EdgeCreated),
|
|
686
|
+
"EVENT_TYPE_EDGE_DELETED" => Some(Self::EdgeDeleted),
|
|
687
|
+
"EVENT_TYPE_SESSION_CREATED" => Some(Self::SessionCreated),
|
|
688
|
+
"EVENT_TYPE_SESSION_CLOSED" => Some(Self::SessionClosed),
|
|
689
|
+
_ => None,
|
|
690
|
+
}
|
|
691
|
+
}
|
|
692
|
+
}
|
|
693
|
+
/// Generated client implementations.
|
|
694
|
+
pub mod memory_graph_service_client {
|
|
695
|
+
#![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
|
|
696
|
+
use tonic::codegen::*;
|
|
697
|
+
use tonic::codegen::http::Uri;
|
|
698
|
+
#[derive(Debug, Clone)]
|
|
699
|
+
pub struct MemoryGraphServiceClient<T> {
|
|
700
|
+
inner: tonic::client::Grpc<T>,
|
|
701
|
+
}
|
|
702
|
+
impl MemoryGraphServiceClient<tonic::transport::Channel> {
|
|
703
|
+
/// Attempt to create a new client by connecting to a given endpoint.
|
|
704
|
+
pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
|
|
705
|
+
where
|
|
706
|
+
D: TryInto<tonic::transport::Endpoint>,
|
|
707
|
+
D::Error: Into<StdError>,
|
|
708
|
+
{
|
|
709
|
+
let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
|
|
710
|
+
Ok(Self::new(conn))
|
|
711
|
+
}
|
|
712
|
+
}
|
|
713
|
+
impl<T> MemoryGraphServiceClient<T>
|
|
714
|
+
where
|
|
715
|
+
T: tonic::client::GrpcService<tonic::body::BoxBody>,
|
|
716
|
+
T::Error: Into<StdError>,
|
|
717
|
+
T::ResponseBody: Body<Data = Bytes> + Send + 'static,
|
|
718
|
+
<T::ResponseBody as Body>::Error: Into<StdError> + Send,
|
|
719
|
+
{
|
|
720
|
+
pub fn new(inner: T) -> Self {
|
|
721
|
+
let inner = tonic::client::Grpc::new(inner);
|
|
722
|
+
Self { inner }
|
|
723
|
+
}
|
|
724
|
+
pub fn with_origin(inner: T, origin: Uri) -> Self {
|
|
725
|
+
let inner = tonic::client::Grpc::with_origin(inner, origin);
|
|
726
|
+
Self { inner }
|
|
727
|
+
}
|
|
728
|
+
pub fn with_interceptor<F>(
|
|
729
|
+
inner: T,
|
|
730
|
+
interceptor: F,
|
|
731
|
+
) -> MemoryGraphServiceClient<InterceptedService<T, F>>
|
|
732
|
+
where
|
|
733
|
+
F: tonic::service::Interceptor,
|
|
734
|
+
T::ResponseBody: Default,
|
|
735
|
+
T: tonic::codegen::Service<
|
|
736
|
+
http::Request<tonic::body::BoxBody>,
|
|
737
|
+
Response = http::Response<
|
|
738
|
+
<T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
|
|
739
|
+
>,
|
|
740
|
+
>,
|
|
741
|
+
<T as tonic::codegen::Service<
|
|
742
|
+
http::Request<tonic::body::BoxBody>,
|
|
743
|
+
>>::Error: Into<StdError> + Send + Sync,
|
|
744
|
+
{
|
|
745
|
+
MemoryGraphServiceClient::new(InterceptedService::new(inner, interceptor))
|
|
746
|
+
}
|
|
747
|
+
/// Compress requests with the given encoding.
|
|
748
|
+
///
|
|
749
|
+
/// This requires the server to support it otherwise it might respond with an
|
|
750
|
+
/// error.
|
|
751
|
+
#[must_use]
|
|
752
|
+
pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
|
|
753
|
+
self.inner = self.inner.send_compressed(encoding);
|
|
754
|
+
self
|
|
755
|
+
}
|
|
756
|
+
/// Enable decompressing responses.
|
|
757
|
+
#[must_use]
|
|
758
|
+
pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
|
|
759
|
+
self.inner = self.inner.accept_compressed(encoding);
|
|
760
|
+
self
|
|
761
|
+
}
|
|
762
|
+
/// Limits the maximum size of a decoded message.
|
|
763
|
+
///
|
|
764
|
+
/// Default: `4MB`
|
|
765
|
+
#[must_use]
|
|
766
|
+
pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
|
|
767
|
+
self.inner = self.inner.max_decoding_message_size(limit);
|
|
768
|
+
self
|
|
769
|
+
}
|
|
770
|
+
/// Limits the maximum size of an encoded message.
|
|
771
|
+
///
|
|
772
|
+
/// Default: `usize::MAX`
|
|
773
|
+
#[must_use]
|
|
774
|
+
pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
|
|
775
|
+
self.inner = self.inner.max_encoding_message_size(limit);
|
|
776
|
+
self
|
|
777
|
+
}
|
|
778
|
+
/// Session Management
|
|
779
|
+
pub async fn create_session(
|
|
780
|
+
&mut self,
|
|
781
|
+
request: impl tonic::IntoRequest<super::CreateSessionRequest>,
|
|
782
|
+
) -> std::result::Result<tonic::Response<super::Session>, tonic::Status> {
|
|
783
|
+
self.inner
|
|
784
|
+
.ready()
|
|
785
|
+
.await
|
|
786
|
+
.map_err(|e| {
|
|
787
|
+
tonic::Status::new(
|
|
788
|
+
tonic::Code::Unknown,
|
|
789
|
+
format!("Service was not ready: {}", e.into()),
|
|
790
|
+
)
|
|
791
|
+
})?;
|
|
792
|
+
let codec = tonic::codec::ProstCodec::default();
|
|
793
|
+
let path = http::uri::PathAndQuery::from_static(
|
|
794
|
+
"/llm.memory.graph.v1.MemoryGraphService/CreateSession",
|
|
795
|
+
);
|
|
796
|
+
let mut req = request.into_request();
|
|
797
|
+
req.extensions_mut()
|
|
798
|
+
.insert(
|
|
799
|
+
GrpcMethod::new(
|
|
800
|
+
"llm.memory.graph.v1.MemoryGraphService",
|
|
801
|
+
"CreateSession",
|
|
802
|
+
),
|
|
803
|
+
);
|
|
804
|
+
self.inner.unary(req, path, codec).await
|
|
805
|
+
}
|
|
806
|
+
pub async fn get_session(
|
|
807
|
+
&mut self,
|
|
808
|
+
request: impl tonic::IntoRequest<super::GetSessionRequest>,
|
|
809
|
+
) -> std::result::Result<tonic::Response<super::Session>, tonic::Status> {
|
|
810
|
+
self.inner
|
|
811
|
+
.ready()
|
|
812
|
+
.await
|
|
813
|
+
.map_err(|e| {
|
|
814
|
+
tonic::Status::new(
|
|
815
|
+
tonic::Code::Unknown,
|
|
816
|
+
format!("Service was not ready: {}", e.into()),
|
|
817
|
+
)
|
|
818
|
+
})?;
|
|
819
|
+
let codec = tonic::codec::ProstCodec::default();
|
|
820
|
+
let path = http::uri::PathAndQuery::from_static(
|
|
821
|
+
"/llm.memory.graph.v1.MemoryGraphService/GetSession",
|
|
822
|
+
);
|
|
823
|
+
let mut req = request.into_request();
|
|
824
|
+
req.extensions_mut()
|
|
825
|
+
.insert(
|
|
826
|
+
GrpcMethod::new(
|
|
827
|
+
"llm.memory.graph.v1.MemoryGraphService",
|
|
828
|
+
"GetSession",
|
|
829
|
+
),
|
|
830
|
+
);
|
|
831
|
+
self.inner.unary(req, path, codec).await
|
|
832
|
+
}
|
|
833
|
+
pub async fn delete_session(
|
|
834
|
+
&mut self,
|
|
835
|
+
request: impl tonic::IntoRequest<super::DeleteSessionRequest>,
|
|
836
|
+
) -> std::result::Result<tonic::Response<()>, tonic::Status> {
|
|
837
|
+
self.inner
|
|
838
|
+
.ready()
|
|
839
|
+
.await
|
|
840
|
+
.map_err(|e| {
|
|
841
|
+
tonic::Status::new(
|
|
842
|
+
tonic::Code::Unknown,
|
|
843
|
+
format!("Service was not ready: {}", e.into()),
|
|
844
|
+
)
|
|
845
|
+
})?;
|
|
846
|
+
let codec = tonic::codec::ProstCodec::default();
|
|
847
|
+
let path = http::uri::PathAndQuery::from_static(
|
|
848
|
+
"/llm.memory.graph.v1.MemoryGraphService/DeleteSession",
|
|
849
|
+
);
|
|
850
|
+
let mut req = request.into_request();
|
|
851
|
+
req.extensions_mut()
|
|
852
|
+
.insert(
|
|
853
|
+
GrpcMethod::new(
|
|
854
|
+
"llm.memory.graph.v1.MemoryGraphService",
|
|
855
|
+
"DeleteSession",
|
|
856
|
+
),
|
|
857
|
+
);
|
|
858
|
+
self.inner.unary(req, path, codec).await
|
|
859
|
+
}
|
|
860
|
+
pub async fn list_sessions(
|
|
861
|
+
&mut self,
|
|
862
|
+
request: impl tonic::IntoRequest<super::ListSessionsRequest>,
|
|
863
|
+
) -> std::result::Result<
|
|
864
|
+
tonic::Response<super::ListSessionsResponse>,
|
|
865
|
+
tonic::Status,
|
|
866
|
+
> {
|
|
867
|
+
self.inner
|
|
868
|
+
.ready()
|
|
869
|
+
.await
|
|
870
|
+
.map_err(|e| {
|
|
871
|
+
tonic::Status::new(
|
|
872
|
+
tonic::Code::Unknown,
|
|
873
|
+
format!("Service was not ready: {}", e.into()),
|
|
874
|
+
)
|
|
875
|
+
})?;
|
|
876
|
+
let codec = tonic::codec::ProstCodec::default();
|
|
877
|
+
let path = http::uri::PathAndQuery::from_static(
|
|
878
|
+
"/llm.memory.graph.v1.MemoryGraphService/ListSessions",
|
|
879
|
+
);
|
|
880
|
+
let mut req = request.into_request();
|
|
881
|
+
req.extensions_mut()
|
|
882
|
+
.insert(
|
|
883
|
+
GrpcMethod::new(
|
|
884
|
+
"llm.memory.graph.v1.MemoryGraphService",
|
|
885
|
+
"ListSessions",
|
|
886
|
+
),
|
|
887
|
+
);
|
|
888
|
+
self.inner.unary(req, path, codec).await
|
|
889
|
+
}
|
|
890
|
+
/// Node Operations
|
|
891
|
+
pub async fn create_node(
|
|
892
|
+
&mut self,
|
|
893
|
+
request: impl tonic::IntoRequest<super::CreateNodeRequest>,
|
|
894
|
+
) -> std::result::Result<tonic::Response<super::Node>, tonic::Status> {
|
|
895
|
+
self.inner
|
|
896
|
+
.ready()
|
|
897
|
+
.await
|
|
898
|
+
.map_err(|e| {
|
|
899
|
+
tonic::Status::new(
|
|
900
|
+
tonic::Code::Unknown,
|
|
901
|
+
format!("Service was not ready: {}", e.into()),
|
|
902
|
+
)
|
|
903
|
+
})?;
|
|
904
|
+
let codec = tonic::codec::ProstCodec::default();
|
|
905
|
+
let path = http::uri::PathAndQuery::from_static(
|
|
906
|
+
"/llm.memory.graph.v1.MemoryGraphService/CreateNode",
|
|
907
|
+
);
|
|
908
|
+
let mut req = request.into_request();
|
|
909
|
+
req.extensions_mut()
|
|
910
|
+
.insert(
|
|
911
|
+
GrpcMethod::new(
|
|
912
|
+
"llm.memory.graph.v1.MemoryGraphService",
|
|
913
|
+
"CreateNode",
|
|
914
|
+
),
|
|
915
|
+
);
|
|
916
|
+
self.inner.unary(req, path, codec).await
|
|
917
|
+
}
|
|
918
|
+
pub async fn get_node(
|
|
919
|
+
&mut self,
|
|
920
|
+
request: impl tonic::IntoRequest<super::GetNodeRequest>,
|
|
921
|
+
) -> std::result::Result<tonic::Response<super::Node>, tonic::Status> {
|
|
922
|
+
self.inner
|
|
923
|
+
.ready()
|
|
924
|
+
.await
|
|
925
|
+
.map_err(|e| {
|
|
926
|
+
tonic::Status::new(
|
|
927
|
+
tonic::Code::Unknown,
|
|
928
|
+
format!("Service was not ready: {}", e.into()),
|
|
929
|
+
)
|
|
930
|
+
})?;
|
|
931
|
+
let codec = tonic::codec::ProstCodec::default();
|
|
932
|
+
let path = http::uri::PathAndQuery::from_static(
|
|
933
|
+
"/llm.memory.graph.v1.MemoryGraphService/GetNode",
|
|
934
|
+
);
|
|
935
|
+
let mut req = request.into_request();
|
|
936
|
+
req.extensions_mut()
|
|
937
|
+
.insert(
|
|
938
|
+
GrpcMethod::new("llm.memory.graph.v1.MemoryGraphService", "GetNode"),
|
|
939
|
+
);
|
|
940
|
+
self.inner.unary(req, path, codec).await
|
|
941
|
+
}
|
|
942
|
+
pub async fn update_node(
|
|
943
|
+
&mut self,
|
|
944
|
+
request: impl tonic::IntoRequest<super::UpdateNodeRequest>,
|
|
945
|
+
) -> std::result::Result<tonic::Response<super::Node>, tonic::Status> {
|
|
946
|
+
self.inner
|
|
947
|
+
.ready()
|
|
948
|
+
.await
|
|
949
|
+
.map_err(|e| {
|
|
950
|
+
tonic::Status::new(
|
|
951
|
+
tonic::Code::Unknown,
|
|
952
|
+
format!("Service was not ready: {}", e.into()),
|
|
953
|
+
)
|
|
954
|
+
})?;
|
|
955
|
+
let codec = tonic::codec::ProstCodec::default();
|
|
956
|
+
let path = http::uri::PathAndQuery::from_static(
|
|
957
|
+
"/llm.memory.graph.v1.MemoryGraphService/UpdateNode",
|
|
958
|
+
);
|
|
959
|
+
let mut req = request.into_request();
|
|
960
|
+
req.extensions_mut()
|
|
961
|
+
.insert(
|
|
962
|
+
GrpcMethod::new(
|
|
963
|
+
"llm.memory.graph.v1.MemoryGraphService",
|
|
964
|
+
"UpdateNode",
|
|
965
|
+
),
|
|
966
|
+
);
|
|
967
|
+
self.inner.unary(req, path, codec).await
|
|
968
|
+
}
|
|
969
|
+
pub async fn delete_node(
|
|
970
|
+
&mut self,
|
|
971
|
+
request: impl tonic::IntoRequest<super::DeleteNodeRequest>,
|
|
972
|
+
) -> std::result::Result<tonic::Response<()>, tonic::Status> {
|
|
973
|
+
self.inner
|
|
974
|
+
.ready()
|
|
975
|
+
.await
|
|
976
|
+
.map_err(|e| {
|
|
977
|
+
tonic::Status::new(
|
|
978
|
+
tonic::Code::Unknown,
|
|
979
|
+
format!("Service was not ready: {}", e.into()),
|
|
980
|
+
)
|
|
981
|
+
})?;
|
|
982
|
+
let codec = tonic::codec::ProstCodec::default();
|
|
983
|
+
let path = http::uri::PathAndQuery::from_static(
|
|
984
|
+
"/llm.memory.graph.v1.MemoryGraphService/DeleteNode",
|
|
985
|
+
);
|
|
986
|
+
let mut req = request.into_request();
|
|
987
|
+
req.extensions_mut()
|
|
988
|
+
.insert(
|
|
989
|
+
GrpcMethod::new(
|
|
990
|
+
"llm.memory.graph.v1.MemoryGraphService",
|
|
991
|
+
"DeleteNode",
|
|
992
|
+
),
|
|
993
|
+
);
|
|
994
|
+
self.inner.unary(req, path, codec).await
|
|
995
|
+
}
|
|
996
|
+
pub async fn batch_create_nodes(
|
|
997
|
+
&mut self,
|
|
998
|
+
request: impl tonic::IntoRequest<super::BatchCreateNodesRequest>,
|
|
999
|
+
) -> std::result::Result<
|
|
1000
|
+
tonic::Response<super::BatchCreateNodesResponse>,
|
|
1001
|
+
tonic::Status,
|
|
1002
|
+
> {
|
|
1003
|
+
self.inner
|
|
1004
|
+
.ready()
|
|
1005
|
+
.await
|
|
1006
|
+
.map_err(|e| {
|
|
1007
|
+
tonic::Status::new(
|
|
1008
|
+
tonic::Code::Unknown,
|
|
1009
|
+
format!("Service was not ready: {}", e.into()),
|
|
1010
|
+
)
|
|
1011
|
+
})?;
|
|
1012
|
+
let codec = tonic::codec::ProstCodec::default();
|
|
1013
|
+
let path = http::uri::PathAndQuery::from_static(
|
|
1014
|
+
"/llm.memory.graph.v1.MemoryGraphService/BatchCreateNodes",
|
|
1015
|
+
);
|
|
1016
|
+
let mut req = request.into_request();
|
|
1017
|
+
req.extensions_mut()
|
|
1018
|
+
.insert(
|
|
1019
|
+
GrpcMethod::new(
|
|
1020
|
+
"llm.memory.graph.v1.MemoryGraphService",
|
|
1021
|
+
"BatchCreateNodes",
|
|
1022
|
+
),
|
|
1023
|
+
);
|
|
1024
|
+
self.inner.unary(req, path, codec).await
|
|
1025
|
+
}
|
|
1026
|
+
pub async fn batch_get_nodes(
|
|
1027
|
+
&mut self,
|
|
1028
|
+
request: impl tonic::IntoRequest<super::BatchGetNodesRequest>,
|
|
1029
|
+
) -> std::result::Result<
|
|
1030
|
+
tonic::Response<super::BatchGetNodesResponse>,
|
|
1031
|
+
tonic::Status,
|
|
1032
|
+
> {
|
|
1033
|
+
self.inner
|
|
1034
|
+
.ready()
|
|
1035
|
+
.await
|
|
1036
|
+
.map_err(|e| {
|
|
1037
|
+
tonic::Status::new(
|
|
1038
|
+
tonic::Code::Unknown,
|
|
1039
|
+
format!("Service was not ready: {}", e.into()),
|
|
1040
|
+
)
|
|
1041
|
+
})?;
|
|
1042
|
+
let codec = tonic::codec::ProstCodec::default();
|
|
1043
|
+
let path = http::uri::PathAndQuery::from_static(
|
|
1044
|
+
"/llm.memory.graph.v1.MemoryGraphService/BatchGetNodes",
|
|
1045
|
+
);
|
|
1046
|
+
let mut req = request.into_request();
|
|
1047
|
+
req.extensions_mut()
|
|
1048
|
+
.insert(
|
|
1049
|
+
GrpcMethod::new(
|
|
1050
|
+
"llm.memory.graph.v1.MemoryGraphService",
|
|
1051
|
+
"BatchGetNodes",
|
|
1052
|
+
),
|
|
1053
|
+
);
|
|
1054
|
+
self.inner.unary(req, path, codec).await
|
|
1055
|
+
}
|
|
1056
|
+
/// Edge Operations
|
|
1057
|
+
pub async fn create_edge(
|
|
1058
|
+
&mut self,
|
|
1059
|
+
request: impl tonic::IntoRequest<super::CreateEdgeRequest>,
|
|
1060
|
+
) -> std::result::Result<tonic::Response<super::Edge>, tonic::Status> {
|
|
1061
|
+
self.inner
|
|
1062
|
+
.ready()
|
|
1063
|
+
.await
|
|
1064
|
+
.map_err(|e| {
|
|
1065
|
+
tonic::Status::new(
|
|
1066
|
+
tonic::Code::Unknown,
|
|
1067
|
+
format!("Service was not ready: {}", e.into()),
|
|
1068
|
+
)
|
|
1069
|
+
})?;
|
|
1070
|
+
let codec = tonic::codec::ProstCodec::default();
|
|
1071
|
+
let path = http::uri::PathAndQuery::from_static(
|
|
1072
|
+
"/llm.memory.graph.v1.MemoryGraphService/CreateEdge",
|
|
1073
|
+
);
|
|
1074
|
+
let mut req = request.into_request();
|
|
1075
|
+
req.extensions_mut()
|
|
1076
|
+
.insert(
|
|
1077
|
+
GrpcMethod::new(
|
|
1078
|
+
"llm.memory.graph.v1.MemoryGraphService",
|
|
1079
|
+
"CreateEdge",
|
|
1080
|
+
),
|
|
1081
|
+
);
|
|
1082
|
+
self.inner.unary(req, path, codec).await
|
|
1083
|
+
}
|
|
1084
|
+
pub async fn get_edges(
|
|
1085
|
+
&mut self,
|
|
1086
|
+
request: impl tonic::IntoRequest<super::GetEdgesRequest>,
|
|
1087
|
+
) -> std::result::Result<
|
|
1088
|
+
tonic::Response<super::GetEdgesResponse>,
|
|
1089
|
+
tonic::Status,
|
|
1090
|
+
> {
|
|
1091
|
+
self.inner
|
|
1092
|
+
.ready()
|
|
1093
|
+
.await
|
|
1094
|
+
.map_err(|e| {
|
|
1095
|
+
tonic::Status::new(
|
|
1096
|
+
tonic::Code::Unknown,
|
|
1097
|
+
format!("Service was not ready: {}", e.into()),
|
|
1098
|
+
)
|
|
1099
|
+
})?;
|
|
1100
|
+
let codec = tonic::codec::ProstCodec::default();
|
|
1101
|
+
let path = http::uri::PathAndQuery::from_static(
|
|
1102
|
+
"/llm.memory.graph.v1.MemoryGraphService/GetEdges",
|
|
1103
|
+
);
|
|
1104
|
+
let mut req = request.into_request();
|
|
1105
|
+
req.extensions_mut()
|
|
1106
|
+
.insert(
|
|
1107
|
+
GrpcMethod::new("llm.memory.graph.v1.MemoryGraphService", "GetEdges"),
|
|
1108
|
+
);
|
|
1109
|
+
self.inner.unary(req, path, codec).await
|
|
1110
|
+
}
|
|
1111
|
+
pub async fn delete_edge(
|
|
1112
|
+
&mut self,
|
|
1113
|
+
request: impl tonic::IntoRequest<super::DeleteEdgeRequest>,
|
|
1114
|
+
) -> std::result::Result<tonic::Response<()>, tonic::Status> {
|
|
1115
|
+
self.inner
|
|
1116
|
+
.ready()
|
|
1117
|
+
.await
|
|
1118
|
+
.map_err(|e| {
|
|
1119
|
+
tonic::Status::new(
|
|
1120
|
+
tonic::Code::Unknown,
|
|
1121
|
+
format!("Service was not ready: {}", e.into()),
|
|
1122
|
+
)
|
|
1123
|
+
})?;
|
|
1124
|
+
let codec = tonic::codec::ProstCodec::default();
|
|
1125
|
+
let path = http::uri::PathAndQuery::from_static(
|
|
1126
|
+
"/llm.memory.graph.v1.MemoryGraphService/DeleteEdge",
|
|
1127
|
+
);
|
|
1128
|
+
let mut req = request.into_request();
|
|
1129
|
+
req.extensions_mut()
|
|
1130
|
+
.insert(
|
|
1131
|
+
GrpcMethod::new(
|
|
1132
|
+
"llm.memory.graph.v1.MemoryGraphService",
|
|
1133
|
+
"DeleteEdge",
|
|
1134
|
+
),
|
|
1135
|
+
);
|
|
1136
|
+
self.inner.unary(req, path, codec).await
|
|
1137
|
+
}
|
|
1138
|
+
/// Query Operations
|
|
1139
|
+
pub async fn query(
|
|
1140
|
+
&mut self,
|
|
1141
|
+
request: impl tonic::IntoRequest<super::QueryRequest>,
|
|
1142
|
+
) -> std::result::Result<tonic::Response<super::QueryResponse>, tonic::Status> {
|
|
1143
|
+
self.inner
|
|
1144
|
+
.ready()
|
|
1145
|
+
.await
|
|
1146
|
+
.map_err(|e| {
|
|
1147
|
+
tonic::Status::new(
|
|
1148
|
+
tonic::Code::Unknown,
|
|
1149
|
+
format!("Service was not ready: {}", e.into()),
|
|
1150
|
+
)
|
|
1151
|
+
})?;
|
|
1152
|
+
let codec = tonic::codec::ProstCodec::default();
|
|
1153
|
+
let path = http::uri::PathAndQuery::from_static(
|
|
1154
|
+
"/llm.memory.graph.v1.MemoryGraphService/Query",
|
|
1155
|
+
);
|
|
1156
|
+
let mut req = request.into_request();
|
|
1157
|
+
req.extensions_mut()
|
|
1158
|
+
.insert(
|
|
1159
|
+
GrpcMethod::new("llm.memory.graph.v1.MemoryGraphService", "Query"),
|
|
1160
|
+
);
|
|
1161
|
+
self.inner.unary(req, path, codec).await
|
|
1162
|
+
}
|
|
1163
|
+
pub async fn stream_query(
|
|
1164
|
+
&mut self,
|
|
1165
|
+
request: impl tonic::IntoRequest<super::QueryRequest>,
|
|
1166
|
+
) -> std::result::Result<
|
|
1167
|
+
tonic::Response<tonic::codec::Streaming<super::Node>>,
|
|
1168
|
+
tonic::Status,
|
|
1169
|
+
> {
|
|
1170
|
+
self.inner
|
|
1171
|
+
.ready()
|
|
1172
|
+
.await
|
|
1173
|
+
.map_err(|e| {
|
|
1174
|
+
tonic::Status::new(
|
|
1175
|
+
tonic::Code::Unknown,
|
|
1176
|
+
format!("Service was not ready: {}", e.into()),
|
|
1177
|
+
)
|
|
1178
|
+
})?;
|
|
1179
|
+
let codec = tonic::codec::ProstCodec::default();
|
|
1180
|
+
let path = http::uri::PathAndQuery::from_static(
|
|
1181
|
+
"/llm.memory.graph.v1.MemoryGraphService/StreamQuery",
|
|
1182
|
+
);
|
|
1183
|
+
let mut req = request.into_request();
|
|
1184
|
+
req.extensions_mut()
|
|
1185
|
+
.insert(
|
|
1186
|
+
GrpcMethod::new(
|
|
1187
|
+
"llm.memory.graph.v1.MemoryGraphService",
|
|
1188
|
+
"StreamQuery",
|
|
1189
|
+
),
|
|
1190
|
+
);
|
|
1191
|
+
self.inner.server_streaming(req, path, codec).await
|
|
1192
|
+
}
|
|
1193
|
+
/// Prompt & Response Operations
|
|
1194
|
+
pub async fn add_prompt(
|
|
1195
|
+
&mut self,
|
|
1196
|
+
request: impl tonic::IntoRequest<super::AddPromptRequest>,
|
|
1197
|
+
) -> std::result::Result<tonic::Response<super::PromptNode>, tonic::Status> {
|
|
1198
|
+
self.inner
|
|
1199
|
+
.ready()
|
|
1200
|
+
.await
|
|
1201
|
+
.map_err(|e| {
|
|
1202
|
+
tonic::Status::new(
|
|
1203
|
+
tonic::Code::Unknown,
|
|
1204
|
+
format!("Service was not ready: {}", e.into()),
|
|
1205
|
+
)
|
|
1206
|
+
})?;
|
|
1207
|
+
let codec = tonic::codec::ProstCodec::default();
|
|
1208
|
+
let path = http::uri::PathAndQuery::from_static(
|
|
1209
|
+
"/llm.memory.graph.v1.MemoryGraphService/AddPrompt",
|
|
1210
|
+
);
|
|
1211
|
+
let mut req = request.into_request();
|
|
1212
|
+
req.extensions_mut()
|
|
1213
|
+
.insert(
|
|
1214
|
+
GrpcMethod::new(
|
|
1215
|
+
"llm.memory.graph.v1.MemoryGraphService",
|
|
1216
|
+
"AddPrompt",
|
|
1217
|
+
),
|
|
1218
|
+
);
|
|
1219
|
+
self.inner.unary(req, path, codec).await
|
|
1220
|
+
}
|
|
1221
|
+
pub async fn add_response(
|
|
1222
|
+
&mut self,
|
|
1223
|
+
request: impl tonic::IntoRequest<super::AddResponseRequest>,
|
|
1224
|
+
) -> std::result::Result<tonic::Response<super::ResponseNode>, tonic::Status> {
|
|
1225
|
+
self.inner
|
|
1226
|
+
.ready()
|
|
1227
|
+
.await
|
|
1228
|
+
.map_err(|e| {
|
|
1229
|
+
tonic::Status::new(
|
|
1230
|
+
tonic::Code::Unknown,
|
|
1231
|
+
format!("Service was not ready: {}", e.into()),
|
|
1232
|
+
)
|
|
1233
|
+
})?;
|
|
1234
|
+
let codec = tonic::codec::ProstCodec::default();
|
|
1235
|
+
let path = http::uri::PathAndQuery::from_static(
|
|
1236
|
+
"/llm.memory.graph.v1.MemoryGraphService/AddResponse",
|
|
1237
|
+
);
|
|
1238
|
+
let mut req = request.into_request();
|
|
1239
|
+
req.extensions_mut()
|
|
1240
|
+
.insert(
|
|
1241
|
+
GrpcMethod::new(
|
|
1242
|
+
"llm.memory.graph.v1.MemoryGraphService",
|
|
1243
|
+
"AddResponse",
|
|
1244
|
+
),
|
|
1245
|
+
);
|
|
1246
|
+
self.inner.unary(req, path, codec).await
|
|
1247
|
+
}
|
|
1248
|
+
pub async fn add_tool_invocation(
|
|
1249
|
+
&mut self,
|
|
1250
|
+
request: impl tonic::IntoRequest<super::AddToolInvocationRequest>,
|
|
1251
|
+
) -> std::result::Result<
|
|
1252
|
+
tonic::Response<super::ToolInvocationNode>,
|
|
1253
|
+
tonic::Status,
|
|
1254
|
+
> {
|
|
1255
|
+
self.inner
|
|
1256
|
+
.ready()
|
|
1257
|
+
.await
|
|
1258
|
+
.map_err(|e| {
|
|
1259
|
+
tonic::Status::new(
|
|
1260
|
+
tonic::Code::Unknown,
|
|
1261
|
+
format!("Service was not ready: {}", e.into()),
|
|
1262
|
+
)
|
|
1263
|
+
})?;
|
|
1264
|
+
let codec = tonic::codec::ProstCodec::default();
|
|
1265
|
+
let path = http::uri::PathAndQuery::from_static(
|
|
1266
|
+
"/llm.memory.graph.v1.MemoryGraphService/AddToolInvocation",
|
|
1267
|
+
);
|
|
1268
|
+
let mut req = request.into_request();
|
|
1269
|
+
req.extensions_mut()
|
|
1270
|
+
.insert(
|
|
1271
|
+
GrpcMethod::new(
|
|
1272
|
+
"llm.memory.graph.v1.MemoryGraphService",
|
|
1273
|
+
"AddToolInvocation",
|
|
1274
|
+
),
|
|
1275
|
+
);
|
|
1276
|
+
self.inner.unary(req, path, codec).await
|
|
1277
|
+
}
|
|
1278
|
+
/// Template Operations
|
|
1279
|
+
pub async fn create_template(
|
|
1280
|
+
&mut self,
|
|
1281
|
+
request: impl tonic::IntoRequest<super::CreateTemplateRequest>,
|
|
1282
|
+
) -> std::result::Result<tonic::Response<super::TemplateNode>, tonic::Status> {
|
|
1283
|
+
self.inner
|
|
1284
|
+
.ready()
|
|
1285
|
+
.await
|
|
1286
|
+
.map_err(|e| {
|
|
1287
|
+
tonic::Status::new(
|
|
1288
|
+
tonic::Code::Unknown,
|
|
1289
|
+
format!("Service was not ready: {}", e.into()),
|
|
1290
|
+
)
|
|
1291
|
+
})?;
|
|
1292
|
+
let codec = tonic::codec::ProstCodec::default();
|
|
1293
|
+
let path = http::uri::PathAndQuery::from_static(
|
|
1294
|
+
"/llm.memory.graph.v1.MemoryGraphService/CreateTemplate",
|
|
1295
|
+
);
|
|
1296
|
+
let mut req = request.into_request();
|
|
1297
|
+
req.extensions_mut()
|
|
1298
|
+
.insert(
|
|
1299
|
+
GrpcMethod::new(
|
|
1300
|
+
"llm.memory.graph.v1.MemoryGraphService",
|
|
1301
|
+
"CreateTemplate",
|
|
1302
|
+
),
|
|
1303
|
+
);
|
|
1304
|
+
self.inner.unary(req, path, codec).await
|
|
1305
|
+
}
|
|
1306
|
+
pub async fn instantiate_template(
|
|
1307
|
+
&mut self,
|
|
1308
|
+
request: impl tonic::IntoRequest<super::InstantiateTemplateRequest>,
|
|
1309
|
+
) -> std::result::Result<tonic::Response<super::PromptNode>, tonic::Status> {
|
|
1310
|
+
self.inner
|
|
1311
|
+
.ready()
|
|
1312
|
+
.await
|
|
1313
|
+
.map_err(|e| {
|
|
1314
|
+
tonic::Status::new(
|
|
1315
|
+
tonic::Code::Unknown,
|
|
1316
|
+
format!("Service was not ready: {}", e.into()),
|
|
1317
|
+
)
|
|
1318
|
+
})?;
|
|
1319
|
+
let codec = tonic::codec::ProstCodec::default();
|
|
1320
|
+
let path = http::uri::PathAndQuery::from_static(
|
|
1321
|
+
"/llm.memory.graph.v1.MemoryGraphService/InstantiateTemplate",
|
|
1322
|
+
);
|
|
1323
|
+
let mut req = request.into_request();
|
|
1324
|
+
req.extensions_mut()
|
|
1325
|
+
.insert(
|
|
1326
|
+
GrpcMethod::new(
|
|
1327
|
+
"llm.memory.graph.v1.MemoryGraphService",
|
|
1328
|
+
"InstantiateTemplate",
|
|
1329
|
+
),
|
|
1330
|
+
);
|
|
1331
|
+
self.inner.unary(req, path, codec).await
|
|
1332
|
+
}
|
|
1333
|
+
/// Streaming Operations
|
|
1334
|
+
pub async fn stream_events(
|
|
1335
|
+
&mut self,
|
|
1336
|
+
request: impl tonic::IntoRequest<super::StreamEventsRequest>,
|
|
1337
|
+
) -> std::result::Result<
|
|
1338
|
+
tonic::Response<tonic::codec::Streaming<super::Event>>,
|
|
1339
|
+
tonic::Status,
|
|
1340
|
+
> {
|
|
1341
|
+
self.inner
|
|
1342
|
+
.ready()
|
|
1343
|
+
.await
|
|
1344
|
+
.map_err(|e| {
|
|
1345
|
+
tonic::Status::new(
|
|
1346
|
+
tonic::Code::Unknown,
|
|
1347
|
+
format!("Service was not ready: {}", e.into()),
|
|
1348
|
+
)
|
|
1349
|
+
})?;
|
|
1350
|
+
let codec = tonic::codec::ProstCodec::default();
|
|
1351
|
+
let path = http::uri::PathAndQuery::from_static(
|
|
1352
|
+
"/llm.memory.graph.v1.MemoryGraphService/StreamEvents",
|
|
1353
|
+
);
|
|
1354
|
+
let mut req = request.into_request();
|
|
1355
|
+
req.extensions_mut()
|
|
1356
|
+
.insert(
|
|
1357
|
+
GrpcMethod::new(
|
|
1358
|
+
"llm.memory.graph.v1.MemoryGraphService",
|
|
1359
|
+
"StreamEvents",
|
|
1360
|
+
),
|
|
1361
|
+
);
|
|
1362
|
+
self.inner.server_streaming(req, path, codec).await
|
|
1363
|
+
}
|
|
1364
|
+
pub async fn subscribe_to_session(
|
|
1365
|
+
&mut self,
|
|
1366
|
+
request: impl tonic::IntoRequest<super::SubscribeRequest>,
|
|
1367
|
+
) -> std::result::Result<
|
|
1368
|
+
tonic::Response<tonic::codec::Streaming<super::SessionEvent>>,
|
|
1369
|
+
tonic::Status,
|
|
1370
|
+
> {
|
|
1371
|
+
self.inner
|
|
1372
|
+
.ready()
|
|
1373
|
+
.await
|
|
1374
|
+
.map_err(|e| {
|
|
1375
|
+
tonic::Status::new(
|
|
1376
|
+
tonic::Code::Unknown,
|
|
1377
|
+
format!("Service was not ready: {}", e.into()),
|
|
1378
|
+
)
|
|
1379
|
+
})?;
|
|
1380
|
+
let codec = tonic::codec::ProstCodec::default();
|
|
1381
|
+
let path = http::uri::PathAndQuery::from_static(
|
|
1382
|
+
"/llm.memory.graph.v1.MemoryGraphService/SubscribeToSession",
|
|
1383
|
+
);
|
|
1384
|
+
let mut req = request.into_request();
|
|
1385
|
+
req.extensions_mut()
|
|
1386
|
+
.insert(
|
|
1387
|
+
GrpcMethod::new(
|
|
1388
|
+
"llm.memory.graph.v1.MemoryGraphService",
|
|
1389
|
+
"SubscribeToSession",
|
|
1390
|
+
),
|
|
1391
|
+
);
|
|
1392
|
+
self.inner.server_streaming(req, path, codec).await
|
|
1393
|
+
}
|
|
1394
|
+
/// Health & Metrics
|
|
1395
|
+
pub async fn health(
|
|
1396
|
+
&mut self,
|
|
1397
|
+
request: impl tonic::IntoRequest<()>,
|
|
1398
|
+
) -> std::result::Result<tonic::Response<super::HealthResponse>, tonic::Status> {
|
|
1399
|
+
self.inner
|
|
1400
|
+
.ready()
|
|
1401
|
+
.await
|
|
1402
|
+
.map_err(|e| {
|
|
1403
|
+
tonic::Status::new(
|
|
1404
|
+
tonic::Code::Unknown,
|
|
1405
|
+
format!("Service was not ready: {}", e.into()),
|
|
1406
|
+
)
|
|
1407
|
+
})?;
|
|
1408
|
+
let codec = tonic::codec::ProstCodec::default();
|
|
1409
|
+
let path = http::uri::PathAndQuery::from_static(
|
|
1410
|
+
"/llm.memory.graph.v1.MemoryGraphService/Health",
|
|
1411
|
+
);
|
|
1412
|
+
let mut req = request.into_request();
|
|
1413
|
+
req.extensions_mut()
|
|
1414
|
+
.insert(
|
|
1415
|
+
GrpcMethod::new("llm.memory.graph.v1.MemoryGraphService", "Health"),
|
|
1416
|
+
);
|
|
1417
|
+
self.inner.unary(req, path, codec).await
|
|
1418
|
+
}
|
|
1419
|
+
pub async fn get_metrics(
|
|
1420
|
+
&mut self,
|
|
1421
|
+
request: impl tonic::IntoRequest<()>,
|
|
1422
|
+
) -> std::result::Result<
|
|
1423
|
+
tonic::Response<super::MetricsResponse>,
|
|
1424
|
+
tonic::Status,
|
|
1425
|
+
> {
|
|
1426
|
+
self.inner
|
|
1427
|
+
.ready()
|
|
1428
|
+
.await
|
|
1429
|
+
.map_err(|e| {
|
|
1430
|
+
tonic::Status::new(
|
|
1431
|
+
tonic::Code::Unknown,
|
|
1432
|
+
format!("Service was not ready: {}", e.into()),
|
|
1433
|
+
)
|
|
1434
|
+
})?;
|
|
1435
|
+
let codec = tonic::codec::ProstCodec::default();
|
|
1436
|
+
let path = http::uri::PathAndQuery::from_static(
|
|
1437
|
+
"/llm.memory.graph.v1.MemoryGraphService/GetMetrics",
|
|
1438
|
+
);
|
|
1439
|
+
let mut req = request.into_request();
|
|
1440
|
+
req.extensions_mut()
|
|
1441
|
+
.insert(
|
|
1442
|
+
GrpcMethod::new(
|
|
1443
|
+
"llm.memory.graph.v1.MemoryGraphService",
|
|
1444
|
+
"GetMetrics",
|
|
1445
|
+
),
|
|
1446
|
+
);
|
|
1447
|
+
self.inner.unary(req, path, codec).await
|
|
1448
|
+
}
|
|
1449
|
+
}
|
|
1450
|
+
}
|
|
1451
|
+
/// Generated server implementations.
|
|
1452
|
+
pub mod memory_graph_service_server {
|
|
1453
|
+
#![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
|
|
1454
|
+
use tonic::codegen::*;
|
|
1455
|
+
/// Generated trait containing gRPC methods that should be implemented for use with MemoryGraphServiceServer.
|
|
1456
|
+
#[async_trait]
|
|
1457
|
+
pub trait MemoryGraphService: Send + Sync + 'static {
|
|
1458
|
+
/// Session Management
|
|
1459
|
+
async fn create_session(
|
|
1460
|
+
&self,
|
|
1461
|
+
request: tonic::Request<super::CreateSessionRequest>,
|
|
1462
|
+
) -> std::result::Result<tonic::Response<super::Session>, tonic::Status>;
|
|
1463
|
+
async fn get_session(
|
|
1464
|
+
&self,
|
|
1465
|
+
request: tonic::Request<super::GetSessionRequest>,
|
|
1466
|
+
) -> std::result::Result<tonic::Response<super::Session>, tonic::Status>;
|
|
1467
|
+
async fn delete_session(
|
|
1468
|
+
&self,
|
|
1469
|
+
request: tonic::Request<super::DeleteSessionRequest>,
|
|
1470
|
+
) -> std::result::Result<tonic::Response<()>, tonic::Status>;
|
|
1471
|
+
async fn list_sessions(
|
|
1472
|
+
&self,
|
|
1473
|
+
request: tonic::Request<super::ListSessionsRequest>,
|
|
1474
|
+
) -> std::result::Result<
|
|
1475
|
+
tonic::Response<super::ListSessionsResponse>,
|
|
1476
|
+
tonic::Status,
|
|
1477
|
+
>;
|
|
1478
|
+
/// Node Operations
|
|
1479
|
+
async fn create_node(
|
|
1480
|
+
&self,
|
|
1481
|
+
request: tonic::Request<super::CreateNodeRequest>,
|
|
1482
|
+
) -> std::result::Result<tonic::Response<super::Node>, tonic::Status>;
|
|
1483
|
+
async fn get_node(
|
|
1484
|
+
&self,
|
|
1485
|
+
request: tonic::Request<super::GetNodeRequest>,
|
|
1486
|
+
) -> std::result::Result<tonic::Response<super::Node>, tonic::Status>;
|
|
1487
|
+
async fn update_node(
|
|
1488
|
+
&self,
|
|
1489
|
+
request: tonic::Request<super::UpdateNodeRequest>,
|
|
1490
|
+
) -> std::result::Result<tonic::Response<super::Node>, tonic::Status>;
|
|
1491
|
+
async fn delete_node(
|
|
1492
|
+
&self,
|
|
1493
|
+
request: tonic::Request<super::DeleteNodeRequest>,
|
|
1494
|
+
) -> std::result::Result<tonic::Response<()>, tonic::Status>;
|
|
1495
|
+
async fn batch_create_nodes(
|
|
1496
|
+
&self,
|
|
1497
|
+
request: tonic::Request<super::BatchCreateNodesRequest>,
|
|
1498
|
+
) -> std::result::Result<
|
|
1499
|
+
tonic::Response<super::BatchCreateNodesResponse>,
|
|
1500
|
+
tonic::Status,
|
|
1501
|
+
>;
|
|
1502
|
+
async fn batch_get_nodes(
|
|
1503
|
+
&self,
|
|
1504
|
+
request: tonic::Request<super::BatchGetNodesRequest>,
|
|
1505
|
+
) -> std::result::Result<
|
|
1506
|
+
tonic::Response<super::BatchGetNodesResponse>,
|
|
1507
|
+
tonic::Status,
|
|
1508
|
+
>;
|
|
1509
|
+
/// Edge Operations
|
|
1510
|
+
async fn create_edge(
|
|
1511
|
+
&self,
|
|
1512
|
+
request: tonic::Request<super::CreateEdgeRequest>,
|
|
1513
|
+
) -> std::result::Result<tonic::Response<super::Edge>, tonic::Status>;
|
|
1514
|
+
async fn get_edges(
|
|
1515
|
+
&self,
|
|
1516
|
+
request: tonic::Request<super::GetEdgesRequest>,
|
|
1517
|
+
) -> std::result::Result<
|
|
1518
|
+
tonic::Response<super::GetEdgesResponse>,
|
|
1519
|
+
tonic::Status,
|
|
1520
|
+
>;
|
|
1521
|
+
async fn delete_edge(
|
|
1522
|
+
&self,
|
|
1523
|
+
request: tonic::Request<super::DeleteEdgeRequest>,
|
|
1524
|
+
) -> std::result::Result<tonic::Response<()>, tonic::Status>;
|
|
1525
|
+
/// Query Operations
|
|
1526
|
+
async fn query(
|
|
1527
|
+
&self,
|
|
1528
|
+
request: tonic::Request<super::QueryRequest>,
|
|
1529
|
+
) -> std::result::Result<tonic::Response<super::QueryResponse>, tonic::Status>;
|
|
1530
|
+
/// Server streaming response type for the StreamQuery method.
|
|
1531
|
+
type StreamQueryStream: tonic::codegen::tokio_stream::Stream<
|
|
1532
|
+
Item = std::result::Result<super::Node, tonic::Status>,
|
|
1533
|
+
>
|
|
1534
|
+
+ Send
|
|
1535
|
+
+ 'static;
|
|
1536
|
+
async fn stream_query(
|
|
1537
|
+
&self,
|
|
1538
|
+
request: tonic::Request<super::QueryRequest>,
|
|
1539
|
+
) -> std::result::Result<
|
|
1540
|
+
tonic::Response<Self::StreamQueryStream>,
|
|
1541
|
+
tonic::Status,
|
|
1542
|
+
>;
|
|
1543
|
+
/// Prompt & Response Operations
|
|
1544
|
+
async fn add_prompt(
|
|
1545
|
+
&self,
|
|
1546
|
+
request: tonic::Request<super::AddPromptRequest>,
|
|
1547
|
+
) -> std::result::Result<tonic::Response<super::PromptNode>, tonic::Status>;
|
|
1548
|
+
async fn add_response(
|
|
1549
|
+
&self,
|
|
1550
|
+
request: tonic::Request<super::AddResponseRequest>,
|
|
1551
|
+
) -> std::result::Result<tonic::Response<super::ResponseNode>, tonic::Status>;
|
|
1552
|
+
async fn add_tool_invocation(
|
|
1553
|
+
&self,
|
|
1554
|
+
request: tonic::Request<super::AddToolInvocationRequest>,
|
|
1555
|
+
) -> std::result::Result<
|
|
1556
|
+
tonic::Response<super::ToolInvocationNode>,
|
|
1557
|
+
tonic::Status,
|
|
1558
|
+
>;
|
|
1559
|
+
/// Template Operations
|
|
1560
|
+
async fn create_template(
|
|
1561
|
+
&self,
|
|
1562
|
+
request: tonic::Request<super::CreateTemplateRequest>,
|
|
1563
|
+
) -> std::result::Result<tonic::Response<super::TemplateNode>, tonic::Status>;
|
|
1564
|
+
async fn instantiate_template(
|
|
1565
|
+
&self,
|
|
1566
|
+
request: tonic::Request<super::InstantiateTemplateRequest>,
|
|
1567
|
+
) -> std::result::Result<tonic::Response<super::PromptNode>, tonic::Status>;
|
|
1568
|
+
/// Server streaming response type for the StreamEvents method.
|
|
1569
|
+
type StreamEventsStream: tonic::codegen::tokio_stream::Stream<
|
|
1570
|
+
Item = std::result::Result<super::Event, tonic::Status>,
|
|
1571
|
+
>
|
|
1572
|
+
+ Send
|
|
1573
|
+
+ 'static;
|
|
1574
|
+
/// Streaming Operations
|
|
1575
|
+
async fn stream_events(
|
|
1576
|
+
&self,
|
|
1577
|
+
request: tonic::Request<super::StreamEventsRequest>,
|
|
1578
|
+
) -> std::result::Result<
|
|
1579
|
+
tonic::Response<Self::StreamEventsStream>,
|
|
1580
|
+
tonic::Status,
|
|
1581
|
+
>;
|
|
1582
|
+
/// Server streaming response type for the SubscribeToSession method.
|
|
1583
|
+
type SubscribeToSessionStream: tonic::codegen::tokio_stream::Stream<
|
|
1584
|
+
Item = std::result::Result<super::SessionEvent, tonic::Status>,
|
|
1585
|
+
>
|
|
1586
|
+
+ Send
|
|
1587
|
+
+ 'static;
|
|
1588
|
+
async fn subscribe_to_session(
|
|
1589
|
+
&self,
|
|
1590
|
+
request: tonic::Request<super::SubscribeRequest>,
|
|
1591
|
+
) -> std::result::Result<
|
|
1592
|
+
tonic::Response<Self::SubscribeToSessionStream>,
|
|
1593
|
+
tonic::Status,
|
|
1594
|
+
>;
|
|
1595
|
+
/// Health & Metrics
|
|
1596
|
+
async fn health(
|
|
1597
|
+
&self,
|
|
1598
|
+
request: tonic::Request<()>,
|
|
1599
|
+
) -> std::result::Result<tonic::Response<super::HealthResponse>, tonic::Status>;
|
|
1600
|
+
async fn get_metrics(
|
|
1601
|
+
&self,
|
|
1602
|
+
request: tonic::Request<()>,
|
|
1603
|
+
) -> std::result::Result<tonic::Response<super::MetricsResponse>, tonic::Status>;
|
|
1604
|
+
}
|
|
1605
|
+
#[derive(Debug)]
|
|
1606
|
+
pub struct MemoryGraphServiceServer<T: MemoryGraphService> {
|
|
1607
|
+
inner: _Inner<T>,
|
|
1608
|
+
accept_compression_encodings: EnabledCompressionEncodings,
|
|
1609
|
+
send_compression_encodings: EnabledCompressionEncodings,
|
|
1610
|
+
max_decoding_message_size: Option<usize>,
|
|
1611
|
+
max_encoding_message_size: Option<usize>,
|
|
1612
|
+
}
|
|
1613
|
+
struct _Inner<T>(Arc<T>);
|
|
1614
|
+
impl<T: MemoryGraphService> MemoryGraphServiceServer<T> {
|
|
1615
|
+
pub fn new(inner: T) -> Self {
|
|
1616
|
+
Self::from_arc(Arc::new(inner))
|
|
1617
|
+
}
|
|
1618
|
+
pub fn from_arc(inner: Arc<T>) -> Self {
|
|
1619
|
+
let inner = _Inner(inner);
|
|
1620
|
+
Self {
|
|
1621
|
+
inner,
|
|
1622
|
+
accept_compression_encodings: Default::default(),
|
|
1623
|
+
send_compression_encodings: Default::default(),
|
|
1624
|
+
max_decoding_message_size: None,
|
|
1625
|
+
max_encoding_message_size: None,
|
|
1626
|
+
}
|
|
1627
|
+
}
|
|
1628
|
+
pub fn with_interceptor<F>(
|
|
1629
|
+
inner: T,
|
|
1630
|
+
interceptor: F,
|
|
1631
|
+
) -> InterceptedService<Self, F>
|
|
1632
|
+
where
|
|
1633
|
+
F: tonic::service::Interceptor,
|
|
1634
|
+
{
|
|
1635
|
+
InterceptedService::new(Self::new(inner), interceptor)
|
|
1636
|
+
}
|
|
1637
|
+
/// Enable decompressing requests with the given encoding.
|
|
1638
|
+
#[must_use]
|
|
1639
|
+
pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
|
|
1640
|
+
self.accept_compression_encodings.enable(encoding);
|
|
1641
|
+
self
|
|
1642
|
+
}
|
|
1643
|
+
/// Compress responses with the given encoding, if the client supports it.
|
|
1644
|
+
#[must_use]
|
|
1645
|
+
pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
|
|
1646
|
+
self.send_compression_encodings.enable(encoding);
|
|
1647
|
+
self
|
|
1648
|
+
}
|
|
1649
|
+
/// Limits the maximum size of a decoded message.
|
|
1650
|
+
///
|
|
1651
|
+
/// Default: `4MB`
|
|
1652
|
+
#[must_use]
|
|
1653
|
+
pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
|
|
1654
|
+
self.max_decoding_message_size = Some(limit);
|
|
1655
|
+
self
|
|
1656
|
+
}
|
|
1657
|
+
/// Limits the maximum size of an encoded message.
|
|
1658
|
+
///
|
|
1659
|
+
/// Default: `usize::MAX`
|
|
1660
|
+
#[must_use]
|
|
1661
|
+
pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
|
|
1662
|
+
self.max_encoding_message_size = Some(limit);
|
|
1663
|
+
self
|
|
1664
|
+
}
|
|
1665
|
+
}
|
|
1666
|
+
impl<T, B> tonic::codegen::Service<http::Request<B>> for MemoryGraphServiceServer<T>
|
|
1667
|
+
where
|
|
1668
|
+
T: MemoryGraphService,
|
|
1669
|
+
B: Body + Send + 'static,
|
|
1670
|
+
B::Error: Into<StdError> + Send + 'static,
|
|
1671
|
+
{
|
|
1672
|
+
type Response = http::Response<tonic::body::BoxBody>;
|
|
1673
|
+
type Error = std::convert::Infallible;
|
|
1674
|
+
type Future = BoxFuture<Self::Response, Self::Error>;
|
|
1675
|
+
fn poll_ready(
|
|
1676
|
+
&mut self,
|
|
1677
|
+
_cx: &mut Context<'_>,
|
|
1678
|
+
) -> Poll<std::result::Result<(), Self::Error>> {
|
|
1679
|
+
Poll::Ready(Ok(()))
|
|
1680
|
+
}
|
|
1681
|
+
fn call(&mut self, req: http::Request<B>) -> Self::Future {
|
|
1682
|
+
let inner = self.inner.clone();
|
|
1683
|
+
match req.uri().path() {
|
|
1684
|
+
"/llm.memory.graph.v1.MemoryGraphService/CreateSession" => {
|
|
1685
|
+
#[allow(non_camel_case_types)]
|
|
1686
|
+
struct CreateSessionSvc<T: MemoryGraphService>(pub Arc<T>);
|
|
1687
|
+
impl<
|
|
1688
|
+
T: MemoryGraphService,
|
|
1689
|
+
> tonic::server::UnaryService<super::CreateSessionRequest>
|
|
1690
|
+
for CreateSessionSvc<T> {
|
|
1691
|
+
type Response = super::Session;
|
|
1692
|
+
type Future = BoxFuture<
|
|
1693
|
+
tonic::Response<Self::Response>,
|
|
1694
|
+
tonic::Status,
|
|
1695
|
+
>;
|
|
1696
|
+
fn call(
|
|
1697
|
+
&mut self,
|
|
1698
|
+
request: tonic::Request<super::CreateSessionRequest>,
|
|
1699
|
+
) -> Self::Future {
|
|
1700
|
+
let inner = Arc::clone(&self.0);
|
|
1701
|
+
let fut = async move {
|
|
1702
|
+
<T as MemoryGraphService>::create_session(&inner, request)
|
|
1703
|
+
.await
|
|
1704
|
+
};
|
|
1705
|
+
Box::pin(fut)
|
|
1706
|
+
}
|
|
1707
|
+
}
|
|
1708
|
+
let accept_compression_encodings = self.accept_compression_encodings;
|
|
1709
|
+
let send_compression_encodings = self.send_compression_encodings;
|
|
1710
|
+
let max_decoding_message_size = self.max_decoding_message_size;
|
|
1711
|
+
let max_encoding_message_size = self.max_encoding_message_size;
|
|
1712
|
+
let inner = self.inner.clone();
|
|
1713
|
+
let fut = async move {
|
|
1714
|
+
let inner = inner.0;
|
|
1715
|
+
let method = CreateSessionSvc(inner);
|
|
1716
|
+
let codec = tonic::codec::ProstCodec::default();
|
|
1717
|
+
let mut grpc = tonic::server::Grpc::new(codec)
|
|
1718
|
+
.apply_compression_config(
|
|
1719
|
+
accept_compression_encodings,
|
|
1720
|
+
send_compression_encodings,
|
|
1721
|
+
)
|
|
1722
|
+
.apply_max_message_size_config(
|
|
1723
|
+
max_decoding_message_size,
|
|
1724
|
+
max_encoding_message_size,
|
|
1725
|
+
);
|
|
1726
|
+
let res = grpc.unary(method, req).await;
|
|
1727
|
+
Ok(res)
|
|
1728
|
+
};
|
|
1729
|
+
Box::pin(fut)
|
|
1730
|
+
}
|
|
1731
|
+
"/llm.memory.graph.v1.MemoryGraphService/GetSession" => {
|
|
1732
|
+
#[allow(non_camel_case_types)]
|
|
1733
|
+
struct GetSessionSvc<T: MemoryGraphService>(pub Arc<T>);
|
|
1734
|
+
impl<
|
|
1735
|
+
T: MemoryGraphService,
|
|
1736
|
+
> tonic::server::UnaryService<super::GetSessionRequest>
|
|
1737
|
+
for GetSessionSvc<T> {
|
|
1738
|
+
type Response = super::Session;
|
|
1739
|
+
type Future = BoxFuture<
|
|
1740
|
+
tonic::Response<Self::Response>,
|
|
1741
|
+
tonic::Status,
|
|
1742
|
+
>;
|
|
1743
|
+
fn call(
|
|
1744
|
+
&mut self,
|
|
1745
|
+
request: tonic::Request<super::GetSessionRequest>,
|
|
1746
|
+
) -> Self::Future {
|
|
1747
|
+
let inner = Arc::clone(&self.0);
|
|
1748
|
+
let fut = async move {
|
|
1749
|
+
<T as MemoryGraphService>::get_session(&inner, request)
|
|
1750
|
+
.await
|
|
1751
|
+
};
|
|
1752
|
+
Box::pin(fut)
|
|
1753
|
+
}
|
|
1754
|
+
}
|
|
1755
|
+
let accept_compression_encodings = self.accept_compression_encodings;
|
|
1756
|
+
let send_compression_encodings = self.send_compression_encodings;
|
|
1757
|
+
let max_decoding_message_size = self.max_decoding_message_size;
|
|
1758
|
+
let max_encoding_message_size = self.max_encoding_message_size;
|
|
1759
|
+
let inner = self.inner.clone();
|
|
1760
|
+
let fut = async move {
|
|
1761
|
+
let inner = inner.0;
|
|
1762
|
+
let method = GetSessionSvc(inner);
|
|
1763
|
+
let codec = tonic::codec::ProstCodec::default();
|
|
1764
|
+
let mut grpc = tonic::server::Grpc::new(codec)
|
|
1765
|
+
.apply_compression_config(
|
|
1766
|
+
accept_compression_encodings,
|
|
1767
|
+
send_compression_encodings,
|
|
1768
|
+
)
|
|
1769
|
+
.apply_max_message_size_config(
|
|
1770
|
+
max_decoding_message_size,
|
|
1771
|
+
max_encoding_message_size,
|
|
1772
|
+
);
|
|
1773
|
+
let res = grpc.unary(method, req).await;
|
|
1774
|
+
Ok(res)
|
|
1775
|
+
};
|
|
1776
|
+
Box::pin(fut)
|
|
1777
|
+
}
|
|
1778
|
+
"/llm.memory.graph.v1.MemoryGraphService/DeleteSession" => {
|
|
1779
|
+
#[allow(non_camel_case_types)]
|
|
1780
|
+
struct DeleteSessionSvc<T: MemoryGraphService>(pub Arc<T>);
|
|
1781
|
+
impl<
|
|
1782
|
+
T: MemoryGraphService,
|
|
1783
|
+
> tonic::server::UnaryService<super::DeleteSessionRequest>
|
|
1784
|
+
for DeleteSessionSvc<T> {
|
|
1785
|
+
type Response = ();
|
|
1786
|
+
type Future = BoxFuture<
|
|
1787
|
+
tonic::Response<Self::Response>,
|
|
1788
|
+
tonic::Status,
|
|
1789
|
+
>;
|
|
1790
|
+
fn call(
|
|
1791
|
+
&mut self,
|
|
1792
|
+
request: tonic::Request<super::DeleteSessionRequest>,
|
|
1793
|
+
) -> Self::Future {
|
|
1794
|
+
let inner = Arc::clone(&self.0);
|
|
1795
|
+
let fut = async move {
|
|
1796
|
+
<T as MemoryGraphService>::delete_session(&inner, request)
|
|
1797
|
+
.await
|
|
1798
|
+
};
|
|
1799
|
+
Box::pin(fut)
|
|
1800
|
+
}
|
|
1801
|
+
}
|
|
1802
|
+
let accept_compression_encodings = self.accept_compression_encodings;
|
|
1803
|
+
let send_compression_encodings = self.send_compression_encodings;
|
|
1804
|
+
let max_decoding_message_size = self.max_decoding_message_size;
|
|
1805
|
+
let max_encoding_message_size = self.max_encoding_message_size;
|
|
1806
|
+
let inner = self.inner.clone();
|
|
1807
|
+
let fut = async move {
|
|
1808
|
+
let inner = inner.0;
|
|
1809
|
+
let method = DeleteSessionSvc(inner);
|
|
1810
|
+
let codec = tonic::codec::ProstCodec::default();
|
|
1811
|
+
let mut grpc = tonic::server::Grpc::new(codec)
|
|
1812
|
+
.apply_compression_config(
|
|
1813
|
+
accept_compression_encodings,
|
|
1814
|
+
send_compression_encodings,
|
|
1815
|
+
)
|
|
1816
|
+
.apply_max_message_size_config(
|
|
1817
|
+
max_decoding_message_size,
|
|
1818
|
+
max_encoding_message_size,
|
|
1819
|
+
);
|
|
1820
|
+
let res = grpc.unary(method, req).await;
|
|
1821
|
+
Ok(res)
|
|
1822
|
+
};
|
|
1823
|
+
Box::pin(fut)
|
|
1824
|
+
}
|
|
1825
|
+
"/llm.memory.graph.v1.MemoryGraphService/ListSessions" => {
|
|
1826
|
+
#[allow(non_camel_case_types)]
|
|
1827
|
+
struct ListSessionsSvc<T: MemoryGraphService>(pub Arc<T>);
|
|
1828
|
+
impl<
|
|
1829
|
+
T: MemoryGraphService,
|
|
1830
|
+
> tonic::server::UnaryService<super::ListSessionsRequest>
|
|
1831
|
+
for ListSessionsSvc<T> {
|
|
1832
|
+
type Response = super::ListSessionsResponse;
|
|
1833
|
+
type Future = BoxFuture<
|
|
1834
|
+
tonic::Response<Self::Response>,
|
|
1835
|
+
tonic::Status,
|
|
1836
|
+
>;
|
|
1837
|
+
fn call(
|
|
1838
|
+
&mut self,
|
|
1839
|
+
request: tonic::Request<super::ListSessionsRequest>,
|
|
1840
|
+
) -> Self::Future {
|
|
1841
|
+
let inner = Arc::clone(&self.0);
|
|
1842
|
+
let fut = async move {
|
|
1843
|
+
<T as MemoryGraphService>::list_sessions(&inner, request)
|
|
1844
|
+
.await
|
|
1845
|
+
};
|
|
1846
|
+
Box::pin(fut)
|
|
1847
|
+
}
|
|
1848
|
+
}
|
|
1849
|
+
let accept_compression_encodings = self.accept_compression_encodings;
|
|
1850
|
+
let send_compression_encodings = self.send_compression_encodings;
|
|
1851
|
+
let max_decoding_message_size = self.max_decoding_message_size;
|
|
1852
|
+
let max_encoding_message_size = self.max_encoding_message_size;
|
|
1853
|
+
let inner = self.inner.clone();
|
|
1854
|
+
let fut = async move {
|
|
1855
|
+
let inner = inner.0;
|
|
1856
|
+
let method = ListSessionsSvc(inner);
|
|
1857
|
+
let codec = tonic::codec::ProstCodec::default();
|
|
1858
|
+
let mut grpc = tonic::server::Grpc::new(codec)
|
|
1859
|
+
.apply_compression_config(
|
|
1860
|
+
accept_compression_encodings,
|
|
1861
|
+
send_compression_encodings,
|
|
1862
|
+
)
|
|
1863
|
+
.apply_max_message_size_config(
|
|
1864
|
+
max_decoding_message_size,
|
|
1865
|
+
max_encoding_message_size,
|
|
1866
|
+
);
|
|
1867
|
+
let res = grpc.unary(method, req).await;
|
|
1868
|
+
Ok(res)
|
|
1869
|
+
};
|
|
1870
|
+
Box::pin(fut)
|
|
1871
|
+
}
|
|
1872
|
+
"/llm.memory.graph.v1.MemoryGraphService/CreateNode" => {
|
|
1873
|
+
#[allow(non_camel_case_types)]
|
|
1874
|
+
struct CreateNodeSvc<T: MemoryGraphService>(pub Arc<T>);
|
|
1875
|
+
impl<
|
|
1876
|
+
T: MemoryGraphService,
|
|
1877
|
+
> tonic::server::UnaryService<super::CreateNodeRequest>
|
|
1878
|
+
for CreateNodeSvc<T> {
|
|
1879
|
+
type Response = super::Node;
|
|
1880
|
+
type Future = BoxFuture<
|
|
1881
|
+
tonic::Response<Self::Response>,
|
|
1882
|
+
tonic::Status,
|
|
1883
|
+
>;
|
|
1884
|
+
fn call(
|
|
1885
|
+
&mut self,
|
|
1886
|
+
request: tonic::Request<super::CreateNodeRequest>,
|
|
1887
|
+
) -> Self::Future {
|
|
1888
|
+
let inner = Arc::clone(&self.0);
|
|
1889
|
+
let fut = async move {
|
|
1890
|
+
<T as MemoryGraphService>::create_node(&inner, request)
|
|
1891
|
+
.await
|
|
1892
|
+
};
|
|
1893
|
+
Box::pin(fut)
|
|
1894
|
+
}
|
|
1895
|
+
}
|
|
1896
|
+
let accept_compression_encodings = self.accept_compression_encodings;
|
|
1897
|
+
let send_compression_encodings = self.send_compression_encodings;
|
|
1898
|
+
let max_decoding_message_size = self.max_decoding_message_size;
|
|
1899
|
+
let max_encoding_message_size = self.max_encoding_message_size;
|
|
1900
|
+
let inner = self.inner.clone();
|
|
1901
|
+
let fut = async move {
|
|
1902
|
+
let inner = inner.0;
|
|
1903
|
+
let method = CreateNodeSvc(inner);
|
|
1904
|
+
let codec = tonic::codec::ProstCodec::default();
|
|
1905
|
+
let mut grpc = tonic::server::Grpc::new(codec)
|
|
1906
|
+
.apply_compression_config(
|
|
1907
|
+
accept_compression_encodings,
|
|
1908
|
+
send_compression_encodings,
|
|
1909
|
+
)
|
|
1910
|
+
.apply_max_message_size_config(
|
|
1911
|
+
max_decoding_message_size,
|
|
1912
|
+
max_encoding_message_size,
|
|
1913
|
+
);
|
|
1914
|
+
let res = grpc.unary(method, req).await;
|
|
1915
|
+
Ok(res)
|
|
1916
|
+
};
|
|
1917
|
+
Box::pin(fut)
|
|
1918
|
+
}
|
|
1919
|
+
"/llm.memory.graph.v1.MemoryGraphService/GetNode" => {
|
|
1920
|
+
#[allow(non_camel_case_types)]
|
|
1921
|
+
struct GetNodeSvc<T: MemoryGraphService>(pub Arc<T>);
|
|
1922
|
+
impl<
|
|
1923
|
+
T: MemoryGraphService,
|
|
1924
|
+
> tonic::server::UnaryService<super::GetNodeRequest>
|
|
1925
|
+
for GetNodeSvc<T> {
|
|
1926
|
+
type Response = super::Node;
|
|
1927
|
+
type Future = BoxFuture<
|
|
1928
|
+
tonic::Response<Self::Response>,
|
|
1929
|
+
tonic::Status,
|
|
1930
|
+
>;
|
|
1931
|
+
fn call(
|
|
1932
|
+
&mut self,
|
|
1933
|
+
request: tonic::Request<super::GetNodeRequest>,
|
|
1934
|
+
) -> Self::Future {
|
|
1935
|
+
let inner = Arc::clone(&self.0);
|
|
1936
|
+
let fut = async move {
|
|
1937
|
+
<T as MemoryGraphService>::get_node(&inner, request).await
|
|
1938
|
+
};
|
|
1939
|
+
Box::pin(fut)
|
|
1940
|
+
}
|
|
1941
|
+
}
|
|
1942
|
+
let accept_compression_encodings = self.accept_compression_encodings;
|
|
1943
|
+
let send_compression_encodings = self.send_compression_encodings;
|
|
1944
|
+
let max_decoding_message_size = self.max_decoding_message_size;
|
|
1945
|
+
let max_encoding_message_size = self.max_encoding_message_size;
|
|
1946
|
+
let inner = self.inner.clone();
|
|
1947
|
+
let fut = async move {
|
|
1948
|
+
let inner = inner.0;
|
|
1949
|
+
let method = GetNodeSvc(inner);
|
|
1950
|
+
let codec = tonic::codec::ProstCodec::default();
|
|
1951
|
+
let mut grpc = tonic::server::Grpc::new(codec)
|
|
1952
|
+
.apply_compression_config(
|
|
1953
|
+
accept_compression_encodings,
|
|
1954
|
+
send_compression_encodings,
|
|
1955
|
+
)
|
|
1956
|
+
.apply_max_message_size_config(
|
|
1957
|
+
max_decoding_message_size,
|
|
1958
|
+
max_encoding_message_size,
|
|
1959
|
+
);
|
|
1960
|
+
let res = grpc.unary(method, req).await;
|
|
1961
|
+
Ok(res)
|
|
1962
|
+
};
|
|
1963
|
+
Box::pin(fut)
|
|
1964
|
+
}
|
|
1965
|
+
"/llm.memory.graph.v1.MemoryGraphService/UpdateNode" => {
|
|
1966
|
+
#[allow(non_camel_case_types)]
|
|
1967
|
+
struct UpdateNodeSvc<T: MemoryGraphService>(pub Arc<T>);
|
|
1968
|
+
impl<
|
|
1969
|
+
T: MemoryGraphService,
|
|
1970
|
+
> tonic::server::UnaryService<super::UpdateNodeRequest>
|
|
1971
|
+
for UpdateNodeSvc<T> {
|
|
1972
|
+
type Response = super::Node;
|
|
1973
|
+
type Future = BoxFuture<
|
|
1974
|
+
tonic::Response<Self::Response>,
|
|
1975
|
+
tonic::Status,
|
|
1976
|
+
>;
|
|
1977
|
+
fn call(
|
|
1978
|
+
&mut self,
|
|
1979
|
+
request: tonic::Request<super::UpdateNodeRequest>,
|
|
1980
|
+
) -> Self::Future {
|
|
1981
|
+
let inner = Arc::clone(&self.0);
|
|
1982
|
+
let fut = async move {
|
|
1983
|
+
<T as MemoryGraphService>::update_node(&inner, request)
|
|
1984
|
+
.await
|
|
1985
|
+
};
|
|
1986
|
+
Box::pin(fut)
|
|
1987
|
+
}
|
|
1988
|
+
}
|
|
1989
|
+
let accept_compression_encodings = self.accept_compression_encodings;
|
|
1990
|
+
let send_compression_encodings = self.send_compression_encodings;
|
|
1991
|
+
let max_decoding_message_size = self.max_decoding_message_size;
|
|
1992
|
+
let max_encoding_message_size = self.max_encoding_message_size;
|
|
1993
|
+
let inner = self.inner.clone();
|
|
1994
|
+
let fut = async move {
|
|
1995
|
+
let inner = inner.0;
|
|
1996
|
+
let method = UpdateNodeSvc(inner);
|
|
1997
|
+
let codec = tonic::codec::ProstCodec::default();
|
|
1998
|
+
let mut grpc = tonic::server::Grpc::new(codec)
|
|
1999
|
+
.apply_compression_config(
|
|
2000
|
+
accept_compression_encodings,
|
|
2001
|
+
send_compression_encodings,
|
|
2002
|
+
)
|
|
2003
|
+
.apply_max_message_size_config(
|
|
2004
|
+
max_decoding_message_size,
|
|
2005
|
+
max_encoding_message_size,
|
|
2006
|
+
);
|
|
2007
|
+
let res = grpc.unary(method, req).await;
|
|
2008
|
+
Ok(res)
|
|
2009
|
+
};
|
|
2010
|
+
Box::pin(fut)
|
|
2011
|
+
}
|
|
2012
|
+
"/llm.memory.graph.v1.MemoryGraphService/DeleteNode" => {
|
|
2013
|
+
#[allow(non_camel_case_types)]
|
|
2014
|
+
struct DeleteNodeSvc<T: MemoryGraphService>(pub Arc<T>);
|
|
2015
|
+
impl<
|
|
2016
|
+
T: MemoryGraphService,
|
|
2017
|
+
> tonic::server::UnaryService<super::DeleteNodeRequest>
|
|
2018
|
+
for DeleteNodeSvc<T> {
|
|
2019
|
+
type Response = ();
|
|
2020
|
+
type Future = BoxFuture<
|
|
2021
|
+
tonic::Response<Self::Response>,
|
|
2022
|
+
tonic::Status,
|
|
2023
|
+
>;
|
|
2024
|
+
fn call(
|
|
2025
|
+
&mut self,
|
|
2026
|
+
request: tonic::Request<super::DeleteNodeRequest>,
|
|
2027
|
+
) -> Self::Future {
|
|
2028
|
+
let inner = Arc::clone(&self.0);
|
|
2029
|
+
let fut = async move {
|
|
2030
|
+
<T as MemoryGraphService>::delete_node(&inner, request)
|
|
2031
|
+
.await
|
|
2032
|
+
};
|
|
2033
|
+
Box::pin(fut)
|
|
2034
|
+
}
|
|
2035
|
+
}
|
|
2036
|
+
let accept_compression_encodings = self.accept_compression_encodings;
|
|
2037
|
+
let send_compression_encodings = self.send_compression_encodings;
|
|
2038
|
+
let max_decoding_message_size = self.max_decoding_message_size;
|
|
2039
|
+
let max_encoding_message_size = self.max_encoding_message_size;
|
|
2040
|
+
let inner = self.inner.clone();
|
|
2041
|
+
let fut = async move {
|
|
2042
|
+
let inner = inner.0;
|
|
2043
|
+
let method = DeleteNodeSvc(inner);
|
|
2044
|
+
let codec = tonic::codec::ProstCodec::default();
|
|
2045
|
+
let mut grpc = tonic::server::Grpc::new(codec)
|
|
2046
|
+
.apply_compression_config(
|
|
2047
|
+
accept_compression_encodings,
|
|
2048
|
+
send_compression_encodings,
|
|
2049
|
+
)
|
|
2050
|
+
.apply_max_message_size_config(
|
|
2051
|
+
max_decoding_message_size,
|
|
2052
|
+
max_encoding_message_size,
|
|
2053
|
+
);
|
|
2054
|
+
let res = grpc.unary(method, req).await;
|
|
2055
|
+
Ok(res)
|
|
2056
|
+
};
|
|
2057
|
+
Box::pin(fut)
|
|
2058
|
+
}
|
|
2059
|
+
"/llm.memory.graph.v1.MemoryGraphService/BatchCreateNodes" => {
|
|
2060
|
+
#[allow(non_camel_case_types)]
|
|
2061
|
+
struct BatchCreateNodesSvc<T: MemoryGraphService>(pub Arc<T>);
|
|
2062
|
+
impl<
|
|
2063
|
+
T: MemoryGraphService,
|
|
2064
|
+
> tonic::server::UnaryService<super::BatchCreateNodesRequest>
|
|
2065
|
+
for BatchCreateNodesSvc<T> {
|
|
2066
|
+
type Response = super::BatchCreateNodesResponse;
|
|
2067
|
+
type Future = BoxFuture<
|
|
2068
|
+
tonic::Response<Self::Response>,
|
|
2069
|
+
tonic::Status,
|
|
2070
|
+
>;
|
|
2071
|
+
fn call(
|
|
2072
|
+
&mut self,
|
|
2073
|
+
request: tonic::Request<super::BatchCreateNodesRequest>,
|
|
2074
|
+
) -> Self::Future {
|
|
2075
|
+
let inner = Arc::clone(&self.0);
|
|
2076
|
+
let fut = async move {
|
|
2077
|
+
<T as MemoryGraphService>::batch_create_nodes(
|
|
2078
|
+
&inner,
|
|
2079
|
+
request,
|
|
2080
|
+
)
|
|
2081
|
+
.await
|
|
2082
|
+
};
|
|
2083
|
+
Box::pin(fut)
|
|
2084
|
+
}
|
|
2085
|
+
}
|
|
2086
|
+
let accept_compression_encodings = self.accept_compression_encodings;
|
|
2087
|
+
let send_compression_encodings = self.send_compression_encodings;
|
|
2088
|
+
let max_decoding_message_size = self.max_decoding_message_size;
|
|
2089
|
+
let max_encoding_message_size = self.max_encoding_message_size;
|
|
2090
|
+
let inner = self.inner.clone();
|
|
2091
|
+
let fut = async move {
|
|
2092
|
+
let inner = inner.0;
|
|
2093
|
+
let method = BatchCreateNodesSvc(inner);
|
|
2094
|
+
let codec = tonic::codec::ProstCodec::default();
|
|
2095
|
+
let mut grpc = tonic::server::Grpc::new(codec)
|
|
2096
|
+
.apply_compression_config(
|
|
2097
|
+
accept_compression_encodings,
|
|
2098
|
+
send_compression_encodings,
|
|
2099
|
+
)
|
|
2100
|
+
.apply_max_message_size_config(
|
|
2101
|
+
max_decoding_message_size,
|
|
2102
|
+
max_encoding_message_size,
|
|
2103
|
+
);
|
|
2104
|
+
let res = grpc.unary(method, req).await;
|
|
2105
|
+
Ok(res)
|
|
2106
|
+
};
|
|
2107
|
+
Box::pin(fut)
|
|
2108
|
+
}
|
|
2109
|
+
"/llm.memory.graph.v1.MemoryGraphService/BatchGetNodes" => {
|
|
2110
|
+
#[allow(non_camel_case_types)]
|
|
2111
|
+
struct BatchGetNodesSvc<T: MemoryGraphService>(pub Arc<T>);
|
|
2112
|
+
impl<
|
|
2113
|
+
T: MemoryGraphService,
|
|
2114
|
+
> tonic::server::UnaryService<super::BatchGetNodesRequest>
|
|
2115
|
+
for BatchGetNodesSvc<T> {
|
|
2116
|
+
type Response = super::BatchGetNodesResponse;
|
|
2117
|
+
type Future = BoxFuture<
|
|
2118
|
+
tonic::Response<Self::Response>,
|
|
2119
|
+
tonic::Status,
|
|
2120
|
+
>;
|
|
2121
|
+
fn call(
|
|
2122
|
+
&mut self,
|
|
2123
|
+
request: tonic::Request<super::BatchGetNodesRequest>,
|
|
2124
|
+
) -> Self::Future {
|
|
2125
|
+
let inner = Arc::clone(&self.0);
|
|
2126
|
+
let fut = async move {
|
|
2127
|
+
<T as MemoryGraphService>::batch_get_nodes(&inner, request)
|
|
2128
|
+
.await
|
|
2129
|
+
};
|
|
2130
|
+
Box::pin(fut)
|
|
2131
|
+
}
|
|
2132
|
+
}
|
|
2133
|
+
let accept_compression_encodings = self.accept_compression_encodings;
|
|
2134
|
+
let send_compression_encodings = self.send_compression_encodings;
|
|
2135
|
+
let max_decoding_message_size = self.max_decoding_message_size;
|
|
2136
|
+
let max_encoding_message_size = self.max_encoding_message_size;
|
|
2137
|
+
let inner = self.inner.clone();
|
|
2138
|
+
let fut = async move {
|
|
2139
|
+
let inner = inner.0;
|
|
2140
|
+
let method = BatchGetNodesSvc(inner);
|
|
2141
|
+
let codec = tonic::codec::ProstCodec::default();
|
|
2142
|
+
let mut grpc = tonic::server::Grpc::new(codec)
|
|
2143
|
+
.apply_compression_config(
|
|
2144
|
+
accept_compression_encodings,
|
|
2145
|
+
send_compression_encodings,
|
|
2146
|
+
)
|
|
2147
|
+
.apply_max_message_size_config(
|
|
2148
|
+
max_decoding_message_size,
|
|
2149
|
+
max_encoding_message_size,
|
|
2150
|
+
);
|
|
2151
|
+
let res = grpc.unary(method, req).await;
|
|
2152
|
+
Ok(res)
|
|
2153
|
+
};
|
|
2154
|
+
Box::pin(fut)
|
|
2155
|
+
}
|
|
2156
|
+
"/llm.memory.graph.v1.MemoryGraphService/CreateEdge" => {
|
|
2157
|
+
#[allow(non_camel_case_types)]
|
|
2158
|
+
struct CreateEdgeSvc<T: MemoryGraphService>(pub Arc<T>);
|
|
2159
|
+
impl<
|
|
2160
|
+
T: MemoryGraphService,
|
|
2161
|
+
> tonic::server::UnaryService<super::CreateEdgeRequest>
|
|
2162
|
+
for CreateEdgeSvc<T> {
|
|
2163
|
+
type Response = super::Edge;
|
|
2164
|
+
type Future = BoxFuture<
|
|
2165
|
+
tonic::Response<Self::Response>,
|
|
2166
|
+
tonic::Status,
|
|
2167
|
+
>;
|
|
2168
|
+
fn call(
|
|
2169
|
+
&mut self,
|
|
2170
|
+
request: tonic::Request<super::CreateEdgeRequest>,
|
|
2171
|
+
) -> Self::Future {
|
|
2172
|
+
let inner = Arc::clone(&self.0);
|
|
2173
|
+
let fut = async move {
|
|
2174
|
+
<T as MemoryGraphService>::create_edge(&inner, request)
|
|
2175
|
+
.await
|
|
2176
|
+
};
|
|
2177
|
+
Box::pin(fut)
|
|
2178
|
+
}
|
|
2179
|
+
}
|
|
2180
|
+
let accept_compression_encodings = self.accept_compression_encodings;
|
|
2181
|
+
let send_compression_encodings = self.send_compression_encodings;
|
|
2182
|
+
let max_decoding_message_size = self.max_decoding_message_size;
|
|
2183
|
+
let max_encoding_message_size = self.max_encoding_message_size;
|
|
2184
|
+
let inner = self.inner.clone();
|
|
2185
|
+
let fut = async move {
|
|
2186
|
+
let inner = inner.0;
|
|
2187
|
+
let method = CreateEdgeSvc(inner);
|
|
2188
|
+
let codec = tonic::codec::ProstCodec::default();
|
|
2189
|
+
let mut grpc = tonic::server::Grpc::new(codec)
|
|
2190
|
+
.apply_compression_config(
|
|
2191
|
+
accept_compression_encodings,
|
|
2192
|
+
send_compression_encodings,
|
|
2193
|
+
)
|
|
2194
|
+
.apply_max_message_size_config(
|
|
2195
|
+
max_decoding_message_size,
|
|
2196
|
+
max_encoding_message_size,
|
|
2197
|
+
);
|
|
2198
|
+
let res = grpc.unary(method, req).await;
|
|
2199
|
+
Ok(res)
|
|
2200
|
+
};
|
|
2201
|
+
Box::pin(fut)
|
|
2202
|
+
}
|
|
2203
|
+
"/llm.memory.graph.v1.MemoryGraphService/GetEdges" => {
|
|
2204
|
+
#[allow(non_camel_case_types)]
|
|
2205
|
+
struct GetEdgesSvc<T: MemoryGraphService>(pub Arc<T>);
|
|
2206
|
+
impl<
|
|
2207
|
+
T: MemoryGraphService,
|
|
2208
|
+
> tonic::server::UnaryService<super::GetEdgesRequest>
|
|
2209
|
+
for GetEdgesSvc<T> {
|
|
2210
|
+
type Response = super::GetEdgesResponse;
|
|
2211
|
+
type Future = BoxFuture<
|
|
2212
|
+
tonic::Response<Self::Response>,
|
|
2213
|
+
tonic::Status,
|
|
2214
|
+
>;
|
|
2215
|
+
fn call(
|
|
2216
|
+
&mut self,
|
|
2217
|
+
request: tonic::Request<super::GetEdgesRequest>,
|
|
2218
|
+
) -> Self::Future {
|
|
2219
|
+
let inner = Arc::clone(&self.0);
|
|
2220
|
+
let fut = async move {
|
|
2221
|
+
<T as MemoryGraphService>::get_edges(&inner, request).await
|
|
2222
|
+
};
|
|
2223
|
+
Box::pin(fut)
|
|
2224
|
+
}
|
|
2225
|
+
}
|
|
2226
|
+
let accept_compression_encodings = self.accept_compression_encodings;
|
|
2227
|
+
let send_compression_encodings = self.send_compression_encodings;
|
|
2228
|
+
let max_decoding_message_size = self.max_decoding_message_size;
|
|
2229
|
+
let max_encoding_message_size = self.max_encoding_message_size;
|
|
2230
|
+
let inner = self.inner.clone();
|
|
2231
|
+
let fut = async move {
|
|
2232
|
+
let inner = inner.0;
|
|
2233
|
+
let method = GetEdgesSvc(inner);
|
|
2234
|
+
let codec = tonic::codec::ProstCodec::default();
|
|
2235
|
+
let mut grpc = tonic::server::Grpc::new(codec)
|
|
2236
|
+
.apply_compression_config(
|
|
2237
|
+
accept_compression_encodings,
|
|
2238
|
+
send_compression_encodings,
|
|
2239
|
+
)
|
|
2240
|
+
.apply_max_message_size_config(
|
|
2241
|
+
max_decoding_message_size,
|
|
2242
|
+
max_encoding_message_size,
|
|
2243
|
+
);
|
|
2244
|
+
let res = grpc.unary(method, req).await;
|
|
2245
|
+
Ok(res)
|
|
2246
|
+
};
|
|
2247
|
+
Box::pin(fut)
|
|
2248
|
+
}
|
|
2249
|
+
"/llm.memory.graph.v1.MemoryGraphService/DeleteEdge" => {
|
|
2250
|
+
#[allow(non_camel_case_types)]
|
|
2251
|
+
struct DeleteEdgeSvc<T: MemoryGraphService>(pub Arc<T>);
|
|
2252
|
+
impl<
|
|
2253
|
+
T: MemoryGraphService,
|
|
2254
|
+
> tonic::server::UnaryService<super::DeleteEdgeRequest>
|
|
2255
|
+
for DeleteEdgeSvc<T> {
|
|
2256
|
+
type Response = ();
|
|
2257
|
+
type Future = BoxFuture<
|
|
2258
|
+
tonic::Response<Self::Response>,
|
|
2259
|
+
tonic::Status,
|
|
2260
|
+
>;
|
|
2261
|
+
fn call(
|
|
2262
|
+
&mut self,
|
|
2263
|
+
request: tonic::Request<super::DeleteEdgeRequest>,
|
|
2264
|
+
) -> Self::Future {
|
|
2265
|
+
let inner = Arc::clone(&self.0);
|
|
2266
|
+
let fut = async move {
|
|
2267
|
+
<T as MemoryGraphService>::delete_edge(&inner, request)
|
|
2268
|
+
.await
|
|
2269
|
+
};
|
|
2270
|
+
Box::pin(fut)
|
|
2271
|
+
}
|
|
2272
|
+
}
|
|
2273
|
+
let accept_compression_encodings = self.accept_compression_encodings;
|
|
2274
|
+
let send_compression_encodings = self.send_compression_encodings;
|
|
2275
|
+
let max_decoding_message_size = self.max_decoding_message_size;
|
|
2276
|
+
let max_encoding_message_size = self.max_encoding_message_size;
|
|
2277
|
+
let inner = self.inner.clone();
|
|
2278
|
+
let fut = async move {
|
|
2279
|
+
let inner = inner.0;
|
|
2280
|
+
let method = DeleteEdgeSvc(inner);
|
|
2281
|
+
let codec = tonic::codec::ProstCodec::default();
|
|
2282
|
+
let mut grpc = tonic::server::Grpc::new(codec)
|
|
2283
|
+
.apply_compression_config(
|
|
2284
|
+
accept_compression_encodings,
|
|
2285
|
+
send_compression_encodings,
|
|
2286
|
+
)
|
|
2287
|
+
.apply_max_message_size_config(
|
|
2288
|
+
max_decoding_message_size,
|
|
2289
|
+
max_encoding_message_size,
|
|
2290
|
+
);
|
|
2291
|
+
let res = grpc.unary(method, req).await;
|
|
2292
|
+
Ok(res)
|
|
2293
|
+
};
|
|
2294
|
+
Box::pin(fut)
|
|
2295
|
+
}
|
|
2296
|
+
"/llm.memory.graph.v1.MemoryGraphService/Query" => {
|
|
2297
|
+
#[allow(non_camel_case_types)]
|
|
2298
|
+
struct QuerySvc<T: MemoryGraphService>(pub Arc<T>);
|
|
2299
|
+
impl<
|
|
2300
|
+
T: MemoryGraphService,
|
|
2301
|
+
> tonic::server::UnaryService<super::QueryRequest> for QuerySvc<T> {
|
|
2302
|
+
type Response = super::QueryResponse;
|
|
2303
|
+
type Future = BoxFuture<
|
|
2304
|
+
tonic::Response<Self::Response>,
|
|
2305
|
+
tonic::Status,
|
|
2306
|
+
>;
|
|
2307
|
+
fn call(
|
|
2308
|
+
&mut self,
|
|
2309
|
+
request: tonic::Request<super::QueryRequest>,
|
|
2310
|
+
) -> Self::Future {
|
|
2311
|
+
let inner = Arc::clone(&self.0);
|
|
2312
|
+
let fut = async move {
|
|
2313
|
+
<T as MemoryGraphService>::query(&inner, request).await
|
|
2314
|
+
};
|
|
2315
|
+
Box::pin(fut)
|
|
2316
|
+
}
|
|
2317
|
+
}
|
|
2318
|
+
let accept_compression_encodings = self.accept_compression_encodings;
|
|
2319
|
+
let send_compression_encodings = self.send_compression_encodings;
|
|
2320
|
+
let max_decoding_message_size = self.max_decoding_message_size;
|
|
2321
|
+
let max_encoding_message_size = self.max_encoding_message_size;
|
|
2322
|
+
let inner = self.inner.clone();
|
|
2323
|
+
let fut = async move {
|
|
2324
|
+
let inner = inner.0;
|
|
2325
|
+
let method = QuerySvc(inner);
|
|
2326
|
+
let codec = tonic::codec::ProstCodec::default();
|
|
2327
|
+
let mut grpc = tonic::server::Grpc::new(codec)
|
|
2328
|
+
.apply_compression_config(
|
|
2329
|
+
accept_compression_encodings,
|
|
2330
|
+
send_compression_encodings,
|
|
2331
|
+
)
|
|
2332
|
+
.apply_max_message_size_config(
|
|
2333
|
+
max_decoding_message_size,
|
|
2334
|
+
max_encoding_message_size,
|
|
2335
|
+
);
|
|
2336
|
+
let res = grpc.unary(method, req).await;
|
|
2337
|
+
Ok(res)
|
|
2338
|
+
};
|
|
2339
|
+
Box::pin(fut)
|
|
2340
|
+
}
|
|
2341
|
+
"/llm.memory.graph.v1.MemoryGraphService/StreamQuery" => {
|
|
2342
|
+
#[allow(non_camel_case_types)]
|
|
2343
|
+
struct StreamQuerySvc<T: MemoryGraphService>(pub Arc<T>);
|
|
2344
|
+
impl<
|
|
2345
|
+
T: MemoryGraphService,
|
|
2346
|
+
> tonic::server::ServerStreamingService<super::QueryRequest>
|
|
2347
|
+
for StreamQuerySvc<T> {
|
|
2348
|
+
type Response = super::Node;
|
|
2349
|
+
type ResponseStream = T::StreamQueryStream;
|
|
2350
|
+
type Future = BoxFuture<
|
|
2351
|
+
tonic::Response<Self::ResponseStream>,
|
|
2352
|
+
tonic::Status,
|
|
2353
|
+
>;
|
|
2354
|
+
fn call(
|
|
2355
|
+
&mut self,
|
|
2356
|
+
request: tonic::Request<super::QueryRequest>,
|
|
2357
|
+
) -> Self::Future {
|
|
2358
|
+
let inner = Arc::clone(&self.0);
|
|
2359
|
+
let fut = async move {
|
|
2360
|
+
<T as MemoryGraphService>::stream_query(&inner, request)
|
|
2361
|
+
.await
|
|
2362
|
+
};
|
|
2363
|
+
Box::pin(fut)
|
|
2364
|
+
}
|
|
2365
|
+
}
|
|
2366
|
+
let accept_compression_encodings = self.accept_compression_encodings;
|
|
2367
|
+
let send_compression_encodings = self.send_compression_encodings;
|
|
2368
|
+
let max_decoding_message_size = self.max_decoding_message_size;
|
|
2369
|
+
let max_encoding_message_size = self.max_encoding_message_size;
|
|
2370
|
+
let inner = self.inner.clone();
|
|
2371
|
+
let fut = async move {
|
|
2372
|
+
let inner = inner.0;
|
|
2373
|
+
let method = StreamQuerySvc(inner);
|
|
2374
|
+
let codec = tonic::codec::ProstCodec::default();
|
|
2375
|
+
let mut grpc = tonic::server::Grpc::new(codec)
|
|
2376
|
+
.apply_compression_config(
|
|
2377
|
+
accept_compression_encodings,
|
|
2378
|
+
send_compression_encodings,
|
|
2379
|
+
)
|
|
2380
|
+
.apply_max_message_size_config(
|
|
2381
|
+
max_decoding_message_size,
|
|
2382
|
+
max_encoding_message_size,
|
|
2383
|
+
);
|
|
2384
|
+
let res = grpc.server_streaming(method, req).await;
|
|
2385
|
+
Ok(res)
|
|
2386
|
+
};
|
|
2387
|
+
Box::pin(fut)
|
|
2388
|
+
}
|
|
2389
|
+
"/llm.memory.graph.v1.MemoryGraphService/AddPrompt" => {
|
|
2390
|
+
#[allow(non_camel_case_types)]
|
|
2391
|
+
struct AddPromptSvc<T: MemoryGraphService>(pub Arc<T>);
|
|
2392
|
+
impl<
|
|
2393
|
+
T: MemoryGraphService,
|
|
2394
|
+
> tonic::server::UnaryService<super::AddPromptRequest>
|
|
2395
|
+
for AddPromptSvc<T> {
|
|
2396
|
+
type Response = super::PromptNode;
|
|
2397
|
+
type Future = BoxFuture<
|
|
2398
|
+
tonic::Response<Self::Response>,
|
|
2399
|
+
tonic::Status,
|
|
2400
|
+
>;
|
|
2401
|
+
fn call(
|
|
2402
|
+
&mut self,
|
|
2403
|
+
request: tonic::Request<super::AddPromptRequest>,
|
|
2404
|
+
) -> Self::Future {
|
|
2405
|
+
let inner = Arc::clone(&self.0);
|
|
2406
|
+
let fut = async move {
|
|
2407
|
+
<T as MemoryGraphService>::add_prompt(&inner, request).await
|
|
2408
|
+
};
|
|
2409
|
+
Box::pin(fut)
|
|
2410
|
+
}
|
|
2411
|
+
}
|
|
2412
|
+
let accept_compression_encodings = self.accept_compression_encodings;
|
|
2413
|
+
let send_compression_encodings = self.send_compression_encodings;
|
|
2414
|
+
let max_decoding_message_size = self.max_decoding_message_size;
|
|
2415
|
+
let max_encoding_message_size = self.max_encoding_message_size;
|
|
2416
|
+
let inner = self.inner.clone();
|
|
2417
|
+
let fut = async move {
|
|
2418
|
+
let inner = inner.0;
|
|
2419
|
+
let method = AddPromptSvc(inner);
|
|
2420
|
+
let codec = tonic::codec::ProstCodec::default();
|
|
2421
|
+
let mut grpc = tonic::server::Grpc::new(codec)
|
|
2422
|
+
.apply_compression_config(
|
|
2423
|
+
accept_compression_encodings,
|
|
2424
|
+
send_compression_encodings,
|
|
2425
|
+
)
|
|
2426
|
+
.apply_max_message_size_config(
|
|
2427
|
+
max_decoding_message_size,
|
|
2428
|
+
max_encoding_message_size,
|
|
2429
|
+
);
|
|
2430
|
+
let res = grpc.unary(method, req).await;
|
|
2431
|
+
Ok(res)
|
|
2432
|
+
};
|
|
2433
|
+
Box::pin(fut)
|
|
2434
|
+
}
|
|
2435
|
+
"/llm.memory.graph.v1.MemoryGraphService/AddResponse" => {
|
|
2436
|
+
#[allow(non_camel_case_types)]
|
|
2437
|
+
struct AddResponseSvc<T: MemoryGraphService>(pub Arc<T>);
|
|
2438
|
+
impl<
|
|
2439
|
+
T: MemoryGraphService,
|
|
2440
|
+
> tonic::server::UnaryService<super::AddResponseRequest>
|
|
2441
|
+
for AddResponseSvc<T> {
|
|
2442
|
+
type Response = super::ResponseNode;
|
|
2443
|
+
type Future = BoxFuture<
|
|
2444
|
+
tonic::Response<Self::Response>,
|
|
2445
|
+
tonic::Status,
|
|
2446
|
+
>;
|
|
2447
|
+
fn call(
|
|
2448
|
+
&mut self,
|
|
2449
|
+
request: tonic::Request<super::AddResponseRequest>,
|
|
2450
|
+
) -> Self::Future {
|
|
2451
|
+
let inner = Arc::clone(&self.0);
|
|
2452
|
+
let fut = async move {
|
|
2453
|
+
<T as MemoryGraphService>::add_response(&inner, request)
|
|
2454
|
+
.await
|
|
2455
|
+
};
|
|
2456
|
+
Box::pin(fut)
|
|
2457
|
+
}
|
|
2458
|
+
}
|
|
2459
|
+
let accept_compression_encodings = self.accept_compression_encodings;
|
|
2460
|
+
let send_compression_encodings = self.send_compression_encodings;
|
|
2461
|
+
let max_decoding_message_size = self.max_decoding_message_size;
|
|
2462
|
+
let max_encoding_message_size = self.max_encoding_message_size;
|
|
2463
|
+
let inner = self.inner.clone();
|
|
2464
|
+
let fut = async move {
|
|
2465
|
+
let inner = inner.0;
|
|
2466
|
+
let method = AddResponseSvc(inner);
|
|
2467
|
+
let codec = tonic::codec::ProstCodec::default();
|
|
2468
|
+
let mut grpc = tonic::server::Grpc::new(codec)
|
|
2469
|
+
.apply_compression_config(
|
|
2470
|
+
accept_compression_encodings,
|
|
2471
|
+
send_compression_encodings,
|
|
2472
|
+
)
|
|
2473
|
+
.apply_max_message_size_config(
|
|
2474
|
+
max_decoding_message_size,
|
|
2475
|
+
max_encoding_message_size,
|
|
2476
|
+
);
|
|
2477
|
+
let res = grpc.unary(method, req).await;
|
|
2478
|
+
Ok(res)
|
|
2479
|
+
};
|
|
2480
|
+
Box::pin(fut)
|
|
2481
|
+
}
|
|
2482
|
+
"/llm.memory.graph.v1.MemoryGraphService/AddToolInvocation" => {
|
|
2483
|
+
#[allow(non_camel_case_types)]
|
|
2484
|
+
struct AddToolInvocationSvc<T: MemoryGraphService>(pub Arc<T>);
|
|
2485
|
+
impl<
|
|
2486
|
+
T: MemoryGraphService,
|
|
2487
|
+
> tonic::server::UnaryService<super::AddToolInvocationRequest>
|
|
2488
|
+
for AddToolInvocationSvc<T> {
|
|
2489
|
+
type Response = super::ToolInvocationNode;
|
|
2490
|
+
type Future = BoxFuture<
|
|
2491
|
+
tonic::Response<Self::Response>,
|
|
2492
|
+
tonic::Status,
|
|
2493
|
+
>;
|
|
2494
|
+
fn call(
|
|
2495
|
+
&mut self,
|
|
2496
|
+
request: tonic::Request<super::AddToolInvocationRequest>,
|
|
2497
|
+
) -> Self::Future {
|
|
2498
|
+
let inner = Arc::clone(&self.0);
|
|
2499
|
+
let fut = async move {
|
|
2500
|
+
<T as MemoryGraphService>::add_tool_invocation(
|
|
2501
|
+
&inner,
|
|
2502
|
+
request,
|
|
2503
|
+
)
|
|
2504
|
+
.await
|
|
2505
|
+
};
|
|
2506
|
+
Box::pin(fut)
|
|
2507
|
+
}
|
|
2508
|
+
}
|
|
2509
|
+
let accept_compression_encodings = self.accept_compression_encodings;
|
|
2510
|
+
let send_compression_encodings = self.send_compression_encodings;
|
|
2511
|
+
let max_decoding_message_size = self.max_decoding_message_size;
|
|
2512
|
+
let max_encoding_message_size = self.max_encoding_message_size;
|
|
2513
|
+
let inner = self.inner.clone();
|
|
2514
|
+
let fut = async move {
|
|
2515
|
+
let inner = inner.0;
|
|
2516
|
+
let method = AddToolInvocationSvc(inner);
|
|
2517
|
+
let codec = tonic::codec::ProstCodec::default();
|
|
2518
|
+
let mut grpc = tonic::server::Grpc::new(codec)
|
|
2519
|
+
.apply_compression_config(
|
|
2520
|
+
accept_compression_encodings,
|
|
2521
|
+
send_compression_encodings,
|
|
2522
|
+
)
|
|
2523
|
+
.apply_max_message_size_config(
|
|
2524
|
+
max_decoding_message_size,
|
|
2525
|
+
max_encoding_message_size,
|
|
2526
|
+
);
|
|
2527
|
+
let res = grpc.unary(method, req).await;
|
|
2528
|
+
Ok(res)
|
|
2529
|
+
};
|
|
2530
|
+
Box::pin(fut)
|
|
2531
|
+
}
|
|
2532
|
+
"/llm.memory.graph.v1.MemoryGraphService/CreateTemplate" => {
|
|
2533
|
+
#[allow(non_camel_case_types)]
|
|
2534
|
+
struct CreateTemplateSvc<T: MemoryGraphService>(pub Arc<T>);
|
|
2535
|
+
impl<
|
|
2536
|
+
T: MemoryGraphService,
|
|
2537
|
+
> tonic::server::UnaryService<super::CreateTemplateRequest>
|
|
2538
|
+
for CreateTemplateSvc<T> {
|
|
2539
|
+
type Response = super::TemplateNode;
|
|
2540
|
+
type Future = BoxFuture<
|
|
2541
|
+
tonic::Response<Self::Response>,
|
|
2542
|
+
tonic::Status,
|
|
2543
|
+
>;
|
|
2544
|
+
fn call(
|
|
2545
|
+
&mut self,
|
|
2546
|
+
request: tonic::Request<super::CreateTemplateRequest>,
|
|
2547
|
+
) -> Self::Future {
|
|
2548
|
+
let inner = Arc::clone(&self.0);
|
|
2549
|
+
let fut = async move {
|
|
2550
|
+
<T as MemoryGraphService>::create_template(&inner, request)
|
|
2551
|
+
.await
|
|
2552
|
+
};
|
|
2553
|
+
Box::pin(fut)
|
|
2554
|
+
}
|
|
2555
|
+
}
|
|
2556
|
+
let accept_compression_encodings = self.accept_compression_encodings;
|
|
2557
|
+
let send_compression_encodings = self.send_compression_encodings;
|
|
2558
|
+
let max_decoding_message_size = self.max_decoding_message_size;
|
|
2559
|
+
let max_encoding_message_size = self.max_encoding_message_size;
|
|
2560
|
+
let inner = self.inner.clone();
|
|
2561
|
+
let fut = async move {
|
|
2562
|
+
let inner = inner.0;
|
|
2563
|
+
let method = CreateTemplateSvc(inner);
|
|
2564
|
+
let codec = tonic::codec::ProstCodec::default();
|
|
2565
|
+
let mut grpc = tonic::server::Grpc::new(codec)
|
|
2566
|
+
.apply_compression_config(
|
|
2567
|
+
accept_compression_encodings,
|
|
2568
|
+
send_compression_encodings,
|
|
2569
|
+
)
|
|
2570
|
+
.apply_max_message_size_config(
|
|
2571
|
+
max_decoding_message_size,
|
|
2572
|
+
max_encoding_message_size,
|
|
2573
|
+
);
|
|
2574
|
+
let res = grpc.unary(method, req).await;
|
|
2575
|
+
Ok(res)
|
|
2576
|
+
};
|
|
2577
|
+
Box::pin(fut)
|
|
2578
|
+
}
|
|
2579
|
+
"/llm.memory.graph.v1.MemoryGraphService/InstantiateTemplate" => {
|
|
2580
|
+
#[allow(non_camel_case_types)]
|
|
2581
|
+
struct InstantiateTemplateSvc<T: MemoryGraphService>(pub Arc<T>);
|
|
2582
|
+
impl<
|
|
2583
|
+
T: MemoryGraphService,
|
|
2584
|
+
> tonic::server::UnaryService<super::InstantiateTemplateRequest>
|
|
2585
|
+
for InstantiateTemplateSvc<T> {
|
|
2586
|
+
type Response = super::PromptNode;
|
|
2587
|
+
type Future = BoxFuture<
|
|
2588
|
+
tonic::Response<Self::Response>,
|
|
2589
|
+
tonic::Status,
|
|
2590
|
+
>;
|
|
2591
|
+
fn call(
|
|
2592
|
+
&mut self,
|
|
2593
|
+
request: tonic::Request<super::InstantiateTemplateRequest>,
|
|
2594
|
+
) -> Self::Future {
|
|
2595
|
+
let inner = Arc::clone(&self.0);
|
|
2596
|
+
let fut = async move {
|
|
2597
|
+
<T as MemoryGraphService>::instantiate_template(
|
|
2598
|
+
&inner,
|
|
2599
|
+
request,
|
|
2600
|
+
)
|
|
2601
|
+
.await
|
|
2602
|
+
};
|
|
2603
|
+
Box::pin(fut)
|
|
2604
|
+
}
|
|
2605
|
+
}
|
|
2606
|
+
let accept_compression_encodings = self.accept_compression_encodings;
|
|
2607
|
+
let send_compression_encodings = self.send_compression_encodings;
|
|
2608
|
+
let max_decoding_message_size = self.max_decoding_message_size;
|
|
2609
|
+
let max_encoding_message_size = self.max_encoding_message_size;
|
|
2610
|
+
let inner = self.inner.clone();
|
|
2611
|
+
let fut = async move {
|
|
2612
|
+
let inner = inner.0;
|
|
2613
|
+
let method = InstantiateTemplateSvc(inner);
|
|
2614
|
+
let codec = tonic::codec::ProstCodec::default();
|
|
2615
|
+
let mut grpc = tonic::server::Grpc::new(codec)
|
|
2616
|
+
.apply_compression_config(
|
|
2617
|
+
accept_compression_encodings,
|
|
2618
|
+
send_compression_encodings,
|
|
2619
|
+
)
|
|
2620
|
+
.apply_max_message_size_config(
|
|
2621
|
+
max_decoding_message_size,
|
|
2622
|
+
max_encoding_message_size,
|
|
2623
|
+
);
|
|
2624
|
+
let res = grpc.unary(method, req).await;
|
|
2625
|
+
Ok(res)
|
|
2626
|
+
};
|
|
2627
|
+
Box::pin(fut)
|
|
2628
|
+
}
|
|
2629
|
+
"/llm.memory.graph.v1.MemoryGraphService/StreamEvents" => {
|
|
2630
|
+
#[allow(non_camel_case_types)]
|
|
2631
|
+
struct StreamEventsSvc<T: MemoryGraphService>(pub Arc<T>);
|
|
2632
|
+
impl<
|
|
2633
|
+
T: MemoryGraphService,
|
|
2634
|
+
> tonic::server::ServerStreamingService<super::StreamEventsRequest>
|
|
2635
|
+
for StreamEventsSvc<T> {
|
|
2636
|
+
type Response = super::Event;
|
|
2637
|
+
type ResponseStream = T::StreamEventsStream;
|
|
2638
|
+
type Future = BoxFuture<
|
|
2639
|
+
tonic::Response<Self::ResponseStream>,
|
|
2640
|
+
tonic::Status,
|
|
2641
|
+
>;
|
|
2642
|
+
fn call(
|
|
2643
|
+
&mut self,
|
|
2644
|
+
request: tonic::Request<super::StreamEventsRequest>,
|
|
2645
|
+
) -> Self::Future {
|
|
2646
|
+
let inner = Arc::clone(&self.0);
|
|
2647
|
+
let fut = async move {
|
|
2648
|
+
<T as MemoryGraphService>::stream_events(&inner, request)
|
|
2649
|
+
.await
|
|
2650
|
+
};
|
|
2651
|
+
Box::pin(fut)
|
|
2652
|
+
}
|
|
2653
|
+
}
|
|
2654
|
+
let accept_compression_encodings = self.accept_compression_encodings;
|
|
2655
|
+
let send_compression_encodings = self.send_compression_encodings;
|
|
2656
|
+
let max_decoding_message_size = self.max_decoding_message_size;
|
|
2657
|
+
let max_encoding_message_size = self.max_encoding_message_size;
|
|
2658
|
+
let inner = self.inner.clone();
|
|
2659
|
+
let fut = async move {
|
|
2660
|
+
let inner = inner.0;
|
|
2661
|
+
let method = StreamEventsSvc(inner);
|
|
2662
|
+
let codec = tonic::codec::ProstCodec::default();
|
|
2663
|
+
let mut grpc = tonic::server::Grpc::new(codec)
|
|
2664
|
+
.apply_compression_config(
|
|
2665
|
+
accept_compression_encodings,
|
|
2666
|
+
send_compression_encodings,
|
|
2667
|
+
)
|
|
2668
|
+
.apply_max_message_size_config(
|
|
2669
|
+
max_decoding_message_size,
|
|
2670
|
+
max_encoding_message_size,
|
|
2671
|
+
);
|
|
2672
|
+
let res = grpc.server_streaming(method, req).await;
|
|
2673
|
+
Ok(res)
|
|
2674
|
+
};
|
|
2675
|
+
Box::pin(fut)
|
|
2676
|
+
}
|
|
2677
|
+
"/llm.memory.graph.v1.MemoryGraphService/SubscribeToSession" => {
|
|
2678
|
+
#[allow(non_camel_case_types)]
|
|
2679
|
+
struct SubscribeToSessionSvc<T: MemoryGraphService>(pub Arc<T>);
|
|
2680
|
+
impl<
|
|
2681
|
+
T: MemoryGraphService,
|
|
2682
|
+
> tonic::server::ServerStreamingService<super::SubscribeRequest>
|
|
2683
|
+
for SubscribeToSessionSvc<T> {
|
|
2684
|
+
type Response = super::SessionEvent;
|
|
2685
|
+
type ResponseStream = T::SubscribeToSessionStream;
|
|
2686
|
+
type Future = BoxFuture<
|
|
2687
|
+
tonic::Response<Self::ResponseStream>,
|
|
2688
|
+
tonic::Status,
|
|
2689
|
+
>;
|
|
2690
|
+
fn call(
|
|
2691
|
+
&mut self,
|
|
2692
|
+
request: tonic::Request<super::SubscribeRequest>,
|
|
2693
|
+
) -> Self::Future {
|
|
2694
|
+
let inner = Arc::clone(&self.0);
|
|
2695
|
+
let fut = async move {
|
|
2696
|
+
<T as MemoryGraphService>::subscribe_to_session(
|
|
2697
|
+
&inner,
|
|
2698
|
+
request,
|
|
2699
|
+
)
|
|
2700
|
+
.await
|
|
2701
|
+
};
|
|
2702
|
+
Box::pin(fut)
|
|
2703
|
+
}
|
|
2704
|
+
}
|
|
2705
|
+
let accept_compression_encodings = self.accept_compression_encodings;
|
|
2706
|
+
let send_compression_encodings = self.send_compression_encodings;
|
|
2707
|
+
let max_decoding_message_size = self.max_decoding_message_size;
|
|
2708
|
+
let max_encoding_message_size = self.max_encoding_message_size;
|
|
2709
|
+
let inner = self.inner.clone();
|
|
2710
|
+
let fut = async move {
|
|
2711
|
+
let inner = inner.0;
|
|
2712
|
+
let method = SubscribeToSessionSvc(inner);
|
|
2713
|
+
let codec = tonic::codec::ProstCodec::default();
|
|
2714
|
+
let mut grpc = tonic::server::Grpc::new(codec)
|
|
2715
|
+
.apply_compression_config(
|
|
2716
|
+
accept_compression_encodings,
|
|
2717
|
+
send_compression_encodings,
|
|
2718
|
+
)
|
|
2719
|
+
.apply_max_message_size_config(
|
|
2720
|
+
max_decoding_message_size,
|
|
2721
|
+
max_encoding_message_size,
|
|
2722
|
+
);
|
|
2723
|
+
let res = grpc.server_streaming(method, req).await;
|
|
2724
|
+
Ok(res)
|
|
2725
|
+
};
|
|
2726
|
+
Box::pin(fut)
|
|
2727
|
+
}
|
|
2728
|
+
"/llm.memory.graph.v1.MemoryGraphService/Health" => {
|
|
2729
|
+
#[allow(non_camel_case_types)]
|
|
2730
|
+
struct HealthSvc<T: MemoryGraphService>(pub Arc<T>);
|
|
2731
|
+
impl<T: MemoryGraphService> tonic::server::UnaryService<()>
|
|
2732
|
+
for HealthSvc<T> {
|
|
2733
|
+
type Response = super::HealthResponse;
|
|
2734
|
+
type Future = BoxFuture<
|
|
2735
|
+
tonic::Response<Self::Response>,
|
|
2736
|
+
tonic::Status,
|
|
2737
|
+
>;
|
|
2738
|
+
fn call(&mut self, request: tonic::Request<()>) -> Self::Future {
|
|
2739
|
+
let inner = Arc::clone(&self.0);
|
|
2740
|
+
let fut = async move {
|
|
2741
|
+
<T as MemoryGraphService>::health(&inner, request).await
|
|
2742
|
+
};
|
|
2743
|
+
Box::pin(fut)
|
|
2744
|
+
}
|
|
2745
|
+
}
|
|
2746
|
+
let accept_compression_encodings = self.accept_compression_encodings;
|
|
2747
|
+
let send_compression_encodings = self.send_compression_encodings;
|
|
2748
|
+
let max_decoding_message_size = self.max_decoding_message_size;
|
|
2749
|
+
let max_encoding_message_size = self.max_encoding_message_size;
|
|
2750
|
+
let inner = self.inner.clone();
|
|
2751
|
+
let fut = async move {
|
|
2752
|
+
let inner = inner.0;
|
|
2753
|
+
let method = HealthSvc(inner);
|
|
2754
|
+
let codec = tonic::codec::ProstCodec::default();
|
|
2755
|
+
let mut grpc = tonic::server::Grpc::new(codec)
|
|
2756
|
+
.apply_compression_config(
|
|
2757
|
+
accept_compression_encodings,
|
|
2758
|
+
send_compression_encodings,
|
|
2759
|
+
)
|
|
2760
|
+
.apply_max_message_size_config(
|
|
2761
|
+
max_decoding_message_size,
|
|
2762
|
+
max_encoding_message_size,
|
|
2763
|
+
);
|
|
2764
|
+
let res = grpc.unary(method, req).await;
|
|
2765
|
+
Ok(res)
|
|
2766
|
+
};
|
|
2767
|
+
Box::pin(fut)
|
|
2768
|
+
}
|
|
2769
|
+
"/llm.memory.graph.v1.MemoryGraphService/GetMetrics" => {
|
|
2770
|
+
#[allow(non_camel_case_types)]
|
|
2771
|
+
struct GetMetricsSvc<T: MemoryGraphService>(pub Arc<T>);
|
|
2772
|
+
impl<T: MemoryGraphService> tonic::server::UnaryService<()>
|
|
2773
|
+
for GetMetricsSvc<T> {
|
|
2774
|
+
type Response = super::MetricsResponse;
|
|
2775
|
+
type Future = BoxFuture<
|
|
2776
|
+
tonic::Response<Self::Response>,
|
|
2777
|
+
tonic::Status,
|
|
2778
|
+
>;
|
|
2779
|
+
fn call(&mut self, request: tonic::Request<()>) -> Self::Future {
|
|
2780
|
+
let inner = Arc::clone(&self.0);
|
|
2781
|
+
let fut = async move {
|
|
2782
|
+
<T as MemoryGraphService>::get_metrics(&inner, request)
|
|
2783
|
+
.await
|
|
2784
|
+
};
|
|
2785
|
+
Box::pin(fut)
|
|
2786
|
+
}
|
|
2787
|
+
}
|
|
2788
|
+
let accept_compression_encodings = self.accept_compression_encodings;
|
|
2789
|
+
let send_compression_encodings = self.send_compression_encodings;
|
|
2790
|
+
let max_decoding_message_size = self.max_decoding_message_size;
|
|
2791
|
+
let max_encoding_message_size = self.max_encoding_message_size;
|
|
2792
|
+
let inner = self.inner.clone();
|
|
2793
|
+
let fut = async move {
|
|
2794
|
+
let inner = inner.0;
|
|
2795
|
+
let method = GetMetricsSvc(inner);
|
|
2796
|
+
let codec = tonic::codec::ProstCodec::default();
|
|
2797
|
+
let mut grpc = tonic::server::Grpc::new(codec)
|
|
2798
|
+
.apply_compression_config(
|
|
2799
|
+
accept_compression_encodings,
|
|
2800
|
+
send_compression_encodings,
|
|
2801
|
+
)
|
|
2802
|
+
.apply_max_message_size_config(
|
|
2803
|
+
max_decoding_message_size,
|
|
2804
|
+
max_encoding_message_size,
|
|
2805
|
+
);
|
|
2806
|
+
let res = grpc.unary(method, req).await;
|
|
2807
|
+
Ok(res)
|
|
2808
|
+
};
|
|
2809
|
+
Box::pin(fut)
|
|
2810
|
+
}
|
|
2811
|
+
_ => {
|
|
2812
|
+
Box::pin(async move {
|
|
2813
|
+
Ok(
|
|
2814
|
+
http::Response::builder()
|
|
2815
|
+
.status(200)
|
|
2816
|
+
.header("grpc-status", "12")
|
|
2817
|
+
.header("content-type", "application/grpc")
|
|
2818
|
+
.body(empty_body())
|
|
2819
|
+
.unwrap(),
|
|
2820
|
+
)
|
|
2821
|
+
})
|
|
2822
|
+
}
|
|
2823
|
+
}
|
|
2824
|
+
}
|
|
2825
|
+
}
|
|
2826
|
+
impl<T: MemoryGraphService> Clone for MemoryGraphServiceServer<T> {
|
|
2827
|
+
fn clone(&self) -> Self {
|
|
2828
|
+
let inner = self.inner.clone();
|
|
2829
|
+
Self {
|
|
2830
|
+
inner,
|
|
2831
|
+
accept_compression_encodings: self.accept_compression_encodings,
|
|
2832
|
+
send_compression_encodings: self.send_compression_encodings,
|
|
2833
|
+
max_decoding_message_size: self.max_decoding_message_size,
|
|
2834
|
+
max_encoding_message_size: self.max_encoding_message_size,
|
|
2835
|
+
}
|
|
2836
|
+
}
|
|
2837
|
+
}
|
|
2838
|
+
impl<T: MemoryGraphService> Clone for _Inner<T> {
|
|
2839
|
+
fn clone(&self) -> Self {
|
|
2840
|
+
Self(Arc::clone(&self.0))
|
|
2841
|
+
}
|
|
2842
|
+
}
|
|
2843
|
+
impl<T: std::fmt::Debug> std::fmt::Debug for _Inner<T> {
|
|
2844
|
+
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
|
2845
|
+
write!(f, "{:?}", self.0)
|
|
2846
|
+
}
|
|
2847
|
+
}
|
|
2848
|
+
impl<T: MemoryGraphService> tonic::server::NamedService
|
|
2849
|
+
for MemoryGraphServiceServer<T> {
|
|
2850
|
+
const NAME: &'static str = "llm.memory.graph.v1.MemoryGraphService";
|
|
2851
|
+
}
|
|
2852
|
+
}
|