@cleocode/core 2026.3.49 → 2026.3.51
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/dist/bootstrap.d.ts.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +981 -619
- package/dist/index.js.map +4 -4
- package/package.json +5 -5
- package/src/bootstrap.ts +1 -2
- package/src/index.ts +3 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cleocode/core",
|
|
3
|
-
"version": "2026.3.
|
|
3
|
+
"version": "2026.3.51",
|
|
4
4
|
"description": "CLEO core business logic kernel — tasks, sessions, memory, orchestration, lifecycle, with bundled SQLite store",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -36,10 +36,10 @@
|
|
|
36
36
|
"write-file-atomic": "^6.0.0",
|
|
37
37
|
"yaml": "^2.8.2",
|
|
38
38
|
"zod": "^3.25.76",
|
|
39
|
-
"@cleocode/
|
|
40
|
-
"@cleocode/
|
|
41
|
-
"@cleocode/
|
|
42
|
-
"@cleocode/
|
|
39
|
+
"@cleocode/adapters": "2026.3.51",
|
|
40
|
+
"@cleocode/agents": "2026.3.51",
|
|
41
|
+
"@cleocode/skills": "2026.3.51",
|
|
42
|
+
"@cleocode/contracts": "2026.3.51"
|
|
43
43
|
},
|
|
44
44
|
"engines": {
|
|
45
45
|
"node": ">=24.0.0"
|
package/src/bootstrap.ts
CHANGED
|
@@ -16,7 +16,7 @@ import { mkdir, readFile, writeFile } from 'node:fs/promises';
|
|
|
16
16
|
import { homedir } from 'node:os';
|
|
17
17
|
import { join } from 'node:path';
|
|
18
18
|
import { getAgentsHome, getCleoTemplatesDir } from './paths.js';
|
|
19
|
-
import { getPackageRoot } from './scaffold.js';
|
|
19
|
+
import { ensureGlobalHome, getPackageRoot } from './scaffold.js';
|
|
20
20
|
|
|
21
21
|
// ── Types ────────────────────────────────────────────────────────────
|
|
22
22
|
|
|
@@ -55,7 +55,6 @@ export async function bootstrapGlobalCleo(options?: BootstrapOptions): Promise<B
|
|
|
55
55
|
|
|
56
56
|
// Step 0: Ensure global home structure and clean stale artifacts
|
|
57
57
|
try {
|
|
58
|
-
const { ensureGlobalHome } = await import('./scaffold.js');
|
|
59
58
|
await ensureGlobalHome();
|
|
60
59
|
} catch {
|
|
61
60
|
// Best-effort — don't fail bootstrap if cleanup fails
|
package/src/index.ts
CHANGED
|
@@ -238,6 +238,9 @@ export {
|
|
|
238
238
|
|
|
239
239
|
// Adapter manager
|
|
240
240
|
export { AdapterManager } from './adapters/index.js';
|
|
241
|
+
export type { BootstrapContext, BootstrapOptions } from './bootstrap.js';
|
|
242
|
+
// Bootstrap — used by postinstall and install-global
|
|
243
|
+
export { bootstrapGlobalCleo } from './bootstrap.js';
|
|
241
244
|
export type {
|
|
242
245
|
AdminAPI,
|
|
243
246
|
CleoInitOptions,
|