buckyos 0.7.205 → 0.7.208
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/cli/dist/cli.mjs +1 -1
- package/cli/dist/cli.mjs.map +1 -1
- package/cli/version.ts +1 -1
- package/dist/{aiws_write-eeea8ed3.js → aiws_write-825bb6ba.js} +3 -3
- package/dist/aiws_write-825bb6ba.js.map +1 -0
- package/dist/{aiws_write-47c90e76.mjs → aiws_write-83ddc6cc.mjs} +30 -2
- package/dist/aiws_write-83ddc6cc.mjs.map +1 -0
- package/dist/app-frame.cjs +1 -1
- package/dist/app-frame.cjs.map +1 -1
- package/dist/app-frame.d.ts +221 -2
- package/dist/app-frame.d.ts.map +1 -1
- package/dist/app-frame.mjs +531 -15
- package/dist/app-frame.mjs.map +1 -1
- package/dist/browser.cjs +1 -1
- package/dist/browser.cjs.map +1 -1
- package/dist/browser.d.ts +4 -0
- package/dist/browser.d.ts.map +1 -1
- package/dist/browser.mjs +11 -6
- package/dist/browser.mjs.map +1 -1
- package/dist/content.cjs +1 -1
- package/dist/content.cjs.map +1 -1
- package/dist/content.d.ts +2 -0
- package/dist/content.d.ts.map +1 -1
- package/dist/content.mjs +14 -7
- package/dist/content.mjs.map +1 -1
- package/dist/{content_objid-0a095cbd.mjs → content_objid-76434848.mjs} +2 -2
- package/dist/{content_objid-0a095cbd.mjs.map → content_objid-76434848.mjs.map} +1 -1
- package/dist/{content_objid-4742308a.js → content_objid-addf9e2b.js} +2 -2
- package/dist/{content_objid-4742308a.js.map → content_objid-addf9e2b.js.map} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +11 -6
- package/dist/index.mjs.map +1 -1
- package/dist/internal/html_tokens.d.ts +13 -0
- package/dist/internal/html_tokens.d.ts.map +1 -0
- package/dist/node.cjs +1 -1
- package/dist/node.cjs.map +1 -1
- package/dist/node.d.ts +4 -0
- package/dist/node.d.ts.map +1 -1
- package/dist/node.mjs +10 -5
- package/dist/node.mjs.map +1 -1
- package/dist/sdk_core.d.ts +18 -0
- package/dist/sdk_core.d.ts.map +1 -1
- package/dist/{site_manager-91b4d899.mjs → site_manager-604ee369.mjs} +207 -141
- package/dist/site_manager-604ee369.mjs.map +1 -0
- package/dist/site_manager-70710895.js +2 -0
- package/dist/site_manager-70710895.js.map +1 -0
- package/dist/transfer.cjs +2 -0
- package/dist/transfer.cjs.map +1 -0
- package/dist/transfer.d.ts +148 -0
- package/dist/transfer.d.ts.map +1 -0
- package/dist/transfer.mjs +655 -0
- package/dist/transfer.mjs.map +1 -0
- package/dist/user_preferences-1d49850a.mjs +158 -0
- package/dist/user_preferences-1d49850a.mjs.map +1 -0
- package/dist/user_preferences-7288c989.js +2 -0
- package/dist/user_preferences-7288c989.js.map +1 -0
- package/dist/user_preferences.d.ts +50 -0
- package/dist/user_preferences.d.ts.map +1 -0
- package/dist/xllm/core/loop.d.ts.map +1 -1
- package/dist/xllm/core/types.d.ts +0 -2
- package/dist/xllm/core/types.d.ts.map +1 -1
- package/dist/xllm/hosts/deno/native_runtime.d.ts.map +1 -1
- package/dist/xllm/hosts/deno/native_tools.d.ts +2 -1
- package/dist/xllm/hosts/deno/native_tools.d.ts.map +1 -1
- package/dist/xllm/index.d.ts +3 -2
- package/dist/xllm/index.d.ts.map +1 -1
- package/dist/xllm/runtime/hints.d.ts +9 -4
- package/dist/xllm/runtime/hints.d.ts.map +1 -1
- package/dist/xllm/runtime/step_renderer.d.ts +4 -4
- package/dist/xllm/runtime/step_renderer.d.ts.map +1 -1
- package/dist/xllm/runtime/text_budget.d.ts +5 -0
- package/dist/xllm/runtime/text_budget.d.ts.map +1 -0
- package/dist/xllm/runtime/tool_result.d.ts +14 -1
- package/dist/xllm/runtime/tool_result.d.ts.map +1 -1
- package/dist/xllm.cjs +1 -1
- package/dist/xllm.cjs.map +1 -1
- package/dist/xllm.mjs +35 -29
- package/dist/xllm_deno.cjs +1 -1
- package/dist/xllm_deno.cjs.map +1 -1
- package/dist/xllm_deno.mjs +123 -42
- package/dist/xllm_deno.mjs.map +1 -1
- package/package.json +6 -1
- package/dist/aiws_write-47c90e76.mjs.map +0 -1
- package/dist/aiws_write-eeea8ed3.js.map +0 -1
- package/dist/runtime_env-39e4df98.mjs +0 -44
- package/dist/runtime_env-39e4df98.mjs.map +0 -1
- package/dist/runtime_env-6396e1eb.js +0 -2
- package/dist/runtime_env-6396e1eb.js.map +0 -1
- package/dist/site_manager-716a2cf5.js +0 -2
- package/dist/site_manager-716a2cf5.js.map +0 -1
- package/dist/site_manager-91b4d899.mjs.map +0 -1
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../src/index.ts"],"sourcesContent":["import { createSDKModule } from './sdk_core'\nimport { hashPassword } from './account'\n\nconst sdkModule = createSDKModule('universal')\n\nexport const buckyos = sdkModule.buckyos\nexport const initBuckyOS = sdkModule.initBuckyOS\nexport const getBuckyOSConfig = sdkModule.getBuckyOSConfig\nexport const getRuntimeType = sdkModule.getRuntimeType\nexport const getAppId = sdkModule.getAppId\nexport const getAppDid = sdkModule.getAppDid\nexport const getAppInstanceId = sdkModule.getAppInstanceId\nexport const getAppDataDir = sdkModule.getAppDataDir\nexport const getKEventClient = sdkModule.getKEventClient\nexport const createEventReader = sdkModule.createEventReader\nexport const create_event_reader = sdkModule.create_event_reader\nexport const subscribeKEvent = sdkModule.subscribeKEvent\nexport const attachEvent = sdkModule.attachEvent\nexport const removeEvent = sdkModule.removeEvent\nexport const getAccountInfo = sdkModule.getAccountInfo\nexport const getCurrentIdentity = sdkModule.getCurrentIdentity\nexport const loginByPassword = sdkModule.loginByPassword\nexport const loginByBrowserSSO = sdkModule.loginByBrowserSSO\nexport const loginByRuntimeSession = sdkModule.loginByRuntimeSession\nexport const login = sdkModule.login\nexport const logout = sdkModule.logout\nexport const getAppSetting = sdkModule.getAppSetting\nexport const setAppSetting = sdkModule.setAppSetting\nexport const getCurrentWalletUser = sdkModule.getCurrentWalletUser\nexport const resolve_did = sdkModule.resolve_did\nexport const walletSignWithActiveDid = sdkModule.walletSignWithActiveDid\nexport const openExternalUrl = sdkModule.openExternalUrl\nexport const getZoneHostName = sdkModule.getZoneHostName\nexport const getZoneServiceURL = sdkModule.getZoneServiceURL\nexport const getServiceRpcClient = sdkModule.getServiceRpcClient\nexport const getVerifyHubClient = sdkModule.getVerifyHubClient\nexport const getSystemConfigClient = sdkModule.getSystemConfigClient\nexport const getTaskManagerClient = sdkModule.getTaskManagerClient\nexport const getWorkflowClient = sdkModule.getWorkflowClient\nexport const getAiccClient = sdkModule.getAiccClient\nexport const getAiWorkspaceClient = sdkModule.getAiWorkspaceClient\nexport const getBucketClient = sdkModule.getBucketClient\nexport const getMsgQueueClient = sdkModule.getMsgQueueClient\nexport const getMsgCenterClient = sdkModule.getMsgCenterClient\nexport const getRepoClient = sdkModule.getRepoClient\n\nexport { hashPassword }\nexport * from './sdk_core'\nexport * from './types'\nexport * from './app_identity'\nexport * as namelib from './namelib'\nexport * as bns from './bns_client'\nexport * from './bns_evm_tx'\nexport * from './bns_tx_executor'\nexport * as sn from './sn_client'\nexport * as ndn from './ndn'\nexport * as ndm from './ndm_client'\nexport { ensureObjId, type EnsureObjIdOptions } from './content_objid'\nexport * as ndm_proxy from './ndm_proxy'\nexport * from './open_app'\nexport * from './runtime_env'\nexport * from './audio'\nexport { createZoneClients, type ZoneClients, type ZoneClientsOptions } from './zone_clients'\n\nexport * from './executor_client'\nexport * from './aiworkspace_client'\nexport * from './aiws_rrule'\nexport * from './aiws_schedule'\nexport * from './aiws_write'\nexport * from './aiws_bind'\nexport * from './aiws_ext'\nexport * as bucket from './bucket_client'\nexport * as objectUrl from './object_url'\nexport { DIDObjectClient, DIDObjectError } from './did_object_client'\nexport type { DIDObjectCard, DIDObjectClientOptions } from './did_object_client'\n"],"names":[],"mappings":";;;;;;;;;;;;;AAGA,MAAM,YAAY,gBAAgB,WAAW;AAEtC,MAAM,UAAU,UAAU;AAC1B,MAAM,cAAc,UAAU;AAC9B,MAAM,mBAAmB,UAAU;AACnC,MAAM,iBAAiB,UAAU;AACjC,MAAM,WAAW,UAAU;AAC3B,MAAM,YAAY,UAAU;AAC5B,MAAM,mBAAmB,UAAU;AACnC,MAAM,gBAAgB,UAAU;AAChC,MAAM,kBAAkB,UAAU;AAClC,MAAM,oBAAoB,UAAU;AACpC,MAAM,sBAAsB,UAAU;AACtC,MAAM,kBAAkB,UAAU;AAClC,MAAM,cAAc,UAAU;AAC9B,MAAM,cAAc,UAAU;AAC9B,MAAM,iBAAiB,UAAU;AACjC,MAAM,qBAAqB,UAAU;AACrC,MAAM,kBAAkB,UAAU;AAClC,MAAM,oBAAoB,UAAU;AACpC,MAAM,wBAAwB,UAAU;AACxC,MAAM,QAAQ,UAAU;AACxB,MAAM,SAAS,UAAU;AACzB,MAAM,gBAAgB,UAAU;AAChC,MAAM,gBAAgB,UAAU;AAChC,MAAM,uBAAuB,UAAU;AACvC,MAAM,cAAc,UAAU;AAC9B,MAAM,0BAA0B,UAAU;AAC1C,MAAM,kBAAkB,UAAU;AAClC,MAAM,kBAAkB,UAAU;AAClC,MAAM,oBAAoB,UAAU;AACpC,MAAM,sBAAsB,UAAU;AACtC,MAAM,qBAAqB,UAAU;AACrC,MAAM,wBAAwB,UAAU;AACxC,MAAM,uBAAuB,UAAU;AACvC,MAAM,oBAAoB,UAAU;AACpC,MAAM,gBAAgB,UAAU;AAChC,MAAM,uBAAuB,UAAU;AACvC,MAAM,kBAAkB,UAAU;AAClC,MAAM,oBAAoB,UAAU;AACpC,MAAM,qBAAqB,UAAU;AACrC,MAAM,gBAAgB,UAAU;"}
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../src/index.ts"],"sourcesContent":["import { createSDKModule } from './sdk_core'\nimport { hashPassword } from './account'\n\nconst sdkModule = createSDKModule('universal')\n\nexport const buckyos = sdkModule.buckyos\nexport const initBuckyOS = sdkModule.initBuckyOS\nexport const getBuckyOSConfig = sdkModule.getBuckyOSConfig\nexport const getRuntimeType = sdkModule.getRuntimeType\nexport const getAppId = sdkModule.getAppId\nexport const getAppDid = sdkModule.getAppDid\nexport const getAppInstanceId = sdkModule.getAppInstanceId\nexport const getAppDataDir = sdkModule.getAppDataDir\nexport const getKEventClient = sdkModule.getKEventClient\nexport const createEventReader = sdkModule.createEventReader\nexport const create_event_reader = sdkModule.create_event_reader\nexport const subscribeKEvent = sdkModule.subscribeKEvent\nexport const attachEvent = sdkModule.attachEvent\nexport const removeEvent = sdkModule.removeEvent\nexport const getAccountInfo = sdkModule.getAccountInfo\nexport const getCurrentIdentity = sdkModule.getCurrentIdentity\nexport const getUserPreferences = sdkModule.getUserPreferences\nexport const onUserPreferencesChanged = sdkModule.onUserPreferencesChanged\nexport const loginByPassword = sdkModule.loginByPassword\nexport const loginByBrowserSSO = sdkModule.loginByBrowserSSO\nexport const loginByRuntimeSession = sdkModule.loginByRuntimeSession\nexport const login = sdkModule.login\nexport const logout = sdkModule.logout\nexport const getAppSetting = sdkModule.getAppSetting\nexport const setAppSetting = sdkModule.setAppSetting\nexport const getCurrentWalletUser = sdkModule.getCurrentWalletUser\nexport const resolve_did = sdkModule.resolve_did\nexport const walletSignWithActiveDid = sdkModule.walletSignWithActiveDid\nexport const openExternalUrl = sdkModule.openExternalUrl\nexport const getZoneHostName = sdkModule.getZoneHostName\nexport const getZoneServiceURL = sdkModule.getZoneServiceURL\nexport const getServiceRpcClient = sdkModule.getServiceRpcClient\nexport const getVerifyHubClient = sdkModule.getVerifyHubClient\nexport const getSystemConfigClient = sdkModule.getSystemConfigClient\nexport const getTaskManagerClient = sdkModule.getTaskManagerClient\nexport const getWorkflowClient = sdkModule.getWorkflowClient\nexport const getAiccClient = sdkModule.getAiccClient\nexport const getAiWorkspaceClient = sdkModule.getAiWorkspaceClient\nexport const getBucketClient = sdkModule.getBucketClient\nexport const getMsgQueueClient = sdkModule.getMsgQueueClient\nexport const getMsgCenterClient = sdkModule.getMsgCenterClient\nexport const getRepoClient = sdkModule.getRepoClient\n\nexport { hashPassword }\nexport * from './sdk_core'\nexport * from './types'\nexport * from './app_identity'\nexport * as namelib from './namelib'\nexport * as bns from './bns_client'\nexport * from './bns_evm_tx'\nexport * from './bns_tx_executor'\nexport * as sn from './sn_client'\nexport * as ndn from './ndn'\nexport * as ndm from './ndm_client'\nexport { ensureObjId, type EnsureObjIdOptions } from './content_objid'\nexport * as ndm_proxy from './ndm_proxy'\nexport * from './open_app'\nexport * from './runtime_env'\nexport * from './audio'\nexport { createZoneClients, type ZoneClients, type ZoneClientsOptions } from './zone_clients'\n\nexport * from './executor_client'\nexport * from './aiworkspace_client'\nexport * from './aiws_rrule'\nexport * from './aiws_schedule'\nexport * from './aiws_write'\nexport * from './aiws_bind'\nexport * from './aiws_ext'\nexport * as bucket from './bucket_client'\nexport * as objectUrl from './object_url'\nexport { DIDObjectClient, DIDObjectError } from './did_object_client'\nexport type { DIDObjectCard, DIDObjectClientOptions } from './did_object_client'\n"],"names":[],"mappings":";;;;;;;;;;;;;AAGA,MAAM,YAAY,gBAAgB,WAAW;AAEtC,MAAM,UAAU,UAAU;AAC1B,MAAM,cAAc,UAAU;AAC9B,MAAM,mBAAmB,UAAU;AACnC,MAAM,iBAAiB,UAAU;AACjC,MAAM,WAAW,UAAU;AAC3B,MAAM,YAAY,UAAU;AAC5B,MAAM,mBAAmB,UAAU;AACnC,MAAM,gBAAgB,UAAU;AAChC,MAAM,kBAAkB,UAAU;AAClC,MAAM,oBAAoB,UAAU;AACpC,MAAM,sBAAsB,UAAU;AACtC,MAAM,kBAAkB,UAAU;AAClC,MAAM,cAAc,UAAU;AAC9B,MAAM,cAAc,UAAU;AAC9B,MAAM,iBAAiB,UAAU;AACjC,MAAM,qBAAqB,UAAU;AACrC,MAAM,qBAAqB,UAAU;AACrC,MAAM,2BAA2B,UAAU;AAC3C,MAAM,kBAAkB,UAAU;AAClC,MAAM,oBAAoB,UAAU;AACpC,MAAM,wBAAwB,UAAU;AACxC,MAAM,QAAQ,UAAU;AACxB,MAAM,SAAS,UAAU;AACzB,MAAM,gBAAgB,UAAU;AAChC,MAAM,gBAAgB,UAAU;AAChC,MAAM,uBAAuB,UAAU;AACvC,MAAM,cAAc,UAAU;AAC9B,MAAM,0BAA0B,UAAU;AAC1C,MAAM,kBAAkB,UAAU;AAClC,MAAM,kBAAkB,UAAU;AAClC,MAAM,oBAAoB,UAAU;AACpC,MAAM,sBAAsB,UAAU;AACtC,MAAM,qBAAqB,UAAU;AACrC,MAAM,wBAAwB,UAAU;AACxC,MAAM,uBAAuB,UAAU;AACvC,MAAM,oBAAoB,UAAU;AACpC,MAAM,gBAAgB,UAAU;AAChC,MAAM,uBAAuB,UAAU;AACvC,MAAM,kBAAkB,UAAU;AAClC,MAAM,oBAAoB,UAAU;AACpC,MAAM,qBAAqB,UAAU;AACrC,MAAM,gBAAgB,UAAU;"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface HtmlTag {
|
|
2
|
+
name: string;
|
|
3
|
+
attrs: Record<string, string>;
|
|
4
|
+
close: boolean;
|
|
5
|
+
self: boolean;
|
|
6
|
+
}
|
|
7
|
+
export type HtmlToken = HtmlTag | string;
|
|
8
|
+
export declare function decodeHtmlEntities(text: string): string;
|
|
9
|
+
export declare const escapeHtml: (s: string) => string;
|
|
10
|
+
/** Tags (lower-case names and attribute names, decoded attribute values) and raw text; comments, doctype and the
|
|
11
|
+
* bodies of script, style, textarea and title are dropped. */
|
|
12
|
+
export declare function tokenizeHtml(html: string): HtmlToken[];
|
|
13
|
+
//# sourceMappingURL=html_tokens.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"html_tokens.d.ts","sourceRoot":"","sources":["../../src/internal/html_tokens.ts"],"names":[],"mappings":"AAIA,MAAM,WAAW,OAAO;IAAG,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAAC,KAAK,EAAE,OAAO,CAAC;IAAC,IAAI,EAAE,OAAO,CAAA;CAAE;AACvG,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,MAAM,CAAA;AAQxC,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CASvD;AAED,eAAO,MAAM,UAAU,MAAO,MAAM,KAAG,MACsE,CAAA;AAE7G;8DAC8D;AAC9D,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,EAAE,CAoDtD"}
|
package/dist/node.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./aiws_write-eeea8ed3.js"),t=require("./account-b12ac6b9.js"),o=require("./ndn_types-5b138882.js"),r=require("./open-app.cjs"),s=require("./runtime_env-6396e1eb.js"),_=require("./object_url-88047ee2.js"),p=require("./aiws_ext.cjs"),E=require("./aiws_bind-4fe77108.js"),i=require("./nfsp.cjs"),n=require("./krpc_client-26c2dc8b.js");require("./content.cjs");const A=e.createSDKModule("node"),S=A.buckyos,T=A.initBuckyOS,a=A.getBuckyOSConfig,x=A.getRuntimeType,O=A.getAppId,C=A.getAppDid,I=A.getAppInstanceId,c=A.getAppDataDir,l=A.getKEventClient,R=A.createEventReader,d=A.create_event_reader,D=A.subscribeKEvent,N=A.attachEvent,u=A.removeEvent,M=A.getAccountInfo,P=A.getCurrentIdentity,L=A.loginByPassword,g=A.loginByBrowserSSO,m=A.loginByRuntimeSession,H=A.login,U=A.logout,k=A.getAppSetting,B=A.setAppSetting,K=A.getCurrentWalletUser,y=A.resolve_did,F=A.walletSignWithActiveDid,W=A.openExternalUrl,f=A.getZoneHostName,w=A.getZoneServiceURL,v=A.getServiceRpcClient,V=A.getVerifyHubClient,G=A.getSystemConfigClient,h=A.getTaskManagerClient,b=A.getWorkflowClient;exports.ACCESS_DENIED_ERROR_CODE=e.ACCESS_DENIED_ERROR_CODE,exports.AGENT_DELEGATE_TASK_SCHEMA_ID=e.AGENT_DELEGATE_TASK_SCHEMA_ID,exports.AICC_AI_METHODS=e.AICC_AI_METHODS,exports.AICC_COMPUTE_TASK_SCHEMA_ID=e.AICC_COMPUTE_TASK_SCHEMA_ID,exports.AICC_CORE_METHODS=e.AICC_CORE_METHODS,exports.AICC_EXECUTION_MODES=e.AICC_EXECUTION_MODES,exports.AICC_FEATURES=e.AICC_FEATURES,exports.AICC_MANAGEMENT_METHODS=e.AICC_MANAGEMENT_METHODS,exports.AICC_METHODS=e.AICC_METHODS,exports.AICC_POLICY_REFUSAL_CODES=e.AICC_POLICY_REFUSAL_CODES,exports.AICC_QUOTA_METHODS=e.AICC_QUOTA_METHODS,exports.AICC_SERVICE_SERVICE_NAME=e.AICC_SERVICE_SERVICE_NAME,exports.AICC_SERVICE_SERVICE_PORT=e.AICC_SERVICE_SERVICE_PORT,exports.AICC_SERVICE_UNIQUE_ID=e.AICC_SERVICE_UNIQUE_ID,exports.ANONYMOUS_IDENTITY=e.ANONYMOUS_IDENTITY,exports.APP_INSTALL_TASK_SCHEMA_ID=e.APP_INSTALL_TASK_SCHEMA_ID,exports.APP_LOGIN_EXCHANGE_METHOD=e.APP_LOGIN_EXCHANGE_METHOD,exports.APP_LOGIN_ISSUE_METHOD=e.APP_LOGIN_ISSUE_METHOD,exports.APP_LOGIN_SETTINGS_GET_METHOD=e.APP_LOGIN_SETTINGS_GET_METHOD,exports.APP_LOGIN_SETTINGS_SET_METHOD=e.APP_LOGIN_SETTINGS_SET_METHOD,exports.APP_START_TASK_SCHEMA_ID=e.APP_START_TASK_SCHEMA_ID,exports.APP_UNINSTALL_TASK_SCHEMA_ID=e.APP_UNINSTALL_TASK_SCHEMA_ID,exports.APP_UPDATE_BATCH_TASK_SCHEMA_ID=e.APP_UPDATE_BATCH_TASK_SCHEMA_ID,exports.APP_UPDATE_TASK_SCHEMA_ID=e.APP_UPDATE_TASK_SCHEMA_ID,exports.AiccClient=e.AiccClient,exports.AudioError=e.AudioError,exports.BNS_DNS_TXT_DEFAULT_TTL=e.BNS_DNS_TXT_DEFAULT_TTL,exports.BNS_DNS_TXT_DOC_TYPE=e.BNS_DNS_TXT_DOC_TYPE,exports.BNS_EVM_DEFAULT_GAS_LIMIT=e.BNS_EVM_DEFAULT_GAS_LIMIT,exports.BNS_EVM_DEFAULT_MAX_FEE_PER_GAS=e.BNS_EVM_DEFAULT_MAX_FEE_PER_GAS,exports.BNS_EVM_DEFAULT_MAX_PRIORITY_FEE_PER_GAS=e.BNS_EVM_DEFAULT_MAX_PRIORITY_FEE_PER_GAS,exports.BNS_MAX_INLINE_DOCUMENT_BYTES=e.BNS_MAX_INLINE_DOCUMENT_BYTES,exports.BNS_PUBLISH_DOCUMENT_ABI=e.BNS_PUBLISH_DOCUMENT_ABI,exports.BS_SERVICE_TASK_MANAGER=e.BS_SERVICE_TASK_MANAGER,exports.BS_SERVICE_VERIFY_HUB=e.BS_SERVICE_VERIFY_HUB,exports.BnsEvmTxBuilder=e.BnsEvmTxBuilder,exports.BnsEvmTxError=e.BnsEvmTxError,exports.BnsTxExecutor=e.BnsTxExecutor,exports.BnsTxExecutorError=e.BnsTxExecutorError,exports.BuckyOSSDK=e.BuckyOSSDK,exports.COMPUTER_ELEMENT_ACTIONS=e.COMPUTER_ELEMENT_ACTIONS,exports.COMPUTER_ELEMENT_STATES=e.COMPUTER_ELEMENT_STATES,exports.COMPUTER_ROLES=e.COMPUTER_ROLES,exports.COMPUTER_SEMANTIC_FORMAT=e.COMPUTER_SEMANTIC_FORMAT,exports.CONTACT_CHANGED_EVENT_PATTERN=e.CONTACT_CHANGED_EVENT_PATTERN,exports.CONTACT_TAG_HOMESTATION_FOLLOWING=e.CONTACT_TAG_HOMESTATION_FOLLOWING,exports.CONTACT_TAG_ZONE_AGENT=e.CONTACT_TAG_ZONE_AGENT,exports.CONTACT_TAG_ZONE_USER=e.CONTACT_TAG_ZONE_USER,exports.DEFAULT_CHILD_CONTROL_POLICY=e.DEFAULT_CHILD_CONTROL_POLICY,exports.DEFAULT_JUMP_BASE_URL=e.DEFAULT_JUMP_BASE_URL,exports.DENY_REASONS=e.DENY_REASONS,exports.DOWNLOAD_TASK_SCHEMA_ID=e.DOWNLOAD_TASK_SCHEMA_ID,exports.EXTERNAL_PRINCIPAL_CLAIM=e.EXTERNAL_PRINCIPAL_CLAIM,exports.ExecutorClient=e.ExecutorClient,exports.ExecutorCommandStream=e.ExecutorCommandStream,exports.ExecutorStreamError=e.ExecutorStreamError,exports.FRIEND_INTENT=e.FRIEND_INTENT,exports.HUMAN_APPROVAL_SCHEMA_ID=e.HUMAN_APPROVAL_SCHEMA_ID,exports.HUMAN_INPUT_TASK_SCHEMA_ID=e.HUMAN_INPUT_TASK_SCHEMA_ID,exports.JUMP_ACTION_PATHS=e.JUMP_ACTION_PATHS,exports.KEventClient=e.KEventClient,exports.KEventReader=e.KEventReader,exports.MsgCenterClient=e.MsgCenterClient,exports.MsgQueueClient=e.MsgQueueClient,exports.NOTIFY_ACTION_ANSWER=e.NOTIFY_ACTION_ANSWER,exports.NOTIFY_ACTION_DISMISS=e.NOTIFY_ACTION_DISMISS,exports.NOTIFY_CHOICE_CONTROL_ID=e.NOTIFY_CHOICE_CONTROL_ID,exports.NOTIFY_DATA_VERSION=e.NOTIFY_DATA_VERSION,exports.NOTIFY_DELIVERED_INTENT=e.NOTIFY_DELIVERED_INTENT,exports.NOTIFY_ERR_DISABLED=e.NOTIFY_ERR_DISABLED,exports.NOTIFY_ERR_NOT_DECLARED=e.NOTIFY_ERR_NOT_DECLARED,exports.NOTIFY_INTENT=e.NOTIFY_INTENT,exports.NOTIFY_LINK_PATH=e.NOTIFY_LINK_PATH,exports.NOTIFY_SESSION_PREFIX=e.NOTIFY_SESSION_PREFIX,exports.NOTIFY_TEXT_CONTROL_ID=e.NOTIFY_TEXT_CONTROL_ID,exports.OPENDAN_ASYNC_TOOL_TASK_SCHEMA_ID=e.OPENDAN_ASYNC_TOOL_TASK_SCHEMA_ID,exports.OPENDAN_COMMAND_TASK_SCHEMA_ID=e.OPENDAN_COMMAND_TASK_SCHEMA_ID,exports.RAW_TASK_SCHEMA_ID=e.RAW_TASK_SCHEMA_ID,exports.RepoClient=e.RepoClient,exports.RuntimeType=e.RuntimeType,exports.SCHEDULER_DISPATCH_THUNK_TASK_SCHEMA_ID=e.SCHEDULER_DISPATCH_THUNK_TASK_SCHEMA_ID,exports.StorageDomain=e.StorageDomain,exports.SystemConfigClient=e.SystemConfigClient,exports.TASK_ERR_ALREADY_COMPLETED=e.TASK_ERR_ALREADY_COMPLETED,exports.TASK_ERR_CONTROL_ALREADY_PENDING=e.TASK_ERR_CONTROL_ALREADY_PENDING,exports.TASK_ERR_CONTROL_NOT_AVAILABLE=e.TASK_ERR_CONTROL_NOT_AVAILABLE,exports.TASK_ERR_IDEMPOTENCY_CONFLICT=e.TASK_ERR_IDEMPOTENCY_CONFLICT,exports.TASK_ERR_INPUT_SCHEMA_MISMATCH=e.TASK_ERR_INPUT_SCHEMA_MISMATCH,exports.TASK_ERR_INVALID_PHASE=e.TASK_ERR_INVALID_PHASE,exports.TASK_ERR_NOT_FOUND=e.TASK_ERR_NOT_FOUND,exports.TASK_ERR_PERMISSION_DENIED=e.TASK_ERR_PERMISSION_DENIED,exports.TASK_ERR_RESULT_SCHEMA_MISMATCH=e.TASK_ERR_RESULT_SCHEMA_MISMATCH,exports.TASK_ERR_REVISION_CONFLICT=e.TASK_ERR_REVISION_CONFLICT,exports.TASK_ERR_SCHEMA_NOT_FOUND=e.TASK_ERR_SCHEMA_NOT_FOUND,exports.TASK_ERR_STALE_RUNNER_EPOCH=e.TASK_ERR_STALE_RUNNER_EPOCH,exports.TASK_MANAGER_SERVICE_NAME=e.TASK_MANAGER_SERVICE_NAME,exports.TASK_MANAGER_SERVICE_PORT=e.TASK_MANAGER_SERVICE_PORT,exports.TASK_MANAGER_SERVICE_UNIQUE_ID=e.TASK_MANAGER_SERVICE_UNIQUE_ID,exports.TASK_MGR_ERROR_CODES=e.TASK_MGR_ERROR_CODES,exports.TASK_POLICY_PRESET_COLLABORATIVE_TREE_V1=e.TASK_POLICY_PRESET_COLLABORATIVE_TREE_V1,exports.TOOL_EXEC_BASH_TASK_SCHEMA_ID=e.TOOL_EXEC_BASH_TASK_SCHEMA_ID,exports.TaskAction=e.TaskAction,exports.TaskControlAction=e.TaskControlAction,exports.TaskDataScope=e.TaskDataScope,exports.TaskEventType=e.TaskEventType,exports.TaskExecutorKind=e.TaskExecutorKind,exports.TaskGrantScope=e.TaskGrantScope,exports.TaskManagerClient=e.TaskManagerClient,exports.TaskOutcome=e.TaskOutcome,exports.TaskPhase=e.TaskPhase,exports.TaskWaitReasonKind=e.TaskWaitReasonKind,exports.USER_GROUP_REF_PREFIX=e.USER_GROUP_REF_PREFIX,exports.USER_TYPE_GROUP_REF_PREFIX=e.USER_TYPE_GROUP_REF_PREFIX,exports.VerifyHubClient=e.VerifyHubClient,exports.WEB3_BRIDGE_HOST=e.WEB3_BRIDGE_HOST,exports.WELL_KNOWN_CONTACT_TAGS=e.WELL_KNOWN_CONTACT_TAGS,exports.WORKFLOW_EXECUTE_RPC_TASK_SCHEMA_ID=e.WORKFLOW_EXECUTE_RPC_TASK_SCHEMA_ID,exports.WORKFLOW_MAP_SHARD_TASK_SCHEMA_ID=e.WORKFLOW_MAP_SHARD_TASK_SCHEMA_ID,exports.WORKFLOW_RUN_TARGET_TASK_SCHEMA_ID=e.WORKFLOW_RUN_TARGET_TASK_SCHEMA_ID,exports.WORKFLOW_RUN_TREE_TASK_SCHEMA_ID=e.WORKFLOW_RUN_TREE_TASK_SCHEMA_ID,exports.WORKFLOW_SCHEDULE_TASK_SCHEMA_ID=e.WORKFLOW_SCHEDULE_TASK_SCHEMA_ID,exports.WORKFLOW_SEND_MESSAGE_TASK_SCHEMA_ID=e.WORKFLOW_SEND_MESSAGE_TASK_SCHEMA_ID,exports.WORKFLOW_SERVICE_NAME=e.WORKFLOW_SERVICE_NAME,exports.WORKFLOW_STEP_TASK_SCHEMA_ID=e.WORKFLOW_STEP_TASK_SCHEMA_ID,exports.WORKFLOW_THUNK_TASK_SCHEMA_ID=e.WORKFLOW_THUNK_TASK_SCHEMA_ID,exports.WorkflowClient=e.WorkflowClient,exports.WorkflowDefinitionStatus=e.WorkflowDefinitionStatus,exports.WorkflowErrorCode=e.WorkflowErrorCode,exports.WorkflowHumanActionKind=e.WorkflowHumanActionKind,exports.WorkflowJoinMode=e.WorkflowJoinMode,exports.WorkflowNodeRunState=e.WorkflowNodeRunState,exports.WorkflowOutputMode=e.WorkflowOutputMode,exports.WorkflowRequestError=e.WorkflowRequestError,exports.WorkflowRetryFallback=e.WorkflowRetryFallback,exports.WorkflowRunStatus=e.WorkflowRunStatus,exports.WorkflowScheduledTaskFireStatus=e.WorkflowScheduledTaskFireStatus,exports.WorkflowScheduledTaskMisfirePolicy=e.WorkflowScheduledTaskMisfirePolicy,exports.WorkflowScheduledTaskStatus=e.WorkflowScheduledTaskStatus,exports.WorkflowStepType=e.WorkflowStepType,exports.ZONE_USER_TYPES=e.ZONE_USER_TYPES,exports.accessDenialOf=e.accessDenialOf,exports.acquireBackgroundAudio=e.acquireBackgroundAudio,exports.aiccMessageFirstText=e.aiccMessageFirstText,exports.aiccMessageTextContent=e.aiccMessageTextContent,exports.aiccRefusalOf=e.aiccRefusalOf,exports.aiccTextMessage=e.aiccTextMessage,exports.answerNotify=e.answerNotify,exports.appDidFromId=e.appDidFromId,exports.appIdFromDid=e.appIdFromDid,exports.audioCapabilities=e.audioCapabilities,exports.baselineTaskControlProfile=e.baselineTaskControlProfile,exports.bns=e.bns_client,exports.bucket=e.bucket_client,exports.buildJumpUrl=e.buildJumpUrl,exports.cellValue=e.cellValue,exports.commitNotifyAnswer=e.commitNotifyAnswer,exports.commitOps=e.commitOps,exports.completeAppAccessTokenLogin=e.completeAppAccessTokenLogin,exports.contactTagApp=e.contactTagApp,exports.contactTagKind=e.contactTagKind,exports.createAppInstanceId=e.createAppInstanceId,exports.createSDKModule=e.createSDKModule,exports.createZoneClients=e.createZoneClients,exports.decisionRequirements=e.decisionRequirements,exports.decodeBnsPublishDocumentCalldata=e.decodeBnsPublishDocumentCalldata,exports.deleteRecording=e.deleteRecording,exports.encodeExecutorControl=e.encodeExecutorControl,exports.fieldAdd=e.fieldAdd,exports.fieldNamed=e.fieldNamed,exports.getActiveRuntimeType=e.getActiveRuntimeType,exports.getActiveSessionToken=e.getActiveSessionToken,exports.getActiveZoneGatewayOrigin=e.getActiveZoneGatewayOrigin,exports.getCurrentWalletUserFromHost=e.getCurrentWalletUserFromHost,exports.getRecording=e.getRecording,exports.getRecordingStatus=e.getRecordingStatus,exports.identityAllows=e.identityAllows,exports.identityKey=e.identityKey,exports.inputPrompt=e.inputPrompt,exports.isAiccAiMethod=e.isAiccAiMethod,exports.isExternalPrincipal=e.isExternalPrincipal,exports.isNotifyClosed=e.isNotifyClosed,exports.isTerminalTaskPhase=e.isTerminalTaskPhase,exports.isUserGroupRefTag=e.isUserGroupRefTag,exports.issueAppCustomerLink=e.issueAppCustomerLink,exports.issueAppLoginCode=e.issueAppLoginCode,exports.listRecordings=e.listRecordings,exports.loginByAppAccessToken=e.loginByAppAccessToken,exports.mailboxAddress=e.mailboxAddress,exports.mailboxResource=e.mailboxResource,exports.markdownToBlocks=e.markdownToBlocks,exports.move=e.move,exports.msgMachineData=e.msgMachineData,exports.ndm=e.ndm_client,exports.ndm_proxy=e.ndm_proxy,exports.ndn=e.ndn,exports.normalizeZoneHostname=e.normalizeZoneHostname,exports.notifyAnswerToTaskResult=e.notifyAnswerToTaskResult,exports.notifyCategoryFromSessionId=e.notifyCategoryFromSessionId,exports.notifyCategorySessionId=e.notifyCategorySessionId,exports.notifyMessageData=e.notifyMessageData,exports.notifyUrl=e.notifyUrl,exports.onRecordingState=e.onRecordingState,exports.optionAdd=e.optionAdd,exports.parseAccessDenial=e.parseAccessDenial,exports.parseAppId=e.parseAppId,exports.parseAppInstanceId=e.parseAppInstanceId,exports.parseAppLoginExchangeResult=e.parseAppLoginExchangeResult,exports.parseCurrentIdentity=e.parseCurrentIdentity,exports.parseSessionTokenClaims=e.parseSessionTokenClaims,exports.parseVideoPrompt=e.parseVideoPrompt,exports.parseZoneUserType=e.parseZoneUserType,exports.pauseRecording=e.pauseRecording,exports.promptOptions=e.promptOptions,exports.randomAppLoginNonce=e.randomAppLoginNonce,exports.rename=e.rename,exports.resolveDidFromHost=e.resolveDidFromHost,exports.resumeRecording=e.resumeRecording,exports.setProps=e.setProps,exports.sn=e.sn_client,exports.startRecording=e.startRecording,exports.stopRecording=e.stopRecording,exports.tableDelete=e.tableDelete,exports.tableInsert=e.tableInsert,exports.tableSet=e.tableSet,exports.taskMgrErrorCode=e.taskMgrErrorCode,exports.taskMgrTaskEventPath=e.taskMgrTaskEventPath,exports.taskMgrTreeEventPath=e.taskMgrTreeEventPath,exports.textAppend=e.textAppend,exports.textDeleteBlocks=e.textDeleteBlocks,exports.textReplaceBlock=e.textReplaceBlock,exports.validateAiccMessage=e.validateAiccMessage,exports.validateDecisionAnswers=e.validateDecisionAnswers,exports.validateDecisionRequest=e.validateDecisionRequest,exports.validateNotifyAnswer=e.validateNotifyAnswer,exports.validateVideoEdit=e.validateVideoEdit,exports.validateVideoGeneration=e.validateVideoGeneration,exports.validateVideoOutput=e.validateVideoOutput,exports.videoGenerationRequirement=e.videoGenerationRequirement,exports.waitNotify=e.waitNotify,exports.walletUserHasSnAccount=e.walletUserHasSnAccount,exports.zoneActionUrl=e.zoneActionUrl,exports.hashPassword=t.hashPassword,exports.DID_OBJECT_SERVICE_ID=o.DID_OBJECT_SERVICE_ID,exports.DID_OBJECT_SERVICE_TYPE=o.DID_OBJECT_SERVICE_TYPE,exports.NODE_IDENTITY_SCHEMA_V2=o.NODE_IDENTITY_SCHEMA_V2,exports.getDidIdentifier=o.getDidIdentifier,exports.getDidMethod=o.getDidMethod,exports.isBuckyOSAgentDocument=o.isBuckyOSAgentDocument,exports.isBuckyOSDIDObjectCard=o.isBuckyOSDIDObjectCard,exports.isBuckyOSDeviceDocument=o.isBuckyOSDeviceDocument,exports.isBuckyOSDeviceMiniDocument=o.isBuckyOSDeviceMiniDocument,exports.isBuckyOSLocalNodeIdentityConfig=o.isBuckyOSLocalNodeIdentityConfig,exports.isBuckyOSOwnerDocument=o.isBuckyOSOwnerDocument,exports.isBuckyOSZoneBootDocument=o.isBuckyOSZoneBootDocument,exports.isBuckyOSZoneConfig=o.isBuckyOSZoneConfig,exports.isBuckyOSZoneDocument=o.isBuckyOSZoneDocument,exports.isW3CDIDDocumentBase=o.isW3CDIDDocumentBase,exports.namelib=o.namelib,exports.parseBuckyOSDIDDocument=o.parseBuckyOSDIDDocument,exports.parseBuckyOSDeviceMiniDocument=o.parseBuckyOSDeviceMiniDocument,exports.parseBuckyOSOwnerDocument=o.parseBuckyOSOwnerDocument,exports.parseW3CDIDDocumentBase=o.parseW3CDIDDocumentBase,exports.APP_OPEN_ACTION=r.APP_OPEN_ACTION,exports.appWindowId=r.appWindowId,exports.formatAppOpenUrl=r.formatAppOpenUrl,exports.isAppPath=r.isAppPath,exports.parseAppOpenUrl=r.parseAppOpenUrl,exports.parseAppWindowId=r.parseAppWindowId,exports.parseBuckyosUrl=r.parseBuckyosUrl,exports.parseSystemOpenApp=r.parseSystemOpenApp,exports.readAppOpenRequest=r.readAppOpenRequest,exports.readAppWindowDeclaration=r.readAppWindowDeclaration,exports.resolveOpenApp=r.resolveOpenApp,exports.systemOpenAppUrl=r.systemOpenAppUrl,exports.getBuckyApi=s.getBuckyApi,exports.getRuntimeEnvironment=s.getRuntimeEnvironment,exports.objectUrl=_.object_url,exports.AIWS_BUILD_STATE_FILE=p.AIWS_BUILD_STATE_FILE,exports.AIWS_COMPONENT_FILE=p.AIWS_COMPONENT_FILE,exports.AIWS_COMPOSITION_FILE=p.AIWS_COMPOSITION_FILE,exports.AIWS_DECLARATIVE_API_VERSION=p.AIWS_DECLARATIVE_API_VERSION,exports.AIWS_HTML_API_VERSION=p.AIWS_HTML_API_VERSION,exports.AIWS_MANIFEST_FILE=p.AIWS_MANIFEST_FILE,exports.AIWS_MANIFEST_VERSION=p.AIWS_MANIFEST_VERSION,exports.AIWS_MAX_INLINE_BYTES=p.AIWS_MAX_INLINE_BYTES,exports.AIWS_MAX_SOURCE_FILES=p.AIWS_MAX_SOURCE_FILES,exports.AIWS_TEMPLATE_FORMAT=p.AIWS_TEMPLATE_FORMAT,exports.AiwsSourceError=p.AiwsSourceError,exports.aiwsContentDigest=p.aiwsContentDigest,exports.aiwsTemplateDigest=p.aiwsTemplateDigest,exports.buildControl=p.buildControl,exports.buildFiles=p.buildFiles,exports.checkComponent=p.checkComponent,exports.checkComposition=p.checkComposition,exports.checkDeclarative=p.checkDeclarative,exports.collectSources=p.collectSources,exports.compatManifest=p.compatManifest,exports.controlSkeleton=p.controlSkeleton,exports.createControlSource=p.createControlSource,exports.ensureFolder=p.ensureFolder,exports.exportBundle=p.exportBundle,exports.findFolder=p.findFolder,exports.folderName=p.folderName,exports.hasControlSource=p.hasControlSource,exports.homeControlDir=p.homeControlDir,exports.homeExportDir=p.homeExportDir,exports.isSourcePath=p.isSourcePath,exports.joinPath=p.joinPath,exports.packBuildFiles=p.packBuildFiles,exports.pullControl=p.pullControl,exports.readBuildState=p.readBuildState,exports.slotCells=p.slotCells,exports.sourceStateKey=p.sourceStateKey,exports.sourcesDigest=p.sourcesDigest,exports.sourcesKey=p.sourcesKey,exports.templateDir=p.templateDir,exports.unbuiltChanges=p.unbuiltChanges,exports.verifyBundle=p.verifyBundle,exports.watchControl=p.watchControl,exports.writeBuildState=p.writeBuildState,exports.writeHomeFile=p.writeHomeFile,exports.writeSourceFile=p.writeSourceFile,exports.AIWS_PROTOCOL_VERSION=E.AIWS_PROTOCOL_VERSION,exports.AiwsFailure=E.AiwsFailure,exports.BindFailure=E.BindFailure,exports.CALENDAR_SCHEMA_ID=E.CALENDAR_SCHEMA_ID,exports.RRuleError=E.RRuleError,exports.SCHEDULE_CALENDAR_ID=E.SCHEDULE_CALENDAR_ID,exports.SCHEDULE_SURFACE_ID=E.SCHEDULE_SURFACE_ID,exports.SCHEDULE_TODO_ID=E.SCHEDULE_TODO_ID,exports.SCHEDULE_WORKSPACE_NAME=E.SCHEDULE_WORKSPACE_NAME,exports.STANDARD_SCHEMAS=E.STANDARD_SCHEMAS,exports.ScheduleClient=E.ScheduleClient,exports.TODO_DONE=E.TODO_DONE,exports.TODO_SCHEMA_ID=E.TODO_SCHEMA_ID,exports.WEEKDAYS=E.WEEKDAYS,exports.aiwsTarget=E.aiwsTarget,exports.bindingAccepts=E.bindingAccepts,exports.bindingsPayload=E.bindingsPayload,exports.boundIds=E.boundIds,exports.calendarFields=E.calendarFields,exports.calendarOccurrences=E.calendarOccurrences,exports.canonicalOriginal=E.canonicalOriginal,exports.checkBindResult=E.checkBindResult,exports.checkBindSteps=E.checkBindSteps,exports.commitWithParts=E.commitWithParts,exports.createOps=E.createOps,exports.dateOf=E.dateOf,exports.dayNumber=E.dayNumber,exports.dayOf=E.dayOf,exports.daysInMonth=E.daysInMonth,exports.defaultOnBind=E.defaultOnBind,exports.defaultOnInit=E.defaultOnInit,exports.deleteRecordsOp=E.deleteRecordsOp,exports.describeRRule=E.describeRRule,exports.eventAddOps=E.eventAddOps,exports.eventDeleteOps=E.eventDeleteOps,exports.eventEditOps=E.eventEditOps,exports.eventPostponeOps=E.eventPostponeOps,exports.eventSkipOps=E.eventSkipOps,exports.expandSeries=E.expandSeries,exports.findOccurrence=E.findOccurrence,exports.formatRRule=E.formatRRule,exports.insertRecordOp=E.insertRecordOp,exports.isDate=E.isDate,exports.isLeap=E.isLeap,exports.isOrderKey=E.isOrderKey,exports.isTimeZone=E.isTimeZone,exports.localDate=E.localDate,exports.localDay=E.localDay,exports.newRecordId=E.newRecordId,exports.noUiDialogs=E.noUiDialogs,exports.occurrenceId=E.occurrenceId,exports.orderAt=E.orderAt,exports.orderKeyBetween=E.orderKeyBetween,exports.orderKeysBetween=E.orderKeysBetween,exports.originalOf=E.originalOf,exports.parseOccurrenceId=E.parseOccurrenceId,exports.parseRRule=E.parseRRule,exports.recurrencePresets=E.recurrencePresets,exports.resolveBindings=E.resolveBindings,exports.scheduleBoardOps=E.scheduleBoardOps,exports.scheduleLabel=E.scheduleLabel,exports.seriesStartOf=E.seriesStartOf,exports.setValuesOps=E.setValuesOps,exports.sortTodos=E.sortTodos,exports.standardTableOp=E.standardTableOp,exports.stepsOnBind=E.stepsOnBind,exports.todoAddOps=E.todoAddOps,exports.todoCompleteOps=E.todoCompleteOps,exports.todoFields=E.todoFields,exports.todoItem=E.todoItem,exports.todoMoveOps=E.todoMoveOps,exports.todoUpdateOps=E.todoUpdateOps,exports.viewerTimeZone=E.viewerTimeZone,exports.weekdayOf=E.weekdayOf,exports.ymdOf=E.ymdOf,exports.zonedParts=E.zonedParts,exports.zonedToUtc=E.zonedToUtc,exports.NfspClient=i.NfspClient,exports.RPCError=n.RPCError,exports.attachEvent=N,exports.buckyos=S,exports.createEventReader=R,exports.create_event_reader=d,exports.getAccountInfo=M,exports.getAppDataDir=c,exports.getAppDid=C,exports.getAppId=O,exports.getAppInstanceId=I,exports.getAppSetting=k,exports.getBuckyOSConfig=a,exports.getCurrentIdentity=P,exports.getCurrentWalletUser=K,exports.getKEventClient=l,exports.getRuntimeType=x,exports.getServiceRpcClient=v,exports.getSystemConfigClient=G,exports.getTaskManagerClient=h,exports.getVerifyHubClient=V,exports.getWorkflowClient=b,exports.getZoneHostName=f,exports.getZoneServiceURL=w,exports.initBuckyOS=T,exports.login=H,exports.loginByBrowserSSO=g,exports.loginByPassword=L,exports.loginByRuntimeSession=m,exports.logout=U,exports.openExternalUrl=W,exports.removeEvent=u,exports.resolve_did=y,exports.setAppSetting=B,exports.subscribeKEvent=D,exports.walletSignWithActiveDid=F;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./aiws_write-825bb6ba.js"),t=require("./account-b12ac6b9.js"),o=require("./ndn_types-5b138882.js"),r=require("./open-app.cjs"),s=require("./user_preferences-7288c989.js"),p=require("./object_url-88047ee2.js"),_=require("./aiws_ext.cjs"),E=require("./aiws_bind-4fe77108.js"),n=require("./nfsp.cjs"),i=require("./krpc_client-26c2dc8b.js");require("./content.cjs");const A=e.createSDKModule("node"),S=A.buckyos,T=A.initBuckyOS,a=A.getBuckyOSConfig,x=A.getRuntimeType,O=A.getAppId,C=A.getAppDid,I=A.getAppInstanceId,c=A.getAppDataDir,l=A.getKEventClient,R=A.createEventReader,d=A.create_event_reader,D=A.subscribeKEvent,N=A.attachEvent,u=A.removeEvent,M=A.getAccountInfo,P=A.getCurrentIdentity,L=A.getUserPreferences,g=A.onUserPreferencesChanged,m=A.loginByPassword,U=A.loginByBrowserSSO,H=A.loginByRuntimeSession,k=A.login,B=A.logout,K=A.getAppSetting,y=A.setAppSetting,F=A.getCurrentWalletUser,f=A.resolve_did,W=A.walletSignWithActiveDid,w=A.openExternalUrl,v=A.getZoneHostName,V=A.getZoneServiceURL,G=A.getServiceRpcClient,h=A.getVerifyHubClient,b=A.getSystemConfigClient,Y=A.getTaskManagerClient,X=A.getWorkflowClient;exports.ACCESS_DENIED_ERROR_CODE=e.ACCESS_DENIED_ERROR_CODE,exports.AGENT_DELEGATE_TASK_SCHEMA_ID=e.AGENT_DELEGATE_TASK_SCHEMA_ID,exports.AICC_AI_METHODS=e.AICC_AI_METHODS,exports.AICC_COMPUTE_TASK_SCHEMA_ID=e.AICC_COMPUTE_TASK_SCHEMA_ID,exports.AICC_CORE_METHODS=e.AICC_CORE_METHODS,exports.AICC_EXECUTION_MODES=e.AICC_EXECUTION_MODES,exports.AICC_FEATURES=e.AICC_FEATURES,exports.AICC_MANAGEMENT_METHODS=e.AICC_MANAGEMENT_METHODS,exports.AICC_METHODS=e.AICC_METHODS,exports.AICC_POLICY_REFUSAL_CODES=e.AICC_POLICY_REFUSAL_CODES,exports.AICC_QUOTA_METHODS=e.AICC_QUOTA_METHODS,exports.AICC_SERVICE_SERVICE_NAME=e.AICC_SERVICE_SERVICE_NAME,exports.AICC_SERVICE_SERVICE_PORT=e.AICC_SERVICE_SERVICE_PORT,exports.AICC_SERVICE_UNIQUE_ID=e.AICC_SERVICE_UNIQUE_ID,exports.ANONYMOUS_IDENTITY=e.ANONYMOUS_IDENTITY,exports.APP_INSTALL_TASK_SCHEMA_ID=e.APP_INSTALL_TASK_SCHEMA_ID,exports.APP_LOGIN_EXCHANGE_METHOD=e.APP_LOGIN_EXCHANGE_METHOD,exports.APP_LOGIN_ISSUE_METHOD=e.APP_LOGIN_ISSUE_METHOD,exports.APP_LOGIN_SETTINGS_GET_METHOD=e.APP_LOGIN_SETTINGS_GET_METHOD,exports.APP_LOGIN_SETTINGS_SET_METHOD=e.APP_LOGIN_SETTINGS_SET_METHOD,exports.APP_START_TASK_SCHEMA_ID=e.APP_START_TASK_SCHEMA_ID,exports.APP_UNINSTALL_TASK_SCHEMA_ID=e.APP_UNINSTALL_TASK_SCHEMA_ID,exports.APP_UPDATE_BATCH_TASK_SCHEMA_ID=e.APP_UPDATE_BATCH_TASK_SCHEMA_ID,exports.APP_UPDATE_TASK_SCHEMA_ID=e.APP_UPDATE_TASK_SCHEMA_ID,exports.AiccClient=e.AiccClient,exports.AudioError=e.AudioError,exports.BNS_DNS_TXT_DEFAULT_TTL=e.BNS_DNS_TXT_DEFAULT_TTL,exports.BNS_DNS_TXT_DOC_TYPE=e.BNS_DNS_TXT_DOC_TYPE,exports.BNS_EVM_DEFAULT_GAS_LIMIT=e.BNS_EVM_DEFAULT_GAS_LIMIT,exports.BNS_EVM_DEFAULT_MAX_FEE_PER_GAS=e.BNS_EVM_DEFAULT_MAX_FEE_PER_GAS,exports.BNS_EVM_DEFAULT_MAX_PRIORITY_FEE_PER_GAS=e.BNS_EVM_DEFAULT_MAX_PRIORITY_FEE_PER_GAS,exports.BNS_MAX_INLINE_DOCUMENT_BYTES=e.BNS_MAX_INLINE_DOCUMENT_BYTES,exports.BNS_PUBLISH_DOCUMENT_ABI=e.BNS_PUBLISH_DOCUMENT_ABI,exports.BS_SERVICE_TASK_MANAGER=e.BS_SERVICE_TASK_MANAGER,exports.BS_SERVICE_VERIFY_HUB=e.BS_SERVICE_VERIFY_HUB,exports.BnsEvmTxBuilder=e.BnsEvmTxBuilder,exports.BnsEvmTxError=e.BnsEvmTxError,exports.BnsTxExecutor=e.BnsTxExecutor,exports.BnsTxExecutorError=e.BnsTxExecutorError,exports.BuckyOSSDK=e.BuckyOSSDK,exports.COMPUTER_ELEMENT_ACTIONS=e.COMPUTER_ELEMENT_ACTIONS,exports.COMPUTER_ELEMENT_STATES=e.COMPUTER_ELEMENT_STATES,exports.COMPUTER_ROLES=e.COMPUTER_ROLES,exports.COMPUTER_SEMANTIC_FORMAT=e.COMPUTER_SEMANTIC_FORMAT,exports.CONTACT_CHANGED_EVENT_PATTERN=e.CONTACT_CHANGED_EVENT_PATTERN,exports.CONTACT_TAG_HOMESTATION_FOLLOWING=e.CONTACT_TAG_HOMESTATION_FOLLOWING,exports.CONTACT_TAG_ZONE_AGENT=e.CONTACT_TAG_ZONE_AGENT,exports.CONTACT_TAG_ZONE_USER=e.CONTACT_TAG_ZONE_USER,exports.DEFAULT_CHILD_CONTROL_POLICY=e.DEFAULT_CHILD_CONTROL_POLICY,exports.DEFAULT_JUMP_BASE_URL=e.DEFAULT_JUMP_BASE_URL,exports.DENY_REASONS=e.DENY_REASONS,exports.DOWNLOAD_TASK_SCHEMA_ID=e.DOWNLOAD_TASK_SCHEMA_ID,exports.EXTERNAL_PRINCIPAL_CLAIM=e.EXTERNAL_PRINCIPAL_CLAIM,exports.ExecutorClient=e.ExecutorClient,exports.ExecutorCommandStream=e.ExecutorCommandStream,exports.ExecutorStreamError=e.ExecutorStreamError,exports.FRIEND_INTENT=e.FRIEND_INTENT,exports.HUMAN_APPROVAL_SCHEMA_ID=e.HUMAN_APPROVAL_SCHEMA_ID,exports.HUMAN_INPUT_TASK_SCHEMA_ID=e.HUMAN_INPUT_TASK_SCHEMA_ID,exports.JUMP_ACTION_PATHS=e.JUMP_ACTION_PATHS,exports.KEventClient=e.KEventClient,exports.KEventReader=e.KEventReader,exports.MsgCenterClient=e.MsgCenterClient,exports.MsgQueueClient=e.MsgQueueClient,exports.NOTIFY_ACTION_ANSWER=e.NOTIFY_ACTION_ANSWER,exports.NOTIFY_ACTION_DISMISS=e.NOTIFY_ACTION_DISMISS,exports.NOTIFY_CHOICE_CONTROL_ID=e.NOTIFY_CHOICE_CONTROL_ID,exports.NOTIFY_DATA_VERSION=e.NOTIFY_DATA_VERSION,exports.NOTIFY_DELIVERED_INTENT=e.NOTIFY_DELIVERED_INTENT,exports.NOTIFY_ERR_DISABLED=e.NOTIFY_ERR_DISABLED,exports.NOTIFY_ERR_NOT_DECLARED=e.NOTIFY_ERR_NOT_DECLARED,exports.NOTIFY_INTENT=e.NOTIFY_INTENT,exports.NOTIFY_LINK_PATH=e.NOTIFY_LINK_PATH,exports.NOTIFY_SESSION_PREFIX=e.NOTIFY_SESSION_PREFIX,exports.NOTIFY_TEXT_CONTROL_ID=e.NOTIFY_TEXT_CONTROL_ID,exports.OPENDAN_ASYNC_TOOL_TASK_SCHEMA_ID=e.OPENDAN_ASYNC_TOOL_TASK_SCHEMA_ID,exports.OPENDAN_COMMAND_TASK_SCHEMA_ID=e.OPENDAN_COMMAND_TASK_SCHEMA_ID,exports.RAW_TASK_SCHEMA_ID=e.RAW_TASK_SCHEMA_ID,exports.RepoClient=e.RepoClient,exports.RuntimeType=e.RuntimeType,exports.SCHEDULER_DISPATCH_THUNK_TASK_SCHEMA_ID=e.SCHEDULER_DISPATCH_THUNK_TASK_SCHEMA_ID,exports.StorageDomain=e.StorageDomain,exports.SystemConfigClient=e.SystemConfigClient,exports.TASK_ERR_ALREADY_COMPLETED=e.TASK_ERR_ALREADY_COMPLETED,exports.TASK_ERR_CONTROL_ALREADY_PENDING=e.TASK_ERR_CONTROL_ALREADY_PENDING,exports.TASK_ERR_CONTROL_NOT_AVAILABLE=e.TASK_ERR_CONTROL_NOT_AVAILABLE,exports.TASK_ERR_IDEMPOTENCY_CONFLICT=e.TASK_ERR_IDEMPOTENCY_CONFLICT,exports.TASK_ERR_INPUT_SCHEMA_MISMATCH=e.TASK_ERR_INPUT_SCHEMA_MISMATCH,exports.TASK_ERR_INVALID_PHASE=e.TASK_ERR_INVALID_PHASE,exports.TASK_ERR_NOT_FOUND=e.TASK_ERR_NOT_FOUND,exports.TASK_ERR_PERMISSION_DENIED=e.TASK_ERR_PERMISSION_DENIED,exports.TASK_ERR_RESULT_SCHEMA_MISMATCH=e.TASK_ERR_RESULT_SCHEMA_MISMATCH,exports.TASK_ERR_REVISION_CONFLICT=e.TASK_ERR_REVISION_CONFLICT,exports.TASK_ERR_SCHEMA_NOT_FOUND=e.TASK_ERR_SCHEMA_NOT_FOUND,exports.TASK_ERR_STALE_RUNNER_EPOCH=e.TASK_ERR_STALE_RUNNER_EPOCH,exports.TASK_MANAGER_SERVICE_NAME=e.TASK_MANAGER_SERVICE_NAME,exports.TASK_MANAGER_SERVICE_PORT=e.TASK_MANAGER_SERVICE_PORT,exports.TASK_MANAGER_SERVICE_UNIQUE_ID=e.TASK_MANAGER_SERVICE_UNIQUE_ID,exports.TASK_MGR_ERROR_CODES=e.TASK_MGR_ERROR_CODES,exports.TASK_POLICY_PRESET_COLLABORATIVE_TREE_V1=e.TASK_POLICY_PRESET_COLLABORATIVE_TREE_V1,exports.TOOL_EXEC_BASH_TASK_SCHEMA_ID=e.TOOL_EXEC_BASH_TASK_SCHEMA_ID,exports.TaskAction=e.TaskAction,exports.TaskControlAction=e.TaskControlAction,exports.TaskDataScope=e.TaskDataScope,exports.TaskEventType=e.TaskEventType,exports.TaskExecutorKind=e.TaskExecutorKind,exports.TaskGrantScope=e.TaskGrantScope,exports.TaskManagerClient=e.TaskManagerClient,exports.TaskOutcome=e.TaskOutcome,exports.TaskPhase=e.TaskPhase,exports.TaskWaitReasonKind=e.TaskWaitReasonKind,exports.USER_GROUP_REF_PREFIX=e.USER_GROUP_REF_PREFIX,exports.USER_TYPE_GROUP_REF_PREFIX=e.USER_TYPE_GROUP_REF_PREFIX,exports.VerifyHubClient=e.VerifyHubClient,exports.WEB3_BRIDGE_HOST=e.WEB3_BRIDGE_HOST,exports.WELL_KNOWN_CONTACT_TAGS=e.WELL_KNOWN_CONTACT_TAGS,exports.WORKFLOW_EXECUTE_RPC_TASK_SCHEMA_ID=e.WORKFLOW_EXECUTE_RPC_TASK_SCHEMA_ID,exports.WORKFLOW_MAP_SHARD_TASK_SCHEMA_ID=e.WORKFLOW_MAP_SHARD_TASK_SCHEMA_ID,exports.WORKFLOW_RUN_TARGET_TASK_SCHEMA_ID=e.WORKFLOW_RUN_TARGET_TASK_SCHEMA_ID,exports.WORKFLOW_RUN_TREE_TASK_SCHEMA_ID=e.WORKFLOW_RUN_TREE_TASK_SCHEMA_ID,exports.WORKFLOW_SCHEDULE_TASK_SCHEMA_ID=e.WORKFLOW_SCHEDULE_TASK_SCHEMA_ID,exports.WORKFLOW_SEND_MESSAGE_TASK_SCHEMA_ID=e.WORKFLOW_SEND_MESSAGE_TASK_SCHEMA_ID,exports.WORKFLOW_SERVICE_NAME=e.WORKFLOW_SERVICE_NAME,exports.WORKFLOW_STEP_TASK_SCHEMA_ID=e.WORKFLOW_STEP_TASK_SCHEMA_ID,exports.WORKFLOW_THUNK_TASK_SCHEMA_ID=e.WORKFLOW_THUNK_TASK_SCHEMA_ID,exports.WorkflowClient=e.WorkflowClient,exports.WorkflowDefinitionStatus=e.WorkflowDefinitionStatus,exports.WorkflowErrorCode=e.WorkflowErrorCode,exports.WorkflowHumanActionKind=e.WorkflowHumanActionKind,exports.WorkflowJoinMode=e.WorkflowJoinMode,exports.WorkflowNodeRunState=e.WorkflowNodeRunState,exports.WorkflowOutputMode=e.WorkflowOutputMode,exports.WorkflowRequestError=e.WorkflowRequestError,exports.WorkflowRetryFallback=e.WorkflowRetryFallback,exports.WorkflowRunStatus=e.WorkflowRunStatus,exports.WorkflowScheduledTaskFireStatus=e.WorkflowScheduledTaskFireStatus,exports.WorkflowScheduledTaskMisfirePolicy=e.WorkflowScheduledTaskMisfirePolicy,exports.WorkflowScheduledTaskStatus=e.WorkflowScheduledTaskStatus,exports.WorkflowStepType=e.WorkflowStepType,exports.ZONE_USER_TYPES=e.ZONE_USER_TYPES,exports.accessDenialOf=e.accessDenialOf,exports.acquireBackgroundAudio=e.acquireBackgroundAudio,exports.aiccMessageFirstText=e.aiccMessageFirstText,exports.aiccMessageTextContent=e.aiccMessageTextContent,exports.aiccRefusalOf=e.aiccRefusalOf,exports.aiccTextMessage=e.aiccTextMessage,exports.answerNotify=e.answerNotify,exports.appDidFromId=e.appDidFromId,exports.appIdFromDid=e.appIdFromDid,exports.audioCapabilities=e.audioCapabilities,exports.baselineTaskControlProfile=e.baselineTaskControlProfile,exports.bns=e.bns_client,exports.bucket=e.bucket_client,exports.buildJumpUrl=e.buildJumpUrl,exports.cellValue=e.cellValue,exports.commitNotifyAnswer=e.commitNotifyAnswer,exports.commitOps=e.commitOps,exports.completeAppAccessTokenLogin=e.completeAppAccessTokenLogin,exports.contactTagApp=e.contactTagApp,exports.contactTagKind=e.contactTagKind,exports.createAppInstanceId=e.createAppInstanceId,exports.createSDKModule=e.createSDKModule,exports.createZoneClients=e.createZoneClients,exports.decisionRequirements=e.decisionRequirements,exports.decodeBnsPublishDocumentCalldata=e.decodeBnsPublishDocumentCalldata,exports.deleteRecording=e.deleteRecording,exports.encodeExecutorControl=e.encodeExecutorControl,exports.fieldAdd=e.fieldAdd,exports.fieldNamed=e.fieldNamed,exports.getActiveRuntimeType=e.getActiveRuntimeType,exports.getActiveSessionToken=e.getActiveSessionToken,exports.getActiveZoneGatewayOrigin=e.getActiveZoneGatewayOrigin,exports.getCurrentWalletUserFromHost=e.getCurrentWalletUserFromHost,exports.getRecording=e.getRecording,exports.getRecordingStatus=e.getRecordingStatus,exports.identityAllows=e.identityAllows,exports.identityKey=e.identityKey,exports.inputPrompt=e.inputPrompt,exports.isAiccAiMethod=e.isAiccAiMethod,exports.isExternalPrincipal=e.isExternalPrincipal,exports.isNotifyClosed=e.isNotifyClosed,exports.isTerminalTaskPhase=e.isTerminalTaskPhase,exports.isUserGroupRefTag=e.isUserGroupRefTag,exports.issueAppCustomerLink=e.issueAppCustomerLink,exports.issueAppLoginCode=e.issueAppLoginCode,exports.listRecordings=e.listRecordings,exports.loginByAppAccessToken=e.loginByAppAccessToken,exports.mailboxAddress=e.mailboxAddress,exports.mailboxResource=e.mailboxResource,exports.markdownToBlocks=e.markdownToBlocks,exports.move=e.move,exports.msgMachineData=e.msgMachineData,exports.ndm=e.ndm_client,exports.ndm_proxy=e.ndm_proxy,exports.ndn=e.ndn,exports.normalizeZoneHostname=e.normalizeZoneHostname,exports.notifyAnswerToTaskResult=e.notifyAnswerToTaskResult,exports.notifyCategoryFromSessionId=e.notifyCategoryFromSessionId,exports.notifyCategorySessionId=e.notifyCategorySessionId,exports.notifyMessageData=e.notifyMessageData,exports.notifyUrl=e.notifyUrl,exports.onRecordingState=e.onRecordingState,exports.optionAdd=e.optionAdd,exports.parseAccessDenial=e.parseAccessDenial,exports.parseAppId=e.parseAppId,exports.parseAppInstanceId=e.parseAppInstanceId,exports.parseAppLoginExchangeResult=e.parseAppLoginExchangeResult,exports.parseCurrentIdentity=e.parseCurrentIdentity,exports.parseSessionTokenClaims=e.parseSessionTokenClaims,exports.parseVideoPrompt=e.parseVideoPrompt,exports.parseZoneUserType=e.parseZoneUserType,exports.pauseRecording=e.pauseRecording,exports.promptOptions=e.promptOptions,exports.randomAppLoginNonce=e.randomAppLoginNonce,exports.rename=e.rename,exports.resolveDidFromHost=e.resolveDidFromHost,exports.resumeRecording=e.resumeRecording,exports.setProps=e.setProps,exports.sn=e.sn_client,exports.startRecording=e.startRecording,exports.stopRecording=e.stopRecording,exports.tableDelete=e.tableDelete,exports.tableInsert=e.tableInsert,exports.tableSet=e.tableSet,exports.taskMgrErrorCode=e.taskMgrErrorCode,exports.taskMgrTaskEventPath=e.taskMgrTaskEventPath,exports.taskMgrTreeEventPath=e.taskMgrTreeEventPath,exports.textAppend=e.textAppend,exports.textDeleteBlocks=e.textDeleteBlocks,exports.textReplaceBlock=e.textReplaceBlock,exports.validateAiccMessage=e.validateAiccMessage,exports.validateDecisionAnswers=e.validateDecisionAnswers,exports.validateDecisionRequest=e.validateDecisionRequest,exports.validateNotifyAnswer=e.validateNotifyAnswer,exports.validateVideoEdit=e.validateVideoEdit,exports.validateVideoGeneration=e.validateVideoGeneration,exports.validateVideoOutput=e.validateVideoOutput,exports.videoGenerationRequirement=e.videoGenerationRequirement,exports.waitNotify=e.waitNotify,exports.walletUserHasSnAccount=e.walletUserHasSnAccount,exports.zoneActionUrl=e.zoneActionUrl,exports.hashPassword=t.hashPassword,exports.DID_OBJECT_SERVICE_ID=o.DID_OBJECT_SERVICE_ID,exports.DID_OBJECT_SERVICE_TYPE=o.DID_OBJECT_SERVICE_TYPE,exports.NODE_IDENTITY_SCHEMA_V2=o.NODE_IDENTITY_SCHEMA_V2,exports.getDidIdentifier=o.getDidIdentifier,exports.getDidMethod=o.getDidMethod,exports.isBuckyOSAgentDocument=o.isBuckyOSAgentDocument,exports.isBuckyOSDIDObjectCard=o.isBuckyOSDIDObjectCard,exports.isBuckyOSDeviceDocument=o.isBuckyOSDeviceDocument,exports.isBuckyOSDeviceMiniDocument=o.isBuckyOSDeviceMiniDocument,exports.isBuckyOSLocalNodeIdentityConfig=o.isBuckyOSLocalNodeIdentityConfig,exports.isBuckyOSOwnerDocument=o.isBuckyOSOwnerDocument,exports.isBuckyOSZoneBootDocument=o.isBuckyOSZoneBootDocument,exports.isBuckyOSZoneConfig=o.isBuckyOSZoneConfig,exports.isBuckyOSZoneDocument=o.isBuckyOSZoneDocument,exports.isW3CDIDDocumentBase=o.isW3CDIDDocumentBase,exports.namelib=o.namelib,exports.parseBuckyOSDIDDocument=o.parseBuckyOSDIDDocument,exports.parseBuckyOSDeviceMiniDocument=o.parseBuckyOSDeviceMiniDocument,exports.parseBuckyOSOwnerDocument=o.parseBuckyOSOwnerDocument,exports.parseW3CDIDDocumentBase=o.parseW3CDIDDocumentBase,exports.APP_OPEN_ACTION=r.APP_OPEN_ACTION,exports.appWindowId=r.appWindowId,exports.formatAppOpenUrl=r.formatAppOpenUrl,exports.isAppPath=r.isAppPath,exports.parseAppOpenUrl=r.parseAppOpenUrl,exports.parseAppWindowId=r.parseAppWindowId,exports.parseBuckyosUrl=r.parseBuckyosUrl,exports.parseSystemOpenApp=r.parseSystemOpenApp,exports.readAppOpenRequest=r.readAppOpenRequest,exports.readAppWindowDeclaration=r.readAppWindowDeclaration,exports.resolveOpenApp=r.resolveOpenApp,exports.systemOpenAppUrl=r.systemOpenAppUrl,exports.getBuckyApi=s.getBuckyApi,exports.getRuntimeEnvironment=s.getRuntimeEnvironment,exports.readUserPreferences=s.readUserPreferences,exports.objectUrl=p.object_url,exports.AIWS_BUILD_STATE_FILE=_.AIWS_BUILD_STATE_FILE,exports.AIWS_COMPONENT_FILE=_.AIWS_COMPONENT_FILE,exports.AIWS_COMPOSITION_FILE=_.AIWS_COMPOSITION_FILE,exports.AIWS_DECLARATIVE_API_VERSION=_.AIWS_DECLARATIVE_API_VERSION,exports.AIWS_HTML_API_VERSION=_.AIWS_HTML_API_VERSION,exports.AIWS_MANIFEST_FILE=_.AIWS_MANIFEST_FILE,exports.AIWS_MANIFEST_VERSION=_.AIWS_MANIFEST_VERSION,exports.AIWS_MAX_INLINE_BYTES=_.AIWS_MAX_INLINE_BYTES,exports.AIWS_MAX_SOURCE_FILES=_.AIWS_MAX_SOURCE_FILES,exports.AIWS_TEMPLATE_FORMAT=_.AIWS_TEMPLATE_FORMAT,exports.AiwsSourceError=_.AiwsSourceError,exports.aiwsContentDigest=_.aiwsContentDigest,exports.aiwsTemplateDigest=_.aiwsTemplateDigest,exports.buildControl=_.buildControl,exports.buildFiles=_.buildFiles,exports.checkComponent=_.checkComponent,exports.checkComposition=_.checkComposition,exports.checkDeclarative=_.checkDeclarative,exports.collectSources=_.collectSources,exports.compatManifest=_.compatManifest,exports.controlSkeleton=_.controlSkeleton,exports.createControlSource=_.createControlSource,exports.ensureFolder=_.ensureFolder,exports.exportBundle=_.exportBundle,exports.findFolder=_.findFolder,exports.folderName=_.folderName,exports.hasControlSource=_.hasControlSource,exports.homeControlDir=_.homeControlDir,exports.homeExportDir=_.homeExportDir,exports.isSourcePath=_.isSourcePath,exports.joinPath=_.joinPath,exports.packBuildFiles=_.packBuildFiles,exports.pullControl=_.pullControl,exports.readBuildState=_.readBuildState,exports.slotCells=_.slotCells,exports.sourceStateKey=_.sourceStateKey,exports.sourcesDigest=_.sourcesDigest,exports.sourcesKey=_.sourcesKey,exports.templateDir=_.templateDir,exports.unbuiltChanges=_.unbuiltChanges,exports.verifyBundle=_.verifyBundle,exports.watchControl=_.watchControl,exports.writeBuildState=_.writeBuildState,exports.writeHomeFile=_.writeHomeFile,exports.writeSourceFile=_.writeSourceFile,exports.AIWS_PROTOCOL_VERSION=E.AIWS_PROTOCOL_VERSION,exports.AiwsFailure=E.AiwsFailure,exports.BindFailure=E.BindFailure,exports.CALENDAR_SCHEMA_ID=E.CALENDAR_SCHEMA_ID,exports.RRuleError=E.RRuleError,exports.SCHEDULE_CALENDAR_ID=E.SCHEDULE_CALENDAR_ID,exports.SCHEDULE_SURFACE_ID=E.SCHEDULE_SURFACE_ID,exports.SCHEDULE_TODO_ID=E.SCHEDULE_TODO_ID,exports.SCHEDULE_WORKSPACE_NAME=E.SCHEDULE_WORKSPACE_NAME,exports.STANDARD_SCHEMAS=E.STANDARD_SCHEMAS,exports.ScheduleClient=E.ScheduleClient,exports.TODO_DONE=E.TODO_DONE,exports.TODO_SCHEMA_ID=E.TODO_SCHEMA_ID,exports.WEEKDAYS=E.WEEKDAYS,exports.aiwsTarget=E.aiwsTarget,exports.bindingAccepts=E.bindingAccepts,exports.bindingsPayload=E.bindingsPayload,exports.boundIds=E.boundIds,exports.calendarFields=E.calendarFields,exports.calendarOccurrences=E.calendarOccurrences,exports.canonicalOriginal=E.canonicalOriginal,exports.checkBindResult=E.checkBindResult,exports.checkBindSteps=E.checkBindSteps,exports.commitWithParts=E.commitWithParts,exports.createOps=E.createOps,exports.dateOf=E.dateOf,exports.dayNumber=E.dayNumber,exports.dayOf=E.dayOf,exports.daysInMonth=E.daysInMonth,exports.defaultOnBind=E.defaultOnBind,exports.defaultOnInit=E.defaultOnInit,exports.deleteRecordsOp=E.deleteRecordsOp,exports.describeRRule=E.describeRRule,exports.eventAddOps=E.eventAddOps,exports.eventDeleteOps=E.eventDeleteOps,exports.eventEditOps=E.eventEditOps,exports.eventPostponeOps=E.eventPostponeOps,exports.eventSkipOps=E.eventSkipOps,exports.expandSeries=E.expandSeries,exports.findOccurrence=E.findOccurrence,exports.formatRRule=E.formatRRule,exports.insertRecordOp=E.insertRecordOp,exports.isDate=E.isDate,exports.isLeap=E.isLeap,exports.isOrderKey=E.isOrderKey,exports.isTimeZone=E.isTimeZone,exports.localDate=E.localDate,exports.localDay=E.localDay,exports.newRecordId=E.newRecordId,exports.noUiDialogs=E.noUiDialogs,exports.occurrenceId=E.occurrenceId,exports.orderAt=E.orderAt,exports.orderKeyBetween=E.orderKeyBetween,exports.orderKeysBetween=E.orderKeysBetween,exports.originalOf=E.originalOf,exports.parseOccurrenceId=E.parseOccurrenceId,exports.parseRRule=E.parseRRule,exports.recurrencePresets=E.recurrencePresets,exports.resolveBindings=E.resolveBindings,exports.scheduleBoardOps=E.scheduleBoardOps,exports.scheduleLabel=E.scheduleLabel,exports.seriesStartOf=E.seriesStartOf,exports.setValuesOps=E.setValuesOps,exports.sortTodos=E.sortTodos,exports.standardTableOp=E.standardTableOp,exports.stepsOnBind=E.stepsOnBind,exports.todoAddOps=E.todoAddOps,exports.todoCompleteOps=E.todoCompleteOps,exports.todoFields=E.todoFields,exports.todoItem=E.todoItem,exports.todoMoveOps=E.todoMoveOps,exports.todoUpdateOps=E.todoUpdateOps,exports.viewerTimeZone=E.viewerTimeZone,exports.weekdayOf=E.weekdayOf,exports.ymdOf=E.ymdOf,exports.zonedParts=E.zonedParts,exports.zonedToUtc=E.zonedToUtc,exports.NfspClient=n.NfspClient,exports.RPCError=i.RPCError,exports.attachEvent=N,exports.buckyos=S,exports.createEventReader=R,exports.create_event_reader=d,exports.getAccountInfo=M,exports.getAppDataDir=c,exports.getAppDid=C,exports.getAppId=O,exports.getAppInstanceId=I,exports.getAppSetting=K,exports.getBuckyOSConfig=a,exports.getCurrentIdentity=P,exports.getCurrentWalletUser=F,exports.getKEventClient=l,exports.getRuntimeType=x,exports.getServiceRpcClient=G,exports.getSystemConfigClient=b,exports.getTaskManagerClient=Y,exports.getUserPreferences=L,exports.getVerifyHubClient=h,exports.getWorkflowClient=X,exports.getZoneHostName=v,exports.getZoneServiceURL=V,exports.initBuckyOS=T,exports.login=k,exports.loginByBrowserSSO=U,exports.loginByPassword=m,exports.loginByRuntimeSession=H,exports.logout=B,exports.onUserPreferencesChanged=g,exports.openExternalUrl=w,exports.removeEvent=u,exports.resolve_did=f,exports.setAppSetting=y,exports.subscribeKEvent=D,exports.walletSignWithActiveDid=W;
|
|
2
2
|
//# sourceMappingURL=node.cjs.map
|
package/dist/node.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node.cjs","sources":["../src/node.ts"],"sourcesContent":["import { createSDKModule } from './sdk_core'\nimport { hashPassword } from './account'\n\nconst sdkModule = createSDKModule('node')\n\nexport const buckyos = sdkModule.buckyos\nexport const initBuckyOS = sdkModule.initBuckyOS\nexport const getBuckyOSConfig = sdkModule.getBuckyOSConfig\nexport const getRuntimeType = sdkModule.getRuntimeType\nexport const getAppId = sdkModule.getAppId\nexport const getAppDid = sdkModule.getAppDid\nexport const getAppInstanceId = sdkModule.getAppInstanceId\nexport const getAppDataDir = sdkModule.getAppDataDir\nexport const getKEventClient = sdkModule.getKEventClient\nexport const createEventReader = sdkModule.createEventReader\nexport const create_event_reader = sdkModule.create_event_reader\nexport const subscribeKEvent = sdkModule.subscribeKEvent\nexport const attachEvent = sdkModule.attachEvent\nexport const removeEvent = sdkModule.removeEvent\nexport const getAccountInfo = sdkModule.getAccountInfo\nexport const getCurrentIdentity = sdkModule.getCurrentIdentity\nexport const loginByPassword = sdkModule.loginByPassword\nexport const loginByBrowserSSO = sdkModule.loginByBrowserSSO\nexport const loginByRuntimeSession = sdkModule.loginByRuntimeSession\nexport const login = sdkModule.login\nexport const logout = sdkModule.logout\nexport const getAppSetting = sdkModule.getAppSetting\nexport const setAppSetting = sdkModule.setAppSetting\nexport const getCurrentWalletUser = sdkModule.getCurrentWalletUser\nexport const resolve_did = sdkModule.resolve_did\nexport const walletSignWithActiveDid = sdkModule.walletSignWithActiveDid\nexport const openExternalUrl = sdkModule.openExternalUrl\nexport const getZoneHostName = sdkModule.getZoneHostName\nexport const getZoneServiceURL = sdkModule.getZoneServiceURL\nexport const getServiceRpcClient = sdkModule.getServiceRpcClient\nexport const getVerifyHubClient = sdkModule.getVerifyHubClient\nexport const getSystemConfigClient = sdkModule.getSystemConfigClient\nexport const getTaskManagerClient = sdkModule.getTaskManagerClient\nexport const getWorkflowClient = sdkModule.getWorkflowClient\n\nexport { hashPassword }\nexport * from './sdk_core'\nexport * from './types'\nexport * from './app_identity'\nexport * as namelib from './namelib'\nexport * as bns from './bns_client'\nexport * from './bns_evm_tx'\nexport * from './bns_tx_executor'\nexport * as sn from './sn_client'\nexport * as ndn from './ndn'\nexport * as ndm from './ndm_client'\nexport * as ndm_proxy from './ndm_proxy'\nexport * from './open_app'\nexport * from './runtime_env'\nexport * from './audio'\nexport { createZoneClients, type ZoneClients, type ZoneClientsOptions } from './zone_clients'\nexport * as bucket from './bucket_client'\nexport * as objectUrl from './object_url'\n\nexport * from './executor_client'\nexport * from './aiws_ext'\nexport * from './aiws_rrule'\nexport * from './aiws_schedule'\nexport * from './aiws_write'\nexport * from './aiws_bind'\nexport { AiwsFailure, aiwsTarget, commitWithParts } from './aiworkspace_client'\nexport { NfspClient } from './nfsp'\n"],"names":["sdkModule","createSDKModule","buckyos","initBuckyOS","getBuckyOSConfig","getRuntimeType","getAppId","getAppDid","getAppInstanceId","getAppDataDir","getKEventClient","createEventReader","create_event_reader","subscribeKEvent","attachEvent","removeEvent","getAccountInfo","getCurrentIdentity","loginByPassword","loginByBrowserSSO","loginByRuntimeSession","login","logout","getAppSetting","setAppSetting","getCurrentWalletUser","resolve_did","walletSignWithActiveDid","openExternalUrl","getZoneHostName","getZoneServiceURL","getServiceRpcClient","getVerifyHubClient","getSystemConfigClient","getTaskManagerClient","getWorkflowClient"],"mappings":"
|
|
1
|
+
{"version":3,"file":"node.cjs","sources":["../src/node.ts"],"sourcesContent":["import { createSDKModule } from './sdk_core'\nimport { hashPassword } from './account'\n\nconst sdkModule = createSDKModule('node')\n\nexport const buckyos = sdkModule.buckyos\nexport const initBuckyOS = sdkModule.initBuckyOS\nexport const getBuckyOSConfig = sdkModule.getBuckyOSConfig\nexport const getRuntimeType = sdkModule.getRuntimeType\nexport const getAppId = sdkModule.getAppId\nexport const getAppDid = sdkModule.getAppDid\nexport const getAppInstanceId = sdkModule.getAppInstanceId\nexport const getAppDataDir = sdkModule.getAppDataDir\nexport const getKEventClient = sdkModule.getKEventClient\nexport const createEventReader = sdkModule.createEventReader\nexport const create_event_reader = sdkModule.create_event_reader\nexport const subscribeKEvent = sdkModule.subscribeKEvent\nexport const attachEvent = sdkModule.attachEvent\nexport const removeEvent = sdkModule.removeEvent\nexport const getAccountInfo = sdkModule.getAccountInfo\nexport const getCurrentIdentity = sdkModule.getCurrentIdentity\nexport const getUserPreferences = sdkModule.getUserPreferences\nexport const onUserPreferencesChanged = sdkModule.onUserPreferencesChanged\nexport const loginByPassword = sdkModule.loginByPassword\nexport const loginByBrowserSSO = sdkModule.loginByBrowserSSO\nexport const loginByRuntimeSession = sdkModule.loginByRuntimeSession\nexport const login = sdkModule.login\nexport const logout = sdkModule.logout\nexport const getAppSetting = sdkModule.getAppSetting\nexport const setAppSetting = sdkModule.setAppSetting\nexport const getCurrentWalletUser = sdkModule.getCurrentWalletUser\nexport const resolve_did = sdkModule.resolve_did\nexport const walletSignWithActiveDid = sdkModule.walletSignWithActiveDid\nexport const openExternalUrl = sdkModule.openExternalUrl\nexport const getZoneHostName = sdkModule.getZoneHostName\nexport const getZoneServiceURL = sdkModule.getZoneServiceURL\nexport const getServiceRpcClient = sdkModule.getServiceRpcClient\nexport const getVerifyHubClient = sdkModule.getVerifyHubClient\nexport const getSystemConfigClient = sdkModule.getSystemConfigClient\nexport const getTaskManagerClient = sdkModule.getTaskManagerClient\nexport const getWorkflowClient = sdkModule.getWorkflowClient\n\nexport { hashPassword }\nexport * from './sdk_core'\nexport * from './types'\nexport * from './app_identity'\nexport * as namelib from './namelib'\nexport * as bns from './bns_client'\nexport * from './bns_evm_tx'\nexport * from './bns_tx_executor'\nexport * as sn from './sn_client'\nexport * as ndn from './ndn'\nexport * as ndm from './ndm_client'\nexport * as ndm_proxy from './ndm_proxy'\nexport * from './open_app'\nexport * from './runtime_env'\nexport * from './audio'\nexport { createZoneClients, type ZoneClients, type ZoneClientsOptions } from './zone_clients'\nexport * as bucket from './bucket_client'\nexport * as objectUrl from './object_url'\n\nexport * from './executor_client'\nexport * from './aiws_ext'\nexport * from './aiws_rrule'\nexport * from './aiws_schedule'\nexport * from './aiws_write'\nexport * from './aiws_bind'\nexport { AiwsFailure, aiwsTarget, commitWithParts } from './aiworkspace_client'\nexport { NfspClient } from './nfsp'\n"],"names":["sdkModule","createSDKModule","buckyos","initBuckyOS","getBuckyOSConfig","getRuntimeType","getAppId","getAppDid","getAppInstanceId","getAppDataDir","getKEventClient","createEventReader","create_event_reader","subscribeKEvent","attachEvent","removeEvent","getAccountInfo","getCurrentIdentity","getUserPreferences","onUserPreferencesChanged","loginByPassword","loginByBrowserSSO","loginByRuntimeSession","login","logout","getAppSetting","setAppSetting","getCurrentWalletUser","resolve_did","walletSignWithActiveDid","openExternalUrl","getZoneHostName","getZoneServiceURL","getServiceRpcClient","getVerifyHubClient","getSystemConfigClient","getTaskManagerClient","getWorkflowClient"],"mappings":"2cAGA,MAAMA,EAAYC,EAAAA,gBAAgB,QAErBC,EAAUF,EAAUE,QACpBC,EAAcH,EAAUG,YACxBC,EAAmBJ,EAAUI,iBAC7BC,EAAiBL,EAAUK,eAC3BC,EAAWN,EAAUM,SACrBC,EAAYP,EAAUO,UACtBC,EAAmBR,EAAUQ,iBAC7BC,EAAgBT,EAAUS,cAC1BC,EAAkBV,EAAUU,gBAC5BC,EAAoBX,EAAUW,kBAC9BC,EAAsBZ,EAAUY,oBAChCC,EAAkBb,EAAUa,gBAC5BC,EAAcd,EAAUc,YACxBC,EAAcf,EAAUe,YACxBC,EAAiBhB,EAAUgB,eAC3BC,EAAqBjB,EAAUiB,mBAC/BC,EAAqBlB,EAAUkB,mBAC/BC,EAA2BnB,EAAUmB,yBACrCC,EAAkBpB,EAAUoB,gBAC5BC,EAAoBrB,EAAUqB,kBAC9BC,EAAwBtB,EAAUsB,sBAClCC,EAAQvB,EAAUuB,MAClBC,EAASxB,EAAUwB,OACnBC,EAAgBzB,EAAUyB,cAC1BC,EAAgB1B,EAAU0B,cAC1BC,EAAuB3B,EAAU2B,qBACjCC,EAAc5B,EAAU4B,YACxBC,EAA0B7B,EAAU6B,wBACpCC,EAAkB9B,EAAU8B,gBAC5BC,EAAkB/B,EAAU+B,gBAC5BC,EAAoBhC,EAAUgC,kBAC9BC,EAAsBjC,EAAUiC,oBAChCC,EAAqBlC,EAAUkC,mBAC/BC,EAAwBnC,EAAUmC,sBAClCC,EAAuBpC,EAAUoC,qBACjCC,EAAoBrC,EAAUqC"}
|
package/dist/node.d.ts
CHANGED
|
@@ -25,6 +25,8 @@ export declare const buckyos: {
|
|
|
25
25
|
setAppSetting: (settingName: string | null | undefined, settingValue: string) => Promise<void>;
|
|
26
26
|
getCurrentWalletUser: () => Promise<any>;
|
|
27
27
|
getCurrentIdentity: () => Promise<import("./hybrid_sso").CurrentIdentity>;
|
|
28
|
+
getUserPreferences: () => Promise<import("./user_preferences").UserPreferences>;
|
|
29
|
+
onUserPreferencesChanged: (listener: (preferences: import("./user_preferences").UserPreferences) => void) => () => void;
|
|
28
30
|
resolve_did: (did: string, docType?: import("./types").DidDocType | null) => Promise<import("./namelib").EncodedDocument | null>;
|
|
29
31
|
walletSignWithActiveDid: (payloads: Record<string, unknown>[]) => Promise<import("./sdk_core").WalletSignWithActiveDidResult | null>;
|
|
30
32
|
openExternalUrl: (url: string) => Promise<void>;
|
|
@@ -59,6 +61,8 @@ export declare const attachEvent: (eventName: string, callback: Function) => voi
|
|
|
59
61
|
export declare const removeEvent: (cookieId: string) => void;
|
|
60
62
|
export declare const getAccountInfo: () => Promise<import("./account").AccountInfo | null>;
|
|
61
63
|
export declare const getCurrentIdentity: () => Promise<import("./hybrid_sso").CurrentIdentity>;
|
|
64
|
+
export declare const getUserPreferences: () => Promise<import("./user_preferences").UserPreferences>;
|
|
65
|
+
export declare const onUserPreferencesChanged: (listener: (preferences: import("./user_preferences").UserPreferences) => void) => () => void;
|
|
62
66
|
export declare const loginByPassword: (username: string, password: string, target?: import("./verify-hub-client").AuthTarget | undefined) => Promise<import("./account").AccountInfo | null>;
|
|
63
67
|
export declare const loginByBrowserSSO: () => Promise<void>;
|
|
64
68
|
export declare const loginByRuntimeSession: () => Promise<import("./account").AccountInfo | null>;
|
package/dist/node.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../src/node.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAIxC,eAAO,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../src/node.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAA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node.mjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { c as createSDKModule } from "./aiws_write-
|
|
2
|
-
import { ac, aO, bJ, aT, bK, bP, bO, bL, bN, bQ, bM, bH, bI, bG, af, aU, ap, ao, aq, ar, aW, aV, aY, aX, bX, cp, cf, cg, cb, cc, cd, ce, ch, g, B, cj, ci, cn, cl, l, cD, cC, cB, cA, a4, a3, a2, a1, bk, aj, ab, aE, E, cE, cH, cF, a0, aD, aP, ak, c5, c4, t, M, C, D, z, x, w, H, G, N, F, y, A, aQ, aR, aC, m, R, aF, bo, S, b4, b3, b2, b7, b5, b1, aZ, a_, b6, a$, b8, b0, az, aA, ay, b9, aB, aS, bl, bi, bn, bp, bd, bm, bq, bh, be, bg, a7, a6, V, W, a5, aM, aI, aN, aG, aK, aL, br, aH, aJ, bF, by, bs, bB, bw, bA, bv, bt, bx, bz, bE, bD, bC, bu, Z, ae, cq, bV, bU, bR, bT, _, c8, c6, co, bj, b, f, an, cJ, Y, cV, ax, a8, a9, c9, e, bY, ck, cy, cG, cN, cI, i, k, j, h, cx, cv, ai, ah, L, bS, q, I, bf, aa, at, as, cw, aw, u, v, cW, cT, U, a, d, n, al, P, K, J, X, T, cz, cO, ad, c7, ca, au, ag, p, b$, o, cs, O, av, cS, r, ct, cU, s, cr, cu, cM, cK, cL, bc, ba, bb, cP, cR, cQ, bW, b_, bZ, Q, c2, c1, c0, c3, $, cm, am } from "./aiws_write-
|
|
1
|
+
import { c as createSDKModule } from "./aiws_write-83ddc6cc.mjs";
|
|
2
|
+
import { ac, aO, bJ, aT, bK, bP, bO, bL, bN, bQ, bM, bH, bI, bG, af, aU, ap, ao, aq, ar, aW, aV, aY, aX, bX, cp, cf, cg, cb, cc, cd, ce, ch, g, B, cj, ci, cn, cl, l, cD, cC, cB, cA, a4, a3, a2, a1, bk, aj, ab, aE, E, cE, cH, cF, a0, aD, aP, ak, c5, c4, t, M, C, D, z, x, w, H, G, N, F, y, A, aQ, aR, aC, m, R, aF, bo, S, b4, b3, b2, b7, b5, b1, aZ, a_, b6, a$, b8, b0, az, aA, ay, b9, aB, aS, bl, bi, bn, bp, bd, bm, bq, bh, be, bg, a7, a6, V, W, a5, aM, aI, aN, aG, aK, aL, br, aH, aJ, bF, by, bs, bB, bw, bA, bv, bt, bx, bz, bE, bD, bC, bu, Z, ae, cq, bV, bU, bR, bT, _, c8, c6, co, bj, b, f, an, cJ, Y, cV, ax, a8, a9, c9, e, bY, ck, cy, cG, cN, cI, i, k, j, h, cx, cv, ai, ah, L, bS, q, I, bf, aa, at, as, cw, aw, u, v, cW, cT, U, a, d, n, al, P, K, J, X, T, cz, cO, ad, c7, ca, au, ag, p, b$, o, cs, O, av, cS, r, ct, cU, s, cr, cu, cM, cK, cL, bc, ba, bb, cP, cR, cQ, bW, b_, bZ, Q, c2, c1, c0, c3, $, cm, am } from "./aiws_write-83ddc6cc.mjs";
|
|
3
3
|
import { h as h2 } from "./account-7a7bde6f.mjs";
|
|
4
4
|
import { a as a10, D as D2, N as N2, r as r2, q as q2, g as g2, j as j2, f as f2, c, e as e2, b as b10, d as d2, k as k2, h as h3, i as i2, n as n2, o as o2, m as m2, l as l2, p as p2 } from "./ndn_types-0fac2499.mjs";
|
|
5
5
|
import { APP_OPEN_ACTION, appWindowId, formatAppOpenUrl, isAppPath, parseAppOpenUrl, parseAppWindowId, parseBuckyosUrl, parseSystemOpenApp, readAppOpenRequest, readAppWindowDeclaration, resolveOpenApp, systemOpenAppUrl } from "./open-app.mjs";
|
|
6
|
-
import { g as g3, a as a11 } from "./
|
|
6
|
+
import { g as g3, a as a11, r as r3 } from "./user_preferences-1d49850a.mjs";
|
|
7
7
|
import { o as o3 } from "./object_url-20e94b67.mjs";
|
|
8
8
|
import { AIWS_BUILD_STATE_FILE, AIWS_COMPONENT_FILE, AIWS_COMPOSITION_FILE, AIWS_DECLARATIVE_API_VERSION, AIWS_HTML_API_VERSION, AIWS_MANIFEST_FILE, AIWS_MANIFEST_VERSION, AIWS_MAX_INLINE_BYTES, AIWS_MAX_SOURCE_FILES, AIWS_TEMPLATE_FORMAT, AiwsSourceError, aiwsContentDigest, aiwsTemplateDigest, buildControl, buildFiles, checkComponent, checkComposition, checkDeclarative, collectSources, compatManifest, controlSkeleton, createControlSource, ensureFolder, exportBundle, findFolder, folderName, hasControlSource, homeControlDir, homeExportDir, isSourcePath, joinPath, packBuildFiles, pullControl, readBuildState, slotCells, sourceStateKey, sourcesDigest, sourcesKey, templateDir, unbuiltChanges, verifyBundle, watchControl, writeBuildState, writeHomeFile, writeSourceFile } from "./aiws_ext.mjs";
|
|
9
|
-
import { M as M2, a as a12, aj as aj2, H as H2, R as R2, J as J2, K as K2, I as I2, S as S2, ak as ak2, ag as ag2, L as L2, T as T2, W as W2, c as c10, al as al2, at as at2, au as au2, P as P2, aa as aa2, a0 as a02, an as an2, av as av2, h as h4, as as as2, r as
|
|
9
|
+
import { M as M2, a as a12, aj as aj2, H as H2, R as R2, J as J2, K as K2, I as I2, S as S2, ak as ak2, ag as ag2, L as L2, T as T2, W as W2, c as c10, al as al2, at as at2, au as au2, P as P2, aa as aa2, a0 as a02, an as an2, av as av2, h as h4, as as as2, r as r4, o as o4, q as q3, n as n3, ao as ao2, aq as aq2, $ as $2, F as F2, ab as ab2, ad as ad2, ac as ac2, af as af2, ae as ae2, x as x2, ah as ah2, k as k3, _ as _2, l as l3, m as m3, U as U2, t as t2, a8 as a82, v as v2, Y as Y2, am as am2, D as D3, a7 as a72, V as V2, X as X2, C as C2, E as E2, j as j3, G as G2, ar as ar2, ai as ai2, N as N3, B as B2, Z as Z2, a2 as a22, Q as Q2, ap as ap2, a3 as a32, a4 as a42, O as O2, a1 as a13, a5 as a52, a6 as a62, a9 as a92, w as w2, y as y2, z as z2, u as u2 } from "./aiws_bind-b851d4db.mjs";
|
|
10
10
|
import { NfspClient } from "./nfsp.mjs";
|
|
11
11
|
import { R as R3 } from "./krpc_client-673448e5.mjs";
|
|
12
12
|
import "./content.mjs";
|
|
@@ -27,6 +27,8 @@ const attachEvent = sdkModule.attachEvent;
|
|
|
27
27
|
const removeEvent = sdkModule.removeEvent;
|
|
28
28
|
const getAccountInfo = sdkModule.getAccountInfo;
|
|
29
29
|
const getCurrentIdentity = sdkModule.getCurrentIdentity;
|
|
30
|
+
const getUserPreferences = sdkModule.getUserPreferences;
|
|
31
|
+
const onUserPreferencesChanged = sdkModule.onUserPreferencesChanged;
|
|
30
32
|
const loginByPassword = sdkModule.loginByPassword;
|
|
31
33
|
const loginByBrowserSSO = sdkModule.loginByBrowserSSO;
|
|
32
34
|
const loginByRuntimeSession = sdkModule.loginByRuntimeSession;
|
|
@@ -267,7 +269,7 @@ export {
|
|
|
267
269
|
createSDKModule,
|
|
268
270
|
e as createZoneClients,
|
|
269
271
|
create_event_reader,
|
|
270
|
-
|
|
272
|
+
r4 as dateOf,
|
|
271
273
|
o4 as dayNumber,
|
|
272
274
|
q3 as dayOf,
|
|
273
275
|
n3 as daysInMonth,
|
|
@@ -318,6 +320,7 @@ export {
|
|
|
318
320
|
getServiceRpcClient,
|
|
319
321
|
getSystemConfigClient,
|
|
320
322
|
getTaskManagerClient,
|
|
323
|
+
getUserPreferences,
|
|
321
324
|
getVerifyHubClient,
|
|
322
325
|
getWorkflowClient,
|
|
323
326
|
getZoneHostName,
|
|
@@ -384,6 +387,7 @@ export {
|
|
|
384
387
|
o3 as objectUrl,
|
|
385
388
|
D3 as occurrenceId,
|
|
386
389
|
cz as onRecordingState,
|
|
390
|
+
onUserPreferencesChanged,
|
|
387
391
|
openExternalUrl,
|
|
388
392
|
cO as optionAdd,
|
|
389
393
|
a72 as orderAt,
|
|
@@ -416,6 +420,7 @@ export {
|
|
|
416
420
|
readAppOpenRequest,
|
|
417
421
|
readAppWindowDeclaration,
|
|
418
422
|
readBuildState,
|
|
423
|
+
r3 as readUserPreferences,
|
|
419
424
|
G2 as recurrencePresets,
|
|
420
425
|
removeEvent,
|
|
421
426
|
cS as rename,
|
package/dist/node.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node.mjs","sources":["../src/node.ts"],"sourcesContent":["import { createSDKModule } from './sdk_core'\nimport { hashPassword } from './account'\n\nconst sdkModule = createSDKModule('node')\n\nexport const buckyos = sdkModule.buckyos\nexport const initBuckyOS = sdkModule.initBuckyOS\nexport const getBuckyOSConfig = sdkModule.getBuckyOSConfig\nexport const getRuntimeType = sdkModule.getRuntimeType\nexport const getAppId = sdkModule.getAppId\nexport const getAppDid = sdkModule.getAppDid\nexport const getAppInstanceId = sdkModule.getAppInstanceId\nexport const getAppDataDir = sdkModule.getAppDataDir\nexport const getKEventClient = sdkModule.getKEventClient\nexport const createEventReader = sdkModule.createEventReader\nexport const create_event_reader = sdkModule.create_event_reader\nexport const subscribeKEvent = sdkModule.subscribeKEvent\nexport const attachEvent = sdkModule.attachEvent\nexport const removeEvent = sdkModule.removeEvent\nexport const getAccountInfo = sdkModule.getAccountInfo\nexport const getCurrentIdentity = sdkModule.getCurrentIdentity\nexport const loginByPassword = sdkModule.loginByPassword\nexport const loginByBrowserSSO = sdkModule.loginByBrowserSSO\nexport const loginByRuntimeSession = sdkModule.loginByRuntimeSession\nexport const login = sdkModule.login\nexport const logout = sdkModule.logout\nexport const getAppSetting = sdkModule.getAppSetting\nexport const setAppSetting = sdkModule.setAppSetting\nexport const getCurrentWalletUser = sdkModule.getCurrentWalletUser\nexport const resolve_did = sdkModule.resolve_did\nexport const walletSignWithActiveDid = sdkModule.walletSignWithActiveDid\nexport const openExternalUrl = sdkModule.openExternalUrl\nexport const getZoneHostName = sdkModule.getZoneHostName\nexport const getZoneServiceURL = sdkModule.getZoneServiceURL\nexport const getServiceRpcClient = sdkModule.getServiceRpcClient\nexport const getVerifyHubClient = sdkModule.getVerifyHubClient\nexport const getSystemConfigClient = sdkModule.getSystemConfigClient\nexport const getTaskManagerClient = sdkModule.getTaskManagerClient\nexport const getWorkflowClient = sdkModule.getWorkflowClient\n\nexport { hashPassword }\nexport * from './sdk_core'\nexport * from './types'\nexport * from './app_identity'\nexport * as namelib from './namelib'\nexport * as bns from './bns_client'\nexport * from './bns_evm_tx'\nexport * from './bns_tx_executor'\nexport * as sn from './sn_client'\nexport * as ndn from './ndn'\nexport * as ndm from './ndm_client'\nexport * as ndm_proxy from './ndm_proxy'\nexport * from './open_app'\nexport * from './runtime_env'\nexport * from './audio'\nexport { createZoneClients, type ZoneClients, type ZoneClientsOptions } from './zone_clients'\nexport * as bucket from './bucket_client'\nexport * as objectUrl from './object_url'\n\nexport * from './executor_client'\nexport * from './aiws_ext'\nexport * from './aiws_rrule'\nexport * from './aiws_schedule'\nexport * from './aiws_write'\nexport * from './aiws_bind'\nexport { AiwsFailure, aiwsTarget, commitWithParts } from './aiworkspace_client'\nexport { NfspClient } from './nfsp'\n"],"names":[],"mappings":";;;;;;;;;;;;AAGA,MAAM,YAAY,gBAAgB,MAAM;AAEjC,MAAM,UAAU,UAAU;AAC1B,MAAM,cAAc,UAAU;AAC9B,MAAM,mBAAmB,UAAU;AACnC,MAAM,iBAAiB,UAAU;AACjC,MAAM,WAAW,UAAU;AAC3B,MAAM,YAAY,UAAU;AAC5B,MAAM,mBAAmB,UAAU;AACnC,MAAM,gBAAgB,UAAU;AAChC,MAAM,kBAAkB,UAAU;AAClC,MAAM,oBAAoB,UAAU;AACpC,MAAM,sBAAsB,UAAU;AACtC,MAAM,kBAAkB,UAAU;AAClC,MAAM,cAAc,UAAU;AAC9B,MAAM,cAAc,UAAU;AAC9B,MAAM,iBAAiB,UAAU;AACjC,MAAM,qBAAqB,UAAU;AACrC,MAAM,kBAAkB,UAAU;AAClC,MAAM,oBAAoB,UAAU;AACpC,MAAM,wBAAwB,UAAU;AACxC,MAAM,QAAQ,UAAU;AACxB,MAAM,SAAS,UAAU;AACzB,MAAM,gBAAgB,UAAU;AAChC,MAAM,gBAAgB,UAAU;AAChC,MAAM,uBAAuB,UAAU;AACvC,MAAM,cAAc,UAAU;AAC9B,MAAM,0BAA0B,UAAU;AAC1C,MAAM,kBAAkB,UAAU;AAClC,MAAM,kBAAkB,UAAU;AAClC,MAAM,oBAAoB,UAAU;AACpC,MAAM,sBAAsB,UAAU;AACtC,MAAM,qBAAqB,UAAU;AACrC,MAAM,wBAAwB,UAAU;AACxC,MAAM,uBAAuB,UAAU;AACvC,MAAM,oBAAoB,UAAU;"}
|
|
1
|
+
{"version":3,"file":"node.mjs","sources":["../src/node.ts"],"sourcesContent":["import { createSDKModule } from './sdk_core'\nimport { hashPassword } from './account'\n\nconst sdkModule = createSDKModule('node')\n\nexport const buckyos = sdkModule.buckyos\nexport const initBuckyOS = sdkModule.initBuckyOS\nexport const getBuckyOSConfig = sdkModule.getBuckyOSConfig\nexport const getRuntimeType = sdkModule.getRuntimeType\nexport const getAppId = sdkModule.getAppId\nexport const getAppDid = sdkModule.getAppDid\nexport const getAppInstanceId = sdkModule.getAppInstanceId\nexport const getAppDataDir = sdkModule.getAppDataDir\nexport const getKEventClient = sdkModule.getKEventClient\nexport const createEventReader = sdkModule.createEventReader\nexport const create_event_reader = sdkModule.create_event_reader\nexport const subscribeKEvent = sdkModule.subscribeKEvent\nexport const attachEvent = sdkModule.attachEvent\nexport const removeEvent = sdkModule.removeEvent\nexport const getAccountInfo = sdkModule.getAccountInfo\nexport const getCurrentIdentity = sdkModule.getCurrentIdentity\nexport const getUserPreferences = sdkModule.getUserPreferences\nexport const onUserPreferencesChanged = sdkModule.onUserPreferencesChanged\nexport const loginByPassword = sdkModule.loginByPassword\nexport const loginByBrowserSSO = sdkModule.loginByBrowserSSO\nexport const loginByRuntimeSession = sdkModule.loginByRuntimeSession\nexport const login = sdkModule.login\nexport const logout = sdkModule.logout\nexport const getAppSetting = sdkModule.getAppSetting\nexport const setAppSetting = sdkModule.setAppSetting\nexport const getCurrentWalletUser = sdkModule.getCurrentWalletUser\nexport const resolve_did = sdkModule.resolve_did\nexport const walletSignWithActiveDid = sdkModule.walletSignWithActiveDid\nexport const openExternalUrl = sdkModule.openExternalUrl\nexport const getZoneHostName = sdkModule.getZoneHostName\nexport const getZoneServiceURL = sdkModule.getZoneServiceURL\nexport const getServiceRpcClient = sdkModule.getServiceRpcClient\nexport const getVerifyHubClient = sdkModule.getVerifyHubClient\nexport const getSystemConfigClient = sdkModule.getSystemConfigClient\nexport const getTaskManagerClient = sdkModule.getTaskManagerClient\nexport const getWorkflowClient = sdkModule.getWorkflowClient\n\nexport { hashPassword }\nexport * from './sdk_core'\nexport * from './types'\nexport * from './app_identity'\nexport * as namelib from './namelib'\nexport * as bns from './bns_client'\nexport * from './bns_evm_tx'\nexport * from './bns_tx_executor'\nexport * as sn from './sn_client'\nexport * as ndn from './ndn'\nexport * as ndm from './ndm_client'\nexport * as ndm_proxy from './ndm_proxy'\nexport * from './open_app'\nexport * from './runtime_env'\nexport * from './audio'\nexport { createZoneClients, type ZoneClients, type ZoneClientsOptions } from './zone_clients'\nexport * as bucket from './bucket_client'\nexport * as objectUrl from './object_url'\n\nexport * from './executor_client'\nexport * from './aiws_ext'\nexport * from './aiws_rrule'\nexport * from './aiws_schedule'\nexport * from './aiws_write'\nexport * from './aiws_bind'\nexport { AiwsFailure, aiwsTarget, commitWithParts } from './aiworkspace_client'\nexport { NfspClient } from './nfsp'\n"],"names":[],"mappings":";;;;;;;;;;;;AAGA,MAAM,YAAY,gBAAgB,MAAM;AAEjC,MAAM,UAAU,UAAU;AAC1B,MAAM,cAAc,UAAU;AAC9B,MAAM,mBAAmB,UAAU;AACnC,MAAM,iBAAiB,UAAU;AACjC,MAAM,WAAW,UAAU;AAC3B,MAAM,YAAY,UAAU;AAC5B,MAAM,mBAAmB,UAAU;AACnC,MAAM,gBAAgB,UAAU;AAChC,MAAM,kBAAkB,UAAU;AAClC,MAAM,oBAAoB,UAAU;AACpC,MAAM,sBAAsB,UAAU;AACtC,MAAM,kBAAkB,UAAU;AAClC,MAAM,cAAc,UAAU;AAC9B,MAAM,cAAc,UAAU;AAC9B,MAAM,iBAAiB,UAAU;AACjC,MAAM,qBAAqB,UAAU;AACrC,MAAM,qBAAqB,UAAU;AACrC,MAAM,2BAA2B,UAAU;AAC3C,MAAM,kBAAkB,UAAU;AAClC,MAAM,oBAAoB,UAAU;AACpC,MAAM,wBAAwB,UAAU;AACxC,MAAM,QAAQ,UAAU;AACxB,MAAM,SAAS,UAAU;AACzB,MAAM,gBAAgB,UAAU;AAChC,MAAM,gBAAgB,UAAU;AAChC,MAAM,uBAAuB,UAAU;AACvC,MAAM,cAAc,UAAU;AAC9B,MAAM,0BAA0B,UAAU;AAC1C,MAAM,kBAAkB,UAAU;AAClC,MAAM,kBAAkB,UAAU;AAClC,MAAM,oBAAoB,UAAU;AACpC,MAAM,sBAAsB,UAAU;AACtC,MAAM,qBAAqB,UAAU;AACrC,MAAM,wBAAwB,UAAU;AACxC,MAAM,uBAAuB,UAAU;AACvC,MAAM,oBAAoB,UAAU;"}
|
package/dist/sdk_core.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ import { MsgQueueClient } from './msg_queue_client';
|
|
|
14
14
|
import { MsgCenterClient } from './msg_center_client';
|
|
15
15
|
import { RepoClient } from './repo_client';
|
|
16
16
|
import { getRuntimeEnvironment } from './runtime_env';
|
|
17
|
+
import { type UserPreferences } from './user_preferences';
|
|
17
18
|
import { KEventClient, KEvent, KEventPatternInput, KEventReader, KEventReaderOptions, KEventSubscribeOptions, KEventSubscription } from './kevent_client';
|
|
18
19
|
import type { DidDocType } from './types';
|
|
19
20
|
import type { EncodedDocument } from './namelib';
|
|
@@ -34,6 +35,7 @@ export declare class BuckyOSSDK {
|
|
|
34
35
|
private currentRuntime;
|
|
35
36
|
private currentAccountInfo;
|
|
36
37
|
private currentKEventClient;
|
|
38
|
+
private userPreferences;
|
|
37
39
|
private readonly target;
|
|
38
40
|
constructor(target: SDKTarget);
|
|
39
41
|
initBuckyOS(appid?: string, config?: BuckyOSConfig | null): Promise<void>;
|
|
@@ -55,6 +57,17 @@ export declare class BuckyOSSDK {
|
|
|
55
57
|
* account-only and returns `null` for External sessions.
|
|
56
58
|
*/
|
|
57
59
|
getCurrentIdentity(): Promise<CurrentIdentity>;
|
|
60
|
+
/**
|
|
61
|
+
* The signed-in user's settings for this page: theme, colour, language and profile. In a host's frame (a Desktop
|
|
62
|
+
* window, the BuckyOS client) the appearance is the host's; alone in a tab the Zone answers what this page may see
|
|
63
|
+
* (an App: the appearance and the public profile; a system service's page: the private profile too). `{}` for a
|
|
64
|
+
* guest, or when the Zone cannot be reached.
|
|
65
|
+
*/
|
|
66
|
+
getUserPreferences(): Promise<UserPreferences>;
|
|
67
|
+
/** `listener` hears each change of `getUserPreferences` (the host's, or the Zone's read again whenever the page
|
|
68
|
+
* comes back to the foreground); the returned function stops it. */
|
|
69
|
+
onUserPreferencesChanged(listener: (preferences: UserPreferences) => void): () => void;
|
|
70
|
+
private preferencesStore;
|
|
58
71
|
getAccountInfo(): Promise<AccountInfo | null>;
|
|
59
72
|
loginByPassword(username: string, password: string, target?: AuthTarget): Promise<AccountInfo | null>;
|
|
60
73
|
loginByRuntimeSession(): Promise<AccountInfo | null>;
|
|
@@ -114,6 +127,8 @@ export declare function createSDKModule(target: SDKTarget): {
|
|
|
114
127
|
setAppSetting: (settingName: string | null | undefined, settingValue: string) => Promise<void>;
|
|
115
128
|
getCurrentWalletUser: () => Promise<any>;
|
|
116
129
|
getCurrentIdentity: () => Promise<CurrentIdentity>;
|
|
130
|
+
getUserPreferences: () => Promise<UserPreferences>;
|
|
131
|
+
onUserPreferencesChanged: (listener: (preferences: UserPreferences) => void) => () => void;
|
|
117
132
|
resolve_did: (did: string, docType?: DidDocType | null) => Promise<EncodedDocument | null>;
|
|
118
133
|
walletSignWithActiveDid: (payloads: Record<string, unknown>[]) => Promise<WalletSignWithActiveDidResult | null>;
|
|
119
134
|
openExternalUrl: (url: string) => Promise<void>;
|
|
@@ -156,6 +171,8 @@ export declare function createSDKModule(target: SDKTarget): {
|
|
|
156
171
|
setAppSetting: (settingName: string | null | undefined, settingValue: string) => Promise<void>;
|
|
157
172
|
getCurrentWalletUser: () => Promise<any>;
|
|
158
173
|
getCurrentIdentity: () => Promise<CurrentIdentity>;
|
|
174
|
+
getUserPreferences: () => Promise<UserPreferences>;
|
|
175
|
+
onUserPreferencesChanged: (listener: (preferences: UserPreferences) => void) => () => void;
|
|
159
176
|
resolve_did: (did: string, docType?: DidDocType | null) => Promise<EncodedDocument | null>;
|
|
160
177
|
walletSignWithActiveDid: (payloads: Record<string, unknown>[]) => Promise<WalletSignWithActiveDidResult | null>;
|
|
161
178
|
openExternalUrl: (url: string) => Promise<void>;
|
|
@@ -181,6 +198,7 @@ export type { ZoneUserType, TokenPrincipalKind } from './runtime';
|
|
|
181
198
|
export { VerifyHubClient };
|
|
182
199
|
export { RPCError } from './krpc_client';
|
|
183
200
|
export * from './hybrid_sso';
|
|
201
|
+
export { readUserPreferences, type FrameAppearance, type UserPreferences } from './user_preferences';
|
|
184
202
|
export * from './app_login';
|
|
185
203
|
export type { AppAuthTarget, AuthTarget, LoginByJwtParams, LoginByPasswordParams, RefreshTokenParams, SudoByPasswordParams, SudoByPasswordResponse, SystemAuthTarget, TokenPair, VerifyTokenParams, } from './verify-hub-client';
|
|
186
204
|
export { SystemConfigClient };
|
package/dist/sdk_core.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sdk_core.d.ts","sourceRoot":"","sources":["../src/sdk_core.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAA;AAC7D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAE1C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAA;AACnD,OAAO,EACL,YAAY,EACZ,WAAW,EAMZ,MAAM,WAAW,CAAA;AAClB,OAAO,EAEL,aAAa,EA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