An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: https://github.com/siyuan-note/siyuan/issues/11160
Vanessad927e1ed9f3f
diff --git a/app/src/util/newFile.ts b/app/src/util/newFile.tsindex 36b8a55984..31c587dbfc 100644--- a/app/src/util/newFile.ts+++ b/app/src/util/newFile.ts@@ -107,10 +107,10 @@ export const newFile = (optios: {openFileById({app: optios.app,id: response.data,- action: [Constants.CB_GET_HL, Constants.CB_GET_CONTEXT]+ action: [Constants.CB_GET_CONTEXT]});/// #else- openMobileFileById(optios.app, response.data, [Constants.CB_GET_HL, Constants.CB_GET_CONTEXT]);+ openMobileFileById(optios.app, response.data, [Constants.CB_GET_CONTEXT]);/// #endif});} else {@@ -128,10 +128,10 @@ export const newFile = (optios: {openFileById({app: optios.app,id: response.data,- action: [Constants.CB_GET_HL, Constants.CB_GET_CONTEXT]+ action: [Constants.CB_GET_CONTEXT]});/// #else- openMobileFileById(optios.app, response.data, [Constants.CB_GET_HL, Constants.CB_GET_CONTEXT]);+ openMobileFileById(optios.app, response.data, [Constants.CB_GET_CONTEXT]);/// #endif});});@@ -151,10 +151,10 @@ export const newFile = (optios: {openFileById({app: optios.app,id: response.data,- action: [Constants.CB_GET_HL, Constants.CB_GET_CONTEXT]+ action: [Constants.CB_GET_CONTEXT]});/// #else- openMobileFileById(optios.app, response.data, [Constants.CB_GET_HL, Constants.CB_GET_CONTEXT]);+ openMobileFileById(optios.app, response.data, [Constants.CB_GET_CONTEXT]);/// #endif});return;@@ -173,9 +173,9 @@ export const newFile = (optios: {sorts: optios.paths}, () => {/// #if !MOBILE- openFileById({app: optios.app, id, action: [Constants.CB_GET_HL, Constants.CB_GET_CONTEXT]});+ openFileById({app: optios.app, id, action: [Constants.CB_GET_CONTEXT]});/// #else- openMobileFileById(optios.app, id, [Constants.CB_GET_HL, Constants.CB_GET_CONTEXT]);+ openMobileFileById(optios.app, id, [Constants.CB_GET_CONTEXT]);/// #endif});}