synabun 2.2.2 → 2.3.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/CHANGELOG.md +26 -0
- package/README.md +1 -1
- package/docs/whatsapp.md +52 -20
- package/lib/mcp-build.js +519 -0
- package/lib/mcp-dist.js +10 -4
- package/lib/server-supervisor.js +7 -1
- package/lib/virustotal.mjs +4 -2
- package/mcp-server/dist/http.d.ts +38 -0
- package/mcp-server/dist/http.d.ts.map +1 -1
- package/mcp-server/dist/http.js +75 -7
- package/mcp-server/dist/http.js.map +1 -1
- package/mcp-server/dist/services/browser-route-flow.d.ts +3 -2
- package/mcp-server/dist/services/browser-route-flow.d.ts.map +1 -1
- package/mcp-server/dist/services/browser-route-flow.js +4 -3
- package/mcp-server/dist/services/browser-route-flow.js.map +1 -1
- package/mcp-server/dist/services/embedding-service.d.ts.map +1 -1
- package/mcp-server/dist/services/embedding-service.js +2 -1
- package/mcp-server/dist/services/embedding-service.js.map +1 -1
- package/mcp-server/dist/services/neural-interface.d.ts +21 -0
- package/mcp-server/dist/services/neural-interface.d.ts.map +1 -1
- package/mcp-server/dist/services/neural-interface.js +76 -4
- package/mcp-server/dist/services/neural-interface.js.map +1 -1
- package/mcp-server/dist/services/tool-catalog.js +2 -2
- package/mcp-server/dist/services/tool-catalog.js.map +1 -1
- package/mcp-server/dist/tools/agents.d.ts +3 -2
- package/mcp-server/dist/tools/agents.d.ts.map +1 -1
- package/mcp-server/dist/tools/agents.js +6 -4
- package/mcp-server/dist/tools/agents.js.map +1 -1
- package/mcp-server/dist/tools/browser-advanced.d.ts +3 -1
- package/mcp-server/dist/tools/browser-advanced.d.ts.map +1 -1
- package/mcp-server/dist/tools/browser-advanced.js +30 -8
- package/mcp-server/dist/tools/browser-advanced.js.map +1 -1
- package/mcp-server/dist/tools/browser-navigate.d.ts +3 -3
- package/mcp-server/dist/tools/browser-navigate.d.ts.map +1 -1
- package/mcp-server/dist/tools/browser-navigate.js +19 -16
- package/mcp-server/dist/tools/browser-navigate.js.map +1 -1
- package/mcp-server/dist/tools/browser-observe.d.ts +2 -1
- package/mcp-server/dist/tools/browser-observe.d.ts.map +1 -1
- package/mcp-server/dist/tools/browser-observe.js +61 -20
- package/mcp-server/dist/tools/browser-observe.js.map +1 -1
- package/mcp-server/dist/tools/morelogin.d.ts +13 -3
- package/mcp-server/dist/tools/morelogin.d.ts.map +1 -1
- package/mcp-server/dist/tools/morelogin.js +81 -20
- package/mcp-server/dist/tools/morelogin.js.map +1 -1
- package/mcp-server/dist/tools/youtube/upload.d.ts.map +1 -1
- package/mcp-server/dist/tools/youtube/upload.js +225 -88
- package/mcp-server/dist/tools/youtube/upload.js.map +1 -1
- package/mcp-server/package-lock.json +2 -2
- package/mcp-server/package.json +1 -1
- package/mcp-server/src/http.ts +79 -7
- package/mcp-server/src/services/browser-route-flow.ts +4 -3
- package/mcp-server/src/services/embedding-service.ts +2 -1
- package/mcp-server/src/services/neural-interface.ts +77 -4
- package/mcp-server/src/services/tool-catalog.ts +2 -2
- package/mcp-server/src/tools/agents.ts +8 -4
- package/mcp-server/src/tools/browser-advanced.ts +29 -8
- package/mcp-server/src/tools/browser-navigate.ts +19 -16
- package/mcp-server/src/tools/browser-observe.ts +62 -20
- package/mcp-server/src/tools/morelogin.ts +81 -20
- package/mcp-server/src/tools/youtube/upload.ts +218 -99
- package/neural-interface/i18n/en.json +631 -123
- package/neural-interface/i18n/pt-BR.json +518 -10
- package/neural-interface/lib/assistant-api.js +26 -0
- package/neural-interface/lib/assistant-brains/claude.js +5 -0
- package/neural-interface/lib/assistant-catalog.js +114 -1
- package/neural-interface/lib/assistant-dispatch.js +71 -1
- package/neural-interface/lib/assistant-persona.js +14 -7
- package/neural-interface/lib/assistant-router.js +6 -4
- package/neural-interface/lib/assistant-runtime.js +3 -0
- package/neural-interface/lib/assistant-task-prompt.js +5 -0
- package/neural-interface/lib/automation-approval.js +249 -0
- package/neural-interface/lib/automation-browser-owner-access.js +82 -0
- package/neural-interface/lib/backup-service.js +16 -1
- package/neural-interface/lib/browser-background-tab.js +72 -3
- package/neural-interface/lib/browser-extraction.js +106 -45
- package/neural-interface/lib/browser-profile-choices.js +143 -0
- package/neural-interface/lib/browser-profiles.js +142 -0
- package/neural-interface/lib/browser-tab-recovery.js +153 -0
- package/neural-interface/lib/browser-tool-policy.js +2 -0
- package/neural-interface/lib/chromium-on-device-model.js +67 -0
- package/neural-interface/lib/claude-agent-bridge.js +7 -4
- package/neural-interface/lib/claude-model-catalog.js +12 -0
- package/neural-interface/lib/effort-levels.js +28 -2
- package/neural-interface/lib/local-profile-proxy.js +362 -0
- package/neural-interface/lib/local-profiles.js +929 -0
- package/neural-interface/lib/loop-logger.js +25 -4
- package/neural-interface/lib/maritaca/api.js +179 -0
- package/neural-interface/lib/maritaca/attachments.js +44 -0
- package/neural-interface/lib/maritaca/client.js +362 -0
- package/neural-interface/lib/maritaca/key-store.js +122 -0
- package/neural-interface/lib/maritaca/models.js +181 -0
- package/neural-interface/lib/maritaca/modes.js +39 -0
- package/neural-interface/lib/maritaca/opencode-proxy.js +236 -0
- package/neural-interface/lib/maritaca/opencode-stream.js +345 -0
- package/neural-interface/lib/maritaca/opencode.js +218 -0
- package/neural-interface/lib/maritaca/panel-bridge.js +273 -0
- package/neural-interface/lib/maritaca/sessions.js +198 -0
- package/neural-interface/lib/morelogin-agent-profiles.js +149 -0
- package/neural-interface/lib/morelogin.js +278 -14
- package/neural-interface/lib/native-loop-providers.js +3 -1
- package/neural-interface/lib/owner-authority.js +30 -12
- package/neural-interface/lib/page-session.js +43 -17
- package/neural-interface/lib/request-gate.js +2 -0
- package/neural-interface/lib/system-activity.js +1 -1
- package/neural-interface/lib/terminal-tokens.js +82 -5
- package/neural-interface/package-lock.json +3 -2
- package/neural-interface/package.json +2 -1
- package/neural-interface/public/assets/mascot/README.md +11 -0
- package/neural-interface/public/assets/mascot/ask.gif +0 -0
- package/neural-interface/public/assets/mascot/ask.png +0 -0
- package/neural-interface/public/assets/mascot/blocked.gif +0 -0
- package/neural-interface/public/assets/mascot/blocked.png +0 -0
- package/neural-interface/public/assets/mascot/budget.gif +0 -0
- package/neural-interface/public/assets/mascot/budget.png +0 -0
- package/neural-interface/public/assets/mascot/computer.gif +0 -0
- package/neural-interface/public/assets/mascot/computer.png +0 -0
- package/neural-interface/public/assets/mascot/edit.gif +0 -0
- package/neural-interface/public/assets/mascot/edit.png +0 -0
- package/neural-interface/public/assets/mascot/error.gif +0 -0
- package/neural-interface/public/assets/mascot/error.png +0 -0
- package/neural-interface/public/assets/mascot/hover-attention.gif +0 -0
- package/neural-interface/public/assets/mascot/hover-attention.png +0 -0
- package/neural-interface/public/assets/mascot/idle-hero.gif +0 -0
- package/neural-interface/public/assets/mascot/idle-hero.png +0 -0
- package/neural-interface/public/assets/mascot/idle.gif +0 -0
- package/neural-interface/public/assets/mascot/idle.png +0 -0
- package/neural-interface/public/assets/mascot/manifest.json +254 -0
- package/neural-interface/public/assets/mascot/mcp.gif +0 -0
- package/neural-interface/public/assets/mascot/mcp.png +0 -0
- package/neural-interface/public/assets/mascot/memory.gif +0 -0
- package/neural-interface/public/assets/mascot/memory.png +0 -0
- package/neural-interface/public/assets/mascot/offline.gif +0 -0
- package/neural-interface/public/assets/mascot/offline.png +0 -0
- package/neural-interface/public/assets/mascot/pick.gif +0 -0
- package/neural-interface/public/assets/mascot/pick.png +0 -0
- package/neural-interface/public/assets/mascot/plan.gif +0 -0
- package/neural-interface/public/assets/mascot/plan.png +0 -0
- package/neural-interface/public/assets/mascot/present.gif +0 -0
- package/neural-interface/public/assets/mascot/present.png +0 -0
- package/neural-interface/public/assets/mascot/project.gif +0 -0
- package/neural-interface/public/assets/mascot/project.png +0 -0
- package/neural-interface/public/assets/mascot/read.gif +0 -0
- package/neural-interface/public/assets/mascot/read.png +0 -0
- package/neural-interface/public/assets/mascot/runs.gif +0 -0
- package/neural-interface/public/assets/mascot/runs.png +0 -0
- package/neural-interface/public/assets/mascot/scenes/automation.gif +0 -0
- package/neural-interface/public/assets/mascot/scenes/automation.png +0 -0
- package/neural-interface/public/assets/mascot/scenes/browser.gif +0 -0
- package/neural-interface/public/assets/mascot/scenes/browser.png +0 -0
- package/neural-interface/public/assets/mascot/scenes/code.gif +0 -0
- package/neural-interface/public/assets/mascot/scenes/code.png +0 -0
- package/neural-interface/public/assets/mascot/scenes/complex.gif +0 -0
- package/neural-interface/public/assets/mascot/scenes/complex.png +0 -0
- package/neural-interface/public/assets/mascot/scenes/computer.gif +0 -0
- package/neural-interface/public/assets/mascot/scenes/computer.png +0 -0
- package/neural-interface/public/assets/mascot/scenes/design.gif +0 -0
- package/neural-interface/public/assets/mascot/scenes/design.png +0 -0
- package/neural-interface/public/assets/mascot/scenes/edit.gif +0 -0
- package/neural-interface/public/assets/mascot/scenes/edit.png +0 -0
- package/neural-interface/public/assets/mascot/scenes/generic.gif +0 -0
- package/neural-interface/public/assets/mascot/scenes/generic.png +0 -0
- package/neural-interface/public/assets/mascot/scenes/image_gen.gif +0 -0
- package/neural-interface/public/assets/mascot/scenes/image_gen.png +0 -0
- package/neural-interface/public/assets/mascot/scenes/manifest.json +173 -0
- package/neural-interface/public/assets/mascot/scenes/memory.gif +0 -0
- package/neural-interface/public/assets/mascot/scenes/memory.png +0 -0
- package/neural-interface/public/assets/mascot/scenes/quick.gif +0 -0
- package/neural-interface/public/assets/mascot/scenes/quick.png +0 -0
- package/neural-interface/public/assets/mascot/scenes/read.gif +0 -0
- package/neural-interface/public/assets/mascot/scenes/read.png +0 -0
- package/neural-interface/public/assets/mascot/scenes/research.gif +0 -0
- package/neural-interface/public/assets/mascot/scenes/research.png +0 -0
- package/neural-interface/public/assets/mascot/scenes/review.gif +0 -0
- package/neural-interface/public/assets/mascot/scenes/review.png +0 -0
- package/neural-interface/public/assets/mascot/scenes/search.gif +0 -0
- package/neural-interface/public/assets/mascot/scenes/search.png +0 -0
- package/neural-interface/public/assets/mascot/scenes/shell.gif +0 -0
- package/neural-interface/public/assets/mascot/scenes/shell.png +0 -0
- package/neural-interface/public/assets/mascot/scenes/thinking.gif +0 -0
- package/neural-interface/public/assets/mascot/scenes/thinking.png +0 -0
- package/neural-interface/public/assets/mascot/scenes/video_gen.gif +0 -0
- package/neural-interface/public/assets/mascot/scenes/video_gen.png +0 -0
- package/neural-interface/public/assets/mascot/scenes/web.gif +0 -0
- package/neural-interface/public/assets/mascot/scenes/web.png +0 -0
- package/neural-interface/public/assets/mascot/search.gif +0 -0
- package/neural-interface/public/assets/mascot/search.png +0 -0
- package/neural-interface/public/assets/mascot/shell.gif +0 -0
- package/neural-interface/public/assets/mascot/shell.png +0 -0
- package/neural-interface/public/assets/mascot/skill.gif +0 -0
- package/neural-interface/public/assets/mascot/skill.png +0 -0
- package/neural-interface/public/assets/mascot/sleep.gif +0 -0
- package/neural-interface/public/assets/mascot/sleep.png +0 -0
- package/neural-interface/public/assets/mascot/subagent.gif +0 -0
- package/neural-interface/public/assets/mascot/subagent.png +0 -0
- package/neural-interface/public/assets/mascot/success.gif +0 -0
- package/neural-interface/public/assets/mascot/success.png +0 -0
- package/neural-interface/public/assets/mascot/think.gif +0 -0
- package/neural-interface/public/assets/mascot/think.png +0 -0
- package/neural-interface/public/assets/mascot/wait.gif +0 -0
- package/neural-interface/public/assets/mascot/wait.png +0 -0
- package/neural-interface/public/assets/mascot/watch.gif +0 -0
- package/neural-interface/public/assets/mascot/watch.png +0 -0
- package/neural-interface/public/assets/mascot/web.gif +0 -0
- package/neural-interface/public/assets/mascot/web.png +0 -0
- package/neural-interface/public/onboarding.html +14 -1
- package/neural-interface/public/shared/agent-runtime-options.js +49 -8
- package/neural-interface/public/shared/agy/agy-panel.js +2 -2
- package/neural-interface/public/shared/api.js +4 -4
- package/neural-interface/public/shared/assistant/asst-ask-styles.js +8 -8
- package/neural-interface/public/shared/assistant/asst-ask.js +1 -1
- package/neural-interface/public/shared/assistant/asst-brain-picker.js +99 -9
- package/neural-interface/public/shared/assistant/asst-control.js +1 -1
- package/neural-interface/public/shared/assistant/asst-limit-wait.js +4 -4
- package/neural-interface/public/shared/assistant/asst-panel.js +6 -2
- package/neural-interface/public/shared/assistant/asst-rack-styles.js +4 -4
- package/neural-interface/public/shared/assistant/asst-render.js +6 -6
- package/neural-interface/public/shared/assistant/asst-route-models.js +64 -4
- package/neural-interface/public/shared/assistant/asst-route.js +24 -7
- package/neural-interface/public/shared/assistant/asst-routes-editor.js +154 -39
- package/neural-interface/public/shared/assistant/asst-run-stage.js +3 -3
- package/neural-interface/public/shared/assistant/asst-scene-styles.js +8 -111
- package/neural-interface/public/shared/assistant/asst-scenes.js +46 -318
- package/neural-interface/public/shared/assistant/asst-sidepanel.js +2 -2
- package/neural-interface/public/shared/assistant/asst-state.js +72 -2
- package/neural-interface/public/shared/assistant/asst-styles.js +58 -14
- package/neural-interface/public/shared/automation-approval-view.js +75 -0
- package/neural-interface/public/shared/cdx/cdx-panel.js +2 -2
- package/neural-interface/public/shared/context-menu-model.js +2 -0
- package/neural-interface/public/shared/editor/editor-panel-logic.js +10 -0
- package/neural-interface/public/shared/editor/editor-panel.js +10 -2
- package/neural-interface/public/shared/html-shell.js +30 -22
- package/neural-interface/public/shared/morelogin-profile-choices.js +107 -0
- package/neural-interface/public/shared/morelogin-profile-field.js +186 -0
- package/neural-interface/public/shared/mtc/mtc-client.js +181 -0
- package/neural-interface/public/shared/mtc/mtc-compose.js +40 -0
- package/neural-interface/public/shared/mtc/mtc-copy.js +253 -0
- package/neural-interface/public/shared/mtc/mtc-logic.js +478 -0
- package/neural-interface/public/shared/mtc/mtc-panel.js +1354 -0
- package/neural-interface/public/shared/mtc/mtc-render.js +172 -0
- package/neural-interface/public/shared/mtc/mtc-styles.js +437 -0
- package/neural-interface/public/shared/ocp-v2/ocp-v2-panel.js +6 -2
- package/neural-interface/public/shared/provider-icons.js +3 -0
- package/neural-interface/public/shared/schedules-view.js +7 -0
- package/neural-interface/public/shared/server-back.js +50 -0
- package/neural-interface/public/shared/settings/settings-browser-owner-access.js +72 -0
- package/neural-interface/public/shared/settings/settings-data.js +1 -0
- package/neural-interface/public/shared/settings/settings-ia.js +3 -1
- package/neural-interface/public/shared/settings/settings-local-profiles.js +153 -0
- package/neural-interface/public/shared/settings/settings-maritaca-opencode.js +105 -0
- package/neural-interface/public/shared/sidepanel-session-status.js +16 -2
- package/neural-interface/public/shared/state.js +1 -1
- package/neural-interface/public/shared/styles.css +356 -157
- package/neural-interface/public/shared/synabun-mascot-assets.js +67 -0
- package/neural-interface/public/shared/synabun-mascot.js +136 -12
- package/neural-interface/public/shared/synabun-ticker.js +3 -0
- package/neural-interface/public/shared/topright-overflow-logic.js +1 -0
- package/neural-interface/public/shared/ui-automation-approval.js +188 -0
- package/neural-interface/public/shared/ui-automation-studio.js +130 -90
- package/neural-interface/public/shared/ui-claude-panel.js +50 -2
- package/neural-interface/public/shared/ui-maritaca-panel.js +15 -0
- package/neural-interface/public/shared/ui-navbar.js +17 -0
- package/neural-interface/public/shared/ui-panels.js +3 -1
- package/neural-interface/public/shared/ui-schedules-studio.js +118 -17
- package/neural-interface/public/shared/ui-scroll-follow.js +3 -0
- package/neural-interface/public/shared/ui-settings.js +590 -27
- package/neural-interface/public/shared/ui-sidepanel-session-entry.js +8 -2
- package/neural-interface/public/shared/ui-sidepanel-sessions.js +3 -3
- package/neural-interface/public/shared/ui-sidepanel-tray.js +24 -0
- package/neural-interface/public/shared/ui-sidepanel-windows.js +1 -1
- package/neural-interface/scripts/build-mascot-assets.mjs +30 -0
- package/neural-interface/server.js +1784 -195
- package/npm-shrinkwrap.json +5 -17
- package/package.json +5 -6
- package/postinstall.js +38 -39
- package/setup.js +33 -31
- package/skills/synabun/modules/changelog.md +14 -0
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
{
|
|
2
|
+
"quick": {
|
|
3
|
+
"source": "gifs/quick.gif",
|
|
4
|
+
"duration": 1840,
|
|
5
|
+
"once": false,
|
|
6
|
+
"width": 480,
|
|
7
|
+
"height": 160,
|
|
8
|
+
"frames": 8,
|
|
9
|
+
"bytes": 10215
|
|
10
|
+
},
|
|
11
|
+
"code": {
|
|
12
|
+
"source": "gifs/code.gif",
|
|
13
|
+
"duration": 1840,
|
|
14
|
+
"once": false,
|
|
15
|
+
"width": 480,
|
|
16
|
+
"height": 160,
|
|
17
|
+
"frames": 8,
|
|
18
|
+
"bytes": 10604
|
|
19
|
+
},
|
|
20
|
+
"complex": {
|
|
21
|
+
"source": "gifs/complex.gif",
|
|
22
|
+
"duration": 1760,
|
|
23
|
+
"once": false,
|
|
24
|
+
"width": 480,
|
|
25
|
+
"height": 160,
|
|
26
|
+
"frames": 8,
|
|
27
|
+
"bytes": 10262
|
|
28
|
+
},
|
|
29
|
+
"review": {
|
|
30
|
+
"source": "gifs/review.gif",
|
|
31
|
+
"duration": 1840,
|
|
32
|
+
"once": false,
|
|
33
|
+
"width": 480,
|
|
34
|
+
"height": 160,
|
|
35
|
+
"frames": 8,
|
|
36
|
+
"bytes": 12833
|
|
37
|
+
},
|
|
38
|
+
"research": {
|
|
39
|
+
"source": "gifs/research.gif",
|
|
40
|
+
"duration": 1840,
|
|
41
|
+
"once": false,
|
|
42
|
+
"width": 480,
|
|
43
|
+
"height": 160,
|
|
44
|
+
"frames": 8,
|
|
45
|
+
"bytes": 10893
|
|
46
|
+
},
|
|
47
|
+
"browser": {
|
|
48
|
+
"source": "gifs/browser.gif",
|
|
49
|
+
"duration": 1840,
|
|
50
|
+
"once": false,
|
|
51
|
+
"width": 480,
|
|
52
|
+
"height": 160,
|
|
53
|
+
"frames": 8,
|
|
54
|
+
"bytes": 11099
|
|
55
|
+
},
|
|
56
|
+
"computer": {
|
|
57
|
+
"source": "gifs/computer.gif",
|
|
58
|
+
"duration": 1840,
|
|
59
|
+
"once": false,
|
|
60
|
+
"width": 480,
|
|
61
|
+
"height": 160,
|
|
62
|
+
"frames": 8,
|
|
63
|
+
"bytes": 11587
|
|
64
|
+
},
|
|
65
|
+
"automation": {
|
|
66
|
+
"source": "gifs/automation.gif",
|
|
67
|
+
"duration": 1840,
|
|
68
|
+
"once": false,
|
|
69
|
+
"width": 480,
|
|
70
|
+
"height": 160,
|
|
71
|
+
"frames": 8,
|
|
72
|
+
"bytes": 13028
|
|
73
|
+
},
|
|
74
|
+
"design": {
|
|
75
|
+
"source": "gifs/design.gif",
|
|
76
|
+
"duration": 1840,
|
|
77
|
+
"once": false,
|
|
78
|
+
"width": 480,
|
|
79
|
+
"height": 160,
|
|
80
|
+
"frames": 8,
|
|
81
|
+
"bytes": 15431
|
|
82
|
+
},
|
|
83
|
+
"image_gen": {
|
|
84
|
+
"source": "gifs/image_gen.gif",
|
|
85
|
+
"duration": 1840,
|
|
86
|
+
"once": false,
|
|
87
|
+
"width": 480,
|
|
88
|
+
"height": 160,
|
|
89
|
+
"frames": 8,
|
|
90
|
+
"bytes": 9147
|
|
91
|
+
},
|
|
92
|
+
"video_gen": {
|
|
93
|
+
"source": "gifs/video_gen.gif",
|
|
94
|
+
"duration": 1840,
|
|
95
|
+
"once": false,
|
|
96
|
+
"width": 480,
|
|
97
|
+
"height": 160,
|
|
98
|
+
"frames": 8,
|
|
99
|
+
"bytes": 13219
|
|
100
|
+
},
|
|
101
|
+
"generic": {
|
|
102
|
+
"source": "gifs/generic.gif",
|
|
103
|
+
"duration": 1840,
|
|
104
|
+
"once": false,
|
|
105
|
+
"width": 480,
|
|
106
|
+
"height": 160,
|
|
107
|
+
"frames": 8,
|
|
108
|
+
"bytes": 8307
|
|
109
|
+
},
|
|
110
|
+
"edit": {
|
|
111
|
+
"source": "gifs/edit.gif",
|
|
112
|
+
"duration": 1840,
|
|
113
|
+
"once": false,
|
|
114
|
+
"width": 480,
|
|
115
|
+
"height": 160,
|
|
116
|
+
"frames": 8,
|
|
117
|
+
"bytes": 15431
|
|
118
|
+
},
|
|
119
|
+
"shell": {
|
|
120
|
+
"source": "gifs/shell.gif",
|
|
121
|
+
"duration": 1840,
|
|
122
|
+
"once": false,
|
|
123
|
+
"width": 480,
|
|
124
|
+
"height": 160,
|
|
125
|
+
"frames": 8,
|
|
126
|
+
"bytes": 10604
|
|
127
|
+
},
|
|
128
|
+
"read": {
|
|
129
|
+
"source": "gifs/read.gif",
|
|
130
|
+
"duration": 1840,
|
|
131
|
+
"once": false,
|
|
132
|
+
"width": 480,
|
|
133
|
+
"height": 160,
|
|
134
|
+
"frames": 8,
|
|
135
|
+
"bytes": 15835
|
|
136
|
+
},
|
|
137
|
+
"search": {
|
|
138
|
+
"source": "gifs/search.gif",
|
|
139
|
+
"duration": 1840,
|
|
140
|
+
"once": false,
|
|
141
|
+
"width": 480,
|
|
142
|
+
"height": 160,
|
|
143
|
+
"frames": 8,
|
|
144
|
+
"bytes": 10893
|
|
145
|
+
},
|
|
146
|
+
"web": {
|
|
147
|
+
"source": "gifs/web.gif",
|
|
148
|
+
"duration": 1840,
|
|
149
|
+
"once": false,
|
|
150
|
+
"width": 480,
|
|
151
|
+
"height": 160,
|
|
152
|
+
"frames": 8,
|
|
153
|
+
"bytes": 11099
|
|
154
|
+
},
|
|
155
|
+
"memory": {
|
|
156
|
+
"source": "gifs/memory.gif",
|
|
157
|
+
"duration": 1840,
|
|
158
|
+
"once": false,
|
|
159
|
+
"width": 480,
|
|
160
|
+
"height": 160,
|
|
161
|
+
"frames": 8,
|
|
162
|
+
"bytes": 9068
|
|
163
|
+
},
|
|
164
|
+
"thinking": {
|
|
165
|
+
"source": "gifs/thinking.gif",
|
|
166
|
+
"duration": 1840,
|
|
167
|
+
"once": false,
|
|
168
|
+
"width": 480,
|
|
169
|
+
"height": 160,
|
|
170
|
+
"frames": 8,
|
|
171
|
+
"bytes": 12777
|
|
172
|
+
}
|
|
173
|
+
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1437,6 +1437,7 @@
|
|
|
1437
1437
|
</script>
|
|
1438
1438
|
|
|
1439
1439
|
<script type="module">
|
|
1440
|
+
import { waitForServerBack } from './shared/server-back.js';
|
|
1440
1441
|
|
|
1441
1442
|
// The rules step is the installer of Settings → AI connections: the same client calls and the same reading
|
|
1442
1443
|
// of the status (see STEP 6). Both modules are import-free, so the wizard still loads nothing of the app.
|
|
@@ -2392,7 +2393,19 @@ document.getElementById('buildBtn').addEventListener('click', async () => {
|
|
|
2392
2393
|
$out.textContent += payload.output || '';
|
|
2393
2394
|
}
|
|
2394
2395
|
} else if (event === 'complete') {
|
|
2395
|
-
if (payload.ok) {
|
|
2396
|
+
if (payload.ok && payload.restart) {
|
|
2397
|
+
// The server built a new MCP server and restarts itself to load it (the same restart as Apps → Restart
|
|
2398
|
+
// Server): the next step waits until a new server answers, else its requests would fail meanwhile.
|
|
2399
|
+
ibSetStatus('build', 'checking', 'Restarting SynaBun to load the new build...');
|
|
2400
|
+
$btn.innerHTML = '<div class="spinner"></div> Restarting...';
|
|
2401
|
+
waitForServerBack(payload.bootId).then((back) => {
|
|
2402
|
+
wizardState.buildReady = true;
|
|
2403
|
+
ibSetStatus('build', 'ok', back ? 'Build successful' : 'Build successful (the server did not come back yet: reload this page if the next step fails)');
|
|
2404
|
+
$btn.textContent = 'Done';
|
|
2405
|
+
$btn.classList.add('success');
|
|
2406
|
+
resizeViewport(currentStep);
|
|
2407
|
+
});
|
|
2408
|
+
} else if (payload.ok) {
|
|
2396
2409
|
wizardState.buildReady = true;
|
|
2397
2410
|
$btn.textContent = 'Done';
|
|
2398
2411
|
$btn.classList.add('success');
|
|
@@ -61,8 +61,11 @@ export const CODEX_FALLBACK_MODELS = [
|
|
|
61
61
|
export const CODEX_DEFAULT_MODEL_IDS = CODEX_FALLBACK_MODELS.map(m => m.id);
|
|
62
62
|
|
|
63
63
|
export const EFFORT_LEVELS_BY_PROFILE = {
|
|
64
|
+
// `off` is Auto: no --effort, the model's own default. Off (thinking disabled) is the id `none`
|
|
65
|
+
// (lib/effort-levels.js EFFORT_OFF), which every Claude Code runner starts with thinking disabled.
|
|
64
66
|
'claude-code': [
|
|
65
|
-
{ id: 'off', label: '
|
|
67
|
+
{ id: 'off', label: 'Auto', desc: 'Model default' },
|
|
68
|
+
{ id: 'none', label: 'Off', desc: 'No thinking' },
|
|
66
69
|
{ id: 'low', label: 'Low', desc: 'Minimal' },
|
|
67
70
|
{ id: 'medium', label: 'Med', desc: 'Balanced', tier: 'default' },
|
|
68
71
|
{ id: 'high', label: 'High', desc: 'Deep' },
|
|
@@ -145,7 +148,7 @@ export function modelEffortIds(model) {
|
|
|
145
148
|
return source ? sortEfforts(source) : null;
|
|
146
149
|
}
|
|
147
150
|
|
|
148
|
-
/** `effort` clamped into `ids`: kept, else the highest id below it, else the lowest. null for auto
|
|
151
|
+
/** `effort` clamped into `ids`: kept, else the highest id below it, else the lowest (never `none`). null for auto. */
|
|
149
152
|
export function clampEffortId(effort, ids) {
|
|
150
153
|
const want = String(effort ?? '').trim();
|
|
151
154
|
if (!want || AUTO_EFFORTS.has(want.toLowerCase()) || !ids?.length) return null;
|
|
@@ -153,7 +156,9 @@ export function clampEffortId(effort, ids) {
|
|
|
153
156
|
if (same) return same;
|
|
154
157
|
const rank = effortRank(want);
|
|
155
158
|
if (rank < 0) return null;
|
|
156
|
-
|
|
159
|
+
// `none` (thinking off) is a choice, never where a correction lands (lib/effort-levels.js clampEffort).
|
|
160
|
+
const ranked = ids.filter(id => effortRank(id) >= 0 && id.toLowerCase() !== 'none');
|
|
161
|
+
if (!ranked.length) return ids.find(id => id.toLowerCase() !== 'none') || null;
|
|
157
162
|
const below = ranked.filter(id => effortRank(id) < rank);
|
|
158
163
|
return below.length ? below[below.length - 1] : (ranked[0] || ids[0]);
|
|
159
164
|
}
|
|
@@ -679,11 +684,29 @@ export function getEffortLevelsForProfile(profileId) {
|
|
|
679
684
|
return EFFORT_LEVELS_BY_PROFILE[profileId] || [];
|
|
680
685
|
}
|
|
681
686
|
|
|
687
|
+
// Off: thinking disabled. One id across providers (lib/effort-levels.js EFFORT_OFF).
|
|
688
|
+
export const EFFORT_OFF = 'none';
|
|
689
|
+
const EFFORT_OFF_CHOICE = Object.freeze({ id: EFFORT_OFF, label: 'Off', desc: 'No thinking' });
|
|
690
|
+
|
|
691
|
+
/**
|
|
692
|
+
* Can this model run with thinking off? Mirrors lib/effort-levels.js supportsEffortOff: Claude Code
|
|
693
|
+
* whenever the model thinks at all (Haiku lists no level: no; a model nothing is known about: yes,
|
|
694
|
+
* the SDK and `--thinking disabled` work for any), Codex and OpenCode only when the model lists
|
|
695
|
+
* `none`, Antigravity never.
|
|
696
|
+
*/
|
|
697
|
+
export function modelSupportsEffortOff(profileId, model) {
|
|
698
|
+
const ids = modelEffortIds(model);
|
|
699
|
+
if (profileId === 'claude-code') return ids ? ids.some(id => id.toLowerCase() !== EFFORT_OFF) : true;
|
|
700
|
+
if (profileId === 'antigravity') return false;
|
|
701
|
+
return !!ids?.some(id => id.toLowerCase() === EFFORT_OFF);
|
|
702
|
+
}
|
|
703
|
+
|
|
682
704
|
// Effort levels a specific model actually supports, led by `off` (the model's
|
|
683
|
-
// default
|
|
684
|
-
//
|
|
685
|
-
//
|
|
686
|
-
//
|
|
705
|
+
// default, "Auto" for Claude Code), then Off (`none`, thinking disabled) where
|
|
706
|
+
// the model can run it, then its levels. Every provider advertises them per
|
|
707
|
+
// model (see modelEffortIds), and some models support none at all — Haiku has
|
|
708
|
+
// no thinking, so passing --effort to it is meaningless. The provider list is
|
|
709
|
+
// only the fallback for a model nothing is known about.
|
|
687
710
|
export function getEffortLevelsForModel(profileId, model) {
|
|
688
711
|
const profileLevels = getEffortLevelsForProfile(profileId);
|
|
689
712
|
const advertised = modelEffortIds(model);
|
|
@@ -691,7 +714,9 @@ export function getEffortLevelsForModel(profileId, model) {
|
|
|
691
714
|
const off = profileLevels.find(e => e.id === 'off') || { id: 'off', label: 'Default', desc: 'Model default' };
|
|
692
715
|
if (!advertised.length) return [off];
|
|
693
716
|
const byId = new Map(profileLevels.map(e => [e.id, e]));
|
|
694
|
-
|
|
717
|
+
const levels = advertised.filter(id => id.toLowerCase() !== EFFORT_OFF)
|
|
718
|
+
.map(id => byId.get(id) || { id, label: effortLabel(id), desc: '' });
|
|
719
|
+
return [off, ...(modelSupportsEffortOff(profileId, model) ? [EFFORT_OFF_CHOICE] : []), ...levels];
|
|
695
720
|
}
|
|
696
721
|
|
|
697
722
|
// Does this model support any thinking at all? Used to disable the Think toggle.
|
|
@@ -702,13 +727,29 @@ export function modelSupportsEffort(model) {
|
|
|
702
727
|
return model.supportsEffort !== false;
|
|
703
728
|
}
|
|
704
729
|
|
|
730
|
+
/**
|
|
731
|
+
* A profile's effort list for a form that knows no model, keeping a saved Off (`none`) the list
|
|
732
|
+
* does not show (Codex: only some models list it), so redrawing the form never drops it to Auto.
|
|
733
|
+
*/
|
|
734
|
+
export function getEffortLevelsKeeping(profileId, selected) {
|
|
735
|
+
const levels = getEffortLevelsForProfile(profileId);
|
|
736
|
+
const value = String(selected || '').trim().toLowerCase();
|
|
737
|
+
if (value !== EFFORT_OFF || levels.some(e => e.id === EFFORT_OFF) || !normalizeEffortForProfile(profileId, value)) return levels;
|
|
738
|
+
const [first, ...rest] = levels;
|
|
739
|
+
return first?.id === 'off' ? [first, EFFORT_OFF_CHOICE, ...rest] : [EFFORT_OFF_CHOICE, ...levels];
|
|
740
|
+
}
|
|
741
|
+
|
|
705
742
|
export function profileSupportsEffort(profileId) {
|
|
706
743
|
return getEffortLevelsForProfile(profileId).some(e => e.id !== 'off');
|
|
707
744
|
}
|
|
708
745
|
|
|
746
|
+
// What a launch sends: `off` (Auto) is nothing; Off (`none`) is kept for every CLI that can switch
|
|
747
|
+
// thinking off (Codex takes `model_reasoning_effort=none` whatever the fallback list says), so a
|
|
748
|
+
// saved Off never turns into the model's default or a level on the way to the server.
|
|
709
749
|
export function normalizeEffortForProfile(profileId, effort) {
|
|
710
750
|
const value = String(effort || '').trim();
|
|
711
751
|
if (!value || value === 'off') return null;
|
|
752
|
+
if (value.toLowerCase() === EFFORT_OFF) return profileId === 'claude-code' || profileId === 'codex' ? EFFORT_OFF : null;
|
|
712
753
|
const levels = getEffortLevelsForProfile(profileId);
|
|
713
754
|
return levels.some(e => e.id === value) ? value : null;
|
|
714
755
|
}
|
|
@@ -51,7 +51,7 @@ import { setCliInstallTranslator } from '../cli-install-view.js';
|
|
|
51
51
|
import { workerRestart } from '../worker-restart.js';
|
|
52
52
|
import { endWorkerRunOnClose, forgetWorkerEnd, trackWorkerEnd } from '../ui-worker-end.js';
|
|
53
53
|
import { nativeLoopWindowId } from '../ui-native-window-id.js';
|
|
54
|
-
import { runAwaitsAnswer } from '../sidepanel-session-status.js';
|
|
54
|
+
import { runAwaitsAnswer, runTurnLive } from '../sidepanel-session-status.js';
|
|
55
55
|
import { wireFileLinks } from '../ui-file-links.js';
|
|
56
56
|
import { notify, NOTIF_TYPE } from '../ui-notifications.js';
|
|
57
57
|
import { forgetGreeting, mountGreeting } from '../greeting/greeting-card.js';
|
|
@@ -2482,7 +2482,7 @@ export async function attachAntigravityAutomation(run, { focus = !!run?.focus, i
|
|
|
2482
2482
|
tab.automationActive = !!restart?.active || running;
|
|
2483
2483
|
tab.automationOwnerId = nativeLoopWindowId;
|
|
2484
2484
|
tab.automationAwaits = runAwaitsAnswer(run);
|
|
2485
|
-
tab.running =
|
|
2485
|
+
tab.running = runTurnLive(run);
|
|
2486
2486
|
const rt = runtimeOf(tab);
|
|
2487
2487
|
syncWorkerQuestions(tab, run, {
|
|
2488
2488
|
open: (id, pending) => rt.elicitations.set(id, { ...pending.input, ...(pending.questions?.length ? { message: pending.questions.map((q) => q.header || q.question).join(' · ') } : {}), requestId: id, state: 'open', errors: {} }),
|
|
@@ -1460,10 +1460,10 @@ export async function fetchScheduleTimers() {
|
|
|
1460
1460
|
|
|
1461
1461
|
// ── Quick Timers ──
|
|
1462
1462
|
|
|
1463
|
-
export async function createQuickTimer(templateId, minutes, { profile, model, contextMode, effort, tools, usesBrowser, codexAccountId } = {}) {
|
|
1463
|
+
export async function createQuickTimer(templateId, minutes, { profile, model, contextMode, effort, tools, usesBrowser, codexAccountId, moreloginEnvId, moreloginEnvName } = {}) {
|
|
1464
1464
|
return jsonFetch('/api/quick-timer', {
|
|
1465
1465
|
method: 'POST',
|
|
1466
|
-
...jsonBody({ templateId, minutes, profile, model, contextMode, effort, tools, usesBrowser, codexAccountId }),
|
|
1466
|
+
...jsonBody({ templateId, minutes, profile, model, contextMode, effort, tools, usesBrowser, codexAccountId, moreloginEnvId, moreloginEnvName }),
|
|
1467
1467
|
});
|
|
1468
1468
|
}
|
|
1469
1469
|
|
|
@@ -1478,13 +1478,13 @@ export async function cancelQuickTimer(id) {
|
|
|
1478
1478
|
}
|
|
1479
1479
|
|
|
1480
1480
|
export async function triggerQuickTimerNow(templateId, {
|
|
1481
|
-
profile, model, contextMode, effort, tools, usesBrowser, codexAccountId,
|
|
1481
|
+
profile, model, contextMode, effort, tools, usesBrowser, codexAccountId, moreloginEnvId, moreloginEnvName,
|
|
1482
1482
|
sidepanelWindowId, sidepanelClaimToken,
|
|
1483
1483
|
} = {}) {
|
|
1484
1484
|
return jsonFetch('/api/quick-timer/now', {
|
|
1485
1485
|
method: 'POST',
|
|
1486
1486
|
...jsonBody({
|
|
1487
|
-
templateId, profile, model, contextMode, effort, tools, usesBrowser, codexAccountId,
|
|
1487
|
+
templateId, profile, model, contextMode, effort, tools, usesBrowser, codexAccountId, moreloginEnvId, moreloginEnvName,
|
|
1488
1488
|
sidepanelWindowId, sidepanelClaimToken,
|
|
1489
1489
|
}),
|
|
1490
1490
|
});
|
|
@@ -17,9 +17,9 @@ export const ASK_STYLE_ID = 'asst-ask-styles';
|
|
|
17
17
|
|
|
18
18
|
export const ASK_CSS = `
|
|
19
19
|
.asst-ask {
|
|
20
|
-
--ask-face-col:
|
|
21
|
-
--ask-face-w:
|
|
22
|
-
--ask-face-h:
|
|
20
|
+
--ask-face-col: 124px;
|
|
21
|
+
--ask-face-w: 120px;
|
|
22
|
+
--ask-face-h: 60px;
|
|
23
23
|
--ask-ring: var(--asst-line);
|
|
24
24
|
}
|
|
25
25
|
.asst-ask-face { display: flex; flex: 0 0 var(--ask-face-col); justify-content: center; align-self: flex-start; min-width: 0; padding-top: 2px; color: var(--asst-text); line-height: 0; }
|
|
@@ -178,9 +178,9 @@ export const ASK_CSS = `
|
|
|
178
178
|
.asst-followups.asst-ask[data-style="question"] { --ask-ring: color-mix(in srgb, var(--asst-info) 30%, transparent); }
|
|
179
179
|
.asst-ask-receipt { display: none; }
|
|
180
180
|
.asst-followups.asst-ask:not([data-state="open"]):not([data-phase="sending"]) {
|
|
181
|
-
--ask-face-col:
|
|
182
|
-
--ask-face-w:
|
|
183
|
-
--ask-face-h:
|
|
181
|
+
--ask-face-col: 48px;
|
|
182
|
+
--ask-face-w: 48px;
|
|
183
|
+
--ask-face-h: 24px;
|
|
184
184
|
flex-direction: row;
|
|
185
185
|
align-items: center;
|
|
186
186
|
gap: 8px;
|
|
@@ -243,12 +243,12 @@ export const ASK_CSS = `
|
|
|
243
243
|
|
|
244
244
|
/* Narrow panels: a smaller mascot in a narrower column; at 320px the keys line goes. */
|
|
245
245
|
@container asst (max-width: 400px) {
|
|
246
|
-
.asst-ask { --ask-face-col:
|
|
246
|
+
.asst-ask { --ask-face-col: 100px; --ask-face-w: 96px; --ask-face-h: 48px; }
|
|
247
247
|
.asst-followups.asst-ask, .asst-control.asst-ask { padding: 10px; }
|
|
248
248
|
.asst-ask .asst-ask-option { min-height: 40px; }
|
|
249
249
|
}
|
|
250
250
|
@container asst (max-width: 320px) {
|
|
251
|
-
.asst-ask { --ask-face-col:
|
|
251
|
+
.asst-ask { --ask-face-col: 84px; --ask-face-w: 80px; --ask-face-h: 40px; }
|
|
252
252
|
.asst-ask .asst-ask-option { gap: 8px; padding: 6px 8px; }
|
|
253
253
|
.asst-ask:focus-within .asst-ask-keys { display: none; }
|
|
254
254
|
}
|
|
@@ -34,7 +34,7 @@ import { injectAskStyles } from './asst-ask-styles.js';
|
|
|
34
34
|
export { injectAskStyles };
|
|
35
35
|
|
|
36
36
|
/** The presenter's SVG, before the sheet's container queries shrink it. */
|
|
37
|
-
export const PRESENTER_SIZE = Object.freeze({ width:
|
|
37
|
+
export const PRESENTER_SIZE = Object.freeze({ width: 120, height: 60 });
|
|
38
38
|
const HOP_MS = 320; // the hop (300 ms) and a frame to land on
|
|
39
39
|
const WATCH_IDLE_MS = 1500; // a field nobody typed in for this long: back to the card's own pose
|
|
40
40
|
const WATCH_EVERY_MS = 120; // the caret is looked at no more often than this
|