@flowdular/sdk 0.1.0
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/.ai/agents/README.md +27 -0
- package/.ai/agents/module-executor.md +36 -0
- package/.ai/agents/reviewer.md +23 -0
- package/.ai/agents/sandbox/agentic-engineer.md +31 -0
- package/.ai/agents/sandbox/backend-engineer.md +36 -0
- package/.ai/agents/sandbox/business-manager.md +23 -0
- package/.ai/agents/sandbox/frontend-engineer.md +27 -0
- package/.ai/agents/sandbox/ux-designer.md +23 -0
- package/.ai/agents/spec-author.md +29 -0
- package/.ai/blueprints/add-migration/README.md +5 -0
- package/.ai/blueprints/add-migration/allowed-paths.yaml +23 -0
- package/.ai/blueprints/add-migration/blueprint.json +14 -0
- package/.ai/blueprints/add-migration/examples/invalid/input-destructive.json +6 -0
- package/.ai/blueprints/add-migration/examples/invalid/plan-unnumbered-file.json +9 -0
- package/.ai/blueprints/add-migration/examples/valid/input.json +6 -0
- package/.ai/blueprints/add-migration/examples/valid/plan.json +9 -0
- package/.ai/blueprints/add-migration/gates.yaml +30 -0
- package/.ai/blueprints/add-migration/input.schema.json +23 -0
- package/.ai/blueprints/add-migration/plan.schema.json +54 -0
- package/.ai/blueprints/add-migration/required-files.yaml +18 -0
- package/.ai/blueprints/add-migration/spec-requirements.yaml +13 -0
- package/.ai/blueprints/add-migration/steps.yaml +62 -0
- package/.ai/blueprints/author-spec/README.md +5 -0
- package/.ai/blueprints/author-spec/allowed-paths.yaml +7 -0
- package/.ai/blueprints/author-spec/blueprint.json +14 -0
- package/.ai/blueprints/author-spec/examples/invalid/input-missing-outcome.json +5 -0
- package/.ai/blueprints/author-spec/examples/valid/input.json +6 -0
- package/.ai/blueprints/author-spec/gates.yaml +13 -0
- package/.ai/blueprints/author-spec/input.schema.json +20 -0
- package/.ai/blueprints/author-spec/plan.schema.json +14 -0
- package/.ai/blueprints/author-spec/required-files.yaml +6 -0
- package/.ai/blueprints/author-spec/spec-requirements.yaml +35 -0
- package/.ai/blueprints/author-spec/steps.yaml +28 -0
- package/.ai/blueprints/author-spec/templates/module.yaml +45 -0
- package/.ai/blueprints/bug-fix/README.md +5 -0
- package/.ai/blueprints/bug-fix/allowed-paths.yaml +29 -0
- package/.ai/blueprints/bug-fix/blueprint.json +14 -0
- package/.ai/blueprints/bug-fix/examples/invalid/input-no-symptom.json +4 -0
- package/.ai/blueprints/bug-fix/examples/invalid/plan-no-test.json +8 -0
- package/.ai/blueprints/bug-fix/examples/valid/input.json +6 -0
- package/.ai/blueprints/bug-fix/examples/valid/plan.json +8 -0
- package/.ai/blueprints/bug-fix/gates.yaml +30 -0
- package/.ai/blueprints/bug-fix/input.schema.json +25 -0
- package/.ai/blueprints/bug-fix/plan.schema.json +53 -0
- package/.ai/blueprints/bug-fix/required-files.yaml +7 -0
- package/.ai/blueprints/bug-fix/spec-requirements.yaml +7 -0
- package/.ai/blueprints/bug-fix/steps.yaml +51 -0
- package/.ai/blueprints/core-extend/README.md +5 -0
- package/.ai/blueprints/core-extend/allowed-paths.yaml +49 -0
- package/.ai/blueprints/core-extend/blueprint.json +14 -0
- package/.ai/blueprints/core-extend/examples/invalid/input-unknown-package.json +5 -0
- package/.ai/blueprints/core-extend/examples/invalid/plan-missing-gates.json +7 -0
- package/.ai/blueprints/core-extend/examples/valid/input.json +6 -0
- package/.ai/blueprints/core-extend/examples/valid/plan.json +10 -0
- package/.ai/blueprints/core-extend/gates.yaml +16 -0
- package/.ai/blueprints/core-extend/input.schema.json +54 -0
- package/.ai/blueprints/core-extend/plan.schema.json +39 -0
- package/.ai/blueprints/core-extend/required-files.yaml +36 -0
- package/.ai/blueprints/core-extend/spec-requirements.yaml +17 -0
- package/.ai/blueprints/core-extend/steps.yaml +54 -0
- package/.ai/blueprints/edit-module/README.md +9 -0
- package/.ai/blueprints/edit-module/allowed-paths.yaml +27 -0
- package/.ai/blueprints/edit-module/blueprint.json +20 -0
- package/.ai/blueprints/edit-module/examples/invalid/input-unknown-change.json +5 -0
- package/.ai/blueprints/edit-module/examples/invalid/plan-touches-platform.json +15 -0
- package/.ai/blueprints/edit-module/examples/valid/input.json +5 -0
- package/.ai/blueprints/edit-module/examples/valid/plan.json +25 -0
- package/.ai/blueprints/edit-module/gates.yaml +30 -0
- package/.ai/blueprints/edit-module/input.schema.json +31 -0
- package/.ai/blueprints/edit-module/plan.schema.json +65 -0
- package/.ai/blueprints/edit-module/required-files.yaml +80 -0
- package/.ai/blueprints/edit-module/spec-requirements.yaml +15 -0
- package/.ai/blueprints/edit-module/steps.yaml +115 -0
- package/.ai/blueprints/new-module/README.md +7 -0
- package/.ai/blueprints/new-module/allowed-paths.yaml +27 -0
- package/.ai/blueprints/new-module/blueprint.json +20 -0
- package/.ai/blueprints/new-module/examples/invalid/input-spec-outside-modules.json +4 -0
- package/.ai/blueprints/new-module/examples/invalid/plan-unknown-gate.json +8 -0
- package/.ai/blueprints/new-module/examples/valid/input.json +5 -0
- package/.ai/blueprints/new-module/examples/valid/plan.json +22 -0
- package/.ai/blueprints/new-module/gates.yaml +30 -0
- package/.ai/blueprints/new-module/input.schema.json +21 -0
- package/.ai/blueprints/new-module/plan.schema.json +58 -0
- package/.ai/blueprints/new-module/required-files.yaml +73 -0
- package/.ai/blueprints/new-module/spec-requirements.yaml +30 -0
- package/.ai/blueprints/new-module/steps.yaml +138 -0
- package/.ai/blueprints/release/README.md +5 -0
- package/.ai/blueprints/release/allowed-paths.yaml +19 -0
- package/.ai/blueprints/release/blueprint.json +14 -0
- package/.ai/blueprints/release/examples/invalid/input-bad-version.json +4 -0
- package/.ai/blueprints/release/examples/invalid/plan-bad-branch.json +7 -0
- package/.ai/blueprints/release/examples/valid/input.json +5 -0
- package/.ai/blueprints/release/examples/valid/plan.json +20 -0
- package/.ai/blueprints/release/gates.yaml +20 -0
- package/.ai/blueprints/release/input.schema.json +24 -0
- package/.ai/blueprints/release/plan.schema.json +46 -0
- package/.ai/blueprints/release/required-files.yaml +19 -0
- package/.ai/blueprints/release/spec-requirements.yaml +8 -0
- package/.ai/blueprints/release/steps.yaml +47 -0
- package/.ai/blueprints/security-review/README.md +5 -0
- package/.ai/blueprints/security-review/allowed-paths.yaml +6 -0
- package/.ai/blueprints/security-review/blueprint.json +14 -0
- package/.ai/blueprints/security-review/examples/invalid/input-unknown-kind.json +4 -0
- package/.ai/blueprints/security-review/examples/invalid/plan-finding-without-scenario.json +14 -0
- package/.ai/blueprints/security-review/examples/valid/input.json +4 -0
- package/.ai/blueprints/security-review/examples/valid/plan.json +19 -0
- package/.ai/blueprints/security-review/gates.yaml +22 -0
- package/.ai/blueprints/security-review/input.schema.json +20 -0
- package/.ai/blueprints/security-review/plan.schema.json +65 -0
- package/.ai/blueprints/security-review/required-files.yaml +6 -0
- package/.ai/blueprints/security-review/spec-requirements.yaml +9 -0
- package/.ai/blueprints/security-review/steps.yaml +38 -0
- package/.ai/policies/capabilities.yaml +164 -0
- package/.ai/policies/model-routing.yaml +72 -0
- package/.ai/policies/path-ownership.yaml +65 -0
- package/.ai/policies/task-budgets.yaml +37 -0
- package/.ai/references/catalog/LICENSE +21 -0
- package/.ai/references/catalog/migrations/0001_catalog_core.down.sql +2 -0
- package/.ai/references/catalog/migrations/0001_catalog_core.up.sql +21 -0
- package/.ai/references/catalog/migrations/0002_catalog_history.down.sql +3 -0
- package/.ai/references/catalog/migrations/0002_catalog_history.up.sql +20 -0
- package/.ai/references/catalog/migrations/0003_catalog_history_service_actors.down.sql +3 -0
- package/.ai/references/catalog/migrations/0003_catalog_history_service_actors.up.sql +36 -0
- package/.ai/references/catalog/migrations/0004_catalog_idempotency_ledger.down.sql +3 -0
- package/.ai/references/catalog/migrations/0004_catalog_idempotency_ledger.up.sql +19 -0
- package/.ai/references/catalog/migrations/README.md +3 -0
- package/.ai/references/catalog/module.json +27 -0
- package/.ai/references/catalog/package.json +49 -0
- package/.ai/references/catalog/spec/module.yaml +86 -0
- package/.ai/references/catalog/src/acl/permissions.ts +6 -0
- package/.ai/references/catalog/src/agent/tools.ts +164 -0
- package/.ai/references/catalog/src/api/endpoints.ts +243 -0
- package/.ai/references/catalog/src/client/CatalogHistoryDrawer.tsrx +123 -0
- package/.ai/references/catalog/src/client/CatalogItemForm.tsrx +190 -0
- package/.ai/references/catalog/src/client/CatalogView.tsrx +473 -0
- package/.ai/references/catalog/src/client/api.ts +111 -0
- package/.ai/references/catalog/src/client/contribution.tsrx +61 -0
- package/.ai/references/catalog/src/client/index.ts +18 -0
- package/.ai/references/catalog/src/client/navigation-copy.ts +9 -0
- package/.ai/references/catalog/src/client/state.ts +24 -0
- package/.ai/references/catalog/src/domain/types.ts +32 -0
- package/.ai/references/catalog/src/domain/variables.ts +111 -0
- package/.ai/references/catalog/src/index.ts +31 -0
- package/.ai/references/catalog/src/platform.ts +35 -0
- package/.ai/references/catalog/src/server/index.ts +4 -0
- package/.ai/references/catalog/src/server/runtime.ts +86 -0
- package/.ai/references/catalog/src/services/catalog-service.ts +306 -0
- package/.ai/references/catalog/src/services/database-repository.ts +440 -0
- package/.ai/references/catalog/src/services/index.ts +4 -0
- package/.ai/references/catalog/src/services/migration.ts +171 -0
- package/.ai/references/catalog/src/services/repository.ts +36 -0
- package/.ai/references/catalog/src/services/target-idempotency.ts +59 -0
- package/.ai/references/catalog/tests/agent-tools.test.ts +277 -0
- package/.ai/references/catalog/tests/endpoints.test.ts +320 -0
- package/.ai/references/catalog/tests/idempotency.test.ts +297 -0
- package/.ai/references/catalog/tests/migrations.test.ts +149 -0
- package/.ai/references/catalog/tests/module.test.ts +271 -0
- package/.ai/references/catalog/tests/support/database.ts +76 -0
- package/.ai/references/catalog/translations/en.json +101 -0
- package/.ai/references/catalog/translations/pl.json +101 -0
- package/.ai/references/catalog/tsconfig.json +15 -0
- package/.ai/references/catalog/vitest.config.ts +16 -0
- package/.ai/references/catalog.provenance.json +55 -0
- package/.ai/skills/README.md +36 -0
- package/.ai/skills/agent-tool-design/SKILL.md +209 -0
- package/.ai/skills/auth-security-review/SKILL.md +96 -0
- package/.ai/skills/auto-review/SKILL.md +112 -0
- package/.ai/skills/bug-hunt/SKILL.md +110 -0
- package/.ai/skills/business-agent-design/SKILL.md +188 -0
- package/.ai/skills/cli-extension/SKILL.md +114 -0
- package/.ai/skills/core-extend/SKILL.md +104 -0
- package/.ai/skills/database-adapter/SKILL.md +204 -0
- package/.ai/skills/database-adapter/references/first-run-and-matrix.md +105 -0
- package/.ai/skills/migration-authoring/SKILL.md +167 -0
- package/.ai/skills/module-new/SKILL.md +180 -0
- package/.ai/skills/module-update/SKILL.md +100 -0
- package/.ai/skills/perf-audit/SKILL.md +105 -0
- package/.ai/skills/release-eject-pr/SKILL.md +113 -0
- package/.ai/skills/spec-approval/SKILL.md +112 -0
- package/.ai/skills/test-hardening/SKILL.md +86 -0
- package/.ai/skills/translations-i18n/SKILL.md +85 -0
- package/.ai/skills/ux-design/SKILL.md +97 -0
- package/.ai/skills/variables/SKILL.md +164 -0
- package/.ai/skills/workflow-development/SKILL.md +199 -0
- package/AGENTS.md +59 -0
- package/LICENSE +21 -0
- package/README.md +24 -0
- package/docs/agent-contract.md +45 -0
- package/docs/design-system.md +217 -0
- package/modules/agents/migrations/0001_agents_core.down.sql +4 -0
- package/modules/agents/migrations/0001_agents_core.up.sql +106 -0
- package/modules/agents/migrations/0002_provider_connections.down.sql +1 -0
- package/modules/agents/migrations/0002_provider_connections.up.sql +34 -0
- package/modules/agents/migrations/0003_resource_audit.down.sql +1 -0
- package/modules/agents/migrations/0003_resource_audit.up.sql +25 -0
- package/modules/agents/migrations/0004_run_grants.down.sql +1 -0
- package/modules/agents/migrations/0004_run_grants.up.sql +19 -0
- package/modules/agents/migrations/0005_long_running_limits.down.sql +2 -0
- package/modules/agents/migrations/0005_long_running_limits.up.sql +14 -0
- package/modules/agents/migrations/0006_agent_skills.down.sql +3 -0
- package/modules/agents/migrations/0006_agent_skills.up.sql +44 -0
- package/modules/agents/migrations/0007_model_readiness.down.sql +1 -0
- package/modules/agents/migrations/0007_model_readiness.up.sql +18 -0
- package/modules/agents/migrations/0008_output_limits.down.sql +2 -0
- package/modules/agents/migrations/0008_output_limits.up.sql +8 -0
- package/modules/agents/migrations/0009_agent_audit_v3.down.sql +1 -0
- package/modules/agents/migrations/0009_agent_audit_v3.up.sql +25 -0
- package/modules/agents/migrations/0012_agent_run_costs.down.sql +3 -0
- package/modules/agents/migrations/0012_agent_run_costs.up.sql +32 -0
- package/modules/agents/migrations/0013_workflow_prerequisites.down.sql +3 -0
- package/modules/agents/migrations/0013_workflow_prerequisites.up.sql +97 -0
- package/modules/agents/migrations/0014_agent_action_audit.down.sql +1 -0
- package/modules/agents/migrations/0014_agent_action_audit.up.sql +25 -0
- package/modules/agents/migrations/0015_agent_run_actors.down.sql +1 -0
- package/modules/agents/migrations/0015_agent_run_actors.up.sql +17 -0
- package/modules/agents/migrations/0016_module_owned_agents.down.sql +6 -0
- package/modules/agents/migrations/0016_module_owned_agents.up.sql +68 -0
- package/modules/agents/migrations/0017_agent_authorization_subjects.down.sql +2 -0
- package/modules/agents/migrations/0017_agent_authorization_subjects.up.sql +18 -0
- package/modules/agents/migrations/0018_agent_child_tenant_isolation.down.sql +12 -0
- package/modules/agents/migrations/0018_agent_child_tenant_isolation.up.sql +88 -0
- package/modules/agents/migrations/0019_background_recovery_grants.down.sql +6 -0
- package/modules/agents/migrations/0019_background_recovery_grants.up.sql +17 -0
- package/modules/agents/migrations/0020_provider_summary_role.down.sql +2 -0
- package/modules/agents/migrations/0020_provider_summary_role.up.sql +17 -0
- package/modules/agents/migrations/0021_agents_agent_reconciliation_role.down.sql +4 -0
- package/modules/agents/migrations/0021_agents_agent_reconciliation_role.up.sql +7 -0
- package/modules/agents/migrations/README.md +39 -0
- package/modules/agents/module.json +38 -0
- package/modules/agents/package.json +56 -0
- package/modules/agents/spec/module.yaml +271 -0
- package/modules/agents/spec/procedures-compatibility.md +63 -0
- package/modules/agents/src/acl/permissions.ts +13 -0
- package/modules/agents/src/api/endpoints.ts +1122 -0
- package/modules/agents/src/cli/commands.json +29 -0
- package/modules/agents/src/cli/index.ts +162 -0
- package/modules/agents/src/client/AgentDashboardWidget.tsrx +32 -0
- package/modules/agents/src/client/AgentDefinitionForm.tsrx +362 -0
- package/modules/agents/src/client/AgentDefinitionList.tsrx +127 -0
- package/modules/agents/src/client/AgentPlaygroundView.tsrx +246 -0
- package/modules/agents/src/client/AgentProcedureForm.tsrx +182 -0
- package/modules/agents/src/client/AgentProcedureList.tsrx +118 -0
- package/modules/agents/src/client/AgentProceduresView.tsrx +253 -0
- package/modules/agents/src/client/AgentProvidersView.tsrx +248 -0
- package/modules/agents/src/client/AgentRunsView.tsrx +304 -0
- package/modules/agents/src/client/AgentUsageView.tsrx +233 -0
- package/modules/agents/src/client/AgentsView.tsrx +339 -0
- package/modules/agents/src/client/ModuleAgentBindingForm.tsrx +239 -0
- package/modules/agents/src/client/ModuleAgentList.tsrx +122 -0
- package/modules/agents/src/client/ProviderConnectionForm.tsrx +273 -0
- package/modules/agents/src/client/ProviderConnectionList.tsrx +229 -0
- package/modules/agents/src/client/ProviderModelEditor.tsrx +313 -0
- package/modules/agents/src/client/RunTimeline.tsrx +212 -0
- package/modules/agents/src/client/agents.css +349 -0
- package/modules/agents/src/client/api.ts +373 -0
- package/modules/agents/src/client/contribution.tsrx +181 -0
- package/modules/agents/src/client/index.ts +21 -0
- package/modules/agents/src/client/presentation.ts +162 -0
- package/modules/agents/src/client/state.ts +100 -0
- package/modules/agents/src/domain/context-variables.ts +58 -0
- package/modules/agents/src/domain/run-timeline.ts +145 -0
- package/modules/agents/src/domain/types.ts +481 -0
- package/modules/agents/src/index.ts +88 -0
- package/modules/agents/src/platform.ts +82 -0
- package/modules/agents/src/server/action-execution.ts +811 -0
- package/modules/agents/src/server/define-agent.ts +170 -0
- package/modules/agents/src/server/index.ts +67 -0
- package/modules/agents/src/server/run-execution.ts +231 -0
- package/modules/agents/src/server/run-queue.ts +96 -0
- package/modules/agents/src/server/runtime.ts +448 -0
- package/modules/agents/src/server/tools.ts +18 -0
- package/modules/agents/src/services/agent-service.ts +2167 -0
- package/modules/agents/src/services/credential-vault.ts +133 -0
- package/modules/agents/src/services/database-repository.ts +2786 -0
- package/modules/agents/src/services/index.ts +33 -0
- package/modules/agents/src/services/migration.ts +1152 -0
- package/modules/agents/src/services/module-agent-preflight.ts +76 -0
- package/modules/agents/src/services/outbound-policy.ts +136 -0
- package/modules/agents/src/services/provider-broker.ts +80 -0
- package/modules/agents/src/services/provider-repository.ts +589 -0
- package/modules/agents/src/services/provider-service.ts +968 -0
- package/modules/agents/src/services/repository.ts +294 -0
- package/modules/agents/src/services/run-grant.ts +305 -0
- package/modules/agents/src/services/usage-service.ts +119 -0
- package/modules/agents/src/services/worker.ts +442 -0
- package/modules/agents/src/settings.ts +244 -0
- package/modules/agents/translations/en.json +403 -0
- package/modules/agents/translations/pl.json +403 -0
- package/modules/auth/README.md +215 -0
- package/modules/auth/migrations/0001_auth_core.up.sql +108 -0
- package/modules/auth/migrations/0002_bundled_module_scopes.up.sql +26 -0
- package/modules/auth/migrations/0003_agent_core_scopes.up.sql +12 -0
- package/modules/auth/migrations/0004_owner_only_development_scopes.up.sql +8 -0
- package/modules/auth/migrations/0005_agent_provider_scopes.up.sql +13 -0
- package/modules/auth/migrations/0006_tenant_slug.up.sql +6 -0
- package/modules/auth/migrations/0007_sandbox_scopes.up.sql +13 -0
- package/modules/auth/migrations/0008_api_tokens.up.sql +43 -0
- package/modules/auth/migrations/0009_module_settings.up.sql +24 -0
- package/modules/auth/migrations/0010_sign_in_lockout.up.sql +11 -0
- package/modules/auth/migrations/0011_session_ids_and_password_reset.up.sql +7 -0
- package/modules/auth/migrations/0012_roles.up.sql +31 -0
- package/modules/auth/migrations/0013_audit.up.sql +27 -0
- package/modules/auth/migrations/0014_audit_actor.up.sql +4 -0
- package/modules/auth/migrations/0015_account_security.up.sql +81 -0
- package/modules/auth/module.json +26 -0
- package/modules/auth/package.json +61 -0
- package/modules/auth/spec/module.yaml +190 -0
- package/modules/auth/src/acl/scopes.ts +86 -0
- package/modules/auth/src/api/attempt-limiter.ts +42 -0
- package/modules/auth/src/api/client-address.ts +14 -0
- package/modules/auth/src/api/cookies.ts +52 -0
- package/modules/auth/src/api/origin.ts +40 -0
- package/modules/auth/src/cli/commands.json +74 -0
- package/modules/auth/src/cli/database.ts +51 -0
- package/modules/auth/src/cli/greenfield.ts +173 -0
- package/modules/auth/src/cli/index.ts +184 -0
- package/modules/auth/src/cli/provisioning.ts +211 -0
- package/modules/auth/src/client/AuthBackdrop.tsrx +137 -0
- package/modules/auth/src/client/AuthenticationCore.tsrx +630 -0
- package/modules/auth/src/client/PasswordChangeRequired.tsrx +145 -0
- package/modules/auth/src/client/PublicAuthFlows.tsrx +379 -0
- package/modules/auth/src/client/api.ts +464 -0
- package/modules/auth/src/client/audit/AuditView.tsrx +357 -0
- package/modules/auth/src/client/audit/api.ts +164 -0
- package/modules/auth/src/client/audit/audit-columns.tsrx +47 -0
- package/modules/auth/src/client/audit/audit-row.ts +38 -0
- package/modules/auth/src/client/auth.css +483 -0
- package/modules/auth/src/client/contribution.tsrx +100 -0
- package/modules/auth/src/client/index.ts +32 -0
- package/modules/auth/src/client/security/SecurityView.tsrx +253 -0
- package/modules/auth/src/client/settings/PreferencesCard.tsrx +65 -0
- package/modules/auth/src/client/settings/SettingsView.tsrx +212 -0
- package/modules/auth/src/client/settings/WorkspaceCard.tsrx +59 -0
- package/modules/auth/src/client/settings/api.ts +115 -0
- package/modules/auth/src/client/slug.ts +26 -0
- package/modules/auth/src/client/state.ts +115 -0
- package/modules/auth/src/client/tokens/ApiTokenForm.tsrx +153 -0
- package/modules/auth/src/client/tokens/ApiTokenSecret.tsrx +35 -0
- package/modules/auth/src/client/tokens/ApiTokensView.tsrx +216 -0
- package/modules/auth/src/client/tokens/api.ts +59 -0
- package/modules/auth/src/client/tokens/state.ts +26 -0
- package/modules/auth/src/client/tokens/token-columns.tsrx +64 -0
- package/modules/auth/src/client/translations.ts +23 -0
- package/modules/auth/src/domain/types.ts +152 -0
- package/modules/auth/src/index.ts +42 -0
- package/modules/auth/src/middleware/authentication.ts +97 -0
- package/modules/auth/src/platform.ts +0 -0
- package/modules/auth/src/server/actor.ts +12 -0
- package/modules/auth/src/server/audit-endpoints.ts +51 -0
- package/modules/auth/src/server/composition.ts +9 -0
- package/modules/auth/src/server/endpoints.ts +893 -0
- package/modules/auth/src/server/http.ts +153 -0
- package/modules/auth/src/server/index.ts +37 -0
- package/modules/auth/src/server/roles-endpoints.ts +120 -0
- package/modules/auth/src/server/runtime.ts +705 -0
- package/modules/auth/src/server/session-endpoints.ts +86 -0
- package/modules/auth/src/server/session-security.ts +62 -0
- package/modules/auth/src/server/token-endpoints.ts +106 -0
- package/modules/auth/src/services/auth-service-error.ts +11 -0
- package/modules/auth/src/services/auth-service.ts +2309 -0
- package/modules/auth/src/services/database-repository.ts +1825 -0
- package/modules/auth/src/services/mail-delivery.ts +27 -0
- package/modules/auth/src/services/migration.ts +591 -0
- package/modules/auth/src/services/password.ts +115 -0
- package/modules/auth/src/services/repository.ts +395 -0
- package/modules/auth/src/services/settings-store.ts +92 -0
- package/modules/auth/src/services/totp.ts +135 -0
- package/modules/auth/src/services/validation.ts +186 -0
- package/modules/auth/src/settings.ts +150 -0
- package/modules/auth/translations/en.json +263 -0
- package/modules/auth/translations/pl.json +263 -0
- package/modules/automations/migrations/0001_automations_core.down.sql +10 -0
- package/modules/automations/migrations/0001_automations_core.up.sql +76 -0
- package/modules/automations/migrations/0002_automations_targets.down.sql +9 -0
- package/modules/automations/migrations/0002_automations_targets.up.sql +37 -0
- package/modules/automations/migrations/0003_automations_scheduler_role.down.sql +3 -0
- package/modules/automations/migrations/0003_automations_scheduler_role.up.sql +19 -0
- package/modules/automations/migrations/0004_automations_trigger_routing_role.down.sql +3 -0
- package/modules/automations/migrations/0004_automations_trigger_routing_role.up.sql +18 -0
- package/modules/automations/migrations/README.md +3 -0
- package/modules/automations/module.json +31 -0
- package/modules/automations/package.json +55 -0
- package/modules/automations/spec/module.yaml +93 -0
- package/modules/automations/src/acl/permissions.ts +10 -0
- package/modules/automations/src/api/endpoints.ts +480 -0
- package/modules/automations/src/client/AutomationScheduleForm.tsrx +218 -0
- package/modules/automations/src/client/AutomationSchedulesView.tsrx +339 -0
- package/modules/automations/src/client/AutomationTriggerForm.tsrx +190 -0
- package/modules/automations/src/client/AutomationTriggersView.tsrx +329 -0
- package/modules/automations/src/client/api.ts +148 -0
- package/modules/automations/src/client/contribution.tsrx +70 -0
- package/modules/automations/src/client/index.ts +20 -0
- package/modules/automations/src/client/presentation.ts +38 -0
- package/modules/automations/src/client/state.ts +40 -0
- package/modules/automations/src/client/target-selection.ts +44 -0
- package/modules/automations/src/domain/cadence.ts +44 -0
- package/modules/automations/src/domain/types.ts +110 -0
- package/modules/automations/src/domain/variables.ts +178 -0
- package/modules/automations/src/index.ts +39 -0
- package/modules/automations/src/platform.ts +73 -0
- package/modules/automations/src/server/execution.ts +77 -0
- package/modules/automations/src/server/index.ts +39 -0
- package/modules/automations/src/server/runtime.ts +218 -0
- package/modules/automations/src/server/targets.ts +116 -0
- package/modules/automations/src/services/automations-service.ts +10 -0
- package/modules/automations/src/services/database-repository.ts +763 -0
- package/modules/automations/src/services/index.ts +5 -0
- package/modules/automations/src/services/migration.ts +223 -0
- package/modules/automations/src/services/repository.ts +119 -0
- package/modules/automations/src/services/schedule-service.ts +837 -0
- package/modules/automations/src/services/secret-vault.ts +124 -0
- package/modules/automations/src/services/trigger-service.ts +648 -0
- package/modules/automations/src/settings.ts +69 -0
- package/modules/automations/translations/en.json +126 -0
- package/modules/automations/translations/pl.json +126 -0
- package/modules/automations-workflows-integration/module.json +27 -0
- package/modules/automations-workflows-integration/package.json +48 -0
- package/modules/automations-workflows-integration/spec/module.yaml +93 -0
- package/modules/automations-workflows-integration/src/index.ts +14 -0
- package/modules/automations-workflows-integration/src/platform.ts +24 -0
- package/modules/automations-workflows-integration/src/server/adapter.ts +272 -0
- package/modules/automations-workflows-integration/src/server/index.ts +11 -0
- package/modules/automations-workflows-integration/src/server/tools.ts +0 -0
- package/modules/automations-workflows-integration/translations/en.json +21 -0
- package/modules/automations-workflows-integration/translations/pl.json +21 -0
- package/modules/profile/migrations/0001_profile_core.down.sql +1 -0
- package/modules/profile/migrations/0001_profile_core.up.sql +13 -0
- package/modules/profile/migrations/0002_profile_language.down.sql +1 -0
- package/modules/profile/migrations/0002_profile_language.up.sql +12 -0
- package/modules/profile/migrations/README.md +3 -0
- package/modules/profile/module.json +23 -0
- package/modules/profile/package.json +55 -0
- package/modules/profile/spec/module.yaml +136 -0
- package/modules/profile/src/acl/permissions.ts +5 -0
- package/modules/profile/src/api/endpoints.ts +184 -0
- package/modules/profile/src/client/DisplayNameCard.tsrx +59 -0
- package/modules/profile/src/client/LanguageCard.tsrx +89 -0
- package/modules/profile/src/client/PasswordCard.tsrx +79 -0
- package/modules/profile/src/client/ProfileView.tsrx +192 -0
- package/modules/profile/src/client/SessionsCard.tsrx +158 -0
- package/modules/profile/src/client/api.ts +134 -0
- package/modules/profile/src/client/contribution.tsrx +61 -0
- package/modules/profile/src/client/index.ts +15 -0
- package/modules/profile/src/client/password.ts +41 -0
- package/modules/profile/src/client/sessions-api.ts +52 -0
- package/modules/profile/src/client/state.ts +23 -0
- package/modules/profile/src/domain/types.ts +21 -0
- package/modules/profile/src/index.ts +21 -0
- package/modules/profile/src/platform.ts +23 -0
- package/modules/profile/src/server/index.ts +7 -0
- package/modules/profile/src/server/runtime.ts +84 -0
- package/modules/profile/src/services/database-repository.ts +154 -0
- package/modules/profile/src/services/index.ts +6 -0
- package/modules/profile/src/services/migration.ts +58 -0
- package/modules/profile/src/services/profile-service.ts +114 -0
- package/modules/profile/src/services/repository.ts +13 -0
- package/modules/profile/translations/en.json +58 -0
- package/modules/profile/translations/pl.json +58 -0
- package/modules/sandbox/migrations/0001_sandbox_core.down.sql +6 -0
- package/modules/sandbox/migrations/0001_sandbox_core.up.sql +70 -0
- package/modules/sandbox/migrations/0002_sandbox_session_lifecycle.down.sql +36 -0
- package/modules/sandbox/migrations/0002_sandbox_session_lifecycle.up.sql +37 -0
- package/modules/sandbox/migrations/README.md +7 -0
- package/modules/sandbox/module.json +31 -0
- package/modules/sandbox/package.json +56 -0
- package/modules/sandbox/spec/module.yaml +111 -0
- package/modules/sandbox/src/acl/permissions.ts +18 -0
- package/modules/sandbox/src/api/endpoints.ts +439 -0
- package/modules/sandbox/src/cli/commands.json +84 -0
- package/modules/sandbox/src/cli/index.ts +450 -0
- package/modules/sandbox/src/client/SandboxAccessView.tsrx +191 -0
- package/modules/sandbox/src/client/SandboxGrantForm.tsrx +134 -0
- package/modules/sandbox/src/client/SandboxGrantList.tsrx +83 -0
- package/modules/sandbox/src/client/SandboxSessionList.tsrx +56 -0
- package/modules/sandbox/src/client/api.ts +87 -0
- package/modules/sandbox/src/client/contribution.tsrx +47 -0
- package/modules/sandbox/src/client/index.ts +18 -0
- package/modules/sandbox/src/client/presentation.ts +47 -0
- package/modules/sandbox/src/client/state.ts +20 -0
- package/modules/sandbox/src/domain/types.ts +125 -0
- package/modules/sandbox/src/index.ts +33 -0
- package/modules/sandbox/src/platform.ts +28 -0
- package/modules/sandbox/src/server/index.ts +20 -0
- package/modules/sandbox/src/server/runtime.ts +119 -0
- package/modules/sandbox/src/services/database-repository.ts +567 -0
- package/modules/sandbox/src/services/directory.ts +33 -0
- package/modules/sandbox/src/services/index.ts +19 -0
- package/modules/sandbox/src/services/migration.ts +145 -0
- package/modules/sandbox/src/services/repository.ts +55 -0
- package/modules/sandbox/src/services/sandbox-service-error.ts +10 -0
- package/modules/sandbox/src/services/sandbox-service.ts +533 -0
- package/modules/sandbox/translations/en.json +77 -0
- package/modules/sandbox/translations/pl.json +77 -0
- package/modules/system/module.json +18 -0
- package/modules/system/package.json +56 -0
- package/modules/system/spec/module.yaml +104 -0
- package/modules/system/src/acl/permissions.ts +10 -0
- package/modules/system/src/client/ModuleSettingRow.tsrx +191 -0
- package/modules/system/src/client/ModuleSettingsSection.tsrx +155 -0
- package/modules/system/src/client/ModulesView.tsrx +241 -0
- package/modules/system/src/client/api.ts +36 -0
- package/modules/system/src/client/contribution.tsrx +48 -0
- package/modules/system/src/client/index.ts +26 -0
- package/modules/system/src/client/module-columns.tsrx +66 -0
- package/modules/system/src/client/overview-api.ts +30 -0
- package/modules/system/src/client/setting-copy.ts +30 -0
- package/modules/system/src/client/settings-api.ts +57 -0
- package/modules/system/src/client/state.ts +16 -0
- package/modules/system/src/index.ts +11 -0
- package/modules/system/src/platform.ts +11 -0
- package/modules/system/src/server/endpoints.ts +372 -0
- package/modules/system/src/server/index.ts +11 -0
- package/modules/system/src/server/module-catalog.ts +117 -0
- package/modules/system/translations/en.json +64 -0
- package/modules/system/translations/pl.json +64 -0
- package/modules/users/migrations/README.md +3 -0
- package/modules/users/module.json +27 -0
- package/modules/users/package.json +54 -0
- package/modules/users/spec/module.yaml +79 -0
- package/modules/users/src/acl/permissions.ts +6 -0
- package/modules/users/src/api/endpoints.ts +222 -0
- package/modules/users/src/client/InviteMemberForm.tsrx +62 -0
- package/modules/users/src/client/MemberDrawer.tsrx +298 -0
- package/modules/users/src/client/RoleForm.tsrx +140 -0
- package/modules/users/src/client/RolesView.tsrx +288 -0
- package/modules/users/src/client/UserAccountForm.tsrx +86 -0
- package/modules/users/src/client/UsersView.tsrx +486 -0
- package/modules/users/src/client/api.ts +172 -0
- package/modules/users/src/client/contribution.tsrx +92 -0
- package/modules/users/src/client/index.ts +19 -0
- package/modules/users/src/client/member-columns.tsrx +52 -0
- package/modules/users/src/client/roles-api.ts +90 -0
- package/modules/users/src/client/state.ts +42 -0
- package/modules/users/src/index.ts +27 -0
- package/modules/users/src/platform.ts +11 -0
- package/modules/users/src/services/index.ts +2 -0
- package/modules/users/src/services/users-service.ts +142 -0
- package/modules/users/translations/en.json +133 -0
- package/modules/users/translations/pl.json +133 -0
- package/modules/workflows/migrations/0001_workflows_core.down.sql +19 -0
- package/modules/workflows/migrations/0001_workflows_core.up.sql +228 -0
- package/modules/workflows/migrations/0002_workflows_authorization_subject.down.sql +1 -0
- package/modules/workflows/migrations/0002_workflows_authorization_subject.up.sql +9 -0
- package/modules/workflows/migrations/0003_workflows_worker_role.up.sql +34 -0
- package/modules/workflows/migrations/README.md +7 -0
- package/modules/workflows/module.json +31 -0
- package/modules/workflows/package.json +55 -0
- package/modules/workflows/spec/module.yaml +227 -0
- package/modules/workflows/src/acl/permissions.ts +10 -0
- package/modules/workflows/src/api/endpoints.ts +852 -0
- package/modules/workflows/src/client/WorkflowCanvas.tsrx +819 -0
- package/modules/workflows/src/client/WorkflowCreateForm.tsrx +111 -0
- package/modules/workflows/src/client/WorkflowEditor.tsrx +443 -0
- package/modules/workflows/src/client/WorkflowExecutionHistory.tsrx +169 -0
- package/modules/workflows/src/client/WorkflowFixtureDrawer.tsrx +206 -0
- package/modules/workflows/src/client/WorkflowInputForm.tsrx +125 -0
- package/modules/workflows/src/client/WorkflowInputSchemaEditor.tsrx +185 -0
- package/modules/workflows/src/client/WorkflowInspector.tsrx +471 -0
- package/modules/workflows/src/client/WorkflowLiveConfirmation.tsrx +67 -0
- package/modules/workflows/src/client/WorkflowMappingEditor.tsrx +283 -0
- package/modules/workflows/src/client/WorkflowNodePalette.tsrx +50 -0
- package/modules/workflows/src/client/WorkflowPointerField.tsrx +178 -0
- package/modules/workflows/src/client/WorkflowRevisionReview.tsrx +49 -0
- package/modules/workflows/src/client/WorkflowRunInspector.tsrx +143 -0
- package/modules/workflows/src/client/WorkflowTestPanel.tsrx +109 -0
- package/modules/workflows/src/client/WorkflowValidationPanel.tsrx +139 -0
- package/modules/workflows/src/client/WorkflowsView.tsrx +1060 -0
- package/modules/workflows/src/client/api.ts +312 -0
- package/modules/workflows/src/client/canvas-model.ts +472 -0
- package/modules/workflows/src/client/connected-node.ts +71 -0
- package/modules/workflows/src/client/contribution.tsrx +57 -0
- package/modules/workflows/src/client/create-model.ts +15 -0
- package/modules/workflows/src/client/draft-repair.ts +86 -0
- package/modules/workflows/src/client/index.ts +19 -0
- package/modules/workflows/src/client/input-model.ts +124 -0
- package/modules/workflows/src/client/mapping-model.ts +110 -0
- package/modules/workflows/src/client/pointer-model.ts +123 -0
- package/modules/workflows/src/client/presentation.ts +62 -0
- package/modules/workflows/src/client/run-actions.ts +19 -0
- package/modules/workflows/src/client/state.ts +57 -0
- package/modules/workflows/src/client/viewport.ts +107 -0
- package/modules/workflows/src/client/workflows.css +899 -0
- package/modules/workflows/src/domain/events.ts +399 -0
- package/modules/workflows/src/domain/graph.ts +1136 -0
- package/modules/workflows/src/domain/types.ts +563 -0
- package/modules/workflows/src/index.ts +27 -0
- package/modules/workflows/src/platform.ts +49 -0
- package/modules/workflows/src/server/index.ts +13 -0
- package/modules/workflows/src/server/runtime.ts +266 -0
- package/modules/workflows/src/services/cursor-codec.ts +62 -0
- package/modules/workflows/src/services/database-repository.ts +2407 -0
- package/modules/workflows/src/services/index.ts +6 -0
- package/modules/workflows/src/services/migration.ts +375 -0
- package/modules/workflows/src/services/payload-codec.ts +264 -0
- package/modules/workflows/src/services/repository.ts +285 -0
- package/modules/workflows/src/services/simulation.ts +359 -0
- package/modules/workflows/src/services/worker.ts +1196 -0
- package/modules/workflows/src/services/workflows-service.ts +1395 -0
- package/modules/workflows/translations/en.json +348 -0
- package/modules/workflows/translations/pl.json +348 -0
- package/modules.json +41 -0
- package/package.json +125 -0
- package/packages/ai-provider/package.json +46 -0
- package/packages/ai-provider/src/catalog.ts +102 -0
- package/packages/ai-provider/src/errors.ts +110 -0
- package/packages/ai-provider/src/index.ts +33 -0
- package/packages/ai-provider/src/model.ts +198 -0
- package/packages/ai-provider/src/pricing.ts +73 -0
- package/packages/cli-protocol/package.json +40 -0
- package/packages/cli-protocol/src/index.ts +113 -0
- package/packages/client/package.json +46 -0
- package/packages/client/src/ApplicationShell.tsrx +374 -0
- package/packages/client/src/contributions.ts +172 -0
- package/packages/client/src/i18n/index.ts +30 -0
- package/packages/client/src/i18n/locale.ts +25 -0
- package/packages/client/src/i18n/locales/en.json +66 -0
- package/packages/client/src/i18n/locales/pl.json +66 -0
- package/packages/client/src/i18n/runtime.ts +201 -0
- package/packages/client/src/i18n/translations.ts +88 -0
- package/packages/client/src/index.ts +55 -0
- package/packages/client/src/routing.ts +9 -0
- package/packages/client/src/shell/BrandMark.tsrx +10 -0
- package/packages/client/src/shell/CommandPalette.tsrx +79 -0
- package/packages/client/src/shell/ContributionOutlets.tsrx +31 -0
- package/packages/client/src/shell/DashboardView.tsrx +60 -0
- package/packages/client/src/shell/MobileHeader.tsrx +24 -0
- package/packages/client/src/shell/OrganizationSwitcher.tsrx +100 -0
- package/packages/client/src/shell/OverviewCharts.tsrx +167 -0
- package/packages/client/src/shell/PrimaryNavigation.tsrx +75 -0
- package/packages/client/src/shell/Sidebar.tsrx +76 -0
- package/packages/client/src/shell/Topbar.tsrx +44 -0
- package/packages/client/src/shell/UserMenu.tsrx +103 -0
- package/packages/client/src/shell/WorkspaceContent.tsrx +30 -0
- package/packages/client/src/shell/identity.ts +12 -0
- package/packages/client/src/shell/navigation.ts +68 -0
- package/packages/client/src/shell/shell.css +734 -0
- package/packages/client/src/shell/types.ts +29 -0
- package/packages/client/src/state.ts +63 -0
- package/packages/client/src/web.ts +39 -0
- package/packages/coding-agent/package.json +44 -0
- package/packages/coding-agent/src/drivers/byok.ts +322 -0
- package/packages/coding-agent/src/drivers/claude-code.ts +290 -0
- package/packages/coding-agent/src/drivers/codex.ts +281 -0
- package/packages/coding-agent/src/index.ts +56 -0
- package/packages/coding-agent/src/registry.ts +119 -0
- package/packages/coding-agent/src/roles/contract.ts +60 -0
- package/packages/coding-agent/src/roles/defaults.ts +134 -0
- package/packages/coding-agent/src/roles/handoff.ts +41 -0
- package/packages/coding-agent/src/roles/registry.ts +156 -0
- package/packages/coding-agent/src/roles/skills.ts +72 -0
- package/packages/coding-agent/src/roles/sync.ts +88 -0
- package/packages/coding-agent/src/types.ts +102 -0
- package/packages/coding-agent/src/workspace.ts +275 -0
- package/packages/contracts/package.json +38 -0
- package/packages/contracts/schemas/blueprint.schema.json +48 -0
- package/packages/contracts/schemas/cli-extension.schema.json +90 -0
- package/packages/contracts/schemas/module-artifact.schema.json +82 -0
- package/packages/contracts/schemas/module-catalog.schema.json +48 -0
- package/packages/contracts/schemas/module-spec.schema.json +111 -0
- package/packages/contracts/schemas/module.schema.json +156 -0
- package/packages/contracts/schemas/platform-spec.schema.json +17 -0
- package/packages/contracts/schemas/project.schema.json +270 -0
- package/packages/contracts/src/index.ts +191 -0
- package/packages/contracts/src/module-distribution.ts +47 -0
- package/packages/contracts/src/schemas.ts +18 -0
- package/packages/contracts/src/variables.ts +156 -0
- package/packages/contracts/src/web.ts +60 -0
- package/packages/database/package.json +43 -0
- package/packages/database/src/contracts.ts +399 -0
- package/packages/database/src/index.ts +112 -0
- package/packages/database/src/migrations.ts +444 -0
- package/packages/database/src/postgresql.ts +517 -0
- package/packages/database/src/provider.ts +639 -0
- package/packages/database/src/record-history.ts +201 -0
- package/packages/database/src/registry.ts +265 -0
- package/packages/database/src/reset.ts +87 -0
- package/packages/database-pglite/package.json +42 -0
- package/packages/database-pglite/src/driver.ts +168 -0
- package/packages/database-pglite/src/index.ts +2 -0
- package/packages/database-testing/package.json +44 -0
- package/packages/database-testing/src/index.ts +8 -0
- package/packages/database-testing/src/pglite.ts +124 -0
- package/packages/database-testing/src/postgres.ts +184 -0
- package/packages/database-testing/src/provider.ts +43 -0
- package/packages/database-testing/src/vitest-preset.ts +23 -0
- package/packages/dev-console/README.md +6 -0
- package/packages/dev-console/package.json +38 -0
- package/packages/dev-console/src/index.mjs +220 -0
- package/packages/harness/package.json +47 -0
- package/packages/harness/schemas/task-packet.schema.json +48 -0
- package/packages/harness/src/catalog.ts +24 -0
- package/packages/harness/src/errors.ts +9 -0
- package/packages/harness/src/index.ts +53 -0
- package/packages/harness/src/preamble.ts +31 -0
- package/packages/harness/src/runtime.ts +833 -0
- package/packages/harness/src/task-packet.ts +86 -0
- package/packages/harness/src/tool-adapters.ts +106 -0
- package/packages/harness/src/tool-contract.ts +242 -0
- package/packages/harness/src/vercel-ai-provider.ts +198 -0
- package/packages/kernel/package.json +44 -0
- package/packages/kernel/src/acl.ts +20 -0
- package/packages/kernel/src/actor.ts +139 -0
- package/packages/kernel/src/agent-registry.ts +81 -0
- package/packages/kernel/src/capability-registry.ts +28 -0
- package/packages/kernel/src/errors.ts +9 -0
- package/packages/kernel/src/index.ts +90 -0
- package/packages/kernel/src/legacy-local-state.ts +103 -0
- package/packages/kernel/src/module-compatibility.ts +70 -0
- package/packages/kernel/src/module-registry.ts +124 -0
- package/packages/kernel/src/module-settings.ts +403 -0
- package/packages/kernel/src/record-history.ts +146 -0
- package/packages/kernel/src/runtime-config.ts +51 -0
- package/packages/kernel/src/tool-registry.ts +25 -0
- package/packages/kernel/src/variable-registry.ts +339 -0
- package/packages/sandbox/README.md +691 -0
- package/packages/sandbox/bin/flowdular-sandbox.mjs +393 -0
- package/packages/sandbox/dist/client/assets/App-ClMOrpyg.js +11 -0
- package/packages/sandbox/dist/client/assets/PreviewHost-BHiHrfbQ.js +1 -0
- package/packages/sandbox/dist/client/assets/auto-buGEq6de.js +3 -0
- package/packages/sandbox/dist/client/assets/ibm-plex-mono-cyrillic-400-normal-BSMlKf0J.woff2 +0 -0
- package/packages/sandbox/dist/client/assets/ibm-plex-mono-cyrillic-400-normal-CEL4l2ZJ.woff +0 -0
- package/packages/sandbox/dist/client/assets/ibm-plex-mono-cyrillic-500-normal-Ael50iVv.woff +0 -0
- package/packages/sandbox/dist/client/assets/ibm-plex-mono-cyrillic-500-normal-Bq9vWWag.woff2 +0 -0
- package/packages/sandbox/dist/client/assets/ibm-plex-mono-cyrillic-ext-400-normal-DMdlQ8Kv.woff +0 -0
- package/packages/sandbox/dist/client/assets/ibm-plex-mono-cyrillic-ext-400-normal-xuaO2J-f.woff2 +0 -0
- package/packages/sandbox/dist/client/assets/ibm-plex-mono-cyrillic-ext-500-normal-BIfNGwUT.woff +0 -0
- package/packages/sandbox/dist/client/assets/ibm-plex-mono-cyrillic-ext-500-normal-BqneJy0T.woff2 +0 -0
- package/packages/sandbox/dist/client/assets/ibm-plex-mono-latin-400-normal-CvHOgSBP.woff +0 -0
- package/packages/sandbox/dist/client/assets/ibm-plex-mono-latin-400-normal-DMJ8VG8y.woff2 +0 -0
- package/packages/sandbox/dist/client/assets/ibm-plex-mono-latin-500-normal-CB9ihrfo.woff +0 -0
- package/packages/sandbox/dist/client/assets/ibm-plex-mono-latin-500-normal-DSY6xOcd.woff2 +0 -0
- package/packages/sandbox/dist/client/assets/ibm-plex-mono-latin-ext-400-normal-BmRBH3aV.woff2 +0 -0
- package/packages/sandbox/dist/client/assets/ibm-plex-mono-latin-ext-400-normal-D3D2R8hC.woff +0 -0
- package/packages/sandbox/dist/client/assets/ibm-plex-mono-latin-ext-500-normal-CAhNIIs5.woff2 +0 -0
- package/packages/sandbox/dist/client/assets/ibm-plex-mono-latin-ext-500-normal-CZ70TYgx.woff +0 -0
- package/packages/sandbox/dist/client/assets/ibm-plex-mono-vietnamese-400-normal-BulugwFq.woff2 +0 -0
- package/packages/sandbox/dist/client/assets/ibm-plex-mono-vietnamese-400-normal-DDuiU_S-.woff +0 -0
- package/packages/sandbox/dist/client/assets/ibm-plex-mono-vietnamese-500-normal-C8zxqsMH.woff +0 -0
- package/packages/sandbox/dist/client/assets/ibm-plex-mono-vietnamese-500-normal-DZ4AoWbu.woff2 +0 -0
- package/packages/sandbox/dist/client/assets/ibm-plex-sans-cyrillic-ext-wght-normal-d45eAU9y.woff2 +0 -0
- package/packages/sandbox/dist/client/assets/ibm-plex-sans-cyrillic-wght-normal-BAAhND-U.woff2 +0 -0
- package/packages/sandbox/dist/client/assets/ibm-plex-sans-greek-wght-normal-CmyJS8uq.woff2 +0 -0
- package/packages/sandbox/dist/client/assets/ibm-plex-sans-latin-ext-wght-normal-CIII54If.woff2 +0 -0
- package/packages/sandbox/dist/client/assets/ibm-plex-sans-latin-wght-normal-IvpUvPa2.woff2 +0 -0
- package/packages/sandbox/dist/client/assets/ibm-plex-sans-vietnamese-wght-normal-Dg1JeJN0.woff2 +0 -0
- package/packages/sandbox/dist/client/assets/index-CvwhlQ87.js +4 -0
- package/packages/sandbox/dist/client/assets/styles-BPWaGf55.js +3 -0
- package/packages/sandbox/dist/client/assets/styles-Dx1_KOag.css +1 -0
- package/packages/sandbox/dist/client/favicon.svg +1 -0
- package/packages/sandbox/dist/server/assets/auto-CVGNYyb3.js +12785 -0
- package/packages/sandbox/dist/server/assets/chunk-DDJLRBDX-3OUNo51g.js +4125 -0
- package/packages/sandbox/dist/server/assets/nodefs-DVSI7kG0.js +24 -0
- package/packages/sandbox/dist/server/assets/opfs-ahp-D56iokt1.js +388 -0
- package/packages/sandbox/dist/server/assets/token-Bvaq7Anz.js +55 -0
- package/packages/sandbox/dist/server/assets/token-util-BqSvdIPQ.js +3 -0
- package/packages/sandbox/dist/server/assets/token-util-CktFFT4z.js +494 -0
- package/packages/sandbox/dist/server/entry.js +91671 -0
- package/packages/sandbox/dist/server/favicon.svg +1 -0
- package/packages/sandbox/dist/server/index.html +161 -0
- package/packages/sandbox/index.html +159 -0
- package/packages/sandbox/octane.config.ts +36 -0
- package/packages/sandbox/package.json +83 -0
- package/packages/sandbox/public/favicon.svg +1 -0
- package/packages/sandbox/public/og.png +0 -0
- package/packages/sandbox/src/App.tsrx +924 -0
- package/packages/sandbox/src/client/ApprovalHandoff.tsrx +39 -0
- package/packages/sandbox/src/client/ChatPane.tsrx +694 -0
- package/packages/sandbox/src/client/ConnectView.tsrx +86 -0
- package/packages/sandbox/src/client/DiffPane.tsrx +150 -0
- package/packages/sandbox/src/client/EjectModal.tsrx +571 -0
- package/packages/sandbox/src/client/GateResults.tsrx +60 -0
- package/packages/sandbox/src/client/GitHubSettingsModal.tsrx +219 -0
- package/packages/sandbox/src/client/NewSessionForm.tsrx +214 -0
- package/packages/sandbox/src/client/SessionBar.tsrx +151 -0
- package/packages/sandbox/src/client/SessionPicker.tsrx +472 -0
- package/packages/sandbox/src/client/SpecEditor.tsrx +109 -0
- package/packages/sandbox/src/client/SpecReviewCard.tsrx +321 -0
- package/packages/sandbox/src/client/WorkCard.tsrx +128 -0
- package/packages/sandbox/src/client/WorkbenchModal.tsrx +161 -0
- package/packages/sandbox/src/client/WorkspaceMenu.tsrx +100 -0
- package/packages/sandbox/src/client/api.ts +797 -0
- package/packages/sandbox/src/client/attachments.ts +73 -0
- package/packages/sandbox/src/client/dashboard.ts +46 -0
- package/packages/sandbox/src/client/github-settings.ts +48 -0
- package/packages/sandbox/src/client/highlight.ts +105 -0
- package/packages/sandbox/src/client/i18n.ts +32 -0
- package/packages/sandbox/src/client/locales/en.json +466 -0
- package/packages/sandbox/src/client/locales/pl.json +466 -0
- package/packages/sandbox/src/client/session-labels.ts +77 -0
- package/packages/sandbox/src/client/state.ts +108 -0
- package/packages/sandbox/src/index.ts +10 -0
- package/packages/sandbox/src/preview/PreviewHost.tsrx +373 -0
- package/packages/sandbox/src/preview/load-module.ts +16 -0
- package/packages/sandbox/src/server/attachments.ts +308 -0
- package/packages/sandbox/src/server/auto-review.ts +181 -0
- package/packages/sandbox/src/server/checkpoints.ts +90 -0
- package/packages/sandbox/src/server/config.ts +460 -0
- package/packages/sandbox/src/server/dashboard.ts +245 -0
- package/packages/sandbox/src/server/delivery/configuration.ts +193 -0
- package/packages/sandbox/src/server/delivery/git-pr.ts +1473 -0
- package/packages/sandbox/src/server/delivery/index.ts +83 -0
- package/packages/sandbox/src/server/delivery/local.ts +151 -0
- package/packages/sandbox/src/server/delivery/official-modules.ts +516 -0
- package/packages/sandbox/src/server/delivery/plan.ts +218 -0
- package/packages/sandbox/src/server/delivery/policies.ts +239 -0
- package/packages/sandbox/src/server/delivery/record.ts +41 -0
- package/packages/sandbox/src/server/delivery/steps.ts +464 -0
- package/packages/sandbox/src/server/delivery/types.ts +158 -0
- package/packages/sandbox/src/server/dependencies.ts +88 -0
- package/packages/sandbox/src/server/diff.ts +230 -0
- package/packages/sandbox/src/server/gates.ts +388 -0
- package/packages/sandbox/src/server/index.ts +139 -0
- package/packages/sandbox/src/server/path-guard.ts +282 -0
- package/packages/sandbox/src/server/planning.ts +749 -0
- package/packages/sandbox/src/server/platform-client.ts +189 -0
- package/packages/sandbox/src/server/preview-database-host.ts +340 -0
- package/packages/sandbox/src/server/preview-database-protocol.ts +163 -0
- package/packages/sandbox/src/server/preview-database-proxy.ts +356 -0
- package/packages/sandbox/src/server/preview-database.ts +109 -0
- package/packages/sandbox/src/server/preview-ipc.ts +15 -0
- package/packages/sandbox/src/server/preview-modules.ts +83 -0
- package/packages/sandbox/src/server/preview-revision.ts +44 -0
- package/packages/sandbox/src/server/preview-runtime.ts +467 -0
- package/packages/sandbox/src/server/preview-worker-manager.ts +436 -0
- package/packages/sandbox/src/server/preview-worker.ts +168 -0
- package/packages/sandbox/src/server/reference.ts +251 -0
- package/packages/sandbox/src/server/routes.ts +2258 -0
- package/packages/sandbox/src/server/runtime.ts +188 -0
- package/packages/sandbox/src/server/session-owner.ts +23 -0
- package/packages/sandbox/src/server/sessions.ts +849 -0
- package/packages/sandbox/src/server/spec.ts +471 -0
- package/packages/sandbox/src/server/turn-lifecycle.ts +56 -0
- package/packages/sandbox/src/server/turns.ts +993 -0
- package/packages/sandbox/src/server/workspace-install.ts +266 -0
- package/packages/sandbox/src/server/workspace-root.ts +73 -0
- package/packages/sandbox/src/styles.css +1573 -0
- package/packages/sandbox/vite.config.ts +133 -0
- package/packages/server/package.json +43 -0
- package/packages/server/src/application-routes.ts +21 -0
- package/packages/server/src/composition.ts +48 -0
- package/packages/server/src/endpoint.ts +142 -0
- package/packages/server/src/http.ts +128 -0
- package/packages/server/src/index.ts +46 -0
- package/packages/server/src/response-lifetime.ts +56 -0
- package/packages/server/src/security-headers.ts +130 -0
- package/packages/server/src/web-html.ts +55 -0
- package/packages/server/src/web.ts +361 -0
- package/packages/ui/package.json +46 -0
- package/packages/ui/src/brand/BrandMark.tsrx +66 -0
- package/packages/ui/src/brand/mark.ts +44 -0
- package/packages/ui/src/components/Alert.tsrx +17 -0
- package/packages/ui/src/components/Avatar.tsrx +18 -0
- package/packages/ui/src/components/Button.tsrx +29 -0
- package/packages/ui/src/components/Chart.tsrx +274 -0
- package/packages/ui/src/components/CheckGrid.tsrx +93 -0
- package/packages/ui/src/components/ConfirmDialog.tsrx +63 -0
- package/packages/ui/src/components/Drawer.tsrx +71 -0
- package/packages/ui/src/components/EmptyState.tsrx +26 -0
- package/packages/ui/src/components/Filters.tsrx +39 -0
- package/packages/ui/src/components/FormField.tsrx +27 -0
- package/packages/ui/src/components/Kpi.tsrx +36 -0
- package/packages/ui/src/components/PageHeader.tsrx +26 -0
- package/packages/ui/src/components/ScopeSummary.tsrx +76 -0
- package/packages/ui/src/components/SearchField.tsrx +24 -0
- package/packages/ui/src/components/SettingRow.tsrx +50 -0
- package/packages/ui/src/components/Switch.tsrx +21 -0
- package/packages/ui/src/components/Table.tsrx +267 -0
- package/packages/ui/src/components/TableCard.tsrx +52 -0
- package/packages/ui/src/components/Tag.tsrx +28 -0
- package/packages/ui/src/components/VariableField.tsrx +284 -0
- package/packages/ui/src/components/VariableInput.tsrx +7 -0
- package/packages/ui/src/components/VariableSelect.tsrx +72 -0
- package/packages/ui/src/components/VariableTextarea.tsrx +9 -0
- package/packages/ui/src/components/variable-field.ts +61 -0
- package/packages/ui/src/components/variable-select.ts +69 -0
- package/packages/ui/src/icons/Icon.tsrx +56 -0
- package/packages/ui/src/index.ts +81 -0
- package/packages/ui/src/initials.ts +10 -0
- package/packages/ui/src/styles/base.css +71 -0
- package/packages/ui/src/styles/components.css +1859 -0
- package/packages/ui/src/styles/index.css +3 -0
- package/packages/ui/src/styles/tokens.css +124 -0
- package/tsconfig.base.json +18 -0
|
@@ -0,0 +1,403 @@
|
|
|
1
|
+
{
|
|
2
|
+
"module.name": "Rdzeń agentowy",
|
|
3
|
+
"common.cancel": "Anuluj",
|
|
4
|
+
"common.archive": "Archiwizuj",
|
|
5
|
+
"common.delete": "Usuń",
|
|
6
|
+
"common.edit": "Edytuj",
|
|
7
|
+
"common.refresh": "Odśwież",
|
|
8
|
+
"common.actions": "Akcje agenta",
|
|
9
|
+
"common.requestFailed": "Operacja agenta nie powiodła się.",
|
|
10
|
+
"common.view": "Zobacz",
|
|
11
|
+
"navigation.agents": "Agenci",
|
|
12
|
+
"navigation.agentsDescription": "Definicje agentów wielokrotnego użytku",
|
|
13
|
+
"navigation.providers": "Dostawcy modeli",
|
|
14
|
+
"navigation.providersDescription": "Połączenia i gotowość modeli",
|
|
15
|
+
"navigation.playground": "Piaskownica agentów",
|
|
16
|
+
"navigation.playgroundDescription": "Uruchamiaj odizolowane testy agentów",
|
|
17
|
+
"navigation.runs": "Uruchomienia agentów",
|
|
18
|
+
"navigation.runsDescription": "Trwała historia wykonań",
|
|
19
|
+
"navigation.procedures": "Procedury",
|
|
20
|
+
"navigation.proceduresDescription": "Procedury wielokrotnego użytku",
|
|
21
|
+
"navigation.usage": "Zużycie i koszty",
|
|
22
|
+
"navigation.usageDescription": "Tokeny, koszty i budżety",
|
|
23
|
+
"providers.add": "Dodaj dostawcę",
|
|
24
|
+
"providers.addConnection": "Dodaj połączenie z dostawcą",
|
|
25
|
+
"providers.column.connection": "Połączenie",
|
|
26
|
+
"providers.column.models": "Modele",
|
|
27
|
+
"providers.column.readiness": "Gotowość",
|
|
28
|
+
"providers.column.type": "Typ",
|
|
29
|
+
"providers.column.updated": "Aktualizacja",
|
|
30
|
+
"providers.credentialRevision": "Rewizja danych dostępowych {revision}",
|
|
31
|
+
"providers.delete.confirm": "Usuń dostawcę",
|
|
32
|
+
"providers.delete.description": "Trwale usuń połączenie {name} i jego zaszyfrowane dane dostępowe. Aktywni agenci i oczekujące przebiegi zablokują tę operację.",
|
|
33
|
+
"providers.delete.title": "Usunąć połączenie z dostawcą?",
|
|
34
|
+
"providers.description": "Połączenia z modelami należące do przestrzeni roboczej. Dane dostępowe są szyfrowane na serwerze, a gotowość jest sprawdzana osobno dla każdego modelu.",
|
|
35
|
+
"providers.drawer.subtitle": "Szyfrowane połączenie przestrzeni roboczej",
|
|
36
|
+
"providers.empty.filteredHint": "Żadne połączenie w tej przestrzeni nie pasuje do filtra.",
|
|
37
|
+
"providers.empty.filteredTitle": "Brak pasujących połączeń",
|
|
38
|
+
"providers.empty.hint": "Dodaj połączenie należące do przestrzeni roboczej przed aktywowaniem agenta produkcyjnego.",
|
|
39
|
+
"providers.empty.title": "Brak połączeń z dostawcami",
|
|
40
|
+
"providers.error.delete": "Nie udało się usunąć połączenia z dostawcą.",
|
|
41
|
+
"providers.error.load": "Nie udało się wczytać połączeń z dostawcami.",
|
|
42
|
+
"providers.error.save": "Nie udało się zapisać połączenia z dostawcą.",
|
|
43
|
+
"providers.error.test": "Nie udało się przetestować modelu.",
|
|
44
|
+
"providers.eyebrow": "Infrastruktura agentów",
|
|
45
|
+
"providers.kind.anthropic": "Anthropic",
|
|
46
|
+
"providers.kind.azure": "Azure OpenAI",
|
|
47
|
+
"providers.kind.local-simulation": "Symulacja lokalna",
|
|
48
|
+
"providers.kind.openai": "OpenAI",
|
|
49
|
+
"providers.kind.openai-compatible": "Zgodny z OpenAI",
|
|
50
|
+
"providers.kind.vercel": "Vercel AI Gateway",
|
|
51
|
+
"providers.loading": "Wczytywanie połączeń z dostawcami…",
|
|
52
|
+
"providers.localDescription": "Ten wbudowany dostawca nie zapisuje danych dostępowych i nie wysyła danych poza proces. Służy do lokalnej walidacji, nie do pracy produkcyjnej.",
|
|
53
|
+
"providers.models.count": "włączone: {enabled} z {total}",
|
|
54
|
+
"providers.models.none": "Brak włączonych modeli",
|
|
55
|
+
"providers.models.proven": "potwierdzone: {ready} z {total}",
|
|
56
|
+
"providers.models.unavailable": "Brak dostępnych modeli",
|
|
57
|
+
"providers.note": "Sekrety dostawców nigdy nie opuszczają serwera. Nie pojawiają się na tej stronie, w snapshotach przebiegów, logach ani zdarzeniach harnessu.",
|
|
58
|
+
"providers.search.label": "Filtruj połączenia z dostawcami",
|
|
59
|
+
"providers.search.placeholder": "Szukaj po nazwie, kluczu lub typie",
|
|
60
|
+
"providers.status.disabled": "wyłączony",
|
|
61
|
+
"providers.status.ready": "gotowy",
|
|
62
|
+
"providers.status.stale": "nieaktualny",
|
|
63
|
+
"providers.status.untested": "niesprawdzony",
|
|
64
|
+
"providers.table.caption": "Połączenia z dostawcami",
|
|
65
|
+
"providers.table.count": "włączone: {enabled} · wszystkie: {total}",
|
|
66
|
+
"providers.table.title": "Połączenia",
|
|
67
|
+
"providers.title": "Dostawcy modeli",
|
|
68
|
+
"providers.builtIn": "Wbudowany",
|
|
69
|
+
"providers.form.name": "Nazwa",
|
|
70
|
+
"providers.form.key": "Stały klucz",
|
|
71
|
+
"providers.form.keyFixed": "Nie można go zmienić po utworzeniu.",
|
|
72
|
+
"providers.form.type": "Typ dostawcy",
|
|
73
|
+
"providers.form.azureResource": "Nazwa zasobu Azure",
|
|
74
|
+
"providers.form.baseUrl": "Dozwolony adres HTTPS",
|
|
75
|
+
"providers.form.rotateCredential": "Zmień dane dostępowe",
|
|
76
|
+
"providers.form.credential": "Dane dostępowe dostawcy",
|
|
77
|
+
"providers.form.credentialKeep": "Pozostaw puste, aby zachować obecne dane.",
|
|
78
|
+
"providers.form.credentialHelp": "Szyfrowane na serwerze i nigdy ponownie niewyświetlane.",
|
|
79
|
+
"providers.form.credentialPlaceholder": "Wklej klucz API",
|
|
80
|
+
"providers.form.models": "Modele",
|
|
81
|
+
"providers.form.modelsAvailable": "Modele dostępne dla agentów: {enabled} z {total}",
|
|
82
|
+
"providers.form.enable": "Zezwól aktywnym agentom na używanie tego połączenia",
|
|
83
|
+
"providers.form.enableReady": "Agenci mogą wybrać każdy model, który przeszedł własny test.",
|
|
84
|
+
"providers.form.enableBlocked": "Najpierw przetestuj co najmniej jeden dostępny model. Dowód gotowości wygasa i trzeba go odświeżać.",
|
|
85
|
+
"providers.form.rotateNote": "Zmiana danych dostępowych unieważnia dowody gotowości.",
|
|
86
|
+
"providers.form.createNote": "Nowe połączenie jest początkowo wyłączone.",
|
|
87
|
+
"providers.form.saving": "Zapisywanie…",
|
|
88
|
+
"providers.form.save": "Zapisz połączenie",
|
|
89
|
+
"providers.form.create": "Utwórz połączenie",
|
|
90
|
+
"providers.models.error.required": "Skonfiguruj co najmniej jeden model.",
|
|
91
|
+
"providers.models.error.maximum": "Dostawca może udostępniać najwyżej 50 modeli.",
|
|
92
|
+
"providers.models.error.incomplete": "Każdy model wymaga identyfikatora i nazwy.",
|
|
93
|
+
"providers.models.error.duplicate": "Identyfikatory modeli muszą być unikalne.",
|
|
94
|
+
"providers.models.evidenceExpired": "Dowód wygasł",
|
|
95
|
+
"providers.models.testing": "Testowanie…",
|
|
96
|
+
"providers.models.test": "Testuj",
|
|
97
|
+
"providers.models.saveBeforeTest": "Zapisz połączenie, aby przetestować ten model.",
|
|
98
|
+
"providers.models.identifier": "Identyfikator modelu",
|
|
99
|
+
"providers.models.labelPlaceholder": "Nazwa wyświetlana",
|
|
100
|
+
"providers.models.label": "Nazwa modelu",
|
|
101
|
+
"providers.models.remove": "Usuń model",
|
|
102
|
+
"providers.models.tools": "Narzędzia",
|
|
103
|
+
"providers.models.streaming": "Strumieniowanie",
|
|
104
|
+
"providers.models.webSearch": "Wyszukiwanie w sieci",
|
|
105
|
+
"providers.models.temperatureHelp": "Modele rozumujące Anthropic i OpenAI odrzucają własną temperaturę. Ustawienie domyślne zależy od identyfikatora modelu.",
|
|
106
|
+
"providers.models.temperature": "Temperatura",
|
|
107
|
+
"providers.models.available": "Dostępny",
|
|
108
|
+
"providers.models.add": "Dodaj model",
|
|
109
|
+
"providers.modelStatus.ready": "gotowy",
|
|
110
|
+
"providers.modelStatus.stale": "nieaktualny",
|
|
111
|
+
"providers.modelStatus.failing": "błąd",
|
|
112
|
+
"providers.modelStatus.untested": "niesprawdzony",
|
|
113
|
+
"common.core": "Rdzeń agentowy",
|
|
114
|
+
"common.saving": "Zapisywanie…",
|
|
115
|
+
"status.active": "aktywny",
|
|
116
|
+
"status.archived": "zarchiwizowany",
|
|
117
|
+
"status.disabled": "wyłączony",
|
|
118
|
+
"status.draft": "szkic",
|
|
119
|
+
"status.paused": "wstrzymany",
|
|
120
|
+
"status.unconfigured": "nieskonfigurowany",
|
|
121
|
+
"status.unavailable": "niedostępny",
|
|
122
|
+
"definitions.title": "Agenci",
|
|
123
|
+
"definitions.description": "Agenci biznesowi utworzeni w tej przestrzeni lub dostarczani przez włączone moduły.",
|
|
124
|
+
"definitions.new": "Nowy agent",
|
|
125
|
+
"definitions.error.load": "Nie udało się wczytać agentów.",
|
|
126
|
+
"definitions.error.save": "Nie udało się zapisać agenta.",
|
|
127
|
+
"definitions.error.lifecycle": "Nie udało się zmienić cyklu życia agenta.",
|
|
128
|
+
"definitions.lifecycle.archive.title": "Zarchiwizować agenta?",
|
|
129
|
+
"definitions.lifecycle.archive.confirm": "Archiwizuj agenta",
|
|
130
|
+
"definitions.lifecycle.archive.description": "Zarchiwizuj agenta {name}. Przestanie przyjmować nowe uruchomienia, a istniejące dowody uruchomień pozostaną dostępne.",
|
|
131
|
+
"definitions.lifecycle.delete.title": "Usunąć zarchiwizowanego agenta?",
|
|
132
|
+
"definitions.lifecycle.delete.confirm": "Usuń agenta",
|
|
133
|
+
"definitions.lifecycle.delete.description": "Trwale usuń agenta {name}. Agenta z historią uruchomień nie można usunąć.",
|
|
134
|
+
"definitions.table.title": "Agenci własni",
|
|
135
|
+
"definitions.table.count": "aktywni: {active} · zdefiniowani: {total}",
|
|
136
|
+
"definitions.table.caption": "Definicje agentów",
|
|
137
|
+
"definitions.loading": "Wczytywanie agentów własnych…",
|
|
138
|
+
"definitions.search.placeholder": "Szukaj po nazwie, kluczu lub opisie",
|
|
139
|
+
"definitions.search.label": "Filtruj agentów",
|
|
140
|
+
"definitions.note": "Agent uzyskuje dostęp do danych biznesowych tylko przez przyznane tutaj narzędzia. Bezpośredni dostęp do bazy jest niedostępny.",
|
|
141
|
+
"definitions.drawer.revision": "Rewizja {revision} · {key}",
|
|
142
|
+
"definitions.drawer.subtitle": "Definicja agenta z ograniczonym zakresem",
|
|
143
|
+
"definitions.unknownProvider": "Nieznany dostawca",
|
|
144
|
+
"definitions.empty.title": "Nie skonfigurowano agentów",
|
|
145
|
+
"definitions.empty.hint": "Utwórz ograniczoną definicję, sprawdź ją i aktywuj.",
|
|
146
|
+
"definitions.empty.filteredTitle": "Brak pasujących agentów",
|
|
147
|
+
"definitions.empty.filteredHint": "Żadna definicja w tej przestrzeni nie pasuje do filtra.",
|
|
148
|
+
"definitions.column.agent": "Agent",
|
|
149
|
+
"definitions.column.purpose": "Zadanie",
|
|
150
|
+
"definitions.column.model": "Model",
|
|
151
|
+
"definitions.column.status": "Status",
|
|
152
|
+
"definitions.form.name": "Nazwa",
|
|
153
|
+
"definitions.form.key": "Stały klucz",
|
|
154
|
+
"definitions.form.description": "Opis",
|
|
155
|
+
"definitions.form.instructions": "Instrukcje systemowe",
|
|
156
|
+
"definitions.form.instructionsHelp": "Określ cel biznesowy, granice działania, zasady eskalacji i oczekiwany wynik. Wpisz {{ lub użyj menu nawiasów, aby wstawić kontekst uruchomienia.",
|
|
157
|
+
"definitions.form.instructionsPlaceholder": "Określ cel biznesowy, granice działania i oczekiwany wynik. Działasz dla {{ context.tenantName }} w dniu {{ context.today }}.",
|
|
158
|
+
"definitions.form.provider": "Dostawca",
|
|
159
|
+
"definitions.form.model": "Model",
|
|
160
|
+
"definitions.form.maxSteps": "Maksymalna liczba kroków",
|
|
161
|
+
"definitions.form.outputTokens": "Tokeny wyjściowe",
|
|
162
|
+
"definitions.form.timeout": "Limit czasu, ms",
|
|
163
|
+
"definitions.form.temperature": "Temperatura",
|
|
164
|
+
"definitions.form.temperatureHelp": "Ten model używa własnej wartości domyślnej i ignoruje to ustawienie.",
|
|
165
|
+
"definitions.form.status": "Status",
|
|
166
|
+
"definitions.form.procedures": "Zatwierdzone procedury",
|
|
167
|
+
"definitions.form.proceduresEmpty": "W tej przestrzeni nie skonfigurowano procedur wielokrotnego użytku.",
|
|
168
|
+
"definitions.form.tools": "Jawnie przyznane narzędzia",
|
|
169
|
+
"definitions.form.toolsEmpty": "Nie zarejestrowano narzędzi API ani CLI. Agent pozostaje odizolowany od danych biznesowych.",
|
|
170
|
+
"definitions.form.toolsCount": "Przyznano {granted} z {total} zarejestrowanych narzędzi",
|
|
171
|
+
"definitions.form.revisionNote": "Zapis utworzy rewizję {revision}.",
|
|
172
|
+
"definitions.form.createNote": "Nowi agenci zaczynają jako szkice i nie mogą działać przed aktywacją.",
|
|
173
|
+
"definitions.form.save": "Zapisz rewizję",
|
|
174
|
+
"definitions.form.create": "Utwórz szkic",
|
|
175
|
+
"moduleAgents.title": "Agenci modułowi",
|
|
176
|
+
"moduleAgents.configure": "Konfiguruj",
|
|
177
|
+
"moduleAgents.notConfigured": "Nieskonfigurowany",
|
|
178
|
+
"moduleAgents.error.save": "Nie udało się zapisać konfiguracji agenta modułowego.",
|
|
179
|
+
"moduleAgents.table.title": "Agenci modułowi",
|
|
180
|
+
"moduleAgents.table.count": "aktywni: {active} · dostarczeni: {total}",
|
|
181
|
+
"moduleAgents.table.caption": "Agenci biznesowi dostarczani przez włączone moduły",
|
|
182
|
+
"moduleAgents.loading": "Wczytywanie agentów modułowych…",
|
|
183
|
+
"moduleAgents.search.placeholder": "Szukaj po agencie, kluczu lub module",
|
|
184
|
+
"moduleAgents.search.label": "Filtruj agentów modułowych",
|
|
185
|
+
"moduleAgents.note": "Moduł określa zachowanie i maksymalny zestaw narzędzi. Każda przestrzeń wybiera dostawcę, model, status i mniejszy zakres narzędzi.",
|
|
186
|
+
"moduleAgents.empty.title": "Brak agentów modułowych",
|
|
187
|
+
"moduleAgents.empty.hint": "Włączony moduł może zarejestrować agenta biznesowego przez defineAgent().",
|
|
188
|
+
"moduleAgents.empty.filteredTitle": "Brak pasujących agentów modułowych",
|
|
189
|
+
"moduleAgents.empty.filteredHint": "Żaden agent modułowy nie pasuje do bieżącego filtra.",
|
|
190
|
+
"moduleAgents.column.agent": "Agent",
|
|
191
|
+
"moduleAgents.column.module": "Moduł",
|
|
192
|
+
"moduleAgents.column.purpose": "Zadanie",
|
|
193
|
+
"moduleAgents.column.model": "Model",
|
|
194
|
+
"moduleAgents.column.status": "Status",
|
|
195
|
+
"moduleAgents.drawer.subtitle": "{module} · definicja {revision}",
|
|
196
|
+
"moduleAgents.form.definition": "Definicja modułu",
|
|
197
|
+
"moduleAgents.form.definitionHelp": "Te pola należą do modułu. Zmieniaj je w kodzie modułu i zwiększaj rewizję definicji.",
|
|
198
|
+
"moduleAgents.form.module": "Moduł właścicielski",
|
|
199
|
+
"moduleAgents.form.key": "Stały klucz",
|
|
200
|
+
"moduleAgents.form.description": "Zadanie",
|
|
201
|
+
"moduleAgents.form.instructions": "Instrukcje biznesowe",
|
|
202
|
+
"moduleAgents.form.execution": "Powiązanie przestrzeni",
|
|
203
|
+
"moduleAgents.form.executionHelp": "Wybierz sposób uruchamiania agenta biznesowego w tej przestrzeni.",
|
|
204
|
+
"moduleAgents.form.tools": "Włączone narzędzia",
|
|
205
|
+
"moduleAgents.form.toolsHelp": "Możesz jedynie zawęzić allowlistę modułu. Uruchomienie nadal wymaga zgodnych uprawnień aktora i grantów wywołania.",
|
|
206
|
+
"moduleAgents.form.toolsEmpty": "Ten agent modułowy nie ma dostępu do żadnych narzędzi platformy.",
|
|
207
|
+
"moduleAgents.form.toolsCount": "Włączono {enabled} z {allowed} narzędzi dopuszczonych przez moduł",
|
|
208
|
+
"moduleAgents.form.bindingRevision": "Zapis utworzy rewizję powiązania {revision}.",
|
|
209
|
+
"moduleAgents.form.save": "Zapisz konfigurację",
|
|
210
|
+
"procedures.title": "Procedury",
|
|
211
|
+
"procedures.description": "Procedury wielokrotnego użytku, które agent może dołączyć wraz z instrukcjami i wymaganymi narzędziami.",
|
|
212
|
+
"procedures.new": "Nowa procedura",
|
|
213
|
+
"procedures.error.load": "Nie udało się wczytać procedur.",
|
|
214
|
+
"procedures.error.save": "Nie udało się zapisać procedury.",
|
|
215
|
+
"procedures.error.lifecycle": "Nie udało się zmienić cyklu życia procedury.",
|
|
216
|
+
"procedures.lifecycle.archive.title": "Zarchiwizować procedurę?",
|
|
217
|
+
"procedures.lifecycle.archive.confirm": "Archiwizuj procedurę",
|
|
218
|
+
"procedures.lifecycle.archive.description": "Zarchiwizuj procedurę {name}. Najpierw usuń ją z aktywnych agentów, aby żadna aktywna definicja nie stała się bezużyteczna.",
|
|
219
|
+
"procedures.lifecycle.delete.title": "Usunąć zarchiwizowaną procedurę?",
|
|
220
|
+
"procedures.lifecycle.delete.confirm": "Usuń procedurę",
|
|
221
|
+
"procedures.lifecycle.delete.description": "Trwale usuń procedurę {name}. Najpierw usuń ją ze wszystkich agentów.",
|
|
222
|
+
"procedures.table.title": "Procedury przestrzeni roboczej",
|
|
223
|
+
"procedures.table.count": "aktywne: {active} · zdefiniowane: {total}",
|
|
224
|
+
"procedures.table.caption": "Procedury agentów",
|
|
225
|
+
"procedures.search.placeholder": "Szukaj po nazwie, kluczu lub przeznaczeniu",
|
|
226
|
+
"procedures.search.label": "Filtruj procedury",
|
|
227
|
+
"procedures.note": "Procedura może wymagać tylko narzędzi zarejestrowanych w tej instalacji. Agent musi mieć przyznane wszystkie wymagane narzędzia, zanim dołączy procedurę.",
|
|
228
|
+
"procedures.drawer.revision": "Rewizja {revision} · {key}",
|
|
229
|
+
"procedures.drawer.subtitle": "Procedura wielokrotnego użytku",
|
|
230
|
+
"procedures.empty.title": "Nie ma jeszcze procedur",
|
|
231
|
+
"procedures.empty.hint": "Procedura to zestaw instrukcji wielokrotnego użytku, który agent może dołączyć wraz z wymaganymi narzędziami.",
|
|
232
|
+
"procedures.empty.filteredTitle": "Brak pasujących procedur",
|
|
233
|
+
"procedures.empty.filteredHint": "Żadna procedura w tej przestrzeni nie pasuje do filtra.",
|
|
234
|
+
"procedures.column.procedure": "Procedura",
|
|
235
|
+
"procedures.column.purpose": "Przeznaczenie",
|
|
236
|
+
"procedures.column.tools": "Narzędzia",
|
|
237
|
+
"procedures.column.status": "Status",
|
|
238
|
+
"procedures.form.name": "Nazwa",
|
|
239
|
+
"procedures.form.key": "Stały klucz",
|
|
240
|
+
"procedures.form.keyFixed": "Nie można go zmienić po utworzeniu.",
|
|
241
|
+
"procedures.form.description": "Opis",
|
|
242
|
+
"procedures.form.descriptionPlaceholder": "Co agent zyskuje po dołączeniu tej procedury.",
|
|
243
|
+
"procedures.form.instructions": "Instrukcje",
|
|
244
|
+
"procedures.form.instructionsHelp": "Dołączane do instrukcji agenta, gdy procedura zostanie wybrana.",
|
|
245
|
+
"procedures.form.instructionsPlaceholder": "Opisz procedurę, granice działania i oczekiwany wynik.",
|
|
246
|
+
"procedures.form.status": "Status",
|
|
247
|
+
"procedures.form.tools": "Wymagane narzędzia",
|
|
248
|
+
"procedures.form.toolsEmpty": "W tej instalacji nie zarejestrowano narzędzi API ani CLI. Procedura może zawierać instrukcje, ale nie może wymagać nieistniejącego narzędzia.",
|
|
249
|
+
"procedures.form.toolsHelp": "Agent może dołączyć tę procedurę tylko wtedy, gdy przyznano mu każde wymienione narzędzie.",
|
|
250
|
+
"procedures.form.revisionNote": "Zapis utworzy rewizję {revision}.",
|
|
251
|
+
"procedures.form.createNote": "Nowe procedury zaczynają jako szkice.",
|
|
252
|
+
"procedures.form.save": "Zapisz rewizję",
|
|
253
|
+
"procedures.form.create": "Utwórz procedurę",
|
|
254
|
+
"template.available": "Dostępne zmienne",
|
|
255
|
+
"template.empty": "Brak pasujących zmiennych.",
|
|
256
|
+
"template.insert": "Wstaw zmienną",
|
|
257
|
+
"variables.context.tenantName.label": "Nazwa przestrzeni roboczej",
|
|
258
|
+
"variables.context.today.label": "Dzisiaj (UTC)",
|
|
259
|
+
"variables.context.user.displayName.label": "Nazwa użytkownika",
|
|
260
|
+
"variables.context.user.email.label": "Adres e-mail użytkownika",
|
|
261
|
+
"common.refreshing": "Odświeżanie…",
|
|
262
|
+
"runStatus.queued": "w kolejce",
|
|
263
|
+
"runStatus.running": "w toku",
|
|
264
|
+
"runStatus.succeeded": "zakończony",
|
|
265
|
+
"runStatus.failed": "nieudany",
|
|
266
|
+
"runStatus.cancelled": "anulowany",
|
|
267
|
+
"trigger.playground": "Ręcznie",
|
|
268
|
+
"trigger.schedule": "Harmonogram",
|
|
269
|
+
"trigger.workflow": "Webhook",
|
|
270
|
+
"trigger.service": "Usługa",
|
|
271
|
+
"cadence.minutes": "Co {count} min",
|
|
272
|
+
"cadence.day": "Codziennie",
|
|
273
|
+
"cadence.days": "Co {count} dni",
|
|
274
|
+
"cadence.hour": "Co godzinę",
|
|
275
|
+
"cadence.hours": "Co {count} godz.",
|
|
276
|
+
"cadence.hoursMinutes": "Co {hours} godz. {minutes} min",
|
|
277
|
+
"duration.seconds": "{count} s",
|
|
278
|
+
"duration.minutes": "{minutes} min {seconds} s",
|
|
279
|
+
"duration.hours": "{hours} godz. {minutes} min",
|
|
280
|
+
"runs.eyebrow": "Trwałe wykonanie",
|
|
281
|
+
"runs.title": "Uruchomienia agentów",
|
|
282
|
+
"runs.description": "Przeglądaj zadania oczekujące, wykonywane, zakończone i nieudane w aktywnej przestrzeni roboczej.",
|
|
283
|
+
"runs.error.loadOne": "Nie udało się wczytać uruchomienia.",
|
|
284
|
+
"runs.error.cancel": "Nie udało się anulować uruchomienia.",
|
|
285
|
+
"runs.error.load": "Nie udało się wczytać uruchomień agentów.",
|
|
286
|
+
"runs.table.title": "Historia wykonań",
|
|
287
|
+
"runs.table.count": "Ostatnie uruchomienia: {count}",
|
|
288
|
+
"runs.table.caption": "Uruchomienia agentów",
|
|
289
|
+
"runs.search.placeholder": "Szukaj agenta, danych wejściowych lub identyfikatora",
|
|
290
|
+
"runs.search.label": "Szukaj uruchomień agentów",
|
|
291
|
+
"runs.filter.status": "Status",
|
|
292
|
+
"runs.filter.allStatuses": "Wszystkie statusy",
|
|
293
|
+
"runs.filter.agent": "Agent",
|
|
294
|
+
"runs.filter.allAgents": "Wszyscy agenci",
|
|
295
|
+
"runs.filter.trigger": "Wyzwalacz",
|
|
296
|
+
"runs.filter.allTriggers": "Wszystkie wyzwalacze",
|
|
297
|
+
"runs.column.agent": "Agent",
|
|
298
|
+
"runs.column.trigger": "Wyzwalacz",
|
|
299
|
+
"runs.column.queued": "Dodano do kolejki",
|
|
300
|
+
"runs.column.duration": "Czas trwania",
|
|
301
|
+
"runs.column.status": "Status",
|
|
302
|
+
"runs.revision": "rewizja {revision}",
|
|
303
|
+
"runs.loading": "Wczytywanie uruchomień agentów…",
|
|
304
|
+
"runs.empty.title": "Nie ma jeszcze uruchomień",
|
|
305
|
+
"runs.empty.hint": "Uruchom agenta w piaskownicy, aby sprawdzić działanie workera.",
|
|
306
|
+
"runs.empty.filteredTitle": "Brak pasujących uruchomień",
|
|
307
|
+
"runs.empty.filteredHint": "Zmień wyszukiwaną frazę lub filtry.",
|
|
308
|
+
"runs.trace.title": "Szczegóły wykonania",
|
|
309
|
+
"runs.trace.hint": "Wybierz uruchomienie, aby zobaczyć wszystkie zdarzenia dostawcy i narzędzi w zapisanej kolejności.",
|
|
310
|
+
"timeline.timeRange": "od {from} do {to}",
|
|
311
|
+
"timeline.outputSummary": "fragmenty: {deltas} · znaki: {characters}",
|
|
312
|
+
"timeline.cancelling": "Anulowanie…",
|
|
313
|
+
"timeline.cancel": "Anuluj uruchomienie",
|
|
314
|
+
"timeline.provider": "Dostawca",
|
|
315
|
+
"timeline.attempt": "Próba",
|
|
316
|
+
"timeline.input": "Dane wejściowe",
|
|
317
|
+
"timeline.trail": "Przebieg wykonania",
|
|
318
|
+
"timeline.entries": "Wpisy: {count}",
|
|
319
|
+
"timeline.empty": "Worker nie wysłał jeszcze żadnego zdarzenia.",
|
|
320
|
+
"timeline.answer": "Odpowiedź modelu",
|
|
321
|
+
"timeline.omitted": "Dalsze znaki zapisane z uruchomieniem, ale niewysłane na tę stronę: {count}.",
|
|
322
|
+
"timeline.message": "wiadomość",
|
|
323
|
+
"timeline.tool.started": "rozpoczęto",
|
|
324
|
+
"timeline.tool.completed": "zakończono",
|
|
325
|
+
"timeline.tool.failed": "błąd",
|
|
326
|
+
"timeline.tool.denied": "odmowa",
|
|
327
|
+
"playground.eyebrow": "Odizolowane środowisko testowe",
|
|
328
|
+
"playground.title": "Piaskownica agentów",
|
|
329
|
+
"playground.description": "Uruchamiaj prawdziwe przebiegi harnessu niezależnie od bieżącej sesji przeglądarki.",
|
|
330
|
+
"playground.error.queue": "Nie udało się dodać uruchomienia do kolejki.",
|
|
331
|
+
"playground.form.title": "Nowe uruchomienie testowe",
|
|
332
|
+
"playground.form.subtitle": "Odpowiedź wraca po trwałym zapisie w kolejce",
|
|
333
|
+
"playground.form.agent": "Aktywny agent",
|
|
334
|
+
"playground.form.activateFirst": "Najpierw aktywuj agenta",
|
|
335
|
+
"playground.form.input": "Dane testowe",
|
|
336
|
+
"playground.form.inputPlaceholder": "Opisz oczekiwany wynik i podaj tylko dane potrzebne w tym uruchomieniu.",
|
|
337
|
+
"playground.form.note": "Po dodaniu do kolejki możesz zamknąć stronę. Postęp i wynik pozostaną w Uruchomieniach agentów.",
|
|
338
|
+
"playground.form.queuing": "Dodawanie do kolejki…",
|
|
339
|
+
"playground.form.queue": "Uruchom agenta",
|
|
340
|
+
"playground.worker.slots": "Zajęte miejsca: {inFlight} z {concurrency}",
|
|
341
|
+
"playground.worker.unavailable": "Status workera jest niedostępny",
|
|
342
|
+
"playground.worker.unknown": "status workera nieznany",
|
|
343
|
+
"playground.worker.online": "worker działa · uruchomienia: {inFlight}",
|
|
344
|
+
"playground.worker.offline": "worker nie działa",
|
|
345
|
+
"playground.empty.title": "Gotowe do trwałego uruchomienia",
|
|
346
|
+
"playground.empty.hint": "Dostawca symulacji lokalnej nie wywołuje modelu ani sieci. Dodaj połączenie w sekcji Dostawcy modeli, gdy dane dostępowe będą gotowe.",
|
|
347
|
+
"usage.eyebrow": "Agenci",
|
|
348
|
+
"usage.title": "Zużycie i koszty",
|
|
349
|
+
"usage.description": "Tokeny i koszty według dnia oraz agenta, wraz z pozostałym budżetem przestrzeni na ten miesiąc.",
|
|
350
|
+
"usage.error.load": "Nie udało się wczytać zużycia.",
|
|
351
|
+
"usage.kpi.month": "Od początku miesiąca",
|
|
352
|
+
"usage.kpi.monthlyBudget": "Budżet miesięczny",
|
|
353
|
+
"usage.kpi.agentBudget": "Budżet na agenta",
|
|
354
|
+
"usage.kpi.runs": "Uruchomienia w tym miesiącu",
|
|
355
|
+
"usage.since": "Od {date}",
|
|
356
|
+
"usage.none": "Brak",
|
|
357
|
+
"usage.setCap": "Ustaw limit w Administracja > Moduły",
|
|
358
|
+
"usage.left": "Pozostało {amount}",
|
|
359
|
+
"usage.agentBudgetNote": "Stosowany osobno do każdego agenta",
|
|
360
|
+
"usage.unpriced": "Bez wyceny: {count}",
|
|
361
|
+
"usage.allPriced": "Wszystkie wycenione",
|
|
362
|
+
"usage.priced": "wycenione",
|
|
363
|
+
"usage.range": "od {from} do {to}",
|
|
364
|
+
"usage.byAgent.title": "Według agenta",
|
|
365
|
+
"usage.byAgent.caption": "Zużycie według agenta",
|
|
366
|
+
"usage.byAgent.emptyTitle": "Brak zakończonych uruchomień",
|
|
367
|
+
"usage.byAgent.emptyHint": "Koszt jest zapisywany, gdy uruchomienie zakończy się i zgłosi zużycie.",
|
|
368
|
+
"usage.byDay.title": "Według dnia",
|
|
369
|
+
"usage.byDay.count": "Dni z aktywnością: {count}",
|
|
370
|
+
"usage.byDay.caption": "Zużycie agentów według dnia",
|
|
371
|
+
"usage.byDay.emptyTitle": "Brak zużycia w tym okresie",
|
|
372
|
+
"usage.byDay.emptyHint": "Uruchom agenta, aby rozpocząć rejestrowanie tokenów i kosztów.",
|
|
373
|
+
"usage.column.runs": "Uruchomienia",
|
|
374
|
+
"usage.column.input": "Wejście",
|
|
375
|
+
"usage.column.output": "Wyjście",
|
|
376
|
+
"usage.column.cost": "Koszt",
|
|
377
|
+
"usage.column.pricing": "Wycena",
|
|
378
|
+
"usage.column.day": "Dzień",
|
|
379
|
+
"usage.note": "Model bez opublikowanej ceny jest liczony w tokenach i pomijany w kosztach. Budżet jest sprawdzany przy dodaniu do kolejki, a trwające uruchomienie nie jest przerywane.",
|
|
380
|
+
"usage.unavailableTitle": "Dane o zużyciu niedostępne",
|
|
381
|
+
"usage.unavailableHint": "Odśwież stronę, aby wczytać podsumowanie zużycia przestrzeni roboczej.",
|
|
382
|
+
"widget.label": "Operacje agentów",
|
|
383
|
+
"widget.note": "Zadania w kolejce i w toku, które działają niezależnie od przeglądarki.",
|
|
384
|
+
"widget.link": "Otwórz uruchomienia agentów",
|
|
385
|
+
"settings.workerConcurrency.label": "Równoległe uruchomienia procesu",
|
|
386
|
+
"settings.workerConcurrency.description": "Liczba uruchomień obsługiwanych jednocześnie przez jeden proces. Zmiana obowiązuje przy kolejnym pobraniu z kolejki.",
|
|
387
|
+
"settings.workerLeaseMs.label": "Czas dzierżawy procesu (ms)",
|
|
388
|
+
"settings.workerLeaseMs.description": "Czas, przez który pobrane uruchomienie należy do procesu, zanim inny proces będzie mógł je przejąć. Zmiana dotyczy nowych pobrań.",
|
|
389
|
+
"settings.providerReadinessTtlMs.label": "Ważność testu gotowości modelu (ms)",
|
|
390
|
+
"settings.providerReadinessTtlMs.description": "Czas, przez który udany test lub uruchomienie potwierdza, że model odpowiada.",
|
|
391
|
+
"settings.providerHostAllowlist.label": "Dozwolone hosty zgodne z OpenAI",
|
|
392
|
+
"settings.providerHostAllowlist.description": "Publiczne hosty HTTPS, z którymi mogą łączyć się połączenia zgodne z OpenAI, rozdzielone przecinkami.",
|
|
393
|
+
"settings.defaultMaxOutputTokens.label": "Domyślny limit tokenów wyjściowych",
|
|
394
|
+
"settings.defaultMaxOutputTokens.description": "Używany, gdy definicja agenta nie określa własnego limitu.",
|
|
395
|
+
"settings.defaultProvider.label": "Domyślne połączenie z dostawcą",
|
|
396
|
+
"settings.defaultProvider.description": "Identyfikator połączenia wybierany wstępnie dla nowych agentów. Pusta wartość oznacza brak wyboru.",
|
|
397
|
+
"settings.defaultModel.label": "Domyślny model",
|
|
398
|
+
"settings.defaultModel.description": "Identyfikator modelu wybierany wstępnie dla nowych agentów. Pusta wartość oznacza brak wyboru.",
|
|
399
|
+
"settings.monthlyCostCapUsd.label": "Miesięczny budżet agentów (USD)",
|
|
400
|
+
"settings.monthlyCostCapUsd.description": "Po osiągnięciu tej kwoty w miesiącu nowe uruchomienia są odrzucane. Zero wyłącza limit. Trwające uruchomienie nie jest przerywane.",
|
|
401
|
+
"settings.agentMonthlyCostCapUsd.label": "Miesięczny budżet jednego agenta (USD)",
|
|
402
|
+
"settings.agentMonthlyCostCapUsd.description": "Obowiązuje osobno dla każdego agenta, niezależnie od budżetu przestrzeni roboczej. Zero wyłącza limit."
|
|
403
|
+
}
|
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
# Authentication Core
|
|
2
|
+
|
|
3
|
+
`auth.core` is the tenant-aware authentication and authorization boundary used by the application shell. Its approved spec is `spec/module.yaml`.
|
|
4
|
+
|
|
5
|
+
## Included
|
|
6
|
+
|
|
7
|
+
- Sign-up and sign-in screens in TSRX.
|
|
8
|
+
- Account, tenant, membership, scope, and session persistence in PostgreSQL, through the platform-owned `@flowdular/sdk/database` provider.
|
|
9
|
+
- Password hashing with scrypt and per-password random salts.
|
|
10
|
+
- Random session tokens stored only as SHA-256 hashes in the database.
|
|
11
|
+
- HttpOnly, host-only, `SameSite=Strict` cookies, with `Secure` enabled by default in production.
|
|
12
|
+
- Same-origin checks, CSRF verification for sign-out, input limits, and authentication attempt limiting.
|
|
13
|
+
- Authentication middleware plus `requireAuthentication()` and `requireScopes()` guards.
|
|
14
|
+
- Segment-backed browser state that stores only the principal and CSRF token in memory.
|
|
15
|
+
|
|
16
|
+
## Routes
|
|
17
|
+
|
|
18
|
+
| Method | Route | Purpose |
|
|
19
|
+
| ------ | ----------------------------- | ---------------------------------------- |
|
|
20
|
+
| GET | `/api/auth/config` | Public sign-in configuration |
|
|
21
|
+
| GET | `/api/auth/session` | Resolve the current session |
|
|
22
|
+
| POST | `/api/auth/sign-up` | Create a tenant owner account |
|
|
23
|
+
| POST | `/api/auth/sign-in` | Create a new session |
|
|
24
|
+
| POST | `/api/auth/switch-tenant` | Rotate into another membership |
|
|
25
|
+
| POST | `/api/auth/sign-out` | Revoke the current session |
|
|
26
|
+
| POST | `/api/auth/password` | Change the own password |
|
|
27
|
+
| POST | `/api/auth/workspace` | Rename the active workspace |
|
|
28
|
+
| GET | `/api/auth/api-tokens` | List tenant API tokens |
|
|
29
|
+
| POST | `/api/auth/api-tokens` | Issue an API token |
|
|
30
|
+
| POST | `/api/auth/api-tokens/revoke` | Revoke an API token |
|
|
31
|
+
| GET | `/api/auth/roles` | Tenant roles and grantable scopes |
|
|
32
|
+
| POST | `/api/auth/roles` | Create a custom role |
|
|
33
|
+
| POST | `/api/auth/roles/update` | Change a custom role |
|
|
34
|
+
| POST | `/api/auth/roles/delete` | Delete an unused custom role |
|
|
35
|
+
| GET | `/api/auth/audit` | Page through the tenant audit trail |
|
|
36
|
+
| GET | `/api/auth/sessions` | List the own sessions |
|
|
37
|
+
| POST | `/api/auth/sessions/revoke` | End an own session, or all of a member's |
|
|
38
|
+
|
|
39
|
+
`GET /api/settings` and `POST /api/settings/update` are served by system.core;
|
|
40
|
+
auth.core owns the store and appends the `settings.updated` audit row through
|
|
41
|
+
the settings runtime's change listener.
|
|
42
|
+
|
|
43
|
+
Mutation requests require a matching `Origin` or `Referer`. Sign-out also requires the session CSRF value in `x-csrf-token`.
|
|
44
|
+
|
|
45
|
+
## API tokens
|
|
46
|
+
|
|
47
|
+
API tokens are machine credentials for clients that cannot hold a browser session, such as a sandbox connected to a remote deployment. An owner with `auth.tokens.manage` issues one from Administration or through the API. The raw value (`clat_...`) is returned once and stored only as a SHA-256 hash.
|
|
48
|
+
|
|
49
|
+
A client presents it as `Authorization: Bearer clat_...`. The authentication middleware resolves it only when no session cookie is present, and the effective scopes are the intersection of the token's recorded scopes with the membership's current scopes. Session-guarded mutations reject tokens with `TOKEN_MUTATION_DENIED`, so a token can read platform data and prove sandbox authority but cannot drive CSRF-protected writes. Revocation, expiry, and scope removal take effect on the next request.
|
|
50
|
+
|
|
51
|
+
## Configuration
|
|
52
|
+
|
|
53
|
+
| Variable | Default |
|
|
54
|
+
| ------------------------------ | ------------------------------------------------------------------- |
|
|
55
|
+
| `FD_AUTH_SECURE_COOKIE` | `false` in development and `true` in production |
|
|
56
|
+
| `FD_AUTH_ALLOW_SIGN_UP` | `true` in development and `false` in production |
|
|
57
|
+
| `FD_AUTH_SESSION_TTL_HOURS` | `12` |
|
|
58
|
+
| `FD_AUTH_SESSION_IDLE_MINUTES` | `120` |
|
|
59
|
+
| `FD_AUTH_PASSWORD_MIN_LENGTH` | `12` |
|
|
60
|
+
| `FD_AUTH_SIGN_IN_PROVIDERS` | empty |
|
|
61
|
+
| `FD_AUTH_EMAIL_CONFIRMATION` | `false`; `true` is refused until a mail transport exists |
|
|
62
|
+
| `FD_TRUST_PROXY` | `false`; `true` reads the client address from `x-forwarded-for` |
|
|
63
|
+
| `FD_CSP` | built-in policy; report-only in development, enforced in production |
|
|
64
|
+
| `FD_CSP_REPORT_ONLY` | `true` in development and `false` in production |
|
|
65
|
+
|
|
66
|
+
The auth values are defaults for the declared `auth.core` settings. A value
|
|
67
|
+
stored through the module's drawer under Administration > Modules wins at
|
|
68
|
+
read time.
|
|
69
|
+
|
|
70
|
+
Disabling secure cookies is only valid for local plain-HTTP development. Production traffic must use TLS.
|
|
71
|
+
|
|
72
|
+
## Sign-in protection
|
|
73
|
+
|
|
74
|
+
Sign-in and sign-up are throttled per submitted address (5 per 5 minutes) and,
|
|
75
|
+
behind a trusted proxy, per client address (20 per 5 minutes). Five failed
|
|
76
|
+
attempts lock the address for 15 minutes with the stable `ACCOUNT_LOCKED`
|
|
77
|
+
error; the lock is keyed by the submitted address whether or not an account
|
|
78
|
+
exists, so it never confirms a registration. Sessions end after the configured
|
|
79
|
+
idle period or absolute lifetime, and expired rows are swept every 15 minutes.
|
|
80
|
+
|
|
81
|
+
Every response carries `X-Content-Type-Options`, `X-Frame-Options`,
|
|
82
|
+
`Referrer-Policy`, `Permissions-Policy`, `Strict-Transport-Security` when secure
|
|
83
|
+
cookies are on, and a `Content-Security-Policy`. The production shell replaces
|
|
84
|
+
its bootstrap nonce per response, so `script-src` does not allow
|
|
85
|
+
`'unsafe-inline'`.
|
|
86
|
+
|
|
87
|
+
## Roles, audit, and settings
|
|
88
|
+
|
|
89
|
+
Every tenant carries `owner` and `member` as read-only rows in `auth_roles`;
|
|
90
|
+
custom roles grant a subset of the workspace's grantable scopes and are
|
|
91
|
+
assigned from Administration > Users. Administrative actions, sign-ins, and
|
|
92
|
+
settings changes are appended to `auth_audit` and shown under Administration >
|
|
93
|
+
Audit. Declared module settings are stored per tenant in `module_settings` and
|
|
94
|
+
edited per module under Administration > Modules; Administration > Settings
|
|
95
|
+
keeps only the workspace name and defaults such as the tenant locale.
|
|
96
|
+
|
|
97
|
+
## Module scopes
|
|
98
|
+
|
|
99
|
+
A module declares its scopes in its specification. Enabling it does not grant
|
|
100
|
+
them, so the scopes are handed to the workspace owners explicitly:
|
|
101
|
+
|
|
102
|
+
```bash
|
|
103
|
+
pnpm flowdular auth sync-scopes --module profile.core # dry run
|
|
104
|
+
pnpm flowdular auth sync-scopes --module profile.core --apply
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
The command reads `permissions` from the module's specification, never from
|
|
108
|
+
module code, and the grant is idempotent. Members receive module scopes through
|
|
109
|
+
role assignment, not through this command. The sandbox runs it as part of an
|
|
110
|
+
eject, which is why an ejected module is reachable straight away.
|
|
111
|
+
|
|
112
|
+
## Operator provisioning
|
|
113
|
+
|
|
114
|
+
A deployment turns public sign-up off, so its first workspace and every later
|
|
115
|
+
colleague arrive through the CLI. The commands use the deployment database
|
|
116
|
+
through the platform provider, work against a PostgreSQL server, read nothing
|
|
117
|
+
from `FD_AUTH_ALLOW_SIGN_UP`, and reset nothing.
|
|
118
|
+
|
|
119
|
+
```bash
|
|
120
|
+
pnpm flowdular auth workspaces # what exists, with owners
|
|
121
|
+
pnpm flowdular auth workspace-create --name "Northwind" \
|
|
122
|
+
--owner-email ada@northwind.example --owner-name "Ada Lovelace" # dry run
|
|
123
|
+
pnpm flowdular auth workspace-create --name "Northwind" \
|
|
124
|
+
--owner-email ada@northwind.example --owner-name "Ada Lovelace" --apply
|
|
125
|
+
pnpm flowdular auth member-add --workspace northwind \
|
|
126
|
+
--email grace@northwind.example --role member --apply
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
`workspace-create` writes the tenant, the owner account, the owner membership
|
|
130
|
+
and `OWNER_SCOPES`, exactly as sign-up does, so the workspace is
|
|
131
|
+
indistinguishable from one created in the browser. The workspace id comes from
|
|
132
|
+
`--slug` or is derived from the name, and both it and the email pass the
|
|
133
|
+
validators the sign-up path uses. A taken workspace id or a registered address
|
|
134
|
+
is refused with a stable `WORKSPACE_SLUG_TAKEN` or `ACCOUNT_EXISTS` error.
|
|
135
|
+
|
|
136
|
+
| Flag | Meaning |
|
|
137
|
+
| ----------------- | ---------------------------------------------------------- |
|
|
138
|
+
| `--name` | Workspace name, 2 to 120 characters |
|
|
139
|
+
| `--slug` | Workspace id; derived from the name when absent |
|
|
140
|
+
| `--owner-email` | Owner address, normalized the way sign-up normalizes it |
|
|
141
|
+
| `--owner-name` | Owner display name |
|
|
142
|
+
| `--password-env` | Name of an environment variable holding the owner password |
|
|
143
|
+
| `--actor <label>` | Audit actor suffix; defaults to the OS user |
|
|
144
|
+
| `--workspace` | `member-add` target, by workspace id or tenant identifier |
|
|
145
|
+
| `--role <key>` | `member-add` role, `member` by default |
|
|
146
|
+
| `--limit <n>` | `workspaces` page size, 1 to 200, 25 by default |
|
|
147
|
+
|
|
148
|
+
### How the first credential reaches the operator
|
|
149
|
+
|
|
150
|
+
By default the command emits a single-use password setup link over the existing
|
|
151
|
+
`auth_password_reset_tokens` table: only the token hash is stored, it is valid
|
|
152
|
+
for 24 hours, it can be used once, and it is printed exactly once. Nothing can
|
|
153
|
+
recover it afterwards, and it never reaches the audit trail. Set
|
|
154
|
+
`FD_AUTH_PUBLIC_ORIGIN` so the link points at the deployment; without it the
|
|
155
|
+
command warns and falls back to `http://localhost`.
|
|
156
|
+
|
|
157
|
+
The command mints that token itself rather than going through
|
|
158
|
+
`requestPasswordReset` or `createTenantInvitation`. Both of those hand their
|
|
159
|
+
token to the injected `AuthMailDelivery` adapter and to nobody else:
|
|
160
|
+
`createTenantInvitation` refuses with `MAIL_NOT_CONFIGURED` when none is
|
|
161
|
+
composed, and `requestPasswordReset` returns silently. The only adapter that
|
|
162
|
+
ships is in-memory and its flag is refused in production, so an operator
|
|
163
|
+
standing at a shell on the server is the delivery channel, and the terminal is
|
|
164
|
+
the one channel that always exists.
|
|
165
|
+
|
|
166
|
+
`--password-env` takes the **name** of an environment variable, never the
|
|
167
|
+
password. A password passed as a flag value lands in shell history and in the
|
|
168
|
+
process list of every other user on the host, so a value that is not a variable
|
|
169
|
+
name is refused without being echoed back. With `--password-env` the command
|
|
170
|
+
emits no link and no password.
|
|
171
|
+
|
|
172
|
+
`member-add` needs no credential for an address that already has an account: it
|
|
173
|
+
adds the membership with the role's scopes. An unknown address gets a
|
|
174
|
+
single-use invitation link over `auth_tenant_invitations`, shown once, which
|
|
175
|
+
the invited person opens to choose their own display name and password.
|
|
176
|
+
|
|
177
|
+
Both commands are `risk: process` capabilities: they are a dry run without
|
|
178
|
+
`--apply` and print the workspace, the account and the scopes they would
|
|
179
|
+
create. Each append an audit row to the workspace trail with the operator as
|
|
180
|
+
the actor (`cli:<user>`, or `cli:<label>` with `--actor`), so an owner never
|
|
181
|
+
appears without a record of who made it.
|
|
182
|
+
|
|
183
|
+
## Greenfield development seed
|
|
184
|
+
|
|
185
|
+
Preview the local reset, seed credentials, and tenant layout:
|
|
186
|
+
|
|
187
|
+
```bash
|
|
188
|
+
pnpm flowdular setup quick
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
Stop the development server, then apply the reset with typed confirmation:
|
|
192
|
+
|
|
193
|
+
```bash
|
|
194
|
+
pnpm flowdular setup quick --apply --confirm reset-local-auth
|
|
195
|
+
```
|
|
196
|
+
|
|
197
|
+
The command resets only the workspace's local embedded database, and refuses to run when a PostgreSQL server is configured. It creates:
|
|
198
|
+
|
|
199
|
+
- `admin@example.com` / `Admin!23456789`, an owner of Operations Demo and Finance Demo.
|
|
200
|
+
- `user@example.com` / `User!234567890`, a reduced-scope member of Operations Demo.
|
|
201
|
+
|
|
202
|
+
The application shell exposes the active tenant selector. Switching it rotates the session cookie and reloads the target membership's role and scopes. All seed values are public development defaults. The command refuses a configured PostgreSQL server and non-development environments. `auth greenfield` remains the module-owned equivalent of `setup quick`.
|
|
203
|
+
|
|
204
|
+
auth.core stores everything in PostgreSQL through the platform provider, which
|
|
205
|
+
means a deployment must configure `FD_DATABASE_BACKGROUND_URL`: a session
|
|
206
|
+
cookie, a bearer token, an invitation link and an email address all arrive
|
|
207
|
+
without a workspace, and that read-only cross-tenant role is what resolves the
|
|
208
|
+
one they belong to. Password reset,
|
|
209
|
+
tenant invitations, TOTP MFA, and OIDC use injected deployment configuration:
|
|
210
|
+
`FD_AUTH_MFA_KEY` is a 32-byte AES key encoded as 64 hexadecimal characters
|
|
211
|
+
or base64url, `FD_AUTH_PUBLIC_ORIGIN` is the public HTTPS origin, and
|
|
212
|
+
`FD_AUTH_OIDC_PROVIDERS` is a JSON list of configured OIDC endpoints and
|
|
213
|
+
credentials. Email delivery is injected through `AuthMailDelivery`; local-only
|
|
214
|
+
evidence can use `FD_AUTH_DEVELOPMENT_MAIL=true`, which keeps messages in
|
|
215
|
+
memory and never logs or exposes raw tokens.
|