@bitfun-test/bitfun 0.2.19-daily.20261102 → 0.2.19-daily.20261102.1

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.
Files changed (2) hide show
  1. package/README.md +26 -7
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -10,13 +10,12 @@ bitfun --help
10
10
 
11
11
  The npm package exposes only the `bitfun` command. The selected platform npm
12
12
  package contains the native executable, the Bun extension-host runtime, the
13
- Extension Host entrypoint, and product-provided plugin npm directories:
13
+ Extension Host entrypoint, and an empty built-in plugin manifest:
14
14
 
15
15
  ```text
16
16
  vendor/<rust-target>/bin/bitfun(.exe)
17
17
  host/extension-host.js
18
18
  plugins/manifest.json
19
- plugins/<plugin-package>/...
20
19
  runtime/bun(.exe)
21
20
  ```
22
21
 
@@ -25,11 +24,31 @@ small Node.js entry point replaces itself with the native executable after
25
24
  resolving these resources. Windows and older Node.js releases retain the
26
25
  compatible spawn-and-wait launcher path.
27
26
 
28
- The release workflow installs `deveco-harness@0.1.2` from the official npm
29
- registry before packaging and includes its runtime dependencies below
30
- `plugins/deveco-harness/`. Built-in plugins are loaded automatically when the
31
- CLI starts. User-configured OpenCode plugins continue to use their configured
32
- npm or local file spec.
27
+ The release workflow packages no built-in plugins. The Extension Host and Bun
28
+ runtime support user-configured OpenCode plugins through their npm or local file
29
+ specs. Product builds can still supply built-in plugins explicitly through the
30
+ packager's `--plugins-dir` option.
31
+
32
+ To keep using the previously bundled DevEco harness, add its pinned npm spec to
33
+ the `plugin` array in your native `app.json`, preserving any existing entries:
34
+
35
+ ```json
36
+ {
37
+ "plugin": ["deveco-harness@0.1.2"]
38
+ }
39
+ ```
40
+
41
+ For the official CLI, the default native configuration file is:
42
+
43
+ - Linux: `~/.config/bitfun/config/app.json` (or
44
+ `$XDG_CONFIG_HOME/bitfun/config/app.json` when set).
45
+ - macOS: `~/Library/Application Support/bitfun/config/app.json`.
46
+ - Windows: `%APPDATA%\bitfun\config\app.json`.
47
+
48
+ If `BITFUN_USER_ROOT` is set, use `<BITFUN_USER_ROOT>/config/app.json`. Restart
49
+ the CLI after saving. The bundled Host/Bun resolves the npm declaration and
50
+ installs its runtime dependencies when loading the plugin. Loading a plugin does
51
+ not by itself grant access to DevEco product login credentials.
33
52
 
34
53
  Supported npm targets are Linux x64, macOS ARM64, Windows x64, and OpenHarmony
35
54
  ARM64. The OpenHarmony platform package is signed and published by the release workflow.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitfun-test/bitfun",
3
- "version": "0.2.19-daily.20261102",
3
+ "version": "0.2.19-daily.20261102.1",
4
4
  "description": "BitFun CLI - terminal AI agent",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -21,10 +21,10 @@
21
21
  "third-party"
22
22
  ],
23
23
  "optionalDependencies": {
24
- "@bitfun-test/bitfun-linux-x64": "npm:@bitfun-test/bitfun@0.2.19-daily.20261102.linux-x64",
25
- "@bitfun-test/bitfun-darwin-arm64": "npm:@bitfun-test/bitfun@0.2.19-daily.20261102.darwin-arm64",
26
- "@bitfun-test/bitfun-win32-x64": "npm:@bitfun-test/bitfun@0.2.19-daily.20261102.win32-x64",
27
- "@bitfun-test/bitfun-ohos-arm64": "npm:@bitfun-test/bitfun@0.2.19-daily.20261102.ohos-arm64"
24
+ "@bitfun-test/bitfun-linux-x64": "npm:@bitfun-test/bitfun@0.2.19-daily.20261102.1.linux-x64",
25
+ "@bitfun-test/bitfun-darwin-arm64": "npm:@bitfun-test/bitfun@0.2.19-daily.20261102.1.darwin-arm64",
26
+ "@bitfun-test/bitfun-win32-x64": "npm:@bitfun-test/bitfun@0.2.19-daily.20261102.1.win32-x64",
27
+ "@bitfun-test/bitfun-ohos-arm64": "npm:@bitfun-test/bitfun@0.2.19-daily.20261102.1.ohos-arm64"
28
28
  },
29
29
  "repository": {
30
30
  "type": "git",