kylon-cli 0.7.5-next.1113 → 0.7.5-next.1115
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 +19 -5
- package/dist/kylon-bundle.manifest.json +3 -3
- package/dist/kylon-bundle.mjs +3 -3
- package/dist/kylon-core-bundle.mjs +3 -0
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -1088,14 +1088,28 @@ on the next provider call, but breakpoints just don't fire.
|
|
|
1088
1088
|
|
|
1089
1089
|
### Bundles
|
|
1090
1090
|
|
|
1091
|
-
|
|
1092
|
-
|
|
1091
|
+
`scripts/bundle.mjs` builds two single-file ESM bundles from this package,
|
|
1092
|
+
each with its esbuild metafile beside it (`<bundle>.meta.json`, not
|
|
1093
|
+
published):
|
|
1094
|
+
|
|
1095
|
+
- `dist/kylon-bundle.mjs`, the human CLI (`src/bin/kylon.ts`) and the
|
|
1096
|
+
package's one bin, `kylon`;
|
|
1097
|
+
- `dist/kylon-core-bundle.mjs`, the core bundle (`src/bin/kylon-core.ts`):
|
|
1098
|
+
an agent's commands (`workspace`, `mcp serve`, `gateway attach`, the App
|
|
1099
|
+
checkout's git credential helper) and the Kylon app's `desktop` onboarding
|
|
1100
|
+
protocol. It contains none of the login, link, connect, service, update or
|
|
1101
|
+
pinning modules, nor the readers of the saved login and the legacy gateway
|
|
1102
|
+
session, and answers every other command as not available in this build.
|
|
1103
|
+
`scripts/bundle-guard.mjs` reads both metafiles at the end of every build
|
|
1104
|
+
and fails it when one of those modules appears in the core bundle.
|
|
1105
|
+
|
|
1106
|
+
Three variants, each building both bundles:
|
|
1093
1107
|
|
|
1094
1108
|
| Script | Output | Passes to `bundle.mjs` | Use when |
|
|
1095
1109
|
|---|---|---|---|
|
|
1096
|
-
| `pnpm --filter kylon-cli bundle` | `dist/kylon-bundle.mjs` | _(none)_ | debugging the bundled shape while keeping readable names — not shipped |
|
|
1097
|
-
| `pnpm --filter kylon-cli bundle:minify` | `dist/kylon-bundle.mjs` | `--minify` | reproducing the pre-obfuscation size and behavior for a bisect |
|
|
1098
|
-
| `pnpm --filter kylon-cli bundle:release` | `dist/kylon-bundle.mjs` | `--minify --obfuscate` | what ships on npm |
|
|
1110
|
+
| `pnpm --filter kylon-cli bundle` | `dist/kylon-bundle.mjs`, `dist/kylon-core-bundle.mjs` | _(none)_ | debugging the bundled shape while keeping readable names — not shipped |
|
|
1111
|
+
| `pnpm --filter kylon-cli bundle:minify` | `dist/kylon-bundle.mjs`, `dist/kylon-core-bundle.mjs` | `--minify` | reproducing the pre-obfuscation size and behavior for a bisect |
|
|
1112
|
+
| `pnpm --filter kylon-cli bundle:release` | `dist/kylon-bundle.mjs`, `dist/kylon-core-bundle.mjs` | `--minify --obfuscate` | what ships on npm |
|
|
1099
1113
|
|
|
1100
1114
|
The `bundle:release` path runs esbuild with `--minify`, then passes the
|
|
1101
1115
|
output through `javascript-obfuscator`. It's also what the `prepack` hook
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.7.5-next.
|
|
3
|
-
"fingerprint": "
|
|
4
|
-
"source_commit": "
|
|
2
|
+
"version": "0.7.5-next.1115",
|
|
3
|
+
"fingerprint": "27a2a2e0ad872b506c72978bb07457d31575eb519839f74d56fe5591208c5e6c",
|
|
4
|
+
"source_commit": "fa7844ab8194f58128f9e094eeab664d52be8b4d"
|
|
5
5
|
}
|