tide-commander 1.129.2 → 1.131.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/dist/assets/{BossLogsModal-BMJsPBdB.js → BossLogsModal-CWI0TeXV.js} +1 -1
- package/dist/assets/{BossSpawnModal-DuDDNuE-.js → BossSpawnModal-CxiQJasU.js} +1 -1
- package/dist/assets/{ControlsModal-Cn3pkMIT.js → ControlsModal-BrPnWWpS.js} +1 -1
- package/dist/assets/{DockerLogsModal-D5XQ6zSr.js → DockerLogsModal-D1oIAzfZ.js} +1 -1
- package/dist/assets/{EmbeddedEditor-Ct4fmYRC.js → EmbeddedEditor-CHP_HStx.js} +1 -1
- package/dist/assets/{GmailOAuthSetup-Cfxh0FZm.js → GmailOAuthSetup-DCn-EXjO.js} +1 -1
- package/dist/assets/{GoogleOAuthSetup-Z-Yv0mbQ.js → GoogleOAuthSetup-D26zofAR.js} +1 -1
- package/dist/assets/{IframeModal-eyoeBSzE.js → IframeModal-CSN8ck7s.js} +1 -1
- package/dist/assets/{IntegrationsPanel-DzdEuC2w.js → IntegrationsPanel-BU_xwMMT.js} +2 -2
- package/dist/assets/{LogViewerModal-fhtTos_b.js → LogViewerModal-Amod9PlS.js} +1 -1
- package/dist/assets/{MonitoringModal-D_QNY_Zh.js → MonitoringModal-D-2zR9Oi.js} +1 -1
- package/dist/assets/{PM2LogsModal-DulkKfnA.js → PM2LogsModal-B48puyEY.js} +1 -1
- package/dist/assets/{RestoreArchivedAreaModal-BkpEL2dc.js → RestoreArchivedAreaModal-C4IVaTMA.js} +1 -1
- package/dist/assets/{Scene2DCanvas-C5E1mERA.js → Scene2DCanvas-BYdgkm1n.js} +1 -1
- package/dist/assets/{SceneManager-BA7KiD3q.js → SceneManager-DVL0xQVk.js} +1 -1
- package/dist/assets/{SkillsPanel-uotqhq5s.js → SkillsPanel-BwCe6nFB.js} +1 -1
- package/dist/assets/{SlackMultiInstanceSetup-B1QA0scY.js → SlackMultiInstanceSetup-nSiRoxLD.js} +1 -1
- package/dist/assets/{SpawnModal-B1d-vt6c.js → SpawnModal-DXvcL-cq.js} +1 -1
- package/dist/assets/{StatisticsModal-CpMdoPSG.js → StatisticsModal-Dgq-n8L6.js} +1 -1
- package/dist/assets/{SubordinateAssignmentModal-ALjpv2DP.js → SubordinateAssignmentModal-DflOgTr1.js} +1 -1
- package/dist/assets/{TriggerManagerPanel-rrDTH1Oq.js → TriggerManagerPanel-wzVna9Th.js} +1 -1
- package/dist/assets/{WorkflowEditorPanel-BcuM9e70.js → WorkflowEditorPanel-Cv1Bb_0g.js} +1 -1
- package/dist/assets/{area-logos-BkmhbXfG.js → area-logos-6NdoVnoc.js} +1 -1
- package/dist/assets/{index-CfEgfolW.js → index-1_kNHqvQ.js} +1 -1
- package/dist/assets/index-Bsf5hZbp.js +11 -0
- package/dist/assets/{index-DI7bDj0E.js → index-CoGlYrB7.js} +5 -5
- package/dist/assets/{index-BiXjxgpq.js → index-CqwyKXtm.js} +1 -1
- package/dist/assets/index-D8cfBFRC.js +2 -0
- package/dist/assets/{index-DMCGsQg5.js → index-DZcn4bXn.js} +1 -1
- package/dist/assets/{index-BNoB11BS.js → index-SaaO8V1I.js} +2 -2
- package/dist/assets/{index-BoN1bGyV.js → index-Tn-mXnAH.js} +3 -3
- package/dist/assets/{index-C9NJLW6A.js → index-sLCEQwTe.js} +3 -3
- package/dist/assets/main-BPim_cvM.css +1 -0
- package/dist/assets/{main-CEKV7I4r.js → main-DffU4pm2.js} +110 -110
- package/dist/assets/{web-DTb2MfHS.js → web-BzTFbp-p.js} +1 -1
- package/dist/assets/{web-CvCmCymz.js → web-CNVP9dOO.js} +1 -1
- package/dist/assets/{web-jSBoGXkW.js → web-SdWeOa6A.js} +1 -1
- package/dist/index.html +2 -2
- package/dist/locales/de/config.json +20 -13
- package/dist/locales/en/config.json +11 -6
- package/dist/locales/es/config.json +20 -13
- package/dist/locales/fr/config.json +20 -13
- package/dist/locales/hi/config.json +20 -13
- package/dist/locales/it/config.json +20 -13
- package/dist/locales/ja/config.json +20 -13
- package/dist/locales/pt/config.json +20 -13
- package/dist/locales/ru/config.json +20 -13
- package/dist/locales/zh-CN/config.json +20 -13
- package/dist/src/packages/server/claude/backend.js +10 -3
- package/dist/src/packages/server/claude/session-loader.js +56 -13
- package/dist/src/packages/server/codex/backend.js +6 -1
- package/package.json +1 -1
- package/dist/assets/index-ZQNyoovC.js +0 -2
- package/dist/assets/index-dfuoBomr.js +0 -11
- package/dist/assets/main-D086vUF0.css +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{cO as a}from"./main-DffU4pm2.js";import{ImpactStyle as i,NotificationType as r}from"./index-SaaO8V1I.js";import"./vendor-react--Eh9ivFN.js";import"./vendor-three-Chj50gSY.js";class h extends a{constructor(){super(...arguments),this.selectionStarted=!1}async impact(t){const e=this.patternForImpact(t==null?void 0:t.style);this.vibrateWithPattern(e)}async notification(t){const e=this.patternForNotification(t==null?void 0:t.type);this.vibrateWithPattern(e)}async vibrate(t){const e=(t==null?void 0:t.duration)||300;this.vibrateWithPattern([e])}async selectionStart(){this.selectionStarted=!0}async selectionChanged(){this.selectionStarted&&this.vibrateWithPattern([70])}async selectionEnd(){this.selectionStarted=!1}patternForImpact(t=i.Heavy){return t===i.Medium?[43]:t===i.Light?[20]:[61]}patternForNotification(t=r.Success){return t===r.Warning?[30,40,30,50,60]:t===r.Error?[27,45,50]:[35,65,21]}vibrateWithPattern(t){if(navigator.vibrate)navigator.vibrate(t);else throw this.unavailable("Browser does not support the vibrate API")}}export{h as HapticsWeb};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{cO as s}from"./main-DffU4pm2.js";import"./vendor-react--Eh9ivFN.js";import"./vendor-three-Chj50gSY.js";class l extends s{constructor(){super(...arguments),this.pending=[],this.deliveredNotifications=[],this.hasNotificationSupport=()=>{if(!("Notification"in window)||!Notification.requestPermission)return!1;if(Notification.permission!=="granted")try{new Notification("")}catch(i){if(i instanceof Error&&i.name==="TypeError")return!1}return!0}}async getDeliveredNotifications(){const i=[];for(const t of this.deliveredNotifications){const e={title:t.title,id:parseInt(t.tag),body:t.body};i.push(e)}return{notifications:i}}async removeDeliveredNotifications(i){for(const t of i.notifications){const e=this.deliveredNotifications.find(n=>n.tag===String(t.id));e==null||e.close(),this.deliveredNotifications=this.deliveredNotifications.filter(()=>!e)}}async removeAllDeliveredNotifications(){for(const i of this.deliveredNotifications)i.close();this.deliveredNotifications=[]}async createChannel(){throw this.unimplemented("Not implemented on web.")}async deleteChannel(){throw this.unimplemented("Not implemented on web.")}async listChannels(){throw this.unimplemented("Not implemented on web.")}async schedule(i){if(!this.hasNotificationSupport())throw this.unavailable("Notifications not supported in this browser.");for(const t of i.notifications)this.sendNotification(t);return{notifications:i.notifications.map(t=>({id:t.id}))}}async getPending(){return{notifications:this.pending}}async registerActionTypes(){throw this.unimplemented("Not implemented on web.")}async cancel(i){this.pending=this.pending.filter(t=>!i.notifications.find(e=>e.id===t.id))}async areEnabled(){const{display:i}=await this.checkPermissions();return{value:i==="granted"}}async changeExactNotificationSetting(){throw this.unimplemented("Not implemented on web.")}async checkExactNotificationSetting(){throw this.unimplemented("Not implemented on web.")}async requestPermissions(){if(!this.hasNotificationSupport())throw this.unavailable("Notifications not supported in this browser.");return{display:this.transformNotificationPermission(await Notification.requestPermission())}}async checkPermissions(){if(!this.hasNotificationSupport())throw this.unavailable("Notifications not supported in this browser.");return{display:this.transformNotificationPermission(Notification.permission)}}transformNotificationPermission(i){switch(i){case"granted":return"granted";case"denied":return"denied";default:return"prompt"}}sendPending(){var i;const t=[],e=new Date().getTime();for(const n of this.pending)!((i=n.schedule)===null||i===void 0)&&i.at&&n.schedule.at.getTime()<=e&&(this.buildNotification(n),t.push(n));this.pending=this.pending.filter(n=>!t.find(o=>o===n))}sendNotification(i){var t;if(!((t=i.schedule)===null||t===void 0)&&t.at){const e=i.schedule.at.getTime()-new Date().getTime();this.pending.push(i),setTimeout(()=>{this.sendPending()},e);return}this.buildNotification(i)}buildNotification(i){const t=new Notification(i.title,{body:i.body,tag:String(i.id)});return t.addEventListener("click",this.onClick.bind(this,i),!1),t.addEventListener("show",this.onShow.bind(this,i),!1),t.addEventListener("close",()=>{this.deliveredNotifications=this.deliveredNotifications.filter(()=>!this)},!1),this.deliveredNotifications.push(t),t}onClick(i){const t={actionId:"tap",notification:i};this.notifyListeners("localNotificationActionPerformed",t)}onShow(i){this.notifyListeners("localNotificationReceived",i)}}export{l as LocalNotificationsWeb};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{cO as t}from"./main-DffU4pm2.js";import"./vendor-react--Eh9ivFN.js";import"./vendor-three-Chj50gSY.js";class o extends t{constructor(){super(),this.handleVisibilityChange=()=>{const e={isActive:document.hidden!==!0};this.notifyListeners("appStateChange",e),document.hidden?this.notifyListeners("pause",null):this.notifyListeners("resume",null)},document.addEventListener("visibilitychange",this.handleVisibilityChange,!1)}exitApp(){throw this.unimplemented("Not implemented on web.")}async getInfo(){throw this.unimplemented("Not implemented on web.")}async getLaunchUrl(){return{url:""}}async getState(){return{isActive:document.hidden!==!0}}async minimizeApp(){throw this.unimplemented("Not implemented on web.")}async toggleBackButtonHandler(){throw this.unimplemented("Not implemented on web.")}async getAppLanguage(){return{value:navigator.language.split("-")[0].toLowerCase()}}}export{o as AppWeb};
|
package/dist/index.html
CHANGED
|
@@ -22,10 +22,10 @@
|
|
|
22
22
|
<link rel="icon" type="image/png" sizes="16x16" href="/assets/icons/favicon-16x16.png" />
|
|
23
23
|
<link rel="apple-touch-icon" sizes="180x180" href="/assets/icons/apple-touch-icon.png" />
|
|
24
24
|
<title>Tide Commander</title>
|
|
25
|
-
<script type="module" crossorigin src="/assets/main-
|
|
25
|
+
<script type="module" crossorigin src="/assets/main-DffU4pm2.js"></script>
|
|
26
26
|
<link rel="modulepreload" crossorigin href="/assets/vendor-react--Eh9ivFN.js">
|
|
27
27
|
<link rel="modulepreload" crossorigin href="/assets/vendor-three-Chj50gSY.js">
|
|
28
|
-
<link rel="stylesheet" crossorigin href="/assets/main-
|
|
28
|
+
<link rel="stylesheet" crossorigin href="/assets/main-BPim_cvM.css">
|
|
29
29
|
</head>
|
|
30
30
|
<body>
|
|
31
31
|
<div id="app"></div>
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"experimental": "Experimentell",
|
|
17
17
|
"about": "Über",
|
|
18
18
|
"sky": "Himmelsfarbe",
|
|
19
|
-
"systemPrompt": "System
|
|
19
|
+
"systemPrompt": "System-Prompt"
|
|
20
20
|
},
|
|
21
21
|
"general": {
|
|
22
22
|
"history": "Verlauf",
|
|
@@ -323,17 +323,24 @@
|
|
|
323
323
|
"conflictsWith": "Konflikt mit: {{names}}"
|
|
324
324
|
},
|
|
325
325
|
"systemPrompt": {
|
|
326
|
-
"title": "
|
|
327
|
-
"description": "
|
|
328
|
-
"
|
|
329
|
-
"
|
|
330
|
-
"
|
|
331
|
-
"
|
|
332
|
-
"
|
|
333
|
-
"
|
|
334
|
-
"
|
|
335
|
-
"
|
|
336
|
-
"
|
|
337
|
-
"
|
|
326
|
+
"title": "System-Prompt",
|
|
327
|
+
"description": "Füge benutzerdefinierte Anweisungen für alle Agenten oder einen bestimmten Agenten hinzu. Wähle unten den Geltungsbereich und bearbeite den Prompt. Er gilt nach den Tide-Commander-Basisregeln, aber vor den Klassenanweisungen des Agenten.",
|
|
328
|
+
"agentLabel": "Anwenden auf",
|
|
329
|
+
"noAgents": "Noch keine Agenten. Erstelle zuerst einen Agenten und lege dann hier seinen System-Prompt fest.",
|
|
330
|
+
"globalOption": "Alle Agenten (Global)",
|
|
331
|
+
"editPrompt": "System-Prompt bearbeiten",
|
|
332
|
+
"save": "Prompt speichern",
|
|
333
|
+
"reset": "Änderungen verwerfen",
|
|
334
|
+
"clear": "Prompt löschen",
|
|
335
|
+
"characters": "Zeichen",
|
|
336
|
+
"saved": "System-Prompt gespeichert. Er gilt ab der nächsten Sitzung dieses Agenten.",
|
|
337
|
+
"savedGlobal": "Globaler System-Prompt gespeichert. Er gilt ab der nächsten Sitzung jedes Agenten.",
|
|
338
|
+
"cleared": "System-Prompt für diesen Agenten gelöscht.",
|
|
339
|
+
"clearedGlobal": "Globaler System-Prompt gelöscht.",
|
|
340
|
+
"hint": "Dieser Prompt wird nur in die Systemanweisungen des ausgewählten Agenten eingefügt.",
|
|
341
|
+
"hintGlobal": "Dieser Prompt wird in die Systemanweisungen aller Agenten eingefügt, vor jedem agentenspezifischen Prompt.",
|
|
342
|
+
"placeholder": "System-Prompt hier eingeben...\n\nBeispiele:\n- Code-Style-Richtlinien\n- Team-Kommunikationsregeln\n- Projektweite Konventionen\n- Security-Best-Practices",
|
|
343
|
+
"confirmClear": "Soll der System-Prompt dieses Agenten wirklich gelöscht werden?",
|
|
344
|
+
"confirmClearGlobal": "Soll der globale System-Prompt (alle Agenten) wirklich gelöscht werden?"
|
|
338
345
|
}
|
|
339
346
|
}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"modelStyle": "Agent Model Style",
|
|
13
13
|
"animations": "Animations",
|
|
14
14
|
"secrets": "Secrets",
|
|
15
|
-
"systemPrompt": "
|
|
15
|
+
"systemPrompt": "System Prompt",
|
|
16
16
|
"whatsapp": "WhatsApp Integration",
|
|
17
17
|
"whatsappNotifications": "WhatsApp Notifications",
|
|
18
18
|
"whatsappHistory": "WhatsApp History",
|
|
@@ -300,20 +300,25 @@
|
|
|
300
300
|
"update": "Update"
|
|
301
301
|
},
|
|
302
302
|
"systemPrompt": {
|
|
303
|
-
"title": "
|
|
304
|
-
"description": "Add custom instructions for a specific agent. Pick the
|
|
305
|
-
"agentLabel": "
|
|
303
|
+
"title": "System Prompt",
|
|
304
|
+
"description": "Add custom instructions for all agents or for a specific agent. Pick the scope below, then edit its prompt. It appears after Tide Commander base rules but before agent class instructions.",
|
|
305
|
+
"agentLabel": "Apply to",
|
|
306
306
|
"noAgents": "No agents yet. Spawn an agent first, then set its system prompt here.",
|
|
307
|
+
"globalOption": "All Agents (Global)",
|
|
307
308
|
"editPrompt": "Edit System Prompt",
|
|
308
309
|
"save": "Save Prompt",
|
|
309
310
|
"reset": "Reset Changes",
|
|
310
311
|
"clear": "Clear Prompt",
|
|
311
312
|
"characters": "characters",
|
|
312
313
|
"saved": "System prompt saved. It applies to this agent's next session.",
|
|
314
|
+
"savedGlobal": "Global system prompt saved. It applies to every agent's next session.",
|
|
313
315
|
"cleared": "System prompt cleared for this agent.",
|
|
316
|
+
"clearedGlobal": "Global system prompt cleared.",
|
|
314
317
|
"hint": "This prompt is inserted into the system instructions for the selected agent only.",
|
|
315
|
-
"
|
|
316
|
-
"
|
|
318
|
+
"hintGlobal": "This prompt is inserted into the system instructions of every agent, before any per-agent prompt.",
|
|
319
|
+
"placeholder": "Enter the system prompt here...\n\nExamples:\n- Coding style guidelines\n- Team communication rules\n- Project-wide conventions\n- Security best practices",
|
|
320
|
+
"confirmClear": "Are you sure you want to clear this agent's system prompt?",
|
|
321
|
+
"confirmClearGlobal": "Are you sure you want to clear the global system prompt (all agents)?"
|
|
317
322
|
},
|
|
318
323
|
"integrations": {
|
|
319
324
|
"whatsapp": {
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"experimental": "Experimental",
|
|
17
17
|
"about": "Acerca de",
|
|
18
18
|
"sky": "Color del Cielo",
|
|
19
|
-
"systemPrompt": "
|
|
19
|
+
"systemPrompt": "Prompt de sistema"
|
|
20
20
|
},
|
|
21
21
|
"general": {
|
|
22
22
|
"history": "Historial",
|
|
@@ -323,17 +323,24 @@
|
|
|
323
323
|
"conflictsWith": "Conflicto con: {{names}}"
|
|
324
324
|
},
|
|
325
325
|
"systemPrompt": {
|
|
326
|
-
"title": "
|
|
327
|
-
"description": "
|
|
328
|
-
"
|
|
329
|
-
"
|
|
330
|
-
"
|
|
331
|
-
"
|
|
332
|
-
"
|
|
333
|
-
"
|
|
334
|
-
"
|
|
335
|
-
"
|
|
336
|
-
"
|
|
337
|
-
"
|
|
326
|
+
"title": "Prompt de sistema",
|
|
327
|
+
"description": "Añade instrucciones personalizadas para todos los agentes o para un agente concreto. Elige el ámbito abajo y edita su prompt. Se aplica después de las reglas base de Tide Commander pero antes de las instrucciones de clase del agente.",
|
|
328
|
+
"agentLabel": "Aplicar a",
|
|
329
|
+
"noAgents": "Aún no hay agentes. Crea un agente primero y luego define aquí su prompt de sistema.",
|
|
330
|
+
"globalOption": "Todos los agentes (Global)",
|
|
331
|
+
"editPrompt": "Editar prompt de sistema",
|
|
332
|
+
"save": "Guardar prompt",
|
|
333
|
+
"reset": "Descartar cambios",
|
|
334
|
+
"clear": "Borrar prompt",
|
|
335
|
+
"characters": "caracteres",
|
|
336
|
+
"saved": "Prompt de sistema guardado. Se aplicará en la próxima sesión de este agente.",
|
|
337
|
+
"savedGlobal": "Prompt de sistema global guardado. Se aplicará en la próxima sesión de cada agente.",
|
|
338
|
+
"cleared": "Prompt de sistema borrado para este agente.",
|
|
339
|
+
"clearedGlobal": "Prompt de sistema global borrado.",
|
|
340
|
+
"hint": "Este prompt se inserta en las instrucciones de sistema solo del agente seleccionado.",
|
|
341
|
+
"hintGlobal": "Este prompt se inserta en las instrucciones de sistema de todos los agentes, antes de cualquier prompt por agente.",
|
|
342
|
+
"placeholder": "Escribe aquí el prompt de sistema...\n\nEjemplos:\n- Guías de estilo de código\n- Reglas de comunicación del equipo\n- Convenciones del proyecto\n- Buenas prácticas de seguridad",
|
|
343
|
+
"confirmClear": "¿Seguro que quieres borrar el prompt de sistema de este agente?",
|
|
344
|
+
"confirmClearGlobal": "¿Seguro que quieres borrar el prompt de sistema global (todos los agentes)?"
|
|
338
345
|
}
|
|
339
346
|
}
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"experimental": "Expérimental",
|
|
17
17
|
"about": "À propos",
|
|
18
18
|
"sky": "Couleur du ciel",
|
|
19
|
-
"systemPrompt": "
|
|
19
|
+
"systemPrompt": "Prompt système"
|
|
20
20
|
},
|
|
21
21
|
"general": {
|
|
22
22
|
"history": "Historique",
|
|
@@ -323,17 +323,24 @@
|
|
|
323
323
|
"conflictsWith": "En conflit avec : {{names}}"
|
|
324
324
|
},
|
|
325
325
|
"systemPrompt": {
|
|
326
|
-
"title": "
|
|
327
|
-
"description": "
|
|
328
|
-
"
|
|
329
|
-
"
|
|
330
|
-
"
|
|
331
|
-
"
|
|
332
|
-
"
|
|
333
|
-
"
|
|
334
|
-
"
|
|
335
|
-
"
|
|
336
|
-
"
|
|
337
|
-
"
|
|
326
|
+
"title": "Prompt système",
|
|
327
|
+
"description": "Ajoutez des instructions personnalisées pour tous les agents ou pour un agent précis. Choisissez la portée ci-dessous, puis modifiez son prompt. Il s'applique après les règles de base de Tide Commander mais avant les instructions de classe de l'agent.",
|
|
328
|
+
"agentLabel": "Appliquer à",
|
|
329
|
+
"noAgents": "Aucun agent pour le moment. Créez d'abord un agent, puis définissez ici son prompt système.",
|
|
330
|
+
"globalOption": "Tous les agents (Global)",
|
|
331
|
+
"editPrompt": "Modifier le prompt système",
|
|
332
|
+
"save": "Enregistrer le prompt",
|
|
333
|
+
"reset": "Annuler les modifications",
|
|
334
|
+
"clear": "Effacer le prompt",
|
|
335
|
+
"characters": "caractères",
|
|
336
|
+
"saved": "Prompt système enregistré. Il s'appliquera à la prochaine session de cet agent.",
|
|
337
|
+
"savedGlobal": "Prompt système global enregistré. Il s'appliquera à la prochaine session de chaque agent.",
|
|
338
|
+
"cleared": "Prompt système effacé pour cet agent.",
|
|
339
|
+
"clearedGlobal": "Prompt système global effacé.",
|
|
340
|
+
"hint": "Ce prompt est inséré dans les instructions système de l'agent sélectionné uniquement.",
|
|
341
|
+
"hintGlobal": "Ce prompt est inséré dans les instructions système de tous les agents, avant tout prompt propre à un agent.",
|
|
342
|
+
"placeholder": "Saisissez le prompt système ici...\n\nExemples :\n- Règles de style de code\n- Règles de communication d'équipe\n- Conventions du projet\n- Bonnes pratiques de sécurité",
|
|
343
|
+
"confirmClear": "Voulez-vous vraiment effacer le prompt système de cet agent ?",
|
|
344
|
+
"confirmClearGlobal": "Voulez-vous vraiment effacer le prompt système global (tous les agents) ?"
|
|
338
345
|
}
|
|
339
346
|
}
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"experimental": "प्रायोगिक",
|
|
17
17
|
"about": "परिचय",
|
|
18
18
|
"sky": "आकाश रंग",
|
|
19
|
-
"systemPrompt": "
|
|
19
|
+
"systemPrompt": "सिस्टम प्रॉम्प्ट"
|
|
20
20
|
},
|
|
21
21
|
"general": {
|
|
22
22
|
"history": "इतिहास",
|
|
@@ -323,17 +323,24 @@
|
|
|
323
323
|
"conflictsWith": "इनसे टकराव: {{names}}"
|
|
324
324
|
},
|
|
325
325
|
"systemPrompt": {
|
|
326
|
-
"title": "
|
|
327
|
-
"description": "
|
|
328
|
-
"
|
|
329
|
-
"
|
|
330
|
-
"
|
|
331
|
-
"
|
|
332
|
-
"
|
|
333
|
-
"
|
|
334
|
-
"
|
|
335
|
-
"
|
|
336
|
-
"
|
|
337
|
-
"
|
|
326
|
+
"title": "सिस्टम प्रॉम्प्ट",
|
|
327
|
+
"description": "सभी एजेंटों के लिए या किसी खास एजेंट के लिए कस्टम निर्देश जोड़ें। नीचे दायरा चुनें, फिर उसका प्रॉम्प्ट संपादित करें। यह Tide Commander के मूल नियमों के बाद लेकिन एजेंट क्लास निर्देशों से पहले लागू होता है।",
|
|
328
|
+
"agentLabel": "लागू करें",
|
|
329
|
+
"noAgents": "अभी कोई एजेंट नहीं है। पहले एक एजेंट बनाएं, फिर यहां उसका सिस्टम प्रॉम्प्ट सेट करें।",
|
|
330
|
+
"globalOption": "सभी एजेंट (ग्लोबल)",
|
|
331
|
+
"editPrompt": "सिस्टम प्रॉम्प्ट संपादित करें",
|
|
332
|
+
"save": "प्रॉम्प्ट सहेजें",
|
|
333
|
+
"reset": "परिवर्तन रद्द करें",
|
|
334
|
+
"clear": "प्रॉम्प्ट हटाएं",
|
|
335
|
+
"characters": "अक्षर",
|
|
336
|
+
"saved": "सिस्टम प्रॉम्प्ट सहेजा गया। यह इस एजेंट के अगले सत्र में लागू होगा।",
|
|
337
|
+
"savedGlobal": "ग्लोबल सिस्टम प्रॉम्प्ट सहेजा गया। यह हर एजेंट के अगले सत्र में लागू होगा।",
|
|
338
|
+
"cleared": "इस एजेंट का सिस्टम प्रॉम्प्ट हटा दिया गया।",
|
|
339
|
+
"clearedGlobal": "ग्लोबल सिस्टम प्रॉम्प्ट हटा दिया गया।",
|
|
340
|
+
"hint": "यह प्रॉम्प्ट केवल चुने गए एजेंट के सिस्टम निर्देशों में जोड़ा जाता है।",
|
|
341
|
+
"hintGlobal": "यह प्रॉम्प्ट सभी एजेंटों के सिस्टम निर्देशों में, किसी भी प्रति-एजेंट प्रॉम्प्ट से पहले जोड़ा जाता है।",
|
|
342
|
+
"placeholder": "यहां सिस्टम प्रॉम्प्ट दर्ज करें...\n\nउदाहरण:\n- कोडिंग शैली दिशानिर्देश\n- टीम संचार नियम\n- प्रोजेक्ट-व्यापी परंपराएं\n- सुरक्षा सर्वोत्तम प्रथाएं",
|
|
343
|
+
"confirmClear": "क्या आप वाकई इस एजेंट का सिस्टम प्रॉम्प्ट हटाना चाहते हैं?",
|
|
344
|
+
"confirmClearGlobal": "क्या आप वाकई ग्लोबल सिस्टम प्रॉम्प्ट (सभी एजेंट) हटाना चाहते हैं?"
|
|
338
345
|
}
|
|
339
346
|
}
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"experimental": "Sperimentale",
|
|
17
17
|
"about": "Informazioni",
|
|
18
18
|
"sky": "Colore cielo",
|
|
19
|
-
"systemPrompt": "
|
|
19
|
+
"systemPrompt": "Prompt di sistema"
|
|
20
20
|
},
|
|
21
21
|
"general": {
|
|
22
22
|
"history": "Cronologia",
|
|
@@ -323,17 +323,24 @@
|
|
|
323
323
|
"conflictsWith": "In conflitto con: {{names}}"
|
|
324
324
|
},
|
|
325
325
|
"systemPrompt": {
|
|
326
|
-
"title": "
|
|
327
|
-
"description": "
|
|
328
|
-
"
|
|
329
|
-
"
|
|
330
|
-
"
|
|
331
|
-
"
|
|
332
|
-
"
|
|
333
|
-
"
|
|
334
|
-
"
|
|
335
|
-
"
|
|
336
|
-
"
|
|
337
|
-
"
|
|
326
|
+
"title": "Prompt di sistema",
|
|
327
|
+
"description": "Aggiungi istruzioni personalizzate per tutti gli agenti o per un agente specifico. Scegli l'ambito qui sotto e modifica il prompt. Si applica dopo le regole base di Tide Commander ma prima delle istruzioni di classe dell'agente.",
|
|
328
|
+
"agentLabel": "Applica a",
|
|
329
|
+
"noAgents": "Nessun agente ancora. Crea prima un agente, poi imposta qui il suo prompt di sistema.",
|
|
330
|
+
"globalOption": "Tutti gli agenti (Globale)",
|
|
331
|
+
"editPrompt": "Modifica prompt di sistema",
|
|
332
|
+
"save": "Salva prompt",
|
|
333
|
+
"reset": "Annulla modifiche",
|
|
334
|
+
"clear": "Cancella prompt",
|
|
335
|
+
"characters": "caratteri",
|
|
336
|
+
"saved": "Prompt di sistema salvato. Si applicherà alla prossima sessione di questo agente.",
|
|
337
|
+
"savedGlobal": "Prompt di sistema globale salvato. Si applicherà alla prossima sessione di ogni agente.",
|
|
338
|
+
"cleared": "Prompt di sistema cancellato per questo agente.",
|
|
339
|
+
"clearedGlobal": "Prompt di sistema globale cancellato.",
|
|
340
|
+
"hint": "Questo prompt viene inserito nelle istruzioni di sistema solo dell'agente selezionato.",
|
|
341
|
+
"hintGlobal": "Questo prompt viene inserito nelle istruzioni di sistema di tutti gli agenti, prima di qualsiasi prompt per agente.",
|
|
342
|
+
"placeholder": "Inserisci qui il prompt di sistema...\n\nEsempi:\n- Linee guida sullo stile del codice\n- Regole di comunicazione del team\n- Convenzioni di progetto\n- Best practice di sicurezza",
|
|
343
|
+
"confirmClear": "Vuoi davvero cancellare il prompt di sistema di questo agente?",
|
|
344
|
+
"confirmClearGlobal": "Vuoi davvero cancellare il prompt di sistema globale (tutti gli agenti)?"
|
|
338
345
|
}
|
|
339
346
|
}
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"experimental": "実験的機能",
|
|
17
17
|
"about": "このアプリについて",
|
|
18
18
|
"sky": "空の色",
|
|
19
|
-
"systemPrompt": "
|
|
19
|
+
"systemPrompt": "システムプロンプト"
|
|
20
20
|
},
|
|
21
21
|
"general": {
|
|
22
22
|
"history": "履歴",
|
|
@@ -323,17 +323,24 @@
|
|
|
323
323
|
"conflictsWith": "競合: {{names}}"
|
|
324
324
|
},
|
|
325
325
|
"systemPrompt": {
|
|
326
|
-
"title": "
|
|
327
|
-
"description": "
|
|
328
|
-
"
|
|
329
|
-
"
|
|
330
|
-
"
|
|
331
|
-
"
|
|
332
|
-
"
|
|
333
|
-
"
|
|
334
|
-
"
|
|
335
|
-
"
|
|
336
|
-
"
|
|
337
|
-
"
|
|
326
|
+
"title": "システムプロンプト",
|
|
327
|
+
"description": "全エージェント共通、または特定のエージェント向けのカスタム指示を追加します。下でスコープを選んでプロンプトを編集してください。Tide Commander の基本ルールの後、エージェントクラスの指示の前に適用されます。",
|
|
328
|
+
"agentLabel": "適用先",
|
|
329
|
+
"noAgents": "まだエージェントがいません。先にエージェントを作成してから、ここでシステムプロンプトを設定してください。",
|
|
330
|
+
"globalOption": "全エージェント(グローバル)",
|
|
331
|
+
"editPrompt": "システムプロンプトを編集",
|
|
332
|
+
"save": "プロンプトを保存",
|
|
333
|
+
"reset": "変更を破棄",
|
|
334
|
+
"clear": "プロンプトをクリア",
|
|
335
|
+
"characters": "文字",
|
|
336
|
+
"saved": "システムプロンプトを保存しました。このエージェントの次のセッションから適用されます。",
|
|
337
|
+
"savedGlobal": "グローバルシステムプロンプトを保存しました。各エージェントの次のセッションから適用されます。",
|
|
338
|
+
"cleared": "このエージェントのシステムプロンプトをクリアしました。",
|
|
339
|
+
"clearedGlobal": "グローバルシステムプロンプトをクリアしました。",
|
|
340
|
+
"hint": "このプロンプトは選択したエージェントのシステム指示にのみ挿入されます。",
|
|
341
|
+
"hintGlobal": "このプロンプトは全エージェントのシステム指示に、各エージェント個別のプロンプトより前に挿入されます。",
|
|
342
|
+
"placeholder": "ここにシステムプロンプトを入力...\n\n例:\n- コーディングスタイルのガイドライン\n- チームのコミュニケーションルール\n- プロジェクト全体の規約\n- セキュリティのベストプラクティス",
|
|
343
|
+
"confirmClear": "このエージェントのシステムプロンプトをクリアしてもよろしいですか?",
|
|
344
|
+
"confirmClearGlobal": "グローバルシステムプロンプト(全エージェント)をクリアしてもよろしいですか?"
|
|
338
345
|
}
|
|
339
346
|
}
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"experimental": "Experimental",
|
|
17
17
|
"about": "Sobre",
|
|
18
18
|
"sky": "Cor do Ceu",
|
|
19
|
-
"systemPrompt": "
|
|
19
|
+
"systemPrompt": "Prompt de sistema"
|
|
20
20
|
},
|
|
21
21
|
"general": {
|
|
22
22
|
"history": "Historico",
|
|
@@ -323,17 +323,24 @@
|
|
|
323
323
|
"conflictsWith": "Conflita com: {{names}}"
|
|
324
324
|
},
|
|
325
325
|
"systemPrompt": {
|
|
326
|
-
"title": "
|
|
327
|
-
"description": "
|
|
328
|
-
"
|
|
329
|
-
"
|
|
330
|
-
"
|
|
331
|
-
"
|
|
332
|
-
"
|
|
333
|
-
"
|
|
334
|
-
"
|
|
335
|
-
"
|
|
336
|
-
"
|
|
337
|
-
"
|
|
326
|
+
"title": "Prompt de sistema",
|
|
327
|
+
"description": "Adicione instruções personalizadas para todos os agentes ou para um agente específico. Escolha o escopo abaixo e edite o prompt. Ele se aplica depois das regras base do Tide Commander, mas antes das instruções de classe do agente.",
|
|
328
|
+
"agentLabel": "Aplicar a",
|
|
329
|
+
"noAgents": "Nenhum agente ainda. Crie um agente primeiro e depois defina aqui o prompt de sistema dele.",
|
|
330
|
+
"globalOption": "Todos os agentes (Global)",
|
|
331
|
+
"editPrompt": "Editar prompt de sistema",
|
|
332
|
+
"save": "Salvar prompt",
|
|
333
|
+
"reset": "Descartar alterações",
|
|
334
|
+
"clear": "Limpar prompt",
|
|
335
|
+
"characters": "caracteres",
|
|
336
|
+
"saved": "Prompt de sistema salvo. Será aplicado na próxima sessão deste agente.",
|
|
337
|
+
"savedGlobal": "Prompt de sistema global salvo. Será aplicado na próxima sessão de cada agente.",
|
|
338
|
+
"cleared": "Prompt de sistema limpo para este agente.",
|
|
339
|
+
"clearedGlobal": "Prompt de sistema global limpo.",
|
|
340
|
+
"hint": "Este prompt é inserido nas instruções de sistema apenas do agente selecionado.",
|
|
341
|
+
"hintGlobal": "Este prompt é inserido nas instruções de sistema de todos os agentes, antes de qualquer prompt por agente.",
|
|
342
|
+
"placeholder": "Digite o prompt de sistema aqui...\n\nExemplos:\n- Diretrizes de estilo de código\n- Regras de comunicação da equipe\n- Convenções do projeto\n- Boas práticas de segurança",
|
|
343
|
+
"confirmClear": "Tem certeza de que deseja limpar o prompt de sistema deste agente?",
|
|
344
|
+
"confirmClearGlobal": "Tem certeza de que deseja limpar o prompt de sistema global (todos os agentes)?"
|
|
338
345
|
}
|
|
339
346
|
}
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"experimental": "Экспериментальные",
|
|
17
17
|
"about": "О программе",
|
|
18
18
|
"sky": "Цвет неба",
|
|
19
|
-
"systemPrompt": "
|
|
19
|
+
"systemPrompt": "Системный промпт"
|
|
20
20
|
},
|
|
21
21
|
"general": {
|
|
22
22
|
"history": "История",
|
|
@@ -323,17 +323,24 @@
|
|
|
323
323
|
"conflictsWith": "Конфликтует с: {{names}}"
|
|
324
324
|
},
|
|
325
325
|
"systemPrompt": {
|
|
326
|
-
"title": "
|
|
327
|
-
"description": "
|
|
328
|
-
"
|
|
329
|
-
"
|
|
330
|
-
"
|
|
331
|
-
"
|
|
332
|
-
"
|
|
333
|
-
"
|
|
334
|
-
"
|
|
335
|
-
"
|
|
336
|
-
"
|
|
337
|
-
"
|
|
326
|
+
"title": "Системный промпт",
|
|
327
|
+
"description": "Добавьте пользовательские инструкции для всех агентов или для конкретного агента. Выберите область ниже и отредактируйте промпт. Он применяется после базовых правил Tide Commander, но до инструкций класса агента.",
|
|
328
|
+
"agentLabel": "Применить к",
|
|
329
|
+
"noAgents": "Агентов пока нет. Сначала создайте агента, затем задайте здесь его системный промпт.",
|
|
330
|
+
"globalOption": "Все агенты (глобально)",
|
|
331
|
+
"editPrompt": "Редактировать системный промпт",
|
|
332
|
+
"save": "Сохранить промпт",
|
|
333
|
+
"reset": "Отменить изменения",
|
|
334
|
+
"clear": "Очистить промпт",
|
|
335
|
+
"characters": "символов",
|
|
336
|
+
"saved": "Системный промпт сохранён. Применится в следующей сессии этого агента.",
|
|
337
|
+
"savedGlobal": "Глобальный системный промпт сохранён. Применится в следующей сессии каждого агента.",
|
|
338
|
+
"cleared": "Системный промпт этого агента очищен.",
|
|
339
|
+
"clearedGlobal": "Глобальный системный промпт очищен.",
|
|
340
|
+
"hint": "Этот промпт вставляется в системные инструкции только выбранного агента.",
|
|
341
|
+
"hintGlobal": "Этот промпт вставляется в системные инструкции всех агентов, перед промптами отдельных агентов.",
|
|
342
|
+
"placeholder": "Введите системный промпт здесь...\n\nПримеры:\n- Правила стиля кода\n- Правила командной коммуникации\n- Соглашения проекта\n- Практики безопасности",
|
|
343
|
+
"confirmClear": "Точно очистить системный промпт этого агента?",
|
|
344
|
+
"confirmClearGlobal": "Точно очистить глобальный системный промпт (все агенты)?"
|
|
338
345
|
}
|
|
339
346
|
}
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"experimental": "实验性",
|
|
17
17
|
"about": "关于",
|
|
18
18
|
"sky": "天空颜色",
|
|
19
|
-
"systemPrompt": "
|
|
19
|
+
"systemPrompt": "系统提示词"
|
|
20
20
|
},
|
|
21
21
|
"general": {
|
|
22
22
|
"history": "历史记录",
|
|
@@ -323,17 +323,24 @@
|
|
|
323
323
|
"conflictsWith": "与以下冲突:{{names}}"
|
|
324
324
|
},
|
|
325
325
|
"systemPrompt": {
|
|
326
|
-
"title": "
|
|
327
|
-
"description": "
|
|
328
|
-
"
|
|
329
|
-
"
|
|
330
|
-
"
|
|
331
|
-
"
|
|
332
|
-
"
|
|
333
|
-
"
|
|
334
|
-
"
|
|
335
|
-
"
|
|
336
|
-
"
|
|
337
|
-
"
|
|
326
|
+
"title": "系统提示词",
|
|
327
|
+
"description": "为所有代理或某个特定代理添加自定义指令。在下方选择作用范围并编辑提示词。它在 Tide Commander 基础规则之后、代理类指令之前生效。",
|
|
328
|
+
"agentLabel": "应用于",
|
|
329
|
+
"noAgents": "还没有代理。请先创建一个代理,然后在此设置它的系统提示词。",
|
|
330
|
+
"globalOption": "所有代理(全局)",
|
|
331
|
+
"editPrompt": "编辑系统提示词",
|
|
332
|
+
"save": "保存提示词",
|
|
333
|
+
"reset": "撤销更改",
|
|
334
|
+
"clear": "清除提示词",
|
|
335
|
+
"characters": "个字符",
|
|
336
|
+
"saved": "系统提示词已保存,将在该代理的下一个会话中生效。",
|
|
337
|
+
"savedGlobal": "全局系统提示词已保存,将在每个代理的下一个会话中生效。",
|
|
338
|
+
"cleared": "已清除该代理的系统提示词。",
|
|
339
|
+
"clearedGlobal": "已清除全局系统提示词。",
|
|
340
|
+
"hint": "此提示词仅插入所选代理的系统指令中。",
|
|
341
|
+
"hintGlobal": "此提示词会插入所有代理的系统指令中,位于任何单个代理提示词之前。",
|
|
342
|
+
"placeholder": "在此输入系统提示词...\n\n示例:\n- 代码风格规范\n- 团队沟通规则\n- 项目级约定\n- 安全最佳实践",
|
|
343
|
+
"confirmClear": "确定要清除该代理的系统提示词吗?",
|
|
344
|
+
"confirmClearGlobal": "确定要清除全局系统提示词(所有代理)吗?"
|
|
338
345
|
}
|
|
339
346
|
}
|
|
@@ -8,7 +8,7 @@ import * as os from 'os';
|
|
|
8
8
|
import { fileURLToPath } from 'node:url';
|
|
9
9
|
import { createLogger, sanitizeUnicode } from '../utils/index.js';
|
|
10
10
|
import { TIDE_COMMANDER_APPENDED_PROMPT } from '../prompts/tide-commander.js';
|
|
11
|
-
import { isEchoPromptEnabled } from '../services/system-prompt-service.js';
|
|
11
|
+
import { isEchoPromptEnabled, getSystemPrompt } from '../services/system-prompt-service.js';
|
|
12
12
|
import { loadAreas } from '../data/index.js';
|
|
13
13
|
import { getAgent } from '../services/agent-service.js';
|
|
14
14
|
const log = createLogger('Backend');
|
|
@@ -71,8 +71,15 @@ export function buildAppendedProjectInstructions(config) {
|
|
|
71
71
|
'## CLAUDE.md / Project instructions — Tide Commander-specific rules',
|
|
72
72
|
TIDE_COMMANDER_APPENDED_PROMPT,
|
|
73
73
|
];
|
|
74
|
-
//
|
|
75
|
-
//
|
|
74
|
+
// Global custom prompt — applies to every agent. Edited from Settings →
|
|
75
|
+
// System Prompt → "All Agents (Global)". Injected before the per-agent
|
|
76
|
+
// prompt so agent-specific instructions take precedence over it.
|
|
77
|
+
const globalPrompt = getSystemPrompt().trim();
|
|
78
|
+
if (globalPrompt) {
|
|
79
|
+
sections.push('## Global Custom Prompt (All Agents)', globalPrompt);
|
|
80
|
+
}
|
|
81
|
+
// Per-agent custom system prompt. Scoped to this specific agent and edited
|
|
82
|
+
// from Settings → System Prompt with that agent selected.
|
|
76
83
|
if (config.agentId) {
|
|
77
84
|
const agent = getAgent(config.agentId);
|
|
78
85
|
const agentCustomPrompt = agent?.customPrompt?.trim();
|