@almadar/orb 5.2.0 → 5.3.0

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 (54) hide show
  1. package/README.md +57 -19
  2. package/bin/{almadar → orb} +30 -24
  3. package/package.json +9 -9
  4. package/scripts/postinstall.js +25 -15
  5. package/shells/almadar-shell/package.json +1 -1
  6. package/shells/almadar-shell/packages/client/package.json +4 -4
  7. package/shells/almadar-shell/packages/server/package.json +1 -1
  8. package/shells/almadar-shell/pnpm-lock.yaml +53 -40
  9. package/shells/almadar-shell-hono/LICENSE +72 -0
  10. package/shells/almadar-shell-hono/README.md +25 -0
  11. package/shells/almadar-shell-hono/locales/en.json +120 -0
  12. package/shells/almadar-shell-hono/package.json +31 -0
  13. package/shells/almadar-shell-hono/packages/client/eslint.config.cjs +23 -0
  14. package/shells/almadar-shell-hono/packages/client/index.html +13 -0
  15. package/shells/almadar-shell-hono/packages/client/package-lock.json +9750 -0
  16. package/shells/almadar-shell-hono/packages/client/package.json +61 -0
  17. package/shells/almadar-shell-hono/packages/client/postcss.config.js +6 -0
  18. package/shells/almadar-shell-hono/packages/client/src/App.tsx +84 -0
  19. package/shells/almadar-shell-hono/packages/client/src/config/firebase.ts +37 -0
  20. package/shells/almadar-shell-hono/packages/client/src/features/auth/AuthContext.tsx +139 -0
  21. package/shells/almadar-shell-hono/packages/client/src/features/auth/authService.ts +83 -0
  22. package/shells/almadar-shell-hono/packages/client/src/features/auth/components/Login.tsx +218 -0
  23. package/shells/almadar-shell-hono/packages/client/src/features/auth/components/ProtectedRoute.tsx +27 -0
  24. package/shells/almadar-shell-hono/packages/client/src/features/auth/components/UserProfile.tsx +68 -0
  25. package/shells/almadar-shell-hono/packages/client/src/features/auth/components/index.ts +3 -0
  26. package/shells/almadar-shell-hono/packages/client/src/features/auth/index.ts +13 -0
  27. package/shells/almadar-shell-hono/packages/client/src/features/auth/types.ts +24 -0
  28. package/shells/almadar-shell-hono/packages/client/src/index.css +35 -0
  29. package/shells/almadar-shell-hono/packages/client/src/main.tsx +8 -0
  30. package/shells/almadar-shell-hono/packages/client/src/navigation/index.ts +55 -0
  31. package/shells/almadar-shell-hono/packages/client/src/pages/index.ts +12 -0
  32. package/shells/almadar-shell-hono/packages/client/tailwind-preset.cjs +259 -0
  33. package/shells/almadar-shell-hono/packages/client/tailwind.config.js +21 -0
  34. package/shells/almadar-shell-hono/packages/client/tsconfig.json +33 -0
  35. package/shells/almadar-shell-hono/packages/client/vite.config.ts +50 -0
  36. package/shells/almadar-shell-hono/packages/server/eslint.config.cjs +19 -0
  37. package/shells/almadar-shell-hono/packages/server/package.json +37 -0
  38. package/shells/almadar-shell-hono/packages/server/src/app.ts +31 -0
  39. package/shells/almadar-shell-hono/packages/server/src/index.ts +31 -0
  40. package/shells/almadar-shell-hono/packages/server/src/routes.ts +12 -0
  41. package/shells/almadar-shell-hono/packages/server/src/serve.ts +45 -0
  42. package/shells/almadar-shell-hono/packages/server/tsconfig.json +23 -0
  43. package/shells/almadar-shell-hono/packages/shared/package.json +25 -0
  44. package/shells/almadar-shell-hono/packages/shared/src/index.ts +2 -0
  45. package/shells/almadar-shell-hono/packages/shared/tsconfig.json +17 -0
  46. package/shells/almadar-shell-hono/packages/shared/tsup.config.ts +10 -0
  47. package/shells/almadar-shell-hono/pnpm-lock.yaml +9423 -0
  48. package/shells/almadar-shell-hono/pnpm-workspace.yaml +2 -0
  49. package/shells/almadar-shell-hono/tsup.config.ts +13 -0
  50. package/shells/almadar-shell-hono/turbo.json +17 -0
  51. package/shells/almadar-shell-hono/vitest.config.ts +8 -0
  52. package/shells/orb-shell/README.md +1 -1
  53. package/shells/orb-shell/packages/client/package.json +1 -1
  54. package/shells/orb-shell/pnpm-lock.yaml +196 -10
package/README.md CHANGED
@@ -1,45 +1,83 @@
1
- # @almadar/cli
1
+ # @almadar/orb
2
2
 
3
- Almadar CLI - Compile Almadar schemas to full-stack applications.
3
+ Orb CLI compile .orb programs to full-stack applications.
4
4
 
5
5
  ## Installation
6
6
 
7
7
  ```bash
8
- npm install -g @almadar/cli
8
+ npm install -g @almadar/orb
9
+ ```
10
+
11
+ Or use the curl installer:
12
+
13
+ ```bash
14
+ curl -fsSL https://orb.almadar.io/install.sh | sh
9
15
  ```
10
16
 
11
17
  ## Usage
12
18
 
13
19
  ```bash
14
- # Validate a schema
15
- almadar validate schema.orb
20
+ # Validate an .orb file (0 errors, 0 warnings required)
21
+ orbital validate app.orb
16
22
 
17
- # Compile to TypeScript (React + Express)
18
- almadar compile schema.orb --shell typescript
23
+ # Lower .lolo syntax to .orb JSON IR
24
+ orbital emit-orb app.orb
19
25
 
20
- # Compile to Python (FastAPI + PyTorch)
21
- almadar compile schema.orb --shell python
26
+ # Compile to TypeScript shell
27
+ orbital compile app.orb --shell typescript
22
28
 
23
29
  # Start development server
24
- almadar dev schema.orb
30
+ orbital dev app.orb
31
+ ```
32
+
33
+ ## Quick Example
34
+
35
+ ```lolo
36
+ orbital TaskApp {
37
+ entity Task [persistent: tasks] {
38
+ id : string!
39
+ title : string!
40
+ status : string = "pending"
41
+ }
42
+
43
+ trait TaskBrowser -> Task [interaction] {
44
+ state browsing {
45
+ INIT -> browsing
46
+ (fetch Task)
47
+ (render-ui main { type: "entity-table", entity: "Task", fields: ["title", "status"] })
48
+ CREATE -> creating
49
+ (render-ui modal { type: "modal", isOpen: true, title: "New Task",
50
+ children: [{ type: "form-section", entity: "Task", fields: ["title", "status"], mode: "create" }] })
51
+ }
52
+ state creating {
53
+ SAVE -> browsing
54
+ (persist create Task @payload.data)
55
+ (render-ui modal null)
56
+ CANCEL -> browsing
57
+ (render-ui modal null)
58
+ }
59
+ }
60
+
61
+ page "/tasks" -> TaskBrowser
62
+ }
25
63
  ```
26
64
 
27
65
  ## Commands
28
66
 
29
67
  | Command | Description |
30
68
  |---------|-------------|
31
- | `almadar validate <file>` | Validate an Almadar schema |
32
- | `almadar parse <file>` | Parse and display schema information |
33
- | `almadar compile <file>` | Compile schema to generated code |
34
- | `almadar serve <file>` | Start the Almadar server runtime |
35
- | `almadar gui <file>` | Start the Almadar desktop GUI |
36
- | `almadar dev <file>` | Start both server and client (dev mode) |
69
+ | `orbital validate <file>` | Validate an .orb file |
70
+ | `orbital emit-orb <file>` | Lower .lolo to .orb JSON (stdout) |
71
+ | `orbital compile <file>` | Compile to generated code |
72
+ | `orbital dev <file>` | Start development server |
73
+ | `orbital new <name>` | Create a new project |
37
74
 
38
75
  ## Documentation
39
76
 
40
- - [Getting Started](https://almadar.io/docs/en/getting-started)
41
- - [CLI Reference](https://almadar.io/docs/en/reference/cli)
77
+ - [Getting Started](https://orb.almadar.io/docs/getting-started/introduction)
78
+ - [CLI Reference](https://orb.almadar.io/docs/reference/cli)
79
+ - [Language Reference](https://orb.almadar.io/docs/core-concepts/entities)
42
80
 
43
81
  ## License
44
82
 
45
- MIT
83
+ BSL 1.1
@@ -4,19 +4,18 @@ const { execFileSync } = require('child_process');
4
4
  const path = require('path');
5
5
  const fs = require('fs');
6
6
 
7
- const BINARY_NAME = process.platform === 'win32' ? 'almadar.exe' : 'almadar';
7
+ const BINARY_NAME = process.platform === 'win32' ? 'orb.exe' : 'orb';
8
8
 
9
9
  function getBinaryPath() {
10
10
  const platform = process.platform;
11
11
  const arch = process.arch;
12
12
 
13
- // Map Node.js platform/arch to package names
14
13
  const platformMap = {
15
- 'darwin-x64': '@almadar/cli-darwin-x64',
16
- 'darwin-arm64': '@almadar/cli-darwin-arm64',
17
- 'linux-x64': '@almadar/cli-linux-x64',
18
- 'linux-arm64': '@almadar/cli-linux-arm64',
19
- 'win32-x64': '@almadar/cli-windows-x64',
14
+ 'darwin-x64': '@almadar/orb-darwin-x64',
15
+ 'darwin-arm64': '@almadar/orb-darwin-arm64',
16
+ 'linux-x64': '@almadar/orb-linux-x64',
17
+ 'linux-arm64': '@almadar/orb-linux-arm64',
18
+ 'win32-x64': '@almadar/orb-windows-x64',
20
19
  };
21
20
 
22
21
  const key = `${platform}-${arch}`;
@@ -24,64 +23,71 @@ function getBinaryPath() {
24
23
 
25
24
  if (!packageName) {
26
25
  console.error(`Unsupported platform: ${platform}-${arch}`);
27
- console.error('Supported platforms: darwin-x64, darwin-arm64, linux-x64, linux-arm64, win32-x64');
26
+ console.error('Supported: darwin-x64, darwin-arm64, linux-x64, linux-arm64, win32-x64');
28
27
  process.exit(1);
29
28
  }
30
29
 
31
- // Try to find the binary in node_modules
32
30
  const possiblePaths = [
33
- // Installed as dependency
34
31
  path.join(__dirname, '..', 'node_modules', packageName, BINARY_NAME),
35
- // Hoisted to parent node_modules
36
32
  path.join(__dirname, '..', '..', packageName, BINARY_NAME),
37
- // Global install
38
33
  path.join(__dirname, '..', '..', '..', packageName, BINARY_NAME),
39
34
  ];
40
35
 
41
36
  for (const binaryPath of possiblePaths) {
42
37
  if (fs.existsSync(binaryPath)) {
43
- return binaryPath;
38
+ return { binaryPath, platformDir: path.dirname(binaryPath) };
44
39
  }
45
40
  }
46
41
 
47
- console.error(`Could not find Almadar binary for ${platform}-${arch}`);
48
- console.error('Please try reinstalling: npm install -g @almadar/cli');
42
+ console.error(`Could not find Orb binary for ${platform}-${arch}`);
43
+ console.error('Try reinstalling: npm install -g @almadar/orb');
49
44
  process.exit(1);
50
45
  }
51
46
 
52
47
  function getShellsDir() {
53
- // If user has set ORBITAL_SHELLS_DIR, respect it
54
48
  if (process.env.ORBITAL_SHELLS_DIR) {
55
49
  return process.env.ORBITAL_SHELLS_DIR;
56
50
  }
57
51
 
58
- // Look for shells bundled with this package
59
52
  const possiblePaths = [
60
- // Shells in same package
61
53
  path.join(__dirname, '..', 'shells'),
62
- // Global install - shells might be one level up
63
- path.join(__dirname, '..', '..', '@almadar', 'cli', 'shells'),
54
+ path.join(__dirname, '..', '..', '@almadar', 'orb', 'shells'),
64
55
  ];
65
56
 
66
57
  for (const shellsPath of possiblePaths) {
67
- if (fs.existsSync(shellsPath) && fs.existsSync(path.join(shellsPath, 'typescript-shell'))) {
58
+ if (fs.existsSync(shellsPath) && (
59
+ fs.existsSync(path.join(shellsPath, 'almadar-shell')) ||
60
+ fs.existsSync(path.join(shellsPath, 'typescript-shell'))
61
+ )) {
68
62
  return shellsPath;
69
63
  }
70
64
  }
71
65
 
72
- // No bundled shells found - binary will use its fallback or error
73
66
  return null;
74
67
  }
75
68
 
76
- const binaryPath = getBinaryPath();
69
+ const { binaryPath, platformDir } = getBinaryPath();
77
70
  const shellsDir = getShellsDir();
78
71
 
79
- // Build environment with ORBITAL_SHELLS_DIR if we found shells
80
72
  const env = { ...process.env };
73
+
81
74
  if (shellsDir) {
82
75
  env.ORBITAL_SHELLS_DIR = shellsDir;
83
76
  }
84
77
 
78
+ // Bun runtime (sibling to Rust binary in platform package)
79
+ const bunName = process.platform === 'win32' ? 'bun.exe' : 'bun';
80
+ const bunPath = path.join(platformDir, bunName);
81
+ if (fs.existsSync(bunPath)) {
82
+ env.ORB_BUN_PATH = bunPath;
83
+ }
84
+
85
+ // Agent dist (agent/ directory in platform package)
86
+ const agentDir = path.join(platformDir, 'agent');
87
+ if (fs.existsSync(agentDir)) {
88
+ env.ORB_AGENT_DIR = agentDir;
89
+ }
90
+
85
91
  try {
86
92
  execFileSync(binaryPath, process.argv.slice(2), {
87
93
  stdio: 'inherit',
package/package.json CHANGED
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "name": "@almadar/orb",
3
- "version": "5.2.0",
4
- "description": "Orb CLI - Compile Orbital schemas to full-stack applications",
3
+ "version": "5.3.0",
4
+ "description": "Orb CLI - deterministic when it can be, intelligent when it needs to be",
5
5
  "license": "BSL-1.1",
6
6
  "repository": {
7
7
  "type": "git",
8
- "url": "https://github.com/almadar-io/almadar.git",
8
+ "url": "https://github.com/almadar-io/orb.git",
9
9
  "directory": "cli/npm"
10
10
  },
11
11
  "homepage": "https://orb.almadar.io",
12
12
  "bugs": {
13
- "url": "https://github.com/almadar-io/almadar/issues"
13
+ "url": "https://github.com/almadar-io/orb/issues"
14
14
  },
15
15
  "keywords": [
16
16
  "orb",
@@ -49,10 +49,10 @@
49
49
  "node": ">=16.0.0"
50
50
  },
51
51
  "optionalDependencies": {
52
- "@almadar/orb-darwin-x64": "5.2.0",
53
- "@almadar/orb-darwin-arm64": "5.2.0",
54
- "@almadar/orb-linux-x64": "5.2.0",
55
- "@almadar/orb-linux-arm64": "5.2.0",
56
- "@almadar/orb-windows-x64": "5.2.0"
52
+ "@almadar/orb-darwin-x64": "5.3.0",
53
+ "@almadar/orb-darwin-arm64": "5.3.0",
54
+ "@almadar/orb-linux-x64": "5.3.0",
55
+ "@almadar/orb-linux-arm64": "5.3.0",
56
+ "@almadar/orb-windows-x64": "5.3.0"
57
57
  }
58
58
  }
@@ -7,35 +7,45 @@ const platform = process.platform;
7
7
  const arch = process.arch;
8
8
 
9
9
  const platformMap = {
10
- 'darwin-x64': '@almadar/cli-darwin-x64',
11
- 'darwin-arm64': '@almadar/cli-darwin-arm64',
12
- 'linux-x64': '@almadar/cli-linux-x64',
13
- 'linux-arm64': '@almadar/cli-linux-arm64',
14
- 'win32-x64': '@almadar/cli-windows-x64',
10
+ 'darwin-x64': '@almadar/orb-darwin-x64',
11
+ 'darwin-arm64': '@almadar/orb-darwin-arm64',
12
+ 'linux-x64': '@almadar/orb-linux-x64',
13
+ 'linux-arm64': '@almadar/orb-linux-arm64',
14
+ 'win32-x64': '@almadar/orb-windows-x64',
15
15
  };
16
16
 
17
17
  const key = `${platform}-${arch}`;
18
18
  const packageName = platformMap[key];
19
19
 
20
20
  if (!packageName) {
21
- console.warn(`\n⚠️ Almadar CLI: No pre-built binary for ${platform}-${arch}`);
22
- console.warn(' You can build from source: https://github.com/almadar-io/almadar#building-from-source\n');
21
+ console.warn(`\n Orb CLI: No pre-built binary for ${platform}-${arch}`);
22
+ console.warn(' Build from source: https://github.com/almadar-io/orb#building-from-source\n');
23
23
  process.exit(0);
24
24
  }
25
25
 
26
- // Check if the platform-specific package was installed
27
26
  const possiblePaths = [
28
27
  path.join(__dirname, '..', 'node_modules', packageName),
29
28
  path.join(__dirname, '..', '..', packageName),
30
29
  path.join(__dirname, '..', '..', '..', packageName),
31
30
  ];
32
31
 
33
- const found = possiblePaths.some(p => fs.existsSync(p));
32
+ const platformDir = possiblePaths.find(p => fs.existsSync(p));
34
33
 
35
- if (found) {
36
- console.log(`✅ Almadar CLI installed for ${platform}-${arch}`);
37
- } else {
38
- console.warn(`\n⚠️ Almadar CLI: Platform package ${packageName} not found`);
39
- console.warn(' This may happen if optional dependencies were skipped.');
40
- console.warn(' Try: npm install -g @almadar/cli --include=optional\n');
34
+ if (!platformDir) {
35
+ console.warn(`\n Orb CLI: Platform package ${packageName} not found`);
36
+ console.warn(' Try: npm install -g @almadar/orb --include=optional\n');
37
+ process.exit(0);
41
38
  }
39
+
40
+ // Verify components
41
+ const binaryName = platform === 'win32' ? 'orb.exe' : 'orb';
42
+ const bunName = platform === 'win32' ? 'bun.exe' : 'bun';
43
+
44
+ const hasBinary = fs.existsSync(path.join(platformDir, binaryName));
45
+ const hasBun = fs.existsSync(path.join(platformDir, bunName));
46
+ const hasAgent = fs.existsSync(path.join(platformDir, 'agent', 'cli.js'));
47
+
48
+ console.log(`Orb CLI installed for ${platform}-${arch}:`);
49
+ console.log(` Binary: ${hasBinary ? 'ok' : 'missing'}`);
50
+ console.log(` Bun: ${hasBun ? 'ok' : 'not bundled (agent features require bun on PATH)'}`);
51
+ console.log(` Agent: ${hasAgent ? 'ok' : 'not bundled (agent features unavailable)'}`);
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@almadar/shell",
3
- "version": "2.5.0",
3
+ "version": "2.6.2",
4
4
  "private": false,
5
5
  "description": "Minimal full-stack shell template for Almadar applications",
6
6
  "packageManager": "pnpm@10.30.3",
@@ -13,11 +13,11 @@
13
13
  "test:watch": "vitest"
14
14
  },
15
15
  "dependencies": {
16
- "@almadar/ui": ">=2.34.1",
17
- "@almadar/syntax": ">=1.1.0",
16
+ "@almadar/ui": ">=2.47.0",
17
+ "@almadar/syntax": ">=1.2.1",
18
18
  "@almadar/evaluator": ">=2.6.0",
19
- "@almadar/patterns": ">=2.8.12",
20
- "@almadar/core": ">=2.9.0",
19
+ "@almadar/patterns": ">=2.10.0",
20
+ "@almadar/core": ">=2.9.1",
21
21
  "firebase": "^11.4.0",
22
22
  "@tanstack/react-query": "^5.67.3",
23
23
  "react": "^19.0.0",
@@ -13,7 +13,7 @@
13
13
  "test:watch": "vitest"
14
14
  },
15
15
  "dependencies": {
16
- "@almadar/server": ">=2.1.5",
16
+ "@almadar/server": ">=2.2.0",
17
17
  "@almadar/evaluator": ">=2.6.0",
18
18
  "@almadar/core": ">=2.9.0",
19
19
  "@almadar/integrations": ">=2.3.0",
@@ -23,20 +23,20 @@ importers:
23
23
  packages/client:
24
24
  dependencies:
25
25
  '@almadar/core':
26
- specifier: '>=2.9.0'
27
- version: 2.9.0
26
+ specifier: '>=2.9.1'
27
+ version: 2.9.1
28
28
  '@almadar/evaluator':
29
29
  specifier: '>=2.6.0'
30
30
  version: 2.6.0
31
31
  '@almadar/patterns':
32
- specifier: '>=2.8.12'
33
- version: 2.8.12
32
+ specifier: '>=2.10.0'
33
+ version: 2.10.0
34
34
  '@almadar/syntax':
35
- specifier: '>=1.1.0'
36
- version: 1.1.0
35
+ specifier: '>=1.2.1'
36
+ version: 1.2.1
37
37
  '@almadar/ui':
38
- specifier: '>=2.34.1'
39
- version: 2.34.1(@react-three/drei@9.122.0(@react-three/fiber@9.5.0(@types/react@19.2.14)(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(three@0.160.1))(@types/react@19.2.14)(@types/three@0.183.1)(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(three@0.160.1)(use-sync-external-store@1.6.0(react@19.2.4)))(@react-three/fiber@9.5.0(@types/react@19.2.14)(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(three@0.160.1))(@react-three/postprocessing@3.0.4(@react-three/fiber@9.5.0(@types/react@19.2.14)(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(three@0.160.1))(@types/three@0.183.1)(react@19.2.4)(three@0.160.1))(@tanstack/react-query@5.91.2(react@19.2.4))(@types/react@19.2.14)(express@4.22.1)(react-dom@19.2.4(react@19.2.4))(react-router-dom@7.13.1(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react@19.2.4)(three@0.160.1)
38
+ specifier: '>=2.47.0'
39
+ version: 2.47.0(@react-three/drei@9.122.0(@react-three/fiber@9.5.0(@types/react@19.2.14)(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(three@0.160.1))(@types/react@19.2.14)(@types/three@0.183.1)(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(three@0.160.1)(use-sync-external-store@1.6.0(react@19.2.4)))(@react-three/fiber@9.5.0(@types/react@19.2.14)(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(three@0.160.1))(@react-three/postprocessing@3.0.4(@react-three/fiber@9.5.0(@types/react@19.2.14)(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(three@0.160.1))(@types/three@0.183.1)(react@19.2.4)(three@0.160.1))(@tanstack/react-query@5.91.2(react@19.2.4))(@types/react@19.2.14)(express@4.22.1)(react-dom@19.2.4(react@19.2.4))(react-router-dom@7.13.1(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react@19.2.4)(three@0.160.1)
40
40
  '@monaco-editor/react':
41
41
  specifier: ^4.7.0
42
42
  version: 4.7.0(monaco-editor@0.52.2)(react-dom@19.2.4(react@19.2.4))(react@19.2.4)
@@ -162,8 +162,8 @@ importers:
162
162
  specifier: '>=2.3.0'
163
163
  version: 2.3.0(@opentelemetry/api@1.9.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(ws@8.19.0)
164
164
  '@almadar/server':
165
- specifier: '>=2.1.5'
166
- version: 2.1.5(express@4.22.1)
165
+ specifier: '>=2.2.0'
166
+ version: 2.2.0(express@4.22.1)
167
167
  cors:
168
168
  specifier: ^2.8.5
169
169
  version: 2.8.6
@@ -229,6 +229,9 @@ packages:
229
229
  '@almadar/core@2.9.0':
230
230
  resolution: {integrity: sha512-T7bZ8/j2dhrr8apjlgwcjbYaUtNvd1vqdMVhtCL7DXayRcaZA4qSbr7r3cP7kVf9i1mEVL7bad8d12DOiNvpHw==}
231
231
 
232
+ '@almadar/core@2.9.1':
233
+ resolution: {integrity: sha512-9mcw9aFo3njknq57IHc5q6IRioiriRJiEyg3Xq4C4MFbON2LJDAzGl/WjdKkP+Rzn4Zs9IZuJec5NzX7vOQm5A==}
234
+
232
235
  '@almadar/eslint-plugin@2.5.0':
233
236
  resolution: {integrity: sha512-rt5ATRUHyhke7yCBn5qUXyjKDEQaFXs8wqOWtd/Yh5IuuMn9p2Q7UupYUzfCwLmBXBYjwLxpat/A7En4lWrcFA==}
234
237
  peerDependencies:
@@ -251,16 +254,16 @@ packages:
251
254
  '@almadar/operators@2.1.3':
252
255
  resolution: {integrity: sha512-0wjRClcWT/DcYtmnTku/IIXWGCLzMzai/a/KwP4NorkqjDIEY9+vmAui4qB6rePhkT2aOfLb4sP8uX7vvyG7nw==}
253
256
 
254
- '@almadar/patterns@2.8.12':
255
- resolution: {integrity: sha512-v18xfyvbOCSEt7TmZ0QrJqeuEPuBVRUXGFw4kl7HYF5gHH9YELLAvgrAKgtr/HD7YLYmkVQEstILBOnRfB4lAA==}
257
+ '@almadar/patterns@2.10.0':
258
+ resolution: {integrity: sha512-RwxzjlHM/5th5Ka5oh4ocHKWx8P58CS9SNpGrtScHSiW/RHP7nVpsr+fdcqeDvV79wC+BbnSCIWXeqwX8BipRg==}
256
259
 
257
260
  '@almadar/runtime@2.1.1':
258
261
  resolution: {integrity: sha512-4OaBp+BsXeXPJSJ2H78k352PpRtUjK4NH3CM9jLJ8Kni9dPEAZdlTFS0/pLQqskiFZPz68NnbZg+I+/KHTrJ7w==}
259
262
  peerDependencies:
260
263
  express: ^4.0.0
261
264
 
262
- '@almadar/server@2.1.5':
263
- resolution: {integrity: sha512-phncLEABsWgbksjXPwFCyG56F69sqXqc1FD0eE0R+WRYNyxMQh/zfUo7eengBif5lpXRaazE8J8+veKpEq2NuA==}
265
+ '@almadar/server@2.2.0':
266
+ resolution: {integrity: sha512-mKkVdspIzaTvAo2gtcVw3AC6NhUcHX3VNUtDUpNUNY6M9P+yKRfIzHgkwRgmu2P5cGRcPVDTT9T82NX+eKQPBw==}
264
267
  peerDependencies:
265
268
  '@almadar-io/agent': '>=2.0.1'
266
269
  express: ^4.0.0
@@ -268,14 +271,14 @@ packages:
268
271
  '@almadar-io/agent':
269
272
  optional: true
270
273
 
271
- '@almadar/std@3.6.1':
272
- resolution: {integrity: sha512-0gBUaungcYj4LFM1T0j70TE43nWflbTFSGMHIOVczWhN/3Kjt9/5oAycGg8inSz6XaAuRiBUy+njPO1T4yJLdw==}
274
+ '@almadar/std@3.8.0':
275
+ resolution: {integrity: sha512-xX+nOvPuz2a5dsFlRZIc1Fd6gmiuIakz14/GjiCMGEn3J7yzCm5jZL7HwhVmRLjUPCg092mC1yHciFThZUPvWg==}
273
276
 
274
- '@almadar/syntax@1.1.0':
275
- resolution: {integrity: sha512-y062uC4EG/IudJXIaeT3ReVpJnmYolUpGtr9bFeqMTCdaFMAW1dkvD8kaB1Ui1xj33oW3ZG2RvTdsrpDbgcJzg==}
277
+ '@almadar/syntax@1.2.1':
278
+ resolution: {integrity: sha512-wd1pmaG8rY2Yp2MScHEurDg3XnJ7xBS92y7bzxNV+pVE2p/I1fW6ywat/weGxpaq8sk7Pq7sFo4iy2H1SyFj/g==}
276
279
 
277
- '@almadar/ui@2.34.1':
278
- resolution: {integrity: sha512-uUOEZWQGgwFVO4GcEiXqtqFNqUenQbvoLUJZa8J04lA0S7b9C0HvZDSIW4PiJbWyHPkSvusuhSFQScUnJc20Aw==}
280
+ '@almadar/ui@2.47.0':
281
+ resolution: {integrity: sha512-zocgwz/CyeKDXHSqg5aCANVseuyoQEK3x3DN5WwW9npG/Uj6UGMW5wsQ5IgvISpvogHaexjeMVwVf025LoW3PA==}
279
282
  peerDependencies:
280
283
  '@react-three/drei': ^9.92.0 || ^10.0.0
281
284
  '@react-three/fiber': ^9.0.0
@@ -4152,7 +4155,13 @@ snapshots:
4152
4155
  '@almadar/core@2.9.0':
4153
4156
  dependencies:
4154
4157
  '@almadar/operators': 2.1.3
4155
- '@almadar/patterns': 2.8.12
4158
+ '@almadar/patterns': 2.10.0
4159
+ zod: 3.25.76
4160
+
4161
+ '@almadar/core@2.9.1':
4162
+ dependencies:
4163
+ '@almadar/operators': 2.1.3
4164
+ '@almadar/patterns': 2.10.0
4156
4165
  zod: 3.25.76
4157
4166
 
4158
4167
  '@almadar/eslint-plugin@2.5.0(eslint@10.0.0(jiti@1.21.7))':
@@ -4162,14 +4171,14 @@ snapshots:
4162
4171
 
4163
4172
  '@almadar/evaluator@2.6.0':
4164
4173
  dependencies:
4165
- '@almadar/core': 2.9.0
4174
+ '@almadar/core': 2.9.1
4166
4175
  '@almadar/operators': 2.1.3
4167
4176
 
4168
4177
  '@almadar/integrations@2.3.0(@opentelemetry/api@1.9.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(ws@8.19.0)':
4169
4178
  dependencies:
4170
- '@almadar/core': 2.9.0
4171
- '@almadar/llm': 2.5.0(@almadar/core@2.9.0)(@opentelemetry/api@1.9.0)(ws@8.19.0)
4172
- '@almadar/patterns': 2.8.12
4179
+ '@almadar/core': 2.9.1
4180
+ '@almadar/llm': 2.5.0(@almadar/core@2.9.1)(@opentelemetry/api@1.9.0)(ws@8.19.0)
4181
+ '@almadar/patterns': 2.10.0
4173
4182
  '@sendgrid/mail': 8.1.6
4174
4183
  dotenv: 16.6.1
4175
4184
  googleapis: 144.0.0
@@ -4188,7 +4197,7 @@ snapshots:
4188
4197
  - supports-color
4189
4198
  - ws
4190
4199
 
4191
- '@almadar/llm@2.5.0(@almadar/core@2.9.0)(@opentelemetry/api@1.9.0)(ws@8.19.0)':
4200
+ '@almadar/llm@2.5.0(@almadar/core@2.9.1)(@opentelemetry/api@1.9.0)(ws@8.19.0)':
4192
4201
  dependencies:
4193
4202
  '@anthropic-ai/sdk': 0.52.0
4194
4203
  '@langchain/anthropic': 1.3.25(@langchain/core@1.1.35(@opentelemetry/api@1.9.0)(openai@6.32.0(ws@8.19.0)(zod@3.25.76))(ws@8.19.0))
@@ -4197,7 +4206,7 @@ snapshots:
4197
4206
  openai: 6.32.0(ws@8.19.0)(zod@3.25.76)
4198
4207
  zod: 3.25.76
4199
4208
  optionalDependencies:
4200
- '@almadar/core': 2.9.0
4209
+ '@almadar/core': 2.9.1
4201
4210
  transitivePeerDependencies:
4202
4211
  - '@opentelemetry/api'
4203
4212
  - '@opentelemetry/exporter-trace-otlp-proto'
@@ -4206,19 +4215,19 @@ snapshots:
4206
4215
 
4207
4216
  '@almadar/operators@2.1.3': {}
4208
4217
 
4209
- '@almadar/patterns@2.8.12': {}
4218
+ '@almadar/patterns@2.10.0': {}
4210
4219
 
4211
4220
  '@almadar/runtime@2.1.1(express@4.22.1)':
4212
4221
  dependencies:
4213
- '@almadar/core': 2.9.0
4222
+ '@almadar/core': 2.9.1
4214
4223
  '@almadar/evaluator': 2.6.0
4215
4224
  '@almadar/operators': 2.1.3
4216
4225
  '@faker-js/faker': 9.9.0
4217
4226
  express: 4.22.1
4218
4227
 
4219
- '@almadar/server@2.1.5(express@4.22.1)':
4228
+ '@almadar/server@2.2.0(express@4.22.1)':
4220
4229
  dependencies:
4221
- '@almadar/core': 2.9.0
4230
+ '@almadar/core': 2.9.1
4222
4231
  '@faker-js/faker': 9.9.0
4223
4232
  cors: 2.8.6
4224
4233
  dotenv: 16.6.1
@@ -4233,24 +4242,25 @@ snapshots:
4233
4242
  - supports-color
4234
4243
  - utf-8-validate
4235
4244
 
4236
- '@almadar/std@3.6.1':
4245
+ '@almadar/std@3.8.0':
4237
4246
  dependencies:
4238
- '@almadar/core': 2.9.0
4247
+ '@almadar/core': 2.9.1
4239
4248
  '@almadar/operators': 2.1.3
4240
4249
 
4241
- '@almadar/syntax@1.1.0':
4250
+ '@almadar/syntax@1.2.1':
4242
4251
  dependencies:
4243
- '@almadar/core': 2.9.0
4252
+ '@almadar/core': 2.9.1
4244
4253
  '@almadar/operators': 2.1.3
4245
- '@almadar/patterns': 2.8.12
4254
+ '@almadar/patterns': 2.10.0
4246
4255
 
4247
- '@almadar/ui@2.34.1(@react-three/drei@9.122.0(@react-three/fiber@9.5.0(@types/react@19.2.14)(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(three@0.160.1))(@types/react@19.2.14)(@types/three@0.183.1)(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(three@0.160.1)(use-sync-external-store@1.6.0(react@19.2.4)))(@react-three/fiber@9.5.0(@types/react@19.2.14)(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(three@0.160.1))(@react-three/postprocessing@3.0.4(@react-three/fiber@9.5.0(@types/react@19.2.14)(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(three@0.160.1))(@types/three@0.183.1)(react@19.2.4)(three@0.160.1))(@tanstack/react-query@5.91.2(react@19.2.4))(@types/react@19.2.14)(express@4.22.1)(react-dom@19.2.4(react@19.2.4))(react-router-dom@7.13.1(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react@19.2.4)(three@0.160.1)':
4256
+ '@almadar/ui@2.47.0(@react-three/drei@9.122.0(@react-three/fiber@9.5.0(@types/react@19.2.14)(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(three@0.160.1))(@types/react@19.2.14)(@types/three@0.183.1)(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(three@0.160.1)(use-sync-external-store@1.6.0(react@19.2.4)))(@react-three/fiber@9.5.0(@types/react@19.2.14)(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(three@0.160.1))(@react-three/postprocessing@3.0.4(@react-three/fiber@9.5.0(@types/react@19.2.14)(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(three@0.160.1))(@types/three@0.183.1)(react@19.2.4)(three@0.160.1))(@tanstack/react-query@5.91.2(react@19.2.4))(@types/react@19.2.14)(express@4.22.1)(react-dom@19.2.4(react@19.2.4))(react-router-dom@7.13.1(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react@19.2.4)(three@0.160.1)':
4248
4257
  dependencies:
4249
- '@almadar/core': 2.9.0
4258
+ '@almadar/core': 2.9.1
4250
4259
  '@almadar/evaluator': 2.6.0
4251
- '@almadar/patterns': 2.8.12
4260
+ '@almadar/patterns': 2.10.0
4252
4261
  '@almadar/runtime': 2.1.1(express@4.22.1)
4253
- '@almadar/std': 3.6.1
4262
+ '@almadar/std': 3.8.0
4263
+ '@almadar/syntax': 1.2.1
4254
4264
  '@react-three/drei': 9.122.0(@react-three/fiber@9.5.0(@types/react@19.2.14)(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(three@0.160.1))(@types/react@19.2.14)(@types/three@0.183.1)(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(three@0.160.1)(use-sync-external-store@1.6.0(react@19.2.4))
4255
4265
  '@react-three/fiber': 9.5.0(@types/react@19.2.14)(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(three@0.160.1)
4256
4266
  '@react-three/postprocessing': 3.0.4(@react-three/fiber@9.5.0(@types/react@19.2.14)(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(three@0.160.1))(@types/three@0.183.1)(react@19.2.4)(three@0.160.1)
@@ -4258,14 +4268,17 @@ snapshots:
4258
4268
  '@xyflow/react': 12.10.1(@types/react@19.2.14)(react-dom@19.2.4(react@19.2.4))(react@19.2.4)
4259
4269
  clsx: 2.1.1
4260
4270
  elkjs: 0.11.1
4271
+ hastscript: 9.0.1
4261
4272
  leaflet: 1.9.4
4262
4273
  lucide-react: 0.344.0(react@19.2.4)
4274
+ parse-entities: 4.0.2
4263
4275
  react: 19.2.4
4264
4276
  react-dom: 19.2.4(react@19.2.4)
4265
4277
  react-leaflet: 4.2.1(leaflet@1.9.4)(react-dom@19.2.4(react@19.2.4))(react@19.2.4)
4266
4278
  react-markdown: 9.1.0(@types/react@19.2.14)(react@19.2.4)
4267
4279
  react-router-dom: 7.13.1(react-dom@19.2.4(react@19.2.4))(react@19.2.4)
4268
4280
  react-syntax-highlighter: 16.1.1(react@19.2.4)
4281
+ refractor: 5.0.0
4269
4282
  rehype-katex: 7.0.1
4270
4283
  remark-gfm: 4.0.1
4271
4284
  remark-math: 6.0.0
@@ -0,0 +1,72 @@
1
+ Business Source License 1.1
2
+
3
+ Parameters
4
+
5
+ Licensor: Almadar FZE
6
+ Licensed Work: KFlow Builder / Almadar
7
+ The Licensed Work is (c) 2025-2026 Almadar FZE.
8
+ Additional Use Grant: You may make production use of the Licensed Work for
9
+ non-commercial purposes and for internal evaluation.
10
+ Production use for commercial purposes requires a
11
+ commercial license from the Licensor.
12
+ Change Date: 2030-02-01
13
+ Change License: Apache License, Version 2.0
14
+
15
+ Terms
16
+
17
+ The Licensor hereby grants you the right to copy, modify, create derivative
18
+ works, redistribute, and make non-production use of the Licensed Work. The
19
+ Licensor may make an Additional Use Grant, above, permitting limited
20
+ production use.
21
+
22
+ Effective on the Change Date, or the fourth anniversary of the first publicly
23
+ available distribution of a specific version of the Licensed Work under this
24
+ License, whichever comes first, the Licensor hereby grants you rights under
25
+ the terms of the Change License, and the rights granted in the paragraph
26
+ above terminate.
27
+
28
+ If your use of the Licensed Work does not comply with the requirements
29
+ currently in effect as described in this License, you must purchase a
30
+ commercial license from the Licensor, its affiliated entities, or authorized
31
+ resellers, or you must refrain from using the Licensed Work.
32
+
33
+ All copies of the original and modified Licensed Work, and derivative works
34
+ of the Licensed Work, are subject to this License. This License applies
35
+ separately for each version of the Licensed Work and the Change Date may vary
36
+ for each version of the Licensed Work released by Licensor.
37
+
38
+ You must conspicuously display this License on each original or modified copy
39
+ of the Licensed Work. If you receive the Licensed Work in original or
40
+ modified form from a third party, the terms and conditions set forth in this
41
+ License apply to your use of that work.
42
+
43
+ Any use of the Licensed Work in violation of this License will automatically
44
+ terminate your rights under this License for the current and all other
45
+ versions of the Licensed Work.
46
+
47
+ This License does not grant you any right in any trademark or logo of
48
+ Licensor or its affiliates (provided that you may use a trademark or logo of
49
+ Licensor as expressly required by this License).
50
+
51
+ TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSED WORK IS PROVIDED ON
52
+ AN "AS IS" BASIS. LICENSOR HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS,
53
+ EXPRESS OR IMPLIED, INCLUDING (WITHOUT LIMITATION) WARRANTIES OF
54
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND
55
+ TITLE.
56
+
57
+ ---
58
+
59
+ License text copyright (c) 2017 MariaDB Corporation Ab, All Rights Reserved.
60
+ "Business Source License" is a trademark of MariaDB Corporation Ab.
61
+
62
+ ADDITIONAL TERMS:
63
+
64
+ Documentation (builder/packages/website/docs/) is licensed under CC BY 4.0.
65
+
66
+ TRADEMARKS:
67
+
68
+ "Orbital", "KFlow", "Almadar", and the Almadar logo are trademarks of
69
+ Almadar FZE. You may not use these trademarks without prior written
70
+ permission from Almadar FZE.
71
+
72
+ For licensing inquiries: licensing@almadar.io