buckyos 0.7.132 → 0.7.133

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/README.md CHANGED
@@ -6,17 +6,21 @@ Node.js,不需要安装 Deno,也不需要 checkout BuckyOS 或本仓库:
6
6
  ```bash
7
7
  npm install buckyos
8
8
  npx buckyos --version
9
- npx buckyos pikg init . --owner did:bns:alice --kind static-web --source ./dist
9
+ npx buckyos pikg init . --name example --owner did:bns:alice --kind static-web --source ./dist
10
10
  npm run build
11
11
  npx buckyos pikg build ./dapp_meta
12
12
  npx buckyos pikg pack ./dapp_dist
13
13
  npx buckyos pikg info ./dapp_dist/example-0.1.0.pikg
14
- npx buckyos app install ./dapp_dist/example-0.1.0.pikg --policy local-developer
15
- npx buckyos task wait <task-id>
16
- npx buckyos app status example
17
- npx buckyos log tail --app example
14
+ npx buckyos --non-interactive app fetch ./dapp_dist/example-0.1.0.pikg --plan ./example.install-plan.json --policy local-developer
15
+ npx buckyos --non-interactive --yes --timeout 10m app install ./dapp_dist/example-0.1.0.pikg --plan ./example.install-plan.json --policy local-developer
16
+ npx buckyos app status did:bns:example.alice
17
+ npx buckyos log tail --app example.alice.bns.did
18
18
  ```
19
19
 
20
+ 本地 `pikg build/pack/info` 不要求运行 BuckyOS;安装步骤需要已配置并接受当前身份的 Zone。
21
+ 完整打包说明见 [PIKG 模块](doc/modules/pikg.md),首装与升级见 [App 模块](doc/modules/app.md),
22
+ 跨仓库资料见 [PIKG 文档总览](https://github.com/buckyos/buckyos/blob/main/doc/pikg/README.md)。
23
+
20
24
  当命令需要读取项目目录和 Tool 包目录之外的源码时,通过可重复的全局参数显式授权:
21
25
 
22
26
  ```bash
package/cli/core/app.ts CHANGED
@@ -37,6 +37,7 @@ import { createProvisionModule, type ProvisionModuleDependencies } from '../modu
37
37
  import { createSkillModule } from '../modules/skill.ts'
38
38
  import { createAgentModule } from '../modules/agent.ts'
39
39
  import { createAiModule } from '../modules/ai.ts'
40
+ import { createShareModule } from '../modules/share.ts'
40
41
  import {
41
42
  distributionManifestView,
42
43
  getHost,
@@ -479,6 +480,7 @@ export function createRegistry(
479
480
  registry.register(createSkillModule())
480
481
  registry.register(createAgentModule())
481
482
  registry.register(createAiModule())
483
+ registry.register(createShareModule())
482
484
  return registry
483
485
  }
484
486