buckyos 0.7.169 → 0.7.170
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/app-frame.cjs +1 -1
- package/dist/app-frame.cjs.map +1 -1
- package/dist/app-frame.mjs +1 -0
- 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 +1 -1
- package/dist/browser.d.ts.map +1 -1
- package/dist/browser.mjs +212 -211
- 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 -1
- package/dist/content.d.ts.map +1 -1
- package/dist/content.mjs +32 -167
- package/dist/content.mjs.map +1 -1
- package/dist/content_mime-dc80d960.js +2 -0
- package/dist/content_mime-dc80d960.js.map +1 -0
- package/dist/content_mime-e42d5f8d.mjs +335 -0
- package/dist/content_mime-e42d5f8d.mjs.map +1 -0
- package/dist/content_mime.d.ts +18 -0
- package/dist/content_mime.d.ts.map +1 -1
- package/dist/executor_client-1ee523cf.js +13 -0
- package/dist/executor_client-1ee523cf.js.map +1 -0
- package/dist/{executor_client-a32bc377.mjs → executor_client-5f4d0468.mjs} +1751 -286
- package/dist/executor_client-5f4d0468.mjs.map +1 -0
- package/dist/file_meta.d.ts +26 -0
- package/dist/file_meta.d.ts.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +217 -216
- package/dist/index.mjs.map +1 -1
- package/dist/msg_center_client.d.ts +2 -1
- package/dist/msg_center_client.d.ts.map +1 -1
- package/dist/namelib.d.ts.map +1 -1
- package/dist/ndm_client.d.ts +7 -0
- package/dist/ndm_client.d.ts.map +1 -1
- package/dist/ndn.d.ts +3 -0
- package/dist/ndn.d.ts.map +1 -0
- package/dist/ndn_types-8c2696d5.js +2 -0
- package/dist/ndn_types-8c2696d5.js.map +1 -0
- package/dist/{namelib-b41b10cc.mjs → ndn_types-ab30fac0.mjs} +3077 -2697
- package/dist/ndn_types-ab30fac0.mjs.map +1 -0
- package/dist/ndn_types.d.ts +268 -16
- package/dist/ndn_types.d.ts.map +1 -1
- package/dist/node.cjs +1 -1
- package/dist/node.cjs.map +1 -1
- package/dist/node.d.ts +1 -1
- package/dist/node.d.ts.map +1 -1
- package/dist/node.mjs +212 -211
- package/dist/node.mjs.map +1 -1
- package/dist/provision.cjs +2 -2
- package/dist/provision.cjs.map +1 -1
- package/dist/provision.d.ts +1 -2
- package/dist/provision.d.ts.map +1 -1
- package/dist/provision.mjs +3 -31
- package/dist/provision.mjs.map +1 -1
- package/dist/repo_client.d.ts +2 -1
- package/dist/repo_client.d.ts.map +1 -1
- package/dist/{tus_client-4f7254e9.js → tus_client-b231b248.js} +2 -2
- package/dist/{tus_client-4f7254e9.js.map → tus_client-b231b248.js.map} +1 -1
- package/dist/{tus_client-04080b1e.mjs → tus_client-d1ffe2d6.mjs} +2 -2
- package/dist/{tus_client-04080b1e.mjs.map → tus_client-d1ffe2d6.mjs.map} +1 -1
- package/package.json +1 -1
- package/dist/executor_client-a32bc377.mjs.map +0 -1
- package/dist/executor_client-e026942b.js +0 -13
- package/dist/executor_client-e026942b.js.map +0 -1
- package/dist/namelib-b41b10cc.mjs.map +0 -1
- package/dist/namelib-f8ff0045.js +0 -2
- package/dist/namelib-f8ff0045.js.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { c as createSDKModule } from "./executor_client-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { c as createSDKModule } from "./executor_client-5f4d0468.mjs";
|
|
2
|
+
import { ab, aN, bI, aS, bJ, bO, bN, bK, bM, bP, bL, bG, bH, bF, cr, ae, aT, ao, an, ap, aq, aV, aU, aX, aW, cv, bW, cs, ce, cf, ca, cb, cc, cd, cg, f, B, ci, ch, cm, ck, k, a3, a2, a1, a0, bj, ai, aa, aD, E, cn, cq, co, $, aC, aO, aj, c4, c3, u, M, D, F, A, y, x, N, G, z, C, aP, aQ, aB, t, l, R, aE, bn, S, b3, b2, b1, b6, b4, b0, aY, aZ, b5, a_, b7, a$, ay, az, ax, b8, aA, aR, bk, bh, bm, bo, bc, bl, bp, bg, bd, bf, a6, a5, V, W, a4, aL, aH, aM, aF, aJ, aK, bq, aG, aI, bE, bx, br, bA, bv, bz, bu, bs, bw, by, bD, bC, bB, bt, Z, ad, bU, bT, bQ, bS, ct, Y, c7, c5, bi, b, e, am, X, aw, a7, a8, c8, bX, cj, cp, h, j, i, g, ah, ag, K, bR, q, H, be, a9, as, ar, av, v, w, T, a, d, n, ak, O, J, I, U, Q, o, ac, cu, c6, c9, at, af, p, b_, m, L, au, r, s, bb, b9, ba, bV, bZ, bY, P, c1, c0, b$, c2, _, cl, al } from "./executor_client-5f4d0468.mjs";
|
|
3
|
+
import { a as a10, D as D2, N as N2, s as s2, r as r2, h as h2, g as g2, k as k2, f as f2, c, e as e2, b as b10, d as d2, l as l2, j as j2, i as i2, n as n2, q as q2, o as o2, m as m2, p as p2 } from "./ndn_types-ab30fac0.mjs";
|
|
4
4
|
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";
|
|
5
|
+
import "./content_mime-e42d5f8d.mjs";
|
|
5
6
|
const sdkModule = createSDKModule("universal");
|
|
6
7
|
const buckyos = sdkModule.buckyos;
|
|
7
8
|
const initBuckyOS = sdkModule.initBuckyOS;
|
|
@@ -44,21 +45,21 @@ const getMsgQueueClient = sdkModule.getMsgQueueClient;
|
|
|
44
45
|
const getMsgCenterClient = sdkModule.getMsgCenterClient;
|
|
45
46
|
const getRepoClient = sdkModule.getRepoClient;
|
|
46
47
|
export {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
48
|
+
ab as ACCESS_DENIED_ERROR_CODE,
|
|
49
|
+
aN as AGENT_DELEGATE_TASK_SCHEMA_ID,
|
|
50
|
+
bI as AICC_AI_METHODS,
|
|
51
|
+
aS as AICC_COMPUTE_TASK_SCHEMA_ID,
|
|
52
|
+
bJ as AICC_CORE_METHODS,
|
|
53
|
+
bO as AICC_EXECUTION_MODES,
|
|
54
|
+
bN as AICC_FEATURES,
|
|
55
|
+
bK as AICC_MANAGEMENT_METHODS,
|
|
56
|
+
bM as AICC_METHODS,
|
|
57
|
+
bP as AICC_POLICY_REFUSAL_CODES,
|
|
58
|
+
bL as AICC_QUOTA_METHODS,
|
|
59
|
+
bG as AICC_SERVICE_SERVICE_NAME,
|
|
60
|
+
bH as AICC_SERVICE_SERVICE_PORT,
|
|
61
|
+
bF as AICC_SERVICE_UNIQUE_ID,
|
|
62
|
+
cr as AIWORKSPACE_SERVICE_NAME,
|
|
62
63
|
AIWS_BUILD_STATE_FILE,
|
|
63
64
|
AIWS_COMPONENT_FILE,
|
|
64
65
|
AIWS_COMPOSITION_FILE,
|
|
@@ -69,177 +70,177 @@ export {
|
|
|
69
70
|
AIWS_MAX_INLINE_BYTES,
|
|
70
71
|
AIWS_MAX_SOURCE_FILES,
|
|
71
72
|
AIWS_TEMPLATE_FORMAT,
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
73
|
+
ae as ANONYMOUS_IDENTITY,
|
|
74
|
+
aT as APP_INSTALL_TASK_SCHEMA_ID,
|
|
75
|
+
ao as APP_LOGIN_EXCHANGE_METHOD,
|
|
76
|
+
an as APP_LOGIN_ISSUE_METHOD,
|
|
77
|
+
ap as APP_LOGIN_SETTINGS_GET_METHOD,
|
|
78
|
+
aq as APP_LOGIN_SETTINGS_SET_METHOD,
|
|
79
|
+
aV as APP_START_TASK_SCHEMA_ID,
|
|
80
|
+
aU as APP_UNINSTALL_TASK_SCHEMA_ID,
|
|
81
|
+
aX as APP_UPDATE_BATCH_TASK_SCHEMA_ID,
|
|
82
|
+
aW as APP_UPDATE_TASK_SCHEMA_ID,
|
|
83
|
+
cv as AiWorkspaceClient,
|
|
84
|
+
bW as AiccClient,
|
|
85
|
+
cs as AiwsFailure,
|
|
85
86
|
AiwsSourceError,
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
87
|
+
ce as BNS_DNS_TXT_DEFAULT_TTL,
|
|
88
|
+
cf as BNS_DNS_TXT_DOC_TYPE,
|
|
89
|
+
ca as BNS_EVM_DEFAULT_GAS_LIMIT,
|
|
90
|
+
cb as BNS_EVM_DEFAULT_MAX_FEE_PER_GAS,
|
|
91
|
+
cc as BNS_EVM_DEFAULT_MAX_PRIORITY_FEE_PER_GAS,
|
|
92
|
+
cd as BNS_MAX_INLINE_DOCUMENT_BYTES,
|
|
93
|
+
cg as BNS_PUBLISH_DOCUMENT_ABI,
|
|
94
|
+
f as BS_SERVICE_TASK_MANAGER,
|
|
94
95
|
B as BS_SERVICE_VERIFY_HUB,
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
96
|
+
ci as BnsEvmTxBuilder,
|
|
97
|
+
ch as BnsEvmTxError,
|
|
98
|
+
cm as BnsTxExecutor,
|
|
99
|
+
ck as BnsTxExecutorError,
|
|
100
|
+
k as BuckyOSSDK,
|
|
101
|
+
a3 as CONTACT_CHANGED_EVENT_PATTERN,
|
|
102
|
+
a2 as CONTACT_TAG_HOMESTATION_FOLLOWING,
|
|
103
|
+
a1 as CONTACT_TAG_ZONE_AGENT,
|
|
104
|
+
a0 as CONTACT_TAG_ZONE_USER,
|
|
105
|
+
bj as DEFAULT_CHILD_CONTROL_POLICY,
|
|
106
|
+
ai as DEFAULT_JUMP_BASE_URL,
|
|
107
|
+
aa as DENY_REASONS,
|
|
108
|
+
a10 as DID_OBJECT_SERVICE_ID,
|
|
108
109
|
D2 as DID_OBJECT_SERVICE_TYPE,
|
|
109
|
-
|
|
110
|
+
aD as DOWNLOAD_TASK_SCHEMA_ID,
|
|
110
111
|
E as EXTERNAL_PRINCIPAL_CLAIM,
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
112
|
+
cn as ExecutorClient,
|
|
113
|
+
cq as ExecutorCommandStream,
|
|
114
|
+
co as ExecutorStreamError,
|
|
115
|
+
$ as FRIEND_INTENT,
|
|
116
|
+
aC as HUMAN_APPROVAL_SCHEMA_ID,
|
|
117
|
+
aO as HUMAN_INPUT_TASK_SCHEMA_ID,
|
|
118
|
+
aj as JUMP_ACTION_PATHS,
|
|
119
|
+
c4 as KEventClient,
|
|
120
|
+
c3 as KEventReader,
|
|
121
|
+
u as MsgCenterClient,
|
|
121
122
|
M as MsgQueueClient,
|
|
122
123
|
N2 as NODE_IDENTITY_SCHEMA_V2,
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
124
|
+
D as NOTIFY_ACTION_ANSWER,
|
|
125
|
+
F as NOTIFY_ACTION_DISMISS,
|
|
126
|
+
A as NOTIFY_CHOICE_CONTROL_ID,
|
|
127
|
+
y as NOTIFY_DATA_VERSION,
|
|
128
|
+
x as NOTIFY_DELIVERED_INTENT,
|
|
128
129
|
N as NOTIFY_INTENT,
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
130
|
+
G as NOTIFY_LINK_PATH,
|
|
131
|
+
z as NOTIFY_SESSION_PREFIX,
|
|
132
|
+
C as NOTIFY_TEXT_CONTROL_ID,
|
|
133
|
+
aP as OPENDAN_ASYNC_TOOL_TASK_SCHEMA_ID,
|
|
134
|
+
aQ as OPENDAN_COMMAND_TASK_SCHEMA_ID,
|
|
135
|
+
aB as RAW_TASK_SCHEMA_ID,
|
|
136
|
+
t as RPCError,
|
|
137
|
+
l as RepoClient,
|
|
137
138
|
R as RuntimeType,
|
|
138
|
-
|
|
139
|
-
|
|
139
|
+
aE as SCHEDULER_DISPATCH_THUNK_TASK_SCHEMA_ID,
|
|
140
|
+
bn as StorageDomain,
|
|
140
141
|
S as SystemConfigClient,
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
142
|
+
b3 as TASK_ERR_ALREADY_COMPLETED,
|
|
143
|
+
b2 as TASK_ERR_CONTROL_ALREADY_PENDING,
|
|
144
|
+
b1 as TASK_ERR_CONTROL_NOT_AVAILABLE,
|
|
145
|
+
b6 as TASK_ERR_IDEMPOTENCY_CONFLICT,
|
|
146
|
+
b4 as TASK_ERR_INPUT_SCHEMA_MISMATCH,
|
|
147
|
+
b0 as TASK_ERR_INVALID_PHASE,
|
|
148
|
+
aY as TASK_ERR_NOT_FOUND,
|
|
149
|
+
aZ as TASK_ERR_PERMISSION_DENIED,
|
|
150
|
+
b5 as TASK_ERR_RESULT_SCHEMA_MISMATCH,
|
|
151
|
+
a_ as TASK_ERR_REVISION_CONFLICT,
|
|
152
|
+
b7 as TASK_ERR_SCHEMA_NOT_FOUND,
|
|
153
|
+
a$ as TASK_ERR_STALE_RUNNER_EPOCH,
|
|
154
|
+
ay as TASK_MANAGER_SERVICE_NAME,
|
|
155
|
+
az as TASK_MANAGER_SERVICE_PORT,
|
|
156
|
+
ax as TASK_MANAGER_SERVICE_UNIQUE_ID,
|
|
157
|
+
b8 as TASK_MGR_ERROR_CODES,
|
|
158
|
+
aA as TASK_POLICY_PRESET_COLLABORATIVE_TREE_V1,
|
|
159
|
+
aR as TOOL_EXEC_BASH_TASK_SCHEMA_ID,
|
|
160
|
+
bk as TaskAction,
|
|
161
|
+
bh as TaskControlAction,
|
|
162
|
+
bm as TaskDataScope,
|
|
163
|
+
bo as TaskEventType,
|
|
164
|
+
bc as TaskExecutorKind,
|
|
165
|
+
bl as TaskGrantScope,
|
|
166
|
+
bp as TaskManagerClient,
|
|
167
|
+
bg as TaskOutcome,
|
|
168
|
+
bd as TaskPhase,
|
|
169
|
+
bf as TaskWaitReasonKind,
|
|
170
|
+
a6 as USER_GROUP_REF_PREFIX,
|
|
171
|
+
a5 as USER_TYPE_GROUP_REF_PREFIX,
|
|
171
172
|
V as VerifyHubClient,
|
|
172
173
|
W as WEB3_BRIDGE_HOST,
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
174
|
+
a4 as WELL_KNOWN_CONTACT_TAGS,
|
|
175
|
+
aL as WORKFLOW_EXECUTE_RPC_TASK_SCHEMA_ID,
|
|
176
|
+
aH as WORKFLOW_MAP_SHARD_TASK_SCHEMA_ID,
|
|
177
|
+
aM as WORKFLOW_RUN_TARGET_TASK_SCHEMA_ID,
|
|
178
|
+
aF as WORKFLOW_RUN_TREE_TASK_SCHEMA_ID,
|
|
179
|
+
aJ as WORKFLOW_SCHEDULE_TASK_SCHEMA_ID,
|
|
180
|
+
aK as WORKFLOW_SEND_MESSAGE_TASK_SCHEMA_ID,
|
|
181
|
+
bq as WORKFLOW_SERVICE_NAME,
|
|
182
|
+
aG as WORKFLOW_STEP_TASK_SCHEMA_ID,
|
|
183
|
+
aI as WORKFLOW_THUNK_TASK_SCHEMA_ID,
|
|
184
|
+
bE as WorkflowClient,
|
|
185
|
+
bx as WorkflowDefinitionStatus,
|
|
186
|
+
br as WorkflowErrorCode,
|
|
187
|
+
bA as WorkflowHumanActionKind,
|
|
188
|
+
bv as WorkflowJoinMode,
|
|
189
|
+
bz as WorkflowNodeRunState,
|
|
190
|
+
bu as WorkflowOutputMode,
|
|
191
|
+
bs as WorkflowRequestError,
|
|
192
|
+
bw as WorkflowRetryFallback,
|
|
193
|
+
by as WorkflowRunStatus,
|
|
194
|
+
bD as WorkflowScheduledTaskFireStatus,
|
|
195
|
+
bC as WorkflowScheduledTaskMisfirePolicy,
|
|
196
|
+
bB as WorkflowScheduledTaskStatus,
|
|
197
|
+
bt as WorkflowStepType,
|
|
197
198
|
Z as ZONE_USER_TYPES,
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
199
|
+
ad as accessDenialOf,
|
|
200
|
+
bU as aiccMessageFirstText,
|
|
201
|
+
bT as aiccMessageTextContent,
|
|
202
|
+
bQ as aiccRefusalOf,
|
|
203
|
+
bS as aiccTextMessage,
|
|
203
204
|
aiwsContentDigest,
|
|
204
|
-
|
|
205
|
+
ct as aiwsReferenceUrl,
|
|
205
206
|
aiwsTemplateDigest,
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
207
|
+
Y as answerNotify,
|
|
208
|
+
c7 as appDidFromId,
|
|
209
|
+
c5 as appIdFromDid,
|
|
209
210
|
attachEvent,
|
|
210
|
-
|
|
211
|
+
bi as baselineTaskControlProfile,
|
|
211
212
|
b as bns,
|
|
212
|
-
|
|
213
|
+
e as bucket,
|
|
213
214
|
buckyos,
|
|
214
215
|
buildControl,
|
|
215
216
|
buildFiles,
|
|
216
|
-
|
|
217
|
+
am as buildJumpUrl,
|
|
217
218
|
checkComponent,
|
|
218
219
|
checkComposition,
|
|
219
220
|
checkDeclarative,
|
|
220
221
|
collectSources,
|
|
221
|
-
|
|
222
|
+
X as commitNotifyAnswer,
|
|
222
223
|
compatManifest,
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
224
|
+
aw as completeAppAccessTokenLogin,
|
|
225
|
+
a7 as contactTagApp,
|
|
226
|
+
a8 as contactTagKind,
|
|
226
227
|
controlSkeleton,
|
|
227
|
-
|
|
228
|
+
c8 as createAppInstanceId,
|
|
228
229
|
createControlSource,
|
|
229
230
|
createEventReader,
|
|
230
231
|
createSDKModule,
|
|
231
232
|
create_event_reader,
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
233
|
+
bX as decisionRequirements,
|
|
234
|
+
cj as decodeBnsPublishDocumentCalldata,
|
|
235
|
+
cp as encodeExecutorControl,
|
|
235
236
|
ensureFolder,
|
|
236
237
|
exportBundle,
|
|
237
238
|
findFolder,
|
|
238
239
|
folderName,
|
|
239
240
|
getAccountInfo,
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
241
|
+
h as getActiveRuntimeType,
|
|
242
|
+
j as getActiveSessionToken,
|
|
243
|
+
i as getActiveZoneGatewayOrigin,
|
|
243
244
|
getAiWorkspaceClient,
|
|
244
245
|
getAiccClient,
|
|
245
246
|
getAppDataDir,
|
|
@@ -252,8 +253,8 @@ export {
|
|
|
252
253
|
getCurrentIdentity,
|
|
253
254
|
getCurrentWalletUser,
|
|
254
255
|
g as getCurrentWalletUserFromHost,
|
|
255
|
-
|
|
256
|
-
|
|
256
|
+
s2 as getDidIdentifier,
|
|
257
|
+
r2 as getDidMethod,
|
|
257
258
|
getKEventClient,
|
|
258
259
|
getMsgCenterClient,
|
|
259
260
|
getMsgQueueClient,
|
|
@@ -270,67 +271,67 @@ export {
|
|
|
270
271
|
h2 as hashPassword,
|
|
271
272
|
homeControlDir,
|
|
272
273
|
homeExportDir,
|
|
273
|
-
|
|
274
|
-
|
|
274
|
+
ah as identityAllows,
|
|
275
|
+
ag as identityKey,
|
|
275
276
|
initBuckyOS,
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
277
|
+
K as inputPrompt,
|
|
278
|
+
bR as isAiccAiMethod,
|
|
279
|
+
g2 as isBuckyOSAgentDocument,
|
|
280
|
+
k2 as isBuckyOSDIDObjectCard,
|
|
281
|
+
f2 as isBuckyOSDeviceDocument,
|
|
282
|
+
c as isBuckyOSDeviceMiniDocument,
|
|
283
|
+
e2 as isBuckyOSLocalNodeIdentityConfig,
|
|
284
|
+
b10 as isBuckyOSOwnerDocument,
|
|
285
|
+
d2 as isBuckyOSZoneBootDocument,
|
|
286
|
+
l2 as isBuckyOSZoneConfig,
|
|
287
|
+
j2 as isBuckyOSZoneDocument,
|
|
288
|
+
q as isExternalPrincipal,
|
|
289
|
+
H as isNotifyClosed,
|
|
289
290
|
isSourcePath,
|
|
290
|
-
|
|
291
|
-
|
|
291
|
+
be as isTerminalTaskPhase,
|
|
292
|
+
a9 as isUserGroupRefTag,
|
|
292
293
|
i2 as isW3CDIDDocumentBase,
|
|
293
|
-
|
|
294
|
-
|
|
294
|
+
as as issueAppCustomerLink,
|
|
295
|
+
ar as issueAppLoginCode,
|
|
295
296
|
joinPath,
|
|
296
297
|
login,
|
|
297
|
-
|
|
298
|
+
av as loginByAppAccessToken,
|
|
298
299
|
loginByBrowserSSO,
|
|
299
300
|
loginByPassword,
|
|
300
301
|
loginByRuntimeSession,
|
|
301
302
|
logout,
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
303
|
+
v as mailboxAddress,
|
|
304
|
+
w as mailboxResource,
|
|
305
|
+
T as msgMachineData,
|
|
305
306
|
n2 as namelib,
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
307
|
+
a as ndm,
|
|
308
|
+
d as ndm_proxy,
|
|
309
|
+
n as ndn,
|
|
310
|
+
ak as normalizeZoneHostname,
|
|
311
|
+
O as notifyAnswerToTaskResult,
|
|
312
|
+
J as notifyCategoryFromSessionId,
|
|
313
|
+
I as notifyCategorySessionId,
|
|
314
|
+
U as notifyMessageData,
|
|
315
|
+
Q as notifyUrl,
|
|
315
316
|
o as objectUrl,
|
|
316
317
|
openExternalUrl,
|
|
317
318
|
packBuildFiles,
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
319
|
+
ac as parseAccessDenial,
|
|
320
|
+
cu as parseAiwsReferenceUrl,
|
|
321
|
+
c6 as parseAppId,
|
|
322
|
+
c9 as parseAppInstanceId,
|
|
323
|
+
at as parseAppLoginExchangeResult,
|
|
324
|
+
q2 as parseBuckyOSDIDDocument,
|
|
325
|
+
o2 as parseBuckyOSDeviceMiniDocument,
|
|
326
|
+
m2 as parseBuckyOSOwnerDocument,
|
|
327
|
+
af as parseCurrentIdentity,
|
|
327
328
|
p as parseSessionTokenClaims,
|
|
328
|
-
|
|
329
|
+
b_ as parseVideoPrompt,
|
|
329
330
|
p2 as parseW3CDIDDocumentBase,
|
|
330
|
-
|
|
331
|
-
|
|
331
|
+
m as parseZoneUserType,
|
|
332
|
+
L as promptOptions,
|
|
332
333
|
pullControl,
|
|
333
|
-
|
|
334
|
+
au as randomAppLoginNonce,
|
|
334
335
|
readBuildState,
|
|
335
336
|
removeEvent,
|
|
336
337
|
r as resolveDidFromHost,
|
|
@@ -342,27 +343,27 @@ export {
|
|
|
342
343
|
sourcesDigest,
|
|
343
344
|
sourcesKey,
|
|
344
345
|
subscribeKEvent,
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
346
|
+
bb as taskMgrErrorCode,
|
|
347
|
+
b9 as taskMgrTaskEventPath,
|
|
348
|
+
ba as taskMgrTreeEventPath,
|
|
348
349
|
templateDir,
|
|
349
350
|
unbuiltChanges,
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
351
|
+
bV as validateAiccMessage,
|
|
352
|
+
bZ as validateDecisionAnswers,
|
|
353
|
+
bY as validateDecisionRequest,
|
|
354
|
+
P as validateNotifyAnswer,
|
|
355
|
+
c1 as validateVideoEdit,
|
|
356
|
+
c0 as validateVideoGeneration,
|
|
357
|
+
b$ as validateVideoOutput,
|
|
357
358
|
verifyBundle,
|
|
358
|
-
|
|
359
|
-
|
|
359
|
+
c2 as videoGenerationRequirement,
|
|
360
|
+
_ as waitNotify,
|
|
360
361
|
walletSignWithActiveDid,
|
|
361
|
-
|
|
362
|
+
cl as walletUserHasSnAccount,
|
|
362
363
|
watchControl,
|
|
363
364
|
writeBuildState,
|
|
364
365
|
writeHomeFile,
|
|
365
366
|
writeSourceFile,
|
|
366
|
-
|
|
367
|
+
al as zoneActionUrl
|
|
367
368
|
};
|
|
368
369
|
//# sourceMappingURL=index.mjs.map
|
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 './
|
|
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 * as ndm_proxy from './ndm_proxy'\n\nexport * from './executor_client'\nexport * from './aiworkspace_client'\nexport * from './aiws_ext'\nexport * as bucket from './bucket_client'\nexport * as objectUrl from './object_url'\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,5 +1,6 @@
|
|
|
1
1
|
import { kRPCClient } from './krpc_client';
|
|
2
2
|
import type { KEventClient } from './kevent_client';
|
|
3
|
+
import type { MsgObject } from './ndn_types';
|
|
3
4
|
import type { CommitResultReq, HumanPromptOption, HumanTaskPrompt, Task, TaskDataResult } from './task_mgr_client';
|
|
4
5
|
export declare const MSG_CENTER_SERVICE_UNIQUE_ID = "msg-center";
|
|
5
6
|
export declare const MSG_CENTER_SERVICE_NAME = "msg-center";
|
|
@@ -11,7 +12,7 @@ export declare const UI_SESSION_PLATFORM_TELEGRAM = "tg";
|
|
|
11
12
|
export type DID = string;
|
|
12
13
|
export type ObjId = string;
|
|
13
14
|
export type JsonObject = Record<string, unknown>;
|
|
14
|
-
export type MsgObject
|
|
15
|
+
export type { MsgObject };
|
|
15
16
|
export type MailboxKind = 'INBOX' | 'SENT' | 'GROUP_INBOX' | 'REQUEST_BOX';
|
|
16
17
|
export type RecipientState = 'UNREAD' | 'READING' | 'READ' | 'ARCHIVED' | 'DELETED';
|
|
17
18
|
export type DeliveryState = 'WAIT' | 'SENDING' | 'SENT' | 'FAILED' | 'DEAD';
|