Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ A built-in importer handles the move off Jira.

It ships as a single Go binary with the Svelte frontend built in, SQLite by default or PostgreSQL for data storage. No Java, no Elasticsearch cluster, no per-user pricing, and your data stays on your infrastructure.

## Operator controls

Deployment owners can apply immutable [operator controls](internal/operatorcontrols/README.md)
without changing organization preferences or maintaining a separate application fork.

## Agents and automation

Windshift runs coding agents against your repositories. Agent Studio binds an agent to a workspace, launches it from a work item, and links the resulting pull request back to that item. Source control integrations cover GitHub, GitLab, Gitea, and Forgejo.
Expand Down
212 changes: 212 additions & 0 deletions api/openapi-v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -28079,6 +28079,165 @@
},
"type": "object"
},
"GetOperatorControlsResult": {
"additionalProperties": false,
"properties": {
"data": {
"additionalProperties": false,
"properties": {
"blocked_definitions": {
"description": "The blocked definitions value.",
"items": {
"additionalProperties": false,
"properties": {
"id": {
"description": "The id value.",
"type": "integer"
},
"kind": {
"description": "The kind value.",
"type": "string"
},
"name": {
"description": "The name value.",
"type": "string"
}
},
"required": [
"id",
"kind",
"name"
],
"type": "object"
},
"type": "array"
},
"blocked_definitions_truncated": {
"description": "The blocked definitions truncated value.",
"type": "boolean"
},
"policy": {
"additionalProperties": false,
"description": "The policy value.",
"properties": {
"ai_denied_features": {
"description": "The ai denied features value.",
"items": {
"type": "string"
},
"type": "array"
},
"ai_max_output_tokens": {
"description": "The ai max output tokens value.",
"type": "integer"
},
"ai_models": {
"description": "The ai models value.",
"items": {
"type": "string"
},
"type": "array"
},
"deny": {
"description": "The deny value.",
"items": {
"type": "string"
},
"type": "array"
},
"import_admission_required": {
"description": "The import admission required value.",
"type": "boolean"
},
"limits": {
"additionalProperties": false,
"description": "The limits value.",
"properties": {
"ai_tokens_per_day": {
"description": "The ai tokens per day value.",
"type": "integer"
},
"attachment_bytes": {
"description": "The attachment bytes value.",
"type": "integer"
},
"automation_steps_per_day": {
"description": "The automation steps per day value.",
"type": "integer"
},
"blob_bytes": {
"description": "The blob bytes value.",
"type": "integer"
},
"concurrent_ai": {
"description": "The concurrent ai value.",
"type": "integer"
},
"concurrent_requests": {
"description": "The concurrent requests value.",
"type": "integer"
},
"concurrent_scripts": {
"description": "The concurrent scripts value.",
"type": "integer"
},
"concurrent_streams": {
"description": "The concurrent streams value.",
"type": "integer"
},
"mail_recipients_per_day": {
"description": "The mail recipients per day value.",
"type": "integer"
},
"requests_per_minute": {
"description": "The requests per minute value.",
"type": "integer"
},
"script_timeout_ms": {
"description": "The script timeout ms value.",
"type": "integer"
}
},
"type": "object"
},
"mail_mode": {
"description": "The mail mode value.",
"type": "string"
},
"mail_suspended": {
"description": "The mail suspended value.",
"type": "boolean"
}
},
"required": [
"deny",
"import_admission_required",
"limits"
],
"type": "object"
},
"usage": {
"additionalProperties": {
"type": "integer"
},
"description": "The usage value.",
"type": "object"
}
},
"required": [
"blocked_definitions",
"blocked_definitions_truncated",
"policy",
"usage"
],
"type": "object"
}
},
"required": [
"data"
],
"type": "object"
},
"GetPacksResult": {
"additionalProperties": false,
"properties": {
Expand Down Expand Up @@ -118452,6 +118611,59 @@
]
}
},
"/operator-controls": {
"get": {
"description": "Read effective operator restrictions, current instance usage and blocked script definitions. Requires system administrator permission and admin:operator-controls:read for bearer tokens. Credentials and deployment paths are never returned. This read-only operation cannot modify operator policy.",
"operationId": "getOperatorControls",
"parameters": [],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/GetOperatorControlsResult"
}
}
},
"description": "Read operator controls response."
},
"401": {
"$ref": "#/components/responses/AuthenticationError"
},
"403": {
"$ref": "#/components/responses/PermissionError"
},
"429": {
"$ref": "#/components/responses/RateLimitError"
},
"500": {
"$ref": "#/components/responses/InternalError"
},
"503": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorDocument"
}
}
},
"description": "Service Unavailable."
}
},
"security": [
{
"BearerAuth": []
}
],
"summary": "Read operator controls",
"tags": [
"Administration"
],
"x-required-scopes": [
"admin:operator-controls:read"
]
}
},
"/packs": {
"get": {
"description": "List built-in framework packs. Results include only resources visible to the authenticated caller; collections use their documented stable order and bounds.",
Expand Down
1 change: 1 addition & 0 deletions frontend/src/lib/admin/adminComponentRoutes.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// when its route is active.
export const ADMIN_COMPONENT_LOADERS = {
general: () => import('../settings/GeneralSettings.svelte'),
'operator-controls': () => import('../settings/OperatorControls.svelte'),
'custom-fields': () => import('../settings/CustomFields.svelte'),
workspaces: () => import('../workspaces/Workspaces.svelte'),
screens: () => import('../pages/Screens.svelte'),
Expand Down
8 changes: 8 additions & 0 deletions frontend/src/lib/admin/adminNavigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,14 @@ export const adminGroups = [
icon: IconSettings,
descriptionKey: 'settings.adminItems.general.description',
},
{
id: 'operator-controls',
labelKey: 'operatorControls.title',
labelFallback: 'Operator controls',
icon: IconShield,
descriptionKey: 'operatorControls.description',
descriptionFallback: 'Read-only deployment restrictions and instance allowances.',
},
],
},
{
Expand Down
30 changes: 30 additions & 0 deletions frontend/src/lib/locales/de/admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,36 @@
* Includes: settings, roles, permissions
*/
export default {
operatorControls: {
title: 'Betreiberkontrollen',
description: 'Diese Bereitstellungsvorgaben sind schreibgeschützt. Änderungen an Einschränkungen oder Kontingenten nimmt der Instanzbetreiber vor. Organisationseinstellungen dürfen strenger sein, diese Obergrenzen aber nicht überschreiten.',
restricted: 'Diese Funktion wird vom Instanzbetreiber verwaltet.',
restrictions: 'Eingeschränkte Funktionen',
unrestricted: 'Keine zusätzlichen Funktionseinschränkungen.',
limits: 'Obergrenzen der Instanz',
usage: 'Verbrauch im aktuellen Zeitraum',
blockedDefinitions: 'Durch Betreiberkontrollen gesperrte Definitionen',
loadFailed: 'Betreiberkontrollen konnten nicht geladen werden.',
mailMode: 'E-Mail-Versandmodus',
importAdmission: 'Massenimporte benötigen eine Betreiberfreigabe.',
models: 'Verfügbare KI-Modelle',
truncated: 'Die ersten 1.000 gesperrten Definitionen werden angezeigt.',
labels: {
instance_lifecycle: 'Instanzlebenszyklus', maintenance: 'Wartungsvorgänge',
runtime_diagnostics: 'Laufzeitdiagnose', plugin_exec: 'Plugin-Befehlsausführung',
ldap: 'LDAP', server_scripts: 'Serverskripte', imports: 'Massenimporte',
mail_transport_management: 'E-Mail-Transportverwaltung', generic_mail: 'Generisches SMTP und IMAP',
mail: 'E-Mail-Versand', ai: 'KI-Generierung', ai_connection_management: 'KI-Verbindungsverwaltung',
attachment_bytes: 'Maximale Objektgröße (Bytes)', blob_bytes: 'Blob-Speicherkontingent (Bytes)',
concurrent_requests: 'Gleichzeitige Anfragen', concurrent_streams: 'Gleichzeitige Streams',
requests_per_minute: 'Anfragen pro Minute', script_timeout_ms: 'Skriptzeitlimit (Millisekunden)',
concurrent_scripts: 'Gleichzeitige Skripte', automation_steps_per_day: 'Automatisierungsschritte pro UTC-Tag',
mail_recipients_per_day: 'E-Mail-Empfängerversuche pro UTC-Tag', ai_tokens_per_day: 'KI-Token-Kontingent pro UTC-Tag',
concurrent_ai: 'Gleichzeitige KI-Aufrufe', requests: 'Anfrageversuche in dieser Minute',
automation_steps: 'Automatisierungsschritte heute', mail_recipients: 'E-Mail-Empfängerversuche heute',
ai_tokens: 'Heute angerechnete KI-Token',
},
},
settings: {
title: 'Einstellungen',
subtitle: 'Ihre Anwendungseinstellungen konfigurieren',
Expand Down
44 changes: 44 additions & 0 deletions frontend/src/lib/locales/en/admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,50 @@
*/

export default {
operatorControls: {
title: 'Operator controls',
description: 'These deployment controls are read-only. Contact the instance operator to change restrictions or allowances. Organization preferences can be more restrictive, but cannot exceed these ceilings.',
restricted: 'This capability is managed by the instance operator.',
restrictions: 'Restricted capabilities',
unrestricted: 'No additional capability restrictions.',
limits: 'Instance ceilings',
usage: 'Current interval usage',
blockedDefinitions: 'Definitions blocked by operator controls',
loadFailed: 'Could not load operator controls.',
mailMode: 'Mail delivery mode',
importAdmission: 'Bulk imports require operator admission.',
models: 'Available AI models',
truncated: 'The first 1,000 blocked definitions are shown.',
labels: {
instance_lifecycle: 'Instance lifecycle',
maintenance: 'Maintenance operations',
runtime_diagnostics: 'Runtime diagnostics',
plugin_exec: 'Plugin command execution',
ldap: 'LDAP',
server_scripts: 'Server scripts',
imports: 'Bulk imports',
mail_transport_management: 'Mail transport management',
generic_mail: 'Generic SMTP and IMAP',
mail: 'Mail delivery',
ai: 'AI generation',
ai_connection_management: 'AI connection management',
attachment_bytes: 'Maximum object size (bytes)',
blob_bytes: 'Blob storage allowance (bytes)',
concurrent_requests: 'Concurrent requests',
concurrent_streams: 'Concurrent streams',
requests_per_minute: 'Requests per minute',
script_timeout_ms: 'Script timeout (milliseconds)',
concurrent_scripts: 'Concurrent scripts',
automation_steps_per_day: 'Automation steps per UTC day',
mail_recipients_per_day: 'Mail recipient attempts per UTC day',
ai_tokens_per_day: 'AI token allowance per UTC day',
concurrent_ai: 'Concurrent AI calls',
requests: 'Request attempts this minute',
automation_steps: 'Automation steps today',
mail_recipients: 'Mail recipient attempts today',
ai_tokens: 'AI tokens charged today',
},
},
// Settings (merged from general and detailed settings sections)
settings: {
title: 'Settings',
Expand Down
23 changes: 23 additions & 0 deletions frontend/src/lib/locales/fa/admin.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,27 @@
export default {
"operatorControls": {
"title": "کنترل‌های اپراتور",
"description": "این قوانین استقرار فقط خواندنی هستند. برای تغییر محدودیت‌ها یا سهمیه‌ها با اپراتور نمونه تماس بگیرید. تنظیمات سازمان می‌توانند سخت‌گیرانه‌تر باشند، اما نباید از این سقف‌ها فراتر بروند.",
"restricted": "این قابلیت توسط اپراتور نمونه مدیریت می‌شود.",
"restrictions": "قابلیت‌های محدودشده", "unrestricted": "محدودیت اضافی برای قابلیت‌ها وجود ندارد.",
"limits": "سقف‌های نمونه", "usage": "مصرف دوره فعلی", "blockedDefinitions": "تعریف‌های مسدودشده توسط کنترل‌های اپراتور",
"loadFailed": "بارگیری کنترل‌های اپراتور ممکن نشد.", "mailMode": "حالت ارسال ایمیل",
"importAdmission": "واردسازی انبوه به مجوز اپراتور نیاز دارد.", "models": "مدل‌های هوش مصنوعی موجود",
"truncated": "۱۰۰۰ تعریف مسدودشده اول نمایش داده می‌شود.",
"labels": {
"instance_lifecycle": "چرخه حیات نمونه", "maintenance": "عملیات نگهداری", "runtime_diagnostics": "عیب‌یابی زمان اجرا",
"plugin_exec": "اجرای فرمان افزونه", "ldap": "LDAP", "server_scripts": "اسکریپت‌های سرور", "imports": "واردسازی انبوه",
"mail_transport_management": "مدیریت انتقال ایمیل", "generic_mail": "SMTP و IMAP عمومی", "mail": "ارسال ایمیل",
"ai": "تولید با هوش مصنوعی", "ai_connection_management": "مدیریت اتصال‌های هوش مصنوعی",
"attachment_bytes": "حداکثر اندازه شیء (بایت)", "blob_bytes": "سهمیه فضای ذخیره‌سازی اشیاء (بایت)",
"concurrent_requests": "درخواست‌های هم‌زمان", "concurrent_streams": "جریان‌های هم‌زمان", "requests_per_minute": "درخواست در دقیقه",
"script_timeout_ms": "مهلت اسکریپت (میلی‌ثانیه)", "concurrent_scripts": "اسکریپت‌های هم‌زمان",
"automation_steps_per_day": "گام‌های خودکارسازی در هر روز UTC", "mail_recipients_per_day": "تلاش‌های ارسال به گیرندگان در هر روز UTC",
"ai_tokens_per_day": "سهمیه توکن هوش مصنوعی در هر روز UTC", "concurrent_ai": "فراخوانی‌های هم‌زمان هوش مصنوعی",
"requests": "تلاش‌های درخواست در این دقیقه", "automation_steps": "گام‌های خودکارسازی امروز",
"mail_recipients": "تلاش‌های ارسال به گیرندگان امروز", "ai_tokens": "توکن‌های هوش مصنوعی محاسبه‌شده امروز"
}
},
"settings": {
"title": "تنظیمات",
"subtitle": "تنظیمات برنامه خود را پیکربندی کنید",
Expand Down
Loading
Loading