@xopcai/xopc 0.0.145 → 0.0.146
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/browser-ext/manifest.json +1 -1
- package/dist/extensions/telegram/xopc.extension.json +1 -1
- package/dist/gateway/static/root/assets/{agent-avatar-dicebear-BEUxdhZx.js → agent-avatar-dicebear-gBVDdd-Q.js} +1 -1
- package/dist/gateway/static/root/assets/{agents-1bpT0xRO.js → agents-BLp5ItD3.js} +1 -1
- package/dist/gateway/static/root/assets/{app-management-settings-panel-CRHSZJWi.js → app-management-settings-panel-Dd5dmRWY.js} +1 -1
- package/dist/gateway/static/root/assets/{appearance-settings-BunADYJb.js → appearance-settings-D89pY61C.js} +1 -1
- package/dist/gateway/static/root/assets/{apps-page-Cc4JgVUQ.js → apps-page-CgOy905b.js} +1 -1
- package/dist/gateway/static/root/assets/{archive-plugin-B6vTkH2A.js → archive-plugin-BZj1tk3p.js} +1 -1
- package/dist/gateway/static/root/assets/{attachment-load-BjZXzaNv.js → attachment-load-18eo6l3m.js} +1 -1
- package/dist/gateway/static/root/assets/{automation-suggestion-card-ZDA-Stg1.js → automation-suggestion-card-F1g3MckR.js} +1 -1
- package/dist/gateway/static/root/assets/{automations-page-mb0fdVpq.js → automations-page-Bdj0A_IC.js} +1 -1
- package/dist/gateway/static/root/assets/{binary-plugins-DYZfLvPz.js → binary-plugins-jOYMquLP.js} +1 -1
- package/dist/gateway/static/root/assets/{block-editor-C3MUlYC9.js → block-editor-CD77nXJU.js} +1 -1
- package/dist/gateway/static/root/assets/{browser-settings-page-Bb0xhaMN.js → browser-settings-page-D73ClpC2.js} +1 -1
- package/dist/gateway/static/root/assets/{capability-presets-api-BV76yN9a.js → capability-presets-api-DZwIrY_P.js} +1 -1
- package/dist/gateway/static/root/assets/{capability-presets-settings-panel-CUcGKZqC.js → capability-presets-settings-panel-Dw2uinRX.js} +1 -1
- package/dist/gateway/static/root/assets/{channels-settings-BlSDMGdy.js → channels-settings-g9TZdnQh.js} +1 -1
- package/dist/gateway/static/root/assets/{connector-logo-BVFNT2zW.js → connector-logo-g9f07qO6.js} +1 -1
- package/dist/gateway/static/root/assets/{connectors-page-CMgAFGvb.js → connectors-page-CJLsXBB0.js} +1 -1
- package/dist/gateway/static/root/assets/{desktop-pet-_jUmoXd3.js → desktop-pet-DwPVWi3D.js} +1 -1
- package/dist/gateway/static/root/assets/{desktop-pet-settings-DwGOy4AQ.js → desktop-pet-settings-Dm1N7RRX.js} +1 -1
- package/dist/gateway/static/root/assets/{directory-picker-path-field-akvF0F-u.js → directory-picker-path-field-hZghTKie.js} +1 -1
- package/dist/gateway/static/root/assets/{dreaming-settings-BLetQiYY.js → dreaming-settings-B_LcHWcv.js} +1 -1
- package/dist/gateway/static/root/assets/{extension-debug-page-Cof2ncxE.js → extension-debug-page-BqguEetG.js} +1 -1
- package/dist/gateway/static/root/assets/{extension-page-CwWktRNz.js → extension-page-otKJCjKP.js} +1 -1
- package/dist/gateway/static/root/assets/{extension-settings-page-CuggWOIl.js → extension-settings-page-ifHzMfT-.js} +1 -1
- package/dist/gateway/static/root/assets/{gateway-config-api-B7sxIbza.js → gateway-config-api-BQX5GGl2.js} +1 -1
- package/dist/gateway/static/root/assets/{gateway-settings-DIv0eKMf.js → gateway-settings-BfXo0j0O.js} +1 -1
- package/dist/gateway/static/root/assets/{goal-create-dialog-C4Kw0mfS.js → goal-create-dialog-C_Qw_QgW.js} +1 -1
- package/dist/gateway/static/root/assets/{goal-detail-page-BMmzYpZL.js → goal-detail-page-BnUrr9_O.js} +1 -1
- package/dist/gateway/static/root/assets/{goals-config-api-B0jm5JaA.js → goals-config-api-DQJ5mBXB.js} +1 -1
- package/dist/gateway/static/root/assets/{goals-page-CGeT77PC.js → goals-page-BgDCoiG0.js} +1 -1
- package/dist/gateway/static/root/assets/{goals-settings-N5_iL7es.js → goals-settings-CQX8zWKe.js} +1 -1
- package/dist/gateway/static/root/assets/{heartbeat-settings-XzH3lbRR.js → heartbeat-settings-yy_Pt_24.js} +1 -1
- package/dist/gateway/static/root/assets/{index-I-ZCenVw.js → index-BJGusbyV.js} +6 -6
- package/dist/gateway/static/root/assets/keyboard-shortcuts-settings-D1rVyDdf.js +1 -0
- package/dist/gateway/static/root/assets/{logs-page-BSh1t8cD.js → logs-page-C35Xa_mx.js} +1 -1
- package/dist/gateway/static/root/assets/{markdown-split-5rJx5flj.js → markdown-split-BYasrWPk.js} +1 -1
- package/dist/gateway/static/root/assets/{media-plugins-DYXccwAd.js → media-plugins--cJpmHc2.js} +1 -1
- package/dist/gateway/static/root/assets/{models-hub-panel-BNpTenAI.js → models-hub-panel-CqehWxbT.js} +1 -1
- package/dist/gateway/static/root/assets/{notes-page-BgLyndCO.js → notes-page-Digm3EgB.js} +1 -1
- package/dist/gateway/static/root/assets/{notes-workbench-teklkhcE.js → notes-workbench-CCuL7qlg.js} +2 -2
- package/dist/gateway/static/root/assets/{page-tabs-6Al9_sGz.js → page-tabs-CGVMJEW0.js} +1 -1
- package/dist/gateway/static/root/assets/{preview-open-alternatives-Cm3G72Hv.js → preview-open-alternatives-BBAkU4xW.js} +1 -1
- package/dist/gateway/static/root/assets/{project-detail-page-CCB_dKoh.js → project-detail-page-DTWPEtSE.js} +1 -1
- package/dist/gateway/static/root/assets/{projects-page-VOAFAHYj.js → projects-page-NnJpsIAD.js} +1 -1
- package/dist/gateway/static/root/assets/{remote-access-hub-USYu64Ru.js → remote-access-hub-wbk1GCvg.js} +1 -1
- package/dist/gateway/static/root/assets/{save-bar-controls-BYtfzu_F.js → save-bar-controls-D4B469dh.js} +1 -1
- package/dist/gateway/static/root/assets/{schedule-field-CvIRc6yK.js → schedule-field-Vy4OjH0i.js} +1 -1
- package/dist/gateway/static/root/assets/{schema-form-CQuKx0n7.js → schema-form-CPYzgmby.js} +1 -1
- package/dist/gateway/static/root/assets/{sessions-page-oGC8O5h_.js → sessions-page-Do0ZNuqM.js} +1 -1
- package/dist/gateway/static/root/assets/settings-advanced-gate-HeYP_JCr.js +1 -0
- package/dist/gateway/static/root/assets/{settings-collapsible-section-CF3HHM-t.js → settings-collapsible-section-BB5y9vwh.js} +1 -1
- package/dist/gateway/static/root/assets/{settings-form-section-CwWjoRN6.js → settings-form-section-BfzJkVHd.js} +1 -1
- package/dist/gateway/static/root/assets/{settings-loading-skeleton-aUFmJa13.js → settings-loading-skeleton-DM8iH25s.js} +1 -1
- package/dist/gateway/static/root/assets/{settings-page-B2UUU9TF.js → settings-page-h5Alz_fA.js} +1 -1
- package/dist/gateway/static/root/assets/{settings-page-layout-DqpbTWqI.js → settings-page-layout-DjbdpK2j.js} +1 -1
- package/dist/gateway/static/root/assets/{setup-status-panel-Ck9keROI.js → setup-status-panel-bjbH7U6x.js} +1 -1
- package/dist/gateway/static/root/assets/{share-preview-page-BOhlPsS1.js → share-preview-page-DxozU_zz.js} +1 -1
- package/dist/gateway/static/root/assets/{shares-settings-BYLsCuqj.js → shares-settings-Cl_bE9gQ.js} +1 -1
- package/dist/gateway/static/root/assets/{skill-reload-api-BNHUyVML.js → skill-reload-api-DcqbKYgB.js} +1 -1
- package/dist/gateway/static/root/assets/{skills-page-CpXbQH4n.js → skills-page-D_Xkjxtr.js} +1 -1
- package/dist/gateway/static/root/assets/{system-settings-panel-CWxSvuwD.js → system-settings-panel-DNi9Ofuj.js} +1 -1
- package/dist/gateway/static/root/assets/{typed-models-lib-qROAvqTw.js → typed-models-lib-B6Nw3iFM.js} +1 -1
- package/dist/gateway/static/root/assets/{user-context-page-DbNEK4Yp.js → user-context-page-BtU2sQoK.js} +1 -1
- package/dist/gateway/static/root/assets/{user-profile-fields-editor-CWxc0ghP.js → user-profile-fields-editor-DVBShNYF.js} +1 -1
- package/dist/gateway/static/root/assets/{user-profile-settings-panel-DW-Up6vt.js → user-profile-settings-panel-CC0sf3vS.js} +1 -1
- package/dist/gateway/static/root/assets/{utils-D53uRXVr.js → utils-DnsuE4YP.js} +1 -1
- package/dist/gateway/static/root/assets/{voice-api-key-field-Cs7MOrg0.js → voice-api-key-field-BIcSMf0O.js} +1 -1
- package/dist/gateway/static/root/assets/{work-item-detail-page-D1ziG1Pp.js → work-item-detail-page-ChCKymS7.js} +1 -1
- package/dist/gateway/static/root/assets/{workflow-run-setup-panel-D_x9ELJp.js → workflow-run-setup-panel-DXc_pbVG.js} +1 -1
- package/dist/gateway/static/root/assets/{workflows-page-DHGV_n6i.js → workflows-page-CheHRVox.js} +1 -1
- package/dist/gateway/static/root/index.html +1 -1
- package/dist/package.js +1 -1
- package/dist/src/agent/memory/dreaming/config.js +1 -1
- package/dist/src/agent-runtime/index.js +1 -1
- package/dist/src/agent-runtime/runtime-profile.js +1 -1
- package/dist/src/config/agent-profile.js +1 -1
- package/dist/src/gateway/agents-admin.js +1 -1
- package/dist/src/gateway/heartbeat/service.js +1 -1
- package/dist/src/heartbeat/index.js +1 -1
- package/package.json +2 -1
- package/dist/gateway/static/root/assets/keyboard-shortcuts-settings-x_v0nrIi.js +0 -1
- package/dist/gateway/static/root/assets/settings-advanced-gate-D4rP66R1.js +0 -1
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png?v=20260713-1" />
|
|
12
12
|
<link rel="manifest" href="/site.webmanifest?v=20260713-1" />
|
|
13
13
|
<title>xopc</title>
|
|
14
|
-
<script type="module" crossorigin src="/assets/index-
|
|
14
|
+
<script type="module" crossorigin src="/assets/index-BJGusbyV.js"></script>
|
|
15
15
|
<link rel="modulepreload" crossorigin href="/assets/rolldown-runtime-aKtaBQYM.js">
|
|
16
16
|
<link rel="modulepreload" crossorigin href="/assets/preload-helper-zJ_50EbN.js">
|
|
17
17
|
<link rel="modulepreload" crossorigin href="/assets/vendor-react-BOUWij0V.js">
|
package/dist/package.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { buildMemoryRuntime } from "../../../agent-runtime/memory-runtime.js";
|
|
2
1
|
import { init_agent_scope, resolveDefaultAgentId } from "../../agent-scope.js";
|
|
3
2
|
import { resolveEffectiveAgentManifestForAgent } from "../../../config/agent-profile.js";
|
|
4
3
|
import { DEFAULT_DEEP_CRON, DEFAULT_LIGHT_CRON, DEFAULT_REM_CRON } from "./constants.js";
|
|
4
|
+
import { buildMemoryRuntime } from "../../../agent-runtime/memory-runtime.js";
|
|
5
5
|
//#region src/agent/memory/dreaming/config.ts
|
|
6
6
|
init_agent_scope();
|
|
7
7
|
function clampScore(value, fallback) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { buildMemoryRuntime } from "./memory-runtime.js";
|
|
1
2
|
import { checkBoundary } from "./boundary-guard.js";
|
|
2
3
|
import { resolveModelRole } from "./model-router.js";
|
|
3
4
|
import { buildRuntimeToolRegistry } from "./tool-registry.js";
|
|
4
|
-
import { buildMemoryRuntime } from "./memory-runtime.js";
|
|
5
5
|
import { resolveWorkflow, validateWorkflowForRuntime } from "./workflow-runtime.js";
|
|
6
6
|
import { buildAgentRuntimeProfile } from "./runtime-profile.js";
|
|
7
7
|
import { appendAgentRunEvent, createAgentRunTrace, finishAgentRunTrace, hashEffectiveManifest } from "./run-trace.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { buildAgentManifestPromptSection } from "../agent-manifest/prompt.js";
|
|
2
2
|
import "../agent-manifest/index.js";
|
|
3
|
+
import { buildMemoryRuntime } from "./memory-runtime.js";
|
|
3
4
|
import { checkBoundary } from "./boundary-guard.js";
|
|
4
5
|
import { resolveModelRole } from "./model-router.js";
|
|
5
6
|
import { buildRuntimeToolRegistry } from "./tool-registry.js";
|
|
6
|
-
import { buildMemoryRuntime } from "./memory-runtime.js";
|
|
7
7
|
import { resolveWorkflow, validateWorkflowForRuntime } from "./workflow-runtime.js";
|
|
8
8
|
//#region src/agent-runtime/runtime-profile.ts
|
|
9
9
|
function buildAgentRuntimeProfile(params) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { init_agent_scope, normalizeAgentId, resolveAgentWorkspaceDir } from "../agent/agent-scope.js";
|
|
1
2
|
import { resolveEffectiveAgentManifest } from "../agent-manifest/resolver.js";
|
|
2
3
|
import "../agent-manifest/index.js";
|
|
3
|
-
import { init_agent_scope, normalizeAgentId, resolveAgentWorkspaceDir } from "../agent/agent-scope.js";
|
|
4
4
|
import { init_session_key, parseSessionKey } from "../routing/session-key.js";
|
|
5
5
|
import { agentExists, getDefaultAgentId, init_resolve_route } from "../routing/resolve-route.js";
|
|
6
6
|
//#region src/config/agent-profile.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { resolveEffectiveAgentManifest } from "../agent-manifest/resolver.js";
|
|
2
1
|
import { init_agent_scope, listAgentEntries, normalizeAgentId, resolveAgentDir, resolveAgentProfileDir, resolveAgentWorkspaceDir, resolveDefaultAgentId, resolveUserPath, validateAgentIdForNewAgent } from "../agent/agent-scope.js";
|
|
2
|
+
import { resolveEffectiveAgentManifest } from "../agent-manifest/resolver.js";
|
|
3
3
|
import { resolveEffectiveAgentProfile } from "../config/agent-profile.js";
|
|
4
4
|
import { WORKSPACE_FILES, init_paths, resolveUserProfilePath } from "../config/paths.js";
|
|
5
5
|
import { AGENT_PROFILE_MARKDOWN_SYSTEM_FILES, REQUIRED_AGENT_PROFILE_MARKDOWN_FILE_SET } from "../agent/context/workspace.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { createLogger } from "../../utils/logger/index.js";
|
|
2
2
|
import { init_logger } from "../../utils/logger.js";
|
|
3
3
|
import { shouldSilence, stripHeartbeatToken } from "../../heartbeat/tokens.js";
|
|
4
|
+
import { appendCronEventLines } from "../../heartbeat/event-prompt.js";
|
|
4
5
|
import { isWithinActiveHours } from "../../heartbeat/active-hours.js";
|
|
5
6
|
import { isHeartbeatContentEmpty } from "../../heartbeat/content-check.js";
|
|
6
|
-
import { appendCronEventLines } from "../../heartbeat/event-prompt.js";
|
|
7
7
|
import { createHeartbeatWake } from "../../heartbeat/wake.js";
|
|
8
8
|
import { resolveHeartbeatMdPath } from "../workspace-heartbeat-path.js";
|
|
9
9
|
import { readFile } from "fs/promises";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DEFAULT_ACK_MAX_CHARS, HEARTBEAT_OK, NO_REPLY, shouldSilence, stripHeartbeatToken } from "./tokens.js";
|
|
2
|
+
import { appendCronEventLines } from "./event-prompt.js";
|
|
2
3
|
import { isWithinActiveHours } from "./active-hours.js";
|
|
3
4
|
import { isHeartbeatContentEmpty } from "./content-check.js";
|
|
4
|
-
import { appendCronEventLines } from "./event-prompt.js";
|
|
5
5
|
import { createHeartbeatWake } from "./wake.js";
|
|
6
6
|
export { DEFAULT_ACK_MAX_CHARS, HEARTBEAT_OK, NO_REPLY, appendCronEventLines, createHeartbeatWake, isHeartbeatContentEmpty, isWithinActiveHours, shouldSilence, stripHeartbeatToken };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xopcai/xopc",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.146",
|
|
4
4
|
"description": "Local-first AI system that remembers context, coordinates AI, and sustains long-term progress.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/src/index.js",
|
|
@@ -98,6 +98,7 @@
|
|
|
98
98
|
"jsdom": "^29.1.1",
|
|
99
99
|
"markdown-it": "^14.2.0",
|
|
100
100
|
"node-edge-tts": "^1.2.10",
|
|
101
|
+
"onnxruntime-common": "1.21.0",
|
|
101
102
|
"openai": "^6.39.1",
|
|
102
103
|
"pino": "^10.3.1",
|
|
103
104
|
"pino-pretty": "^13.1.3",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{i as e}from"./rolldown-runtime-aKtaBQYM.js";import{a as t,n,t as r}from"./vendor-react-BOUWij0V.js";import{t as i}from"./cn-BQ_8x0bT.js";import{t as a}from"./messages-Cb1VMeqP.js";import{n as o}from"./locale-store-CiM-D9jA.js";import{cr as s,dr as c,fr as l,hr as u,lr as d,mr as f,pr as p,uo as m,ur as h}from"./index-I-ZCenVw.js";import{n as g,t as _}from"./settings-page-layout-DqpbTWqI.js";var v=n(),y=e(t(),1),b=r(),x=c(),S=x?`⌘`:`Ctrl`;function C(e){let t=(0,v.c)(50),{title:n,description:r,shortcut:s,otherShortcut:c,defaultShortcut:d,setShortcut:f,legacyRecordingEvent:m}=e,h=o(T),g;t[0]===h?g=t[1]:(g=a(h),t[0]=h,t[1]=g);let _=g.keyboardShortcutsSettings,[S,C]=(0,y.useState)(!1),[E,D]=(0,y.useState)(null),O,k;t[2]!==m||t[3]!==S?(O=()=>{let e={active:S};return window.dispatchEvent(new CustomEvent(u,{detail:e})),m&&window.dispatchEvent(new CustomEvent(m,{detail:e})),()=>{let e={active:!1};window.dispatchEvent(new CustomEvent(u,{detail:e})),m&&window.dispatchEvent(new CustomEvent(m,{detail:e}))}},k=[m,S],t[2]=m,t[3]=S,t[4]=O,t[5]=k):(O=t[4],k=t[5]),(0,y.useEffect)(O,k);let A;t[6]!==_.quickCaptureShortcutConflict||t[7]!==c||t[8]!==S||t[9]!==f?(A=e=>{if(!S)return;if(e.preventDefault(),e.stopPropagation(),e.key===`Escape`){C(!1);return}let t=p(e.nativeEvent);if(!t)return;let n=x?`meta`:`control`;if(new Set([`${n}+k`,`${n}+n`,`${n}+b`,`${n}+,`]).has(t)||t===c){D(_.quickCaptureShortcutConflict);return}f(t),D(null),C(!1)},t[6]=_.quickCaptureShortcutConflict,t[7]=c,t[8]=S,t[9]=f,t[10]=A):A=t[10];let j=A,M;t[11]===n?M=t[12]:(M=(0,b.jsx)(`h2`,{className:`text-sm font-semibold text-fg`,children:n}),t[11]=n,t[12]=M);let N;t[13]===r?N=t[14]:(N=(0,b.jsx)(`p`,{className:`mt-1 text-sm text-fg-muted`,children:r}),t[13]=r,t[14]=N);let P;t[15]!==M||t[16]!==N?(P=(0,b.jsxs)(`div`,{className:`min-w-0`,children:[M,N]}),t[15]=M,t[16]=N,t[17]=P):P=t[17];let F;t[18]===s?F=t[19]:(F=l(s).map(w),t[18]=s,t[19]=F);let I;t[20]===F?I=t[21]:(I=(0,b.jsx)(`div`,{className:`flex shrink-0 items-center gap-1`,children:F}),t[20]=F,t[21]=I);let L;t[22]!==P||t[23]!==I?(L=(0,b.jsxs)(`div`,{className:`flex flex-wrap items-start justify-between gap-3`,children:[P,I]}),t[22]=P,t[23]=I,t[24]=L):L=t[24];let R,z;t[25]===Symbol.for(`react.memo_cache_sentinel`)?(R=i(`rounded-lg bg-accent px-3 py-1.5 text-sm font-medium text-accent-contrast transition-colors hover:bg-accent/90`,`focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent focus-visible:ring-offset-2 focus-visible:ring-offset-surface-base`),z=()=>{D(null),C(!0)},t[25]=R,t[26]=z):(R=t[25],z=t[26]);let B;t[27]===_.quickCaptureShortcutChange?B=t[28]:(B=(0,b.jsx)(`button`,{type:`button`,className:R,onClick:z,children:_.quickCaptureShortcutChange}),t[27]=_.quickCaptureShortcutChange,t[28]=B);let V;t[29]!==d||t[30]!==f?(V=()=>{f(d()),D(null)},t[29]=d,t[30]=f,t[31]=V):V=t[31];let H;t[32]!==_.quickCaptureShortcutReset||t[33]!==V?(H=(0,b.jsx)(`button`,{type:`button`,className:`rounded-lg px-3 py-1.5 text-sm font-medium text-fg-muted transition-colors hover:bg-surface-hover hover:text-fg focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent`,onClick:V,children:_.quickCaptureShortcutReset}),t[32]=_.quickCaptureShortcutReset,t[33]=V,t[34]=H):H=t[34];let U;t[35]!==_.quickCaptureShortcutRecording||t[36]!==j||t[37]!==S?(U=S?(0,b.jsx)(`button`,{type:`button`,autoFocus:!0,className:`rounded-lg border border-accent bg-accent-soft px-3 py-1.5 text-sm font-medium text-accent-fg outline-none`,onKeyDown:j,onClick:()=>C(!1),children:_.quickCaptureShortcutRecording}):null,t[35]=_.quickCaptureShortcutRecording,t[36]=j,t[37]=S,t[38]=U):U=t[38];let W;t[39]!==B||t[40]!==H||t[41]!==U?(W=(0,b.jsxs)(`div`,{className:`mt-3 flex flex-wrap items-center gap-2`,children:[B,H,U]}),t[39]=B,t[40]=H,t[41]=U,t[42]=W):W=t[42];let G;t[43]===E?G=t[44]:(G=E?(0,b.jsx)(`p`,{className:`mt-2 text-sm text-danger-fg`,children:E}):null,t[43]=E,t[44]=G);let K;return t[45]!==L||t[46]!==W||t[47]!==G||t[48]!==n?(K=(0,b.jsxs)(`section`,{className:`rounded-xl bg-surface-base px-4 py-3.5 sm:px-5 sm:py-4`,"aria-label":n,children:[L,W,G]}),t[45]=L,t[46]=W,t[47]=G,t[48]=n,t[49]=K):K=t[49],K}function w(e,t){return(0,b.jsx)(I,{children:e},`${e}-${String(t)}`)}function T(e){return e.language}function E(){let e=(0,v.c)(8),t=o(A),n;e[0]===t?n=e[1]:(n=a(t),e[0]=t,e[1]=n);let r=n.keyboardShortcutsSettings,i=f(k),s=f(O),c=d(D),l;return e[2]!==r.quickCaptureShortcutDescription||e[3]!==r.quickCaptureShortcutTitle||e[4]!==s||e[5]!==i||e[6]!==c?(l=(0,b.jsx)(C,{title:r.quickCaptureShortcutTitle,description:r.quickCaptureShortcutDescription,shortcut:i,otherShortcut:c,defaultShortcut:h,setShortcut:s,legacyRecordingEvent:`quick-capture-shortcut-recording`}),e[2]=r.quickCaptureShortcutDescription,e[3]=r.quickCaptureShortcutTitle,e[4]=s,e[5]=i,e[6]=c,e[7]=l):l=e[7],l}function D(e){return e.shortcut}function O(e){return e.setShortcut}function k(e){return e.shortcut}function A(e){return e.language}function j(){let e=(0,v.c)(8),t=o(F),n;e[0]===t?n=e[1]:(n=a(t),e[0]=t,e[1]=n);let r=n.keyboardShortcutsSettings,i=d(P),c=d(N),l=f(M),u;return e[2]!==r.voiceInputShortcutDescription||e[3]!==r.voiceInputShortcutTitle||e[4]!==l||e[5]!==c||e[6]!==i?(u=(0,b.jsx)(C,{title:r.voiceInputShortcutTitle,description:r.voiceInputShortcutDescription,shortcut:i,otherShortcut:l,defaultShortcut:s,setShortcut:c}),e[2]=r.voiceInputShortcutDescription,e[3]=r.voiceInputShortcutTitle,e[4]=l,e[5]=c,e[6]=i,e[7]=u):u=e[7],u}function M(e){return e.shortcut}function N(e){return e.setShortcut}function P(e){return e.shortcut}function F(e){return e.language}function I(e){let t=(0,v.c)(2),{children:n}=e,r;return t[0]===n?r=t[1]:(r=(0,b.jsx)(`kbd`,{className:`inline-flex min-w-[1.5rem] items-center justify-center rounded-md border border-edge-subtle bg-surface-hover/60 px-1.5 py-0.5 font-mono text-xs font-medium text-fg-muted shadow-[0_1px_0_0_var(--color-edge-subtle)]`,children:n}),t[0]=n,t[1]=r),r}function L(e){let t=(0,v.c)(14),{keys:n,label:r,note:i}=e,a;t[0]===r?a=t[1]:(a=(0,b.jsx)(`span`,{className:`text-sm text-fg`,children:r}),t[0]=r,t[1]=a);let o;t[2]===i?o=t[3]:(o=i&&(0,b.jsxs)(`span`,{className:`ml-1.5 text-xs text-fg-muted`,children:[`(`,i,`)`]}),t[2]=i,t[3]=o);let s;t[4]!==a||t[5]!==o?(s=(0,b.jsxs)(`div`,{className:`min-w-0`,children:[a,o]}),t[4]=a,t[5]=o,t[6]=s):s=t[6];let c;t[7]===n?c=t[8]:(c=n.map(R),t[7]=n,t[8]=c);let l;t[9]===c?l=t[10]:(l=(0,b.jsx)(`div`,{className:`flex shrink-0 items-center gap-1`,children:c}),t[9]=c,t[10]=l);let u;return t[11]!==s||t[12]!==l?(u=(0,b.jsxs)(`div`,{className:`flex items-center justify-between gap-4 py-2.5`,children:[s,l]}),t[11]=s,t[12]=l,t[13]=u):u=t[13],u}function R(e){return(0,b.jsx)(I,{children:e},e)}function z(e){let t=(0,v.c)(11),{title:n,shortcuts:r}=e,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(a=i(`rounded-xl bg-surface-base px-4 sm:px-5`),t[0]=a):a=t[0];let o;t[1]===n?o=t[2]:(o=(0,b.jsx)(`h2`,{className:`pb-1 pt-3.5 text-sm font-semibold text-fg sm:pt-4`,children:n}),t[1]=n,t[2]=o);let s;t[3]===r?s=t[4]:(s=r.map(B),t[3]=r,t[4]=s);let c;t[5]===s?c=t[6]:(c=(0,b.jsx)(`div`,{className:`grid gap-1 pb-3 sm:pb-4`,children:s}),t[5]=s,t[6]=c);let l;return t[7]!==o||t[8]!==c||t[9]!==n?(l=(0,b.jsxs)(`section`,{className:a,"aria-label":n,children:[o,c]}),t[7]=o,t[8]=c,t[9]=n,t[10]=l):l=t[10],l}function B(e){return(0,b.jsx)(L,{...e},e.label)}function V(){let e=(0,v.c)(124),t=o(G),n;e[0]===t?n=e[1]:(n=a(t),e[0]=t,e[1]=n);let r=n.keyboardShortcutsSettings,i=f(W),s=d(U),c;if(e[2]!==r.categoryChat||e[3]!==r.categoryEditor||e[4]!==r.categoryGlobal||e[5]!==r.categoryNavigation||e[6]!==r.chatForceSend||e[7]!==r.chatNewLine||e[8]!==r.chatSend||e[9]!==r.chatVoiceInput||e[10]!==r.editorBulletList||e[11]!==r.editorHeading1||e[12]!==r.editorHeading2||e[13]!==r.editorHeading3||e[14]!==r.editorOrderedList||e[15]!==r.editorTaskList||e[16]!==r.globalNewChat||e[17]!==r.globalOpenSettings||e[18]!==r.globalToggleWindow||e[19]!==r.navCloseDialog||e[20]!==r.navCommandPalette||e[21]!==r.navQuickCapture||e[22]!==r.navToggleFullscreen||e[23]!==r.navToggleSidebar||e[24]!==i||e[25]!==s){if(c=[],m()){let t;e[27]===Symbol.for(`react.memo_cache_sentinel`)?(t=[S,`Shift`,`Space`],e[27]=t):t=e[27];let n;e[28]===r.globalToggleWindow?n=e[29]:(n=[{keys:t,label:r.globalToggleWindow}],e[28]=r.globalToggleWindow,e[29]=n);let i;e[30]!==r.categoryGlobal||e[31]!==n?(i={title:r.categoryGlobal,shortcuts:n},e[30]=r.categoryGlobal,e[31]=n,e[32]=i):i=e[32],c.push(i)}let t=r.categoryNavigation,n;e[33]===Symbol.for(`react.memo_cache_sentinel`)?(n=[S,`N`],e[33]=n):n=e[33];let a;e[34]===r.globalNewChat?a=e[35]:(a={keys:n,label:r.globalNewChat},e[34]=r.globalNewChat,e[35]=a);let o;e[36]===Symbol.for(`react.memo_cache_sentinel`)?(o=[S,`K`],e[36]=o):o=e[36];let u;e[37]===r.navCommandPalette?u=e[38]:(u={keys:o,label:r.navCommandPalette},e[37]=r.navCommandPalette,e[38]=u);let d;e[39]===i?d=e[40]:(d=l(i),e[39]=i,e[40]=d);let f;e[41]!==r.navQuickCapture||e[42]!==d?(f={keys:d,label:r.navQuickCapture},e[41]=r.navQuickCapture,e[42]=d,e[43]=f):f=e[43];let p;e[44]===r.navToggleSidebar?p=e[45]:(p=m()?[{keys:[S,`B`],label:r.navToggleSidebar}]:[],e[44]=r.navToggleSidebar,e[45]=p);let h;e[46]===r.navToggleFullscreen?h=e[47]:(h=m()?[{keys:[`F11`],label:r.navToggleFullscreen}]:[],e[46]=r.navToggleFullscreen,e[47]=h);let g;e[48]===r.globalOpenSettings?g=e[49]:(g=m()?[{keys:[S,`,`],label:r.globalOpenSettings}]:[],e[48]=r.globalOpenSettings,e[49]=g);let _;e[50]===Symbol.for(`react.memo_cache_sentinel`)?(_=[`Esc`],e[50]=_):_=e[50];let v;e[51]===r.navCloseDialog?v=e[52]:(v={keys:_,label:r.navCloseDialog},e[51]=r.navCloseDialog,e[52]=v);let y;e[53]!==g||e[54]!==v||e[55]!==a||e[56]!==u||e[57]!==f||e[58]!==p||e[59]!==h?(y=[a,u,f,...p,...h,...g,v],e[53]=g,e[54]=v,e[55]=a,e[56]=u,e[57]=f,e[58]=p,e[59]=h,e[60]=y):y=e[60];let b;e[61]!==r.categoryNavigation||e[62]!==y?(b={title:t,shortcuts:y},e[61]=r.categoryNavigation,e[62]=y,e[63]=b):b=e[63],c.push(b);let x=r.categoryChat,C;e[64]===Symbol.for(`react.memo_cache_sentinel`)?(C=[`Enter`],e[64]=C):C=e[64];let w;e[65]===r.chatSend?w=e[66]:(w={keys:C,label:r.chatSend},e[65]=r.chatSend,e[66]=w);let T;e[67]===Symbol.for(`react.memo_cache_sentinel`)?(T=[`Shift`,`Enter`],e[67]=T):T=e[67];let E;e[68]===r.chatNewLine?E=e[69]:(E={keys:T,label:r.chatNewLine},e[68]=r.chatNewLine,e[69]=E);let D;e[70]===Symbol.for(`react.memo_cache_sentinel`)?(D=[S,`Enter`],e[70]=D):D=e[70];let O;e[71]===r.chatForceSend?O=e[72]:(O={keys:D,label:r.chatForceSend},e[71]=r.chatForceSend,e[72]=O);let k;e[73]===s?k=e[74]:(k=l(s),e[73]=s,e[74]=k);let A;e[75]!==r.chatVoiceInput||e[76]!==k?(A={keys:k,label:r.chatVoiceInput},e[75]=r.chatVoiceInput,e[76]=k,e[77]=A):A=e[77];let j;e[78]!==w||e[79]!==E||e[80]!==O||e[81]!==A?(j=[w,E,O,A],e[78]=w,e[79]=E,e[80]=O,e[81]=A,e[82]=j):j=e[82];let M;e[83]!==r.categoryChat||e[84]!==j?(M={title:x,shortcuts:j},e[83]=r.categoryChat,e[84]=j,e[85]=M):M=e[85],c.push(M);let N;e[86]===Symbol.for(`react.memo_cache_sentinel`)?(N=[S,`Shift`,`1`],e[86]=N):N=e[86];let P;e[87]===r.editorHeading1?P=e[88]:(P={keys:N,label:r.editorHeading1},e[87]=r.editorHeading1,e[88]=P);let F;e[89]===Symbol.for(`react.memo_cache_sentinel`)?(F=[S,`Shift`,`2`],e[89]=F):F=e[89];let I;e[90]===r.editorHeading2?I=e[91]:(I={keys:F,label:r.editorHeading2},e[90]=r.editorHeading2,e[91]=I);let L;e[92]===Symbol.for(`react.memo_cache_sentinel`)?(L=[S,`Shift`,`3`],e[92]=L):L=e[92];let R;e[93]===r.editorHeading3?R=e[94]:(R={keys:L,label:r.editorHeading3},e[93]=r.editorHeading3,e[94]=R);let z;e[95]===Symbol.for(`react.memo_cache_sentinel`)?(z=[S,`Shift`,`8`],e[95]=z):z=e[95];let B;e[96]===r.editorBulletList?B=e[97]:(B={keys:z,label:r.editorBulletList},e[96]=r.editorBulletList,e[97]=B);let V;e[98]===Symbol.for(`react.memo_cache_sentinel`)?(V=[S,`Shift`,`9`],e[98]=V):V=e[98];let H;e[99]===r.editorOrderedList?H=e[100]:(H={keys:V,label:r.editorOrderedList},e[99]=r.editorOrderedList,e[100]=H);let U;e[101]===Symbol.for(`react.memo_cache_sentinel`)?(U=[S,`Shift`,`0`],e[101]=U):U=e[101];let W;e[102]===r.editorTaskList?W=e[103]:(W={keys:U,label:r.editorTaskList},e[102]=r.editorTaskList,e[103]=W);let G;e[104]!==P||e[105]!==I||e[106]!==R||e[107]!==B||e[108]!==H||e[109]!==W?(G=[P,I,R,B,H,W],e[104]=P,e[105]=I,e[106]=R,e[107]=B,e[108]=H,e[109]=W,e[110]=G):G=e[110];let K;e[111]!==r.categoryEditor||e[112]!==G?(K={title:r.categoryEditor,shortcuts:G},e[111]=r.categoryEditor,e[112]=G,e[113]=K):K=e[113],c.push(K),e[2]=r.categoryChat,e[3]=r.categoryEditor,e[4]=r.categoryGlobal,e[5]=r.categoryNavigation,e[6]=r.chatForceSend,e[7]=r.chatNewLine,e[8]=r.chatSend,e[9]=r.chatVoiceInput,e[10]=r.editorBulletList,e[11]=r.editorHeading1,e[12]=r.editorHeading2,e[13]=r.editorHeading3,e[14]=r.editorOrderedList,e[15]=r.editorTaskList,e[16]=r.globalNewChat,e[17]=r.globalOpenSettings,e[18]=r.globalToggleWindow,e[19]=r.navCloseDialog,e[20]=r.navCommandPalette,e[21]=r.navQuickCapture,e[22]=r.navToggleFullscreen,e[23]=r.navToggleSidebar,e[24]=i,e[25]=s,e[26]=c}else c=e[26];let u;e[114]!==r.pageTitle||e[115]!==r.subtitle?(u=(0,b.jsx)(g,{title:r.pageTitle,subtitle:r.subtitle}),e[114]=r.pageTitle,e[115]=r.subtitle,e[116]=u):u=e[116];let p,h;e[117]===Symbol.for(`react.memo_cache_sentinel`)?(p=(0,b.jsx)(E,{}),h=(0,b.jsx)(j,{}),e[117]=p,e[118]=h):(p=e[117],h=e[118]);let y;e[119]===c?y=e[120]:(y=c.map(H),e[119]=c,e[120]=y);let x;return e[121]!==u||e[122]!==y?(x=(0,b.jsxs)(_,{gap:`gap-6`,children:[u,p,h,y]}),e[121]=u,e[122]=y,e[123]=x):x=e[123],x}function H(e){return(0,b.jsx)(z,{...e},e.title)}function U(e){return e.shortcut}function W(e){return e.shortcut}function G(e){return e.language}export{V as KeyboardShortcutsSettingsPanel};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Rr as e}from"./index-I-ZCenVw.js";function t(t){let{children:n,fallback:r}=t,i=r===void 0?null:r;return e()?n:i}export{t};
|