keystone-cli 2.1.1 → 2.1.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "keystone-cli",
3
- "version": "2.1.1",
3
+ "version": "2.1.2",
4
4
  "description": "A local-first, declarative, agentic workflow orchestrator built on Bun",
5
5
  "type": "module",
6
6
  "bin": {
@@ -16,13 +16,7 @@
16
16
  "format": "biome format --write .",
17
17
  "schema:generate": "bun run src/scripts/generate-schemas.ts"
18
18
  },
19
- "keywords": [
20
- "workflow",
21
- "orchestrator",
22
- "agentic",
23
- "automation",
24
- "bun"
25
- ],
19
+ "keywords": ["workflow", "orchestrator", "agentic", "automation", "bun"],
26
20
  "author": "Mark Hingston",
27
21
  "license": "MIT",
28
22
  "repository": {
@@ -30,12 +24,7 @@
30
24
  "url": "https://github.com/mhingston/keystone-cli.git"
31
25
  },
32
26
  "homepage": "https://github.com/mhingston/keystone-cli#readme",
33
- "files": [
34
- "src",
35
- "README.md",
36
- "LICENSE",
37
- "logo.png"
38
- ],
27
+ "files": ["src", "README.md", "LICENSE", "logo.png"],
39
28
  "dependencies": {
40
29
  "@ast-grep/cli": "^0.40.3",
41
30
  "@ast-grep/napi": "^0.40.3",
@@ -1,12 +1,13 @@
1
1
  import { existsSync, readFileSync, readdirSync, statSync } from 'node:fs';
2
2
  import * as path from 'node:path';
3
3
  import { join } from 'node:path';
4
- import { bundleAssets } from './assets.macro.ts' with { type: 'macro' };
5
4
 
6
5
  // These are bundled at build-time (macro). If macros are unavailable at runtime,
7
6
  // fall back to an empty set so local filesystem reads still work.
8
7
  const EMBEDDED_ASSETS = (() => {
9
8
  try {
9
+ // Dynamic import to avoid Bun's security restrictions in node_modules
10
+ const { bundleAssets } = require('./assets.macro.ts');
10
11
  return bundleAssets();
11
12
  } catch (e) {
12
13
  return {};
Binary file
Binary file
Binary file
File without changes