@iblai/iblai-js 2.80.0 → 2.81.1
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/web-containers/source/chat/chat-utils.js +87 -1
- package/dist/web-containers/source/chat/chat-utils.js.map +1 -1
- package/dist/web-containers/source/chat/code-activity.js +8 -6
- package/dist/web-containers/source/chat/code-activity.js.map +1 -1
- package/dist/web-containers/source/chat/code-error-text.js +12 -5
- package/dist/web-containers/source/chat/code-error-text.js.map +1 -1
- package/dist/web-containers/source/chat/working-indicator.js +33 -2
- package/dist/web-containers/source/chat/working-indicator.js.map +1 -1
- package/dist/web-containers/source/chat-input-form/cowork-control.js +308 -44
- package/dist/web-containers/source/chat-input-form/cowork-control.js.map +1 -1
- package/dist/web-containers/source/chat-input-form/inside-buttons.js +2 -2
- package/dist/web-containers/source/chat-input-form/inside-buttons.js.map +1 -1
- package/dist/web-containers/source/chat-utils.js +87 -1
- package/dist/web-containers/source/chat-utils.js.map +1 -1
- package/dist/web-containers/source/code-activity.js +8 -6
- package/dist/web-containers/source/code-activity.js.map +1 -1
- package/dist/web-containers/source/code-error-text.js +12 -5
- package/dist/web-containers/source/code-error-text.js.map +1 -1
- package/dist/web-containers/source/components/chat/chat-utils.js +87 -1
- package/dist/web-containers/source/components/chat/chat-utils.js.map +1 -1
- package/dist/web-containers/source/components/chat/code-activity.js +8 -6
- package/dist/web-containers/source/components/chat/code-activity.js.map +1 -1
- package/dist/web-containers/source/components/chat/code-error-text.js +12 -5
- package/dist/web-containers/source/components/chat/code-error-text.js.map +1 -1
- package/dist/web-containers/source/components/chat/working-indicator.js +33 -2
- package/dist/web-containers/source/components/chat/working-indicator.js.map +1 -1
- package/dist/web-containers/source/components/chat-input-form/cowork-control.js +308 -44
- package/dist/web-containers/source/components/chat-input-form/cowork-control.js.map +1 -1
- package/dist/web-containers/source/components/chat-input-form/inside-buttons.js +2 -2
- package/dist/web-containers/source/components/chat-input-form/inside-buttons.js.map +1 -1
- package/dist/web-containers/source/cowork-control.js +308 -44
- package/dist/web-containers/source/cowork-control.js.map +1 -1
- package/dist/web-containers/source/en.json.js +35 -8
- package/dist/web-containers/source/en.json.js.map +1 -1
- package/dist/web-containers/source/es.json.js +34 -7
- package/dist/web-containers/source/es.json.js.map +1 -1
- package/dist/web-containers/source/fr.json.js +34 -7
- package/dist/web-containers/source/fr.json.js.map +1 -1
- package/dist/web-containers/source/hooks/use-cua-driver.js +104 -4
- package/dist/web-containers/source/hooks/use-cua-driver.js.map +1 -1
- package/dist/web-containers/source/hooks/use-model-download.js +9 -9
- package/dist/web-containers/source/hooks/use-model-download.js.map +1 -1
- package/dist/web-containers/source/i18n/messages/en.json.js +35 -8
- package/dist/web-containers/source/i18n/messages/en.json.js.map +1 -1
- package/dist/web-containers/source/i18n/messages/es.json.js +34 -7
- package/dist/web-containers/source/i18n/messages/es.json.js.map +1 -1
- package/dist/web-containers/source/i18n/messages/fr.json.js +34 -7
- package/dist/web-containers/source/i18n/messages/fr.json.js.map +1 -1
- package/dist/web-containers/source/i18n/messages/zh.json.js +35 -8
- package/dist/web-containers/source/i18n/messages/zh.json.js.map +1 -1
- package/dist/web-containers/source/inside-buttons.js +2 -2
- package/dist/web-containers/source/inside-buttons.js.map +1 -1
- package/dist/web-containers/source/messages/en.json.js +35 -8
- package/dist/web-containers/source/messages/en.json.js.map +1 -1
- package/dist/web-containers/source/messages/es.json.js +34 -7
- package/dist/web-containers/source/messages/es.json.js.map +1 -1
- package/dist/web-containers/source/messages/fr.json.js +34 -7
- package/dist/web-containers/source/messages/fr.json.js.map +1 -1
- package/dist/web-containers/source/messages/zh.json.js +35 -8
- package/dist/web-containers/source/messages/zh.json.js.map +1 -1
- package/dist/web-containers/source/tauri.js +8 -0
- package/dist/web-containers/source/tauri.js.map +1 -1
- package/dist/web-containers/source/tsconfig.build.tsbuildinfo +1 -1
- package/dist/web-containers/source/types/tauri.js +8 -0
- package/dist/web-containers/source/types/tauri.js.map +1 -1
- package/dist/web-containers/source/use-cua-driver.js +104 -4
- package/dist/web-containers/source/use-cua-driver.js.map +1 -1
- package/dist/web-containers/source/use-model-download.js +9 -9
- package/dist/web-containers/source/use-model-download.js.map +1 -1
- package/dist/web-containers/source/web-containers/tsconfig.build.tsbuildinfo +1 -1
- package/dist/web-containers/source/working-indicator.js +33 -2
- package/dist/web-containers/source/working-indicator.js.map +1 -1
- package/dist/web-containers/source/zh.json.js +35 -8
- package/dist/web-containers/source/zh.json.js.map +1 -1
- package/package.json +4 -4
|
@@ -2936,7 +2936,13 @@ var localLlmUseModelDownload = {
|
|
|
2936
2936
|
setupDescription: "This only happens the first time and can take a few minutes. Your download will start right after.",
|
|
2937
2937
|
setupFailed: "The Model Manager couldn’t be set up",
|
|
2938
2938
|
setupTimedOut: "Setting up the Model Manager is taking too long. Please try again in a few minutes.",
|
|
2939
|
-
setupTitle: "Setting up the Model Manager"
|
|
2939
|
+
setupTitle: "Setting up the Model Manager",
|
|
2940
|
+
logInstallingManager: "Installing Model Manager...",
|
|
2941
|
+
logModelInstalled: "Model installed",
|
|
2942
|
+
logStartingDownload: "Starting download...",
|
|
2943
|
+
logDownloadComplete: "Download complete",
|
|
2944
|
+
logDownloadCancelled: "Download cancelled",
|
|
2945
|
+
logStoppingManager: "Stopping model manager..."
|
|
2940
2946
|
};
|
|
2941
2947
|
var mcpTab = {
|
|
2942
2948
|
header: {
|
|
@@ -8109,19 +8115,38 @@ var chat = {
|
|
|
8109
8115
|
coworkUnsupportedGnomeHelper: "Cowork on GNOME needs the WinRects helper installed, then a session restart.",
|
|
8110
8116
|
coworkUnsupportedOs: "Cowork isn’t supported on this operating system.",
|
|
8111
8117
|
coworkUnsupportedSession: "Cowork isn’t supported on this desktop session.",
|
|
8112
|
-
coworkConsentTitle: "Let Cowork
|
|
8113
|
-
coworkConsentBody: "Cowork
|
|
8114
|
-
|
|
8115
|
-
|
|
8116
|
-
|
|
8117
|
-
|
|
8118
|
+
coworkConsentTitle: "Let Cowork Use Your Computer?",
|
|
8119
|
+
coworkConsentBody: "Cowork can see what’s on your screen and click and type for you. That includes your browser, where it can act as you on sites you’re signed in to. What it sees is sent to ibl.ai to work out what to do next.",
|
|
8120
|
+
coworkConsentKeepInMind: "Keep in mind:",
|
|
8121
|
+
coworkConsentTipUndo: "Some of what it does can’t be undone.",
|
|
8122
|
+
coworkConsentTipPrivate: "Close anything private before you start. Cowork sees your screen.",
|
|
8123
|
+
coworkConsentCancel: "Not Now",
|
|
8124
|
+
coworkConsentConfirm: "Turn On",
|
|
8118
8125
|
skills: "Skills",
|
|
8119
8126
|
coworkNeedsSession: "Sign in first — Cowork needs your platform session to reach the model.",
|
|
8120
8127
|
coworkTabNote: "Reads this tab and acts on it for you — never password or payment fields. What it reads goes to ibl.ai to decide what to do next.",
|
|
8121
8128
|
coworkApprovalsLabel: "Approvals",
|
|
8122
8129
|
coworkApprovalsManual: "Ask Me",
|
|
8123
8130
|
coworkApprovalsAuto: "Automatic",
|
|
8124
|
-
coworkApprovalsAutoHint: "Cowork clicks, types and submits without asking. Use it only on sites you trust."
|
|
8131
|
+
coworkApprovalsAutoHint: "Cowork clicks, types and submits without asking. Use it only on sites you trust.",
|
|
8132
|
+
coworkUnsupportedSandboxed: "Cowork isn’t available in the App Store version of the app.",
|
|
8133
|
+
coworkSetupTitle: "Finish Setting Up Cowork",
|
|
8134
|
+
coworkSetupBody: "macOS needs your okay for two things. Go one at a time. This list updates by itself.",
|
|
8135
|
+
coworkGrantAccessibility: "Accessibility",
|
|
8136
|
+
coworkGrantAccessibilityHint: "Lets Cowork click and type for you.",
|
|
8137
|
+
coworkGrantScreenRecording: "Screen Recording",
|
|
8138
|
+
coworkGrantScreenRecordingHint: "Lets Cowork see your screen. System Settings may call it Screen & System Audio Recording.",
|
|
8139
|
+
coworkGrantAllowed: "Allowed",
|
|
8140
|
+
coworkStepAllow: "Allow",
|
|
8141
|
+
coworkOpenSettings: "Open Settings",
|
|
8142
|
+
coworkStepAskedAccessibility: "Switch on ibl.ai in the list. macOS may ask for your password or Touch ID.",
|
|
8143
|
+
coworkStepAskedScreenRecording: "Switch on ibl.ai in the list. When macOS offers to quit and reopen ibl.ai, choose Quit & Reopen. Setup finishes by itself.",
|
|
8144
|
+
coworkRelaunchHint: "Switched it on but it isn’t ticked yet? Restart ibl.ai to finish.",
|
|
8145
|
+
coworkRelaunch: "Restart ibl.ai",
|
|
8146
|
+
coworkReady: "Cowork is on.",
|
|
8147
|
+
coworkOpenSettingsManually: "Open System Settings › Privacy & Security › {pane}, then switch on ibl.ai.",
|
|
8148
|
+
coworkRelaunchManually: "Quit the app and open it again to finish turning on Cowork.",
|
|
8149
|
+
coworkStepOf: "Step {n} of {total}"
|
|
8125
8150
|
},
|
|
8126
8151
|
chatInputFormMemoryMenu: {
|
|
8127
8152
|
yourMemory: "Your Memory",
|
|
@@ -8176,6 +8201,8 @@ var chat = {
|
|
|
8176
8201
|
generatingVideo: "Generating video…",
|
|
8177
8202
|
working: "Working…",
|
|
8178
8203
|
stillWorking: "Still working — longer tasks can take a few minutes.",
|
|
8204
|
+
onDeviceThinking: "Thinking on this computer. The first reply in a chat can take a few minutes.",
|
|
8205
|
+
onDeviceStillWorking: "Still working. A model on this computer is slower than an online one.",
|
|
8179
8206
|
tooltip: "Working… — The agent is still processing your message. Longer tasks run for a while, especially when the agent is using tools, searching, or building content. You can keep the tab open and watch progress, or press Stop to cancel and get back control."
|
|
8180
8207
|
},
|
|
8181
8208
|
componentsGuidedSuggestedPrompts: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"en.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"en.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;"}
|
|
@@ -2936,7 +2936,13 @@ var localLlmUseModelDownload = {
|
|
|
2936
2936
|
setupDescription: "Esto solo ocurre la primera vez y puede tardar unos minutos. La descarga comenzará justo después.",
|
|
2937
2937
|
setupFailed: "No se pudo configurar el Administrador de modelos",
|
|
2938
2938
|
setupTimedOut: "La configuración del Administrador de modelos está tardando demasiado. Vuelve a intentarlo en unos minutos.",
|
|
2939
|
-
setupTitle: "Configurando el Administrador de modelos"
|
|
2939
|
+
setupTitle: "Configurando el Administrador de modelos",
|
|
2940
|
+
logInstallingManager: "Instalando el Administrador de modelos...",
|
|
2941
|
+
logModelInstalled: "Modelo instalado",
|
|
2942
|
+
logStartingDownload: "Iniciando la descarga...",
|
|
2943
|
+
logDownloadComplete: "Descarga completada",
|
|
2944
|
+
logDownloadCancelled: "Descarga cancelada",
|
|
2945
|
+
logStoppingManager: "Deteniendo el administrador de modelos..."
|
|
2940
2946
|
};
|
|
2941
2947
|
var mcpTab = {
|
|
2942
2948
|
header: {
|
|
@@ -8110,18 +8116,37 @@ var chat = {
|
|
|
8110
8116
|
coworkUnsupportedOs: "Cowork no es compatible con este sistema operativo.",
|
|
8111
8117
|
coworkUnsupportedSession: "Cowork no es compatible con esta sesión de escritorio.",
|
|
8112
8118
|
coworkConsentTitle: "¿Permitir que Cowork use tu equipo?",
|
|
8113
|
-
coworkConsentBody: "Cowork
|
|
8114
|
-
|
|
8115
|
-
|
|
8116
|
-
|
|
8117
|
-
|
|
8119
|
+
coworkConsentBody: "Cowork puede ver lo que hay en tu pantalla y hacer clic y escribir por ti. Eso incluye tu navegador, donde puede actuar como tú en los sitios en los que has iniciado sesión. Lo que ve se envía a ibl.ai para decidir qué hacer a continuación.",
|
|
8120
|
+
coworkConsentKeepInMind: "Ten en cuenta:",
|
|
8121
|
+
coworkConsentTipUndo: "Algunas de sus acciones no se pueden deshacer.",
|
|
8122
|
+
coworkConsentTipPrivate: "Cierra todo lo privado antes de empezar. Cowork ve tu pantalla.",
|
|
8123
|
+
coworkConsentCancel: "Ahora no",
|
|
8124
|
+
coworkConsentConfirm: "Activar",
|
|
8118
8125
|
skills: "Habilidades",
|
|
8119
8126
|
coworkNeedsSession: "Inicia sesión primero: Cowork necesita tu sesión de la plataforma para acceder al modelo.",
|
|
8120
8127
|
coworkTabNote: "Lee esta pestaña y actúa en ella por ti: nunca en campos de contraseña o de pago. Lo que lee se envía a ibl.ai para decidir el siguiente paso.",
|
|
8121
8128
|
coworkApprovalsLabel: "Aprobaciones",
|
|
8122
8129
|
coworkApprovalsManual: "Preguntarme",
|
|
8123
8130
|
coworkApprovalsAuto: "Automático",
|
|
8124
|
-
coworkApprovalsAutoHint: "Cowork hace clic, escribe y envía formularios sin preguntar. Úsalo solo en sitios de confianza."
|
|
8131
|
+
coworkApprovalsAutoHint: "Cowork hace clic, escribe y envía formularios sin preguntar. Úsalo solo en sitios de confianza.",
|
|
8132
|
+
coworkUnsupportedSandboxed: "Cowork no está disponible en la versión de la App Store de la app.",
|
|
8133
|
+
coworkSetupTitle: "Termina de configurar Cowork",
|
|
8134
|
+
coworkSetupBody: "macOS necesita tu permiso para dos cosas. Ve de una en una. Esta lista se actualiza sola.",
|
|
8135
|
+
coworkGrantAccessibility: "Accesibilidad",
|
|
8136
|
+
coworkGrantAccessibilityHint: "Permite que Cowork haga clic y escriba por ti.",
|
|
8137
|
+
coworkGrantScreenRecording: "Grabación de pantalla",
|
|
8138
|
+
coworkGrantScreenRecordingHint: "Permite que Cowork vea tu pantalla. En Ajustes del Sistema puede llamarse Grabación de pantalla y audio del sistema.",
|
|
8139
|
+
coworkGrantAllowed: "Permitido",
|
|
8140
|
+
coworkStepAllow: "Permitir",
|
|
8141
|
+
coworkOpenSettings: "Abrir Ajustes",
|
|
8142
|
+
coworkStepAskedAccessibility: "Activa ibl.ai en la lista. macOS puede pedirte la contraseña o Touch ID.",
|
|
8143
|
+
coworkStepAskedScreenRecording: "Activa ibl.ai en la lista. Cuando macOS ofrezca salir y volver a abrir ibl.ai, elige Salir y volver a abrir. La configuración termina sola.",
|
|
8144
|
+
coworkRelaunchHint: "¿Ya lo activaste pero aún no aparece marcado? Reinicia ibl.ai para terminar.",
|
|
8145
|
+
coworkRelaunch: "Reiniciar ibl.ai",
|
|
8146
|
+
coworkReady: "Cowork está activado.",
|
|
8147
|
+
coworkOpenSettingsManually: "Abre Ajustes del Sistema › Privacidad y seguridad › {pane} y activa ibl.ai.",
|
|
8148
|
+
coworkRelaunchManually: "Cierra la app y vuelve a abrirla para terminar de activar Cowork.",
|
|
8149
|
+
coworkStepOf: "Paso {n} de {total}"
|
|
8125
8150
|
},
|
|
8126
8151
|
chatInputFormMemoryMenu: {
|
|
8127
8152
|
yourMemory: "Tu memoria",
|
|
@@ -8176,6 +8201,8 @@ var chat = {
|
|
|
8176
8201
|
generatingVideo: "Generando video…",
|
|
8177
8202
|
working: "Trabajando…",
|
|
8178
8203
|
stillWorking: "Sigue trabajando: las tareas largas pueden tardar unos minutos.",
|
|
8204
|
+
onDeviceThinking: "Pensando en este equipo. La primera respuesta de un chat puede tardar unos minutos.",
|
|
8205
|
+
onDeviceStillWorking: "Sigue trabajando. Un modelo en este equipo es más lento que uno en línea.",
|
|
8179
8206
|
tooltip: "Trabajando…: el agente todavía está procesando tu mensaje. Las tareas largas tardan un rato, sobre todo cuando el agente usa herramientas, busca o genera contenido. Puedes dejar la pestaña abierta y ver el progreso, o pulsar Detener para cancelar y recuperar el control."
|
|
8180
8207
|
},
|
|
8181
8208
|
componentsGuidedSuggestedPrompts: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"es.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"es.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -2936,7 +2936,13 @@ var localLlmUseModelDownload = {
|
|
|
2936
2936
|
setupDescription: "Cela ne se produit que la première fois et peut prendre quelques minutes. Votre téléchargement démarrera juste après.",
|
|
2937
2937
|
setupFailed: "Impossible de configurer le Gestionnaire de modèles",
|
|
2938
2938
|
setupTimedOut: "La configuration du Gestionnaire de modèles prend trop de temps. Réessayez dans quelques minutes.",
|
|
2939
|
-
setupTitle: "Configuration du Gestionnaire de modèles"
|
|
2939
|
+
setupTitle: "Configuration du Gestionnaire de modèles",
|
|
2940
|
+
logInstallingManager: "Installation du Gestionnaire de modèles...",
|
|
2941
|
+
logModelInstalled: "Modèle installé",
|
|
2942
|
+
logStartingDownload: "Démarrage du téléchargement...",
|
|
2943
|
+
logDownloadComplete: "Téléchargement terminé",
|
|
2944
|
+
logDownloadCancelled: "Téléchargement annulé",
|
|
2945
|
+
logStoppingManager: "Arrêt du gestionnaire de modèles..."
|
|
2940
2946
|
};
|
|
2941
2947
|
var mcpTab = {
|
|
2942
2948
|
header: {
|
|
@@ -8110,18 +8116,37 @@ var chat = {
|
|
|
8110
8116
|
coworkUnsupportedOs: "Cowork n’est pas pris en charge sur ce système d’exploitation.",
|
|
8111
8117
|
coworkUnsupportedSession: "Cowork n’est pas pris en charge sur cette session de bureau.",
|
|
8112
8118
|
coworkConsentTitle: "Autoriser Cowork à utiliser votre ordinateur ?",
|
|
8113
|
-
coworkConsentBody: "Cowork
|
|
8114
|
-
|
|
8115
|
-
|
|
8116
|
-
|
|
8117
|
-
|
|
8119
|
+
coworkConsentBody: "Cowork peut voir ce qui est à l’écran, cliquer et saisir à votre place. Cela inclut votre navigateur, où il peut agir en votre nom sur les sites où vous êtes connecté. Ce qu’il voit est envoyé à ibl.ai pour décider de la suite.",
|
|
8120
|
+
coworkConsentKeepInMind: "À savoir :",
|
|
8121
|
+
coworkConsentTipUndo: "Certaines de ses actions sont irréversibles.",
|
|
8122
|
+
coworkConsentTipPrivate: "Fermez tout ce qui est privé avant de commencer. Cowork voit votre écran.",
|
|
8123
|
+
coworkConsentCancel: "Pas maintenant",
|
|
8124
|
+
coworkConsentConfirm: "Activer",
|
|
8118
8125
|
skills: "Compétences",
|
|
8119
8126
|
coworkNeedsSession: "Connectez-vous d’abord : Cowork a besoin de votre session de plateforme pour joindre le modèle.",
|
|
8120
8127
|
coworkTabNote: "Lit cet onglet et agit dessus à votre place — jamais dans les champs de mot de passe ou de paiement. Ce qu’il lit est envoyé à ibl.ai pour déterminer l’étape suivante.",
|
|
8121
8128
|
coworkApprovalsLabel: "Approbations",
|
|
8122
8129
|
coworkApprovalsManual: "Me demander",
|
|
8123
8130
|
coworkApprovalsAuto: "Automatique",
|
|
8124
|
-
coworkApprovalsAutoHint: "Cowork clique, saisit et soumet des formulaires sans demander. À utiliser uniquement sur des sites de confiance."
|
|
8131
|
+
coworkApprovalsAutoHint: "Cowork clique, saisit et soumet des formulaires sans demander. À utiliser uniquement sur des sites de confiance.",
|
|
8132
|
+
coworkUnsupportedSandboxed: "Cowork n’est pas disponible dans la version App Store de l’app.",
|
|
8133
|
+
coworkSetupTitle: "Terminer la configuration de Cowork",
|
|
8134
|
+
coworkSetupBody: "macOS a besoin de votre accord pour deux choses. Une à la fois. Cette liste se met à jour toute seule.",
|
|
8135
|
+
coworkGrantAccessibility: "Accessibilité",
|
|
8136
|
+
coworkGrantAccessibilityHint: "Permet à Cowork de cliquer et de saisir à votre place.",
|
|
8137
|
+
coworkGrantScreenRecording: "Enregistrement de l’écran",
|
|
8138
|
+
coworkGrantScreenRecordingHint: "Permet à Cowork de voir votre écran. Les Réglages Système peuvent l’appeler Enregistrement de l’écran et de l’audio du système.",
|
|
8139
|
+
coworkGrantAllowed: "Autorisé",
|
|
8140
|
+
coworkStepAllow: "Autoriser",
|
|
8141
|
+
coworkOpenSettings: "Ouvrir les Réglages",
|
|
8142
|
+
coworkStepAskedAccessibility: "Activez ibl.ai dans la liste. macOS peut demander votre mot de passe ou Touch ID.",
|
|
8143
|
+
coworkStepAskedScreenRecording: "Activez ibl.ai dans la liste. Quand macOS propose de quitter et rouvrir ibl.ai, choisissez Quitter et rouvrir. La configuration se termine toute seule.",
|
|
8144
|
+
coworkRelaunchHint: "Activé mais pas encore coché ? Redémarrez ibl.ai pour terminer.",
|
|
8145
|
+
coworkRelaunch: "Redémarrer ibl.ai",
|
|
8146
|
+
coworkReady: "Cowork est activé.",
|
|
8147
|
+
coworkOpenSettingsManually: "Ouvrez Réglages Système › Confidentialité et sécurité › {pane}, puis activez ibl.ai.",
|
|
8148
|
+
coworkRelaunchManually: "Quittez l’app et rouvrez-la pour finir d’activer Cowork.",
|
|
8149
|
+
coworkStepOf: "Étape {n} sur {total}"
|
|
8125
8150
|
},
|
|
8126
8151
|
chatInputFormMemoryMenu: {
|
|
8127
8152
|
yourMemory: "Votre mémoire",
|
|
@@ -8176,6 +8201,8 @@ var chat = {
|
|
|
8176
8201
|
generatingVideo: "Génération de la vidéo…",
|
|
8177
8202
|
working: "Traitement en cours…",
|
|
8178
8203
|
stillWorking: "Toujours en cours — les tâches longues peuvent prendre quelques minutes.",
|
|
8204
|
+
onDeviceThinking: "Réflexion sur cet ordinateur. La première réponse d’une discussion peut prendre quelques minutes.",
|
|
8205
|
+
onDeviceStillWorking: "Toujours en cours. Un modèle sur cet ordinateur est plus lent qu’un modèle en ligne.",
|
|
8179
8206
|
tooltip: "Traitement en cours… — L’agent traite toujours votre message. Les tâches longues prennent du temps, surtout lorsque l’agent utilise des outils, effectue des recherches ou génère du contenu. Vous pouvez laisser l’onglet ouvert et suivre la progression, ou appuyer sur Arrêter pour annuler et reprendre la main."
|
|
8180
8207
|
},
|
|
8181
8208
|
componentsGuidedSuggestedPrompts: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fr.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"fr.json.js","sources":[],"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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -20,9 +20,8 @@ const LOCAL_STORAGE_KEY = 'cua_driver_install_state';
|
|
|
20
20
|
* **Consent is the host application's job, not this hook's.** Enabling Cowork
|
|
21
21
|
* hands an LLM synthetic input, screen capture, and — through the driver's
|
|
22
22
|
* `--grant existing-profile` — the user's logged-in browser sessions. The driver
|
|
23
|
-
* renders no consent UI of its own
|
|
24
|
-
*
|
|
25
|
-
* `requestDriverPermissions()`.
|
|
23
|
+
* renders no consent UI of its own. A host must explain that and get consent
|
|
24
|
+
* before calling `requestPermission()` or `requestDriverPermissions()`.
|
|
26
25
|
*/
|
|
27
26
|
function useCuaDriver() {
|
|
28
27
|
const { isAvailable, invoke, listen } = useTauri();
|
|
@@ -60,13 +59,14 @@ function useCuaDriver() {
|
|
|
60
59
|
*/
|
|
61
60
|
const refreshPermissions = useCallback(async () => {
|
|
62
61
|
if (!isAvailable)
|
|
63
|
-
return;
|
|
62
|
+
return { accessibility: null, screenRecording: null };
|
|
64
63
|
const [accessibility, screenRecording] = await Promise.all([
|
|
65
64
|
checkPermission(MACOS_PERMISSIONS_COMMANDS.CHECK_ACCESSIBILITY),
|
|
66
65
|
checkPermission(MACOS_PERMISSIONS_COMMANDS.CHECK_SCREEN_RECORDING),
|
|
67
66
|
]);
|
|
68
67
|
setAccessibilityPermission(accessibility);
|
|
69
68
|
setScreenRecordingPermission(screenRecording);
|
|
69
|
+
return { accessibility, screenRecording };
|
|
70
70
|
}, [isAvailable, checkPermission]);
|
|
71
71
|
/**
|
|
72
72
|
* Ask for whichever grants are missing, then report what is actually held.
|
|
@@ -118,6 +118,101 @@ function useCuaDriver() {
|
|
|
118
118
|
setScreenRecordingPermission(screenRecording);
|
|
119
119
|
return { accessibility, screenRecording };
|
|
120
120
|
}, [isAvailable, invoke, checkPermission]);
|
|
121
|
+
/**
|
|
122
|
+
* Open the System Settings pane a missing grant lives in. macOS shows its own
|
|
123
|
+
* prompt only the first time an app asks; after a refusal this is the only
|
|
124
|
+
* way back. Opening a pane never prompts.
|
|
125
|
+
*
|
|
126
|
+
* Resolves false when the host could not do it — the web app ships apart from
|
|
127
|
+
* the desktop binary, and one released before this command rejects it — so
|
|
128
|
+
* the caller can say where to go instead.
|
|
129
|
+
*/
|
|
130
|
+
const openPrivacySettings = useCallback(async (pane) => {
|
|
131
|
+
if (!isAvailable)
|
|
132
|
+
return false;
|
|
133
|
+
try {
|
|
134
|
+
await invoke(CUA_DRIVER_TAURI_COMMANDS.OPEN_PRIVACY_SETTINGS, { pane });
|
|
135
|
+
return true;
|
|
136
|
+
}
|
|
137
|
+
catch (error) {
|
|
138
|
+
console.error('[useCuaDriver] Failed to open System Settings:', error);
|
|
139
|
+
return false;
|
|
140
|
+
}
|
|
141
|
+
}, [isAvailable, invoke]);
|
|
142
|
+
/**
|
|
143
|
+
* Ask macOS for one grant. **Prompts, so only from an explicit user action.**
|
|
144
|
+
*
|
|
145
|
+
* `openSettings` also opens the grant's System Settings pane while it is still
|
|
146
|
+
* missing. Pass it only on a repeat ask: macOS shows its own alert just the
|
|
147
|
+
* first time an app asks, and a pane opened then would cover that alert.
|
|
148
|
+
*
|
|
149
|
+
* A desktop app released before `request_cowork_permission` gets the plugin's
|
|
150
|
+
* request plus `open_privacy_settings` instead; when even that cannot open the
|
|
151
|
+
* pane the answer is `unsupported`, so the caller can say where to go.
|
|
152
|
+
*/
|
|
153
|
+
const requestPermission = useCallback(async (kind, openSettings) => {
|
|
154
|
+
if (!isAvailable)
|
|
155
|
+
return 'unsupported';
|
|
156
|
+
try {
|
|
157
|
+
const granted = await invoke(CUA_DRIVER_TAURI_COMMANDS.REQUEST_PERMISSION, {
|
|
158
|
+
kind,
|
|
159
|
+
openSettings,
|
|
160
|
+
});
|
|
161
|
+
return granted ? 'granted' : 'not_granted';
|
|
162
|
+
}
|
|
163
|
+
catch (error) {
|
|
164
|
+
console.warn('[useCuaDriver] request_cowork_permission unavailable:', error);
|
|
165
|
+
}
|
|
166
|
+
const [check, request] = kind === 'accessibility'
|
|
167
|
+
? [
|
|
168
|
+
MACOS_PERMISSIONS_COMMANDS.CHECK_ACCESSIBILITY,
|
|
169
|
+
MACOS_PERMISSIONS_COMMANDS.REQUEST_ACCESSIBILITY,
|
|
170
|
+
]
|
|
171
|
+
: [
|
|
172
|
+
MACOS_PERMISSIONS_COMMANDS.CHECK_SCREEN_RECORDING,
|
|
173
|
+
MACOS_PERMISSIONS_COMMANDS.REQUEST_SCREEN_RECORDING,
|
|
174
|
+
];
|
|
175
|
+
try {
|
|
176
|
+
await invoke(request);
|
|
177
|
+
}
|
|
178
|
+
catch (error) {
|
|
179
|
+
console.error(`[useCuaDriver] ${request} failed:`, error);
|
|
180
|
+
}
|
|
181
|
+
if (openSettings && !(await openPrivacySettings(kind)))
|
|
182
|
+
return 'unsupported';
|
|
183
|
+
return (await checkPermission(check)) === true ? 'granted' : 'not_granted';
|
|
184
|
+
}, [isAvailable, invoke, checkPermission, openPrivacySettings]);
|
|
185
|
+
/**
|
|
186
|
+
* Bring the app back in front once a grant lands in System Settings, so the
|
|
187
|
+
* user sees the next step without hunting for the window.
|
|
188
|
+
*/
|
|
189
|
+
const bringToFront = useCallback(async () => {
|
|
190
|
+
if (!isAvailable)
|
|
191
|
+
return;
|
|
192
|
+
try {
|
|
193
|
+
await invoke(CUA_DRIVER_TAURI_COMMANDS.BRING_TO_FRONT);
|
|
194
|
+
}
|
|
195
|
+
catch (error) {
|
|
196
|
+
console.warn('[useCuaDriver] Failed to bring the app to the front:', error);
|
|
197
|
+
}
|
|
198
|
+
}, [isAvailable, invoke]);
|
|
199
|
+
/**
|
|
200
|
+
* Relaunch the app. macOS applies a Screen Recording grant only to processes
|
|
201
|
+
* started after it, so a fresh grant reads as denied until this. On success
|
|
202
|
+
* the process is replaced, so only `false` (an older host) ever comes back.
|
|
203
|
+
*/
|
|
204
|
+
const relaunch = useCallback(async () => {
|
|
205
|
+
if (!isAvailable)
|
|
206
|
+
return false;
|
|
207
|
+
try {
|
|
208
|
+
await invoke(CUA_DRIVER_TAURI_COMMANDS.RELAUNCH_APP);
|
|
209
|
+
return true;
|
|
210
|
+
}
|
|
211
|
+
catch (error) {
|
|
212
|
+
console.error('[useCuaDriver] Failed to relaunch:', error);
|
|
213
|
+
return false;
|
|
214
|
+
}
|
|
215
|
+
}, [isAvailable, invoke]);
|
|
121
216
|
/**
|
|
122
217
|
* Append a log line, optionally in the SAME update as other state changes.
|
|
123
218
|
*
|
|
@@ -341,6 +436,11 @@ function useCuaDriver() {
|
|
|
341
436
|
checkStatus,
|
|
342
437
|
resetState,
|
|
343
438
|
requestDriverPermissions,
|
|
439
|
+
refreshPermissions,
|
|
440
|
+
requestPermission,
|
|
441
|
+
bringToFront,
|
|
442
|
+
openPrivacySettings,
|
|
443
|
+
relaunch,
|
|
344
444
|
};
|
|
345
445
|
}
|
|
346
446
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-cua-driver.js","sources":["../../../../../../src/hooks/use-cua-driver.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"use-cua-driver.js","sources":["../../../../../../src/hooks/use-cua-driver.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;AAsBA,MAAM,iBAAiB,GAAG,0BAA0B;AAGpD;;;;;;;;;;;;;;;;;;AAkBG;SACa,YAAY,GAAA;IAC1B,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,QAAQ,EAAE;AAClD,IAAA,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,eAAe,CACvC,iBAAiB,EACjB,4BAA4B,CAC7B;IACD,MAAM,CAAC,MAAM,EAAE,SA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,gBAAA,aAAa,CAAC,OAAO,GAAG,IAAI;gBAC5B;YACF;YACA,OAAO,IAAI,CAAC;AACZ,YAAA,IAAI,SAAS,IAAI,OAAO,IAAI,YAAY;gBAAE;AAC1C,YAAA,KAAK,GAAG,UAAU,CAAC,GAAG,EAAE,IAAI,CAAC,GAAG,CAAC,IAAI,GAAG,CAAC,IAAI,OAAO,EAAE,KAAM,CAAC,CAAC;AAChE,QAAA,CAAC;AACD,QAAA,GAAG,EAAE;AACL,QAAA,OAAO,MAAK;YACV,SAAS,GAAG,IAAI;AAChB,YAAA,IAAI,KAAK;gBAAE,YAAY,CAAC,KAAK,CAAC;AAChC,QAAA,CAAC;AACH,IAAA,CAAC,EAAE,CAAC,WAAW,EAAE,WAAW,CAAC,CAAC;;AAG9B,IAAA,MAAM,gBAAgB,GAAG,WAAW,IAAI,UAAU,EAAE;;;;;;AAOpD,IAAA,MAAM,WAAW,GAAG,CAAA,MAAM,KAAA,IAAA,IAAN,MAAM,KAAA,MAAA,GAAA,MAAA,GAAN,MAAM,CAAE,SAAS,MAAK,IAAI;IAC9C,MAAM,iBAAiB,GAAG,CAAA,MAAM,aAAN,MAAM,KAAA,MAAA,GAAA,MAAA,GAAN,MAAM,CAAE,SAAS,MAAK,KAAK,GAAG,MAAM,CAAC,MAAM,GAAG,SAAS;IAEjF,OAAO;AACL,QAAA,WAAW,EAAE,gBAAgB;;QAE7B,WAAW;;QAEX,iBAAiB;QACjB,KAAK;QACL,MAAM;QACN,uBAAuB;QACvB,yBAAyB;QACzB,OAAO;QACP,IAAI;QACJ,WAAW;QACX,UAAU;QACV,wBAAwB;QACxB,kBAAkB;QAClB,iBAAiB;QACjB,YAAY;QACZ,mBAAmB;QACnB,QAAQ;KACT;AACH;;;;"}
|
|
@@ -349,7 +349,7 @@ function useModelDownload() {
|
|
|
349
349
|
...prev,
|
|
350
350
|
status: 'completed',
|
|
351
351
|
progress: 100,
|
|
352
|
-
message: '
|
|
352
|
+
message: t('localLlmUseModelDownload.logModelInstalled'),
|
|
353
353
|
})));
|
|
354
354
|
}
|
|
355
355
|
else {
|
|
@@ -363,7 +363,7 @@ function useModelDownload() {
|
|
|
363
363
|
setState(unlessDownloading((prev) => ({ ...prev, status: 'idle' })));
|
|
364
364
|
return null;
|
|
365
365
|
}
|
|
366
|
-
}, [isAvailable, invoke, setState]);
|
|
366
|
+
}, [isAvailable, invoke, setState, t]);
|
|
367
367
|
// Keep the ref pointed at the latest checkStatus for use inside the once-on-mount
|
|
368
368
|
// event listeners (which must not depend on checkStatus to avoid re-subscribing).
|
|
369
369
|
useEffect(() => {
|
|
@@ -422,7 +422,7 @@ function useModelDownload() {
|
|
|
422
422
|
addLog({
|
|
423
423
|
timestamp: new Date().toISOString(),
|
|
424
424
|
level: 'info',
|
|
425
|
-
message: '
|
|
425
|
+
message: t('localLlmUseModelDownload.logInstallingManager'),
|
|
426
426
|
});
|
|
427
427
|
const result = await invoke(TAURI_COMMANDS.INSTALL_OLLAMA);
|
|
428
428
|
console.log('[ModelDownload] Install result:', result);
|
|
@@ -467,7 +467,7 @@ function useModelDownload() {
|
|
|
467
467
|
});
|
|
468
468
|
return false;
|
|
469
469
|
}
|
|
470
|
-
}, [isAvailable, invoke, addLog, checkStatus, setState]);
|
|
470
|
+
}, [isAvailable, invoke, addLog, checkStatus, setState, t]);
|
|
471
471
|
/**
|
|
472
472
|
* Install and start the Model Manager, joining a setup already running so two
|
|
473
473
|
* callers never install it twice. Resolves true once it is installed and started.
|
|
@@ -540,7 +540,7 @@ function useModelDownload() {
|
|
|
540
540
|
...prev,
|
|
541
541
|
status: 'downloading',
|
|
542
542
|
progress: 0,
|
|
543
|
-
message: '
|
|
543
|
+
message: t('localLlmUseModelDownload.logStartingDownload'),
|
|
544
544
|
error: undefined,
|
|
545
545
|
logs: [],
|
|
546
546
|
// Record which model is downloading so the right row shows progress even
|
|
@@ -637,7 +637,7 @@ function useModelDownload() {
|
|
|
637
637
|
...prev,
|
|
638
638
|
status: 'completed',
|
|
639
639
|
progress: 100,
|
|
640
|
-
message: '
|
|
640
|
+
message: t('localLlmUseModelDownload.logDownloadComplete'),
|
|
641
641
|
}));
|
|
642
642
|
// Refresh installed models so the row flips to "Ready" and is selectable;
|
|
643
643
|
// the same fresh list tells whether the current selection still exists.
|
|
@@ -729,7 +729,7 @@ function useModelDownload() {
|
|
|
729
729
|
...prev,
|
|
730
730
|
status: 'cancelled',
|
|
731
731
|
progress: 0,
|
|
732
|
-
message: '
|
|
732
|
+
message: t('localLlmUseModelDownload.logDownloadCancelled'),
|
|
733
733
|
}));
|
|
734
734
|
if (setupPromise) {
|
|
735
735
|
// No native cancel here (it would pkill the install); startDownload's
|
|
@@ -760,7 +760,7 @@ function useModelDownload() {
|
|
|
760
760
|
addLog({
|
|
761
761
|
timestamp: new Date().toISOString(),
|
|
762
762
|
level: 'info',
|
|
763
|
-
message: '
|
|
763
|
+
message: t('localLlmUseModelDownload.logStoppingManager'),
|
|
764
764
|
});
|
|
765
765
|
await invoke(TAURI_COMMANDS.STOP_OLLAMA);
|
|
766
766
|
await checkStatus();
|
|
@@ -769,7 +769,7 @@ function useModelDownload() {
|
|
|
769
769
|
const errorMessage = error instanceof Error ? error.message : String(error);
|
|
770
770
|
console.error('[ModelDownload] Failed to stop model manager:', errorMessage);
|
|
771
771
|
}
|
|
772
|
-
}, [isAvailable, invoke, addLog, checkStatus]);
|
|
772
|
+
}, [isAvailable, invoke, addLog, checkStatus, t]);
|
|
773
773
|
/**
|
|
774
774
|
* Clear all logs
|
|
775
775
|
*/
|