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